« first day (594 days earlier)      last day (3580 days later) » 

3:00 AM
@ShinobuOshino 56 MB seems to be the biggest one that @Taisho has. And I didn't actually mean for him to have that one, but I guess I messed up there.
 
I should ask on Cooking about how to save pizza
 
Next largest ones are 3 in the 30-40 MB range.
 
uugh it's not tasty
at all
 
@Prix That would require 2 messages and would also require me to compress all the large images. I don't particularly know how to automate that.
 
@user1306322 you... what have you done, you ruin a pizza
@LoganM still too big there,
 
3:02 AM
I have one more in the fridge
I'll use it instead
 
I can do it manually for the 100-or-so big ones larger than 5 MB. But doing it for all of them by hand wouldn't be feasible.
 
you have that many? I do not want to burden you, if this is only my problem, just leave it be
 
I have around 1k on @Taisho right now
 
@LoganM I can remove that link manually from the text file :p
 
(in total)
@user1306322 It already got posted so don't bother
 
3:05 AM
oh
 
The biggest one I have overall is 150 MB, but that one isn't in the batch that I've sorted yet
 
if my internet back to the old one, I wouldnt even able to load 5mb ones so it's fine, I got this good internet only for about 3 months. just got a promo here
 
What's the biggest you can load?
 
maybe closer to the end of the promo send them an official looking letter and say that you are willing to prolong your contract with them
 
for now? I guess more than 10
 
3:09 AM
On the old one
 
uhh,, I don't know, maybe around 2mb, but it's fine, I can load it if i'm at work. but I can't load it with my home internet
@user1306322 unfortunately, that's not how it works :(
 
@LoganM something like this
 
I don't have any sense of other ppl's bandwidths, so I'm just trying to get an idea what is reasonable. For me, the problem is sooner to be my browser crashing than images not loading, but other people have different connections and I'm trying to keep that in mind.
 
 public static void Main()
{
    var images = Directory.GetFiles(@"folder", "*.jpg", SearchOption.AllDirectories).ToList();
    foreach (var image in images)
    {
        var originalImage = Image.FromFile(image);
        var newImage = ScaleImage(originalImage, 300);
        string smallName = Path.GetDirectoryName(image) + @"\small_" + Path.GetFileNameWithoutExtension(image) + ".png";
        newImage.Save(smallName, ImageFormat.Png);
    }
}

public static Image ScaleImage(Image image, int maxHeight)
 
@Prix no idea what that is
 
3:14 AM
I think since the chat is already limited to 300x300 pixels, create a new set of images with 300 max height and a proportional width so images look normally. and this should also reduce their size by A LOT.
@LoganM small code to get all images from directory and resize proportionally to the height and save as small_originalimagename.png
side note its untested but its something like that to automate it
 
I have to keep the same file structure as before unless we're going to be re-editing the list @Taisho has. That means that .jpg has to stay .jpg, .png as .png, etc. Also, this only automates the actual compression step of it, but there's also the part about renaming every existing image on the Drive and uploading all these new ones.
 
@LoganM but it seems like it's only me, so don't overthink it :)
 
I always click the images to see detail, so doing that would be essentially ruining the convenience of full-size image oneboxes
 
@user1306322 I can rename them in a regular way e.g. currentname_original.jpg
 
3:18 AM
but if we did it, you'd see people asking for fullsize link every time
then we'd make Taisho post that link automatically
 
Wouldn't be one click any more, but it would still be easy to find
 
@user1306322 on the other hand you do cache the full size regardless
 
@user1306322 As a separate post? That would require him to post twice per image.
 
@Prix it's not a problem for me
@LoganM yes, it would
 
@user1306322 just make him send the link right with the message
 
3:19 AM
@Prix care to try it out for yourself?
 
try what? sending to post messages?
 
what exactly do you mean "send the link right with the message"
 
you need to send 2 otherwise the image does not get oneboxed because the html changes for 2 lined messages.
 
If you guys want that, I'm fine with it. But he already is a bit annoying when he interrupts ongoing conversations, and with 2 posts I feel like it would only get more annoying.
 
@user1306322 as in send the image message and one with its link referenced to it right after as a reply
 
