tags

What use does the *tag* attribute have in C#

Hey everyone, I've been working with C# for over a year now, and I was wondering what other functionality the tag attribute has of a control, till now each .net control I've used (buttons, labels, textboxes, gridview, etc.) have a tag attribute that you can define. I only know you can put something in it like a string of text. The vis...

What is the most commonly-used version control system with support to tagging/labeling?

Actually I'm using VSS, but I was wondering if there is another tool for version control with support for labels/tags (the subversion implementation doesn't count:). What are you guys using? ...

Rails category navigation with tags

Hi, rails newb here. I want to create a navigation system for my web application where there are several main categories for articles and several sub tags for each category. For example, in category "Writing" there might be subcategories like "Essays," "Poetry" and "Fiction." Each article would have a list of tags. If someone clicks t...

Git global tags--- evidently bad, but why?

In his 2005 email to the Linux Kernel mailing list, Linus Torvalds is very emphatic that tags in git should be private and not be automatically included when fetching from others: Pulling a regular head cannot and must not update tags. Tags are not associated with the tree, and they cannot and must not be so, exactly because that...

Why is the <center> tag deprecated in HTML?

I am just curious as to why the <center> tag in HTML was deprecated. The <center> was a simple way of quickly center-aligning blocks of text and images by encapsulating the container in a <center> tag, and I really cannot find any simpler way on how to do it now. Anyone know of any simple way on how to center "stuff" (not the margin-le...

<c:if> tag for JSF page

Used to develop Portlets and JPS's, so have a dilemma. task: display <h:dataTable> only when list isn't empty Is it possible to provide <c:if> tag for JSF page? ...

How to store tags in MySQL tags, one field in total or one filed for each tag?

I am developing a product which is close to stackoverflow.com. A poster is required to enter tags for his problem or task. How to store these tags in the database, one field(column) in total or one field(column) for one tag? ...

Find DataGridView item (row) by Tag

Hi I have DataGridView control that I manyally fill with items (no DataSource) like that int row = dgvClients.Rows.Add(); dgvClients.Rows[row].Cells["ClientObjectID"].Value = somevalue1; dgvClients.Rows[row].Cells["ClientCode"].Value = somevalue2; dgvClients.Rows[row].Tag = SomeObject1; Pls note that e...

How do I Maintain Multiple Lines of Development Between Customers In Mecurial?

I work on maintaining the same e-commerce web-app for multiple customers. Originally there was a standard set of pages from which all the rest of the customers customizations were derived in the past. Recently the place where I work decided to use Mercurial for version control. They've also decided to re-work the standard set of pages...

Add Comment Tags to Disqus Comments

I have a blog, and I'm using Disqus for comments. I want to give users the ability to tag comments, but I can't figure out where in the code this would go. Any help would be appreciated. ...

Is there any way on how we could detect and get the attributes (which do not have properties) from a user control tag?

<uc1:UsercontrolTest ID="UsercontrolTest" runat="server" Hello="World"/> You see, Hello is not a property of UsercontrolTest class, but we need to detect and get that attribute. Are we allowed to do that? Thanks. ...

Converting between unique NSIndexPath and unique NSUInteger (or int)

Is there a better way than what is proposed here to create a one-to-one mapping between an table view cell's NSIndexPath and a unique NSUInteger or int, in order to create a unique tag property value for a widget in the cell (a UIProgressView)? The link adds methods through a UIKit category extension that converts between NSIndexPath an...

Git Version numbering with a centralized workflow

We are using Git with a central server, and our code needs to include a version number in a file. The way this is currently done is like this: A new developer does a "git clone" In his local copy, he edits .git/hooks/pre-commit to call version.sh version.sh (which is included in the project root) takes a version number from "git desc...

How to get rows from articles table 10 most popular tags?

Hello, I have in my database a table Articles with Article Name and Article Tags. Article tags is a string column with tags in it like this: "people, life, president". Every article is tagged in this fashion. Now i would like to get 10 most popular tags for whole population of articles. How to do this? ...

Why is Google Chrome not converting tags/entities?

I keep running into this problem recurring, where Chrome refuses to parse tags/entities on text which is handed to it by JavaScript. I first noticed it with entities like &quot;. It will display &quot; as opposed to " Now I am also running into the problem with <strong> and <em>. It displays <strong>Text</strong> as opposed to bolding ...

Does Android Chrome supports <audio /> tag?

Is it possible to play continuous audio stream (MP3 / AAC) in Android browser using <audio /> tag? If you're not sure, could you at least recommend some good testing page containing and using <audio /> tag? ...

Creating image caption from alt script

I am trying to use this jQuery script to make an image caption from the alt tag: $("#content img").each(function () { var $this = $(this); var title = $this.attr("alt"); $this.after('<div class="caption">'+ title +'</div>'); }); I am using another jQuery script before it and it is working fine. I can't seem to get the caption ...

help with passing arguments to function

function get_tags_by_criteria($gender="%", $min_age_of_birth="%", $max_age_of_birth="%", $country="%", $region="%", $city="%", $tag="") { when i just want to pass the tag argument and let the others by default, how do i write? ive tried this but it didnt work. get_tags_by_criteria("", "", "", "", "", "", computer); ...

Creating an efficient way of keep track of many 100's of 1000's of tagged cache id references

We currently have a table setup to keep track of cache file names or memcached key references. The table exists so that when a comment is added or more content is added the system automatically purges those cache files/key-value pairs that are affected by the update so the rebuild the next time a user accesses the page the user sees the ...

Why there is no tree tag in html?

Hi, I wonder why there is no tree tag in html? Something like table tag. For example: <tree> <treenode id=root> <treenode id=child1 /> <treenode id=child2> <treenode id=child2-1> ...... </treenode> </treenode> </treenode> </tree> ...