I currently have a directory with 100 files of 4 types, for a total of 400 files. I would like to find which ones are missing. My current script is:  for((i=1; i<=100; i++)); do name="File_Type_1_${i}.RData";  [[ ! -e "$name" ]] && echo "missing $name"; done  for((i=1; i<=100; i++)); do name="File_Type_2_${i}.RData";  [[ ! -e "$name" ]] && echo "missing $name"; done  for((i=1; i<=100; i++)); do name="File_Type_3_${i}.RData";  [[ ! -e "$name" ]] && echo "missing $name"; done  for((i=1; i<=100; i++)); do name="File_Type_4_${i}.RData";  [[ ! -e "$name" ]] && echo "missing $name"; done   which is annoying to have to run 4 times. Is there a way to run everything at once? The


Can avocado substitute the usual fat in cake baking? If so, what's the ratio to other ingredients?

This may sound extravagant, but I have tried a very nice chocolate pudding made of avocado, chocolate, and some other ingredients. You could not tell there was avocado in the pudding and the texture was just perfect!  So I was wondering if avocado can be used instead of butter to bake cakes too.  Has anyone tried this before?


The title really says it all, but when I use the @ character to ignore escapes in a string literal @"Like This\", the \" is interpreted as a quote character belonging to the string rather than the terminating quote.

I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange?


I am from India. I was supposed to go to Poland for business, but since the Polish consulate usually has a long waiting time for visa appointment, my company advised me to get a German Schengen visa, for which interviews/applications are processed the next business day after application, after which I could travel on to Poland for my business.  So, I did. But Lufthansa denied me boarding, as my country destination was Poland and I was carrying a Schengen visa for Germany. The next day, the German consulate called me over and canceled my visa for the following reasons:   Consulate was made aware Germany is not the primary destination. Unreliable information was supplied.    Now, how serious is this? I really need to be in Poland. Will the Polish consulate even entertain my visa application? Should I make one?  Will this have any impact on my H1B visa stamping, which is due shortly? In general, how much of a special treatment am I going to get around the world?  Also, will traveling to other countries for business/tourism 'dilute' the seriousness of this cancellation, so it does not look like a grave violation of rules, which it was no? It was a bit dodgy but done with no fraudulent intent.

I was lucky to have all my visa applications approved by the embassies and I have a good understanding about how to convince you are a legit traveller and intend to leave the country.   My question is, what bad could happen if a visa application was rejected?   Do they seal the passport as my application was rejected? I understand each embassy has their own records, but they mark it in the passport? Are there any known automatic rejections if I was rejected a visa for another country? All my applications to country B get rejected because my application to country A visa was rejected?


There is no launcher, menu bar and dash on my ubuntu 16.04. Happened when I logged in. Didn't do any changes to the system on my previous session. 16.04 has been working fine for me since it was released.   I know this has been answered before and I tried these answers:       I first did a reset of .config/dconf but that didn't do it.   Edit:  Reinstalled Unity - no success Disabled/Enabled Unity-plugin in Compiz-config-settings manager - no success  The icon for the Unity plugin in Compiz-config-settings manager looks like a question mark. Doesn't seem to look like that when I google images of the settings manager. Guess something is wrong with the plugin.

When I login, nothing happens.   I am presented with my desktop wallpaper.    No Dash, no Launcher, nothing.


Recently I've tried to join my friend's server on Minecraft without any success I don't have mods The version is 1.16.5 I have windows 10 The error is io.netty.channel.abstractchannel$annotatedconnectexception I've restarted my pc, my pc's wifi, I've restarted minecraft a few times, I've updated the java firewall stuff What can i do?

I am getting the following error when I try to connect to a Minecraft server:  This is all servers, not just one. The error says:  io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: Version 1.12  I've tried:  Restarting Minecraft Restarting Computer Uninstalling and Reinstalling Mincraft Uninstalling and Reinstalling Java Altering Firewall Restarting Internet I've messed with my port, made a second windows account, reset netsh winsock Checked hosts Made a new WINDOWS account  The overlay in the bottom right is Geforce's Overlay for game capturing. I don't have any mods installed. A Mojang support ticket wouldn't help. Im desperate.


I'm currently trying to do a clean installation of Ubuntu 12.04.5 LTS, reasons why being lackage of RAM due to motherboard limitations (max 8GB DDR2 800Mhz), the motherboard being the MS-7259 V1.1. I created a bootable USB using Rufus as always, selecting FreeDOS as the desired boot selection, but when I try to boot up from the USB I get a FreeDOS screen asking the keyboard layout, then changing to a navigable filesystem of FreeDOS. I checked everything I knew about from the board, I made sure legacy USB was enabled (when it's disabled the USB is not recognizzed) and still nothing different will happen. I think the problem will be that my motherboard doesn't recognize UEFI, but honestly I don't know about it. Could somebody help me? Or either recommend a Linux distro that has an App Store and minimun requirements be like 512MB of RAM, I'm trying to do this installation to help out a friend build a PC for his kids.

I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the "official  requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below.


So yesterday I was playing D&D with my group and my right hand was cut off. I really love my rogue character and I don't want him with one hand because of all the disadvantages. I thought that I could  tie my hand with my crossbow, then again it will be hard for so many things. My final thought is to find a Master Cleric and if he has resurrection or clone spell, if not then I say to leave my character live his life as an npc and stop the adventures once and for all (meaning to create a new character).  How can I regrow my hand hand?

I recently had my nose bitten off by a berserker and smell is surprisingly hard to live without.   I have had some past trouble with wishes (from a ring of three wishes) so I'm reluctant to make another wish. Also I don't think this is worth wasting my last wish over anyway.  My DM is evil so I'll probably end up with a Mephit's nose or something if I wish for it back.   Can anyone tell me another way of regaining body parts?


