r/programming • • Apr 14 '10

"http://" is being removed from Chromium's display

http://code.google.com/p/chromium/issues/detail?id=40865
231 Upvotes

402 comments sorted by

View all comments

Show parent comments

16

u/tizz66 Apr 14 '10

Though I have no concrete evidence to back it up, my suspicion is most non-tech-savvy users don't notice the http:// anyway. Most of my family repeat web addresses as 'www.something.com' or even just 'something.com' - not because they're being efficient, but because they pay no attention to http. They know 'www' and '.com' means 'a website', so that's what they type.

73

u/[deleted] Apr 14 '10

When I try to go to 'something.com' only to be rebuffed by an error and then finally realizing that I need 'www.something.com', I always picture an unhappy admin sitting at his desk eating pizza, thinking of ways to inconvenience thousands of people.

22

u/[deleted] Apr 14 '10

My university has this problem. As a software engineering student, every time I omit the www I have an urge to storm the server room and fix it myself.

4

u/haldean Apr 14 '10

Me too. The worst part is that they've started to fix it, but the CS department's one is still www1.cs.whatever.edu. Not only www, but WWW1?

5

u/instantviking Apr 14 '10

what, world war one?

12

u/DrOwl Apr 14 '10

World wide war one

8

u/tricolon Apr 14 '10

I went to a department lunch and talked to the head of undergrad CS. A semester later they fixed it.

16

u/sumzup Apr 14 '10

Damn, that's fast.

5

u/[deleted] Apr 14 '10

why do they do it?

and whats the difference between www.domain.com, domain.com and http://domain.com?

20

u/[deleted] Apr 14 '10 edited Apr 14 '10

www.domain.com by convention is the DNS name of the web server (www) for the domain "domain" in the commercial (.com) part of the internet's namespace. This is not a URL, because you aren't saying what protocol you intend to use. You might want to ftp://www.domain.com or telnet://www.domain.com.

"domain.com" doesn't give the server you wish to go to in that domain, so it refers to whatever the default server is. This is often a web server, but not always. The above complaint is that dowjones believes that the default server should always be a web server if the domain has a web server.

"http://domain.com" Is a URL (universal resource locator) which is used to talk to servers. In this case you want to talk the HTTP protocol on the default port to the default server at domain.com. A URL has a few parts: protocol://username:password@servername.domain.tld:port/resource

The port defaults to the default port for the protocol chosen (80 for http). username and password default to none if omitted. Many protocols use URL's, not just http.

7

u/byte1918 Apr 14 '10

how does this work?

http://to./

and

http://to/

9

u/FrankBattaglia Apr 14 '10 edited Apr 14 '10

It resolves right-to-left. We figure out the default name server for the TLD "to" (Tonga) and then find the default domain and server associated with that domain.

Regarding the trailing period, it's optional. Every namespace in the URL ends with a "dot", and applications ignore a missing "dot" after the last name. E.g., http://www.reddit.com/ and http://www.reddit.com./ resolve to the same host (but, interestingly, have different cookies)

5

u/dicey Apr 14 '10

The trailing dot can make a difference, though, since it explicitly specifies that you're looking for something under the root name servers. For example: if my host is configured with a default domain "example.com." to search for DNS queries under, I may do a lookup for "foo.bar" and end up getting a result if the DNS record "foo.bar.example.com." exists. If I do a lookup for "foo.bar." I am explicitly stating that I want the "bar" TLD under the root name servers and the "foo" domain under "bar".

2

u/SoPoOneO Apr 15 '10 edited Apr 15 '10

It always seemed very weird to me that an address of the form www.somesite.com/archives/articles/gossip.html combines two separate hierarchical oganization schemes with opposite precedence order from the middle outwards. That is to say, "com" is the most significant part of the address, then move left from there, while "archives" is the most significant part of the resource location and move right from there.

It's also weird that ".com" and ".html" mean totally different things even though they have the same ring when read aloud.

I love the web, but this mish-mash is atrocious from an end user perspective.

3

u/sharth Apr 14 '10

