Questions tagged [prefix]

A prefix is a part of a word attached to a beginning of a word which modifies the meaning of that stem.

A prefix is a part of a word attached to a beginning of a word which modifies the meaning of that stem. Prefixes are generally adding an attribute to the base-word. For example the word "prefix" is composed by the prefix of "pre" and the base-word of "fix". The prefix of "pre" means before.

Prefix may also refer to:

1325 questions
36
votes
2 answers

Set installation prefix automatically to custom path if not explicitly specified on the command line

For some internal tests, I would like the install prefix to default to a subdirectory of the build directory, unless explicitly overridden by the user. I know the user can specify a install prefix by: $ cmake -DCMAKE_INSTALL_PREFIX=/foo/bar .. But…
Jeet
  • 38,594
  • 7
  • 49
  • 56
35
votes
1 answer

ArraySlice in Array Swift

after using the prefix method on an Array I get what is called an arraySlice. How can I transform this into an Array? I am trying to fetch Ints from FacebookGraphApi then asking for the first 3 (prefix(3)) and trying to add them into a new…
JVS
  • 2,592
  • 3
  • 19
  • 31
35
votes
4 answers

What is the underscore prefix for python file name?

In cherryPy for example, there are files like: __init__.py _cptools.py How are they different? What does this mean?
DNB5brims
  • 29,344
  • 50
  • 131
  • 195
34
votes
3 answers

Do you know any opensource JQuery dropdown menu for telephone prefix?

I need to do a dropdown menu for entering telephone numbers. I want to do something similar as google does in his registration form. Something like this: Do you know any opensource dropdown menu for telephone prefix? I have looking in google and…
Oscar Foley
  • 6,817
  • 8
  • 57
  • 90
34
votes
33 answers

What kind of prefix do you use for member variables?

No doubt, it's essential for understanding code to give member variables a prefix so that they can easily be distinguished from "normal" variables. But what kind of prefix do you use? I have been working on projects where we used m_ as prefix, on…
Thomas Koschel
  • 3,321
  • 9
  • 33
  • 38
33
votes
5 answers

Cross compiler prefix and path in eclipse

I'm trying to create a C++ project on eclipse. I have installed eclipse-cdt for that. While creating a project, a pop up window asks for cross compiler prefix and cross compiler path. Could someone please explain what are those and what do I need to…
nish
  • 6,952
  • 18
  • 74
  • 128
31
votes
4 answers

How to delete items with same prefix key in memcached?

For example, I have some cached items with same prefix, such as 'app_111111', 'app_222222', 'app_333333', ... Can I remove such 'app_xxxxxx' items by any memcached commands?
northtree
  • 8,569
  • 11
  • 61
  • 80
29
votes
5 answers

Remove namespace prefix while JAXB marshalling

I have JAXB objects created from a schema. While marshalling, the xml elements are getting annotated with ns2. I have tried all the options that exist over the net for this problem, but none of them works. I cannot modify my schema or change…
user2487308
  • 337
  • 1
  • 5
  • 9
28
votes
4 answers

Rails table_name_prefix missing

I have got the following dir structure models/foo/setting.rb models/foo.rb foo.rb content module Foo def self.table_name_prefix 'foo_' end end and setting.rb content class Foo::Setting < ActiveRecord::Base end As soon as I am calling…
gorootde
  • 4,003
  • 4
  • 41
  • 83
28
votes
7 answers

How I can change prefixes in all tables in my MySQL DB?

My provider installed to my site Drupal CMS. Now I need copy all my data from old site. I have tables without prefixes in my old DB, but in new DB all tables have dp_[table_name] prefix.
SkyFox
  • 1,805
  • 4
  • 22
  • 33
27
votes
7 answers

What is a table prefix?

What is a table prefix, and what are their advantages and disadvantages? This is in relation to MySQL.
alioygur
  • 5,324
  • 5
  • 35
  • 37
26
votes
6 answers

CondaValueError: Value error: prefix already exists:

Reference: https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/ I've run the following commands to install conda and create a virtual environment. Continue reading after code block for my question. C:\Windows\System32>conda…
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
25
votes
5 answers

How to circumvent the fallacy of Python's os.path.commonprefix?

My problem is to find the common path prefix of a given set of files. Literally I was expecting that "os.path.commonprefix" would do just that. Unfortunately, the fact that commonprefix is located in path is rather misleading, since it actually will…
bluenote10
  • 23,414
  • 14
  • 122
  • 178
24
votes
3 answers

How can I prefix ordered list item numbers with a static string using CSS?

I want this HTML:
  1. Apples
  2. Oranges
to render like this: Q1. Apples Q2. Oranges Ie, I want to prefix "Q" to each number. I've tried CSS like this: ol li::before { content: "Q"; } but that…
Triynko
  • 18,766
  • 21
  • 107
  • 173
24
votes
6 answers

Why does the postfix increment operator take a dummy parameter?

Have a look at these function signatures: class Number { public: Number& operator++ (); // prefix ++ Number operator++ (int); // postfix ++ }; Prefix doesn't take any parameter but postfix does. Why? I thought we can recognize them…
Naruto
  • 9,476
  • 37
  • 118
  • 201
1
2
3
88 89