I'm quite a newby at this (green)  I'm creating custom subscription center. I have two data extensions which I need to insert/upsert data to.    Newsletter_Subscribers (EmailAddress, FirstName, LastName, Gender, DateOfBirth, OptIn, DateSubscribed, DateModified, DateUnsubscribed Newsletter_Subscriber_Topics (NST_EmailAddress, NST_TopicID, NST_OptIn, NST_DateSubscribed, NST_DateUnsubscribed)   I've created a 4 connected cloud pages: a) Form - collects data (Email, FirstName, LastName, Gender, DateOfBirth, TopicID) b) Process - (insert)  c) Settings d) Process2 (upsert)  Everything works fine if I use only one DE, but in that case when customer unsubscribes it unsubscribes from all, so here is when the second DE comes in handy, but I just can figure out how to write some data in one and the rest in the second DE.  Is there an option to do it with ampscript or just with automation?  Tnx.

I'm bulding a preference center and having trouble with writing into two separate DE's. We have two DE's:  Newsletter_Subscribers (EmailAddress, FirstName, LastName, OptIn, Country, IPAddress, DateSubscribed, DateModified, DateUnsusbscribed)  Inserted here would be subscribers general data (only one row per subscriber).  Newsletter_Subscriber_Topics (RecordID(concat Email + TopicID), EmailAddress, TopicID, DateSubscribed, DateUnsubscribed In here would be every topic in.separate row based on a recordid.  What I'm having trouble with is to write Topics in a seperate DE row by row (PK is RecordID) - I can only get a flat insert Has anybody tried this before? Tnx.


Background  I'm having to connect to a customer's Microsoft SQL Server. I generally don't need to do much in databases besides your average SQL, so using the database features in IntelliJ IDEA have so far been more than sufficient for various PostgreSQL and Orcacle databases. In this case though I was given a heads-up that I will have to change my password first, and when I use IDEA to connect with the credentials I received it does indeed reject them and gives me an error message saying I need to change my password. I was also told to use SQL Server Management Studio (SSMS) to do so.  Problem  SSMS is only for Windows, I'm running a Mac. The SSMS download page refers to Azure Data Studio for use on a different OS. An initial try of the latter did not let me change the password though. Even if I eventually find a way to do it, is there really no other easier way to do this that doesn't involve installing another full-blown db tool that I have no intention of using in the long run? Or worst case: buy a windows computer for the sole purpose of installing SSMS so I can change a password? Surely there must be a bunch of Mac- or Linux-using DBA's that know of a simple command-line tool or alike that allows them to change their password initially on a Microsoft SQL Server, after which they just use their favorite db management tool to access it?  Edit: Note on "duplicate"  I disagree that this is a duplicate of  because:   That question involves an expired password, while I was never able to log in in the first place, nor able to run any sort of SQL prior to logging in That question involves someone already using SSMS, whereas I've specifically pointed out I cannot use it and I'm asking for an alternative   Additional clarification   When I said customer, I meant a client that has data that I need to pull. I do not have any sort of admin access to the VM or SQL Server beyond the credentials I was provided The error I'm getting is not a notification while I'm logged in. It's an error preventing me from even connecting, so I cannot run any other SQL or commands whatsoever

Is it possible to change the password for a login with an expired password using SQL Server Management Objects (SMO) programming? Many times during working hours I got this message from a production server. I have a 'sa' level privilege in SQL Server.  Working Environment  Microsoft SQL Server 2012 Express Windows Server 2012 R2 VMware,Inc. VMware virtual platform


How to I round a number in Java? Like, I have this number 3.4666666666663 and i would like to round it to the nearest floating number, which would be 3.5. I don't want to round it to 4

What I would like is a method to convert a double to a string which rounds using the half-up method - i.e. if the decimal to be rounded is 5, it always rounds up to the next number. This is the standard method of rounding most people expect in most situations.  I also would like only significant digits to be displayed - i.e. there should not be any trailing zeroes.  I know one method of doing this is to use the String.format method:  String.format("%.5g%n", 0.912385);   returns:  0.91239   which is great, however it always displays numbers with 5 decimal places even if they are not significant:   String.format("%.5g%n", 0.912300);   returns:  0.91230   Another method is to use the DecimalFormatter:  DecimalFormat df = new DecimalFormat("#.#####"); df.format(0.912385);   returns:  0.91238   However as you can see this uses half-even rounding. That is it will round down if the previous digit is even. What I'd like is this:  0.912385 -> 0.91239 0.912300 -> 0.9123   What is the best way to achieve this in Java?


public class Main {    public static final PrintStream x = null;     public static void main(String[] args) {        /*Line 8*/ System.out.println("Da");       /*Line 9*/ x.println("Da");     } }  Why is line 8 working, even if the "out" reference is null, and on line 9, where I made another reference same as the reference "out" (static final of type "PrintStream" with a value of null) is not working and I get "NullPointerException"?

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?


I am trying to import data from a point that lies on a certain polygon feature (or raster). As an output I would like the polygon feature to have the point data as a new field in the attribute table. How can this be done in QGIS?

I have gridded depth points in CSV format that I'm trying to add other map data to, in additional columns. I've tried joining fields, hoping that I could link the Shapefile data to the csv, but when I try to display the csv by graduated symbols based on the new fields, it goes blank. I used Nathan's tips from , but imported the csv as csv since I want to add map info to that, rather than adding csv info to a map.  See this picture below for the sea bottom temperature & salinity voronois by month, underneath the csv points (a sample subset), with the joins already made. I added columns on the csv for each of the fields i'm intending to append.    I also tried spatial joins as per  however it says the layers aren't the same CRS (I checked, they are), then gets to 15% and hangs.  I also also tried spatial join through  but it hit a python error. I can try this again and look to debug the problem if this is the right way to go.  In short: appending polygon data as fields on a points-grid csv: what's the best way in QGIS 2.0?


Since stars use hydrogen initially for fusion which then produces heavier elements. Where does all this hydrogen come from? Does all the hydrogen come from the birth of universe? If yes then will new stars stop forming because there is no hydrogen?

I was wondering, if every single hydrogen in the universe originate from the time about ~3 min after the Big Bang.  I know there are nuclear fusion processes going on in stars like the pp-chain reaction which 'emit' hydrogen, too, but those reactions needed several hydrogen atoms to begin with.  So are there really processes which create hydrogen 'from scratch'?  Now, assuming that the human body consists of ~60% water and a taking a body weight of ~75kg => 45kg water => 5kg hydrogen (taking m(H) = 1u & m(O) = 16u => m(H2) / m(H2O) = 1/9) [I'm no biochemist so I don't really know if there are significant amounts of hydrogen in other compounds within the human body], does this mean that roughly 95% (70kg/75kg) of me is - like Carl Sagan said - made of stardust, but even more mesmerizing, ~5% of the stuff that makes up my body made shortly after the Big Bang, nearly 14 billion years ago?


If I do:  set a b c   How do I access the last element of $@, namely c?  I've initially thought to subscript the $@ array:  "${@[$#-1]}"   But:  bash: ${@[$#-1]}: bad substitution   I eventually came up with:  eval echo "\$$#"   Is there a way to get the last element of $@ without eval?  Is the only way to first copy it to another array and access ${copy[-1]}?

What's a better way to implement print_last_arg?  #!/bin/sh  print_last_arg () {     eval "echo \${$#}"  # this hurts }  print_last_arg foo bar baz # baz   (If this were, say, #!/usr/bin/zsh instead of #!/bin/sh I'd know what to do.  My problem is finding a reasonable way to implement this for #!/bin/sh.)  EDIT: The above is only a silly example.  My goal is not to print the last argument, but rather to have a way to refer to the last argument within a shell function.    EDIT2: I apologize for such an unclearly worded question.  I hope to get it right this time.  If this were /bin/zsh instead of /bin/sh, I could write something like this  #!/bin/zsh  print_last_arg () {     local last_arg=$argv[$#]     echo $last_arg }   The expression $argv[$#] is an example of what I described in my first EDIT as a way to refer to the last argument within a shell function.  Therefore, I really should have written my original example like this:  print_last_arg () {     local last_arg=$(eval "echo \${$#}")   # but this hurts even more     echo $last_arg }   ...to make it clear that what I'm after is a less awful thing to put to the right of the assignment.  Note, however, that in all the examples, the last argument is accessed non-destructively.  IOW, the accessing of the last argument leaves the positional arguments as a whole unaffected.


I know this is possible, but how can I rationally get to an answer rather than just trying to draw several graphs until I find one?

Exam preparation.  I'm a bit confused on where to start with this question. How could one approach this question?


has a  where some videos are provided for a period of time. But these are not as easy to download as those on youtube and other such websites.   Is there a program that can do that?

I have read  but please hear me out.  I use Ubuntu 10.04 LTS (32-bit) and I didn't bother to install the Flash plugin for Firefox as I am using a netbook and sometimes Flash caused firefox to crash. What I would like to ask is if I had the link to the video, is there some way I can download it and watch it offline (via VLC) so that I don't need to install Flash plugin? Command line or GUI techniques is welcome.  Based on what I have read, using the /tmp technique requires Flash plugin to be installed and the video to be loaded before I can go scavenge it in the said directory. Note that I also want to dload videos from site aside from youtube.


I'm trying to find the easy but a somewhat stable way to create a split power rails Vcc Vee for the opAmp applications. Any specific known IC for this purpose?

If I have two identical AC/DC adapters(Such as laptop adapters) can I achieve this as in the following illustration? Would it be safe?:


Is the "ubuntustudio-12.04.3-dvd-i386.iso" file 64 bit or 32 bit? If I have to download 64 bit version for my Intel PC (which has a 64 bit processor), which one should I download?

What is the difference between standard i386 download and the amd64 download of Ubuntu 11.04? I am currently running the i386 on an amd machine, would my system work better with the amd64 download instead? (my machine was running Windows 7 64bit, but I neglected to look at that prior to installing Ubuntu).


Does anybody know from what show\movie this picture is from? , It looks like some Sci fi show in the 80s-90s I am not sure and also if anybody knows the name of this actress it would be very helpful.

I'm trying to identify a TV show I saw when I was a kid (I was born in 93). The show, as far as I remember, was around 2003-2005.   There were a couple of people stuck in a primitive other world. There was a husband and wife, mid 30s, an old smart dude and a young 20s guy who hooks up with one of the blonde natives who proceeds to stay with the group (at some point he disappears). They make their home base in a big tree house in a forest. There was a bit of magic and I think there was also a bit of dinosaurs.


I need to Capitalizing first letter of each word in a string using Javascript but ignore if the word is article/preposition.  var string = "at the drop of a hat";   should return  "At the Drop of a Hat"   Please see here that - 1. Every 1st letter of each word is in uppercase 2. 'the' and 'a' being articles were not capitalized 3. 'of' being a preposition was not capitalized 4. 'at' was capitalized even though it is a preposition as it is start of a sentence.  I could do #1 by   string.toLowerCase().replace(/(^[a-z])|(\s[a-z])|([-,:!?\<">';+‘@`€$*&.\\/][a-z])|(\s[а-яё])|(^[а-яё])/g,function(f){return f.toLocaleUpperCase();});   But, this return "At the Drop Of A Hat".  How can I ignore capitalizing articles and prepositions if they're not occurring as first word in a given sentence (i.e. #2,#3 and #4 above)?

Is there a simple way to convert a string to Title Case? E.g. john smith becomes John Smith. I'm not looking for something complicated like , just (hopefully) some kind of one- or two-liner.


\marginpars only appear on the right margins of right-hand pages of my manuscript. For left-hand pages, they are are so far to the left that they aren't even on the page.  The reason is because the text of \marginpars are left-aligned.  How do I make the \marginpars of left-hand pages right-aligned so they are next to the body text?  \documentclass{svmono}  \usepackage[paperwidth=15.5cm, paperheight=23.5cm]{geometry}  \begin{document}  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in \marginpar{[245]} reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.  Another page: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \marginpar{[246]}  \end{document}

I am working on a book right now and the margin notes are not appearing on the left-side pages.  I tried using mparhack but it made no difference.  Is my geometry, fancy style or another package messing up the normal layout?  I am using pdflatex to render.  Here is a minimal test case:  \documentclass[twoside,10pt]{book} \usepackage[margin=9mm,paperwidth=107.95mm,paperheight=174.63mm,bottom=18mm]{geometry} %\usepackage[cam,a4,center,pdftex]{crop} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{fancyhdr} \usepackage{lipsum} \pagestyle{fancy} \fancyhead{} \fancyfoot[C]{\thepage} \renewcommand{\headrulewidth}{0pt} \fontsize{10.5}{13}\selectfont \usepackage[sc,medium]{titlesec} \usepackage{tocloft} \addtocontents{toc}{%             \protect\renewcommand{\protect\cftchapleader}{%-- switch it on here                     \protect\cftdotfill{\protect\cftdotsep}}} \addtocontents{toc}{\protect\thispagestyle{empty}} \renewcommand{\cfttoctitlefont}{\hfill\scshape} \renewcommand\cftaftertoctitle{\hfill\null\\\null\hfill\scshape{Page}} \renewcommand{\cftchapfont}{\normalsize\scshape} \renewcommand{\cftchappagefont}{\normalsize\scshape} \setlength{\emergencystretch}{3em} \title{Heroic Real Estate Otter of the 21st Century} \date{} \begin{document} \frenchspacing \chapter*{Thread 0} \addcontentsline{toc}{chapter}{Thread 0} \pagestyle{fancy} \hspace{0pt}\marginpar[$\omega$]{$\omega$}\lipsum[4-6]  NEXT\hspace{0pt}\marginpar[$\psi$]{$\psi$}\lipsum[10]  \end{document}


I am trying to create a separate thread for LWJGL's Display.update(), but the main thread is sleeping or is stopped while my second thread is running, how can I make both threads execute simultaneously?  public Window(int width, int height, String title){  }  @Override public void run() {     try {         Display.setDisplayMode(new DisplayMode(800, 600));         Display.create();     } catch (LWJGLException e) {         e.printStackTrace();     }         while(!Display.isCloseRequested()){         Display.update();         Main.Render();     }      Display.destroy();  }   }  public static void main(String[] args) {     //To be moved     Window window = new Window(100, 100, "1");     Thread windowThread = new Thread(window);     windowThread.run();      System.out.print("I am workign, please show me!"); }  public static void Render(){      System.out.println("Hello There!");  }

When would you call Java's thread.run() instead of thread.start()?


I signed up to the standard 5GB iCloud plan when I purchased my iPhone 6. Just a few days back was advised I needed to increase iCloud capacity to receive more photos. I have paid to increase to 50GB, and this now shows as available storage. However, I still cannot upload photos into this increased storage.  Does the extra capacity have to be activated? I've signed up for a monthly billing. Do I have to wait for this to happen? Surely this is covered by iTunes payment setup. Has anyone else had the same problem, and if so how to fix?

I just changed my storage plan for 50 GB for $0.99 per month. When i went on settings>General>Storage and icloud usage, where it said storage above it i didnt have more storage. But the second box, where it said icloud abov it had upgraded to 50 GB. But i dont have any more storage for me to be able to get more apps etc.


Is there a way in which I can /setblock signs in MCPE, with text already applied? I've tried the following but I don't know how to do the actual text: /setblock ~ ~ ~ standing_sign 0 replace  Is what I'm asking possible? and if it is, how can I do this?  Note: This question is specific to data tags in MCPE/Bedrock Edition to setblock signs. I don't know the Java OR MCPE format for putting text in signs. So, how do you use data tags in MCPE, specifically for signs?

This question was recently split into different questions for each workaround. See   meta posts for more information.   Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like: give @s minecraft:planks 30 1 {display:{Lore:["Wooden planks"]}} give @s stone_pickaxe{Unbreakable:1b} give @s item_frame{EntityTag:{Invisible:1b}} summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}} summon tnt ~ ~ ~ {Fuse:20s}


