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
23
votes
3 answers

Python ElementTree parsing unbound prefix error

I am learning ElementTree in python. Everything seems fine except when I try to parse the xml file with prefix: test.xml:
Kintarō
  • 2,947
  • 10
  • 48
  • 75
21
votes
2 answers

What do 'instruction prefixes' mean in modern x86

To get an understanding on why Bulldozer was subpar I've been looking at Agner Fog's excellent microarchitecture book, in it on page 178 under bulldozer it has this paragraph. Instructions with up to three prefixes can be decoded in one clock…
Lord Windy
  • 772
  • 1
  • 8
  • 24
20
votes
3 answers

Adding a prefix to every URL in CakePHP

What's the cleanest way to add a prefix to every URL in CakePHP, like a language parameter? http://example.com/en/controller/action http://example.com/ru/admin/controller/action It needs to work with "real" prefixes like admin, and ideally the bare…
deceze
  • 510,633
  • 85
  • 743
  • 889
19
votes
5 answers

What is AWS Prefix actually?

Question What/where is the definition of AWS Prefix? Background While looking for a way to list S3 endpoint CIDR, encountered the word AWS prefix list but not sure what it exactly means and where the terminology is defined. Confusion Prefix means a…
mon
  • 18,789
  • 22
  • 112
  • 205
18
votes
5 answers

Remove prefix from string in Groovy

I need to remove prefix from String in Groovy if it begins the string (no action otherwise). If prefix is groovy: for groovyVersion I expect Version for groovy I expect empty string for spock I expect spock Right now I use .minus(), but when I…
Michal Kordas
  • 10,475
  • 7
  • 58
  • 103
17
votes
1 answer

How to define form field prefix in ASP.NET MVC

I am attempting to render a composite ProductCatalog view in ASP.NET MVC. This requires that I render multiple Product views per page. Each product view is a separate form. I need the form fields to have a prefix based on the id, so that I don't…
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
17
votes
2 answers

xpath expression from xml with namespace prefix

I could not get the following xpath expression to work when the xml path namespace prefix set. /bk:BookStore/bk:Books/bk:Book[text()='Time Machine'] XML is: Time…
Chaitanya
  • 2,396
  • 4
  • 29
  • 45
17
votes
3 answers

java.util.logging: how to set level by logger package (or prefix)?

My app uses many libraries and I'm using java.util.logging for logging. I'd like to be able to set different logging levels for each library by doing something like: org.datanucleus.*.level = WARNING com.google.apphosting.*.level =…
Igor Gatis
  • 4,648
  • 10
  • 43
  • 66
17
votes
1 answer

What is $(prefix) on $(prefix)/etc/gitconfig?

gitconfig(1): If not set explicitly with --file, there are four files where git config will search for configuration options: ... $(prefix)/etc/gitconfig     System-wide configuration file. What is $(prefix) on $(prefix)/etc/gitconfig?
talles
  • 14,356
  • 8
  • 45
  • 58
17
votes
14 answers

conversion from infix to prefix

I am preparing for an exam where i couldn't understand the convertion of infix notation to polish notation for the below expression: (a–b)/c*(d + e – f / g) Can any one tell step by step how the given expression will be converted to prefix?
kar
  • 209
  • 1
  • 3
  • 5
16
votes
3 answers

Remove "d1p1" namespace prefix in DataContractSerializer XML output

I'm using DatacontractSerializer to serialize my domainModel into a xml file. I'm getting output like below.
16
votes
6 answers

Batch rename files using REN in Windows 7 (adding prefix)

I have figured out how to edit batches of files using REN in Windows 7 Command Prompt. However, this time, I am trying to add a prefix to all files but I am unable to do it. All files are tif files. For instance, files are located in…
user2237330
  • 179
  • 1
  • 1
  • 4
16
votes
9 answers

i++ less efficient than ++i, how to show this?

I am trying to show by example that the prefix increment is more efficient than the postfix increment. In theory this makes sense: i++ needs to be able to return the unincremented original value and therefore store it, whereas ++i can return the…
cschol
  • 12,799
  • 11
  • 66
  • 80
15
votes
5 answers

instance variable/ method argument naming in Objective C

What conventions are people here following for naming of instance variables and method arguments - particularly when method arguments are used to set ivars (instance variables)? In C++ I used to use the m_ prefix for ivars a lot. In C# I followed…
philsquared
  • 22,403
  • 12
  • 69
  • 98
14
votes
3 answers

Xcode: How do I change my project folders name, without having building problems?

I would like to change the folder name where my Xcode project is in. But when I do that I can't build my project anymore. It shows me 2 errors that says: Apple LLVM compiler 3.0 error file "project name-Prefix.pch" has been modified since the…
Eksperiment626
  • 985
  • 3
  • 16
  • 30
1 2
3
88 89