How to highlight 1st level menu item based on actual page

I am trying to highlight 1st level menu item by adding ‘current-menu-item’ class using nav_menu_css_class filter based on actual page / article / post / etc.

For example, menu looks like this:

Publications -> Computers -> Article 123

So, once user enters “Article 123” page I would like to highlight “Publications” menu section. Is it possible?

front end – Is there a way to highlight all instances of the variable under the cursor?

Mathematica’s notebook interface does not have this feature. Personally, I do not think this feature is a very good fit for a notebook interface. But of course, sometimes we don’t do interactive exploration in a notebook, but write larger programs (code meant to be used many times) in a plain text file (.m or .wl, package files). The feature makes much more sense in that context, and there are IDEs which support it.

Here’s a screenshot from the Wolfram Language plugin for IntelliJ:

enter image description here

Notice that it understands local variables: only those instances of “cutoff” are highlighted which are truly the same.

I might be wrong, but as I recall the Wolfram Workbench (an Eclipse plugin) also has this capability. General purpose editors such as VS Code can also do it, but they won’t be able to distinguish a local and a global instance of a variable.

nikon – Why can I recover more highlight detail from a predecessor model?

I took the same image with a Nikon D800 and a D850. The D850 is the successor of the successor (the D810) of the D800. Here are both images in Lightroom (they have different white balances):

enter image description here

As you can see the highlights around the lantern look about the same. However when I dial in +2.2 exposure and -100 highlights in Lightroom things look different:

enter image description here

The amount of recovered detail behind the glare differs a lot. Is it possible that this is due to Lightrooms interpretation of the RAW files of both cameras? Or is this a matter of dynamic range? I dont think the D850 should not have less dynamic range then the D800. In fact Ive read they should have about the same amount of usable dynamic range and this is what I would agree with from my experience so far.

I used the same exact lens on both cameras.

google sheets – How can I highlight a column of cells (H) if the date in the cell is more than a week old, and the cell next to it (I) is blank?

I’m trying to make a spread sheet to track open purchase orders. One PO per row. One column has the order date in it, and the next column has the receive date for the order. I’d like the cell with the order date to highlight red if the date in it is more than a week old, and there is nothing in the cell for the receive date. I’m new to this, so I scoured forums for a formula that would work, but it always says invalid formula. This is one I copy and pasted from a Q&A site:


It’s invalid, but I don’t know enough about this stuff to know why.

sharepoint enterprise – co authoring Excel cell highlight while another user editing same document

I am using SharePoint 2016 with Office online server. I have few excel document, When I open excel document in web browser, Myself and my colleague both able to edit same excel document in same time. I can see his changes as soon as he completed , that’s fine. However, I would to like see which cell my colleague is working on, when i am in the same document. I do believe that In the right top corner, we can see co author user details along with which cell he is editing and also there is color indication in excel document when another user editing same document.

How could I retrieve the exact duplicate value from conditionally formatted list that highlight duplicates?

I have imported a webpage table in to google sheets. It frequently being updated. A series of calculations has been conducted on the sheet named Shawn Of the link

I have filtered the my desired results into the Calculation sheet of that linked document… which is in columns A5:A. I then applied =ARRAYFORMULA(if(A5:A200=””,,A5:A200*{12,13,37,101,111})) in columns B5. The Results of the formula extends from B5:F. This results from a5:F was subsequently conditionally formatted to highlighted duplicates in the aforementioned, i.e a5:f using the lists of values in K5:K and I5:5.

In Columns A5:F, is it possible to generate/place values in the range A5:f with matching name of states and aligned values in J5:K and H5:I ?
enter image description here

dataset highlight rows based on cell values

With the new Dataset/Background option feature introduced in 12.1, I would like to highlight the rows when either of the two columns has one of the target values in its cell.
For example, I have the following data:

data = Transpose@Dataset@AssociationThread({"a", "b", "c"}, RandomInteger({1, 10}, {3, 10}))

Iwould like to highlight those rows in red when either col a or b equals 1 or 10.

enter image description here

I can highlight rows based on one-col value, but don’t know how to add the 2nd col to the expression.

Dataset(data, Background -> (Switch(#3(#2((1)), "a"), 1 | 10, LightRed, _, White) &))

How can I do that? Thanks!

continuous integration – Test coverage highlight in Bitbucket cloud

We are using AWS Codepipeline for CI/CD and do not intend to change that. Our codebase is in the BitBucket cloud. We would like to see a couple of things highlighted in the Bitbucket dashboard itself when the pull request is created:

  1. The test coverage (Maybe Sonarqube) – Open for recommendations
  2. Successful build

Is it reasonable to use the Bitbucket pipeline just for the successful build check and the test coverage to show in Bitbucket Dashboard?

Is there an alternate/better way to do it?