473,839 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why is it called a 'slug'?

pbmods
5,821 Recognized Expert Expert
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 15753
Plater
7,872 Recognized Expert Expert
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 Recognized Expert Expert
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 Recognized Expert MVP
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 Recognized Expert Expert
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 Contributor
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
1392
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 xmlns:ab="http://www.somewhere.com/addressbook/">' . '</addressbook>'; $parser = xml_parser_create_ns();
1
1810
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 xmlns:ab="http://www.somewhere.com/addressbook/">' . '</addressbook>'; $parser = xml_parser_create_ns();
3
4571
by: Jun | last post by:
I have following script <script> var Animal = function(name){ this.name = name; } Animal.prototype.eat = function (food) {
3
2048
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 private member field of the class and has a string-type property called 'Name') Binding bName = new Binding("Text", rdDocument, "Name"); bName.Format += new ConvertEventHandler(teName_Format); bName.Parse += new...
8
4285
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 which is related to the repeater. In the code shown below, if I call Repeater1.Controls.Count in the OnInit (the code fragment was highlighted in yellow) , the viewstate for the repeater will be lost during the postback. You can re-produce this...
20
7524
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, but this seems to rely on a call from the application, e.g. MyClass.Dispose()
35
3337
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 member. However, I set a breakpoint at the destructor of this instance's class and it was never called!!! I can see how it might not get called at a deterministic time. But NEVER? So, I guess I need to know the rules about destructors. I would...
0
998
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 as possible spam (score 5.3)
37
4014
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 a function
0
9697
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10585
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10647
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10292
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7017
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5682
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3132
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.