I have a problem with the citation in winedt .When I put \cite and compile the code I find interrogation point in pdf generated . The winedt does not show any error but he show a 3 warnings    This is the code guy's  \documentclass[a4paper,11pt]{book} \usepackage{natbib} \usepackage[squaren, Gray, cdot]{SIunits} \usepackage[export]{adjustbox} \usepackage{subcaption} \usepackage{caption} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{mathpazo} \usepackage{graphicx}   \begin{document}      bla bla bla bla bla bla bla bla bla \cite{ben_mot_dies}       \bibliographystyle{plainnat}      \bibliography{mot}  \end{document}    Also this is the bib_text :  @MASTERSTHESIS{ben_mot_dies,   author =       {Benarfaoui.B},   title =        {Etude du moteur Diesel},   school =       {Université         de Mohamed Kheider Biskra},   type =         {Mémoire fin d'étude}, } @book{cleynen2015thermodynamique,   title={Thermodynamique de l'ing{\~A}{\copyright} nieur},   author={Cleynen, Olivier},   year={2015},   publisher={Lulu. com} }   Thank you
I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists.   \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{Nobody06}.  \bibliography{mybib} \bibliographystyle{plain} \end{document}   My bibliography (Bib.bbl)  @misc{ Nobody06, author = "Nobody Jr", title = "My Article", year = "2006" }    Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg  \begin{thebibliography}{}  \end{thebibliography}
How to sort a ConcurrentSkipListMap by value? Why won't this ocelot do anything but breed? I've recently bought a new Android smartphone. After setting it up and loading my contacts onto it I thought that would be it.  Now after some days, every time I unlock the phone it takes a few seconds before it opens the default browser and opens some spam website. I tried to see what was causing it. I removed any apps I didn't know I could trust, but the problem persisted. After trying to solve it for some time I gave up and reset the phone to factory default. Now after having it reset to the default it ran without issues for roughly a week before the problem reappeared.    I tried to uninstall some apps in order to see if they were to cause of it, but nothing changed after doing so. However I did notice that if I turn off the wifi it won't even try to open the browser (I haven't tried mobile data since I don't have a bundle). This makes me feel like it might be related to something on the network but that wouldn't explain why only that phone would have the issue when there are at least 6 android phones on that very same network.  I hope that there is someone who can help me find the cause of this issue and help me solve it.  TL;DR When unlocking my phone, it opens the browser and tries to open a spam website. But only does so while connected to the wifi.  Things I've tried so far:   Factory reset (only helped for a limited time) Clearing the browser cache and all related data  Removing any app I don't know to be reliable Attempting to find what triggers it (seems like some type of internet connection is required??)   The device is the Doogee Shoot 1. As for the browser, the default is set to be the Android browser, but if I change the default it would use Chrome just as well. It seems to really just use the browser that is set to default. Many people want to try/use Android without buying a new Android phone.  How can I install Android on my current phone or device running Nokia Symbian, Maemo, or MeeGo; Microsoft Windows Mobile or Windows Phone 7/8/10; Apple iOS (iPhone); RIM's BlackBerry OS; Palm's WebOS; Samsung's Bada; HP's WebOS; Mozilla's Firefox OS; or other phone / operating system? Is it possible to annotate equations (i.e. arrow signs/curly braces) to define each variable? I have quite a simple question. I was wondering if it was possible to do something like this in LaTeX:    But formatted a little more nicely.  It doesn't need to be arrows necessarily. Just some form of annotation marker. Why does the dock appear on the left when my screen is locked? The dock doesn't work correctly after I enter my password, either. I just installed Ubuntu alongside to Windows 7, and now Windows 7 will not boot.  When the system starts, it shows me entry for Windows 7 in the boot menu, when I click on the Windows 7 option in the boot menu, after few seconds it will show me the boot menu again and Windows will not boot. It shows me no error message. Windows 7 option is available in the boot menu but it just does not boot.  Here are my boot info results   update - 30/01/2012 I tried windows recovery - fix startup issues - that showed no problems but issues were not resolved  Then I tried the widnows recovery console and run following commands  bootrec /fixboot bootrec/ fixmbr bootrec /RebuildBCD   But that does not help, Now neither ubuntu nor windows will boot. When I boot from windows CD it shows me a valid windows installation in c:\ drive.  update After a lot of help I got from #ubuntu channel and trying out different things, ultimately I can now boot both windows and ubuntu, still, the issue is not completely resolved though.  Here's what made it work  Boot using ubuntu live CD and then run the testdisk utility as steps mentioned  Restart system and I was able to see the boot menu and boot into Ubuntu, then put the following code in boot/grub/custom.cfg. Restart and now I can see one more entry to boot win7, clicking on it boots windows.  menuentry "Windows 7 (loader) with grub ntldr workaround" --class windows --class os   {     insmod part_msdos     insmod ntfs     set root='(hd0,msdos1)'     search --no-floppy --fs-uuid --set=root FAF0F57DF0F54085     ntldr /bootmgr }   It will make windows boot probably but now windows have a dependency on Ubuntu and I can not remove Ubuntu or else windows will stop working.  Credit goes to 'Jordan_U' on #ubuntu channel.   update Here are the win7 boot details I got from EasyBCD  Windows Boot Manager -------------------- identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795} device                  partition=C: path                    \bootmgr description             Windows Boot Manager locale                  en-US default                 {04fe8f95-4b17-11e1-a45c-909d3d25f938} displayorder            {04fe8f95-4b17-11e1-a45c-909d3d25f938} timeout                 30  Windows Boot Loader ------------------- identifier              {04fe8f95-4b17-11e1-a45c-909d3d25f938} device                  partition=C: path                    \Windows\system32\winload.exe description             Windows 7 Home Premium locale                  en-US osdevice                partition=C: systemroot              \Windows resumeobject            {8d25a443-4b0a-11e1-a835-806e6f6e6963}   Note Still, I am looking for how can I have everything clean and how can I boot windows without having a dependency on Ubuntu. so that if ever I have to remove ubuntu, windows will keep booting file without ubuntu. Using Unicode Zero Width Spaces allows all space comments Boolean expression (grammar) parser in c++ Live in Florida & work remote for a New York company. Do I owe NY state income tax? I have been down in Florida for the past 3 1/2 years and continue to pay New York state taxes out of the money I earn for a company I work remote for that is in New York.  Should I be paying New York state taxes on this income?  Or do I not need to pay New York state tax because I live in Florida?  Our NY accountant says I need to continue to pay since company is out of NY, however others say I don't need to pay.  Pls advise which is correct. Thank you. Can't login using ssh as root I am trying to virtualize an old linux server, and the PtoV software requires a password login as root via ssh. However, the root login is being prevented with a "Permission Denied" error on the client end, and a "Failed Password for root" on the server end (when sshd is running in debug mode).  I HAVE set PermitRootLogin yes in /etc/ssh/sshd_config.  This is an old RedHat 7.3 server that has had hardening scripts like Bastille run on it years and years ago, and has many remnants of old OS's (like ipchains - no longer supported by the kernel) lying around. All to say I have little idea what has been altered from the original system, but there is a lot.   I can log in fine as root from the console I can su to root fine from within the console or ssh session I can ssh fine as a regular user.   My question is: What else could be preventing my root login on this server?  More information: /etc/pam.d/sshd   auth       required     pam_stack.so service=system-auth  auth       required     pam_nologin.so  account    required     pam_stack.so service=system-auth  password   required     pam_stack.so service=system-auth  session    required     pam_stack.so service=system-auth  session    required     pam_limits.so  session    optional     pam_console.so   /etc/pam.d/system-auth  auth        required      /lib/security/pam_env.so auth        sufficient    /lib/security/pam_unix.so likeauth nullok auth        required      /lib/security/pam_deny.so account     required      /lib/security/pam_unix.so password    required      /lib/security/pam_cracklib.so retry=3 type= password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5 shadow password    required      /lib/security/pam_deny.so session     required      /lib/security/pam_limits.so session     required      /lib/security/pam_unix.so     Can anybody tell me if the hashing algorithm could be the culprit?  Keeping in mind that I can log in as an unprivileged user. using apt-cache search I am learning how to use apt. When I do an apt-cache search git to see all packages matching git, I see a bunch of packages whose descriptions have nothing to do with git. Why is this so and how can I fix it? (Ubuntu 12.04.2 LTS).  Also, why is the search functionality found in a command that has "cache" in its name? What does search functionality have to do with caches?  Thanks. Browse local copies of websites when possible (Firefox with slow internet connection) I am on a slow internet connection. I would like to use Firefox to load local copies of websites when it exists and is relatively recent (say one week).   An example usage would be browsing a lot of Wikipedia webpages, coming back to the same ones on a regular basis.  I would like to avoid having to manually specify to save single pages on each website I visit (which is what I guess I would need to do with a plugin like ). And I would also like to avoid having to switch between "work offline" or "work online".   Any suggestions? How can I get sql string, generated by Linq2SQL ORM? Does an Animagus's animal form change along with their Patronus? In the two examples shown of an Animagus capable of casting a corporeal Patronus (Minerva McGonagall and James Potter) both had the same animal as their Patronus and as their Animagus animal.  Now, it is also shown that extreme circumstances can change one's Patronus. I think the only example of this was Tonks, which turned from a jackrabbit into a wolf in response for her love of Lupin.  If Tonks (or any other wizard who had their Patronus change) had been an animagus, would her animagus have changed as well? Suppose $X$ and $Y$ are independent positive random variables with probability density functions $f_X$ and $f_Y$ respectively. Show that $Z=X/Y$ is absolutely continuous and find its probability density function.   $\textbf{My Thought:}$ In order to show that $Z$ is absolutely continuous, I need to show that it has a commulative distribution function. Then I can also differentiate the latter to obtain the probability density function of $Z$. I have the following calculation \begin{align*} P(X/Y\leq z)&amp;=P(X\ge zY,Y&lt;0)+P(X\le zY,Y&gt;0)\\ &amp;=\int_{-\infty}^{0}\left(\int_{yz}^{\infty}f_{X}(x)dx\right)f_{Y}(y)dy+\int_{0}^{\infty}\left(\int_{-\infty}^{yz}f_{X}(x)dx\right)f_{Y}(y)dy\\ &amp;=\int_{0}^{\infty}\left(\int_{0}^{yz}f_{X}(x)dx\right)f_{Y}(y)dy. \end{align*} Also, if $z&lt;0$, then we have that $F_Z(z)=0,$ since $X,Y$ are positive random variables. Therefore the random variable $Z$ is continuous, and we can differentiate it to obtain the probability distribution function of $Z$. We have that $f_Z(z)=0$ if $z\leq 0,$ and otherwise we have $$f_Z(z)=\int_{0}^{\infty}yf_{X}(yz)f_Y(y)dy.$$    Is my reasoning above correct?  Any feedback is much appreciated.  Thank you for your time. Can I access private members from outside the class without using friends? Disclaimer Yes, I am fully aware that what I am asking about is totally stupid and that anyone who would wish to try such a thing in production code should be fired and/or shot.  I'm mainly looking to see if can be done. Now that that's out of the way, is there any way to access private class members in C++ from outside the class?  For example, is there any way to do this with pointer offsets? (Naive and otherwise non-production-ready techniques welcome) Update As noted in the comments, I asked this question because I wanted to write a blog post on over-encapsulation (and how it affects TDD).  I wanted to see if there was a way to say &quot;using private variables isn't a 100% reliable way to enforce encapsulation, even in C++.&quot;  At the end, I decided to focus more on how to solve the problem rather than why it's a problem, so I didn't feature some of the stuff brought up here as prominently as I had planned, but I still left a link. At any rate, if anyone's interested in how it came out, here it is:   (I suggest reading it before you decide that I'm crazy). Is it possible to get a fully transparent window in Pygame (see the desktop through it)?  I've found how to create a window without a frame, but there doesn't seem to be any obvious way to make it transparent.  I'd be willing to tie into system-specific technology/frameworks as long as there are solutions for both Windows and Mac OS X, but I'm not sure which direction to be looking.  The only topic I was able to find , which isn't something I can do for this particular project (needs to be Pygame). \section*[toc]{normal section title} not working for me Is there a quasistatic process that is not reversible? I have seen several questions and good answers on the link between reversible and quasistatic processes, such as  or . However, these questions only adress one side of the problem : a reversible process is necessarily quasistatic.  I am interested in the other side of the equivalence : is there a process that is quasistatic, yet not reversible ? It looks to me that an irreversible process cannot be made perfectly quasistatic.  The  article about quasistatic processes takes as an example the very slow compression of a gas with friction. As the compression occurs very slowly, the transformation is quasistatic, and the friction makes it irreversible. I am not convinced by this example : if you press on the piston with a vanishingly small force you will have to reach the threshold of the Coulomb law for solid friction before moving the piston anyway. It makes the process non-quasi-static, however small the Coulomb threshold might be.  Another example I've heard of is the reaction between a strong acid and a strong base. It is always an irreversible process, and you could make it quasistatic by adding very small drops of base into acid at a time. But by trying to do that, you would inevitably reach a limit to the size of the drop imposed by surface tension.  Even if "reversible" and "quasistatic" mean very different things, is it true to consider that in practice, a reversible process and a quasistatic process is essentially the same thing ?