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
fuf
Sep 12, 2004

haha
Images in email signatures: link to a hosted file somewhere or attach the image directly?

I thought the way to do it was to link to a hosted image so that you're not sending attachments every time, but apparently this can lead to warnings for the recipient about loading 3rd party resources?

Is there a consensus about the best way?

Adbot
ADBOT LOVES YOU

Leshy
Jun 21, 2004

I would say that the consensus for that scenario is: don't, but it depends on the mail.

Spam e-mails frequently include an (invisible) image that's hosted, allowing the spammers to see where and how often their mails are viewed based on the requests for the image. Many mail clients block images by default to prevent this. Generally they will offer the option to "always allow images from this sender", accompanied by a warning about the risks involved. If your recipients know who you are and choose to accept images in your mails, this is the best solution. If they don't know who you are, do not trust you or are less tech-savvy, the warning may add an air of insecurity to your mails.

Sending the image as an attachment should avoid the issue, but it does make your mails considerably larger, impacting both your own and possibly your recipient's bandwidth. You are also sending them mails which display as having attachments, when in reality you're not sending along any files with your e-mail that you want them to download and check, just some decoration for the e-mail itself.

If you're sending out a newsletter, marketing mail or anything that needs to be branded, by all means use HTML e-mail with hosted images. For your day-to-day correspondence via e-mail, I would stick with not using images and applying your branding through typography only.

fuf
Sep 12, 2004

haha

Leshy posted:

If you're sending out a newsletter, marketing mail or anything that needs to be branded, by all means use HTML e-mail with hosted images. For your day-to-day correspondence via e-mail, I would stick with not using images and applying your branding through typography only.

Many thanks. This is clearly the best advice but the guy is pretty insistent on having his company logo at the bottom of every email. I'll try and dissuade him.

Munkeymon
Aug 14, 2003

Motherfucker's got an
armor-piercing crowbar! Rigoddamndicu𝜆ous.



Re: NoSQL chat:

https://www.youtube.com/watch?v=fU9hR3kiOK0 is pretty neat

yoyomama
Dec 28, 2008

Lumpy posted:

My guess is the networking and contacts you make are equally or more valuable than the coding bits. I don't really know much about that one, but the boot camp stuff I see all seems very heavy on the "we put you in front of people who are hiring" thing.

\/\/ well then I feel bad for people who go to those things!

I've met a lot of grads from these bootcamps (the GA one in Boston), and they're networking at the same events I go to (and their teacher ago as well to "support" them). I don't think 12k is worth having someone tell you what meetups you need to go to. They're also a little creepy, in that they REALLY push going to their program, in a very cult-like way. "It'll change your life", etc.

caberham
Mar 18, 2009

by Smythe
Grimey Drawer
Glad to know that I'm not freaking crazy or missing out too much. Some crazy high pressure sales tactics they push there. I read a book by GA and it's weird how they always namedrop - "WHEN I WORKED FOR NEW YORK TIMES" Maybe people in the startup scene just have to front like that?

Sorry to be a bit off topic, but just kind of pick up skills, have a portfolio, contribute to github or help non profit do some free work and eventually you will get hired right? Whether that means you are set for life being some hot coder is another matter though, but at least it's your foot to the door right?

As someone who's just got their toes wet on bootstrap, python/flask/django, what else do I need to learn to be a small time "self sufficient" front end guy? Probably learn Sass/less, and keep my mind open on new stuff coming out? Probably need to learn some basic web hosting stuff right? VPS is still the way to go for small deployments? I guess I need visitors able to leave a message. Is git-pages doable?

I'm not looking to make any crazy creative new killer designs but at least be able to make some simple webapp/website which can load a catalogue of images and *hopefully* a mobile app.

kedo
Nov 27, 2007

I've run into a webkit rendering issue with background gradients and am wondering if anyone has found a workaround.

I have a background gradient on my body tag. When a page loads, it looks fine and dandy.



