Datatable in another datatable with primefaces
Identifying and solving javax.el.PropertyNotFoundException: Target Unreachable
Why do "stripes" appear on raster? I am reprojecting a SRTM 3 arc-second raster file from WGS84 geographic coordinate system, to projected coordinate system which is using Azimuthal Equidistant projection:  gdalwarp -s_srs EPSG:4326 -t_srs "+proj=merc +lat_ts=40.81266 +lon_0=14.414252" -r near -of GTiff C:/vesuvius2_wgs84.tif C:/vesuvius2_aeqd.tif   I attached the initial raster file in here ().  The issue is that if I use the Nearest neighbor resampling method (-r near), some sort of "stripes" appear on terrain once I reproject the file to Azimuthal Equidistant projection. Here is the how the reprojected raster looks like:    And here is its 3d representation:    Interestingly similar "stripes" appear in both direction if I reproject the initial raster to UTM:  gdalwarp -s_srs EPSG:4326 -t_srs EPSG:32633 -r near -of GTiff C:/vesuvius2_wgs84.tif C:/vesuvius2_epsg32633.tif   The "stripes" go away when I use Bilinear or Cubic resampling methods (-r bilinear, -r cubic) instead of the Nearest Neighbor one.  Why do these "stripes" appear when Nearest Neighbor resampling method is used? The entire  site is blank right now.  The header and footer are shown, but no questions. My Ubuntu 16.04 keeps disconnecting from the Wi-Fi (eduroam). Why? I haven't noticed any pattern and I'm sure the Wi-Fi works perfectly because I have no problems with the same computer using Windows 10. The Wi-Fi doesn't turn off though, it simply disconnects from the network and reconnects after about a couple of minutes.  I ran this and got:  lspci -knn | grep Net -A2 03:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: AzureWave AR9462 Wireless Network Adapter [1a3b:2234] Kernel driver in use: ath9k Kernel modules: ath9k   Also running dmesg  Among the many messages the last one is:  [ 3818.806656] wlp3s0: Limiting TX power to 5 dBm as advertised by 00:23:eb:39:28:21   Any idea why this is happening?  Thank you. Strictly diagonally dominant matrices are non singular CDN - Content Delivery Networks. How do they work and why would I want to use one? What exactly is a Content Delivery Network (CDN), how does it work, and why would I want to use one for my web site?  Which are the well-known CDNs out there? Lock keys panel indicator for MATE Desktop I have no indicator LEDs on my keyboard to show whether Caps-Lock is on (I don't have Num-Lock and Scroll-Lock keys so the best option would be to have an indicator only for Caps Lock, but three indicators would be better than none)  I would really like to see the lock-keys status in the indicator panel so I can tell at a glance whether I'm typing my passwords correctly    I'm using Ubuntu MATE 16.04. I've seen  but it relates to Unity DE. Make an object invisible to a specific camera? (Cycles) I'm trying to set up multiple cameras for a scene set in a room. Is there a way to link object visibility to a specific camera? Ideally, a wall or ceiling would not render if it were in the way of the specified camera.  I've tried to get around this by keyframing Restrict Rendering, but that gets difficult to keep track of. I've also tried adjusting the clipping plane, but that clips too much and would also need to be keyframed if the camera moves.   Thanks! Ok... so this is embarrassing.  I typed in "boobs" on EncyclopediaDramatica's search because, well, it's a really funny page.  But now I've got a problem... EVERY TIME I click a search field in Chrome now, it shows "boobs" as the first suggestion in the drop down!  This is not really socially acceptable as this laptop goes with me everywhere and Chrome is my primary browser.  Is there a way I can isolate and remove just that one entry? Definition of electric charge and proper explanation Multiple Inheritance #include&lt;iostream&gt; using namespace std;  class A  {    int a;    int b;    public:    void eat()    {       cout&lt;&lt;"A::eat()"&lt;&lt;endl;    } };  class B: public A {    public:    void eat()    {        cout&lt;&lt;"B::eat()"&lt;&lt;endl;     }  };  class C: public A {     public:    void eat()     {        cout&lt;&lt;"C::eat()"&lt;&lt;endl;     }  };  class D: public B, C {  };  int foo(A *ptr) {  ptr-&gt;eat();  } main() {  D obj; foo(&amp;(obj.B)); //error. How do i call with D's B part.  }   The above foo call is a compile time error.  I want to call foo with obj's B part without using virtual inheritance. How do i do that.   Also, in case of virtual inheritance, why the offset information need to be stored in the vtable. This can be determined at the compile time itself. In the above case, if we pass foo with D's object, at compile time only we can calculate the offset of D's A part. Number of integer solutions of $x^2 + y^2 = k$ I'm looking for some help disproving an answer provided on a  I posted about computing the number of double square combinations for a given integer.    The original question is from the Facebook Hacker Cup       Source: Facebook Hacker Cup   Qualification Round 2011      A double-square number is an integer $X$   which can be expressed as the sum of   two perfect squares. For example, 10   is a double-square because $10 = 3^2 + 1^2$.   Given $X$, how can we determine the   number of ways in which it can be   written as the sum of two squares? For   example, $10$ can only be written as $3^2 + 1^2$   (we don't count $1^2 + 3^2$ as being different). On the other hand,   $25$ can be written as $5^2 + 0^2$ or as   $4^2 + 3^2$.      You need to solve this problem for $0 \leq X \leq 2,147,483,647$.      Examples:      $10 \Rightarrow 1$      $25 \Rightarrow 2$      $3 \Rightarrow 0$      $0 \Rightarrow 1$      $1 \Rightarrow 1$   In response to my original question about optimizing this for F#, I got the following response which I'm unable to confirm solves the given problem correctly.       Source:       Again, the number of integer solutions   of $x^2 + y^2 = k$ is four times the   number of prime divisors of $k$ which   are equal to $1 \bmod 4$.      Knowing this, writing a program which   gives the number of solutions is easy:   compute prime numbers up to $46341$ once   and for all.      Given $k$, compute the prime divisors of   $k$ by using the above list (test up to   $\sqrt{k}$). Count the ones which are   equal to $1 \bmod 4$, and sum. Multiply   answer by $4$.   When I go through this algorithm for $25$, I get $8$ which is not correct.          For each prime factor (pf) of $25$ ($5$, $5$ are prime factors of $25$)         if pf % $4$ = $1$ (true for both $5$'s), add $1$ to count      return $4$ * count (count would be $2$ here).          So for $25$, this would be $8$ Special package combination gives "No room for new \write." I've always had this question about the pronunciation of Sean.  Is Sean a word from another language? Is it actually not pronounced Shawn and instead it's some sound between Shawn and Seen? Also, why isn't it pronounced as Sawn instead of Shawn, when the word Sean doesn't even have the letter 'h' in it to get that -sh sound?  Bottom line is, why is Sean pronounced Shawn instead of Seen? How to send email from MySQL 5.1 split file lines based on first field What's the equivalent of the "cls" command from Windows/DOS? Evaluating $\int_0^\infty \sin x^2\, dx$ with real methods? How can I set a dark theme in TeXstudio? After perusing , I'm considering switching from TeXmaker (in which I use the preset "dark theme") to its fork, TeXstudio.  What I mean by "dark theme" is a dark background with suitable text colours, which, in my experience, is easier on the eyes than a bright background is. Here is an example:    TeXstudio doesn't seem to offer any preset dark theme, though, which means I have to customise all the colours/syntax-highlighting settings from scratch to get a dark theme even remotely usable. This can prove very time-consuming.   I'm aware this might sound a bit cheeky but,   if you are a long-time TeXstudio user, and you have fine-tuned the editor colours to get a visually pleasant dark theme,   please consider posting the relevant lines from your settings (.txsprofile or .tmxprofile) file as an answer below.  TeXstudio users who would like to use a dark theme could then build on your settings to fine-tune their own. It is always told as a fact without explaining the reason. Why do two objects get charged by rubbing? Why one object get negative charge and other get positive ? What is the benefit of launching a satellite "a few days before the monthly report" I've seen this hint in the game as well as on this site and I've been wondering if there is any specific advantage to launching satellites closer to the monthly report rather than any time during that month.  The way I see it, monthly maintenance costs are taken out during the reports (correct me if i'm wrong), so regardless of when you launch it during the month it would cost the same.   Is the benefit of holding on to them longer simply a safety net in case some countries go into the red during that time?