How to get Json Array to work inside Asyntask - Android
How to put Json inside asynctask - Android
How to split a long regular expression into multiple lines in JavaScript? I am using latest version of VirtualBox (VirtualBox 4.3.6 for Windows hosts) and after installing any OS and clicking inside of it mouse disappear. It is not visible until I press right CRTL. Anyone know what can cause this problem. I have also installed extension pack. proper use google webmaster tools URL Parameters There are some urls like http://domain.com/user/:username and http://domain.com/post/:id on my website, the username and id is the parameter from database. I try to let google crawler more efficiently , can I use google webmaster tools &gt; URL Parameters &gt; add parameter ? I read the document but still don't get it how to set up? the column Parameter and the rest what should I filled? or this tools only for get method parameter? How does a  work? If seen from the outer side, we can see through thinking it is transparent, while if seen from the inside, the glass acts as a mirror. How? I have been stuck in a problem, that has thrown my brain out of the coding. This problem is at very high priority and I need the solution as early as possible. Problem is as :  There are exactly N advertising boards on the highway. Now a company want to advertise on some of these advertising boards(each advertising board costs some money) .  Company strategy is that, they want at least 'K' advertisement should be there among M consecutive advertising boards. But at the same time Company want to pay minimum for its advertisement .  Now, what is the total number of ways, different ways Company can advertise meeting its minimum cost strategy.  As for Example: N= 3, M = 2, K=1 ==> there is only one way for minimum cost, ie. 0C0 , where '0' denotes No company advertisement, and 'C' denotes company advertisement board.  Similarly, for N =4, M =2, K =1 ==> there is 3 possible ways, ie. C0C0, 0C0C, 0CC0.  Hope to get a reply from someone soon. Thanks. Recently upgraded to Ubuntu 18.10, having two problems.  Easiest to explain: when I open "settings", go to "privacy", select "screen lock", I get the popup window with the screen lock settings, but everything is grayed out:   Second issue: If I step away from the machine for long enough (seems to be 5 minutes), the screen blanks. Hitting a key or moving the mouse wakes it up. But when it wakes up, the only things on the screen are the icon bar at the left and the top bar with status icons on the right end. The rest of the screen is blue, not my normal lock screen image. The screen isn't locked, it doesn't prompt for a password, it's just...blue.  I can move the mouse pointer around the screen, the icons react if I click on one, I can bring up the popup with volume/brightness controls on the top bar. But if the pointer is on the blue background, neither left nor right button clicks do anything.  Now, if I press ctrl-alt-F1 from there, I get a lock screen where I can enter my password. Then I get the blue screen back, but if I press ctrl-alt-F2 I get my normal screen (with running applications) back.  ctrl-alt-F2 without going through the lock screen first does nothing.  I'm not finding anything while searching that matches either of these sets of symptoms. Suggestions? I know there are some command-line applications like pdflatex that can help me to compile a LaTex document from C#.Net (using the System.Diagnostics.Process class) .   I wanna know that what's the best command-line tool for compiling a TeX document ? Is there a way to reorganize the fields/attributes in a data extension?  I've added some extra fields that relate to other fields in that extension.   I haven't found a way to regroup those fields. Is there a "sentence stretch" that acts horizontally in a similar way as \setstretch acts vertically? What's the fastest connection speed / shortest elapsed time using Migration Assistant? Even though I got banned suspended, I'm able to mark a question as a favorite. Is this functionally correct? I am able to produce a standard length \sim with a tiny S above it, but I would like the \sim tilde to be longer (maybe one and half times as wide as a capital letter).  Any tips on how to change the width/length of \sim? Recover Data from Card that cannnot be read I am trying to help a friend who is very concerned that she has just lost all of the data on her 32GB SanDisk microSD card.  I told her I would post this and see if anyone could offer help.  Here are the details:   The SanDisk microSD card is less than two years old.  Probably only about a year old.  The store will take it back, but that doesn't really help.  She wants her data. She used the card in her Samsung Galaxy S4 smartphone for over a month.  The phone was never exposed to water or temperature extremes. Today, her phone suddenly said something like "Your SD card is blank or an unsupported format". Her phone was then unable to read the SanDisk microSD card at all.   Here's what she has tried:   Rebooting her phone.  Had no effect. Taking out the SanDisk microSD card and putting it inside a full-size SD card adapter, and inserting it into a Windows 7 SP1 computer.  The computer did not recognize its presence at all. Putting the SanDisk microSD card into a USB 2.0 external card reader and inserting the card reader into a USB port on a Windows 7 SP1 computer.  The computer recognized the card reader and installed drivers for it.  The card reader shows up as 'Removable Disk' in Windows Explorer.  Clicking on 'Removable Disk' in Windows Explorer results in the error "Insert disk: Please insert a disk into the Removable Disk". After trying #3, tried opening the 'Removable Disk' in FreeCommander.  Doing so results in the error "The device is not ready".   She does not have access to a linux box, but does have access to her Android phone.  What can she do to recover the data on her 32GB SanDisk microSD card? I'm reposting  I asked on the  SE, bacause I have been redirected to Super User.  I have successfully set up two Linksys routers running DD-WRTv24 to do WDS. They have the same SSID, but different static local IP addresses. There is no security: it's just for testing; no Internet connection.   When I open my notebook, I see the SSID shared by the routers in the list of WiFi access points, and I can connect to it. Once connected, I can ping both routers' local IP addresses, so I know that the WDS is working. But I can't find a way to find out which of them I have actually connected to.  I wouldn't like to have different SSIDs, because I plan to have the access points hand-off users to one another, and I want it to be transparent for the users. I configured one AP to distribute DHCP IP addresses in one range, and the other in another range, so I can discover which AP I connected to at first, but I want a way to discover which AP I'm connected to now, so that I can find out whether the hand-off actually occurred. Is this an instance of Priori Incantatem? During the climax of Fantastic Beasts and Where to Find Them, Tina briefly duels with Graves and their wands appear to lock with each other (see picture). I believe this also happens some other times in the later Harry Potter films other than Harry and Voldemort's duel in the graveyard during Goblet of Fire.    We know that this is definitely a case of Priori Incantatem for the graveyard duel in Goblet of Fire, as the wands are locked for a sufficient amount of time for past spells to begin showing themselves (significantly, showing the people Voldemort had murdered), but is this the case for the other instances of wands locking? If so, does that mean there are a lot more wands out there with shared cores, as it was my understanding this could only happen if that criteria was satisfied? Why would I vote for an increase in the number of authorized shares? If a linear operator has an adjoint operator, it is bounded This is a question I'm struggling with for a while:  Let $H$ be a Hilber space. Let  $T,S: H\rightarrow H$ be linear operators (not neccessarily bounded) such that for every $x,y\in H$: $\langle Tx,y\rangle=\langle x,Sy \rangle$.  Prove $T,S$ are bounded.    What I did so far:  First attempt:  $||Tx||^2=\langle Tx,Tx\rangle=\langle x,STx\rangle\le||x||*||STx||\le||x||*||S||*||Tx||$  I'm not entirly sure I'm allowed to do the last inequallity, since $||S||$ might be $\infty$.  It follows $||Tx||\le ||x||*||S||$  and analogly  $||Sx||\le ||x||*||T||$  From the first I'd get $||T||\le ||S||$ and from the second $||S||\le||T||$. Therefore $||S||=||T||$. I don't know where to go from here.  Second Attempt: assume  $T$ isn't bounded, therefore so is $S$, therefore there are series $(x_n),(y_n)\subset H$ such that $||x_n||=||y_n||=1$ and $\lim ||Tx_n||=\infty,\lim ||Sy_n||=\infty$. I'll keep it going soon, but it didn't go so well..    I'd love some guide. Not neccessarily the whole solution, but something that would tell me what i'm missing.  Thanks :) How fast does the sequence $y_t$ defined by $y_{t+1}=y_t(1-y_t)$ decay to zero? The question is in the title; I'm looking for the exact decay rate. Naturally, assume the starting point $y_0$ belongs to $(0,1)$.   This is motivated by one of the answers to . Electric shock - was I stupid, unlucky, or a combination of both? One of the double sockets in our garage needed replacing (damaged after a washing pole hit it) - a pretty trivial job that I'd done before. So I flipped the MCB for the ring main, used a non-contact voltage tester to check nothing was there, and set to work. I disconnected the old socket fine, and was lining the cables up to fit into the new socket when... ow.  My finger bridged the live and earth pins, and suffice to say the live wire was very much alive. Bar a few finger spasms I was fine fortunately, and believe me I realise I was very lucky in that respect (I'm in the UK, so that was 240V.) Before finishing the job I then shut off the entire property's electrics - I was taking no more chances.  Further inspection confirmed two things I immediately suspected at this point - the MCB in the garage (installed before we moved into the house) was shutting off power via the neutral, not the live, and the voltage tester was dodgy (I had tested it on the same socket earlier and it seemed fine, further testing showed it presumably had a loose connection internally and only worked sporadically.) Needless to say it's now in the bin, and an electrician has been called to sort the MCB and check the rest of the house for similar issues.  Unsurprisingly this has shaken me up a bit - I would say I'm a rather safety conscious person, and in this case thought I'd done all the checks properly (including taping over the relevant trip switch to ensure no-one flipped it back on while I was working.) In some ways I can't help feeling I was unlucky that the MCB was wired by a cowboy, in combination with the voltage tester failing in the way that it did, at the time that it did. However, I'm not one to solely blame tools - clearly some, if not most of the blame here lies with myself also.  So in short, what should I have done differently - and was I primarily being stupid, or really quite unlucky? Why is it a bad practice to lock the object we are going to change?