How to get referenced entity fields from another content type in single node template I have a content type called "Resources", this is referenced from another content type called "Projects".   I can get simple text fields in my single node--project.html template for example -  {{content.field_project_linked_resource[0['#node'].field_resource_title[0].value }}   How do I get more complex fields like image and file fields?  This does not work for example -  {{node.field_project_linked_resource[0].entity.field_resource_pdf_1.entity.uri.value }}   Thanks for any help!
How to get the valid URL of a Link field from within a Twig template? I have a Link field named field_my_link (machine name).  Within a Twig template I can get the link's URL value with this:  {{ node.field_my_link.uri }}   If inside the Link's URL there is an external URL, e.g. http://example.com it works good.  But, if inside the Link's URL there is stored an internal URL, e.g. "/node/11", I get a value like this:  "internal:/node/11"   with the "internal:" prefix.  How can I get the valid URL?  For example, if the link's URL is "http://example.com" I want "http://example.com" (this already works), if the link's URL is "/node/11" I want the relative URL "/node/11", if the link's URL is "&lt;front&gt;" I want the URL "/", etc.    EDIT  I can get the value I want within a PHP preprocess function, using this:  $url = $variables['node']-&gt;get('field_my_link')-&gt;first()-&gt;getUrl();   How can I access the same value within the Twig template?  I know I can do this within the preprocess function:  $variables['my_url'] = $url;   Then access the url within Twig using {{ my_url }}, but I would avoid to write a preprocess function each time I have a link field.
Click to hide in the Hero content is not aligned correctly for the non joined communities The "Click to hide" icon in the hero content (welcoming message) for the non joined communities are not aligned correctly for most of the private beta and some other communities.  A few examples are:        Can the icon be aligned to the right hand side with correct padding? Implications of parity violation for molecular biology In biology, the concept of parity emerges in the context of chiral molecules, where two molecules exist with the same structure but opposite parity. Interestingly, one enantiomer often strongly predominates over the other in natural biological systems (e.g. D-glucose is ubiquitous, L-glucose is rare in nature).  In physics, it has been established that weak interactions violate parity, which (if I understand correctly) implies a physical difference between left- and right-handed systems.  This suggests to me the following questions: Does parity violation in physics affect the physical or chemical properties of chiral molecules? And does this have any implications for our understanding of biological homochirality? How to set a command block with a command inside using the setblock command I am creating a type of adventure map. Once you enter the map, you step on some pressure plates that are supposed to seamlessly close the wall behind you. For some reason this command does not work when in a command block or just in text. Here is the command:  /fill -17 4 -109 -18 5 109 minecraft:light_gray_concrete   The output it gives me is "That position is not loaded". I am on a singleplayer superflat world in 1.14.3. Any help would be very appreciated! Let $A$ be a ring that is not a field and $M$, $N$ modules over $A$. What conditions on $M,N$ (and maybe also on $A$) guarantee that $\operatorname{Hom}_A(M,N)$ is finitely generated? Is it enough to assume $M,N$ finitely generated? As I was trying to validate our pcb design, I measured the impedance matching on the digital transmission lines, and got stuck with the oscilloscope not showing what I expected. We are using the PicoScope 4227, but I suspect that the strange measurement is not directly related to the specific oscilloscope but more to general on how to measure digital signals.  My setup is as follow: I measure the output-pin of an FPGA with both oscilloscope input A and B.  Input A (blue) is measured using the oscilloscope probe set to x10.  Input B (red) is measured using a 50-ohm coxial cable terminated at the scope input with 50-ohm.  As you can see, Input B seems correct, no reflection ect.  But Input A (the probe) has some overshoot, and ringing.  The probe should be calibrated and valid to 250MHz, so I don't get was is wrong. ?  I suspect that the small probe-clip adds some inductance, and therefore we see the ringing. But I really don't know.    EDIT After reading your answers, I walked got into our lab storage and started looking, and found a probe GND clip like the one showed in the answer below.   When I use that clip, I get the output below. Which is really a huge improvement. I used to say "sharp sign" to refer to the # sign.   Today a friend told me that the correct term is number sign or hash sign or even just hash.  What is the difference between these options and what's the correct usage of the names for this sign? Define functions in structs Recently I have opted for broadband connection which is coming directly cat5 cable with RJ45 port to my laptop. They have provided me with IP address, default Gateway, subnet mask, preferred DNS and alternate DNS server information. Also the username and password.  The Modem model is Beetel 450TC1 which is actually an ADSL+2 Router. The modem has 4 lan port and one RJ11 port (for internet).   Can I use this modem as a wireless hotspot without connecting the RJ45 cable directly to my laptop?  If yes, can anybody help me with that? Smoke shows on render, Fire doesn't Good day! I am having a problem wherein fire does not render. I followed a . Followed everything in his tutorial. However, the fire in my scene does not render at all. I wanted it to look like rocket thrusters. As of now, this is what I currently have for my Smoke Domain material.  I temporarily set the smoke to 0 because it may be blocking the flame. I've provided the screenshots where the smoke is enabled and disabled. (Forgive the quality of the rendered images, I lowered down the samples to quickly render the image.  And for my scene, this is what it looks like.  I am rendering it using GPU compute. If there's anything missing in the  current scene setup, just ask for it and i'll provide the necessary requirements. I tried searching for solutions but nothing worked out for me. Thank you and have a nice day! Multiple Bluetooth speakers simultaneously I would like to pair two sticky dude Bluetooth speakers, at one time with my iPhone. With two of them at once it would be like stereo sound. Is there an app or something maybe? tar files only, no directories A novel where a woman from "future" of 1999 speaks leet-speak I'm trying to remember the name of a novel/series I read back in the mid-eighties.  I can't remember the author other than that it was a known older author.  I initially thought maybe Saberhagen or Harrison, but can't find it in their bibliographies.  It involved a collection of 4-5 people from different times/places.  The distinctive bit I can remember was that one of them (not the main character) was a cyberpunkish woman from the "future" of 1999 who spoke in futuristic dialect of English that the other characters, including the protagonist, from the "present" (from the eighties) could not understand.  Unfortunately, I don't remember much else of the plot other than that they were making their way through ruins. How to get over "device or resource busy"? I tried to rm -rf a folder, and got "device or resource busy".  In Windows, I would have used LockHunter to resolve this. What's the linux equivalent? (Please give as answer a simple "unlock this" method, and not complete articles like . Although they're useful, I'm currently interested in just ASimpleMethodThatWorks™) Which 1970s UK fantasy kids TV show has an older brother die? hierarchical retreival of records in postgresql addplot3[surf] creates lines instead of a surface Remove Meta Privilege for MSE (only) Is there a way to simulate multiple iphones using xcode/iphone sim? character "5" repeated in text fields, and system freezes I am running Ubuntu 15.10, with the latest updates.  When I type in a text field (google search, type name of file, etc..) the number 5 gets typed on its own and it keeps repeating until I press ESC and when I try to continue typing the number 5 resumes filling in the text field.  I have tried to set the keyboard repeat to zero, but does not help.  This does not happen all the time, sometimes if I shut down the computer it then behaves normally when I restart it, other times the computer becomes useless because I cannot type in any of the text fields.  Thanks Sal