Date object from simple string - Java and Android
How to get the day, year, hours, min Individually from date format "yyyy-MM-dd'T'HH:mm:ss.SSSZ"?
Select Input Texture file name as parameter/node Find the cardinality of the quotient of $\mathbb R$ in respect to R R is an equivalence relation defined as $xRy \Leftrightarrow a - b$ is an integer.  What is the cardinality of the quotient of $\mathbb R$ in respect to R? How would you prove it?  I thought about a bijection between $[0,1)$ to the quotient of $\mathbb R$ in respect to R, but can't figure out to prove it formally. How do I boot into recovery mode? Command-line to switch between profiles in gnome-terminal I created a new profile for gnome-terminal and I can switch between &quot;Implicit&quot; profile and the new created profile as you can see in the below image:  Now I wonder how can I switch between profiles using a command-line/script or maybe using a shortcut for this.  Note: Solutions like: gnome-terminal --tab-with-profile=Implicit &amp;&amp; exit   are excluded because I prefer not to close and open another terminal or get another terminal window in this process of changing the profile. Find with proof all positive integers $n$ such that $2^n + 1 \equiv 0 \pmod{n}$ I found this problem in a book and while I understand the given solution, I don't quite understand how somebody would arrive at this solution unless they did out the casework and happened to make the right guesses to solve the problem. Any guidance on solving this from scratch would be greatly appreciated! Every Artinian ring is isomorphic to a direct product of Artinian local rings Proposition. Let $R$ be commutative ring with $1_R$. We assume that $R$ is an Artinian ring and $M_1,\dots,M_n$ its maximal ideals. Then         $R/\mathrm{Jac}(R)\cong (R/M_1)\times \dotsb \times (R/M_n)$.   The ring $R$ is isomorphic to the direct product of a finite number of Artinian local rings.      Proof. 1. It's obvious that $M_i+M_j=R,\ \forall 1\leq i \neq j \leq n$. So, from Chinese Remainder Theorem, we have  $$R/\bigcap_{i=1}^{n}M_i = R/\mathrm{Jac}(R) \cong (R/M_1)\times \dotsb \times (R/M_n),$$ as we wanted.    Since $R$ is an Artinian ring, we have $\mathrm{Jac}(R)^m=\{0_R\}$, for some $m\in \Bbb Z^+$. But,  $$\{0_R\}\subseteq M_1^m\dotsb M_n^m=(M_1\dotsb M_n)^m\subseteq (\bigcap_{i=1}^{n}M_i=\mathrm{Jac}(R))^m=\{0_R\}.$$ So, if we apply CRT we will take  $$R\cong R/\{0_R\}\cong R/M_1^m\dotsb M_n^m\cong (R/M_1^m)\times \dots \times (R/M_n^m).$$   Questions.   1) Are these thoughts complete and correct?  2) Why $R/M_i^m$ are artinian local rings?  3) Could you please elaborate some examples as an application? Embedding ordinals in $\mathbb{Q}$ How to compute the  formula $\sum  \limits_{r=1}^d r \cdot 2^r$? I have a text file named "Hex_data.txt". I want to load content of Hex_data.txt into a variable name RAM in verilog. When I try this, I get an error that the text file can't be found. Where is this file loaded from?  The content of "hex_data.txt" :            21            a4          2a          26          7a          ff           6f   I want to create a variable name "RAM" defined like:   reg [6:0] RAM; in which the above content save like:  RAM[0]=21     RAM[1]=a4           RAM[2]=2a             RAM[3]=26            RAM[4]=7a             RAM[5]=ff             RAM[6]=6f   I wrote a code:  module file_read;      reg [7:0] RAM [0:6];          initial $readmemh("Hex_data.txt", RAM);   integer i;               initial begin                    $display("data:");                for (i=0; i &lt; 7; i=i+1)                $display("%d:%h",i,RAM[i]);              end                 endmodule        But the above code not working. How can i get desired output? University rank/stature - How much does it affect one's career post-Ph.D? What I'm trying to understand is, to what degree does the status/rank of the University (where one completes his/her Ph.D) matter while shaping his/her career after graduation? I would like to know the weight given to one's school in both the following cases:   While applying for post-docs/faculty positions in academia While applying to industrial research labs   For instance, I've read on some forums (I can't locate the link now) that while considering prospective applications for tenure-track faculty positions, very few Universities accept a candidate who has completed his/her Ph.D from a lower ranked school having a lesser "brand" value, irrespective of the fact whether he/she has published equally original work as his/her counterpart from an Ivy league college. How much truth is in this statement? It would be really great if someone already in academia, either as a newly-accepted faculty or someone on the Faculty Hiring committee could share their experiences/statistics on this regard. I'm simply interested to know the answer, without commenting at all on whether such a practice is justifiable.  Similarly, what about recruitment to internationally acclaimed research labs (like  or ) - what importance do they place on the pedigree of a candidate's college, before taking into consideration what they published ?  I'm personally interested in answers related to the field of Computer Science (theory), but the question is applicable to any prospective grad student in any discipline in my opinion. Feel free to share your personal experiences post-Ph.D in detail, as that would give me (and future viewers of this question) about what its like to carve a career once you are out of school! When saving a .qgs file in QGIS, another appears. Is this a backup? When saving a project file (.qgs), which when executed is automatically loaded with qgis.bat, there's another .qgs file which appears in the same directory of the original project file, although this one is not loaded with the qgis.bat file:    This is just out of curiosity but is the latter designed to be a backup of the original .qgs file? Minecraft directory doesn't have a 'Resource Packs' folder? I go into my .minecraft folder and there's Assets and all the other files and folders, but no resource packs folder?  If I create one manually, and place the textures inside, they don't show up in-game.  I'm on a Mac. Do you need to take the Hide action when you are Invisible, make no noise and leave no traces? The Situation: Lets say you are under the effect of Invisibility.  An invisible creature is impossible to see without the aid of magic or a special sense. For the purpose of hiding, the creature is heavily obscured. The creature's location can be detected by any noise it makes or any tracks it leaves.  And you are wearing the Boots of Elvenkind  While you wear these boots, your steps make no sound, regardless of the surface you are moving across. You also have advantage on Dexterity (Stealth) checks that rely on moving silently.  Now your groups ranger or druid casts Pass Without Trace on you.  [...] can’t be tracked except by magical means. A creature that receives this bonus leaves behind no tracks or other traces of its passage.  My Question(s): I know that when you are Invisible and you did not hide, you are still detectable because of the noise and the track you leave behind. But the Boots of Elvenkind and Pass Without Trace take care of that. So:  Are you still required to take the hide action in this situation if you don't want enemies to know your location/presence? If so, why? What gives away your location? If not and you are under the effect of greater Invisibility do you get the benefits of &quot;Unseen Attackers and Targets&quot; for every attack you make when you move between attacks? (You would give away your location, but are not detectable, so completely hidden again when you move) How secure is Activation Lock on iOS 7 (and later)? Apple showed this new feature in iOS 7 called Activation Lock, that if you enable "Find My iPhone" on a device that is lost or stolen, a person that finds/gets the iPhone will not be able to wipe it or reset it. I'm curious whether the lock is designed to prevent these avenues to defeat the lock:   Can they completely drain the battery and leave the phone in that state for a couple of months and then try it? Or, can they use any third-party software that can access iPhone from outside the iTunes and wipe it that way? Or, can they simply "jailbreak" it and forget about this Activation Lock?   By what methods can this lock be defeated or bypassed? Opening Ubuntu 20.04 Desktop on WSL2 I installed Ubuntu 20.04 (server/terminal) from the Windows 10 app store, and then after launching the Ubuntu Terminal via WSL2 (Windows Subsystems for Linux) , I installed Ubuntu Desktop and did several steps to try and get a desktop instance of Ubuntu 20.04 launched.  In short, the steps involved editing the .bashrc file, installing Xming, and then attempting to open the Ubuntu desktop in Xming with the &quot;startxfce4&quot; command.  However, &quot;startxfce4&quot; just doesn't open the desktop for me.  I can get programs to open with &quot;grun&quot; and the file explorer to open with &quot;gopen&quot; though, so it is working partially. Does anyone have any alternative suggestions to how I might get the terminal to open up the full Ubuntu Desktop?  Obviously, this wasn't what Windows had in mind with WSL2 so this is kind of a reach, but any input would be helpful.  Could I somehow do this from the file explorer or with a program that could opened from &quot;grun&quot; or &quot;gopen&quot;? Flat quads (or, why is my mesh so funky?) When one hears that something smells, one would generally assume that it smells bad.   Isn't there a word which wouldn't bring to mind the idea of a bad odor? For example, how would you describe pot-pourri (assuming you like the smell of pot-pourri)? If possible, I would like an adjective, or a word that could takes the place of an adjective. How should we handle downvote retaliation? Is it possible to associate non-blend files with Blender? Is there a way to make Blender auto import files that are not .blend when you open them?  For example if you open a .fbx file by double clicking on it, and you have Blender set as default application, then import it to a new .blend.  Is it possible to make Blender import this .fbx file just like you would do it manually by using File > Import > FBX?  By default, Blender just opens up and loads default new scene when you open anything that is not .blend file. What's the appropriate reaction to an answer that doesn't attribute the source it's copied from?