Invalid token at start of a preprocessor expression Xcode
How to check iOS version?
How to change symbol for footnote in minipage \renewcommand method does not work  \documentclass{article} \renewcommand{\thefootnote}{\arabic{footnote}} \begin{document}  \begin{minipage}{1.3\textwidth}  test this\footnote{abc} \end{minipage}  \end{document}   In the following example the footnote number is incorrect. Why?  \documentclass{article} \renewcommand{\thempfootnote}{\arabic{mpfootnote}} \begin{document} \begin{minipage}{.5\textwidth} test this\footnotemark \footnotetext{abc} \end{minipage} \end{document} Why didn't Star Trek TOS have better medical equipment for Vulcans? In  when Ambassador Sarek became critically ill, why didn't they send him home or send for a Vulcan medical expert? Since they were hosting many prominent political figures from many races, it seems strange that they did not have much medical support for a race so common as Vulcans (who are part of the Federation). Add a Texture to an Object using Python and Blender 2.8 i have trouble to get a script working within Blender 2.8. The following function work perfectly for me in Blender 2.79, but not in 2.8.  def CreateMaterialFromImage(matName, imgPath):     '''Creates and returns a material from an Image'''     realpath = os.path.expanduser(imgPath)     try:         img = bpy.data.images.load(realpath)     except:         raise NameError("Cannot load image %s" % realpath)      # Create image texture from image     cTex = bpy.data.textures.new(matName, type='IMAGE')     cTex.image = img      # Create material     mat = bpy.data.materials.new(matName)      # Add texture slot for color texture     mtex = mat.texture_slots.add()     mtex.texture = cTex     mtex.texture_coords = 'UV'     mtex.use_map_color_diffuse = True     mtex.use_map_color_emission = True     mtex.emission_color_factor = 0.5     mtex.use_map_density = True     mtex.mapping = 'FLAT'     return mat   It seems to be that the material.texture_slots were removed.  Under following Link  i found the note:        Texture slots for materials, lamps and world were removed. They remain   for brushes, particles and freestyle linestyles.      So my question is where do i find this property now or how could i change my code to get things done?  Thanks for your help!  EDIT:  This seems to be an interesting link for people run in to issues by updating their scripts to 2.8. Unfortunately there is no solution for my problem listed, yet. Query to collect the recent TimeSampled row using inner joins in MS SQL Meta Meta Privilege I just took a look at meta today and noticed something weird in the meta privileges. If you look at the meta privilege list, you can see that at . I know that there is no meta for meta, and the link they give you in the privilege page leads you to meta.stackexchange.com, right where you started. Why do they have this privilege? I have a feeling that this is a bad recursive joke. You must be  member of meta to get the privilege of being a member of meta! :) How can I take a site offline using Drush? describes how to get the changelog for a given package. However, it's the whole changelog.  What I'd like is a way to see what will be changed in whatever I'm about to upgrade. For example, I was imagining something like:  $ sudo apt-get upgrade --show-changelogs Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages will be upgraded:   foo     -- adds the bar feature for better snazziness     -- removes the deprecated baz feature  1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 8,864 kB of archives. After this operation, 285 kB disk space will be freed. Do you want to continue [Y/n]?    Unfortunately, I don't see anything like that in the man pages for apt-get. Does this or something similar exist?  UPDATE: I've written a  talking about apt-listchanges and Debian changelogs in a little more depth that incorporates some of the feedback in this question. Just started blender, following the donut tutorial. Using Blender 2.8. made another donut to practice, when adding Lights I can't find the 'Use Nodes' in the Light settings. Some help would be appreciated &lt;3 change whole font of beamer to arial bold italic? how to change the font of the content to bold italic ?  thank you   here my cool superbe example:  \documentclass[14pt,t]{beamer} \usepackage{url} \usepackage{hyperref} \usepackage{graphicx} \usepackage{grffile} \begin{frame}\maketitle\end{frame} \begin{frame} \frametitle{test0} \begin{itemize} \item test \item test \begin{itemize} \item test \end{itemize} \end{itemize} \end{frame} \end{document}   A possible solution would be to use:  \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \renewcommand{\rmdefault}{phv} \renewcommand{\sfdefault}{phv} %\renewcommand{\mddefault}{b}   % this content bold with b \renewcommand{\bfdefault}{phv} % Helvetica has no bx series \renewcommand{\updefault}{sl}   But it does do helvel arial bold for the whole document, and maybe there are ways to have the items/text of the slides in bold italic, and to keep normal phv for the top of the slide (frame title)? How to find historical stock price for a de-listed or defunct company? With services like Google Finance or Yahoo Finance it is very convenient to find the historical stock price metric of a listed company, but if the company is not listed, I can't find the data.  For example, I want to see the price metrics for Macromedia, which had been listed in 1993 on NASDAQ (MACR), then acquired by Adobe in 2005. How could I find its historical price metrics? Python CSV parsing not returning proper rows I want to create a scratch-card-like effect in new Unity UI's new Image tag.  I know it's possible with setPixels, but that's prohibitively expensive on mobile devices.  Something like this:    I'd like the user to be able to drag on any part of the image to "scratch off" the top layer and reveal the content underneath it.  How can I do this? I put a video in my pdf with Acrobat and there I can watch my video. But if I open the pdf on my mobile, I can't watch the video, I only see an image. Is there a way to watch videos of a pdf in a mobile? I have a samsung J5. Does $\sum\limits_{k=1}^n 1 / k ^ 2$ converge when $n\rightarrow\infty$? I can prove this sum has a constant upper bound like this: $$\sum_{k=1}^n \frac1{k ^ 2} \lt 1 + \sum_{k=2}^n \frac 1  {k (k - 1)} = 2 - \frac 1 n \lt 2$$ And computer calculation shows that sum seems to converge to 1.6449.  But I still want to know:  Does this sum converge? Is there a name of this sum (or the series $\frac{1}{k^2} $)? Why would I open a low-rate 9 month CD instead of a higher rate savings account? One specific (popular online) bank is offering a 9 month 1.25% CD, while it's savings account is 1.90%.  There's no way I see interest rates tumbling in the next nine months, so why should I -- why should anyone -- get a 1.25% CD when savings accounts are paying 52% more interest?  (This question is not specific to this particular bank at this particular time.  It's about the general practice of buying low-rate CDs when savings accounts have a higher rate.) Force.Com Sidebar - Reference Data From Current Screen On URLs? I am being lead to believe this is possible:  A URL on the Force.Com Sidebar Menu which references data from the currently open page.  i.e., /{!recordId}?nooverride=1    However, this does not work.  The brackets simply turn into percent encoded references on the resultant page.  Is it possible to pass information onto a URL on the Force.Com sidebar? I am looking for the title of a novel that I only caught part of on audio. It takes place within our current time frame and deals with the Moon getting struck and fragmented into (initially) 7 pieces by a high-speed asteroid that they called "The Agent".  Within a few weeks of this episode, scientists figure out the the Moon will continue to break down in a cascade reaction over the next couple of years until the planet gets bombarded by so much debris that it sterilizes Earth. The governments of the world frantically start to build a series of ships using swarming concepts to evacuate the planet as much as possible... and that's all I have heard so far.  Thanks for any info. Why is the Java main method static? The method signature of a Java main() method is:  public static void main(String[] args){     ... }   Is there a reason for this method to be static? I have not idea how to approach this differential equation.   $$y'-\int_0^xy(t)dt=2$$.  Basically, I did,  $$F''(t)-F(x)+F(0)=2 \;\;\;\;\;\;\; F'=y$$  I am stuck.  Thank You. Using a foreign driver's license in California when staying with a J-1 visa