Someone might create a pre block in order to preserve indentation like in HTML but this does not work when the pre block is itself indented for a list. Is this behavior expected? I don't see any advantage.   <pre> a  b   c </pre> * list  <pre> a  b   c  </pre>   will turn into   a  b   c    list   a b c    /edit: Somewhat of a duplicate of  My bad.

Consider the following piece of Markdown code:  This is some regular text.      >>> def factorial(n):     ...     return 1 if n < 2 else n * factorial(n - 1)     ...   * This is a list item.      >>> def factorial(n):     ...     return 1 if n < 2 else n * factorial(n - 1)     ...    Notice that the second code block is preceded by a list item.   Why is the factorial code not properly formatted under these circumstances? To demonstrate the problem, I'll insert the Markdown code show above:    This is some regular text.  >>> def factorial(n): ...     return 1 if n < 2 else n * factorial(n - 1) ...     This is a list item                 def factorial(n):       ...     return 1 if n < 2 else n * factorial(n - 1)       ...               This applies to numbered as well as unnumbered lists.


is there a possibility of networking in DOS6.22, and can I use FTP in DOS operating system?

I am newbie to VM concept. actually i have installed DOS6.22 under virtualbox and using 32bit windows 7 OS as HOST Operating System, now i want to copy some folders/files from HOST OS to DOS6.22 Guest OS. how can i copy.?


NSString *str = @"Hello World";  If operator overloading is not a thing in Objective-c how is this possible ? Is it built into a compiler ? And one more question, how does it initialize it self ? what constructor is called ? does it allocate memory for a class it self or again some compiler magic ?

I'm learning objective-c and keep bumping into the @ symbol. It is used in different scenarios, for example at the start of a string or to synthesise accessor methods.   What's does the @ symbol mean in objective-c?


I'm working on problem 1.2.i in Emily Riehl's Category Theory in Context and got stuck. The problem is this:  Show that $C/c \cong (c/(C^{op}))^{op}$.  A bijunction between the objects is faily simple, so I'll skip typing it. The issue I'm having is showing that the morphisms in one correspond to the morphisms in the other. Let $f \in C(x, y)$, then $g \in C(c, x)$ and $h \in C(x, y)$. So $g,h \in C/c$ and $g^{op}, h^{op} \in (c/(C^{op}))^{op}$. So by definition, $f^* \in Hom(C/c)$ iff $hf=g$ And also by definition, $f_* \in Hom((c/(C^{op}))^{op})$ iff $f^{op}g^{op} = h^{op}$. So it seems like all I need to complete the proof is to show that $f^{op}g^{op} = h^{op} \Leftrightarrow hf = g$ But I can't figure out how to do that. Is it always the case commutativity in one category is preserved in the opposite category? (I realize this may look like a homework question, but I'm working through the book on my own which is why I'm asking here.)

I'm self studying from Category Theory in Context by Emily Riehl and have encountered the following question regarding slice categories:     Let $\text{C}$ be a category and $c$ be an object in $\text{C}$. Show that $\text{C}/c \cong (c/(\text{C}^{\text{op}}))^{\text{op}}$    The exercise appears in an chapter that introduces the notion of opposite categories and duality proofs.     My intuition of why the statement is true comes from the following observation:  Let $x,y$ be objects in $\mathbf{C}$ (or equivalently $\mathbf{C}^{\text{op}}$). Let $g^{\text{op}} : c \to y$ and $f^{\text{op}} : c \to x$ be objects in $c/(\mathbf{C}^{\text{op}})$. By the definition of slice category, there exists a morphism $h^{\text{op}} : y \to x$ in $\mathbf{C}^{\text{op}}$ such that the diagram below commutes:  $\hskip2in$   Now the 'corresponding diagram' in the opposite category $(c/(\mathbf{C}^{\text{op}}))^{\text{op}}$ would be:  $\hskip2in$    which, as I understand it, would also be commutative. Now, to me, this indicates:   that the objects in $(c/(\mathbf{C}^{\text{op}}))^{\text{op}}$ are the same as the objects in $\mathbf{C}/c$, namely, a morphism in $\mathbf{C}$ from an object $z \in \mathbf{C}$ to $c$. the commutativity of the seconds diagram describes morphisms $h$ in both $\mathbf{C}/c$ and $(c/(\mathbf{C}^{\text{op}}))^{\text{op}}$ if you reverse the arrows again you return to the same diagram. This makes me think you could construct a map between morphisms by first making a map from $ \mathbf{C}/c \to (\mathbf{C}/c)^{\text{op}} ( \cong c/(\mathbf{C}^{\text{op}}) )$ by $h \mapsto h^{op}$     Now, what I am really looking for is a way to structure a proof. I feel like I have some intuition but am very unsure of how to write it down in a concise way. I am new to category theory so I'm still very much learning how to construct these types of proofs using duality; I feel like what I have written is maybe overkill but I'm trying to be as explicit as possible to make sure I understand everything.  In particular, I don't know how I would get a concrete correspondence between morphisms in the two categories that respects associativity of composition etc.  Any help or pointers would be appreciated!


How to calculate $1900^{13} \pmod{2537}$   I should be able to do this problem but I don't figure a fast way of calculating it.  Edit: I find reduced the problem to solve:  $X≡12^{13}$mod$59$ and $X≡2^{39}$mod$43$  and I don't know how to solve  $X≡12^{13}$mod$59$

How do I efficiently compute $a^b\bmod c$:  When $b$ is huge, for instance $5^{844325}\bmod 21$? When $b$ is less than $c$ but it would still be a lot of work to multiply $a$ by itself $b$ times, for instance $5^{69}\bmod 101$? When $(a,c)\ne1$, for instance $6^{103}\bmod 14$?  Are there any other tricks for evaluating exponents in modular arithmetic?  This is being asked in an effort to cut down on duplicates, see  and .


I am seeing a big constant increase in the space amount taken in the /home directory  df -h says:  Filesystem      Size  Used Avail Use% Mounted on /dev/md2        127G   52G   70G  43% /home  However, once I am in the /home directory,  du -hs * | sort -h indicates the sum of the directories is about 20G  Therefore there is 30G of data I can't identify the origin of.  What should I look for to identify such a discrepancy between what df -h says and the actual content of the /home directory?  Edit: restarting nginx fixed the problem after using lsof | grep "/home" | grep deleted to identify what process was still using deleted files in memory

I have a SCSI disk in a server (hardware Raid 1), 32G, ext3 filesytem. df tells me that the disk is 100% full. If I delete 1G this is correctly shown.  However, if I run a du -h -x / then du tells me that only 12G are used (I use -x because of some Samba mounts).  So my question is not about subtle differences between the du and df commands but about how I can find out what causes this huge difference?  I rebooted the machine for a fsck that went w/out errors. Should I run badblocks? lsof shows me no open deleted files, lost+found is empty and there is no obvious warn/err/fail statement in the messages file.  Feel free to ask for further details of the setup.


I upgraded from Ubuntu 16.04.1 to 18.04 LTS, and instead of ubuntu 18.04, in 16.04 my workspaces were "independent", for example:  Before:  If I open a VLC video on my workspace n°1, and open another on the workspace n°2, when I click on VLC on my second workspace's dock, only the video opened on it is shown.  Now:  If I do the same thing, I can see the video opened on the first workspace from the second one using the dock.  I tried to search on the internet but didn't know exactly  what to type on the search bar for this case.   Is there any way to make workspaces independent again?

I would like my Dock to show only the windows of the current workspace. Especially in the little preview window. I find it very confusing to jump around workspaces when trying to find the right window.


I'm trying to understand the effects of the explanatory variables of my logit regression.  (Intercept)    -6.7909619  0.0938448 -72.364  < 2e-16 ***                        level           0.0755949  0.0192928   3.918 8.92e-05 ***                        building.count  0.0697849  0.0091334   7.641 2.16e-14 ***                        gold.spent      0.0019825  0.0001794  11.051  < 2e-16 ***                        npc             0.0171680  0.0056615   3.032  0.00243 **                         friends         0.0304137  0.0044568   6.824 8.85e-12 ***                        post.count     -0.0132424  0.0041761  -3.171  0.00152 **    But when I look at the raw data, I don't understand why post.count is negatively effects my output. And also post.count and my dependent variable (revenue.all.time) has small but positive correlation:  > with(sn, cor(post.count, revenue.all.time)) [1] 0.009806015   I also checked the correlations between post.count variable and the others:  > with(sn, cor(post.count, gold.spent)) [1] 0.296514 > with(sn, cor(post.count, level)) [1] 0.4289456 > with(sn, cor(post.count, building.count)) [1] 0.4140521 > with(sn, cor(post.count, npc)) [1] 0.3370106 > with(sn, cor(post.count, friends)) [1] 0.007695264   but they're all positive as well.  So why does my model denote post.count's coefficient negative ?  Thanks,

Is it possible to obtain a positive correlation between a regressor and a response (+0,43) and, after that, obtain a negative coefficient in the fitted regression model for this regressor?  I'm not talking about changes in the sign of the regressor among some models. The coefficient sign always remains.  Could  the remaining variables of the fitted model influence the changing of the sign?


I am wondering why "steak" is pronounced as [steyk] instead of having the "ea" phoneme pronounced as in creak[kreek], cheap[cheep], meat[meet]...  Is it an exception or is there a rule for when to pronounce it one way or the other?

Great is one of the few common English words in which "ea" is pronounced /eɪ/ (ay).  Why is this pronunciation associated with this spelling?  As an aside, I remember from researching for my answer to a  that a Middle English spelling of great was grete.  Was it ever pronounced that way?


Is $K = \bigcup\limits_{i:\text{even}} \mathbb{F_{2^i}}$ a field? If so what is char(K)? Is $K \cup \mathbb{F_{2^8}}$ a field?

