I'm practicing c#. So I created 2 database tables namely tbl_applicant and tbl_parent.  tbl_applicant attributes are:   - AID (primary key)  - Name  - PID (foreign key)  tbl_parent attributes are:   - PID (primary key)  - FatherName  - MotherName   So I got a form in MS Visual Studio 2015 that has the textboxes needed to store the data that the database requires. I also used "identity" (on the pk) and "reference" (on the fk) to associate them with being a primary/foreign key. In c#, I tested the database by recording a row (record) in the tables. Primary keys are automatically generated starting with 1.  Here's the problem, I shouldn't have to place a textbox for PID since it's going to automatically generate me a PID on the tbl_parent but why am I getting errors when I don't put a PID on the tbl_applicant manually? Isn't it supposed to have a number that will be copied/passed to the PID in tbl_applicant? What am I doing wrong here?

I have a query to insert a row into a table, which has a field called ID, which is populated using an AUTO_INCREMENT on the column. I need to get this value for the next bit of functionality, but when I run the following, it always returns 0 even though the actual value is not 0:  MySqlCommand comm = connect.CreateCommand(); comm.CommandText = insertInvoice; comm.CommandText += "\'" + invoiceDate.ToString("yyyy:MM:dd hh:mm:ss") + "\', " + bookFee + ", " + adminFee + ", " + totalFee + ", " + customerID +  ")"; int id = Convert.ToInt32(comm.ExecuteScalar());   According to my understanding, this should return the ID column, but it just returns 0 every time. Any ideas?  EDIT:  When I run:  "INSERT INTO INVOICE (INVOICE_DATE, BOOK_FEE, ADMIN_FEE, TOTAL_FEE, CUSTOMER_ID) VALUES ('2009:01:01 10:21:12', 50, 7, 57, 2134);last_insert_id();"   I get:  {"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'last_insert_id()' at line 1"}


Looking for suggestions on how much to serve on meat.  They would like pulled pork, ribs, and brisket

Catering a small event tomorrow for twenty people. Serving beef brisket, pulled pork, and veggie lasagna. Question is how much brisket & pork should  allow for each person? also serving  three sides, rolls, etc.


Having the questions you've already voted on makes it more work to find things that still need attention.  Note, I am talking about when you refresh the page, not the JavaScript action that happens immediately after you action an item.

On Stack Overflow, suggested edits need two reviewers. So when you're the first reviewer to give your opinion (approve or reject) or if you're the second but vote the other way than the first reviewer, the edit stays in the queue. This has two annoying consequences when you're going through the  (5k only):   If you cast the deciding vote, the entry for this edit disappears from the list (it's moved to a header line at the top of the list). Otherwise the edit remains in place. This is annoying because it means the position of the next entry on the screen depends on something that shouldn't be relevant (whether you just cast the deciding vote). It's especially annoying because the entry can take a couple of seconds to disappear when it does, which has led me to click on the wrong row a couple of times, when the next edit was an obvious accept or reject. If you revisit the list and one of the edits you voted on still hasn't been decided, the entry appears again (with no buttons). Why show me the entry again? There's nothing I can do about it any more.   Here's the behavior I'd like:   An edit never disappears from the list as long as I don't reload the page. If I reload the page, edits I've already voted on don't appear.   Alternatively:   When I've voted on an edit, it disappears to the collapsed list at the beginning, and stays there even if I reload the page. The disappearance should be instantaneous, with no fading.   Either way, please make the behavior on voting consistent whether my vote was the deciding one or not. And if the page is changed when I click on a vote button, the change should be instantaneous.  But please don't let that deter you from reviewing a few suggested edits on Stack Overflow.  and review one page (30 suggestions). We get 500–800 suggestions on a typical day. If 2% of the eligible ~5000 people do one page every day and vote on half the suggestions they see, we're good.


I am upgrading from Windows 32-bit to Windows 7 64-bit.  If I choose CUSTOM option and install Windows on C: drive - will it wipe out all the data:   On C: drive?   or    On all my drives?

My friend installed Windows 7 on his computer (upgrading from XP).  He wasn't sure if his processor supported x64 or not, so he installed the x86 version, just to be on the safe side.  After I looked it up, it turns out his processor does support x64, and now we want to upgrade.  The question is: is it possible to upgrade without completely re-installing the OS?  Can I? Or do I have to format the C: partition again?


Somehow, I accidentally deleted the shield folder after installing the  module, and now I can't disable it. I can't work on my site.   Can anyone please tell me how to disable the module?

In Drupal 7, I could manually edit the {system} table in the database to disable a stubbon module.  In my Drupal 8 site, this table is gone.  How can I manually disable a module in Drupal 8?


When I try to download it starts downloading to lap top, I want it on removable disc

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


How can I run brew upgrade automatically on a daily schedule?

i'm currently using the Homebrew package manager and my question is: is possibile to write a bash's script in order to execute brew update and eventually brew upgrade whenever opening a shell for the first time? I'm using iTerm at the moment.


Apparently I can't get apt-get, as well as the ubuntu software centre, connect to any repository. I also tried to look for a suitable mirror using the ubuntu software centre (software sources->ubuntu software->download from->other->select best server), but it says it can't find any. My internet connection is OK (I'm writing here using the same pc on the same ubuntu), and there is no proxy.  Any ideas about what's going on?

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


i'm getting an error of "FIND: Parameter format not correct" in powershell The following works from CMD C:\Users\User>echo abc | find "a" abc  C:\Users\User>echo abc>z.z  C:\Users\User>find "a" z.z  ---------- Z.Z abc  C:\Users\User>  But this fails from powershell! PS C:\Users\User> echo abc | find "a" FIND: Parameter format not correct PS C:\Users\User> echo abc >z.z PS C:\Users\User> find "a" z.z FIND: Parameter format not correct PS C:\Users\User>  There is a similar question here   where the answer says to use quotation marks with the find command. Though I have   And I wouldn't be using /C because i'm not trying to count occurrences. Though find /c isn't working either PS C:\Users\User> find /C "a" z.z FIND: Parameter format not correct PS C:\Users\User>  And it's not a UK keyboard issue, where two pipe characters get swapped. 'cos it works in cmd and not powershell. And I tried copy/pasting the correct pipe character from charmap.  And as yo see this occurs also with the format of find [pattern] file. So without any pipe. So, not a pipe issue. There's something about powershell and find, that is going wrong here. Where cmd is fine. Added Upon further investigation PS C:\Users\User> which find /cygdrive/c/Windows/system32/find PS C:\Users\User>  Makes me wonder, is that a PATH problem it's clashing with cygwin? I don't think it's a PATH problem, because that's just cygwin's way of stating that the path is in c:\windows\system32  but does look like a weird clash with cygwin though in some way.. not sure if relevant to the problem. It is running windows FIND PS C:\Users\User> find /? Searches for a text string in a file or files.  FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]    /V         Displays all lines NOT containing the specified string.   /C         Displays only the count of lines containing the string.   /N         Displays line numbers with the displayed lines.   /I         Ignores the case of characters when searching for the string.   /OFF[LINE] Do not skip files with offline attribute set.   "string"   Specifies the text string to find.   [drive:][path]filename              Specifies a file or files to search.  If a path is not specified, FIND searches the text typed at the prompt or piped from another command. PS C:\Users\User>

What does find.exe find objectionable about the parameters when it is used in a PowerShell console shell?  These commands work as expected in a cmd.exe shell:  PS C:\Windows\System32\WindowsPowerShell\v1.0> find /i "System.Diagnostics.Process" *.ps1xml FIND: Parameter format not correct PS C:\Windows\System32\WindowsPowerShell\v1.0> find /i "System.Diagnostics.Process" *.ps1xml FIND: Parameter format not correct PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\Windows\System32\find.exe /i "System.Diagnostics.Process" *.ps1xml FIND: Parameter format not correct PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\Windows\System32\find.exe /i "System.Diagnostics.Process" .\DotNetTypes.format.ps1xml FIND: Parameter format not correct


I want to write that I have handful of somethings.  Which of these is the correct form?   There is a handful of somethings. There are a handful of somethings.   Are both correct?

I wrote a sentence for our web site that was submitted for proofreading. The proofreader "corrected" my sentence. I asked how sure he was that he was correct and that I was incorrect. He explained that there are two schools of thought on what's correct and he chose his way as the right way. I suggested that there were certainly two schools of thought: the right way and the wrong way.  School One:  There is a large number of companies.   School Two:  There are a large number of companies.    Can you tell me which is the correct school of thought and why? Update. I think I should be able to reverse the sentence and still have it makes sense.  When I attempt that, it works only with one of these sentences:  The number of companies is large. The number of companies are large.  This suggests to me that the correct sentence uses "is".  Does this make any difference?


Say, I ask a question. I add details a few days later. Will my question remain in the bottom pile of the feed or be brought to the top of the search list? Do people use this as a method to bump their answers when it receives very less attention? How are such activities caught? Does the community manually have to check or are software systems set in place to prevent such malpractices?

What can cause a question to be "bumped" to the first page in the Active tab of a Stack Exchange site? (Changing the "Last Active" date.)  .


Maybe it's my ignorance of astrophysics/cosmology, but I have been wondering this:  Why do galaxies not appear stretched when we observe them? Assuming a galaxy that we observe is 100,000 light years in diameter, and we are viewing at an angle that is almost sideways, but enough to see its shape, there would be a 100,000 year delay between what we see at the front of the galaxy versus the far end of the galaxy. So wouldn't it look all jumbled up instead of a perfect spiral?  At first, I thought that the Big Bang would explain this, because the light from that matter would have been there from the start, but that doesn't make sense when we consider that it took hundreds of thousands of years for the universe to clear up enough for photons to travel far in any direction without bouncing of of something. Also, if inflation theory is true, wouldn't that just reinforce the confusion about the delay in light, being that the universe expanded faster than light for an instant?  It's confusing, but if someone has an answer for this I'd appreciate the enlightenment.