However when an element on the page receives a new height (in this case with jQuery's slideDown()), it gets all hosed up in Chrome and Safari.



I've tried unapplying and reapplying the background, changing it from a CSS 3 gradient to images, setting it on an absolutely positioned div instead of the body tag, etc... but nothing seems to work.This doesn't occur in Firefox, which leads me to believe it's a rendering bug caused when the gradient is forced to move.

Any ideas? Maybe forcing it to redraw somehow once the animation completes?

Funking Giblet
Jun 28, 2004

Jiglightful!
Have you tried background-attachment :fixed at the end?

Funking Giblet fucked around with this message at 21:24 on Mar 11, 2015

kedo
Nov 27, 2007

Yeah, that works since the background doesn't get moved, but I have a couple of full-width elements that are wider than the white content area which don't work if they overlap the blue. So sadly fixing the background isn't an option. :(

yoyomama
Dec 28, 2008

caberham posted:

Glad to know that I'm not freaking crazy or missing out too much. Some crazy high pressure sales tactics they push there. I read a book by GA and it's weird how they always namedrop - "WHEN I WORKED FOR NEW YORK TIMES" Maybe people in the startup scene just have to front like that?

Sorry to be a bit off topic, but just kind of pick up skills, have a portfolio, contribute to github or help non profit do some free work and eventually you will get hired right? Whether that means you are set for life being some hot coder is another matter though, but at least it's your foot to the door right?

As someone who's just got their toes wet on bootstrap, python/flask/django, what else do I need to learn to be a small time "self sufficient" front end guy? Probably learn Sass/less, and keep my mind open on new stuff coming out? Probably need to learn some basic web hosting stuff right? VPS is still the way to go for small deployments? I guess I need visitors able to leave a message. Is git-pages doable?

I'm not looking to make any crazy creative new killer designs but at least be able to make some simple webapp/website which can load a catalogue of images and *hopefully* a mobile app.

I think it may just be GA. Other bootcamps have enthusiastic students, but they usually aren't as aggressively sales-pitchy.

As far as front-end stuff, I find it useful to scour twitter for new things to learn and skills to pick up. I'm trying to get my foot in the door myself, but that's something that was suggested to me, and it's really paid off. Learning some js frameworks would be something, I've seen more articles about angular, react, etc. lately. For web hosting, I've been looking at heroku for a project I'm working on, but a friend of mine has her stuff up on github pages.

MrMoo
Sep 14, 2000


This suffers the same eventual consistency issues as everything else, research and new products are starting to patch up those issues aiming at ACID compliance.

revmoo
May 25, 2006

#basta

Lumpy posted:

An example where we planned on using it at one of my old jobs was in an app that was used for data collection. What was captured varied by the user, and the individual business they were working with at the moment. There were some commonalities, like name, address, etc. but a large part of the data was arbitrary key / value stuff that may or may not be nested, and more importantly, was very specific to each place. Since only one user of the app worked with their set of businesses, we didn't need to worry about speed of searches on that data, so we just serialized each business as JSON and dumped it into a document store, as a collection under the user ID of the person creating the records.

Any time I've ever needed to do that, I just stuck a JSON blob into a column. Doesn't postgres have query support for JSON objects now anyway?

The March Hare
Oct 15, 2006

Je rêve d'un
Wayne's World 3
Buglord

revmoo posted:

Any time I've ever needed to do that, I just stuck a JSON blob into a column. Doesn't postgres have query support for JSON objects now anyway?

JSONB too, vroom.

Fish Ladder Theory
Jun 7, 2005

edit: never mind

Fish Ladder Theory fucked around with this message at 07:21 on Mar 12, 2015

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

revmoo posted:

Any time I've ever needed to do that, I just stuck a JSON blob into a column. Doesn't postgres have query support for JSON objects now anyway?

It didn't three years ago.

Sedro
Dec 31, 2008

Lumpy posted:

It didn't three years ago.
They had a key-value store for a while and just added a document store in 9.4

Munkeymon
Aug 14, 2003

Motherfucker's got an
armor-piercing crowbar! Rigoddamndicu𝜆ous.



MrMoo posted:

This suffers the same eventual consistency issues as everything else, research and new products are starting to patch up those issues aiming at ACID compliance.

OK? Not everything needs full ACID compliance and if you're already looking at NoSQL, there's a chance you've already dropped that requirement it whether you realize it or not. Of course I'm sure plenty of hipsters don't realize it and, well, "oops"

The neat part, to my mind, was in thinking about a view in a different way - kinda like when you see how to actually use map-reduce for the first time but probably less consequential.

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

Sedro posted:

They had a key-value store for a while and just added a document store in 9.4

Okay, great. I'll go back in time and change my problem space and argue with my boss to drop MSSQL for postgres. You guys convinced me!

Kobayashi
Aug 13, 2004

by Nyc_Tattoo
Is there some trick to NPM on a Mac? I just got a new computer, set up a new account, and installed Node. I want to install some global packages, like Bower. If I try to do npm install -g bower, I get a permissions error. But, everything I've read indicates that NPM should not require root to install global packages and that it is bad practice to use it with sudo. When I try to figure out what I'm doing wrong, it seems like there is some magic incantation of Homebrew (which I'd rather not install), changing permissions, and hacking various configuration files. Am I missing something completely obvious?

Fish Ladder Theory
Jun 7, 2005

Kobayashi posted:

Is there some trick to NPM on a Mac? I just got a new computer, set up a new account, and installed Node. I want to install some global packages, like Bower. If I try to do npm install -g bower, I get a permissions error. But, everything I've read indicates that NPM should not require root to install global packages and that it is bad practice to use it with sudo. When I try to figure out what I'm doing wrong, it seems like there is some magic incantation of Homebrew (which I'd rather not install), changing permissions, and hacking various configuration files. Am I missing something completely obvious?

have you looked at this:
https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md

Kobayashi
Aug 13, 2004

by Nyc_Tattoo

I haven't seen that one, no. Following that to this link, I can't help but wonder, isn't this something the installer should do automatically? Either way, thanks.

RobertKerans
Aug 25, 2006

There is a heppy lend
Fur, fur aw-a-a-ay.
I've used this when helping new starters at work, everything generally Just Works once we've run through it, and the bit on node covers avoiding sudo: https://github.com/nicolashery/mac-dev-setup

FateFree
Nov 14, 2003

Stupid dumb question, I have a page with a minimum birthday and I want the quickest easiest way to center style this text so that it fills up the most real estate whether its in a browser or a mobile page, something so its always loud and easy to read. Any quick options for that?

http://imadp.com/static/date.html

Funking Giblet
Jun 28, 2004

Jiglightful!
https://jsfiddle.net/cqmgymj4/

semicolonsrock
Aug 26, 2009

chugga chugga chugga
Not totally related, but does anyone have suggestions for good user experience design classes? Ideal online and less than $3k. I'd like to learn more and can get some sponsorship, and really love my job so the usual "just get a job in it" advice isn't so helpful.

yoyomama
Dec 28, 2008

semicolonsrock posted:

Not totally related, but does anyone have suggestions for good user experience design classes? Ideal online and less than $3k. I'd like to learn more and can get some sponsorship, and really love my job so the usual "just get a job in it" advice isn't so helpful.

There are some good classes on Udemy and Lynda. AGI also offers online courses, as well as Designlab.

That said, there are a good amount of free resources, like the UX crash course.

kedo
Nov 27, 2007

I was cruising through my old, now-neglected Twitter feed and found this wonderful little image and thought I'd share apropos of nothing:



It's always amazing to me how nicely tons and tons of sites are designed if you disable ads, and how they transform into horrific disasters with ads enabled.

revmoo
May 25, 2006

#basta
idk that's pretty poo poo on both versions

Maluco Marinero
Jan 18, 2001

Damn that's a
fine elephant.

revmoo posted:

idk that's pretty poo poo on both versions

At least its usable on one of them. Personally I'd be quite happy with usable as the minimum expectation for your average website.

kedo
Nov 27, 2007

Oh it's not going to win any awards, but

Maluco Marinero posted:

At least its usable on one of them. Personally I'd be quite happy with usable as the minimum expectation for your average website.

I especially love how the sign in/up links disappear with adblock disabled.

hayden.
Sep 11, 2007

here's a goat on a pig or something
I checked their website now and it essentially doesn't load at all without javascript. lol like i'm gonna trust a site like that with JS.

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb

kedo posted:

I was cruising through my old, now-neglected Twitter feed and found this wonderful little image and thought I'd share apropos of nothing:



It's always amazing to me how nicely tons and tons of sites are designed if you disable ads, and how they transform into horrific disasters with ads enabled.

Newspapers are dying all across the country, I'm not surprised they are resorting to last ditch efforts like this to get money and stay afloat

America Inc.
Nov 22, 2013

I plan to live forever, of course, but barring that I'd settle for a couple thousand years. Even 500 would be pretty nice.
Newbie to web development here (student):
I understand that, in the professional world, websites are made by a team that has people specialized for certain parts of the website, which require different skillsets I.e. a front-end using templates and coding in html5/javascript/jQuery, a back-end using maybe mySQL and Oracle, a person handing data between the two with php or Ruby, and a UX person to streamline the whole process for users of the website. Different websites doing different things would ask for different mixes of those aforementioned four.
But who coordinates everything together so that, despite the different skillsets everyone has, they can still have a main idea of what the website should be like, and who ensures that you have just the right people with just the right skillsets for each project? I imagine a project manager, right? How do professional web developers coordinate projects?
Does nobody do full-stack? Do some people switch off between dofferent skillsets depending on the needs of the project? Could a front-end guy do, say, some back-end work if it was rudimentary, or be trained for both?
VVV Thanks.

America Inc. fucked around with this message at 07:40 on Mar 17, 2015

hayden.
Sep 11, 2007

here's a goat on a pig or something
I think you might misunderstand what full-stack means. It's typically something LAMP, which are all things a back-end developer would be familiar with. A strictly front-end developer is not really going to have a "stack", at least in the traditional sense. A front-end developer doesn't really know to use anything in a back-end stack.

The structure of the team really depends on the company and the nature of the site (are you building the site for the company for the company's clients?).

Who decides what the website should be like? If it's a site for the company, this will be decided by whoever is calling the shots. If it's a small company, probably the executive team. Otherwise the client will be saying what they want. You will often have someone in a role called something like a business analyst - this person translates the requirements of the client (or executive staff, or whomever) and creates a technical specification detailing how it will be implemented using the skills and resources available. The project manager will, with the help of the BA, set timelines. The project manager also assign tasks, communicates and facilitates updates/changes/requirements with the client/stakeholder. The project manager also tracks progress and communicates that to everyone.

In short, there is usually a project manager that coordinates everyone's work. However, at the start, the coordination is defined by someone like a business analyst. The PM just makes sure it is carried out correctly.

Maluco Marinero
Jan 18, 2001

Damn that's a
fine elephant.
I dunno, in startups there's a lot of prattle about full stack developers.

http://www.laurencegellert.com/2012/08/what-is-a-full-stack-developer/

To be honest all this says to me is 'unicorn'. I'd sort of be considered full stack because I do DevOps, Back end and Front end, but my specialisation is as a front end developer. In my (I guess) limited experience I find the words full stack full of poo poo, many people who would describe as that are lacking in understanding somewhere. I see it a lot in front end, as it is moving way faster these days.

I'm sure in high flying startups they can afford to get people who are genuinely full stack, but the term is pretty heavily abused, sort of like 5 years experience. :D

Leshy
Jun 21, 2004

Does anyone know why Google and Bing seem to be ignoring my robots.txt and displaying images from my site in their search results when they should not be allowed to do so?

The other day I was checking my access logs for something, when I noticed a handful of requests from Googlebot and Bingbot to some images that they shouldn't have access to, according to my robots.txt. A search on both Bing and Google showed that their image search results are in fact returning a number of images from folders on my site that are disallowed and have been for a long time. My robots.txt:

code:
User-Agent: *
Disallow: /istanbul/img/
Disallow: /luxemburg/img/
Disallow: /praag/img/
Disallow: /kroatie/img/
I checked the Google help files, and they explicitly state that folders of images that should not show up in GIS, should be disallowed via the robots.txt file. Webmaster Tools tells me that the robots.txt is being properly read, and when I enter the URL of one the images, it also tells me that it is being blocked. Except I am looking right at that image at that URL in Google Image Search. I can't really find any detailed instructions for Bing, but I assume pretty much the same goes for them.

I've tried throwing an .htaccess file into the image folders, only allowing my own domain as referer (or empty referer), but that actually breaks them from displaying on my own pages in most browsers, and doesn't prevent Google or Bing from listing them either.

code:
RewriteEngine On
RewriteCond ${HTTP_REFERER} !^$
RewriteCond ${HTTP_REFERER} !^http(s)?://travel\.leshy\.net [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
I'm a bit stumped as how tell Google and Bing: do not index these images and remove the ones you already did from your image search results. Anyone have a bit more experience with this?

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

hayden. posted:

I think you might misunderstand what full-stack means. It's typically something LAMP, which are all things a back-end developer would be familiar with. A strictly front-end developer is not really going to have a "stack", at least in the traditional sense. A front-end developer doesn't really know to use anything in a back-end stack.

I think his use of "full-stack" was correct. Stack could mean the layers of software in use (like LAMP), but it can also commonly mean the layers of the development process like back-end, front-end.

DrSunshine
Mar 23, 2009

Did I just say that out loud~~?!!!
Hello, it's me again. I was the guy back a few pages looking for Javascript help in designing my webcomic site. Well now it's active -- or at least a working prototype version -- thanks to you guys and your help!

It's here: http://aricelle.com/

Just wondering if I was committing any kind of "web design 101" rookie mistakes, basically. I don't really know what's current and accepted best practices for web design, I just tried to make something simple and efficient.

unpacked robinhood
Feb 18, 2013

by Fluffdaddy
How supported are mailto: links nowadays ?

I'm updating a site I've had running for 10 years and I'm wondering if a third party contact form or something would be easier but I really can't allow the contact part to fail silently on me.

DrSunshine posted:

Hello, it's me again. I was the guy back a few pages looking for Javascript help in designing my webcomic site. Well now it's active -- or at least a working prototype version -- thanks to you guys and your help!

It's here: http://aricelle.com/

Just wondering if I was committing any kind of "web design 101" rookie mistakes, basically. I don't really know what's current and accepted best practices for web design, I just tried to make something simple and efficient.

The font size on your left menu is super small by default imo.

Adbot
ADBOT LOVES YOU

MasterSlowPoke
Oct 9, 2005

Our courage will pull us through
Mailtos are fine. I like them because sending an email from my gmail account is better than filling in a form and trusting that your website works.

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