473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Why is it called a 'slug'?

pbmods
5,821 Expert 4TB
Ok, I'm intrigued. And a bit confused.

Why is it called a 'slug'?

For those of you that don't know what I'm talking about, or are wondering why I'm asking about living boogers on a technical coding site, a slug is essentially a human-readable version of a primary key.

In blogging and other CMS, the slug usually makes up the 'permalink' for the document. For an example, see this document.
Aug 14 '07 #1
5 15720
Plater
7,872 Expert 4TB
Well it's a stretch but maybe from the following:
http://en.wikipedia.org/wiki/Slug_%28typesetting%29
Sep 18 '07 #2
pbmods
5,821 Expert 4TB
Heya, Plater.

Interesting. I checked out the article you posted, and I noticed a similar article about 'slug' as a news industry term.

It turns out that a 'slug' is also the term for an article headline in a newspaper, named after the physical 'slug' (or piece of lead) that is used in typesetting machines to space out paragraphs.

According to ABC News Radio, the word 'slug' possibly derives from a Scandinavian word meaning 'to move slowly' or (by extension) 'to be lazy'.

Slugs are definitely slower for a server to process than article IDs, that's for sure!

Thanks for the link; I think that about cleared it up for me.
Sep 18 '07 #3
JosAH
11,448 Expert 8TB
According to ABC News Radio, the word 'slug' possibly derives from a Scandinavian word meaning 'to move slowly' or (by extension) 'to be lazy'.
The Dutch word for 'slug' (as in snail) is 'slak' which means exactly the same as
what you just described, which proves once again that Dutch happens to be the
mother of all languages.

kind regards,

Jos ;-)
Sep 18 '07 #4
drhowarddrfine
7,435 Expert 4TB
When I was much younger, I used to repair traffic signals. A bunch of cars moving down the road was called a 'slug', too.
Sep 24 '07 #5
jamesd0142
469 256MB
I disagree guys!

It was and always will be a slimey thing, that makes one hell of a mess in the garden.
Oct 10 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: beveled edges | last post by:
I'm using the XML functions in PHP 5. The callback function I set for namespace declarations doesn't get called. Can anyone help me out? The code is: $xml = '<addressbook...
1
by: beveled edges | last post by:
I'm using the XML functions in PHP 5. The callback function I set for namespace declarations doesn't get called. Can anyone help me out? The code is: $xml = '<addressbook...
3
by: Jun | last post by:
I have following script <script> var Animal = function(name){ this.name = name; } Animal.prototype.eat = function (food) {
3
by: Richard Urwin | last post by:
I'm using C# and having problems getting the 'Parse' EventHandler of my binding object to be called. Interestingly, the 'Format' method is always called however. A code snippet: (rdDocument is a...
8
by: Invalidlastname | last post by:
Hi, We are developing an asp.net application, and we dynamically created certain literal controls to represent some read-only text for certain editable controls. However, recently we found an issue...
20
by: Charles Law | last post by:
I have an application that creates a class. The class has unmanaged resources, so must end gracefully. How can I guarantee that the unmanaged resources are freed? I have looked at IDisposable,...
35
by: Peter Oliphant | last post by:
I'm programming in VS C++.NET 2005 using cli:/pure syntax. In my code I have a class derived from Form that creates an instance of one of my custom classes via gcnew and stores the pointer in a...
0
by: slug-bounces | last post by:
Your mail to 'slug' with the subject Stolen document Is being held until the list moderator can review it for approval. The reason it is being held: SpamAssassin identified this message...
37
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.