We need to show that that $\lim_{n\rightarrow\infty}$ $\frac{n^{2}}{2^{n}} = 0$. This makes sense intuitively since exponentials always rush to infinity faster than do polynomials, but I don't know how to prove it. Cool thing is, this is actually not from a math class, but from my CS class, where we have to compare runtimes. Regardless, can someone show me how to prove this without using differentiation? Thanks!

How can I prove $\lim_{n \to \infty} \frac{n^2}{2^n}=0$  I tried to use $\mid \frac{n^2}{2^n} - 0 \mid <\epsilon $ However, because of $n^2$ I cannot use it. Also, I tried to use ratio test and I got $\lim_{n->\infty}\frac{(n+1)^2}{2}\frac{1}{n^2}$, but after that one, I dont know how to get limit < 0  I have no idea to solve this problem.   I can also use a squeez lemma, but dont know how to apply to this question.


I found that there is a way to add javascript files in the form validation function as stated in "".   However, I would like to know how to add javascript using the drupal_add_js function with the inline option. I would just like to execute some javascript code while I am in the validation function of the Drupal Form API.

I add js file with drupal_add_js in hook_form_alter, it is ok and I see it in list of js loaded in page, but when I submit form and form not validate and return to that form (after validation failed) I don't see js files that added to form, why this happened? and how can add my js file in that form after validation failed ?   some part of my code   function mymodle_form_alter(&$form, $form_state, $form_id) {   if ($form_id == 'news_node_form') {     drupal_add_js(drupal_get_path('module', 'mymodule') . '/js/mymodulejsfile.js'); //, array('scope' => 'footer','weight' => 10));   } }   code work correctly in add and edit form, but when form submit and validation failed it show validation error but my js file not loaded in page (I checked html source and check firebug script files), but there is not my js file,


What is an ideal poster size for scientific conference? Should it be printed on paper or flex or photo paper?

What is the typical size for a conference poster? Is it "ask the organizers", or can I safely assume that I'll get a default size, and that there will be enough space to hang it at the poster session?


[UPDATE]:    I know what NPE is,but I don't know why it appears here.So I think this is totally not a duplicated question as .But any way I have found the answer.To use Mockito in instrumented test,addition dependencies dexmaker and dexmaker-mockito are also required:    androidTestCompile "com.google.dexmaker:dexmaker:1.2" androidTestCompile "com.google.dexmaker:dexmaker-mockito:1.2"   And if you don't run yout test under MockitoJUnitRunner,addition initialization is also required as below answer has mentioned:    MockitoAnnotations.initMocks(this);   See also  for futher discussion.     I want to write a simple test that checks if user's data is shown on the UI.The Activity retrieves the data stored in sharedPreferences within onResume() and shows it on the UI.The following is my code for the test:    @RunWith(AndroidJUnit4.class) public class EditProfileActivityTest {  @Mock private UserPreference userPreference; private String FAKE_NAME = "Test";  @Rule public ActivityTestRule<EditProfileActivity> activityTestRule = new ActivityTestRule(EditProfileActivity.class,true,false);  @Before public void setUp(){      //Set fake SharedPreferences     when(userPreference.getName()).thenReturn(FAKE_NAME);      //Start Activity     Intent intent = new Intent();     activityTestRule.launchActivity(intent); }  @Test public void showUserData() throws Exception{     onView(withId(R.id.name_tv)).check(matches(withText(FAKE_NAME))); } }     where UserPreference is a custom class which simply wraps SharedPreference class and contains lots of getters and setters.This is its constructor     public UserPreference(Context context) {     this.context = context;     sharedPreferences = this.context.getSharedPreferences("Pref", Context.MODE_PRIVATE);     prefEditor = sharedPreferences.edit(); }     and one of its getter     public String getName() {     return sharedPreferences.getString(context.getString(R.string.pref_name), "Guest"); }     But when I run the test,it keeps showing NullPointerExceptiions on this line     when(userPreference.getName()).thenReturn(FAKE_NAME);   I've searched for related topics but I still can't see why.I think the concept of mock is to re-define a method's behavior no matter what the real implementation is. I am new to testing,so I am sorry in advance if this is a silly qustion.  By the way the test runs perfectly with the following code    @RunWith(AndroidJUnit4.class)     public class EditProfileActivityTest {      private UserPreference userPreference;     private String FAKE_NAME = "Test";      @Rule     public ActivityTestRule<EditProfileActivity> activityTestRule = new ActivityTestRule(EditProfileActivity.class,true,false);      @Before     public void setUp(){         //Start Activity         Intent intent = new Intent();         activityTestRule.launchActivity(intent);     }      @Test     public void showUserData() throws Exception{         onView(withId(R.id.name_tv)).check(matches(withText(FAKE_NAME)));     } }   But the preference data it retrieves is from the "real" device.In this case i can't make an assertion about what will be displayed so I can't tell whether the test is passed.This is why I want to mock the preference to make it predictable.

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?


While selecting a png image as a texture for a material in Unity, it shows different size (bigger) than the actual file size, why is this so? how can I reduce its effective size to make it perform better without loosing much detail.  Size in windows explorer (825 kb)    and this is same image in Unity texture select window (1.3 MB)

I'm trying to reduce a Unity WebGL build size which, for the data asset, is currently at 30 Mb.  I installed the .  On clicking the "Source assets" tab and choosing "Size" it showed the top entries were images.  Fine.  But all the sizes reported were between 4 and almost 30 times the size of the file on disk.  Is this just a bug / artifact of the build reporter or a genuine problem which I need to address to reduce the build sizes?  ** Edit **  Two of the files are text files.  Their size in unity build report is the same as that on disk.  Why?    ** Edit 2 - after Ed Marty's answer **  Using low quality with crunch compression at 70 results in slightly lower image quality but it went from 10 Mb to 300 kb, i.e. 30 times smaller size (and about 10x smaller than actual file size on disk).


.container{  float:right;  border: 1px solid blue;  height: 100px;  }  .container img{   width:80px;   height:20px;   vertical-align:middle;   border: 1px solid red; }

    My question, is how can you centred the image vertically inside a floating div?

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers?

testing...


I have a text file with 9 fields separated by :  survey:m1111771::rent:travel:::Morning:   How do I pull field 1 and 8 only to a separate file  for example it would look like this,  survey:Morning

I executed  cut -d '~' -f 2 on input  RSC AED FCB A~RS   and I obtained  RSC AED FCB RS   I realized that cut will return entire line if the delimiter does not exist. It is that true?


This is a question from class 12 Physics NCERT Part I:      Show that the tangential component of electrostatic field is continuous from one side of a charged surface to another. [Hint: Use the fact that work done by electrostatic field on a closed loop is zero.]   I understand that a charged surface (which is not necessarily a conductor) can have a tangential component to the electric field. I have two questions:  a) I know there's some concept I'm completely forgetting here, but does this not mean that there's a force now that can move the charges along the surface, which isn't possible in electrostatics?   b) Also, can anyone help me understand how the 'work done in a closed loop is zero' fact proves that the tangential component is continuous? Where do I take the closed loop to be?  Any help is appreciated, thank you so much.

The above question i'm trying for so long but failed. This is from my class $12$ book(india).First of all i'm confused with tangential component of electric field, I mean why this? So far I've studied that electric field(Whether its own or someone's else) is always perpendicular to a charged body. So, there shouldn't be any tangential component. Could someone please explain me visually what's happening?  Strict Note: A class $12$ answer required. No complex statements please. Only for school childs.


I have installed blueman and all dependencies, but in the blueman-manager app I can not find any device, any idea?  System Information       Manufacturer: Sony Corporation   Product Name: SVF1521C4E   Version: C10J0PTJ   Serial Number: 54610130-0001219   UUID: EC5205E0-53E9-11E2-B221-78843C3BB4B0   Wake-up Type: Power Switch   SKU Number: 54610130   Family: VAIO     lspci -nnk | grep -iA3 net; lsusb; dmesg | egrep -i 'blue|firm'; hciconfig -a     07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)   Subsystem: Foxconn International, Inc. BCM43142 802.11b/g/n [105b:e071]   Kernel driver in use: wl   Kernel modules: wl   0e:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.   >RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)   Subsystem: Sony Corporation RTL8111/8168/8411 PCI Express Gigabit >Ethernet   Controller [104d:90b8]   Kernel driver in use: r8169   Kernel modules: r8169   Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Bus 001 Device 004: ID 5986:0543 Acer, Inc   Bus 001 Device 003: ID 0489:e062 Foxconn / Hon Hai   Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub   Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   [    1.668163] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS   [   11.244719] Bluetooth: Core ver 2.22   [   11.244734] Bluetooth: HCI device and connection manager initialized   [   11.244737] Bluetooth: HCI socket layer initialized   [   11.244739] Bluetooth: L2CAP socket layer initialized   [   11.244743] Bluetooth: SCO socket layer initialized   [   11.601936] Bluetooth: hci0: BCM: chip id 70   [   11.617939] Bluetooth: hci0: BCM43142A   [   11.617941] Bluetooth: hci0: BCM (001.001.011) build 0000   [   11.677603] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed   >with error -2   [   11.677612] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found   [   13.683789] Bluetooth: hci0 command 0x1003 tx timeout   [   23.065495] Bluetooth: BNEP (Ethernet Emulation) ver 1.3   [   23.065497] Bluetooth: BNEP filters: protocol multicast   [   23.065499] Bluetooth: BNEP socket layer initialized   [   90.059428] Bluetooth: RFCOMM TTY layer initialized   [   90.059436] Bluetooth: RFCOMM socket layer initialized   [   90.059444] Bluetooth: RFCOMM ver 1.11   hci0:  Type: BR/EDR  Bus: USB   BD Address: 0C:84:DC:F5:61:00  ACL MTU: 1021:8  SCO MTU: 64:1   UP RUNNING   RX bytes:986 acl:0 sco:0 events:54 errors:0   TX bytes:3653 acl:0 sco:0 commands:54 errors:0   Features: 0xff 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87   Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3   Link policy: RSWITCH HOLD SNIFF   Link mode: SLAVE ACCEPT   Name: 'ricciolino_bluetooth'   Class: 0x10010c   Service Classes: Object Transfer   Device Class: Computer, Laptop   HCI Version: 4.0 (0x6)  Revision: 0x0   LMP Version: 4.0 (0x6)  Subversion: 0x210b   Manufacturer: Broadcom Corporation (15)     hcitool dev     Devices:             hci0  0C:84:DC:F5:61:00      rfkill list     0: sony-wifi: Wireless LAN   Soft blocked: no   Hard blocked: no   1: sony-bluetooth: Bluetooth   Soft blocked: no   Hard blocked: no   2: phy0: Wireless LAN   Soft blocked: no   Hard blocked: no   3: brcmwl-0: Wireless LAN   Soft blocked: no   Hard blocked: no   4: hci0: Bluetooth   Soft blocked: no   Hard blocked: no     resolved following  guide, the problem was the bcm43142 driver