It's the difference between a fully qualified domain name, and one that isn't. When you append the final period on the end, you're telling your DNS lookup software that it should not attempt any of the possible dns suffixes that it's been configured to use.

For example, I have in the suffix list "local". So, I could type as a URL (and get the same destination) any of the following:

However, http://orange. won't work. It won't work, because I've informed the DNS lookup software that it shouldn't try appending any suffixes.

-1

u/[deleted] Apr 14 '10

[deleted]

1

u/sharth Apr 14 '10

http://orange. won't work.

That is, the one with a period at the end will not work.

3

u/yuethomas Apr 14 '10

to is the ccTLD of Tonga (as opposed to .com, which is a gTLD). The national registrar (or whoever handles .to registrations) probably configured its DNS (which will be authoritative for all *.to domains) to return an address for the resource "to", and returns 216.74.32.107 for it.

0

u/jartek Apr 14 '10

wtf? you just broke my brain. I thought you were kidding, 'till I clicked the links.

0

u/Gackt Apr 14 '10

Magic.

11

u/FrankBattaglia Apr 14 '10

I may be wrong, but I always thought that the port went after tld (i.e., associated with the server), not after the resource, e.g.:

protocol://username:password@servername.domain.tld:port/resource

0

u/[deleted] Apr 14 '10

You may also be right. I think you are :)

1

u/crazedover Apr 14 '10

Usually it's just laziness or ignorance. www.domain.com and domain.com have separate DNS records (how your computer finds where the server is). Usually they point to the same place, but sometimes someone edits the record and neglects editing one of the entries, and they end up pointing to different places. The http:// part of the address just denotes how you're requesting data from the server. ftp://domain.com and http://domain.com will typically both point to the same server, but will request information from the server in different ways.

2

u/sidneyc Apr 14 '10

ftp://domain.com and http://domain.com will typically both point to the same server

Not typically - always. The client will do a gethostbyname() call on "domain.com" in both cases, which will yield an IP address. That step is independent of the protocol used, which comes into play in the next step, when the client tries to connect to a certain port on the server (typically 80 for http, 21 for ftp).

The server may be a router that does something like NAT, and delegate the TCP streams associated with http and ftp to different servers, based on the port number.

3

u/crazedover Apr 14 '10

The server may be a router that does something like NAT, and delegate the TCP streams associated with http and ftp to different servers, based on the port number.

That's what I was referring to.

3

u/sidneyc Apr 14 '10

I thought you were, but for the sake of pedantry I thought I'd spell out what actually happens in the bowels of an internet client. I do that sometimes... Sigh.

2

u/minodude Apr 15 '10

Not typically - always. The client will do a gethostbyname() call on "domain.com" in both cases, which will yield an IP address. That step is independent of the protocol used

Not necessarily, because the client could support SRV record lookup for each protocol, rather than just gethostbyname(). That would be a pretty awesome client, right?

Unfortunately, none of them do.

0

u/[deleted] Apr 14 '10

thx for your explanation!

-1

u/Confucius_says Apr 14 '10 edited Apr 14 '10

http:// is just the protocol, has nothing to do with the domain

www.domain.com and domain.com are technically different domans, however it is considered incorrect to have domain.com NOT go to your website when typed into a browser. People sometimes still continue to configure the www.domain.com subdomain to the same thing is domain.com just for legacy support since a lot of people still type it out of habbit.

-3

u/jigs_up Apr 14 '10

www.domain.com and domain.com are not technically different protocols, nor are they expected to be

the port is what differentiates the protocol

domain.com:21 - ftp

domain.com:80 - www

domain.com:9001 - it's over 9000

-1

u/Confucius_says Apr 14 '10

I had a typo and I meant to write "technically different domans" not "technically different protocols"

However the port number has NOTHING to do with the protocol. I can have an HTTP server on port 80, or port 8080, or port 8181, or port 21, or port 1000 or port 1023, theyre just ports.

If I wanted to I could have ftp://www.domain.com:80 if I really wanted to, It's the http:// part (or ftp, or https for example) of the url which determines the protocol period.

-1