The Andromeda Galaxy appears to us at an angle to the galactic disk, i.e. we are not in the Andromeda Galaxy disc's plane, nor are we near the direction that the galaxy's pole points. Therefore, due to the geometry and distances involved, it would seem to me that we are seeing the 'far edge' a few thousand years later than we are seeing the 'near edge'. How far can a galaxy spin during that those few thousand years, and therefore how distorted are we seeing Andromeda? Can we infer how Andromeda or other large spiral galaxies seen at an angle would look if light were to travel instantly?  Might this phenomenon account for some of the unusual spin properties measured in galaxies, which is attributed to dark matter?


I've read another post about excel at or excel in. But it was too general.   What if the object is a language? When we say "in English" or "in German" it means written or spoken in the mentioned language. But what about "excelling" at/in that language? It feels wrong to say "at", and the same with "in".  Native speakers, please help! Which one sounds or feels natural to you?      excel at English   or   excel in English

Which preposition is correct in the phrase "proficient in/at/with English"?


I need to prove that $${f_n(x)=\int_{0}^{x}g_n(t)}dt$$ where $g_n(x)=\sin^2(x+\frac{1}{n})$ is uniformly convergent on   $[0,\infty)$ $[0,1]$   How can I do this? Is it correct to argue that if $g_n(x)$ is uniformly convergent then $f_n$ is also uniformly convergent? How can I find some $N$ s.t $\forall n>N$ it is true? Any help please.  Edit So I compute $f_n(x)$ and got  $$\lim_{n\to \infty}f_n(x)=\frac{1}{2}\left(x-\frac{\sin2x}{2}\right)$$

For, $n\ge 1$ let, $g_n(x)=\sin^2(x+1/n)$ , $x\in [0,\infty)$ and $f_n(x)=\int_0^xg_n(t)\,dt.$  Then, which is(/are) correct ?  (A) $\{f_n(x)\} $ converges pointwise to a function $f$ on $[0,\infty)$ but does not converge uniformly on $[0,\infty)$.  (B) $\{f_n(x)\} $ does not converge pointwise to any function on $[0,\infty)$.  (C) $\{f_n(x)\} $ converges uniformly on $[0,1]$.  (D)  $\{f_n(x)\} $ converges uniformly on $[0,\infty)$.  I found that, $$f_n(x)=\frac{1}{2}\left[x-\frac{1}{2}\sin(x+1/n)+\frac{1}{2}\sin(1/n)\right].$$  So, $f(x)=\lim_{n}f_n(x)=\frac{x}{2}-\frac{1}{4}\sin x$.  Now, $|f_n(x)-f(x)|\le 3/4$. So, by M-test, $f_n(x)$ is not uniformly convergent, but point-wise convergent. So option (A) is correct..Am I right??


How do you show the sum  $$\sum_{n=2}^\infty \frac{1}{n\log n}$$ diverges?  I have tried to use the ratio test but the outcome was inconclusive as the limit was equal to $1$.

Classify  $$\sum_{n=3}^\infty \frac{1}{n\log(n)}$$ as absolutely convergent, conditionally convergent or divergent.  Is it, $$\sum_{n=3}^\infty \frac{1}n$$ is a divergent $p$-series as $p=1$, and $$\lim_{n\to\infty} \frac{1}{n\log(n)}{n} = 0$$ by comparison test. And this converges to $0$.  So, $$\sum_{n=3}^\infty \frac{1}{n\log (n)}$$ is conditionally convergence?  I'm not sure if I'm doing right or not. Could you guide me?  Thanks in advance! :)


I was trying to find if the the following limit exists: $$ \lim_{(x,y)\to (0,0)} \frac{x^3y^2}{x^6+y^4} $$ From  I tried to switch to polar coordinates: $$ \frac{x^3y^2}{x^6+y^4}=\frac{r^3\cos^3\theta\cdot r^2\sin^2\theta}{r^6\cos^6\theta+r^4\sin^4\theta}=\frac{r\cos^3\theta\sin^2\theta}{r^2\cos^6\theta+\sin^4\theta}\to 0 $$ But apparently this limit does not exists (proved it in another way). Why this method worked for the limit in that topic and here it didn't work?

Given $\frac{a}{c} + \frac{b}{d} = 1$ Prove that $$\lim_{(x,y)\rightarrow(0,0)} \frac{|x|^{a}|y|^{b}}{|x|^{c} + |y|^{d}}$$ does not exist.  So I have done the proof for strict inequalities. And the limit only exists when the fractions add up to an integer greater than $1$. I'm not sure how to approach this other than counter examples.


in the 1987 Robocop Movie when Dick Jones introducing the His Robot ED-209 & Demonstrating to OCP chairman & Other Staff, ED-209 Kills Innocent Employee Without a Gun.. so my question is is this Malfunction of ED-209 Sabotage by "Bob Morton" to Get Approval from OCP to His Project Robocop or it's Just a Malfunction ED-209?

During the demonstration of the ED-209 in the boardroom, the ED-209 was loaded with live ammo. As we see in the movie, this turns out to be a bad decision and it goes horribly wrong.  But why was the ED-209 loaded with live ammo in the first place?


I have a problem with the following code. I cut the String "Data1", give it to "Data2" and then I check the String. My Phone always says "ab is not ab", but I do not know why? -.-  Any ideas?  String Data1 = "abc"; String Data2 = "";  Data2 = Data1.substring(0, 2);  if(Data2 == "ab")   {         Toast.makeText(this, Data2 + " is ab" , Toast.LENGTH_LONG).show();   } else   {         Toast.makeText(this, Data2 + " is not ab", Toast.LENGTH_LONG).show();    }   Thanks ...

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?


I just reinstalled ubuntu 12.04 from a DVD that came in the Ubuntu User magazine. I previously had 13.04 but had decided to revert back to the LTS. Now with 12.04 I have no sound when I try to play my music, I tried using Musique and also Rhythm Box they both show playing with the slider but no sound is heard except if the volume is all the way up you can hear a faint hiss or static. Any advice on how to fix this?  Thanks  Harlie

I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing is that only the startup sound comes when I log in (Indian/African drum tone), then comes the utter silence.  I tested both Digital Output (S/PDIF) and the speakers in the sound settings but can hear nothing.  Any help?


I am an Indian national. I am flying from New Delhi to Toronto with United Airlines via Newark. I will be landing at terminal C Newark Liberty airport with a transit time of 3 hours 55 minutes and then I have a connecting flight to Toronto from Terminal B La Guardia New York with the same United Airlines. Do I need a transit visa for the USA? More related information would be highly appreciated.

In Europe usually you don't need to go through immigration to change planes (unless you are entering/exiting Schengen). Is it the case in the US as well? May I catch a connecting flight on one of the US airports if I don't have US visa?


I want to store a set of integers that get auto incremented at build time:  int MajorVersion = 0; int MinorVersion = 1; int Revision = 92;   When I compile, it would auto-increment Revision. When I build the setup project, it would increment MinorVersion (I'm OK with doing this manually). MajorVersion would only be incremented manually.  Then I could display a version number in menu Help/About to the user as:     Version: 0.1.92   How can this be achieved?  This question asks not only how to have an auto-incrementing version number, but also how to use that in code which is a more complete answer than others.

I was just wondering how I could automatically increment the build (and version?) of my files using Visual Studio (2005).   If I look up the properties of say C:\Windows\notepad.exe, the Version tab gives "File version: 5.1.2600.2180". I would like to get these cool numbers in the version of my dll's too, not version 1.0.0.0, which let's face it is a bit dull.  I tried a few things, but it doesn't seem to be out-of-box functionality, or maybe I'm just looking in the wrong place (as usual).  I work with mainly web projects....  I looked at both:       and I couldn't believe it so much effort to do something is standard practice.  EDIT: It does not work in VS2005 as far I can tell ()


I have Excel sheet and existing SharePoint list (Import spredsheet app) on my SharePoint server.   We need to append the data from the new excel sheets to the existing lists items of the SharePoint list.   How should I go about creating a solution for this?  Let's say I have 100 records in one excel file. I have imported that file to spredsheet app. It works fine for first time. Now I have 100 records in that list. Now user has added 10 more records in that excel sheet. That 10 records I have to appends to the list which is created very first time.

I have a SharePoint that has list and I need to be able to update this list with new values from an Excel sheet (using VBA).  This can be done from Access not a problem however I need it to be Excel only.  Is what I am asking possible and if some could point me in the direction of a solution.


I happened to notice a very strange scenario today when I was reviewing the suggested edits queue today. The review buttons were not displayed back after closing the reject window, rather it just used to stay as "Rejecting" and wouldn't go back to normal unless I refreshed the page. I was able to re-create this in almost every review. Here is a snapshot of what I'm talking about.    Steps to reproduce this:   Go to the suggested edits review page. Click on the reject button. Press the close button at the top or press the escape key. And now you can see the buttons are not displayed back with a disabled Rejecting button. Refresh the page and tada, its back to normal again.   Is this some sort of  or ? Btw, I'm using Firefox 25.0.1 on Windows 7, if that matters.  P.S: It seems that a similar(I guess the same) bug was reported long back  and it was fixed by the dev team. But now, the bug seems to have cropped up again.

If you go to review a suggested edit and close the Reject dialogue box, the button at the top-right will continue to say "Rejecting...". You will not be able to continue with the review process.  I have refreshed the page, and tried clearing my cache. If I refresh the page, I can continue reviewing the edit.  I'm using Chrome Version 31.0.1650.57 m.


How can we find all the primitive solutions of the diophantine equation $x^2+3y^2=z^2$ ?   Some solutions are $(\pm n , 0 , \pm n)$ for $n\in \mathbb{N}$. How can we find also the other ones?

1) $D$  is a positive integer, find all rational solutions of Pell's equation  $$x^2-Dy^2=1$$  2) What about $D\in\Bbb Q$ ?


