I'm trying to use this command to give me the sign with the right "click" command: /give @p minecraft:oak_sign{BlockEntityTag:{Text1:"{\"text\":\"ex\", \"clickEvent\":{\"action\":\"run_command\", \"value\":\"execute as @p[nbt={SelectedItem:{id:"minecraft:stone", Count:64b}}] run give @p minecraft:diamond\"}}"}}  But Minecraft comes with a error msg that says "Expected '}' at position 175: ...Item:id"<--[HERE]". What is the problem here? If I use this it runs fine: execute as @p[nbt={SelectedItem:{id:"minecraft:stone", Count:64b}}] run say hi

I need help with a specific command that I am using in a new game that I am creating inside of Minecraft. The command is:  /give @p sign 1 0 {BlockEntityTag:{Text1:"{"text":" [MF2]","color":"gold","clickEvent": {"action":"run_command","value":"tellraw @a [""{"text":"[MF2]  ","color":"gold"},{"selector":"@p","color":"dark_aqua"},{"text":" is now an admin of the server!","color":"white"}]"}}",Text3:"{"text":"Click to join Admin","color":"dark_aqua","clickEvent": {"action":"run_command","value":"scoreboard teams join admin @p"}}"},display: {Name:"Custom Sign"}}   If I take out the /tellraw command then the command works fine, but I need the command in there to announce to the game that a new admin has joined.  With the tellraw command, the error message is the following:  Data tag parsing failed: Unexpected token 't' at: text":" [MF2]","color":"gold","clickEvent":{"action":"run_command","value":"tellraw @a [""{"text":"[MF2] ","color":"gold"}, {"selector":"@p","color":"dark_aqua"},{"text":" is now an admin  of the server!","color":"white"}]"}}",Text3:"{"text":"Click to join Admin","color":"dark_aqua","clickEvent": {"action":"run_command","value":"scoreboard teams join admin @p"}}"   If anyone knows how to fix this, please let me know.


Everyone has their own opinions but to me Star Wars: The Force Awakens felt like it was previous movies stitched together.  How many scenes are essential copy cat ideas of previous films (excluding A New Hope)?  Possible scenes      The Millenium Falcon being sucked up and Rey and Finn hiding under the bridge (same as Luke and Han Solo), the BB-8 essentially having secret information (R2-D2 & C3P-O had similar information), and the death planet being blown up (similar to the Death Star).    is rather similar although I am explicitly excluding "A New Hope" so it should be different.

The Internet is awash with criticisms (or is that praise) of how Star Wars Episode VII: The Force Awakens borrows, steals, homages, references, archetype-uses or parallels from Star Wars Episode IV: A New Hope.  What are those similarities?


I see no video drivers on my t60P thinkpad.  The video hardware is Intel on-board graphics.  Are there specific drivers for this laptop?

Is there a package of Ubuntu drivers as driver pack solution? I tried to search for it, but I did not find it. If there is, how can I easily get it?


Is it possible to tell what compile options a running Linux kernel has been built with?  I am particularly interested in those that impact on preemptive behavior, such as  CONFIG_PREEMPT_VOLUNTARY.  Thanks Pete

How do I check what options are compiled into a Linux kernel without looking at /boot/config-* and if I don't have access to the /boot/config-* file that's left over?


Hi i am new to android studio and I am trying to start a new activity - however, I am having endless issues with getting Context - I have tried a few different methods posted on stack overflow but It just keeps throwing a null pointer please help. See onCreate method and exception below.  AddRoutine.class is just a blank activity  MainActivity  protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         MainActivity.mContext = this.getApplicationContext();         Toolbar toolbar = findViewById(R.id.toolbar);         setSupportActionBar(toolbar);         //Add Routine         FloatingActionButton fab = findViewById(R.id.addRoutine);         fab.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View view) {                 startActivity(new Intent(MainActivity.this, AddRoutine.class));             }         });          generateRoutineListing(getAppContext());         //if returnListing.length > 0         // recyclerView.addItems         //else         // Show Jumbotron/Message board explaining that no routines have been created     }   Exception  E/AndroidRuntime: FATAL EXCEPTION: main     Process: za.co.freelanceweb.routines, PID: 14648     java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference         at android.content.ComponentName.<init>(ComponentName.java:130)         at android.content.Intent.<init>(Intent.java:5780)         at za.co.freelanceweb.routines.MainActivity$1.onClick(MainActivity.java:38)         at android.view.View.performClick(View.java:6294)         at android.view.View$PerformClick.run(View.java:24774)         at android.os.Handler.handleCallback(Handler.java:790)         at android.os.Handler.dispatchMessage(Handler.java:99)         at android.os.Looper.loop(Looper.java:164)         at android.app.ActivityThread.main(ActivityThread.java:6518)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)   Thanks so Much

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-i386/by-hash/SHA256/06037c30d4089fb5eb7743e3e8b8f0844c499231dcfc81e7e2ed8beb2e170606  Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.

When I check for updates, I get a "Failed To Download Repository Information" error.   This is what comes up under details:   W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources  Hash Sum mismatch,  E: Some index files failed to download. They have been ignored, or old ones used instead.


i run this command from java in linux :  sed -i.bak 's/'1111'/'22222'/' /home/my/test/page.html   getting this error :  sed: -e expression #1, char 1: unknown command: `''   when executing from java from ProcessBuilder like this :  String s = "'s/'1111'/'22222'/'"  ProcessBuilder pb = new ProcessBuilder(); pb.command("sed","-i.bak",s,"/home/my/test/page.html);   when running from pure linux console it is working just fine , only from java it gives me this error .. any idea?

How to match a single quote in sed if the expression is enclosed in single quotes:  sed -e '...'   For example need to match this text:  'foo'


\subsection{First} \index{First}  Some text of first subsection.  \begin{figure}[!htb] %[hbtp]     \centering         \noindent\makebox[\textwidth]{\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{images/a.pdf}}     \caption{Some description}       \label{a} \end{figure}  \subsection{Second} \index{Second}  Some text   For some reason, the figure / image I want to implement appears in the second subsection, even though it's been declared at the end of the first subsection.   Other posts suggested using [!htb] which didn't help.  Thanks!

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


I am a new to Linux and installing dual boot. Could anyone tell me in steps what I need to do to install win8.1 after I have installed the Ubuntu 14.04 LTS. Please note that the hdd is not partitioned.  I will be needing both the OS for my research.  I have win8.1 on a CD

I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break . Go  for UEFI only!


This is a picture of my math quiz in which I got a question wrong.     I feel I should not lose points as the question is to ambiguous. I assumed that if one point lied above x-axis then that would constitute as the graph lying above the x-axis. My teacher interpreted it as all points must lie above. Is she right?

On my math quiz there was an equation that produced a polynomial that starts positive, crosses the x axis at negative 3, and then stays negative. There was a true or false question that asked if the graph lies above the x-axis when x < -1. I knew that the graph was negative after -3 but before the intercept the graph was positive so therefore in my thinking the graph did lie above the x-axis making me say true. She claims it was false an is unwilling to negotiate. Who is right?   This is a link to a picture of the quiz


I tried booting to my ubuntu after a reboot, and I got an error. I am prompted with this screen:    Afterwards, I get these options:    But, no matter what I choose, I end up eventually getting this screen mentioning  Failed to start Clean up any mess left by 0dns-up   and stopping LightDM,     I tried booting with TTY but that didn't work.   I searched StackExchange, and no question mentioned getting stuck here, but on later screens where terminal access is already achieved. Thanks!  EDIT: I have ended up "giving up" on this VM. No solution worked. I managed to boot to TTY eventually, and I extracted the files I actually need using SCP.

Note: This is an attempt to create a canonical question that covers all instances of "low-graphics mode" error that occurs to a user, including but not limited to installation of wrong drivers, incorrect or invalid lightdm greeters, low disk space, incorrect installation of graphics card like ATI and Nvidia, incorrect configuration of xorg.conf file while setting up multiple monitors among others. If you are experiencing the "low-graphics mode" error when trying to login but none of the following answers work for you, please do ask a new question and then update the answers of this canonical question as and when your new question gets answered.   When I try to boot into my computer, I am getting this error:  The system is running in low-graphics mode Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.   How do I fix the failsafe X mode and login into my computer?  Answer index:


I have installed Ubuntu successfully thru usb bootable flash disk. Now my hp laptop don't show me options to choose windows or ubuntu at boot / startup. please assist

Ok, so I'm such a newbie to Ubuntu and I bought a Windows 8 pre-installed laptop last month.  I updated to Windows 8.1 and then I thought about installing Ubuntu as a dual boot so I could mess around and learn more about it.   So I followed a Youtube tutorial (  ) and I got my stuff working fine.   The first few times I booted I got the GRUB menu instead of my default HP Boot OS Manager, and I was able to select my OS.   So I went to sleep and the next day I turned on my computer and the GRUB menu did not show up. I tried several times and it didn't automatically show up.  In order for me to see the GRUB menu I had to turn on my PC and on start had to press ESC to pause startup and press F9 to get boot options. Then from there I had to pick from OS Boot, Ubuntu, Ubuntu (Yes there were two Ubuntus available) and a default EFI file thingy.   When I click the first Ubuntu I get the GRUB Menu (I was too scared to try the second in case I screwed my laptop up) and I can safely load Ubuntu from there and use it (although I do have to increase my brightness every time I load Ubuntu because it somehow reduces my brightness to complete darkness on boot)  So my problem here is why isn't my GRUB showing on boot, after it worked on the first day?   My laptop is a HP TouchSmart j-078CA.  EDIT 1: FYI I just switched to Ubuntu LiveCD to check my Installation and found out that one of my partition is flagged as msftres. Here is a screenshot of my GParted on a LiveCD:


Is $A \times (B \cup C) = (A \times B) \cup (A \times C)$ true for all sets $A$, $B$ and $C$?   Don't know how to even attempt this question. Any help or guidance would be appreciated!

How to show $A \times (B \cup C) = (A \times B) \cup(A \times C)$, where $A$, $B$, and $C$ are sets. i.e. If $A=\{1,2\}$, $B=\{2,3\}$ then $A \times B = \{(1,2), (1,3), (2,2), (2,3)\}$.   I started with the proposition, suppose $x$ is an element of $LHS$, i.e. $A \times (B \cup C)$. Help is appreciated! Thanks.


I am planning a trip to Hong Kong in June.  When I tried to book my return flight (a direct flight from HKG to SFO) on Singapore Airlines's website, it requires that I enter my passport information (number, expiration date, etc.).  My passport is currently being renewed and I don't have this information yet, but I'm hoping to book the flight now while the fares are reasonably low.  My friend, who booked the same flight, seems to be able to change his passport information for his booking without issue.  My question is: Can I just put in made-up information for now, and then enter in the real information when I get my new passport?  What can go wrong?

When checking-in for a flight online, you are usually asked for details such as date of birth, passport number, passport expiration dates, etc. However despite making minor mistakes a few times (usually in the expiration date field), I was never once questioned by the airline. I also don't remember them checking anything except my name or my visa status.  So the questions are:   Is passenger information (as entered during online check-in) other than name and visa ever validated by airlines? Is that information ever validated by immigration? Will you be denied boarding because you've made a mistake during online check-in?   The question is restricted to UK and USA flights because both are generally strict about requiring APIS data for all inbound flights.


Why is is neccesary to shuffle the inputs in each backpropagation of each epoque? What happens if they are not shuffle?

I have been told to randomize my training set.  Why is it not a great idea to train a classifier by giving it first all the example of class1, then class2, class3 and so on?


public class Entity<T> : IEntity<T>     where T:struct {   public T ID { get; set; }   public bool IsDeleted { get; set; } }  public class EntityRepository<T,Y> : IRepository<T,Y>     where T : Entity<Y>     where Y : struct {   public virtual async Task<T> GetByID(Y id)   {     return await con.Set<T>().FirstOrDefaultAsync(p => p.ID == id && !p.IsDeleted);   }  }   I have a generic domain and repository. My problem is cannot be applied 'Y' and 'Y'

According to the documentation of the == operator in ,      For predefined value types, the   equality operator (==) returns true if   the values of its operands are equal,   false otherwise. For reference types   other than string, == returns true if   its two operands refer to the same   object. For the string type, ==   compares the values of the strings.   User-defined value types can overload   the == operator (see operator). So can   user-defined reference types, although   by default == behaves as described   above for both predefined and   user-defined reference types.   So why does this code snippet fail to compile?  bool Compare<T>(T x, T y) { return x == y; }   I get the error Operator '==' cannot be applied to operands of type 'T' and 'T'. I wonder why, since as far as I understand the == operator is predefined for all types?  Edit: Thanks, everybody. I didn't notice at first that the statement was about reference types only. I also thought that bit-by-bit comparison is provided for all value types, which I now know is not correct.  But, in case I'm using a reference type, would the == operator use the predefined reference comparison, or would it use the overloaded version of the operator if a type defined one?  Edit 2: Through trial and error, we learned that the == operator will use the predefined reference comparison when using an unrestricted generic type. Actually, the compiler will use the best method it can find for the restricted type argument, but will look no further. For example, the code below will always print true, even when Test.test<B>(new B(), new B()) is called:  class A { public static bool operator==(A x, A y) { return true; } } class B : A { public static bool operator==(B x, B y) { return false; } } class Test { void test<T>(T a, T b) where T : A { Console.WriteLine(a == b); } }