I have $2$ similar questions :    Is  the following set $K$ a field:  $$K=\underset{i=even}{\bigcup} \mathbb{F}_{2^{i}}$$ where $\mathbb{F}_{2^{i}}$  values are all finite fields?   Is so, what is the characteristic of this field?   Is $K \cup \mathbb{F}_{2^{3}}$ a field?    My answer is: yes both $1$ and $2$ are infinite fields by subfield criterion of finite fields, but I am not sure!  And what about the characteristic? Is it $2,$ which is the base prime, or is it $0,$ since it is infinite?


From a collection of short stories I read at least 30 years ago. :/  This is going to be incredibly vague, so apologies in advance.  A human and alien (blob/octopus-like...I think) from warring races are captured by an unidentified higher intelligence and put in an enclosure (more like a zoo habitat rather than a prison cell). They are separated by an invisible barrier and can see each other.  I think they were both trying to escape or trying to figure out how they could kill the other first. There was a bulldozer/loader type vehicle they could use at one point to build a shelter (or something).  I believe they were crafting makeshift weapons as well. There was no communication between the two as far as I remember.  The main tension in the story seemed to be was the race to get to the other first.  This has been stuck in my head forever. I know its a very common theme.  The short stories may have included Asimov.

I read a science fiction short story where a human being and an alien battle it out among themselves in an area equally disadvantageous to both of them where they have been placed by member of a third race - an omnipotent being to the other two. This being conveyed that whoever wins shall win the galaxy as the omnipotent being would destroy the other race. The human being wins and the battle is also won. The fiction was probably written before fifties or latest sixties. Any idea about the name of the story?


I am currently making a tax program (study project) that read in a CSV file and generates a list of people and account balances, i need to round down 2 decimal places from one text box and add them up in another text box. my code attached tell me i cannot use " * " how do i times a decimal with 0.1? and if i am doing this wrong let me know, cheers!  public partial class Form1 : Form {     //CSV ARRAY LISTS     List<string> fullName = new List<string>();     List<string> accBalance = new List<string>();      int currentItem;     int index;     int counter = 0;      decimal interestBalance = 0;     decimal result;      decimal interestRemainder = 0;     double round = 0.1;    private void interestBalanceBox_TextChanged(object sender, EventArgs e)     {         interestRemainder = decimal.Parse(interestBalanceBox.Text);         interestRemainder = Math.Truncate(0.1 * interestRemainder) / 100;         interestRemainderBox.Text = interestRemainder.ToString();      }   the program we are meant to represent is this one here! any help would be much appreciated.

This error should be a simple one but I cant seem to make it work. The problem lies in the fact that this very same code works earlier in the program. I don's see any reason for it to be sending an error on this instance and not the four previous ones. Reference the code below, and feel free to provide any criticism you may have as it should make me better. If it matters, I am using Sharp Develop 2.2.  Here is an example of the code that works:  void calc2Click(object sender, EventArgs e) {     if (!String.IsNullOrEmpty(tb2_fla.Text) & String.IsNullOrEmpty(tb2_e.Text) | String.IsNullOrEmpty(tb2_fla.Text) & String.IsNullOrEmpty(tb2_e.Text) | String.IsNullOrEmpty(tb2_e.Text))     {         MessageBox.Show("Enter either kVA and Voltage or FLA and Voltage", "Invalid Data Entry", MessageBoxButtons.OK);     }                 if (!String.IsNullOrEmpty(tb2_kva.Text) & !String.IsNullOrEmpty(tb2_e.Text))     {              decimal x, y, z;             x = decimal.Parse(tb2_kva.Text);                   y = decimal.Parse(tb2_e.Text);             z = (x * 1000) / (1.732050808m * y); //the m at the end of the decimal allows for the multiplication of decimals                 tb2_fla.Text = z.ToString();             tb2_fla.Text = Math.Round(z,2).ToString();     }         else     {         if (!String.IsNullOrEmpty(tb2_fla.Text) & !String.IsNullOrEmpty(tb2_e.Text))     {              decimal x, y, z;             x = decimal.Parse(tb2_fla.Text);                   y = decimal.Parse(tb2_e.Text);             z = (x * y * 1.732050808m) / 1000; //the m at the end of the decimal allows for the multiplication of decimals               tb2_kva.Text = Math.Round(z,2).ToString();      }   Here is the example of the code that sends the error in the subject line of this post:  void Calc4Click(object sender, EventArgs e) {         if (!String.IsNullOrEmpty(tb4_fla.Text) && String.IsNullOrEmpty(tb4_e.Text) || String.IsNullOrEmpty(tb4_kw.Text) & String.IsNullOrEmpty(tb4_e.Text) || String.IsNullOrEmpty(tb4_e.Text))         {   //If values are entered improperly, the following message box will appear         MessageBox.Show("Enter either FLA and Voltage or kW and Voltage", "Invalid Data Entry", MessageBoxButtons.OK);         }              if (!String.IsNullOrEmpty(tb4_fla.Text)&& !String.IsNullOrEmpty(tb4_e.Text)&& String.IsNullOrEmpty(tb4_kw.Text))         {//If the user eneters FLA and Voltage calculate for kW              decimal x, y, z;             x = decimal.Parse(tb4_fla.Text);             y = decimal.Parse(tb4_e.Text);             z = (x*y)*(.8 * 1.732050808m);             tb4_kw.Text = Math.Round(z,0).ToString();          }                         if (!String.IsNullOrEmpty(tb4_kw.Text) && !String.IsNullOrEmpty(tb4_e.Text) && String.IsNullOrEmpty(tb4_fla.Text))         {;//If the user enters kW and Voltage calculate for FLA             decimal x, y, z;             x = decimal.Parse(tb4_kw.Text);             y = decimal.Parse(tb4_e.Text);             z = (1000 * x)/(y * 1.732050808m)* .8;             tb4_fla.Text = Math.Round(z,0).ToString();         }      }   I appreciate any help that I can get.  Thank you.


So, here's the play:  Player 1 has  on the field. They play  and target the warrior, giving the warrior a +1/1 counter.  Question 1: Would Living Totem's ability trigger Staunch-Hearted Warrior's heroic ability?  Back to the game now. Next turn, player 1 plays  and returns Living Totem to their hand. On the following turn, they play Living Totem back onto the battlefield. Would Living Totem's ability trigger again?

When a  enters on the battlefield and I choose a creature with heroic to recieve the a +1/+1 counter, does it trigger the heroic? I don't think so because the heroic says explicitly that when a spell targets that creature but I would like to check.


Why newline is inserted in the first row and why \noindent fixes it in the second row? \documentclass{book}  \usepackage{colortbl} \usepackage{tabularx} \usepackage{xcolor}  \begin{document}     \begin{tabularx}{\textwidth}{lX lX}         \rowcolor{gray}         cell1 & \color{white}{cell2} \\         \hline         \rowcolor{gray}         cell1 & \noindent\color{white}{cell2} \\     \end{tabularx} \end{document}

The following MWE :  \documentclass[10pt]{article} \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}   \usepackage{color} \usepackage{array,float}  \begin{document}     \begin{tabular}{|*{3}{>{\centering}p{1cm}|}}         \hline \color{red}A&B&C\tabularnewline \hline     \end{tabular}      \begin{tabular}{|*{3}{>{\centering}m{1cm}|}}         \hline \color{blue}A&B&C\tabularnewline \hline     \end{tabular}      Some blablah... \end{document}   gives me :    The blue color continues after the cell, and even after the tabular !  I know that I can basically solve the problem with braces around  \color{blue}A   but I want to understand why, if I use "m" parameter instead of "p" in tabular, \color has this strange behaviour... (Otherwise, why, in the first tabular, cells are higher and A in the bottom of his cell ?)


I'm using the latest Ubuntu 18.04 LTS bionic.  When I login it shows my username and I just need to type a password.  I don't want usernames to be shown. I want to be forced to type a username and password.  How do I do that? All I found is info for old versions or lightdm (18 uses gdm).

I have the following system:  $ lsb_release -a Distributor ID: Ubuntu Description:    Ubuntu 17.10 Release:        17.10 Codename:       artful  $ gdm3 --version GDM 3.26.1   I would like to disable the user list in GDM and enter my user name and password to log-in. I have already searched a lot but did not find any valuable solution.  How can I achieve this?


Let $n \in \mathbb{Z_+},$ use integration by parts to prove   $$\int_0^{\infty}x^ne^{-x}dx = n!$$  I know that if you repeatedly differentiate $x^n$ you get $n!$, but I don't know how to prove this?  A step by step answer would be helpful. Thanks!

$ \int^\infty_0 (x^n)(e^{-x})  dx  $ and show that it is equal to $(n!)$ ?  I know that if you differentiate $x^n$  infinitely you get $n!$ but I don't know how to prove?


I am working to add custom rom that are available for ios and android,I need to add add custom rom in my android phones, I was using "androios" rom that is featured for both  ios and android, but its not rebooting properly in      micromax funbook p300   Can any one please help me, Regarding Custom Roms that have features of both ios and android, to add in micromax funbook p300.

There are several reasons to be looking for a ROM:   Upgrading or downgrading your stock ROM Looking for firmware from a different region/language Flashing a custom ROM for different features, removing bloat, etc.   But where can one find ROMs in the first place?  What sites are likely to have the ROM I need?  ; please add to the wiki answer instead of posting separate answers.  See also:


