I was wondering what could be the major difference between a library and framework. When can we use a library in our application and when can we go for a framework.
What is the difference between a framework and a library?   I always thought of a library as a set of objects and functions that focuses on solving a particular problem or a specific area of application development (i.e. database access); and a framework on the other hand as a collection of libraries centered on a particular methodology (i.e. MVC) and which covers all areas of application development.
What is attached to this spigot and how to remove How does Incense work? Custom blocks created as a plugin in a module not showing for Block::load() I have a couple of blocks that have been created using the ... extends BlockBase syntax in my module. They work perfectly fine, and I can add them on the blocks layout page, can add them into DS as a field, etc. They definitely exist fine.  However, when I try and render them using Block::load(), they won't show up, unlike other blocks that work fine.  For example, if I have the following docblock:  /**  * Provides a 'Cute Cats' Block.  *  * @Block(  *   id = "cute_cats",  *   admin_label = @Translation("Cute cats yo"),  * )  */  class CuteCats extends BlockBase { ... }   ... and then try and call it like this:  $block = \Drupal\block\Entity\Block::load('cute_cats'); return render(\Drupal::entityTypeManager()   -&gt;getViewBuilder('block')   -&gt;view($block));   Any idea why? Thanks in advance. What is the distinction being made with regards to truth and falsity in these two sources? Loop background music? Expiration Date on Milk Why and how can you hear explosions in space in Star Wars? Considering that sound can't travel through vacuum. Fingerprint activation in Dell Vostro 14 in Ubuntu 18.04 I have Dell Vostro 14 with OS Ubuntu 18.04.  I tried   sudo apt install -y fprintd libpam-fprintd   but not able to use fingerprint reader of my laptop. The converse of Newton's shell theorem How to stop people from using my domain to send spam? I receive Mailer Daemon messages saying certain emails fail. My domain is itaccess.org which is administered by Google apps. Is there any way I can identify who is sending emails from my domain, and how they are doing it without me creating an account for them?  Delivered-To: 7e949ba@itaccess.org Received: by 10.142.152.34 with SMTP id z34csp12042wfd;         Wed, 8 Aug 2012 07:12:46 -0700 (PDT) Received: by 10.152.112.34 with SMTP id in2mr18229790lab.6.1344435165782;         Wed, 08 Aug 2012 07:12:45 -0700 (PDT) Return-Path: &lt;whao@www20.aname.net&gt; Received: from smtp-gw.fsdata.se (smtp-gw.fsdata.se. [195.35.82.145])         by mx.google.com with ESMTP id b9si24888989lbg.77.2012.08.08.07.12.44;         Wed, 08 Aug 2012 07:12:45 -0700 (PDT) Received-SPF: neutral (google.com: 195.35.82.145 is neither permitted nor denied by best guess record for domain of whao@www20.aname.net) client-ip=195.35.82.145; Authentication-Results: mx.google.com; spf=neutral (google.com: 195.35.82.145 is neither permitted nor denied by best guess record for domain of whao@www20.aname.net) smtp.mail=whao@www20.aname.net Received: from www20.aname.net (www20.aname.net [89.221.250.20])     by smtp-gw.fsdata.se (8.14.3/8.13.8) with ESMTP id q78EChia020085     for &lt;7E949BA@itaccess.org&gt;; Wed, 8 Aug 2012 16:12:43 +0200 Received: from www20.aname.net (localhost [127.0.0.1])     by www20.aname.net (8.14.3/8.14.3) with ESMTP id q78ECgQ1013882     for &lt;7E949BA@itaccess.org&gt;; Wed, 8 Aug 2012 16:12:42 +0200 Received: (from whao@localhost)     by www20.aname.net (8.14.3/8.12.0/Submit) id q78ECgKn013879;     Wed, 8 Aug 2012 16:12:42 +0200 Date: Wed, 8 Aug 2012 16:12:42 +0200 Message-Id: &lt;201208081412.q78ECgKn013879@www20.aname.net&gt; To: 7E949BA@itaccess.org References: &lt;20120808171231.CAC5128A79D815BC08430@USER-PC&gt; In-Reply-To: &lt;20120808171231.CAC5128A79D815BC08430@USER-PC&gt; X-Loop: whao@whao.se From: MAILER-DAEMON@whao.se Subject: whao.se:  kontot avstängt - account closed X-FS-SpamAssassinScore: 1.8 X-FS-SpamAssassinRules: ALL_TRUSTED,DCC_CHECK,FRT_CONTACT,SUBJECT_NEEDS_ENCODING      Detta är ett automatiskt svar från F S Data - http://www.fsdata.se      Kontot för domänen whao.se är tillsvidare avstängt.     För mer information, kontakta info@fsdata.se      Mvh,     /F S Data      -----    This is an automatic reply from F S Data - http://www.fsdata.se    The domain account "whao.se" is closed.   For further information, please contact info@fsdata.se    Best regards,   /F S Data Number of subrings of a Field In what situations is octal base used? Pixelated wallpaper/background I installed Ubuntu 14.04 on my Lenovo IdeaPad Y510P today. Everything worked fine, but after installing my graphics card driver the background became pixelated (Nvidia GeForce GT755m). I downloaded the driver through Additional Drivers and selected Version 331.113 (Proprietary, tested). It was using Nouveau before.  When I apply Nouveau it becomes clean again, but it is much weaker when I open games, it gives me very low FPS even in Counter-Strike. With Nvidia driver FPS and everything else seems fine, except things look pixelated and when I minimize windows and maximize again, the window goes black.    I attempted to solve the problem myself by removing the old Nvidia driver and manually installing the latest version, but it did not help.  Please let me know if you need more details. Command for taking a screenshot to a new file Why is it that they decided to make String immutable in Java and .NET (and some other languages)? Why didn't they make it mutable? In Book 1, Artemis et al escaped from the time stop by drugging themselves to sleep.  In the same time stop, Julius Root "accidentally" plugged Briar Cudgeon with a tranquilizer dart.  Cudgeon fell asleep, but did not disappear from the time stop.  Why not? Is it possible to add attributes at runtime or to change the value of an attribute at runtime? Has the concept of non-integer $(n+m)$-dimensional spacetime ever been investigated by theoretical physicists? The following image serves to aid the reader in understanding the "privileged character" of $3+1$-spacetime.    The wikipedia article on , and the  "The priveleged character of $3+1$-dimensional spacetime" in particular, made me think a bit about the possibility that we might live in a non-integer amount of spatial and/or time dimensions.   The notion of attaching a non-negative real number to a metric space has at least mathematically already been described by such concepts as "" and "".   This may sound silly/ignorant/absurd to professional practicing theoretical physicists. To me (a layman), however, it doesn't sound much stranger than the idea of wrapping up six extra dimensions (which is, from what I understand, considered to be a serious possibility by those who study $10$-dimensional String Theory) into intricate shapes called "Calabi-Yau Manifolds".   Has any research on $(a +b)$-dimensional spacetime (where $a,b \in \mathbb{R}_{\geq 0} $) ever been done? If so, what where the findings? If not, why not? Countries with no visa requirements on its visitors Is there any app for Stack Exchange? Is there any app available in the Android Market for Stack Exchange sites?