spark - scala init error on build
Eclipse Scala IDE - class file needed by X is missing
How to get my own IP address and save it to a variable in a shell script? How can I get my own IP address and save it to a variable in a shell script? I'm trying to convert some strings that are in French Canadian and basically, I'd like to be able to take out the French accent marks in the letters while keeping the letter. (E.g. convert é to e, so crème brûlée would become creme brulee)  What is the best method for achieving this? No more updates for Google Chrome 32-bit I am using Google Chrome 48.0 32-bit. Today when I launched Google Chrome, I got this message:    This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported   I thought Ubuntu 14.04 is supported for five years, what's exactly happening here?  And on 64-bit Ubuntu, I get an error from Update Manager and apt-get update:  Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)   Some index files failed to download.   They have been ignored, or old ones used instead. I have a Surface Pro 4 and an iMac (late 2019). I would like to connect my Surface Pro to the iMac to use the iMac screen as a second monitor.  Is that possible?  What are the requirements to use an iMac as a second screen? I got a paged loop that pulls in 4 posts per page from custom post type. It works great, with the only downside that the pagination wont go over the page/20 everything after that is 404, and the posts_nav_link won't show the next arrow at all. Like the pages just aren't there.  In total there are 119 published posts in the custom post type. If I change posts_per_page to, say 6, then I get access to more of the posts from the end, but it also stops at the page/20.  On the production site the pagination stops at 21, I guess because the live database has more entries.  I got the "Blog pages show at most" setting set to 6.  Here's the loop I'm using:  &lt;?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $args  = array(     'posts_per_page' =&gt; 4,     'orderby'        =&gt; 'modified',     'post_type'      =&gt; "projekte",     'paged'          =&gt; $paged ); $custom_query = new WP_Query($args); $c = 0; while($custom_query-&gt;have_posts()) :     $custom_query-&gt;the_post();     ?&gt;     &lt;article&gt;...&lt;/article&gt;     &lt;?php endwhile; wp_reset_postdata(); // reset the query ?&gt;   I've gone through the functions.php a million times looking for a some limiting get_pre_posts filter but there's nothing I can see.  I also got an error log setup and nothing is returned there, I've tested it that it works.  Any suggestions? I am familiar with what partitions are, but I saw , and realised I didn't know what "aligned partitions" are.  So what does it mean to "align" partitions? What are the benefits, and the downsides? Convert /etc/network/interfaces to netplan for floating IP I am new to the netplan on Ubuntu 18.04, just discovered it exists today. I have an interface that I am trying to add to create a floating IP on google cloud. It is based on this example:   I tested the example, and it works, but now I try to do the same on ubuntu, and I don't know how to convert this:  cat &lt;&lt; EOF &gt;&gt; /etc/network/interfaces auto eth0:0 iface eth0:0 inet static     address 10.190.1.1     netmask 255.255.255.255 EOF   to netplan.  The output for ls /etc/netplan is '50-cloud-init.yaml'. and the output for cat /etc/netplan/*.yaml is:  network:     version: 2     ethernets:         ens4:             dhcp4: true             match:                 macaddress: 42:01:0a:8e:00:3e             set-name: ens4   my ifconfig:  # ifconfig  ens4 ens4: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1460     inet 10.142.0.62  netmask 255.255.255.255  broadcast 0.0.0.0     inet6 fe80::4001:aff:fe8e:3e  prefixlen 64  scopeid 0x20&lt;link&gt;     ether 42:01:0a:8e:00:3e  txqueuelen 1000  (Ethernet)     RX packets 9430  bytes 1635180 (1.6 MB)     RX errors 0  dropped 0  overruns 0  frame 0     TX packets 13383  bytes 1513428 (1.5 MB)     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0   What is the equivalent of what he said to put in the file, for netplan? I'm just wondering how it is possible that IGN.com has this in its title tag:      Video Games, Cheats, Walkthroughs, Game Trailers, Reviews, News, Previews &amp; Videos at IGN   while on Google its title is simply "IGN".   How can one achieve such a thing? Does it use some special meta tag I can't see? How can I link to an external resource in a community-friendly way? I would like to help my fellow Stackizens, using material from my blog or other website.  But external links are sometimes viewed as excessive promotion.  From the FAQ:     Be careful, because the community   frowns on overt self-promotion and   tends to vote it down and flag it as   spam. Post good, relevant answers, and   if they happen to be about your   product or website, so be it. However,   you must disclose your affiliation in   your answers. Also, if a huge   percentage of your posts include a   mention of your product or website,   you're probably here for the wrong   reasons.   I have tried posting answers that reference my blog, and I have followed the above rules, but my answers still get flagged as spam.  How can I craft an answer that references my blog, website or other resource, but is still acceptable to the community? How to fix TikZ corners in 3D Am trying to draw a simple rectangle and there seems to be minor issue with two of the endpoints (f and d in the following). I tried line cap=rect as suggested by  but that did not seem to work.  The resulting image:    \documentclass{standalone} \setlength\PreviewBorder{5pt}%  \usepackage{tikz}  \newcommand*{\Width}{2.0} \newcommand*{\Height}{3.0} \newcommand*{\Depth}{1.0}  \begin{document} \begin{tikzpicture}%     \coordinate (A) at ( 0,       0,     \Depth);%     \coordinate (B) at (\Height,  0,     \Depth);%     \coordinate (C) at (\Height,  0,      0);%     \coordinate (D) at (\Height, \Width,  0);%     \coordinate (E) at ( 0,      \Width,  0);%     \coordinate (F) at ( 0,      \Width, \Depth);%     \coordinate (G) at (\Height, \Width, \Depth);%     \coordinate (H) at ( 0,       0,      0);%     %     \draw [blue, ultra thick,line cap=rect]%         (A) -- (B) -- (C) -- (D) -- (E) -- (F) -- cycle;%     \draw [blue, ultra thick,line cap=rect]%         (B) -- (G) -- (F) -- (E) -- (D) -- (G) -- cycle;%      \path (D)  [right] node {$d$};% Problem Point 1     \path (F)  [left ] node {$f$};% Problem Point 2 \end{tikzpicture}% \end{document}   This problem about  seems related, but I do not understand how to adapt that to my problem. Not sure this is something which people will know on here are not.    We currently have a BI setup where we have Integration services on one SQL instance and the data warehouse database on a separate SQL Instance.    My question is, as no users physically connect to the Integration services SQL instance and it is purely used to execute package from the integrations service catalog via SQL agent, do we need to License every user i.e. Cal's for that SQL instance.  Basically i'm wanting to know if I could utilize SQL 2016 for an integration services instance and use features like Json manipulation etc and then load this data into the 2014 version instance...but what level of licensing will I need? What is your simplest explanation of string theory? Anyone know a way to immediately show the seconds of a file's date modified property in the GUI? So if you create a file, any file in any directory, right-click and choose Properties, the date modified (if it's recent) will say something like "dd/mm/yyy hh:mm, one minute ago" - reminder this is in Windows 7. Windows XP did it normally. Then they changed something.  If you wait a while, eventually you'll see the seconds, I'm not sure how long a while is, but this is incredibly annoying if you want to troubleshoot something that relies on the seconds of timestamps... is there a setting? registry key I can change perhaps?  I'm literally using Chrome, pasting in the path of the directory to be able to see the seconds quickly (as a workaround) but would be nice to be able to use Win7. Gluing Lemma for Closed Sets: Infinite Cover Counter-Example How do I put /home in a different partition? Yeah, so I have 2 hard drives, on with 2 partitions(backups and windows), and I have another that also has 2 partitions with only one used. I have Ubuntu on hard drive 2:partition one, but I have come to a point when the /home folder can't hold any more files, but the partition is only about 15% filled up. So I did some researching and figured out that you can put it on a separate partition, but most of the guides were vague on what I needed to do. Could someone give me step-by-step instructions on what I need to do, or even tell me a, easier or different way to fix this /home folder capacity problem? There are a number of services that will scan a website for vulnerabilities and allow the display of a trustmark image if the site passes their tests.  This allegedly increases the level of trust a potential client feel toward the website and therefore makes them more likely to complete a purchase.    McAfee claims it has studies which show significant increases in sales. Should I take their word for it?  What sort of increase should I really expect, if any?  Are these types of services worth the prices they charge? SEO regarding using separate  tags for the logo and website name Is is true &lt;h1&gt; tag should not have more than 1 on every page for SEO?   Every pages on the header, it includes and &lt;h1&gt; tag. Website Name which show an image from logo class, like this:  &lt;div id="header"&gt;   &lt;h1 class="logo"&gt;      &lt;a href="#"&gt;Website Name&lt;/a&gt;   &lt;/h1&gt; &lt;/div&gt;   and I also include &lt;h1&gt; on the contact page, help, etc and article page for example:  &lt;h1&gt;Contact Us&lt;/h1&gt; &lt;h1&gt;Name of the Article Title here&lt;/h1&gt;   On the homepage, it just has one &lt;h1&gt; for the logo Site Name... other pages have 2 &lt;h1&gt; tags How to create a cross-browser sub document with iframe or shadow dom? Javascript - Get Image height I need to display a bunch of images on a web page using AJAX. All of them have different dimensions, so I want to adjust their size before displaying them. Is there any way to do this in JavaScript?  Using PHP's getimagesize() for each image causes an unnecessary performance hit since there will be many images. Find the sum to n terms as well as the sum to infinity of the series: Find the sum to $n$ terms as well as the sum to infinity of the series:  $$\frac{1}{3} + \frac{1}{4\cdot 2!} + \frac{1}{5\cdot 3!} +\cdots.$$  I was trying this question many times but I didn't get the answer. I was using geometric series formula, but it was not applicable here...I don't know where I have to start, and I don't know any hint about this series....  If anybody helps me, I would be very thankful to him.