JSON still showing NULL even after making changes to utf8mb4 - what am I missing?

In essence, my JSON is printing NULL for fields that contain a special character.  I have read around the subject and followed the duplicate question, as well as other threads, one post in particular highlighted that I need to do the following:  If you're using mysqli, you can call set_charset(): $mysqli->set_charset('utf8mb4');       // object oriented style mysqli_set_charset($link, 'utf8mb4');  // procedural style If you're stuck with plain mysql but happen to be running PHP ≥ 5.2.3, you can call mysql_set_charset. If the driver does not provide its own mechanism for setting the connection character set, you may have to issue a query to tell MySQL how your application expects data on the connection to be encoded: SET NAMES 'utf8mb4'.  I have done this as documented in the openConnection() function as below in my connection script:  <?php  ini_set('display_errors', 1);  ini_set('log_errors',1);  error_reporting(E_ALL);  mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);  class MySQLDao{  var $dbhost = null; var $dbuser = null; var $dbpass = null; var $conn = null; var $dbname = null; var $result = null;  public function __construct(){     $this->dbhost = Conn::$dbhost;     $this->dbuser = Conn::$dbuser;     $this->dbpass = Conn::$dbpass;     $this->dbname = Conn::$dbname; }  public function openConnection() {      $this->conn = new mysqli($this->dbhost, $this->dbuser, $this->dbpass, $this->dbname);     if (mysqli_connect_errno())         echo new Exception("Could not establish connection with database"); mysqli_set_charset($this->conn, "utf8mb4"); }   I have been through my database in phpMyAdmin and converted all my collations to ut8mb4_bin.  I have put in the mysql_set_chars line as suggested, and I have also changed all of my tables to utf8mb4 through this type of command ALTER TABLE teams CHANGE name name VARCHAR(191) CHARACTER SET utf8mb4 COLLATE  utf8mb4_unicode_ci;  These are my database setting from phpMyAdmin:     My web server details are   Apache   Database client version: libmysql - 5.0.77   PHP extension: mysqli Documentation   PHP version: 5.3.3   Yet none of this has fixed my problem.  My character_set_server is displaying as latin1, could this be the issue?  +--------------------------+--------------------+ | Variable_name            | Value              | +--------------------------+--------------------+ | character_set_client     | utf8mb4            | | character_set_connection | utf8mb4            | | character_set_database   | utf8mb4            | | character_set_filesystem | binary             | | character_set_results    | utf8mb4            | | character_set_server     | latin1             | | character_set_system     | utf8               | | collation_connection     | utf8mb4_unicode_ci | | collation_database       | utf8mb4_unicode_ci | | collation_server         | latin1_swedish_ci  | +--------------------------+--------------------+  I am at a loss at what else to try.


Why when I Try to create a folder whith name = nul i get the following message:     the specified device name is invalid


Do photons experience every moment in time and position in space simultaneously?

Would it be more correct to say that a photon, traveling at the speed of light, would experience all points in time simultaneously, and therefore be everywhere at once?  It might be just our perception that seems to portray them as moving?


How to limit Apache sub-process memory usage?

— Yeah, just that simple question. It's too easy to consume a lot of RAM in brain-dead mod_XxX (say, mod_php) application, so I'm just wondering what does Apache allow to do as countermeasure.


A dash or ellipsis when someone doesn't finish their sentence?

The speaker, in their stupefaction, leaves the sentence trail off. Would it be:  What on earth...?!  Or:  What on earth--?!  Thank you kindly.


Recently I installed Ubuntu 15.04. It's really fantastic but I don't want to use the GUI. I want to practice commands.  How can I make Ubuntu CLI only?


A basic question on Poisson random variable

Given a Poisson random variable $X$ with parameter $\lambda$, I want to write $X=X_1+X_2$ where $X_i$s are independent Poisson random variables with parameter $\lambda_i$s such that $\lambda=\lambda_1 + \lambda_2$  I understand this intuitively. But given only a function from $\Omega \to  \Bbb R$ how to write these two functions


Does Hulk have magically expanding shorts?

When Banner transforms into Hulk there's usually some shirt-shedding involved, as  demonstrates. Watches, shoes, belts etc. are similarly ripped off. Yet Hulk always seems to be able to keep his shorts, no matter how much he expands.  Obviously, I can appreciate the pragmatic, out-of-universe reason why the comic creators and the film-makers wouldn't want a starkers Hulk running about. Is there any in-universe explanation for why Hulk rips everything apart from his shorts?  Answers from either the films or the comics are fine (though I confess I'm not at all familiar with the latter).


Is it correct to say 'a very great refrigerator'. Isn't just 'a great refrigerator' enough? Should we use 'very' before 'great' as in a very great man, or is it 'a great man'. Why? Thanks. sundaresh


Cross-thread operation not valid: Control 'addressbar' accessed from a thread other than the thread it was created on

private void browser_LoadingStateChanged(object sender, LoadingStateChangedEventArgs e)     {         addressbar.Text = browser.Address;     }  I have no idea why this is breaking.


My new Ubuntu Dell laptop version 12.04 is not playing videos.   I get the error message,  mpeg-4 aac codec not installed   I can't install the ubuntu-restricted-extras package  Here is the error message:  -Vostro-3546:~# sudo apt-get install ubuntu-restricted-extras Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package ubuntu-restricted-extras   I get the same error when I try to install any package.


I have win10 (M2SSD)and ubuntu 18.04 (SSD) installed on separate hd, when I boot ubuntu, the time is correct as I have adjusted during installation, then I shot down ubuntu, and start with win 10 after boot up the time is Greenwich time. It is annoying to re correct the time after using ubuntu... Any specific suggestion? (not interested in blog suggestions) Best regards cyberdude...


The articles. A sentence about introduction of something

Which articles should I use in sample sentence below?  I prepared a/the guide about component installation. Please, check it by a/the link http://... on a/the page 15.


I'm fairly new to Blender and 3-D modeling in general.  I created my first model and was pretty proud of it.  However, when I finally thought about it and noticed it, I decided 400,000 faces may have been a few too many.  So to my question:  Does anyone have a basic set of rules and/or a guide they follow as they model that will help lead to proper technique and efficiently rendered models? Triangles vs Quads, when to (and not to) subdivide/subsurf, is there anything wrong with making a high-res version and decimating/shrinkwrapping after it's done?    Like I said, I'm a beginner so I want to make sure I'm doing things correctly and won't be forming a bunch of bad habits I will have to correct later.  So a step by step workflow, or tips on things to avoid, etc.  I've been doing a lot of research, but haven't found this type of information broken down well.  I don't necessarily need a large amount of detail - just a basic list to act as a guide of more things to research as I model.  (It is worth mentioning that most of my models will be used in a realtime application, so I am aware I have to get my polycount WAY down)


I've heard that one of (maybe the only?) secret races in this game is a werewolf.  How do I become a werewolf?  And by extension, how do I cure lycanthropy, that is, if there even is a cure?


Why do extract recipes call for a late addition of the bulk of the extract?

My recipe calls for a pound of DME at the beginning of the boil and 6 pounds at 15 minutes to go.  What's the point of that?


I am trying to write an essay which is a couple of pages long I have 10 pages including the first page but I want it to not say a page number on the first page and on the second page say  "Page 1 of 9" how do I reflect this behaviour in Word 2007?


I am new to Latex ;) I split my equation like this:  \begin{equation} \begin{split}     \tilde{m}=P\tilde{M} \\     \quad = K(R^1R^2R^3t) \begin{pmatrix} X \\ Y \\ 0 \\ 1 \end{pmatrix} \\     \quad= K(R^1R^2t)\begin{pmatrix} X \\ Y \\ 1 \end{pmatrix} \\     \quad= H \begin{pmatrix} X \\ Y \\ 1 \end{pmatrix}  \end{split} \end{equation}   which gives me this:   but, actually, I want it to be aligned like this:   How do I align them so it looks like the right side is always aligned?  Thanks


Because of past conflicts, I don't believe my advisor will write me a good LOR for postdoc positions. What should I do?

How essential is having my advisor's letter for post doc application?   I had a pretty bad relationship with my advisor for more than 4 years since I joined his lab and sometimes the relationship feels like slow inflammation that can easily flare up. We had very different opinion on how I want to approach my thesis and we argue very often on the experimental approach and the angle of attack. After that, he turned passive aggressive and completely hands-off. I noticed that he started slow to response to my email and given me very small amount time for meeting in comparison to other people in the lab. However, I proved to him that my approach was right and wrote the full paper myself and got published.   Recently, I got contact by a post doc employer who interested in my own work and request letter of recommendation. I asked my advisor for letter and he told me that I should write my own from which he can modify. I feel this is quite strange as he had wrote for all the other people in the lab, including a departing post doc who is currently interviewing for job. He told me he had done the same for other people but obviously he lied to me.   I further asked if he can provide me a copy of a completed version of the recommendation but he refused.   My question is should I still trust him to write my letter and is it essential? This post doc position is a great opportunity for me and either way I do is a big gamble.  Update: I decided to let my advisor wrote a letter for me and I think I may have made a big mistake. Since he wrote my letter, I asked the post doc lab head if my letter is completed and I no longer be able to hear back from him. Before that, he was quick to response to my email and showed great enthusiasm. As an insurance, I use one opportunity I have less desire to as bait to test the water and I still have one more shot at another position I really want.  Now, I'm thinking requesting open letter from advisor from now on for any future position or use letter service to check the letter.   Any suggestion? Thanks.  update: Great news! Got interviewed and offered at top ones! Thanks everyone!


Is it possible to ferment milk Kefir using water Kefir liquid?

Can I add water Kefir to cow milk to ferment milk Kefir?


Where does the half of Potential energy go?

We have the formula for elastic energy stored in a spring to be 1/2*Force*extension.  When we have an object on a vertical spring,  then the energy gained should be 1/2*mgh.(h is extension produced)  The loss of Potential energy by the mass seems to be mgh. But shouldn't loss of potential energy by that object equal gain in elastic potential energy?  Here,  only half of original Potential energy is converted to elastic potential energy.  Where did the rest of energy go?


$("#dataTable tbody").on("click", "tr", function(event){     alert($(this).text()); });   is this syntax is for tr's which are already on the Page ?  and if not , What is the syntax for future tr's  elements ?


ORA-01745: invalid host/bind variable name using ORACLE

With my below debugged query, I got error as      ORA-01745: invalid host/bind variable name   Here is the query,  SELECT DISTINCT sv.mkey,   vehicle_no,   TO_CHAR (date_in, 'dd-MM-yyyy')   || ' & '   || time_in vehicleindate_time,   TO_CHAR (date_out, 'dd-MM-yyyy')   || ' & '   || time_out vehicleoutdate_time,   gate_no_in   || ' & '   || gate_no_out ingate_outgateno,   gd.good_type goods_type,   net_weight netweight,   TO_CHAR (challan_date, 'dd-MM-yyyy')   || ' & '   || challan_no challandate_no,   remark_in remarkin,   NULL receipt_no,   date_in FROM xxcus.xxgid_supinv sv,   xxcus.xx_supinv_goodtype gd,   xxcus.xxacl_xxgid_user_mst ms WHERE (gd.good_type_code(+)         = sv.good_type) AND ( sv.project_id                 = DECODE(:'  1368','0', project_id, :'1368') AND TO_CHAR (date_in, 'dd-MM-yyyy') = DECODE(:'  ', '0', date_in, :'  ') AND vehicle_no                      = DECODE(:'  GJ-06-0Z-9202', '0', vehicle_no, :'  GJ-06-0Z-9202') ))  AND sv.delete_flag = 'N'  ORDER BY date_in DESC, vehicle_no   I am using ORACLE. I don't know what's the error. I am not much into i. Kindly suggest.  UPDATE  my code of query  strquerry = "SELECT DISTINCT sv.mkey, vehicle_no, TO_CHAR (date_in, 'dd-MM-yyyy') || ' & ' || time_in vehicleindate_time, TO_CHAR (date_out, 'dd-MM-yyyy') || ' & ' " +                  "|| time_out vehicleoutdate_time, gate_no_in || ' & ' || gate_no_out ingate_outgateno, gd.good_type goods_type, net_weight netweight, TO_CHAR (challan_date, 'dd-MM-yyyy') " +                  "|| ' & ' || challan_no challandate_no,remark_in remarkin, NULL receipt_no, date_in FROM xxcus.xxgid_supinv sv, xxcus.xx_supinv_goodtype gd, " +                  "xxcus.xxacl_xxgid_user_mst ms WHERE (gd.good_type_code(+) = sv.good_type) AND ( " +                  "sv.project_id = DECODE(:'" + cmbProjectName.SelectedValue + "', 0, project_id, :'" + cmbProjectName.SelectedValue + "') " +                  "AND TO_CHAR (date_in, 'dd-MM-yyyy') = DECODE(:'" + txtdatefilter.Text + " ', '0', date_in, :'" + txtdatefilter.Text + "') " +                  "AND vehicle_no = DECODE(:'" + ddlVehicleno.SelectedValue + "', 0, vehicle_no, :'" + ddlVehicleno.SelectedValue + "') " +                  ")) AND sv.delete_flag = 'N' ORDER BY date_in DESC, vehicle_no";


