Questions about CACM collection - search-engine

I'm using CACM document collection. I tried to search more information on this collection online but unfortunately I didn't find what I was looking for. If I've understood correctly, this collection contains documents from a paper journal. As far as this is concerned, I don't understand why every document always cites itself (see only the links of type 5). I don't understand either why if document x cites document y, then document y cites document x (see only the links of type 5).

There is a Cornell Computer Science Technical Report written at the time the collection was created that describes the collection. See: http://hdl.handle.net/1813/6401
Ellen Voorhees
NIST

Related

How to have Microsoft Read Aloud read alternative text

I am using Read Aloud for my online course and it is not reading some words properly. For instance, when reading the text n:g=n:g, Read Aloud reads "n g equals n g" where we would prefer it read "n to g equal n to g". I have tried using aria properties such as
<span aria-label="n to g equals n to g"><span aria-hidden="true">n:g=n:g</span></span>
but with no success. I know an appropriate screen reader, such as JAWS, would be more appropriate, we are required to have our clients use Read Aloud because it does not require them to download or purchase addition programs.
Your help is appreciated.
I make some tests and find that Edge Read Aloud won't read aria-label. I think that's by design, and we can't change it by code. You can provide feedback about this issue to Edge team by pressing Alt+Shift+I in Edge.
As a workaround, you can use the free screenreader NVDA. I've tested and it can read the value in aria-label. Besides, if you want the aria-label to be read, you'll have to add the role attribute to the <span>. You can also refer to this doc and this blog for detailed information about ARIA guidelines.

Advantage of boost::bimap::unordered_set_of v/s std::unordered_set

I'm using a bidirectional map to link a list of names to a particular single name (for example, to correlate cities and countries). So, my definition of the type is something like:
using boost::bimap<boost::bimaps::unordered_set_of<std::string>, std::string> CitiesVsCountries;
But one question intrigues me:
What's the advantage on using a boost::bimaps::unordered_set_of<std::string> v/s a simple std::unordered_set? The advantage of the bimap is clear (avoing having to synchronize by hand two maps), but I can't really see what added value is giving the Boost version of the unordered set, nor I can find any document detailing the difference.
Thanks a lot for your help.

Wikipedia: When were links added?

I would like to know how to extract all the Wikipedia links that were added and removed within a time window for a specific article in Wikipedia.
So far I know how to extract Wikipedia revisions in this questions: How to get full Wikipedia revision-history list from some article?
And how to do it for a specific time window: API to get Wikipedia revision id by date
For example, here is how I obtain the content of the revision for a time window for the article Germanwings_Flight_9525 :
https://en.wikipedia.org/w/api.php?action=query&format=xml&prop=revisions&rvlimit=500&titles=Germanwings_Flight_9525&rvstart=20150325180000&rvend=20150323180000&rvprop=ids|timestamp|content
How to obtain the links added and removed?
Thanks
You could retrieve all the revisions, split them by "[[" and look for the next "|" or "]" character. With that you find all the links, which you can collect in a list or something in order to recognize new ones.

Can I create an HDF5 link to a hyperslab?

Is it possible to create a link to just a hyperslab of a dataset in HDF5?
For example, I have one dataset of size 1000 x 3, representing (a,b,c) as a function of time, let's say. And now I want a link that points just to the 'a' data (1000 x 1). Is this possible?
[Having googled this extensively, I learned the valuable lesson that "link" is essentially useless in a google query. And I can't tell from the HDF5 documentation, so I'm sorry if this is stupid.]
Having asked at the (very helpful) HDF5 helpdesk, I find that the answer is no. For anyone else looking for this functionality: redesign your code/data structure.
Unfortunately for me, the code is not mine, and the data structure is set by other, stubborn people.

In LaTeX, is there a way to put a float automatically after where it is first referenced?

I am currently writing a long one-column document that contains a lot of floats (figures and tables). I know the usual b/h/p/t options for placing floats in latex. However, I was wondering if there exists a package or macro that would let me do the following automatically: place a float automatically right after it was first reference. So if the reference appears on the top of page x, then the float would most likely appear at the bottom of page x, or maybe at (the top of) page x+1. In any case it should not occur before the reference.
I know that this may be hard to achieve but then I am not a latex guru either...
(Note that this question is different from this one.)
The LaTeX Companion says that the flafter package can be used to ensure that floats are never placed before their references. To use this, add the following to your document's preamble:
\usepackage{flafter}
Note that, according to this thread, what flafter does is ensure that the float never appears before its position in the LaTeX source code.
This may work well if your document only has a few floats. For documents with lots of floats, placement becomes much more difficult, and you may find that all your floats appear together at the end of the document or chapter, or you may receive a "Too many unprocessed floats” error. I suggest reading this page and this page in the UK TeX FAQ for more suggestions.

Resources