Difference between >> and >>>
Difference between >> and >>> in verilog?
How to enable linking floating point library in TurboC? CUDA Driver API vs. CUDA runtime When writing CUDA applications, you can either work at the driver level or at the runtime level as illustrated on this image (The libraries are CUFFT and CUBLAS for advanced math):   (source: )    I assume the tradeoff between the two are increased performance for the low-evel API but at the cost of increased complexity of code. What are the concrete differences and are there any significant things which you cannot do with the high-level API?  I am using CUDA.net for interop with C# and it is built as a copy of the driver API. This encourages writing a lot of rather complex code in C# while the C++ equivalent would be more simple using the runtime API. Is there anything to win by doing it this way? The one benefit I can see is that it is easier to integrate intelligent error handling with the rest of the C# code. Bounties broken network-wide Beamer Presentation: Figure has no number? I am giving a presentation and therefore I am using the  class. I have included some figures and it works, but there is no number after "Figure".  My code:  \documentclass{beamer}  \usepackage{graphicx} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{listings} \usepackage{xcolor} \usepackage{eso-pic} \usepackage{mathrsfs} \usepackage{url} \usepackage{amssymb} \usepackage{amsmath} \usepackage{multirow} \usepackage{hyperref} \usepackage{booktabs} \usepackage{wallpaper} \usepackage{bbm} \usepackage{cooltooltips} \usepackage{eso-pic} \usepackage{everyshi} \usepackage{calc} \usepackage{graphicx} \usepackage{ifthen} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{animate} \usepackage[singlespacing]{setspace} \usepackage[absolute,overlay]{textpos} \usepackage{enumerate} \usepackage{hyperref} \newenvironment{changemargin}[2]{%   \begin{list}{}{%     \setlength{\topsep}{0pt}%     \setlength{\leftmargin}{#1}%     \setlength{\rightmargin}{#2}%     \setlength{\listparindent}{\parindent}%     \setlength{\itemindent}{\parindent}%     \setlength{\parsep}{\parskip}%   }%   \item[]}{\end{list}}  \setbeamercolor{frametitle}{fg=red,bg=white}  \hypersetup{pdfpagemode=FullScreen} \renewcommand*{\UrlFont}{\normalfont}  \usetheme{Goettingen} \useinnertheme{circles} \beamertemplatenavigationsymbolsempty  \setbeamerfont{page number in head/foot}{size=\large} \setbeamertemplate{footline}[frame number]   %%% \begin{document}  \frame[plain]{ \titlepage }  \setbeamertemplate{background canvas}[default]  \frame{ \frametitle{}  \begin{figure} \begin{center} \includegraphics[scale=0.2]{varweakness} \caption{VaR as a quantile} \end{center} \end{figure}  }   \end{document}   Which gives the following frame with the figure:    (I am not sure what is causing the problem, therefore I did not delete any package.)  How can I get a number, e.g. Figure 1:? Do ideal gases at zero Kelvin have potential energy? Suppose $f:\mathbb{R}\to\mathbb{R}$ is Borel measurable. I want to show that $\displaystyle \int_a^b f(x)\mathrm dx=0$ for all $-\infty&lt;a&lt;b&lt;\infty$ with $a$ and $b$ rational implies that $f=0$ a.e. I'm really not sure how to approach this problem; any help would be welcome. Why do same/opposite electric charges repel/attract each other, respectively? I recently submitted an application to the AppExchange, only to have it not pass the security check due to "Insecure Storage of Sensitive Data Vulnerability." The problem is that my app accesses an external API, for which it has its own API Secret and API Key. These are static, and specific to the Salesforce App- they will be the same for all users, all installations, etc.  Perhaps stupidly, I stored them as private properties of the class that uses them.  private static String apiSecret = 'superS3|&lt;R37'; private static String apiKey = 'sameHerebutdifferent';   It is a Managed app, so users cannot see them. As such, I am puzzled as to 1. why this is insecure and 2. how better to store these values, given that we are apparently operating under the assumption that having them in the text of the class itself is insecure. How can I refinance or get out of a car loan I am upside down on? I purchased a car a little over 1 year ago a 2012 Dodge Avenger and recently went to get it refinanced and found out that because I'm so upside down that I can't get it refinanced I still owe over 15,000 and the car is only worth about 8000. I'm so bothered by this a few days ago I received a pre-approval letter from capital one bank for 35,000 so how can I go about doing this if I trade the car in I will have to put down a substantial amount of money in order to get out of this car. Can I just get the other car and turn the other one in. What should I do Date(time) ranges using `datetime2` Ubuntu Won't Boot After Install on Samsung NP915S3G: error "All boot options are tried." So yesterday I went ahead and bought the Samsung NP915S3G (ATIV Book 9 Lite) and installed Tahr in hope that everything would go smoothly. For the most part it; everything necessary seems to work off the bat. Unfortunately when I restart it, nothing boots. I erased Windows so that's obviously not an option, but the computer seems pretty dead certain that there's nothing there to boot. I think this might have a lot to do with UEFI which is a field I have next to no experience with. There also seems to be a fat32 partition that consistently reappears when I delete it.   Any help is much appreciated, thanks. From this  on Bayesian Least Mean Square estimation:  $$\mathbf E\left[(\Theta -\hat\theta)^2\right] = \rm{var}(\Theta -\hat\theta) + \left(\mathbf E[\Theta -\hat\theta]\right)^2 = \rm{var}(\Theta) + \left(\mathbf E[\Theta -\hat\theta]\right)^2$$  which is to say that $\rm{var}(\Theta -\hat\theta) = \rm{var}(\Theta)$.  I would like to ask how that comes about?  Thanks.  $\Theta$ is the random variable being estimated, and $\hat\theta$ is a constant estimate. I accidentally set an object as camera, how do I undo this? I have a problem with rendering in cycles. In blender render my object is rendering fine, but in cycles when I pushed F12 I got only this:    One more thing: when I click 0 on keyboard I'm not in camera persp, but in object as camera, it looks like invisible layer, I don't know how to undo this, and be in camera persp again.  Does anybody have any idea how to fix this? Hidden fields though inheritance I need backup in pressing my case that the phrase “choose from one of four options” is grammatically incorrect. Is there some resource that can prove my case, that the incorrect phrase should be replaced with one of the two following ones?        Choose one of four options   Choose from four options why would curl and wget result in a 403 forbidden? How to burn a Windows .iso to a USB device? I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this?   I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it's not the same. I want to power my DIY stuff with a MacBook Pro USB C charger. The label on a charger says that it can provide three different power profiles:    20.2V - 4.3A 9V - 3A 5.2V - 2.4A   There is a ton of information about what USB-C power distribution is capable of, but I can't find any examples of how exactly to do it.   Is there an easy way or workaround to request one of those power profiles without using a microcontroller?  For example, I got apple MacBook Pro charger, apple USB-C cable, and a breakout board like this one: According to the , you can harden a MySQL server by adding passwords, or removing the anonymous accounts.      If you want to prevent clients from connecting as anonymous users   without a password, you should either assign a password to each   anonymous account or else remove the accounts.   Before hardening, my users table looked like this.   mysql&gt; select user,host,password from mysql.user; +------------------+-----------+-------------------------------------------+ | user             | host      | password                                  | +------------------+-----------+-------------------------------------------+ | root             | localhost | *F3A2A51A9B0F2BE246XXXXXXXXXXXXXXXXXXXXXX | | root             | gitlab    |                                           | | root             | 127.0.0.1 |                                           | | root             | ::1       |                                           | |                  | localhost |                                           | |                  | gitlab    |                                           | | debian-sys-maint | localhost | *95C1BF709B26A5BAXXXXXXXXXXXXXXXXXXXXXXXX | | myuser           | localhost | *6C8989366EAF75BB6XXXXXXXXXXXXXXXXXXXXXXX | +------------------+-----------+-------------------------------------------+   I've remove all anonymous accounts, so that the user table now looks like this.  (I'm using puppet to manage the users, but puppet effectively performs a DROP USER command).   mysql&gt; select user,host,password from mysql.user; +------------------+-----------+-------------------------------------------+ | user             | host      | password                                  | +------------------+-----------+-------------------------------------------+ | root             | localhost | *F3A2A51A9B0F2BE246XXXXXXXXXXXXXXXXXXXXXX | | debian-sys-maint | localhost | *95C1BF709B26A5BAXXXXXXXXXXXXXXXXXXXXXXXX | | myuser           | localhost | *6C8989366EAF75BB6XXXXXXXXXXXXXXXXXXXXXXX | +------------------+-----------+-------------------------------------------+   Why is it that I am still able to login to my test system without a username or a password? What do I need to do to prevent any unwanted users from logging in?   root@gitlab:~# mysql Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 98 Server version: 5.5.32-0ubuntu0.12.04.1 (Ubuntu) .... mysql&gt;    Update:  I've also just discovered that I can login as root, without entering a password.  Update2: I found  which has some good information, but does not solve the issue.   There are no anonymous users.  mysql&gt; select user,host,password from mysql.user where user=''; Empty set (0.00 sec)   I login as root@localhost.  mysql&gt; select USER(),CURRENT_USER(); +----------------+----------------+ | USER()         | CURRENT_USER() | +----------------+----------------+ | root@localhost | root@localhost | +----------------+----------------+    I do not have a default password, or skip-grant-tables defined in my.cnf  root@gitlab:~# cat /etc/mysql/my.cnf |grep -i 'skip-grant-tables'|wc -l 0 root@gitlab:~# cat /etc/mysql/my.cnf |grep -i 'pass'|wc -l 0   Update3:  I have tried performing these steps with puppet, (which should perform a flush privileges automatically). I have also manually flushed privileges and also tried restarting mysql.   Update4: I've also tried changing the mysql root password and flushed privileges. No luck, I can still log in as any user without a password. Combined flair not updating with badges I've got 28 bronze badges on Stack Overflow, 10 on Astronomy and 15 on Software Recommendations, making it a total of 53. Yet, my combined flair doesn't show that. It just shows the combined badges from my SO and Astronomy SE sites. The reputation has no problem. I can see the correct combined rep. Why is it happening? Is it because Software Recommendations is in private beta?  Here are the flairs (Combined and that from Software Recommendations):     The rep on my combined flair is the sum total of my rep from all three sites. But the badges aren't.