How can one or all of the following be done. Get all classes during runtime in Scala  in a package that extend a particular trait with a custom annotation
Is it possible to find all classes or interfaces in a given package? (Quickly looking at e.g. , it would seem like no.)
Need help remembering sci-fi movie from the 90s maybe where someone is sabotaging the crew I saw this movie years ago and can't quite remember it. All I remember is there was a crew trapped in space and they're trying to survive but someone on the crew is sabotaging them. The drinking water gets poisoned so they have to drink their own urine. There's a man with a leg injury that he can't tell is getting really infected and bad because the saboteur gave him these injections that numb his leg.  That's pretty much all I can remember, so if anyone can help me with the title somehow, that would be amazing. Thanks! Number theory counting sums of squares modulus This is an extra question from an old examination paper:     VI. Let $n&gt;1$ in $\mathbf{Z}$ and let $r(n) = \#\{(a,b)\in \mathbf{Z}^{2};n=a^{2}+b^{2}\}$ Let also $n=n&#39;n&#39;&#39;n&#39;&#39;&#39;$ where $n&#39;,n&#39;&#39;,n&#39;&#39;&#39; \in \mathbf{N}$ and   $p|n&#39; \Longrightarrow p\equiv 1\mod 4 ; p|n&#39;&#39; \Longrightarrow p=2 ; p|n&#39;&#39;&#39; \Longrightarrow p\equiv 3 \mod 4$   for $p\in \mathbf{N}$ prime.   i) Show that if $n&#39;&#39;&#39;$ is not a square, then $r(n)=0$.  ii) Show that if $n&#39;&#39;&#39;$ is a square and $n&#39; = 1$, then $r(n)=4$  iii) Show that if $n&#39;&#39;&#39;$ is a square and $1&lt;n&#39;=p_{1}^{e_{1}}\ddots p_{k}^{e_{k}}$ where $p_{1},...,p_{k}$ are different primes in $\mathbf{N}$ and $e_{1},...,e_{k} \in \mathbf{N}$, then it holds that $r(n)=r(n&#39;)=4(e_{1}+1)\ddots (e_{k}+1)$    I am completely dumbstruck and can't see how to begin (and neither did an older student who took this exam and whom I asked for hints). Help is greatly appreciated. How to connect to a MS Access file (mdb) using C#? Why is there a peeking duck in my profile pic? Pure verbal nouns/deverbal nouns vs. gerunds This is a follow-up to a previous question which I am still trying to understand. I think I'm making progress in my understanding, but I would appreciate feedback to help me refine my thinking.  Here is the sentence:     Good writing requires hard work.   Originally, I thought that "writing" was acting as a gerund in this phrase.  After reading through the replies to that question along with back posts related to gerunds, I've since concluded that "writing" in this sentence is a , also termed a deverbal noun.  My reasoning?  —In the sentence above "writing" is modified by "good" and is thus acting more like a noun than a verb. —It has no direct object.  Is my thinking correct here?  If not, could someone politely help me to refine it?  However, what if I had written the following?     Writing well requires hard work.     or   To write well requires hard work.   In these examples, I'm thinking that "writing" would be a different kind of verbal noun—a non-finite verb acting as a gerund or infinitive, which is one piece of a larger complement noun clause.  The last bit is muddy for me, but I will leave it at that. Thank you in advance for your patience and insight. If I am travelling on a car at around 60 km/h, and I shine a light, does that mean that the light is travelling faster than the speed of light? The title says it all.  If I was on a bus at 60 km/h, and I started walking on the bus at a steady pace of 5 km/h, then I'd technically be moving at 65 km/h, right?  So my son posed me an interesting question today: since light travels as fast as anything can go, what if I shined light when moving in a car?  How should I answer his question? This is a  about securing public DNS resolvers   Open DNS servers seem pretty neat and convenient, as they provide IP addresses that we can use consistently across our company regardless of where they are located. Google and OpenDNS provide this functionality, but I'm not sure that I want these companies to have access to our DNS queries.  I want to set up something like this for use by our company, but I hear a lot about this being dangerous practice (particularly in regards to ) and I want to make sure that we do this right. What things do I need to keep in mind when building this type of environment? Free ornaments font I'm looking for a free ornaments font. I know about  and pifont. Where can I find more glyphs? How to mount electronics on a vehicle chassis safely I want to implement a control system I designed for a light electric motorbike. I would like to mount it as professionally as possible on the chassis. It consists of a power system pcb and a SAMC21 development board which I'll merge later once this all works properly. I have tried screwing it directly on the aluminium chassis but have found that shocks and vibrations from the horn disturbed the system or even destroyed it upon large shocks like a few hammer hits. Is there a specific way car and motorcycle manufacturers mount their electronics to make their system as robust as possible? Thank you for your help! Maximum number of files in one ext3 directory while still getting acceptable performance? I have an application writing to an ext3 directory which over time has grown to roughly three million files. Needless to say, reading the file listing of this directory is unbearably slow.  I don't blame ext3. The proper solution would have been to let the application code write to sub-directories such as ./a/b/c/abc.ext rather than using only ./abc.ext.  I'm changing to such a sub-directory structure and my question is simply: roughly how many files should I expect to store in one ext3 directory while still getting acceptable performance? What's your experience?  Or in other words; assuming that I need to store three million files in the structure, how many levels deep should the ./a/b/c/abc.ext structure be?  Obviously this is a question that cannot be answered exactly, but I'm looking for a ball park estimate. I have a little problem with the placement of my picture. I want to insert it at the end of the introduction chapter but its place is not where I want.   I think the problem become from the:  \begin{figure} ... \end{figure}   Because when I insert the picture without using \begin{figure}... the picture is at the end of the chapter as I want.   Look the picture below. To be honest, I have no idea how to even start this problem. I'm sorry I don't have any work to show, but I'm just at a blank. Help?  Chapter 2: Problem 27:  University B, once boasted $17$ tenured professors of mathematics. Tradition prescribed that at their weekly luncheon meeting, faithfully attended by all $17$, any members who had discovered an error in their published work should make an announcement of this fact, and promptly resign. Such an announcement had never actually been made, because no professor was aware of any errors in her or his work. This is not to say that no errors existed, however. In fact, over the years, in the work of every member of the department at least one error had been found, by some other member of the department. This error had been mentioned to all other members of the department, but the actual author of the error had been kept ignorant of the fact, to forestall any resignations. One fateful year, the department was augmented by a visitor from another university, one Prof. X, who had come with hopes of being offered a permanent position at the end of the academic year. Naturally, he was apprised, by various members of the department, of the published errors which had been discovered. When the hoped-for appointment failed to materialize, Prof. X obtained his revenge at the last luncheon of the year. &quot;I have enjoyed my visit here very much&quot;, he said, &quot;but I feel that there is one thing that I have to tell you. At least one of you has published an incorrect result, which has been discovered by others in the department.&quot; What happened the next year?&quot;   Chapter 2: Problem 28:  After figuring out, or looking up, the answer to Problem 27, consider the following: Each member of the department already knew that Prof.X asserted, so how could his saying it change anything? How do you explain cubic growth of a function When reading scientific papers I have seen people explain the growth of a variable linearly, exponentially. However how would one say for a variable which grows in quadratic fashion, or cubic?  I don't remember reading something like: "y grows cubically with x"  Can I say, y grows cubically with x?  What would be the proper way to explain cubic or quadratic growth of a variable as a function of another one?  How would you explain the given lines: For some reason, I can no longer access the Winterbash 2015 page--when I try, I get redirected to the  instead, just like Winterbash is over. Except, we should still have almost another two weeks. Also, I can no longer see hat-related features on SE sites. What happened to the hats?!  UPDATE: The hats seem to be back now. But the question still remains, why did they disappear, and is it going to happen again? What "exactly" happens when someone turns to the Dark Side? Seeking open source solution to access rasters in File Geodatabase? I'm looking for a way to access raster layers in an Esri File-GeoDatabase without using ArcObjects or ArcPy, specifically I would like to access the raster layers with GDAL. I understand that the GDAL FileGDB and OpenFileGDB give access to vector datasets within File-GeoDatabases, and that ESRI's own FileGDB C++ API does not support raster access.   Is anyone out there aware of any open source solutions? Referencing subfigures in main caption (with \subfloat and \subref) I've used subfloat to include subfigures, with their relevant labels but with empty captions. what I'm going to do is to reference these figures with \subref in the main caption of the figure. But what I get is only ?? signs in the caption [main caption]. I can't figure out what's the problem. this is what I have:  \begin{figure} \centering \subfloat[][] { \includegraphics[scale=0.55]{signal} \label{signal_model} } \subfloat[][] { \includegraphics[scale=0.55]{amplitude} \label{amplitude_mod} } \caption{phase noise variability: \subref{signal model} some text \subref{amplitude_mod} some other text} \end{figure} I have 1-band GeoTIFF file. The color interpretation for band is gray. I want a color table in order to transform my Col.tiff to Col.jpeg or Col.png.  I tried putting a color table in this tiff via a .vrt:  gdal_translate -of VRT  Col.tiff Col.vrt   then adding in the .vrt:  &lt;ColorInterp&gt;Palette&lt;/ColorInterp&gt; &lt;ColorTable&gt;    &lt;Entry c1="0" c2="0" c3="255" c4="240"/&gt;    &lt;Entry c1="0" c2="0" c3="254" c4="240"/&gt;    &lt;Entry c1="0" c2="0" c3="253" c4="240"/&gt;    &lt;Entry c1="0" c2="0" c3="252" c4="240"/&gt; &lt;/ColorTable&gt;   And translate again :  gdal_translate Col.vrt Col.tiff   But it answered:  Warning 1: Unable to export color table to GeoTIFF file.  Color tables can only be written to 1 band or 2 bands Byte or UInt16 GeoTIFF files.   How can I do it?  For information, there is gdalinfo for the Band:  Band 1 Block=55x18 Type=Float64, ColorInterp=Gray   Description = Something   Metadata:     GRIB_COMMENT=Something[p]     GRIB_ELEMENT=TMP     GRIB_FORECAST_SECONDS=0 sec     GRIB_REF_TIME=1401926400 sec UTC     GRIB_SHORT_NAME=SMTHG     GRIB_UNIT=[p]     GRIB_VALID_TIME=1401926400 sec UTC Find all integers  $a$,$b$ and $c$ that satisfy the following equations  $a^2=bc+1\tag{i}$  $b^2=ac+1\tag{ii}$    I tried solving came out with following results:  $(i)-(ii)$ gives $a+b+c=0$ which implies, $a^3+b^3+c^3=3abc$  Multiplying equation $(i)$ with $a$ and multiplying equation $(ii)$ with $b$ and then subtracting $(i)-(ii)$ we get  $a^2+b^2+ab=1$ which can be written as  $(a+b)^2-ab=1$ , which can be further written as $c^2-ab=1$. Minecraft Test If A Chest Contains An Item I've seen a lot of questions for finding specific items in chests using commands using testforblock but how would you test if any block/item has been placed in a chest?  Thanks