Bluetooth is on but can't find or be found by any other devices.  Output of sudo service bluetooth status:  ● bluetooth.service - Bluetooth service    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)    Active: active (running) since ხუთ 2015-06-04 22:33:18 GET; 13min ago  Main PID: 26678 (bluetoothd)    CGroup: /system.slice/bluetooth.service            └─26678 /usr/sbin/bluetoothd -n  ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Adapter /org/bluez/26678/hci0 has been enabled ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Adapter /org/bluez/26678/hci0 has been enabled   Output of lsusb:  Bus 003 Device 005: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0   How can I fix it?


The title is pretty self-explanatory.  When I append the object, the data seems to come through but it isn't showing up in the viewport.  The original object was an imported .fbx if that makes any difference.  The object is a TV Stand and it should show up where the 3D cursor is.  You can see it highlighted in the outliner.  Any thoughts?

I have opened a new blender file and deleted the default cube, then imported an obj file . I did not see any thing so i selected it and i zoomed ,nothing appears.In the outliner i saw the object name ,But in the info panel i see that there isn't any verts/faces/edges.  When i opened the obj file in a text editor i found Mesh data in it. I tired this in all blender versions (2.78c/2.78.5/7.9). Can any one help how to view the mesh?


After a recent update to Ubuntu Gnome 16.04 LTS my trackpad's movements have been inconsistent. I turned the acceleration to zero through the xset command, but the problem still occurs.   I duel booted windows and tested the trackpad on their with no issue, so I assume this isn't hardware related.    System:   Synaptics Touchpad Ubuntu 18.04

I am facing very weird problem on which I cannot find solution. One time touchpad gestures stopped working along with keyboard keys holding. Touchpad is moving the cursor but nothing more. When I am holding keyboard keys they appear only once, although in my setting it is set up to repeat keys.  $ uname -r 4.13.0-26-generic


I'm a Filipina with permanent residency as a family member of European national (Article 20) given by the Italian authorities. I have a Philippine passport and I'm married to a British national; we're living in Italy due to work.    Do I need to apply for a visa to travel to the UK alone, even for a short stay (4 days)?

Are my German residence card and South African passport sufficient for entry into the UK for a few days to visit a friend? Should I, in addition to this, still apply for an EEA Family Permit or some other UK entry visa?   I am a non-EEA national spouse of an EEA national (Hungarian wife), my residence permit, valid for 5 years and issued by the German authorities, gives me free movement throughout the EU & with freedom to work in Germany.   My concern is that I will be travelling alone without my EEA national spouse, and an article on the Gov.UK site says     You may use this document for travel to the UK if you are accompanying your EEA national relative here, or joining your EEA national relative here, or joining your EEA national relative in the UK.   I find no clear answer on the official web sites and would like confirmation. I intend flying from Germany to London, between the 6th to 11th July 2017.


Can someone on an Xbox 360 play GTA online with people on Xbox One and vice versa? Some guys in a lobby said he was on the 360 playing with me (I have an Xbox one) but I have a feeling he wasn't in the right state of mind. Is it possible?

Grand Theft Auto Online exists on five different platforms: XBox 360, PS3, XBox One, PS4, and PC. Do any of these play on the same servers, allowing people on differing platforms to play together?


Critical Update option shows Disabling older TLS Option in Production Org but not in Sandbox Org?What could be the reason?    Does it mean Sandbox has already disabled TLS 1.0 it as mentioned here?

Critical Updates there is no Update Name   (Require TLS 1.1 or higher for HTTPS connections" in that list)   any help will be appreciated


I'm looking for source which simply described how can choose right power supply, for example it possible to use one power supply with same voltage and higher amperage insted using sevseral power supply with lower amperage? If it is not possible explain for what and if its possible under which conditions it is possible

When I was young and learning about electricity, a fabulous tool for understanding voltage/current/resistance was an incandescent lightbulb (in my case it was a small 3V bulb). When you doubled the voltage by putting two batteries in series, it glowed 4x as bright, but heated up more and was more prone to burning out. When you put two lightbulbs in series, they glowed 1/4 as bright. When you put them in parallel, they glowed normally, but drained the battery twice as fast. Etc.  This day and age however incandescent bulbs are on the way out, and LEDs are replacing them for a good reason (like not burning out every few months or so). But LEDs are different and follow different rules, which I don't understand myself very well.  I was wondering - can LEDs be used in the same way? I know that for a LED to be usable in a similar way as a classical lightbulb, you need to put it in series with a resistor, otherwise it draws too much current and burns out. I think you can even buy LEDs with built-in resistors. But would they work in the same fashion? Would changes in voltage be accompanied with corresponding changes in brightness?


I have read many questions about the topic. Apparently if I favorite a question, I should get notifications about it, but it's currently not the case. Apparently, there is a checkbox in the prefs tab of my profile about it. What I see is "Allow email notifications when I subscribe to questions or tags", which I have checked.  Unfortunately, I don't seem to understand how it works: I favorite questions, they get comments, edits, answers, and I am not notified in any way.  I saw info saying that this kind of feature is broken, but it was about a year ago. Certainly I've missed some stuff?  What am I doing wrong? How can I get updates about those questions I'm not involved in (without subscribing to individual RSS feeds)?

We're considering adding favorite notifications to the global inbox, and are looking for feedback on the idea (as we're not completely sold on it).  But first, some history.  Favorites are kind of like bookmarks, in that they're kept in a handy centralized place.  They also follow you across browsers.  Ok, ok... "bookmarks, on the internet" is not the most compelling feature, but Favorites also opted you into notices for those questions as if you were the owner (edits and new answers, at least).  This was probably the most confusing part (though a  feature) of the old envelope behavior judging by erroneous bug reports, so a way to opt out of this .  Now, favorite updates go nowhere.  But we could* put them into the inbox.  Here's how we envision this feature working:   Every current user has their "notify me on favorite changes" preference cleared (new users start with it cleared). The first time someone favorites a question, they're prompted to opt-in to favorite notices. Whenever a question is commented on or answered (or, possibly, edited) a new notice is pushed into the inbox of users who have favorited it, and have opted in.   Opt-in would be per-site, and it would remain possible to opt-out from your profile page.   This is not a final design, but the basic idea is correct  As I mentioned above, we're not 100% sold on this idea.  We've had a policy to date that nothing goes into the inbox that isn't specifically targeted at a user; this would be tweaking that policy.  *We could also put changes into their tab on the user page, but that reduces their visibility.


Want to know the specific meaning of the two semicolons in the sentence below. And is there any good idea to split this sentence using appropriate transitions?  The fundamental insight into the necessity of the return to consciousness; the radical and explicit determination of the path of, and the procedural rules for, this return; the principle-based determination and systematic exploration of the field that is to be disclosed11 in this return -- this we designate as phenomenology.

Inside the alley I found myself cornered by unpleasant sights: walls covered with cracks and peeling paint, storm drains clogged with moss, dumpsters overflowing with bags, cans, and rotten trash. Inside the alley I found myself cornered by unpleasant sights: walls covered with cracks and peeling paint; storm drains clogged with moss; dumpsters overflowing with bags, cans, and rotten trash. Inside the alley I found myself cornered by unpleasant sights. Walls covered with cracks and peeling paint. Storm drains clogged with moss. Dumpsters overflowing with bags, cans, and rotten trash.  Or maybe the three of them are orthographically correct in their respective contexts? EDIT (based on dockeryZ's answer): I think second example is right, regardless of the context. Explanation: .


I have checked all the hardware requirements from the BIOS and everything supports Hyper-V on mhy Dell xps 13 (2015). The problem is there is no option in add features.

I've got a Windows 8 (not .1, not Pro; OEM with a Lenovo Z580 laptop), which I want to use for WP8 development.  I've read  and , and a few more articles.  I have enabled in BIOS what looks like it has to do with hardware virtualisation - "Intel Virtual Technology" (is this VMX?). No signs of EPT or XD.  I've got the four Hyper-V items in the enumeration that msinfo32 shows.  However, in the 'Control Panel/Programs and Features/Turn on|off windows features' list, I don't have Hyper-V.  Is this available at all on my machine, and if not what can I do to get it working?  Thanks in advance.


I was trying to install Electron using NPM, and this showed up:  adi@LMToshi2 ~ $ npm install electron --save-dev --save-exact npm ERR! Linux 4.8.0-53-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron" "- -save-dev" "--save-exact" npm ERR! node v4.2.6 npm ERR! npm  v3.5.2 npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! syscall read  npm ERR! network read ECONNRESET npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network  npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly.  See: 'npm help config' npm ERR! Linux 4.8.0-53-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron" "--save-dev" "--save-exact" npm ERR! node v4.2.6 npm ERR! npm  v3.5.2 npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! syscall read  npm ERR! network read ECONNRESET npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network  npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly.  See: 'npm help config' npm ERR! Linux 4.8.0-53-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron" "--save-dev" "--save-exact" npm ERR! node v4.2.6 npm ERR! npm  v3.5.2 npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! syscall read  npm ERR! network read ECONNRESET npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network  npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly.  See: 'npm help config' WARN engine hawk@6.0.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.6","npm":"3.5.2"})   BTW: I am not in a Proxy.

I just wanted to install npm via terminal and now I am just stuck with some dependencies.   It wants me to install a few dependencies, for example:  libssl1.0-dev nodejs-dev node-gyp   Even if I try to install these first, it tells me I need the predecessor before.  Last instance of dependency is libssl-dev and this seems already installed.  Target is to install npm for making this  run on my system.  Thanks for you help.


