Descriptive word for someone who is ignorant
Someone who just thinks they know what they're talking about
Unicode Regex; Invalid XML characters The list of valid XML characters is well known, as defined by the spec it's:  #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]   My question is whether or not it's possible to make a PCRE regular expression for this (or its inverse) without actually hard-coding the codepoints, by using Unicode general categories. An inverse might be something like [\p{Cc}\p{Cs}\p{Cn}], except that improperly covers linefeeds and tabs and misses some other invalid characters. Often, when making a command block contraption, you need to set an entity's data tag. These tags can sometimes be very long, with many layers of nested curly and square brackets. For example, this is the command to summon a villager with a single custom trade:  /summon Villager ~ ~ ~ {Profession:3,Career:2,Offers:{Recipes:[{buy:{id:minecraft:diamond,Count:6b}},sell:{id:minecraft:diamond_hoe,tag:{ench:[{id:16s,lvl:10s}]}]}}   The single-line command block interface of Minecraft makes it incredibly difficult to find and fix errors, especially when it comes to mismatched brackets. In fact, for illustration purposes, I put an error in the above command.  What techniques can I use to find and fix unbalanced square or curly brackets when writing long and complicated data tags? Local DNS server How to update Android Studio in Ubuntu? I am trying to update from version 2.0.0 to version 2.1.2 in Ubuntu 64bit/14.04LTS but when I click "update and restart" it says "Downloading patches" and it closes.   It does not start again and if I try to open it, the version is still 2.0.0.   Is there any tutorial to manually update android studio? (keep all settings and etc). An example for a homomorphism that is not an automorphism Automatically convert quotations in the form of "abc" to become ``abc" I did not know that latex had different symbol for opening and closing quotation marks. I've used it like "abc" every where and just realised that I really should have used ``abc". Is there anyway I can convert all the quotations to become like ``abc"? Doing it manually will take forever as I have a lot of quotations. App Store asks for old Apple ID when installing updates I got a MacBook that a colleague of mine had used previously. It runs OS X 10.10.2. I created a new administrator account for myself and turned off the "admin" flag on the old account.  I also entered my iCloud / Apple ID account, so that it syncs my calendars and contacts correctly, and even in the App Store, I am signed in with my correct account.  But when I try to install pending software updates (that is, OS X system updates!), the window that pops up has the the e-mail address of my colleague filled in and greyed out—and I can't change it.     Note that I'm signed in with a different (correct) account in the App Store. When I go to Featured and click Account on the right, it has my correct e-mail address filled in:    How do I make the App Store "forget" the old Apple ID?  I  where it just says "it's not possible", and that apps are glued to the original account the Mac was set up with, but that doesn't make a lot of sense, especially in a company where laptops may be handed over from one person to another. Convert web page to image Say an airplane flies at Mach 1. The doppler effect causes the front of the sound emitted by the plane to reach infinite frequency:    $f = \left ( \frac {343+0}{343-343} \right ) f_0 = ∞$  If the plane suddenly stopped, and there was an observer in front of the sound waves to receive the sound, what would the bunched up waves sound like to the observer? Would they cancel each other out and cause no sound? I'm usually running many different StackExchange sites in Firefox using tabs (using ReloadEvery to update every 5 minutes).  Right now to check for activity, I have to manually click on the tab to see if the envelope is lighted.  How about making the icon on the tab i.e. the title text change in some way, denoting that you have activity on the page?  We already add a message count for the chat tabs, so this shouldn't be very complicated.  Possible Example: Inequality similar to the Schwarz-Pick theorem $|f'(x)| \le g(x)$ implies $|f(b) - f(a)| \le \int_a^b g(x) dx$, without assuming $f'$ to be integrable. Git SSH error: "Connect to host: Bad file number" I could install with an error message "unknown media /ALL". It could not run WPS Office. How to search for email of a particular date from years ago in Gmail There are similar questions and several answers. I tried to follow the methods provided in the answers.  They did not work. So I am going to ask it again with more specifics.  I only knew the date of the email in the in-box in 2012 and the content of it but did not know the exact wording of the subject. Is it possible to find this email? How to change default window background color in Windows 10? SHA-256 "almost unique"? I have seen numerous references on the internet of people describing SHA-256 as generating an "almost unique" hash.  . there are more.  Is there some mathematical basis to the almost uniqueness? I would have thought that as SHA-256 is an evenly-distibuted (?) hash algorithm which can accept any message (infinitely many) as an input and produces a fixed length (finite) hash - then there will in fact be an infinite number of each possible output - which I would think hardly qualifies as "almost unique".  Is there a basis for this statement? How to speed up 4e combat I DM a group of four PC's and even "easy" battles take at least an hour to resolve. Normal encounters take even longer! I want to speed up combat so my players can do more in a session.  I've been trying a lot to speed up combat, we are already using:   Initiative cards that the players keep up 30 second bonus rule: if someone take his turn within 30 seconds, he receives a token. This token can be used to give a +1 on attack or damage, after rolling. Completely removed healing surges Checked all character sheets, they are roughly equal Roll damage and attack at the same time   I even introduced an experienced player, which helped my party to play more strategic, but speed hasn't improved.  Also the party is Lv 8, nearing Lv 9.  This is not an issue of the DM's turn taking too long. My turns take about 60 seconds tops. The 30 second rule helps a lot, most of the the players turns are within or near 30 seconds.   The major issue appears to be the sheer number of rounds, averaging on 25-30 rounds needed to resolve even a "normal" encounter.  What can I change to resolve combat faster?  I'm looking for both 4e solutions, system agnostic and home brew solutions. How to generate all permutations of a list? How do you generate all the permutations of a list in Python, independently of the type of elements in that list?  For example:  permutations([]) []  permutations([1]) [1]  permutations([1, 2]) [1, 2] [2, 1]  permutations([1, 2, 3]) [1, 2, 3] [1, 3, 2] [2, 1, 3] [2, 3, 1] [3, 1, 2] [3, 2, 1] I need to concatenate two String arrays in Java.  void f(String[] first, String[] second) {     String[] both = ??? }   What is the easiest way to do this?