Filter for post_thumbnail: link to small src and add data-attribute
How to replace the_post_thumbnail template tag and show the first inside the post image instead
"In a while" vs. "for a while" I think everybody with a history of participation can't help but notice the explosive growth of repeated duplicate questions. The work of looking for duplicates and then closing questions has overtaken the work of actually answering questions.  It's become virtually impossible to ask something which hasn't been yet asked. Lately I feel boredom each time I see a new question and start answering it only to realize after the first written sentence that I have answered similar questions five times over or seen them answered some ten times or more. I know where it's going to be going and what answers with what votes it is going to receive before any answer is even written.  It's obviously not the administration's fault, it is simply so. The questions is, what to do about it? Engaging more moderators to close and close duplicates won't work because it's already starting to repel users who get mad at their questions closed and become afraid of asking more or perhaps just go away.  The original idea of Jeff stated the the site is for questions that can be answered. Meaning no open-ended discussions. When I first read this I had a casual thought - well, and what's gonna happen when they all are asked and answered? Will it become a museum, a monument of wisdom and knowledge or what?  I'm not sure what to do about it. Perhaps deprecation/versioning of older questions so that their new versions can sparkle the tiresome evening...  POSTSCRIPTUM.  I recall Star Trek Voyager episode  when another Q asked Captain Janeway for asylum. He was tired of immortality and wanted to die. They opened a hearing and went on to visit the continuum to evaluate the living conditions there which caused the suffering and the wish to escape it in death. A lifeless picture presented itself to the visitors... a house lone in an open space, two people going about their business, nobody talking. When asked why they were silent, the following was said. It's been so long, all has already been said, all stories told, all jokes are made... there is nothing left to do...  Are we there as well?  UPDATE: Just saw this answer in another question:       Also, some of the core questions got asked early on in the life of the site. Great questions still come around from time to time, but many have already been asked.   Doesn't that confirm my point? Centre of $GL_n(\mathbb R)$ How to prove that center of $GL_n(\mathbb R)$ is scalar matrices?  Again what can you say about the center of set of all upper triangular matrices and center of set of all diagonal matrices. Get three highest values from the array How to connect to Office Online Server in Office365 I just wondering if we can use existing Office Online Server in Office365 for SP2013 on premise. If yes, how this can be achieve?   In SP2013 we normally run Get-SPWOPIBinding to find out the server binding and to connect to Office web App we normally run  New-SPWOPIBinding -ServerName. Is this the same command if I want to connect to the existing new Office Online Server in Office365?  Thanks I'm fairly new to bicycling; apologies if this is a standard question but I couldn't figure out how to phrase it to search for it elsewhere.  I ride a KHS Urban-X with Kenda Kwest tires (just what it came with). I've gotten barely any use out of it since owning it, and it's been resting comfortably in the living room through the winter, so I decided today was a great day to get back on.   So I unscrewed the back tire cap, and began to hand-pump air into the tire. All seemed to go well, and the tire held pressure fine, but when I removed the tire pump, the pin appeared to remain pushed down slightly, and air flowed back out of the tire. I looked, and this is what I saw:    Several narrow gashes that appear as if the rubbed was ripped, cut, or separated somehow.  Questions   Is this a common occurrence? Again, I've ridden on this bike very little and thus filled up the tires even less. We have no animals and no bugs around that I know of that would gnaw or chew on such material. Is this fixable, or is my tube completely shot? It would seem to me that the latter is the case. Is there anything I can do to prevent this in the future? I use a hand pump but am gentle; would a stand-up pump be a better choice?  Do bike tires come with a standard warranty for cases like this, or do you know of any brands that do? If I have to purchase new tires, I'm going to purchase Is there any kind of "off-season" maintenance that I should be performing on my bike that could prevent things like this?   Thanks in advance for any help you can give! Site.createPortalUser() returning null in test context I use a macbook pro 2015 with macOS High Sierra. I installed windows 10 using bootcamp, which resized the macOS partition and created a 80GB windows partition. The machine boots into windows just fine.  Unfortunately I can't go back to macOS because the macOS partition is not selectable as a boot source in bootcamp and "boot into X" boots into windows again. When I start from recovery (ctrl+R) I can see both partitions in diskutil. I tried to repair the macOS partiton but it had no effect.  How can i resurrect the macOS partion so I can choose which OS to start?  Update: I can start macOS by booting with option/alt pressed and chose the mac partition.  diskutil list output:  Capsicum:~$ diskutil list /dev/disk0 (internal, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *251.0 GB   disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:                 Apple_APFS Container disk1         170.0 GB   disk0s2    3:       Microsoft Basic Data BOOTCAMP                80.3 GB    disk0s3    4:           Windows Recovery                         503.3 MB   disk0s4  /dev/disk1 (synthesized):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      APFS Container Scheme -                      +170.0 GB   disk1                                  Physical Store disk0s2    1:                APFS Volume Macintosh HD            101.3 GB   disk1s1    2:                APFS Volume Preboot                 20.2 MB    disk1s2    3:                APFS Volume Recovery                506.6 MB   disk1s3    4:                APFS Volume VM                      2.1 GB     disk1s4  /dev/disk2 (external, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:     FDisk_partition_scheme                        *2.0 TB     disk2    1:                  Apple_HFS Passport                2.0 TB     disk2s1   thanks a lot for any clarification what is wrong! Today I was walking using my iPhone 6S running iOS 9.3 as a pedometer and it shutdown.   When I got home and plugged it in, it said 30% capacity.   That seems strange. I would expect it for 2% or 5% to preserve RAM, but 30%? Maybe there is a setting I don't know about.   My question is: Why does my iPhone power off when the battery is down to 30%?   Edit: this is not a duplicate of the low battery crash as I witnessed the low power shutdown and it was not a crash. How to prove ${n \choose p} \equiv\left\lfloor \frac{n}{p} \right\rfloor\pmod p$ Prove ${n \choose p} \equiv \left\lfloor \frac{n}{p} \right\rfloor \pmod p$   ($n$ is natural and $p$ is a prime number)  How can i prove this statement? Getting all the combinations in an array How to determine whether the direction of rotating a 2D vector to another one is counter-clockwise or clockwise using the cross product? Vec2 a, b; // some random vector Vec2 cross = a.Cross(b); RelativeDirection(a,b,cross); // return true if the direction of                               // rotating a to b is counter-clockwise   How do I implement the function RelativeDirection()?  I got some suedo code from the textbook:  if a.Cross(b) &gt; 0 then ... else ...   but the cross product is a vector right? how do you compare it with an integer? Can't select and delete an object Using a transistor as a switch I am attaching a motor to an ATmega32 chip. I want to build an H-bridge but before doing that, I want to control the motor using the chip. I bought few NPN Transistors from RadioShack. I have 5V running though the breadboard. I attached Vcc to the Collector, Base to the Pin, and Emitter to the motor. And other wire of motor is hooked up to Ground. Unfortunately, the power coming out of the transistor is too low, the motor is barely moving (As opposed to when I hook up my motor straight to 5V). What is wrong? Do I need a different transistor or is my setup wrong? If it is the transistor, can you please recommend the right one, I am not too good at those. What is a NullPointerException, and how do I fix it? What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely? If $A=AB-BA$, is $A$ nilpotent? Without solving the equation, show that all nine roots of $(𝑧 − 1)^{10} = 𝑧^{10}$ lie on the line $Re (𝑧) = \frac{1}{2}$ Problem: Without solving the equation, show that all nine roots of $(𝑧 − 1)^{10} = 𝑧^{10}$ lie on the line $Re(𝑧) = \frac{1}{2}$. I would like to say I tried something but I am actually clueless. I was thinking maybe I could use De Moivre's theorem but I am not sure how. Any hint would be appreciated. I have a 24/7 always-on Debian Jessie based headless home server that has a large 1TB SSD for the OS and all of my frequently accessed files. This same system has 4 larger hard disk drives in a SnapRAID array. These are mainly for archiving infrequently accessed Blu-rays and want those drives to remain spun down in standby unless I actually read or write to them. They are all formatted as ext4 and mounted with noatime and nodiratime enabled.  So even though no process or program should be regularly accessing those drives in any direct way, the hard drives constantly get spun up from standby. It seems to be related to graphical programs that provide a gui file browser, even something like Chromium. If I don't even browse into those drives, I'm thinking that these processes by simply getting a list of available drives spins up the hard disks. Much like blkid does. The problem is, it's hard to determine the root cause of this since none of these processes are actually reading or writing the filesystem on those drives, so no files are actually changing or being touched. Is there some sort of cache that I can populate or a buffer to prevent these programs from spinning up the hard drive simply by getting a list of available disks? This is honestly driving me insane, since I can't find a reliably way to keep these disks spun-down even though there is no direct access of the filesystem.  UPDATE: Thanks to Stephen's answer, I was able to trace the disk activity to gvfs and udisks. It's a real shame that these processes insist on waking up disks in standby when they aren't actually being accessed to do any real I/O with the filesystem. So far I just uninstalled them, knowing that it will remove some functionality from PCManFM and the like. So I noticed that many cards with tap-effects ship with a clause specifying that they can only be used on untapped permanents, such as  and .  So here's my question:   Doesn't that imply that, given the right situation, one can legally tap an already tapped permanent?   I'll give an example of the kinda scenarios this is relevant for: Can  activate her first ability when no untapped cards are around? Or, thinking untap-effects, could I bounce a forest with  even when there isn't a tapped creature available?  Notice that, unlike the previous batch of examples, the wording on these lacks the clause restricting their use to un/tapped permanents - does that mean that they aren't?  Any kind of clarification would be greatly appreciated here. Can a multiclass sorcerer/cleric use the Metamagic class ability with non-sorcerer spells? For example, using Twinned Spell when casting cure wounds to heal two creatures instead of just one?