So, I created a block using Views and I´m trying to call it from a template.  mytheme.theme file has:  function mytheme_preprocess_node(&amp;$variables) { $variables['block1'] = entity_load('block', $id)-&gt;getPlugin()-&gt;build();  }   template-of-my-page.html.twig file has:  {{ block1 }}   But I don't see any results....  I bet I'm doing something wrong, I'm not a programmer, should I add the machine name? Am I calling it wrong on Twig?  If anybody could give me a guide on how to call a block made with Views I would really appreciate it.  Please consider I'm not a programmer but I can follow instructions very well :)
How can I embed a view inside a content of a node in Drupal 8?   I found something similar, for example in the question about "" or the  module, but it is all for Drupal 7.  I tried with an Entity reference field pointing to a View but it display only a label and from the Manage Display tab I can choose only from Label and Entity ID. I need something like the "Rendered entity" option that is present on Entity reference fields pointing to other nodes.
One of my laptop's keys has fallen off. Is there any way I can remap another key to serve as that key?  I'll 'sacrifice' the other key because I never use it. Is there any way in QGIS to apply service area buffers e.g if I have a point on a map I wish to show the service coverage of 1 mile, 2 mile, 3 mile, breaks using  the road network? Using ArcMap 10.0, I am working on a map that shows many villages. Each village has a name attribute that I want to use for a label, but in some areas there are so many villages that not all can be labeled. I am using the Maplex label engine and have not checked the "Never Remove (allow overlap)" box.  I am quite happy that not all village names are displayed as this would be way too much. And it is ok that Maplex chooses which labels to display, as I have no way to know which village is more important than another one. This also means that I can't base the labeling on a field such as population or something else, even though that would be less random.  However, I would also like the village points that are not labeled to similarly not be displayed. I think it unlikely that someone would want to see the point without knowing the name of the village. If all points are shown, it is also difficult to tell which point a name label goes with in crowded areas. So instead of choosing just labels not to be shown, I also want the computer to chose features not to be shown.  To give you a better idea on what I mean:    Is there a way to make these features/points not draw if their label is not shown? How to fix soft 404 errors in GWT? In GWT I have been receiving soft 404 errors for some URLs of my online shopping website. Ichecked all those URLs and those pages are looking good and there is nothing wrong in that page. Then why I'm receiving that errors?  This is the notification that I received in my GWT:     Dear owner or webmaster,      While crawling your site, we have noticed an increase in the number of   transient soft 404 errors around 2013-06-30 16:00 UTC (London, Dublin,   Edinburgh). Your site may have experienced outages. These issues may   have been resolved. Suppose $X_n$ is the fortune of a gambler after $n$ th game. Then the game is called fair (Breiman 1968) if   $$E[X_{n+1} \mid X_1, \dots, X_n] = X_n \forall n$$  My question is why a fair game is not defined as the following   $$E[X_{n+1}] = E[X_n] \forall n$$ i.e. $$E[X_{n+1}- X_n]=0$$. This should be the proper definition as a fair game is where avg. gain is zero. Nothing conditioning should be there. How do I fix a "Problem with MergeList" or "status file could not be parsed" error when trying to do an update? I've been dealing with this problem for almost 2 hours now, with hardly any progress. I'm to prove the following inequality using induction   $$\sqrt[n+1]{n+1}&lt;\sqrt[n]{n}$$ where $n≥3$, $n∈\mathbb{N}$. How can this be done? How to read ext4 partitions in Windows? I have two questions on ext4:   Is there currently a way to mount an ext4 partition in Windows (XP/Vista/7) to get basic read support? If not, are there any plans to support this someday? Boundary of Ball of radius R has zero measure Transferring domain to new host, but keeping email on old host I'm helping out a friend manage his website. Said friend has a domain, website.com, which I am transferring from his old host (OLD) to his new host (NEW), but OLD does not provide email services (or, at least, not intuitively). As a result, he wants both:   To host the website at NEW To use the email servers at OLD so he can continue using the email accounts he set up there.   The move from OLD to NEW has taken place, and I have updated the DNS records so they no longer point at ns1.old.com, and now point instead at ns1.new.com, and so on.  But having searched around a bit for the solution to the email aspect, I'm a little uncertain. I've updated the MX record at NEW to point back to ns1.OLD.com, but emails are still failing - and I'm sure the reason for this is obvious, but I'm not quite grasping what I need to do here.  As I understand it, the process ought to be as follows:   Mail sent to account@website.com website.com routes the mail to the host at NEW NEW then uses the new MX record to rout it to the servers at OLD Hey presto, the email should appear in the email inbox at account@website.com at OLD.   But this isn't happening. I get a 550 error telling me to turn on SMTP authentication, which I've read is a sure sign that I've got the MX configuration wrong. Any assistance on this would be really greatly appreciated.  tl;dr: Friend wants to move site hosting to NEW, but keep email hosting at OLD - I don't know what to do with MX and nameservers and so on to make this happen. What is the default bibliography package and backend in LaTeX? According to , biblatex and natbib are packages while biber and bibtex are backends. If I don't specify either any package or any backend, it still compiles fine. Which package and backend combination is being used in this case?  demo.tex  \documentclass{article} \begin{document}  \nocite{*} \bibliographystyle{ieeetr} \bibliography{pub}  \end{document}   pub.bib  @article{janssen1996evaluation,     title={Evaluation of the DNA fingerprinting method AFLP as a new tool in bacterial taxonomy},     author={Janssen, Paul and Coopman, Renata and Huys, Geert and Swings, Jean and Bleeker, Marjo and Vos, Pieter and Zabeau, Marc and Kersters, Karel},     journal={Microbiology},     volume={142},     number={7},     pages={1881--1893},     year={1996},     publisher={Soc General Microbiol} }  @article{vos1995aflp,     title={AFLP: a new technique for DNA fingerprinting},     author={Vos, Pieter and Hogers, Rene and Bleeker, Marjo and Reijans, Martin and Van de Lee, Theo and Hornes, Miranda and Friters, Adrie and Pot, Jerina and Paleman, Johan and Kuiper, Martin and others},     journal={Nucleic acids research},     volume={23},     number={21},     pages={4407--4414},     year={1995},     publisher={Oxford Univ Press} } "big enough to do this" My question is what is the difference among these three sentences.   He is big enough to do such  heavy works. He is not big enough to do such heavy works. He is small enough to do such  heavy works.   I am so much confused between 2 and 3.Also, I don't get what the 3rd one means. I have a 230 Gigs HDD on my laptop, i have 50 gigs extended for my linux, i have 80 gigs empty ntfs partition, and 100 gigs ntfs partition where i store all my important data, (i have about 50 gigs of important things) today i mounted the 100 gigs partition took something from it, unmounted it back, and then when i mounted it again it was EMPTY !!! all the data is gone !!!! i used to mount it via the terminal : sudo mount ntfs /dev/sda5 /media/E where E is a dir that i make (when i make it i change the permissions of media to 777 then after creating the dir, i change it back to normal)  Guys you cant imagine how much this data is important to me, Plz HelP,  thnx in advance Functions Which are non differentiable on a Given Set. I have recently read the famous Weierstrass Non differentiable function which is continuous everywhere but nowhere differentiable.     But now my question is:    Given a countable set $S (\subset \mathbb{R})$ , can we construct a function which is continuous everywhere but non differentiable only at points of S..?    My Attempt: If $S$ finite say, $S=\{c_1,c_2,...,c_n\}$ Then the following function is the desired one:$$f(x)=\sum_{i=1}^{n}|x-c_i|$$   But I cannot construct the function for a arbitrary Enumerable set $S.$     Can we generalize the question for an arbitrary set $S$? Please Help.  Thank you...!! Prove that: $(f(x))^{2} + (f'(x))^{2} \leqslant \max(a,b)$ where $(a,b) \in \mathbb{R}^2$ Let $f\in C^2(\mathbb{R},\mathbb{R})$.   Assume there exist  $(a,b) \in \mathbb{R}^2$ such that  $\forall x \in \mathbb{R}, (f(x))^{2} \leqslant a$ and $(f'(x))^{2} + (f''(x))^{2} \leqslant b$.   Prove that: $$(f(x))^{2} + (f'(x))^{2} \leqslant \max(a,b)$$ for all $x \in \mathbb{R}$.   I tried to use taylor lagrange with the integral form of the remainder but I did not succeed.  Ì really don't know how to tackle  the problem.   Any suggestion, Hint (or Answer) will be very helpful,  Thank you in advance, How to get list of all sobject records modified today in the system? I need a list of all sobject records that got modified today. this is not just for one object but for all objects in the system. Is there a simpler way to do this? "Congratulate for" vs. "congratulate on" Which is correct?     I congratulated him for coming first in the race.      I congratulated him on coming first in the race. a command to list all packagas installed on the system and their installed files, how? shorter proof of generalized mediant inequality? Background: I have the opportunity to pursue a Computer Science graduate degree at a well respected program (around top 20). I spoke with the professors at the university and I feel like I am a good fit with their research program. My ultimate pursuits are to complete a PhD in CS. I've done research as an undergraduate and it has only confirmed my notion that I want to pursue a research track career.  More background: I applied to jobs (in case I was rejected to all the programs I applied for) prior to hearing back from my respective graduate programs. I accepted a position for an industry job (this was to secure I wouldn't be both unemployed &amp; not in school).  Dilemma: Turns out my top graduate school is very interested in me, and I'm very interested in them. I would rather go to graduate school than work in industry forever. The industry job pays very well. I am split between A) working for a maximum of 1 year(It would only be 1 year, seriously I do not care about the money enough to work past a year) and B) going straight to graduate school.   My concerns are as follows, if I choose A):    Could I potentially defer my admissions? If I am not allowed to defer my admissions, would I have a good chance of re-applying and being accepted a year later? Would my potential advisers look down on me for deciding to work a year?   I already made my mind up it would be a 1 year gig if I decide A). I know some people say once you make money, you may not be able to readjust to the graduate salary pay. But I don't think that will apply to because I'm going to live very frugally with or without industry pay.