I couldn't adjust my computer's brightness after I installed Ubuntu 16.04 with its default controller. Then, I downloaded brightness-controller package which is a great tool. It worked. Now I want to add shortcuts to this package's controllers for darkening and whitening. Which commands should I integrate with shortcuts?
Is it possible to adjust desktop monitor brightness like on laptops? Yes all desktop monitors have separate menu for it. But is it possible to change this to something like Winkey+(F1..F12)?    Monitor is connected via VGA or DVI cable.   OS: Ubuntu 14.04 Desktop monitors
Determining true mean from noisy observations I have a large set of data points of the form (mean, stdev). I wish to reduce this to a single (better) mean, and a (hopefully) smaller standard deviation.  Clearly I could simply compute $\frac{\sum data_{mean}}{N}$, however this does not take in to account the fact that some of the data points are significantly more accurate than others.  To put it simply, I wish to preform a weighted average of these data points, but do not know what the weighting function should be in terms of the standard deviation. nodejs vs node on ubuntu 12.04 Why are all of my appliances becoming energized when ground wire is excluded? Show that $\mathbb{Q}\times \mathbb{Q}$ is denumerable Add time restriction in ArcGIS Network Analyst I'm trying to use train tracks as a network in ArcGIS Network Analyst.   We are trying to create a model for security agents on board our trains and we'd like to optimize their daily "route". For now, it's all made by hand.   My approach is to take our gtfs data and create a network using stop times to determine when the train segment is "traversable". When there's a train on the segment, it's open, if not, it's restricted.   The problem is I can't set a restriction based on time in Network Analyst (or wasn't able to). I would like to be able to say by a formula or script than you can take that segment only from 7:03 AM to 7:10 AM for example.  Is it possible?  Thanks! If $\mathbb f$ is analytic and bounded on the unit disc with zeros $a_n$ then $\sum_{n=1}^\infty \left(1-\lvert a_n\rvert\right) \lt \infty$ I'm going over old exam problems and I got stuck on this one. Suppose that $\mathbb{f}\colon \mathbb{D} \to \mathbb{C}$ is analytic and bounded. Let $\{a_n\}_{n=1}^\infty$ be the non-zero zeros of $\mathbb{f}$ in $\mathbb{D}$ counted according to multiplicity. Show that  $$ \sum_{n=1}^\infty \left( 1 - \left|a_n \right|\right)\lt\infty $$  I can understand that $\left|a_n \right|$ goes to $1$ since zeros are isolated, but it doesn't help showing the series is convergent. Any help will be appreciated! Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*? The first image of a black hole has been released today, April 10th, 2019. The team targeted .  Why didn't the team target  at the center of our own galaxy? Intuitively, it would seem to be a better target as it is closer to us. Drawing Roman laurel leaves (SPQR) in TikZ I was trying to get the symbol of the old .  I'm actually interested in the laurel leaves, and not so much in the banner per se.  What I would like to have is something like this (in Tikz, as oppose to simply \includegraphics).  With the possibility to change the stylish A to any other simple roman letter.    I'm a complete newbie with TikZ, and even though I know this question sounds like do this for me, I would really appreciate if someone could at least throw in an sketch where to start. I have a Python script which I would like to execute at every startup. I can run it by adding this to the startup applications:  python3 /path/to/script.py   That works, but it doesn't open a terminal window, so I can't see the program's output. How could I make it open a terminal window and execute the script in there?  Note: I get the window to stay open with input(' ') at the end of the Python script. Thanks! I've noticed a distressing tendency for questions that seem basic or overly short to be immediately closed and downvoted into oblivion.  Case in point:   Within a minute of being asked, this question received 12 downvotes and was closed as "not a real question".  That particular question is a very real, non-trivial question, but it had somewhat poor grammar and looked a little like a much simpler question.  Can we try to be a little more accepting? According to Hubble's Law, how can the expansion of the Universe be accelerating? Scientists today think the expansion of the universe is accelerating.   According to Hubble's law, objects further away are moving faster than objects closer to us. The further away an object is, the further back in time we are seeing, so in the past objects moved faster (is this sentence correct?).  So because objects moved faster before than they do now, surely that's deceleration not acceleration?  my textbook says "if Scientists today think the rate of expansion of the Universe were decreasing then distant objects should appear different to Hubble's Law predictions: universe is accelerating. More distant objects would seem to be receding faster (since expansion was faster in the past)" Is the C# "explicit implementation" of the interface present in Java? In C#, if you have two base interfaces with the same method (say, F()) you can use explicit implementation to perform different impl. for F(). This alloes you to differently treat the object, corresponding to the current point of view: as IMyInterface1 or IMyInterface2. Is this possible in Java? proving $\left(1+\frac 1n\right)^{n} = 1 + \sum_{k=1}^n \{\frac 1{k!}\prod_{r=0}^{k-1}(1-\frac rn)\}$ using the binomial theorem Adding feature class to Map in CURRENT project using ArcPy in ArcGIS Pro? I want to add a feature class within a Geodatabase to a map in ArcGIS Pro (1.4.1) using arcpy. I am converting some python code from ArcGIS Desktop to ArcGIS Pro.   This issue is very similar to:    and      However, instead of adding a feature class (or layer) to a map using the Python Window I am doing this from a  Script within a Toolbox. I have included a code snippet below.  lyrTest = r"C:\data\test.gdb\Layer1"  aprx = arcpy.mp.ArcGISProject("CURRENT") aprxMap = aprx.listMaps("MainMap")[0]  lyrFile = arcpy.mp.LayerFile(lyrTest) aprxMap.addLayer(lyrFile)   I get the following error message:  Traceback (most recent call last): File "C:\data\AddLayers.py", line 5, in &lt;module&gt;     aprxMap.addLayer(lyrTest) File "c:\users\user\appdata\local\programs\arcgis\pro\Resources\arcpy\arcpy\utils.py", line 191, in fn_ return fn(*args, **kw) File "c:\users\user\appdata\local\programs\arcgis\pro\Resources\arcpy\arcpy\_mp.py", line 1048, in addLayer return convertArcObjectToPythonObject(self._arc_object.addLayer(*gp_fixargs((add_layer_or_layerfile, add_position), True))) ValueError: C:\data\test.gdb\Layer1 Failed to execute (AddLayers). $f$ has the form $f(x) =ax^2+bx+c$. Every differentiable function $f:R \rightarrow R$ with the property that $(2h)f′(x) =f(x+h)−f(x−h)$ for all $x \in R$ and all $h$ has the form $f(x) =ax^2+bx+c$.  I would like to get some help on this one. Taking partial derivatives was an idea, but is that legal? How do snaps work exactly and why are they mounted? Recently I started learning more about snap packages and what intrigued me was that snap packages are mounted together with their own file system and dependencies (correct me if I'm wrong). Now, with all the great things that snaps bring to the table, what I'd like to know is:  Are snap packages always going to be mounted? This seems kind of awkward, since they appear in places like lsblk and give the impression of not being well integrated into my system.   Also, could they ever replace .deb and .rpm packages completely, or are they a different type of animal and are only complementary to .deb and.rpm packages?  As a side-note, I noticed that some applications are so self-contained that they don't respect any of my desktop settings like the mouse cursor theme or icon and menu themes. The extension of smooth function "Add/show 1 other comment" bug strikes again (currently deleted (visible only to 10kers)) is a great example of a duplicate question that should not be deleted. [Note: this question was later merged into , which resulted in the original being hard-deleted. This issue with merging  ] The titles of the duplicates are completely different.  Having duplicates around greatly aids search hits on the site. We need to keep questions like this around for the benefit of the community. Both questions have around 4K views.  They are both relevant.  I cannot believe that a question with over 3K views is being deleted. Edit Search for python continue line and python line break in google.  Both answers are top hits.  They should both be open. Validate/verify PDF files integrity