All going good, but when i wry to insert something like It's Man's Isn't it Like this then problem.  $Query = "INSERT INTO `9154804_data` (`Parent`, `Name`) VALUES ($Section, $inputdata);"; $InsertData = $mysqli->query($Query); if ($InsertData){     $InsertID   =  $mysqli->insert_id;     $Return['Success']  = "Successfully added."; }else{     $Return['Error']    = "Something went wrong!"; }

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


In the abstract algebra class, we have proved the fact that right identity and right inverse imply a group, while right identity and left inverse do not. My question: Are there any good examples of sets (with operations on) with right identity and left inverse, not being a group?  To be specific, suppose $(X,\cdot)$ is a set with a binary operation satisfies the following conditions: (i) $(a\cdot b)\cdot c=a\cdot (b\cdot c)$ for any $a,b,c\in X$; (ii) There exists $e\in X$ such that for every $a\in X$, $a\cdot e=a$; (iii) For any $a\in X$, there exists $b\in X$ such that $b\cdot a=e$. I want an example of $(X,\cdot)$ which is not a group.

Hungerford's Algebra poses the question: Is it true that a semigroup $G$ that has a left identity element and in which every element has a right inverse is a group?  Now, If both the identity and the inverse are of the same side, this is simple. For, instead of the above, say every element has a left inverse. For $a \in G$ denote this left inverse by $a^{-1}$. Then  $$(aa^{-1})(aa^{-1}) = a(a^{-1}a)a^{-1} = aa^{-1}$$  and we can use the fact that   $$cc = c \Longrightarrow c = 1$$   to get that inverses are in fact two-sided:  $$ aa^{-1} = 1$$  From which it follows that  $$a = 1 \cdot a = (aa^{-1})a = a (a^{-1}a) = a \cdot 1$$   as desired.  But in the scenario given we cannot use $cc = c \Longrightarrow c = 1$, and I can see no other way to prove this. At the same time, I cannot find a counter-example. Is there a simple resolution to this question?


