how to declare a long long array in Java? A simple question: Can someone help me declare a long long array in Java? I've tried to cast it, but no luck:  (long long)[] sum = new (long long)[10];   Also, I searched across the internet and didn't really find anyone who uses long long to define an array Any help please?
Java equivalent of unsigned long long? In C++, I enjoyed having access to a 64 bit unsigned integer, via unsigned long long int, or via uint64_t. Now, in Java longs are 64 bits, I know. However, they are signed.  Is there an unsigned long (long) available as a Java primitive? How do I use it?
What does the function f: x ↦ y mean? I am doing , and am having a few problems with function notation. I understand the form f(x).  What does the form f: x ↦ y mean? Could you also give one or two examples?  And, if possible, state your source. Thank you. I want to set an environment variable from the command prompt and then be able to access it globally (for instance, I should see it by going to System -> Environment Variables).    When I use the set command, it isn't accessible in a new cmd session.  set NEWVAR=SOMETHING echo %NEWVAR%   Related questions: Using getopts to process long and short command line options Why are tar archive formats switching to xz compression to replace bzip2 and what about gzip? Good and easy way to share files on local machine I would like to have a directory that has following properties:    Many users can copy files into it  These files can be deleted/changed by these users (user A can delete/modify file that was copied into this directory)    it cant be done using normal file permissions (because permissions are retained on copy).  Here is what I found on the net:        Some use cases:    Sharing music on local machine  Simple git repository sharing (just make a bare repository writeable to many people) --- i know that there are solutions like gitosis Allow many developers to modify test instance of php app without giving them root (i guess they would copy files) --- I'm leading a team of nonprofit junior developers and I need to keep that one simple!    EDIT  AFAIK setting SGID bit is not enugh, it only affects newly created files --- and basic workflow for these use cases ivnolves copying and other operations (which cleave file's gid unchanged) In Einstein's General Relativity, do the space-time dimensions curve according to the positions of stars, planets, and masses? Can I install items on Ubuntu, without using the command line? Everything I've googled so far has used the command line? Monos in $\mathsf{Mon}$ are injective homomorphisms. Let $f: M \to N$ be a mono in $\mathsf{Mon}$. I want to prove that the underlying function $U(f): U(M) \to U(N)$ is injective.   How can this be done ? Thanks in advance. Managing CPU intensive threads on iOS Brackets in if condition: why am I getting syntax errors without whitespace? Spatial query to return multiple values I have a woodland scheme advice layer that has a polygon for each area of advice (brown layer in the picture). I also have a polygon layer of UK local authorities (red boundary layer in the picture). I would like to perform a spatial query which returns the local authority name for each woodland advice scheme. This would work fine if each woodland advice scheme was found in just one local authority boundary. However many are found across a boundary of two different authorities. For instance, one scheme sits across the boundaries of the authorities of Fife and Angus. The scheme is the yellow selected polygon in the picture and the red line is the authority boundary. How do I get the spatial join to return a value of Fife; Angus (or something similar to identify two values) instead of just Fife or Angus. Can a Sorcerer protect their friend from Web by using Careful Spell? With the metamagic "Careful Spell" does the caster protect his friend from a Web spell for its full duration or just for the first save? If the friend stays in the area or re-enters the area does he continue to automatically save against the restraining effect? Can we make the "expanded user card" privilege universal? Pursuant to discussion on the , several have asked how far they'll need to search to determine if a user has expressed their preferred pronouns. This requested feature could create an easy solution for that concern.  On sites where I've reached the  privilege level, users can hover over my picture to see a snippet of my profile:    This is where I've included my preferred pronouns, and where I see many others including them as well.  By making this feature universal, users could quickly and easily check for preferred pronouns without needing to navigate to another page. Full page image as title page Background  Wrote a technical manual in LyX. The technical manual currently has two parts:   Cover image (PDF) Manual text (PDF)   Problem  When merging the two PDF files (with GhostScript or other software tools), there are a number of issues:   Bookmarks (lost in merging) Colours (obvious changes) PDF tags (lost in merging)   I would rather include the cover page image as a full page (no margins) at the start of the manual and have LyX (LaTeX) generate the front page when it creates the PDF. In this fashion, the cover page and the manual text need not be merged as a separate step.  Question  How do you instruct LaTeX to generate a full page image as the first page in a PDF using KOMA-Script?  Update  Using the pdfpages package produces the following result:    Note the white space above and below the image. The white space is removed using the following:  \includepdf[fitpaper]{cover}   Update  Part of the preamble contains:  % Resize figures that are too wide for the page. \let\oldincludegraphics\includegraphics \renewcommand\includegraphics[2][]{%   \graphicsformat{%     \oldincludegraphics[width=\ScaleIfNeeded,#1]{#2}%   }% }   The full preamble is at:   The error message is:  !pdfTeX error: pdflatex (file cover.pdf): cannot find image file   The file ch_02.lyx and test.latex are in the same directory. The file test.latex is the document in Martin's post. The file test.latex can find the file cover.pdf, yet the file ch_02.lyx cannot find the file. Both use the following code:  \includepdf[fitpaper]{cover.pdf}   Update  The most minimal LyX example that produces the problem:  #LyX 1.6.7 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass scrbook \begin_preamble \usepackage{pdfpages} \end_preamble \use_default_options false \language english \inputencoding utf8 \font_roman lmodern \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100  \graphics default \float_placement H \paperfontsize default \spacing single \use_hyperref true \pdf_bookmarks true \pdf_bookmarksnumbered false \pdf_bookmarksopen false \pdf_bookmarksopenlevel 1 \pdf_breaklinks false \pdf_pdfborder false \pdf_colorlinks false \pdf_backref false \pdf_pdfusetitle true \papersize letterpaper \use_geometry false \use_amsmath 2 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \bullet 0 5 11 -1 \bullet 1 5 24 -1 \bullet 2 0 0 -1 \tracking_changes false \output_changes false \author ""  \author ""  \end_header  \begin_body  \begin_layout Standard \begin_inset ERT status collapsed  \begin_layout Plain Layout   \backslash includepdf[fitpaper]{cover.pdf} \end_layout  \end_inset   \end_layout  \begin_layout Standard Test \end_layout  \end_body \end_document   Thank you! I want to view the fonts that are installed on my system. Specifically, I want the client-side (fontconfig) fonts, not the old-style X11 bitmap fonts on the server (for which xfontsel does an adequate job). I guess what I'm looking for would be called a font viewer or font gallery. I want to see a bit of sample text for each font, ideally configurable sample text.  Being able to filter by font name, available character sets and other characteristics would be a plus.  A search of packages in Debian wheezy found gnome-font-viewer and kfontview, but they can only display a single font. I'd rather avoid depending on software that isn't widely available, including on the current Debian stable and Ubuntu LTS. Getting full JS autocompletion under Sublime Text Recovering eigenvectors from SVD How to install Skype 4.3? Note: The legacy Skype for Linux application (v4.*) is now discontinued and was removed from Canonical’s partner repositories, so this question and its answers are obsolete. Please refer to  of our .  Skype 4.3 is just released with considerable improvements. As a regular Skype user I want to use the latest Skype on my Ubuntu 14.04, but there is no updates from Update Manager. Even in Skype website only Skype 4.3 is available only for Ubuntu 12.04. Is there anyway to use this latest Skype on Ubuntu 14.04 or how much we have to wait for the update? LINQ - Query syntax vs method chains & lambda How do I download a YouTube video?