When 1.14 rolled around, I got a little smarter on commands and stuff like that, though when I looked for an updated command for the title command I only found answers from 2015. Does anybody know the updated form of the title command?
I am currently making a map in the Minecraft 1.13 snapshots and have encountered a problem. I want to use the title command to give the player the number of resources they have for a certain resource. For example Wood: 150. I looked this up and found you could do this using the title command. Example:   title @a[r=1] actionbar [{"text":"Wood: "},{"score":{"name":"@p","objective":"Wood"},"bold":true}]}}   This works in 1.12 but not in 1.13. It seems that the JSON format has changed in 1.13 but I can't find anything on the wiki or the changelog.  Could someone please help me to work this out?
Environment variables are not passed to sub scripts while running on crontab I was trying to run one of the scripts (for example, wrapper.sh) which internally executes other scripts using crontab. It works fine without any issues.  When I have created a environment file (which stores the passwords-DB and paths) and trying to execute the main script (wrapper.sh) the cron entry doesn't work on those scripts which are called internally in the wrapper.  NOTE: I tried changing PATH, added env file location before the script in cron but it still didn't work:  9 9 * * * . /$SOMEPATH/some.env; /$SOMEPATH/wrapper.sh   The environment script and wrapper.sh are in same path. when the cron runs it passes the env variables to wrapper but not to the scripts which are called internally in wrapper. Also a mail is received on /var/mail/$user saying the env file as "No such file or Directory". I've gone through many posts but couldn't figure out the resolution. I launch a batch which call a lot of scheduled job. But I reach the governor limit :     Maximum number of Apex classes scheduled concurrently : 100   I'm wondering what happens when this limit is reached. The next scheduled jobs are waiting the number of scheduled jobs is lower than 100 for being executed or are they all cancelled ?  And is there to way to manage the number of scheduled jobs to avoir reaching this limit ? For example wait before schedule a new job if we are near the limit. On every boot up I get this:    For about 10 seconds (or more) before the "normal" Ubuntu Gnome loading screen and the login screen comes up.  I've read some questions and a bug report about this already, but this problem was dismissed as a minor inconvenience or there were no real solutions (that worked for me). For me, this problem leads to an unacceptable slow boot compared to Ubuntu (Unity) or Windows.  Does anybody know how to fix this or is this a "feature" of Ubuntu Gnome and not a bug? Wi-Fi only works after waking MacBookPro7,1 from sleep Been having some issues with the STA drivers from bcrmwl-kernel-source. While the drivers do function, they only seem to function after putting the laptop to sleep, by either closing the lid, or manually putting it to sleep, and waking it up. The laptop here is a MacBookPro7,1 (Mid 2010 13-inch MacBook Pro), running Ubuntu 17.04.  While the issue isn't bad enough to deter me from using the laptop, it is not an elegant solution, and I believe that there can be a solution found somewhere.  For reference, here are the outputs from the Wireless Info script for both before and after: , . Hopefully these are of some use. If you need additional information about the computer, I will be happy to answer. I have a 3TB Seagate Backup Plus Desktop USB 3.0 drive, which works fine when in its enclosure, but when I get it off its enclosure and directly plug it as an internal SATA drive, it's just not properly recognized (it works again when used in the enclosure). My systems’s motherboard is an , which has two SATA 6.0 Gb/s and four SATA 3.0 Gb/s ports.  When used as an internal SATA drive Windows 7 asks if I want to format the drive, as if it didn’t have a proper filesystem, and if I use the DISKMGMT.MSC tool (typing that in the start menu) I get completely wrong information about the drive.  It says the drive has 3 partitions (349,31GB of RAW data and two unassigned partitions of 1698,68GB and 746,52GB). This information is plain wrong, since the drive, when used in the USB enclosure, works as a single NTFS partition (2794,52GB). How come it’s shown as 3 partitions without filesystem when connected through SATA?!  Is Seagate using some proprietary way of storing the data when using the drive in its provided USB 3.0 enclosure? I didn’t use any kind of encryption. I just plugged the drive with USB 3.0 and started using it straight away, since it apparently came pre-formatted with an NTFS filesystem. Probability of winning the game 1-2-3-4-5-6-7-8-9-10-J-Q-K A similar question to mine was answered here on stackexchange:    However, I am unable to follow the formulas so perhaps someone could show the calculation and the way they arrived at it to answer this question.  My card game is very similar, except the counting of cards goes all the way from 1 (Ace) through to King and then restarts.  If you can make it through an entire deck of cards without hitting the same ranked card you win.  So, for example, if you call out Ace - 2 -3 - 4 - 5 - 6, etc. and hit "7" when you've just called out "7", you lose.  What is the chance of winning this card game? UTF8 to/from wide char conversion in STL Is it possible to convert UTF8 string in a std::string to std::wstring and vice versa in a platform independent manner? In a Windows application I would use MultiByteToWideChar and WideCharToMultiByte. However, the code is compiled for multiple OSes and I'm limited to standard C++ library. Iterate over all pairs of consecutive items in a list download.01.org certificate verification failed - CRLfile missing? So I had intel-Linux-graphics-installer on my computer  but lately when I   sudo apt-get update   I get the following error  Err https://download.01.org trusty/main amd64 Packages                          server certificate verification failed.  CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none   Tried reinstalling intel-linux-graphics-installer but nothing happend. And various solutions found here on askubuntu.com on certificates problems but didnt end up anywhere.  Any ideas on how to get that CRLfile? Also is this problem on my side or on the servers side? Prove that for any piecewise smooth curve it is possible to find the parametrisation $\phi$ that is consistent with its length, ie.  length of a curve segment between $\phi(a)$ and $\phi(b)$ is equal to $|b-a|$.  It seems intuitive, but I don't have any idea how can I show this in the formal way. A real $2 \times 2 $ matrix $M$ such that $M^2 = \tiny \begin{pmatrix} -1&0 \\ 0&-1-\epsilon \\ \end{pmatrix}$ , then : A real $2 \times 2 $ matrix $M$ such that $$M^2 =  \begin{pmatrix} -1&amp;0 \\ 0&amp;-1-\epsilon  \\   \end{pmatrix}$$ (a) exists for all $\epsilon &gt; 0$. (b) does not exist for any $\epsilon &gt; 0$. (c) exists for some $\epsilon &gt; 0$. (d) None of the above is true.  Attempt: I couldn't think of any theory base to prove / disprove the existence of such a matrix. Could someone please give me a hint on how to go about this problem? Thank you very much for your help in this regard. for loop in Java runs 3 times before taking next input How to select lenses for outdoor sports photography? I would like to get into sports photography, and would probably want a better telephoto lens so I can get better close up shots.  What other factors should I keep in mind as I make my choice? Does IS (or VR) matter?  What is a good focal length?  I'll probably be shooting mostly little league baseball/softball, church softball leagues, and kids soccer. Book for proof writing How do I spamtrap with Postfix? How do I setup spamtraps with Postfix so clients that send to trapped addresses are prevented from sending me more spam? I know there is a method for a Python list to return the first index of something:  &gt;&gt;&gt; l = [1, 2, 3] &gt;&gt;&gt; l.index(2) 1   Is there something like that for NumPy arrays? For any matrix $A$, $AA^T$ is symmetric, and thereby diagonalizable (Spectral Theorem). This implies that $AA^T$ has n linearly independent eigenvectors and therefore full rank.  Does this imply that for any matrix $A$, $AA^T$ is always invertible ? I know there is something wrong here because from the above chain we can conclude that a symmetric matrix is always invertible, which is definitely not true.  Could someone please point out where I am going wrong? Why does shell ignore quoting characters in arguments passed to it through variables? Does a logistic regression maximizing likelihood necessarily also maximize AUC over linear models? Restricting a user to a certain directory on SSH login I am having trouble restricting a user to a fixed directory when they connect with SSH  I want the user restricted to /var/www/home  however I connected myself and they are free to move about the system  I set the home directory to /var/www/home so they go there upon login however this doesnt restrict them.  I have tried a few things from suggestions in Google but nothing so far seems to work / do what I want  For example I have changed the chmod of www to 755 and root owned but still no effect