Recently I've built a character on Skyrim who focuses mainly on sneaking and bursting to death any enemy and I'm trying to max out my damage. I have been testing what I already have and with sneaking + 2 daggers I've one shot Sahloknir and Arngeir. My current build is Ebony Dagger + Blade of Woe x30 (x15 With Daggers Perk x2 for Jesters Gauntlets/Shrouded Gloves) which adds up to 1140 damage, but this lead to my question. Do enchantments like Absorb Health and Frost Damage scale with the x30 Sneak Attack, I'm just trying to max my damage. Any help would be appreciated, thanks.

Example:   Dagger 1 = 18 Damage, 25 Shock  Dagger 2 = 33 Damage, no magic  Using the above, when I sneak attack and have the 15x multiple then is the damage caused by Dagger 1 is (18+25)*15 or (18*15)+25 ?  Same question with bows and arrows, does the multiplier apply to potion damage or/and the magical(enchanted)?  In other words, do the multipliers apply to the base damage only or to the final damage being caused by the weapon (base+magical+skill+potion+perks etc)?  I am confused. :-?


I am trying to install wordpress locally. I tried the instructions described . But when I point my browser to http://localhost/wordpress it turns to a 404 not found page.

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened because Zend updated Apache.  Whatever the reason may be, I want to know where to keep my php files so that I can access them from my browser.


I am really confused please help me!  I want to find the resistance between a and b! But i am not able to understand which resistances are in series or which are in parallel!   What i think- e and a are in series, then they are in parallel to c! Then c and d are in series and they are parallel to b!  But the answer isn't correct!   Please tell me where i am wrong! Thank you ... and please tell like i told you my answer!

What's the equivalent resistance in this circuit (between points A and B)?


I have a holomorphic function $f,g: \mathbb C \to \mathbb C$ such that $e^{f(z)} + e^{g(z)} = 1$ for any $z$ in $\mathbb C$. Does anyone have any tips that to show that this is bounded? Or check whether it is bounded?

Suppose we have entire functions $f$ and $g$ that satisfy $e^{f(z)} + e^{g(z)} = 1 $ for all complex values $z$.  Show that $f$ and $g$ are constant.


What is the difference in meaning between these two sentences?     I asked where she kept her jewellery, but she didn't tell me where.      I asked where she kept her jewellery, but she wouldn't tell me where.

What is the difference between would not and did not?  For example:     I called my girlfriend but she wouldn't stop.   I called my girlfriend but she didn't stop.


I am trying to install pip3 on ubuntu 20. I get this message: The following packages were automatically installed and are no longer required:   gir1.2-packagekitglib-1.0 libappstream4 libglib2.0-bin libnetplan0 libpackagekit-glib2-18 libplymouth5   libpolkit-agent-1-0 libpython3.8-dev libstemmer0d python3-software-properties python3.8 python3.8-dev   python3.8-minimal python3.8-venv squashfs-tools unattended-upgrades Use 'sudo apt autoremove' to remove them. E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success  Can someone help me Thanks Translated with  (free version)

When i tried to install PIP for python3 in Ubuntu 18.04.2 LTS  Command I used:   root@DESKTOP-0BEE3OD:/mnt/c# apt install python3-pip  E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success   I am not able to fix this error.