I am having trouble with my program in class, as it is infinitely choosing a new random number when I am trying to use the srand() function. I would appreciate some help as I am stuck on this. I am trying to get the code to randomly select one number, and then the user has to guess what the number is. However, my programs random code changes everytime the user is incorrect.  // Game Module  void header(); int menuchoice(); void storytime(); int enter = 0; int number = 0; void exit();  void Game2(); int Random_Number(); int selection = 0;  int main() {   // Declarations   int game1 = 0;   int game2 = 0;   int game3 = 0;   int choice = 0;    header();    menuchoice();    return 0; }  void header() {   cout << "Welcome to the Sprengel Game Emporium!" << endl << endl; }  int menuchoice() {   int choice;    cout << "Press 1 and Enter to Play Game 1 - Story Time" << endl;   cout << "Press 2 and Enter to Play Game 2 - Guess the Random Number!" << endl;   cout << "Press 3 and Enter to Play Game 3" << endl;   cout << "Press 0 to EXIT" << endl;    cin >> choice;    if (choice == 1) {     storydata();   } else if (choice == 2) {     Game2();   } else if (choice == 3) {     Game3();   } else if (choice > 3) {     cout << "Invalid Option, please choose again." << endl;     menuchoice();   } else if (choice == 0) {     exit();   }   return 0; }  // GAME 2  void Game2() {   cout << "Welcome to Game 2!" << endl;   cout << "This game randomly generates a number! To win, you have to "           "correctly guess the number between 1 and 10!"        << endl;   cout << Random_Number(); }  int Random_Number() {   srand(time(NULL));    int selection = 0;   int number = rand() % 10 + 1;   cout << number << endl;   cout << "Please guess a number between 1 and 10!" << endl;   cin >> selection;    if (selection == number) {     int choose = 0;     cout << "You are correct!" << endl;     cout << "Press 1 to Play Again, Press 2 to return to the Game Menu, and "             "Press 3 to Exit the Game"          << endl;     cin >> choose;     if (choose == 1) {       Random_Number();     } else if (choose == 2) {       menuchoice();     } else if (choose == 3) {       exit();     }   } else if (selection > number) {     cout << "Incorrect! Try guessing lower." << endl;     Random_Number();   } else if (selection < number) {     cout << "Incorrect! Try guessing higher." << endl;     Random_Number();   }   return choice; }  void Game3() { cout << "Welome to Game 3!" << endl; }  void exit() {   cout << endl << endl;   cout << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl << endl;   cout << "Cya Later! Thanks for Playing!" << endl << endl;   cout << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl; }

I need a 'good' way to initialize the pseudo-random number generator in C++. I've found  that states:     In order to generate random-like   numbers, srand is usually initialized   to some distinctive value, like those   related with the execution time. For   example, the value returned by the   function time (declared in header   ctime) is different each second, which   is distinctive enough for most   randoming needs.   Unixtime isn't distinctive enough for my application. What's a better way to initialize this? Bonus points if it's portable, but the code will primarily be running on Linux hosts.  I was thinking of doing some pid/unixtime math to get an int, or possibly reading data from /dev/urandom.  Thanks!  EDIT  Yes, I am actually starting my application multiple times a second and I've run into collisions.


$\lim_{x\to 0^+}(\sin x)^\frac{1}{\ln x}$  I was trying to change it to $\lim_{x\to 0+}\frac{(\sin x)^\frac{1}{\ln x}}{x^\frac{1}{\ln x}}{x^\frac{1}{\ln x}}$, but I don't know what to do next.  Any help would be appreciated.

Find the limit $\displaystyle \lim_{x \to0^+} (\sin x)^{\large {\frac1 {\ln x}}}$   Here's what I did:  $\begin{align}\lim_{x \to 0^+} (\sin x)^{\large \frac1{\ln x}}&(1) =\lim e^{\large {\ln( { (\sin x)^\frac1{\ln x}})}} \ \ \\  &(2) = \lim_{x \to0^+} e^{\large {{\frac1{\ln x}}\ln( { (\sin x)})}}  \ \  \\ & (3)= \lim_{x \to0^+} e^{\large {\frac{\ln\sin x}{\ln x}}}   \ \  \\ &(4) = \lim_{x \to0^+} e^{\large {\ln\frac{ \sin x}{ x}}} \ \\ & (5)= \lim_{x \to0^+} \frac{ \sin x}{ x} = 1 \end{align}$  But I know this is wrong because when I plot it it goes to e.   I am now stuck on step 3.  Any advice please ?  PS: we can't use derivation or integration, nor Taylor's theorem because we haven't covered that.


I need your help about an error, this is the screenshot of the problem.

I've been struggling a little with Cycles and my GeForce GTX 750 graphic card. Most of the time it works well, but when I try to work with scenes that have custom shaders (like a skin shader with multiple textures, including for displacement), I get an error, both on the viewport and at rendering:     Cancel | CUDA error: Out of memory in cuLaunchKernel(cuPathTrace, xblocks, yblocks, 1, xthreads, ythreads, 1, 0, 0, args, 0)   Or something like that. Here's a screenshot so you can check it out:    I'm using a PC and Windows 7, with 8Gb of RAM. I can't render this scene with GPU, but using CPU, it renders ok.  My question is: What is causing this issue? I have the latest drivers installed for my graphic card, so I have no idea what this is.


I'm using this script to catch posts from a custom post type  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array(           'post_status' => array('publish', 'future'),           'post_type' => 'evento',           'orderby' => 'date',           'order' => 'DESC',           'posts_per_page' => 9,           'paged' => $paged      );   If I set Settings >> Reading >> Blog pages show at most to 6, site return 404 on the second page. If I set to 5, works fine. Why it happens?  I'm using roots theme.

I have added a custom/secondary query to a template file/custom page template; how can I make WordPress use my custom query for pagination, instead of using the main query loop's pagination?  Addendum  I have modified the main loop query via . Why isn't pagination working, and how do I fix it?


Is it possible to lookup a people picker type field from a list. I have tried OOTB as well. But I couldn't do it through OOTB even. I need something like as following: Here "Person" is a people picker type field.  <Field Name="Person" ID="{d74b3913-2c09-4e17-ad28-3ec11ac4be31}" DisplayName="Person" Type="Lookup" List="Lists/Persons" ShowField="Person" />

I have two different list. In the first list are some people picker columns.  Is it possible to create a lookup column for list 2 to add the user from the first list? I know it isn't supported in Sharepoint, but i hope someone have an idea to solve my problem.


I'm using MacOS Catalina 10.15.4. I want to change the system font on my MacBook Air. I know (or think) that the system recognises fonts using the postscript name of the font. I know that below Mac OSX Yosemite, the name is .LuciadaGrandeUI and for Mac OSX Yosemite, the name is .HelveticaNeueDeskInterface-Regular. However, above Mac OSX Yosemite, the font is San Francisco. What is the postscript name of the font?  EDIT:  Actual problem: I want to change the system font to Comic Sans MS. How?

How can one change the system font system wide in OSX Yosemite? I am using Tinkertool at present but it only changes font in applications and not the Finder, status bar or any other fonts!


So I've been trying to find out how you can see what apps and sites I have used my gmail for. I feel like this used to be possible, but all the answers I've gotten always lead me to a dead end where I can only see what apps I've used my gmail for. Where can I see the sites? I'm not interested in the apps, only the sites... The usual rout of account, account settings, apps and sites with acces doesn't work anymore.

When you create Stack Exchange accounts and you want them tied to a Google account, when you log into your Google account you get taken to a separate page where it asks for permission and whether you want the setting to be remembered.  I am wondering how I can access the page which lists what accounts are tied to my Google account and have set to remember.   I think it's about time I went in and see what accounts I am not using and get rid of them.


I have two models of the following form  lmod1 <- lm(response ~ predictor1 + log(predictor2))  lmod2 <- lm(response ~ predictor1 + predictor2)   The question is, can I use an F-test to compare these two models? Which model provides a better fit to the data? The question is from the Faraway's Linear Models with R, by the way.  I will add the R code I used and the results, so its easier to discuss something specific.  NOTE: I am told that Acetic and H2S are, in the data, in the log form, so in the second model I eliminate the log by doing $10^{predictor}$.  I understand more or less what the F-statistic and F-test means, but I fail to see the nuance of being able to use it or not for certain comparisons. Regarding the second part of the question (what is the better fit), I would say that it is the first model, due to having a higher $R^{2}$.  I have read something related to using anova and F-test for nested models, which this is not (I think).  data("cheddar", package="faraway") lmod <- lm(taste ~ Acetic + H2S + Lactic, cheddar) lms <- summary(lmod) lms   ## This is the first model (with log in H2S and Acetic) ## Call: ## lm(formula = taste ~ Acetic + H2S + Lactic, data = cheddar) ##  ## Residuals: ##     Min      1Q  Median      3Q     Max  ## -17.390  -6.612  -1.009   4.908  25.449  ##  ## Coefficients: ##             Estimate Std. Error t value Pr(>|t|)    ## (Intercept) -28.8768    19.7354  -1.463  0.15540    ## Acetic        0.3277     4.4598   0.073  0.94198    ## H2S           3.9118     1.2484   3.133  0.00425 ** ## Lactic       19.6705     8.6291   2.280  0.03108 *  ## --- ## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ##  ## Residual standard error: 10.13 on 26 degrees of freedom ## Multiple R-squared:  0.6518, Adjusted R-squared:  0.6116  ## F-statistic: 16.22 on 3 and 26 DF,  p-value: 3.81e-06   data("cheddar", package="faraway") cheddar_org <- cheddar cheddar_org$Acetic <- 10^cheddar_org$Acetic cheddar_org$H2S <- 10^cheddar_org$H2S  lmod_org <- lm(taste ~ Acetic + H2S + Lactic, cheddar_org) lm_org_s <- summary(lmod_org) lm_org_s  ##  ## Call: ## lm(formula = taste ~ Acetic + H2S + Lactic, data = cheddar_org) ##  ## Residuals: ##      Min       1Q   Median       3Q      Max  ## -17.2569  -8.3010  -0.7964   7.7366  26.2558  ##  ## Coefficients: ##               Estimate Std. Error t value Pr(>|t|)    ## (Intercept) -2.032e+01  1.185e+01  -1.715   0.0982 .  ## Acetic       3.554e-06  3.070e-06   1.158   0.2575    ## H2S          1.103e-09  8.076e-10   1.366   0.1838    ## Lactic       2.890e+01  8.828e+00   3.274   0.0030 ** ## --- ## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ##  ## Residual standard error: 11.57 on 26 degrees of freedom ## Multiple R-squared:  0.546,  Adjusted R-squared:  0.4936  ## F-statistic: 10.42 on 3 and 26 DF,  p-value: 0.0001108