That's Awesome! The problem is, a lot of the time, when I answer my own question, if it doesn't get any comments or a competing answer, I can... well, I can kind of forget about it. Often, I don't even realize that I haven't accepted my own answer until I see my accept rate starting to dwindle and start digging through old questions in search of a fix.   It allows a chance for someone else to see the question as 'unsolved' for a few days, and sometimes, a competing answer can be better than the one I'd written myself. The waiting period helps to encourage those competing answers to be contributed, as answering a question with an Accepted Answer already can be intimidating and feel pointless.  Instead, how about reminding me, say... a week after asking/answering a question using this shiny new button that I haven't accepted my own answer yet? A simple inbox alert similar to the Badge Award/Bounty Expiration notifications seems appropriate here, and it would help to encourage me to check in on my 'solved problem'.

I was  the users' first answers,  and I see a lot of people who has answered his own question,  but hasn't accepted it, because of:   He's new on the site and doesn't know that answers can (should!) be accepted. He's new on the site and thinks accepting a self-answer is a bad thing. He had to wait to accept his answer and forgot about that. He intentionally leave it unaccepted (very few cases).   And I have to make tons of comments asking those people to do so.  The proposal  Wouldn't it be great to let the site ask you to accept your answer? I know there's a waiting period: if it hasn't expired yet, remember the user to accept his answer when it expires.  For example, by showing a notification or sending him an email when the waiting period expires.


I would like to ask you about the correct behaviour when applying at different universities for different PhD positions. Currently, I won two PhD positions and a second shortlist for a third one. The third one is the one I really want, but the interview will be held on campus and due to coronavirus pandemic it has been postponed after the mid of August. I have strong academic and personal reasons to go for the third one, but of course I am not sure that I will win it. Now I have to decide between the two I already have. I would feel guilty to tell yes to one of them and later on withdraw the offer. What is the acceptable time to change your mind? Should someone follow his personal motivations or be ethical? Thank you, Joy.

I have accepted a PhD offer from a very good university to do a project very close to my interests. I have told the project supervisor I accept it. In the meanwhile I have managed to secure a PhD offer from another 2 universities much better in world rankings and with better research groups and better faculty. Additionally these 2 universities do research exactly on what I want to devote my PhD research.  My only commitment to the first university is a mail confirming I accept. Nothing else. I understand declining the offer after already having accepted it is quite dishonest but it is a huge decision that will affect my future in a very significant level.   I would like your opinion and I would also like to ask for possible consequences of such an action. As far a postdocs concerned, in the first university there is no chance I ever get a postdoc since they do not actually do research on my area (except for the prospective supervisor and even he not as much).  UPDATE I have decided to do as I was afraid to. I have decided to choose a different university than the first one that I have already accepted the offer. My offer acceptance included:    An online "I accept" statement. An e-mail I sent stating "I accept the scholarship and this University is my first option"   I do not have any legal commitments since I have not signed anything. The supervisor of the first university though is really nice to me and continuously was sending me mails. How do I very nicely tell her I will not be joining in the end? Additionally the place I will go in the end will be for research in Mathematics and not Physics. Can I use this as a part of a sensical excuse?  WHAT I HAVE CHOSEN AND WHAT THE CONSEQUENCES WERE  I think that I should let people, especially other beginning grad students know what happened with my case. I have chosen to nicely tell the first university I got accepted that I will not be attending and will not be pursuing a PhD there since I decided I have different research interests (which is true). I had applied there in the first place since I was not sure what I wanted to do and because it was a nice program. Despite that, I got an offer from a World top university to work on 100% my research interests. I explained this to them, the first uni, and they happily let me go and wished me good luck, especially the supervisor who faught a lot secure me funding. I was lucky.


I am really fond of mathdesign package, I use it with the font Adobe Utopia Std. Recently, I have found myself in need of a calligraphic alphabet (with lower and uppercases) in math mode. I've thought of start to compile with XeLaTeX and use unicode-math to set such an alphabet, but it would be painful to abandon mathdesign and Utopia. Is there a way to install a script otf or ttf and define a new alphabet in order to use it with PDFLaTeX? Or instead to use the glyphs from mathdesign with unicode-math.  [EDIT] I have obtained the result by editing mdpus.sty and mathspec.sty.  In mdpus.sty, I commented the line 186 (\renewcommand{\rmdefault}{mdpus}\rmfamily) so that the following warning (which appears when the file is compiled with XeLaTeX)would be gone:     /usr/share/texmf-dist/tex/latex/mathdesign/mdpus/mdpus.sty:186: LaTeX   Font Warning: Font shape 'TU/mdpus/m/n' undefined(Font)   using 'TU/lmr/m/n' instead on input line 186.   Then I searched the mathspec.sty file for the definition of the command \setmathcal, which I had found in the documentation.   \ernewcommand\setmathcal[2][]{   \zf@fontspec{#1}{#2}   \let\eu@mathcal\zf@family   \DeclareMathAlphabet{\mathcal}{\eu@enc}{\eu@mathcal}{m}{n}} \ernewcommand\setmathcursiva[2][]{   \zf@fontspec{#1}{#2}   \let\eu@mathcursiva\zf@family   \DeclareMathAlphabet{\mathcursiva}{\eu@enc}{\eu@mathcursiva}{m}{n}}   I duplicated the definition and replaced "cal" by "cursiva" (which means cursive in portuguese). With the command \setmathcursiva[Scale=MatchLowercase]{<font name>}, I achieved the desired result. Between brackets, one can put the same arguments of \fontspec from the fontspec package.   For the alterations I made, this is a working example:  \documentclass{article} \usepackage{fontspec} \usepackage[adobe-utopiastd]{mathdesign} \setmainfont{Utopia Std}% without this line, the the fi ligature is not handled well %\let\mathcal\undefined %uncomment this if you'd like to change the font of \mathcal \usepackage{mathspec} \setmathcursiva[Scale=MatchLowercase]{<font name>}  \begin{document} \[\mathcuriva{abc}\] \end{document}

Is there a widely available calligraphic font that (1) contains small (lowercase) letters and (2) has a recognizably calligraphic capital letter O?  Background. (1) In mathematics (algebraic geometry), , the latter being written in calligraphic script (standard notation for sheaves). However, most books end up typesetting the sheaf as follows    pulling the small letters from the italics of a completely different font.  (2) The calligraphic capital letter O plays a special role in algebraic geometry, too, and most authors insist on it being recognizably calligraphic (i.e. not just a closed round loop)    Edit. The following are achieved with extra kerning from @egreg's and @UlrikeFischer's answers (in chronological order)    @egreg's answer  \makeatletter \DeclareFontEncoding{LS1}{}{} \DeclareFontSubstitution{LS1}{stix}{m}{n} \DeclareMathAlphabet{\mathcal}{LS1}{stixscr}{m}{n} \makeatother  \DeclareMathOperator{\sHom}{\mathcal{H\mkern-7mu o\mkern-2.5mu m\mkern-1.5mu}} \DeclareMathOperator{\sExt}{\mathcal{E\mkern-4.5mu x\mkern-2.5mu t\mkern-1mu}} \DeclareMathOperator{\sEnd}{\mathcal{E\mkern-4mu n\mkern-4.5mu d\mkern-1mu}}       @UlrikeFischer's answer  \DeclareFontFamily{U}{mathc}{} \DeclareFontShape{U}{mathc}{m}{it}% {<->s*[1.03] mathc10}{} \DeclareMathAlphabet{\mathcal}{U}{mathc}{m}{it}  \DeclareMathOperator{\sHom}{\mathcal{H\mkern-3mu om}} \DeclareMathOperator{\sExt}{\mathcal{E\mkern-3mu xt}} \DeclareMathOperator{\sEnd}{\mathcal{E\mkern-3mu nd}}


I am trying to load video from custom field value ( which is embedded ). Click any button and play that video.     Console log: As i click any button its goes to jquery line console.log(result);. Give no output related to buttons.   What missing and how to make it working-able?  HTML:

<button class="play_next"  data-meta-key="url-1">Video 1</button>

<button class="play_next"  data-meta-key="url-2">Video 2</button>

<button class="play_next"  data-meta-key="url-3">Video 3</button>

   Jquery:  jQuery( document ).ready( function( $ ) {     $( '.play_next' ).on('click', function( event ) {         event.preventDefault();          var meta_key = $( this ).data( 'metaKey' );         var post_id = $( this ).data( 'post_id' );          $.ajax( {             url: ajaxobject.ajaxurl,             type: 'get',             dataType: 'html',             data: {                  action: 'wpse_296903_call_meta',                 meta_key: meta_key,                 post_id: post_id,             },             success: function( result) {                 $( '#output' ).append( result );                 console.log(result);             }         });     }); });   PHP:  function wpse_296903_call_meta() { if( isset( $_POST['post_id'] ) && isset( $_POST['meta_key'] )) {     $post_id = $_POST['post_id'];     $meta_key = $_POST['meta_key'];      if ( in_array( $meta_key, ['url-1', 'url-2', 'url-3'] ) ) {         echo get_post_meta( $post_id, $meta_key, true );     } } wp_die(); } add_action( 'wp_ajax_wpse_296903_call_meta', 'wpse_296903_call_meta' ); add_action( 'wp_ajax_nopriv_wpse_296903_call_meta', 'wpse_296903_call_meta' );   Enqueue_script:  if ( ! function_exists( 'cf_enqueue_scripts' ) ) :   function cf_enqueue_scripts() {  wp_deregister_script( 'jquery' ); wp_enqueue_script( 'jquery', get_template_directory_uri() . '/js/jquery.min.js');  wp_deregister_style( 'style' ); wp_enqueue_style( 'style', get_bloginfo('stylesheet_url'));  wp_enqueue_script( 'script', get_template_directory_uri() . '/js/ajax.js');  wp_localize_script('script', 'ajaxobject', array(    'ajaxurl' => admin_url('admin-ajax.php') ));   } add_action( 'wp_enqueue_scripts', 'cf_enqueue_scripts' );

