Re: Sim City
Posted by Crono on
Tue Jan 4th 2011 at 3:47am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Show me ... where the bank heist shoot outs with Val Kilmer take place.
Blame it on Microsoft, God does.
Re: Sim City
Posted by G4MER on
Tue Jan 4th 2011 at 8:10am
G4MER
floaty snark rage
member
2460 posts
360 snarkmarks
Registered:
Sep 6th 2003
Location: USA
Have you tried CitiesXL? I have both SIM city 4 and CitiesXK, and love them both. Now if they can get "7 cities of gold" on steam and for it to work with the latest Windows I will be happy!
Your city looks amazing Aaron.. good job man. Hows your pollution map?
Re: Sim City
Posted by G4MER on
Wed Jan 5th 2011 at 6:19am
G4MER
floaty snark rage
member
2460 posts
360 snarkmarks
Registered:
Sep 6th 2003
Location: USA
Loaded quick and just fine for me Aaron, no wait or anything. Didn't seem to hinder my loading of the forums or page or anything, so I am not sure what the problem is with leaving it like it is. I can see the whole image on the screen and when I click it it gets huge, and thats great allowed me to see all the detail of your city.
Re: Sim City
Posted by Crono on
Wed Jan 5th 2011 at 8:07pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Could it be perhaps that the current code base is entirely separate? <~ Sarcasm, because it's obvious that's the reason.
Blame it on Microsoft, God does.
Re: Sim City
Posted by Crono on
Thu Jan 6th 2011 at 4:09am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Install? As far as I'm aware he wrote everything from scratch.
Blame it on Microsoft, God does.
Re: Sim City
Posted by G4MER on
Thu Jan 6th 2011 at 7:44am
G4MER
floaty snark rage
member
2460 posts
360 snarkmarks
Registered:
Sep 6th 2003
Location: USA
Well considering the image is smaller than its actual size, I think that qualifies as a thumbnail. But if it is causing such a problem, post a link to the image instead of the image as it is now. FIXED
Re: Sim City
Posted by Crono on
Thu Jan 6th 2011 at 8:47am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Only if it needs to be cached and honestly, that's the most efficient way to do it. Otherwise, every time anyone looks at the thumbnail image the server will be resizing the thing ... which I don't think your host will be very happy about.
You could implement a smart caching system that will put various thumbs around the site into a cache and keep a list of which are cached and which aren't, then you just use a least recently used replacement technique. Therefore you only have X number of thumbnails on the server ... and any time the list of thumbs gets full, the least recently seen (this would have to be managed through PHP and SQL) would get deleted from the server, and the new thumb gets cached in its place.
The table for the database would be very simple and the actual code to do the replacement is not complicated either. You just need to take the resize image code and stick it in a PHP file to be remotely called.
Blame it on Microsoft, God does.
Re: Sim City
Posted by G4MER on
Thu Jan 6th 2011 at 12:02pm
Posted
2011-01-06 12:02pm
G4MER
floaty snark rage
member
2460 posts
360 snarkmarks
Registered:
Sep 6th 2003
Location: USA
Crono are you saying that the PIT could have a standard THUMB image that replaces the actual image that links to the image in its full size once clicked?
Re: Sim City
Posted by Orpheus on
Thu Jan 6th 2011 at 1:52pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Look guys, I'll deal.
I will never fathom the need to post such large pics. Its like boys comparing prick sizes when you're little. I swear it is.
Anywho's Snarkpit had two systems. One resized images that exceeded a certain size. (both actual dimensions and file size). This prevented the forums being stretched out with over sized screens distorting them.
The second was MUCH BETTER and caused no hassles to either the user or the forums AND you could post any screen size you wished. That was the use of thumbnails. Thumbnails were not restricted to those tiny 1 inch things either. You could easily link an 800x600 screen to a massive one and get what you wanted. Even someone with as little knowledge in html could use them. I posted a shitload of critiques using just that method.
As I said, I'll just deal.
The best things in life, aren't things.
Re: Sim City
Posted by Crono on
Thu Jan 6th 2011 at 6:16pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
No, most sites do not have any image resizing at all. They either yell at you for it being over a certain size or resolution. Most sites if you "attach" an image to a post, it will upload the image to the web server, but will not be displayed in the thread, it'll be a link only logged in members can click.
What I'm talking about isn't common at all. But, it's something that wouldn't be terribly difficult to do and it's not really anything anyone would notice. It's just a balance between storing thumbnail versions of ALL linked images and just the ones people are looking at. (Thus the least recently used list)
Let me be clear, the standard user will notice nearly no difference besides the fact that when they look at an embedded image it MAY have a smaller file size. Otherwise, it'd act just like it does now.
Muhnay, it wouldn't be standard to all images and it wouldn't require it to be clicked at all, just viewed. This is how it would work:
Someone has embedded an image in their post, it is too large for comfort. The database will likely need a new table linking posts and pictures and a flag saying to resize or not, and to what. Someone else views the page in the thread with the pictures. This triggers a function in the PHP script (the page you're looking at) to run a check on images, because there are images being displayed. It cross references the image id numbers (which are uniquely generated upon creating the post) with the "resize" table ... if the flag for resizing is NOT set to resize ... then it just shows the normal URL image, possibly with a custom resolution. If it is set then it has to use a thumbnail. It then goes to the currently cached thumbnails table and sees if the image is listed ... if so, it displays that cached thumbnail image and modifies the table to show that the entry is now the most recently used (Could update time indexes or something), if not, it creates a new one. This is based on the URL of the image, it is not some standard image shown if something is too large. It then resizes and saves the image in its cache directory and adds the entry to the cached table replacing the least recently used entry and then using THAT thumbnail.
It would have to do if to every image being looked at. You just split up the checks and such.
The alternative would be to cache every image that gets posted, and obviously, that'll get large very fast. This keeps it to a minimum and hopefully, makes it so people never have to see super large images. It would do the resizing during the fetch stage of displaying the post, so it would never show you an enormous image, but sometimes it could take a few seconds for a page to display everything properly, based on how long it takes to properly reencode the image.
You could also cache the images when the post is made and add them to the cache list. (Also, I forgot to mention, when something is removed from the cache list ... the thumbnail needs to be deleted ... sort of the whole point)
You could also just ban images over a certain size and demand people supply their own thumbnails.
Blame it on Microsoft, God does.
Re: Sim City
Posted by Orpheus on
Thu Jan 6th 2011 at 7:56pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
I personally am in favor of the user being responsible as its their picture in the first place. Its like they say, you cannot legislate stupid. But you can make it very very uncomfortable for them to be stupid.
Anywho's I cannot seem to find the code for the thumbnail process. It used to be something like"[ thumb=url]original image url[/ thumb] I see no reason why Snarkpit should be troubled other than furnishing the necessary tools (in this case the code string necessary to post properly) to members for posting of their images. This is a forum, not a daycare facility. stashes bottle from prying eyes
I understand its not 10 years ago. I still see no reason for anything over 100k, excepting in the photographic thread for members posting photo quality stuff. In that thread everyone knows in advance that they enter at their own risk. I myself posted 100's of photos of the grand canyon and hoover dam. I can vouche that there is a shitload of oversized pics in that thread. Still as I said its not 10 years ago so upping the image size is an option but seriously can anyone tell me truthfully that a perfectly crystal clear image needs to be over 200k? Its been proven 100's of times that screens can be optimized and retain ALL of their original quality with regards to forum usage.
You know that there would be a shitstorm from hell if someone released a map that was obviously compiled wrong. Even if the person doing so said it played perfectly well on his monster machine. We'd all tell this person how foolish t would be not to recompile it and releasing a properly optimized map. How is this particular subject any different? Just because there is 12mbps dsl doesn't mean everyone is using it.
Still the bottom line is this.. Is it the responsibility of the website, or the user to police the problem? Or with the case of some, is it a problem in the first place?
I've always believed that it takes the same amount of time to do something wrong as it would have to do it correctly in the first place. I reckon its time to test that theory on the net.
The best things in life, aren't things.
Re: Sim City
Posted by Crono on
Thu Jan 6th 2011 at 9:15pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Some random BB code is useless currently if there's no implementation to go with it.
If it were up to me, I'd support the option to supply your own thumb as well as the ability to post pictures that get resized and cached.
If you wanted to impose more regulations on the matter, you could always give a monthly limit on thumbnails.
I don't really see the reason NOT to do something like that, even if your site has the most responsible group ever. It's about quality user interface and experience not responsibility. It's much more likely the person doesn't know how or have the means to resize their images rather than they're just being a dick to you personally.
There's not really anything to discuss anyway since it's not any user's concern, really. I mean if you implemented something chances are everyone here wouldn't remotely notice. Which is actually what you want. You want people to enjoy coming here, not feel like they're getting scolded every time they try to share something.
Saying that small file sizes have just as much quality is not true at all. They do not, and if you're on larger resolutions, it's blatantly obvious. At around 1920x1080 and above, web images, even the really large ones, show compression artifacts and it's hideous.
Blame it on Microsoft, God does.
Re: Sim City
Posted by Orpheus on
Thu Jan 6th 2011 at 9:46pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
True but whom needs a screenshot of anything that big to begin with. I mean I have my screen size set to 1440x900 at home, but it would never ever enter my mind to post a screenshot of a map I am working on in that resolution. Even if this website supported such size without distorting, it would not give anyone a clearer picture of my map than the normal 800x600 (or some similar res.)
Now, I can understand the Sim City shot in the beginning of this thread. It needs to be large in size (not necessarily in file size though) simply because of the complexity of the details involved. I would have rather it was posted in the Art thread.. But that's really not important because its not like there are a shitload or SimCity screens being posted every day.
But by and large this is a HL based site with a larger portion of the screens being posted related to in game shots. So the reasoning that if someone posting a higher resolution MUST be permitted to use a larger file size is irrelevant for the simple fact that a higher resolution screenshot will deliver no more information than a screenshot of a smaller resolution....
The best things in life, aren't things.
Re: Sim City
Posted by Crono on
Thu Jan 6th 2011 at 11:42pm
Posted
2011-01-06 11:42pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Orpheus, these are computers, not people. You design the algorithm in such a way that it looks at the state of the database WHEN the person needs to look at the thread and depending on the page ... meaning the pre-warning is not really "pre" at all. The effectiveness isn't in how you implement it but rather the logic you use to make the decisions.
There's this neat function in SQL called "sum" you can make a list of images in a given query of posts and sum the total file size and the result larger than some threshold (can even be a threshold set by the user if you wanted, it's very trivial) could trigger the feature.
It's really a non-issue. All these techniques are rather straight forward.
You could eventually build this hybrid solution that creates a sort of nirvana of web surfing on the forums that I think would be something very welcoming and sophisticated compared to how its normally handled.
So, again, there's actually several easy remedies, they just sound complicated from a non-computer oriented standpoint. It's why I don't usually talk about implementation details, people get all worried HOW you do it and forget about what you're actually doing. It just makes things complicated and difficult for a non-complicated and easy problem.
Blame it on Microsoft, God does.
Re: Sim City
Posted by Orpheus on
Thu Jan 6th 2011 at 11:49pm
Posted
2011-01-06 11:49pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Actually its only when you post weird that I get bothered with anything you post.
Whenever you post techy stuff I am all ears. I really cannot follow the bouncy ball but the fact that you're willing to discuss things with a lowbrow is cool.
I never get the feeling that you rub our noses in it I mean. My brains run in a different direction.
The best things in life, aren't things.
Re: Sim City
Posted by Crono on
Fri Jan 7th 2011 at 4:04am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Yes.
Blame it on Microsoft, God does.
Re: Sim City
Posted by Orpheus on
Fri Jan 7th 2011 at 1:03pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
I've been thinking this whole situation through and it seem that we are overlooking the obvious. Anything we "implement" is going to inconvenience somebody.
1) If we put into place a system that pre-warns someone that a thread has oversized images its going to wave a flag saying either "someone stupid put big pics here" or worse "Whites only, move along"
2) If we try to put into effect new codes, someone has to take time out of their busy schedule to not only do it, but make sure it works properly. This could take forever considering all the image types and sizes available.
3) This could cost Riven dollars. Ironic when you think that its costing me them now. But why should it cost anyone? Least of all the site.
So here we are with what to do that harms no one. We remove the image tags. Their only useful purpose is one of convenience and would only increase someones time to view the image by a second or so. And its our only system currently in use that people are abusing. Even unintentional abuse is still harmful.
Removing the tag should be simple enough. It will cause no harm and most likely the only people who might complain would be the ones who are the problem.
I also don't think (and I am sure Adam will point out otherwise if I am) that it will effect the smileys or our avatars since they are used in another fashion either through our control panel or from a pre-set group of approved gifs.
Anyway, this seems the least harmful, and the most cost effective method. People can post links. It will cause no problems with band usage and the image tags we use now CONTAIN the links so the only thing we would be removing would be the auto-loading of the pics.
Anywho's this seems the best solution and helps or rather harms no one here.
The best things in life, aren't things.
Re: Sim City
Posted by Orpheus on
Fri Jan 7th 2011 at 4:26pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Now this is what I don't get. Just for laughs I looked back onto page one of this thread. The picture loaded again. Costed me 976k again to do it but I was curious.
How come my browser didn't store it from the previous time? AND can I have it do so so if we cannot resolve this issue I can at least sleep well knowing we all did our best to reduce my online usage?
I really rather not be denied access to certain threads simply because there's a shitload of images. I'd rather have a look (by choice) but without the added hassle of it reloading every freakin time I do so.
The best things in life, aren't things.
Re: Sim City
Posted by Orpheus on
Sat Jan 8th 2011 at 1:46am
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Nevermind, Adam convinced me to wait and see.
I will wait and see.
The best things in life, aren't things.