I'm saving captured fingerprint image into my SQLite db as a byte array cos it really small size wise like this.  byte[] template = new byte[....];   Then i log and get a value like [B@41d25378. That's what's sent it my sqlite db in a blob column.  The problem now is that when i retrieve this value from my db,   byte[] photo = cursor.getBlob(cursor.getColumnIndex("fingerprint"));   i log the value and its totally different [B@420447f8 but this is what i want [B@41d25378. As such, i'm unable to match finger print as what is being returned is different. How can i get the same byte[] value back.   I've tried using strings too but can figure out a way to get an exact match back. Thanks in Advance...
In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]
I was thinking of the noted 1980 paper by Sidney Coleman and Frank de Luccia--"Gravitational effects of and on vacuum decay"-- about metastable vacuum states that could tunnel to a lower energy "true vacuum" with catastrophic results. I suspect the answer is that if our vacuum is a false one, we wouldn't "see" the true one til it hit us. A reflection question about a complex function SVG donut slice as path element (annular sector) What should I do when I have lenses with different filter thread sizes? Lightning Components Basics: Attributes and Expressions Trail The error :      The Packed field is either not using the lightning input component,   the checked value of the item's Packed__c attribute or the correct   type of input.   My Code:  &lt;aura:component &gt;     &lt;aura:attribute name="item" type="Camping_Item__c"                      required="true"                     default="{Name:'Tent', Price__c:100, Quantity__c:1, Packed__c:true}"                     /&gt;         &lt;p&gt; The Item is &lt;ui:outputText value ="{!v.item}"&gt;&lt;/ui:outputText&gt;&lt;/p&gt;          &lt;ui:outputText value="{!v.item.Name}"/&gt;     &lt;lightning:input type="toggle" label="Packed" name="togglevalue" value="{!v.item.Packed__c}" /&gt;     &lt;lightning:formattedNumber value="{!v.item.Price__c}" style="currency" currencyCode="USD" currencyDisplayAs="symbol"/&gt;      &lt;lightning:formattedNumber  value="{!v.item.Quantity__c}"/&gt; &lt;/aura:component&gt; I created a bitmap with transparent background but in the Windows Picture Viewer I see the white background and even if I reopen it in Photoshop CS3. how do I make sure the white colour in bitmap is really transparent or see if contain any transparent colour? Can anyone help me identify a story about kids with silver blood? How to clip an Openlayers OSM Background to a Vector Boundary? What are the transactional costs when buying and selling a house? $$\lim_{x\rightarrow 0}\frac{(1+x)^{1/x}-e+\frac{ex}{2}}{x^2}=\,?$$   by directly substituting $x=0$ i got $\infty$ by using L-H's rule, i got $-1/8$   the given options are  $a)\frac{24e}{11}$    $b)\frac{11e}{24}$    $c)\frac{e}{11}$    $d)\frac{e}{24}$    may be the question would be  $$\lim_{x\rightarrow 0}\frac{(1+x)^{1/x}-e+\frac{ex}{2}}{x^2}=\,?$$ Clarification for non-answers One of my flags for "non-answer" was declined and I was wondering if I misunderstood what "non-answer" means. I saw someone post an answer that was just a block of code, with nothing in it that was even the slightest related to the question, it was just a random block of code with no explanation. Should I have not used the "not an answer" tag even though the description explicitly says that it should be used when answers "do not attempt to answer the question"? I'm using Ubuntu 18.04.  I want to remove the digital clock from the lock screen because I just want to see a good wallpaper there, unobstructed.   How do I go about this? Combining two covariance matrices Maximal Ideals in Ring of Continuous Functions Dummit and Foote, 7.4.33(a): Let $R$ be the ring of all continuous functions $[0,1] \to \mathbb{R}$ and let $M_c$ be the kernel of evaluation at $c \in [0,1]$, i.e. all $f$ such that $f(c) = 0$. Show that if $M$ is a maximal ideal in $R$ then $M = M_c$ for some $c$.    I am aware of proofs that use the compactness of $[0,1]$; however I have been told that a simpler proof exists using only the isomorphism theorems for rings along with basic facts about ideals. I have tried on my own to prove it this way but still have no success; is it possible?  (My attempts go something like: since $M$ is maximal, the quotient ring $R/M$ is a field. Then it would be nice to use the fact that $R/M$ has no zero divisors, but I can't quite make it work. Alternatively, consider $M \cap M_c$.) In the addon ArchiMesh there is a Japaneses curtain feature, but, it looks straight and does not have the fold that I want in it. Is there an addon that can do this for me? If not, how can I make a curtain (like in the images below)? Allow adding bounties from the iOS & Android app (I was surprised I couldn't find this in an existing question, so here goes)    I'd like to add a bounty to a question, but I'm too lazy to go get my computer or a web browser. I like the SE app, and want to use it to do everything. I can't find the button to add a bounty to a question.  Please add this button, I really want to be able to add bounties to questions from the app. Computing Galois Group of $\mathbb{Q}(\sqrt{2},\sqrt{3}):\mathbb{Q}$ Galois Group of $\mathbb{Q}(\sqrt{2},\sqrt{3}):\mathbb{Q}$ is cumbersome to computing. Is easy to find the all four possible candidates but is cumberstone to show that they are automorphisms:  For multiplication is too long showing that  $f((a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})(a'+b'\sqrt{2}+c'\sqrt{3}+d'\sqrt{6}))=f(a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})f(a'+b'\sqrt{2}+c'\sqrt{3}+d'\sqrt{6})$  For some non trivial candidate since the left hand side expands in $16$ terms. What about $\mathbb{Q}(\sqrt{2},\sqrt{3},\sqrt{5}):\mathbb{Q}$? there are $7$ non trivial candidates and multiplication expands in $64$ terms!   How to do it in a tricker form?  Edit(Let me be more precise in my question):   I know that if $f\in\Gamma(\mathbb{Q}(\sqrt{2},\sqrt{3}):\mathbb{Q})$, then $f(\sqrt{2})=\pm\sqrt{2}$, $f(\sqrt{3})=\pm\sqrt{3}$ so there are $4$ candidates for $\mathbb{Q}$-Automorphisms. Candidates are given by:  $f_1(a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})=a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6}$  $f_2(a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})=a-b\sqrt{2}+c\sqrt{3}-d\sqrt{6}$  $f_3(a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})=a+b\sqrt{2}-c\sqrt{3}-d\sqrt{6}$  $f_4(a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})=a-b\sqrt{2}-c\sqrt{3}+d\sqrt{6}$  But I need to check that they are $\mathbb{Q}$-Automorphisms in $\mathbb Q(\sqrt{2},\sqrt{3})$. All candidates $f_i$ fixes $\mathbb{Q}$ and is obvious that all preserves sums, $f_1$ obviously preserves product also since is the identity, but is cumberstone to show that $f_i(xy)=f_i(x)_if(y)$ to conclude $f_i\in\Gamma(\mathbb{Q}(\sqrt{2},\sqrt{3}):\mathbb{Q})$. Why don't we pluralize "foot" in measurements? For example, to answer the question, "How tall are you?" valid answers include:   Five feet. Five foot three. Five feet, three inches.   Why the discrepancy between feet and foot, seemingly only in the second case.    This question is inspired by this question:   edit: I do not believe the answer to this is related to the other question. The explanation for the other question is because of how adjective modifiers work. My question is a very different case, unrelated to adjectives. My observation is that I am asking about a particular exception case which applies only when "foot" is followed by a number which is assumed to be inches. That's extremely specific, and I doubt that the etymology has any relation to why we leave adjective modifiers singular. NetworkOnMainThreadException What is the right tool to process big .xel files (SQL Server Extended Events logs)? My aim is to audit all queries on an instance, who's running them and from where, how many reads, in order to consolidate/migrate on another instance.   Figured out the best way is via Extended Events to .xel files, over 2 weeks, copy those and analyse on my well-specd desktop. Set up the capture with the minimal number of details (fields), so really can't make it smaller than this - aprox 12GB in 12 files. Used "Merge Extended Event Files" in SSMS to load the .xel files and process as detailed in   Is this really the best way to do it ? Is there a better tool to load the files ? It's really slow with SSMS 17.7 - example: with only 4 filters so far (before getting into grouping and aggregates) it took over 12h to get to crunch through 50% of the logs.