In my calculus book, (not for homework, I was just looking around), I was given the following equality and was told to find all valid functions that fit it.  Find all families of functions that satisfy the following equality: $$\bigg(\int f(t)dt\bigg)\bigg(\int {1\over f(t)}dt\bigg)=-1$$  My two failed attempts to solve this yielded $f(x)=e^x+C$ and $f(x)=e^{-x}+C$ depending on my methods.  What families of functions satisfies this relationship?

Find all functions $f(x)$ so that: $$  \left ( \int \frac{dx}{f(x)} \right )\left ( \int f(x)dx \right )=c $$ where c is a constant.  My attempt was to differentiate both sides but that appears to lead me to nowhere. I would assume that the solution involves some sort of differential equations but I am very likely to be wrong.  Thanks in advance!


I have a repo that contains about 20 folders, created when I converted from SVN to Git.  Is it possible to checkout a single folder from a Git repository (on Bitbucket)?  Or do I have to make each of those folders a separate repo?

Is it possible to check out subdirectories of a repository in Git?  Imagine I am setting up a new WordPress installation. I will create two new directories for my plugin and theme customization:   wordpress/wp-content/plugins/myplugins/  wordpress/wp-content/themes/mytheme/   I want to maintain these directories via Git. In Subversion, I would accomplish this by having trunk/myplugins/ and trunk/mytheme/ directories and checking out subdirectories. Does Git have a way to accomplish the same task using a single repository?  I could just be missing the boat on some Git paradigm, as a long time SVN user with little exposure to Git.  Edit:  storing different content is an interesting way to handle this.


I was doing a past paper for which there are no answer and got stumped on this: Let $a_n$ where $n \in N$ be a sequence of real numbers such that 0 < $a_n$ < 1 for all n. Prove that, if the series $ \sum\limits_{n=1}^{\infty} a_n$ converges, then the series $ \sum\limits_{n=1}^{\infty} \frac{a_n}{1-a_n}$ converges as well. I have tried finding bounds for the second series but have not gotten very far, any advice would be great. Thanks

Given that $0\le a_n\lt 1$ the series $\sum_{n=0}^{\infty} (a_n)$ converges. Show that the series $\sum_{n=0}^{\infty} \frac{a_n}{1-a_n}$ converges.  This question is supposed to be solved from first principles (e.g. Comparison Test); however, any approach would be appreciated.  I noted that $\frac{a_n}{1-a_n} = a_n + a_n^2 + a_n^3 + ...$ but I can't seem to finish the proof rigorously.


At the funeral, the camera slowly shows the remaining heroes. However there's a kid at back, standing completely alone, who is he?  (If my memory serves me right, he's shown after Hawkeye's family.)

At the end of Avengers: Endgame, there's a gathering...       for Tony Stark's funeral.   During it, they move the camera over several characters, often Avengers grouped together. One person they pan over is a single teenager with brown hair. Who is that character?


I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*).   At some point, the text ends in the beginning of the first column of a new page. I would like to include my table on this page since it has a lot of free space below the text, but when I insert the table* right after the text, it goes to the top of the next page instead:    Do you know a way of obtaining the desired behavior?  Minimal working example :  \documentclass{article} \usepackage{lipsum}  \begin{document} \twocolumn  \paragraph{} \lipsum[1]  \begin{table*} \centering \begin{tabular}{|c|c|c|c|} \hline Column 1 & Column 2 & Column 3 & Column 4 \\ \hline Column 1 & Column 2 & Column 3 & Column 4 \\ \hline \end{tabular} \end{table*}%   \end{document}


