I am using below pattern in json schema to validate strings.  "pattern": "^(nfs://)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?):([0-9]{4})"   But currently it is not validating "nfs://172.1.1:2049" as invalid string.
I am tired of always trying to guess, if I should escape special characters like '()[]{}|' etc. when using many implementations of regexps.  It is different with, for example, Python, sed, grep, awk, Perl, rename, Apache, find and so on. Is there any rule set which tells when I should, and when I should not, escape special characters? Does it depend on the regexp type, like PCRE, POSIX or extended regexps?
The most common way to refer to non-immediate family? Create a new cmd.exe window from within another cmd.exe prompt Add AD users to sudo group not working | CentOS 6.7 which analysis fit the best for the data? I am trying to work on the data of my master thesis. I have to create a model, but I don't know which analysis perform. My data look like this     number ID sp ab alt SWdiv     1 A1 4 6 630 0.25802965   2 A2 9 16 750 0.29235324   3 A3 8 14 850 0.411620203   4 A4 9 22 950 0.444079553   5 A5 2 12 1050 0.294855765   6 A6 13 40 1130 0.298451014   7 B1 2 2 750 0.275329152   8 B2 5 6 850 0.043352118   9 B3 14 16 950 0   10 B4 17 58 1050 0.230358688   11 B5 7 9 1150 0.298759725   12 B6 8 68 1250 0.012192474   13 C1 12 20 830 0.467542842   14 C2 13 19 930 0.454480722   15 C3 6 30 1030 0.464584038   16 C4 7 14 1130 0.448191833   17 C5 5 15 1250 0.052045275   18 C6 2 7 1315 0.051767368   19 D1 3 3 650 0.294855541   20 D2 11 17 750 0.291717599   21 D3 9 46 850 0.084284864   22 D4 8 57 950 0.088574421   23 D5 4 32 1050 0.160873283   24 D6 13 22 1150 0.297638962   25 D7 6 22 1250 0.290733158   26 E1 11 23 800 0.250878932   27 E2 8 8 900 0.418021272   28 E3 10 13 1000 0.132159303   29 E4 5 10 1100 0.058487554   30 E5 5 15 1200 0.250310822   31 E6 10 19 1350 0.01600807   32 F1 6 20 800 0.462497319   33 F2 15 54 900 0.376552904   34 F3 6 13 1000 0.298264791   35 F4 6 13 1100 0.394736812   36 G1 14 22 830 0.391455956   37 G2 11 16 930 0.282922551   38 G3 5 10 1030 0.282398234   39 G4 10 15 1130 0.153502726   40 G5 13 18 1230 0.051586706   41 H1 10 11 700 0.3009609   42 H2 7 14 800 0.579228102   43 H3 5 11 900 0.528108703   44 H4 20 48 1000 0.28689587   45 H5 13 18 1100 0.264542772   46 H6 10 20 1250 0.29928462   47 I1 12 13 535 0.35326876   48 I2 3 5 635 0.273947657   49 I3 18 30 720 0.467208221   50 I4 16 188 835 0.276669711   51 I5 7 69 935 0.000867067   52 L1 6 10 435 0.36910895   53 L2 7 20 606 0.236700524   54 L3 14 33 697 0.111132519   55 L4 17 42 797 0.296757045   56 L5 5 7 910 0.27539552   57 L6 10 15 1000 0.29748451   58 L7 6 11 1101 0.276755556     58 sample points each has two value: altitude and diversity index related to habitat heterogeneity. What I sample are different insects and I have two values: sp = species (total number of different species for each sample point) and ab = abundance (total number of insects for each sample point). My question are are the species richness or the abundance affected by the altitude or the habitat heterogeneity? which is the best analysis to perform? and why? thank you for your help. python3 is not supporting gtk module I setup my Nginx conf as per  , and now http2 is available...  But in Chrome (Version 54.0.2840.98 (64-bit))  Dev tool, it's always on HTTP 1/1 :  NAME             METHOD  STATUS  PROTOCOL shell.js?v=xx..    GET    200     http/1.1   my server is running Ubuntu 16.04 LTS which supports both ALPN &amp; NPN , and the openssl version shipped with it is 1.0.2g  I checked http2 support with and the result is :    Yeah! example.com supports HTTP/2.0. ALPN supported...   Also checking with curl is OK   $ curl -I --http2 https://www.example.com   HTTP/2 200    server: nginx/1.10.0 (Ubuntu)   date: Tue, 13 Dec 2016 15:59:13 GMT   content-type: text/html; charset=utf-8   content-length: 5603   x-powered-by: Express   cache-control: public, max-age=0   etag: W/"15e3-EUyjnNnyevoQO+tRlVVZxg"   vary: Accept-Encoding   strict-transport-security: max-age=63072000; includeSubdomains   x-frame-options: DENY   x-content-type-options: nosniff   I also checked with is-http2 cli from my console  is-http2 www.amazon.com × HTTP/2 not supported by www.amazon.com Supported protocols: http/1.1  is-http2 www.example.com ✓ HTTP/2  supported by www.example.com Supported protocols: h2 http/1.1   tested with openssl from my localhost  $ echo | openssl s_client -alpn h2 -connect www.example.com:443 | grep ALPN  depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3  verify return:1  depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3  verify return:1  depth=0 CN = example.com  verify return:1  ALPN protocol: h2  DONE   why Chrome is left behind it ? How can I check it also with Safari (v 10.0.1) Need help with a question regarding the Big Oh In class we are currently covering upper/lower bounds, big Oh and omega and the like. I am pretty good on the "typical" functions one would do, but at a complete loss at "general" statements. This ons function, for example:  $$\forall f\in\mathcal{F}: \lfloor \sqrt{\lfloor f(n)\rfloor }\rfloor \in O(\sqrt{f(n)}).$$  the domain F by the same is all natural numbers that return a real positive number when inputted. My first instinct with something like this is to remove the floors, the general strategy I though to solve this is remove the outer floor, then get rid of the square root, and then the inner floor. But I have no idea how to go about this or if this is even the right way to do it.  Help please? Thanks in advance. How to ‘guess’ if a noun is countable or uncountable? How do I  prevent .xsession-errors from eating disk space? Is there any way to completely disable the .xsession-errors file?  I have it as a symlink to /tmp so that my laptop hard disk can (hopefully) go to sleep for once, but at least 95% of the stuff in the file (it fills up at about 500k an hour) is...  (nautilus:1618): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed  which is total garbage to me.  I have tried doing a symlink to /dev/null but that does not work (the resulting link is overwritten), and I also do not want the activity so that hopefully my laptop can go to sleep for once.  I am using Ubuntu 11.04, with no special add-ons to Nautilus. How to fix "Duplicate sources.list entry" warning? Every time I try to do some update (sudo apt-get update) it says:   Reading package lists ... ready W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages) W: You have to run apt-get update to correct these problems   sources.list:   ls /etc/apt/sources.list.d/ as requested:  milton@milton-HuronRiver-Platform:~$ ls /etc/apt/sources.list.d/ emesene-team-emesene-stable-precise.list precise-partner.list precise-partner.list.save upubuntu-com-chat-precise.list upubuntu-com-chat-precise.list.save I'm in a conversation and I don't really want to leave because the people there keep adding me back so it's just whatever. But I would like to mute the conversation or something like I do on Facebook so I won't take notifications or anything from there unless I press on the group and see what's going on. Because for now I have my Skype having a new notifications every half a second.  Any solutions to that? How do I get a remote host IP address if I don't have ping, and don't have any bind utilities like dig, nslookup, etc?  I need an answer that does not include 'install X' or 'use sidecar container'. I am looking for something that relies on nothing more than bash and the basic shell commands. I am a new user for Ubuntu. I downloaded 13.10 yesterday and made a bootable USB with universal USB installer on my Lenovo IdeaPad Z580 laptop which is now using UEFI; everything appeared OK.  When I booted from the LiveUSB I got the choices of trying or installing Ubuntu but both of them keep giving me these error:  [ 1.929082] kernel panic-not syncing vfs unable to mount root fs on unknown-block (0.0)   Please tell me what is going wrong? Bound for the correlation of three random variables Are matrices and second rank tensors the same thing? Tensors are mathematical objects that are needed in physics to define certain quantities. I have a couple of questions regarding them that need to be clarified:   Are matrices and second rank tensors the same thing? If the answer to 1 is yes, then can we think of a 3rd rank tensor as an ordered set of numbers in 3D lattice (just in the same way as we can think of a matrix as an ordered set of numbers in 2D lattice)? {5,15,25,35} is a group under multiplication mod 40 Show that the set $\{5,15,25,35\}$ is a group under multiplication modulo $40$. What is the identity element of this group. Can you see any relationship between this group and $\mathbb U(8)$?   I am very stuck on this question and I think my knowledge of abstract algebra is my liability at the moment. Right now I'm most confused by the fact that I learned: An element of a group of this nature must be relatively prime with the working mod.  Obviously here this is not the case, so I don't really know where to begin.  Do I need a Cayley Table?  Thanks. How do you prove the follwing $|\sqrt[n]{x}-\sqrt[n]{y}| \le \sqrt[n]{|x-y|}$ how do you prove this inequality? $|\sqrt[n]{x}-\sqrt[n]{y}| \le \sqrt[n]{|x-y|}$ At first glance I thought the triangle inequality would be useful but it's not form what I see. If I raise everything to the power of n I get the following: Possibility 1 (n uneven) : $|x + ... -y| \le |x-y|$ I guess I would have to prove that ... $\le$ 0 but I don't know how to do that. Possibility 2 (n even) : $|x + ... +y| \le |x-y|$ Same as above but now I have to prove that ... $\le$ -y. Am I even on the right track here? Any help would be appreciated. Thanks in advance. Is there anything I can do about someone who has pointed their domain at my ip? This is kind of a weird request. For some reason whoever owns safeandbuy.com has pointed their domain at my IP address. The reason it's a problem is that I'm having all kinds of crawlers that are trying to crawl my site with that domain name.   Is there anything I can do about this? Why doesn't the definition of a category require an explicit notion of morphisms equality? I am learning basics of the category theory (CT).  I do understand that CT is a modern powerful framework to describe various branches of mathematics in a unified way.  I do admit that category's definition tells a lot about the whole thing and focuses on the most important properties, shadowing unnecessary details. However, the more I go forward, the more it feels like it should explicitly require a notion of morphisms equality (like it does with morphism composition). It feels so because equality or inequality of morphisms arises everywhere, since the very beginning: any commutative diagram eventually reduces to an equality of two different paths and many other things involve equality as well. Even composition is defined grounding upon an (implicit) equality!  I'll try to give an example of my concern. Consider $\mathbb{SET}$. Its objects are sets and morphisms are functions. Now, let's recall that functions are sets as well - to be more precise, a function $f : A \mapsto B$ is a subset of a $A \times B$ obeying certain properties, which I omit. Thus, one could argue that $f$ is both a morphism between objects $A, B \in Obj(\mathbb{SET})$ and an object defined as a set of pairs $\{ (a_1 \in A, b_1 \in B), ..., (a_n \in A, b_n \in B) \}$ and those are equal because both are essentially exactly the same thing.  I hope my concern is clear and I need some kind of "conceptual insight" from knowledgeable people to move forward. Please give me the right perspective. Incorrect bookmarks and page number in table of contents I have problem with table of contents and with bookmarks. In pdf file   table of contents shows wrong page number of Introduction and Bibliography, Bookmarks: introduction and bibliography don't bring me to the correct page.   Part of my code  \documentclass[12pt,a4paper]{book}  \usepackage[polish]{babel} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage[pdftex,pagebackref=false,draft=false,pdfpagelabels=false,pdfstartview=FitH,pdfstartpage=1,bookmarks=true,pdfauthor={LiN},pdftitle={PD},pdfsubject={Titlei},pdfkeywords={words},unicode=true]{hyperref}  \usepackage{tocloft}  \begin{document} \tableofcontents \addcontentsline{toc}{chapter}{Introduction} \chapter*{Introduction} \chapter{Chapter1} \section{Section} \addcontentsline{toc}{chapter}{Bibliography} \begin{thebibliography}{9999999}% \bibitem{1}Author, \emph{Title of book}, Publisher. \end{thebibliography} \end{document}   How can I change that?