I have 3 different custom fields url-1, url-2 and url-3. Each field have different value in type of  embedded video.     Click any link
 and play that video, By default play url-1   HTML:  <form  id="myform">
 Link

 Link

 Link
 </form>
 video player
   Jquery  jQuery(document).ready(function($){ $("#myform").on('click', 'a', function(e) {  $.ajax({     url: ajaxobject.ajaxurl,     type: 'post',     data: {          action: 'call_meta',      },     success: function(result) {         $('#output').append( result );     } }); }); });   PHP:  add_action('wp_ajax_call_post', 'call_meta'); add_action('wp_ajax_nopriv_call_post', 'call_meta');  function call_meta(){  if( isset($_POST["pid"]){    $post = get_post( $_POST["pid"] );      echo get_post_meta( $ID, 'url-1', true ); }  else {     echo get_post_meta( $ID, 'url-2', true ); } else {     echo get_post_meta( $ID, 'url-3', true ); } wp_die(); }   How to load video with Ajax? & play any from others by replacing previous one.  I'm new in wordpress theme development, So I know that there is many problem and error in my code. Thanks for your attention. I’m looking forward to your reply.


*Delete is a DML(Data Manipulation Language). Delete command deletes records from the existing table.*The syntax for Delete is  sql> Delete from .   This Deletes All the Record From The TAble  sql> Delete from       Where  **    This deletes a particular set of records.  Note:Delete is not Autocommit Statement(In fact none of the DML are auto commit)  Drop and Truncate both are DDL(Data Definition Language).  Drop {Delete or drops} the table with it's structure. It is autocommit statement. Drops Once fired can not be rolled back.  syntax:  sql>drop table   Truncate is the command used to delete all record from table. but the structure of the table remain same.It is also a autocommit statement.  syntax;  sql>truncate table**   Can we rollback the truncate?

What's the difference between TRUNCATE and DELETE in SQL?  If your answer is platform specific, please indicate that.


At the beginning of last year, I contributed the maximum amount to my Roth IRA, as I typically do.  Late in the year, I received a very unexpected and very large bonus.  I realized when I got my 1040 this week that the bonus will put me over the MAGI limit for Roth IRA contributions.  What do I do now?  I'm single and do not currently have a traditional IRA or 401K, if any of that is relevant.

In 2013 I opened a Roth IRA for year 2012, contributing $4000 for year 2012.   In 2014 I contributed $5500 to that same Roth IRA for year 2013.  In 2015, I realized I was not eligible to contribute to a Roth IRA in 2012 and 2013 due to MAGI exceeding the limit. I opened a new account (Traditional IRA), deposited $5500, then immediately did a conversion to a new Roth IRA. (This is the "backdoor" approach as I understand it, is perfectly legal, and what I should have done in previous years). So I believe my Roth IRA account #2 (for tax year 2015) is in good standing  So now, what exactly should I do with the first Roth IRA account that I contributed to (incorrectly) for years 2012-2013? Luckily (?) there is only about $500 of gain in the account at this time.  If I re-characterize it as "Traditional IRA", have I missed the opportunity to do the conversion to Roth IRA for years 2012 and 2013?  Out of curiosity: Had I not caught this error, what would be the implications at Retirement time when I tried to take money out of the Roth IRA? Would the funds be treated as ordinary income (plus penalty?)   Lastly, with all this seemingly "fancy footwork" opening Traditional IRA and converting to Roth IRA, what documents (if any?) do I need to hold on to when it comes time to withdraw from the Roth IRA at retirement time to ensure the tax-free benefit?


I have a project deadline and I want to change the scaling of this humanoid model using a python script only, I want to select the specific bones of the "metarig" object and increase or decrease its scaling by setting values in the script for its length or width. I am totally new to Blender that is why I am asking for a sample script, rest i shall modify the script for other bones in the rig, so if anyone can write a script and show me  how we can select and modify scaling for one bone, that would be of great help. You can find the blender object here,

I am totally new to blender, I have downloaded a 3D model of a humanoid and am able to see it in blender. I want to change its dimensions and size in all perform editing on by changing its size, height, arm width, length, etc. In a more clear picture of the question, suppose i have 5 persons whose 3D model I have to make automatically, so I want to change the dimensions of that humanoid to match the body measurements of these people. If I can mark those points manually on the humanoid and define parameters of shoulder width, arm length, height, etc and just input the values then my project can go a little forward. The model I am using is attached in this link,  Please if anyone can tell me if it is possible to edit the model by defining certain parameters through python scripting. I need it as an add on for my project. And i just need to know how can i do that rest i shall experiment and do.


How do you "idiomatically" describe the instance of a person using their feet to traverse a road?  Is there any "wrong" way to do so?

Having a bit of a debate about this with some foreign colleagues of mine.  I've always used the phrase 'I'm walking in the road', they think that you should say 'I'm walking on the road'..  I'm not 100% sure why I use the word 'in', but there must be a reason for it!  So... which is right?


So I have been playing this character for a couple of months, and truth be told its just not working for me. He's playing his role in the group fine and has plenty to do, but the character turns out to be hard to motivate and the motivations he has are starting to run perpendicular to the rest of the group.  Short of going kamikaze and getting a new character that way, what would be the right way to go about getting this character replaced?

I'm playing an 8th level Valor bard, and she's basically  (warning: TVTropes link) at this point- high-combat campaign, so not a lot of charisma stuff to do, and really doesn't have any casting function that the others can't do better. Her motivation is to find and defeat challenges, and has a tendency to think she can do more than she can, which is how she wound up as The Load in the first place, so getting killed off by something she couldn't handle would be a very in-character end.  However, my party is pretty heal-happy (8th level druid, ranger and paladin) and it would be in character to heal her. That, combined with the 3 death save mechanic, makes it pretty difficult to kill the character off. How do I get around this so I can roll up a character with some actual utility?


I'm trying to do one of the practice projects of How to automate the boring stuff. But I'm stuck. Essentially, when given a list like: tableData = [['apples', 'oranges', 'cherries', 'banana'],          ['Alice', 'Bob', 'Carol', 'David'],          ['dogs', 'cats', 'moose', 'goose']]  the program is supposed to print out the following table, where each column is right justified:     apples Alice  dogs    oranges   Bob  cats   cherries Carol moose     banana David goose  This is my code: tableData = [['apples', 'oranges', 'cherries', 'banana'],                  ['Alice', 'Bob', 'Carol', 'David'],                  ['dogs', 'cats', 'moose', 'goose']]          def printTable():         colWidths = [0] * len(tableData)         for index in range(len(tableData)):             colWidths[index] = len(max(tableData[index], key = len))              for index in range(len(tableData)):             for element in tableData[index]:                 print(element.rjust(colWidths[index]))          printTable()       My problem is that each one of the lists gets properly right justified, but everything is printed out in a single column, not a table, like this:   apples  oranges cherries   banana Alice   Bob Carol David  dogs  cats moose goose  Is there any way I can add a new column after each iteration of the for loop? Or how would you improve my code? Thank you for your help!

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


I've asked a very similar question yesterday, but I have a more concrete example here. I'm using the template "Operator Modal View3d Raycast" with some modifications: class ViewOperatorRayCast(bpy.types.Operator):      bl_idname = "view3d.modal_operator_raycast"     bl_label = "RayCast View Operator"      def modal(self, context, event):                  if context.space_data.type != 'VIEW_3D': # This doesn't work                        return {'PASS_THROUGH'} # This doesn't work                  if event.type == 'RIGHTMOUSE' and event.value == 'PRESS': # The operator only does any thing for RMB             main(context, event) # This is where the raycasting goes on. See the template                                        return {'RUNNING_MODAL'}                  elif event.type in {'ESC'}:             return {'CANCELLED'}          return {'PASS_THROUGH'} # I want the operator to keep going      def invoke(self, context, event):         if context.space_data.type == 'VIEW_3D':             context.window_manager.modal_handler_add(self)             return {'RUNNING_MODAL'}         else:             self.report({'WARNING'}, "Active space must be a View3d")                         return {'CANCELLED'}      def Execute(self, context)         return {'RUNNING_MODAL'}  I can start the operator fine by pressing F3:  But I would like to start the operator from python. I have tried by adding the execute method, but this doesn't work since the context is either the text editor or console (not the view3d). I got the idea of using execute here (top link), but he just mentions the problem with context and not the resolution - if any:     (about 15:30)  (also have some of what I seek) Is it possible to trick Blender to think that I called the operator from view3d or something like that?

I want to start a modal operator by clicking a button in a panel in the properties region. It should then stop when I click somewhere in the 3D viewport. I want to execute some code when I start and finish the operator (see the code below). I tried modifiyng the modal operator template with an execute method to start the modal operator. But the now the context.space_data.type is always "PROPERTIES" because that's where the panel is located, I guess. Is this a bad way of doing what I want? class MY_OPERATOR_OT_click_on_3dview(bpy.types.Operator):          bl_idname = "mesh.click_on_3dview"     bl_label = "Click on 3D"      def modal(self, context, event):                  if context.space_data.type != 'VIEW_3D':             return {'PASS_THROUGH'}                  if event.type in {'MIDDLEMOUSE', 'WHEELUPMOUSE', 'WHEELDOWNMOUSE'}:             # allow navigation             return {'PASS_THROUGH'}         elif event.type == 'LEFTMOUSE':             # DO ALL THE POST-SELECT STUFF             return {'FINISHED'}         elif event.type in {'RIGHTMOUSE', 'ESC'}:             return {'CANCELLED'}          return {'RUNNING_MODAL'}      def execute(self, context):         # DO ALL THE SETUP STUFF           context.window_manager.modal_handler_add(self)              return {'RUNNING_MODAL'}            def cancel(self, context):         print("CANCEL???")


I'm trying to prove that a number $a_n=a_0+a_1 \cdot 10^1+...+c_n\cdot 10^n$ is divisible by 11 iff $a_0-a_1+a_2-...+(a_n)\cdot(-1)^{n+1}$ is divisible by 11. I began my proof and I found out that I first need to prove that $10^k+(-1)^{k+1}$ is divisible by 11 for all $k\in \mathbb{N} $.  I tried to prove this with induction: for $k=1$ we get $t_1=10^1+(-1)^{1+1}=11$ now I assume $t_k=10^k+(-1)^{k+1}$ is divisible by 11. need to prove that: $\\$ $t_{k+1}=10^{k+1}+(-1)^{k+2}=10^{k+1}+(-1)^{k}$ is divisible by 11.  I looked at:  $t_{k+1}-t_{k}=10^{k+1}+(-1)^{k}-10^k-(-1)^{k+1}=9\cdot 10^k +2\cdot (-1)^k$  and now I'm stuck :( if you have any idea how can I complete my proof I will be very grateful!  Thank You All!

I am working on a problem I am pretty close to solving but I can't figure out the last part. I used some algebraic manipluation to break the problem down. The problem is:     Show that the following congruence is true      a^b = ((a mod n)^b) (mod n)      for any positive integers a, b, and n.      Hint: Number a can be written as a = q*n + r, where q = floor brackets a/n, and r = a mod n.   My attempt it:     (q*n +r)^b = ((a mod n)^b) * (mod n)      (q*n)^b + (a mod n)^b = ((a mod n) ^b) * (mod n)      (a)^b -(r)^b = ((a mod n) ^b) * (mod n)      (a)^b = modn  ----> divided by ((a mod n)^b)   Am I doing this correctly and if so how can I prove this is true? Is there a trick I am missing? I think that by simplifying it further I would just keep going in a loop.  Thanks!


For $d\in\mathbb{Q}$, how could one show that $Q(\sqrt{d})$ lies in a cyclotomic extension of $\mathbb{Q}$ without using the ?

For every $ N \in \mathbb Z$ there exists an integer $n$ such that $ \sqrt N \in \mathbb Q(\zeta_n)$.   I am struggling where to start this question, please suggest me few hints.


Sequence $b_1, b_2,...$ where $b_1=b_2=1$ and for every natural number $k$ bigger than $2$, $b_k = b_{k-1}+b_{k-2}$.  Prove using mathematical induction that, for every $k \in \mathbb N, b_k \le (\frac{7}{4})^{k-1} $   I started with if  $k=3$, $k_3=1+1=2$ and $(\frac{7}{4})^{k-1} =(\frac{7}{4})^2=3 \frac{1}{16}$, $2<3 \frac{1}{16}$. This is the induction base?   Step: Let us assume that S(m) is true, $b_m \le (\frac{7}{4})^{m-1}$ for every m $\in$ {3, ..., k}.  We have to show that  $b_{k+1} \le (\frac{7}{4})^k$. Using assumption and $b_{k+1} = b_{k}+b_{k-1}$ I got $$b_k+b_{k-1}\le (\frac{7}{4})^{k+1}+(\frac{7}{4})^{k}$$ I don't know what to do next.

The Fibonacci sequence as $f(n)$   (1) show that $f(n) \le (\frac{7}{4})^n$, for all$ n \ge 0$  (2) show that $f(n) \ge \frac{1}{3}(\frac{3}{2})^n$, for all $ n \ge 1$  thanks.


I'm just starting into Drupal and have done some reading into fields and such. I have an article in which I would like to add some images, in one scenario a block of images at the bottom of the article. In Content Types > Articles > Manage fields I have added a field of type "image". When I add/edit an article, I am able to upload images, however I can not get any of the images to appear in my published article.  To be clear, I can get the images to display in the WYSIWIG editor, but want them to be displayed and "Clickable" so the image will open into some kind of lightbox.  I have tried changing display settings but nothing seems to get my images to appear this way. I must be missing something. Any help is appreciated.  Here is how the image field is configured.

I am using field image to insert image into article. The image can't show in article body.   How do I insert the image into article?


A lot of the time when I'm UV Unwrapping and Texturing, the shadows get in the way of seeing the texture properly.  How can I display my textures on my model without lighting.

I'm trying to display models that have shading drawn or baked directly on the textures, but I can't figure out how to disable Blender's default scene lighting. If there are no lights in the scene, everything is black, but I want to see the textured objects fully bright. How do I disable the lighting?  NOTE: Just before posting this, I found the "Shadeless" material property, which does more or less what I want. However, is there a way to globally toggle the default lighting?


I have 2 year visit visa allowed from feb 2020 to feb 2022. I didnt come in 2020. Now i want to stay from Jan, feb, march and april in uk Then may in Pakistan, then june, july, august, september and october in uk. October end back to Pak. Is this allowed ?

I had recently entered the UK without a visa to be with my partner, from 21 July 2016 until 16 December 2016. I hope to return on the 9th of January. We don't meet the income requirement for a Spouse visa. I recently applied to university, and got in, and was intending to return to the UK on a student visa, but my university did not tell me about maintenance fees and my loan wasn't large enough to cover it all, so my visa would have been denied.  Now, I am hoping to attend university in the next semester, and therefore return to the US to apply for that visa. Do you think that if I try to return to the UK without a visa, I will be turned away?  I won't be working or studying during this time, however, I'm afraid that they'll consider it living in the UK illegally; I don't have a criminal record or anything like that.


I tried : x = 3.4  print(x - math.floor(x)) In both in console and Jupyter Notebook, the result shows 0.3999999999999999 but why not just 0.4 as the result. Thanks.

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


I have shown output image description here in my Lm 393 comparator, my output is not coming proper square wave.picture is shown below.i have described my circuit. practically I am using voltage comparator LM393 for comparing two signals, one signal is my reference signal which is a triangle wave, with voltages 2.08 volt generated by 555 timers above 200kHZ giving to the input terminal of inverting side of LM393 and input signal or modulating signal which voltage is less than 2.08 giving from function generator as a sinusoidal signal in the range of 1 Hz to 20kHz in the noninverting side of LM393. My question is when I am providing two signals it should be compared and give a square wave, but LM393 only taking triangle wave, sin wave is not going? why I don't understand. please give suggestion to the above points. In this picture below, I am referring to this circuit, please tell me what 's wrong in this circuit, when I am taking triangle wave from 555 timer ad providing into the comparator and another signal providing from the generator.

In my Lm 393 comparator, my output is not coming proper square wave.picture is shown below. I have described about my circuit. I am using voltage comparator LM393 for comparing two signals, one signal is my reference signal which is a triangle wave, with voltages 2.08 volt generated by 555 timers above 200kHZ giving to the input terminal of inverting side of LM393 and input signal or modulating signal which voltage is less than 2.08 giving from function generator as a sinusoidal signal in the range of 1 Hz to 20kHz in the noninverting side of LM393. My question is when I am providing two signals it should be compared and give a square wave, but LM393 only taking triangle wave, sin wave is not going? In this picture below, I am referring to this circuit, please tell me what 's wrong in this circuit, when I am taking triangle wave from 555 timer ad providing into the comparator and another signal providing from the generator.


I just checked XDA Developers, and I can't find the stock ROM for HTC Desire C. Is it actually discontinued, and is my desire outdated?

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


Let $\mathbb K$ be a field, $n\in \mathbb N$, $A\in \mathbb{K}^{n\times n}$ and $\mu_A \in \mathbb{K}[X]$ the minimal polynomial of $A$. How can I show that $A$ is invertible and only if $\mu_A(0)\neq0$?

So here's one that I can't quite crack:     Let $A\in M_n(\mathbb{F})$ be an invertible matrix with integer eigenvalues. Its minimal   polynomial is $m_A(\lambda)=\lambda^k+b_{k-1}\lambda^{k-1}+...+b_0$. Prove that $detA$ is divisible by $b_0$.   I'm afraid I don't quite see the connection between the minimal polynomial and the determinant. All I know is that for an invertible matrix $b_0 \neq 0$, but I can't find a way to relate that to the determinant.  Any tips and guidance would be much appreciated! Thanks in advance.


I have a Mac Pro running a fresh install of macOS Mojave 10.14.6 (18G4032)  I have no issues login into any service in iCloud, iTunes, App Store, all good but when I try to update (the apple office-package) or download any other app it simply does not work  I did try to logout-login, flush the DNS, Delete the app-store cache, restart the router, different recommendations from the internet, nothing works  It shows, I have 3 updates    it used to show the apps that need to be updated, but it does not   Nothing happens when I click on download   the loading animation just animates, there is no download happening

Whenever I try to Get then Install any app from the App Store, I get this message:     We could not complete your purchase.  cancelled   I did some searching online, but barely found any useful hits. What is this about?!


I just installed Debian 10 from disk. Whenever I shutdown, I get a single message displayed on screen, "Failed to unmount /usr/". What can I do to correct this? Is this error likely causing damage to the drive or data in /usr?  I have separate partitions for /boot (ext2), /usr/ (ext4), /var/ (ext4), /usr/local/ (ext4), /tmp/ (ext2), and /home (ext4).

I have a fresh install of Debian 9.0.0. It has a separate 1 GB partition for /var formatted at ext4. When I shutdown from the terminal, using shutdown -h now, there is a bright-red error message stating "failed unmounting /var".  What is the fix for this error?


Dell Inspiron-3542 inbuilt bluetooth is not working.  Working properly on previously installed Windows.  Some command reference:  $ hcitool dev Devices: $ bluetooth bluetooth = none (no device)  $ sudo rfkill list 0: dell-rbtn: Wireless LAN     Soft blocked: no     Hard blocked: no 1: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 2: brcmwl-0: Wireless LAN     Soft blocked: no     Hard blocked: no  $ uname -r 4.10.0-28-generic   Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)

Bluetooth is on but can't find or be found by any other devices.  Output of sudo service bluetooth status:  ● bluetooth.service - Bluetooth service    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)    Active: active (running) since ხუთ 2015-06-04 22:33:18 GET; 13min ago  Main PID: 26678 (bluetoothd)    CGroup: /system.slice/bluetooth.service            └─26678 /usr/sbin/bluetoothd -n  ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Adapter /org/bluez/26678/hci0 has been enabled ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Adapter /org/bluez/26678/hci0 has been enabled   Output of lsusb:  Bus 003 Device 005: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0   How can I fix it?


How does it work? How does it drive traffic and referrals? When I go there, it wants me to sign up for something. Is it a scam? It is 10% of my traffic for the last week.

I'm getting a lot of spam referral traffic from semalt.semalt.com/referral on my website. I took a look at the link and there’s very little information about this.   The number of website visits is 185 this month, and they result in a 100% bounce rate.   So how I can block this website?


I have the following code that works on all keys except enter, shift etc.  $(document).ready(function(){ $('input[name="tmp_post_tag"]').keypress(function(evt){     alert("hello");  }); });   Why won't it work on enter? which is what I want it to do. ive tried evt.char, evt.keyCode evt.which but nothing works.

With jQuery, how do I find out which key was pressed when I bind to the keypress event?  $('#searchbox input').bind('keypress', function(e) {});   I want to trigger a submit when ENTER is pressed.  [Update]  Even though I found the (or better: one) answer myself, there seems to be some room for variation ;)  Is there a difference between keyCode and which - especially if I'm just looking for ENTER, which will never be a unicode key?  Do some browsers provide one property and others provide the other one?


