Notifications that inform you of a received badge show an image of the badge.  This image always appears in the style of the badges from the site you are currently viewing, not the site the badge came from.  This seems incorrect.
It's so cool that the notification reminds you of the colour of badge you've earned. But I am a little puzzled by the symbols:      Is it feasible to use the symbol from the earned site? At the moment it uses the symbol from the site I happen to be on (as you can see by looking to the left of the dropdown in each case.)
Encode/Decode URLs in C++ Does anyone know of any good C++ code that does this? How to solve "Extra junk at end of file" when using apt? I'm trying to configure some proxies for a guest virtual machine and now I'm getting:  sudo apt-get update E: Syntax error /etc/apt/apt.conf.d/95proxy:4: Extra junk at end of file   The content of the file is:  cat /etc/apt/apt.conf.d/95proxy   Acquire::http::proxy  "http://10.0.0.60:3128/" Acquire::ftp::proxy "http://10.0.0.60:3128/" Acquire::https::proxy "http://10.0.0.60:3128/" There was a great SF story I read some time ago (probably 25+ years ago) where there was a well known treasure trove, guarded by a killer robot that would ask all comers a series of difficult questions from all areas (math, physics, literature, history, etc.)  But everyone eventually failed and died... until the last person managed to make it past the robot:     By just answering gibberish to the robot.  Unfortunately, after collecting a ton of treasure, the robot casually asked him why he wanted it, he answered in a sensible way (something like "because it's valuable"), and the robot killed him, because he failed the final test.   Any ideas who wrote this?  What it was titled? Is there any way to keep the URLs in the same form they are saved within the .bib files when using biblatex-chicago with Biber? For instance, the entry  @misc{RussianEmpire.1855,  author = {Russian Empire},  year = {1855},  title = {Treaty of Shimoda},  url = {https://ru.wikisource.org/wiki/Симодский_договор_с_Японией_(1855)}, }   results in the following output:    While there certain are benefits to converting the link itself, this sort of output in the footnote makes it both ugly and difficult to re-enter the link when reading a printed copy. How would one proceed about to receive the output along the lines of ""?  Minimal working example:  %!TEX program = xelatex \documentclass{article}  \usepackage{fontspec} \usepackage[russian,british]{babel} \newfontfamily\russianfont[Script=Cyrillic]{CMU Serif}  \usepackage[CJK, Cyrillics]{ucharclasses} \setTransitionsForCyrillics{\russianfont}{} \usepackage{csquotes} \usepackage[labeldate,backend=biber]{biblatex-chicago} \addbibresource{bibliography.bib} \usepackage[unicode,hidelinks]{hyperref}  \begin{filecontents}{bibliography.bib} @misc{RussianEmpire.1855,  author = {Russian Empire},  year = {1855},  title = {Treaty of Shimoda},  url = {https://ru.wikisource.org/wiki/Симодский_договор_с_Японией_(1855)}, } \end{filecontents}  \begin{document}  Cyrillics support test: Тест\\  \cite{RussianEmpire.1855}  \end{document}   Output: Why does the classical path give the dominant contribution in the path integral? Should I ask questions I already know the answer to and answer them myself? How do I install gfortran? I am trying to install gfortran in my computer with Ubuntu 12.04 by using these commands,  sudo -i apt-get update apt-get install gfortran   but I found the program saying "unable to locate package gfortran". Then on a Ubuntu page I found some question regarding the same problem and I went through the solution from them but again I couldn't install the gfortran package.  Can anybody tell me how to install it? Scheduling a team based activity with 10 different teams and X different games. Every team must meet each other ONCE but never twice, Hi there I am planning a ”Scavenger hunt”-like activity (I have no other words for this event), and I am having trouble creating the schedule.   The idea of this hunt/run/game/competition is that 10 teams will battle each other at X different mini games. The games on are team vs. team based, meaning that there will always be two teams on each post and one winner and one loser.  I require that every team fights every other team. Meaning that team 1 will have to meet team 2, 3, 4, 5, 6, 7, 8, 9, and 10, and team 2 will have to meet team 1, 3, 4, 5, 6, 7, 8, 9, 10 (and so forth). The amount of mini games must be so, that every team only meets the other teams ONCE each, but still they have to meet every team.  How many posts do I need to create, and how could I schedule the overall activity? (A table of rounds and teams would be much appreciated). Is it possible to save `bc` command line history? bash has a handy file .bash_history in which it saves the history of commands and on the next execution of bash the history is populated with saved commands. Is it possible to save bc command history to a file in the same way and then load it on startup so that bc history is preserved? I tried reading  and it mentions readline and libedit. From ldd /usr/bin/bc I see mine uses readline and readline has  and read_history functions. Is this functionality implemented in bc or to do it I'll need to patch bc? This applies to all d20 systems, but with an example from the from the Pathfinder  (emphasis mine):  Stonecunning: Dwarves receive a +2 bonus on Perception checks to potentially notice unusual stonework, such as traps and hidden doors located in stone walls or floors. They receive a check to notice such features whenever they pass within 10 feet of them, whether or not they are actively looking.  In this case, does the GM roll the check in secret or ask the player roll the check? If the GM asks the player to roll for the check, what stops situations like:  GM: (interrupting) &quot;Gimli, Roll a perception check.&quot; Dwarf player: &quot;Oh, it's a natural one, I guess I don't see anything.&quot; Human player: &quot;Okay, I'll roll a perception check for anything unusual in this room. Nice! 19. How about 19, does 19 work for you?&quot; GM: &quot;Gimli, everything looks kosher to you. Aragon, you notice a rock coloured tarp on the ground here, covering what looks like a pit trap.&quot;  In this case, by telling the dwarf to roll his &quot;free&quot; perception check, he's telegraphed to the players that there is something to notice. How can this be fixed, without bluffing checks for nothing in particular to throw off the signal to noise ratio of similar checks? How did we 'discover' dark matter? I'm an astrophysics student and I've been researching this topic and there is one point that keeps eluding me.  How did the scientific community realize that there had to be  in the Universe? View linked Excel 'Windows' on separate screens Functional Equation: Find all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ such that $(x+y)(f(x)-f(y))=(x-y)f(x+y)$ When I login to my ubuntu system, it show me this this message, How can I see it any time? I tried to run . .bashrc but it didn't worked.   Welcome to Ubuntu 12.10 LTS (GNU/Linux 3.2.0-24-virtual x86_64)   * Documentation:  https://help.ubuntu.com/    System information as of Sat Jul 13 06:16:35 UTC 2013    System load:  0.55              Processes:           96   Usage of /:   8.1% of 68.74GB   Users logged in:     0   Memory usage: 55%               IP address for eth0: 198.xx.xxx.xxx   Swap usage:   0%                IP address for eth1: xxx.1x0.xx.xxx    =&gt; There is 1 zombie process.    Graph this data and manage this system at https://landscape.canonical.com/  223 packages can be updated. 134 updates are security updates.  Last login: Mon Jul  8 17:47:05 2013 Is there a way to find the number of accepted answers you have, other than manually counting each one? Ephemeral error message: "cryptsetup: unknown fstype, bad password or options?" A generalization for Serret's integral $\int_0^a \frac{\ln(1+ax)}{1+x^2}dx$ Consider a text file with the following entries:  aaa bbb ccc ddd eee fff ggg hhh iii   Given a pattern (e.g. fff), I would like to grep the file above to get in the output:  all_lines except (pattern_matching_lines  U (B lines_before) U (A lines_after))   For example, if B = 2 and A = 1, the output with pattern = fff should be:  aaa bbb ccc hhh iii   How can I do this with grep or other command line tools?    Note, when I try:  grep -v 'fff'  -A1 -B2 file.txt   I don't get what I want. I instead get:  aaa bbb ccc ddd eee fff -- -- fff ggg hhh iii How to configure splash screen after plymouth I have configured my splash screen for plymouth - and it works perfectly. I've also configured the display manager (I'm using gdm). In between these two I get a very brief splash screen - a kind of swirl of multi-coloured ubuntu like colours. Where does this splash screen get set, and how do I change it?  Edit: Here is a video of my boot sequence, showing the screen in question: "It's time something was / were done about the problem." It's time something was done about the problem.   It is a sentence from Murphy's "Grammar". Using was confused me, for me it should be were. It looks like this clause is in subjunctive mood&mdash;something that is unreal / imaginary, and in that case you always use were for any object.  Unless, of course, it is not the subjunctive mood, what would knock me down.