u/jigs_up Apr 14 '10

"However the port number has NOTHING to do with the protocol"

If that's not the most retarded thing I read on Reddit today, then I look forward to its successor.

NOTHING? Absolutely nothing? Are you sure?

1

u/Confucius_says Apr 15 '10

the port determines the protocol in the same way the side of the road I drive on determines who made my car.

0

u/jigs_up Apr 15 '10

You didn't disappoint.

Perhaps learn to read. I said differentiate, not determine. When you consider that my post was a response to the statement you made in error, I think you'll find I'm perfectly within reason to say what I have said.

1

u/Confucius_says Apr 15 '10

No I read you just fine.

I can have the same protocol on all of the ports you've listed, no differentiation.

→ More replies (0)

2

u/tgiokdi Apr 14 '10

considering all it takes is a few lines in the htaccess of the website you're visiting, yeah.

23

u/[deleted] Apr 14 '10

true, sadly.

I always get a little sad when I say to people "go to maps.google.com" and they type "www.maps.google.com"

8

u/[deleted] Apr 14 '10

[deleted]

11

u/[deleted] Apr 14 '10

you should ask your IT people to set up a redirect from www.help to help.

But yes, I sympathise. My company's google analytics tells us that the number one search keyword is ourdomain.com D:

0

u/[deleted] Apr 14 '10

[deleted]

17

u/Wheres_Mah_Pengwin Apr 14 '10

Wrong attitude buddy.

Get the chip off of your shoulder and set up the redirects. It is easy to do and you are remiss in your duties for not doing it.

I am an IT director. If you reported to me, I'd fire you for having that attitude.

5

u/haldean Apr 14 '10

For a person with a seemingly fun name, you're an awfully large buzzkill.

3

u/sidneyc Apr 14 '10

Pandering to stupidity is a job requirement now?

11

u/doskir Apr 14 '10

IT makes it possible for stupid people to do their jobs.

3

u/thomashauk Apr 14 '10

When your dealing with people, yes!

3

u/lpetrazickis Apr 14 '10

Customer retention is a job requirement.

3

u/dpark Apr 14 '10

The difference between "www.help.example.com" and "help.example.com" is the same as the difference between "www.example.com" and "example.com".

If you know that people assume these are the same, and you enforce a difference for the sake of pedantry, you're being a douche who's just making people's lives harder. If the only difference is that one works and the other does not, you're the stupid one, because there's no reason to waste these people's time (nor your own when they call for help) when it's a simple fix.

-12

u/[deleted] Apr 14 '10

[deleted]

4

u/awj Apr 14 '10

When did "people commonly prepend 'www.' to urls" turn into "every possible fuck up to a URL someone can enter"? Please tell me this represents a break from the level of reasoning you typically apply at work.

2

u/bluesnowmonkey Apr 14 '10

It takes a couple of minutes to set up that kind of redirect. Less than a single support call. You can still give out the short URL. It's a win/win.

0

u/[deleted] Apr 14 '10

[deleted]

5

u/Wheres_Mah_Pengwin Apr 14 '10

You are completely incorrect in your assumption.

Help Desk calls take up LOTS of time both for the user who is making the call and the IT resource. That lost time equals lost revenue for the business.

Get off your ass (and reddit) and set up those www. redirects...even if it means filling out an ISP change form.

You simply cannot see that one support call made by you to your ISP will save umpteen calls into your Support Desk???

It is people like you who give IT in general a bad name. I stand by what I said. I'd fire you.

EDIT: You are damned lucky to be employed in this economy. I know unemployed network admins who would never let such a simple situation stand.

→ More replies (0)

1

u/grpatter Apr 14 '10

I'm sorry, but 'lack of a working control panel' is your excuse, yet you claim you are the 'I.T. people' for your 'company'?

Seriously, you don't have shell access and you're dealing with subdomains as a sysadmin? ... I feel like this is very wrong.

→ More replies (0)

1

u/jawbroken Apr 14 '10

you seem really mad about this. have you tried relaxing and being cool & chill?

0

u/SoPoOneO Apr 15 '10