Is there any closed form for this expression? $$\displaystyle\sum_{k = 1}^{\infty} k^{-k}$$ I got this while playing with my scientific calculator, so I really have no idea about how I could find one.

Earlier today, I was talking with my friend about some "cool" infinite series and the value they converge to like the Basel problem, Madhava-Leibniz formula for $\pi/4, \log 2$ and similar alternating series etc.  One series that popped into our discussion was $\sum\limits_{n=1}^{\infty} \frac{1}{n^n}$.  Proving the convergence of this series is trivial but finding the value to which converges has defied me so far. Mathematica says this series converges to $\approx 1.29129$.  I tried Googling about this series and found very little information about this series (which is actually surprising since the series looks cool enough to arise in some context).  We were joking that it should have something to do with $\pi,e,\phi,\gamma$ or at the least it must be a transcendental number :-).  My questions are:   What does this series converge to? Does this series arise in any context and are there interesting trivia to be known about this series?   I am actually slightly puzzled that I have not been able to find much about this series on the Internet. (At least my Google search did not yield any interesting results).


I'm writing a function which accepts a double data type, say variable 't', and if 't' is equal to 0.05, the function does something.  Now, my problem is that if 't' is 100-99.5, the function fails to work. But it works for 't' = 0.05-0. I'm guessing this is something to do with how numbers are stored. What's the work around?  PS : I'm not a programmer, merely using C++ as a tool, so I don't know much about it other than the basics. A simple solution would be very appreciated.