thanks for any help.  I'm trying to show that in a 2body problem, angular momentum is conserved given that $\dfrac{dp}{dt}=\dfrac{-GMm(rv)}{r³}$, where p is momentum, t time, G gravitational constant, M mass of 1 object, m mass of the other, (rv) is the vector between them and r is the magnitude of the vector between them.  I've had a lot of attempts but I don't seem to get very far.  Where L is angular momentum, $r_1$ is position vector of mass M and $r_2$ is position vector of mass m, $p_1$ is momentum of mass M and $p_2$ is momentum of mass m.  L=$r_1Xp_1+r_2Xp_2$  If $\dfrac{dL}{dt}=0$ then dL will be conserved over time, applying product rule             $L=\dfrac{dr_1}{dt}Xp_1+r_1X\dfrac{dp_1}{dt}+\dfrac{dr_2}{dt}Xp_2+r_2X\dfrac{dp_2}{dt}$  noticing that $p_1=m\dfrac{dr_1}{dt}$ and $p_2=m\dfrac{dr_2}{dt}$ clearly $p_1$ is parallel to$ \dfrac{dr_1}{dt}$ and $p_2$ is parallel to $\dfrac{dr_2}{dt}$ and hence when cross producted with them, the result is 0.  Giving $L=r_1X\dfrac{dp_1}{dt}+r_2X\dfrac{dp_2}{dt}$  I gather I must now show that either these two terms are 0, or they are equal and     opposite. I can't see any reason why they would be 0, and (slightly guessing) it seems to    make sense to me that they are terms related to how the angular momentum of one body changes    with the other body, and I assume they must therefore be equal and opposite. However when I    do  $r_1X\dfrac{dp_1}{dt}=-r_2X\dfrac{dp_2}{dt}$      I notice $\dfrac{dp_1}{dt}=\dfrac{-GMm(rv)}{r³}$ and $\dfrac{dp_2}{dt}=\dfrac{GMm(rv)}{r³}$ (since (rv)'s direction is flipped)     Therefore $r_1X\dfrac{-GMm(rv)}{r³}=-\dfrac{r_2XGMm(rv)}{r³}$     Defining $w=\dfrac{GMm}{r³}$:  $r_1X(rv)(-w)=r_2X(rv)(-w)$     Scalar products are commutative so the (-w)'s easily cancel giving  $r_1X(rv)=r_2X(rv)$  Which then the only solutions are if all components of $r_1$ are equal to all components of      $r_2$, however angular momentum should clearly be conserved in all positions, not just when the masses are ontop of each other.  Thanks again for any help.


So, I'm trying to get a make up cam for danTDM photos (lol) so I'm trying to get it and it's free and I haven't gotten a app in a long time and then it came up! GIVE US CREDIT CARD. And so I tryed it again and BOOM it asks again! So now I look at all these things saying what to do and yet again, I can't do it... It says press the "none" credit card... WITCH I DONT HAVE! WHAT DO I DO HELP!

Ever since adding an iTunes gift card to my account, I'm getting verification requests like crazy. I can't even download free apps. It takes me to my payment info and when I try to select none, I continually get a message under the payment info that says "you must verify your payment info to continue"  I don't want a credit card on file and would really like the none option to work. My ID shows I still have iTunes credit.


They seem to have all the properties of dark-matter (massive, with no electromagnetic interaction). Could it be that many of the neutrinos produced since the big bang have formed massive neutrino clusters that act as dark-matter?

What evidence is there that dark matter isn't one of the known types of neutrinos?  If it were, how would this be measurable?


I regularly use a hat under my helmet and a neck warmer.  This keeps me relatively warm in the winter but leaves a bit to be desired.  What are the best options to keep your face warm?  Some people in NYC particularly those riding electric devices wear full face motor cycle style helmets.  I’ve never tried that but it must keep you warm...

Winter is coming. I found that when commuting—or just riding—in cold conditions (say -10 Celsius), the skin on my face becomes too dry, red, and itchy.  What can I do to prevent this?  I've tried using buff as a mask, but had no luck: due to the air I breathe out, this mask freezes quickly and makes things even worse. I'm not asking about masks only; maybe there are some gels to apply on the skin?


Let's say I have a few titles here:     Fire in Our Hands   Who am I   Land of Dreams      Do I write the italic words with capitals like the other words,  or is it properly written the way it is?

Are there any concrete rules that say which words (parts of speech) in a title should start with a capital letter? What would be a correct capitalization for the title of this question?


I'm using jquery validator alpha numeric rule but i want to allow space but right now the issue is when i give space it shows error, my main requirement is i don't want user to enter special characters ore symbols in text fields, my code is like this: <form id="myform">     <input type="text" name="field" />     <br/>     <input type="submit" /> </form>   Script:  $(document).ready(function () {              $('#myform').validate({ // initialize the plugin             rules: {                 field: {                     required: true,                     alphanumeric: true                 }             },             submitHandler: function (form) { // for demo                 alert('valid form submitted'); // for demo                 return false; // for demo             }         });          });

How do you create a simple, custom rule using the jQuery Validate plugin (using ) that doesn't use a regex?  For example, what function would create a rule that validates only if at least one of a group of checkboxes is checked?


I'm thinking of buying a VPN service and i watched this tutorial video on how to set it up. Pretty much straight forward using Windows 7 Network and Sharing Center to set up a new VPN.  But while enabled, is it 100% guaranteed that every application on evry port uses it? How does the VPN connection "take over" the regular connection?

How do these anonymous VPNs work? They say you can browse the web using a different IP address than your own. How does this work?  I understand the Virtual Private Network model, I am just confused on how I browse the web with a different IP?


I downloaded  (it's the second "entry" on the page). The download link took me to  (where the download began). I downloaded the latest server package, which is 13.10.  The best I can tell, there's no Cloud stuff on that CD. When I installed the server package, I was asked if I wanted to enable the SSH server, the SAMBA server, install a print server, etc. But there was no choice for "Cloud Server".  Additionally, after reboot, there is nothing running that looks like its cloud related, like Keystone (identity management), Glance (image manager), Nova or Nuetron (compute), Ceph or Swift (object storage), etc.  I'm obviously missing something, here, but I don't know what it is. The advertised steps are:    Create a startup disk USB Stick Insert it in your computer and reboot Start using your local private cloud   OpenStack is moving so fast my recipes for installing it and running it on Ubuntu are already ancient. That includes my books like .  What, precisely, does Ubuntu OpenStack provide? Am I supposed to do something else next (apparently, but I don't know what)?

How do I install ? Is there an easier way other than official installation instructions?


I have tried to align the exclamation mark and I could not center it both vertically and horizontally, well my goal is to make it look the same as this image   \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[most]{tcolorbox} \usepackage[x11names,table]{xcolor} %------------------------- \definecolor{orang}{RGB}{255,155,0}  \newtcolorbox[auto counter,number within=section]{caja}[1][]{   enhanced jigsaw,colback=white,colframe=orang,coltitle=orang,   fonttitle=\bfseries\sffamily,   sharp corners,   detach title,   leftrule=22mm,   underlay unbroken and first={\node[below,text=white,font=\sffamily\bfseries,align=center]     at ([xshift=-11mm,yshift=-1mm]interior.north west) {\Huge \centering  \textbf{!}};},   breakable,pad at break=1mm,   #1,   code={\ifdefempty{\tcbtitletext}{}{\tcbset{before upper={\tcbtitle\par\medskip}}}}, } %---------------------- \begin{document} \section{example}  \begin{caja}[title=warning] The vertical alignment settings are only relevant for boxes which are larger than their natural height, see Section 4.10 on page 53. \end{caja} \end{document}   As you may have noticed, this box has a title and seems to have an effect on the alignment

I would like to clone this box used on the tcolorbox manual, but I couldn't find the configuration in the manual.    Can you help me?


Can we get the the link/url that user has clicked inside Salesforce. And based on the url clicked I need to do some functionality in apex method. Example: - User has selected an app from App Launcher. I should get the url of the selected app.

I am trying to understand how can I trigger my apex method if any user click on any app from app launcher? I need to get App Details from UserAppInfo object and for that I need to know when user has selected/changed the current App. Another way I am thinking is put a js script that will check if user clicked url contains "app" then also I can trigger apex method from js. But not sure where to put this js so that on any page load it can check for the url


My MacBook Pro 11,2 (Retina 2014) shuts down suddenly from time to time. When I run macbook again, I inspect the log file I see the following message:      Previous shutdown cause: -128   Sometime, when I close a laptop, fans begin to hard work. It happens with/without power adapter. I launched Diagnostic and I got 'NO ISSUE'.   When I run macbook in SafeBoot, all work correctly, but very slowly.  I tried:   Reset SMC, PRAM. ERASE Disk and install macOS from scratch.   Also, I tried to remove battery and use the power adapter only. In this case it work correctly, but sometime I get another error (It happens rarely).   Macbook pro 11,2 Retina 2014 (15 Display) Intel Core i7 2,2 GHz RAM 16 GB SSD 256 GB

My Macbook pro (early 2011, upgraded to 10.11) started behaving strangely lately. It started randomly crashing multiple times of the day, and the only information I've been able to find is the following message in the logs. Oct 26 10:07:01 localhost kernel[0]: Previous shutdown cause: -128 Any idea what might have caused it? I've looked up the cause code, but it didn't provide me any additionl information and I couldn't find anything online.  Edit: I did two memtest runs and they both returned no errors on the memory. I've also tried swapping the memory banks around without any improvement. AHT same thing, doesn't find any error.


I've got a little problem of comprehension with my regex I just want add a variable inside my regex I've got this: static test(Prefix, version: string) {     return "/^" + Prefix + "[0-9]*.[0-9]*.[0-9]*-[0-9]*-(SNAPSHOT)$/.test(version); }  // I don't understand where to put my last "   thanks for your help

I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string?


In order to solve a probability problem I had to prove the following equality:  $$\frac{1}{2^{2n+1}}\sum_{r=0}^{n}\binom{2n-r}{n}2^r=\frac 12$$  I tried to prove it but to no avail. The main problem is that I've never studied combinatorics, and our introduction to the binomial coefficient was very minimal. The only two things I know about them is their symmetry, and the binomial theorem of Newton. However, In order to use one of these properties or both, I need the summation variable $r$ to be on the bottom of the coefficient; rather than on the top of it.  Thanks!

So I've been struggling with this sum for some time and I just can't figure it out. I tried proving by induction that if the sum above is a $S_n$ then $S_{n+1} = 4S_n$, but I didn't really succeed so here I am. Thanks in advance.


$ unzip ABC.zip Archive:  ABC.zip   End-of-central-directory signature not found.  Either this file is not   a zipfile, or it constitutes one disk of a multi-part archive.  In the   latter case the central directory and zipfile comment will be found on   the last disk(s) of this archive. unzip:  cannot find zipfile directory in one of ABC.zip or         ABC.zip.zip.zip, and cannot find ABC.zip.zip.ZIP, period.   How to unzip ABC.zip folder? Folder contains sub-folders and tex files. My friends are able to unzip the same folder while my system throws the above error message.

I try to unzip a zip file, but got an error:  $ unzip COCR2_100.zip  Archive:  COCR2_100.zip   End-of-central-directory signature not found.  Either this file is not   a zipfile, or it constitutes one disk of a multi-part archive.  In the   latter case the central directory and zipfile comment will be found on   the last disk(s) of this archive. note:  COCR2_100.zip may be a plain executable, not an archive unzip:  cannot find zipfile directory in one of COCR2_100.zip or         COCR2_100.zip.zip, and cannot find COCR2_100.zip.ZIP, period.   I googled but didn't find a solution. I was wondering why it is and how I should fix it? Thanks!  The zip file can be downloaded from . It is an application, and here is its website .  My OS is 10.10.


I am using following code to test two table column values. only issue is how to convert .colNameivr values to upper case before matching with itemNames.  jQuery('.colNametns').each(function(i) { var itemName = jQuery(this).text().toUpperCase();     //1 var match = jQuery('.colNameivr:contains("' + itemName + '")');  //2   if(!match.length){       jQuery(this).toggleClass('red');       counter = i;   } if(match.length){      alert(i+"--"+itemName );     callme1(itemName);   }            });   example here -  in above example -countryCode should not highlight as string is same.

Is there a case insensitive version of the  jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string?


It’s quite clear from the Harry Potter series that doing magic underage is illegal. Two infractions and your wand is broken and you’re kicked out of Hogwarts. The Ministry keeps tabs on underage wizards and witches with the Trace. Harry thought he was bound to be expelled after making his uncle’s sister float in “The Prisoner of Azkaban.”  Yet on the other her hand, we know from “The Deathly Hallows,” before Voldemort took over the Ministry, it was not obligatory for young wizards or witches to enroll in Hogwarts. They could in stead choose to learn all their magic at home with their parents.   A contradiction arises: can a young wizard/witch do magic at home, outside of school? Is it only illegal for enrolled students? If so, why? One could suggest the Trace is only put on the students once they enroll but isn’t it true that the Ministry keeps track of underage Muggle-born witches/wizards with the Trace?

In the linked question () it is mentioned that the Ministry doesn't keep track of which children are capable of magic.  If this is the case then how does The Trace get applied to magical children?  I seem to recall that the trace is only active for Hogwarts students but this could be wrong.  If that is the case does the trace even apply for students that are magic but don't go to Hogwarts?    To make it more clear - If the Ministry of Magic doesn't keep track of which children are capable of magic then how can they apply the trace to wizards of a certain age?  If it happens automatically then anytime they use magic there would be a record and thus the Ministry would know which children are capable of magic.


In classical Mechanics, there is a reference to the Reynolds Number ( Re=ρvd/η (ρ density, v velocity, d diameter and η the viscosity of fluid)) that relates the ratio $$ f_{\text{quadratic}}/ f_{\text{linear}}$$  When the Reynolds number is large, the quadratic term is important, and when small, the linear term is important. How will I know if the Reynolds Number is large or small in determining when to use the quadratic or linear terms for air resistance in the equation like:  $$f(v) = bv + c^2v = f_{\text{linear}} + f_{\text{quadratic}}$$

I have been looking for definitions of the Reynold number, and by far the most common definition is that the it is given by: $$ Re\equiv \frac{LU}{\nu}$$ Where $L$ is the characteristic length scale, $U$ is the characteristic velocity scale and $\nu$ the kinematic viscosity.   To me this seems to be a very imprecise definition, since the characteristic length scale and velocity scale don't have any precise value for a system and are free (within reason) for the experimenter to chose. This  surly means that $Re$ does not have a set value for a given system but can take any value (again within reason).  Am I correct in saying this? If so is there any other ways to define the Reynold number so that for a given system it has a set value that all experimenters would agree on and if not why not?


I want to have shortcuts like in Windows; Super opens the start menu, Super+S opens a search window, Super+E opens Thunar, etc.  I know how to set keyboard shortcuts, but when I set Super to open whiskermenu, whiskermenu also pops up in every other instance of Super+* shortcuts. I think this is because XFCE registers the shortcuts as they come, rather than waiting for simultaneous release (like in Windows).  How do I set that up?

I have Ubuntu 16.04 with GNOME shell. I set ctrl+shift for the "Modifiers-only switch to next source" option.   This shortcut conflicts with apps hot-keys. I can't use ctrl+shift+i to open devtools in Chrome, it just switches the layout. In VS code IDE if I press shortcuts with ctrl+shift (for example ctrl+shift+f), shortcuts work but always switch a keyboard layout. When I used Windows this problem didn't exist.  Can I set the ctrl+shift shortcut in such a way that it causes a switch action only after the keys are released and only if this 2 keys were pressed (without additional keys)?


im working on a problem for like 2 hours and I still cant fix it. My task is to programm  49 Rectangel Squares. so I tried to use a array to make it easier, but it doen'st want to work :'(  without using arrays it works..  Thank you for help!  source code:   package Game;  import javafx.scene.shape.Rectangle;  import javafx.application.Application;  import javafx.scene.Scene;  import javafx.scene.layout.HBox;  import javafx.scene.layout.VBox;  import javafx.scene.paint.Color;  import javafx.stage.Stage;  public class Game extends Application{  public static void main(String[] args) {     launch(args);  }  @Override public void start(Stage primaryStage) throws Exception {     // TODO Auto-generated method stub     VBox vb = new VBox();     VBox vb2 = new VBox();     HBox hb = new HBox();      Rectangle q[] = new Rectangle[4];       q[0].setFill(Color.RED);     q[1].setFill(Color.BLUE);     q[2].setFill(Color.GREEN);     q[3].setFill(Color.YELLOW);      vb.getChildren().addAll(q[0],q[1]);     vb2.getChildren().addAll(q[2],q[3]);     hb.getChildren().addAll(vb,vb2);      Scene sz1 = new Scene(hb);     primaryStage.setScene(sz1);     primaryStage.show();    }   }  my compiler :  > Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) atcom.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Launcher Impl.java:389) atcom.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.jav a:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method atcom.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.ja va:917) atcom.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(Launc herImpl.java:182) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at Spiel.FensterSpiel.start(FensterSpiel.java:29) atcom.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(Laun cherImpl.java:863) atcom.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl .java:326) atcom.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java: 295) at java.security.AccessController.doPrivileged(Native Method) atcom.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.j ava:294) atcom.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.ja va:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) atcom.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:19 1) ... 1 more

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


I'm having trouble installing Brave Web Browser for ubuntu 18.04 for desktop.  I've tried the instructions on GitHub and the instructions for ubuntu 16.04 listed in FAQ, but still doesn't work. Can anyone please help?

Trying to install as directed, my Terminal output contains the following:  user@user-computer:~$ snap install brave --beta The program 'snap' is currently not installed. You can install it by typing: sudo apt install snapd user@user-computer:~$ sudo apt install snapd [sudo] password for user:  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   ibus-mozc libllvm3.8 libmircommon5 linux-headers-4.4.0-21   linux-headers-4.4.0-21-generic linux-headers-4.4.0-93   linux-headers-4.4.0-93-generic linux-headers-4.4.0-96   linux-headers-4.4.0-96-generic linux-image-4.4.0-21-generic   linux-image-4.4.0-93-generic linux-image-4.4.0-96-generic   linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-93-generic   linux-image-extra-4.4.0-96-generic Use 'sudo apt autoremove' to remove them. The following additional packages will be installed:   squashfs-tools The following NEW packages will be installed:   snapd squashfs-tools 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. Need to get 8,625 kB of archives. After this operation, 41.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.riken.jp/Linux/ubuntu xenial/main i386 squashfs-tools i386 1:4.3-3ubuntu2 [111 kB] Get:2 http://ftp.riken.jp/Linux/ubuntu xenial-updates/main i386 snapd i386 2.28.5 [8,514 kB] Fetched 8,625 kB in 2s (4,261 kB/s)  Selecting previously unselected package squashfs-tools. (Reading database ... 265067 files and directories currently installed.) Preparing to unpack .../squashfs-tools_1%3a4.3-3ubuntu2_i386.deb ... Unpacking squashfs-tools (1:4.3-3ubuntu2) ... Selecting previously unselected package snapd. Preparing to unpack .../archives/snapd_2.28.5_i386.deb ... Unpacking snapd (2.28.5) ... Processing triggers for man-db (2.7.5-1) ... Setting up squashfs-tools (1:4.3-3ubuntu2) ... Setting up snapd (2.28.5) ... user@user-computer:~$ snap install brave --beta error: snap "brave" not found (at least in channel "beta") user@user-computer:~$  (/usr/lib/firefox/firefox:3115): dconf-WARNING **: Unable to open /var/lib/menu-xdg/dconf/profile/user: Permission denied   Is the problem that my laptop is 32-bit and this software is 64-bit? Should I change the server to a different country? (How would I do that?)  I suspect the answer is that there is no 32-bit version available, that snap automatically takes into account my processor type, and hence there are no installation files in the 32-bit channel.


I'm looking for an open source CMS such as        Similar  has already been asked but its still without a proper answer.

This is a general, community wiki  question to address non-specific "I need a CMS or Wiki that does x, y, and z..." questions.  If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on .    I have a list of features that I want for my website's Content Management System (CMS) - where can I find a [free] script that includes all of them?


There's something that I'm not grasping about python imports. I've read dozens of articles but I'm not finding a satisfactory answer. The situation is this:  I'm writing a package made of several modules. Let's say that the package is named pack1. In the __init__.py file, in order to expose the classes and functions I defined in my modules, I wrote:      from .module1 import *     from .module2 import *     ...   Now, in module 1:      from math import sqrt  # a tool that I need      class class1:          <body>      class class2:          <body>     ....     class class100:          <body>   My problem is that when I      import pack1   in another project, I see sqrt in pack1's namespace. Do I have to import each one of the 100 classes separately in the __init__.py file in order to avoid this and keep my namespace clean? Do I have to do some hack with the inspect module in __init__.py in order to identify the classes that were defined and not imported (I think this would be very ugly)? Or, as I suspect, I'm mistaking something about how I should handle the module structure or the import statements?

I have been using Python more and more, and I keep seeing the variable __all__ set in different __init__.py files.  Can someone explain what this does?


Light is electromagnetic wave. There is continuous vibration of electric and magnetic field in the light. It means that I I place a conducting coil in the light. There will be change in magnetic flux linked with this loop. Then why is there is no induced current in the loop which is placed in the light?

I know that electromagnetic waves induce electric currents in conductors and that's the basis for radio, wi-fi etc.  I also know that light is also an electromagnetic wave. So, can light induce a current in a conductor (like a metal wire? or a coil?). And, if the answer is yes, is the same visible for other high-frequency waves (X-rays, gamma)?  I heard about the photoelectric effect, but it seems related to the particle theory of light (photons transferring their energy to electrons).  So, do high-frequency electromagnetic waves generate electric currents? Is it possible to measure them? Is the skin effect relevant here?


How to show python information when Mouseover in Blender 2.8? Blender 2.7x  Blender 2.8x

in Blender 2.79 one could hover over a UI element and see the symbolic python name of said element. How would one accomplish the same with Blender >= 2.8?


I'm having some weird and mostly unreproducable error concerning the boolean-intersect modifier. In rare cases, it does not cut objA along the edge of objB but rather along the contour. See the following pictures for clearification:   The modifier on the heel behaves as expected when intersecting the plane, but the one on the forefoot sometimes yields these strange results.    Does someone have an idea why that behaviour occurs? Thanks!

I'm trying to model an , but it's not going so well when it comes to the magazine of the weapon.   Next to the magazine is a mesh. I want to cut holes in the mag with that mesh. But the magazine just goes invisible or connects with the mesh when trying to execute the Boolean Modifier. I have tested to invert the normals and some other stuff, but it isn't working.


I have been reading Jane Eyre recently and came across a sentence the other day: ...and away we rattled over the “stony street” of L— . There is a blank between "–" and the full stop, which made me quite confused. I know that the reason why the author used "L" instead of a concrete name is avoid to reveal someone's private information or be sued for libel, but this blank still perplexes me. Why is there a space before the full stop? Is it a typo? If not, what does it mean?

This is something very odd I have noticed in some older books, most recently in "Crime and Punishment" by Dostoyevsky.  Place names, when not specifically essential or well-known, are made up of one letter followed by a line of underscores (i.e. "X_____").  I think I recall reading something similar in another older work, possibly by Jane Austin?  Apologies if this is a duplicate; I've searched quite extensively and can't seem to figure it out.  I don't know a name for this, so can't search easily for it.


I want to install Ubuntu desktop OS on all my laptops at work, So I don't want to invest for support and for OS as well. I heard that Linux is the free solution for operating system requirement generally, but I am seeing it converting in to a paid solution these days.   For using server OS or cloud we may have to pay. But isn't there any such thing which is completely free?

Is  free for business platforms?  Has Ubuntu changed its conditions about using the OS for profit purposes?


$ \sum_{k=0}^{\infty} kp(1-p)^k , p_\in<0,1>$ I know that the sum is $ \frac{1-p}{p} $ but i don't know how to arrive to it. There is a resemblence to geometric series but i don't know how to deal with the $k$.  $ \sum_{k=0}^{\infty} kp(1-p)^k = p(1-p)\sum_{k=0}^{\infty} k(1-p)^{k-1}$ Sum of the series is $\sum_{k=0}^{\infty} k(1-p)^{k-1} = \frac{1}{p^2}$ but once again, i don't know how to deal with the $k$.

How can I evaluate $$\sum_{n=1}^\infty\frac{2n}{3^{n+1}}$$? I know the answer thanks to , but I'm more concerned with how I can derive that answer. It cites tests to prove that it is convergent, but my class has never learned these before. So I feel that there must be a simpler method.  In general, how can I evaluate $$\sum_{n=0}^\infty (n+1)x^n?$$


I wanted to know that there's a software on Ubuntu store and if i installed it so as we know we are in Ubuntu Linux , can i find that software's "Source Code" on the Terminal or any Other way... I am a student and have started Learning Software Development... So, How can i find any software's "Source Code" on Ubuntu Please Help Anybody...

I'm trying to download source code of certain packages, for example rhythmbox, for learning purposes. I want to do this through apt-get, with the apt-get source command.  For some reason, apt-get can't seem to find any package. I've tried several packages, and I keep getting this output from apt-get:  $ apt-get source rhythmbox Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to find a source package for rhythmbox   I've been searching for answers for quite some time now, but I can't find anyone with the same issue. apt-get works fine with installing and updating so apt-get works fine in my opinion. During the search I also learned that I had to enable the 'source code repositories' in Software Sources, so that's also enabled.  I am aware of the fact that (maybe only for certain packages, not sure) source packages can also be downloaded with bzr from Launchpad, but I want to know why this method won't work.


I've been looking through posts trying to find the answer, but haven't had any luck, so hoping someone can point me in the right direction.   When I use the following code, it checks all the input boxes and it unchecks them. However, if I click the check all again, it doesn't check them all. Why is that?  JQuery    $('document').ready( function() {     $('.check_boxes').click( function() {       if ( $(':checkbox').attr('checked')) {         $(':checkbox').attr('checked', false);       } else {         $(':checkbox').attr('checked', true);       }          }); });   HTML  <input type="checkbox" class="check_boxes" id="check_all" />

I'd like to do something like this to tick a checkbox using jQuery:  $(".myCheckBox").checked(true);   or  $(".myCheckBox").selected(true);   Does such a thing exist?


I've just discovered this way to output things on php templates:  <body>   my name is   <?= $params['name'] ?>   ...   That should be equal to:  <body>   my name is   <?php echo $params['name'] ?>   ...   It's a very cool and clean syntax, but my question is: is legit? Or is deprecated?

Here's the information :     There are four different pairs of   opening and closing tags which can be   used in PHP. Two of those, <?php ?>   and <script language="php"> </script>,   are always available. The other two   are short tags and ASP style tags, and   can be turned on and off from the   php.ini configuration file. As such,   while some people find short tags and   ASP style tags convenient, they are   less portable, and generally not   recommended.   In my experience most servers do have short tags enabled. Typing  <?=   is far more convenient than typing  <?php echo    The programmers convenience is an important factor, so why are they not recommended?


I have an iPod touch 6th generation. I need to run my application using actual device. I dont have a  purchased apple ID. I need to test my application without using purchased apple ID. Please give me good guidelines step by step.

How can you beta test an iPhone app?  I can get it on my own device, and anyone that gives me a device, I can run it on theirs, but is there a way to do a limited release via the app store for beta testing?  Related: Also, see  on getting your app onto phones without using the App Store.


The program below prints (20,10) but I do not understand why it is not (10,20), as the foo method should switch the variables.   Could somebody please explain this? Thank you  public class Test {   public static void main(String[] args)   {     int x = 20;     int y = 10;     foo(x,y);     System.out.println(x + " , "+y);   }   public static void foo(int x, int y)   {     int tmp = x;     x = y;     y = tmp;   }  }

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


The same question was posed here  but I cannot make sense of the answer.  My long division must be incorrect as I ended up with $a+b+c$ which is definitely wrong. I added $0$ to represent $x^3$ and $x^1$ terms.   I know the remainder should be zero if $x+1$ is a factor.  I am not putting two and two together.

If $x+1$ is a factor of $ax^4 + bx^2 + c$, find the value of $a + b + c$? I know that it is equal to zero, but I have to know How to do it.


I'm unsure how to show  that for each integer $m$, $ \lim_{u\to \infty} \frac{u^m}{e^u} = 0 $.   Looking at the solutions it starts with $e^u$ $>$ $\frac{u^{m+1}}{(m+1)!}$ but not sure how this is a logical step.

In other words, how to prove:  For all real constants $a$ and $b$ such that $a > 1$, $$\lim_{n\to\infty}\frac{n^b}{a^n} = 0$$  I know the definition of limit but I feel that it's not enough to prove this theorem.


I'm having a hard time proving the following:   Two circles with centers $P_1$ and $P_2$ respectively have two intersections $A$ and $B$. Prove that the line through $P_1$ and $P_2$ and the line through $A$ and $B$ are perpendicular.  I know that this has to be fairly simple, but every approach I see is somewhat circular. How to prove it rigorously?

Prove that the line segment joining the two centers of the concurrent circles of equal radius is perpendicular to line segment joining the two intersection points of the circles. I had come across statements that common chord of the two circles is bisected if we draw a line segment joining the two center of circles.


There were    questions on applying rejected suggested edits to one's own post. Could this functionality be implemented? It is always possible to do so by hand, but this  does not credit the editor (rep, edit count, etc) is a bit tedious  Implementation could be to use some of the free space at the suggested edit page left to the Next-button. Have a button there with No, this looks good, accept, for example.  Advantages  Saves the tedium of having to manually apply rejected edits by hand. Gives credit where credit is due. Only appears on your own posts, does not clutter the UI. Design already there.  Disadvantages  Implementation overhead Does not school the editor to rather leave a comment, but: Many would probably prefer to have the edit spelled out rather than hinted in a comment

A user  which added useful information to one of my answers. However, because it was a substantial edit, it was rejected by the reviewers. That's fine. However, as the owner of the post I would like to be able to overrule their decision after reviewing the edit myself (as I was encouraged to do by the notification in my inbox).  Currently, I had to open the edit suggestion in a different tab and manually copy and paste over the changes from the markdown diff to apply the changes. This seems laborious and doesn't give credit to the user who suggested the edit.  Request:  I would like a button on the suggested edit page, visible to the owner of the post, which applies the suggested changes, preferably just as if it had been accepted by the reviewers (i.e. giving credit to the editor and the +2 reputation for editing, if applicable).  Related discussions: (note that since this is a feature request, these are not duplicates)


I am a new here and would like to learn tips from experienced QA Analysts. What do you think are the attitudes or qualities that will help me excel in this field?

Provided you are ready to hire your first (or next) QA team member, what are the key properties of a person you will pay attention to?


The solution to the duplicate question did not work I have the following files: ListaEnc.hpp #include "Elemento.hpp"  template<typename T> class ListaEnc {  public:     ListaEnc();     ~ListaEnc(); //  inicio     void adicionaNoInicio(const T& dado);     T retiraDoInicio();     void eliminaDoInicio();         T pegarHead(); //  posicao     void adicionaNaPosicao(const T& dado, int pos);     int posicao(const T& dado) const;     T* posicaoMem(const T& dado) const;     bool contem(const T& dado);     T retiraDaPosicao(int pos); //  fim     void adiciona(const T& dado);     T retira(); //  especifico     T retiraEspecifico(const T& dado);     void adicionaEmOrdem(const T& data); //  outras     bool listaVazia() const;     bool igual(T dado1, T dado2);     bool maior(T dado1, T dado2);     bool menor(T dado1, T dado2);     void destroiLista();         int pegarTamanhoLista();  private: //trocar pra private     Elemento<T>* head;     int size; };  ListaEnc.cpp #include "ListaEnc.hpp" #include <cstdlib> #include <iostream>  template<typename T> ListaEnc<T>::ListaEnc() {      ... }  main.cpp #include "ListaEnc.hpp" using namespace std; int main(int argc, char** argv) {     double x1, y1;          x1 = 2; y1 = 4.2;      ListaEnc<int>* teste = new ListaEnc<int>();          return 0; }  This should compile just fine, but I get an undefined reference error to ListaEnc on main.cpp. I have more files in which the reference to ListaEnc is also undefined, but I tried isolating it and still can't get it to work. Does anyone understand why this is happening? edit: More specifically, there is an undefined error to the constructor and destructor of ListaEnc

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


For any prime number $p$, $A_p$=the set of integers $d\in \{1,2,3,\dots, n\}$ such that the power of $p$ in the prime factorization of $d$ is odd. Then  \begin{align*} A_p= & \lfloor\dfrac{n}{p}\rfloor-\lfloor\dfrac{n}{p^2}\rfloor+\lfloor\dfrac{n}{p^3}\rfloor-\lfloor\dfrac{n}{p^4}\rfloor+\dots \end{align*}      Any one can give me any idea how can I show this ?      Update:   I have gone through $1p,2p,3p,\dots, kp\leq n<(k+1)p\implies \lfloor \dfrac{n}{p}\rfloor=k$, but I can not understand after this step.

For any prime number $p$, let $A_p$ be the set of integers $d\in \{1,2,\dots, 999\}$ such that the power of $p$ in the prime factorization of $d$ is odd. Then what is  the cardinality of $A_p$?  I have used to the following result, but failed to show the required result. The largest exponent $e$ of a prime $p$ such that $p^e$ is a divisor of $n!$ is given by  $$ e=\left\lfloor \dfrac{n}{p} \right\rfloor + \left\lfloor \dfrac{n}{p^2} \right\rfloor + \left\lfloor \dfrac{n}{p^3} \right\rfloor $$ How can I do next?


What that screen means and how I can boot without the password? (I'm trying to boot into with a bootable USB with Ubuntu 20.10)

When I'm trying to boot my PC from the Xubuntu minimal CD, it fails. It just goes straight to the other operating system, windows vista.  I don't have admin access is that occurring the problem? My computer is really old. It is the 32 bit.  How to solve this problem?


I have an Acer C720, with a 64 gb SSD,  in which I would like to install Ubuntu. But I don't want the "crouton" version. If I follow the directions from here () will I get a "real" version of Ubuntu? If not how should I proceed?  Thanks

I have installed Ubuntu 13.04 on my desktop (runs like a charm). Then I used Crouton to install Ubuntu 12. 04 on my chromebook samsung (ARM). It also works quite well.  Here comes my question. Can we have a true Ubuntu (preferably 13.04) on my ARM chromebook?  It seems that the Crouton/Ubuntu is not 100% the real thing.  The best option would be to have the full Ubuntu 13.04 and remove the Chrome OS.


I was trying to remove a directory from my hard drive. But after typing a   sudo rm -r -f ./   command, it says      cannot remove [...] read-only file system.   I also tried the   sudo mount -o remount,rw /mnt   command, but this time it says      only root can use --options option   Do you have any fix for that? I really need to remove that folder!

The title might not be as descriptive as I would like it to be but couldn't come up with a better one.  My server's file system went into Read-only. And I don't understand why it does so and how to solve it.  I can SSH into the server and when trying to start apache2 for example I get the following :  username@srv1:~$ sudo service apache2 start [sudo] password for username: sudo: unable to open /var/lib/sudo/username/1: Read-only file system  * Starting web server apache2                                                                                (30)Read-only file system: apache2: could not open error log file /var/log/apache2/error.log. Unable to open logs Action 'start' failed. The Apache error log may have more information.   When I try restarting the server I get :  username@srv1:~$ sudo shutdown -r now [sudo] password for username: sudo: unable to open /var/lib/sudo/username/1: Read-only file system   Once I restart it manually it just start up without any warning or message saying something is wrong.  I hope somebody could point me into the right direction to resolve this issue.


Is there anyway to enable administrator access instead of having to right click command prompt and run as administrator?  I tried runas /user:administrator CMD (prompts for password) net user administrator /active:yes (System error 5 has occurred. Access is denied.) runas /user:administrator luaexec.exe -w -f cmd.exe /k  This is on my local machine running windows 8 and have no passwords on any accounts

Sometimes you may open a program that you want to run as an administrator, but you may already have opened it not as an administrator. Is it possible to elevate the privileges of an already running program in Windows 7 or do I have to close and restart as admin?


I've tried many things but cron just won't restart pm2. I set the crontab -e with: SHELL=/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin  */10 * * * *  /usr/bin/node /usr/bin/pm2 restart all  And the I type: cat /var/log/cron.log  And it says: Apr  2 01:00:01 fatsecret CRON[8202]: (peteblank) CMD (/usr/bin/node /usr/bin/pm2 restart all) Apr  2 01:00:01 fatsecret CRON[8201]: (peteblank) MAIL (mailed 78 bytes of output but got status 0x004b from MTA#012) Apr  2 01:10:01 fatsecret CRON[8454]: (peteblank) CMD (/usr/bin/node /usr/bin/pm2 restart all) Apr  2 01:10:01 fatsecret CRON[8453]: (peteblank) MAIL (mailed 78 bytes of output but got status 0x004b from MTA#012)  So it looks like its restarting every 10 minutes, but its not.

This is a  about using cron & crontab.   You have been directed here because the community is fairly sure that the answer to your question can be found below. If your question is not answered below then the answers will help you gather information that will help the community help you. This information should be edited into your original question.  The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below.  This addresses the cron system with the crontab highlighted.


I have the below code:   import java.util.HashMap;     import java.util.Map;      public class Pangram1 {          public static void main(String[] args)         {         Character [] ch = new Character[] {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};         HashMap<Character,Integer> map1 = new HashMap<Character,Integer>();         String s = "The quick brown fox jumps over the lazy dog";         int count = 0;         int greater = 0;         for (char character: ch)         {             map1.put(character, count);         }          for(Map.Entry<Character,Integer> entry : map1.entrySet() )         {             System.out.println("key is" + "\t" + entry.getKey() + "\t" + "Value is" + entry.getValue());         }          for(int i = 0; i < s.length();i++)         {                Integer count1 = map1.get(s.charAt(i)); Line 28 --->            count1.intValue();             map1.put(s.charAt(i),new Integer (count1));               if(count1 > greater)             {                 greater = count1;             }         }          if(map1.values().contains(1) && greater == 1)         System.out.println("Pangram");         else if(map1.values().contains(0))         System.out.println("Not Pangram");         else if(greater > 1)         System.out.println("Multiple Pangram" + "\t" + greater);      }     }   I am getting this error Exception in thread "main" java.lang.NullPointerException     at Pangram1.main(Pangram1.java:28)  I have tried all ways such that there wouldn't be autoboxing/Unboxing problems but still exception throws up.   Could someone please help me with it ?  Thanks !!

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


I'm making a game with a timer and it tell's you how long you took to complete the game at the end, it's a basic game so some people may beat it in less than a minute so i want to know is there any way to detect if there if the minutes are equal to 00 so then i can set the text to say 00:12 seconds and if it's not equal to 00 then it will say 01:12 Minutes. This is the code that i am using to work out the times.   Date start = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("mm:ss");   And the work out the final time is simply  Date now = new Date(); sdf.format(new Date(now.getTime() - start.getTime()))

I need to convert an arbitrary amount of milliseconds into Days, Hours, Minutes Second.  For example: 10 Days, 5 hours, 13 minutes, 1 second.


I am building a large sharepoint site. Visitors will use various devices to access the site. Should i use device channels to control the display of elements or would it be more advisable to use css media queries???  Thanks!!

I'm a SharePoint developer and also skilled in web design. My current task is to implement a responsive design along with a branding in SharePoint 2013 environment  Now I am in the situation to choose which one I would use to implement a responsive design in SP2013 and so I collected pro's and con's for each technology.  What do you think? Are there important aspects I'm missing? Are there other solutions which are better suited for realizing this?


I have learned recently that I can delete my account and start a new one. Now there are some rules to this for example if you are in a suspension the suspension and/or ban would continue under the new accounts. Some of my SE accounts were beyond repair even by a moderator, so I deleted a couple after my question ban was over to see if it helped.  It seemed like it did.  The deletion was not automatic and had to be reviewed and approved I guess because I had to wait 24 hours. Who does that task?  Am I breaking any rules or circumventing the system (no where in the details does it give reasons or rules) or am I utilizing tools available to me by the system in the way the designer intended?  Note: I do not condone circumventing or exploiting the SE system in any way and that I only did this as a last resort to fix my accounts. I returned to Aviation.SE and asked some questions and did very well. I was also suspended but at least it wasn't for a year this time.  From moderators in Aviation.SE:  We've noticed that you deleted your old account and created a new one to circumvent the question block that the system imposed on you. Moreover you used this new account to ask several questions, many of which show that you still have not learned to use this site properly. This circumvention of the rules and disrespect of the community is not tolerated. We have temporarily suspended your account; you may return after 30 days.  Regards, Aviation Stack Exchange Moderation Team   Anti-Recidivism System Added  [...] We log data on such accounts at time of deletion, which is then referenced should a new account from the same individual be created. If the user was suspended at the time of deletion, then the new account will inherit the remainder of the original suspension. If the user was blocked from posting questions at the time of deletion, then the recreated account will be restricted to posting only one question per week until the quality of their contributions is demonstrated. [...]   I did show high quality in Aviation and this did not affect me.

If you are reading this, you may have been affected by one of our post quality bans. If so, it is important that you  to understand what has happened and how to regain the permissions that you lost. While trying to ask a question, one could see:  We are no longer accepting questions from this account. See  to learn more.  Likewise, for answers:  We are no longer accepting answers from this account. See  to learn more.   Why am I getting this message? Are deleted posts taken into account too? Is a question/answer ban the same as a suspension? How do I avoid getting a question ban? How long do I have to wait before I can post again? What can I do to release the ban? How can I reactivate my account? Can I simply create a new account? I'll just ask somewhere else on the SE network, and they'll migrate my question to the correct site! Will a ban on one Stack Exchange site affect my standing on other sites in the network? Does this apply to meta sites too? My account is in good standing. Why am I still blocked?


I have a friend who has a grammar style I don’t understand. They use the setup “Noun Present-Tense Verb Past-Tense Verb-Turned-Subject.”  Some examples: I want laid.  You need hugged.  They like serenaded.   I feel like those sentences are grammatically incorrect. I feel the sentence structure should be: I want to get laid. OR I want a lay.  You need to be hugged. OR You need hugging.  They like to be/get serenaded. OR They like serenading.   But every time I try to explain this my friend says that my way sounds unnatural. Am I crazy? What rule of English am I thinking of? I feel like there is a tense agreement issue here and an issue of infinitives too but I cannot articulate it well enough.   Also we’re both native English speakers from America. Why is my friend convinced it’s “You want decorated.” Instead of “you want to be decorated”?

In the  (and possibly elsewhere), the following construction is possible:        This car needs washed. (=needs to be washed)   The room needs cleaned. (=needs to be cleaned)      It appears that, if a verb like needs is followed by a passive construction in the infinitive, the "to be" portion is left out.  This construction sounds so unnatural to my ear that I have no intuition as to the extent to which it can be extended to other words and contexts.  If anyone here is a native speaker of this dialect of English, perhaps they can help to explain the limits on its use.  My basic question is: how productive is this particular construction among those who use it?  To be more specific, can this construction be used with any verb (if that verb can be immediately followed by a passive construction, of course)?  That is, would (any of) the following be acceptable, for example?        At this restaurant, we always wait seated. (=wait to be seated)   My kid hates picked last in sports. (=hates to be picked)   We all want loved. (=want to be loved)      If this construction is restricted, then which verbs can be used, aside from need?  Edit: What I am really hoping for here is that there is someone who happens across this question that can say, "I actively use this construction, and here's what I can and can't say."


I would like to know the detail about  my foreign keys.  I tried this  SELECT * FROM sys.foreign_keys;   But I need more than the information I can get now.  Is there a way to know the columns they are refering to by using scripts like this ?

I need to remove a highly referenced table in a SQL Server database.  How can I get a list of all the foreign key constraints I will need to remove in order to drop the table?  (SQL answers preferable over clicking about in the GUI of the management studio.)


I'm making a cranberry sauce from fresh cranberries and want to substitute brown sugar for the 1 cup of white sugar without making the sauce sweeter.  What quantity of brown sugar do you suggest?

I want to replace a white (granulated) sugar in a recipe with brown sugar.  Is this a one to one substitution?    The original recipe calls for 2 cups white sugar.  Can I replace with 2 cups brown sugar?  Packed or unpacked?


I am running 16.04 and I want to encrypt my computer. How can I do that?  I haven't had much luck searching online.

I'm running 13.10 Saucy. If I didn't enable disk encryption during installation, is there any way to enable it post facto?    I found , which says that encryption has to happen at install time, but it's also referring to Fedora. I can easily boot into a live disk if there's any way to do it from there.


IMPORTANT: the difference between this proposal and others previously posted: the proposal is addressing only those technology tags which have their exact SE sites already. The complete list: raspberry-pi, drupal, joomla, blender, magento, emacs, wordpress, tex. Nothing more. No ambitions to categorize tag unix. But why questions with the above tags should still end up at [SO] without any warning given? ([SO] should stop drawing the momentum from its own children.) Idea Why we allow to create Stack Overflow technology spinoffs if we then let them stand in shadow of Stack Overflow when it comes to their topics? Let them give a gift from their parent to start their career. Proposal For the above mentioned limited set of Stack Overflow spinoffs, implement simple tag-to-site recommendation map. Example for actual [SE] sites and [SO] tags: joomla.stackexchange.com <-- joomla, joomla3.3, joomla2.5 emacs.stackexchange.com <-- emacs, emacs24, emacs23, dot-emacs arduino.stackexchange.com <-- arduino, arduino-uno, arduino-ide, arduino-makefile wordpress.stackexchange.com <-- wordpress, wordpress-3.9, wordpress-4.0, wordpress-plugin  Mechanism On submitting the question, if a tag for recommended migration is detected,  submit action will get intercepted by dialog asking:  Based on your tag(s) {tag-name}, the question may be more appropriate to ask at {site-name} site of Stack Exchange network. On dedicated site you might get faster response times and more helpful answers. [Continue submitting at current site] [Cancel]  If necessary, the first paragraph would be repeated for each target site. For example, tags , will show two paragraphs ( and ) Scope Primarily Stack Overflow site. Benefits  many questions will become asked on correct sites solely by effort of their OP's a relief for moderators who will get less requests for moving of questions topical sites will receive their questions which currently end at [SO] moderators and fans of topical sites  so much, putting comments please ask at othersite.stackexhange.com but they could stay more focused at those topical sites topical sites would gain their momentum more quickly, especially those in BETA  Motivation Some time ago I decided to help joomla.stackexchange.com with redirecting the traffic from [SO] as few other users from joomla.SE site already do. The reason was that I found that the community of gurus at joomla.SE is more avid than at [SO]'s  tag where I found many unanswered questions, a good soil for [badge:tumbleweed] in many cases. After OP's got the comments and moved their questions to topical site, they received their replies within one day. But I find such a monitoring as unnecessary as it is helpful because it could be partially automated. And this is why I wrote this proposal.

Perhaps the site's question mechanism can learn the characteristics of previous migrations (keywords in title, tags etc.), and suggest that the user migrate their question prior to publishing it, or ask it at the better suited SOFU site, according to a history of questions with similar tags or titles previously migrated.  A short message like below can be helpful in the process.     Consider asking this question on , which discusses server related issues rather than programming questions.   The link will open the same question (including title and tags) in the new site. If the user isn't logged in to the other site, a profile copy should also be suggested.  This could save time, and route questions to the appropriate site more efficiently.  What do you think?  UPDATE: Following your answers and comments, I do believe that tag analysis is the right way to go. In my opinion, this message should appear just after typing the tags, near the Post your question button.


Are they always blue?  I'm using it for Christmas and would like a more seasonal color.  What can I do?

I have started using Trello.com for task management, but I really want to be able to customize the colors on different boards.   Is there any way to do this? Is it a possibility now or a possible future enhancement?


Yesterday I went to the cinema and watched Captain America: Civil War, the movie was great IMO, I have no big complaints.  Although, one of the things that bugged me is how come the Winter Soldier didn't break any of his non-enhanced parts of the body, since he is only shown to have a superhuman arm. Also, when Iron Man gets angry at the end of the movie and destroys his enhanced arm he basically can't do anything any more.  There was no on-screen enhancement with a serum as far as I remember in any of the movies. I understand that he is a trained soldier, perhaps the best one in the world (if you don't count cap); but still if he gets knocked into a wall it shouldn't be so easy to recover from.  So if he gets punched by Iron Man (when he stopped holding back) anywhere but in the arm he should get at least some broken bones. Why doesn't that occur in the movie (apart from the plot armor that kinda saved captain america too in the end since it's his movie)?

During Captain America: The Winter Soldier, it's clear that Captain America and the Winter Soldier are able to fight one another on a pretty even level, with Cap's shield frequently negating the advantage Bucky's metallic arm provides.  As I understood it, the super-soldier serum that granted Steve Rogers his powers was one-of-a-kind; major effort went to rediscovering (and failing to find) it.  Did Bucky Barnes receive some off-brand super-soldier serum? Or was the original formula replicated during Cap's time in the ice? How is Bucky able to fight on Cap's level?


Could you please give me an idiom, proverb, or saying that describes someone who exploits and take advantage of others? An idiomatic expression that has a negative connotation. Or maybe to say that one only pray when he/she needs God. Or something similar to this (I quit praying when I got my prayers answered). Thank you in advance.

What would you call someone who isn't afraid to ask for money or any kind of favor or who misinterprets someone's generosity for a consistent resource for what they need?


In different books, but also websites, there are different expressions for the Heisenberg's uncertainty principle. For example,   $\Delta x \Delta p \ge h$ (from The Physics of Atoms and Quanta) $\Delta x \Delta p \ge \hbar/2$ or $\Delta x \Delta p \ge \hbar$ (Demtroder)   etc.  Which one of these notations is the correct one? Or, if they're all correct, could someone provide me with some examples or context where each of them is used?

Some websites and textbooks refer to $$\Delta x \Delta p \geq \frac{\hbar}{2}$$ as the correct formula for the uncertainty principle whereas other sources use the formula $$\Delta x \Delta p \geq \hbar.$$ Question: Which one is correct and why?  The latter is used in the textbook "Physics II for Dummies" (German edition) for several examples and the author also derives that formula so I assume that this is not a typing error.  This is the mentioned derivation:     $\sin \theta = \frac{\lambda}{\Delta y}$      assuming $\theta$ is small:      $\tan \theta = \frac{\lambda}{\Delta y}$      de Broglie equation:      $\lambda = \frac{h}{p_x}$      $\Rightarrow \tan \theta \approx \frac{h}{p_x \cdot \Delta y}$      but also:      $\tan \theta = \frac{\Delta p_y}{p_x}$      equalize $\tan \theta$:      $\frac{h}{p_x \cdot \Delta y} \approx \frac{\Delta p_y}{p_x}$      $\Rightarrow \frac{h}{\Delta y} \approx \Delta p_y \Rightarrow \Delta p_y \Delta y \approx h$      $\Rightarrow \Delta p_y \Delta y \geq \frac{h}{2 \pi}$      $\Rightarrow \Delta p \Delta x \geq \frac{h}{2 \pi}$   So: Which one is correct and why?


While debugging my Java code, I observed something unusual. Consider the following example: public static int[] func(int[] arr) {    int[] res=new int[]{1,2,3,4};    return res; }  In main function: vals=new int[]{0,0,0,0}; vals=func(vals); for (int i=0;i<4;i++) System.out.println(vals[i]);  When I call 'func' with 'vals' as argument and set vals to the returned array, it works fine and the values inside are that of the returned array. I get the output: 1 2 3 4  Now consider this: public static void func2(int[] arr) {    arr=func(vals); }  In main function: vals=new int[]{0,0,0,0}; func2(vals); for (int i=0;i<4;i++) System.out.println(vals[i]);  When I call func2 with 'vals' as argument, the output is different and 'vals' retains its original values, i.e the output is: 0 0 0 0  According to me this should not happen because I am assigning 'vals' to the new array returned from 'func' called in 'func2' instead of being called directly in the main function. I would like to know why this is happening. What is the difference between the 2 scenarios?

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


We all know that when a photon impacts on an electron it delivers all its energy to the electron and the electron's energy increases and it goes to a higher-energy state -- meaning farther from the nucleus.  And it revolves there.  Now my question is: why does the electron lose its energy and come back to some lower-energy state?  Suggestions for books on QM are welcome.

I have read about an electron making a transition between two energy levels and electromagnatic radiation will be emitted. The problem is how and why e.m radiation is emitted.


I recently heard about energy "not being conserved" in General Relativity and i had doubts. Is this true, cause the following questions deeply worry me if that is the case?:   Wasn't the whole point of introducing the concept of energy in Classical Physics that it was conserved?  And isn't it true that the theory of Quantum Mechanics, despite everything else, has a form of energy "that is conserved"? Why wasn't the expression for energy "tweaked a bit" in GR so that a conserved quantity is reached at? [Isn't this how a conserved energy was successfully introduced in QM]. So, what about Noether's theorem? If a physical theory of dynamics stays the same for all time, there must be a quantity called energy conserved in that theory, ryt? [Or, did i get it wrong]. Then, does GR predict its own in-applicability at different times? [I don't even know how that works].    Note: I have no prior knowledge of the GR theory, except rumors that a violation of the principle of energy conservation is inbuilt in it.  Edit to prove my question is not a duplicate:  addresses the same problem essentially, but asks only if energy can be lost or gained from the universe as a whole. But I am asking that and the various implications of such a violation and therefore the answers  do not answer my question [at least adequately].

Is the law of conservation of energy still valid or have there been experiments showing that energy could be created or lost?


The whole Idea is that I give the player 2 seconds to type Dodge or Attack. If they havent typed Dodge or Attack they die. I cant figure out how to break out of the ReadLine. I someone can help me thanks. (C# Console Application)

I have a console app in which I want to give the user x seconds to respond to the prompt.  If no input is made after a certain period of time, program logic should continue.  We assume a timeout means empty response.  What is the most straightforward way of approaching this?


As far as I know, when we pass an object reference to a method, changes we made to that reference inside the method directly affects the object. When I try to make the object reference null, it seems that the object reference is not set to null and I can still access the object information. Could you point out what causes this and why the object reference doesn't become null. Thanks. (My code is shown below)  public class Main {     public static void main(String[] args) {         Circle c1 = new Circle(5.8);         foo(c1);         System.out.println(c1);     }      public static void foo(Circle c){         c = null;     } }


I know there are rules for quoting parameters, but no matter what I try, I can't seem to figure out how to make this work.  I have a function that takes a single filename as a parameter, then uses that filename to build a command line and runs the command line. I am able to make it work when there are no spaces in any of the files, but when a filename with a space is introduced, it breaks. Everything I try to make it work with spaces either doesn't work or causes it to not work on the files without spaces too.  Here is an example script that works with no spaces:  #!/bin/bash list_files() {     file="${1}"     cmd="cat ${file}"     echo "Running command: '${cmd}'"     ${cmd} }  TARGET_DIR="${1}"  while IFS= read -d $'\0' -r file; do     list_files "${file}" done < <(find ${TARET_DIR} -type f -print 0)   I just created a directory structure as follows:  ./files/ |-- one                # ==> Contains the text "files/one" |-- two                # ==> Contains the text "files/two" |-- three and four     # ==> Contains the text "files/three and four" |-- five               # ==> Contains the text "files/five"   When I run the above script on the directory above, I get the following output:  bash-3.2$ ./test.bash ./files Running Command: 'cat ./files/one' files/one Running Command: 'cat ./files/two' files/two Running Command: 'cat ./files/three and four' cat: ./files/three: No such file or directory cat: and: No such file or directory cat: four: No such file or directory Running Command: 'cat ./files/five' files/five   What am I doing wrong and how can I make a script like this work no matter what the file names are?  NOTE: For this example it would be simple enough to not store the command in a variable first and just print it then call it by typing the command itself twice, but for my real script, the command is much more complex and I would like to only have to maintain it in one place if it should need to change in the future.

Or, an introductory guide to robust filename handling and other string passing in shell scripts.  I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).  I encountered a problem such as the following:   I have a file name containing a space hello world, and it was treated as two separate files hello and world. I have an input line with two consecutive spaces and they shrank to one in the input. Leading and trailing whitespace disappears from input lines. Sometimes, when the input contains one of the characters \[*?, they are replaced by some text which is is actually the name of files. There is an apostrophe ' (or a double quote ") in the input and things got weird after that point. There is a backslash in the input (or: I am using Cygwin and some of my file names have Windows-style \ separators).   What is going on and how do I fix it?


I've become interested in the way various polls and surveys are conducted. I already know something about terms like sample size, margin of error and confidence level. I don't understand why such large sample sizes are required to get low margin of error with small population size.  Let's pretend that I'm conducting a poll about political preferences in the town with population of 1000. I want the poll to reflect preferences only in this town, not the whole country, etc. I made some calculations and it seems that in order to get a result with 2% margin of error and 95% confidence I'd need 707 people in my survey, which seems extremly high (70% of population).  To get 2% margin of error with 95% confidence in the country of 40 million people, I'd need just 2401 people (0,006% of population).  I'd like to ask for a mathematical expaination about why do I need such large sample sizes in small population and why do sample sizes seem to be so similar wheter I have a population of 20000 or 100000000 for example?

When I watch the news I've noticed that the Gallup polls for things like presidential elections have [I assume random] sample sizes of well over 1,000.  From what I remember from college statistics was that a sample size of 30 was a "significantly large" sample.  It was made to seem that a sample size over 30 is pointless due to diminishing returns.


I wanted to find out if the feta, discussed in a prior question from 2015, that was almost a year old was eaten without any gastric issues. I too have unopened feta that smells, tastes, and looks fine. I wanted to know if the person who posted ate the feta without being sick?

talks about feta cheese in a brine or milk bath lasting up to three months.  What about crumbled feta?  I was looking through the fridge, and found a 1/2 pound open container of crumbled feta.  I have only used about an ounce of it.  There is no sign of mold on it, and it smells like feta cheese.  A small sample tasted okay.  The amazing thing is that I bought it in October or November: 8-10 months ago!  I have a recipe that calls for almost a 1/2 pound of feta, and I will be the only one eating it (so I'm not trying to impress anybody!).  I dislike wasting food, but I dislike being sick even more!  Is it safe to use dry crumbled feta that is so old?


I have a simple panel that you can see in the viewport which is a shorter version of UI Panel Simple. Seeing from other panels, by using Edit Source, they all define a context where the property is added, but how do I decide which one to use to get it working? Using Blender 2.92. import bpy from bpy.props import BoolProperty  class HelloWorldPanel(bpy.types.Panel):     bl_label = "Hello World Panel"     bl_idname = "OBJECT_PT_hello"     bl_space_type = 'VIEW_3D'     bl_region_type = 'UI'     bl_category = "Tool"      def draw(self, context):         layout = self.layout         row = layout.row()         row.label(text="Hello world!", icon='WORLD_DATA')   class QuickRename_PT_Panel(bpy.types.Panel):     bl_space_type = 'VIEW_3D'     bl_region_type = 'UI'     bl_label = "Quick Rename"     bl_category = "Tool"     bl_parent_id = "OBJECT_PT_hello"      testBool: BoolProperty(         name = 'Test',         description = 'Test description',         default = True,)       def draw(self, context):         layout = self.layout         layout.use_property_split = True         layout.use_property_decorate = False          tool_settings = context.tool_settings          row = layout.row()         row.prop(tool_settings, 'testBool')    def register():     bpy.utils.register_class(HelloWorldPanel)     bpy.utils.register_class(QuickRename_PT_Panel)   def unregister():     bpy.utils.unregister_class(QuickRename_PT_Panel)     bpy.utils.unregister_class(HelloWorldPanel)   if __name__ == "__main__":     register()  I want to add the testBool property to the Hello World Panel.  But I think the tool_settings = context.tool_settings  is wrong.

I was watching this  on making a custom UI tab using Python, and in the line from bpy.types import Menu, Panel, UIList, I see the names of objects that look like they can all be used to make different UI elements. Does bpy.types contain all the objects that people use when they want to make custom UI elements?


This model is from Mortal Kombat X and it was downloaded from the website below...       After downloading all of the files, I see lots of ones that I don't know how to work with properly. I am completely new to Blender.  I really need help with all of these files: FBX, .max,.mtl,.obj,.tga,. But I don't know how to set them up and put all of Reptile's textures on him exactly how the image displays.  Additionally, I'm also planning on taking this model and export it to Gmod and play as him.  Again, I really do need help with these files.

I've tried to import but I don't see the (.max) file as an option when importing. Is there another way to import the 3DMax model into Blender for rigging and animation?


I'm wondering how I can keep a div at the bottom of a page. The problem I'm having is that the page height will change when clicking on expandable elements. How can I keep a div at the very bottom of the page with changing height?  I've tried the following without any luck:        Thanks!  I've tried making a div 100% height and then putting the bottom div like so, but that makes the bottom div stay in the exact same position  html, body {     height: 100%; }  .wrapper {     min-height: 100%;     height: auto !important;     height: 100%;     margin: 0 auto -142px;  }  .bottom {     position:relative;     bottom:0; }

I have a simple 2-column layout with a footer that clears both the right and left div in my markup.  My problem is that I can't get the footer to stay at the bottom of the page in all browsers.  It works if the content pushes the footer down, but that's not always the case.


I am a VERY new sysadmin (Class of '16) and I've been asked to create a big data cluster with 3 bare metal PowerEdge Servers. I have the following request to be put on the cluster:  *Hadoop2 *YARN *Java 7&8 *Spark *SBT *Maven *Scala *P7zip *Pig *Hive *R (libraries for Spark and Hadoop) *Zeppelin *Cassandra  I would like to know if these can all 'play well together' since I know very little of big data and searches result in a lot of "x VS y" pages rather than "x AND y". And is there a preferred industry standard?  Thank you in advance for your advice!

This is a  about  Related:      I have a question regarding capacity planning. Can the Server Fault community please help with the following:   What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?


Block quote   I use induction  N=1 And n=k But in case of n=k+1 i can't write the thing .help     Block quote

How can I prove that     $$1^3+ 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2$$    for all $n \in \mathbb{N}$? I am looking for a proof using mathematical induction.  Thanks


public class DisplayInformation extends MainActivity {     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.second_screen);          confirmCode = (Button)findViewById(R.id.SmsCode); // Why is this null?         confirmCode.setOnClickListener(this); // NullPointerException here     }  }   The logcat:  Process: com.example.user.callarocket, PID: 2096     java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.callarocket/com.example.user.callarocket.DisplayInformation}: java.lang.NullPointerException             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)             at android.app.ActivityThread.access$800(ActivityThread.java:135)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:136)             at android.app.ActivityThread.main(ActivityThread.java:5017)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:515)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)             at dalvik.system.NativeStart.main(Native Method)      Caused by: java.lang.NullPointerException             at com.example.user.callarocket.DisplayInformation.onCreate(DisplayInformation.java:55)             at android.app.Activity.performCreate(Activity.java:5231)             at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)             at android.app.ActivityThread.access$800(ActivityThread.java:135)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:136)             at android.app.ActivityThread.main(ActivityThread.java:5017)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:515)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)             at dalvik.system.NativeStart.main(Native Method)   I was trying to run this piece of code which connects to a PHP script and i got this error:     Caused by: java.lang.NullPointerException.   I couldn't find any mistakes here as I have tried the same piece of code in another project and it works.

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


Let $A$ ne an $n\times n $ upper triangular matrix with complex enries.I have to check the validity of the statement      If $A\neq I$ and if $a_{ii}=1$ $\forall i, 1\le i\le n$, then $A$ is not diagonalizable.   I wanted to know whether my proof(given below) is correct or not?Please provide the correct proof...

If $A \in M_{n}(\Bbb{R})$ is an Upper triangular matrix with diagonal entries $1$ such that  $A \neq I$, then what can we say about the diagonalizability of $A$ ?  I know that if the matrix has distinct eigenvalues or the set of eigenvectors are linearly independent then the matrix is diagonalizable.  And that the eigenvalues of the triangular matrices are given by the diagonal elements like  and , but they work nocely if we had distinct elements on the main diagonal.  But in my case I have same value 1 on the main diagonal, how can I approach about the diagonalizability of the matrix?


I have a LAN at home using the subnetwork 192.168.1.0/24. I know this subnet mask supports 254 hosts.  Two Questions:   How can I create a subnetwork like 192.168.2.0/24 on the same physical network? Would a host on the 192.168.2.0/24 network be able to access the Internet if I pointed its default gateway to my router's IP address of 192.168.1.1?

I need to configure my wireless router so all wireless devices are on a different subnet (192.168.2.1).  The wireless devices should be able to access the internet, but ideally not the workstations on the LAN.  Here is my network:    All suggestions welcome!


Recall the mean value theorem: If $f:\mathbb{R}\rightarrow \mathbb{R}$ is continuous and differentiable on $[a,b]$ then there exists $c\in(a,b)$ such that $f'(c) = \frac{f(b)-f(a)}{b-a}$ I am wondering if we can make our choice in reverse. In other words for each $c\in\mathbb{R}$ does there exist an $(a,b)\in\mathbb{R}^2$ such that $c\in(a,b)$ and $\frac{f(b)-f(a)}{b-a}=f'(c)$.

I am wondering if the following converse (or modification) of the mean value theorem holds. Suppose $f(\cdot)$ is continuously differentiable on $[a,b]$. Then for all $c \in (a,b)$ there exists $x$ and $y$ such that $$ f'(c)=\frac{f(y)-f(x)}{y-x} $$


My system is very underpowered. But I’m hoping, someone might be able to tell me what settings I could use to get the best outcome. I’m using Blender to create a 3D version of my band's logo. I want to animate the camera rotating around the logo, but up close, just viewing small sections at a time. The animation has a particle plane (that uses three circles to animate floating embers). I started a real small render (100 frames last night... and I’m estimating it to take 15 hours, for approximately 4 seconds of animation) My system is iMac 21.5inch, late 2013 2.7ghz quad core intel core i5 8gb ram 1600 MHz ddr3 Graphics - Intel iris pro 1536 mb Engine is cycles on CPU Light bounce total set at 2 Tiles set to 16x16 Resolution 1920px x 1080px 24fps Sampling is set at “render 200” Format is set to avi jpeg Quality 80% Because it’s for social media (insta and Facebook) can I maybe get away with reducing certain things? Or changing settings somewhere to speed up the render?

Hi I should make a video for a project of a hydroponic containers but the rendering time is over 30 hours ... how can I reduce it while maintaining good graphics ? Thanks !


It gutted him to see her suffer like that.  Can gut be used transitively like this? Or should I rephrase my sentence like this?  It left him gutted to see her suffer like that.  I looked up the word but my dictionary doesn't seem to permit the above usage of gut. Lexico carries a separate entry under gutted (adjective) meaning Bitterly disappointed or upset but the transitive verb use of the word doesn't seem to be correct. Why is that?

Michael Cohen  something which said:     let’s gut her   "her" is referring to Megyn Kelly.   He later said that this was not a threat to her safety, as the definition of "gut" is:     to make (something) no longer effective   I looked at , and it defines "gut" as:        to remove the internal organs from (a fish or an animal)   to destroy the inside of (a structure)   to destroy the power of (something) : to make (something) no longer effective         [...]      Examples of gut in a sentence         The salmon is already gutted and filleted.   Critics claim that these reforms will gut the law.      I knew that both definitions exist, but I didn't know that the second definition - to make something no longer effective - could be used when referring to a person, I always thought it could only be used when referring to things such as laws and regulations. So my questions are:   Can "to gut" be used like this, referring to a person? Is it commonly used this way? Is that how most native speakers would interpret the sentence?


I'm using Internet Sharing to convert Ethernet into a wifi hotspot through my Macbook Pro. I'm using the latest version of Mavericks, and today suddenly my internet sharing stopped working. I tried looking for people with similar problems using Google but couldn't find any completely similar stories. Things I tried:   set up Internet Sharing again using a different setup (e.g. different channel) checked       sudo launchctl list | grep bootp   in the terminal (found that using Google), but it was set on anonymous already   unplugged my ethernet cable, although my internet on the Macbook works just fine   Maybe something that helps: whenever I try Internet Sharing the corresponding icon very briefly appears but then goes on into a icon indicating looking for wifi.  ifconfig gives me:  lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384     options=3<RXCSUM,TXCSUM>     inet6 ::1 prefixlen 128      inet 127.0.0.1 netmask 0xff000000      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1      nd6 options=1<PERFORMNUD> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500     options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>     ether a8:20:66:4b:c1:8d      inet6 fe80::aa20:66ff:fe4b:c18d%en0 prefixlen 64 scopeid 0x4      inet 192.168.0.6 netmask 0xffffff00 broadcast 192.168.0.255     nd6 options=1<PERFORMNUD>     media: autoselect (100baseTX <half-duplex>)     status: active en1: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500     ether 5c:96:9d:91:4c:53      nd6 options=1<PERFORMNUD>     media: autoselect (<unknown type>)     status: inactive en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500     options=60<TSO4,TSO6>     ether d2:00:12:7b:27:00      media: autoselect <full-duplex>     status: inactive fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078     lladdr 10:dd:b1:ff:fe:27:b2:70      nd6 options=1<PERFORMNUD>     media: autoselect <full-duplex>     status: inactive p2p0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 2304     ether 0e:96:9d:91:4c:53      media: autoselect     status: inactive bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500     options=63<RXCSUM,TXCSUM,TSO4,TSO6>     ether aa:20:66:b4:91:00      Configuration:         id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0         maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200         root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0         ipfilter disabled flags 0x2     member: en3 flags=3<LEARNING,DISCOVER>             ifmaxaddr 0 port 6 priority 0 path cost 0     nd6 options=1<PERFORMNUD>     media: <unknown type>     status: inactive   Please let me know if you need additional information!

I'm on 10.9, and I had been using internet sharing successfully again for the first time since Lion. Today though, it just decided to stop working again.  Network layout:  Modem -ethernet-> Router -ethernet-> Mac Pro -ethernet-> MacBook Pro Retina   The internet works fine on the Mac Pro, but it is no longer forwarding the proper DHCP settings to the MacBook.  Previously, the MacBook would get the IP address of 192.168.2.12, and was able to surf the web fine. (Though it wasn't able to connect to any AirPlay/AirPrint devices while on the ethernet interface)  Sometime today, a setting got messed up, and I'm not sure how to fix it or what setting it is.  The MacBook now has a "Self-assigned" IP of 169.254.121.24, even though it is set to use DHCP. The ethernet port on the Mac Pro that the MacBook Pro is connected to is showing a "Self-assigned" IP of 169.254.36.53, even though it is set up to use DHCP as well.  The internet sharing options appear to be correct: share connection from Ethernet 1 to Ethernet 2.  But alas, for no apparent reason, I'm not getting internet access.


The continuous version of a sum is commonly called an integral. But what would be the continuous version of a product? The same question in "pictures": $$ \sum \rightarrow \int $$ $$ \prod \rightarrow ?? $$ I thought that maybe one could argue as follows:  $$ \prod_n a_n = e^{\ln \prod_n a_n} = e^{\sum_n \ln a_n} \rightarrow e^{\int \ln a(n) dn} $$ So the continuous version of a product could be defined like $$ \prod \rightarrow e^{\int \ln} $$ Does this make sense?

Addition is to Integration as Multiplication is to ______ ? Everyone knows that definite integration  is "a way to sum continuum-many terms" in a rough sense. Can we "multiply continuum-many factors"  in a similar sense?


How can I determine the general term of a Fibonacci Sequence? Is it possible for any one to calculate $F_{2013}$ and large numbers like this? Is there a general formula for the nth term of the Fibonacci Sequence?  But since a Fibonacci sequence can be interpreted as representing the all possible combinations of ordering $n$ things without moving things more than two places.  If so there must be some combinatorial solution?  Something by using factorial or something? $( N/k)$?

I was reading up on the Fibonacci Sequence,  $\text {{1,1,2,3,5,8,13,....}}$ when I've noticed some were able to calculate specific numbers. So far I've only figured out creating an array and counting to the value, which is incredibly simple, but I reckon I can't find any formula for calculating a Fibonacci number based on it's position.  Is there a way to do this? If so, how are we able to apply these formulas to arrays?


This is my json data and i wanted to remove the category with null value from my json.   I mean not to delete the "Category":"start" but delete "Category":null. I have seen some answers regarding this but it deletes all the category including "Category":"start" which I do not want.  "First": [{         "category": "Start",         "name": "Start",         "key": 1,         "lastname": "xyz"     }, {         "category": null,         "text": "Step",         "key": 2,         "lastname": "xyz"     }, {         "category": null,         "text": "Condition",         "key": 3,         "loc": "xyz"     }

Say I create an object as follows: let myObject = {   "ircEvent": "PRIVMSG",   "method": "newURI",   "regex": "^http://.*" };  How should I remove the property regex to end up with new myObject as follows? let myObject = {   "ircEvent": "PRIVMSG",   "method": "newURI" };


I am applying for a PhD program in Computer Science. The university asks each applicant to hand in an optional personal history statement. I have detailed my research experience, career goals clearly in my statement of purpose. Hence I don't really know what I should write in a personal history statement. I am an average Asian student and do not have anything special. Any ideas on this essay?  EDIT: below is what they actually require:     The purpose of this optional essay is to get to know you as an   individual and as a potential graduate student, and to understand how   your background will add to the diversity of our school. Please   describe how your personal background has motivated you to pursue a   graduate degree. You may discuss educational, familial, cultural,   socioeconomic, or personal experiences or challenges; gender identity;   community services, outreach services, first-generation college status   or other matters relevant to your decision to pursue graduate   education. Please note that the Personal History Statement is not   meant to be a general autobiography.

So I am completing the application for UCSB, and they ask me to write a Personal Achievements/Contributions Statement, however, I feel I have nothing to say, since I have never experienced anything like examples they give. So what should be talked about in this kind of essay except examples they give? Here is what on their application:  Personal Achievements/Contributions Statement UC Santa Barbara is interested in a diverse and inclusive graduate student population. Please describe any aspects of your personal background, accomplishments, or achievements that you feel are important in evaluating your application for graduate study. For example, please describe if you have experienced economic challenges in achieving higher education, such as being financially responsible for family members or dependents, having to work significant hours during undergraduate schooling or coming from a family background of limited income. Please describe if you have any unusual or varied life experiences that might contribute to the diversity of the graduate group, such as fluency in other languages, experience living in bicultural communities, academic research interests focusing on cultural, societal, or educational problems as they affect underserved segments of society, or evidence of an intention to use the graduate degree toward serving disadvantaged individuals or populations.


i am new to Ubuntu and have installed 13.10 on my new Lenovo G500 laptop and while i am still exploring the os, my mp3 cds & videos on my mobile are not playing and it says plugin required, but i am unable to download the same. I would like to know whether it automatically downloads when i connect to the internet from the software centre or will i have to manually download the same.    Thanks, Yadu*

I would like to install the restricted extras package, which I didn't select during the install. How can I do that?        is a meta-package that installs:         Support for MP3 and unencrypted DVD playback   Microsoft TrueType core fonts   Flash plugin   codecs for common audio and video files