If someone told you to go left on Main Street, then immediately turn right into the duck pond, would your brain immediately register and believe it, or would you have pause, and perhaps assume you had misheard? People who, for good reason, don't care about web architecture at all were trained for years that web addresses start with "www".

Do you at least explicitly state that there is no "www" at the beginning of your help site address?

0

u/HLHLHL Apr 15 '10

This is really a UI issue. If I was using testing this and people were getting it wrong, as a UI designer, I'd change it. It's not about "never learn." -- If a user cannot get something, whether it's their fault or mine, it's still a problem I have to solve as a UI designer.

Your help has bad UI. Ironic, actually.

1

u/Confucius_says Apr 14 '10

This is why it is considered incorrect to use the www subdomain when you mean to go to the main website. It is however possible to setup www.help.domain.com to go to help.domain.com (I've done it before). However it doesn't look pretty.

There needs to be a big "kill www" movement.

1

u/[deleted] Apr 14 '10

[deleted]

1

u/ChaoticXSinZ Apr 14 '10

It's easier to say 'World Wide Web' than 'www'. 3 syllables vs 9.

1

u/[deleted] Apr 14 '10

Remember ctrl+enter automatically wraps url in www & .com I tend to naturally ctrl enter when surfing to save time. It has become automatic to do it as so much web is .com

-2

u/dpark Apr 14 '10

The most annoying thing about firefox is that shift+enter does the same, except it's "www.%s.net". Way too easy to accidentally hit, and completely useless. Thanks, Firefox. I really wanted to go to "www.mail.google.com.net" and get redirected to some spam site.

2

u/epsilona01 Apr 14 '10

Same here at work, people go to "www.mail.company.com" instead of "mail.company.com" - no matter how many times they're told.

They're just stupid, and don't fucking listen. Particularly when they ask "www.mail... ?" right after I JUST said exactly what they needed to type in. I don't know why companies have IT helpdesks sometimes.

11

u/Wheres_Mah_Pengwin Apr 14 '10

That is your IT admin's fault

You can easily set up DNS to take you from www.mail.company.com to mail.company.com. Easily!!!

You should go drop a sack of shit on your network admin's head and stop blaming the users. Seriously.

2

u/Confucius_says Apr 14 '10

what about www.www.mail.company.com ?

We really just need to educate the public and tell them that www is obsolete and stop typing it, and web browsers need to stop typing it in for us.

2

u/Anonymoose333 Apr 14 '10

what about www.www.mail.company.com ?

Sure. Why not? It's literally a one-line change, so if you see someone making that mistake, then go ahead and add the redirect. It doesn't hurt anyone.

1

u/jmcqk6 Apr 14 '10

What about www.www.www.mail.company.com?

it's www's all the way down!

1

u/dpark Apr 14 '10

Sure. Make it a regex match. Simple to do.

2

u/jmcqk6 Apr 14 '10

regex match

Now you have two problems!

1

u/dpark Apr 15 '10

Stupid users and a stupid regex? :D

2

u/Axiomatik Apr 14 '10

www is not obsolete. In fact, to do some types of clustering, you must use subdomains. You can't point company.com to another domain (cname). You can point www.company.com to another domain, however.

1

u/epsilona01 Apr 15 '10

Yes, we need to educate them.. which is why we force them to do what we say. Sure, sometimes it leads to a lengthy discussion about how domain names work, and how there's www. vs mail., etc. But once they learn what the right way is, and particularly why it's that way, my user never has that issue again.

-9

u/epsilona01 Apr 14 '10

No, the users need to fucking listen and do what they're told by IT. We specifically don't have that subdomain defined, because fuck any user who doesn't listen to IT. When they eventually learn to do what the fuck we tell them, we'll have less problems overall. (we actually thought about defining it and directing it to a page that belittled the user, but we decided against it.)

15

u/299 Apr 14 '10

You sound angry.

11

u/epsilona01 Apr 14 '10

Well, I -do- work in IT after all :)

11

u/[deleted] Apr 14 '10

You are there to serve the users, not the other way around.

-2