I'm using a table inside a new environment to create a list of definitions, but some of the things being defined are two words. I want to have the first word on one line and the other word on the next line but everything I try gives an error or an incorrect out. (This works fine if it's only one word.) Here is what I have so far:  \documentclass{article} \usepackage{fullpage} \setlength\parindent{0pt}  \newenvironment{defn}[2]   {\begin{tabular}{p{1in} p{5in}}   \hfill\underline{#1} & #2   }   {\\ \end{tabular}}  \begin{document}  \begin{defn} {Jib\\ Jab} {Here is the definition of the word Jib Jab} \end{example}  \begin{defn} {Def2} {Here is the definition of the word Def2} \end{defn}  \end{document}

I was trying to emphasize text with \textbf, \textit and \underline commands. But the text will not automatically wrap to the next line. I also tried the ulem package, and it did not work too.  Does anybody know how to have italic, bold, underline and linebreaks for some text?


I recently purchased  from Amazon, and scroll lock key doesn't seem to work on Ubuntu, I am running Ubuntu 14.04 currently.  I tested the keyboard on Windows 8.1 as well, on the same computer, and scroll lock key works there. Is anyone else experiencing the same problem?

I need to enable scroll lock so I can toggle lights on my keyboard. This works on Arch.Funny thing it doesn't work on Ubuntu.    $ xmodmap -e ‘add mod3 = Scroll_Lock’ xmodmap:  unknown command on line commandline:1 xmodmap:  unable to open file 'mod3' for reading xmodmap:  unable to open file '=' for reading xmodmap:  unable to open file 'Scroll_Lock’' for reading xmodmap:  4 errors encountered, aborting.


$(document).on('click', '#edit', function(){ //code });  and $('#edit').on('click', function(e){ //code });  I have been working with some jQuery and get confused between these two

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Is there a way to assign a role to some user with sfdx cli command?  In my existing tests, i create community user, and the user running the tests must be assigned to some role, else, i have the following error  UNKNOWN_EXCEPTION, portal account owner must have a role: []   So, i have to to assign a role to my user running the tests;  Thank you;

Im getting above error when i was trying to run my test class. In my test class i will create an Account, Contact. And this contact id will be used in my original code to create Community user.  I noticed following help article from SFDC. But couldn't figure out how to achieve.   Here they asked to create User on the Test class and Runas this user. But in my case, the community user will be created in the code. Please share any thoughts.  Here is the detailed exception,     System.DmlException: Insert failed. First exception on row 0; first   error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, caused by:   System.DmlException: Insert failed. First exception on row 11; first   error: UNKNOWN_EXCEPTION, portal account owner must have a role: []


Show that a group in which all the $m$th powers commute with each other and all the $n$th powers commute with each other ,$m$ and $n$ relatively prime, is abelian.  How to do this ? we know $1=mx+yn$ for $x,y \in \mathbb{Z}$  $ab=a^{mx}a^{ny}b^{yn}b^{mx}=a^{mx}b^{yn}a^{ny}b^{mx}$  but now how to switch $b^{yn}$ and $a^{mx}$ ??

Let $(G,.)$ be a group and $m,n \in\mathbb Z$ such that $\gcd(m,n)=1$. Assume that $$ \forall a,b \in G, \,a^mb^m=b^ma^m,$$ $$\forall a,b \in G, \, a^nb^n=b^na^n.$$  Then how prove $G$ is an abelian group?  Some context: Some of these commutation relations often imply that $G$ is abelian, for example , or . This looks like another example of this phenomenon, but the same techniques do not apply.


Specific question: Let $F$ be a field and assume that $\mathbb{Q}$ is a proper subfield of $F$. Can $F$ be isomorphic to $\mathbb{Q}$?      Studying the foundaments of field theory I have to ask: Can a field be isomorphic to one of its proper subfields?

Let $x$ be transcendental over $\mathbb{C}$. Let $K$ be the algebraic closure of $\mathbb{C}(x)$. How to show that $K$ is isomorphic to $\mathbb{C}$?


There seems to be a number of discrepancies in the power of Mjolnir in the MCU.  In Thor Odin places the power of Thor into his hammer Mjolnir proclaiming:     he who wields the hammer, if he be worthy will have the power of Thor.   At the climax of the film we see Thor regain his powers and armour when he sacrifices himself for the town.   In Avengers: Age of Ultron this is reaffirmed when the Avengers try to lift the hammer with only Cap getting close.   In Thor: Ragnarok Mjolnir is destroyed and Thor then discovers the powers where inside him all along.    But in Avengers: Endgame     Captain America wields Mjolnir gaining the power of Thor.   However, we saw in Thor: Ragnarok that the hammer has no real power of its own, the power was inside Thor all along. In addition Mjolnir being destroyed doesn't affect Thor's strength and when he gets Stormbreaker he becomes more powerful suggesting that Stormbreaker also gives the power of Thor to the wielder.   So does Mjolnir give additional powers and allow the bearer to have the powers of Thor, or is it just a magic hammer that has special powers all of its own?

We learned in Thor: Ragnarok that Mjolnir is only a focus for Thor's power, not the source. If so, when a worthy being lifts Mjolnir and gains "the power of Thor", where are they getting the power from?


Let $(Y,t_1)$ and $(Y,t_2)$ be 2 topological spaces and $id:(Y,t_1) \rightarrow (Y,t_2)$ the identity function, is $id$ always continuous?   $f=id$ trying to find some counter example, I confused myself, if we take $Y=\{1,2,3\}$ $t_1=\{\emptyset, Y,\{2\}\}$ and $t_2=\{\emptyset, Y,\{1\}\}$ Then $f(\{2\})=\{2\} \notin t_2$ or $f(\{2\})=\emptyset$ ? and i have the same question for the inverse $f^{-1}(\{1\})=1 \notin t_1$ or $f^{-1}(\{1\})=\emptyset$? if $f^{-1}(\{1\})=1 \notin t_1$ then clearly $id$ isn't continuous but if  $f^{-1}(\{1\})=\emptyset$ then $id$ is always continuous. what its true?

Could you please verify this (rather simple) proof? I'm a bit new to this kind of reasoning.  The question is:  Let $\mathcal{T}_1$, $\mathcal{T}_2$ be two topologies on some set $X$, when is the identity map $id:X \to X$, $id(x) = x$ continuous?  Here is my reasoning:   If $\mathcal{T}_1 = \mathcal{T}_2$, then for any $S \in \mathcal{T}_2$, $id^{-1} (S) = S \in \mathcal{T}_1$ so then it's continuous.  If $\mathcal{T}_2 \subseteq \mathcal{T}_1$, then it's exactly like above, then it's also continouos.  Now:  If  $\mathcal{T}_1 \subseteq \mathcal{T}_2$ then take some $x \in U \in \mathcal{T}_2 \setminus \mathcal{T}_1$, then $id^{-1}(U) \not\in \mathcal{T}_1$, so it's not continuous.  So the identity map is continuous if $\mathcal{T}_1$ is finer than $\mathcal{T}_2$.   Is this OK?  Is there a better way to show this?  Any extra applicable theory?  Thanks in advance


I am running CAT6a wire around my house and I was wondering what the maximum hole size I can drill to run cable across the joists in my basement to various rooms. I should measure but the joists are 2 x 8's I believe.

I've been unable to find a good reference for the size/amount/location of holes I can drill through joists.  This is mostly in order to pass cabling or pipes through the joist crosswise.  Also, what about notching the bottom, is there a size threshold there as well?


I would like to know if there is a way for me to rotate a windowed program running on Windows?  Here's an example of what I'm looking for:

It's fairly easy to rotate the entire desktop's orientation on MS Windows. However, I'm looking for a way to rotate a single window's orientation. Are there any easy tricks to do this?


Is it necessary to call SDL_Quit() at the end of the game? Doesn't C/C++ handle all the variables destruction and memory freeing at the end of a program?

Should a game/engine clean up after itself(close windows, shut down renderers, close files, free memory) when its closed?  The OS should do that anyway, and usually in a faster way.  I guess most developers don't really care as they need proper cleanup for everything anyways(With dynamic asset-loading, and changing maps, etc.), but won't ensure that everything gets cleaned perfectly.  But is there any positive to cleaning up vs not cleaning up or the reverse?  I am using C++.  What about game consoles? Do they all clean up after themselves?


In this sentence, which is correct, is or are?     We will not stop operating until a specified number of weak events [is/are] detected.   My feeling is that the verb should agree with number, not events, thus I'd use is. But there is disagreement here at work.  Also, what is the name of the phrase "of weak events" in this sentence? If I knew that to begin with I'd probably have been able to look up the answer.

Formally, is it correct to write:     A number of questions has been asked here.   or:     A number of questions have been asked here.   As a non-native speaker of English, I would prefer the former: the subject seems to be "number", therefore the verb ought to be singular, I'd say. However, the latter seems more common, and therefore I believe that my gut feeling is just plain wrong — but I would really like to have a definite answer.  Moreover, is it the same for "a myriad of", "a plethora of", and so on?


int result = 0; int i = 0; while (i < n / 2){         result += arr[i];         i += 1;         while (i >= n / 2 && i < n){             result += arr[i];             i += 1;         } } printf("%d\n", result);   It seems like will be executed O(n) times because the second loop will not be executed until the first loop is executed 1/2*n times. But I can also say the first loop execute O(n) times and second one execute O(n)times so it's O(n^2). Im so confuse now, which one is correct?

Most people with a degree in CS will certainly know what . It helps us to measure how well an algorithm scales.   But I'm curious, how do you calculate or approximate the complexity of your algorithms?


I used to have 2TB of iCloud storage then for several months of not paying, I was downgraded to 5GB free storage.  What happens to the data I previously had?  Will it get deleted?

I have more media that can possibly be stored on my iPhone, so I assume that most of it is stored in iCloud and downloaded when required (when I view it).   What happens if I cancel/downgrade my iCloud storage plan?  How do they decide what media is going to be deleted, so that the amount falls within the free plan?   Is there a time period where I can cancel and then sign back up and it'll be as if nothing has happened?


I have problem with bluetooth at Lenovo G510. I can turn on bluetooth but it can not find any device. I tried this solution , and it worked for one day. Next day Ubuntu made small update and bluetooth crashed. Please help me to resolve this problem. If you need output from commends i can execute and place inside post. Instruction: lspci -knn | grep Net -A3; lsusb; dmesg | grep -i blue  gave me: 08:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)     Subsystem: Lenovo BCM43142 802.11b/g/n [17aa:0611]     Kernel driver in use: wl     Kernel modules: wl Bus 002 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:8008 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 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 003 Device 006: ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module Bus 003 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth Bus 003 Device 002: ID 5986:0295 Acer, Inc Lenovo Integrated Webcam Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [  111.627937] Bluetooth: Core ver 2.22 [  111.627958] Bluetooth: HCI device and connection manager initialized [  111.627962] Bluetooth: HCI socket layer initialized [  111.627964] Bluetooth: L2CAP socket layer initialized [  111.627969] Bluetooth: SCO socket layer initialized [  111.774197] Bluetooth: hci0: BCM: chip id 70 [  111.775192] Bluetooth: hci0: BCM: features 0x06 [  111.791305] Bluetooth: hci0: abcd-Lenovo-G510 [  111.791314] Bluetooth: hci0: BCM (001.001.011) build 0000 [  111.803491] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2 [  111.803495] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found [  113.834314] Bluetooth: hci0: command 0x1003 tx timeout [  113.835288] Bluetooth: hci0: unexpected event for opcode 0x1003 [  211.634168] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [  211.634170] Bluetooth: BNEP filters: protocol multicast [  211.634174] Bluetooth: BNEP socket layer initialized [  211.651277] Bluetooth: RFCOMM TTY layer initialized [  211.651285] Bluetooth: RFCOMM socket layer initialized [  211.651289] Bluetooth: RFCOMM ver 1.11 [  213.663101] Bluetooth: hci0: command 0x1003 tx timeout [  213.664288] Bluetooth: hci0: unexpected event for opcode 0x1003 [  412.849614] Bluetooth: hci0: BCM: chip id 70 [  412.850548] Bluetooth: hci0: BCM: features 0x06 [  412.866557] Bluetooth: hci0: abcd-Lenovo-G510 [  412.866563] Bluetooth: hci0: BCM (001.001.011) build 0000 [  412.866585] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2 [  412.866588] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found [  414.887733] Bluetooth: hci0: command 0x1003 tx timeout [  414.888569] Bluetooth: hci0: unexpected event for opcode 0x1003

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?


I'm attempting to use tapcon 1/4in by 2.75in concrete screws to affix something to a wall of poured concrete, but it's only going about 3/5 of the way in before refusing to go any further. I used the recommended tapcon drill bit size so I don't think that's the issue, and I've also air blasted all the dust out. What else could it be? Do I just need a more powerful drill? A smaller size screw?

I'm trying to drive a 2 1/2" long 3/16" diameter Tapcon into a 50 year-old concrete slab/subfloor to attach a new toilet flange. The instructions on the case of Tapcons said to drill a hole in the concrete with a 5/32" bit. Did that with a Bosch Bulldog SDS; that part was easy. Next the instructions say to drive the screw in with a #2 Phillips head bit. So I put a new #2 bit in my Bosch 1191VSR drill and switch it into hammer drill mode. But I can only get the screw about 1/2" in and then it just stops turning, and the bit comes out of the screw head and begins to strip the screw. I feel like there's some technique I'm missing, or else my bits are defective. But I tried two different ones, and the same thing happened each time. Or maybe it's my drill? From stationary, I can not get the screw turning. I need to back it out a bit and start again. It feels like the torque is too low at slow speeds. What am I doing wrong?


There are some proprietary apps that are being provided only in 64-bit version.

I am using a 32-bit machine, but I am having to use a relatively obscure semantic database which only comes in 64-bit versions.  What are my options for running it in my local dev environment?  Currently when I try to run it, I get an error message that looks like this:  cannot execute binary file   and when I check my machine info, I get this:  $ uname -a Linux slabrams-desktop 2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 19:00:09 UTC 2011 i686 GNU/Linux


I was able to get 18.04 installed and working. The problem is now it freezes after some non-specific time or thing i do. Machine is ASUS Fd503VX with GTX1050. I have not installed the Nvidia drivers yet (usually does not go well). Do i need to do this, is this causing the issue? I did install the synaptic mouse driver (seems to be better). When it freezes terminal still works but cannot move the mouse (this is why i installed Synaptic).  If i do need the Nvidia drivers is the a recommended post to do this, as i when i search there are many methods. My recommended is Nvidia-drivers-390. not sure if prime or bumblbee are still needed. Last laptop i jsut gave up on Nvidia.

I have NVIDIA Geforece 7025 / nForce 630a integrated gfx card on my UBUNTU 12.04.And I have 4 options in Additional drivers:    NVIDIA accelerated graphics driver (version 173)   NVIDIA accelerated graphics driver (post-release updates)(version current updates)  NVIDIA accelerated graphics driver (version current)[Recommended]  NVIDIA accelerated graphics driver (post-release updates)(version 173 updates)   I am currently using the First option.  My Problem is there I can't update the version 173 to the latest version of drivers using xswat PPA. Whenever I do it and reboot but the NVIDIA xserver sttings always shows me the same version.  Which option would allow me to update my drivers to the current version?


1.5 hours are "One hour and half" or "One and half hours"?  Examples:      He will be there in 1.5 hours.      I spend there 1.5 hours.

I couldn't get the difference between these?   give me a two hour leave  give me two hours leave    What is more, when it comes to using the latter, which one would you rather use? two hours' leave two hour leave


I'm experiencing a seemingly simple but puzzling problem with javascript. Here I have two snippets; the two are almost the same, except that the yellow enter box of the latter snippet is produced by Javascript. The differences between the two codes are:

enter

 click the yellow box!
<textarea id="result"></textarea>         <button onclick="myfunction()">show</button>

<textarea class="txta" id="result"></textarea>       The yellow box of the second snippet is produced by: function myfunction(){ document.getElementById('show').innerHTML = ` <table><tbody><tr class="newdiv"><td style="background:yellow">enter</td></tr></tbody></table> click the yellow box! `; }  The second snippet generates the yellow box by a javascript function, and typing enter is functioned by jquery. My question is: why does the function work in the first snippet but not the second, although their differences (in my humble opinion) doesn't seem to affect the fuction itself?

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I downvoted  and left . Afterwards,  downvoted many of my questions without any reason.

I just noticed that I lost a bunch of points from my reputation score, and I used the "reputation" tab on my user profile page to try and track down the cause.  During my investigation, I noticed there was an unusual event of type "reversal". In the normal place of a question title, it says "voting corrected".     What does this mean, and what caused it?  Did I do something wrong? Why did I lose all of that reputation? Is the system punishing me for leaving too many good answers?  Is there any way to earn it back?


My recent answers got turned into community wiki (CW) state automatically. I know about answers getting turned into community wikis after 10 edits - which I think is not right anyway if I was the only one editing - but recently it seems to happen with my new answers without edits too:       Is this a bug or some special  care? I would like to have them reverted from CW state. Update I raised flags about both answers. The second one (edited multiple times by me) got reverted back to normal answer, but the first didn't. I flagged the question itself to be reverted back from community wiki status, as only the owner edited it, but nothing happened since. Until it gets fixed I removed my answer too... no such thing as free lunch guys, I want my points LOL ;) Update 2 Yay! Both of them are reverted back!!! :D

Some questions and answers are marked Community Wiki and are owned by a community wiki user:  (In fact, this very question is one of them)  Why have Community Wiki posts? How do Community Wiki posts work? How does a post become a Community Wiki post? How can the Community Wiki status be removed from a post? How can I find Community Wiki posts?


I am new to Java, so please bear with me. I've tried to get a button to open up a new frame called AboutFrame, but whenever I press the button nothing happens.  I implement the ActionListener first:  class MainFrame extends JFrame implements ActionListener {   Then I set the button (after the usual super("blabla");...)  JButton info = new JButton("About Failsafe");     info.addActionListener(this);   And then:  public void actionPerformed(ActionEvent event) { String command = event.getSource().toString();     if (command == "info") {         AboutFrame abt = new AboutFrame();     } }   So what am I doing wrong here? I can't see any mistakes..

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?


If my friend has a land-creature and he tapped it for mana, can he attack with that land-creature after?

If I tap a creature to use its activated ability before combat, can I use the same creature to block or attack on the same turn?  My guess: you cannot block and/or attack with a tapped creature on the same turn.


Previously I had Ubuntu installed on my pc along with windows 10 and windows 7 and was using windows 7 boot manager instead of grub. But then after an update of windows 10 my Ubuntu crashed and refuses to load. Since i think this might have been caused by the Windows 10 interference I've decided to boot Ubuntu from a USB drive. Since I am a beginner kindly explain the detailed procedure in creating the live image and clarify whether Ubuntu be able to access/modify contents of my hard drive.

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about.   I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu install.  To do this, I need to install the nVidia drivers first (sigh).  To do this, I need changes to persist a reboot.  To do this, I need to really install Ubuntu on a USB key.  How do you do that?    What I tried   I tried to make a USB key from , then boot from it, then choose "Install Ubuntu." The installer refused to install to the installation media itself. I tried, from my installed copy of Ubuntu:  sudo kvm /dev/sdb --cdrom .cache/testdrive/iso/ubuntu_natty-desktop-i386.iso   ...but the installer didn't detect the disk properly.


I'm relaying from a post/comments on .  The primary part of their question was addressed there; but they did identify a minor bug in the site that should be fixed.    Apparently if a user with limited editing privileges hits their maximum suggested edit limit the edit link on the review page is failing silently instead of informing them that they've hit the maximum number of edits that they can suggest at a time.  At a minimum the error message should be displayed on the review page instead of leaving them confused until they try suggesting an edit on a post directly.    Beyond that, if a user can't submit any more edits, does it still make sense to let them have access to the review queues when a major part of reviewing is temporarily blocked to them?

While reviewing First Posts on Super User, I noticed that I couldn't edit this question (see below). Clicking the "edit" link simply does nothing. Editing is not possible for me right now because I have already five suggested edits pending. It used to be the case that the link would've been grayed out (and the reason shown as a popover). , and while I'm not sure it's an improvement, the current implementation needs some fixing at least.  This bug appears regardless of the actual reason that the edit isn't possible; for instance,  is another user experiencing the same bug who couldn't suggest an edit because of an already pending one. Apparently, I'm far from the only one who experiences this issue. As of last Sunday morning,  have been posted networkwide (and are still alive) and  is #16.


I have Ubuntu 18.04.4 LTS 64-bit. I want to have independent desktops, so if I have app #1 on the first desktop and app #2 on the second desktop, I can't switch from app #1 to app #2 (by the word "switch" I mean pressing alt+tab).  I don't know if it's necessary, but I use Ubuntu on Wayland.

I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab.


I am starting a new project in c# and I am looking for a tool that helps me do mutation tests. I have previously done mutation testing in java using  and liked it very much. Now I am looking for such a tool for C# and the only ones i can find are either not updated for the past few years or still in alpha/beta ( , , ).  Are there any tools available that are reliable and can be used with tools that came out after 2010?  EDIT: Some might say this question is a duplicate of . Only that question is currently 8 years old and most of the tools discussed there are not usable since most of them haven't been updated in the last 6 to 8 years.

In another  I asked if  is useful in practice. As I didn't get any answers that satisfy me, I want to check the current tools myself. So I need an overview about current existing mutation-test-frameworks. Which of them are most usable and why?   I program in Java, so I would prefer Java-tools, but I would risk a look at interesting frameworks for different languages. I want to integrate in an automatic build-process, so I would prefer tools that can be executed through command-line.


Hi I need to prove the following Gronwall inequality  Let  $I := [a, b]$ and let $u, \alpha: I \rightarrow \mathbb{R}$ and $\beta: I \rightarrow [0, \infty)$ continuous functions. Further let   $$ u(t) \leq \alpha(t) + \int_a^t \beta(s)u(s){\rm d}s$$  for all $t \in I $. Then the inequality $$ u(t) \leq \alpha(t) + \int_a^t\alpha(s)\beta(s)e^{\int_s^t\beta(\sigma){\rm d}\sigma}{\rm d}s $$  holds for all $ t\in I $.

The Gronwall lemma is a well known and very useful statement which is used in many situations, in particular in the theory of differential equations. I have seen it so many times and even the proof is very easy to understand. But at the end of the day it is seems to me a very technical 'thing', I never have been able to develop some intuition for it.  Neither the statement seems very intuitive nor the proof of it, so that it becomes impossible for me to remember it after some time.  Can anyone 'explain' (whatever this means) to me the intuition behind the statement or does anyone has some picture in mind which helps to grasp the idea of Gronwall's lemma? I have in mind the  of this lemma.


I run 14.04 on my main PC and 12.04 on my old PC ( built 2003 ). My old PC runs OK on 12.04. If I load 14.04 it runs so slow it cannot be used. The main PC is OK using 14.04.  Specs are:  Main PC:   3.9gb ram Pentium(R) dual core CPU E5300 @ 2.60 GHz x 2 graphics Gallium 0.4 on NV98 32 bit Disk 74.4 GB   Old PC:   1.5gb ram AMD Athlon(tm) XP 1600+ Graphics unknown 32 bit Disk 18.0 GB   Any ideas what the problem is and what I should do?

I just installed Ubuntu 14.04 on a Dell laptop with 1.7Ghz Pentium M and 1Gbyte memory.  Graphics are Intel® 852GM/855GM x86/MMX/SSE2, OS type is 32bit.  The whole system is VERY slow. When I launch the applications manager, for example, I need to wait in order to see the letters I typed appear!  It is as if the CPU was overloaded and no memory available, but I only have Firefox running.  How can I make the system run smoother? It used to have Windows XP installed and it worked fine.


So I am literally a illustrator noob with literally 4 hours of experience since writing this post. I am creating a logo for my school robotics team and I wanted to make the background of the logo transparent for our team website but realized that while I can make the background of the logo transparent the objects cannot be transparent. I was wondering how can I keep the effects of the objects while still making them transparent.  Here are some images of my logo and my situation.   The first image is what I have on Ai.       This is my image converted to the pdf file, as you can probably tell I want the white parts to be transparent (sorry for the bad image on the 2nd one btw).     if image does not show

This is an odd request and something I've never had to worry about in Illustrator until now. I'm building out a logo that will be printed on a shirt. Instead of having a solid black border around the vector hand, the client wants the black border to be "transparent" so when it is placed on top of a pattern, you see the pattern background. I have an example below of what I'm trying to accomplish.      The second photo I mocked up in Photoshop to show what I'm trying to do. It's very easy to select the border path in Photoshop and simply wipe it out. Does Illustrator have a "transparent" fill option in the Path area? Selecting a color and dropping the transparent percentage didn't do the trick.


In The Incredible Hulk, Emil Blonksy receives a serum based on that from Project: REBIRTH that is intended to make him a stronger, faster soldier. Based on the events at the University confrontation with The Hulk, this was a success.  However as Erskine states in "Captain America: The First Avenger":     The serum amplifies everything that is inside, so good becomes great; bad becomes worse.   The only reason that Emil Blonksy became the Abomination was because he asked for more serum, and eventually pressured Samuel Sterns to give him further treatment.  Given Blonksy's pre-serum attitude, could the serum he received be considered a success (given that it made him 'worse')? Also if the treatment were used on someone good with the qualities of Steve Rogers could the actual success of Project REBIRTH be replicated?  Note: This is primarily about the Marvel Cinematic Universe, but if there are comic references that show that other people have the potential that Steve Rogers had under the influence of the super-soldier serum thats good too.

In Marvel Cinematic Universe, military tried to create super soldiers like Hulk, but they failed. So, the program was shut down.  Where did they fail? Didn't Blonsky get Wolverine-type super healing capability? Why couldn't it make the military stronger? Other than this, wasn't Abomination a success (despite the fact that it wasn't an original work of the military)? He was defeated by Hulk, but enemy forces don't have a Hulk. When it comes to anger, who cares as long as you are focused on the target? Abomination was indeed in full control and he was always after Hulk.


There is a mysterious unidentified folder C:/users/public/L001 where this L001 is the folder bothering me.  It has a size of 41 GB . It's size is constantly increasing , about 0.1 GB every 3-4 days.   It contains about 1,90,591 Files currently. Even the number of files is increasing.  All the files are extension-less. All of them have the name of format date_time. For example : 2012-09-02_08-45-50.   Then there are similarly names files of name : fcdate_time  And then there are files with name : sddate_time  It also contains following files (extensionless) :    W0000 of size 151 MB. W0002 W0003 subcfg   (Last three have size of few KBs)  I cannot understand what is causing this. I am not sure whether or not to delete the folder because i want to free up some space.

What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


I propose the Articulate badge, to be awarded for posting [n] questions which   remain up for [given amount of time]  receive no edits  receive at least one up-vote  receive at least one answer with an up-vote   Basically, a reward for perfect presentation.  This will encourage well-crafted questions, which are valuable because:   They help the poster to . They elicit .   Negatively, this could promote spurious editing with the malicious goal of preventing someone else from receiving the award.  Spurious editing is actively discouraged so perhaps we're safe.

Bronze/Silver/Gold badges awarded for having 10/50/200 questions which have not had any edits.  Includes questions at least a week old that are still open.  Encourages people to review their questions before submitting (some people like to submit, then review, but by the time they've submitted the edited version it's halfway down the main page and gets a bump, even within the 5 minute edit window).


I have a BAT file that I am running using the following code:  @ECHO ON java com.mypackage.test send   which result in this:  C:\myfolder>java com.mypackage.test send EXEC Sending... Received 1 response(s) Status Code: C00   How do I take the Status Code value (C00) and save it to a string in my WinForm C# application so I can use it for other actions?  I set the..  proc.StartInfo.RedirectStandardError = false; proc.StartInfo.RedirectStandardOutput = true;  but not sure what to do next...

How do I invoke a console application from my .NET application and capture all the output generated in the console?   (Remember, I don't want to save the information first in a file and then relist as I would love to receive it as live.)


$f$  be an entire function such that $f(0)=0, f(1)=2$ Then  (i) there exist a sequence $(z_n )$ such that $|z_n | > n$ and $|f (z_n )| > n.$  (ii) there exist a sequence $(z_n )$ such that $|z_n | > n$ and $|f (z_n )| < n.$  (iii) there exist a bounded sequence $z_n  $ and $|f (z_n )| > n.$  (iv) there exist a sequence $(z_n )$ such that $|z_n | \to 0$ and $f (z_n ) \to 2 .$  $f(z)=z(z+1)$ is an entire and satisfis the condition,but this function does not satisfies (iv) by taking $z_n={1\over n}$, (i) is satisfied by taking $z_n=n+1$, but what  am I supposed to do here?  what about (ii),(iii)? thanks for the help.

I am stuck with the following problem: (GATE-Question)  Let $f:\mathbb C\rightarrow \mathbb C$ be an arbitrary analytic function satisfying $f(0)=0$ and $f(1)=2.$ Then, which of the following items is correct?       (a) there exists a sequence $\{z_{n}\}$ such that $|z_{n}|> n$ and $|f(z_{n})|> n$,   (b) there exists a sequence $\{z_{n}\}$ such that $|z_{n}|>n$ and $|f(z_{n})|< n$,   (c) there exists a bounded sequence $\{z_{n}\}$ such that  $|f(z_{n})|> n$,   (d) there exists a sequence $\{z_{n}\}$ such that $z_{n} \rightarrow 0$ and $f(z_{n})\rightarrow 2.$   I do not know how to progress with the problem or what property to use. Please help. Thanks in advance for your time.


How do I clear the items in Vinagre under Remote > Recent Connections?  I've done  and it does not work.  I've deleted the entire Vinagre profile directory ~/.local/share/vinagre and it somehow regenerates the recent connections list.  I uninstalled and reinstall Vinagre... still there!  Where the heck is this stubborn list stored that I can actually delete it?

First, I know how to do it in Ubuntu. I could use Activity Log Manager to clear recent history.  However, it does not work on Xubuntu 12.04. The "recently used" history is always there after I tried using Activity Log Manager to clear all history.  In addition, BleachBit and Activity Journal both do not work.


I moved my Blender files into a new folder, to help clean up my directory, but my textures went pink. I remember this happened before to me, but I can't remember how I fixed this. How do I designate in Blender the new locations of these files on my HD. Does anybody know how to help me? Thanks!

I made a character, and its one of my first times texturing, and I saved my character into a new folder, and when I came back to the model ALL the textures were pink, I used to know what to do, but I stopped texturing, how do I bring my textures back?


Part of a script I am writing utilizes rm -rf to completely remove two directories.  These directories are relatively large and can take a considerable amount of time to remove.   Currently the directories are removed sequentially:  rm -rf dir1 rm -rf dir2   Would it be any faster to remove them simultaneously in the background via:  rm -rf dir1 & rm -rf dir2 & wait   If so why?

One program created lots of nested sub-folders. I tried to use command  rm -fr * to remove them all. But it's very slow. I'm wondering is there any faster way to delete them all?


I started getting errors when installing packages using apt-get after unsuccessful Oracle JDK 7 installation.These errors come up even when I'm installing packages unrelated to Java. For some reason apt-get tries to install jdk (and fails) every time I install something. Here is the output from when I try to install vim: How can I fix this?  Reading package lists... Done Building dependency tree        Reading state information... Done Suggested packages:   ctags vim-doc vim-scripts The following NEW packages will be installed:   vim 0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded. 1 not fully installed or removed. Need to get 1 036 kB of archives. After this operation, 2 458 kB of additional disk space will be used. Get:1 http://lv.archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim amd64 2:7.4.1689-3ubuntu1.2 [1 036 kB] Fetched 1 036 kB in 0s (1 778 kB/s) Selecting previously unselected package vim. (Reading database ... 266223 files and directories currently installed.) Preparing to unpack .../vim_2%3a7.4.1689-3ubuntu1.2_amd64.deb ... Unpacking vim (2:7.4.1689-3ubuntu1.2) ... Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ... Downloading Oracle Java 7... --2017-12-09 21:57:26--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 81.198.165.219, 81.198.165.233 Connecting to download.oracle.com (download.oracle.com)|81.198.165.219|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following] --2017-12-09 21:57:26--  https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.86.54.138, 2a02:26f0:18:489::2d3e, 2a02:26f0:18:499::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.86.54.138|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1512849566_e3b01a3ab3696363f4f5cbd105ec04d6 [following] --2017-12-09 21:57:26--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1512849566_e3b01a3ab3696363f4f5cbd105ec04d6 Connecting to download.oracle.com (download.oracle.com)|81.198.165.219|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-12-09 21:57:26 ERROR 404: Not Found.  download failed Oracle JDK 7 is NOT installed. dpkg: error processing package oracle-java7-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Setting up vim (2:7.4.1689-3ubuntu1.2) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode Errors were encountered while processing:  oracle-java7-installer E: Sub-process /usr/bin/dpkg returned an error code (1)

I am attempting to install java7 in a docker image. This was working till a few days ago. Commands are:      apt-get --fix-missing update     apt-get -y upgrade      apt-get -y install software-properties-common     add-apt-repository ppa:webupd8team/java     apt-get -y upgrade     apt-get -y update      echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections     apt-get install -y oracle-java7-installer   Output is:         Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...        debconf: unable to initialize frontend: Dialog        debconf: (TERM is not set, so the dialog frontend is not usable.)        debconf: falling back to frontend: Readline        debconf: unable to initialize frontend: Readline        debconf: (This frontend requires a controlling tty.)        debconf: falling back to frontend: Teletype        Downloading Oracle Java 7...        --2017-05-29 16:54:29--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz        Resolving download.oracle.com (download.oracle.com)... 104.96.220.162, 104.96.220.106        Connecting to download.oracle.com (download.oracle.com)|104.96.220.162|:80... connected.        HTTP request sent, awaiting response... 302 Moved Temporarily        Location: (REMOVING H-T-T-P-S BECAUSE I DON'T HAVE ENOUGH REP POINTS)://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following]        --2017-05-29 16:54:29--  (REMOVING H-T-T-P-S BECAUSE I DON'T HAVE ENOUGH REP POINTS)://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz        Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.196.115.62, 2600:1408:10:184::2d3e, 2600:1408:10:185::2d3e        Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.196.115.62|:443... connected.        HTTP request sent, awaiting response... 302 Moved Temporarily        Location: (REMOVING H-T-T-P BECAUSE I DON'T HAVE ENOUGH REP POINTS)//download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1496076904_47c6805122b1f8131f00e210452116ca [following]        --2017-05-29 16:54:29--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1496076904_47c6805122b1f8131f00e21                                                0452116ca        Connecting to download.oracle.com (download.oracle.com)|104.96.220.162|:80... connected.        HTTP request sent, awaiting response... 404 Not Found        2017-05-29 16:54:31 ERROR 404: Not Found.         download failed        Oracle JDK 7 is NOT installed.        dpkg: error processing package oracle-java7-installer (--configure):        subprocess installed post-installation script returned error exit status 1        Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...        Setting up x11-common (1:7.7+1ubuntu8.1) ...        debconf: unable to initialize frontend: Dialog        debconf: (TERM is not set, so the dialog frontend is not usable.)        debconf: falling back to frontend: Readline        debconf: unable to initialize frontend: Readline        debconf: (This frontend requires a controlling tty.)        debconf: falling back to frontend: Teletype        invoke-rc.d: policy-rc.d denied execution of start.        Processing triggers for ureadahead (0.100.0-16) ...        Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...        Setting up xfonts-utils (1:7.7+1) ...        Setting up gsfonts-x11 (0.22) ...        Processing triggers for libc-bin (2.19-0ubuntu6.9) ...        Errors were encountered while processing:         oracle-java7-installer        E: Sub-process /usr/bin/dpkg returned an error code (1)        The command '/bin/sh -c apt-get install -y oracle-java7-installer'            returned a non-zero code: 100


For past 2-3 years, I could work on my laptop from my room seamlessly but from past 2 days I've been facing some problem with network. It detects my WiFi right but when I try to connect , it pops up the troubleshooting message. I tried restarting my router modem, it didn't work. I can connect to it in my hall. But I can't connect in my room where as my cell phone seems to connect WiFi. I'm currently running in windows 7 professional , please help.

I can't connect to wifi with my laptop but I can connect to wifi with my phone, ps3 and ipod etc. I can actually connect to the internet with my laptop when I use a cable to connect to the router. Does anyone know what my problem is?  My connection worked perfectly before, but 3 days ago it just stopped working. I have windows 8. In the corner it just gives me a perfect bar connection and I cant find any solution on internet.  Thank you


I was wondering if there was an elementary proof, so not using the exponential function, that $2^x$ is derivable. I define the function $f(x) = 2^x$ by $f(a/b) = \sqrt[b]{2^a}$ for a and b integers, and I extend this function by continuity for the rest of the reals. Because we have $\lim_{h\to 0} \frac{2^{x+h} - 2^{x}}{h} = 2^{x} * \lim_{h\to 0} \frac{2^{h} - 1}{h}$, I just need to show that this last limit exists, but I couldn’t do it.  This question is interesting to me, because it could be an elementary way to prove that there is a unique real positive number e, such that $(e^x)’ = e^x$. We see easily that $2^x$ is continuous and strictly increasing, therefore we can define $\log_2(x)$ for $x > 1$. We define $a = \lim_{h\to 0} \frac{2^{h} - 1}{h}$, and we have for all real number $r > 1$, $(r^x)’ = (2^{\log_2(r)*x})’ = \log_2(r)*a*r^x$. If we pose $e = 2^{1/a}$, we have $(e^x)’ = e^x$.  Edit : my bad, I found quite the same question here : , and there’s a pretty neat answer by zhw.

Taking as our definition of exponentiation repeated multiplication (extended to real exponents by continuity), can we show that the limit   $$\lim_{h\to 0}\dfrac{a^h-1}{h}$$  exists, without l'Hôpital, $e$, or even natural logarithm? Sure, l'Hôpital will work, but that's circular if we're developing calculus of transcendentals from first principles. There is  to this question already by user Neal, but he uses the exponential function with base $e$ (it's been answered many times: see also , , and ).   But using the special properties of $e$ strikes me as circular too; not literally logically circular, in the sense that we are invoking results we're trying to prove, since there are definitions of $e^x$ which make it trivial to verify the derivative. But perhaps pedagogically circular for a complete novice, the special properties of $e$ appear unmotivated because they cannot be justified without reference to the very derivative we are trying to compute (or else a detour through logarithms, but let's not).  Can we find nice squeeze theorem bounds like Neal has, but for the function $a^x$ instead of $e^x$, with the additional handicap that we can't just write $a^x=e^{x\log a}$? I thought to substitute a series expansion for $\log a$, but didn't come up with any bounds that were nicely polynomial in both $x$ and $a$.  I wonder whether the geometric proof of $\lim (\sin x)/x$ (see for example, robjohn's answer ) could be adapted.  Obviously without a reference to natural logarithm, we cannot compute the value of the limit. But I just want to show it exists (via squeeze theorem or monotone convergence). Once we know this limit exists, we can show it behaves like a logarithm, whence there is a unique base for which the limit is 1, which we call $e$. The rest of the development of calculus of exponentials and logs follows easily. This seems like the approach that would appear the most accessible yet motivated to a novice calculus student.   An analogous limit to $\lim\dfrac{a^h-1}{h}$ for understanding to differentiating exponential functions, are the limits $\lim\limits_{n\to\infty} (1+\frac{1}{n})^n$ and $\lim\limits_{n\to\infty} (1+\frac{1}{n})^{n+1}$ for differentiating the logarithm, if you prefer to start with that as your primitive concept. Both limits are shown to exist using  (see WimC's answer  for the first limit, and see David Mitra's answer  for the second limit). I tried without success to use Bernoulli's inequality to show my sequence was monotone. This limit can also be analyzed using  as seen in user94270's answer to . So that inequality may help here.  I would also accept an explanation of why the limit cannot be computed without transcendental techniques, or an opinion why this is not a pedagogically sound approach to introducing the calculus of exponentials and logarithms.  Edit:  has a nice solution by Paramanand Singh to a closely related problem.


I am new to ANDROID DEVELOPMENT. I learnt java before jumping in to Android. I see this code in a book and I am stumped.  How does this even work?  I get the part that the setbutton method of progressDialog class is receiving parameters.  But the 3rd parameter is a class? I though new keyword is used to create a new type (a class). how is that a method (.OnClickListener) is being referenced when the class is being created on top of all, there is another method(onClick) being created inside it. Obviously, there is something in java I am not aware of. Can someone tell me if there is a tutorial on this concept in java? I am not worried about a button being created and being clicked on. I am talking about the concept of this programming used in here.   Thank you so much.  progressDialog.setButton(DialogInterface.BUTTON_POSITIVE, “OK”,     new DialogInterface.OnClickListener() {         public void onClick(DialogInterface dialog,int whichButton)         {             Toast.makeText(getBaseContext(),“OK clicked!”,                  Toast.LENGTH_SHORT).show();         } });

What is the use of anonymous classes in Java? Can we say that usage of anonymous class is one of the advantages of Java?


Does the aperture rating scale with sensor size the way focal length does?  For example, is a 25mm 1.2 MFT lens equivalent to a 50mm 1.2 FF lens or to a 50mm 2.0 FF lens?

If APS-C and similar crop-sensor digital cameras have a focal length multiplying effect such that a 50mm lens has an apparent focal length closer to the field of view of an 80mm on a full frame camera, and yet at the same time the depth of field for the smaller sensor camera is more like the depth of field a 50mm lens would produce on a full frame camera (using the same aperture), then this would seem to suggest the concept of an "aperture dividing effect."  In other words, a 50mm f/1.8 lens on an APS-C camera would act more like a 80mm f/2.8 (approx. 1.8 * 1.6x) lens in 35mm equivalent — for depth of field, not considering exposure.  Can someone with a better understanding of the physics involved clarify this for me.  I've never seen this concept explicitly mentioned anywhere, so I am a bit suspect of it.


Flash on Ubuntu 16.04 never works on any browser; i.e.; chrome, chromium, and firefox. <<< updated, plugins enabled and updated, contents/privacy setting properly checked. dns pointing same as my windows pc, which plays flash on internet radios; i.e.; bbc.co.uk, tsf jazz, nhk online <<< none plays on ubuntu. What else to do? Now I can never listen to any internet radio.

Even though I have the latest Adobe Flash player 11.2 for Linux in Firefox -   - a particular online flash game still requests that I update to the latest flash player.  I've tried this online game on my laptop (Windows 8 with Flash Player 11.8) and it has no problems.  Is there a way to trick Ubuntu or this game into thinking Flash Player 11.8 is "installed"?


During the installation of Ubuntu server 16.04 I opted out from installing "standard system utilities" by mistake. Is there any way to install them with apt-get install command easily ?

My googlefu has failed me. What packages are part of the "standard system utilities" that is preselected during install?  TIA! (-:


If MSB comes in first, we can keep track of the remainder for each new bit since the additional bit will either cause the number to be 2x or 2x+1.  But if LSB comes in first, how can we come up with the fsm? I found some fsm but I wasn't able to understand how they came up with it. Can someone please explain how to go about doing this?    I was just wondering how one can come up with this fsm? I didn't really understand the description in the other post.

I saw a nice interview question for VHDL - build a system that receives a number and detects if it can be divided by 5 without remainder.  I tried to solve that with a state machine (I suppose they don't want you to use mod or rem) and while I did have initial success (numbers like 5, 10, 15, and numbers such as 20, 40, 80 worked), other numbers like 130, 75 and so on failed for me.  I would show my state machine but it's a complete mess (it's not a code, it's a drawing), and like I said, not even working.  Basically what I tried to do is write down in binary numbers that are divisible by 5, and build a state machine that will work for them.  I would be glad if you could show me how to solve this problem, and how to think when facing something like this.  Thank you!


I am currently developing a managed app where I have a Visualforce Page that should that should be used only by the System Admins.   I wanted to know if there is any consistent way of figuring out if the current user is an Administrator or not, other than checking by the Profile with a hardcoded value like 'System Admin'.  The workaround that I've thought so far is:  After installation notify all users that the app/package was installed, and if you're a System Admin, you should go to the custom settings and define a hardcoded value for the Profile of the System Admin that you are using. If there are 2 system admins(even though I wouldn't understand why would it be the case to have more than one), one of them will do the work.   After that, I can succesfully detect if the user is a System Admin and I can let him do some "administrative" stuff relevant to the functioning of my app.  Is there any other workaround that is more consistent and avoids this round trip of configurations?

I have a query on profile like  profilename = [Select name from profile where id=:userinfo.getUserprofileid ].name  Now I have a check in  VF page  like  profilename  == 'System Administrator' . this works fine if the logged in user language is english. If the user language is different then profile name will be  'System admin' in that language . So how to prevent this beahviour?   Also  is there any particular field in profile which I can use  to identify the profile is system admin? so that I can have check on that field instead of checking for name which is causing the problem, for example I think modifyall filed is only checked for system admin.


We know an automorphism on $\mathbb{R}$ must fix $\mathbb{Q}$. If we assume the usual order structure and topology on $\mathbb{R}$, then we can use the density of $\mathbb{Q}$ to show an automorphism must be the identity map, similar to the answers in .   If we do not assume the usual ordering on $\mathbb{R}$, is it still true that any automorphism is the identity map?

Is an automorphism of the field of real numbers $\mathbb{R}$ the identity map? If yes, how can we prove it?  Remark An automorphism of $\mathbb{R}$ may not be continuous.


i'm trying to get some values from jTable (the values in JTable are from MySQL) to JTextField.   I got "Null Pointer Exception" after selecting the row.  After i put Line BreakPoint i see that row number is get. But at the rs=ppst.executeQuery(); line it shows me NullPointerException.   What's wrong?  here is my code:  private void jTableStudentaiMouseClicked(java.awt.event.MouseEvent evt) {                                                      try{             int row = jTableStudentai.getSelectedRow();             String Table_click = (jTableStudentai.getModel().getValueAt(row, 0).toString());              String sql = "select * from studentas inner join grupė on studentas.GrupėsID=grupė.GrupėsID where StudentoNr ='"+Table_click+"'";        ppst=co.prepareStatement(sql);        rs=ppst.executeQuery();        if(rs.next()){         String add0 = rs.getString("StudentoNr");        jTextField1.setText(add0);        String add1 = rs.getString("Vardas");        jTextFieldVardas.setText(add1);        String add2 = rs.getString("Pavardė");        jTextFieldPavarde.setText(add2);        String add3 = rs.getString("EPaštas");        jTextFieldPastas.setText(add3);        }         }catch(Exception e){             JOptionPane.showMessageDialog(null, e);         }`

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


I used:  sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-2.0 \ guile-2.0-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev \ libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev \ libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev \ libslang2-dev libasound2 libasound2-dev   I got:  E: Unable to locate package libesd0-dev   I was following  but it's not working.  I want to use <graphic.h> in Ubuntu for C programs.

I need to install libesd0-dev, but while it is available on earlier versions of Ubuntu from apt-get, it's not available for 18.04. Is there still a way for me to install it, or do I have to downgrade?


I can't find the problem, but my house (pictured) is not valid. There are no corruption/crimson on the screen and I have tried different furniture.  I keep getting the same error though:     This is not valid housing     Updated screenshot:  The walls are Spooky wood and Demonite brick.

I read on the wiki that people will move in under the following conditions:   You do something to please them An empty house is available with a light source, table, and chair (also with walls).   I have a house which is about 7x8, then a roof space above that; about half the area. I could put furniture up there too, but will anyone move in?


I am working with the redshift phenomena and analyzing the spectral lines of various emissions by galaxies. However, when I came to analyze the change in wavelength I was confused on what to compare to in terms of rest emitted wavelength. I found various values for the same ionized atom that varied tremendously. I am wondering if there were accepted values for the wavelength emitted by the atoms?

I am looking for a database of atomic spectra, which contains   atomic levels and their energies, electronic configurations, angular-momentum characteristics and lifetimes, and atomic transitions and their energies, initial and final states, linewidths and branching ratios,   and that kind of data, ideally for a broad range of neutral atoms and ions covering the full periodic table.  Ideally, I'm looking for reliable databases which do not have intermittent service interruptions, though databases from countries with intermittent service are also OK.


That is part of my homework and I really have no idea about that. Really need some help. There is the question: In our proof system for Sentential, if there is a proof of ℬ from 𝒜 then 𝒜→ℬ is a tautology. Use a proof to show that the following sentence is a tautology. (𝑃∧𝑄)→¬(¬𝑃∨¬𝑄)

Is it possible to prove De Morgan’s Laws without showing a contradiction otherwise. I’m actually asking because I’m wondering if it’s possible to prove De Morgan’s law without assuming the Law of Non-Contradiction


I don't want it to rain in my world, it is annoying and I always have to type /toggledownfall.  Can someone please tell me how to make it so that it doesn't rain unless I want it to? Like if I would like it to rain, I would do /toggledownfall so that it rains, but I want it to not start raining naturally.  How can I stop rain in my world forever unless I want it to?

The arrival of Minecraft Beta 1.5 brought weather conditions. However, it can at times be inconvenient when you're trying to screenshot something and show it off (as it reduces lighting and obstructs your view slightly). Is there anyway to turn weather off?  Alternatively, is there a way to speed up the duration of weather or "skip" it?


I run a server. Should I be concerned about zombie processes? Do they consume any system resources (RAM, process table entry, etc.) that I should be concerned about?

I will execute following command for reaping zombie   /usr/bin/preap $(ps -ef | grep defunct | grep -v grep | awk '{ print $2 }' | xargs)   Is there any service impact of this approach ?


I'm trying to center the div{class="informationbox"} so that the div's inside will always be centered in the page, No matter how many divs there is inside.    .informationbox{   left: 0;   right: 0;   margin: 0 auto;   display:block;   position: absolute; }

Something

Wall of Text

Something

Wall of Text

Something

Wall of Text

How can I horizontally center a
 within another
 using CSS?

Foo foo


I am from Palestine and I have applied for a business academic visa and got refused due to financial and personal issues. Photo of refusal attached.  I have submitted another application in which I have justified each and every point they have commented on in the first refused application, which I believe convincing.  I have missed to mention that I have submitted an application previously and got rejected. For that reason, the visa got refused again.  Shall I submit a third application, considering that they have mentioned that I am more likely to be refused again?

I am a Nigerian citizen.  In 2007 I was twice denied a visa to the UK.  Recently I was filling out an application for another UK visitor visa and by mistake I answered no to the question whether I had ever been denied a UK visa, instead of yes.  When reviewing my application, the visa officer found out about the previous visa rejections and as a result I got a 10 year ban on travel to the UK.  What can I do to lift my 10 year ban?   Will this ban affect my chances of obtaining a visitor visa to the USA?


Hi i am developing an android application for a project in college , for the application i am using a WAMP server with a MySql DB running on my laptop, i am using PHP files to communicate with the DB from the android app. I am wondering what would be my best option to store images from the application. Would i be better of storing the images in a directory on the server and store location in the DB or would it be better to encode the image directly into the database?  thanks  (the application is a online shopping model and the images would be uploaded for each item for sale.)

So I'm using an app that stores images heavily in the DB. What's your outlook on this? I'm more of a type to store the location in the filesystem, than store it directly in the DB.  What do you think are the pros/cons?


I want to make a list containing list of 4 elements and so on from a list of 100 elements without using numpy. For suppose x = [list containing numbers from 1 to 100] I want  to store these 100 elements in a manner that y = [[1,2,3,4],[5,6,7,8].......[97,98,99,100]]

I have a list of arbitrary length, and I need to split it up into equal size chunks and operate on it. There are some obvious ways to do this, like keeping a counter and two lists, and when the second list fills up, add it to the first list and empty the second list for the next round of data, but this is potentially extremely expensive.  I was wondering if anyone had a good solution to this for lists of any length, e.g. using generators.  I was looking for something useful in itertools but I couldn't find anything obviously useful. Might've missed it, though.  Related question:


I've been rereading the HP books and something keeps bugging me. In Chamber of Secrets the Ministry assumes Harry used magic, because he was the only magical being around, so basically that was their explanation. They couldn't actually trace the spell to him and not Dobby.   So I was wondering what if Ron or Ginny or the twins used magic at home? Could they have been traced because they are underaged or would the Ministry just assume that Mr or Mrs Weasley used magic instead?   Sorry if anyone else asked the same thing, but honestly, I couldn't find an answer.

Well, as the trace is present upon an underage Wizard before he comes of age, hence the Ministry being able to detect underage magic immediately whenever the underage Wizard does it, I still don't quite understand the following situations.  (Is it traceable by location or by person?)  When Dobby did the Hover Charm (Year 2), the Ministry couldn't differentiate whether it was indeed Dobby or Harry Potter who performed it. Suggesting the Ministry detect some kind of magic at a particular address they have on record as being resident to an underage wizard?  However, when Arthur Weasley visited Harry Potter at Privet Drive (Year 4), he did a lot of magic, including magically dodging the teacups Mr. Dursley was throwing as him, and as well as performing an anti-Engorgment charm to return Dudley's tongue to a normal size. So how come did the Ministry differentiate who actually performed magic?  Moreover, at The Burrow, what happens if an underage Harry or Ron performs magic? Can't simply the elders say they performed magic instead?  Update: After reading two answers below I'm still confused. If magic is location based, Tonks, Madeye and Dumbledore all do a lot of magic at Privet Drive and Harry is never caught. Additionally, can't Harry do magic at The Burrow and Mrs. Weasley simply say she did it instead. Whereas if Magic is person based, obviously it isn't because they could differentiate that Dobby performed the magic and not Harry.


What is the command used to get the small red book symbol near the reference in the following image in a beamer document:    Please   Thank you

I want to list my references in a beamer presentation using thebibliography environment, with the nice little    book icon (\beamertemplatebookbibitems) and  article icon (\beamertemplatearticlebibitems)   in front of each source.  Is there an icon for websites too? something like \beamertemplatewebsitebibitems? If not, is there a way to implement this easily ?


My wife and I just got the Xbox version of Minecraft and cannot figure out what version it is running compared to the PC. We have been playing the PC for around 2 years now and when we switched, it seemed like we went back in Minecraft time. With limited room to play and a lot less crafting recipes. What version of Minecraft does the Xbox run?

What differences does the Xbox 360 version of Minecraft have compared to playing on the PC? To clarify - I'm concerned more about the differences exclusive to each platform, not just differences of features that will probably be added in future updates (for example, crafting). Otherwise, I feel this question could be compared to "What is the difference between Minecraft version x and version y", which isn't what I'm asking.


That is, does the invariance of the speed of light hold for accelerated observers?

The speed of light is the same in all inertial frames.  Does it change from a non-inertial frame to another? Can it be zero?  If it is not constant in non-inertial frames, is it still bounded from above?