Questions tagged [tilde]

The ~ (tilde) can have different meanings: it can be an operator, performing a bitwise negation on a binary number - all 1 bits are set to 0 and all 0 bits are set to 1. It can also simply be the tilde character itself, as used in Windows for shortening long path names.

171 questions
2
votes
1 answer

Difference between regular expression operators in JAPE ( Java Annotation Patterns Engine)

I would like to know the difference between these pair of regular expressions in Java Annotation Patterns Engine (JAPE). Between ==~ and =~ Between !~ and !=~ As for the difference between == and =~ I have learnt that == is for complete string…
Haya Hallian
  • 153
  • 2
  • 11
2
votes
1 answer

Tilde (~) sign not working as expected

I'm getting very inconsistent result with the tilde - now that my site is using a shared plan. I have a domain (www.domain.com, for example) that is pointing to a folder /sites/domain.com, where all my files are hosted. The host company redirects…
Craig
  • 18,074
  • 38
  • 147
  • 248
2
votes
2 answers

Why do the author use a tilde before file?

I'm learning node and express programming and find a very good example at: https://github.com/madhums/node-express-mongoose-demo But I find a line and not fully understand. // Bootstrap models var models_path = __dirname +…
maxisme75
  • 137
  • 1
  • 5
2
votes
1 answer

Cmd module '~' completion

I have been playing around with the cmd python module and was looking at the text completion function. I have been trying to get it to expand/recognise '~' to my home directory but with no avail. I've noticed that I can handle default completion by…
user3277112
  • 157
  • 2
  • 5
2
votes
2 answers

What does <> "~" mean in SQL

I have an SP and part of it states this: AND t_phlcm.VAT_FG <> "~" Can you explain the <> "~" part? Does tilde (~) has a special meaning in SQL like % does?
dixienormous
  • 117
  • 1
  • 4
  • 12
2
votes
3 answers

What kind of javascript array uses tilde ~

I'm using some code that seems to require that I make an array that uses the tilde (~) symbol, as below: var quizArray = [ '27~29~Which sentence is written correctly?~Julie said "I have an older brother named Ike."~Mrs. Wagner, said "Children,…
Stephen V
  • 29
  • 2
2
votes
1 answer

What does '~' mean when debug in C#?

Here is my method: public static void send(byte[] packet) { Console.Write(DateTime.Now.ToString() + ": "); foreach (byte b in packet) { Console.Write(b.ToString("X2") + " "); } Console.WriteLine(); if (connected) …
2
votes
2 answers

Java meaning of .java~

By typing jar -tf myJar.jar MyProject I get in the file list, besides the normal .java and .class files, also a .java~ file. I have read googling it around that it is due to some other incomplete version of the file.java. If so, How can I go ahead…
Rollerball
  • 12,618
  • 23
  • 92
  • 161
2
votes
2 answers

Generalising the creation of a formula in R

I'm trying to create a formula in R, of the form Output~Var1+Var2+Var3 For use in a model. The way it seems to work is that you give Variable name you want to predict,tilde,the variable names you want to use as predictors and then in a later…
N. McA.
  • 4,796
  • 4
  • 35
  • 60
2
votes
2 answers

Apache redirect Logical Negation ¬ to Tilde ~

I have a URL that I want to redirect however, I can't seem to enter the character into vim. The character is ¬ (Logical Negation) and I want to redirect it to ~ (Tilde). Redirect permanent /¬foo http://www.example.com/~foo Vim won't let me copy…
niallhaslam
  • 282
  • 2
  • 12
2
votes
7 answers

Tilde C unsigned vs signed integer

For example: unsigned int i = ~0; Result: Max number I can assign to i and signed int y = ~0; Result: -1 Why do I get -1? Shouldn't I get the maximum number that I can assign to y?
user1365914
  • 858
  • 2
  • 18
  • 32
1
vote
4 answers

Typing the tilde ~ character in DOS

In my DOS prompt I have to put in a tilde (~) character to open any files. For some reason it won't show up in the DOS box/prompt. Is there any form of Ctrl shortcut key thing that could get me to typing a ~ character? It's only the DOS prompt…
Agifoto
1
vote
1 answer

How to change the color of the tilde or EndOfBuffer in neovim

I'm trying to change the color of the '~' at the end of buffer line in neovim. I couldn't find any answer until I tested all I could and found a solution. (Posting in answer).
arturfil
  • 380
  • 5
  • 13
1
vote
1 answer

Purrr::pmap using a named list of columns with '~' function doesn't respect names from .l?

This is my first time posting, so bear with me. I'm using purrr::pmap() to map a function over 3 columns of a tibble(), to create a 4th column library(tidyverse) set.seed(123) df <- tibble(a = as.character(1:3), b = sample(LETTERS, 3), c =…
JudgedGem
  • 121
  • 4
1
vote
0 answers

The problem of displaying the "Jost" font in safari (for apple device)

There was a problem with a strange font display on apple devices. The font is in the fonts folder. Website on tilde. Has anyone encountered such a problem? enter image description here @font-face { font-family: "Jost"; src:…
Prog New
  • 11
  • 2