I repeatedly read that one cannot use an F-test to compare two models that are not nested. Usually I have to nested models $$ m: y=X\beta+Z\gamma+\epsilon \text{, and } m_r:y=X\beta+u $$ The test-statistic usually looks something like $$ F(y)=\frac{RSS_r-RSS}{RSS}\cdot\frac{L}{N-K-L} $$ where $rRSS$ and $RSS$ is the residual sum of squares of the restricted and ful model respectively. $N,K,L$ are the number of samples, variables in X and variables in Z.  However, I don't see why I couldn't use the residual sum of squares of any two models $m$ and $m'$ and compute $$ F(y)=\frac{RSS_{m'}-RSS_m}{RSS_m}\cdot\frac{variables(m)-variables(m')}{N-variables(m)}, $$ assuming $variables(m)\geq variables(m')$ w.l.o.g.  Would be great to hear your thoughts on this! Thanks in advance


I am reading a book about data mining and am currently in a chapter about Principal Component Analysis. But I am not sure from the explanation in the book what the principal axes are and how to find them.  If I have the feature vector $X = \{(-3,-1,-1),(0,-1,0),(-2,-1,2),(1,-1,3)\}$, how do I find the principal axes?  Thanks!

In today's pattern recognition class my professor talked about PCA, eigenvectors and eigenvalues.   I understood the mathematics of it. If I'm asked to find eigenvalues etc. I'll do it correctly like a machine. But I didn't understand it. I didn't get the purpose of it. I didn't get the feel of it.        I strongly believe in the following quote:     You do not really understand something unless you can explain it to your grandmother. -- Albert Einstein   Well, I can't explain these concepts to a layman or grandma.   Why PCA, eigenvectors & eigenvalues? What was the need for these concepts? How would you explain these to a layman?


How can I have superscript in Figure captions ??   \begin{figure}[htbp] \centering     \includegraphics[width=0.80\textwidth]{Chapters/CResults/figures/3AxisFlexure.png} \caption{Thorlabs Microblock$^{TM}$ flexure 3-axis translation stage} \label{fig:3AxisFlexure} \end{figure}   I get errors but I want to know if my approach is right first.

What is the easiest way to superscript text outside of math mode?  For example, let's say I want to write the $n^{th}$ element, but without the math mode's automatic italicization of the th.  And what if I still want the n to be in math mode, but the th outside?


I commonly need to install packages on a Linux server behind a firewall.  The Linux repositories are not enabled, and there is no internet connection.  I often go to the Internet, get a file manually, then I try to install it.  I discover that a dependency is not installed or not the right version.  I repeat process to fix the problem.  There is an endless cycle of dependencies.    What is the solution to this problem?  Numerous systems administrators must go through this laborious problem.  If enabling repositories isn't an option, and going directly to the Internet from the Linux server is not an option, what should a systems administrator do?  I'd like to have a complete list of every dependency (and every dependency thereof) with compatible versions and locations on the Internet where a binary file exists to transfer over and install.  Installing from source is more tedious than installing binaries.  I'd like to ask this on  or  but I think the moderators don't like questions like these.  I am reluctant to think the solution would come from  but that doesn't sound like a bad idea.    Which site is the most appropriate for my question?

There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.


For my bachelor thesis, I have to refer to some functionality in the STL-Library. Since cplusplus.com, or cppreference.com isn't the best way to reference to the functionalities, I am looking for the official paper for the STL-Library (somehting like the ISO C++-standard drafts respectively papers).

For many questions the answer seems to be found in "the standard". However, where do we find that? Preferably online.  Googling can sometimes feel futile, again especially for the C standards, since they are drowned in the flood of discussions on programming forums.  To get this started, since these are the ones I am searching for right now, where are there good online resources for:   C89 C99 C11 C++98 C++03 C++11 C++14 C++17


I'm quite new of Ubuntu...  I'm using Ubuntu 14.04 and what I want is to burn a Windows ISO image on a USB Flash Drive.  Now, using the default Startup Disk Creator, seems that it doesn't recognize ISO images different from Ubuntu (or at least, I try to select the Windows ISO but nothing really happens). Then I've installed K3b but, then again, this time the problem is that it seems to not recognize media different from a CD. I'm sure that there's a way to do it with K3b and I'm just missing it. Anybody can help me?

I'd like to create a Windows bootable USB stick, but I don't have a Windows machine with me at the moment to do so. How could I achieve the same using Ubuntu?


Why shouldn't we pronounce the second "T" in word "potential"? Any english rule about "t" in words?

What rules of the English language allow the first t in patient to make an sh sound?  Why is it /ˈpeɪʃənt/ and not /ˈpeɪtənt/?  Are there any other words where t behaves in this way?


How I can check if the polynomial $x^4 + x^3 + x^2 + x +1$ is Irreducible or Not over $Z$ ?  Here, Eisenstein's criteria isn't applicable neither Mod P irreducible Test.  How should I proceed?

As opposed to the generic polynomial form for utilizing the Eisenstein Criterion ($a_nx^n+a_{n-1}x^{n-1}+\dots+a_0\in\mathbb{Z}[x]$ is irreducible in $\mathbb{Q}$) how do we prove that if $p$ is a prime, $x^{p-1}+x^{p-2}+\dots+x+1$ is irreducible over $\mathbb{Q}$?


I've been using Ubuntu 15.04 for a while with my password, so far so good (I'm the only user and root). But I wanted to change my password and tried to do that throuth terminal withsudo passwd. It asks me for my new password and than tell me the pw was successfully updated. The point is, my password doesn't change, it is the same old one. The new one doesn't work, it looks as if I've done nothing. What is that and how do I fix?  Grateful.

I am trying to change root password in my Ubuntu system.   This is what I did:  ashot@ashot-desktop:~$ sudo passwd root  passwd: Authentication token manipulation error  passwd: password unchanged   How do I change root password in Ubuntu?