3:20 AM
that would be pretty annoying
also there's no guarantee the 2 messages will appear one after another in chat
someone else's message might get inbetween them
which would further worsen the situation
 
@LoganM I don't think many people will complain but this possible remove potential users to join the room they would get their browser to crash or memory sucked without even noticing.
 
Another option is to always post the thumbnail and enable something akin to the what syntax to get him to link to the oiginal
 
@user1306322 that's why you send it as a reply
 
(but not onebox it to save ppls bandwidth)
 
we could just ask if anyone is having a problem with full-size images appearing in chat
 
3:22 AM
@user1306322 @ShinobuOshino already is.
 
link to details?
 
@LoganM we already tried that but unhappily there is no way to link the image to the original with any of the available code
 
@Prix What I mean is that I store 2 copies of each image
 
@Prix what? when?
 
High quality original and chat version
 
3:24 AM
inst that what I was proposing lol
 
He posts the chat version, but on command you can get the url for the full one
 
@user1306322 when we were having fun with ![]() [![]()]()?
 
people would be constantly asking for fullsize link
I know I would
 
@LoganM something like he posted an image and if you run #about
it will give you the info about the last image
 
@Prix oh you mean that
 
3:25 AM
@user1306322 the structure of urls will be relatively regular. You could get it yourself without asking if you want.
 
typing some command every time… ugh
better just post a full link after the thumbnail
 
@user1306322 that
 
I don't know, posting twice is going to be annoying in the middle of conversations
 
if there was a way to send an image along with multiple lines that did save it but doesnt seem like
 
especially if the two aren't one after the other
@Prix multiline messages don't onebox
 
3:26 AM
meh
 
OR if users are really having serious problems, we could just reduce all image sizes and dimensions to something like 750×750 and be done with it :P
 
@LoganM yeah I know it doesn't because I can see on my bot that the CSS changes between the 2
 
I don't want to reduce all images without at least keeping a copy of the originals somewhere
 
alternatively, we could develop a script for chat that would convert the ![]() syntax to "onebox"
 
hmm, I don't mind with big picture, I already got used to it when I can't load an image
 
3:28 AM
well if only SE would take suggestion and actually implement em we wouldn't have such a hardship...
 
We could write our own script, but that's always a bad solution since you can never guarantee that users will be using it.
Or even that it will continue to work in the future
 
@LoganM @user1306322 that is what I told you early about that stackapps thing
 
add a link to our own chat room's scripts and improvements to the room's description on top right
 
@user1306322 Still doesn't ensure anything.
 
if its not an actual implementation by SE new users wont see it either
 
3:30 AM
regulars would point out that to new users who ask "wtf is this broken link!?!?"
and then they'll be all happy
 
Chat should be perfectly functional without having to add anything additional.
 
I know…
 
@user1306322 not like many of them care...
 
Having to guide each new user to install the scripts just for this room is just not worth it
 
yeah, I know all that
I just don't see any ideal solution
 
3:31 AM
I like the #about idea
this way if anyone is interested on a image they can just do #about
and it would post information about the previously posted image such as author original size link
 
and only 1 #about would be required which means less spam
 
probably gonna be something like
@Taisho full
 
#post about
 
That's going to make him post again
yep
 
3:32 AM
oh
ok I… did I just remove another image?
 
@LoganM not if you change the code to give it a different response
 
aw I liked that image
 
@LoganM same here
 
@Prix Or just make it a different command
 
3:33 AM
#about seemed very direct
 
ty
 
My name is Taisho and I'm a chat bot. I can't do much right now, but I'm learning new things all the time. If you know something fun I could learn to do, let me know.
You can view the list of all commands by saying `#commands`. If anything is unclear, say `#help`.
 
or #last
 
Problem with that syntax is that it doesn't refer to a particular image, so you can't get info on any except the most recent one
 
.#fullsize would probably make more sense
 
3:34 AM
That's why making it like what is better
 
if you stop reading commands as StartWith or Contains
you could do #post about
and #post id
 
What's wrong with this syntax?
@Taisho fullsize
 
I'm keeping the history of messages, don't worry about context
 
yes but since he will post that why not make it like
or something alike
 
3:36 AM
We don't have any meta data on the bulk of the images
 