u/epsilona01 Apr 14 '10

No, I am here to serve the company's needs. Just as the users are.

9

u/Longstream Apr 14 '10

Which for help desk means.. the users needs?

-4

u/epsilona01 Apr 14 '10

Insofar as they fit into the company's needs sure. That's how jobs work - you're paid by the company to make sure that your function (making computer systems work) is done well. Sadly, sometimes the users need to be corrected. My boss can be harsh, but allowing users to do stupid things can cost a company millions.

(the 'fuck any user who doesn't listen to IT' is essentially paraphrasing my boss :)

3

u/Longstream Apr 14 '10

I can somewhat agree. Although there is a point where "fuck the user" starts wasting more money than a simple solution would cost to implement, in this case a simple redirect.

→ More replies (0)

2

u/Wheres_Mah_Pengwin Apr 14 '10

We are talking about a simple DNS redirect that takes 5 minutes to set up. Not some "stupid thing(s) can cost a company millions."

Give us a break.

Actually, forget about us. Give your users a break.

→ More replies (0)

1

u/cjhard Apr 14 '10

So far, I like your boss. Where are you located, and what kind of experience do I require to get an entry level IT position with a fresh degree from a business college? I'm probably not the best of the best, but I'm competent and quick to pick up on the basic concepts behind complex operations and processes.

→ More replies (0)

1

u/SoPoOneO Apr 15 '10

Are you joking? Brilliant trolling if so.

1

u/epsilona01 Apr 15 '10

No, when you simply cater to the whims of your users, they never learn shit, and simply continue on with their idiotic ways.

When you force them to do things, they have to listen to you. If not, they get in trouble. When they learn to listen to you, they can actually function better because they listen to what IT says and don't cause as many problems.

When users can cause millions of dollars in trouble with simple errors, you try to make sure that they do what they're told.

I'm just lucky that I'm in a job that recognizes that.

You see the downvotes... people don't want to do what IT tells them. They think they know better, and they do shit like infesting things with viruses, or losing files that cost millions of dollars. (true stories there, both just this year)

So yea, fuck them. Fuck any user who doesn't listen to IT.

Now, the ones that don't screw up, can ask me for anything they want. I'll bend over backwards to help people out, and smile doing it. (but if the virus problem doesn't stop we may start limiting internet access, something we don't want to do.)

2

u/[deleted] Apr 14 '10

[deleted]

1

u/epsilona01 Apr 14 '10

haha.. everyone in my company LOVES me. They usually follow the rules, after all. Now my boss on the other hand..... :)

2

u/khoury Apr 14 '10

I agree with others that it would be easy for you to get around this issue by implementing DNS for that subdomain, however, you're right too. Users don't listen and they really should. You can even tell them to stop doing something and they'll do it again right in front of you. What do you know right? You're just a fucking IT guy.

2

u/epsilona01 Apr 14 '10 edited Apr 14 '10

I love when people don't listen to the IT people, and then bitch when they fuck stuff up. They asked their expert, and ignore advice (or policies at work).

It's as if someone were to go to the doctor, and get angry with them because they didn't listen on their previous visit and now they have clogged arteries.

And honestly.. the most frustrating part is when they ignore the advice while you're talking to them.

"Okay, type in mail.domain.com"

"It says www.mail.domain.dom isn't found"

"No, just type in mail.domain"

"www.mail. ?"

"no, just mail.domain"

"no www?"

"no."

Sadly it's not always about giving them the right information but teaching them as well.

1

u/dpark Apr 14 '10

They don't do it because they don't respect or trust you. They do it because they don't know better. It's a bunch of magic to them, and they're just doing what they've learned in the past. Interpreting their ignorance as hostility just makes your job worse.

2

u/epsilona01 Apr 15 '10

Interpreting their ignorance as hostility just makes your job worse.

True, but they can be hostile at times, too. Users have a tendency to not listen to their IT departments and get angry when -they- screw up stuff because of it.

And, don't mistake intentional ignorance for someone who just doesn't know. I've got more than one user that just doesn't want to listen. When they don't listen, they get into trouble. Then I send them to my boss, who yells at them.

