Improve VS Code when working with network drives

Some issues impact users that try to run VS Code against slow network drives. Specifically:

[ ] we load the file contents each time you click on a tab
[ ] we close an editor when we detect a file delete event (this can happen from faulty file events) (#11642)
[ ] we prevent saving when we think the contents on disk are newer (which seems to happen sporadically on network drives) (#18037)
[ ] we remove folders from the recent folders list when they do not seem to exist even though they are (13699)

we remove folders from the recent folders list when they do not seem to exist even though they are
Just had this happen, I did notice once the drive is reconnected and I open the folder manually all the open files I had were re-opened.

Another problem while using network drives is that the go to file ctrl+p is very slow, pretty much unusable.

This happens a lot while working on my computer (not a network hard drive).
To make things worse, it flushes any "undo history" I may have. So even if I go through the compare and accept changes, then I cannot undo any of the stuff.
It is starting to get a bit frustrating. You should at least add a setting to disable it.

This is happening very frequently to me as well, working on a network drive as well, every other save I get an error

I got the same frequent error on a samba share via virtualbox host only network.

I pushed a fix for the annoying save error, happy for feedback in todays insider build.

Great ! For me however, no errors since 1.8.1
2017-01-04 8:11 GMT+01:00 Benjamin Pasero<EMAIL_ADDRESS>
I pushed a fix for the annoying save error, happy for feedback in todays
insider build.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/13665#issuecomment-270307761,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEay-GUZdCViO5OfpV2OURwkvU_-jBP2ks5rO0YhgaJpZM4KVtCp
.

Hi all - I've been using VS Code for a week. I'm getting this error 4 out 10 times I save the file. This happens specifically with files in a SharePoint.

@fegumi2003
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders

@bpasero I've been able to reproduce this using the insider version. What troubles me is that when I'm comparing the disk vs VS Code versions; discard or accept the changes does exactly the same (changes wiped out).

Ok thanks for trying, I think this needs another look then. What I fixed specifically was this error happens when you have a slow connection and manage to hit Ctrl+S multiple times without the first save actually returning. There might still be a bug that the mtime we get back after the save is not the same as the one on the server. Though still hard for me to understand how that can happen.

Regarding the issue described as "we prevent saving when we think the contents on disk are newer":
It happens to me on a LOCAL drive too, when for instance a js beautifier is triggered in the background via monitoring script.

We fixed that one for 1.9.

We fixed that one for upcoming 1.9 release.

Just local files?

Only one way to find out: http://code.visualstudio.com/Download#insiders

after upgrade to 1.9 "contents on disk are newer" is still happening for me :(

@meuwka when you then compare with the contents on disk, are there actually changes?

@bpasero Yes, probably I found: our project use ESLint with fix in config (for example add spaces). Is there a possibility to disable VS Code compare mode after save file?

Currently not and not sure this is the right fix. When we find the version on disk to be newer compared to the buffer in the editor we need to deal with it one way or the other to prevent dirty writes.

understand, but now it's very time consuming process (many extra clicks) and doesn't work undoing changes after comparing :(

Yeah, I still have to find out how it is possible that the file is modified after it has been saved from the editor.

May have to dig into this myself as it is driving me nuts. Normally use local external but recently had to migrate some projects to our NAS and now I get bad file descriptor errors like every other save. About to lose my mind!! Yes this is my worthless contribution to this thread as my post has no value whatsoever other than I feel better now for whining. :)

Can you share the full error message?

People here that suffer from the sporadic error when saving and we think the file is newer ( @meuwka @rbtbar @DanZeuss): I have created a new insiders build with some additional logging to find out what is going on:

Windows: https://az764295.vo.msecnd.net/insider/5f545975b9f3c62083db0bcdbbcf54d1cc4e666a/VSCode-win32-1.11.0-insider.zip
Linux: https://az764295.vo.msecnd.net/insider/5f545975b9f3c62083db0bcdbbcf54d1cc4e666a/code-insider-1.11.0-1488367894_amd64.tar.gz
macOS:
https://az764295.vo.msecnd.net/insider/5f545975b9f3c62083db0bcdbbcf54d1cc4e666a/VSCode-darwin-insider-unsigned.zip

Please start the instance from the command line passing in the --verbose flag. On macOS, you can directly run the executable like this: ./VS Code.app/Contents/MacOS/electron --verbose. Once you hit the save error, please open the console (Help > Toggle Developer Tools > Console) and copy/paste the output to some location where I can access it (secret Gist is fine, the output contains the contents of the file!). Ideally you would try to reproduce with a small file to have less verbose output.
Here is a  screenshot how the error would be printed like:

Thanks!

Hi There,
I tried the the insider version on Ubuntu 16.04. Sadly for gvfs, the error persist:
Version 1.11.0-insider
Commit 0bc62d1679fbb59a4bd8f62203743408893ba4ee
Date 2017-03-02T13:49:45.971Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0

ipc.cp.ts:152 [IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py ENOSPC(anonymous function) @ ipc.cp.ts:152e.invoke @ callbackList.ts:63e.fire @ event.ts:118r @ event.ts:12emitTwo @ events.js:106emit @ events.js:191process.nextTick @ internal/child_process.js:744_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
ipc.cp.ts:152 [IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py ENOSPC(anonymous function) @ ipc.cp.ts:152e.invoke @ callbackList.ts:63e.fire @ event.ts:118r @ event.ts:12emitTwo @ events.js:106emit @ events.js:191process.nextTick @ internal/child_process.js:744_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
ipc.cp.ts:152 [IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/pantalaimon/venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyc ENOSPC
extensionHost.ts:282[Extension Host] Error: This socket is closed
    at Socket._writeGeneric (net.js:673:19)
    at Socket._write (net.js:725:8)
    at doWrite (_stream_writable.js:307:12)
    at writeOrBuffer (_stream_writable.js:293:5)
    at Socket.Writable.write (_stream_writable.js:220:11)
    at Socket.write (net.js:651:40)
    at sendCommand (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/jediProxy.js:419:20)
    at JediProxy.sendCommand (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/jediProxy.js:128:16)
    at JediProxyHandler.sendCommand (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/jediProxy.js:548:24)
    at PythonHoverProvider.<anonymous> (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/hoverProvider.js:103:54)d.logExtensionHostMessage @ extensionHost.ts:282
8ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock ENOSPC(anonymous function) @ ipc.cp.ts:152
ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/FETCH_HEAD ENOSPC(anonymous function) @ ipc.cp.ts:152
2ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock ENOSPC(anonymous function) @ ipc.cp.ts:152
ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/FETCH_HEAD ENOSPC(anonymous function) @ ipc.cp.ts:152
2ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock ENOSPC```

@pouyana great that you can still reproduce, but I am missing the output logging I added. Are you sure you got this message showing up that the contents on disk are newer than what you have? Can you show a screenshot when this happens?

@bpasero so i tried to run the vscode with --verbose, here is the output:
ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyc ENOSPC(anonymous function) @ ipc.cp.ts:152
ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyc ENOSPC(anonymous function) @ ipc.cp.ts:152
ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py ENOSPC(anonymous function) @ ipc.cp.ts:152
ipc.cp.ts:152[IPC Library: Watcher] Error: watch /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//.git/index.lock ENOSPC(anonymous function) @ ipc.cp.ts:152
ipc.cp.ts:152[IPC Library: Watcher] [ADDED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [ADDED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher] [DELETED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs//.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [DELETED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher] [CHANGED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/package.py
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [CHANGED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/package.py
ipc.cp.ts:152[IPC Library: Watcher] [DELETED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/package.py
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [DELETED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/package.py
ipc.cp.ts:152[IPC Library: Watcher] [ADDED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [ADDED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher] [CHANGED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher] [CHANGED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [CHANGED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [CHANGED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index
ipc.cp.ts:152[IPC Library: Watcher] [DELETED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock
ipc.cp.ts:152[IPC Library: Watcher]  >> normalized [DELETED] /run/user/1001/gvfs/sftp:host=app.test,user=vagrant/srv/www/app/htdocs/.git/index.lock```
Hopefully it includes your chnages!

@pouyana to find out you need to come to the point where the following error shows up and only then check for the console:

@bpasero Sadly, I don't see the error, but still the tab closes after clicking crtl+s more than 2 or 3 times randomly. I uploaded the whole log, if it helps.
vscode_log.txt (console log)
terminal.txt (the log written in shell)

@pouyana but you see the error from my screenshot in https://github.com/Microsoft/vscode/issues/13665#issuecomment-283699648 ?

@bpasero no. No popups and no other errors. The tab vanishes without silently. Do I have the right insider version?
Version 1.11.0-insider
Commit 0bc62d1679fbb59a4bd8f62203743408893ba4ee
Date 2017-03-02T13:49:45.971Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0

@pouyana sorry I was not clear with my question, I wanted to hunt down the issue related to not being able to save. As for the issue of tabs randomly closing I actually have an idea for a fix or setting.

@pouyana for your case of tabs suddenly closing, I have a custom build ready that I would like to try on you that gives some more hints:

macOS: Download
Linux: Download
Windows: Download

Please again run it with "--verbose" flag from the command line and when you see a tab closing out of nowhere, please send me the full output of the console. Thanks!

@bpasero So I tested your build on my Ubuntu 16.04. The randomly closing tab problem is gone 👍 ! Sadly autocomplete and intellisense are not working.  But I think it is another bug probably.
extensionHost.ts:282 [Extension Host] ---------------------------d.logExtensionHostMessage @ extensionHost.ts:282(anonymous function) @ extensionHost.ts:137emitTwo @ events.js:106emit @ events.js:191process.nextTick @ internal/child_process.js:744_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
extensionHost.ts:282 [Extension Host] sendCommand jediProxyd.logExtensionHostMessage @ extensionHost.ts:282(anonymous function) @ extensionHost.ts:137emitTwo @ events.js:106emit @ events.js:191process.nextTick @ internal/child_process.js:744_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
extensionHost.ts:282 [Extension Host] Error (sendCommand) This socket has been ended by the other partyd.logExtensionHostMessage @ extensionHost.ts:282(anonymous function) @ extensionHost.ts:137emitTwo @ events.js:106emit @ events.js:191process.nextTick @ internal/child_process.js:744_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
extensionHost.ts:282 [Extension Host] Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:286:12)
    at sendCommand (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/jediProxy.js:419:20)
    at JediProxy.sendCommand (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/jediProxy.js:128:16)
    at JediProxyHandler.sendCommand (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/jediProxy.js:548:24)
    at PythonDefinitionProvider.provideDefinition (/home/user/.vscode-insiders/extensions/donjayamanne.python-0.5.9/out/client/providers/definitionProvider.js:41:38)
    at /home/user/Downloads/VSCode-linux-x64/resources/app/out/vs/workbench/node/extensionHostProcess.js:12:31393
    at /home/user/Downloads/VSCode-linux-x64/resources/app/out/vs/workbench/node/extensionHostProcess.js:6:17637
    at new n.Class.derive._oncancel (/home/user/Downloads/VSCode-linux-x64/resources/app/out/vs/workbench/node/extensionHostProcess.js:6:13740)
    at Object.f [as asWinJsPromise] (/home/user/Downloads/VSCode-linux-x64/resources/app/out/vs/workbench/node/extensionHostProcess.js:6:17600)
    at e.provideDefinition (/home/user/Downloads/VSCode-linux-x64/resources/app/out/vs/workbench/node/extensionHostProcess.js:12:31347)

@pouyana that is good news, please keep me updated how it goes over the next couple of days and then I can turn it into a real fix.

Some updates to this issue:

before closing an editor we now do an additional check if the file is really deleted and only then close the editor (this helps for randomly closing editors after save)
on top of that, I introduced a new setting to disable closing of deleted files entirely (see https://github.com/Microsoft/vscode/issues/11642#issuecomment-284359219 for more info)
finally, I believe the sporadic "contents on disk are newer" errors when saving have also been resolved with my recent changes to the file model synchronisation

Working with remote drive with VS code is actually not possible (too much bugs), I think it would be better to work on a remote explorer directly integrated with VS code.

Another problem while using network drives is that the go to file ctrl+p is very slow, pretty much unusable.

Yeah, this is really bad. At work we're using network drives with fairly complex file structures and the go to file function (ctrl + p) takes over 5 minutes to find a file.

To me, it was a problem just when working on VMWare on drives shared in
Linux to Windows, however, I'm using Docker with Virtual Box and I'm no
longer getting this error.
On Wed, Apr 5, 2017 at 3:36 AM, Patrik Thorsson<EMAIL_ADDRESS>wrote:

Another problem while using network drives is that the go to file ctrl+p
is very slow, pretty much unusable.
Yeah, this is really bad. At work we're using network drives with fairly
complex file structures and the go to file function (ctrl + p) takes
over 5 minutes to find a file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/13665#issuecomment-291767899,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXGAI3qfw4Tw3yWRQlcvShVk_wr1upq3ks5rszZagaJpZM4KVtCp
.

A month or two ago working over my network on a Samba share was flawless. Using Windows 10 and a Mounted Network Drive
Now:

Ctrl + p is unusable (as previously mentioned)
Find in Folder is unusable
Since latest update (today or yesterday) I'm getting (deleted from disk) in tabs constantly

As @wesruv mentioned, I too am seeing "(deleted from disk)" in the tabs constantly, yet clicking on the tab causes it to go back to normal.

Sorry to hear that. We mark a file as deleted when we receive a file-delete event from our watcher. I will check again if there are other cases where we could report this wrongly.

@wesruv can you please open a separate issue on the search issues and quick open? We recently changed our search mechanism to use RipGrep (which btw you can disable via "search.useRipgrep": false).

I have a fix in mind to get rid of the ugly "deleted from disk" issues people are seeing, stay tuned.

@bpasero I tried "search.useRipgrep": false, but there wasn't any notable change i believe.
@DanZeuss I just found out that we're using VMWare too. I haven't tried any other shared drive though.

Todays insider build contains a fix for the "deleted on disk" annotation showing up. Let me know how it goes: http://code.visualstudio.com/Download#insiders

Seeing the content on disk is newer message too running 1.12.1, mostly when working with files that have been changed due to git. It would be helpful if the file was refreshed to show its state on the disk automatically rather than waiting until after I start edit it.

With the latest update, I no longer see the "deleted on disk" message.

another problem that I'm getting that may be related to when working with
network drives is that, the file search is not working. I don't know if
it's because permission
On Mon, May 8, 2017 at 7:12 PM, Paul E. Jones<EMAIL_ADDRESS>wrote:

With the latest update, I no longer see the "deleted on disk" message.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/13665#issuecomment-300005619,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXGAI2lQy3mWK0Na_VblzpiHXNBBWZtRks5r35M5gaJpZM4KVtCp
.

@DanZeuss please report search issues separately, thanks.

I apologize. I thought it were some issue related only when working with
network drives.
On Mon, May 22, 2017 at 2:37 AM, Benjamin Pasero<EMAIL_ADDRESS>wrote:

@DanZeuss https://github.com/danzeuss please report search issues
separately, thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/13665#issuecomment-303003605,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXGAIyFR4TBVtmlbv5JQVKvE8eKsI5iuks5r8R83gaJpZM4KVtCp
.

@bpasero I'm still getting the sporadic saving error using version 1.13.1. Is the saving problem still an ongoing issue?

@AdamBJ what is your setup? and when you then compare files, is there a change to the remote file?

I'm running Ubuntu 14.04 LTS as a virtual machine (via VMWare Workstation Player). The problem occurs when I've SSHed into a machine at my school and am working in one of the folders stored on the remote machine. As for the compare, the file on disk that is "newer" is the previous version of the file (i.e. the file minus any changes I've made since opening it).
Let me know if you want more specific details on anything.

Hi.
I prefer to mount network shares to folders.
e.g. mklink /d c:\proj \\server\share\foldername\
I was faced with a problem that if you open such folder the editor does not read its settings from .vscode at all. But with same share folder mounted as disk vscode works fine.
Is there a way to force vscode work with such folders as with a network drive? (maybe list of folders in user settings)
VsCode:  1.13.1
Windows 7

Intellisense & autocomplete don't work on the latest version with an SMB share.

@bpasero The network drives save issue only seems to happen when I'm using my laptop which is running a 32-bit version of VS Code on Ubuntu 14.04 LTS.

https://github.com/Microsoft/vscode/issues/31667

Any news?

I can confirm @samirotiv's statement regarding autocomplete/intellisense not working with an SSHFS-mounted drive (on Mac). Similar to @nguyenbathanh, I'm curious what may be going on here. FWIW, the Path Intellisense extension seems to have no issue auto-completing paths with the same mounted drive. Thanks for any and all support!

@bpasero is this still the proper place to bring up related issues or would a new issue make more sense? Happy to accommodate in whatever way makes the most sense. Thanks!

Error: Failed to save 'syncSummary.txt': The content on disk is newer. Click on Compare to compare your version with the one on disk. (Settings Sync 2.8.2 on Dec 18, 2017)

@ChadRidings Is that a Visual Studio Code issue or a Settings Sync issue (https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync).  That repo is https://github.com/shanalikhan/code-settings-sync/

@paulej that is a good question. Yea I was looking at that repo yesterday as well. I've been taken down a rabbit hole where it's hard for me to determine if this is a problem with the application or a problem with the extension. I'll report back when I have a better idea.

I have problems with sshfs mounted directories in Visual Studio Code on Ubuntu, too. Autocomplete and IntelliSense don't work properly.
So I've created a small workaround that I want to share: It worked for me to copy the sshfs directory locally, watch changes in this directory with inotifywait and copy them into the sshfs directory with a small shell script. This doesn't reflect changes on the remote filesystem but this is not important for me.

Another Samba user here. I have two workflows - If I'm remote, I work with a Debian VM on Hyper-V (on my laptop). If I am at my desk, I work with a Debian VM on a VMware server that has better hardware.
In both cases, the Git features in code have very poor performance. Search is fairly performant though.

I was trying to use VS Code with my git repository on a samba share. I am using mac and the samba share is on a remote Ubuntu 18.04 machine hosted on AWS. VS code and git would not work properly when I had my repository on a samba share but I had to get work done so I went ahead and started working without git. I was editing a file that was 2 days old, hours of work, and VS code hanged. When I reopened VS Code I was shocked to see my file on the server was blank. In fact, every file I had open at the time of the crash was blank. Now if git would have been workign properly I would not have lost data. I guess it is back to Dreamweaver?

I am closing this issue and ask people to file individual issues with reproducible steps after searching for duplicates. Having one large issue turns out to be not very helpful to manage.


Add support for ZoomControlStyle

Now ZoomControlStyle is missed from this package, need to do something like this
beforeAll(() => {
  initialize();
  google.maps.ZoomControlStyle = {
    DEFAULT: 0,
    SMALL: 1,
    LARGE: 2,
  };
});

This enum is deprecated. Going to close as it can be overridden as shown in your snippet.


Foreground push notification detect click

I'am getting push notification in foreground , background , when the app is closed.
Scenario 1 [ when app is completely closed ] ::
When the app is closed i get the push notification , i open the app while clicking the push notification [coldstart] i redirect the user to the specific page
Scenario 2 [ when app is completely closed ] ::
I receive the push notification but click the app icon to open the app i land on dashboard -- perfect
Scenario 3 [ when app is in background or open ] ::
I receive push notification when the app is open.. I get immediately redirect.. What i want here if i receive the push notification and the app is open and if the user clicks on the push notification then only he should be redirected
Hope i explained this..

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


[ README.md ]  IRMA_API_CONF variable description section

I have added more details on IRMA_API_CONF variable to avoid confusion for newcomers.
Thanks to the @sietseringers for this short explanation that I have got in following  issue #28

How changes in README.md can break "travis-ci" ?

Looks good, thanks!
(our CI doesn't function correctly for repositories outside the privacybydesign organization)


Sign up hackers for The Hack Series

We can close this once ~120-150 have enrolled in our eventbright

Closing in favor of #407.


Illegal instruction: 4

$ docquery scan "What is the invoice number?" https://templates.invoicehome.com/invoice-template-us-neat-750px.png
Illegal instruction: 4

Just go this running on Mac M1, is it supported?
Any suggestions to resolve would be helpful 🙏
Warm regards

Hi @izdi that looks like an issue related to Rosetta -- usually this occurs if one of your dependencies (e.g. torch) was installed with Rosetta, and it is trying to use a SIMD instruction that Rosetta can't emulate.
Could you share some more details about how you've installed docquery and whether or not you're using Rosetta? Are you running in a virtual environment or did you install it globally?

Hi @ankrgyl, thanks for the follow-up!
I installed docquery it with pip within conda env.
    active env location : /Users/izdi/opt/anaconda3
            shell level : 1
       user config file : /Users/izdi/.condarc
 populated config files : /Users/izdi/.condarc
          conda version : 4.13.0
    conda-build version : 3.20.5
         python version : 3.8.13.final.0
       virtual packages : __osx=10.16=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/izdi/opt/anaconda3  (writable)
      conda av data dir : /Users/izdi/opt/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/izdi/opt/anaconda3/pkgs
                          /Users/izdi/.conda/pkgs
       envs directories : /Users/izdi/opt/anaconda3/envs
                          /Users/izdi/.conda/envs
               platform : osx-64
             user-agent : conda/4.13.0 requests/2.28.0 CPython/3.8.13 Darwin/21.6.0 OSX/10.16
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Currently, I'm on Monterey, but frankly I don't remember if I installed torch on Rosetta, I'll try torch reinstallation.

I'm guessing it's this:
                          __archspec=1=x86_64

I'm not a conda expert, but that indicates that the conda environment is x86. If you run the arch command from the terminal you're in (with and without the conda env active) what do you get?

$ arch
arm64

I guess you're right!
Should I just reinstall conda or environment?

I'm not familiar enough with Conda to know 100%, but I do recall there being an explicit arm vs x86 option when you download and install it.
--
Ankur Goyal
CEO, Impira
Make Meaningful
Sent via Superhuman iOS ( @.*** )
On Tue, Sep 13 2022 at 1:25 PM, Sergey Keller < @.*** > wrote:

$ arch
arm64
I guess you're right!
Should I just reinstall conda or environment?
—
Reply to this email directly, view it on GitHub (
https://github.com/impira/docquery/issues/26#issuecomment-1245919082 ) , or
unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAEKA45MV7UA5JHUEAZ5YZLV6DPKZANCNFSM6AAAAAAQIQ3KXY
).
You are receiving this because you were mentioned. Message ID: <impira/docquery/issues/26/1245919082
@ github. com>

I reinstalled conda for arm64 and reinstalled everything, and it worked.
During tokenizers installation, I got this error:
running build_ext
      running build_rust
      error: can't find Rust compiler

You might want to update the docs to include Rust requirements.
Thanks for the help!

Thanks for the tip -- I suspect that also may be a conda-specific quirk (I believe it comes pre-compiled in other environments). We'll do some more digging and update the docs accordingly.
Were you able to install Rust and proceed forward?

@ankrgyl yes. Playing with it looks promising!
One question, tho', if you ask, "What is the description of all items?" it returns only the first one or the last one depending on the framing of the question. Why do you think that might happen?
$ docquery scan "What is the description of all line items?" https://templates.invoicehome.com/invoice-template-us-neat-750px.png

image-classification is already registered. Overwriting pipeline for task image-classification...
2022-09-14 17:17:20,105 INFO: Loading https://templates.invoicehome.com/invoice-template-us-neat-750px.png
2022-09-14 17:17:20,105 INFO: Done loading files. Loading pipeline...2022-09-14 17:17:28,125 INFO: Ready to start evaluating!

https://templates.invoicehome.com/invoice-template-us-neat-750px.png What is the description of all line items?: Front and rear brake cables

(base) izdi at ~
$ docquery scan "What is the description of all items?" https://templates.invoicehome.com/invoice-template-us-neat-750px.png

image-classification is already registered. Overwriting pipeline for task image-classification...
2022-09-14 17:18:23,226 INFO: Loading https://templates.invoicehome.com/invoice-template-us-neat-750px.png
2022-09-14 17:18:23,226 INFO: Done loading files. Loading pipeline...
2022-09-14 17:18:30,372 INFO: Ready to start evaluating!

https://templates.invoicehome.com/invoice-template-us-neat-750px.png What is the description of all items?: Front and rear brake cables

(base) izdi at ~
$ docquery scan "What is the description of QTY 1 2 3?" https://templates.invoicehome.com/invoice-template-us-neat-750px.png

image-classification is already registered. Overwriting pipeline for task image-classification...
2022-09-14 17:18:56,499 INFO: Loading https://templates.invoicehome.com/invoice-template-us-neat-750px.png
2022-09-14 17:18:56,499 INFO: Done loading files. Loading pipeline...
2022-09-14 17:19:04,022 INFO: Ready to start evaluating!

https://templates.invoicehome.com/invoice-template-us-neat-750px.png What is the description of QTY 1 2 3?: Labor Shrs

Hi @izdi let's move the discussion over here https://github.com/impira/docquery/discussions/33 so that we can keep this thread focused on the installation issues. I'll follow up there.

Hi @izdi I'm going to close this out because it looks like we were able to solve your installation issue. Please let me know if you have any other questions.


[BUG] Logging and monitoring is in error state after upgraded to v1.2.0-rc4

Describe the bug
Grafana and Prometheus start working after upgraded completed (and several minutes), but dashboard will still showing ...is in error state

To Reproduce
Steps to reproduce the behavior:

Install Harvester with 3 nodes
Create an image for VM creation
Create VLAN vlan
Create Storage Class sc1
Create Volume v1 by storage class sc1
Create vm1 with mgmt, vlan, and existing volume vol1
Manipulate vm1 then take backup and snapshot

Write data into both image disk and existing volume

Clone volume vol1 into vol2
Create vm2 with mgmt and vlan NICs
Manipulate vm2 then stop it

Attach vol2
Write data into both image disk and vol2

Take backup and snapshot for vm2
Import Harvester into Rancher 2.7.4
Create RKE1 and RKE2 cluster (3 nodes)

RKE2: v1.24.14+rke2r2 with Harvester Cloud Provider
RKE1: v1.25.11-rancher1-1  with Harvester Cloud Provider

Install Harvester Cloud Provider and CSI Driver
Create Nginx deployment with new Harvester PVC
Create DHCP load balancer service for Nginx deployment
Upgrade Rancher to 2.7.5
Upgrade Harvester

Expected behavior
Addons should show correct state.
Environment:

Harvester ISO version: v1.1.2 -> v1.2.0-rc4
ui-source Option: Auto
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal DL360 3 nodes

Additional context
supportbundle_c5d86a24-e00e-4d0c-ac3f-5f40ed9c5e2a_2023-07-26T14-48-11Z.zip

The error message could be eliminated by disable then enable those addons.

:thinking: hmm, seems similar to:

https://github.com/harvester/harvester/issues/4306
https://github.com/harvester/harvester/issues/4125

🤔 should be the same of #4306 as it is fresh new cluster

confirm this issue #4318, is due to the same root cause as observed in #4306
we are working to avoid touching the Rancher reserved condition Failed in addon context.

Close as duplicate of #4306


[documentation] minor grammatical fixes in migration.mdx

The changes made are grammatical and do not affect the ideas communicated in the file.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add title property to ATable column so the presented text can be different from the key in the data

Hi, thanks for your great work.
I noticed in the ATable, we cannot have a separate column text than what is the key in the data and this is very limiting.
I went ahead and added that to the code, sorry for not discussing it before.
Rigth now the only alternative is to override the slot for each header and render a separate text.

Hi.
Is there anything specific in the code stopping this from being merged so i can fix?

Hi @yooneskh
Sorry I was busy lately with python. I'll review this soon.

@jd-solanki thank you. is it ok if i do other prs too?

Yes, Why not. I just want let you know what I'll be focusing more on python in near future. So, if you would like to maintain this project better, I'm more than happy to get a contributor. I've some great plans for next major version of anu but I don't have enough bandwidth to work fully on it.

I love how this project is structured. What has worried me is this issue
https://github.com/jd-solanki/anu/issues/205
If it really be possible to load only the used components and styles, i would love to contribute to this project. Can you please take a look at it?
Thanks

Hi @yooneskh Sorry to say but I have reverted some of the commits which might accidently got into your PR and PR have too many changes. I'm making this fix via separate commit.

Oh, sorry for that. Don't worry I'll add it.


JSLint doesn't recognize a .catch() as a valid operator to follow a .then() of a dynamic import promise

JSLint edition v2021.6.4-beta
Options selected: [x] in development [x] in browser
JSLint doesn't recognize a .catch() as a valid operator to follow a .then() of a dynamic import promise:
var o = {};

import("./common.mjs").then(function ({default: object}) {
    o.first = object;
}).catch(function (error) {
    console.log(error);
});

Error message:

[JSLint was unable to finish] Unexpected '.'.

should be fixed now. thx for reporting,


BUG: Mybots page not viewable with Metamask Mobile App.

58.75 sexτillion, [2/19/24 5:26 PM]
Does the app work with MetaMask mobile ?
58.75 sexτillion, [2/19/24 5:26 PM]
I tried to connect but it won’t show my positions
Acceptance Critiera

Verify that mybots page works with Metamask mobile

Closing. This is a bots view issue.


Add ssh_timeout option for initial ssh to AMI

This seems to have been generally approved by @dgreene-r7 and @erran-r7 but was never merged in.  Doing that now.


[ENH] refactor _threads_to_use to _n_jobs

Reference Issues/PRs
fixes #102
What does this implement/fix? Explain your changes.
Simple refactor of _n_threads_to_use to _n_jobs

Hey @TonyBagnall , thanks a lot for touching these again! It is a monster.
I am afraid we are not there yet. There are quite a few classes using self.n_jobs.
For the base classes, I do not even understand where the variable self.n_jobs was set (possibly being a bug?):

Clustering: https://github.com/aeon-toolkit/aeon/blob/e7e4592f6135f4fe3c5cb220a60541002719ec5f/aeon/clustering/base.py#L71

Classification:  https://github.com/aeon-toolkit/aeon/blob/e7e4592f6135f4fe3c5cb220a60541002719ec5f/aeon/regression/base.py#L153

Regression: https://github.com/aeon-toolkit/aeon/blob/e7e4592f6135f4fe3c5cb220a60541002719ec5f/aeon/regression/base.py#L153

IMO: it would be best to refactor all occurrences of self.n_jobs to self._n_jobs, too, and there are > 100 occurrences of self.n_jobs :/

Sorry, if I am missing something. But how is self.n_jobs initialized in these base classes?

If we agree on something that is meaningful, I can pick it up and do the changes to the estimators.
Could you explain the logic behind self.n_jobs for me? It seems like a FK twist.
Right now, it seems like every estimator has to set self.n_jobs from the same parameter passed to the class - next, each base-class checks  self.n_jobs and sets it to self._n_jobs. Yet, most classifiers still use self.n_jobs, as they are not aware, that the base class set self._n_jobs.

This was actually me. I put it in the base class to avoid coping the check method in every estimator. I feel having a method will just run into the same issue of people using the estimator self.n_jobs over it.
Can either make people process self.n_jobs in their own estimator, or just document better/mention it in reviews.

I dont feel too strongly about it, but I think it should probably all be dealt with in the base class and also be a base class parameter. That or take it out of base class, its neither one nor the other at the moment.

if we defaulted it to None in the base class it would then fail tests if people reset it in their subclasses?

what do you think @patrickzib ? Do this PR now and sort out later or close this PR and fix all together? I'm fine either way, I just dont like PRs having around :)

I think we should merge this and create a separate issue to convert classifiers/regressors which use self.n_jobs. I think the new name is better.
It's difficult to enforce the usage of check_n_jobs/self._n_jobs other than by review and documentation IMO. I think the current base class way works fine in reducing the amount of copied boilerplate, it just has a bad name.

Can go through each estimator and change it in this PR also, I don't mind. Not sure how much work/extra file changes that would be though.


Not showing annotations in Australia region

Hi,
Your demo is very good. but it is working only USA region.
Please could you tell me how it will works for other region.
I read a function in your code

(void)buildTree
{
@autoreleasepool {
NSString *data = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"USA-HotelMotel" ofType:@"csv"] encoding:NSASCIIStringEncoding error:nil];
NSArray *lines = [data componentsSeparatedByString:@"\n"];
  NSInteger count = lines.count-1;

  TBQuadTreeNodeData *dataArray = malloc(sizeof(TBQuadTreeNodeData) * count);
  for (NSInteger i = 0; i < count; i++)
  {
      dataArray[i] = TBDataFromLine(lines[i]);
  }

  TBBoundingBox world = TBBoundingBoxMake(19, -166, 72, -53);
  _root = TBQuadTreeBuildWithData(dataArray, count, world, 4);

}
}
  "TBBoundingBox world = TBBoundingBoxMake(19, -166, 72, -53);"

How did you define " TBBoundingBoxMake(19, -166, 72, -53) " this. because all values in TBBoundingBoxMake are static. if i change these values then annotations will not show in USA region.
Please help me.
Thanks.

Having the same issue, im trying to display items in GUAM myself

@crystaldonut  @kapilgoyal12  have you able to sort out this issue?

Hi,
I rewrite this library in objective-c only for my project to clear how its work and add some features. If you interesting how its work, I just released my project named Cheapshot. In my plan share code on github, but I need time to preprare library for cocoa pods (extract code, create demo). If you need raw code, I can give you by email.

The problem seems to be related to the bounding box areas,
By redefining the bounding box using different coordinates you can get international points; i've haven't had the time to make the next step; which is to react to mapview coordinate changes and use different bounding boxes; basically i will unload map data when moving to another bounding area.
The solution is not the best for everybody since they are bounding boxes and you might get missing countries or regions (for example USA, covers north canada, hawaii but not Alaska); but since i need only specific world regions its good enough for my needs before a rewrite is required.

Hi
I solved this issue. there was a problem in bounding box area. i got the bounded box area from these function when user will move,scroll,zoom in and out the map.
-(CLLocationCoordinate2D)getNECoordinate:(MKMapRect)mRect
{
return [self getCoordinateFromMapRectanglePoint:MKMapRectGetMaxX(mRect) y:mRect.origin.y];
}
-(CLLocationCoordinate2D)getNWCoordinate:(MKMapRect)mRect
{
return [self getCoordinateFromMapRectanglePoint:MKMapRectGetMinX(mRect) y:mRect.origin.y];
}
-(CLLocationCoordinate2D)getSECoordinate:(MKMapRect)mRect
{
return [self getCoordinateFromMapRectanglePoint:MKMapRectGetMaxX(mRect) y:MKMapRectGetMaxY(mRect)];
}
-(CLLocationCoordinate2D)getSWCoordinate:(MKMapRect)mRect
{
return [self getCoordinateFromMapRectanglePoint:mRect.origin.x y:MKMapRectGetMaxY(mRect)];
}
-(CLLocationCoordinate2D)getCoordinateFromMapRectanglePoint:(double)x y:(double)y
{
MKMapPoint swMapPoint = MKMapPointMake(x, y);
return MKCoordinateForMapPoint(swMapPoint);
}
-(NSArray *)getBoundingBox:(MKMapRect)mRect
{
CLLocationCoordinate2D bottomLeft = [self getSWCoordinate:mRect];
CLLocationCoordinate2D topRight = [self getNECoordinate:mRect];
return @[[NSNumber numberWithDouble:bottomLeft.latitude ],
[NSNumber numberWithDouble:bottomLeft.longitude],
[NSNumber numberWithDouble:topRight.latitude],
[NSNumber numberWithDouble:topRight.longitude]];
}
Thanks

I have the same issue , how can i solve this?

Just pass "self.mapView.visibleMapRect"
Like:
TBBoundingBox world = TBBoundingBoxForMapRect(self.mapView.visibleMapRect);

@vishnurkaimal
Just pass "self.mapView.visibleMapRect"
Like:
TBBoundingBox world = TBBoundingBoxForMapRect(self.mapView.visibleMapRect);

I changed the area of the bounding box to:
TBBoundingBox world = TBBoundingBoxMake(51, -1, 52, 0);
This is an area around London showing some clusters. The first two numbers are the co-ordinates of the top left corner and the second two numbers are the co-ordinates of the bottom right corner of the bounding box you want to make. (i.e. the numbers before the lat + lon decimal point)


Add an option to report suspicious extensions in the marketplace

A moment ago while checking an extension, I have noticed that there are some times where somewhat suspicious extensions appear in search results, I have searched how to report extensions on the internet but apparently there is no result, there is also no button to report those extensions in vscode

Add a button or option to the Marketplace to be able to report extensions (the user should have an account linked to vscode to do it)

See https://github.com/microsoft/vscode/issues/143210#issuecomment-1041930244

See #143210 (comment)

oh, thanks

Hello, I have a question, I do not know why you are asking me with this
problem I do not know programming I do not know what you mean, this is not
my field
pon., 7 mar 2022 o 00:11 TheBigEye @.***> napisał(a):

See #143210 (comment)
https://github.com/microsoft/vscode/issues/143210#issuecomment-1041930244
oh, thanks
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/144510#issuecomment-1060057858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATLK7BOB6WMJ7QRB6GL32STU6U3STANCNFSM5QBEU6CQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Runtime error for mmseg

RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by (1) passing the keyword argument find_unused_parameters=True to torch.nn.parallel.DistributedDataParallel; (2) making sure all forward function outputs participate in calculating loss. If you already have done the above two steps, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's forward function. Please include the loss function and the structure of the return value of forward of your module when reporting this issue (e.g. list, dict, iterable).
Hi! Thanks for opensourcing code.
When I use the Twins backbone in mmseg, I found this error. It seems that there are several parameters do not generate the loss.

The configure file
https://github.com/Meituan-AutoML/Twins/blob/main/segmentation/configs/_base_/default_runtime.py
has set
find_unused_parameters = True.
If you include this file,  it acts like passing the keyword argument find_unused_parameters=True to torch.nn.parallel.DistributedDataParallel.

Thanks for your reply. ~


fix up domain name in examples and tests

Signed-off-by: James Ranson<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 5 (60.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 94.611%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/util/testing/testing.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
15976

Relevant Lines:
16886

💛  - Coveralls


Where is the example source code ?

Is example source code available?
Code in the section "Configure the underlying OpenIdConnectOptions/JwtBearer/Cookie options" is no clear. It is "omitted for brevity" too much. It is absolutely unclear how to setup authentication from B2C based on this article.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 765e611b-a170-db1a-fa50-2771d79b2732
Version Independent ID: ef34ebdf-977a-b797-e263-cb32c1643272
Content: Cloud authentication with Azure Active Directory B2C in ASP.NET Core
Content Source: aspnetcore/security/authentication/azure-ad-b2c.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @CamSoper
Microsoft Alias: casoper

@mchudinov  there is no sample code with this. Hopefull @CamSoper can provide more details.

@mchudinov What options do you need to set?

I need to redirect a user to B2C login page when user comes unauthorised.
I need to set authentication om some certain controllers, when some other controllers stay anonymous access.
I need to add claims to identity principal. E-mail for example.

I see some strange definitions in generated code in _LoginPartial.cshtml
asp-area="AzureADB2C" asp-controller="Account" asp-action="SignIn"
Where these definitions come from?
There are no such areas/controllers in code.

@mchudinov The areas and controllers are coming from compiled Razor assemblies.
In your Startup.cs, you should see something like this somewhere:
services.AddAuthentication(AzureADB2CDefaults.AuthenticationScheme)
  .AddAzureADB2C(options => Configuration.Bind("AzureAdB2C", options));

That's what wires up ASP.NET Core authentication with B2C. From there, all the other behaviors are the same as any other ASP.NET Core auth. You can decorate controllers with [AllowAnonymous] and redirection to the signin URL should happen automatically when they're not authenticated.

Tagging in @blowdart - Can you recommend someone who has a good grasp of the B2C integration? I haven't done much with it lately.

None of this is specific to B2C except the email claim, which is in their configuration in azure. The rest is "Make B2C your only auth" and "Use authorize"

Stale conversation. @mchudino if you're still looking for help on this please let me know and I'll reopen.


Upgrade to 1.3.1

Upgrade to Akka.net 1.3.1 and Ninject 3.3.0
Akka.DI.Ninject is a 2.0 standard lib now because it depends on Ninject 3.3.0
Build process upgraded

thanks @oeaoaueaa - looks like we need to turn CI back on for this. I'll do that today.

@oeaoaueaa there we go, have CI running now. Looks like there was a compilation error (check the red X for the build log)

HI @Aaronontheweb, would it be possible to enable nuget to restore pre release packages? the tests have a dependency on Akka.TestKit.Xunit2 that has a dependency on xunit (>= 2.3.0-beta5-build3769).

Build working now, had some strange issues when building the solution with Akka.DI.Ninject being standard library and Akka.DI.Ninject.Tests being framework.


API Basejump - Image search

Uses: Request (https://www.npmjs.com/package/request)
API: https://developers.google.com/custom-search/json-api/v1/introduction
User stories:

As a user I can get the image urls, alt text and page urls for a set of images relating to a given search string
As a user I can get this data for additional sets of images
As a user I can get a list of the most recently submitted search strings

Demo:

https://cryptic-ridge-9197.herokuapp.com/api/imagesearch/lolcats funny?offset=10
https://cryptic-ridge-9197.herokuapp.com/api/latest/imagesearch/

This is really well done! I think this is basically done! So it's basically just using the Google image search API?
It's probably not necessary to show the ID for the search queries - just showing what they were and when they occurred is probably plenty.

@QuincyLarson Cool, thanks! I've updated to show just the relevant fields.


Lazily cache UTF-8 character length on RString

Store the UTF-8 length as computed by utf8_strlen on RString when MRB_UTF8_STRING is defined. This significantly (3200x) speeds up String operations at the cost of one mrb_int of memory per RString.
The UTF-8 char_len is computed on first call to utf8_strlen and is cached until mrb_str_modify is called, when it is zeroed out. utf8_strlen gets a new fastpath for when the character length is cached and retains the fast path for ASCII strings which is used as a fallback.
Benchmark
/usr/bin/time -l ./bin/mruby -e 'def str(len); ("💪" * len); end; s = str(100000); puts s.length; 1000000.times { s.length }'

This PR @ ca692e6
Completes in 0.30 seconds.
$ /usr/bin/time -l ./bin/mruby -e 'def str(len); ("💪" * len); end; s = str(100000); puts s.length; 1000000.times { s.length }'
100000
        0.30 real         0.30 user         0.00 sys
   2306048  maximum resident set size
         0  average shared memory size
         0  average unshared data size
         0  average unshared stack size
       572  page reclaims
         0  page faults
         0  swaps
         0  block input operations
         0  block output operations
         0  messages sent
         0  messages received
         0  signals received
         0  voluntary context switches
        48  involuntary context switches

master
Completes in 963 seconds. The caching implementation is 3210x faster than master.
$ /usr/bin/time -l ./bin/mruby -e 'def str(len); ("💪" * len); end; s = str(100000); puts s.length; 1000000.times { s.length }'
100000
      963.41 real       961.82 user         0.74 sys
   2252800  maximum resident set size
         0  average shared memory size
         0  average unshared data size
         0  average unshared stack size
       559  page reclaims
         0  page faults
         0  swaps
         0  block input operations
         0  block output operations
         0  messages sent
         0  messages received
         0  signals received
         0  voluntary context switches
    139399  involuntary context switches

Related to GH-4522 and GH-4529
cc @dearblue

I think this patch will not be accepted as it is because the size of struct RString will increase (see: #3297).
However, it may be possible because the size does not increase in a limited environment such as 64-bit system + MRB_INT32 + boxing.

64-bit system + MRB_INT32 + boxing

Sorry, boxing has nothing to do with it.

The tests do not currently pass when invoked like this:
CFLAGS="-Wall -DMRB_UTF8_STRING" rake test

str_replace does not work as expected. mruby-io seems to make assumptions about the layout of the RString struct. I think I bit off more than I can chew. Abandoning this PR.


Modify our code to initialize woodwork with partial schemas

Woodwork introduced the ability to initialize typing information with a partial schema in https://github.com/alteryx/woodwork/pull/1100
This means that we can potentially get rid of _retain_custom_types_and_intialize_woodwork and therefore retain more than just the logical types after some components modify the input data in a way that breaks the woodwork schema.
For example, this is how the TargetEncoder would look:
    X_t_df = pd.DataFrame(X_t, columns=X_ww.columns, index=X_ww.index)
    cat_columns = X_ww.ww.select("categorical", return_schema=True).columns
    columns = [c for c in X_t_df.columns if c not in cat_columns]
    # Infer types on newly created columns
    X_t_df.ww.init(schema=original_schema._get_subset_schema(columns))

As acceptance criteria for completing this issue, let's evaluate the ability to remove _retain_custom_types_and_intialize_woodwork and refactor using the new WW capabilities.

@freddyaboulton do we need to look at the fix in #2752 to refactor to use this as well?

@chukarsten If you're asking if we're going to have to revisit the Imputer as part of this refactor, then you're spot on. I think anywhere _retain_custom_types_and_initalize_woodwork is in scope for this issue!


add log_to_file feature

Objective

Add the ability to log to a file

Solution

Add a dependency on tracing-appender

Notes
For reasons I don't know, tracing-appender didn't support custom suffix. This means it's impossible to log to a file with a .log extension. I submitted a fix that was merged to add support for it, but there has been no release of tracing-appender in almost a year
Closes: #5233

I opened https://github.com/tokio-rs/tracing/pull/2225 to fix the lack of suffix customisation in tracing-appender

First of all, the design of tracing subscriber makes it really hard to conditionally add a layer without using cfg flags. This means that I need a cfg flag to conditionally add the file appender, but that also means the file appender settings need to be conditionally added to the LogSettings. An alternate option could be to simply have a separate setting resource for the file appender.

I found out it's possible to circumvent some of the type issues by adding an Option<Layer>.
See: https://github.com/IceSentry/bevy/pull/3

this will not work in wasm, and it should either be gated or mentioned in the docs

this will not work in wasm

The diff doesn't show it, but it's in the block that adds layers that don't work in wasm or android. I will add documentation explaining this, but do you also want the field on the struct to be gated?

I'm not sure why I put it there actually. I don't see why it wouldn't work on android. I'll move it to a new gated section for not wasm

I will add documentation explaining this, but do you also want the field on the struct to be gated?

Documentation should be good enough, something like
https://github.com/bevyengine/bevy/blob/695d30bd54af2978dc99f214dda34b568348cf86/crates/bevy_window/src/window.rs#L122-L125

Made a PR to this branch to remove the extra log file: https://github.com/IceSentry/bevy/pull/4

One caveat with this, is that it won't catch panics. That is if you add a panic to the logs example, you get:
dev/bevy b69aec5 ~1 …1 cargo run --example logs
    Finished dev [unoptimized + debuginfo] target(s) in 0.34s
     Running `target\debug\examples\logs.exe`
2023-03-20T08:51:49.583296Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-20T08:51:49.763815Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 970", vendor: 4318, device: 5058, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "522.25", backend: Vulkan }
2023-03-20T08:51:50.363948Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "22621", cpu: "AMD Ryzen 9 3900X 12-Core Processor", core_count: "12", memory: "31.9 GiB" }
2023-03-20T08:51:50.443608Z  INFO logs: helpful information that is worth printing by default
2023-03-20T08:51:50.443754Z  WARN logs: something bad happened that isn't a failure, but thats worth calling out
2023-03-20T08:51:50.443842Z ERROR logs: something failed
thread 'Compute Task Pool (14)' panicked at 'something really horrible happened!', examples/app/logs.rs:28:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'Compute Task Pool (14)' panicked at 'A system has panicked so the executor cannot continue.: RecvError', crates\bevy_ecs\src\schedule\executor\multi_threaded.rs:190:60
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', C:\Users\Johan\dev\bevy\crates\bevy_tasks\src\task_pool.rs:371:49
error: process didn't exit successfully: `target\debug\examples\logs.exe` (exit code: 101)
dev/bevy b69aec5 ~1 …1 cat log
2023-03-20T08:51:33.556888Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-20T08:51:33.939334Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 970", vendor: 4318, device: 5058, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "522.25", backend: Vulkan }
2023-03-20T08:51:34.961082Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "22621", cpu: "AMD Ryzen 9 3900X 12-Core Processor", core_count: "12", memory: "31.9 GiB" }
2023-03-20T08:51:35.041160Z  INFO logs: helpful information that is worth printing by default
2023-03-20T08:51:35.041269Z  WARN logs: something bad happened that isn't a failure, but thats worth calling out
2023-03-20T08:51:35.041366Z ERROR logs: something failed
2023-03-20T08:51:49.583414Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-20T08:51:49.763948Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 970", vendor: 4318, device: 5058, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "522.25", backend: Vulkan }
2023-03-20T08:51:50.364098Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "22621", cpu: "AMD Ryzen 9 3900X 12-Core Processor", core_count: "12", memory: "31.9 GiB" }
2023-03-20T08:51:50.443724Z  INFO logs: helpful information that is worth printing by default
2023-03-20T08:51:50.443828Z  WARN logs: something bad happened that isn't a failure, but thats worth calling out
2023-03-20T08:51:50.443896Z ERROR logs: something failed

I'm not sure if it is out of scope for this new API, or whether we should try to create a more high-level API, less coupled to file appender?

I'm not sure why I put it there actually. I don't see why it wouldn't work on android. I'll move it to a new gated section for not wasm

Could you check how it works on Android? Aren't apps sandboxed, unless you require additional permissions? Is the log file in a reachable folder?

it won't catch panics

I think that's fine, if people want to log an error message before a panic they should do that. We could probably provide a panic_print!() or something like that I guess.

Could you check how it works on Android?

I'm not sure how to do that. I guess I should just keep it gated for now.

it won't catch panics

I think that's fine, if people want to log an error message before a panic they should do that. We could probably provide a panic_print!() or something like that I guess.

That would be quite some boilerplate on expect, unwrap, unreachable! etc. and wouldn't handle panics like those coming from incorrect use of Query::single, World::resource, or systems with missing resources, not to mention 3rd party crates.
Not really sure how this is commonly solved, maybe possible through a panic hook? Currently I'm wrapping my whole executable in a launcher process that pipes both stdout and stderr to files, mainly to catch panics, would be nice if I didn't have to.

I would like to add that I'm using this PR in my project, and the solution I found to capture panics (which was the only thing the updated LogPlugin wasn't doing) to a file was indeed using a panic hook.
If one adds this to the beginning of the main() function:
std::panic::set_hook(Box::new(custom_panic_hook));

and then the custom_panic_hook can be just:
// Logging
fn custom_panic_hook(info: &std::panic::PanicInfo) {
    // Perform any necessary logging or error handling here
    error!("Panic occurred: {:?}", info);
}

In this way, panics are correctly logged to the log file.
The launcher process solution is also interesting, and can be useful.

I added a panic hook that is only enabled when using the file appender

I have way too much going on right now and don't have the time to update this PR. If anyone is interested in picking up this work feel free to pick this up.


[FIX] Add afterFetch event

Can you give an example for afterFetch event use case

Hi @pveyes , one use case that I found is when we wait for Context to be updated before rendering a component. For example:
import { Switch, Route } from 'react-router'

const CommonResource = React.createContext();

function FooView(props) {
  return (
    <CommonResource.Consumer>
      {resource => (

{resource.foo.text}

      )}
    </CommonResource.Consumer>
  );
}

function BarView(props) {
  return (
    <CommonResource.Consumer>
      {resource => (

{resource.bar.text}

      )}
    </CommonResource.Consumer>
  );
}

const Foo = Diode.createContainer(FooView, {
  queries: {
    // foo queries
  }
});
const Bar = Diode.createContainer(BarView, {
  queries: {
    // bar queries
  }
});

class App extends React.Component {
  render() {
    return (
      <CommonResource.Provider value={
        // assuming resource is already fetched in server
        resource
      }>
        <Switch>
          <Route path="/foo" component={Foo} />
          <Route path="/bar" component={Bar} />
        </Switch>
      </CommonResource.Provider>
    );
  }
}

In the example code above, when url changes, the page will throw an error because resource.bar or resource.foo isn't available in the context value yet. We will need a mechanism to update the context value after fetching and before rendering the component . This is when afterDiodeFetch comes handy.
Since updating Context will rerender all its children and in Diode Container we also have setState to set the loading state to false after finished fetching, we need to wait for Context children rerender to finish first. So we can refactor the Context to have its resource from state and add a method to update that state and pass that method to afterDiodeFetch props. In the setState function, we can add a callback to call resolve() so the loading state will be updated after our Context is updated and its children rerendered.


Group Education - Entry - Health Education

Issue
As there are two different encounters for this group encounter, we will have child nutrition and Health education.

Tasks

Add Entry for Health Educations per designs

@adamhstewart while creating this issue I got to wonder, will there be a group assigned to each topic or it will be for everyone in the system?

@anvmn

https://nutrition-ihangane.pantheonsite.io/
Android tablet/Chrome

Checked and Approved:
two different encounters have been added for the group encounter for CHW


Force-sync cloud state to local state?

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Which Category is your question related to?
Syncing cloud and local state
Amplify CLI Version
4.29.6
What AWS Services are you utilizing?
AppSync/GraphQL, DynamoDB, Lambda, Cognito
Provide additional details e.g. code snippets
I'm in the initial stages of development. For the time being I don't have any important data to keep hold of, and speed of iteration is my highest priority.
I'd like to be able to force-sync the cloud state to the local (git-tracked) amplify state (using the default auto-generated .gitignore).
For instance, say I want to modify the key of a certain @model object: I want amplify to simply tear down any existing cloud resources, and put them up from scratch using the new table layout.
Is there any way to achieve this?
(NOTE: I've seen some suggestions to achieve the particular effect of my example by removing the model object from my gql scheme  altogether, pushing to the cloud, adding it back, and pushing again. This doesn't work for me because other resources in my amplify stack depend on this model (e.g. a lambda function which has access to said table). And besides, I'm interested in the general solution more than in this one particular example.)

We have similar request which is being tracked in https://github.com/aws-amplify/amplify-cli/issues/2384. I am closing this in favor of that ticket so we can consolidate all the discussion in one ticket.
I would appreciate if you could add your thoughts and what workflow you would like to see in #2384.


Performance control

Hello,
This is a very loose / broad question -
From a high level - I was wondering if there are any ways of increasing performance?
Thanks in advance!
Oliver

Hi,
This plugin does not block the main thread while evaluating image buffers. The default behaviour is that it performs as many evaluations as it possibly can, which is 10-15 per second on an iPhone 7, using InceptionV3. If you need more frequent observation results, you need to use a lighter ML model, or try to send a smaller image buffer for the plugin. Also, avoid creating a new CVPixelBuffer every time you run your evaluation. That API is not intended for real-time use. Provide a metal texture or a native buffer ptr (from the ARKit plugin) instead.

Great thanks for the response!
Will look into the points you have discussed


translate to chinese

Hi, jamesroutley, I was very shocked when I finished reading your article, you wrote really well.
so I translated it into Chinese so that more chinese friends can read it.

Good job, man, really awesome!
I just wanted to translate this article into Chinese, then I saw your PR and I decided didn't make a same wheel!

@yigger : Great work (Even if i'm not able to understand what you wrote).
@jamesroutley : Hi James. what you think about ? Do you have some time to manage it ?
I also see some corrections (on close but unmerge PR) that was made for French translation.
What are your plan for this project ? Do you need help to maintain ?


disable vibration

Is it possible to disable vibration? I have "reactivate" on, because I want it to constantly scan, but it is very annoying when it constantly buzzes when pointed at the same code

vibrate={false}

marking this as resolved, please reopen if this is still outstanding

This should be added to the README.md


bot detection

detection doesnt log to chat properly, but logs fine to onscreen logger

How is it supposed to log?

Bot detection isn't great, it only works if the bot is not f2p, and if they are using the achievement method to identify & mark.
It does look like it gets printed to chat and in my experience with it, works fine, vote logger does not log to chat, and logs all votes to console as well as to g_notify.


Canvas support for serverless environments

Great lib!
Based on https://github.com/johannschopplich/pdfjs-serverless/blob/main/src/mock/canvas.mjs I assume there's currently no intent to support canvas with this lib (ie. to render a PDF page to the canvas in order to export as PNG). I tried to use<EMAIL_ADDRESS>to accomplish this, but hit multiple issues with that implementation where it's missing various Canvas APIs that PDF.js needs.
node-canvas seems to support the spec better, but as of now that library is implemented only as a native Node module (vs. WASM), so won't work in Deno Deploy (or CF Workers).
Just wanted to reach out in the odd chance you had any thoughts on this or any previous attempts to make this happen. Cheers!

Hi @gregnr!
Thanks for the flowers. And also for your interest in this library! I haven't found a pure WASM solution yet. I remember some libraries with that goal, but without full canvas support. I tried briefly, but not in depth.
If you find a library in the wild, even now or later, feel free to share it. It would be great to somehow transform PDF.js with full image rendering support for workers.
I also maintain unpdf, which inherits the work of this library. Once we have canvas support, you will be able to use renderPageAsImage for Cf workers and Deno Deploy.
This method supports passing a canvas-compatible library as an argument, which might work in your Deno situation.
Hopefully we'll figure it out one day!

Can it get an image  data file inside of a pdf - export it as base 64
https://stackoverflow.com/questions/18680261/extract-images-from-pdf-file-with-javascript
This is needed to do pdf-to-html in cloudflare workers, and to keep images common in academic pdfs to show them to user later

How about @napi-rs/canvas

How about @napi-rs/canvas

https://github.com/Brooooooklyn/canvas/blob/main/example/image-data.js
This might work as polyfil.
I'm using this pdf npm to build airesearch.js.org and qwksearch alt to google that shows pdf text alongside result list. Very much need to include the images in a pdf as well.
example:
https://qwksearch.com/?q=attention+is+all+you+need+pdf


chore: Upgrade argo rollout manager

What type of PR is this?
Upgrade argo rollout manager

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
Test acceptance criteria:

[ ] Unit Test
[ ] E2E Test

How to test changes / Special notes to the reviewer:

/lgtm
/approve


bug in button bootstrap

Challenge Apply the Default Bootstrap Button Style has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

        <button class="btn btn-default></button>
        <button class="btn btn-default></button>
        <button class="btn btn-default></button>

        <button class="btn-default></button>
        <button class="btn-default></button>
        <button class="bbtn-default></button>

@roncemine thanks for the issue but if you get stuck with a challenge, please first ask questions to the Help Room. Hint: check that all quotes have matching end quotes and also check for spelling errors. Happy coding!


Read the QR code directly from the screen

What improvement do you think would an existing feature or tool in DevToys?
Currently, it is possible to read QR codes in images and clipboards.
However, it requires a separate tool to take a screenshot, which is time-consuming.
Therefore, it would be nice to have the ability to take a screenshot and read the QR code from within the application.
Solution/Idea
Add the ability to take screenshots to the QR Code tool.
Comments
It would be better if it is possible to capture any area like Snipping Tool.
https://www.microsoft.com/en-us/windows/tips/snipping-tool

Hi, and thanks for your suggestion.
While this would indeed be handy, we'd need to implement a platform-specific solution for each operating systems, increasing the amount of dependencies and making DevToys.Tools harder to maintain. Given the fact we already support Smart Detection (you can just paste the image in the clipboard), I would like not to do this work unless there's a significant amount of upvotes on this issue.


[xframe] new port for the xframe library

Porting the xframe library built on xtensor
https://github.com/xtensor-stack/xframe
builds fine with vcpkg on my machine

/azp run


Add information to readme how to write a file with credentials to access the nats server.

Hello! I haven’t found anywhere an example of writing a file specified in the launch of a docker container, it’s just /path/to/your/nats/credentials.creds:/nats-creds:ro, how do I know what should be inside?)
And an even bigger request, I launched nui in the k8s cluster, can you please write the variables for the container?

Hi 😄
About the creds file, in NUI that option is added to support the standard creds file of nats server, based on NKEYS and JWT. Generating that file is out of the NUI scope and for that you can use the nsc tool provided by nats. Check out the official doc here.
About  K8s, there is #10 opened and i'm going to address that in the next weeks, but precisely could you tell me which variables you need? currently, there is no env variables to set, only config flags in command to change:

db directory
cred files directory
http port


Update Existing QA Check Engine

All work regarding addressing the conversion, refactoring, and testing of QA Check Engine Data

At the ECMPS 2.0 ticket refinement meeting held on 2/13/24, Chris instructed us to close Uber Epics.


[Request] Make Raw Veggie Items Edible; Add Cooked Versions

The extra food items the mod provides are great, but I would like to request that the raw produce be edible as well. Not being able to eat the raw items, or even having a cooked equivalent item feels odd. Perhaps they could provide the same hunger and saturation as potatoes and baked potatoes?

Next version will add values for the Raw Foods (corn, quinoa, lentil, and soybean)
Also, Cooked Tofu now has food values.
And, the hunger and saturation of the above can be adjusted in the config.


feat: add list transactions to nwc

Adds list_transactions method
⚠ Tests to be added

@im-adithya we still need list_payments and list_invoices (they are part of the spec), it's just we probably won't use them in the extension.
Let's get this merged first though and then re-add them based off it? what do you think?


Don't pass cancelled token to TryExecute when draining

Replaces https://github.com/Azure/azure-sdk-for-net/pull/36792

/azp run net - servicebus - tests

API change check
API changes are not detected in this pull request.

/azp run net - servicebus - tests

/azp run net - servicebus - tests

/azp run net - servicebus - tests

/azp run net - servicebus - tests

Hi @jsquire Thank you for managing the fix. Is it possible to release a new version that include this change?

@TsuyoshiUshio:  This went out in August as part of 5.12.0 of the Service Bus extensions package and 5.5.0 of the Event Hubs extensions package.


GUVNOR-2528 : Verification & Validation: Store check state

https://issues.jboss.org/browse/GUVNOR-2528
Added SubsuptionBlocker and Conflict. The code runs both checks quite a few times against the same list. This speeds up the validation.
I also added Subsumption result in the same way, but based on JProfiler this just slows the validation down.
The PR also contains other changes that clean our bottle necks spotted with JProfiler. I could spend a week tuning the code, but cutting it here for now.

+1 to merge... feel free to unignore test if you want to at a later date.


How to set the encoding of the output java files?

Now it is always using the default character encoding of the system.

@DuanYuePeng Need to change current FileWriter as
Writer out = new BufferedWriter(new OutputStreamWriter(
    new FileOutputStream("outfilename"), "UTF-8"));

Thanks a lot, it works for me.


⚠ Bofrost.at has degraded performance

In 6380f23, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2716 ms

Resolved: Bofrost.at performance has improved in 1db5e32.


Receipts

In some user studies, participants get rewarded. Therefore, a receipt (the participant has to sign, when s/he received the money) should be available to download in the user-client.

Done. Please checkout the feature/receipts branch.


MVCGrid table with fixed header

Hi,
Is there any possibility to use a fixed header in MVCGrid table? I tries many solutions, and non of them works well.

Did you ever figure this out, i am stuck on the same issue.


Is there a way to upload to the selected path (dynamically) like I would with a local file?

Is this a similar or duplicate feature request?
I don't think so
Is your feature request related to a problem? Please describe.
As far as I can tell it's not so much a problem as it is a feature request. I guess it would help my workflow out greatly though.
Describe the solution you'd like
Saving would save to the SFTP remotePath selected and (if overwriting) prompt if you'd like to overwrite the file.
Describe alternatives you've considered
Or you could add a button to save (or overwrite) in the selected root.
Does this project help you?

[x] Yes. SFTP IS AWESOME!
[x] Yes. I will support you when I can

Right click on file > Edit in Local


Signal 6  with X plus kernel dump.

I'm having a problem with the evdi driver on Linux kernel 4.16.8.
Whenever I try to xrandr --setprovideroutputsource "$source" 1, my Xserver crashes with the logs attached in the ptpb pastebin.
To restart the Xserver, I tried to make sure that the evdi module is unloaded with unplugging my device and calling rmmod evdi, and that was when I got the other greeting in my dmesg, which is attached at the top of the pastebin that was linked.
https://ptpb.pw/nG2A

Nothing happened in this thread for quite some time. I will close it. If the issue is still visible please raise a new one with updated components and description. Thanks!


[BUG] Danfoss Ally cannot be set Operation to Off

Describe the bug
I try to set the Danfoss Ally to Operation = Off but it stays in "heat"
To Reproduce
Steps to reproduce the behavior:

Go to 'Device in Homessistant'
Switch operation from Heat to Off
Refresh interface
Observe that device has not been switched off

Expected behavior
Thermostat is switched off / heating = off
Additional context
log from homeassistant after turning thermostat off:
`
2021-01-06 14:23:17 DEBUG (MainThread) [zigpy.device] [0x252b] Extending timeout for 0x93 request
2021-01-06 14:23:19 DEBUG (MainThread) [zigpy.zcl] [0x252b:1:0x0201] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=147 command_id=Command.Write_Attributes_rsp>
2021-01-06 14:23:19 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x252B:1:0x0201]: wrote {'system_mode': <SystemMode.OFF: 0>} attrs, Status: [[WriteAttributesStatusRecord(status=<Status.INVALID_VALUE: 135>, attrid=28)]]
2021-01-06 14:23:19 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x252B:1:0x0201]: couldn't set 'SystemMode.OFF' operation mode
2021-01-06 14:23:22 DEBUG (MainThread) [zigpy.zcl] [0x14f3:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=60 command_id=Command.Report_Attributes>
2021-01-06 14:23:22 DEBUG (MainThread) [zigpy.zcl] [0x14f3:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=32, value=)]]
2021-01-06 14:25:36 DEBUG (MainThread) [zigpy.device] [0x252b] Extending timeout for 0xd2 request
2021-01-06 14:25:37 DEBUG (MainThread) [zigpy.zcl] [0x252b:1:0x0201] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=210 command_id=Command.Write_Attributes_rsp>
2021-01-06 14:25:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x252B:1:0x0201]: wrote {'system_mode': <SystemMode.OFF: 0>} attrs, Status: [[WriteAttributesStatusRecord(status=<Status.INVALID_VALUE: 135>, attrid=28)]]
2021-01-06 14:25:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x252B:1:0x0201]: couldn't set 'SystemMode.OFF' operation mode
`

It seems the thermostat does not support an off command. However it might be possible to implement it by triggering the "external window open" attribute instead

It seems the thermostat does not support an off command. However it might be possible to implement it by triggering the "external window open" attribute instead


Fix insets for UITableViewController

Hey
When used in a storyboard UITableViewController, the refresher resets the insets to .zero, causing the scroll view to go under the navigation bar and tab bar (if you have one). It should do 64 for top and 49 for bottom insets to match, but there's no way to change this.
So for some reason it's setting scrollViewDefaultInsets incorrectly, not taking into account navigation bar or tab bar.
iOS 10, Xcode 8
EDIT: I solved it by disabling "Adjust scroll view insets" and manually setting insets in viewDidLoad() - perhaps make this part of the documentation :)

Had the same issue, adjusting tableview contentInset, did the job. automaticallyAdjustsScrollViewInsets was not required.

Experiencing the same issue when programmatically creating a UIViewController that has a table view.


When there's max-age=86400 and ttl: 999999999, the cached response's Cache-Status is 999999999 according to the Cache-Status. But it should be 86400.

Which version do you use ?
If your server returns the Cache-control: max-age=86400 then the stored response will have a 86400s TTL.
The proof is here https://github.com/darkweak/souin/blob/master/rfc/transport.go#L76.

I'll provide a MWE ASAP.

That's really weird, it shouldn't store the TTL. I'll try to reproduce on my side while you prepare your MWE.

node index.js start the test backend server (Cache-Control: public, max-age=86400)
cd traefik-debug
traefik --configfile static.yaml

demo.7z

And I think there should be an option to set the fallback Cache-Control policy for responses without the header. For example I want them to be no-store since I only want to cache those responses exploitly specfied to cache.

After investigation, the actual TTL in the response is calculated using the TTL in the configuration (default_cache.ttl or urls.{your url or regex}.ttl depending the best match to the route). The cache will expire at the minimal value between the max-age and the TTL but I don't save which is used in the stored object and I don't calculate the good TTL. I think I could provide a patch tomorrow on it.
Thank you for your report @Menci 👍

I'm also working on a patch to involve an option default_cache_control (for default_cache and url.*) to specify the desired behavior for the responses without a Cache-Control header specfied.


Add Python 3.10 support. Issue #1212

Pull Request Description
Add Python 3.10 support. Issue #1212

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


cicd: fix path

Description
cicd: fix path
Type of change
Please delete options that are not relevant.

[x] CI/CD

How has this been tested
N/A
Checklist:

[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Let's make the world better✨😋🐍🌎

Codecov Report

Merging #21 (3d0f648) into main (53e8fc0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   93.98%   93.98%
=======================================
  Files          21       21
  Lines         582      582
  Branches       34       34
=======================================
  Hits          547      547
  Misses         23       23
  Partials       12       12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53e8fc0...3d0f648. Read the comment docs.


Jedd/cxpla 11 use language features to make construction of invalid object

Connectors half of https://github.com/specklesystems/speckle-sharp-sdk/pull/76

Ready for review (local.sln with https://github.com/specklesystems/speckle-sharp-sdk/pull/76 checked out)
can't be merged until the sdk changes are in


MQTT appears broken in 0.46

Just upgraded to 0.46 from  0.45.1, and I am getting the following errors being reported in the log. Access to all my Sonoff devices has been lost as MQTT is not working.
Installed on Raspberry Pi 2, running off a USB stick, and installed using All-In-One installer in April as a test environment before I break the production version!
Everything else looks OK.
Any suggestions?
Log file attached.
Dave
home-assistant.txt

Maybe this helps https://community.home-assistant.io/t/mosquitto-mqtt-not-working-after-raspbian-rp-3-atp-get-upgrade/19134

Bieniu,
Thank you that did work, but I had ignored the fact that mosquitto was not enabled as I though Home Assistant used HBMQTT as the broker in an All in One installation.
At least that is what is implied by the notes, and as I did not specifically enable mosquitto when setting up my Jessie Lite install I assumed that the fault was with the embedded one.
Dave

I'm going to close this as it was more of a Raspbian issue than a Home Assistant one.


Use bare module specifiers in the P3 conversion

Connected to vaadin/components-team-tasks#332
The mock-interactions change is intended to  to eliminate the polymer-legacy.js import from converted tests, and is needed because of the fact that mock-interactions.js still use the Polymer.Base.async and the HTML file imports the correspondent dependency.

This change is

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: web-padawan:x: YuriyVaadinYou have signed the CLA already but the status is still pending? Let us recheck it.

Reviewed 1 of 3 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 3 files at r1, 3 of 3 files at r2.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Update step-3.mdx - error instructions

Error in step-03 tutorial
Closes #
In this instructions has a error in destructuring organization from query data.
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Can you explain the issue that’s getting addressed here?
If you’re getting an error that says organization is undefined double check to make sure your token was properly set and you restarted the app.

Closing this issue as I'm unable to reproduce any issues with how the organization object is destructured.


Stream Closed

hi, i use Vapor for a network  request, but always receive error:

 StreamClosed(streamID: HTTP2StreamID(20003), errorCode: HTTP2ErrorCode<0x8 Cancel>, location: "NIOHTTP2/HTTP2StreamChannel.swift:881"),desc: The operation could not be completed. (NIOHTTP2.NIOHTTP2Errors.StreamClosed error 1.),

HTTPClientError.cancelled,desc: The operation could not be completed. (AsyncHTTPClient.HTTPClientError error 1.)

The stream has likely been closed from the network side. This can be a GOAWAY frame, or a number of other possible HTTP/2 frames. Do you have a reproducer scenario for this?

The stream has likely been closed from the network side. This can be a GOAWAY frame, or a number of other possible HTTP/2 frames. Do you have a reproducer scenario for this?

request url: https://fapi.binance.com/fapi/v1/continuousKlines?interval=15m&contractType=PERPETUAL&pair=WLDUSDT&limit=96
This is not a guaranteed occurrence, but I've encountered it in a Vapor project. In my project, it's possible that multiple concurrent requests are sent to this URL, and so far, it may happen several times a day.

The stream has likely been closed from the network side. This can be a GOAWAY frame, or a number of other possible HTTP/2 frames. Do you have a reproducer scenario for this?

@Lukasa
request url: https://fapi.binance.com/fapi/v1/continuousKlines?interval=15m&contractType=PERPETUAL&pair=WLDUSDT&limit=96
This is not a guaranteed occurrence, but I've encountered it in a Vapor project. In my project, it's possible that multiple concurrent requests are sent to this URL, and so far, it may happen several times a day.

Ah, frequently this is an artifact of loadbalancers like nginx, which set a cap on the maximum number of streams they will allow before they terminate the connection. Try using the configuration setting maximumUsesPerConnection and setting it to below 10,000 and see if the issue goes away.

Ah, frequently this is an artifact of loadbalancers like nginx, which set a cap on the maximum number of streams they will allow before they terminate the connection. Try using the configuration setting maximumUsesPerConnection and setting it to below 10,000 and see if the issue goes away.

@Lukasa After following your setting of maximumUsesPerConnection=10000, no errors are reported so far. It seems to be resolved. Thank you.


Improved effect on button and icons in the Footer

🛠 Fixes Issue : #99

👨💻 Changes proposed:
I have changed the color of social media icons both before and after hovering so they become visible.
I improved the subscribe button and changed its hovering color also.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of Hacktoberfest 2022.

📄 Note to reviewers

📷 Screenshots

please review this!

Please don't make changes to the "Subscribe" button.

edited changes

Please create a new pull request if you want to add your contribution under the label "Hacktoberfest 2023"


Doesn't support ISO months

According to Wikipedia at least, it's valid to specify a month only, without a specific day, ie YYYY-MM only. I have an API I'm working with that returns months in this format.
Sadly this throws a parser error: [{ col = 8, problem = ExpectingSymbol "-", row = 1 }].
I can work around it of course by just tacking -01 onto the month, and maybe this is even the correct way you'd translate that format to a Posix date anyway, but I thought I'd point it out.

Hi Richard,
I have a date package that parses all manner of ISO date strings (YYYY-MM-DD, YYYY-Www-D, YYYY-DDD, and their truncated forms, etc.), but not ISO date-time strings as this package does.
The date package doesn't currently expose its parser, but if it did then it could be used by this library for the date portion of the parsing (replacing this line and its dependencies). This package would then only need to parse the time and offset.
The parser is a Parser Date, and the Date type can be trivially converted to POSIX time (as done here). The parser has lots of tests, and it returns Parser.Problems on out-of-range parts like this package's parser does.
If you're interested please let me know, but I understand if you'd prefer not to add a dependency on another package.
Thanks!

Hi @jamesrweb, yes, I am.

@justinmimbs since Richard didn't reply, I might give implementing this in here a go on the weekend, would simplify the code of this library a lot and fill the gaps in missing tests quite nicely. Any tips for the implementation as the author?

@jamesrweb The Date package still doesn't expose its ISO date parser, but if it did (via, say, Date.isoParser : Parser Date), then it could be composed with the ISO time parsing in this package. The parsed Date, along with the optional time and offset, could then be converted to Posix with the help of Time.Extra.partsToPosix.
Does this help?
Thanks,
Justin

@justinmimbs maybe I misunderstand something but would it not be possible to expose a function similar to fromIsoString that already exists in your library except it returns a Parser Time.Posix so the signature would be like isoStringParser : String -> Parser Time.Posix or is this something that doesn't make sense?
I'm just thinking that if I'm to implement a better parser which IMO yours is, I should also be able to drop it in easier than requiring two packages and adding custom logic on this side.
Perhaps I've misunderstood something in your suggestion but I hope it makes sense to you what I'm getting at? Maybe you have some suggestion or clarification if I'm just on another planet right now haha 😅


feat: add packages. use unified builder. bump rclone, cuda, micromamba

Resolves #23 - lightning version 2.5.0.post0


Add License

Hi,
Could you please add a license to your project (like MIT, BSD or Apache2) so others may utilize your code?
Thanks

I set MIT License. Is this OK?

That's great, thanks!


enable internal kv bucket in llama

What does this PR do?
To enhance throughput in scenarios with long new tokens, break down the KV cache into multiples of the bucket width. Use this to compute attention rather than using the entire KV cache. Add --bucket_size=128 --bucket_internal  to the commands to enable the feature.

@dvarshney-habana @MrGeva since changes are related to Llama inference, please review.

https://github.com/huggingface/optimum-habana/pull/658 - please check my latest comments in actual PR.

@puneeshkhanna thank you for the comments. This branch has conflicts with the latest main. Please review this feature in another PR #24.


GRIDSS-PURPLE-LINX references

The current GRIDSS-PURPLE-LINX module depends on the user downloading a bunch of reference files manually. Future releases should host these reference files on the bcgsc.ca/downloads site so that users can access these files reliably.

Addressed in #117


It would be nice to be able to adjust the width

Now it's a bit narrow

I agree,

I've patched the stylesheet as following. As mentioned in the README, we probably shouldn't mess with the CSS, the patch can be fragile and may break when they update their client code.
diff --git a/chrome/styles.css b/chrome/styles.css
index 58304c2..21b37d2 100644
--- a/chrome/styles.css
+++ b/chrome/styles.css
@@ -8,3 +8,16 @@ @media (min-width: 800px) {
     max-width: 500px !important;
   }
 }
+
+[role='main'] > div {
+  width: 1000px !important;
+}
+
+div[data-testid='primaryColumn'] {
+  width: 1000px !important;
+  max-width: 1000px !important;
+}
+
+div[data-testid='primaryColumn'] > div > div:nth-child(5) {
+  max-width: 1000px;
+}


[Feature request] Use GraphQLFloat instead of GraphQLInt for JSON schema type number

The JSON schema type integer seems to meet GraphQLInt while the JSON schema type integer seems to meet GraphQLFloat (at the moment it is GraphQLInt).

https://github.com/yarax/swagger-to-graphql/pull/71


adding task 'Install Applications' to install D365 apps from AppSource

adding task 'Install Applications' to install D365 apps from AppSource
TODO: currently requires a daily pac CLI build until we have the first Aug refresh pac CLI release candidate
AB#2675610
based on PR #84 by @vyelleswarap

Still waiting on BAP EnvMgmt fixes to address the sporadic 403 errors