java code demonstrating primitive and reference types

I am learning java and in my learning material I found the following question:     You are creating an application that includes a number of methods. These methods will change the values of both primitive and reference variables passed in as arguments. Which statement best describes the effect that changes made in the method will have on the original variables? Choose the best option(s) from those listed below.   The question is whether the value reference type can be changed, and the answer is no. But could anyone help with showing a code which demonstrates this behavior? Thank you


Python substring square parenthesis don't accept variable

I'm trying to run a script that takes a long series of numbers and checks them 4 at a time, so I'm using a for in range(0, len(stringOfDigits), 4): checking the string of numbers using the variable of the loop:  for i in range(0, len(stringOfDigits), 4):     currFour = stringOfDigits[i:4]     print("Current 4 being checked are")     print(currFour)   But if I try to run it, it just pastes empty rows and exit the script like it's done.  What's the problem? Do strings accept variables when substringing? If not, what can I do to achieve the result I want?


Understanding $1$-line proof that if $V$ is irreducible $\mathbb{C}S_n$-module, then $\operatorname{res}_{S_{n-1}}V$ is multiplicity free?

I'm having trouble understanding a terse proof of a theorem.  Theorem. If $V$ is an irreducible $\mathbb{C}S_n$-module, then the restriction $\operatorname{res}^{S_n}_{S_{n-1}}V$ is multiplicity free. Proof: The centralizer of $\mathbb{C}S_{n-1}$ in $\mathbb{C}S_n$ is commutative.  I know how to show that the centralizer above is commutative, but I don't see the connection with the restricted module being multiplicity free. I know that a criterion for a $\mathbb{C}G$-module to be commutative is that its endomorphism algebra be commutative. Is $\operatorname{End}_{S_{n-1}}(\operatorname{res}^{S_n}_{S_{n-1}}V)$ seen to be commutative somehow using the fact that the centralizer is commutative?


Why can't certain programs (like readlink) take input from a pipe?

I have a symbolic link to a script in my $PATH whose file I wanted to edit.  I forgot the filepath, so I tried to do the following:  $ which my_script_link | readlink   I expected that to output the filepath, but instead it output  > readlink: missing operand > Try 'readlink --help' for more information   I have seen similar behavior before in other situations (like trying to pipe a list of files into vim for editing).  I know there are workarounds, like a subshell readlink $(which my_script_link), but I want to understand why piping doesn't work the way I think it should in this situation.  Thanks!


If a mass moves close to the speed of light, does it turn into a black hole?

I'm a big fan of the podcast Astronomy Cast and a while back I was listening to a Q&A episode they did. A listener sent in a question that I found fascinating and have been wondering about ever since.   From the show :      Arunus Gidgowdusk from Lithuania asks: "If you took a one kilogram mass and accelerated it close to the speed of light would it form into a black hole? Would it stay a black hole if you then decreased the speed?"   Dr. Gay, an astrophysicist and one of the hosts, explained that she'd asked a number of her colleagues and that none of them could provide a satisfactory answer. I asked her more recently on Facebook if anyone had come forward with one and she said they had not.  So I thought maybe this would be a good place to ask.


command not running in cron (systemctl suspend)

I have this cronjob set :  * * * * * /usr/bin/systemctl suspend   And it is not working. But I can run it in a shell and it works. I don't understand what could be not working.  EDIT Redirecting error output to /tmp/error gives this :  Failed to issue method call: Access denied Failed to issue method call: Access denied   My question is then : Are cronjobs run as a special user (cron for example), which would explain that my user can run the command, but not cron itself?  Additional explanation :   This is a minimal example to show a problem I have in a script (that makes more sense than the single command provided here) systemctl is part of systemd. I think reboot, shutdown, suspend are working with a non-root user with systemd. Anyway, it is working on my system. Finally, I use Arch Linux and /bin, /usr/sbin, /sbin are all symlinks to /usr/bin.


What the heck have I done to my Excel sheet (and how to undo it)?

I have a lot of Excel sheets for all sorts of things - but none has ever acted up like this one here:    This used to be a totally normal Excel 2007 sheet which I was able to resize, maximize etc. - but not anymore. The MDI child window is fixed, both in position and size. I cannot move it around, more can I maximize it to use the full size of the screen anymore. I cannot double-click on it's title bar to maximize it either :-(  What happened? What can I do to "undo" whatever I did to it.  Any ideas? I tried to share / undo sharing, I tried to protect / unprotect the sheet - nothing seems to work...


What do you call “I'll not feed you by my own hand” in English

I don’t know how to describe this properly. I just translated what description to English that I use in my native language (Bangla/বাংলা) The situation is like this: Some people always need others’ help to do things. They seek help for every little step. If you aggregate the help, you'll find that they didn't do anything by themselves. They got someone to help them to do every small task. For example, Robert asks Andrew how to post question on . Then he asks where to type the title even though the Title input label is seen very clearly. After that Robert will ask “Hey Andrew, Could you tell me some good title sentences that I can put here?” It goes on. Robert is not actually asking questions. He is asking for so many details that it makes Andrew do the whole task. My question is how to tell Andrew, “I can not feed you every time by my own hand”? Is there any single word? Any idiom?


How to opposite Select From a Bit Value in SQL without Use Case when

I Want to Select opposite  Value of AbsenceStatus in tsql ,      AbsenceStatus DataType is Bit   SELECT      [Date],     NOT(AbsenceStatus) As IsWorkday  FROM      tkp_DailyStatistics


To collect someone from or to pick someone from?

What is more natural to say: To collect someone from reception (airport, train station, waiting room) or to pick someone from reception? Or is there something more appropriate?  What would a receptionist say to someone having an appointment: "Please, take a seat; someone from company ABC is on the way to collect (?) you". I heard that sentence so many times, and still, it's hard to believe, I cannot remember what the phrase is!?  Collect is typically used to collect a thing: a parcel from a post office. Could it also apply to humans?  To pick has several unwanted connotations too: to pick a girl, to pick on someone, to pick a target (sniping in game) etc..


How do I add a new program to the Start Menu?

I just added the latest version of the Eclipse IDE to my computer. Eclipse is distributed as a ZIP file, so I unzipped it into a directory in C:\Program Files like I've done for past versions of Eclipse. However, I also like a shortcut in the start menu. I don't see a way to make that happen.  After I extract the ZIP, one of the files is eclipse.exe. What I've done in the past is to right click on this file, create a shortcut, and drag it into the start menu's All Programs section and it lives there. When I do that in Windows 10, I get an icon that indicates that I can't drop it there (there's a red circle with a slash through it).  I then tried to pin the application to the start menu using the right click menu. It's not what I'm looking for, though:    I then found  and follow that instructions. I made a shortcut on the desktop to the application and then copied that shortcut into %appdata%/Microsoft/Windows/Start Menu/Programs:    However, the result was identical to right clicking and pinning to the start menu - not what I want.  I don't want the Eclipse icon in the section on the right. I want it to appear in the section on the left, where Dia, Eclipse Luna, and other apps are listed. The three obvious solutions don't appear to give me what I want.  How do I do this?    As of 7 Sept 2015, I'm running Windows 10.1 Build 10240 and I still have this issue. I've tried the advice posted in the answers - putting the shortcut to the executable in the %appdata%\Microsoft\Windows\Start Menu\Programs and C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ directories, yet no success getting the desired result.  I did try something new. I went to %appdata%\Microsoft\Windows\Start Menu\Programs (where the Eclipse Process Framework and Eclipse Luna shortcuts are located) and made a new folder called Eclipse. This folder appeared in the Start Menu. I copied the Eclipse Process Framework, Eclipse Luna, and Eclipse Mars shortcuts into this folder. The end result was this:    Again, not what I was expecting to happen. The Eclipse Process Framework and Eclipse Luna icons went into the new folder, which is good. The Eclipse Mars icon stayed on the side, where I don't want it.  This is what the folder structure looks like:      I'd be curious to know if this is an issue that may be resolved in a later build. Unfortunately, I do like some level of stability, so changing to one of the other release streams isn't going to help me. But if someone can point to this being a known issue that has been confirmed as resolved in a later build, I'd be willing to accept that answer once the build flows out to the main release stream.


