outlook.com – Multiple Chrome shortcut apps from the same domain?

In Chrome (for Mac), you can turn any Web site into a stand-alone Web application (a.k.a. Site Specific Browser) by clicking and then selecting the three stacked dots in the top-right corner of the window create link of the More tools Menu:

create link

This is very handy for creating a standalone webmail client or web calendar. That's what I'm trying to do. I've created a shortcut app for Outlook Mail through this URL:


Now, if I'm trying to create a separate shortcut app for the Outlook calendar at this URL:


The original Outlook Mail Link app is only rewritten to become the Outlook Calendar. I assume that both are from the same domain and subdomain.

Is there a way to get around this? Is it possible to have two separate shortcut apps from the same domain?

ipad – Is it possible to create / add a shortcut on the lock screen instead of the home screen?

If I follow this reference:

How do I create a link to a particular PDF on the iPad home screen?

but for a request my request is slightly different. I want to put the shortcut on the lock screen. So, if the user clicks the iPad startup button instead of opening the splash screen after unlocking the screen, they'll click directly on that shortcut and perform the appropriate operation.

I tried to search this feature, but I did not receive anything other than the above references.

Please suges …..

Is there some kind of shortcut / function in PostgreSQL to avoid dreadful duplicate storage junk?

Suppose I have this spreadsheet, which displays every page on my site:

CREATE TABLE "example.com page loads"
    id                      bigserial,
    "URL"                   text NOT NULL,
    "IP address"            inet NOT NULL,
    "user agent"            text,
    "timestamp"             timestamptz NOT NULL DEFAULT now(),
    PRIMARY KEY             (id)

If the same person loads 100 pages, or many others with the same exact user-agent string load 10,000 pages, the same long "user-agent" string will be 100 / 10,000 times redundantly stored in my bad table, massively inflating it.

This has always been a big problem for me when using plain text web server logs, and later when I was doing exactly what I'm describing (a database table in PostgreSQL).

One very obvious and immediate thought that pops up in my mind is, "Why can not the user agents be stored internally only once and then be referenced by PostgreSQL automatically without revealing this internal optimization for me?"

That means I do not need to create a separate table like this:

CREATE TABLE "example.com unique user agents"
    id                      bigserial,
    "user agent"            text,
    PRIMARY KEY             (id),
    UNIQUE                  ("user agent")

… and then have to do expensive and annoying manual queries to determine if the user agent already exists in the unique user agent table, and then use a column named "unique user agent ID" referenced from this table Table "" refers. Page loads "instead of a nice, simple text column.

I'm sure you understand exactly what I mean. Basically, it is so obvious that I'm 99% sure that this would have been resolved a few years ago, only I never noticed.

There is probably a simple function to do just that, such as (this is just my guess):

CREATE TABLE "example.com page loads"
    id                      bigserial,
    "URL"                   text NOT NULL,
    "IP address"            inet NOT NULL,
    "user agent"            text OPTIMIZE_UNIQUELY_INTERNALLY,
    "timestamp"             timestamptz NOT NULL DEFAULT now(),
    PRIMARY KEY             (id)

That would be nice if there is such an "OPTIMIZE_UNIQUELY_INTERNALLY" flag that I can only apply to columns if I want to do this "under the hood" without having to think about it!

If there is, I would save a lot of storage space and headaches.

I do not think that's the same thing as indexes. If you convert the User Agent column to an index, PG will not save each unique value only once, right? It would only create one additionally "Lookup table" for faster queries?

keyboard – Associate the automation applescript with a hotkey or shortcut or launcher icon

I came across a very practical approach based on … applescript automate some repetitive tasks on iterm.

Here is the sample script:

tell application "iTerm2"
    tell current session of current tab of current window
        write text "setupTargetMc"
        write text "sshmc2"
        write text "sudo su"
        write text "./installStuff.sh"
        write text "watch -n1 'docker ps --format="{{.Names}} {{.Ports}} {{.Status}}"'"
        split horizontally with default profile
        split vertically with default profile
    end tell
    tell second session of current tab of current window
        write text "sshmc2"
        write text "sudo su"
        write text "watch -n1 'tree -u -d  ~/.temp -L 3'"
        split vertically with default profile
    end tell
    tell third session of current tab of current window
        write text "sshmc2"
        write text "sudo su"
        write text "watch -n1 'cat ~/.temp/key'"
    end tell
    tell fourth session of current tab of current window
        write text "sshmc2"
        write text "sudo su"
        write text "clear"
    end tell
end tell

However, to do this, I must first open a terminal and run the script as in ./myscript.scpt

Since I want to do it even faster, here is my question:

Is there any way to further automate the script by linking it to a shortcut (for example, in the launcher) or a hotkey or keyboard shortcut?

I understand that the script needs to be further modified because there is no "parent" (?) Terminal that creates the split screen sessions.

SD Card – How do I create a shortcut to a file in another folder?