What would be the most efficient way to compare two double or two float values?  Simply doing this is not correct:  bool CompareDoubles1 (double A, double B) {    return A == B; }   But something like:  bool CompareDoubles2 (double A, double B)  {    diff = A - B;    return (diff < EPSILON) && (-diff < EPSILON); }   Seems to waste processing.  Does anyone know a smarter float comparer?


The outdoor air is polluted. Is it possible to keep the indoor air quality high without letting outdoor air in? Maybe with plants?

I just moved to a new apartment. If I close the windows, the air gets heavy and stale very quickly and I get a headache.   The place has laminate flooring (which looks pretty realistic, I thought it was hardwood for a few days) and popcorn ceilings. Not sure if this is a problem, just thought I'd mention it.   The flooring looks new, but I know it hadn't been installed just before I moved in. I've lived here for about five weeks, and the air quality isn't improving, so it's not something that's going to outgas quickly.  I read that certain plants can improve air quality, e.g. by absorbing formaldehyde. Of course, I don't know if I need to worry about formaldehyde specifically. There is no "chemical" smell (and I have a fairly sharp sense of smell), it just feels heavy and maybe a little dusty.   How realistic is it to expect to solve this with houseplants (which I want to get, anyway)? I just read things like "plant X is very efficient at absorbing chemical Y", but there was no quantitative information, and I wouldn't be able to use it, anyway, since I don't know what the pollutants are and their concentrations. Would I need a small forest to make a noticeable difference? Has anyone here tried this approach? Would an air filter be a better thing to try first? Any recommendations?  The apartment is approximately 670 square feet.


I have a Acer Aspire E15-512-C0GA laptop  I am changing the HDD to an 256GB SSD.  is there anything special that I need to do while installing ubuntu 18.04?  thank very much and appreciate all your support  Vik

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


Let $H$ and $K$ be two finite groups, $G = H \times K$. $\phi$ is an irreducible representation of $H$, and $\psi$ is an irreducible representation of $K$ (both representations are finite-dimensional, over $\mathbb C$). Then $\phi \sharp \psi$ is faithful if and only if $(|Z(H)|,|Z(K)|) =1$.   Relative Definitions: Tensor product of representations. Let $G_i$, $i=1,2$ be two finite groups, $(\rho_i, V_i)$ be a representation of $G_i$, $i=1,2$. Then the representation $(\rho_1 \otimes \rho_2, V_1 \otimes V_2)$ is defined to be $(\rho_1 \otimes \rho_2)(g) = \rho_1(g) \otimes \rho_2(g)$ for any $g \in G$.  Let $G = G_1 \times G_2$. $\rho_i$ is a representation of $G_i$, $i=1,2$. Let $p_i$ be the projection of $G$ to $G_i$, $i=1,2$.  Let $\rho_i'=\rho_i \circ p_i$, $i=1,2$. Then $\rho_1'$ and $\rho_2'$ are representations of $G$. Define $\rho_1 \sharp \rho_2 : = \rho_1' \otimes \rho_2'$.  MY PROBLEM: If I set $H$ to be a cyclic group of order $2$, and $K$ to be a cyclic group of order $3$. $\phi$ and $\psi$ are both $1$-dimensional representations sending everything to $1$. Then $\phi \sharp \psi$ still sends everything to $1$, so it is not faithful. Where is wrong? How can I give the proof?

Let $G = H \times K$. Let $\phi \in \operatorname{Irr}(H)$ and $\theta \in \operatorname{Irr}(K)$ be faithful. Show that $\phi \times \theta$ is faithful iff $(|Z(H)| ,|Z(K)|)=1$.  Problem 4.3 of Isaac's character theory.


You guess heads or tails by clicking one of the buttons on easyGUI.  If it's right, you will get a "good job" message.  If it's wrong, you will get a "wrong" message! After that, there is an option to play again.  Please give me some feedback on how I can make my code better, if there is room for improvement.  import random import time import easygui import sys while True:     rand = random.choice(["Heads", "Tails"])     firstguess = easygui.buttonbox("Pick one", choices= ["Heads", "Tails"])     if firstguess == rand:         easygui.msgbox("Wow you win!")     else:     easygui.msgbox("Sorry you guessed wrong!")     time.sleep(2)     answer = easygui.buttonbox("Play again?", choices=["Yes","No"])     if answer == "Yes":         pass     else:         break  easygui.msgbox("Ok, see you later!") sys.exit(0)

I'm pretty new to coding and I want to get an opinion on my coding. I am learning Python and I made a really simple heads and tails guessing game.  import random import time import easygui import sys while True:     rand = random.choice(["Heads", "Tails"])     firstguess = raw_input("Guess Heads or Tails: ")     if firstguess == rand:         print "Wow you win"     else:         print "That is wrong you suck so bad lol."     time.sleep(2)     answer = easygui.buttonbox("Play again?", choices=["Yes","No"])     if answer == "Yes":         easygui.msgbox("Ok")     else:         break  easygui.msgbox("Ok, see you later!") sys.exit(0)


A student I tutor asked me this question. The L'Hopital's approach is quick and easy, but is there a direct but rigorous way to show this without invoking L'Hopital's?

How can one prove the statement $$\lim_{x\to 0}\frac{\sin x}x=1$$ without using the Taylor series of $\sin$, $\cos$ and $\tan$? Best would be a geometrical solution.  This is homework. In my math class, we are about to prove that $\sin$ is continuous. We found out, that proving the above statement is enough for proving the continuity of $\sin$, but I can't find out how. Any help is appreciated.


I am new to Ubuntu Linux. I installed 18.10 and recently upgraded to 19.04.  My laptop is multi OS with Ubuntu 19.04 & Windiows 7. I am facing a blank screen issue after selecting Ubuntu OS after booting. Despite of waiting for more than 30 minutes, nothing is happening. If I ran it with advance option then only I can see Disco Dingo desktop.  Please help.

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


I am currently encrypting strings as follows:  public static string Encrypt(this string DecryptedValue) {     if (string.IsNullOrWhiteSpace(DecryptedValue)) { return string.Empty; }     return HttpServerUtility.UrlTokenEncode(MachineKey.Protect(Encoding.UTF8.GetBytes(DecryptedValue.Trim()))); }  public static string Decrypt(this string EncryptedValue) {     if (string.IsNullOrWhiteSpace(EncryptedValue)) { return string.Empty; }     return Encoding.UTF8.GetString(MachineKey.Unprotect(HttpServerUtility.UrlTokenDecode(EncryptedValue))); }   However, when I move the production database to a development server (to test a new version before I deploy), these functions are unable to decrypt data already stored in the database (I assume that this is because of my usage of the MachineKey).  Is there some way that I could modify the above extensions so that I could encrypt/decrypt the same database on multiple machines without writing something complicated?

How can I encrypt and decrypt a string in C#?


I can't play mp3 files in Ubuntu. So give me the best answer for this question

I am unable to play any MP3 or MP4 files. When I try to open any MP3 or MP4 file, both show an error, a Python 2.7 plug-in is required.


Harry's magical parents are Lily Evans (a muggleborn) and James Potter (a pureblood). Since a pureblood is someone with magical parents, why isn't he considered a pureblood?  A muggleborn, or mudblood is a person with powers from an ancestor. A halfblood is a person with one parent that is magical. Given that Harry has two magical parents, why is he only a "half-blood"?

I was checking on something in the Harry Potter wiki and saw Harry listed as "Half-Blood."  Both his parents were magical, but, as we know, his grandparents on his Mother's side were muggles.  This reminds me of the racially loaded terms like octoroon.  (In the south, you still hear those terms every once in a while.)  When there was still segregation, having only 1 great-grandparent of an ethnic group was enough to classify a person of that group.  So how far down the line did it go in the Harry Potter universe?  Just how many generations removed from a muggle-born would a person have to be before they're no longer classified as half-blood or something similar?


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