When I use chromium-browser this happen   $ chromium-browser [15136:15170:0301/012914.214743:FATAL:nss_util.cc(631)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped)   I found that this might help, but it did not work:  $ chromium-browser --disable-extensions [15208:15242:0301/013019.381998:FATAL:nss_util.cc(631)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped)   When I use launcher the icon shows in the dock, then disappears.


I've been trying, in vain, to search the forums for real solutions to using LaTeX on an Android Tablet (Possibly because there is no real solution).  My question is basically, how much of the standard LaTeX features can be carried out, using the LaTeX software currently avaliable (VerbTeX, LiveTeX as far as i googled).  Currently i am using TeXmaker + MiKTeX on my laptop. What I want to be able to do, is open all the same files on my tablet, create new files and edit old files, as well as being able to install the packages I am also using laptop - On my new tablet. (Document classes, .sty, .tex, .cls, .bib etc.)  Are there any apps via the android playstore currently available that will make this possible ?  If this has already been discussed over and over, I apologize for not being able to find it.


How to get graphics to open then execute command script in C#

Hello Stack Overflow community,  I have taken up the project of making an installer/launcher for a game I am working on, and I have currently run into an issue, I want the installer to open in the center of the screen resolution, with the base UI, which looks like:    The Label in the center named "MainText" is preconfigured to say "Configuring", there is also a hidden label in the corner named "label1" for debugging purposes.  The code I currently have inside of the MainForm.cs so far is below, the "programpath" refers to current directory in which the application is inside of.  public MainForm()     {         //Open Window         InitializeComponent();         //placeholder song         System.Media.SoundPlayer player = new System.Media.SoundPlayer(programpath+"\\GTA 4 Loading Screen Normalized No intro.wav");         player.PlayLooping();         //newLaunch();         }          void newLaunch(){         File.Create(programpath+"\\FirstLaunch.lic");              MainText.Visible=true;             MainText.Text="Configuring Machine....\nInstalling DirectX";                 Process.Start(programpath+"\\dxwebsetup.exe");             label1.Text=programpath+"\\dxwebsetup.exe";         }   However, if I uncomment "newLaunch()", the dxwebsetup application opens, then the actual UI opens with the MainText stating "Configuring Machine....Installing DirectX", and label1 saying the location of the installer.  How do I make the UI for the application itself appear then start running the code after....similar to an actual installer, however still being completely autonomous, and installing everything on it's own.


How to retain back to the last permission of file or directory

I have accidentally changed the permission of a file now I want that file to back to the last permission state but how to do this? Is there any procedure or tool or any command line script which keep tracks of all permission list of a specific folder OR We can see the numeric permission on context menu and also to set back to it's last permission? Please suggest how to do it. update I know the alternative and basic approach: check the permission first and then set back.


Does $G\oplus G \cong H\oplus H$ imply $G\cong H$ in general?

In , The Chaz asks whether $G\times G\cong H\times H$ implies that $G\cong H$, where $G$ and $H$ are finite abelian groups. The answer is to his question is yes, by the structure theorem for finite abelian groups, as noted in the answer by Anjan Gupta.  Even though I don't know the first thing about categories -- except for the things that I do know -- I'm wondering if and how such property could be expressed and proven in terms of universal properties, without actually manoevring inside the objects. For instance one may attempt to create a morphism $G\to H$ somehow appealing to the universal property of $\oplus$, and subsequently show this morphism is an isomorphism by chasing diagrams. But it seems likely that the existence of a structure theorem of some sort will be required.  This question may be considered trivial or weird for someone who's fluent with categories, I don't know.  contains quite a few references. I haven't really worked through any of them (yet) but I couldn't find anything helpful at first sight.  -- edit, So a more precise title would have been "Under what conditions that can be expressed in a universal way does $G\oplus G\cong H\oplus H$ imply $G\cong H$ ?" but I don't like long titles.  -- edit2, By the comment by Alexei Averchenko, maybe It's more natural to ask this question with the product instead of the coproduct. An answer to my question with the 'real' product would be appreciated too, obviously.


Is it possible to format an HTML tooltip (title attribute)?

Is it possible to format an HTML tooltip?  E.g. I have a DIV with attribute title="foo!".  When I have text-size of my browser zoomed in or out in, the text size of the tooltip remains unchanged.  Is there a way to make the tooltip font scale with the browser setting?


Quotient Ring is Isomorphic to product of fields

Consider the quotient ring $R=\mathbb{Q}[x]/\langle x^4-1\rangle$. Prove or disprove the following: $R$ is isomorphic to a product of fields.   I'm new to learning algebra, but usually in questions regarding quotients of groups or rings, a standard technique is to consider the ideal in question (or subgroup) and demonstrate it to be the kernel of some surjective homomorphism, and then applying the First Isomorphism Theorem. In the context of rings of polynomials, I have often found useful to use evaluation homomorphisms, but I am stuck here.  One more fact I know is that if $p(x) \in F[x]$, where $F$ is a field, and we have that $p(x)$ has a root lying outside the field, say $\alpha$, then $F(\alpha) \approx F[x]/\langle p(x) \rangle$, where $F(a)$ is the field obtained by adjoining $\alpha$ to $F$. I don't know how this fact is helpful here. The roots of the given polynomial are ${1, -1, i, -i} \in \mathbb{C}$.


This book reads very well.  The usage of the verb read is unusual. Because it doesn't say here that the book reads something, but someone reads the book. Can you give me a hint what is this grammar point called? Can I say these?  This story tells very well. This wine drinks smoothly. This show watches well.


Install latest version of Unity in ubuntu 12.04

Is there anyway I can install the latest Unity (used in Ubuntu 13.04) in Ubuntu 12.04? I do not want to upgrade my super stable 12.04 just to get the Unity.


Fantasy novel identification - greasy smoke precedes death

I'd like to identify a fantasy novel I read, probably somewhere from the mid eighties to early nineties.  One problem is that I have read a lot of fantasy novels and it is highly likely that I will conflate parts of several novels if I say too much.  So, here is the one thing I remember that I want to know the story for:  A character on a quest of some sort got ill.  He had a cough that was accompanied by greasy smoke coming from his mouth.  He eventually died because of this.  Here are some other things that I believe came from the same story, but I cannot be sure.   Swords and sorcery story. The ill man and his party were travelling by boat at the time. The character was a villager (possibly a farmer or blacksmith). He was a major character, or at least a long standing character. As the illness progressed he may have had mushrooms appear on his tongue.   Thanks in advance for any help working this one out!  Rotty


Joining two tables and getting the most recent records for a given name

I have a system which inserts records in to two tables (Oracle db but this is a general SQL question I guess):  Person table and Person_Record table (one to one relationship)  The Person table has a date of when it was inserted, which is important later on.  What to query is: A join between the two tables but only give me the most recent data for a given person. For example:  Person Table ID| Name |   Date -------------------------- 1 |  A   | 2012-05-01 2 |  A   | 2012-05-02 3 |  B   | 2012-05-04   Person Record Table ID| Person_Id |   Data -------------------------- 1 |  1   | my data 1 2 |  2   | my data 2 3 |  3   | my data 3   If I do:      SELECT pr.record_id, p.person_name, FROM PERSON p     INNER JOIN PERSON_RECORD pr         ON (p.person_id = pr.person_id)   I'll get 2 rows back for the person with the name 'A' and 1 record back for 'B' but I don't care about the first row for person 'A' (from 2012-05-01). I have tried using distinct to get rid of duplicates (on the name) but I need a guarantee that I'm getting the most recent date for that particular name. Feel like I'm missing something obvious but I can't get it to click.


I overstayed my visa in the UK and tried to beat the system by getting an emergency visa for my voluntary exit. After I returned to Nigeria, thinking I was smart, I used forged immigration stamps on my passport and this was discovered by the ECO when I made a fresh application in 2008.  In all honesty, I was desperate to return to the UK and I decided to appeal the decision but it was rejected and I was issued a 10-year ban for forgery and overstaying my visa.  During this period, I have got my act together, got married and have a good job. I have been to other countries including the UAE, the US and South Africa and did not stay beyond 1 month on each trip during the period.   What are my chances of getting a tourist visa to the UK by April 2018 when my ban is over? If I apply with my family now, would my past affect their chances? If yes to Q2, is it wise for them to apply alone as I am no longer keen to visit the UK?


My first question was not really clear, sorry about that. So, I know about "split" method in JavaScript and now I want to add number to random array on a position that I can choose inside array, but without "split". Question is for understanding how algorithm "inside" "split" method is working. I wrote random array, so my idea is to use loop second times for a random array, create empty array add that number to position, then number that was before the position of our new number add to empty array and then got confused a bit.  var array1 = []; for (var k= 0, t=100; k<t; k++){     array1.push(Math.round(Math.random() * 300)) };  console.log(array1)


Prove by induction: $$ \sum_{k=1}^{2n}(-1)^{k+1}\frac{1}{k} = \sum_{k=1}^{n}\frac{1}{n+k} $$   I start with (using $n = t+1$): $$ \sum_{k=1}^{2t+2}(-1)^{k+1}\frac{1}{k}=... $$  but after expanding and attempting to simplify I get stuck at: $$ \sum_{k=1}^{t}\frac{1}{t+k} + (-1)^{2t}\frac{1}{2t+2}-(-1)^{2t}\frac{1}{2t+1} $$  Any suggestions would be very helpful.


Deference of 'response.body()' may produce 'java.lang.NullPointerException

I have a error. name is value string type. setText is string type but i have a error.          Factory.getInstance().placeHolderModel().enqueue(new Callback<PlaceHolderModel>() {         @Override         public void onResponse(Call<PlaceHolderModel> call, Response<PlaceHolderModel> response) {             textView.setText(response.body().name);         }   Thank you very much   Your advice important for me


How to enable wireless on Ubuntu Server 18.04 via CLI?

I cannot get wpasupplicant, wireless-tools, and also lib, iwconfig (Iget ifconfig) to operate on my Server 18.04 install.  I have Windows 10 on laptop. External HD with 18.04 Desktop and 18.04 Server.  Wireless works fine on the other two OS, but not non-GUI Server CLI. I can’t install packages with no wireless.  I AM ABLE to go to  and get any package I want via search.  I AM ABLE to save these *.deb files on the /home drive of the server partition, reboot into Server, run some sudo dpkg and sudo apt-get install commands (all CLI). Some of it appears to install some but I get a lot of errors too. My guess is it’s trying to reach out over wireless for some of the packages parts but no wireless enabled? I’m not sure what a good order of package installs to enable wireless would be.  It seems that this issue would have a “recipe” for a good method and order of installation of certain packages to enable your intel 7265 network controller (wlo1), if not a basic recipe for installing packages for wireless without wireless or Ethernet access.  Remember, I can surf the net with Desktop and download packages to a server directory.  Right now every package seems to be looking for missing parts. I'm hunting with a blindfold. I'm using WPA encryption.  These are *.deb packages and *.iso files I have access to in server:    @chili555 I can't use iwconfig because I can't install wireless-tools without internet? I can't seem to install packages from my dual accessible drive shown in the picture above? I also get the following with sudo cat /etc/netplan/*.yaml:    Thank you for the welcome.  ipaddr show gives me this:  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000     link/ether e4:42:a6:a0:42:95 brd ff:ff:ff:ff:ff:ff


Interpretation of the Mann-Whiteny U test

The straightforward null hypothesis for the Mann-Whitney U test is that the two distributions are identical. However, many documents (including ) also indicate that it is equivalent for comparing the medians of two distributions.  Suppose that two distributions have the same shape, when the null hypothesis is violated, some shift in location exists between the two distributions. My question is that when there is a shift in location, not only median but also mean (and other distribution properties) are different between the two distributions. Why do we specifically say it is a test for median? Is it possible that when the null hypothesis is wrong, and still the means of the two distribution are the same?


\maketitle print the below mentioned formats

I am using article class file. I need the output each author command will be printed in seperate authors. But the output is printed last authors only.  How to implement the optional box values like [aff={1}]. Kindly provide the ideas. How to print the abstract text before the maketitle. Kindly provide the ideas   The below mentioned coding is insert inside the tex file:  \author[aff={1}]{Rahuman} \author[aff={2}]{Kumaran} \address{address one} \address{address two}   My Required ouput is:  Rahuman1, Kumaran2 1 address one 2 address one


error_description: grant type not supported

I am getting the below error when trying to call the HTTP POST using the Apex  Http http = new Http(); HttpRequest request = new HttpRequest(); request.setEndpoint('https://ap5.salesforce.com/services/oauth2/token'); request.setMethod('POST');  request.setHeader('Content-Type', 'application/x-www-form-urlencoded'); request.setHeader('client_id','3MVG9d8..z.hDcPJZPXXXXXXXXXXXXXXXXXXX'); request.setHeader('client_secret','XXXXXXXXXXXXXXXXXX'); request.setHeader('username','XXXXXXXXXXXXXXXXXX'); request.setHeader('password','XXXXXXXXXXXXXXXXXXXXXX'); request.setHeader('grant_type','password'); request.setHeader('callbackURL','https://ap5.salesforce.com/oauthcallback.html');  request.setBody('');  HttpResponse response = http.send(request); System.debug('Response :: '+response.getBody());   And I get the error message.  Response :: {"error":"unsupported_grant_type","error_description":"grant type not supported"}   I am able to call successfully using REST/POSTMAN client and getting the access_token.


In Java, how do I convert a hex string to a byte[]?

I am using the below function in Java to convert an encrypted String into hex format:  public static String toHex(byte [] buf) {     StringBuffer strbuf = new StringBuffer(buf.length * 2);     int i;     for (i = 0; i < buf.length; i++) {         if (((int) buf[i] & 0xff) < 0x10) {             strbuf.append("0");         }         strbuf.append(Long.toString((int) buf[i] & 0xff, 16));     }     return strbuf.toString(); }   Now I want to convert that hex string back into a byte array. How can I do that?  For example,  (1) Plain Text = 123 (2) Encrypted Text = «h>kq*«¬Mí“~èåZ  \}? (3) Encrypted Text in Hex = f263575e7b00a977a8e9a37e08b9c215feb9bfb2f992b2b8f11e   I can go from (2) to (3), but how do I go from (3) back to (2)?


Why do embassies request for ticket reservation?

What is the reason behind ticket reservation for schengen Visa?  I'm confused because I want to book tickets directly from air line , everyone knows those booking are cancelled after 24-48 hours so mostly likely will be cancelled a day or so after I submit my document. Travel agencies are asking for money to book ticket that will last about 3 weeks, how true is this . And is that what the embassy needs to confirm, that I have a reservation Is it to confirm the price of ticket and compare with my bank statement to determine if I can afford it.


Running newusers util in cron to batch create users does not run

I'm attempting to batch create some users from a file using the newusers util on ubuntu 18. When running in cron as the root user, nothing happens. When I run the command manually, it works as expected and creates the users in the file. Heres my crontab, running every minute to test: */1 * * * * newusers /tmp/ftp_users.txt  Running it manually like this is fine newusers /tmp/ftp_users.txt. I have no idea what I'm missing to get this command to run in cron.


Securely erasing all data from a hard drive

I am about to sell my old desktop PC and I am cautious about some of my sensitive information being available to the purchaser, even after reformatting the hard-drive, using data recovery software.  How can I securely wipe the hard drive so that the data on it cannot be recovered?  Although I specifically want help with my Windows PC, it wouldn't hurt if there were suggestions for Macs as well.


It happens sometimes that after finishing bake (e.g., for fluid simulation) we wish we could continue the simulation for two more seconds :(    How to use the cached bake to continue the simulation?  We played with the settings, but with no success.


I have 17 flags waiting for review, where the oldest one is from 8th January Now I am wondering what happens with these old flags? Will they stay open until forever or is there a system that ensures every flag will be dealt with?


I have read that if we are using NAT, router knows where to send the incoming packets in the local network based on TCP/UDP port information. If this information can be used to uniquely identify each machine on a local network, then why is MAC address needed?


When trying to format printf output involving strings containing multi-byte characters, it became clear that printf does not count literal characters but the number of bytes, which makes formatting text difficult if single-byte and multi-byte characters are mixed. For example:  $ cat script #!/bin/bash declare -a a b a+=("0") a+=("00") a+=("000") a+=("0000") a+=("00000") b+=("0") b+=("├─00") b+=("├─000") b+=("├─0000") b+=("└─00000") printf "%-15s|\n" "${a[@]}" "${b[@]}"  $ ./script 0              | 00             | 000            | 0000           | 00000          | 0              | ├─00       | ├─000      | ├─0000     | └─00000    |   I found various suggested work-arounds (mainly wrappers using another language or utility to print the text). Are there any native bash solutions? None of the documented printf  appear to help. Would the locale settings be relevant in this situation, e.g., to use a fixed-width character encoding like UTF-32?


Draw arc in tikz when center of circle is specified

It would be convenient sometimes to be able to draw an arc in tikz by specifying   the center of the corresponding circle its radius the initial/final angle   i.e., the "natural" way an arc is defined, instead of the "first point of the arc".  Is there a way to do it?


Launchers for installed snap applications (including Ubuntu Software) disappeared after installing GNOME Software

I installed regular gnome-software to be able to install Flatpaks as well. Right after I did that, all was fine: I could see both "Software" and "Ubuntu software" in the launcher overview and launch either of them.  However, after a restart, I could no longer see Ubuntu Software, and installed Snaps weren't present in the menu anymore either. I have since uninstalled gnome-software, un- and re-installed both Ubuntu Software (snap remove snap-store and snap install snap-store) and the Snap app I'm testing with, and restarted, but I still can't see them.  Why did that happen?  As requested by pomsky:  $ ls /var/lib/snapd/desktop/applications/ chromium_chromium.desktop gnome-system-monitor_gnome-system-monitor.desktop keepassxc_keepassxc.desktop mimeinfo.cache signal-desktop_signal-desktop.desktop skype_skypeforlinux.desktop snap-store_snap-store.desktop spotify_spotify.desktop ubports-installer_ubports-installer.desktop   and  $ echo $XDG_DATA_DIRS /home/vincent/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/


CUDAGRIND - MEMORY TRANSACTION CHECKING FOR CUDA in windows

I am using cuda c in visual studio. for checking the memory I use cuda-memccheck . while going through some sites I found that cudagrind of valgrind provides much more details of the error of memory.and further this is my misunderstanding or what I found it can be only used in linux system. Am I right?? or can cudagrind be applied in windows to check the memory error???


Can I get "fail to reject the null" when testing with test statistic, and "reject the null" when testing with P-value at the same time?

Can I get "fail to reject the null" when testing with test statistic, and "reject the null" when testing with P-value at the same time in a same nonlinear regression model?


Creating a table in LaTex with the following style

I'm new to LaTex, and would like to create a table that looks as follows:    How can this be done in LaTex?  Thanks.


How one can obtain roots at the negative even integers of the Zeta function?

The Riemann zeta function $ζ(s)$ is defined for all complex numbers $s ≠ 1$ with a simple pole at $s = 1$. It has zeros at the negative even integers, i.e., at $s = −2, −4, −6, ...$.   My question: How one can obtain these roots.


Is "Greenplant are proud sponsors of..." correct? How is it different from "Greenplant proudly sponsors.."?

Greenplant proudly sponsors   and     Greenplant are proud sponsors of    (Greenplant is a business name. It consists of two sites and has a number of employees. However, for me the key aspect of this sentence is that the word Greenplant is singular. Is that correct? It would be good to understand the difference between the two sentences, because, I am being told that one way is right and the other is correct.


Does Cauchy second limit theorem work both ways?

I have been told, that Cauchy second limit theorem doesn't always work both ways - if the limit of $n$th root of sequence exist it doesn't immediately mean the limit of $a_{n+1}/a_n$ is equal to nth root limit. Can you explain why? Show an example? Thank you a lot.


UPDATE  I've posted a newer more focused question  I'll keep this for reference.  ORIGINAL  I have a large (~100 million rows) timeseries table t_16 where the primary key is a field abs_date_time of type timestamp.  I want to join this table to a small (<1000 rows) ranges table, which only has one field range of type tsrange.  In the production example, range is not really a table, but a CTE (i.e. a query in the WITH clause. I managed to reproduce the issue with a "real" table, like so:  For my tests I create a new ranges table and insert only one range.    create table ranges (     time_range tsrange );   In this case the query is very slow: it makes a full table scan of the timeseries table:    EXPLAIN SELECT t_16.* FROM t_16, ranges WHERE (abs_date_time >= LOWER(ranges.time_range)     AND abs_date_time <  UPPER(ranges.time_range));   Explain output - note the Seq Scan on t_16:    Nested Loop  (cost=0.00..2645938802.76 rows=13056002418 width=80)   Join Filter: ((t_16.abs_date_time >= lower(ranges.time_range)) AND (t_16.abs_date_time < upper(ranges.time_range)))   ->  Seq Scan on t_16  (cost=0.00..2098286.16 rows=86400016 width=80)   ->  Materialize  (cost=0.00..30.40 rows=1360 width=32)         ->  Seq Scan on ranges  (cost=0.00..23.60 rows=1360 width=32)   When I now analyse the ranges table and run the query again, the index is used and the query is fast:    analyse ranges;  EXPLAIN SELECT t_16.* FROM t_16, ranges WHERE (abs_date_time >= LOWER(ranges.time_range)     AND abs_date_time <  UPPER(ranges.time_range));   Explain result: note that t_16_pkey is used:   Nested Loop  (cost=127355.89..3147692.66 rows=9600002 width=80)   ->  Seq Scan on ranges  (cost=0.00..1.01 rows=1 width=22)   ->  Bitmap Heap Scan on t_16  (cost=127355.89..3051691.63 rows=9600002 width=80)         Recheck Cond: ((abs_date_time >= lower(ranges.time_range)) AND (abs_date_time < upper(ranges.time_range)))         ->  Bitmap Index Scan on t_16_pkey  (cost=0.00..124955.89 rows=9600002 width=0)               Index Cond: ((abs_date_time >= lower(ranges.time_range)) AND (abs_date_time < upper(ranges.time_range)))   Questions:     why is a full table scan used (before the analyse)? Since the join is only on the primary key field, I hoped that this was always used. Is there a way that I can rewrite the query, so that the index is used, even without analyse (which I cannot use in a CTE)?   Additional Info:  Here is a version that actually uses a CTE:  EXPLAIN WITH cte AS (     select * from ranges ) SELECT t_16.* FROM t_16, cte WHERE (abs_date_time >= LOWER(cte.time_range)     AND abs_date_time <  UPPER(cte.time_range));   This also does not use the index (before analyse), but makes a full-table scan ont the time-series-table. Explain output:  Nested Loop  (cost=23.60..3527218976.16 rows=13056002418 width=80)   Join Filter: ((t_16.abs_date_time >= lower(cte.time_range)) AND (t_16.abs_date_time < upper(cte.time_range)))   CTE cte     ->  Seq Scan on ranges  (cost=0.00..23.60 rows=1360 width=32)   ->  Seq Scan on t_16  (cost=0.00..2098286.16 rows=86400016 width=80)   ->  CTE Scan on cte  (cost=0.00..27.20 rows=1360 width=32)


Convert multiple array into one single array list

I have multiple 1-element lists that I wish to convert into 1 single list:  Current lists:  ['orange'] ['apple'] ['grape'] ['banana'] ['mango']   Wish to have an output like this:  ['orannge', 'apple', 'grape', 'banana', 'mango']   My purpose is to write those array with 1x3 into a csv file  Here is Code:  import csv #import numpy as np  f1 = open('out.csv') data = csv.reader(f1, delimiter=':') print (data) for row in data:     #print(row)     modules = print(row[2:])     #for row in module:      result = [[0,0]]  # iterate through rows for i in modules:     # iterate through columns     for j in modules[0]:         result[j][i] = X[i][j]  for r in result:     print(r)    #Try with zip/map #print(map(data,zip(*module)) #with open('test.csv', 'wb') as f:     #writer = csv.writer(f)     #for row in module:     #writer.writerow(module) f1.close()


Let $a, b, c\geq 0$ s.t.$$(a^2-a+1)(b^2-b+1)(c^2-c+1)=1$$  Show that $ a^2b^2+a^2c^2+b^2c^2\leq 3$.  My idea:  I denote $a+b+c=x$, $ab+bc+ac=y$ and $abc=z$.  Then I have $$x^2+y^2+z^2-xy-xz-yz+2z-y-x=0$$ I have to show that $$y^2-2xz\leq 3$$ I tried to prove it with the sign of trinom, but it doesn't work.


my issue is when i try use Google services that Allow remote lock and factory reset. if the mobile stolen, then i want to try it and i locked my personal phone successfully it locked by password when i open my device password entry screen appear and when i write the password that i requested from web the device open but i want to remove this lock and i cannot do it, i locked the phone by using Android Device Manager through this   Thanks in advance for help.


Are there any functions, $f:U\subset \mathbb{R}^n \to \mathbb{R}$, with Hessian matrix which is asymmetric on a large set (say with positive measure)?   I'm familiar with examples of functions with mixed partials not equal at a point, and I also know that if $f$ is lucky enough to have a weak second derivative $D^2f$, then $D^2 f$ is symmetric almost everywhere.


Partial fraction decomposition. Why does the term appear multiple times when the linear term has an exponent?

I am reading this text:    When there is a linear factor that appears r times, why do we have to write the factor up to r times in the factorization? So in the example under 7, why does $x^2$ appear as $x$ and $x^2$ on the right side?   In example 4, also, how do we know that x-1 is a factor? From there, how do you know that $x^2 - 1$ is another factor? From there, why do we write the partial fraction decomposition with $x-1$ twice but to different powers? I know that it's raised to the second power and that's why the term appears twice... but why do we do this?  This sums it up, but I'm sure why we have to write the terms up to r when there are repeated factors:


I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal.  Recently I was trying to install mysql-server which generated error which I could pin-point was the required version of libstdc++6 . My system had 4.8.x while mysql 5.6 required >=4.9. Trying the usual upgrading process and unsuccessful, I consulted my sys admin, who tried installing the 4.9 package manually(using a local .deb package), which failed as well citing unmet dependencies.   At present, what I have is a system with error saying no new software can be installed.  The sudo apt-get install -f gives following output:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies:  libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed  libstdc++6:i386 : Depends: gcc-4.9-base:i386 (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I checked for held packages using  dpkg -l | grep ^h dpkg -l | grep hold   Result: nothing.  Also tried to find the broken package, if any but the file  /var/log/dist-upgrade/apt.log doesn't exist.  So, what should/can I do now.


How can I make gnome-shell treat both monitors in the same way?

Gnome-shell seems to like to leave one monitor as "fixed" when you switch workspaces.  Additionally, there is no preview in the Activities view of my secondary monitor.  Also, on the second monitor, where there should be either empty desktop space, or a copy of the panel, I just have a white bar.  How can I get gnome-shell to treat my secondary monitor like the primary one?


JQuery doesn't apply to dynamic close button

So I've got a table of 'skills' for which an input looks up an array to check if it can be added to a current skills array to be displayed in the table.  Each row has a remove button, however adding new rows to the table - the remove button doesnt seem to work.  Here is the JSFiddle I'm using:   This is how I currently remove the table row:  $('.remove-skill').on('click', function() {     var $kill = $(this).parent('td').parent('tr');     $kill.addClass('danger');     $kill.fadeOut(1250, function() {         $(this).remove();     }); });


Plot construction for a velocity vs position graph. Interpolation for phase-diagram construction?

I need to plot a few graphs. First is of the function      \begin{equation}     x(t)= -e^{ -(0.1 \ {s}^{-1}) t} \cos \left( ( 0.995 \ {rad} / \mathrm{s})t \right)     \end{equation}   and of $\dot{x}$ (time derivative function)   \begin{equation}     \dot{x}(t)= e^{-(0.1 \ {s}^{-1}) t}\left[(0.1 \ {s}^{-1}) \cos \left( ( 0.995 \ {rad} / \mathrm{s})t \right)+ ( 0.995 \ {rad} / \mathrm{s})\sin ( ( 0.995 \ {rad} / \mathrm{s})t )\right] . \end{equation}   I have so far made their individual plots by doing the following      \begin{figure}[ht]     \centering         \caption{ The plots of the position and speed versus time (underdamped oscillator).} \begin{tikzpicture}[scale=1.9] \begin{axis}[     axis lines = left,     xlabel = {$t$, $ \left[\text{s} \right]$},     %ylabel = {$a(t)$, $ \left[\text{m/s}^2 \right]$},     grid=major,     ymin=-1,     ymax=1, ] \addplot [     domain=0:60,       samples=300,      color=YellowGreen,      thick, ] {2.71828^(-0.1*x)*cos(deg(0.995*x-3.1415))}; \addlegendentry{\tiny $ x(t)$, , $ \left[\text{cm} \right]$} \addplot [     domain=0:60,      samples=300,     color=TealBlue,      thick,     ]     {-2.71828^(-0.1*x)*((0.1*cos(deg(0.995*x-3.1415))+0.995*sin(deg(0.995*x-3.1415))) }; \addlegendentry{\tiny $  \dot{x}(t)$,  $ \left[\text{cm/s} \right]$} \end{axis} \end{tikzpicture} \end{figure}   with the resulting graph    What remains a problem: question 1. The second plot I need is the phase diagram, i.e. $\dot{x}(t)$ vs $x(t)$ plot, which I am not sure how to construct. I was thinking sampling/point-harvesting of the function $x(t)$ and $\dot{x}(t)$ to then use those points for interpolation-construction of the phase diagram might be somehow implemented? However, I could not find a lot of information about these kinds of things on latex forums. My boyfriend has made his graphs with python, so I know the phase diagram must look like the following    But I was hoping to there is some way of making the graphs using latex alone. Any ideas?  What remains a problem: question 2. I also was wondering if there is any way of determining how many times does the system cross the $x=0$ line before the amplitude falls below $10^{-2}$ of its maximum value, but if it is possible to do only using latex commands to output this number.


my question is:  Let $f\in S(\mathbb{R})$, with $f(0)=0$, then there exists $g\in S(\mathbb{R})$ such that:  $$ f(x)=xg(x)\;\text{ for all }\;x\in \mathbb{R}.$$  I need to prove this.


How to redirect root and only root via htaccess?

I want to redirect only my root to another url, but maintain all the /sub/directories where they belong (and redirect)  example:  mysite.com/1 redirects to somewhere mysite.com/admin opens a page  i want mysite.com/ to redirect to mysecondsite.com and only this with a 301 redirect using htaccess


Can quantum computer solve NP-complete problems?

As far as I know, quantum computers are able to solve only some of the NP-Problems in polynomial time, using the Grovers algorithm. I read that if one manages to create a reduction of Grovers algorithm on one of the NP-Complete algorithms, for example 3SAT, then it will be a huge milestone, since we could solve all other NP-Complete problems. I also read that current quantum computers lack error-correcting qubits to create a reduction of Grovers algorithm on 3SAT. What would be a sufficient amount of qubits to solve such problem and what amount do we currently have?


What is the meaning of "formal" in math-speak?

I have been encountering the word "formal" in several math books, and I don't understand what it means in context.  For example, Hatcher describes n-chains as "finite formal sums" on p. 105 and p. 108. What is a "formal sum?"  Are there "informal sums?"  Similarly, Steve Awodey on p.15 of "Category Theory" says opposite (or dual) categories are derived from other categories "with all the arrows formally turned around."  What does "formally" mean here?  This may be more of a language question than a math question, but I'd appreciate any clarification.


Function to sort a static list of items by recency and frequency

I'm working on a problem which requires me to sort a list of static items for each user. I understand best way to solve this problem would be to come up with a function that captures both the frequency of that item being chosen by a user and recency. My data looks like this     user_id item_id order_count orders_1_month_ago  orders_2_month_ago  orders_3_month_ago  orders_4_month_ago 0        1        x         3                   1                   0                    1                  1 1        1        y         5                   2                   1                    0                  2 2        1        z         2                   0                   0                    1                  1 3        2        y         3                   0                   1                    1                  1 4        2        z         4                   1                   0                    2                  1   I'm thinking of solving this using the following pseudo function: for each user,  normalize the order count between 0.1 - 1 for each item the user has purchased multiply count for each month with constant weights(more weightage to recent months) add up all the values from step 2. to get a single value for each item representing recency multiply value generated from step 1. and 3. to get the final score for each item  I think the above function captures both recency and frequency quite well but any enhancements to the above function or suggestions at improving it are welcome.


Selecting specific element of a tag in jQuery using this keyword

In jQuery there is prev() method which returns the previous element in DOM. But my question is is there any possibility to get the previous element of some specific tag using $(this) keyword. I am trying $(this).prev() to select the 3rd element, but it doesn't work (at least on forms).
   Item 1   Item 2   Item 3   Item 4   Item 5   Click


How do I display two windows as split screen?

I have two open programs, but I want to view both of them at the same time. Dragging and adjusting them manually takes time, and I might have to do this every day. Is there any shortcut for doing this in Ubuntu?  I'm thinking something like this:


Mother-in-law fell for a "Windows support" scam. Can I save her laptop?

My mother-in-law fell for a Windows scam. Apparently a window popped up telling her that her computer had a virus, and she should call this number where they would clean it up for her. To cut a long story short, she gave them her credit card number and enabled remote access.  Credit cards have now been cancelled and we're going to (on another computer) change mother-in-law's password for every web service.  The laptop is now shut down and in my physical possession. I do not want to boot it up: they could have installed anything (trojans, keyloggers), which even Avast may not be able to defend against, right?  My plan is to remove the hard drive, mount it on another machine, and copy off any important files.  After that, what's the safest way of resurrecting it? Can I reinstall Windows on the drive without first booting it up? Or is it safe to boot up for the sole purpose of initiating a factory reset?  What other steps should I be considering?


.NET: Is there a way to add bindings & client for a service programmatically rather than through app.config

I am building a class library (dll) in C# which calls a webservice.  This will be consumed by different applications.     However, all these applications have to copy the "bindings" & "client" sections of the libraries app.config to the applications app.config for it to work. Otherwise the application throws an exception at runtime        {"Could not find default endpoint element that references contract   'VS.MyObj' in the ServiceModel client configuration section. This   might be because no configuration file was found for your application,   or because no endpoint element matching this contract could be found   in the client element."}   FYI - My class library is - MyNS.MyClass. The Library has a Service Reference to a Webservice (added through Add Service Reference) - the Service Reference shows up as MyNS.VS in the Project. The class library is MyNS.dll. MyClass has a static method myStaticFunc which calls the Web Service.     Is there a way to call the Webservice in the class library in some way so that this app.config change in the calling application is not necessary. Or some other workaround.    The owner of one of the calling applications says that he does not have an app.config in his application.


how to install live Ubuntu dvd to permanent install

I have a live Ubuntu dvd when I insert rhe dvd it automatically installed without giving any opinions.  And its language also changed.  Please help me how to get install permanent and how to change language.  Thanks


I know it is defined as $ dP \wedge dx  $ or explicitly,  $$ \frac{\partial P }{\partial y } dy \wedge dx   . $$  The question is, could it be $dx \wedge d P $?  Or  $$  \frac{\partial P }{\partial y }  dx \wedge dy ?    $$


Which words can properly follow "including"?

"He sang everywhere, including in the bath".  "He behaved badly in many ways, including cheating in his exams."  These don't sound quite right to me. Are they wrong? And, if so, on the basis of what rule?


A question about direct sums and products of modules

I'm  about tensor products of modules and I don't understand the following paragraph on page 2:     Even though elements of $M \times N$ and $M \oplus N$ are written in the same way, as pairs $(m, n)$, bilinear functions $M \times N \rightarrow P$ should not be confused with linear functions $M \oplus N \rightarrow P $. For example, addition as a function $ R \oplus R \rightarrow R $ is linear, but as a function $R \times R \rightarrow R$ it is not bilinear. Multiplication as a function $R \times R \rightarrow R$ is bilinear, but as a function $R \oplus R \rightarrow R$ it is not linear. Linear functions are generalized additions and bilinear functions are generalized multiplications.   My questions are:   Why the distinction between $\times$ and $\oplus$? Aren't they the same for finite sums (products)? I don't understand how addition can be linear but not bilinear. Surely, if $(a,b) \mapsto a + b$ then it doesn't matter in which argument it is linear. (Thinking of e.g. $\mathbb{Z} \times \mathbb{Z} \rightarrow \mathbb{Z}$) And if $(a,b) \mapsto ab$ then how can it be linear in both arguments (bilinear) but not be in one (linear). It's difficult to write this sentence as it makes no sense to me whatsoever.   Many thanks for your help!


I'd like to add a class to one of my divs with a dynamic value generated in ts.  Say I have the following code to add a class:  let item = document.querySelector('.my-div'); item.classList.add('max-width');  let myMaxWidthValue = '200'; // this value is going to be generated by some fn    Now I would like to somehow make the class look like this in the css:  .max-width .innerItems {   max-width: myMaxWidthValue }   Is this possible? It would be way more efficient for me to do it this way.   As you can tell by my CSS I want to set the class to the parent that contains many children elements.   I could do getElementsByClassName and loop through each one with element[0].style.maxWidth = myMaxWidthValue but there could be a TON of these children elements and it does not seem right to do it this way.


Where should non MS command line tools be placed in Windows?

I recently needed some of the really useful nirsoft tools.  Many are command line tools and they need a location in the path to run from.  I dumped them somewhere to get things done but I want to know if there is an official place in the file system for these tools.   I do not think they should be directly in "Program Files" nor do I like the proliferation of application specific locations because they bloat the path environment variable.  Its hard enough to read as it is.  I am considering a top level "bin" directory or "tools" but I fear it might offend some MS rule.  suggestions?


I need a quick way to convert date "Tue Jul 02 17:50:55 MDT 2024" into epoch time.     Effectively, I need the shell equivalent of date -d "Tue Jul 02 17:50:55 MDT 2024" +%s      I currently use the following in perl but it requires a lot of conversion. Hoping to find a simpler and more elegant solution.    $current_epoch = timelocal($seconds, $minute, $hour, $day_of_month, $month_num, $year)   I currently use Perl 5.8 ; I dont believe it has "Time::Piece" I am only interested in solutions that do not require downloading another library


Do discontinuities only exist strictly inside the domain of a function?

For example the graph $f(x) = 1/x$ approaches $\infty$ at $x=0$ but we would not say this is an infinite discontinuity, just an asymptote, correct? Unless we specifically said the domain of the function included $x=0$? Or must domains by definition exclude discontinuities and undefined points?  Do discontinuities only exist if we can "split" the domain into two new non-empty intervals that each exclude the discontinuity?


So I'm a college student that has taken 3 semesters of calc/diff eq/linear algebra and I think linear algebra has been by far my favorite course so far and I would love to know more in the subject, the style of a consistent theorem/proof approach really appealed to me. So I ask what is a good book or resource to learn more advanced linear algebra or should is there other subjects I need to come to grips with first?  specifically I'd like to become more familiar with metrics/tensors


Edit this code in order to have alternate color edges

Hello I am learning to use control structures and other things in tikz, and i have this code: \documentclass{article} \usepackage{tikz} \begin{document}     \begin{figure}[h]         \centering         \begin{tikzpicture}         \foreach \X [remember=\X as \LastX] in {0,...,10}         {\ifnum\X=0             \node [circle,fill=black!40,inner sep=2pt](X\X) at (120:5){};             \else             \node [circle,fill=black!40,inner sep=2pt](X\X) at             ({120-\X*360/12}:5){};             \draw[black]  (X\LastX) -- (X\X);             \fi}         \node[rotate={30+360/12}]  (X11) at ({120+360/12}:5) {$\cdots$};         \draw[black]  (X10) -- (X11);         \draw[black]  (X11) -- (X0);         \end{tikzpicture}     \end{figure}   \end{document}  This gave me a cycle, but now I need to color the edges alternating them between red and blue, and I haven't managed to do this. Maybe using two variables or something similar? Can you give me some help please?


I have a Random Forest model for a dataset with 3 features:  rf = RandomForestRegressor(n_estimators=10) rf.fit(X, y)   If I look at the importance of each feature I get:  rf.feature_importances_  > array([ 0.45453475,  0.23246138,  0.31300387])   I know that feature 1 is the most important but how do I interpret these results exactly?  Could I say, for example, that 45% of the variability of the model is explained by feature 1?


Exclude a category if post is only in that category using wp_Query

I have two categories   Category1 (ID = 1) Category2 (ID = 2)   I want to display posts Which are in Category2 and in (Category1 + Category2).  If a post is only in Category1 then it should not display.  I have used the following code.  'category__in'     => array(2)   It works but I think it is not the correct way. As if in the future if I add a new category then I will have to add its id here in the code to display the post which also in that new category.  Is there any proper way to exclude only Category1 posts if post in only in Category1?


How does an internet server respond to a request from a private IP?

I'm learning about private/public IPs, port forwarding and NAT, and still fail to see the answer to a simple question:  Suppose two users on the same network are communicating with a single server outside their network (say, me & my wife send http requests to yahoo.com).  The server sees both users as a single public ip, and often - as in this case - communicating on the same port.  How does the router route the packets according to the two different connections? Is there any routing info inside the packet beyond ip/port?  Is there some 'session table' maintained somewhere? By whom and what exactly does it include?


Does mehndi change fingerprints? Like for UK visa?

I had a marriage in my family just 1 day before UK visa appointment. I gave my fingerprints with mehndi on. Is it going to create problems at airport while biometric? I do not have idea. Please help.


What does "No bootable medium found" mean in VirtualBox?

I have recently been trying to install VirtualBox, when this message came up:  No bootable medium found!   Can somebody please tell me what went wrong?


Is Misa Amane's early death a plothole in Death Note?

According to the , when a Shinigami dies, their remaining lifespan is given to the human they saved.     Shinigami who die are reduced to dust, and their remaining lifespan is given to the human they saved.   Since Rem killed L and Watari, she gained their remaining lifespans. Additionally she probably still had some lifespan left. On top of that Misa was already given a lot of lifespan from Gelus (from which she lost 75% again). So does this mean all of this lifespan is transferred to Misa Amane?!  Yet according to her , she dies in 2011 at the age of 26, only seven years after Rem died.  Does this mean that humans are also capable of reducing their own lifespans? Or would the author have made a mistake by letting Misa die as early as she has? I know she lost 75% of her remaining lifespan through the two eye deals, but you'd think that the cumulation of L, Watari and Rem's remaining lifespans would be greater than just one year, wouldn't you?


Is convex , lower semicontinuous function with closed domain continuous relative to its domain?

Let $f: \mathbb R^n \to [0 , +\infty] $ be a lower semicontinuous and convex function. Assume $\mbox{dom} f = \{ x \in \mathbb R^n  | f(x) < +\infty \}$ is a closed set.  Prove or disprove that for all $x_0 \in \mbox{dom} f$, the function $f$ is continuous on $x_0$ relative to its domain ,i.e,  for all sequences $x_n \to x_0$ with $f(x_n) < +\infty$ we have $f(x_n) \to f(x_0) $      Note, if $x_0 \in  \mbox{relative int dom} f$ then we are done, because of convexity of $f$, thus we only need discus about case when  $x_0 \in  \mbox{dom}f \setminus \mbox{relative int dom} f.$      P.S This is a question motivated by the question   which didn't get much attention.   Any help would be greatly appreciated .


In XeLaTeX I have a \textsuperscript issue with all fonts I've tested, with regard to the dash. As opposed to what happens in LaTeX, in XeLaTeX the dash does not get superscripted.  This is a MWE:  \documentclass{article} \usepackage{xltxtra} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} \setmainfont[Ligatures=Common,   Numbers=OldStyle,   ]{Minion Pro}  \begin{document}  88--100\textsuperscript{88--100}  \end{document}   This is the result:    Any ideas as to what's going on?


All I want is a simple thing: Change the section numbering to become like this  1.  Introduction    And not the default, where there is no point. I also want to make the point appear for the subsection and the subsubsection.


beamer: Different numbering for Theorems, Examples, Definition, and Lemma

I want to have different numbering for Theorems, Examples, Definition, and Lemma. I use the following code in preamble  \setbeamertemplate{theorem}[ams style] \setbeamertemplate{theorems}[numbered]   This code works fine but it has continuing numbering for Theorems and other Environments. I'd appreciate your help if you guide me how to get different numbering for Theorems, Examples, Definition, and Lemma in beamer.


I just typed out a fairly long answer to a question, so it took a little while.  When I tried to post it I found I couldn't.  I refreshed and found the question had been voted to be placed on hold due to being too broad.  A couple of one liner answers had been added before the hold came into effect and I noticed one of them, after another refresh then became a much more detailed answer.  I then noticed it was by one of the users that had voted to place the question on hold for being too broad, which of course prevents further answers.  I wonder if it's a contradiction to allow people to answer questions and vote to close / hold them?  Surely supplying an answer is stating you think the question is worthy of remaining and therefore should be open to attract further answers?  Have I misunderstood this? (I'm new at contributing rather than just gleaning help from the site, so go easy!).


In the line below is it correct to use the 's with et cetera ?     I was reading headlines of New York Times, Wall Street Journal, Time et cetera's articles.


How did Death Eaters hide from the Ministry of Magic after Voldemort fell the first time, given that they had the Dark Mark?

How did Barty Crouch Jr. and the other Death Eaters not get caught by the Ministry, when they have tattoos on their arms of the Dark Mark? Is the use of a cloak alone enough, no raids on their body parts? Even Barty Crouch Jr's father was shocked when he was revealed to be a Death Eater.


If $G$ is a group, $H$ is a subgroup of $G$ and $g\in G$, is it possible that $gHg^{-1} \subset H$?

If $G$ is a group, $H$ is a subgroup of $G$ and $g\in G$, is it possible that $gHg^{-1} \subset H$ ?    This means, $gHg^{-1}$ is a proper subgroup of $H$. We know that $H \cong gHg^{-1}$, so if $H$ is finite then we have a contradiction since the isomorphism between the two subgroups implies that they have the same order so $gHg^{-1}$ can't be proper subgroup of $H$.  So, what if $H$ is infinite is there an example for such $G , H , g$ ?   Edit: I suppose that $H$ has a subgroup $N$ such that $N$ is a normal subgroup of $G$.


Prove that for every prime number $p>3$, $4p^2+1$ can be written as the sum of three square numbers

Given that $p>3$ prove that $4p^2+1$ can be written as the sum of three distinct positive square numbers.   Plugging in $5$ I get $101=49+36+16=7^2+6^2+4^2$  I also know that all primes greater than $3$ can be written in the form $3k+1$ and $3k+2$ but plugging those values in I get:  $36k^2+24k+5$,  $36k^2+48k+17$ and the solution probably lies in arranging these numbers in such a way that we get the desired squares, but I can't come up with a combination ,or is my "idea" not even in the right direction?


What is the ESP (EFI System Partition)? I know it relates to UEFI. Would I end up with a bricked computer that wouldn't even boot to UEFI/BIOS if it were to mistakenly get removed? Is it fixable if it does?


The computer does not seem to find all my RAM. Can I fix it?

My computer does not seem to detect all my RAM, but it is still listed. Take a look at this screenshot:       The title of the diagram says I have 16.0 GB DDR, but the top of the y-axis just shows 8.0 GB. Then it just says 8.0 GB to the left as well, on the memory tab.  If I check the resource monitor, it says my total memory is 8183 MB, but installed is 163584 MB.  I'm hitting the 8GB ceiling all the time now, is there anything I can do? Restarting does not help...


Tools to Monitor particular application data consumption for a period of time

I am looking for a package to monitor bandwidth consumed by one particular app, e.g., the data of a Zoom meeting. i need to track that consumption. Can someone suggest any software that you know.


How can I logout from the GUI using CLI?

I chose an Openbox DE at the time of login and the system took ages to load the DE. So I switched to CLI (Ctrl+Alt+F1) and rebooted my system (but I wanted to logout from the GUI and not restart the whole system).   My question is, can I issue some command at CLI to log me out from the GUI so that I can select different DE. (I don't want to restart my system every-time DE hangs.)    $ DISPLAY=:0 gnome-session-quit --force  ** (gnome-session-quit:3144): WARNING **: Failed to call logout: The name org.gnome.SessionManager was not provided by any .service files


How to secure Elliptic Curve ElGamal encryption against known plaintext attacks?

If I have an encoding function  $f(x)$ that maps a message $m$ to a point $P$ on a suitable Elliptic Curve $E$ . If I have the public key $Q$ of my recepient then I can encrypt the message as follows:  Choosing a random number $k < n -1 $ where $n$ is the order of the curve E .  Calculating $C = [k] G $ where $G$ is the generator point of the curve E   Calculating $R = [k]Q $ where $Q$ is the recipient's public key   Now the message is encrypted by adding $P$ to $R$ to get          $C_e$ $( = R + P)$ which is sent along with $C$ to the recepient.  DECRYPTION:  Now for the recepient to decrypt my message they compute $R = [privatekey] C $ (where $C = [k]G $) and simply subtract $R$ from $C_e$ to get the encoded point $P$ back which is then decoded by an inverse function $f^{-1}(x)$ to recover $m$.  Now , two problems arise : If the attacker knows the plaintext (suppose if I follow a particular format of data while sending messages ) he could encode his guessed plaintext and subtract it from $C_e$ to recover $ R $ back ! . If I used that same $ R  $ to encrypt further "blocks" of my message then the security of the later parts of my message has been breached!   I realize that doing  something like a scalar multiplication over and over again for every block of data, would be a huge drawback in efficiency and speed.   Is there any way to compute a different $ R $ for every block of data, without using much resources and that too quickly ?   Does reusing the same $R$ for another message break security ?  NOTE: This question is for educational purposes only. It's for the sake of expanding my knowledge on Crypto.


Bounded sequence with ratio of consecutive terms going to 1 is convergent?

Let $(x_n)$ be a sequence satisfying   $1 \leq x_n \leq 2$ for all $n \geq 1$, $\lim_{n\to\infty} x_{n+1}/x_n = 1$.   Is this enough to show that $(x_n)$ converges?  This is motivated by  , as well as . In both cases, we can show convergence but making use of the actual definition of the sequence, not simply the two properties listed above.  I have attempted to show that this sequence is Cauchy but the details elude me.


Page object in testng error (java.lang.NullPointerException)

I'm trying to implement the concept of Page Object using TestNG. I created a BrowserFactory class that has the information to initialize the browser. I also created a class called LogSystemPage that has the information of the screen elements that I need to interact with.  Lastly, I created a test class called ValidateStatusTestNG that "calls" the BrowserFactory and LogSystemPage classes.  When I try to run the test method called logarSystem, the Eclipse console displays the following error message: java.lang.NullPointerException. Following is the code, the error message and the images.  public class BrowserFactory {  static WebDriver driver;  public static WebDriver startBrowser(String url) {      System.setProperty("webdriver.chrome.driver", "E:\\Selenium\\chromedriver.exe");     driver = new ChromeDriver();     driver.manage().window().maximize();     driver.get(url);       return driver; }}  public class LogarSistemaPage {  private static WebDriver driver;  public WebDriver logarSistema(WebDriver driver) {      driver.findElement(By.id("matricula_I")).sendKeys("844502");     driver.findElement(By.id("senha_I")).sendKeys("Pw34Jdt#*");     driver.findElement(By.id("bt_entrar")).click();      return driver;  }}  public class ValidarStatusTestNG {  static WebDriver driver;  @BeforeClass public void setUp() throws Exception {      BrowserFactory b = new BrowserFactory();     b.startBrowser("http://10.5.9.45/BKOMais_S86825EstrategiaBackOfficeClaroFixo/");  }  @Test public void logarSistema(){      LogarSistemaPage s = new LogarSistemaPage();     s.logarSistema(driver);  }  @AfterClass public static void closeBrowser() {      //driver.quit();  }}


How to remove garlic smell from refrigerator/ice maker

Is there a certain cleaner or chemical that will remove a lingering garlic odor from an ice maker or other food processing equipment?  About a month ago, my wife and I noticed that the ice from our fridge had a slight garlic smell and taste.  On inspection, I noticed a jar of minced garlic that wasn't completely closed in the door right under the ice maker (The ice maker is in the fridge, and has a rubber seal to the door where the ice comes out like .)  I removed the garlic, dumped the ice, and soaked the  mechanism in hot soapy water.  The first few batches of ice were better, but now the smell and taste are back.  Right now we simply can't use the ice maker.  Is there a trick to garlic smell?  Also, the garlic issue with the ice maker was from garlic fumes only.  The jar did not spill, and there was never any direct contact between the garlic and the fridge.


Can anyone give me a hint in this problem? Please.  Let $X$ be a topological space. If $f,g$ are continuous function of $f,g \colon X\to S^n$  which $f(x)\neq -g(x)$ for all  $x \in X  $, show $f$ and $g$ are homotopics.


Given any finite number of non-zero prime modular residues, are there infinitely many primes that share those residues?

For example, are there infinitely many primes with the properties: P mod 3 = 2 P mod 5 = 2 P mod 7 = 3 P mod 11 = 10 If so, does this remain true for any possible combination of non-zero prime modular residues?


I'm trying to intuitively get this concept. Conventionally, $I_{xz}$ for example, signifies the $x$ component of $L$, the angular momentum, when $\omega$, the angular velocity, is in the $z$ direction. If $I_{xz}$ is non zero for a certain rigid body and I rotate it with some $\vec{\omega} = \omega \hat{z}$, does it mean the rotation will not be stable, and the body will "wobble"? I'm trying to get what the difference in the directions of $\omega$ and $L$ physically means.


I'm completing a problem set, one problem for which I literally have no idea what to do on. The graders would prefer to have a physical copy of the problem so I thought it best to include the ¯\_(ツ)_/¯ emoji as my answer, instead of something like "Dunno" or "No idea."  Option #1 is to include an image.  Beyond that I actually don't understand how this emoji works. The middle character is Japanese kana "tsu" and proves problematic - TeX wants it in math mode then renders "?" when it is.


Filtering out all non-alphanumeric characters in JavaScript

I'm trying to filter out specific characters from a string. I don't think this needs much of an introduction, so here's some examples.  const filt1 = "This will not be replaced: æ Ç ü"; const filt2 = "This will be replaced: » ↕ ◄";  // Output goal: // filt1 = This will not be replaced: æ Ç ü // filt2 = This will be replaced:      How would I go about doing this? I want to replace all characters that are not used in any language. Things like accented characters and Chinse characters are what I want to keep.  Arrows, blocks, etc. should be filtered out.  I've tried many regex filters, but none do what I want. This one works the best:  ((?![a-zA-ZàèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇßØøÅåÆæœ ]).)*   But it's bulky and does not include non-accented alphanumeric characters. Sorry if this post's wording is hard to read. I've been at this for a while now and my brain is not functioning normal.


Distribution of sums and differences of n correlated normal random variables

Suppose $x_1\sim\mathcal N(2,0.5),x_2\sim \mathcal N(2,3),$ and $x_3\sim \mathcal N(2.5,7)$ with correlations $\rho_{(1,2)}=0.3,\rho_{(1,3)}=0.1,$and $\rho_{(2,3)}=0.4.$ What is the distribution  of    $x_1+x_2+x_3?$ $x_1+ (3\times x_2)+x_3?$  $x_1+x_2+(0.5\times x_3)?$  Solutions: The distribution of $x_1+x_2+x_3 =\mathcal{N}(6.5,15.275)$. The distribution of $x_1+(3\times x_2)+x_3=\mathcal{N}(10.5,30.077)$ The distribution of $x_1+x_2+(0.5\times x_3)=\mathcal{N}(5.25,8.005)$  But I want to know what is the distribution of $(2\times x_1)-(3\times x_2)-x_3$ and $x_1+x_2-(2\times x_3)?$  The distribution of $(2\times x_1)-(3\times x_2)-x_3$ is $\mathcal{N}(-4.5,41.8407).$   The distribution of $x_1 +x_2-(2\times x_3) $ is $\mathcal{N}(-1,24.1544)$


Complex hierarchy - show selected object in outliner

I have a file with assets that we bought for some game. They are organized in "groups" - parented to empty objects. There are many many of these "groups" with another "groups" inside of them. How do I find where the object is?  Fastest way I found is to select all the elements by hand in viewport and then in outliner use Search - Selected, unparent objects so they're outside of groups.  Clicking all the elements by hand is the main issue though. I'd like to select a building for example, and have it automatically selected in outliner so it's easy to select other elements grouped with it in outliner instead of selecting in viewport.  Photoshop does what I like - when object I click is in group, Layers panel opens this group and focuses view on that object layer. It should be like that in Blender imo. :< Any plugin for that or simple workaround?


Get plugins (like Multiverse) in a normal Minecraft server?

I've set up a Minecraft server using the minecraft_server_1.12.2.jar file that can be found on the Minecraft website. I want to be able to have multiple worlds and the ability to switch between them in-game, so players of my server can have dedicated worlds for each minigame.   Is there a way to do this? I know about the plugin Multiverse, so is there a way to get this plugin with the normal Minecraft server jar file? Or will I have to download Bukkit and start a new server?


Can anyone explain - Strange/incorrect memory reporting in Windows 10

Can anyone explain this? A memory utilisation report of 7.2GB/7.9GB:   Yet actual memory consumption is no where near that high:   When I had returned to my PC, I had a low memory warning and a suggested close app of FoxIt reader, yet that doesn't seem to be the culprit, but that is what lead me to research this strange issue. My machine is responding fine however.  Thanks


Where is my minecraft folder in files explorer, Windows 10?

Using windows 10,1.16.40  and i cant find my folder in file explorer.  Have tried to use WIN+R and typing in %appdata% and all that kinda stuff. Hidden files is on. Tried different c combinations of folders (such as: Microsoft, windows etc ) still zero luck.


Show $\sum_\limits{k=1}^{\infty}1/k$ does not converge.

Show $$\sum_\limits{k=1}^\infty \frac 1 k$$ does not converge.     Attempt:  Let $s_n=\sum_\limits{k=1}^{n}1/k$, and let $\epsilon=1/2$. For all $N\in\mathbb{N}$, we have $$\left|s_{2n}-s_n\right|=\left|\frac{1}{n+1}+\frac{1}{n+2}+\cdots+\frac{1}{2n}\right|\geq1/2,\qquad\text{for all $n\geq N$}$$ Hence, $\{s_n\}_{n=1}^{\infty}$ is not a Cauchy sequence.  Since $\{s_n\}_{k=1}^{\infty}$ is not a Cauchy sequence which implies $\{s_n\}$ doesn't converge, we have $$\lim\limits_{n\rightarrow\infty}s_n=\lim\limits_{n\rightarrow\infty}\sum_{k=1}^{n}\frac{1}{k}=\infty$$ Therefore, the infinite series $\sum_\limits{k=1}^{\infty}\frac{1}{k}$ does not converge.    I am not sure this is valid or not because I use contradiction to do these kind problem.


Should I sell my stocks when the stock hits a 52-week high in order to "Buy Low, Sell High"?

I have a 10 stock portfolio and considering market conditions that are on the rise when this question in being asked, a few of them did hit their 52-week high price.  I would like to call myself a long term investor and I do not like to trade so much. If I take "Buy low sell high" as gospel then this is in my opinion a good selling position.  On one hand, I think I should lock my profit because stocks don't hit a 52-week high every day, but on the other hand, there is nothing wrong with the company and it is very well positioned to go up even further.  Any suggestions?


Art from a DJ needs to be Vectorized, anyone seen this before?

I have never posted on StackExchange before but enjoy reading the threads and have helped me start my own little hobby. A friend of mine works at a night club and is being told they need a vector logo for tshirts. I said no problem send me logo. I opened in Illustrator and see these random little lines everywhere. Before I go and create the art again for him in illustrator I wanted to see if anyone knew what this was or how this was caused? I asked him how he created the logo and said in photoshop but it is used on video boards. So I assume it is created in a different program all together and then he put it in photoshop and saved to send to the tshirt company.   Anyways long story short, do I need to recreate this art for him or is there a way to clean up these random lines quickly?   UPDATE: I started seperating the logo to patchs and notice these lines on just the curves. See second screenshot. I think I can just use the paths and create the logo again?  Thanks- Thomas


Should/How to edit file /usr/share/X11/xorg.conf.d/10-evdev.conf Disable Touchscreen

I have a broken touchscreen that goes crazy when enabled.  Should I add Option "Ignore" "on" to the /usr/share/X11/xorg.conf.d/10-evdev.conf file?      Section "InputClass"     Identifier "evdev touchscreen catchall"     MatchIsTouchscreen "on"     MatchDevicePath "/dev/input/event*"     Driver "evdev"      **Option "Ignore" "on"**     EndSection   Why cant I just change MatchIsTouchscreen to "off" ???????????????  I have read on a lot of threads that suggest add Option "Ignore" "on". One thread said editing the configuration file can "...blow up xserver!" Is there any truth to that?  If editing this file /usr/share/X11/xorg.conf.d/10-evdev.conf is ok, what is the best method?     1) sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf     2) sudo gedit /usr/share/X11/xorg.conf.d/10-evdev.conf    3) from files simply follow path to -evdev.conf file and edit and save   I currently run xinput disable "ELAN Touchscreen" in my startup applications, but when my laptop wakes from suspend the touchscreen is enabled. So I either reboot, or struggle to run the command in the terminal; which is a real challenge sometimes when the screen is going crazy.  I know this question has been asked a number of times but I imagine others must be as confused as I am.


After reading , I started wondering if HP:WU actually is canon. I did some research and found two contradictory stories.  From :     "The events in Wizards Unite are happening after the events of main Harry Potter books and they are considered to be canon."   But then from :     "JK Rowling isn’t involved with Wizards Unite’s story, so how canon the plot is is arguable."   I'm not sure how credible either of these sources are, so I thought I'd ask here.  Is Harry Potter: Wizards Unite a part of the HP extended-canon? If yes, how much of it is considered so?


Is it possible to avoid the fine lines that render between the shapes in this grid?

I used the grid tool to create a grid of squares for a texture, but I'm seeing very clear fine lines rendering at the edges between some - not all - of the rows and columns.     Unfortunately, these lines also render in Chrome (haven't checked other browsers). The lines appear in different places depending on the size that I render the vector image, just as they change when I zoom in and out from the shape in illustrator. This feels like a sub-pixel rendering problem.  Is this a "necessary evil" when using vector? Or is there a solution?    I tried things that I thought might solve sub pixel rendering problems such as:   applying a very small CSS transform to the content.  applying a 0.1px CSS blur filter to the content.   But that doesn't get rid of or effect the lines in any way.


Angular Momentum Addition Theorem - Sanity Check

Looking back at my quantum mechanics notes, the angular momentum addition theorem is listed as:  $j=j_1+j_2,j_1+j_2-1, ..., |j_1-j_2| $ (Using conventional notation)  , but I'm a little unsure how to interpret the introduction of the modulus operation ($|...|$) and couldn't easily find any examples.   I'm assuming you apply the modulus to any expression which would otherwise yield a negative value for $j$?   I'd appreciate a nod from someone in the know :-).


Im using entity api. How to update record in entity api  i have:  class ExampleTaskController extends EntityAPIController {    public function create(array $values = array()) {     global $user;     $values += array(        'title' => '',        'description' => '',       'created' => REQUEST_TIME,       'changed' => REQUEST_TIME,       'uid' => $user->uid,     );      return parent::create($values);   }   Then:  $task = entity_create('ExampleTask', array('description' => "alamakota"); entity_create($task);   if my task have id=1 how to perform update on record? I want change 'description' to 'newtext' in record with id =1