Regarding documentation for renewing US visit visa in Canada

Hi I am on visit visa in Canada. My us visit visa is valid till feb 2. I have to travel to USA on feb end . I cannot travel before feb 2 because I am sick. Please let me know if I can apply to renew my us visa from here in Canada and what documents do I need for the application. I am originally from Pakistan doing business in Oman.

Notification center documentation for applescript

Where can I find documentation for notification center method and properties to use it in applescript? I can’t find anything in script editor’s dictionary neither on web.

This is example code to work with notification center:

on run     tell application "System Events"         tell process "Notification Center"            set theseWindows to every window            display notification (count of theseWindows)         end tell    end tell end run 

Sphinx documentation: Exclude page from search engine

we use sphinx to generate our documentation and we would like to remove a page from the search engine. The main purpose is we don’t want to break link over the web, but we need to restructure our documentation so the old page will point to the new one, (this is actually pretty easy to do and already done), we just don’t want to let documentation user reach this deprecated page within the doc.

Maybe there is a way to mark an rst file as deprecated? If not is there a way to hook into a SeachEngine (I’ve seems it’s possible to create new one, but I just want to modify the behavior of the current one).

Manually editing the searchindex.js after building is working, but I feel this approach very hacky.

Thanks a lot in advance.

ideas and code resources on user assistance/help documentation needed (like

For my site, I’d like to implement a stylish and fancy (ideally responsive) user assistance/help documentation. I just stumbled over Apple’s website where they provide an overview on Mac Basics: This is exactly what I’m looking for. Very stylish, neat and clean. The thing is I like the way the represent information: quick info on the left, visual content on the right. If you want more detailed information, you can go to a link. The step-by-step walk through the new features is fantastic. Long story short: do you have other ideas on how to best represent such user help? And more importantly: do you know (free) repositories where I can find templates etc. to get started quickly. Thx

Documentation on system fields in SharePoint Online

Although it looks as a trivial question, I cannot find any detailed documentation on all system fields defined in SharePoint Online. There are only available scarce and outdated tables with field names and IDs. Is anybody aware of one place public reference regarding every system field existing in SharePoint Online with detailed description of meaning and usage for the field available from a single source? Thank you.

Documentation of “bin number” trees

TL;DR: I implemented a special (?) binary tree and can’t find any further details on the method I used on the internet. I would like to know if there are any scientific papers discussing my implementation.

Long version:

I saw this very interesting binary tree using “bin numbers” in RFC 7574. The leaf nodes contain data and consist of even numbers, and a single integer can be used to address ranges of leaves.

                               7                               / \                             /     \                           /         \                         /             \                        3                11                       / \              / \                      /   \            /   \                     /     \          /     \                    1       5        9       13                   / \     / \      / \      / \                  0   2   4   6    8   10  12   14                   C0  C1  C2  C3   C4  C5  C6   C7 

Implementation details are not part of this RFC, so I did the implementation myself. I use a flat array so that every node is positioned at the index of their “bin number” for fast O(1) access:

Tree = [ Node0, Node1, Node2, ... ] 

I created some methods to inspect a single node:

depth(index) = log2( ~index & (index + 1))        // depth from bottom pos(index)   = (index >> (depth(index) + 1)) & 1  // left or right 

And some helper methods to navigate the tree/array:

lChild(index) = (index & 1) ? index - 2 ** (depth(index) - 1) : -1 rChild(index) = (index & 1) ? index + 2 ** (depth(index) - 1) : -1 parent(index) = pos(index) ? index - 2 ** depth(index) : index + 2 ** depth(index) 

** = exp operator

I am asking myself if I’m reinventing the wheel here. I would like to verify and optimize my implementation but could not find any more information about this tree or storage method.

Does anybody know how to call this thing?

Is there a sane documentation for settung up warehouse (i.e. your own python package index – pypi)?

The python package index (pypi) runs on open-source software called warehouse. We are currently trying to host our own instance of pipy. The only warehouse documentation currently, seems to be quite sparse and aimed at developers, not end users.

For instance, it ships with “example data”. I.e. on installation there are >40k users and >30k dummy packages in the database by default. They were taken from and are meant to give developers some data to test their changes against. But no word on how to remove them, or actually setting up a production environment. Also we found that e-mail verification and actual installation of uploaded, custom python packages via pip install --index-url <our-custom-index> <custom package> did not work out of the box, with no hints to debug that. We had and have much more additional trouble such as bad performance, non-existing guidelines for configuration etc., that I don’t want to get into. On the bright side, package-upload with twine worked right out of the box.

My questions are:

  • Are we missing something here?
  • Is warehouse not meant to be used to setup ones own internal/local clone of pypi in a production environment?
  • Is there additional documentation we are not aware of, something aimed at system administrators and end-users that want to setup their own pypi, because searching the web gives precious little and nothing usable?
  • Are there (3rd-party) example configurations and guides for warehouse?

How do you manage change of language/terminology in a scalable way for documentation (internal communication)

As UX Designers, we change and create words for things in the UI. Sometimes those are labels, sometimes error messages etc.

I’ve found it very difficult to keep documentation – say confluence up to date with the correct terms. I would love to be able to insert a token in the documentation that would change a specific term en masse – but I have no idea how this could be done.

This also extends to the UI itself – how have you changed words en masse in an efficient way?