I am trying to install a nodejs server listening to port 8080 that I opened with iptable but when I run nmap or a web tools I always get the message that the port is closed. I'm on a Ubuntu vps.  First, be sure that nodejs is actually listening to such port:  sudo  netstat -tpln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name tcp        0      0 0.0.0.0:60613           0.0.0.0:*               LISTEN      1097/sshd        tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      1215/mysqld      tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      18843/nodejs     tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1375/master      tcp6       0      0 :::60613                :::*                    LISTEN      1097/sshd        tcp6       0      0 :::80                   :::*                    LISTEN      1454/apache2     tcp6       0      0 :::25                   :::*                    LISTEN      1375/master      tcp6       0      0 :::443                  :::*                    LISTEN      1454/apache2    iptable:  sudo iptables -A INPUT -i lo -j ACCEPT sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 60613 -m state --state NEW -m recent --set sudo iptables -A INPUT -p tcp --dport 60613 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 -j DROP sudo iptables -A INPUT  -p tcp -m tcp --dport 60613 -j ACCEPT   Let's check iptable:  sudo iptables -nvL Chain INPUT (policy ACCEPT 0 packets, 0 bytes)  pkts bytes target     prot opt in     out     source               destination           3945  766K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0            67404   17M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED  3057  179K ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:443    32  1488 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:8080   888 51392 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80     3   180            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:60613 state NEW recent: SET name: DEFAULT side: source mask: 255.255.255.255     0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:60613 state NEW recent: UPDATE seconds: 60 hit_count: 4 name: DEFAULT side: source mask: 255.255.255.255     3   180 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:60613  7106  318K DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0             Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)  pkts bytes target     prot opt in     out     source               destination           Chain OUTPUT (policy ACCEPT 71509 packets, 60M bytes)  pkts bytes target     prot opt in     out     source               destination    However the port 8080 remains closed:  sudo nmap MYSITE.org Starting Nmap 6.40 ( http://nmap.org ) at 2015-04-26 18:17 CEST Nmap scan report for MYSITE.org (XXX.XXX.XXX.XXX) Host is up (0.041s latency). rDNS record for XXX.XXX.XXX.XXX: MYSITE Not shown: 997 filtered ports PORT     STATE  SERVICE 80/tcp   open   http 443/tcp  open   https 8080/tcp closed http-proxy  Nmap done: 1 IP address (1 host up) scanned in 85.14 seconds   I tought on a problem on my firewall, but I tried also on other servers and on  but the port is definitively closed.

I'm sure this is very noobish, so forgive me. I'm trying to run a node.js server on port 8080 of my ubuntu 10.04.  Here's the result of iptables -L on the server:  Chain INPUT (policy ACCEPT) target     prot opt source               destination           Chain FORWARD (policy ACCEPT) target     prot opt source               destination           Chain OUTPUT (policy ACCEPT) target     prot opt source               destination   And here's the result of nmap -p 8080 (edited the ip address because everything is or should be wide open)  nmap 173.203.xxx.xxx -p 8080 -A  Starting Nmap 5.00 ( http://nmap.org ) at 2011-05-19 22:52 PDT Interesting ports on xxx (173.203.xxx.xxx): PORT     STATE  SERVICE    VERSION 8080/tcp closed http-proxy   Why on earth is 8080 seen as closed? Adding this did not help:  iptables -A OUTPUT -p tcp  --dport 8080 -j ACCEPT iptables -A INPUT -p tcp  --dport 8080 -j ACCEPT   I'm really confused.  I'll add this, in case it helps, but I don't know   netstat -pan | grep 80 tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN          16785/node       tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      16471/apache2   I can access my regular website running off of port 80 on apache, but the node.js server is inaccessible from outside. Accessing it from the server itself works fine.  So my question is: how would I go about debugging this? Could there be something else than iptables blocking some ports? How do I find out what it is?  Any help much appreciated!


I have a service that returns dict. In my controller i set it to $scope variable:  .controller('viewCtrl', function($scope, myService) {     $scope.mydict = myService.mydict; }   But then when i change value in input:  <input ng-model="mydict.mykey">   mykey value changed in service myService.mydict too. But i want only change it in $scope.mydict variable.  I tried do this:  var localDict = myService.mydict; $scope.mydict = localDict;   This didn't work. When use ng-value - then it doesn't track it after change.

What is the most efficient way to clone a JavaScript object? I've seen obj = eval(uneval(o)); being used, but . I've done things like obj = JSON.parse(JSON.stringify(o)); but question the efficiency.  I've also seen recursive copying functions with various flaws.  I'm surprised no canonical solution exists.


Hey guys i'm new to blender and recently i was working on my model but i'm facing a problem when i export it has fbx and load it in unity    This is how the object looks when i'm in blender and This is how the object looks in unity    Thanks in advance

I have modeled a simple pocket watch in Blender. Every time I import it into Unity3D, regardless of whether I export it from Blender as an FBX or 3ds file, it always comes out missing faces! Why is this happening? I have never had problems importing models into Unity3D like this before.  Blender Screenshot    Unity Screenshots     It seems to me that different faces appear when I rotate it differently. How can I prevent this? Thanks!


My boyfriend and I recently split up, but during the time of our relationship he helped me get a new car because his credit score is nearly perfect, and mine is terrible due to too many medical bills...  The car is technically in both of our names with him being the primary name on the loan.  Is there any way to get the loan transferred solely into my name?  Or will the lender say no and he needs to be on it because my credit is bad?  I pay everything on it, the only reason I needed his help was his credit score.

My son is currently in boot camp, and his ex-girlfriend is threatening to go to court because she wants her name off a car loan they got when together. She is the primary borrower, but my son is the one that kept it and is paying it after splitting up. Of course she wants him to refinance the loan, but we do not have the credit. How can we get her off the loan?


I was asked the following in interview :When would you use ArrayList and when LinkedList. I replied that if I want to do random access I will use ArrayList and if frequent addition/removal I will use LinkedList to which he cross-questioned and said , 1.what if we don't know where a particular element is stored in list and we need to search it which one would you use ? 2.If I need to add/remove from LinkedList I would have to search first , which would be a costly operation so how LinkedList would be faster,in this case ? Can anyone answer the above questions, along with a more clear answer to using LinkedList over ArrayList.

I've always been one to simply use:  List<String> names = new ArrayList<>();   I use the interface as the type name for portability, so that when I ask questions such as these I can rework my code.    When should  be used over  and vice-versa?


I would like to create a description enumeration which looks like the following:  keyword 1: Short Description of the keyword            A characterization of the keyword keyword 2: Short Description of the keyword            A characterization of the keyword   As an example:  Animal 1: Lion           A lion is ... Animal 2: Elephant           An elephant is ...   I tried the following  \begin{description}     \item[Animal1: Lion]\hfill \\     A lion is ...     \item[Animal2: Elephant]\hfill \\     An elephant is ... \end{description}   The problem is that the text "A lion is ..." is not aligned with the word "Lion".  Can you give me some advise how to create such an environment where I can give the item command a second parameter for the short description which is then correctly aligned with the characterization text? By the way I'm using the koma class scrbook.

I'm trying to get a description's list hanging indent to lie flush with the first line of text.  I have a description list such as the following:  \begin{description}  \item[Label the first] Lorem ipsum dolor sit amet, consectetur adipisicing                         elit, sed do eiusmod tempor incididunt ut labore et                         dolore magna aliqua.  \item[The longest label] Ut enim ad minim veniam, quis nostrud exercitation                           ullamco laboris nisi ut aliquip ex ea commodo                           consequat.  \item[Shrtlbl] Duis aute irure dolor in reprehenderit in voluptate velit esse                 cillum dolore eu fugiat nulla pariatur. \end{description}   This produces the following output:    I would like to have each paragraph indented so that the following lines are flush with the first letter of the list item's text, the way it's laid out in my TeX.  For instance, the "s" of "sectetur" should be right under the "L" of "Lorem".  I've tried looking through the documentation of , but I can't seem to find a good option.  I tried specifying [leftmargin=3cm, style=sameline], but this results in the following:    This isn't quite right: I'm trying to get each item lined up differently, so that the "L" of "Lorem" is not necessarily flush with the "U" of "Ut" or the "D" of "Duis".  Does anybody know a good way to do this?


When inserting an image, I often type some text and then leave 3 blank lines:    I position the cursor on the second of those three blank lines. The I click the image button and select an image. The image is not inserted at the cursor, it's inserted here:    It's a network wide issue - it did it as I was writing this post.

Recently, using the image uploader in the post editor has starting stripping preceding line breaks; placing the image directly after any previous text instead of at the current cursor position. This means that the inserted image is placed inline as part of the previous line of text rather than in a new paragraph as it did previously...  Before inserting the image (note the cursor position):        After inserting the image:        This also happens after the Markdown for a horizontal rule, which destroys the rule and gives us a bunch of hyphens followed by an image instead:        Seems the behaviour is a bit inconsistent... Sometimes I get the behaviour shown above and sometimes it leaves a single newline, I'm not sure when or why but single line breaks are ignored in Markdown so the rendered result is the same regardless.  Obviously it's useful to be able to have inline images, but I'm pretty certain most images aren't intended to (and shouldn't) be.


In Ubuntu 12.04 -all DVDs were working. After clean upgrade to 14.04 LTS - encrypted DVDs are not working (with VLC and Videos) but non-encrypted DVDs are working. All suggested "Restricted extras", region code were installed - still not working. Any video from Video shop - not playing. Please Help as I'm not an expert (all I can do is highlight and paste to Terminal) ??

My machine can't play encrypted DVDs on a fresh install.  How do I add this capability?  Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so.  See the .  Will I be able to play DVD movies from ?


I don't know what's going on with it. Code below. I'm not trying to get anyone to code the whole thing for me, just don't know what's wrong and would like a little help  private void javabutton1(java.awt.event.ActionEvent evt) {     String testa= new String (jPasswordField2.getPassword());     String testb= new String (jPasswordField3.getPassword());     if (testa.toString() == testb.toString()){         JOptionPane.showMessageDialog(this, "Success");     } }   When I replace testa.toString() == testb.toString()) with "A" == "A". The messagebox "Success" is achieved but this entry comparison won't work  Also: The text entered in both jPasswordField2 and jPasswordField3 are the same.

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?


How it may works?   I think it is important for the development community to understand what issues are raised again and again (of course by tag or similar tags). This may point on some poor documentation, missing tutorials, etc. Especially if we able to correlate these questions with the user's reputation. I assume here (may be wrongly) that the low reputation mostly belongs to the beginners. Other aspect is hot topics. I guess Stack Overflow will show many duplicated questions about some bug/issue/problem in the new release software. Then the software community may receive fast indication about such issues.   The rational of this question not belongs to the merge issue like in  (suggested as the duplicated). I am talking about providing more information to the different development communities that may lead to the site impact increasing.

Strongly related:   This is not a question about how to deal with duplicates, it's a simple "meta" question:   What is the most rampant duplicate on Stack Overflow?    The particular duplicate must be "alive" on Stack Overflow (not merged or closed duplicate)  The duplicate-ness must be pretty unquestionable.    For example:   This is a duplicate of score 2 1.     merged ;-p    They are both so close that it makes little sense to have separate questions.   However, score 2 is pretty uninteresting.   (The rationale of this question is to find the duplicates so we can get the administrators to merge them. It is also to find better ways to find dupes in the first place, and perhaps turn finding duplicates into a game.)


I want to remove everything from the hard drive and restore ubuntu 12.10, can someone please help?

I would like to see a full how-to guide on how to install Ubuntu.


It is well known that  can extract data from all Stack Exchange sites, even including meta sites and . I request for the functionality to switch sites to metaSE easily as well, apart from the existing 150+ sites. A simple implementation requirement is, if a query is made for Mathematics SE, it can be ported to Stack Overflow, but it cannot be ported for metaSE if one does not know that Data SE only responds to meta s*. For a quick test, . As a sidenote, pre-existing queries meant for metaSE () do give results as expected, but once ported to X.stackexchange.com the query cannot be ported back to MetaSE with the current methods that I know of.

I'm using  and trying to switch from Web Applications to Stack Overflow.   I enter sta into "Switch sites" field, but search showing unrelated results first (3D Printing, 3D Printing Meta, Software Engineering ...):


I plan to rebuild the kitchen, installing new cabinets as well as a new floor (either wood or laminate).  Should I lay the floor first and then mount the cabinets on top? Or should I mount cabinets to the subfloor first, and then lay the new floor around them?  Since I also intend to remove one wall from the kitchen, the actual positions of the cabinets will change, so I intend to fully remove both cabinets and floor before I do anything. Also, I intend to do as much as possible by myself, without contracting out.

My wife and I are going to upgrade multiple parts of our house but we really want two key areas completed first, but we're not sure where to start or if we should do then at the same time, which is why I'm here.   We want to install hardwood flooring throughout our house, but we also want to upgrade our kitchen (where hardwood will also be). The kitchen is a galley kitchen that will be remodeled with a new IKEA organization cabinet system/etc and we will also want that new hardwood floor in the kitchen.   Being that I'm a construction noob, which should come first? Hardwood flooring or kitchen? Or does it not matter? Or, is it best done at the same time?   Any tips or help would be appreciated. I just want to make sure I don't open Pandora's box unknowingly by attempting one without doing the other first.


This is probably very basic, but I am having trouble navigating nested lists in python 3.  list1 = [[0]*3]*3 list1[0][1] = 1 print(list1)   Produces the output  [[0, 1, 0], [0, 1, 0], [0, 1, 0]]   when I expected the output to be  [[0, 1, 0], [0, 0, 0], [0, 0, 0]]   Why is this happening?

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


Can I get a Shiny Reshiram in Omega Ruby? I'm Soft resetting right now. Am I wasting my time?

Serebii says that (probably) the only  in ORAS are Kyogre, Groudon, Rayquaza and Deoxys. This means that Reshiram and Zekrom, that were shiny locked in BW/B2W2, now can be found shiny.    Can anyone prove this? I'd like to know if it's true before waste hours in softresetting.


There are many puzzles unsolved in black hole physics. Beyond the issue of information paradox, related to this question we have the nature of the event horizon from a classical (if any!) viewpoint. It is clear from known arguments that the event horizon SINGULARITY is only an apparent one. And though, the event horizon (its position at R=2GM/c²) plays a distinguished role in black hole physics. The event horizon radius fixes  the surface gravity that is the analogue of the temperature in thermodynamics. The event horizon position is also relevant in stability and photon sphere calculations. From the pure Schwarzschild solution, the event horizon is stationary and static, as far as I know. However, even when Hawking radiation does NOT origin in the event horizon, the event horizon plays yet a role as ruler. Now, enter quantum mechanics. Position of the event horizon can not BE static or stationary if we include the quantum effects, after all, Hawking radiation makes black holes to loose mass (give up the information paradox at this point). Thus, should we accept that the event horizon is NOT a well defined concept in quantum mechanics? Or at least, it seems that the notion of static and stationary changes in the quantum realm. Since, how can a classical symmetric stationary vacuum solution have a MOVING surface of "stuff"?

I understand that an  is the boundary of trapped codimension-2 surfaces in the spacetime (surfaces from which both ingoing and outgoing light rays must be converging). Meanwhile, an  is the boundary of the past of future null infinity (boundary of points from which a light ray can escape to infinity).  I have a few questions about this:   I've read that apparent horizons are always inside or coincident with event horizons. If it's inside then doesn't that allow for points from which null rays can travel outwards i.e. points inside the event horizon that are causally connected to infinity? Apparent horizons are observer dependent. Why? Shouldn't all observers agree on light converging or diverging? If apparent horizons are observer dependent, why are they at all useful in GR which is famously diffeomorphism invariant (observer independent)? Both definitions seem to me to be a boundary between points that can and points that can't send light to infinity. Can someone explain the difference between them please? I know there are several posts on this but I'm afraid it has not helped clear it up in my head. Does solving $g^{rr}(r)=0$ locate the apparent horizon? Wouldn't we need to find this by solving e.g. the Raychauduri equation or something?


Show that if $n$ is an integer, then every prime factor of $4n^2+1$ is congruent to $1 \pmod 4$. (Hint: if $p\mid 4n^2+1$), then what can you say about $(-1\mid p)$?  Approach:  I went over all the cases for n and concluded that $4n^2+1 \equiv 1\pmod 4$. We know that $4n^2+1$ can be represented as the product of prime numbers, so let $4n^2+1=q_1\cdots q_\ell$. This implies that $q_i \mid 4n^2+1$  b) Show that there are infinitely many primes congruent to 1(mod 4)  Approach  The common way to do this is by contradiction. Assume there are finitely many primes congruent to 1 mod 4. Call them $p_1,....,p_k$. Now let's build a number n congruent to 1 mod 4 with these primes. n=$4p_1*....*p_{k}+1 \equiv 1(mod\text{ } 4)$. By definition we can represent n as a product of primes. Let $n=q_1,...,q_l$. If $q_j=p_j$ then $q_j | 4p_1*...*p_k$ and $q_j | 1$ which can't be possible, so contradiction.  I am just wondering if there is a way to do the latter by using what was just done.

Given an integer $n$, we are asked to investigate about the existence of integer divisors of $n^2+1$ of the form $4k+3$. Can you provide some insights about it?


I have the following piece of code in which I am trying to store a child struct childStruct in std::map with the data part being the parent struct parentStruct. However, when I try to retrieve again the data part for the child which is variable2, I get a wrong value.  Here is the code:  // Example program #include <iostream> #include <string> #include <map>  struct parentStruct {     uint32_t variable1; };  struct childStruct : parentStruct {     uint32_t variable2; };   int main() {     struct childStruct test;     std::map<uint32_t, struct parentStruct> m_list;     test.variable1 = 50;     test.variable2 = 100;     m_list[1] = test;       struct childStruct *test2 = static_cast<struct childStruct *> (&m_list.at(1));      std::cout << test2->variable1 << std::endl;     std::cout << test2->variable2 << std::endl; }   The output of the previous program is:  50 138353   Instead of being:  50 100   How can I can the correct value which is stored in variable2.

Someone mentioned it in the IRC as the slicing problem.


Why when I run eval $(keychain --quiet ~/.ssh/id_rsa) from cli it works, but if I try to do same from the script it doesn't work and $SSH_AUTH variables are not present?

I have multiple Amazon EC2 accounts and want to quickly be able to switch variables, such as $EC2_HOME, using a script.  I have have a shell script set up like this:  #!/bin/sh export EC2_HOME=/home/me/.ec2 echo $EC2_HOME   When I run the script I know that EC2_HOME is set, but I thought that using export would make the variable stick around after the script completed. It does not, as running echo $EC_HOME does not show anything.  I know this must be very rudimentary Linux scripting knowledge, but I don't know it. I tried looking for related questions without luck - so my apologies if this is a duplicate.


Call a bijection $f : \mathbb{N} \rightarrow \mathbb{N}$ irrelevant over $\mathbb{R}$ iff for all sequences $a : \mathbb{N} \rightarrow \mathbb{R}$, if $$\sum_{i=0}^\infty a_n$$ exists, call its value $\lambda$, then $$\sum_{i=0}^\infty a_{f(n)}$$ also exists, and its limits is also $\lambda$.  (I feel slightly bad about the melodramatic title.)     Question. Which bijections $f : \mathbb{N} \rightarrow \mathbb{N}$ are irrelevant over $\mathbb{R}$?

Which bijections $f:\{1,2,3,\ldots\}\to\{1,2,3,\ldots\}$ have the property that for every sequence $\{a_n\}_{n=1}^\infty$, $$ \lim_{n\to\infty} \sum_{k=1}^n a_k = \lim_{n\to\infty} \sum_{k=1}^n a_{f(k)}, $$ where "$=$" is construed as meaning that if either limit exists then so does the other and in that case then they are equal?  It is clear that there are uncountably many of these.  Might it just be that $\{f(n)/n : n=1,2,3,\ldots\}$ is bounded away from both $0$ and $\infty$?  These bijections form a group.  Can anything of interest be said about them as a group?  PS: Here's another moderately wild guess (the one above appears to be wrong): Might it be just the bijections whose every orbit is finite?