473,883 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

purge like utility in c

hi .. can we design a program in c which will point out the possible
memory leaks in any given c file and fix them.... i am trying to come
with something like this but do not know where to start...

any help on where to begin would be highly appriciated
kind regards
rahul

Oct 10 '06
118 4442
In article <Pi************ *************** ***@scorpio.gol d.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
The adjective ``generic'' would only be meaningful if there
exists a group or class of specialised, non-generic slurs. Do
they exist in a musical context?
No idea. But humour doesn't have to be factually accurate. Music
*could* have generic slurs, even if it doesn't.

-- Richard
Oct 13 '06 #111
ri*****@cogsci. ed.ac.uk (Richard Tobin) writes:
No idea. But humour doesn't have to be factually accurate. Music
*could* have generic slurs, even if it doesn't.
The argument is that the concept of "generic slur" is so meaningless
in music that that phrase will be *inherently* interpreted in the same
sense as "ethnic slur." This is a little bit beyond "factually
accurate," well into the realms of the unprovable, and Mr Chan should
be admonished (preferably *before* he begins his full-text searching)
that absence of evidence is not the same as evidence of absence.

In short: the fact that "generic slur" is not a commonly-used term of
art does not mean that the concept of a generic slur has no relevance
to music theory or performance.

Charlton


Oct 13 '06 #112
On Fri, 13 Oct 2006, Charlton Wilbur wrote:
ri*****@cogsci. ed.ac.uk (Richard Tobin) writes:
>No idea. But humour doesn't have to be factually accurate. Music
*could* have generic slurs, even if it doesn't.

The argument is that the concept of "generic slur" is so meaningless
in music that that phrase will be *inherently* interpreted in the same
sense as "ethnic slur." This is a little bit beyond "factually
accurate," well into the realms of the unprovable, and Mr Chan should
be admonished (preferably *before* he begins his full-text searching)
that absence of evidence is not the same as evidence of absence.
It is true that my argument relies on an absence of evidence
and therefore is philosophically unsound, but as you said it is
``into the realms of the unprovable'', so our best bet is to
prove it beyond a reasonable doubt. Google and Music Index
Online together have provided me with enough grounds to believe
that the probability is practically zero (considering the size
and coverage of the archives, zero hits do mean something).
In short: the fact that "generic slur" is not a commonly-used term of
art does not mean that the concept of a generic slur has no relevance
to music theory or performance.
Your phrase, ``/the/ concept of a generic slur'' [emphasis
mine], implies that there exists one unambiguous definition of
the said concept. Can you provide such a definition, in a way
that is acceptable to all your fellow theorists?

Secondly, the adjective ``generic'' before ``slur'' implies
that there exists a group or class of specialised slurs from
which you can blend their main characteristics together and call
it a ``generic slur''. I am not aware of the existence of such.
A possible counterargument is to cite Grove, which says that
there exists tie slurs, phrasing slurs, glissando slurs, vertical
slurs, etc. But this glosses over the fact that such slurs do
not belong to the same ``group or class'', as you cannot put a
tie in the place of a chord slur and hope that it would still
work, for example. If generic slur indeed exists, I would expect
it to be ``write once use everywhere''. So, I am not convinced
that generic slurs are possible in a musical context.

Tak-Shing
Oct 13 '06 #113
Tak-Shing Chan posted:
The adjective ``generic'' would only be meaningful if there
exists a group or class of specialised, non-generic slurs.

You're making the presumption that the function of adjectives is to
distinguish one thing from another. They can also be used to simply describe
something! I can say, "That's a generic slur.", without implying that there
are non-generic slurs in existance. Even if there are no non-generic slurs in
existance, my use of "generic" is not redudant as I'm using it to express my
view.

Also, remember the term, "bull-headed Irishman"; it was argued that the use
of "bull-headed" implied that there was a such thing as a "non-bullheaded"
Irishman -- and it was argued that therefore, if the person were implying
that _all_ Irishmen were bull-headed, that the descriptive term, "bull-
headed", would be redundant in that context. One could easily argue against
this though, in saying that the speaker was expressing a stereotypical view
of Irishmen via use of the descriptive term, "bull-headed".
Alas, one can use a descriptive term (be it an adjective, noun, whatever)
for a wide variety of reasons -- more reasons than a grammar book can tell
you.

--

Frederick Gotham
Oct 13 '06 #114
On Thu, 12 Oct 2006 22:27:54 GMT, in comp.lang.c , Keith Thompson
<ks***@mib.orgw rote:
>Mark McIntyre <ma**********@s pamcop.netwrite s:
>On Thu, 12 Oct 2006 17:41:30 +0100, in comp.lang.c , Tak-Shing Chan
<t.****@gold.a c.ukwrote:
>> You have to take into account that English is not my first
language.

This defebce would only work if you had a poor grasp of english, or
were posting from China. You don't and you aren't - not unless SE
London has mysteriously moved continents.
[...]

Mark, since Usenet is asynchronous, you might not be aware that
apologies have already been offered and accepted, and this whole
subthread can be safely dropped.
*whew*
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Oct 13 '06 #115
On Fri, 13 Oct 2006, Frederick Gotham wrote:
Tak-Shing Chan posted:
> The adjective ``generic'' would only be meaningful if there
exists a group or class of specialised, non-generic slurs.