"Abbreviation" is a pure Windows concept. It is a common file (with .lnk Extension), which contains a reference to another file or folder. Windows Explorer and other programs can open the actual file by reading reference information from the shortcut file just as they know how to open one .pdf or .mp4 File. Other operating systems do not know what a .lnk File is because the phenomenon of integrating partitions and thus the file paths in different operating systems is different.

At the file system level, Windows NTFS supports crossing points. symbolic links and hard left (1), But FAT Family (including exFAT) does not support any (2),

Android is based on the Linux kernel. Linux native file systems (such as ext4) support hard and soft (symbolic) links. For non-native file systems (such as FAT) depends on the file system driver. exfat Driver (for exFAT File system) supports symlinks, but FUSE-based exfat-fuse Not. That's the old one vfat Driver (for FAT(N) Filesystems). New sdfat Driver (for FAT(N)/exFAT Samsung) has optional symlink support for FAT(N) also file systems. After MS Open Sourcing exFAT, Mainstream Linux driver is also based on sdfat (3),

But that's not the end. External SD cards are usually formatted as FAT32 or exFATDepending on the driver used, they may support symlinks. However, Android does not expose the actual file system to apps, but emulates it using FUSE or sdcardfs, The emulation is another twisted story (basically a file system without permission to allow sharing files between different apps / UIDs). More information can be found in Android's Storage Journey and What is / storage / emulated / 0 /?.

FUSE drivers may support symlinks (if this is the case in the underlying file system), but not the Android FUSE implementation. Such is the in-kernel sdcardfs Implementation.

In short, in most cases, you can not create symlinks on both external and internal SD cards. You receive "Operation inadmissible" or "Function not implemented" or similar mistakes. For rooted devices, bindemounts are a commonly used alternative. For more information, see How do I create a symlink (or equivalent) in / storage / emulated / 0?

c ++ – Explicit loading of an Ogre3D DLL wrapper with OgreMainStatic.lib shortcut crashes when loading a mesh with CreateEntity

I have an Ogre3D 1.7.x DLL wrapper project that explicitly loads Ogre functions and works with the OgreMain.dll + D3D9 renderer plugin.dll, which loads a mesh without any problems. This is my setup:


When I moved to an OgreMainStatic.lib configuration, which is now a single DLL configuration (MyWrapper.dll ~ 5MB, Lib plugins linked and loaded) and a mesh was loaded with CreateEntity, the application crashes ,

I tested how I linked my OgreMainStatic.lib to a single exe file and then loaded a mesh, and it works without problems.


Are there any changes or concerns about how Ogre handles memory or threading when wrapping functions and explicitly loading a DLL against a DLL with Ogre Static Lib?

I've added a crash reporting tool to trigger the specific error, and there is an exception:

The thread tried to read from or write to a virtual address
It does not have the appropriate access.

Both solutions still show the Ogre.log message that the network has been loaded, but it crashes with the setup of the static lib-linked DLL:

16:03:37: DefaultWorkQueue('Root') initialising on thread main.
16:03:37: Added resource location 'media' of type 'FileSystem' to resource group 'General'
16:03:37: Parsing scripts for resource group Autodetect
16:03:37: Finished parsing scripts for resource group Autodetect
16:03:37: Parsing scripts for resource group General
16:03:37: Parsing script box.material
16:03:37: Parsing script ground.material
16:03:37: Parsing script Ogre.material
16:03:37: Parsing script skybox.material
16:03:37: Finished parsing scripts for resource group General
16:03:37: Parsing scripts for resource group Internal
16:03:37: Finished parsing scripts for resource group Internal
16:03:37: Mesh: Loading sphere.mesh.

Keyboard – How do I register a keyboard shortcut to enter a diacritical character in icewm?

I'm trying to set up keyboard shortcuts to enter common diacritical characters.
I can let xdotool enter the diacritical characters in a terminal or via the icewm command bar (or even via gmrun):

xdotool key Aacute

However, the following key mappings (in the icewm keys file) do not work:

key "Ctrl+Alt+a"                  xdotool key Aacute
key "Ctrl+Alt+a"                  xdotool --delay 1000 key Aacute

Instead, the cursor only flashes once when I type in the shortcut (in the terminal or in the text editor), but nothing else happens. The following shows a pop-up so that the keycode itself is correct:

key "Ctrl+Alt+a"                  zenity --info --text="shortcut works"

Does anyone have a way to register the key binding so that the diacritic is actually entered into the active application?

icon – Shortcut icons are not displayed correctly in the lyx menu

Enter image description here

This is a screenshot I made with lyx, a wysiwyg latex editor. As you can see, some keyboard shortcut icons are broken and I see a few question marks. How can I fix this?

macOS High Sierra 10.13.6

LyX Version 2.3.2 (December 8, 2018)
Library Directory: /Applications/LyX.app/Contents/Resources/
User Directory: ~ / Library / Application Support / LyX-2.3 /
Qt version (runtime): 5.9.7
Qt version (compile time): 5.9.7