Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Oh My Science
Dec 29, 2008

fuf posted:

I'm not convinced those prices justify the benefits tbh. It is pretty slick though. But maybe only for people who aren't comfortable dealing with hosting directly.

Yeah that's my only hang up right now. Ideally a bulk hosting option would be nice and the CEO said it was being looked into ( I have been pestering him over email ).

If you have < 10 sites it's on par with other services like wpengine which charges $30 minimum for 1 site. Flywheel is $15 minimum for tiny sites.

The remaining codes for flywheel:

98k3p
7bx8v
739nr
r8jn6
fahyu
pcdfv
jpah7
wv3hq

Oh My Science fucked around with this message at 23:17 on Sep 11, 2013

Adbot
ADBOT LOVES YOU

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Is changing the browser mode in IE Developer Tools a completely accurate way to test your sites in old versions of IE?

Space Skeleton
Sep 28, 2004

Oh My Science posted:

I'm actually fairly impressed with Flywheel, if anyone wants to give it a shot I snagged some extra beta codes.

wbpvd
98k3p
7bx8v
739nr
r8jn6
fahyu
9w7r9
pcdfv
jpah7
wv3hq
evgcv

Please indicate which code you take so I can cross them off when taken.

I grabbed 7bx8v, thanks.

Also a bit leery about the prices, I can host a wordpress site on my own for a lot less. But maybe they will wow me somehow.

jusion
Jan 24, 2007


Oh My Science posted:

I'm actually fairly impressed with Flywheel, if anyone wants to give it a shot I snagged some extra beta codes.

wbpvd
98k3p
7bx8v
739nr
r8jn6
fahyu
9w7r9
pcdfv
jpah7
wv3hq
evgcv

Please indicate which code you take so I can cross them off when taken.
Took wv3hq! Thanks!

Depressing Box
Jun 27, 2010

Half-price sideshow.

caiman posted:

Is changing the browser mode in IE Developer Tools a completely accurate way to test your sites in old versions of IE?

No, unfortunately. The various IE compatibility modes aren't complete emulations, and they even add some quirks of their own.

Nothing can really replace the real thing, so running a VM or something like BrowserStack is probably your best bet.

Oh My Science
Dec 29, 2008

Death Himself posted:

Also a bit leery about the prices, I can host a wordpress site on my own for a lot less. But maybe they will wow me somehow.

I guess it depends on your business model. If I was hosting my private Wordpress site going with something like OpenShift or a VPS would be my choice hands down.

Most if not all of the client sites will be for businesses and being able to say they have malware protection, auto backups, built-in caching, and managed updates without me lifting a finger is pretty ideal. Plus it's all managed from one account. The customer support has been rock solid too, very quick response time.

I haven't had to manage a lot of Wordpress sites before, I imagine doing it individually would suck.

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Depressing Box posted:

No, unfortunately. The various IE compatibility modes aren't complete emulations, and they even add some quirks of their own.

Nothing can really replace the real thing, so running a VM or something like BrowserStack is probably your best bet.

Thanks. Yeah, I'm currently running multiple versions of IE via Virtualbox. I was just curious if it's overkill or not. Sounds like it's not.

Do you have any specific examples of how the dev tool emulators differ from the actual browsers?

Depressing Box
Jun 27, 2010

Half-price sideshow.
This article has some good examples, and also links to a list of observed differences.

glompix
Jan 19, 2004

propane grill-pilled
For me, the biggest issue with testing in IE9+ F12 tools like that is Javascript performance. People are pretty good about dealing with visual quirks at this point, but man those old IE browsers performed like poo poo. Emulated IE7 is a ton faster than real IE7, so that's going to skew you too.

If you really have to be lazy for whatever reason and not use a VM, use IETester. It sucks too, but it's not going to mislead you as much in my experience.

glompix fucked around with this message at 16:04 on Sep 12, 2013

Bognar
Aug 4, 2011

I am the queen of France
Hot Rope Guy

A MIRACLE posted:

Is this fixable?

I'm sure it is. What server setup are you running on?