Ok, so I am trying to figure out whay no matter what I enter for gender it tells me the gender is invalid.  My goal is for the program to recognize m or M or F or f as gender, which I thought I accomplished by .toUpperCase... Anyone know what I am missing?  public class ChildHeight {      public static void main(String[] args)      {         Scanner keyboard = new Scanner(System.in); //iniate keyboard as scanner object           String cGender;         int hMotherFeet;         int hMotherInches;         int hFatherFeet;         int hFatherInches;         int hChild;         int hMother;         int hFather;        //Prompts user for imput         System.out.print("Please enter gender for a child (ex. m,F): ");         cGender = keyboard.next();         System.out.print("Please enter the number of feet in father's height: ");         hFatherFeet = keyboard.nextInt();         System.out.print("Please enter the number of inches in father's height: ");         hFatherInches = keyboard.nextInt();         System.out.print("Please enter the number of feet in mother's height: ");         hMotherFeet = keyboard.nextInt();         System.out.print("Please enter the number of inches in mother's height: ");         hMotherInches = keyboard.nextInt();        //adds inches to the converted inches from feet         hMother = hMotherInches + ConvertToInches(hMotherFeet);         hFather = hFatherInches + ConvertToInches(hFatherFeet);        //takes parameters and based on gender points to formula to get childs height         hChild = GetChildHeight(hMother, hFather, cGender);        //Prints childs calculated height         System.out.printf("The estimated child height is %d'%d\".", (hChild / 12), (hChild % 12));     }      //method to convert feet to inches     public static int ConvertToInches(int feet)     {         return feet * 12;     }      public static int GetChildHeight(int mother, int father, String gender)     {         int child = 0;          if (gender.toUpperCase() == "M")         {                 child = ((mother * 13/12) + father)/2;                 }             else if (gender.toUpperCase()== "F")             {                 child = ((father * 13/12) + mother)/2;             }                 else             {             System.out.println("Invalid gender. Gender must be M or F.");                 System.exit(0);          }          return  child;     } }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


So, I've done some searching.. and still haven't found a solution for this. I'm not even sure what has caused it. There are no DYLD_ or LD_ flags being set at all, but I always see this when I open the terminal up.  dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid   Would definitely appreciate help with this.

Any time I open a new terminal window (independent of terminal app), the console stderr displays dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid before the first bash prompt.  The start of this error coincided with my install of 10.8.  How can I get rid of that message?  Below is my .bash_profile:  export PS1="\u@MBP:\W ->"  ## # Your previous /Users/segiddins/.bash_profile file was backed up as /Users/segiddins/.bash_profile.macports-saved_2012-04-19_at_21:00:04 ##  # MacPorts Installer addition on 2012-04-19_at_21:00:04: adding an appropriate PATH variable for use with MacPorts. export PATH=/opt/local/bin:/opt/local/sbin:$PATH # Finished adapting your PATH environment variable for use with MacPorts.


I want to write a bash script which takes different arguments. It should be used like normal linux console programs:  my_bash_script -p 2 -l 5 -t 20   So the value 2 should be saved in a variable called pages and the parameter l should be saved in a variable called length and the value 20 should be saved in a variable time.  What is the best way to do this?

Say, I have a script that gets called with this line: ./myscript -vfd ./foo/bar/someFile -o /fizz/someOtherFile  or this one: ./myscript -v -f -d -o /fizz/someOtherFile ./foo/bar/someFile   What's the accepted way of parsing this such that in each case (or some combination of the two) $v, $f, and  $d will all be set to true and $outFile will be equal to /fizz/someOtherFile?


In Python(2.7.6) I am trying to get lists out of some columns of a CSV file.  Given the CSV file test.csv with the content:  COL_ONE,COL_TWO,COL_THREE val_R1C1,val_R1C2,val_R1C3 val_R2C1,val_R2C2,val_R2C3 val_R3C1,val_R3C2,val_R3C3 val_R4C1,val_R4C2,val_R4C3   I expect the following code to do this for me:  import csv  reader = csv.DictReader(open("test.csv", "r")) col2 = list(c2['COL_TWO'] for c2 in reader) col3 = list(c3['COL_THREE'] for c3 in reader)   Unfortunately, when I print the two lists, col2 and col3, the second list is empty.  ['val_R1C2', 'val_R2C2', 'val_R3C2', 'val_R4C2'] []   This alternative has the same result:  reader = csv.DictReader(open("test.csv", "r")) col2 = [] for c2 in reader:     col2.append(c2['COL_TWO']) col3 = [] for c3 in reader:     col3.append(c3['COL_THREE'])   The workaround is easy:  col2 = [] col3 = [] for cval in reader:     col2.append(cval['COL_TWO'])     col3.append(cval['COL_THREE'])   I get what I would have expected in the previous two examples:  ['val_R1C2', 'val_R2C2', 'val_R3C2', 'val_R4C2'] ['val_R1C3', 'val_R2C3', 'val_R3C3', 'val_R4C3']   I would appreciate some help to understand what I am doing wrong. Why am I not getting the same results in all three cases?

When I'm moving through a file with a csv.reader, how do I return to the top of the file.   If I were doing it with a normal file I could just do something like "file.seek(0)".  Is there anything like that for the csv module?  Thanks ahead of time ;)


I noticed this small insect that probably measured 5 mm in length on my coat lapel. Not sure whether or not it had been inside or landed outside on my coat. Photos were taken in Nashville, Tennessee, USA in April. It was alone and I have never seen an insect like this one before. Just trying to figure out whether this bug is harmless or something that could be a problem. . Here is another photo taken of the same insect.

I found this insect inside of my shoe. It is approximately 1cm in length and less than half a centimetre wide. It was found in the Netherlands, in the province Gelderland.   Close shot     Distant shot    Upside down     What kind of insect is that?   Edit:   As @fileunderwater suggested: the question is "close" but not identical. I think that the suggested duplicate will only provide an identification of the family of the insect, but nothing more precise and specific. Therefore, the answers for the 2 questions vary.


I am doing some html encode in js.   Looks like that I don't want to encode letters and numbers.   export const encode = (str) => {   if (!str || str === '') return '';   var buf = []    for (var i = str.length - 1; i >= 0; i--) {     buf.unshift(['&#', str[i].charCodeAt(), ';'].join(''))   }   return buf.join('') }   This is how I encode.  Now, if character is a english letter, or france or russian letter, i don't want it encoded. So I think I am left with this: encode anything that is not letter/number and also [a-Z] regex mightn't be enough, because what if it's a russian letter? I wouldn't want it encoded.  Any regex idea?

How can I use Unicode-aware regular expressions in JavaScript?  For example, there should be something akin to \w that can match any code-point in Letters or Marks category (not just the ASCII ones), and hopefully have filters like [[P*]] for punctuation, etc.


hello i have up and running website for 3 months and for some reason i noticed that webmaster shows it indexing < 250.  i read some where that new domains with no history and backlinks have near zero DA and PR and thats the cause to low indexing limitation. my domain had no history before.  by the way, google crawled all of my website. 400+ pages. do u know the reasons for that?

This is a general, community wiki  question and answer pair intended to address any questions   concerning the reasons a site or specific site contents do not appear   in search engine results.      If your question was closed as a duplicate of this question and you   feel that the information provided here does not provide a sufficient   answer, please open a discussion on .   My site (or specific pages on my site) is not appearing in search engine results.  Why isn't my content indexed and what can I do about it?


When trying to install Ubuntu 18.04,  appears with a 'Couldn't get size' error when I pick Install Ubuntu from the grub boot menu.     As you can see my boot menu, there is no option for any nomodeset anywhere. After 10 seconds, again I got the black screen!     PC specs:    motherboard Intel i7 9700k 2x16GB Corsair RGB Pro Nvidia RTX 2080Ti Asus OC11 Samsung 970 Evo Plus 1 TB, NVMe, model   Samsung [860 Evo 500 GB] 2.5, model  MZ-76E500BW   Everything is up to date from BIOS settings to all firmware. I would like to partition my M.2 (currently running Windows 10) and run Ubuntu as soon as possible, but I don't know how to do that. Aside from that, is my Samsung 860 Evo going to be ready to use in Ubuntu as a second drive?

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


Newbie here learning Blender.   Could someone point out what i have done wrong? the measurement unit is not showing the correct measurement of the object, the width of the box is suppose to be 180mm but when i click on to show measurement its written there 500mm instead as you can see in the picture.

I just found out about the Mesh Display : Length feature in the "N" panel (thanks to ) that allows one to measure the length of a face or vertice.  But my first encounter with this tool gives me complex feelings of love and hate, see how, as I was trying to measure the aspect ratio of this TV screen, I am getting WIDTH = 20.33 and HEIGHT = 37.57.  These values seem awfully wrong, since my betrusted eyes tell me the height should be shorter than the width.    I have tried measuring the single vertices as well, to identical results.


i want to find out that the relationship between "return" and "finally" keywords. what is the execution order and what happens when exception occurs and return keyword is called after code block does some stuff, if there is two nested finally blocks as shown below,           try         {             try             {              }             catch (Exception)             {                 //do some stuff                 return;             }             finally             {              }         }         catch (Exception)         {          }         finally         {          }

I'm reviewing some code for a friend and say that he was using a return statement inside of a try-finally block.  Does the code in the Finally section still fire even though the rest of the try block doesn't?  Example:  public bool someMethod() {   try   {     return true;     throw new Exception("test"); // doesn't seem to get executed   }   finally   {     //code in question   } }


I recently upgraded a Windows 10 PC from 16 GB ram to 32 GB ram because I was often using the whole 16 GB and then the page file.  However, Windows doesn't seem to want to use more than 16 GB on this computer. Task Manager will usually show it using 15 GB. The other 17 is being used for cache - the ram can all be seen and used, this question is about how Windows is managing it.  If I'm using 15 GB and then I open a few memory hungry programs, ram use will peak at 17 GB or so, but then within a few seconds about 4 GB will be dumped to the page file, and the in-use ram will drop to 13-14 GB. It looks like there is a soft 16 GB limit somewhere that Windows is trying not to exceed.  Why would this happen, and how can I stop it so that I can make better use of my full 32 GB? I haven't seen "committed" memory go over 24 GB, so ideally all the data could be stored in ram and none in page.

I am using Windows 7 64 bit with 8G ram. After some use, I feel Windows is getting sluggish. The drive is thrashing. When I look at the resource monitor and disk activity, I see a few instances of use of the page file (c:\pagefile.sys). I check the physical memory and I see about 2.3G available memory and 700M free memroy.   Why doesn't Windows use more of the free memory and less of the page file? Does it need to leave some x amount of free ram, how much would that be? Is it a percentage of physical ram?  My plan is get more ram and an SSD for the main drive. Meanwhile I am suffering from slow performance.


There used to be a series of adventure puzzle books at the local library where I grew up, and I have been having a real hard time tracking them down.   SciFi was a constant theme. As far as I remember, the books always took place on alien planets, or some other SciFi setting. The books almost always involved having to escape from some sort of predicament. The books were non-linear. For example, you might be asked to pick a direction and flip to a differant page. You might be given multiple possible solutions to a puzzle, each one pointing to a differant page. This was a less common element, as these books were not of the "choose your own adventure" sort, however, if you took the wrong path you could die. The books were vivid in colour, and had particularly strange artwork (even for a SciFi book - though these were the impressions of a 10 year old boy). In one book, the hero crash lands on an uncharted alien planet. Throughout the pages, the hero points out the particularly odd and amazing creatures and phenomenon encountered on the planet. I remember one scene where the hero has to escape from some giant alien frogs. In another scene, the hero is presented with a sort of maze, with three exits. Two exits led to other pages, and could be played on until successful completion. One exit led to the hero dieing a grizzly death. I read these books in a library in Sydney, Australia. At the very latest, I would have read them up to 1999. As I previously stated, the books heavily featured interesting art work depictions of the scene and puzzle. As such, the books were fairly large - about as tall as an A4 page, but wider.

When I was little I remember getting these two books from the library.  Both books were paperback and flimsy.  The pages were wide.  Each book had full page illustrations with puzzles and mazes in them, but it was like you were immersed in this setting completely.  They were also like choose-your-own adventure books, but only in the way that you go through the book in a different order based on your results in the puzzles/games.    For example, there is a bridge to cross, or you can take this path.  If you choose to cross the bridge you go to page x.  On page x you have to pretend to cross the bridge but some planks are broken.  You can't skip more than a certain number of planks, but you also cannot "step" on a broken plank.  One book was in a jungle setting with rope bridges, alligators, quick sand, etc. The other was in space, with all kinds of aliens and weird stuff.  I have faint memories of these books but I REALLY want to track them down because I remember loving them.


Array (      [0] => 1      [1] => 2      [2] => 3      [3] => 4      [4] => 2      [5] => 3 )   This is my Array, I want to Remove all common value like 2,3 from this array.and to get Result like this.   Array (       [0] => 1      [2] => 4 )

How can I remove duplicate values from an array in PHP?


My computer is a custom-built machine, and I want to upgrade the motherboard, processor and RAM. I am running Windows 7 Pro on a volume license.  After I upgrade the motherboard, I want to use my same hard drive and don't want to reinstall everything.   But I am changing from an Asus motherboard to an MSI motherboard.  My HDD has drivers on it for the Asus.  After I change the motherboards and use the same HDD, will it still boot?  I don't want to reinstall Windows.  (This is sort of part two to )

I have a problem: today at work I was told that tomorrow afternoon I have to give my pc back and take a new one just arrived. It could be a good new, but I'm a developer and I use a lot of different software to work (Visual Studio, Delphi, Eclipse, Android, Apache, MySql, etc...) and I can't think about starting to reinstall and configure everything... usually it means one week lost... and some data usually get lost too with those migrations... So, is there any way I can use my current disk as system disk on new pc? I'm afraid because motherboard and cpu are completely different...  Is there something I could do to prepare "migration"? Any kind of Sysprep command so when Windows Seven boots start recognizing new devices without getting lost with previous ones?  UPDATE: Perhaps I've just found a suitable solution here:


I know I could simply not interact with it but I cannot not see what is most of the time irrelevant content to me. I am not interested in the "Hot Network Questions" list and I am glad that I can turn it off.  Could we have a similar option to hide "Featured on Meta"?    Please note that this isn't the same question as  - I am not asking how to do this via a user script but to have it as an option in the user settings page.    Addendum I  Don't get me wrong; meta sites are useful but I know where to find them when I need support or want to make suggestions.  Addendum II  Given the ongoing developments with SE & its community, I hope this feature request isn't seen as disrespectful to anyone involved. It certainly isn't my intention!

How do I hide just the "HOT META POSTS". I don't intend to engage much in the moderation of Stack Exchange sites, so most of the content is irrelevant to me, how do I hide it?  I looked into just adding a user style sheet filter based on the id or class of that element, but then the whole community-bulletin box gets hidden, which might hide important site level messages/broadcasts.   Specially since the DOM structure of the "HOT META POSTS" is not different than the "FEATURED ON META" section, i.e. both use same classes and no id is provided.


For example, I have 3 sentences like at below where 1 sentence in the middle contains citation mark (Warren and Pereira, 1982). The citation is always in bracket with this format: (~string~comma(,)~space~number~)     He lives in Nidarvoll and tonight i must reach a train to Oslo at 6 oclock. The system, called BusTUC is built upon the classical system CHAT-80 (Warren and Pereira, 1982). CHAT-80 was a state of the art natural language system that was    impressive on its own merits.   I'm using Regex to extract only the middle sentence but it keeps print all the 3 sentences. The result should be like this:     The system, called BusTUC is built upon the classical system CHAT-80 (Warren and Pereira, 1982).

I don't really understand regular expressions.  Can you explain them to me in an easy-to-follow manner?  If there are any online tools or books, could you also link to them?


Does a person make a profit when the bid price is higher than what was originally paid for the share? I know that you buy the ask, sell the bid, but if I ask to sell a share at a higher number than what I paid for it, especially if the share is appreciating in value, do I stand a higher chance at making a profit?

Stock A has a bid price of $100.08, an ask price of $100.10 and a last trade price of $100.  I take that to mean that if I buy the stock at $100.10 then I will have lost a total of two cents. How does a person make a profit when buying and selling stock?  Do I wait until the bid price is higher than the ask price that I paid? I hope that I don't confuse anybody because I'm pretty confused myself.


I want to ask 2 questions.  Question 1  Statement: If $a_n$ and $b_n$ are positive for all $n$, prove that $\limsup(a_nb_n)\leq(\limsup a_n)(\limsup b_n),$ provided the product on the right is not of the form $0\cdot\infty$  To prove this one, I set $\limsup a_n=\alpha, \limsup b_n=\beta.$  Then, $\exists n_0\in N s.t. a_n<\alpha+\epsilon$ for all $n\geq n_0$ and $b_n<\beta +\epsilon$ for all $n\geq n_0$.  So, $a_nb_n<(\alpha+\epsilon)(\beta+\epsilon)=\alpha\beta+(\alpha+\beta)\epsilon+\epsilon^2$  Since $\epsilon>0$ and is arbitrary one, I thought it is possible that $a_nb_n<\alpha\beta+\epsilon<\alpha\beta+(\alpha+\beta)\epsilon+\epsilon^2$. But I can't explain how it is possible logically.  Or I want to know if this is wrong approach.  Question 2  Statement: Let $a_n>0$ for all $n$. Prove that $\limsup \sqrt[n]{a_n}\leq \limsup {a_{n+1} \over a_n}$.  I can't handle this problem. Could you please give me some hints how to start the proof?

I´m not sure how to start with this proof, how can I do it? $$ \limsup ( a_n b_n ) \leqslant \limsup a_n \limsup b_n  $$ I also have to prove, if $ \lim a_n $ exists then: $$ \limsup ( a_n b_n  ) = \limsup a_n \limsup b_n  $$ Help please, it´s not a homework I want to learn.


I'm working on a current map and this is the only hitch I'm at so far. I know that I can do a testfor command with a command block to see if anyone is holding a specific item, but I also want to give the person that has that item on them, a new item. For example, if someone has a diamond on them, I want to be able to, through command blocks, find that person and give them a blaze rod. Appreciate all help!

I am trying to testfor a player holding a diamond sword named Notch's Legendary Sword. How can I do that? Who ever gets the best answer will be able to get the first look at my NEW adventure map!


My daughter is getting excited to be playing games with my wife and I. My issue lies in the fact that growing up (some time ago) I wasn't allowed to play games very often. Things change and I get that, so my core question is:  What games should I be introducing her to?  And  How do you introduce a five year old to gaming?

My son will be 4 soon, and he already enjoys playing a few educational games on my tablet or his mother's phone (he plays maybe as much as an hour a week).  I'm a gamer, and we've tried playing a few "real" games together, such as Mario Kart.    He doesn't grok controls very well.  We can show him specific combinations of controls, but he has trouble putting them all together, and invariably winds up getting stuck.  Once he gets stuck, it stops being fun for him, and he decides to do something else.  The answer may simply be "wait until he's old enough to figure it out on his own", but I'm not sure.  Should I be trying to teach him how to work the controls on video games?


In reading from the book, there's a peculiar definition of the phase, stating:  \begin{align}   K[a,b] &= \sum_{\text{All paths from $a$ to $b$}} \phi [x(t)]\\   \phi [x(t)] &= \text{const} \cdot e ^{\frac{i}{\hbar}S[a,b]}    \end{align}  Why is the phase defined this way? There is no reasoning in the book apart from the fact that this phase must be proportional to the action of the system for the said path. Can someone provide a more comprehensive reason than stated in the book?

In the book "Quantum Mechanics and Path Integrals" Feynman & Hibbs state that  the probability $P(b,a)$ to go from point $x_a$ at time $t_a$ to the point $x_b$ at the time $t_b$ is $P(b,a) = \|K(b,a)\|^2$ of an amplitude $K(b,a)$ to go from $a$ to $b$. This amplitude is the sum of contributions $\phi[x(t)]$ from each path. $$ K(b,a) = \sum_{\text{paths from $a$ to $b$}} \phi[x(t)]$$ The contributions of a path has a phase proportional to the action $S$: $$ \phi[x(t)] = \text{const}\ e^{(i/\hbar)S[x(t)]}$$  Why must the contribution of a path be $\sim e^{(i/\hbar)S[x(t)]}$? Can this be somehow derived or explained? Why can't the contribution of a path be something else e.g. $\sim \frac{S}{\hbar}$, $\sim \cos(S/\hbar)$, $\log(S/\hbar)$ or $e^{- (S[x(t)]/\hbar)^2}$ ? Edit: I have to admit that in the first version of this question, I didn't exclude the possibility to derive the contribution of a path directly from Schrödinger's equation. So answers along this line are valid although not so interesting. I think when Feynman developed his formalism his goal was to find a way to quantize systems, which cannot be treated by Schrödinger's equation, because they cannot be described in terms of a Hamiltonian (e.g. the Wheeler-Feynman absorber theory). So I think a good answer would explain Feynman's Ansatz without referring to Schrödinger's equation, because I think Schrödinger's equation can only handle a specific subset of all the systems that can be treated by Feynman's more general principle.


If this is too broad a question, I'm sorry.  I'm looking for some solved exercises in  to get some practise using it. Do you have any suggestions?

Background: This year I'll do another Group Theory course ( Open University M336 ). In the past I have used Mathematica's AbstractAlgebra package but (although visually appealing ) this is no longer sufficient (i.e. listing subgroups of $S_4$ takes ages). So, I want to learn more about GAP. I worked through beginner tutorials that I found via the . Currently, I am not making much progress with GAP. The  does not help me much at this stage.  Question: Which resources are available to self-study GAP? How does one become proficient in GAP? What ( books, tutorials ) should you study?


Can somebody explain why equation (6.3) and (6.4) are shown in the book and what the author is trying to say?   It feels to me that I am reading the text but I don't think I getting the true meaning that the author is trying to say.  I am reading the book, "Doing Bayesian Data Analysis" and the page is "127".

Disclaimer: I'm not a statistician but a software engineer. Most of my knowledge in statistics comes from self-education, thus I still have many gaps in understanding concepts that may seem trivial for other people here. So I would be very thankful if answers included less specific terms and more explanation. Imagine that you are talking to your grandma :)  I'm trying to grasp the nature of beta distribution – what it should be used for and how to interpret it in each case. If we were talking about, say, normal distribution, one could describe it as arrival time of a train: most frequently it arrives just in time, a bit less frequently it is 1 minute earlier or 1 minute late and very rarely it arrives with difference of 20 minutes from the mean. Uniform distribution describes, in particular, chance of each ticket in lottery. Binomial distribution may be described with coin flips and so on. But is there such intuitive explanation of beta distribution?    Let's say, $\alpha=.99$ and $\beta=.5$. Beta distribution $B(\alpha, \beta)$ in this case looks like this (generated in R):     But what does it actually mean? Y-axis is obviously a probability density, but what is on the X-axis?   I would highly appreciate any explanation, either with this example or any other.


1) If I connect my mobile charger to a wall socket and it is switched on, but I don't connect my mobile to the charger, does the charger still use electricity?  2) If I connect an extension box to a wall socket and connect my mobile charger to my extension box, but again I don't connect my mobile to the charger, does the charger still use electricity?  I want to make sure my electricity bill is not going up.

The title pretty much sums it up... Hyperbole aside, how much actual power is consumed by a typical wall wart when the device it's attached to isn't powered on? And are there designs for wall warts that minimize or eliminate this sort of parasitic load?


I have checked that Mysql Database,Table, and Column Collation is set to utf8_general_ci.   The mysqli connection is set the utf8  Here is the code:   private function __construct () {     if(! $this->mysqli =  new mysqli('localhost', 'root', '', 'game') ) {             $this->errors = $this->mysqli->connect_error;             mysqli_set_charset($this->mysqli, "utf8");     } }   But when I insert some arabic characters then it's showing me this: Ø Its should be arabic character. How can I solve it?

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


Is there anyway to undo/ delete a git push and hide the content from commit message? I know how to do a git revert HEAD, but that still shows the pushed code before, any better way to fix this?

I "accidentally" pushed a commit to GitHub.  Is it possible to remove this commit?  I want to revert my GitHub repository as it was before this commit.


I am facing a scenario where an agent can see 4 cases in the omni channel. The agent can not see if there are any pending cases in the queue unless the agent closes one case down from four. Simply, i want the agent to see if there are any pending cases in the queue if the case number exceeds 4.  is there any ways to overcome this issue?

I have a requirement to get the number of pending chat request in the omni channel.  I have set the presence configuration capacity to 5 so that an agent can have only 5 chat requests. if a case is solved agent will get one of the pending chat request. But right now i can't see the number of pending request.     Lets say i have 10 pending request in the queue, but i don't have any numbers to see how many are pending in the queue.   Is there any way that can show the pending chat requests in the queue?


I have learned how to retrieve data from a database to a single page by using a form, so I would not need to create many pages to show the elements of a catalog. The concern that I have is how to make this database content available for search engines.   I have read that I need my site to generate different URLs for each search result, but in my test, the webpage always has the same URL without any additional parameter. I know that sites like Facebook and similar generate particular URLs for each profile and they are indexed, but I don't know if "physical" files exist for them or how this is done. I have read similar questions to this, but still can't figure how to generate the URLs.

I have a very stupid question. I developed a website that has only one page at the public html directory(index.php).  all content are dynamically loaded as different pages.   How can i SEO my pages for google?  i mean like the what we type in this site are .............i believe stored in database and search engine find these pages like any static pages...  Just a little tip would be appreciable.......!


This question is related to Xeno's paradox, and to the discrete/continuous time debate, but it comes from a slightly different angle.  If the answer is infinitely many, why would this not be a contradiction of the law of conservation of information, in that each of the infinite moments could be said to contain different coordinate information regarding the position of any moving object which would mean the universe contains uncomputable infinite information?  Also, doesn't the truth of relativistic curved spacetime making clocks tick differently in different parts of space mean that the divisibility of time passing changes where effected by gravity, i.e. it isn't infinite everywhere?

I was coding a physics simulation, and noticed that I was using discrete time. That is, there was an update mechanism advancing the simulation for a fixed amount of time repeatedly, emulating a changing system.  I though that was interesting, and now believe the real world must behave just like my program does. It is actually advancing forward in tiny but discrete time intervals?