Hoping it's a stupid and basic question, but can't find the answer in Google, nor in search here.   Website setup:      Then introduced SSL, so now it's:       Have shared hosting with a cPanel (if it's relevant info) and using Cloudflare free package.  1) How can I make users typing:  example.com, and www.example.com be directly redirected (without several redirects) to   2) Can I also make the following, for users typing:  sub.example.com as well as www.sub.example.com  to be redirected to:   I have made it to work, but it took using two pagerules in CloudFlare. Is there a more clever and better solution?  What I've done so far:  DNS:  A mydomain.com points to hostIP  A sub points to hostIP  CNAME www alias of mydomain  CNAME www.sub alias of sub.mydomain.com  This alone didn't help, so I had to make two page rules in CloudFlare, in order:  www.sub.example.com/*  - forwarding url 301 to $1  example.com/*  - forwarding url 301 to $1  I also set "Always use HTTPS" in CloudFlare Crypto settings.  Only total of 3 page rules with CloudFlare, one used to not cache admin when logged in. So a total of 2 to left to work with. Although I guess there is a better way to do it, is there?  From what I gather, setting it up in .htaccess is no longer considered a good policy, is it?  Thanks in advance for any help.

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to finding information that is that is covered by the question should be closed as a duplication of this question. .  Whats the point in this question? The idea while not perfect is catch the most commonly asked questions regarding redirects using the  htaccess on the Apache platform either on  some type of lamp or a live server. The type of answers should be generally those that you could imagine are used by 100,000’s of sites world-wide and are constantly asked here at Pro Webmasters repeatedly over and over in various forms.  A few examples of the type of answers we are looking for:   How can I redirect non-www to www? How can I redirect a sub domain to the main domain? How can I redirect a sub folder from domain to a root or a subdomain?  How can I redirect an old URL to a new URL?   A few examples of the types of answers that we are not looking for:   Answers that do not involve a redirect. Any answers relating to NGinx, IIS or any other non-Apache platform. Answers that involve custom and complex string or query removals.   Resources for Advanced to Complex Mod_Rewrite Rules:      Please note: that this question is still in construction and may need some refining either by myself or a real moderator of Pro Webmasters, if you have any concerns or questions .


I want to force myself to focus.   I use  to block websites. How can I block apps?   Is there a utility app, or a terminal command you know?

I was trying to achieve this using a second account (which is the admin account) and Parental Controls, but it seemed this isn't possible to do so.  I know there are some programs which you can download that help you with this, (Cold Turkey, for example). But, it would be much easier if I could do this using only tools already available on macOS.


I rolled a -2 Int mod on a level 1 fighter today and if i'm not mistaken that leaves me with 0 starting skill ranks, correct?

In character-building/leveling-up, you take your class's skill points and add your Int bonus.  So a Fighter gets 2 Plus their Int bonus.  Say my fighter is really smart(16) he'll get 2+3 (int bonus) or 5 points per level.  But what if my fighter is dumber than a sack hammers?  Let's say int 4.  He levels up and gets 2+int mod.  Int 4 carries a -3.  So it's 2+(-3) which equals -1.  How does a dumb fighter level up any of their skills if they have negative skill points?  Or is the int bonus only added if it's positive?


Say I've read html input into a string and then do:      content = content.replaceAll("<[^>]*[^\\s>][^>]*>", "");   Right now, this removes all html tags except those that look like:      <>   and      < (any amount of white space) >   but I'd also like to include tags that contain non-printable characters to that list of exceptions. Is there anyway I can modify the replaceAll regular experssion to accomplish that?  If so, how?  Thanks for any input/suggestions.

Is there a good way to remove HTML from a Java string? A simple regex like replaceAll("\\<.*?>", "")   will work, but things like &amp; wont be converted correctly and non-HTML between the two angle brackets will be removed (i.e. the .*? in the regex will disappear).


Im trying to run a simple cloth simulation in 2.83 but the result is like scrutched up and looks terrible, also it takes like 15 minutes to bake 60 frames. I don't know if it's because of the sewing force or self collision. If anyone can help me, I'd be grateful!

I have been searching for days and have not been able to find an answer to this question. I have a simple model.  A thin cube with default collision physics applied and a plain 1x1 with default cloth physics applied.  I checked self collision, leaving this default too. I get the below result only a few frames in.  It is like the mesh shrinks rapidly.  I have relaxed the stiffness. lowered the weight.   Also rendered with out self collision fine....I can not seem to work out why this is happening. I have a sub divide on the plain with 6 steps...!  lowering decrease render time but doesn't help the shrinking.


What a person would be called who loves the night or staying up at night?   In both senses, like the young generation with their smartphones, and someone who just loves staying up late at night.

People are sometimes said to be a morning person or a night person. I also know that the term for something related to night is "nocturnal".   Is there a specific word for a person who sleeps during the day and is active at night? I’m looking for an elegant word for night owl.


The following question is from Lundell’s book:  Let $X$ be a finite CW complex.  For every $i$, let us suppose that $dim_{F_p} H^i (X,F_p)$ is independent of the choice of prime number $p$, where $F_p$ denotes the finite field.  Prove that $H^i (X,Z)$ is free for all $i$, where $Z$ denotes the set of all integers.  Now, I know the universal coefficient theorem and cellular chain complex should be used,  but I am not sure how to progress the proof.  How can one prove the following using UCT and ccc.

I am stuck on the following problem from Lundell’s “Topology of CW Complexes”.  Let $X$ be a finite CW-Complex.  For every $i$, suppose that $dim_{F_p} H^i(X,F_p)$ is independent of the choice of the prime number $p$ ($F_p$ denotes the finite field).  Prove that $H^i (X,\mathbb{Z})$ are free for all $i$, where $\mathbb{Z}$ is the set of all integers.  My problem is that I do not know how to do that considering the finite field.  Assuming that condition above, how can I prove that $H^i (X,\mathbb{Z})$ are free groups deriving from that?


I am travelling to Prague from London for a couple of days. I do have some questions.   Should I exchange my money here in the UK first? Or should I just use my credit card at the ATMs there in Prague? (the second will be more expensive right?) If I exchange my money here in the UK where is the best place to go?

Recently my wife and I traveled to Italy and before we left we got about 85% of our money in travelers checks and the other 15% we carried on in cash. When we arrived there, no one would take our travelers checks and many places did not accept credit cards. Eventually, we found some currency exchange places that would take the travelers checks and give us Euro's, but at a 7-15% fee, which was not really a very fun surprise.   While I was under the impression that it is safer to use travelers checks, it seems that they were not really accepted (the usual explanation being fraud). So the question is, is it best to just exchange your currency at home and carry all of it with you when you travel or are there other alternatives to carrying cash that are safer and cost effective?


Which one is more correct:     Melissa said she was going to the mall.     or     Melissa said she is going to the mall.

Possible Duplicates:             My wife and I were disagreeing about this today:        Did you know Fred was a doctor?   Did you know Fred is a doctor?      I was arguing for (1) based on what seemed to "sound right."  My wife claimed that, since Fred is currently alive and still practicing medicine, present tense should be used.  However, we agreed that the negation of these sentences uses was:     I didn't know Fred was a doctor.   Here I think everyone would agree that is would sound wrong!  So which is correct between (1) and (2)? And why? Is this some kind of subjunctive?


The text of Mordenkainen's Magnificent Mansion (mmm) states:  You conjure an extradimensional dwelling in range that lasts for the Duration.  Plane Shift states:  You and up to eight willing creatures who link hands in a circle are transported to a different plane of existence.  Can a party plane shift from the mansion to the same plane they where in when they created the mansion? i.e. they create the mansion in the material plane, go into the mansion and then plane shift to a new location in the material plane?

In particular: the  spell (PHB, p. 281) states:  [...] The creature can be anywhere on the same plane of existence as you. The spell ends if you or the target are no longer on the same plane. [...]  Can telepathy connect two characters, one inside the extradimensional dwelling created by the  spell and the other in the same plane as the portal to the magnificent mansion?


I am trying to look for a string of the form '[123]' in a given string but I'm not expecting the result I'd want to see i.e. '[123]'.  line = '[123] some string' words = line.split() for word in words:     id = re.sub("\[(\d+)\]", "", word)     print id   This gives me the output:  empty space some string   I'm unsure why re.sub() is formatting my correctly matched string '[123]' this way.

I'd like to do it in Python. What I'd like to do in this example in C: #include <stdio.h>  int main() {     int i;     for (i=0; i<10; i++) printf(".");     return 0; }  Output: ..........  In Python: >>> for i in range(10): print('.') . . . . . . . . . . >>> print('.', '.', '.', '.', '.', '.', '.', '.', '.', '.') . . . . . . . . . .  In Python print will add a \n or space, how can I avoid that? Now, it's just an example, don't tell me I can first build a string then print it. I'd like to know how to "append" strings to stdout.


I can not zoom in at all in the shading workspace when I scroll my scroll wheel nothing happens.  The whole Blender window is stuck but I can still select things and go into edit mode I don't know why.

So I am doing a thumbnail for my team, and when I load my project, I can zoom and move around for about 20 seconds before it's not working, I can now do anything, but zoom in or out and movie my camera so I can't see the back, and it's really annoying. It's like my screen freeze, but I can look around. It does that to all of my project. I am on Macbook Air on Blender 2.8.  I found out it is when I am at like 2m from my 3D skin it starts to slow down and stop. Does any one know how to fix it?


A friend of mine has a old Ubuntu laptop that he wants to put back into use, but since it has been some time since he used it he has forgotten his password.   I've looked up how to change but none of them will work. I have also tried using the recovery mode, but using the root mode is locked also and requires a password. (We can not reformat the disk due to some pictures on it.)    Thank you in advance! :)

I need to reset my password. I have followed these steps:    However, then I go to "root" or "netroot" recovery options, it tells me:  Give root password for maintenance (or type Control-D to continue)   Clearly, I do not know the root password. If I type CTRL+D, I return to the list of options. From  I read:  Under chapter 'The Other Way':  4. Highlight the line that begins kernel and press 'e' to edit`   But in the grub configuration file I have no line that starts with kernel. Only:  setparams 'Ubuntu...' recordfail set gxfpayload... insmod part_msdos insmod ext2 set root=... search --no-floppy... linux /boot/vmlinuz-2.6.38... initrd /boot/initrd.img-2.6....   Those are all lines in my GRUB. Which line should I edit? Or is there another way to reset my password?


The following code is supposed to divide a sum of money (e.g. : 325.200) into cards of 50, 10, 5 and 1. The rest (the decimal part being shown separately).  program Cards; uses wincrt;  var    d50, d10, d5, d1, dm: integer;    s: real; begin    readln(s);    d50 := trunc(s) div 50;    d10 := trunc(s) mod 50 div 10;    d5 := trunc(s) mod 10 div 5;    d1 := trunc(s) mod 5;    dm := trunc((frac(s) * 1000));    writeln('50: ', d50, ' 10: ', d10, ' 5: ', d5, ' 1: ', d1, ' m: ', dm); end.   A problem arises with the sum 356.200. The shown dm is 199 instead of 200.

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I have tried using /time query daytime to find out an estimate but I am trying to make a redstone Calendar and I need to activate it right before daytime tick 0 so I can restart the Tick Counter.     /title @a[score_time_min=X] title {text:"Date Goes Here",color:blue,bold:true}

I simply want one command block to test for the time of day or night (e.g. time = 18000) and output a message in the chat to everyone if that time returns true.  I was trying a simple set-up with two command blocks and a comparator in the middle, but I'm a beginner and am obviously missing the correct syntax (especially to test for a particular time of day, and if true, then trigger the say "message" block).  ETA: Kudos to @Ben for the Daylight Sensor/Redstone idea, but I'd really prefer a Command Block solution for the above, since my plan is to output several messages during the day and night cycle at very specific times in the world. Thanks.


This student doesn't learn by rote and is singled out as an individual thinker that can innovate.  He was fearful that he would not pass his exams about repairing space craft but in the end he proves to be much better than the other students.

In the story I'm trying to recall, everybody on their thirteenth birthday (?) is assigned by some kind of brain analysis method a profession and given some kind of pill (?) that instantly (?) grants them the required knowledge and skills to start working immediately. Some professions are more sought after than others, especially in view of the olympic (?) games regularly held on a profession-by-profession basis.  The protagonist, however, is turned down from this system and dismissed with some general reason and has to work his way to adulthood the boring old way: studying from books. Eventually he rejects from his status as a "special" student and goes on the run, hiding from the teachers and envying the normal people.      Eventually, it turns out that the protagonist was actually smart enough that being spoonfed premade information was a waste. What he actually was assigned to was advancing the bundles of knowledge themselves, as well as being front line in the technological progress.  "Somebody has to write those textbooks! You can infuse knowledge about how to use today's technology, but you can't do that for tomorrow's - people that get assigned a profession become tied with their assigned technology and are only as relevant as that. If you want more, you must learn how things actually work, and there's no shortcut for that." (not an actual quote, but a specific passage as I remember it.)  The troubles the protagonists underwent were actually planned and necessary for him to acknowledge and accept his role in society.   This story was certainly longer than a couple pages, but it wasn't very long either. If it's a short story, it was probably written by Asimov, but I can't be sure. It rings me of Brave New World given the theme of government-issued population planning, but it certainly doesn't fit with anything else in the actual plot. Any idea?


I was just browsing the endless list of jsperf tests and looked at the one called  . I expected the outcome to be a no-brainer ( === to be faster ) but no, not in FireFox.  Can someone explain to me how Firefox can be so fast and how it is possible that === is more or less equal to == ?  Although  post has a lot in common with my post, it doesn't answer the result Firefox produces!

I'm using  to go through JavaScript, and it's returning many suggestions to replace == (two equals signs) with === (three equals signs) when doing things like comparing idSele_UNVEHtype.value.length == 0 inside of an if statement.  Is there a performance benefit to replacing == with ===?   Any performance improvement would be welcomed as many comparison operators exist.  If no type conversion takes place, would there be a performance gain over ==?


Photon.  I am curious about the movement of photons.Do they move in wave motion (up and down) or do they move in straight lines

In many pieces of literature, light is said to travel like a "wave". Does this mean the light literally propagates through space like a wave as in up and down and so on or does light move linearly through space? Also, if it move linearly, why do we say photons are a wave then?


I need a way to get all text from my aspx files. They may contain javascrip also but I only need this for the HTML code.  Basically I need to extract everything on Text or Value attributes, text within code, whatever...  Is there any parser API available?  Cheers! Alex

I have snippets of Html stored in a table. Not entire pages, no  tags or the like, just basic formatting.  I would like to be able to display that Html as text only, no formatting, on a given page (actually just the first 30 - 50 characters but that's the easy bit).  How do I place the "text" within that Html into a string as straight text?  So this piece of code.  Hello World.

Is there anyone out there?
   Becomes:  Hello World. Is there anyone out there?


I have installed the Ubuntu 12.04 (multiarch) version of Skype from the , and yet when I launch it, I cannot see the little Skype icon in the Unity Panel as I have seen it on other machines. I have even gone into my Skype setting and asked it to minimize to the system tray on startup, and still I get nothing.  Why is this? And how can I fix it? On the other machine where I have seen this working Skype was installed through the command:  sudo apt-get install skype   And not through downloading and installing the .deb file from the Skype website like I did, could this be causing the difference? And if so, should I uninstall Skype, and try installing it from the partner repository? Or can this not be what is making the difference?    OS Information:  Description:    Ubuntu 15.04 Release:    15.04   Package Information:

I've installed Skype, but the icon is not shown at the top panel (tray). As "tray-whitelist" was removed from dconf, I can't add icon by myself.


Quite often I come across questions that need both editing and closure.  When this is from the Review Queue as soon as I am done editing (or closing) the queue jumps to the next question, so if I want to do both I either have to find the question again, or I had to have the foresight to open a copy in a new tab so I can complete the review process.  What is standard procedure for both editing and closing a question in the Review Queue?  If there is nothing easier than what I am doing I shall turn this into a feature request.

I think we need a button that says Edit and Close added to the Review Close button options.  Many of these closed posts will be around forever (and should be, closed should not just be a path to deletion), so they need editing.  If I edit it now it goes away, with the only option being a back click to get back to the review, and then click into the post and edit it.  We have an Edit and Reopen button, so this would fit in just fine.


I am using an API, and the API needs this data format:  Wed Jan 07 2015 18:58:40   How I can convert the time now to this data format, using the datetime and time modules?

This is my code:  import datetime today = datetime.date.today() print(today)   This prints: 2008-11-22 which is exactly what I want.  But, I have a list I'm appending this to and then suddenly everything goes "wonky". Here is the code:  import datetime mylist = [] today = datetime.date.today() mylist.append(today) print(mylist)   This prints the following:   [datetime.date(2008, 11, 22)]   How can I get just a simple date like 2008-11-22?


Should it be "No juice and coffee are served," or "No juice and coffee is served?"

The following sentence refers to an apocalyptic story where money no longer has any value:     A can of sardines, radio batteries, or a bicycle is/are more precious than money.   Should I use is or are after the series?


I often come across interesting Linux commands that make me wonder; what are these commands actually doing?  Yes, they might be 'force-removing dependencies', 'installing programs' and doing lots of other stuff, but I'd like to know how they're doing it.  Looking into the source code seems the right thing to do then, but where am I supposed to get it from?  I suppose they'll be written in C?  EDIT: I'm not talking about packages installed using apt-get. I'm looking for the source code of linux/unix commands.

I am assuming that all application installed through apt-get are open source; but for those that are available in that manner, where can I get the source code for these applications as well as update them?   I have a couple applications I use regularly that aren't being actively developed any longer and I would like to add features. Where would I go to get the rights to update these applications?  In this case specifically, I am referring to the hellanzb package


Suppose that I define two points a and b in a TikZ picture, such as:  \coordinate (a) at (.8,0); \coordinate (b) at (0,1.25);   And now suppose that I want to define a third point c whose first coordinate is the first coordinate of point a and whose second coordinate is the second coordinate of point b. Can it be done? And, if so, how?

Possible Duplicate:             How to use x coordinate of a point and y coordinate of other point? I need similar to  \coordinate (A) at (2,1); \coordinate (B) at (3,0); \coordinate (C) at (4,3); \coordinate (D) at (5,-1);  \draw (xA,yB) -- (xC,yD);


I have one doubt. IF we talk with respect to Java Multithreading, excluding concurrency framework, then how can we return a value from the run() method.  I was asked this question in some interview and was asked how to do this without using callable or concurrency framework ie how to tell main thread that Thread1 has completed some execution(run() completed) and you can update the UI.  EDIT: This is different from the question marked as duplicate, the current question asks about how will you design/code using runnable to return value. This is not possible as per the run() function but what is asked is how to achieve this behaviour via code for runnable so that main thread can be notified/updated?  I suppose these are different questions. Please correct me if I am wrong.

What is the difference between using the Runnable and Callable interfaces when designing a concurrent thread in Java, why would you choose one over the other?


I'm not sure if its me, but I have some problems with the 16.04 live CDs. See for yourself (using VirtualBox):     VirtualBox settings: Base Memory: 3000MB Processors: 1 Video Memory: 128MB No 3D Acceleration enabled.  The strange thing is that I tried Kubuntu 16.04 live CD on a HP Touchsmart 14 laptop and the same thing happened. It didn't happen with Xubuntu 16.04 (same laptop). What can be the problem?

I'm currently running Windows 8.1 x64 (a problem in itself that I can't change sadly ;-P) with the latest version of VirtualBox (4.3.18 r96516). I managed to get the server version up and running with no issues but I cannot get the desktop version running.   I can boot to the menu and start the process (select the option to install and/or try) and it will get through the inital Ubuntu 14.10 loading screen (with the progess "bar/dots") but then we get to a nasty screen of distorted colors and that's it.   My hypothesis is that the display driver/server isn't working with VirtualBox and what I'm essentially seeing is the display in a crappy mode (16colors@62x24) because I am able to see a perfectly fine screen with cursor working and everything and then suddenly I'm in that nasty screen. The mouse does show up (nasty looking and filling the entire screen) but nothing else.   Here is a screenshot:    Here are my settings in an album (I can add more if desired but I put in what I thought were the most relevant):


In the top navigation bar, why does SO have a different location for going to other SE sites (on the right side of navigation bar) but all other SE sites have that option on left side of navigation bar? The Inbox and Reputation buttons are also on a different side.       Why is it so? Why not a total uniform design like the other 169 SE sites?

Looking at most sites, I noticed something a bit weird. Stack Overflow has a different layout for their upper interface (which personally I find unique and easy to use).  On most of the sites I see:  | SE logo & Sites dropdown | Inbox | Achievements | --- | Profile | Help | Searchbar | | Sitename | --- | Questions, Tags, Users, Badges, Unanswered | Ask Question |   On Stack Overflow:  | SO logo | Questions etc. | Searchbar | Profile | Achievements | Inbox | Help | Sites dropdown |   I have two questions,   Why does SO have such a format unlike the rest? Are there any other sites that have a unique upper interface?


In the figure, the circuit is physically isolated from Earth (The black line at the bottom). The red capacitors are parasitic capacitors.  Under switching conditions the node voltages relative to the zero reference swing in such a way that the internal charge in the circuit stays the same. This is understandable because the circuit is isolated from ground and cannot get more charge or lose any charge. So the charges internally rearrange themselves in a way that leads to the node voltages being what they are.  Question: How is this possible. Is this internal rearrangement of the charges a current? If so then is this current different from the “normal” current of the circuit (The 1mA)?  What I think is correct:  I think that Electric fields that change and exist between charged bodies will cause something like current flow, called displacement current, such that a change in the electric field on one body affects the electric field on a nearby body. But how does this affect the 1mA current that appears in the circuit?  In summary:  Does the internal rearrangement of the charges in a circuit create a current? If it does then is this current different from the “normal” current of the circuit (The 1mA)?

In the figure, the circuit is physically isolated from Earth (The black line at the bottom). The red capacitors are parasitic capacitors.  Under switching conditions the node voltages relative to the zero reference swing in such a way that the internal charge in the circuit stays the same. This is understandable because the circuit is isolated from ground and cannot get more charge or lose any charge. So the charges internally rearrange themselves in a way that leads to the node voltages being what they are.  How is this possible. Is this internal rearrangement of the charges a current? Is this current different from the “normal” current of the circuit (The 1mA)?  I think that Electric fields that change and exist between charged bodies will cause something like current flow, called displacement current, such that a change in the electric field on one body affects the electric field on a nearby body. But how does this affect the 1mA current that appears in the circuit?


I want to recreate this image in illustrator. I'm looking to create two tone 3-d colors with a variety of different fonts.

I'm bit of a newbie in Adobe Illustrator and have been learning the application by trying to follow some tutorials and recreating some cool stuff I come across on the web.   That being said, I'm having trouble replicating the effect found in the following image using the standard 'Extrude & Bevel' options. I've also tried copying + pasting the text in front, back, in place and that came out even more horrendous. 'Extrude & Bevel' gives me a nice approximation but nothing that pops out like in the example.   Any tips on how to fine tune my 'Extrude & Bevel' settings or an entirely different method of achieving a similar effect would be very much appreciated. Thanks for your time and help!  How can I create a 3D effect on my text similar to the one in the following image, using Illustrator's Extrude and Bevel tools?


I wrote this tiny script: #!/usr/bin/env -S bash -xeuo pipefail whoami cd /repo && git fetch origin master && git merge -s recursive -X theirs origin/master  And set the u+s bit which I thought made it so that when running the script it would run as the user who owns the file: chmod a=,u=rwxs,g=rx /usr/local/bin/force-update-repo  But when I switch to www-data and try to run it: su www-data -s /bin/bash  It seems to run as www-data not root: force-update-repo + whoami www-data + cd /repo + git fetch origin master error: cannot open .git/FETCH_HEAD: Permission denied  I have a process that's running as www-data and I want to give them elevated permissions to run this script. How can I do that?

I want to ensure that my program can only be run by user xyz using root privilege. To do this, I set the setuid bit with:  chmod u+s program1.sh ls -l program1.sh rwsr-x--- 1 root house 1299 May 15 23:54 program1.sh   Also, I added user xyz to the house group so that only xyz and root can run program1.sh.  In program1.sh there is  id -u   so that it can show me the effective ID.  Running program1.sh as root, it shows root. But running with the xyz account, it shows xyz. It seems that it didn't run with root privilege. I don't know what's wrong here.


I am trying to convert a shapefile with multiple polygons to a GPX file in QGIS 3.10.3, which has now repeatedly failed with varying export settings since "MultiPolygon" is not supported.  I have already merged all the different polygons in the shapefile, so I only have one polygon in the attribute table. Still I get this error code. Any tips?   Thanks in advance!   Elena   PS: my final goal is to import these shapefiles to my Garmin Etrex Vista HCx.

I want to export the boundaries of a parcel to my GarminMap 60CSx. I downloaded a parcel map from the county, and I want to use it to walk the perimeter.  Does the .gpx format support polygons? Or is there some other way?  I'm on Mac, using QGIS 1.7.4.


Let $A$ be a $m$ x $n$ matrix where $A^TA$ is non-singular.  Let $C$ = $ {\{Ax|x \in \mathbb{R}^n\}}$  How do we show that the projection of any $ y \in \mathbb{R}^m $  onto $C$ is $Ax^*$ where $x^*$ = $(A^TA)^{-1}A^Ty$

Let us look at two linearly independent vectors $v_1$ and $v_2$, which span a plane in $\mathbb{R}^n$ through the origin. Let us form a matrix $V$ out of these vectors so that the first column of $V$ is the vector $v_1$ and the second column is the vector $v_2$. Show that the the matrix $P=V(V^TV)^{-1}V^T$ projects all vectors $x\in\mathbb{R}^n$ orthogonally onto the plane spanned by $v_1$ and $v_2$.


I am looking to convert file input stream for big file (The file is of 100MB) and it is throwing and java.lang.OutOfMemoryError : Java Heap space  import java.io.FileInputStream; import java.io.IOException;  import org.apache.commons.io.IOUtils;  public class TestClass {     public static void main(String args[]) throws IOException     {         //Open the input and out files for the streams         FileInputStream fileInputStream = new FileInputStream("file.pdf");         IOUtils.toByteArray(fileInputStream);     }  }   The actual stack trace is  Exception in thread "main" java.lang.OutOfMemoryError: Java heap space     at org.apache.commons.io.output.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:322)     at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:463)     at TestClass.main(TestClass.java:12)   I did tried to handle it using the below method   public static byte[] toByteArray(InputStream is) {         if (is == null) {             throw new NullPointerException("The InputStream parameter is null.");         }          ByteArrayOutputStream baos = new ByteArrayOutputStream();         try {             byte[] buffer = new byte[32];             int read;             while ((read = is.read(buffer)) != -1) {                 baos.write(buffer, 0, read);             }             return baos.toByteArray();         } catch (IOException e) {          }   Which then fails with   Exception in thread "main" java.lang.OutOfMemoryError: Java heap space     at java.util.Arrays.copyOf(Arrays.java:2786)     at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)     at TestClass.toByteArray(TestClass.java:25)     at TestClass.main(TestClass.java:14)   Is there any way we could handle this !!! Any inputs will be appreciated.  Thanks !!!

I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into java.lang.OutOfMemoryError: Java heap space error because I am not being conservative on memory usage. The user can open unlimited number of files, and the program keeps the opened objects in the memory. After a quick research I found  and others saying on Windows machine the JVM defaults max heap size as 64MB.  Given this situation, how should I deal with this constraint?  I could increase the max heap size using command line option to java, but that would require figuring out available RAM and writing some launching program or script. Besides, increasing to some finite max does not ultimately get rid of the issue.  I could rewrite some of my code to persist objects to file system frequently (using database is the same thing) to free up the memory. It could work, but it's probably a lot work too.  If you could point me to details of above ideas or some alternatives like automatic virtual memory, extending heap size dynamically, that will be great.


Lets say I have  a regexp that looks like:  \w+   Then this string would pass:  helloworld   However this won't:  héllowörld   It will stop at é (and theöwill break it as well)  even though for a human héllowörld doesn't sound so far fetched as a single word.  Is there a way I can improve \w so it will also include special word characters? Or do I have to append every special latin character into my regexp like this into:  [\wéèåöä...........]+   Because that doesn't seem like the best option to try and figure out what all the different special latin characters there are in the world that would be reasonable.  What options do I have?

What is the easiest way to match non-ASCII characters in a regex? I would like to match all words individually in an input string, but the language may not be English, so I will need to match things like ü, ö, ß, and ñ. Also, this is in Javascript/jQuery, so any solution will need to apply to that.


If I have a text such as:  There was no possibility of taking a walk that day We had been wandering indeed in the leafless shrubbery an hour in the morning but since dinner (Mrs Reed when there was no company dined early) the cold winter wind had brought with it clouds so sombre and a rain so penetrating that further out door exercise was now out of the question I was glad of it I never liked long walks especially on chilly afternoons dreadful to me was the coming home in the raw twilight with nipped fingers and toes and a heart saddened by the chidings of Bessie the nurse and humbled by the consciousness of my physical inferiority to Eliza John and Georgiana Reed The said Eliza John and Georgiana were now clustered round their mama in the drawing room she lay reclined on a sofa by the fireside and with her darlings about her (for the time neither quarrelling nor crying) looked perfectly happy   and I wanted to create a list such as: (I want to attach like a listing in front of the sentences, but depending on the position of the sentence)  0: There was no possibility of taking a walk that day 1: We had been wandering indeed in the leafless shrubbery an hour in the morning but since dinner (Mrs Reed when there was no company dined early) the cold winter wind had brought with it clouds so sombre and a rain so penetrating that further out door exercise was now out of the question 2: I was glad of it I never liked long walks especially on chilly afternoons dreadful to me was the coming home in the raw twilight with nipped fingers and toes and a heart saddened by the chidings of Bessie the nurse and humbled by the consciousness of my physical inferiority to Eliza John and Georgiana Reed 3: The said Eliza John and Georgiana were now clustered round their mama in the drawing room she lay reclined on a sofa by the fireside and with her darlings about her (for the time neither quarrelling nor crying) looked perfectly happy   How would i go about it?   Obviously, the first sentence would be 0, because the first sentence in this paragraph will be regarded as a 0, when we consider counting in indice rule. What i tried was  for line in open("MYEXAMPLETEXT"):   line_strip = line.rstrip()   words = line_strip.split()    print(line_strip[0],":", words)   Except obviously line_strip[0] is wrong because it prints out the first letter in each word so it will look like:  T: There was no possibility of taking a walk that day W: We had been wandering indeed in the leafless shrubbery an hour in the morning but since dinner (Mrs Reed when there was no company dined early) the cold winter wind had brought with it clouds so sombre and a rain so penetrating that further out door exercise was now out of the question I: I was glad of it I never liked long walks especially on chilly afternoons dreadful to me was the coming home in the raw twilight with nipped fingers and toes and a heart saddened by the chidings of Bessie the nurse and humbled by the consciousness of my physical inferiority to Eliza John and Georgiana Reed T: The said Eliza John and Georgiana were now clustered round their mama in the drawing room she lay reclined on a sofa by the fireside and with her darlings about her (for the time neither quarrelling nor crying) looked perfectly happy   I just need to consider the position of the sentence in terms of the overall paragraph of text???

How do I access the index in a for loop like the following?  ints = [8, 23, 45, 12, 78] for i in ints:     print('item #{} = {}'.format(???, i))   I want to get this output:  item #1 = 8 item #2 = 23 item #3 = 45 item #4 = 12 item #5 = 78   When I loop through it using a for loop, how do I access the loop index, from 1 to 5 in this case?


function setupSomeGlobals() {     // Local variable that ends up within closure      var num = 666;     // Store some references to functions as global variables     gAlertNumber = function() {console.log(1); alert(num); }     gIncreaseNumber = function() { num++; }     gSetNumber = function(x) { num = x; } }   how can I accesss here gAlertNumber method?  update: this code is the Example 4 in an answer on

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


Our editorial office is more talented than The New York Times'.    In this sentence why is it Times' and not Times's?

Many questions already ask about this topic ( , , etc.) and their answers vary, but they always give exceptions to the apostrophe-s rule, for example:      6.24 The general rule for the possessive of nouns covers most proper nouns, including most names ending in sibilants."   Examples they give include Kansas’s, Ross’s land, and Jones’s reputation. Exceptions include Jesus’  and Moses’.  Which names does this apply to?  Is the Aeneas’  form correct, or is it Aeneas’s instead?


in this test code sample:  import httplib2 import json url="https://www.googleapis.com/oauth2/v1/tokeninfo?       access_token=61651651651" h=httplib2.Http() test1=json.loads(h.request(url,'GET')[1])   i don't understand what is the meaning of [1] in the last line, if i use [2] for example i get an error IndexError: tuple index out of range, [0] gives me TypeError: the JSON object must be str, bytes or bytearray, not 'Response', so every time i load json response i have to use [1]?

I need a good explanation (references are a plus) on Python's slice notation.   To me, this notation needs a bit of picking up.   It looks extremely powerful, but I haven't quite got my head around it.


i am reading excel file in C# using microsoft.office.interop.excel. when the file having merged cells it is looping by containing number of cells in merged cell while i want the merged area at once  here is my method  public void ImportXLX()     {         Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();          Microsoft.Office.Interop.Excel.Workbook wb = app.Workbooks.Open(@"C:\Users\Vipin\Desktop\Sheets\MyXL6.xlsx", Type.Missing, Type.Missing, Type.Missing, Type.Missing,                 Type.Missing, Type.Missing, Type.Missing, Type.Missing,                 Type.Missing, Type.Missing, Type.Missing, Type.Missing,                 Type.Missing, Type.Missing);          int workSheetCounts = wb.Worksheets.Count;          for (int sheetCounter = 1; sheetCounter <= workSheetCounts; sheetCounter++)         {             Microsoft.Office.Interop.Excel.Worksheet workSheet = wb.Sheets[sheetCounter];              Range excelRange = workSheet.UsedRange;             Range objRange = null;              int rowCount = 0;             float totalRowWidth = 0;             foreach (Microsoft.Office.Interop.Excel.Range row in excelRange.Rows)             {                 rowCount++;                 totalRowWidth = row.Width;                 int colCount = 0;                  foreach (Microsoft.Office.Interop.Excel.Range c in row.Cells)                 {                     colCount++;                     objRange = workSheet.Cells[rowCount, colCount];                      double width = 0;                     double height = 0;                     string colVal = null;                      if (objRange.MergeCells)                     {                         colVal = Convert.ToString(((Range)objRange.MergeArea[1, 1]).Text).Trim();                         width = objRange.MergeArea.Width;                         height = objRange.MergeArea.Height;                       }                     else                     {                         colVal = Convert.ToString(objRange.Text).Trim();                         width = objRange.Width;                         height = objRange.Height;                     }                     Debug.Write("objRange = " + objRange + " rowCount = " + rowCount + " Width = " + width + " height = " + height + "TotalColumnWidth = " + totalRowWidth + "TotalRowHeight = " + totalColHeight + " \n ");                 }             }         }         app.Quit();     }     here is the excel file screenshot  in this i want [3,1] [4,1] [5,1] [6,1] [7,1][8,1][9,1] cell just once in loop with its complete width and height

I have a database which contains 5 tables. Each table contains 24 rows and each row contains 4 columns.  I want to display these records in Excel sheet. The heading of each table is the name of the table, but I am unable to merge the columns for heading.  Please help me.


Jonny was about to sit down when his father came into the house.   What does this "about" mean?  What usage is this?

Many times I have heard it while natives are speaking, specially Americans. I can not recall the contexts, perhaps they are very fast speaking. I wonder if any body here could give some hints in some contexts and provide some authentic examples they use in their speech evey day.  Many thanks in advance.


I am using longtable and I'd like to force add a line break so that the row starting with Others & Figuring out what one is good at.... can be on page 96 in the screenshot below.    I have searched on StackExchange for answers including , , and . But none of them worked or are relevant to solve what I'd like to do.  Thank you in advanced for your answers!

using the longtable package to typeset page spanning tables, I run into a nasty behaviour: only a dummy table head and the caption are put on the following page. The contents of the table is extracted from program sources. I don't have much influence here.  \documentclass[a4paper,twoside,DIV10,BCOR1.5cm]{scrbook} \usepackage{longtable} \newlength{\tablcol} \setlength{\tablcol}{4.7cm} \newlength{\tabrcol} \setlength{\tabrcol}{8.1cm} \itemsep0ex plus0.2ex % \begin{document} \begin{longtable}{p{\tablcol}p{\tabrcol}}% % \hline \multicolumn{1}{l}{{\bfseries Feld}} & \multicolumn{1}{l}{{\bfseries Beschreibung}}\\ \hline \endfirsthead % \hline \multicolumn{2}{l}% {{\small\slshape Fortsetzung der vorherigen Seite}}\\ \hline \multicolumn{1}{l}{{\bfseries Feld}} & \multicolumn{1}{l}{{\bfseries Beschreibung}}\\ \hline \endhead % \hline \multicolumn{2}{l}% {{\small\slshape Fortsetzung auf der n\"achsten Seite}}\\ \hline \endfoot % \hline \caption[show user output]{Beschreibung der Output-Struktur des show user Statements} \endlastfoot % \label{tucshowxuser}% {\scshape id} & Die Nummer des Repository Objektes \\ {\scshape name} & Der Name des Objektes \\ {\scshape creator} & Name des Benutzers der dieses Objekt angelegt hat \\ {\scshape create\_time} & Datum und Uhrzeit der Erstellung \\ {\scshape changer} & Name des Benutzers der dieses Objekt zuletzt ge\"andert hat \\ {\scshape change\_time} & Datum und Uhrzeit der letzten \"Anderung \\ {\scshape privs} & Zeichenkette die K\"urzel f\"ur die Benutzerrechte auf dieses Objekt enth\"alt \\ {\scshape commenttype} & Typ des Kommentars \\ {\scshape comment} & Kommentar zum Objekt, wenn vorhanden \\ {\scshape id} & Die Nummer des Repository Objektes \\ {\scshape name} & Der Name des Objektes \\ {\scshape creator} & Name des Benutzers der dieses Objekt angelegt hat \\ {\scshape create\_time} & Datum und Uhrzeit der Erstellung \\ {\scshape changer} & Name des Benutzers der dieses Objekt zuletzt ge\"andert hat \\ {\scshape change\_time} & Datum und Uhrzeit der letzten \"Anderung \\ {\scshape privs} & Zeichenkette die K\"urzel f\"ur die Benutzerrechte auf dieses Objekt enth\"alt \\ {\scshape commenttype} & Typ des Kommentars \\ {\scshape comment} & Kommentar zum Objekt, wenn vorhanden \\ {\scshape id} & Die Nummer des Repository Objektes \\ {\scshape name} & Der Name des Objektes \\ {\scshape creator} & Name des Benutzers der dieses Objekt angelegt hat \\ {\scshape create\_time} & Datum und Uhrzeit der Erstellung \\ {\scshape changer} & Name des Benutzers der dieses Objekt zuletzt ge\"andert hat \\ {\scshape change\_time} & Datum und Uhrzeit der letzten \"Anderung \\ {\scshape privs} & Zeichenkette die K\"urzel f\"ur die Benutzerrechte auf dieses Objekt enth\"alt \\ {\scshape commenttype} & Typ des Kommentars \\ {\scshape comment} & Kommentar zum Objekt, wenn vorhanden \\ {\scshape id} & Die Nummer des Repository Objektes \\ {\scshape name} & Der Name des Objektes \\ {\scshape creator} & Name des Benutzers der dieses Objekt angelegt hat \\ {\scshape create\_time} & Datum und Uhrzeit der Erstellung \\ \end{longtable}  \end{document}   The problem is that I don't find a method to force a page break earlier. A page that isn't filled entirely, followed by a page with the last part of a table is better than this.  I tried to add "\needspace{someLength}" at the beginning or end of the rows, but that doesn't work either. It simply makes the rows someLength high instead of forcing a page break if there's no more than someLength room left on the page.  I'd be more than grateful for some solution or even a good hint.  TIA


I'm trying to extract an ISO of a Linux distribution to a USB flash drive but I keep getting an error message that the destination file system does not support symlinks. The flash drive is formatted FAT32 (required for UEFI boot). If I extract the same file on a Windows PC to a USB drive everything works just fine. How come Windows can extract this file to my USB drive and Ubuntu can't?

I have tried to create UEFI bootable USB drive within Ubuntu 14.10 (Startup disk creator didn't help nor I am interested in using it.). I have formated USB with FAT32 and GPT. So the only thing left to do would be just to copy all files from ISO to USB. That method worked when it comes to Linux Mint 17.1 and Clonezilla live CD, but when I tried to create bootable USB for Ubuntu 14.04 or Kubuntu 15.04 beta 1 there was an error copying files. Actually, on several occasions (4 or 5) pop-up window appeared.   After ignoring this errors, both Ubuntu and Kubuntu USB boot-up just fine, with no apparent problems in Live mode.   Can someone please elaborate what this symbolic links presents? Will this cause some problem when OS is installed?


I have a section in my document where I discuss results of my simulation, pictured as graphs, which in turn are included as floating images in the document. However, $\latex$ seems to put only one floating picture per page, which causes most of the images to float all over references, and hence matching pictures with text is rather difficult.  How can I manage this situation? I would still like to benefit from all the automatic positioning of floats, I just want more of them on one page.  The floats are included like this:  \begin{figure}[ht] %\begin{center} \includegraphics[scale=0.8]{CVaR_vs_xi} \caption{\label{f9}CVaR for different values of project volatility ($\xi$), expressed as a fraction of the initial loan amount.} %\end{center} \end{figure}

How to influence the position of float environments like figure and table in LaTeX?   This is a general question and should collect useful answers for all users. I hope we can use this as a reference


Apologies if this has already been answered, but I was not able to find it.  After re-watching Interstellar, I am not able to make sense of the scene where the crew decides to visit Miller's planet, the water-covered one near the black hole.  Lazarus was launched 12 years prior, and given the 2 year trip to the Saturn wormhole, it means Miller would have landed, in Earth's frame of reference, 10 years prior.  The whole crew acknowledges the fact that 1 hour of Miller-time (lol) equals 7 years of Earth-time.  This means that by the time our Brand/Cooper/etc crew makes it near Miller's planet, Miller could have only been on the planet for about 1.5 hours.  The protagonist crew KNOWS that Miller has only been on the planet for 90 minutes of her own time.  So, is the audience expected to believe that in a mere 90 minutes, Miller determined that her planet was a candidate for colonization and sent out multiple green light messages telling NASA to come to her?  I would think it would take at least days, more likely months, to determine a planet was suitable to be the salvation of the human species.  There are other problems with this aspect of the plot as well:  1) Apparently Miller crashed and died, so how and why would she/her ship/her robot send out the green light signal to NASA, along with accompanying data to prove her planet's worth as a future home.  2) Even if she hadn't crashed and died within 90 minutes, HER PLANET WAS NOT INHABITABLE.  It was just a shallow ocean with nothing to offer humanity.  Where was her "good data" even coming from.  In short, to me the Miller planet visit makes no sense.  1) She couldn't have been there for more than 90 minutes, 2) the planet was a colonization dud, and 3) she crashed and died upon trying land there.  So, given those three blockers, how does "we got a signal from Miller telling us her planet was a possibility" even enter the narrative.  It basically implies that IMMEDIATELY (under 90 minutes) upon nearing the planet, Miller, from space, took inaccurate readings about a planet she hadn't even landed on yet which convinced her to send a green light signal back to NASA, a signal that carried the fate of the entire human race.  Then she crashed and died, on planet that turns out to be uninhabitable.  AND, kicker, the crew chose this 90 minutes of data over the YEARS of data the other two scientists had been transmitting.  Bonus question:  How did our crew (and the Lazarus 12 for that matter) get to chose which planets they navigated to.  Seems like they just "entered the wormhole" and magically arrived at the system they wanted to.

After the events on Miller's planet, it seems to come as a revelation to Brand that     Miller had only landed a couple hours ago, and died a few minutes ago.   The crew of the Endurance, even when they were back at NASA headquarters, had all the information they needed to figure out the time dilation and how long Miller had been on the planet. As such, they must have known that     Miller, even in the best case, would have only had a couple hours worth of data.   Why use all those resources (fuel and time) just for that?


I was chatting with a friend when he said 'I don't get no money' - he was referring to some work he was doing. This usage of language confused me. I have come across phrases like this in movies and books too, but never quite understood it. How is 'I don't get no money' equivalent to 'I don't get any money'. I'm sorry if my question is phrased incorrectly. I'm not sure what tags to use either so edits would be appreciated.

I have heard several sentences in which there was a prominent double negative, but the double negative "sounded right".  Is this ever true, or is it just a misleading feeling?  Edited to include an example:  "Did you enjoy the movie?"  "Well, I didn't not enjoy it, but..."  I suppose that may just be bad grammar, but sometimes it seems to be the quickest way to say it.


System.out.println("Please enter a coefficients of a polynomial’s terms:");     String coefficents = keyboard.nextLine();     String[] three = coefficents.split(" ");     int[] intArray1 = new int[three.length];  for (int i = 0; i < intArray1.length; i++) {  System.out.print(intArray1[i]); }   //Does anyone know how i can make this work because right not it builds but when i run it, it gives me 0  //if someone could show me or explain to me what's wrong that would help

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


The program is currently filling out charts with colours chosen for it, once the chart exceeds the limit of colours given, it picks a colour at random.   Is there a viable way of acquiring the colour without it being of the same shade as the previous ones?  Code:   public List<string> getColors(int columns) {     List<string> colors = new List<string>();     colors.Add("\"rgba(77,77,77,0.8)\"");     colors.Add("\"rgba(241,88,84,0.8)\"");     colors.Add("\"rgba(93,165,218,0.8)\"");     colors.Add("\"rgba(96,189,104,0.8)\"");     colors.Add("\"rgba(222,207,63,0.8)\"");     colors.Add("\"rgba(178,118,178,0.8)\"");     colors.Add("\"rgba(187,253,241,0.8)\"");     colors.Add("\"rgba(178,145,47,0.8)\"");     if (columns > colors.Count)     {         Color c = GetRandomColour();         colors.Add(String.Format("\"rgba({0},{1},{2},0.8)\"",                     c.R.ToString(), c.G.ToString(), c.B.ToString()));     }     return colors; }  private static readonly Random rand = new Random();  private Color GetRandomColour() {     return Color.FromArgb(rand.Next(256), rand.Next(256), rand.Next(256)); }

What is the best way to randomize an array of strings with .NET? My array contains about 500 strings and I'd like to create a new Array with the same strings but in a random order.  Please include a C# example in your answer.


I'm playing Skyrim and I'm a vampire and I kept feeding off people so now everyone that sees me they try to attack me I can't even talk to the quest lady to cure the vampirism. What can I do to stop everyone from trying to kill me?

I have Sanguinare Vampiris. I don't really want to become a vampire. How can I cure myself?


The volume of questions on Stack Overflow is large. I think we should have a separate website for asking questions related to mobile phone related development.

I have an idea or subject that should have a Q&A, and want to propose a new site. How can I do this?  Related:


The questions "Who?", "What?", "When?", "Where?", "How?", and "Why?" remain unanswered.  She was tired of his "Where were you?", "How many drinks did you have?", and " Were you unfaithful to me?" questions.  Please, no recasts.  Thank you.

The American convention in quotations is (typically) to place punctuation inside quoted text. But I always run into situations where the punctuation of the quote interferes with the punctuation of the sentence. How would you punctuate this (American, non technical)?     When my friends ask, "What do you want for your birthday?", I never know how to respond.   It seems odd to place the last comma outside the quote simply because of the question mark. Is that the preferred (i.e. most often accepted) standard?


Just got an interview in which I had to explain the following code: private static int s = 1;  private static async Task Main(string[] args) {     var tasks = new List<Task>();      Action a = () => s++;      tasks.Add(Task.Factory.StartNew(a));     tasks.Add(Task.Factory.StartNew(a));     tasks.Add(Task.Factory.StartNew(a));     tasks.Add(Task.Factory.StartNew(a));      await Task.WhenAll(tasks);      Console.WriteLine(s); }  And at a first glance, I have answered that s will 1 because of the closure mechanism and creating an additional class to encapsulate the field s and work on it in the local scope just like in the code: private static async Task Main(string[] args) {     var tasks = new List<Task>();      Action a = GiveMeAction();      tasks.Add(Task.Factory.StartNew(a));     tasks.Add(Task.Factory.StartNew(a));     tasks.Add(Task.Factory.StartNew(a));     tasks.Add(Task.Factory.StartNew(a));     await Task.WhenAll(tasks); }  public static Action GiveMeAction() {     int i = 1;     return () => Console.WriteLine(++i); }  Since closure will be translated as something like that: [CompilerGenerated] private sealed class <>c__DisplayClass8_0 {     // Fields     public int i;      // Methods     internal void <MyClosureCreationMethod>b__0()     {         int i = this.i;         this.i = i + 1;     } }  The value will be passed by value. My question is: why the static field s is changing globally and not locally in <>c__DisplayClass8_0?

I asked a question about Currying and closures were mentioned. What is a closure? How does it relate to currying?


I have just found that after uploading a new profile picture which is not corrupt and does not have a grey banner at the bottom, that in some places it appears to:    As you will see the grey banner is different on the two images showing my profile picture in the screenshot above.  I have found that this issue occurs on  as well, although not in chat, and most other places such as my AskUbuntu chat profile seem to be fine and show the proper image. It should also be noted that when I uploaded the new profile picture it appeared as completely blank (white) in the settings where one clicks to upload a new one. The image I uploaded is a jpg.  I asked someone else if they could check, and they  that they could also see the grey banner, though not in the places where I can see it.  I believe that this happened before, in the past in order to get a picture with no grey banner at the bottom I had to reupload it several times, fortunately however I only had to reupload it once in this instance.

In , you may see something odd: a peeking duck.    I've just recently uploaded this new profile picture of mine. I checked it after the upload and everything's fine. After a few hours, I opened my profile and there it is, the duck has somehow become afraid of the people viewing it.  Is this a bug, a feature, or is it just the duck?  I am about to re-upload my profile pic, but I've decided to drop first this topic to meta.  And if you're curious,  is the original picture.    ADDITIONAL: I've used the non-gravatar way to upload the picture.  ADDITIONAL 2: The problem only shows in the profile view. No problem in chat, less info profile view, and in the questions and answers.  UPDATE: Re-uploaded picture. Status normal (for now, at least).


I bought Minecraft for the Xbox One, which in turn gave me the Windows 10 Edition for free (still on my Xbox.) Now I want to play on PC for a school project in com tech, but it says I have not purchased it. Does that mean I have to buy the game again or is there a way around this?

If I purchase Minecraft Windows 10 edition, do I get a Minecraft/Mojang account? In other words, can I then play the older desktop edition as well?  (I know that the Windows 10 Minecraft is similar to Pocket Edition Minecraft. Advantages of the desktop edition include the ability to "mod", and the ability to load/save and share worlds.  I would like to have those capabilities on Windows 10.).


i checked the official linux virtual server website and they havent updated or discontinued since 2014.So, i cant find documentations for 4.5.X kernels. Is squid or HA proxy better alternative to LVS TUN/DR and APACHE mod_proxy? IS there any other better solution to use open source layer 4 or 7 techniques to load balance a statefull application? Not talking about DNS RR

Based on this question: , LVS may be the right solution for my problem.   But when I went to its homepage , I found that LVS has been updated since Nov, 2008. The world's moving fast, and I don't know if LVS was obsolete or not.  Is LVS standing still, or there're some better solutions to replace it?  Thank you so much.


Frequently it is said (sometimes by me) that 5e's rules expect the reader to use 'natural language' or the 'normal' meaning of words when interpreting any words in the rules texts the game doesn't specifically define.  Where does this idea come from?  If it is a rule, where is it found?

In many discussions involving rules interpretations the meaning of words is often called into question. Often, people will claim that if the game doesn't define the term that it defaults to the plain English reading of the word.  Is this stated somewhere explicitly in the rules or in designer comments? What is the source (or sources) for this claim?


I want do_release_upgrade from 16.04 to 18.04 LTS but I receive update errors: Error during update A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. W:The repository 'https://esm.ubuntu.com/infra/ubuntu bionic-infra-security Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository 'https://esm.ubuntu.com/infra/ubuntu bionic-infra-updates Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/bionic-infra-security/main/binary-amd64/Packages , E:Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/bionic-infra-updates/main/binary-amd64/Packages , E:Some index files failed to download. They have been ignored, or old ones used instead. Restoring original system state Aborting Reading package lists... Done Building dependency tree Reading state information... Done === Command terminated with exit status 1 (Mon May  3 12:47:38 2021) ===***  How can I fix this? Can I still do_release_upgrade after 30th april 2021? greetz, Timo

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


It's desperate times for me/us in trying to figure out what's going on.  We have been hacked recently and lost our rankings/traffic due to google posting a message saying "This Website May Be Hacked".    Ever since then, we've cleaned the files/scripts on our wordpress site with no use.  We've installed a new version of wordpress and imported the theme files - again, without any luck.  We are beyond frustrated as we don't have a clue as to where to look and this is costing us business.  Our setup is the following:  Centos OS Wordpress on 4.4 Cloudflare managing DNS Apache installed Mod_pagespeed installed  At this point, we have several scripts that are some how loading up in the site's footer and are clueless as to what's triggering them and think they might be the culprits that are causing us our ranking issues.  Can someone please chime in and let us know what you think?  please see the attached screenshot    Thank you in advance!

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


I remember being taught this by my Literature teacher in school long ago but I can't remember the actual term, maybe complicated sounding like 'onomatopoeia'.  I don't mean apostrophes e.g. wouldn't.  An example is: elongated = long, where the second word can be formed by removing certain letters from the first word, and retain somewhat the original meaning.  A list of such words would also be cute.

This has been rattling around in the back of my mind for many years (way before Stack Exchange came into existence), so it's a relief to finally ask the question.  There are words that can be "contracted" by removing one or more letter(s) (without changing the order of the letters) to form a shorter word with the same meaning, or one very close to it.  The two strongest examples I can think of right now are:  rapscallion -> rascal  and  satiate -> sate  This is a slightly weaker example:  rapine -> rape  Even though "rape" has come, in modern usage, to refer almost exclusively to a sexual crime, it can still be used in a more literary (and purposefully anachronistic) sense to mean "the plunder and pillage of a country or region". In that sense, "rape" can be used in a similar fashion to "rapine"; in any case, the two words are etymologically related to the Latin rapere which is tied to the archaic usage.  Another weaker example:  transliterate -> translate  These words are near-synonyms, but there is a definite difference in their meaning. Still, I guess this pair would qualify, albeit in a looser sense.  I wanted to exclude some relatively trivial examples, such as:  (inflammable -> flammable)  (perambulate -> ambulate)  and so forth. So I've imposed the additional rule (arbitrary though it may seem) that the "stripped" letters must not come from the start or the end of the word, but only from its middle.  Acronyms and portmanteaus are also excluded, as are "slangier" contractions e.g.:  (modulator-demodulator -> modem)  (motor-hotel -> motel)  (certitude or certainty or certificate -> cert)  I guess the long-short forms of the same word would form a linguistic doublet. I've coined the term "telescoping word" to describe the long form that "collapses" into the short form with letter deletion sans anagramming.  My question is: has this phenomenon already been studied? If so, what name have authorities given it? Is there already an existing reference or resource on it? Thanks in advance.  (This is not a duplicate of , as that is asking about the more general phenomenon of words (not necessarily synonyms) occurring within larger words. In fact, the question specifically mentions "kangaroo word" and states that a broader scope is being sought.)


As many of you know, the ♦ tag is for moderator use only (e.g. Moderator name ♦). However, suppose a user adds this to the end of their name. Is there a set consequence for this? Will they lose their reputation, or will their account be banned?  I do not want to add this diamond, I'm just wondering what would happen if I did.

Last night when I was researching on an issue I can to a post which one of the answers had a Avatar Icon with text Moderator inside it. I cannot find that post today.  Considering that person reputation was lower than 50, I wonder if he could be a real moderator.  Do we have a guideline which explicitly ban this?(That is A none moderator uses the moderator icon?   I think no web site needs fake moderators.  The suggested(Duplicate) link says impersonation is OK. I disagree. A moderator should not be impersonated by anyone as people rely on them more than others..


Why do I need to set up Secure Boot password for Ubuntu to install drivers?  I installed it with secure boot unchecked, so I don't know if I have those drivers? Firefox seems to tear when scrolling so I think there are some old default linux graphics drivers.  If I set it up, do I need to enter this password every time GRUB loads?  Or is it similar to Windows' BitLocker, only asks for key if somethings changed (f.i. there's connected new USB drive)  Don't know if it matters I dual boot Windows 10 + Ubuntu 19.04

On initial installation of Ubuntu 16.04, I checked off "Install third-party software" and, underneath it, I was prompted to check off another option which would allow the OS package to automatically disable secure boot on its own, a prerequisite of which was creating a password that would somehow allow this whole process to occur.  After continuing with the installation, I was never given any indication that this disabling of secure boot had occurred, nor was I ever prompted to enter the password that I had created.  Upon successful installation of the OS, I restarted my computer and checked out the BIOS. In BIOS, secure boot was still enabled. However, back in Ubuntu, I am able to seamlessly play MP3 and Flash files, which I assume indicates that the installation of third-party software was successful.  I haven't run into any problems as of yet (other than the fact that the UI has been a bit finicky and buggy at times), but I would like to know what on Earth I actually accomplished by creating that password.  What happened to the password I created? Will I need to remember it for any reason? It's not the same as my login/sudo password.  Has Ubuntu permanently edited my BIOS in order to make an exception for itself? If so, how can I view these changes and potentially undo them? Is that where the password would come in?  Why does Ubuntu need to disable/bypass secure boot to install the ubuntu-restricted-extras package anyway? Is my installation okay? Have I set myself up for future problems? Should I try reinstalling with secure boot manually disabled as not to receive that prompt in the first place?  Additional information: I am running a UEFI system, and I am dual-booting Ubuntu 16.04 alongside Windows 10.   Unlike this user, I do not receive a warning about "booting in insecure mode," but I would also like to know whether Ubuntu has created an exception for itself and how I could manage such exceptions. Unlike myself, this user has not mentioned anything about having to create a password.


When I right click an image file in Windows, one of the context menu options is "Set as desktop background". I know some entries can be , so I'd like to know if it's possible to remove the "Set as background" option.  Note that while  can be found under HKEY_CLASSES_ROOT\, the "set as background" option seems to be located somewhere else.

The  is minimal and clean on a fresh installation of Windows. Install a bunch of applications and soon the context menu is loaded with all kinds of opening options from various applications.  How do I remove items from the right click (context) menu?  I find that there are different types of right click menu items:   Global items that appear in all context menus. Items that appear only on folders. Items that appear only on files. Items that appear only on special folders (Ex: Right clicking a folder of MP3s shows up a context menu with items like Play with Windows Media Player.) Items that appear only on certain file types (Ex: Right clicking a MP3 file shows up a context menu with items from Windows Media Player/Foobar2000/VLC/your-favorite-media-player begging to open this file.)   I want to be able to delete all these kinds items from the right click (context) menu.


I am writing a text using \paragraph, and I am completely baffled as to why the 1st paragraph has no space between it and the above text whereas the 2nd does! If I add one more paragraph after the 2nd, then the new one has space although the 1st remains the same. If I add it before the 1st one then the new one doesn't have space and the previously 1st has! I used a new document with lipsum package for troubleshooting but in it every paragraph had the appropriate space. I have tried deleting and re-entering the paragraphs in my text but still have the same problem.   If I delete the listings package it seems that the problem fixes but I am not sure. It is completely weird! What is happening?  \documentclass[12pt]{article}  \usepackage [   top=0.7in,   bottom=1.2in,   left=0.8in,   right=0.8in ]{geometry}   \usepackage{parskip}  \setlength{\parindent}{0cm}  \usepackage[fleqn]{amsmath}  \usepackage{unicode-math}  \usepackage{fontspec}  \usepackage[english,greek]{babel}   \setmainfont [   Ligatures=TeX,   Extension=.otf,   UprightFont=*,   BoldFont=*Bold,   ItalicFont=*It,   BoldItalicFont=*BoldIt,   Mapping=tex-text ]{GFSArtemisia}  \setsansfont[Mapping=tex-text]{GFSArtemisia.otf}   %Math fonts  \setmathfont{latinmodern-math.otf} \setmathfont[range=\varnothing]{Asana-Math.otf} \setmathfont[range=\int]{latinmodern-math.otf}  \usepackage{listings}  \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}  \usepackage{lipsum}  \begin{document}  \lstset {     basicstyle=\ttfamily,     keepspaces=true,     emph=     {     if, for, each, loop, do,     then, return, function     },     emphstyle=\color{BrickRed} }  \selectlanguage{english}  \section{Search}  \subsection{Subsection}  Text goes here.  \subsection{Uninformed Search Strategies}  More text goes here.  \subsubsection{Subsubsection}  \begin{lstlisting}[title={Source Cod}] Text \end{lstlisting}  \lipsum[1-2]  \paragraph{Paragraph1}Paragraph1 text  \lipsum[1-2]  \paragraph{Paragraph2}Paragraph2 text  \lipsum[1-2]  \paragraph{Paragraph3} Paragraph3  Text for Paragraph3  \end{document}

If I place an lstlisting directly after the start of a (sub)section, the margin before the following (sub)section (title) disappears.  Here is a an example document showing the issue:  \documentclass[twocolumn]{article} \usepackage{listings} \begin{document}  \section{Lorem ipsum} Consectetur adipiscing elit.  \begin{lstlisting} Lorem \end{lstlisting}  Sed quis ante nec mi volutpat congue eu id leo.  \section{Dolor sit amet} Suspendisse at lorem mattis, semper massa id, euismod risus.  \newpage  \section{Lorem ipsum} \begin{lstlisting} Lorem \end{lstlisting}  Sed quis ante nec mi volutpat congue eu id leo.  \section{Dolor sit amet} Suspendisse at lorem mattis, semper massa id, euismod risus.  \end{document}   And you can see the (annotated) result here:    Why is there no margin before the fourth section (title)? Is this a bug in my LaTeX environment (MacTeX-2013), or is this the expected behavior?


I am facing an issue in SharePoint Search. I have connected External content type in SharePoint site collection and my source has single entity of particular item but in SharePoint search I am getting duplicate records for the single item. I don't why it is coming.  I tried this TrimDuplicates=true but also getting duplicate results.  Help me to solve this issue. SharePoint Search service has an issue but how to solve that issue ?

I have added a search results webpart which returns only a subset of documents. I have around 15 documents but search is only returning 7. I noticed the missing document have similar content with few modifications.  I came across this article which mentions about the Trim Duplicates attribute. Does anyone know if this issue is fixed in the Latest service packs. I have April 2015 CU.


I own a trek 7000 hybrid and was wondering if there are aftermarket parts i.e. inner tubes and tires that will work for it. the wheels, tubes and tires are all bontrager if this helps any suggestions?

I need to replace a tube in my bike. I know there are many tire sizes. I bought 26', assuming that my bike was that size, and realized when I got home that I didn't even know where to measure from. What is the correct location to measure in order to get the correct size of tubes?