sort list of dictionaries based on "sub-string" present within dict's value string
How do I sort a list of dictionaries by a value of the dictionary?
Let $f:\mathbb{R}\longrightarrow \mathbb{R}$ a differentiable function such that $f'(x)=0$ for all $x\in\mathbb{Q}$ Let $f:\mathbb{R}\longrightarrow \mathbb{R}$ a differentiable function such that $f'(x)=0$ for all $x\in\mathbb{Q}.$ $f$ is a constant function? Please allow using nested expressions when filtering with tags Please support the use of nested expressions like  and (or ) when searching.  Looking here, on meta, at questions tagged   and at questions found with +search +tag +boolean I didn't see any information on this topic. Schedule to open website I'd like to open a website at regular intervals per day, i.e., the browser should open and automatically navigate towards a pre-set URL.  I looked at options like scheduling to open browser, but I can't figure out how to open it with a default URL. (No I do not want to make this my start page)  Any help is appreciated Screen goes white when posting a comment Since iOS 11.2 all the way through 12.2 beta 4, if you post or discard a comment on any post on any SE community, the screen will turn white. This has been ongoing continuously for a year now, and it affects both the SE app and the SO app.   You can go back to the previous screen and open the question again, and everything appears as normal. You can also rotate the screen to get the text to come back. Using the arrows to navigate between the question and answers updates the HUD, but the screen remains white unless one of the above is done to get the text back.        UPDATE: After posting anything (comment, answer), the screen goes all white except for the sidebar. Perhaps it is intentional, but I prefer last week’s behavior of going back to the content. Not major, since the sidebar icons still work. What is the difference between "Redirection" and "Pipe"? This question may sound a bit stupid, but I can not really see the difference between redirection and pipes.  Redirection is used to redirect the stdout/stdin/stderr, e.g. ls &gt; log.txt.  Pipes are used to give the output of a command as input to another command, e.g. ls | grep file.txt.  But why are there two operators for the same thing?  Why not just write ls &gt; grep to pass the output through, isn't this just a kind of redirection also? What I am missing? Drive shape key based on relative camera orientation? How can I correct this code to get an answer? Etiquette, rules, or advice on which site to pose a question? (Or, why are there so many StackExchange sites?) Basically: I have a question I want to ask regarding using Apple's AppleScript/Objective-C bridge (Objective C wrapped in AppleScript, basically) to implement an HTML/WebKit-based pager (a drop-in for less, like vimpager) and a HTML-ized manpage writer, which should also be capable of rendering to PDF via pandoc/pdftex, etc.  Is this a:   Stack Overflow question? (C/Objective-C, APIs) Ask Different question? (AppleScript) Unix &amp; Linux question? (implementing a pager which is a drop-in for a *nix utility) TeX question? (PDF rendering) All of the above?   Where and how should I ask this, in order to increase the likelihood of the "right person" seeing it?    Edit: I believe this question was too hastily closed as a duplicate.  While the best answer to this question is indeed identical to answer to the other:     Ask the question on the site you think is most applicable. If ... it does not get any answer,   ask a moderator to migrate the question, or alternatively, delete it and re-ask it.   The so-called "duplicate" in question asks     Is cross-posting permitted on multiple Stack Exchange sites if the question is on topic?   whereas this question asks,     Where and how should I ask this [ question that is on topic on multiple Stack Exchange sites? ]     That is to say, if two similar but materially different questions have identical answers, it does not necessarily follow that the questions are likewise the same.  Calling them duplicate questions does a disservice to both and the site in general I think. I have:  &lt;?php  $file=fopen(date("Y-m-d").".txt","r+") or exit("Unable to open file!");  if ($_POST["lastname"] &lt;&gt; "") {    fwrite($file,$_POST["lastname"]."\n"); }  fclose($file);  ?&gt;   but it overwrites the beginning of the file.  How do I make it insert? Why did the writers select the date November 5, 1955 in Back to the Future? Is there any significance to the date November 5, 1955 that was chosen in Back to the Future? Is it one of the directors birthday or something like that or were there specific real life events that day in history?   I am not looking for in-universe answers. I need to convert one into 1, two into 2 and so on.  Is there a way to do this with a library or a class or anything? How do I deliver a baby? I'm playing Fallout Shelter, and my newest bonus objective is to "Deliver 1 Baby Dweller."  I've already figured out that I can put a male vault dweller and a female vault dweller together in some residential quarters, and and eventually, if they hit it off, the lady will replace her vault suit with a yellow sweater and a decidedly pregnant figure.   Good enough.  But how long does it take her to deliver the child? Do I have to induce it through some sort of tapping ritual or placing her in the correct room? Does the pregnant dweller need to stay in the living quarters, or can I put her to work in my Diner or Water Treatment Facility? Do the SPECIAL stars of the parents matter?  Tell me everything about  and what I can do to control the process. Why does turning Caps Lock off take such a long time to work? This is my biggest issue with Linux and the main reason I don't use it as my main working OS.  Whenever I use caps lock to write something in upper case and disable it in order to keep writing the next letter AFTER I've disabled it is written in upper case.  So, my text comes out weird, as SOMETHING *L*ike this  I've tried Linux Mint, Fedora ... and the issue keeps happening.  Searching Google I've found some very rare persons have the same issue, but I was unable to find any solution.  Is there any way to solve this or am I DOOMED *F*or life?  BTW, whenever I ask this question someone suggest I should learn to use shift, instead of caps lock. I know, that's the right way, but I'm used to use caps lock and, well, it should work. Change this behavior to allow for spelling corrections and the like: "Edits must be at least 6 characters" Now, it is easy to workaround this: add 10 characters, plus your one-character change, then remove these 10 characters in the next edit for the same post.  But this can hardly be what the designers intended. Instead, my suggestion is to change it to something like on Wikipedia, where you can mark an edit as "minor". Something like this:     Edits must be at least 6 characters, or select the checkbox "Minor, spelling or punctuational correction."   Edits like that will, of course, not count toward the edit-limit (before it becomes Community Wiki).  The suggestion often seen on Meta Stack Overflow is "just edit more in that post". But sometimes the post is just right, and there aren't any other spelling mistakes to correct. Why force a user to change more than necessary, or use an ugly hack? Sobolev inequality If $f\in H^2(\mathbb R^2)$, I want to show that    $||f||_{L^\infty}\le c||f||_{H^2}$ $||f||_{L^\infty}\le c||f||_{H^1} [1+\ln(1+||f||_{H^2})]$   For 1, I use $||f||_{L^\infty}\le \sup_{x\in \mathbb R^2} |f|\le\int_{\mathbb R^2} |\hat f(\xi)|d\xi = \int(1+|\xi|^2)^{-1}(1+|\xi|^2)|\hat f(\xi)|d\xi \le (\int (1+|\xi|^2)^{-2}d\xi)^2(\text {which is integrable in this case})||f||_{H^2}\to \text{is this correct?}$   But for 2, I am stucked. How can I get the "ln"? and how can I make it into a product of $H^1$ and $H^2$ norm? Singular or Plural setting to a variable. PHP Way to play shared game that is in use in steam? My brother just got me a new computer but he is always on so I can't play his steam shared games. Is there a way to play his games while he is playing a game too? So, I'm running linux Mint (but I guess the same applies to Ubuntu) and as is common knowledge, their TeX distribution tends to be slightly outdated. Now I can't have none of that and decide to install it with the install-tl from the TeXlive homepage. Somehow, I cannot install it as a normal user (this I find normal as it is installing in the root directory), so I proceed to install TeXlive   sudo perl ./install-tl   and add the paths to .bashrc. All is well and my TeXlive installation works. Except for the texhash option. Running it as a normal user is no problem, except that I installed TeXlive as root, and so running texhash as normal user doesn't do anything (directory not writable. Skipping...). No problem I think, I'll just do it as root. But somehow texhash isn't installed for root.  Now, texhash is somehow connected to updating the directory tree, but I don't really know what it does. I use it on my ~/texmf/ folder to add my packages to a global path (I think), but when looking at info for this question I see in a comment for  question that this is apparently not needed, though I don't understand what I'm to do now.  So if I'm not adding new packages from CTAN or updating, I really don't need texhash and all is good?   To summarize: I'd like to know:    Why should I need texhash? Can I avoid installing as root on linux Mint/ubuntu ( they say you don't have to be root, that it's even discouraged)? Should I somehow install texhash for root?   I realize this might be a vague question at best, but I didn't find an answer I readily understood, so I'd appreciate any thought on this. Why doesn't 'find' show this file? Using find with grep, one can locate files that match a pattern:  # find | grep error ./solr-modifiedSolr4/SolrPhpClient/phpdocs/errors.html ./error_log ./includes/classes/error_log   However, using find alone the first file is not found:  # find . -name error* ./error_log ./includes/classes/error_log   Why doesn't find locate the errors.html file when not used with grep? How is find used to show this file as well? Word for a temporary project name In software development, and I imagine in many other fields, we often make up temporary nicknames for new projects or features. These are not meant to be the real names for the end product and are often funny, playful, or sarcastic in nature. These are also not intended to be "codenames" that hide the nature of the project or feature. Is there a word for such nicknames?