(Assuming you haven't already figured out how to fix this)

Transmogrifier
Dec 10, 2004


Systems at max!

Lipstick Apathy
A fellow intern and I have been trying to find an answer to this. It's probably obvious but not to us. A client wants to receive an email notification whenever a file is uploaded (successfully) to their server. We're not necessarily looking for the uploaded item to be attached but just an email saying something along the lines of 'filename.filetype uploaded at time' or something like that. So far all I've managed to find is the standard contact form information, which I think isn't what we need. Any suggestions/help?

Reo
Apr 11, 2003

That'll do, Carlos.
That'll do.


I posted a thread in SH/SC but it may be more of a web designer question.

Can someone tell me whether PNG images can be in the CMYK colorspace? In my impression GIFs and PNGs must be RGB... but I'm not an expert.

Sudden Infant Def Syndrome
Oct 2, 2004

Transmogrifier posted:

A fellow intern and I have been trying to find an answer to this. It's probably obvious but not to us. A client wants to receive an email notification whenever a file is uploaded (successfully) to their server. We're not necessarily looking for the uploaded item to be attached but just an email saying something along the lines of 'filename.filetype uploaded at time' or something like that. So far all I've managed to find is the standard contact form information, which I think isn't what we need. Any suggestions/help?

Do you have access to the pages that do the uploading? If so it's very easy. There's probably a function run if the upload is successful, so just piggyback off that, and put the mailer in there.

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

Reo posted:

I posted a thread in SH/SC but it may be more of a web designer question.

Can someone tell me whether PNG images can be in the CMYK colorspace? In my impression GIFs and PNGs must be RGB... but I'm not an expert.


PNG cannot be in CYMK.

some :words: to support that: http://www.prepressure.com/library/file-formats/png

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

Transmogrifier posted:

A fellow intern and I have been trying to find an answer to this. It's probably obvious but not to us. A client wants to receive an email notification whenever a file is uploaded (successfully) to their server. We're not necessarily looking for the uploaded item to be attached but just an email saying something along the lines of 'filename.filetype uploaded at time' or something like that. So far all I've managed to find is the standard contact form information, which I think isn't what we need. Any suggestions/help?

Run a cron job on the server that looks for files modified after the last time the cron job ran (a find command will do this for you) and poop out an email with the list if there were any results.

Reo
Apr 11, 2003

That'll do, Carlos.
That'll do.


Lumpy posted:

PNG cannot be in CYMK.

some :words: to support that: http://www.prepressure.com/library/file-formats/png
Thank you, this is preceisely what I needed. As a followup to echo my thread:

Any idea what an image process could be doing with some images that could cause this result?

Correct colors:


Here is the image with wrong colors, as is displayed on the actual web page.


All corrupted images end up in this pink/teal/peach color scheme, regardless of original color content.

Golbez
Oct 9, 2002

1 2 3!
If you want to take a shot at me get in line, line
1 2 3!
Baby, I've had all my shots and I'm fine
edit: nm, asking in more specific thread

glompix
Jan 19, 2004

propane grill-pilled
edit: I'm wrong. Thought it was just simply green channel missing, but the text would still be black if that were the case. Looks groovy, though. I'd keep it. :v:

glompix fucked around with this message at 21:04 on Sep 13, 2013

Funking Giblet
Jun 28, 2004

Jiglightful!
Invert the blue channel?

danse macabre
Oct 29, 2010
I'm having trouble with my website's CSS. It works fine on IE and Chrome, but Firefox just doesn't seem to find the css files. At the moment the css paths are set as such
code:
<link rel="stylesheet" href="assets/style.css">
I've even tried a direct URL and that didn't seem to work.

I've tried firebug and it comes up with no errors.

The URL is here: http://hanzidata.com/

Cheers in advance

danse macabre fucked around with this message at 07:56 on Sep 14, 2013

Sudden Infant Def Syndrome
Oct 2, 2004

I'm not sure, but do you need to have type="text/css" in your link?

Edit: Looks like most if not all of your links have the wrong slashes too. ie:
code:
http://www.hanzidata.com\login\login_process.php
should use "/"

Sudden Infant Def Syndrome fucked around with this message at 08:01 on Sep 14, 2013

Bognar
Aug 4, 2011

I am the queen of France
Hot Rope Guy

Seems to be working fine for me on FF 23.0.1.

On a side note, you might want to consider bundling your CSS into one file on deployment (and potentially minifying it). I made 5 requests to your server for CSS files - Firefox defaults to a max of 4 connections per host, so I'm not loading any of those images while waiting for all the CSS files to come back. Also, turn HTTP compression on and set some caching headers for your static content.

EDIT: Noticed some more things. Your X-UA-Compatible meta tag needs to be the first tag in <head> (because IE is dumb like that). Consider moving your Javascript to the end of the <body> element since DOM loading is halted while JS is executing.

Bognar fucked around with this message at 16:20 on Sep 14, 2013

danse macabre
Oct 29, 2010

Bognar posted:

Seems to be working fine for me on FF 23.0.1.

On a side note, you might want to consider bundling your CSS into one file on deployment (and potentially minifying it). I made 5 requests to your server for CSS files - Firefox defaults to a max of 4 connections per host, so I'm not loading any of those images while waiting for all the CSS files to come back. Also, turn HTTP compression on and set some caching headers for your static content.

EDIT: Noticed some more things. Your X-UA-Compatible meta tag needs to be the first tag in <head> (because IE is dumb like that). Consider moving your Javascript to the end of the <body> element since DOM loading is halted while JS is executing.

Thank you so much, I really appreciate all of that.

Bognar
Aug 4, 2011

I am the queen of France
Hot Rope Guy
Grr, why is there no HTTP code for "update DNS"?

We're moving a site to a different hosting company for a client and I want to make sure that people aren't hitting the old site if their DNS doesn't propagate quickly. My current solution is to just set up a redirect from the old site to the new IP. While that will work, it may be confusing to the users since the URL will change (e.g. http://1.2.3.4/web/site vs http://www.site.com/web/site).

What I really want is an HTTP code that says "IP changed to ..." or "refresh your DNS" so that it's transparent to the user, but I don't really see a good solution anywhere.

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:

Bognar posted:

Grr, why is there no HTTP code for "update DNS"?

We're moving a site to a different hosting company for a client and I want to make sure that people aren't hitting the old site if their DNS doesn't propagate quickly. My current solution is to just set up a redirect from the old site to the new IP. While that will work, it may be confusing to the users since the URL will change (e.g. http://1.2.3.4/web/site vs http://www.site.com/web/site).

What I really want is an HTTP code that says "IP changed to ..." or "refresh your DNS" so that it's transparent to the user, but I don't really see a good solution anywhere.

There is none, really.

lunar detritus
May 6, 2009


I recently discovered Dash and it has been an incredible boost to my productivity. Can't remember what a function does? Select and Ctrl-H from Sublime Text and boom, instant documentation. It also integrates with Alfred (and a bunch of other apps). It's really really cool for a idea so simple.

Movac
Oct 31, 2012

Bognar posted:

Grr, why is there no HTTP code for "update DNS"?

Set up a reverse proxy at the old host pointed to the new one.

Edit: If you can, that is. Obviously that won't be doable on basic shared hosting.

Movac fucked around with this message at 17:57 on Sep 18, 2013

Bognar
Aug 4, 2011

I am the queen of France
Hot Rope Guy

Movac posted:

Set up a reverse proxy at the old host pointed to the new one.

Edit: If you can, that is. Obviously that won't be doable on basic shared hosting.

I was looking into that this morning and I might set it up that way (they have a dedicated box, so it shouldn't be an issue). After talking with my boss, we may just turn the other site off completely and if people call into complain just ask that they Ctrl+F5. The TTL on our DNS is set to 1 hour and we plan to change it to 5 minutes the morning we plan to make the switch. Our client is fine with a bit of downtime, so this may be acceptable.

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!
What's a "best practice" when it comes to amount of JavaScript on a page? Client wanted yet another carousel (in addition to the two existing ones) but upon initializing the third I now get the unresponsive JavaScript popup in Firefox referring to jQuery.
If I search for .js I see 20 external .js files
If I search for simply <script, I get 48 results. Yes I realized this includes the aforementioned 20.
Is this too much JavaScript on a single page?

Some of the JavaScript is social buttons and tracking.

A MIRACLE
Sep 17, 2007

All right. It's Saturday night; I have no date, a two-liter bottle of Shasta and my all-Rush mix-tape... Let's rock.

If you're serving most of those scripts yourself, it probably won't hurt to minify/compress and serve them together as one file. Few requests at least. Are you reusing the same carousel code?

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

The Merkinman posted:

What's a "best practice" when it comes to amount of JavaScript on a page? Client wanted yet another carousel (in addition to the two existing ones) but upon initializing the third I now get the unresponsive JavaScript popup in Firefox referring to jQuery.
If I search for .js I see 20 external .js files
If I search for simply <script, I get 48 results. Yes I realized this includes the aforementioned 20.
Is this too much JavaScript on a single page?

Some of the JavaScript is social buttons and tracking.

Yes, it is. Combine and minify. Adding another of a component that's already on the page should add no code though... just one line to instantiate using the plugin / object that is creating the others.

Obligatory: http://shouldiuseacarousel.com/

Bognar
Aug 4, 2011

I am the queen of France
Hot Rope Guy

That was infuriating.

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!

Lumpy posted:

Yes, it is. Combine and minify. Adding another of a component that's already on the page should add no code though... just one line to instantiate using the plugin / object that is creating the others.

Obligatory: http://shouldiuseacarousel.com/
I think changing the ID on the carousel helped, hard to tell since one required JavaScript has performance issues internally.
Yes I knew about that web page, but two things:
  • It's a carousel that is completely user driven, doesn't animate on it's own (EDIT: Something like this)
  • You forget that marketers/designers wouldn't care about the negatives.

I'll see about combining, I may not be able to all of it since some .js is on some pages that isn't on others, thankfully it seems some JavaScript is superfluous given all the iterations of the page. Minifying of course will be an option.

PleasantDilemma
Dec 5, 2006

The Last Hope for Peace
Someone help me understand how browsers work with Ajax. I load up a page in my browser and it makes an ajax call. The ajax is calling a php script that takes 20 seconds to execute. If I hit F5 on my browser at 10 seconds into the ajax call, the browser doesn't start refreshing until 10 seconds later when the ajax is done. Is there a way to make the browser bail out of the ajax quicker? I'm using jQuery to make the request.

Bognar
Aug 4, 2011

I am the queen of France
Hot Rope Guy
Are you making the AJAX request synchronously (e.g. 'async: false')? That will force the browser to wait for the request to finish before doing anything else in that tab.

PleasantDilemma
Dec 5, 2006

The Last Hope for Peace

Bognar posted:

Are you making the AJAX request synchronously (e.g. 'async: false')? That will force the browser to wait for the request to finish before doing anything else in that tab.

I am not setting the async propery when I call $.ajax(), and the docs say that the default value is async:true.

Disharmony
Dec 29, 2000

Like a hundred crippled horses lying crumpled on the ground

Begging for a rifle to come and put them down
Can someone point out what's wrong with my page? The logo is suppose to be just a few spaces away from the text.

http://pipnee.com/P8357B1CA

Strangely, it displays correctly on my laptop but here at the desktop, the logo is far away almost to the center of the page. On the iPad it's worst off with the text overlapping on the logo but I guess that's a given how small the screen is.

I just got back into coding this one time in a long time so I'm pretty sure there's something I missed and hopefully you guys would be able to help me out.

spacebard
Jan 1, 2007

Football~

Disharmony posted:

Can someone point out what's wrong with my page? The logo is suppose to be just a few spaces away from the text.

http://pipnee.com/P8357B1CA

Strangely, it displays correctly on my laptop but here at the desktop, the logo is far away almost to the center of the page. On the iPad it's worst off with the text overlapping on the logo but I guess that's a given how small the screen is.

I just got back into coding this one time in a long time so I'm pretty sure there's something I missed and hopefully you guys would be able to help me out.

Using % is going to cause this to be fluid so that as the browser width changes the spacing will change. You can specify fixed width and inline to do this.

Fiddle

fuf
Sep 12, 2004

haha
I've just discovered http://www.google.com/fonts and it seems like a pretty ideal way of allowing unconventional fonts.

I vaguely remember some controversy about web fonts. Is there anything I should look out for? Is there a proportion of users it won't work for?

Adbot
ADBOT LOVES YOU

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!

fuf posted:

I've just discovered http://www.google.com/fonts and it seems like a pretty ideal way of allowing unconventional fonts.

I vaguely remember some controversy about web fonts. Is there anything I should look out for? Is there a proportion of users it won't work for?
Google's API is pretty good with cross browser compatibility, works with mobile/desktop(even old versions of IE!). The only controversy I can think of would be making sure you have the license to use the font in that way. All of the fonts on Google Web Fonts are fine, it's more if you wanted to use ~my favorite font~ that you got from somewhere else.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply