Ratio of Areas of Quadrilateral
Trisect a quadrilateral into a $9$-grid; the middle has $1/9$ the area
Intel Corporation Device [8086:0d4f] is not supported on Ubuntu 18.04.3 I am currently unable to install ubuntu server 18.04.03 LTS on the latest intel NUC10i7FNH.  Ubuntu always states both network adapters as unclaimed. The previous version (NUC8i7BEH) has the same network controller I219-V and worked like a charm.  *-network:0 UNCLAIMED      description:  Network controller      product: Intel Corporation      vendor: Intel Corporation      physical id: 14.3      ...   Without network it is not even possible to follow most suggestions how to get it enabled, because it is impossible to fetch new packages from internet.  Here are some more information as requested:  The output from: modprobe -v e1000e &amp;&amp; dmesg | grep e10   [ 3447.889394] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [ 3447.889395] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.   The output from: sudo lspci -knn  00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:0d4f]     Subsystem: Intel Corporation Device [8086:2081] 01:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] [8086:15e7] (rev 06)    For me this looks somehow, as the kernal driver would not be in use :-/  Here are a few more information i got from playiung around with 19.10 desktop version.  [    0.000000] Linux version 5.3.0-29-generic (buildd@lcy01-amd64-024) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #31-Ubuntu SMP Fri Jan 17 17:27:26 UTC 2020 (Ubuntu 5.3.0-29.31-generic 5.3.13)   output from lshw:    *-network:0        Beschreibung: Kabellose Verbindung        Produkt: Intel Corporation        Hersteller: Intel Corporation        Physische ID: 14.3        Bus-Informationen: pci@0000:00:14.3        Logischer Name: wlp0s20f3        Version: 00        Seriennummer: c8:09:a8:9c:cd:e0        Breite: 64 bits        Takt: 33MHz        Fähigkeiten: pm msi pciexpress msix bus_master cap_list ethernet physical wireless        Konfiguration: broadcast=yes driver=iwlwifi driverversion=5.3.0-29-generic firmware=48.4fa0041f.0 ip=192.168.178.109 latency=0 link=yes multicast=yes wireless=IEEE 802.11        Ressourcen: iomemory:600-5ff irq:16 memory:6023114000-6023117fff   The output from: modprobe -v e1000e &amp;&amp; dmesg | grep e10  [    2.357430] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [    2.357430] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [    2.357616] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [    2.562796] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock [    2.634139] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 1c:69:7a:60:44:f0 [    2.634140] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection [    2.634258] e1000e 0000:00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: FFFFFF-0FF [    2.634991] e1000e 0000:00:1f.6 eno1: renamed from eth0 [    5.103285] checking generic (4000000000 e10000) vs hw (4000000000 10000000) [   15.806697] e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None    output from lspci:  00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (10) I219-V [8086:0d4f]     DeviceName:  LAN     Subsystem: Intel Corporation Ethernet Connection (10) I219-V [8086:2081]     Kernel driver in use: e1000e     Kernel modules: e1000e File has different name in terminal and Finder I've just downloaded the driver for my preferred trackball from Logitech. In the Finder, the Installer's filename is Logitech Control Center Installer.app. In the Terminal, ls shows LCC Installer.app. How did this happen? do I only get a limited number of at-will powers? Fastest way to clamp a real (fixed/floating point) value? Is there a more efficient way to clamp real numbers than using if statements or ternary operators? I want to do this both for doubles and for a 32-bit fixpoint implementation (16.16). I'm not asking for code that can handle both cases; they will be handled in separate functions.  Obviously, I can do something like:  double clampedA; double a = calculate(); clampedA = a &gt; MY_MAX ? MY_MAX : a; clampedA = a &lt; MY_MIN ? MY_MIN : a;   or  double a = calculate(); double clampedA = a; if(clampedA &gt; MY_MAX)     clampedA = MY_MAX; else if(clampedA &lt; MY_MIN)     clampedA = MY_MIN;   The fixpoint version would use functions/macros for comparisons.  This is done in a performance-critical part of the code, so I'm looking for an as efficient way to do it as possible (which I suspect would involve bit-manipulation)   EDIT: It has to be standard/portable C, platform-specific functionality is not of any interest here. Also, MY_MIN and MY_MAX are the same type as the value I want clamped (doubles in the examples above). After a brief discussion with @MonicaCellio (In the comment) - It has come to my attention that perhaps I chose the wrong words to describe my original idea (In the edit history). When I wrote "social features" I was actually suggesting an alternative way to for users to share their knowledge using a new type of post and articles and not just by questions and answers.   The basics of my idea was to allow users to write articles on topics relevant to the community on the SE websites just as any answer posted is expected  to be too. Allowing users to write their own content (I.E posts/articles/etc..) will be granted as a privilege for advanced users so that not anyone could write stupid things, users that will write content must be established and well-familiar with the rules of SE.   I know anyone can start a blog, but it's require frequent maintenance and content updates, while writing on SE ensure that it addressed to a large, well-established community, with a similar fields of interest.  Posts writing will follow the same guidelines as asking and answering questions does, but it will provide an alternative for users that are mostly answering specific questions, as a new method to contribute to the community.   By writing, one may also reveal more about their personality, wit, way of thinking, ETC. That's when the "social" takes place - You'll also have "authors" and not just "users" you can remember by their catchy name, but people that you can remember by the field of interest they are writing content about.   They key points will be:    Users will be able write rich content with advanced WYSIWYG HTML editor, content that doesn't require a question to answer, but that is still relevant to the SE website it is writing on. Users will be able to Upvote/Downvote other users posts. Posts will be listed on their author profile, so it will not just show the activity, but additional layer of user generated content. Popular posts with high reputation could be associated to tags making the information of tags richer with user generated content Users will be able to include links in answers not only to other questions, but also to posts. User will be able to comment on post to allow the author to correct and improve it. It will improve the interaction and offline discussions (Which are prohibited when it come to long discussions on questions and answers). I believe that users will be happy to share their own tutorials, tips and tricks - Because they are already doing so when answering questions, but before the can start, they'll have to earn enough reputation to ensure that only high profile users will be able to write high profile content, and not just any rubbish. It will provide another type of method for voting and getting earning reputation Users will be able to include content in their CVs on SO Jobs.  Opportunity to earn some new badges.   So it's a Mega feature request and it require some detailed design work, but I do think that it will invite a new type of activity for users on SO (and the rests of the sites of-course). Could give some examples of nonnegative measurable function $f:\mathbb{R}\to[0,\infty)$, such that its integral over any bounded interval is infinite? Prove that$$\overbrace{\binom n 0 + \binom n 1 + \binom n 2 + \cdots + \binom{n}{\frac{n-1} 2}} + \overbrace{\binom n {\frac{n+1} 2} + \cdots + \binom n {n-1} + \binom n n} = 2^n. $$   Background:  This problem came from the following link:    and I didn't understand why that was true in which no one on the page has proved it to be so. and i was wondering what was the proof on that Is a transit visa required to pass through Bangkok Airport? I have two directories that should contain the same files and have the same directory structure.  I think that something is missing in one of these directories.  Using the bash shell, is there a way to compare my directories and see if one of them is missing files that are present in the other? How are private keys handed to users in Identity-based Encryption? If $p$ is a prime and $p \mid ab$, then $p \mid a$ or $p \mid b$. The proof is already given in the textbook but I tried other way around.   Proof by contradiction: Let's assume that $p$ doesn't divide $a$ and $p$ doesn't divide $b$, but $p$ divides $ab$. So $\gcd(p,a)=1$ and $\gcd(p,b)=1$. Given that we can construct linear combinations   $sp+ta=1$ together with $up+wb=1$. Multiplying the left and the right sides of the equations we get  $spup+spwb+taup+tawb=1$ or $p(sup+swb+tau)+ab(tw)=1 \implies \gcd(p,ab)=1$. This is a contradiction.   Is it rigorous and sound proof? Why is unity feedback used? How to fight off Google Analytics referrer spammers? Last months I have lots of referrer spammers in my GA statistics. Their count is ~10x higher than count of legit visitors (my site is not very popular yet). I've turned on an option to hide known spammers in GA settings, but it didn't help at all. It seems these spammers are using scripts to spam directly to GA (i.e. they are not logged in my IIS).  Is there anything I can do to stop these spammers?    UPD 10 months later, and they started spamming using fake target page names... and Google is still doing nothing about it. I am working to build a reinforcement agent with DQN. The agent would be able to place buy and sell orders for a day trading purpose. I am facing a little problem with that project. The question is "how to tell the agent to maximize the profit and avoid the transaction where the profit is less than 100$".  I want to maximize the profit inside a trading day and avoid to place the pair (limit buy order, limit sell order) if the profit on that transaction is less than 100$. The idea here is to avoid the little noisy movements. Instead, I prefer long beautiful profitable movements. Be aware that I thought using the "Profit &amp; Loss" as the reward.  "I want the minimal profit per transaction to be 100$" ==> It seems this is not something that is enforceable. I can train the agent to maximize profit per transaction, but how that profit is cannot be ensured.  At the beginning, I wanted to tell the agent, if the profit of a transaction is 50 dollars, I will remove 100 dollars, then It becomes a penalty of 50 dollars for the agent. I thought it was a great way to tell the agent to not place a limit buy order if you are not sure it will give us a minimal profit of 100$. It seems that all I would be doing there is simply shifting the value of the reward. The agent only cares about maximizing the sum of rewards and not taking care of individual transactions.   How to tell the agent to maximize the profit and avoid the transaction where the profit is less than 100$? With that strategy, what guarantee that the agent will never make a buy/sell decision that results in less than 100 dollars profit? Does the sum of reward - # transaction * 100 can be a solution? The nose of Tom Riddle (as a student) was fine, as I have seen in the movies. But, Voldemort's nose doesn't look like a normal human nose. What really happened? "Similar questions" overlaps footer and has no background When I can scroll down far enough to have the hot network questions overlap the footer (because my question is short) there is no background under the text:    Could they either be given a white background: (just disable the transparency option)    Or stop at the footer:      This also happens with the help text on some sites, as per this bug report:     Ubuntu 14.04.1 (Latest LTS Version), . Same problem with  and .  Windows 10 Pro,  and .  (Images linked to screenshot of browser)  My question is different from  because my issue is the lack of background on the footer.   I think there was a site redesign? What is the purpose of .bashrc and how does it work? 13.04 - more than four workspace shortcuts in GNOME Flashback (No effects) I'm using GNOME Flashback (No effects) on Ubuntu 13.04 and I've got six workspaces however when entering System Settings -> Keyboard -> Shortcuts -> Navigation I only see options to address the initial four.  It used to be options up to 12 workspaces there and as I certainly don't need that much, I want to have at least enough for the amount currently active.  How can I restore or add more shotcuts specifically to navigate and move windows to workspace 5 and 6? Intermediate ring between a field and an algebraic extension. How can I run the following xrandrcommand on startup?  xrandr   cvt 1368 768  xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync xrandr --addmode VGA1 1368x768_60.00 xrandr --output VGA1 --mode 1368x768_60.00