I am using Ubuntu 18.04, ethernet cable is being not detected. Previously it worked fine. Here is the output of ifconfig.  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 13682  bytes 1147280 (1.1 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 13682  bytes 1147280 (1.1 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 172.16.xxxx  netmask 255.255.xxx  broadcast 172.1.xxxx         inet6 fe80::d0c: prefixlen 64  scopeid 0x20<link>         ether 48:e2:44:d0:xx:xx  txqueuelen 1000  (Ethernet)         RX packets 58110  bytes 14571654 (14.5 MB)         RX errors 0  dropped 2  overruns 0  frame 34695         TX packets 3998  bytes 610656 (610.6 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0         device interrupt 17

Actually yesterday I've upgraded from Ubuntu 16.04 to 17.04 and I got a problem that, if connect LAN cable it does not showing anything and  remains disconnected. But i can connect with WiFi. I don't know what's the problem. Actually its showing "device not managed" under the "Ethernet Network" and both were disabled. I've searched for the solution, but did not found yet.


I grabbed a model from models resource  but when I put the .fbx into blender, the model just shows up white.

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


// Whenever I prompt the user to enter a Book or Periodical, using "B" or "P", it keeps asking me over and over again to enter a Book or Periodical. The program should ideally move on to the if statement depending on the user input. import java.util.Scanner; public class myCollection{ public static void main(String[] args) {     Scanner scan = new Scanner(System.in);     Item[] items = new Item[5];     String userInput;     String bName, aName, isbnNum, pName;     int issueNum;          for(int i = 0; i < items.length; i++) {                  System.out.print ("Please enter B for Book and P for Periodical: ");         userInput = scan.nextLine();                       if(userInput == "B") {             System.out.println("Please enter name of Book: ");             bName = scan.nextLine();                          System.out.println("Please enter name of Author: ");             aName = scan.nextLine();                          System.out.println("Please enter the ISBN: ");             isbnNum = scan.nextLine();                          items[i] = new Book(bName, aName, isbnNum);         }                   if(userInput =="P") {             System.out.println("Please enter name of the Periodical: ");             pName = scan.nextLine();                          System.out.println("Please enter name the issue number: ");             issueNum = scan.nextInt();     }      } }  }

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


tells me how I can find the state of my battery from the command line.   While this is useful information sometimes I need something quicker, basically like the percentage or enough for me to determine if I need to charge right away or if I can keep going for a bit longer without me having to care about milliwatts from catting my battery stats.

I would like a command that displays the battery status in the terminal.


A class of 37 is to be divided into teams, and each student in the class must be a member of exactly one team. However, each student dislikes three of their classmates. The dislike between students need not be mutual. How many teams must be created so that no student is the teammate of someone they dislike?    My attempt: Considering the extreme case when the dislike is never mutual, label the students $a_1, a_2, \cdots a_{37}$ such that $a_i$ dislikes $a_{i+1}, a_{i+2}, a_{i+3}$ for $i = 1,2\cdots 34, a_{35}$ dislikes $a_{36}, a_{37}$ and $a_{1}, a_{36}$ dislikes $a_{37}, a_{1}$ and $a_{2}$ and $a_{37}$ dislikes $a_{1}, a_{2}$ and $a_{3}.$ Thus, each student can be in a team with at most $30$ other students. So, the students can be divided into $4$ teams as follows:  Team $1: \{a_1, a_5, a_9,\cdots a_{33}\}$  Team $2: \{a_2, a_6, a_{10},\cdots a_{34}\}$  Team $3: \{a_3, a_7, a_{11},\cdots a_{35}\}$  Team $4: \{a_4, a_8, a_{12},\cdots a_{36}, a_{37}\}$  Thus, my answer is $4.$ However, the given answer is $7.$ Can someone point out where I am going wrong?

A class of 37 is to be divided into teams, and each student in the class must be a member of exactly one team. However, each student dislikes three of their classmates. Dislike between students need not be mutual. How many teams must be created so that no student is the teammate of someone they dislik?  I have no idea about this problem which seems trick. Could anyone give some hints? Thanks!


We all know that friction is a force that opposes motion and is applied in the opposite direction of motion, but in a leveled curved road it becomes the centripetal force and pulls towards the center. Why?

It is commonly known that friction opposes motion.  For example, if a block is sliding down a wooden surface with no forces other than friction acting on it, friction acts in the direction opposite to the block's velocity.  Let's say a car is driving at constant speed along a perfectly circular loop road.  Centripetal acceleration works toward the center of the circle, but the car is moving forward along the loop, perpendicularly to the car's acceleration.  As we have already established, friction should be in the opposite direction of the car's motion.  But no- apparently it acts as the centripetal force that is perpendicular to the velocity.  What is going on with this discrepancy?  Edit: new comment  Edit: Furthermore, the book I am using says that, when the loop is banked, friction ceases to act centripetally and the centripetal force is provided entirely by the horizontal component of the normal force (neither friction nor, to my surprise, parallel force.). Why is that?  Thanks!


I've been battling with this issue for couple of months. I need to send bulk mail (not spam) through my social network to users in situations like newsletters, site invitations (when user imports their address book contacts)  I'm using shared hosting and it limits 500 mails per hour. Even though i manage to send mails most of them end up in user's spam box.  After researching these are the solutions that i finally came up with.    Use Google Apps SMTP () Move into VPS Use shared hosting with throttle enabled   Please advise me on what to choose.   Will using Google Apps prevent mail being sent as spam? I can't use other 3rd party SMTP like iContact or Aweber as "invitation sending script" will send emails to thousands of contacts, depending on user's addressbook.   Thanks in advance

This is a  about how to handle email sent from your server being misclassified as spam.  For additional information you may find these similar questions helpful:                    Sometimes I want to send newsletters to my customers. The problem is, that some of the emails get caught as spam messages. Mostly by Outlook at the client (even in my own Outlook 2007).  Now I want to know what should be done to create "good" emails. I know about reverse lookup etc., but (for example), what about a unsubscribe link with an unique ID?  Does that increase a spam rating?


I'm new to Ubuntu and I have come across this error code while trying to install wine. I had wine and Lutris operating just fine but the other day I started having problems booting up games with in Lutris. I purge removed lutris and wine and started to re-install. I type in sudo apt-get update the return message is   E: Malformed entry 54 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.   Edit  # deb cdrom:[Ubuntu 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ca.archive.ubuntu.com/ubuntu/ bionic main restricted multiverse # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://ca.archive.ubuntu.com/ubuntu/ bionic-updates main restricted multiverse # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ca.archive.ubuntu.com/ubuntu/ bionic universe # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic universe deb http://ca.archive.ubuntu.com/ubuntu/ bionic-updates universe # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic multiverse # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ca.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse # deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu bionic partner deb-src http://archive.canonical.com/ubuntu bionic partner  deb http://security.ubuntu.com/ubuntu bionic-security main restricted multiverse # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted deb http://security.ubuntu.com/ubuntu bionic-security universe # deb-src http://security.ubuntu.com/ubuntu bionic-security universe # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main deb http://dl.winehq.org/wine-builds/ubuntu/ artful main # deb-src http://dl.winehq.org/wine-builds/ubuntu/ artful main # deb-src http://dl.winehq.org/wine-builds/ubuntu/ artful main deb https//dl.winehq.org/wine-builds/ubuntu/ bionic main # deb-src https//dl.winehq.org/wine-builds/ubuntu/ bionic main # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.


I've tried to write a graphic interface to my DataFrame project. I have to read DataFrame from file and then I want to count for example min for each column. I have an open button, so I can read a file, but I don't know how can I work on this file(if you know what I mean). When I tried to press min botton, there was a null pointer exception. I guess that the dataframe is empty. But what should I do to fix it? I also have to draw a graphs, but I totally do not know how to do it.  public class Graphics extends Application { private Text actionStatus; private Stage savedStage; DataFrame d; public static void main(String[] args) {     Application.launch(args); }  @Override public void start(Stage primaryStage) {     Button open = new Button("open");     open.setOnAction(new SingleFcButtonListener());     HBox open1 = new HBox(10);     open1.getChildren().addAll(open);     Button save = new Button("Save");     HBox save1 = new HBox(10);     save1.getChildren().addAll(save);     Button min = new Button("Min");     HBox min1 = new HBox(10);     min1.getChildren().addAll(min);      min.setOnAction(new SingleButtonListener());     actionStatus = new Text();        VBox vbox = new VBox(30);     vbox.getChildren().addAll( open1,save1, min,  actionStatus);     Scene scene = new Scene(vbox, 500, 300);     primaryStage.setScene(scene);     primaryStage.show();     savedStage = primaryStage;  } private class SingleFcButtonListener implements EventHandler<ActionEvent> {      @Override     public void handle(ActionEvent e) {         showSingleFileChooser();      }  }  private void showSingleFileChooser() {     FileChooser fileChooser = new FileChooser();     File selectedFile = fileChooser.showOpenDialog(null);      if (selectedFile != null) {          actionStatus.setText("File selected: " + selectedFile.getName());         ArrayList<Class<? extends Value>> arr2 = new ArrayList<Class<? extends Value>>();         arr2.add(Str.class);         arr2.add(DateTime.class);         arr2.add(com.projekt1.Double.class);         arr2.add(Double.class);         DataFrame d = new DataFrame(selectedFile.getName(), arr2, true);         d.showDatabase();     }  } private class SingleButtonListener implements EventHandler<ActionEvent> {      @Override     public void handle(ActionEvent e) {         showMean();      }  }  private void showMean() {     d.mindf().showDatabase();     }  }

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?


public static void main(String[] args){          String buf;      buf = JOptionPane.showInputDialog("1, 2 or 3");      if (buf == 1) {         Begin2();}//if a     if (buf == 2) {         Main.Begin6();}//if b     if (buf == 3) {         Main.Begin7();}//if b }   I have this code, but if cant invoke any of Begin methods...


while upgrading from ubuntu 12.04 to 13.04 and i used those default options "delete ubuntu and install"  but unfortunately all my other partitions also got deleted and they got combined into one in which ubuntu is installed  is there anyway to recover data?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


SELECT * FROM dbo.table1,   dbo.table2 AS T2,  dbo.table3 AS T3,   dbo.table4 AS T4  WHERE dbo.table1.ID = T2.ID   AND T2.ID = T3.ID   AND T3.ID = T4.ID    (OR)  SELECT  *  FROM dbo.table1 T1  INNER JOIN dbo.table2 T2 ON T1.ID = T2.ID  INNER JOIN dbo.table3 T3 ON T2.ID = T3.ID  INNER JOIN dbo.table4 T4 ON T3.ID = T4.ID

Is there any efficiency difference in an explicit vs implicit inner join? For example:  SELECT * FROM table a INNER JOIN table b ON a.id = b.id;   vs.  SELECT a.*, b.* FROM table a, table b WHERE a.id = b.id;


I recently (two weeks ago) installed Chromium in Ubuntu 14.04 LTS using software center. I normally use MATE desktop, installed alongside the default Unity desktop.  After I launch Chromium, the browser stays open for few seconds and then closes.  There was an update few days ago that I hoped would solve the issue, however it did not.  I tried to launch the browser from console. Below is the output I got:  $ chromium-browser Using PPAPI flash.  --ppapi-flash-path=/usr/lib/adobe-flashplugin/libpepflashplayer.so --ppapi-flash-version= Received signal 11 SEGV_MAPERR 000000000010 #0 0x7fa588ef0d47 base::debug::StackTrace::StackTrace() #1 0x7fa588ef1133 <unknown> #2 0x7fa588bfe330 <unknown> #3 0x55cbaeef49f8 <unknown> #4 0x55cbaeef5fb1 <unknown> #5 0x55cbaeef6633 <unknown> #6 0x55cbaeef6bc7 <unknown> #7 0x7fa588f65b91 <unknown> #8 0x7fa588ef2269 base::debug::TaskAnnotator::RunTask() #9 0x7fa588f19040 base::MessageLoop::RunTask() #10 0x7fa588f1a97d base::MessageLoop::DeferOrRunPendingTask() #11 0x7fa588f1b79d <unknown> #12 0x7fa588f1c250 base::MessagePumpLibevent::Run() #13 0x7fa588f18422 base::MessageLoop::RunHandler() #14 0x7fa588f40df8 base::RunLoop::Run() #15 0x7fa588f6ad56 base::Thread::ThreadMain() #16 0x7fa588f65a96 <unknown> #17 0x7fa588bf6184 start_thread #18 0x7fa57f045ffd clone   r8: 0000000000000000  r9: 0000000000000003 r10: 00007fa511ff9d18 r11: 00007fa57f0d2110  r12: 00007fa511ff9fe0 r13: 0000000000000008 r14: 0000000000000008 r15: 00007fa511ff9fe0   di: 0000000000000000  si: 00007fa511ff9fe0  bp: 0000000000000000  bx: 00007fa511ffa0f0   dx: 00007fa57fb313d8  ax: 00007fa57fb313d8  cx: 0000000000000000  sp: 00007fa511ff9f90   ip: 000055cbaeef49f8 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000004  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000010 [end of stack trace] Calling _exit(1). Core file will not be generated.

Just today, without me doing any special kind of update or plugin that I am aware of, the Chromium browser closes instantly after startup. When trying to start it in the terminal, I get this message:  Received signal 11 SEGV_MAPERR 000000000010 #0 0x7ff2a0573425 base::debug::StackTrace::StackTrace() #1 0x7ff2a057380b <unknown> #2 0x7ff2a089e390 <unknown> #3 0x56177f66adc8 <unknown> #4 0x56177f66d656 <unknown> #5 0x56177f66ddf9 <unknown> #6 0x56177f66e143 <unknown> #7 0x7ff2a05ee821 <unknown> #8 0x7ff2a0574eea base::debug::TaskAnnotator::RunTask() #9 0x7ff2a059de90 base::MessageLoop::RunTask() #10 0x7ff2a059f97d base::MessageLoop::DeferOrRunPendingTask() #11 0x7ff2a05a083d <unknown> #12 0x7ff2a05a1300 base::MessagePumpLibevent::Run() #13 0x7ff2a059cf15 base::MessageLoop::RunHandler() #14 0x7ff2a05c7628 base::RunLoop::Run() #15 0x7ff2a05f3e36 base::Thread::ThreadMain() #16 0x7ff2a05ee726 <unknown> #17 0x7ff2a08946ba start_thread #18 0x7ff289f433dd clone r8: 000000000000002e  r9: 00005617810c16ec r10: 0000000000000000 r11: 00007ff289fd0f50 r12: 00007ff1f17f6ff0 r13: 0000000000000008 r14: 0000000000000008 r15: 00007ff1f17f6eb0 di: 0000000000000000  si: 00007ff1f17f6eb0  bp: 00007ff1f17f6f00  bx: 00007ff1f17f6eb0 dx: 000000000000005e  ax: 0000000000000000  cx: 0000561782b3af60  sp: 00007ff1f17f6e60 ip: 000056177f66adc8 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000004 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000010 [end of stack trace] Calling _exit(1). Core file will not be generated.   It changes slightly each time I try, but it always comes out basically that way, and I have no idea what it is saying.   Tried uninstalling chromium-browser and reinstalling. No change.  So I deleted ~/.config/chromium and re-ran, and the browser didn't crash. Yay! but then I logged into Google, and crashed with the same message shown above. So I started it up again, and didn't log in. So far so good. But as soon as any complicated website is opened, it crashes within a few seconds.   So then I opened Firefox. Since I'm writing this on the browser, it finally seems stable. So I can log into Google on Firefox with no trouble, then why is Chromium crashing on it?  Using Ubuntu 16.04. I've searched around for answers, and there are lots of people who experienced similar problems several years ago, but obviously that's irrelevant now as many versions have changed since.   For the record, I've also tried is to run chromium-browser --password-store=basic with no change. I've also tried downloading the repository using sudo add-apt-repository ppa:canonical-chromium-builds/stage, update, and re-install. No change. Also tried running chromium-browser --disable-gpu. No change.   I would really appreciate an answer as soon as possible, as I am very frustrated having to deal with this.


The universe is believed to have originated from absolutely nothing, and we know it is still expanding. Physics says "something can arise from nothing". I understand how mass and energy are related and one can take the form of other. But, how can everything arise from absolutely nothing?

Did the law of conservation of energy apply to the earliest moments of the Big Bang? If so, what theoretical physics supports this?   I hear that Einstein's theory of relativity disputes the law of conservation of energy- so does that mean the law is false, or only some aspect of it?


At first it was found by mistake but I like this feature of C very interesting. a simple program like this :  #include <stdio.h> #include <string.h>  main() {    int array[5];    array[0] = 1;    printf("%d",0[array]); }   will work with no compile error in C and it was not something that I expect. And it will print 1 in the out put. I found this amazing so I just wondering around and found this code will work fine in C too and this will print 10 in the output:  #include <stdio.h> #include <string.h>  main() {    int array[5];    array[0] = 1;    array[1] = 10;    printf("%d",0[array+1]); }   I want to know why these two have no compilation error and also I want to know how the second one work at all. Also any interesting usage of this feature will be appreciated.

As Joel points out in , in  (aka: K & R), there is mention of this property of arrays in C: a[5] == 5[a]  Joel says that it's because of pointer arithmetic but I still don't understand. Why does a[5] == 5[a]?


Currently to view windows of the same application on the dash you need to click, then out pop the other windows.    How would I go about enabling this on mouse over? I wouldn't call myself a power user but it can be frustrating when I have 3+ windows open of Firefox etc, and I have to click every single time and it feels quite sluggish.  I tried having a little look with the GNOME Tweak Tool but couldn't see anything.

I'm using Ubuntu 17.10 with GNOME 3. How can I show all open windows of a certain application using the sidebar (aka Ubuntu Dock)? Right now I have to right-click and select "all windows" to see my other open windows.   Is there a quicker way to do this?


class test { public:     static int n;     test () { n++; };     ~test () { n--; }; };  int test::n=0; //<----what is this step called? how can a class be declared as an integer?  int main () {     test a;     test b[5]; // I'm not sure what is going on here..is it an array?     test * c = new test;     cout << a.n << endl;     delete c;     cout << test::n << endl; }   secondly, the output is 7,6 I'm not understanding how did it get 7, from where?

This question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written C++ book. It is way too big and complex for doing this. In fact, it is so big and complex, that there are very many very bad C++ books out there. And we are not talking about bad style, but things like sporting glaringly obvious factual errors and promoting abysmally bad programming styles. Please edit the accepted answer to provide quality books and an approximate skill level — preferably after discussing your addition in . (The regulars might mercilessly undo your work if they disagree with a recommendation.) Add a short blurb/description about each book that you have personally read/benefited from. Feel free to debate quality, headings, etc. Books that meet the criteria will be added to the list.  Books that have reviews by the Association of C and C++ Users (ACCU) have links to the review. *Note: FAQs and other resources can be found in the  and under .


I just saw these two questions are closed as duplicate of each other, forming a closure:       The first one is a duplicate of the second one, and the second one is a dupe of first. Is this even possible? Isn't this a bug or flaw in the system?  I tried manually closing a dupe of a dupe and I got this response:    Now how was the above two questions closed?

It looks like this issue has , but it just happened again on Travel.SE. Perhaps this is another corner case? These two questions are closed as duplicates of each other.           I had the last vote on each, although in both cases, my vote was for "Unclear what you're asking", but the weight of votes in both cases were for the duplicate status. So if the existing checks are only in place at the time someone casts a close vote, that would explain how this one got in under the radar. Perhaps another check needs to be done when the question is actually closed, not just when close votes are cast?  And as @gnat points out, low-rep/logged-out users get a Redirect loop when trying to load either question.  NOTE: A moderator has already fixed this particular circular duplicate situation by closing one of the questions with a different close reason.


Trying to install Skype using   I get this error on running reload cache (step 2 1st part):  W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3 W: The repository 'https:repo.skype.com/deb stable InRelease' is not signed.   How can I fix it?

I want to install Skype, but I can't locate it in Software Center or by using Synaptic Package Manager. Can anyone help me?


Do i require a transit visa during my 19 hr layover in Frankfurt? Travelling with family to Toronto. Having valid US Visa also. We are Indian family.    Can we go out of Airport during long layover and if yes do i require transit visa for it or not? Or just hotel booking will help us getting shore pass like that given in Japan? Secondly if we don't go out what are options on airport for 19 hrs layover?

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


I was debugging my method and it somehow updates my element variable. Even if I don't work with that variable from within the method.  CODE:  private static List<Mapping> createFormFieldsMapping(ArrayList<String> CDOfields,             List<Mapping> fieldMappings, Element element) {         System.out.println(" - Creating field mappings for "+element.name);         for (Mapping fieldMapping : fieldMappings){             if (fieldMapping.targetEntityFieldId!=null){                 String formField = getContactFieldNameById(fieldMapping.targetEntityFieldId);                 formField = formField.trim();                 formField = formField.replaceAll("-", "");                 formField = formField.replaceAll("_", "");                 formField = formField.replaceAll(" ", "");                 formField = formField.toLowerCase();                 Boolean matchFound = false;                 for (String cdoField : CDOfields){                     String[] cdoFieldSplit = cdoField.split(";",-1);                     String cdoFieldModified =cdoFieldSplit[1].trim();                     cdoFieldModified = cdoFieldModified.replaceAll("-", "");                     cdoFieldModified = cdoFieldModified.replaceAll("_", "");                     cdoFieldModified = cdoFieldModified.replaceAll(" ", "");                     cdoFieldModified = cdoFieldModified.toLowerCase();                     if (cdoFieldModified.equals(formField)){                         fieldMapping.targetEntityFieldId = cdoFieldSplit[0];                         matchFound = true;                         break;                     }                     if (!matchFound){                         // WRITE NOT MATCHED FORM FIELD TO A FILE                     }                 }             }         }   element.processingSteps.targetEntityFieldId is being changed  This is the way I call the method:  List<Mapping> fieldMapping = new ArrayList<Mapping>(); Iterator<ProcessingStep> i = element.processingSteps.iterator();  while (i.hasNext()) {        ProcessingStep step = i.next();         if (step.type.equals("FormStepCreateUpdateContactFromFormField")){            fieldMapping = step.mappings;            step.execute = "never";            //i.remove();         }      } // Update contact field IDs with CDO field IDs     fieldMapping = createFormFieldsMapping(CDOfields, fieldMapping, element);   Everything I wanted was to kind of copy field mapping, process it by that method and then return back and add it to list of fieldMappings.  The thing is that step.mappings is part of element, but that step.mappings is being put to an ArrayList fieldMapping. By that I would assume that element should never be edited by anything.

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?


I have the following statement: if Game.item_can_move(item_target) == True:     return True + ""  else:     return False + ", error"  but this doesn't seem to work. I would like to return a bool, str in both of the return.

The canonical way to return multiple values in languages that support it is often . Option: Using a tuple Consider this trivial example: def f(x):   y0 = x + 1   y1 = x * 3   y2 = y0 ** y3   return (y0, y1, y2)  However, this quickly gets problematic as the number of values returned increases. What if you want to return four or five values? Sure, you could keep tupling them, but it gets easy to forget which value is where. It's also rather ugly to unpack them wherever you want to receive them. Option: Using a dictionary The next logical step seems to be to introduce some sort of 'record notation'. In Python, the obvious way to do this is by means of a dict. Consider the following: def g(x):   y0 = x + 1   y1 = x * 3   y2 = y0 ** y3   return {'y0': y0, 'y1': y1 ,'y2': y2}  (Just to be clear, y0, y1, and y2 are just meant as abstract identifiers. As pointed out, in practice you'd use meaningful identifiers.) Now, we have a mechanism whereby we can project out a particular member of the returned object. For example, result['y0']  Option: Using a class However, there is another option. We could instead return a specialized structure. I've framed this in the context of Python, but I'm sure it applies to other languages as well. Indeed, if you were working in C this might very well be your only option. Here goes: class ReturnValue:   def __init__(self, y0, y1, y2):      self.y0 = y0      self.y1 = y1      self.y2 = y2  def g(x):   y0 = x + 1   y1 = x * 3   y2 = y0 ** y3   return ReturnValue(y0, y1, y2)  In Python the previous two are perhaps very similar in terms of plumbing - after all { y0, y1, y2 } just end up being entries in the internal __dict__ of the ReturnValue. There is one additional feature provided by Python though for tiny objects, the __slots__ attribute. The class could be expressed as: class ReturnValue(object):   __slots__ = ["y0", "y1", "y2"]   def __init__(self, y0, y1, y2):      self.y0 = y0      self.y1 = y1      self.y2 = y2  From the :  The __slots__ declaration takes a sequence of instance variables and reserves just enough space in each instance to hold a value for each variable. Space is saved because __dict__ is not created for each instance.  Option: Using a  (Python 3.7+) Using Python 3.7's new dataclasses, return a class with automatically added special methods, typing and other useful tools: @dataclass class Returnvalue:     y0: int     y1: float     y3: int  def total_cost(x):     y0 = x + 1     y1 = x * 3     y2 = y0 ** y3     return ReturnValue(y0, y1, y2)  Option: Using a list Another suggestion which I'd overlooked comes from Bill the Lizard: def h(x):   result = [x + 1]   result.append(x * 3)   result.append(y0 ** y3)   return result  This is my least favorite method though. I suppose I'm tainted by exposure to Haskell, but the idea of mixed-type lists has always felt uncomfortable to me. In this particular example the list is -not- mixed type, but it conceivably could be. A list used in this way really doesn't gain anything with respect to the tuple as far as I can tell. The only real difference between lists and tuples in Python is that lists are , whereas tuples are not. I personally tend to carry over the conventions from functional programming: use lists for any number of elements of the same type, and tuples for a fixed number of elements of predetermined types. Question After the lengthy preamble, comes the inevitable question. Which method (do you think) is best?


I just purchased a Lenovo laptop and I need to expand the RAM. It currently has one stick of ram in it a 4GB DDR3 PC3-12800 Unbuffered NON-ECC 1.35V 1024Meg x 64 by SK Hynix and is capable of having a maximum of 8GB.  I was curious if I needed to buy a pair that matches it perfectly (I've always bought ram in pairs). I really just want to buy one more 4GB stick of RAM and I'm curious if it would be okay if I bought a matching specs wise one of a different brand or if I needed to find one the matches identically to the one I have.

I am seeking advice on which memory to use with my motherboard and CPU. Below are my components and some relevant information extracted from their official websites.   NOTE: Although this is a very specific case, a general answer is equally good for me — and also alot more useful for everyone else!  CPU: AMD Phenom II X4 810   ASUS M4A785TD-V EVO listed as one of many  motherboards.   Motherboard: ASUS M4A785TD-V EVO   4 x DIMM, Max. 16 GB, DDR3 1800(O.C.)*/1600(O.C.)/1333/1066/800 ECC,Non-ECC,Un-buffered Memory Dual Channel memory architecture (Complete list of specs: ).   NOTE II: I wouldn't want to do any overclocking as I have no experience with that. So I think the 1333 MHz is the most appropriate. Since the higher frequencies are marked with "O.C."  Questions:   How can I be certain that a specific RAM will work well (or not work) together with my CPU and motherboard? (The Qualified Vendor List is a good starting point, but it's a bit limited and sometimes a bit outdated). Is it true that choice of memory is not independent of the processor? How?    I'm worried I'll be missing something essential when buying my next RAM chips :)


I have  in admin.py:  class PurchaseOrderAdmin(admin.ModelAdmin):     fields = ['product', 'dollar_amount']   in models.py  class PurchaseOrder(models.Model):     product = models.CharField(max_length=256)     dollar_amount = models.FloatField()   I would like to display 'dollar_amount' as 'price'. How would I do that?

As the title suggests. I want to be able to change the label of a single field in the admin application. I'm aware of the Form.field attribute, but how do I get my Model or ModelAdmin to pass along that information?


I have a question, all though I think its more Math than programming. So sorry if this is the wrong place to post this.  But I want to make a function in Javascript that can do the following:   the function has a seed parameter inside the function there is a loop. it has to return a number between 0 and 1 depending on the count and the seed.   so for an example if I have this:  var numbers = giveMeNumbers(3224425, 10);   Should give me 10 "random" numbers between 0 and 1. But it has to be the same numbers it returns EVERYTIME i run this function (with the same seed code ofcause)  function giveMeNumbers(seed, amount) {      var array = [];      for (var i=0;i<amount;i++)      {           var result = 0; //some cool calculation that always gives the same result           //example: though a bad example.          result = seed * i % 6;          //here I use i to calculate a number but the problem is that i dont want it to be systematic. i mean i only get increasing numbers etc.                         array.push(result);      }      return array; }   So all in all what I want is a non increasing (or systematic) numbers returned. A perfect result could be the numbers:  0.3345 0.8563 0.2234 0.8594 0.1231 etc.  So that there is no system or increment what so ever in the numbers.

The JavaScript  function returns a random value between 0 and 1, automatically seeded based on the current time (similar to Java I believe).  However, I don't think there's any way to set you own seed for it.  How can I make a random number generator that I can provide my own seed value for, so that I can have it produce a repeatable sequence of (pseudo)random numbers?


I want to buy into my server three hard drives like . Then from windows server 2016 I'd like to treat them as one logical drive ( for example as drive C:\ ). How to achieve it?

I currently have a 1TB hard drive when I store all my media - music, movies, etc. It's getting quite crowded so I want to buy another hard drive. However, I would like to  add new space to the current drive and not create a new one (i.e., all the files should be under drive letter Q, for example).   Is there any way to do this?  EDIT: to clarify, the drive I store my media in (the one I wish to expand) is not used for anything else - Windows is installed on a different drive.  EDIT 2: Also, the drives are not the same size, if that matters.


Here is a simple table.  I want to merge 4 cells. I want to combine the three "this" cells area in this table. I thought I have to use multirow and multicolum at same time. However, I could not find how to use it.  If possible, could you post the modified LaTeX source code?     My LaTeX code:  \documentclass{article} \usepackage{multirow}% http://ctan.org/pkg/multirow \usepackage{hhline}% http://ctan.org/pkg/hhline \begin{document}  \begin{table}[ph] \begin{center} \begin{tabular}{c|c|c|c|c} \hline \multirow{2}{*}{Raaa (k)} & \multicolumn{4}{c}{C ()} \\ \hhline{~----}  & 3.3 & 2.5 & 1 & 0.5 \\ \hline \multirow{2}{*}{Raaa (k)} & \multirow{2}{*}{this} & this & 0.5 & 0.6\\ \hhline{~~~--}            &                       & this & 0.7 & 1.2 \\ \hline \end{tabular} \caption{R, C ripple size} \label{T:peak} \end{center} \end{table} \end{document}


Trying to install the CATS plugin () I extracted it and it was a bunch of confusing files, no .exe files in sight. I downloaded this as a zip. What do I do?

There is this addon that was built called Window Generator 2. It can be . However, when I go to the download link it shows up in a new tab as a bunch of code.  How can I download and use this addon in Blender?


I see that Newton's Third Law of Motion explains that forces always come in action-reaction pairs. The Third Law states that for every action force, there is an equal and opposite reaction force.  I understand that there is an action-reaction pair of forces when an object is sitting stationary. For example if I am to pull on a crate and it doesn't move then I know that there is an action-reaction pair of forces where the pull from me is resisted by friction. The force applied by me is equal to but opposite to the frictional force from the crate.  If I am to now pull on a cart and the cart accelerates is there still an action-reaction pair of forces between myself and the cart? Since the crate accelerates that means the action-reaction pair is no longer equal right?

Given Newton's third law, why is there motion at all? Should not all forces even themselves out, so nothing moves at all? When I push a table using my finger, the table applies the same force onto my finger like my finger does on the table just with an opposing direction, nothing happens except that I feel the opposing force. But why can I push a box on a table by applying force ($F=ma$) on one side, obviously outbalancing the force the box has on my finger and at the same time outbalancing the friction the box has on the table? I obviously have the greater mass and acceleration as for example the matchbox on the table and thusly I can move it, but shouldn't the third law prevent that from even happening? Shouldn't the matchbox just accommodate to said force and applying the same force to me in opposing direction?


How can I replace the word 'Chapter' with some other text string in Memoir class?  So, instead of Chapter 1, it appears as, say, MyChapter 1.  Also, the text is in Devanagari script so MyChapter will be some Devanagari text string.

I'd like to modify the names used to typeset some of my document elements. For example, the caption of figure floats should change from "Figure" to "Fig.", and my \tableofcontents sectioning heading shouldn't read "Contents", but "Table of Contents". How can I do that?  \documentclass{article} % \usepackage[english]{babel} \begin{document} \tableofcontents \section{foo} \begin{figure}[h] \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure} \end{document}


I have a graph of $1/$current against resistance, which is a straight line of positive gradient. I know that the gradient represents $1/V$ but I can't work out how the equation $1/I= r/E + R/E$ relates to $y=mx+c$. Could somebody please tell me what each part of $y=mx+c$ represents in relation to $1/I= r/E + R/E$?   Rearranged equation for Emf= IR + Ir

If I have a plot of current ($y$ axis) against 1/Resistance ($x$ axis).  The circuit it is measured from is a simply 2 resistors connected in parallel to battery, where the potential across the resistors is $1V$. One resistor remains fixed, and the second varies, the resistance plotted on the graph is only the resistance of the second resistor.   Does this mean that the gradient will be voltage, but will it be $1V$ or less, as the resistance on the graph is only one from one of the resistors?  Also what will the $y$ intercept signify? $I = V/R +c$, what does the $c$ represent?


I have installed Ubuntu 17.04 dual boot with Windows 10. Now I can't write data to my local disks from Ubuntu. I have only read access. Please help me to fix this problem.

I have both Ubuntu 16.04 LTS and Windows 10 Pro installed and I use them both very often.  Sometimes, when using Ubuntu, I can see and use Windows partitions also. But sometimes, I cannot. I dont know why?  Ubuntu gives the error:  Error mounting /dev/sda5 at /media/mani/0AC217250AC21725:   Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda5" "/media/mani/0AC217250AC21725"' exited with non-zero exit status 14:   The disk contains an unclean file system (0, 0).   Metadata kept in Windows cache, refused to mount.   Failed to mount '/dev/sda5': Operation not permitted   The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option   Although I have shut it down many times, it still gives me this error. Please help so that I can use the two operating systems easily.


As in classification we have imbalanced classes, we use up-sampling or down-sampling and other techniques, what do we do when we have imbalanced data in prediction problems, for example, I have distribution of outputs like 90% value1, 5% value2, 3%value3, 2% value4?

When dealing with the class imbalance problem in a binary classifier, there are three ways I know of to address it: over-sampling, under-sampling and using cost-sensitive methods.   Are there any guidelines, rules of thumb or general strategies to choose among these methods? A possible answer would be: over-sample when the positive class has more than 100 instances (I just made it up).


Can anyone help me show that:  $||x|-|y||≤|x-y|$  I am new to proofs and I am not sure how I can show something as trivial as this!

Generally,the length of the sum of two vectors is not equal to the sum of their lengths. To see this consider the vectors $u$ and $v$ as shown below.  By considering $u$ and $v$ as two sides of a triangle, we can see that the lengths of the third side is $\| u + v \|$ and we have $\| u + v \| \leq \|u\| + \|v\|$.  Under what circumstance equality occurs and how can one prove that?


Solve $y^2 = x^3 - 4$  So far i've tried to look at this:  $x^3 = (y-2i)(y+2i)$.  I think we need to prove that $y+-2i$ are coprime, so suppose not then:  $d = u+iv$ divides both numbers. So also d divides the sum and difference: $d|2y$ and $d|4i$.  If one applies the euclidean norm function we get that $u^2 + v^2|4y^2$ and $u^2 + v^2|16$.  And here i get stuck, any tips?  Kees

I am having trouble solving the diophantine equation given in the title. This is how far I came:  We can factor in $\mathbb{Z}[i]$ $y^2+4=x^3\Rightarrow (y+2i)(y-2i)=x^3$. I want to show now that their gcd is a unit so in $\{\pm 1,\pm i\}$. Suppose $d=u+vi$ is the gcd, then $u+vi\text{ | }2y$ and $u+vi\text{ | }4i$. Now taking the norm, we find $u^2+v^2\text{ | }4y^2$ and $u^2+v^2\text{ | }16$. From the second part we find that $d=u+vi\in\{\pm 1,\pm i, \pm 4,\pm 4i,\pm 1\pm i,\pm 2\pm 2i\}$. Obviously $\pm 4$ and $\pm 4i$ cannot divide $y\pm 2i$. I don't know how to show it for the others.   If we assume that $y+2i$ and $y-2i$ are coprime and using the equation $(y+2i)(y-2i)=x^3$ we find that $y-2i=\epsilon \alpha^3$ and $y+2i=\delta \beta^3$ where $\epsilon$ and $\delta$ are units. From here on it is straightforward to find what $\alpha$ and $\beta$ can be. My only problem is showing that $y-2i$ and $y+2i$ are coprime.


SO Jobs (formerly Careers)  primarily. But the  here still says it's on-topic.      If your question is about:      ...                  ...      … it is welcome here.   That should be fixed to stem the tide of misplaced questions here a bit and reduce argufying. (The tag should also be fixed, and I've suggested an edit; there's not much to do about the thousands of old questions, but oh well.)

Currently the  page on Meta Stack Exchange says:  If your question is about:   (Employers). Questions for  should go to   … it is welcome here.  A  was closed as "This question pertains only to a specific site in the Stack Exchange Network". That close reason has a link to the help center page that says Careers questions are on topic here. The post  to MSO by a Careers customer support member of staff, which implies it should indeed be asked on MSO instead... Could the help center page be updated to indicate this?  Note that  seems to be talking about what is now called Jobs, and the help center page has since been updated to direct those questions to MSO, but what is now (or was? Isn't it "Talent" now?) called Careers (confusing right?) is still apparently on-topic here.


I noticed $(m/2n+n/m)^2 -2$ = $(m/2n-n/m)^2$.  So I set  $(m/n)^2 - 2 = d$   and substituted value for n in the above equation but can't show that resulting equation is less than d.

I got the following problem in a chapter of approximations:  If $\frac{m}{n}$ is an approximation to $\sqrt{2}$ then prove that $\frac{m}{2n}+\frac{n}{m}$ is a better approximation to $\sqrt{2}.$(where $\frac{m}{n}$ is a rational number)  I am stuck in this problem. Any help will be appreciated.


I have a problem which is probably linked to the internet problems.  I have an ubuntu 14.04 LTS as a partition on MBP, and I have very recently got the Wi-Fi driver working. However, it is very slow. Sometimes, it even does not detect the server. This behavior is probably linked to the main problem. Whenever I try to install any package using apt-get install I can think of, I get this type of error (for example):  $ sudo apt-get install squid3 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package squid3   And when I try issuing squid3 into the Terminal, it shows:  The program 'squid3' is currently not installed. You can install it by typing: sudo apt-get install squid3   The same error applies to all the packages I can think of. Is this because the access to ubuntu being blocked? Is it a different issue?

When I try to install any package through the command line, I get an error.   $ sudo apt-get install <package> Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package <package>   Can anyone help me on this?


Say I have a loop that goes through a file line-by-line via read. I would like to have both the original line, and the line split into different variables, which read does nicely. However, I can't seem to echo a variable, pipe it to read, and have the variables populated. Here's a base case:  echo "a b c d e f g" | read line echo "Read obtained: $line"   The result:  Read obtained:   How can I make read do what I want? Or: Why am I wrong to ask read to do this, and what should I do instead?

Why do I get different values for $x from the snippets below?  #!/bin/bash  x=1 echo fred > junk ; while read var ; do x=55 ; done < junk echo x=$x  #    x=55 .. I'd expect this result  x=1 cat junk | while read var ; do x=55 ; done echo x=$x  #    x=1 .. but why?  x=1 echo fred | while read var ; do x=55 ; done echo x=$x  #    x=1  .. but why?


On a recent episode of The Simpsons, Marge and Homer attended DANK (Drug and Alcohol Night of Knowledge). It made me wonder: is there a term for an acronym that spells an existing word (like how Drug and Alcohol Night of Knowledge's acronym spells the existing word "dank")?  Note that I'm NOT asking about acronyms that form new words, like scuba; although scuba is indeed an acronym, it did not use an already existing word (it created a new word). I'm only asking about acronyms that spell existing words (like how Recording Artists Development uses the existing word RAD as its acronym).

You see this in marketing sometimes, where a product or company with an acronym name later comes up with a phrase that fits the acronym for an ad campaign or a related product.  For example, if your company name is QP, after the founder Quincy Peterson, your marketing department might make a "Quality Products" campaign. Or they might name the new adhesive product "Quick Plastic."  Is there a word or phrase that describes this?


Wifi, read pdf, print through wifi, openoffice. there are about 15 million tablets ipad1 sold, waiting for it.

I'd love to install Ubuntu as a standard standalone on my ipad, is there any way to do so?


Can someone please explain the difference between confidence interval and hypothesis tests.  For example in relation to estimating the mean, it seems to me that the main difference is that in a one sample test (α=0.05) you find the 2.5th percentile and 97.5th percentile of the distribution centered around the null mean and see if the alternative mean lies within it. This is in contrast to confidence intervals where you instead find the percentiles of the alternative hypothesis and see if the null mean is present in it. Is this correct?, this seems a little redundant to me. Is there some benefit of one over the other?

It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means of both groups. Is there any relation between overlapping of confidence intervals and the rejection of the null hypothesis that means are equal (in favor of the alternative that means differ - two-sided test)? For example, a test could reject the null hypothesis iff the confidence intervals do not overlap.


Basically, I want to turn a continuous "1" into a short "1" pulse then "0". I'm new to logic gates, apologies if it's too obvious.

I'm trying to make a circuit (with no programmable circuits, only logic gates, flip flops and latches) that outputs a short impulsion each time it's input toggles from 0 to 1. Do you have any idea of how to do so?


I'm trying to understand why subtracting two numbers with both 2 decimals causes a value with 18 decimals.   Subtract 185.84 from 185.85 = 0.009999999999990905  diff = float(value) - float(device_compare_value)   Thanks in advance

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


I've just started learning Java and I am stuck at this MCQ:  Assume class Temp is defined as belowand the statment Temp a= new temp() is successfully executed Which of the statement is illegal in Java?  class Temp {  public static int i;  public void method1() { }  public static void method2() { } }   A. System.out.println(i);  B. Temp.method1();  C. a.method1();  D. Temp.method2();  The answer is B, but I can't understand why. Is it because a void method cannot be defined using the dot notation unless it's static?

To be specific, I was trying this code:  package hello;  public class Hello {      Clock clock = new Clock();      public static void main(String args[]) {         clock.sayTime();     } }   But it gave the error      Cannot access non-static field in static method main   So I changed the declaration of clock to this:  static Clock clock = new Clock();   And it worked. What does it mean to put that keyword before the declaration? What exactly will it do and/or restrict in terms of what can be done to that object?


When I try to use VLC in command line in Windows, it opens up the VLC GUI. So is there a way I can use it as command line command instead?

I want to use the following to convert some M4A files to MP3. It works fine, but it displays the VLC GUI for each file and shows 'quit' as a second file to be converted. Is there a 'silent' mode, where it does the conversion with not graphics interface? Or is there something wrong with my syntax?  @echo off for /f "delims=|" %%f in ('dir /b *.m4a') do (   CALL "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "%%f" --sout=#transcode{acodec=mp3,ab=128,vcodec=dummy}:std{access="file",mux=raw,dst="converted/%%"} vlc://quit )   UPDATE: I edited per Answer #1  @echo off for /f "delims=|" %%f in ('dir /b *.m4a') do (   CALL "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "%%f" --intf dummy --sout=#transcode{acodec=mp3,ab=128,vcodec=dummy}:std{access="file",mux=raw,dst=converted/"%%f"} vlc://quit   move "%%f" trash/"%%f" )   What it does is open a DOS command window as each file is processed. What I want is a totally silent mode (if possible). I have another batch file which does something similar (rips CD files to MP3) and it seems to work like that:  FOR /R D:\ %%G IN (*.cda) DO (     "C:\Program Files (x86)\VideoLAN\VLC\vlc" -I http cdda:///D:/ --cdda-track=!y! :sout=#transcode{vcodec=none,acodec=%e%,ab=320,channels=2,samplerate=44100}:std{access="file",mux=raw,dst="%t%!PADDED!.%e%"} vlc://quit )   What am I missing?


There's an interesting thread on stackoverflow about it:   This post explains how to show the content of a txt file on a url, but not how to save the content of that url to the client's disk.  Is there any possibility to save (on the client side) a file that (pratically) doesn't exist? There's just plain text, and the idea would be to download this plain text to a TXT file.

In WebForms, I would normally have code like this to let the browser present a "Download File" popup with an arbitrary file type, like a PDF, and a filename:  Response.Clear() Response.ClearHeaders() ''# Send the file to the output stream Response.Buffer = True  Response.AddHeader("Content-Length", pdfData.Length.ToString()) Response.AddHeader("Content-Disposition", "attachment; filename= " & Server.HtmlEncode(filename))  ''# Set the output stream to the correct content type (PDF). Response.ContentType = "application/pdf"  ''# Output the file Response.BinaryWrite(pdfData)  ''# Flushing the Response to display the serialized data ''# to the client browser. Response.Flush() Response.End()   How do I accomplish the same task in ASP.NET MVC?


Geometrically the dot product of two vectors gives the angle between them (or the cosine of the angle to be precise). Algebraically, the dot product is a sum of products of the vector components between the two vectors.  However, both formulae look quite different but compute the same result. What is an easy/intuitive proof showing the equivalence between the two definitions?  I.e., demonstrate that $a_x b_x + a_y b_y + a_z b_z = \lvert a \rvert \lvert b \rvert \cos{\theta}$

How can one see that a dot product gives the angle's cosine between two vectors. (assuming they are normalized)  Thinking about how to prove this in the most intuitive way resulted in proving a trigonometric identity: $\cos(a+b)=\cos(a)\cos(b)-\sin(a)\sin(b)$.  But even after proving this successfully, the connection between and cosine and dot product does not immediately stick out and instead I rely on remembering that this is valid while taking comfort in the fact that I've seen the proof in the past.  My questions are:   How do you see this connection? How do you extend the notion of dot product vs. angle to higher dimensions - 4 and higher?


After the events in Season 7 of Game of Thrones, who is the current ruler of Dorne?  In past seasons we saw how      Ellaria Sand and the the Sand Snakes killed Oberyn's brother, Prince Doran, and his son (Trystane), seizing the region of Dorne under their command.   And now after Season 7      all known trueborn members of House Martell are (presumably) dead, Ellaria Sand is Cersei's captive and the Sand Snakes are all dead   so, who is the current ruler of Dorne?

In Game of Thrones Season 7 Episode 2  we see that:     Euron Greyjoy raids Yara Greyjoy's fleet, and manages to capture the current ruler of Dorne; Ellaria Sand, as well as her daughters, two of which are killed in the raid, and one is captured along with Ellaria and Yara.   In the following episode we see that:     Euron gifts Ellaria and Tyene (her surviving daughter) to Cersei, who are then quickly imprisoned and tortured.    This presumably leaves     Dorne   without a current ruler, at-least until another steps up to take power. However, this does not necessarily mean that this kingdom doesn't have any current military power. Do the events mentioned above totally negate the potential power of this kingdom, or would it still benefit Daenerys to ally with what's left of this kingdom?  Also, given the current situation, who, if anyone, is next in line to take power in this kingdom. And, would this person be likely to ally themselves with Daenerys?


My code works when I use my first case. Then I wondered about the second case. When the button is clicked, this.x and this.y values are undefined  My html code:  <!DOCTYPE html> <html> <head>  <script type="text/javascript" src="ObjectKavrami.js"> </script>  <title></title> </head> <body> <button id="demoObjectPrototype" onclick="onObjectWithPrototype()">JavaScript Object</button>  </body> </html>   Case 1: returns "115":  var areaCalc = function(x,y) {     this.x = x ;     this.y = y ; }  areaCalc .prototype = {         area: function() { return (this.x * this.y); } } var newarea = new areaCalc (5,23);  function onObjectWithPrototype () {      alert(newarea .area());  }   Case 2: returns NaN  var areaCalc = function(x,y) {     this.x = x ;     this.y = y ; }  areaCalc .prototype = {         area: function() { return (this.x * this.y); } } //var newarea = new areaCalc (5,23);  function onObjectWithPrototype () {      areaCalc(2,3);      alert(areaCalc.prototype.area());      //alert(newarea .area());  }   Why can't the method see x and y values?

I'm not that into dynamic programming languages but I've written my fair share of JavaScript code. I never really got my head around this prototype-based programming, does any one know how this works? var obj = new Object(); obj.prototype.test = function() { alert('Hello?'); }; var obj2 = new obj(); obj2.test();  I remember a lot discussion I had with people a while back (I'm not exactly sure what I'm doing) but as I understand it, there's no concept of a class. It's just an object, and instances of those objects are clones of the original, right? But what is the exact purpose of this ".prototype" property in JavaScript? How does it relate to instantiating objects? Update: correct way var obj = new Object(); // not a functional object obj.prototype.test = function() { alert('Hello?'); }; // this is wrong!  function MyObject() {} // a first class functional object MyObject.prototype.test = function() { alert('OK'); } // OK  Also these  really helped a lot.


I'm having a problem with Blender after a recent GPU crash. While rendering a moderately intense scene in Cycles, my computer locked up and I had to do a hard shut-down. Ever since, Blender's LookDev mode has only shown me a grey screen. I can 'see' the edges of my plane, but no other details, no textures or materials. Lighting does not work at all for me in this mode. Eevee also does the same thing in either LookDev or Render modes, with even more broken results sometimes in the form of reflective artifacts. I have tried importing my scene into a new file. I updated to a newer version of Blender, and I also re-installed my graphics drivers. None of these gave any improvements. I am at a loss and a bit of a wall, as I am having a hard time working on my file without LookDev mode. Any and all help is appriciated. Scene shown in Solid View mode with random colors.  Scene shown in LookDev mode, grey screen with some edges barely visible.

I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?


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

How can I redirect the user from one page to another using jQuery or pure JavaScript?


The following formula is given in our lab manual: $$ T = 2 \pi \sqrt{\frac{L}{g}} \left( 1 + \frac{1}{4}\sin^2 \frac{\theta}{2} + \frac{9}{64}\sin^4 \frac{\theta}{2}+\cdots \right) $$ for the period of a simple  with length $L$ under the influence of gravitational acceleration with magnitude $g$. We ignore friction. I understand the solution of Newton's Equation via the small angle approximation $\sin \theta \approxeq \theta$ and why that gives the usual elementary formula $T = 2 \pi \sqrt{\frac{L}{g}}$. What I don't understand is how one derives the above formula for higher-order corrections to the period. I think the $\theta$ in the formula is the maximum angle to which the pendulum in question is swinging.  Any insight into the origin or derivation of this formula is appreciated.

In the book 'Calculus the Early Transcendetals' at page 776 (7th edition) they give that the period of a  with length $\text{L}$ that makes a maximum angle $\theta_0$ with the vertical is: $$\text{T}_{\left[\text{s}\right]}=4\sqrt{\frac{\text{L}}{\text{g}}}\int_{0}^{\frac{\pi}{2}}\frac{1}{\sqrt{1-\sin^2\left(\frac{\theta_0}{2}\right)\sin^2(x)}}\space\text{d}x$$  Questions:  Does this formula work, for any pendulum? How did they get this formula (hint to derive the given formula)?


Give an example to show that the series $\sum \sqrt{a_n a_{n+1}}$ is convergent but $\sum a_n$ is divergent, where $a_n$ is a positive real number.

This is the other direction of  that reads  Let $a_n>0$ (!) for each $n\in\mathbb{N}$. Then $\sum_{n=1}^\infty a_n<\infty$ implies $\sum_{n=1}^\infty \sqrt{a_n a_{n+1}}<\infty$.  I need to prove that "the converse of the last statement is false". I don't want the answer, but to ask if I can use the following argument to prove the statement. To start, I'm confused with the statement "the converse of the last statement is false". Is it enough if I prove, if $\sum_n \sqrt{a_n a_{n+1}}$ diverges, then $\sum_n a_n$ must diverge? If this is true, then the proof is easy since I can choose $a_n=1/n$ and prove that $\sum_n a_n$ converges.


I don't know when, but this icon appeared suddenly:    How can I remove it?

A while ago I upgraded from Ubuntu 17.04 to Ubuntu 17.10 and everything is working fine except for the fact that the icon in the window title bar of my Terminal seems to be stretched out to some ridiculous size.    This only seems to happen in the Terminal window. The Nautilus icon is completely fine.    The problem seems to go away if I login into an Xorg session instead of a Wayland one. I've looked around and didn't find any immediate solution to this. Any help would be greatly appreciated.


I have seen questions over SO that have comments saying thing like: "not a good question for this site - migrated it to SuperUser" - what does this mean?  I am quite new to SO and haven't found out about many features on it. Please can you not roar at me, which, unfortunately, my parents do most of the time.

I posted a question which was closed as off-topic and it seems like it could fit on another site in the network. How can I go about moving it there?   What is migration? When can a question be migrated, and who can migrate it? When should I consider migration, and when is it inappropriate? What causes a migration to be blocked and what happens after? What causes a migration to be rejected and what happens after? Anything else I should know about migration?


A point $(X,Y)$ is chosen uniformly at random from the unit square ($(X,Y)\in [0,1]^2$) and the random variables are $X$ - the x coordinate and $Y$ - the y coordinate.  Now of course X and Y have uniform distributions but how can we find the density of the random variable $X+Y$?  I've been struggling on this.

I am trying to understand an example from my textbook.  Let's say $Z = X + Y$, where $X$ and $Y$ are independent uniform random variables with range $[0,1]$. Then the PDF is $$f(z) = \begin{cases} z & \text{for $0 < z < 1$} \\ 2-z & \text{for $1 \le z < 2$} \\ 0 & \text{otherwise.} \end{cases}$$  How was this PDF obtained?   Thanks


Where is the terminal or command line in ubuntu 14.04 LTS? I can't seem to find it. Can you please direct me to find it so I can type in the formula for caffeine so I can stop my screen from dimming? Please advise asap. Thank you, Dianne

What is a terminal? How do I open a terminal window? How do I use the terminal?


What's the word for speech that talks about someones achievements, their character etc, like you would in a eulogy, except they're not dead.   For example, they might be receiving an award.   What do you call this speech?

I was thinking of words like the "background" of a person? Their overall qualities summarised into a short form. Eulogy might be a bad example, as it implies praise. A word meaning "a summary of someone's traits and characteristics."


For classes, you could just say:  class Test{     int a;     Test(int a); }  Test::Test(int a) {     this->a=a; }   Function names get "classname::" in front of them when declared outside of class.  How would I do this for structs?  struct Test {     int a;     Test(int a); }   How would I write the function for this struct Test outside of struct declaration so that it can be only be called by a Test struct?

This question was .  Now I'd like to learn the differences between a struct and a class in C++. Please discuss the technical differences as well as reasons for choosing one or the other in OO design.  I'll start with an obvious difference:   If you don't specify public: or private:, members of a struct are public by default; members of a class are private by default.   I'm sure there are other differences to be found in the obscure corners of the C++ specification.


I don't really know how to solve this, and I have seen a duplicate of this question else where which is this:   There is only 1 answer and it doesn't really clear my doubt. Basically, what I know about squeeze theorem is this: If we have 3 functions let's say $f(x)$, $g(x)$ and $h(x)$, and the limit of each function is laid out like this:  $$\lim_{(x,y)\to(0,0)} f(x,y)\le\lim_{(x,y)\to(0,0)} g(x,y)\le\lim_{(x,y)\to(0,0)}h(x,y)$$  But in his answer, he said $$|f(x,y)|\le |x| +|y|$$ This doesn't make sense how can squeeze theorem apply here?

This is an exercise from my calculus class. The function is defined as $x\sin (1/y)+y\sin (1/x)$ if $x\neq0 $ and $y\neq0 $, and $0$ if $x=0 $ or $y=0$.  I'm pretty confident the limit exists and should be $0$, because: $$\lim_{(x,y)\to(0,0)}[x\sin (1/y)+y\sin (1/x)]=\lim_{(x,y)\to(0,0)}[x\sin (1/y)]+\lim_{(x,y)\to(0,0)}[y\sin (1/x)]$$  And: $x\leq x\sin(1/y)\leq x$, so $\lim_{(x,y)\to(0,0)}[x\sin (1/y)]=0$ right? (The same can be said for $\lim_{(x,y)\to(0,0)}[y\sin (1/x)]$)  However, I tried checking my answer, and according to Wolfram Alpha the limit doesn't exist. Is this because I'm wrong, or is it just because $x\sin (1/y)+y\sin (1/x)$ is undefined for $y\neq0 $ and $y\neq0 $


I have a question from a sample exam I find difficults to solve:  Prove that if $\gcd(a, b) = 1 ⇒ \gcd(a^2, b^2) = 1$ .  I don't have any idea how to start. I'd like to get helped. thanks!

How can I prove that if $\gcd(a,b)=1$, then $\gcd(a^2,b^2)=1$, without using prime decomposition? I should only use definition of gcd, division algorithm, Euclidean algorithm and corollaries to those. Thanks for your help!


MERRRRRRRRRRRRRRRRRRR <3      doingdoingdoingdoingdoingdoingdoingdoingdoing.      9.... YEAH baby.      Shash. BOSH. :))   What this post would normally receive on its own is 8 "not an answer" flags, 6 "very low quality" flags and perhaps a couple "moderator attention" flags, when the community could very simply and easily have deleted the post on its own through half as many spam or offensive flags.  "But badp! We can't flag as spam because it's not promotional content! We can't flag as offensive because it's not abusive, hate speech or offensive!"  Please consider addressing this so that it's possible for the community to delete these posts from orbit on their own. Stack Overflow and pals may get away with it thanks to the amount of trusted users it enjoys, but that's really the exception here.  Gaming's average moderator response this month was over 5 hours. Clearly such posts shouldn't be warranted 5 hours' worth of lifetime. This crap needs to go, and I'd very much rather see the community throwing it away rather than just planting a sign on it saying "please remove it." (Especially since you don't actually have to get your hands dirty!)  Those posts are a red flag problem - posts that need to go, and go fast, and be inflicted upon as few people as possible. The solution needs to be a red flag, not a yellow flag where moderators have to apply policies and leave comments and otherwise exercise judgement.  Two possible ways to give a red flag solution to a red flag problem:   Explicitly incorporate clearly meaningless, contentless, garbled, garbage posts in the existing spam flag reason description, matching the definition of spam provided by wikipedia: "unsolecited, unwarranted mass posts." No one solecited or warranted gibberish on this site. Make the clearly meaningless, contentless, garbled, garbage posts its own "red" flag reason, stacking together with offensive and spam posts for all practical purposes.

Spam gets fairly heavily punished - 100 reputation penalty, if I recall correctly, and the content itself gets hidden in the revision history.  Now if we just have some rubbish:     dfajiojaifojadiofjadhigaowkokaomdiovnuiyhioqejgioqejgio   I'm not talking about someone posting a question or comment as an answer (i.e. possibly just not knowing the rules or being frustrated with not having the required privileges), or someone making some really horrible attempt at answering the question, I'm talking about an answer that clearly shows absolutely no observation of any content on the page.  This, in my opinion, causes a similar amount of harm to the site - I'm inclined to say the fact that someone posts spam isn't as important as the fact that they're posting something that needs to be deleted, since we're likely going to delete it pretty quickly, and they're (likely) behaving maliciously, or am I wrong?  Why don't we treat this equally harshly, or why do we treat spam as harshly as we do?    Side notes:  I'm sure I've seen a few times where users get punished for posting spam when their link is likely actually relevant to the question and useful (should I flag these? They are still link-only answers, so they shouldn't really come back, and often I'm just not sure enough). While false positives are bad, it seems worse that we're treating worse behaviour better.  I'm assuming that's not what "abusive" in this reason is referring to: (I'm also not sure, off the top of my head, how this one gets treated)     It is offensive, abusive, or hate speech


I'm using Fedora 24. Whenever I update the kernel, Fedora saves the two previous entries as backups, in case something goes wrong with the update.  I want to try to compile the kernel on my own (I want to enable ipv6 subtrees), and I would like the newly compiled kernel to be in a separate entry, not overwriting any of the fedora entries.  I tried to make five entries by setting installonly_limit=5 in /etc/dnf/dnf.conf, and I upgraded the kernel, but on reboot I still only see 3 entries, not 5. (Actually there are 6, 3 Fedora, 1 fedora recovery(?) and 2 windows. But I would like 5 for Fedora.)  Do I need to change anything else? Will compiling a new kernel overwrite any previous entries or will it just add an entry?

I have my encrypted Archlinux installed on my SSD. Now I have one HDD with Windows installed. But in my GRUB just Archlinux is shown (no Wonder, because I just installed Windows on the other HDD, GRUB doesn't know of that by now.).  My Question is, how do I properly add my Windows-HDD to GRUB, so that I can choose which to boot when starting?  I am a little bit afraid of destroying my GRUB so I can't boot my encrypted Archlinux anymore.  Thanks!


This is my first foray into working with Blender, and to start off I'm trying to compose a simple static scene with a few pre-built character models sitting in a room.  I downloaded  from Sketchfab (clicked "Download 3D Model" in the lower-left right below the artist's name and selected "Original format (blend)"). However, after extracting the ZIP file and opening the .blend file in source/, the model appeared as a grey blob with no textures, despite the model clearly being textured in the web viewer on Sketchfab.  Following the instructions from other sources, I  (which for some reason now seems to be labeled "look dev" in the latest version of Blender), and attempted to  from the textures/ folder in the extracted ZIP. Neither of these actions seemed to fix the problem for me. Additionally, I will note that my model does not appear pink, which as I've heard from other sources is the usual sign of missing textures. Rather, the model is simply a dull, untextured grey.  Any ideas about what I'm doing wrong? I'm using Blender 2.8 (the latest version).

I'm working in the new 2.8 with someone else's file (made in a previous version of Blender), and I can't get the textures showing in the viewport. I've relinked all of them to the correct location on my computer and Blender can seem to find them, but just won't display them in the viewport. I've made sure I'm in LookDev mode, and also added a lamp, but still nothing.  In 2.79, it was always just a matter of finding missing files and that's it... Can anyone see what I'm doing wrong here?  Thanks!


When I try something like $command &; command2  , bash returns me bash: syntax error near unexpected token `;'  How can I do that?

I have a program that receives an argument and prints it every second:    ~# ./myapp 234 234 234 234 234 ...     I want to be able to run it in the background and right after a shell but it must be in one line (I don't want to explain why I need it because I don't want to make the discussion too complicated right now).    This is what I tried and the error I received:    ~# bash -c "./myapp 234 &; sh"  bash: -c: line 0: syntax error near unexpected token `;' bash: -c: line 0: `./myapp 234 &; sh'   I also tried with && as separator:    ~# bash -c "./myapp 234 & && sh"  bash: -c: line 0: syntax error near unexpected token `&&' bash: -c: line 0: `./myapp 234 & && sh'   Any idea how I can solve it?    EDIT: Thanks to @roaima. I also found a link that talks about it:


I'm fairly new to Blender and am trying to make a human face mesh using the Mirror and Subdivision Surface modifiers. When I attempt to do so, the result shows this seam in the mesh and does not have the mirror align properly, as well as the subsurface creating a rip in the center mouth. How do I resolve this issue?  File:

I was practicing with modeling a leaf using a image reference. Everything went fine and I finished modeling my leaf, but I wanted to make it more realistic (I'll add textures later), I saw lots of people using the Subdivision Surface modifier but it doesn't work for me.  My model:   My model when I add the Subdivision Surface modifier


I saw this film in the late 1970s. I am unsure if it was made for TV or ever had a theatrical release (I don't think it was a TV show). Its production values were, say, somewhere between a B-movie of the era and Space 1999. I saw it on a B&W TV, so can't recall if it was produced in color or not.  The only bit I clearly remember was a scene where, what I believe was, the protagonists' spaceship went to collect some space garbage, and there was an external scene where the ship extends "arms" with grippers on the end and wrestles in comedic fashion with giant space trash.  What was this film?

This was a tv show that aired in the US in the '70s or early '80s, possibly on Saturday mornings. Since I was a child, I'm assuming it was a kids program? It was comic science fiction and set on a spaceship. The only 3 specific details I remember are:   The crew traveled between ship levels by using open "jump tubes" that were similar to a giant vacuum tube message system, only without any "container" for the passenger. They just stepped into an alcove with a big hole in the floor and ceiling, then shot up or down. Frequently the show would use this as a source of slap-stick comedy.  The captain was male. The 2 pilots were female, and 1 had been cloned from the other's fingernail cell. They often disagreed about which one was the clone.


Some minutes ago, I've seen news () where the title is:      "Norway to ban full-face veil in nurseries, schools and universities"   I understand that the meaning is "> "Norway is going to ban etc. or "Norway on the way to ban etc. as written in the article by itself:  "Norway is proposing a ban on the Muslim full face veil and other face-covering clothing because it says it hinders communication between pupils and teachers."  Now, my question if this omitting is intentionally and this structure of sentence is considered correct in English or maybe it's just a mistake and it's not correct?      Another topics of differences in tenses don't answer my question which deals with structure.

What is the difference between the examples below?  Generally, in a newspaper, news is based on past tense (things which have already happened).   Then why are headlines written in ways that says: He Kills (shouldn't it be: He Killed)?  For example:  Parliament passes bill vs. Parliament passed bill  Also  He kills his friend vs. He killed his friend  Please help.


I have a book with @online biblatex url whose title will be appeared in italic. I want to make it non-italic for @online but for@book italic title is fine. Do you know how to do it? To run : I run pdfLaTeX first, then Biber then pdfLaTeX again:  \documentclass{book} \usepackage[style=authoryear]{biblatex} \usepackage{filecontents}  \begin{filecontents}{\jobname.bib} @book{mybook, author       = {Herlastname, Herfirstname M}, date         = {2010}, title        = {company for him}, publisher    = {City: publisher}, } @online{myurl, author       = {Hislastname, Hisfirstname M.}, date         = {2019}, title        = {company for her}, organization = {Wikibooks}, url          = {https://helping_each_other_and_i_help_u.com}, } \end{filecontents}  \bibliography{\jobname}  \begin{document} like to see \textcite{mybook} try \citeauthor{myurl}. \printbibliography \end{document}

I am using biblatex and biber. Here is a sample LaTeX file.  \documentclass[11pt]{article} \usepackage[backend=biber,firstinits,style=numeric-comp,maxnames=99]{biblatex} \bibliography{longnames.bib,test.bib}  \DefineBibliographyStrings{english}{%   references = {Selected Publications},  } \begin{document}  Ref.~\cite{CJS:2013} and~\cite{BCW:2012}.  \printbibliography \end{document}   The reference BCW:2012 looks like this in the bib file.  @online{BCW:2012,   author    = {B and                C and                W},   title     = {Musings and machinations},   eprinttype   = {arXiv},   eprint    = {1234.5678},   eprintclass = {cs.DS},   year      = {2012} }   The problem is that the title "Musings and machinations" doesn't have quotes round it when rendered whereas all other (non-arXiv) papers do.  What am I doing wrong?  I am using biber version 0.9.9.


I can login as any user, but not as a root user in  centos 7. When I type the command su and enter password ,it gives me login incorrect message. What could be the issue?

How is it possible that I cannot log in as root by su root or su (I get incorrect password error), but I can log in by ssh root@localhost or ssh root@my_local_IP with the same password?  I'm using CentOS 6.4.    Update1 :  cat /etc/pam.d/su   gives:   #%PAM-1.0 auth        sufficient  pam_rootok.so # Uncomment the following line to implicitly trust users in the "wheel" group. #auth       sufficient  pam_wheel.so trust use_uid # Uncomment the following line to require a user to be in the "wheel" group. #auth       required    pam_wheel.so use_uid auth        include     system-auth account     sufficient  pam_succeed_if.so uid = 0 use_uid quiet account     include     system-auth password    include     system-auth session     include     system-auth session     optional    pam_xauth.so   Update2 :  $ sudo grep su /var/log/secure | grep -v sudo   gives :  Feb 23 13:12:17 fallah su: pam_unix(su:auth): authentication failure; logname=fallah uid=501 euid=501 tty=pts/0 ruser=fallah rhost=  user=root   repeated about 20 times.


A random selector can only select one of the nine integers $1,2,3,4,5,6,7,8,9$ and it makes these selections with equal probability.prove that the probability after $n$ selections($n>1$),the product of $n$ numbers selected will be divisible by $10$ is $1-\left(\frac{8}{9}\right)^n-\left(\frac{5}{9}\right)^n+\left(\frac{4}{9}\right)^n$  I do not know how to start with this problem,some hints and suggestions are needed.

I'm working on a problem where each number is chosen randomly from 1-9. Given $n$ numbers chosen in this manner, we multiply all of these together. I'm looking for the probability that this product is divisible by 10.  I reasoned that we only get a multiple of 10 when we multiply 5 and an even number together. So if either all $n$ numbers are odd or if none of the $n$ numbers is 5, then the product will not be divisible by 10, and we can take 1 - P(Not Divisible by 10).   From here, I'm not sure how to come up with a numerical answer when there is an ambiguous number of $n$ randomly chosen numbers. Is there some way to get there? Or is this reasoning flawed?


Why aren't the $K$ and $\chi$ vertically aligned in the following example and is there a simple workaround?  \documentclass[a4paper,11pt,twoside=semi]{scrbook}  \usepackage[english]{babel} \usepackage[utf8]{inputenc}  \begin{document} $\mathcal{D}_{K,\chi}$  \end{document}   The output is

\( \chi \) produces a letter that is slightly below the row, but I've seen in many papers a chi that is in the same line as the rest of the row)


Completely paranoid about my last experience with US Immigrafion. Leaving the Bahamas(my home) I had a very interesting encounter with an immigration officer. I approached the counter and was asked the usual questions, I was then asked when was the last time I was in the U.S. and I politely told the officer that I didn't remember the exact dates as it was over 6 months ago and that she had my passport so she can verify. I guess that was suspicious to her since it escalated into a bigger ordeal.   Completely unaware of the severity of no phone policy as I've never had a difficult experience when traveling to the U.S. I attempted to call my mother to get the exact dates and the lady completely lost it and told me to put my phone away which I did. She then took my passport and asked me to go into this small white room, obviously some sort of secondary questioning/screening. I waited for almost 30 minutes until she finally arrived and told me "unless you want your visa denied you better have some answers".    I was in complete disbelief that she refused to look in my passport and see the dates. She then asked me to approach the counter which I did and I apologized to her for not being able to remember the exact dates as I had literally just found out my dad has stage 4 cancer and my mind was clustered and that I'd never thought to memorize the dates as I know they are stamped in the passport and the officers usually verify themselves. I then tried to remember the dates and I told her I was in Vegas from August until September and then she brought up the fact that I was in Charlotte and Houston to which I let her know they were simply layovers and I never left the airports.    I made an honest mistake of genuinely forgetting a weekend trip to Atlanta in November which she brought to my attention and I apologized for it. She then proceeds to thoroughly check my bags and upon finding nothing suspicious, takes my passport and returns it with a stamp that says I must return on or before April 29th, extremely puzzled I reminded her that my return flight was for May 5th and she said that means you need to change your ticket and be back by the date stamped in my passport.   I've always had my passport stamped with a maximum of 6 months admittance but this time it was stamped for a little under a month as my departure was April 8th. I'm extremely worried about whether or not this will affect my future travels as my mom, niece and I have already planned to spend the entire summer with my sister in Vegas.   Will this experience affect my future travels and not being admitted for the usual 6 months?

I have traveled to the US 3 times now within the past year, on the 2 previous trips, CPB stamped my passport for entry up to 6 months for which I stayed only 2 weeks each. On my 3rd trip in February, I was stamped for admittance for one month only, however something has come up that necessitates I stay an extra 3 weeks. Would this get me on the overstay list? I know you can stay between 90 and 180 days in the US on a B1/B2 visa, but given what was stamped on my passport, what is the best thing to do? Can I ignore it and stay?


I have a dual boot system (Ubuntu 18.04, Win 10) on which my internet speed is ~70Mbit/s on both Ubuntu and Windows, but after a few minutes it drops to only ~50kbit/s on Ubuntu, making internet basically unusable.  From Ubuntu:  $ iwconfig  wlxe84e06453c21  IEEE 802.11             Mode:Managed  Frequency:2.437 GHz             Bit Rate=72.2 Mb/s   Tx-Power=20 dBm              Retry short limit:7   RTS thr=2347 B   Fragment thr:off           Power Management:off           Link Quality=60/70  Signal level=-50 dBm             Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0           Tx excessive retries:0  Invalid misc:44427   Missed beacon:0   which seems to indicate the connection is set up properly at the correct bit rate, but this is not what I get in practice.  For completeness (ethernet connections omitted):  $ sudo lshw -C network   *-network:1        description: Wireless interface        physical id: 3        bus info: usb@3:4        logical name: wlxe84e06453c21        serial: e8:4e:06:45:3c:21        capabilities: ethernet physical wireless        configuration: broadcast=yes driver=rtl8192cu driverversion=4.15.0-33-generic firmware=N/A ip=10.0.1.7 link=yes multicast=yes wireless=IEEE 802.11   lsmod output:  rtl8xxxu              122880  0 rtl8192cu              73728  0 rtl_usb                20480  1 rtl8192cu rtl8192c_common        57344  1 rtl8192cu rtlwifi                77824  3 rtl_usb,rtl8192c_common,rtl8192cu mac80211              778240  7 rt2800lib,rt2x00lib,rt2x00usb,rtl_usb,rtlwifi,rtl8192cu,rtl8xxxu cfg80211              622592  3 rt2x00lib,mac80211,rtlwifi   Given that the hardware and router are identical between the Windows and Ubuntu install, I'm left to believe there's a bad Linux driver or config somewhere. Any tips on where to look appreciated.  UPDATE: This is not a duplicate of the bug marked by chili555. I don't experience freezing and blacklisting the rtl8192cu driver does not resolve the issue.

OS: Ubuntu desktop 18.04 LTS Linux version 4.15.0-24-generic  USB WiFi: odroid WiFi Module 3 with Realtek RTL8188CUS-GR  syslog has only ^@  Jul  4 12:31:50 udbv-HP-ProBook sudo: pam_ecryptfs: pam_sm_authenticate: /home/udbv is already mounted ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^$ Jul  4 12:33:30 udbv-HP-ProBook systemd-modules-load[396]: Inserted module 'ppdev' Jul  4 12:33:30 udbv-HP-ProBook systemd-modules-load[396]: Inserted module 'parport_pc' Jul  4 12:33:30 udbv-HP-ProBook systemd-cryptsetup[424]: crypt_init() failed: Block device required Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Starting Flush Journal to Persistent Storage... Jul  4 12:33:30 udbv-HP-ProBook swapon[415]: swapon: /swapfile: read swap header failed Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Started Create Static Device Nodes in /dev. Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Starting udev Kernel Device Manager... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Started Set the console keyboard layout. Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Reached target Local File Systems (Pre). Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for vlc... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for gnome-3-26-1604... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for gnome-calculator... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for pycharm-community... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for gnome-3-26-1604... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for skype, revision 41... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for gnome-calculator... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for gnome-calculator... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for skype, revision 38... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for pycharm-community... Jul  4 12:33:30 udbv-HP-ProBook systemd[1]: Mounting Mount unit for vlc... Jul  4 12:33:30 udbv-HP-ProBook kernel: [    0.000000] microcode: microcode updated early to revision 0x84, date = 2018-01-21   I tried following  but it didn't help.  Any ideas?


I was trying to change ownership of a hard-drive mounted on /media/user/ using command   sudo chwon -R user:user /media/user/   but I made a typo and ran command  sudo chwon -R user:user / /media/user/   Now everything in / is set to user(username) user(group). This system is used by me and my collegue and we cannot ssh into it since permissions have been changed. How do I revert it back to normal ?

I accidently ran  sudo chmod 755 -R /   instead of  sudo chmod 755 -R ./   I stopped it after few seconds, but now there is some problems such as  sudo: must be setuid root   How can I revert permissions back?