Questions tagged [abbreviation]

For questions related to short forms of words or phrases.

203 questions
6
votes
1 answer

jq, when to use the dot and when not

Consider the following json string: { "data": { "search": { "repositoryCount": 24, "edges": [ { "node": { "name": "leumi-leumicard-bank-data-scraper", "url":…
xpt
  • 20,363
  • 37
  • 127
  • 216
6
votes
3 answers

How to show all possible completions hippie-expand command creates in Emacs?

I want to list all items that hippie-expand creates, then choose from them by moving the cursor and hitting RET. Is there any way to do this?
Kei Minagawa
  • 4,395
  • 3
  • 25
  • 43
6
votes
2 answers

What is the full form of PMD?

I am using PMD in my Java project for code review. Just want to know what the acronym "P.M.D." stands for. I searched on Google but could not find anything. Does anyone know?
Anand
  • 20,708
  • 48
  • 131
  • 198
5
votes
2 answers

How to get localized "One Letter" weekday abbreviations in Dart?

If I do this DateTime dateTime = DateTime(2022, 5, 1); // Sunday print(DateFormat("E").format(dateTime)); Sun will be printed out to the console. Which is what I expected. This also works if I change the system language. How to printout the…
5
votes
2 answers

Rails I18n: shorten the translate calls (at least in the views)

What is the DRY way to translate certain fields? In my RESTful views, I have some repeating snippets, like this in a show-view: ...
<%= t("activerecord.attributes.user.firstname") %>
<%= @user.firstname %>
... Now, instead of…
DMKE
  • 4,553
  • 1
  • 31
  • 50
5
votes
1 answer

What do each of the str-function abbreviations/acronyms mean?

The C standard library string.h contains several functions to manipulate strings, all of which start with str and end with an abbreviation. Some of these abbreviations are obvious: strlen string length strcpy string copy strcmp string compare Some…
MD XF
  • 7,860
  • 7
  • 40
  • 71
5
votes
1 answer

SQL Pattern for matching via a translation table

I have dirty data from 2 different sources. I'm looking for some best practices around matching them. Here are some examples of the data: Source1.Name Source2.Name Adda Clevenger Jr Prep School Adda Clevenger Junior Preparatory…
mdahlman
  • 9,204
  • 4
  • 44
  • 72
5
votes
2 answers

Abbreviating constructor names in Ocaml

I have two modules. One defines a variant type: module A = struct type foo = Bar of material | Baz | Boo (* other stuff *) end and I would like to be able to use foo's variants both as constructors and as left-hand-sides in another…
Mike Samuel
  • 118,113
  • 30
  • 216
  • 245
4
votes
4 answers

Convert string of words to a custom acronym/abbreviation in R and concatenate it with data from other rows?

Here is an example data set: data <- data.frame (author = c('bob', 'john', 'james'), year = c(2000, 1942, 1765), title = c('test title one two three', 'another test title four…
David LeBauer
  • 31,011
  • 31
  • 115
  • 189
4
votes
1 answer

Does moment library support translation of time zone abbreviations like EST, IST etc

Does moment library support translation of time zone abbreviations like EST, IST etc. Do these time zone abbreviations have different translation/wordings in different countries.
Aldrin
  • 2,036
  • 15
  • 12
4
votes
2 answers

What does ZIP stand for (the compression format, not the postal codes)

Does anybody know for what the acronym ZIP stands for which was and is used in programs like PKZIP and GZIP? There is a compression algorithm named Lempel-Ziv-Welch-Algorithm (LZW) maybe the guy named Ziv invented together with other people ZIP? I…
codymanix
  • 28,510
  • 21
  • 92
  • 151
4
votes
3 answers

Emacs abbrev-mode in natural languages

I frequently use abbrev-mode in Emacs when writing prose or just taking notes. It would be nice if there was any way to define language-specific abbreviations, e.g. if I write "proj" in an English text, it would expand to "project", whereas if I…
4
votes
1 answer

What does "pl" or "p" mean in a version number?

In PHP's version_compare function, pl or p are the only strings in a version number that are evaluated to be later than the numbered versions. Which means that when comparing version numbers, 1.5 < 1.6-beta < 1.6 < 1.6.1 < 1.6-pl My question is,…
4
votes
2 answers

vim abbreviations and regular expressions

In vim, is it possible to use regular expressions in abbreviations? For example, something like :iab \([0-9]\{-}\)nm \\SI{\1}{\\nano\\meter} would would expand every instance of, say, '50nm' to '\SI{50}{\nano\meter}'.
Genausactly
  • 193
  • 1
  • 4
3
votes
2 answers

Prevent Abbrev expansion after certain symbols in Emacs

Is there a way to prevent automatic expansion of an abbreviation in the built-in abbrev-mode after certain symbols? E.g. I want my abbrev to expand after whitespace, newline, comma etc., but not after a dash or underscore. I know I can hit C-q…
user673592
  • 2,090
  • 1
  • 22
  • 37
1 2
3
13 14