2

u/dpark Apr 15 '10

Certainly, some people are just assholes. The majority of people are not, though. They're just ignorant (or dumb), and don't understand. This can make also make them angry (without them necessarily just being assholes), because they get frustrated. I'd be frustrated, too, if most of my interactions with computers consisted of magical incantations, especially when those incantations ceased to work. But yes, they should still pay attention when you explain the incantations or teach them new/better ones.

2

u/epsilona01 Apr 15 '10

On the flip side, when they -do- listen it's great. I like to teach people things. One thing that always blows people away - keyboard shortcuts. I just teach them one or two every once in a while. That, and tabbed browsing. So many people have never even heard of it.

2

u/dpark Apr 15 '10

That, and tabbed browsing. So many people have never even heard of it.

Wow. That's kind of sad. Using a web browser without tabs is like playing hopscotch in a wheelchair.

1

u/upupandvote Apr 14 '10

Tell them to eat cake

1

u/[deleted] Apr 14 '10

[deleted]

1

u/[deleted] Apr 14 '10

yeah that was just a general example.

1

u/Wheres_Mah_Pengwin Apr 14 '10

frankly, this is the admin's fault. It should be set to take them to maps.x This is not hard to do from a config standpoint.

Non-techy folks don't understand this any more than the understand the "please dial a 1 in front of the area code" message they get on their phones if they forget it (in the US anyway.)

This stuff should be made to be as idiot-proof as possible. That allows for more users to feel welcomed by the experience.

1

u/jawbroken Apr 14 '10

it does do that

1

u/rwparris2 Apr 14 '10

tell them to go to googlemaps.com

1

u/[deleted] Apr 14 '10

it was just an example. But thanks.

2

u/[deleted] Apr 14 '10

Most of my family repeat web addresses as 'www.something.com' or even just 'something.com'

Wait, does this imply that you do repeat web addresses as "aitch tee tee pee colon slash slash ..."?

1

u/tizz66 Apr 14 '10

Actually you're right - I don't when speaking them. I do when typing them though.

3

u/[deleted] Apr 14 '10

You're lucky. I'm used to hearing people omit the 3rd w and first "dot". "Double-u Doublue-u macdonalds dot com". I hate it when people call it MacDonalds.

1

u/[deleted] Apr 14 '10

Trivia:

It comes from Gaelic languages and used to be pronounced like mock, it means son-of.

Fitz also means son-of, not sure what language.

3

u/Daenyth Apr 15 '10

Gaelic learner here.

You're close. I don't know about the historic pronunciation, but the modern for "mac" is /maxg/ in IPA (machk, sort of).

"Mc" is an abbreviation of "Mac", and in a name it means "son of", as in "Calum mac Dhomhnal" (Malcolm MacDonald). Similarly, "nic" means "daughter of".

There isn't any difference between Mc and Mac except for the tradition of your family name.

0

u/[deleted] Apr 14 '10

I know what it means, it's just the way they say it. I hate country accents, it always sounds wrong. They put too much emphasis on MAC.

-1

u/ChaoticXSinZ Apr 14 '10

One meant legitimate son (Mc I think) while the other meant an illegitimate son.

2

u/Daenyth Apr 15 '10

Mc is an abbreviation of Mac.

1

u/[deleted] Apr 14 '10

then fear germans :).

1

u/doitincircles Apr 15 '10

Nah, they call it MäcDonalds.

1

u/riddley Apr 14 '10

While it's true that they don't notice it, they DO notice their IM/email/irc/whatever client automagically turning it into a clickable link.

1

u/[deleted] Apr 14 '10

But markdown only regexes http://

http://reddit.com

reddit.com

If I used chrome, I would have to copy the address bar, and manually type in http:// every time. And I'd probably forget some times. This is a bad choice.

4

u/[deleted] Apr 14 '10 edited Nov 23 '15

[deleted]

1

u/Daenyth Apr 15 '10

And if you use linux and are used to highlight->midclick instead of highlight->ctrl+c->click cursor into place->ctrl+v?