Questions tagged [utility]

Utility software is system software designed to help analyze, configure, optimize or maintain a computer. A single piece of utility software is usually called a utility or tool.

Utility software usually focuses on how the computer infrastructure (including the computer hardware, operating system, application software and data storage) operates. Due to this focus, utilities are often rather technical and targeted at people with an advanced level of computer knowledge - in contrast to application software, which allows users to do things like creating text documents, playing games, listening to music or viewing websites.

367 questions
16
votes
4 answers

What program slicing tools actually exist?

I've just been introduced to the term "program slicing." It makes perfect sense that one would want such functionality, but does it exist anywhere? The term is 20 years old now, and I see there are lots of publications, research papers, etc. But…
feuGene
  • 3,931
  • 2
  • 33
  • 46
15
votes
3 answers

What utility/binary can I call to determine an nVIDIA GPU's Compute Capability?

Suppose I have a system with a single GPU installed, and suppose I've also installed a recent version of CUDA. I want to determine what's the compute capability of my GPU. If I could compile code, that would be easy: #include int main() { …
einpoklum
  • 118,144
  • 57
  • 340
  • 684
14
votes
5 answers

Automatically add type signatures to top-level functions

I was lazy and wrote a Haskell module (using the excellent EclipseFP IDE) without giving type signatures to my top-level functions. EclipseFP uses HLint to automatically label every offending function, and I can fix each one with 4 mouse clicks.…
misterbee
  • 5,142
  • 3
  • 25
  • 34
14
votes
5 answers

convert a `find` like output to a `tree` like output

This question is a generalized version of the Output of ZipArchive() in tree format question. Just before I am wasting time on writing this (*nix command line) utility, it will be a good idea to find out if someone already wrote it. I would like a…
Chen Levy
  • 15,438
  • 17
  • 74
  • 92
14
votes
9 answers

Utility classes.. Good or Bad?

I have been reading that creating dependencies by using static classes/singletons in code, is bad form, and creates problems ie. tight coupling, and unit testing. I have a situation where I have a group of url parsing methods that have no state…
theringostarrs
  • 11,940
  • 14
  • 50
  • 63
13
votes
8 answers

Iphone SDK Utility Application template has leak

i'm only create an project with a Utility Application template. This template has a native memory leak when i push "info button" to flip the view. Anyone know how can i fix this leak ??? I just make an new project from this template, i don't add new…
Hitcurst
12
votes
2 answers

Previewing unicode fonts on Linux

Is there a tool on Linux that would allow me to preview Unicode fonts. Fontforge allows me to see the available glyphs and Unicode ranges, but the display is very crude. Gnome font viewer shows only the Latin range. Ideally the tool would accept a…
Basel Shishani
  • 7,735
  • 6
  • 50
  • 67
12
votes
3 answers

Minimizing jar dependency sizes

an application I have written uses several third party jars. Sometimes only a small portion of the entire 50kB to 1.7mB jar is used - one or two function calls or classes. What is the best way to reduce the jar sizes. Should I download the sources…
brian_d
  • 11,190
  • 5
  • 47
  • 72
11
votes
3 answers

My library pane is missing, how to get it back

I have already searched in the shortcuts in the Xcode preferences but I couldn't find a way to get it back. My current interface:
Paul
  • 459
  • 7
  • 14
10
votes
1 answer

Delete consecutive duplicate lines using unix utilities

This sounds simple on its face but is actually somewhat more complex. I would like to use a unix utility to delete consecutive duplicates, leaving the original. But, I would also like to preserve other duplicates that do not occur immediately after…
z.rubi
  • 327
  • 2
  • 15
10
votes
7 answers

Using utility classes in the android programming

I have a little idea of the Utility Classes with a slight doubt on demand. If I use a Utility class in my Application than to use that class in my main Activity do I have to create the object of that class or I can directly Import that class in my…
David Brown
  • 4,783
  • 17
  • 50
  • 75
9
votes
1 answer

Typescript pick only specific method from overload (to be passed to Parameters)

Background So I have a problem getting specific Parameters from a function which is overloaded. For example: // someLib.d.ts type Component = {}; type A = {}; type B = {}; type C = {}; type Opts = {}; type ModernOpts = {}; export declare…
9
votes
4 answers

Lightweight command-line image resizer?

I'm looking for an image resizer / thumbnailer that is lightweight and efficient. Something that does a good job with all image types, but most importantly jpeg and png. I've looked into ImageMagick and GraphicsMagick, but they are too heavy. This…
grourk
  • 661
  • 8
  • 12
9
votes
3 answers

Can a utility class be a Model class in a MVC framework?

Im designing a MVC framework but I dont know where should I put my utility classes. I read somewhere where it said utility classes are Model Classes. Is this line of thinking correct or are they some separate type of class?
rix501
  • 199
  • 1
  • 3
  • 6
9
votes
3 answers

Python - Best Place for Generic Functions

I am writing a flask application, and I have found I have have ton of generic utility functions. Here are the examples of the type of functions that I consider generic utility functions: def make_hash(): return defaultdict(make_hash) def…
fr00z1
  • 519
  • 5
  • 16
1
2
3
24 25