You're making the presumption that the function of adjectives is to
distinguish one thing from another. They can also be used to simply describe
something! I can say, "That's a generic slur.", without implying that there
are non-generic slurs in existance. Even if there are no non-generic slurs in
existance, my use of "generic" is not redudant as I'm using it to express my
view.
No. I was not talking about the function of ``adjectives'',
but rather the meaning of ``generic''.

Tak-Shing
Oct 16 '06 #116
On Fri, 13 Oct 2006 09:30:01 +0100, Tak-Shing Chan <t.****@gold.ac .uk>
wrote:
>On Fri, 13 Oct 2006, Richard Tobin wrote:
>>
You probably won't find any, because "generic slur" is not any kind of
standard term, it's just two words put together - a slur that is
generic. A slur is a sequence of notes run together, so you can have
a fast slur, a joyful slur, a ridiculous slur, a unique slur,
any-adjective-you-like slur. The fact that no-one happens to have
used that pair of words together just means that people don't often
consider whether musical slurs are generic or not. Not to mention the
fact that the word "generic" is probably far more familiar to computer
programmers than the general public - I doubt you'd find many
musicians who'd use the phrase "generic slur" with the other sense of
slur.

The adjective ``generic'' would only be meaningful if there
exists a group or class of specialised, non-generic slurs. Do
they exist in a musical context?
To this non-musician, it seems that Richard just named four members of
that group :-)

--
Al Balmer
Sun City, AZ
Oct 16 '06 #117
On Fri, 13 Oct 2006 20:41:27 +0100, Tak-Shing Chan <t.****@gold.ac .uk>
wrote:
>A possible counterargument is to cite Grove, which says that
there exists tie slurs, phrasing slurs, glissando slurs, vertical
slurs, etc. But this glosses over the fact that such slurs do
not belong to the same ``group or class'
They (obviously) all belong to the group of slurs. Not to mention the
group of specific slurs.

--
Al Balmer
Sun City, AZ
Oct 16 '06 #118
On Wed, 11 Oct 2006 06:20:50 +0000, Richard Heathfield
<in*****@invali d.invalidwrote:
Keith Thompson said:
<snip>
Ignoring jacob navia needn't imply ignoring GC.
Concur.
He makes a poor advertisement for it. If this is what garbage collection
leaves behind...
<ObVaguelyNearT opicBut as long as you, and (quite a few) others,
keep replying to him, he's NOT unreferenced and hence not collectable.

- David.Thompson1 at worldnet.att.ne t
Oct 23 '06 #119

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4425
by: Dan Caron | last post by:
I have to create a stored procedure to purge "x" # of records from a table. I have two tables (script below): Schedule ScheduleHistory I need to purge records out of ScheduleHistory. The problem is that the # of records that needs to be "kept" is dynamic, and stored in the Schedule table. So all records in ScheduleHistory should be purged, except for the most recent "x" number of records.
1
2277
by: Heather | last post by:
Is it possible to automatically purge records after a six month period in Microsoft Access 97?
5
2310
by: Diffident | last post by:
Hello All, I have written a webform which is by default derived from "Page" class. I have coded another utility class with few methods and an object of this class is instantiated from the webfom class. Methods inside the utility class set few global variables which act as mediums of persistence to hold data. Now my question is all works fine during my initial request and all the global variables are set correctly, but during later...
5
5408
by: Jeff | last post by:
We are using .Net and the wsdl Utility to generate proxies to consume web services built using the BEA toolset. The data architects on the BEA side create XML schemas with various entities in separate files for ease of maintainability. These schemas are all part of the same namespace. When defining a web service that access more than one of these entities, the wsdl file generated by BEA contains multiple schema elements with the same...
1
5966
by: huyuhui | last post by:
The following is a question of LOAD utility. Question: How does the DB2 enforce table check constraints for data added to table with the LOAD utility? A. With the BUILD phase of LOAD B. With the SET INTEGRITY statement C. With the DELETE phase of the LOAD D. With the UPDATE CONSTRAINTS statement Answer is A
27
2165
by: Neil | last post by:
Anyone have a recommendation for a good inexpensive or free utility for developing table schemas.
3
2059
by: kababoom | last post by:
Hi All, I am new to PLSQL. I am posting this query. Wat i need : to purge and export oracle table data which is more than 1 month old onto a csv file Thks for any advice :)
1
1477
by: kenderkin17 | last post by:
I have an older Database of personel records that I need to completely purge, but keep all of the current macros data and relationships. Is there a command line or code that will simply remove all of the stored data in the input fields for the DB while maintaining the integrity of the previous commands and macros? I understand that you may need to know all of the previous macros and things of that nature. If there is a simple command that...
0
2037
by: hsheboul | last post by:
Thanks to Markus for pointing me to all the Apache stuff http://bytes.com/topic/html-css/answers/876342-automating-web-site-template My Web site is hosted on a shared Linux hosting, that runs the Apache 2.2 I got multiple static "utility" files: CSS, JavaScripts, Impages, etc. In order to maintain a coherent and consistent structure, I put all these kind of utility files in one directory hierarchy. However, this directory structure might...
0
9944
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9796
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
11153
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10757
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...
0
10420
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
9583
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
5804
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...
0
6002
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4225
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.