You know that moves foward with the other idea we were talking about saying the image author anime or manga etc
 
And no way to automate gathering that either AFAICT
 
You said you could make it
:(
 
> All images were uploaded into me by Logan, ask him where he got them.
 
I can do it on an individual basis
 
3:37 AM
if I recall it you said you did reverse all the images to get their info
 
I can't go re-lookup 22k images just to fill out a table that mostly we won't need
 
Wouldn't that be a lot nicer so people know where that image is from possible the character name and anime name if any
etc
 
ask Logan
 
22k? was it not at 1k?
 
@Prix 1k currently uploaded
This is more-or-less a test run
 
3:38 AM
yes if you update the info of the current 1k
then new images would only be posted with proper information
 
I have 22k total, of which I've only sorted through 1/16
 
which would make new ones not empty
oh mmm
well if I had a proxy
I could probably make a small scrapper
but I don't have any proxies for that
 
@Prix This is a matter of 30-45 seconds per image. Which means even for the 1k I already have, we're talking about 10 hours of work
If you want to do that, go ahead, but I'm not going to
 
if somebody asked me to fill up description for a 1000 images, if it wasn't easily automatable, I would refuse
 
we can make a scraper for that
but without a proxy with a few IP's that would be a no go
 
3:40 AM
But if someone asks me for any particular image, I can easily do it.
 
@ton.yeung what about Japanese people?
 
@Prix If you want to do that, go ahead. I'm not going to.
 
@LoganM like I said without a proxy there is no way to do that
 
proxy like a person who can be delegated that task or a remote computer?
 
proxy as in a proxy server with a few privates IP's that I can use to scrap the data
as google ban ips very aggressively
 
3:42 AM
you won't have to scrape it beforehand, much less all and at the same time
just one image at a time on demand
 
Seems like an absurd amount of work when I can do it on demand for basically any image already.
 
yeah but if they blacklist your IP then it won't be usable for a lot of things including search
 
I feel like we're trying to solve a problem nobody is currently having
 
@ton.yeung LOL I don't think that is legal -_-
@user1306322 well honestly I don't care about the image size, however I do think sending out more than 5mb on the chat room is way way too much
with the sizes as they are you can easily eat 1GB mem
people with regular computers with no tech knowledge would just crash on the room without knowing why
and eventually not come back
 
I gotta agree with that, but it's mostly the chat's problem for not making thumbnails like it should
 
3:45 AM
I have a regular computer and no tech knowledge and I haven't crashed.
 
@ton.yeung IRC go'ol'times ;P
 
my firefox only crashes if I go o the Thrills and Spills room and scroll it all the way back and forth a few times
 
@LoganM regular computer = 2GB memory or less
 
@Prix Maybe 6 years ago.
 
ok I have a netbook that can't run any browser on a blank page without seriously slowing down the system
it has 1GB ram
 
3:46 AM
I bought the cheapest laptop I could 3 years ago and it still had 4 GB ram
 
@LoganM nope, world wide there are many countries where regular computer have memory up to 2GB
 
@user1306322 netbook =/= regular computer
 
@Taisho /like
 
also yes, 8 years ago was the last time I checked computers were sold with just 2 gigs, 6 years ago at least 4 GB was a standard for desktops in most hardware shops I know
 
3:48 AM
lets say 4GB people pack stuff up that they use an avg of 1~2GB
so they have 2 left
browser bar, antivirus, office all those running stuff at the same time, bla bla
I am just saying I personally dont care about the image size
but that can potentially scare users away
that's why I suggested the small sized ones
 
People with no tech knowledge don't even use antiviruses
 
my PC is 6 years old and when I want to play something without lagging, first thing I do is obviously shutdown uTorrent and all is fine because chat doesn't eat CPU
 
I still agree that we should try to get the images smaller
But I'm more concerned with eating up someone's bandwidth than crashing their browser.
 
and wouldn't that kill both problems?
 
Unless they're scrolling back in chat, in most cases there should be at most 2 images by @Taisho at a time.
 
3:50 AM
I propose a simple script that would convert the onebox image link to fullsize link (if we can pull off "filename_fullsize.jpg")
 
resizing the image to 300 height with proportional width will be the custom size and they will probably not be bigger than 1MB
@user1306322 no one would use :/
 
better yet just make all posted links "http://hosting.com/originalfilename_thumb.xxx" and remove "_thumb" for fullsize
@Prix trust me, everyone in this room would start using it day 1
 
@ton.yeung do people actually use phones for chat? I don't know since I've never even come close to wanting a smart phone, but it seems like it would be absurd to try to participate in a chatroom on a tiny screen like that.
 
@user1306322 that is what the code I posted early does, it will read a given directory resize all the images and save the resize image with small_imagename.png you can append the "small" anywhere
 
@user1306322 That's basically what I was proposing
 
3:53 AM
@LoganM I do -_- im on my phone right now
 
@ton.yeung but do they use their phones for this chat?
 
but images only load if I click it
 
:p
virtual mouse controlled by joystick
 
@ton.yeung touch screen pen yes?
 
Opera has it
 
3:54 AM
-_-?
 
I also have a pen phone :p
 
you touch it, whatever!
 
and it clicks coz it's broken
 
FWIW my tablet has a mouse. Not a phone but it runs the same OS as some phones.
 
WP?
 
3:55 AM
mine is WP8
 
WP?
 
Windows Phone
 
Ah no Android
 
I use my nail with my phone
you could call it "nailscreen phone"
resistive displays are shit when it comes to conventional "touching"
 
Anyway @user1306322 if I do filename_thumb.xxx for chat version and filename.xxx for full version, @Taisho's links will need to be re-input. I can do filename.xxx and filename_full.xxx to avoid that if you prefer.
 
3:59 AM
@ton.yeung I was expecting you to say "Prix no ecchi"
 
I primarily do that because windows mobile OS was poorly designed and many controls are too tiny to accurately press them from the first try with a finger
@LoganM I just think that removing a part of the name would be easier than typing something in
 
@LoganM or he could only append the thumb to it
 
also it'd be best if it was double-click selectable
https://googledrive.com/host/0B_8okaqRyPERVlM0OVVCS29TVzQ/951-25844-27956.jpg
 
What do you mean by "double-click selectable"?
 
problem with underscore is that it's not selected by double-clicking the word near it
try double-clicking 25844
 
4:01 AM
25844?
 
ok example link:
https://googledrive.com/host/0B_8okaqRyPERVlM0OVVCS29TVzQ/imagename_lalala_some‌​thingelse_thumbnail.jpg
 
works perfectly fine for me
 
this is how selection works for me when I double-click the word thumbnail
 
Yeah, that's what you get if you double click
 
4:03 AM
well that's what I was talking about
 
How is that any different from the existing structure?
 
it'd be better if the whole additional word could be selected, deleted with just 1 hit of [del] key and user could press enter to see the full picture
 
oic
 
but better yet, that extension we were discussing that'd do this automatically
 
couldn't you just write a script that converts all the links to original ones?
 
4:05 AM
somebody could, but I don't know the first thing about js
 
in which case for people using that, it wouldn't be any more work than just clicking on the link
 
it'd be wonderful
but only if somebody could make it
either the SE chat dev team (least likely), the StackApp users (somewhat more likely) or some other user in a programming chat room (most likely scenario)
 
I suspect we can find someone here who knows enough of some language so that they can convert URLs matching a specific pattern to point somewhere else.
 
I don't know any other users on SE who I could ask to make it, so might as well just go spam all SO chat rooms
maybe they'll also be so kind as to implement that starred image list
 
@user1306322 try the SE to post challenges forgot the URL maybe they do it there for u
codegolf.se
if you properly describe rules and stuff they will most likely take on it
 
4:13 AM
meh if it's not something that's easy to do e.g. like stackoverflow.com/questions/179713/…
If it's not trivial to do then it's not worth the effort IMO.
 
0
Q: What causes this animation error?

FrosteezeThere was a lot of animation errors in the second episode of Rail Wars. This one in particular stuck out to me: You can see there the cars on the lower left are not where they are supposed to be. There also cars floating on the right and center. I'm not sure if they are supposed to be traffic ...

 
@Sakamoto nu-uh, off-topic
 
I don't get what he's asking
 
@user1306322 string filename = string.Format("{0}://{1}{2}", u.Scheme, u.Host, Path.Combine(Path.GetDirectoryName(u.AbsolutePath), Path.GetFileNameWithoutExtension(u.AbsolutePath) + "_thumbnail" + Path.GetExtension(u.AbsolutePath)).Replace(@"\", "/"));
 
Obviously what causes the error is people making a mistake
 
4:16 AM
@Prix that's C# talk
 
@LoganM what if I wanted to park my car by the tree ...
 
and I'd do a check first for google drive folder id to know if it came from Logan's folder and then see if it has "_thumbnail" in it
@Prix you wouldn't park your car in a way that it would occlude the tree when seen from above
 
lol I wasn't looking at the bigger size so I didnt notice there was a car on top of a tree
 
I don't recommend parking your car on top of a tree
 
just cheap production I suppose
 
4:21 AM
Rail Wars has tons of minor errors like this
So many that I'm starting to think it's deliberate
 
@LoganM true
 
@user1306322 it's funny you don't mark the car flying on left in the circle bulding
 
oh I didn't notice
it looked like a logo
 
$("img[@class='user-image']").each(function()
{
    this.href = this.href.replace(/(.*)\/([^.]+)(.*)/i, "$1$2_thumbnail$3");
});
untested but something like this
ima hit the sack, gn
 
4:26 AM
nighty
 
also poor sack, being hit and all
 
If you can adjust Taisho's list to append _thumb (or just _t if you prefer) to all the files, I'll go with that approach. It will preserves any existing links to the large versions, which may or may not be desirable.
I'll still need to automate the compression, but I can find a way to do that I guess.
 
I could just run a replace ".jpg" > "_thumb.jpg" in notepad :P
 
4:33 AM
wouldn't work exactly since I think there are a few links which aren't mine
And you'd need to do the same for other extensions, though that's not too bad.
 
there are about 20 links like that which I could cut and then paste back
jpg, jpeg, png, … bmp?
 
no bmp
maybe gif though
won't be animated and most likely won't need compression
 
you wouldn't compress a gif!
 
I'll need to upload a thumbnail version for all the images though, even if they're already reasonably sized and don't need compression
so might as well do it for gifs also
If I only do it for big ones, that will make it almost impossible to do your end automatically.
 
ok I just had an idea
instead of reducing all images how about just the ones that are more than like 5 MB?
 
4:36 AM
I can do that
but I'll still need to upload a second copy of all of them if you want to use the _thumb format.
 
then just parse the list of all links in the folder and see of there are both full and thumbnail version
and only add thumbnail to the posting list
if there is no thumb for a given image, add the full link
saves unnecessary reduction of smaller images
(not sure why I'm explaining what everyone already understood)
 
We can do the same thing by just copying the full version to the thumbnail version
 
but we still need that extension >.>
I suppose
I need more tea
 
I'm still not sure 5 MB is the right level either. I could go down to 2 MB or 1 MB if ppl would be happier. Or I can just compress everything to sizes optimized for chat e.g. never having a dimension greater than 300 px.
 
could also run everything thru image optimizers :p
multiple even and select the smallest of results
that'll look like a more serious task
 
4:50 AM
If everything is scaled down to 300x300 max resolution, even without any further compression I think the largest images shouldn't be more than 500 kB.
Of course most of them will be much smaller than that
At that point I'm not sure it's even worth the effort to compress them further.
 
probably not
but I was talking about the original images
maybe could save some google drive space
 
IMO originals should be kept as close to the original source as possible
I don't want to have to go find a different version because there's a compression artifact somewhere or something stupid. If people want to do stuff with them after they get them, fine, but I'd rather not make modifications on my end to the originals
 
for a moment I thought that there are some lossless compression algos, but then I remembered those are for images with transparency and solid colors
 
Yes there are lossless compression algorithms, and they could probably do something here
but even still, poor compression is part of the original artwork IMO.
Improving on that, while it doesn't change anything visual, is changing the artwork.
(albeit in a very minor way)
 
4:55 AM
@Taisho fyah sistaz?
 
Mokou and Keine from Touhou 8
 
can't see shit on these wikipedia illustrations
what the hell are they even for
 
that's TH 7
 

« first day (594 days earlier)      last day (3580 days later) »