problem connecting to ssh. While ssh works properly on terminal

Issue Type: Bug
I am getting this error while trying to connec to my remor\te GCP VM.
ERROR : Failed to connect to the remote extension host server (Error: Cannot read properties of undefined (reading 'replace'))
This don't happend immediately after creating a ssh in ~/.ssh/config. But after sometime like a day or something. I guess it is some kind of cache related issue
VS Code version: Code 1.68.0 (Universal) (4af164ea3a06f701fe3e89a2bcbb421d2026b68f, 2022-06-08T11:44:00.250Z)
OS version: Darwin arm64 21.5.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 6, 4

Memory (System)
16.00GB (2.41GB free)

Process Argv
--crash-reporter-id f45b2c45-659a-4d8b-be71-1c25b14475a9

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

remote-ssh
ms-
0.82.1

remote-ssh-edit
ms-
0.80.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaac:30438847
vsclangdf:30486550
841h4636:30513271

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.68.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Could you also share your Remote SSH logs with us? But yes please update first

Hey can you tell me how to share the remote SSH logs.
I have changed the version to  the latest one 1.68.1 as suggested and it was good for some time and then the same error happen again

With these instructions: https://code.visualstudio.com/docs/remote/troubleshooting#_reporting-issues

Remote ssh logs on VS code
[00:05:12.653] Log Level: 2
[00:05:12.653]<EMAIL_ADDRESS>[00:05:12.653] darwin arm64
[00:05:12.660] SSH Resolver called for "ssh-remote+abhilash2-vm", attempt 1
[00:05:12.660] "remote.SSH.useLocalServer": true
[00:05:12.660] "remote.SSH.path": undefined
[00:05:12.660] "remote.SSH.configFile": undefined
[00:05:12.660] "remote.SSH.useFlock": true
[00:05:12.661] "remote.SSH.lockfilesInTmp": false
[00:05:12.661] "remote.SSH.localServerDownload": auto
[00:05:12.661] "remote.SSH.remoteServerListenOnSocket": false
[00:05:12.661] "remote.SSH.showLoginTerminal": false
[00:05:12.661] "remote.SSH.defaultExtensions": []
[00:05:12.661] "remote.SSH.loglevel": 2
[00:05:12.661] "remote.SSH.enableDynamicForwarding": true
[00:05:12.661] "remote.SSH.enableRemoteCommand": false
[00:05:12.661] "remote.SSH.serverPickPortsFromRange": {}
[00:05:12.661] "remote.SSH.serverInstallPath": {}
[00:05:12.663] SSH Resolver called for host: abhilash2-vm
[00:05:12.663] Setting up SSH remote "abhilash2-vm"
[00:05:12.665] Acquiring local install lock: /var/folders/05/s79n7zsj4fj9q4ltbcc6cr9w0000gn/T/vscode-remote-ssh-3795bf35-install.lock
[00:05:12.666] Looking for existing server data file at /Users/abhilashreddy/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-3795bf35-30d9c6cd9483b2cc586687151bcbcd635f373630-0.82.1/data.json
[00:05:12.666] Using commit id "30d9c6cd9483b2cc586687151bcbcd635f373630" and quality "stable" for server
[00:05:12.668] Install and start server if needed
[00:05:12.669] PATH: /Users/abhilashreddy/Downloads/google-cloud-sdk/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/abhilashreddy/Documents/run_grainite_app/client_app/grainite/bin
[00:05:12.670] Checking ssh with "ssh -V"
[00:05:12.673] > OpenSSH_8.6p1, LibreSSL 3.3.6

[00:05:12.674] askpass server listening on /var/folders/05/s79n7zsj4fj9q4ltbcc6cr9w0000gn/T/vscode-ssh-askpass-f3bbc23688cf10cc79f99d5a2ab0f693732bf657.sock
[00:05:12.674] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/05/s79n7zsj4fj9q4ltbcc6cr9w0000gn/T/vscode-ssh-askpass-48de88d52941114ded14adb57fc449f6da9ad4d9.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","61618","-o","ConnectTimeout=15","abhilash2-vm"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/abhilashreddy/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-3795bf35-30d9c6cd9483b2cc586687151bcbcd635f373630-0.82.1/data.json"}
[00:05:12.674] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.tgD6jrdBc7/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/private/var/folders/05/s79n7zsj4fj9q4ltbcc6cr9w0000gn/T/AppTranslocation/80C8A3F2-BE8B-4FF9-ABBA-C140EE408D12/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/05/s79n7zsj4fj9q4ltbcc6cr9w0000gn/T/vscode-ssh-askpass-f3bbc23688cf10cc79f99d5a2ab0f693732bf657.sock"}
[00:05:12.675] Spawned 25219
[00:05:12.736] > local-server-1> Spawned ssh, pid=25224
[00:05:12.737] stderr> OpenSSH_8.6p1, LibreSSL 3.3.6
[00:05:13.282] stderr> WARNING:
[00:05:13.282] stderr>
[00:05:13.282] stderr> To increase the performance of the tunnel, consider installing NumPy. For instructions,
[00:05:13.282] stderr> please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
[00:05:13.282] stderr>
[00:05:13.567] stderr> ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4047: 'Failed to lookup instance'].
[00:05:13.665] stderr> kex_exchange_identification: Connection closed by remote host
[00:05:13.665] stderr> Connection closed by UNKNOWN port 65535
[00:05:13.666] > local-server-1> ssh child died, shutting down
[00:05:13.667] Local server exit: 0
[00:05:13.667] Received install output: local-server-1> Spawned ssh, pid=25224
OpenSSH_8.6p1, LibreSSL 3.3.6
WARNING:

To increase the performance of the tunnel, consider installing NumPy. For instructions,
please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth

ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4047: 'Failed to lookup instance'].
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
local-server-1> ssh child died, shutting down

[00:05:13.668] Failed to parse remote port from server output
[00:05:13.668] Resolver error: Error:
	at Function.Create (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:585219)
	at Object.t.handleInstallOutput (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:583871)
	at Object.e [as tryInstallWithLocalServer] (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:624370)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:643503
	at async Object.t.withShowDetailsEvent (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:647221)
	at async /Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:622842
	at async T (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:619348)
	at async Object.t.resolveWithLocalServer (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:622457)
	at async Object.t.resolve (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:644831)
	at async /Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:727005
[00:05:13.670] ------

It would be great if you can suggest me any immediate fix. Which can save my opened windows on vscode.

SSH logs. I got this error now after some time
[14:12:36.953] Log Level: 2
[14:12:36.954]<EMAIL_ADDRESS>[14:12:36.954] darwin arm64
[14:12:36.959] SSH Resolver called for "ssh-remote+dev-vm", attempt 1
[14:12:36.960] "remote.SSH.useLocalServer": true
[14:12:36.960] "remote.SSH.path": undefined
[14:12:36.960] "remote.SSH.configFile": undefined
[14:12:36.960] "remote.SSH.useFlock": true
[14:12:36.960] "remote.SSH.lockfilesInTmp": false
[14:12:36.960] "remote.SSH.localServerDownload": auto
[14:12:36.960] "remote.SSH.remoteServerListenOnSocket": false
[14:12:36.960] "remote.SSH.showLoginTerminal": false
[14:12:36.960] "remote.SSH.defaultExtensions": []
[14:12:36.960] "remote.SSH.loglevel": 2
[14:12:36.960] "remote.SSH.enableDynamicForwarding": true
[14:12:36.960] "remote.SSH.enableRemoteCommand": false
[14:12:36.960] "remote.SSH.serverPickPortsFromRange": {}
[14:12:36.960] "remote.SSH.serverInstallPath": {}
[14:12:36.963] SSH Resolver called for host: dev-vm
[14:12:36.964] Setting up SSH remote "dev-vm"
[14:12:36.965] Acquiring local install lock: /var/folders/05/s79n7zsj4fj9q4ltbcc6cr9w0000gn/T/vscode-remote-ssh-ef5c6d26-install.lock
[14:12:36.966] Looking for existing server data file at /Users/abhilashreddy/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-ef5c6d26-30d9c6cd9483b2cc586687151bcbcd635f373630-0.82.1/data.json
[14:12:36.967] Resolver error: TypeError: Cannot read properties of undefined (reading 'replace')
at Object.a [as sanitizeConnectionToken] (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:691729)
at Object.C [as findRunningServer] (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:626539)
at async /Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:622507
at async T (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:619348)
at async Object.t.resolveWithLocalServer (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:622457)
at async Object.t.resolve (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:644831)
at async /Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:727005
[14:12:36.971] ------

Hm this looks like the bug:
[14:12:36.967] Resolver error: TypeError: Cannot read properties of undefined (reading 'replace')
at Object.a [as sanitizeConnectionToken] (/Users/abhilashreddy/.vscode/extensions/ms-vscode-remote.remote-ssh-0.82.1/out/extension.js:1:691729)


Add notebook demonstrating RAG with LlamaIndex

What does this PR do?
This notebook is a "spin-off" of sorts from
@MKhalusova's notebook on RAG with LangChain and
Zephyr. Here, we demonstrate the use of LlamaIndex as a counterpart to LangChain, demonstrating its
flexibility for RAG-specific use cases.
Who can review?
@MKhalusova

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks in advance for the review @MKhalusova 😇

Really nice notebook! Since you mention that the documents have not been chunked during loading, perhaps, it's worth mentioning when the chunking happens.

Good catch. Added a note to that effect.

As I understand, the documents are chunked when ingested into the VectorStoreIndex (feel free to correct if that's wrong). Maybe also worth mentioning the defaults for the chunk size and overlap.

Done.

Sorry about that! Accidentally commit-all'd. Will remove.
On Mon, Mar 4, 2024, at 16:12, Maria Khalusova wrote:

@.**** commented on this pull request.
The notebook looks good, but I see that you added the *.epub files. There's no need to keep them in the repo as you give the readers instructions on how to get them. Let's remove these files.
—
Reply to this email directly, view it on GitHub https://github.com/huggingface/cookbook/pull/52#pullrequestreview-1915358109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOX2I3VB3LGMPBKIKRXA3DYWTPSNAVCNFSM6AAAAABECPUCN2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSMJVGM2TQMJQHE.
You are receiving this because you authored the thread.Message ID: @.***>


Designed and published pypi package

In order to publish conda package using conda skeleton, we have to publish the package on Pypi first(although we did not intend to do so).
It's also kind of a test for publishing package on both Pypi and Conda, and good new is both of them worked.
https://pypi.org/project/analyticsdf/
https://anaconda.org/faye-yufan/analyticsdf

Thank you Fei for your work! Seems like there are some conflicts that need to be resolved in order to merge, could you take a look?
Also, I have a question: Are we able to change the name of the published package in the future if we want to?

For now, yes. Since we don't know whether the file structure from #17  can work for Pypi or not, so better re-configure the file structure manually to publish on Pypi each time. But after we figure out how to use CI to publish the package automatically, it shall be fine to only have one file structure.
I'll close this PR and leave the branch as an archive first, we can talk about how to store/ configure/ publish our Pypi package later.

Note that this version of Pypi package was created/uploaded only because it was a sort of pre-requirement to publish the conda package (since we want to test if we can publish the conda package earlier in the summer). And the key point is, no one has used it yet lol, so I think it gives us much more space on the official name/ release/ functions.


[a11y] remove it from the accessibility tree

Tools to detect automatic accessibility errors show an error on zeroclipboard.
https://dequeuniversity.com/rules/axe/2.1/object-alt?application=axeChrome
As this element don't provide any content, the best way is to remove the element from the accessibility tree.

Ping

Close for inactivity in the repo


Project System: Hosting process

From @davkean on April 29, 2016 22:23
We need to determine if we're going to implement the hosting process. We're waiting on the debugger team to provide data on how much time this saves on F5.
We'll also need an async way of initializing this - it's currently the top three of UI delays.
Copied from original issue: dotnet/roslyn#10995

From @mikedn on April 30, 2016 6:35
FWIW I consider the hosting process an annoyance because it pollutes the project output directory with unwanted files and changes the name of the process being debugged. Usually I turn off the hosting process and I never noticed any F5 delays or any other kind of problems.

What is the difference between this issue and #66?

@svick Nothing. :)
Just thought we weren't already tracking this.

Dupe of https://github.com/dotnet/roslyn-project-system/issues/66


Pulling $Secure:$SDS and $Extend$UsnJrnl:$J Files

Is there a way to do this?

@gremlin205 this project does not "pull" anything (assume you mean with pull you mean the ability to collect the content of a data stream in some context).
If you are asking for definitions to support NTFS ADS then that is already covered by https://github.com/ForensicArtifacts/artifacts/issues/13


[3pt]  - Add all items counter on the Homepage - Student A

Even if the API gives you the number of items, you will create a specific function to calculate it.
Make sure that the correct number is displayed on the Homepage.
Respect the following rules:

Each counter should be implemented as a separate module.
A counter function should look for specific DOM elements (e.g. for the comments counter it should look for comments) and make the counting based on what is actually displayed on the page.
A counter function should cover all the edge cases you can think about.

I have added the following PR for this issue:  #https://github.com/HFG43/JS_Capstone/pull/34


Collapse multiple keybindings under a single label?

Is it possible to configure multiple keybindings under a single which-key label?
For example, I have the following similar bindings:

<leader>1 bound to "<cmd>1wincmd w<CR>"
<leader>2 bound to "<cmd>2wincmd w<CR>"
<leader>3 bound to "<cmd>3wincmd w<CR>"
...
<leader>9 bound to "<cmd>9wincmd w<CR>"

If I just add all the above to which-key I end up with the popup completely swamped with a multitude of similar key mappings
1 -> Select window 1        4 -> Select window 4        7 -> Select window 7
2 -> Select window 2        5 -> Select window 5        8 -> Select window 8
3 -> Select window 3        6 -> Select window 6        9 -> Select window 9

I would instead like to "collapse" them all into a single menu item
1..9 -> Select window 1..9

I would like to do something like:
require("which-key").register({ [ "<leader>1..9" ] = { "Select window 1..9" } })

However, this seems to fail somewhere - the keybinding isn't added to which-key.
Is there a way to have which-key display something like 1..9 -> Select window 1..9?

What I'm hoping for is to replicate the 1..9 in the below example image, which is taken from the spacemacs config in emacs

You can hide some entries using which_key_ignore key, for example:
...
['2'] = { '<cmd>echo 2<CR>', 'which_key_ignore'},
...

Still I don't know how to display something that looks like 1..9 or so.
You can also get some different approach, move 1..9 to a subgroup to reduce clutter:
...
w = {
    name = 'Go to window',

    x = '1..10', -- group has to contain some visible entry

    ['1'] = { '<cmd>echo 1<CR>', 'which_key_ignore'},
    ['2'] = { '<cmd>echo 2<CR>', 'which_key_ignore'},
    ['3'] = { '<cmd>echo 3<CR>', 'which_key_ignore'},
    ['4'] = { '<cmd>echo 4<CR>', 'which_key_ignore'},
    ['5'] = { '<cmd>echo 5<CR>', 'which_key_ignore'},
    ['6'] = { '<cmd>echo 6<CR>', 'which_key_ignore'},
    ['7'] = { '<cmd>echo 7<CR>', 'which_key_ignore'},
    ['8'] = { '<cmd>echo 8<CR>', 'which_key_ignore'},
    ['9'] = { '<cmd>echo 9<CR>', 'which_key_ignore'},
    ['10'] = { '<cmd>echo 10<CR>', 'which_key_ignore'},
},
...

Or jump one by one (repeatable):
...
w = {
    name = 'Window',

    j = { '<C-w>j<cmd>WhichKey <LT>Leader>w<CR>', 'Go down' },
    k = { '<C-w>k<cmd>WhichKey <LT>Leader>w<CR>', 'Go up' },
    h = { '<C-w>h<cmd>WhichKey <LT>Leader>w<CR>', 'Go left' },
    l = { '<C-w>l<cmd>WhichKey <LT>Leader>w<CR>', 'Go right' },

    d = { '<C-w>c<cmd>WhichKey <LT>Leader>w<CR>', 'Delete' },

    s = { '<C-w>s<cmd>WhichKey <LT>Leader>w<CR>', 'Split horizontal' },
    v = { '<C-w>v<cmd>WhichKey <LT>Leader>w<CR>', 'Split vertical' },
},
...

Let me know if there is a better way.


slang-cli documentation does not mention requirement for whitespace/indentation and error messages are unhelpful

The slang-cli documentation doesn't mention that slang is left hand side whitespace indentation sensitive, or that tabs aren't considered to be valid whitespace.  This is both important to know, and potentially frustrating, as the error messages aren't always helpful:
(1) The error message below comes from breaking the indentation model, and the error actually points to the line after the problem indentation:
namespace: user.examples.hello_world-s

imports:
  ops: user.examples.hello_world-s

flow:
  name: hello_world-s
  workflow:
    sayHi:
      do:
ops.print:
          - text: "'Hello, World'"

slang>run hello_world-s.sl
Command failed java.lang.RuntimeException: java.lang.RuntimeException: There was a problem parsing the YAML source: hello_world-s.sl.
Cannot create property=ops.print for JavaBean=org.openscore.lang.compiler.model.ParsedSlang@51a9d2a5
 in 'string', line 1, column 1:
    namespace: user.examples.hello_w ...
    ^
Unable to find property 'ops.print' on class: org.openscore.lang.compiler.model.ParsedSlang
 in 'string', line 12, column 11:
              - text: "'Hello, World'"

(2) This error is the result of failing to indent between do: and ops.print -- and the error doesn't provide the line number where things went sideways, or indicate that there's an indentation error, vs an issue with the property.
namespace: user.examples.hello_world-s

imports:
  ops: user.examples.hello_world-s

flow:
  name: hello_world-s
  workflow:
    sayHi:
      do:
      ops.print:
          - text: "'Hello, World'"

slang>run hello_world-s.sl
Command failed java.lang.RuntimeException: java.lang.RuntimeException: Error compiling source: hello_world-s.sl. Property: ops.print at: sayHi is illegal

Note that (1) and (2) are both indentation erorrs, but produce notably different error messages.
(3) The following error comes from using tabs for whitespace, and while surprising, at least allows for easy correction of the error.
slang>run hello_world-s.sl
Command failed java.lang.RuntimeException: java.lang.RuntimeException: There was a problem parsing the YAML source: hello_world-s.sl.
while scanning for the next token
found character      '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
 in 'string', line 11, column 1:
            ops.print:
    ^

We can add a section about YAML basics in our docs.

or at least some points to be aware of

It would be a major plus -- it's something that's VERY important to know, and the error messages don't make it obvious that's what's gone sideways.

Ok. Issue #82 can be also resolved the same way.
I know that ansible has a section about it too.

I admit that I wasn't thinking of the python action as a 'multi-line scalar value', per se, especially since the java actions aren't treated the same way.  Documenting that will help (but having it simply be a requirement that all python actions have the same format would be even better!)

The documentation was written assuming a working knowledge of YAML, but I guess I can add a section about YAML basics. Other than indentation and |, anything else that should be included?

not sure it is really needed.. maybe a link to a Yaml doc website is enough.. WDYT?

The link is already there. The slang docs begin:
SLANG is a YAML based language for describing a workflow.

TBH I read that, and thought "Oh, okay, YAML based -- but anything I direly need to make the language go, and any differences from YAML will be here, with the docs".
... and the slang docs may begin that way, but the main bits about the language are well away from the top of the page, out of sight, and out of mind :(

Thinking about it further, it's the YAML based that really changes my expectations.  It's =~ vs ==.

@SamMarkowitz are you on this?

Adding a YAML overview section to the beginning of the SLANG section.
@okitac do you think that's enough? Should there be anything deep inside the docs? What? Where?

A quick meta comment here, based on discussions elsewhere -- generally when picking up a new language and/or application, it really helps with adoption when there's a "Here's the basic things you need to know to make this go" section included, with a "... and you can go over here for more details, if you want" link.
In our case, that would be "Here's your YAML essentials for score, and you can go to http://www.yaml.org/ for more in depth information".
That said, having just gone to http://www.yaml.org, the main site link isn't all that helpful, since I haven't the foggiest which version of YAML we're talking about (there are three!) -- and while it's interesting to read specifications (and they do actually do a good job of illustrating them), the section on yaml basics that's most likely to be apropos is easily halfway through the specification (Section 6 for YAML 1.2 http://www.yaml.org/spec/1.2/spec.html#Basic).

Ok. Let's add yaml version to the docs. @SamMarkowitz I believe we are using version 1.2

@SamMarkowitz please let me know when its done - ill close the issue

Up on the development site now are the following additions:

YAML version indication
YAML overview section


Allow a dataset to be registered as part of a network

In the GBIF registry, a dataset can be associated to a network. Currently, GBIF admins
add the dataset belongs-to<network> relationship. E.g. http://gbrds.gbif.org/browse/agent?uuid=7ddd1f14-a2b0-4838-95b0-785846f656f3

It would be better to automate this. Ideally, the IPT resource manager would be able
to add the belongs-to<network> during (or after) registration.

I envision the IPT managing a list of networks, similar to how it manages a list of
organizations right now.

Furthermore, we would need clear explanations guiding managers so that they know when
it is appropriate to associate their resource to a network.

Additional information:

http://dev.gbif.org/issues/browse/PF-77

Blocked on release of new registry API

Original issue reported on code.google.com by kyle.braak on 2013-07-12 08:55:06

With OBIS and SCAR looking to get in on the 'network' market, this could soon become a hot property.

Hi Is ther any advancement on this?
This would indeed be an important advancement of network that go beyond country boundaries: SCAR, OBIS (of which I'm part) definitely, but I imagine others as well such as CAFF

Hi @Antonarctica, the Networks can now be curated from the GBIF Registry (which can accommodate for external editors).
As you might already know, we have one for OBIS: https://www.gbif.org/network/2b7c7b4f-4d4f-40d3-94de-c28b6fa054a6
If you would like to see some updates to this network, please contact us at<EMAIL_ADDRESS>Regarding other network: not everyone can request the creation of a new network. For more information, please contact<EMAIL_ADDRESS>

One issue with the<EMAIL_ADDRESS>approach is that it is not well known and requires action separate from publishing the dataset. When publishing a dataset on Zenodo, you can search for communities (similar to GBIF networks) under which your dataset should appear. These trigger a request to the curators of those communities to either refuse or accept that dataset as part of their community. With the GBIF registry, I think a similar approach is possible directly from the IPT.
Example: https://zenodo.org/record/4299976, part of Research Institute for Nature and Forest (INBO), Open science lab for biodiversity and Tracking Invasive Alien Species (TrIAS) networks (right hand sidebar)

@ManonGros Thank you for the update as well as per e-mail. I agree with @peterdesmet that a system where data providers can somehow self-identify as belonging to a network would be a great appraoch. as a user, the Zenodo examples work very well, but as a person managing a community and publishing items belonging to different communities.

I like this possibility. As a Node Manager and someone who helps
organizations publish their datasets, it would be more efficient to be able
to identify that dataset as a part of a network rather than having to
publish and then update the registry. I will admit that doing both is
neither time consuming nor difficult, but i'm always happy to reduce the
number of steps I need to take if I can.
Further, as a responsible party for the VertNet vertebrate network, it
would be amazing if publishers could opt-in to the vertebrate network if
they wish to do so, especially if we are not working with the publisher
directly. We plan to contact as many publishers with vertebrate data as
possible, but an opt-in possibility would be a time-saver for us moving
forward, especially if we were to receive a notification that a new dataset
has been added to the network - but I won't ask for unicorns and rainbows
just yet. I'll leave that up to @peterdesmet
https://github.com/peterdesmet.
On Wed, Apr 28, 2021 at 6:19 AM Antonarctica @.***>
wrote:

@ManonGros https://github.com/ManonGros Thank you for the update as
well as per e-mail. I agree with @peterdesmet
https://github.com/peterdesmet that a system where data providers can
somehow self-identify as belonging to a network would be a great appraoch.
as a user, the Zenodo examples work very well, but as a person managing a
community and publishing items belonging to different communities.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gbif/ipt/issues/986#issuecomment-828449160, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHGC3ZOLPMHM3AMXUZF45TTLADPZANCNFSM4BPDQESQ
.

This was discussed again and seen as highly desirable by participants in the OBIS session of the GBIF global nodes meeting last night.
I'm adding this to the 2.5 stream so it will be explored for the 2.5.1 release (missed 2.5.0 now)

@mike-podolskiy90
Can you please explore the feasibility of getting this in the next IPT release, please? (i.e. the release this/next week)
I could imagine this be implemented in one of two ways:

On the resource management page, the user is presented with a form to (multi)select which networks the dataset participates in. When the DwC-A is generated, the keys of the chosen networks are added in the EML (´´ perhaps?) and this is linked up as we ingest.

The user is presented with the same form, prefilled with the existing state from the registry but any change hits the Registry API and makes the link immediately. This would only be enabled after the dataset is registered.

The benefit of 2, is that we'd always have strong consistency when external edits are applied and we wouldn't face the case of drift and need to reconcile edits in two places. A publisher may link to a network, that the network "owner" challenges resulting in admin edits. A network may be created and we bulk assign datasets etc. I don't see any real benefit of having the GBIF network keys in EML. My feeling is 2. would be the simpler option.
CC @ahahn-gbif and @pieterprovoost

I also support option 2. It is truly part of the registration process and should not require the dataset to be republished.
The multi is important, as datasets can be part of multiple networks.

In Favour of option 2 as well.
Also, networks may be formed after the dataset is published so would be good to be able to update that without republishing.
+1 for multi-option, I'd even say it is essential.

Also in favour of option 2, thanks!

Draft version is deployed to https://ipt.gbif-uat.org/

closing this


Patch 7.4.856 uses plines_nofill which is not always available

Patch 7.4.856 changed src/move.c and uses plines_nofill. But if you look at src/misc1.c you see that this function is only defined
 if defined(FEAT_DIFF) || defined(PROTO)

Hence if you try to compile a minimal vim you get the error message
 objects/move.o: In function `scroll_cursor_top':
 /vim74/src/move.c:1772: undefined reference to `plines_nofill'
 collect2: error: ld returned 1 exit status
 link.sh: Linking failed

For example I get this message if I use
 configure --enable-luainterp=no  --disable-mzschemeinterp --enable-perlinterp=no \
 --enable-pythoninterp=no  --enable-python3interp=no  --disable-tclinterp  \
 --enable-rubyinterp=no  --disable-cscope   --disable-workshop  --disable-netbeans \
 --disable-sniff  --enable-multibyte  --disable-hangulinput   --disable-xim   \
 --disable-fontset  --enable-gui=no   --with-features=tiny

BTW. There are other undef references, too:
 /vim74/src/ex_docmd.c:4742: undefined reference to `qf_get_size'

That's because of patch 7.4.858.

there is a fix for that in #416 and additional fix in the mailinglist to fix 858 too

fixed thanks for contributing


Better array syntax

Wouldn't it be much easier to declare arrays like C++ refs, just with constant or variable length for automatic bounds checking, without manual where clause.
Like &a[2] or &a[len] as signature,and then you also won't need to deref it.

it actually used to be like that some months ago. (the syntax was bad but basically same idea)
something around:
https://github.com/aep/zz/blob/6e6aba7d4c4f201aba9cc820e7085128bef81120/examples/array/src/main.zz
it's actually very inflexible and doesn't allow return modelling. i.e. a function cannot havea  contract that says "i will work on any array with size N and then return an array with size N+1"

feel free to repopen if you have more input


Bump CodeQL to v3 to remove deprecated warnings

CodeQL v1 was deprecated in Jan 2023

 2.0 Update CodeQL CI tool


vm: drop additional blake3 hash before signing

closes: https://github.com/spacemeshos/go-spacemesh/issues/4234
from ledger docs (references in the gh issue)

The length of the data part is 255 bytes and the whole message sent in a single APDU is 260 bytes with the blocks cla, ins, p1, p2 and one extra byte that encodes the length of the data that follows.

Receive: the transaction is sent through one or more APDUs. If this transaction is too large to be sent at once, it is copied chunk by chunk into a global buffer.

@brusherru could you please make a similar change in smapp? it simply removes hashing before pushing message for signing. then we coordinate merge before some release :)

bors merge


Removing data-test attributes in build

Testing is really important and in my Nuxt3 playground project it works great apart from I had to manually provide components on mount that normally are auto-imported.
It's common way to add data-test or data-testid or any other simmilar attribute to elements we wanna test. And It'd be great if nuxt will have feature to automatically remove data-test attributes from the production build.

Was anyone able to make this work with Nuxt 3? I tried using the @vitejs/plugin-vue 'vue()' plugin, but this seems to not be compatible with Nuxt (3)

Was anyone able to make this work with Nuxt 3? I tried using the @vitejs/plugin-vue 'vue()' plugin, but this seems to not be compatible with Nuxt (3)

You can pass options to @vitejs/plugin-vue with the vue or vite.vue keys in your nuxt.config.ts

Does anyone think the problem is still active, actually I found this issue because I have the opposite behavior while running the generate command, is this documented?

@danielroe do you think that could be a nice addition to https://github.com/nuxt/test-utils/? 🤔
If so, we could move the issue over.

Would be really nice to have this built-in :)


Missing transitive dependency on protobufjs

When using the library with Yarn 3 (via google-cloud/spanner) module resolution is failing at runtime because protobufjs/minimal is referenced from build/src/generated/ but the transitive dependency on protobufjs is not declared in package json.
Error: grpc-gcp tried to access protobufjs, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: protobufjs (via "protobufjs/minimal")
Required by: grpc-gcp@npm:1.0.1 (via /.yarn/cache/grpc-gcp-npm-1.0.1-d26546ce0e-ad6608b982.zip/node_modules/grpc-gcp/build/src/generated/)

Require stack:
- .yarn/cache/grpc-gcp-npm-1.0.1-d26546ce0e-ad6608b982.zip/node_modules/grpc-gcp/build/src/generated/grpc_gcp.js
- .yarn/cache/grpc-gcp-npm-1.0.1-d26546ce0e-ad6608b982.zip/node_modules/grpc-gcp/build/src/index.js
- .yarn/cache/<EMAIL_ADDRESS>- workspaces/common/src/cloud-spanner.ts

Environment details

OS: Debian 12.0
Node.js version: 18.14.0
yarn version: 3.6.0
grpc-gcp version: 1.0.1

Steps to reproduce

Create a project with the following package.json

{
"name": "test-spanner-nodejs",
"version": "1.0.0",
"dependencies": {
  "@google-cloud/spanner": "^6.11.0"
},
"packageManager"<EMAIL_ADDRESS>}

yarn install
Copy main.js

(async () => {
  const {Spanner} = require('@google-cloud/spanner');
  const spanner = new Spanner({projectId: 'your-project-id'});
  await spanner.instance("your-instance").database("your-database").run("select 1")
})()

yarn node main.js

You should see the error above. Adding "protobufjs": "^7.2.3" to the dependencies in package.json fixes the problem.

The dependency is used on line 4 of  src/generated/igrpc_gcp.js


SQL error when opening redirect link (Postgres)

On latest Craft 3 beta, plugin version 1.0.8 when opening the redirect link I get the following error:
SQLSTATE[42703]: Undefined column: 7 ERROR: column "hitcount" does not exist LINE 1: ..."dolphiq_redirects" SET "hitAt"=now(), "hitCount"=hitCount +...
                                                         ^
HINT: Perhaps you meant to reference the column "dolphiq_redirects.hitCount". The SQL being executed was: UPDATE "dolphiq_redirects" SET "hitAt"=now(), "hitCount"=hitCount + 1, "dateUpdated"='2017-11-14 09:26:44' WHERE "id"=37

It can be fixed by the changing Redirects.php line 110 to
'hitCount'=>new \yii\db\Expression('"hitCount" + 1'),

@acehead  thank you for reporting this bug. We just fixed it in the new release


Zone 2 disapeared

My Yamaha receiver have 2 zones, lately, the second zone have been disappeared from the home assistant.
Do you know what happen? or i can restore that?
Thanks

Fixed it by:
media_player:

platform: musiccast_yamaha
host: <IP_ADDRESS>
platform: yamaha_musiccast
host: <IP_ADDRESS>


Improving the official APIs?

While implementing a feature, I've stumbled upon some awkward parts in the official SDKs (Java and Go at least). This includes public APIs.
I wonder how closely we want to follow the public APIs and implementations? Following strictly at least the public APIs has a couple of benefits, but it's a bit limiting if we want to improve them or make them more idiomatic for Rust.

A partly "Rust specific" example:
LogicSignature is modeled after the algod REST API:
pub struct LogicSignature {
    #[serde(rename = "l")]
    pub logic: Vec<u8>,

    pub sig: Option<Signature>,
    pub msig: Option<MultisigSignature>,

    #[serde(rename = "arg")]
    pub args: Vec<Vec<u8>>,
}

this struct is used in the domain too, which isn't ideal. As far I understand having both sig and msig set is illegal (it at least fails the verification). A sum type would represent this better:
enum Sig {
    Sig(Signature),
    Msig(MultisigSignature),
}

New domain type:
pub struct LogicSignature {
    pub logic: Vec<u8>,
    pub sig: Option<Sig>,
    pub args: Vec<Vec<u8>>,
}

Now we can't have the illegal state. It could be expanded further, to not need an optional:
enum Sig {
    ContractAccount
    Sig(Signature),
    Msig(MultisigSignature),
}

pub struct LogicSignature {
    pub logic: Vec<u8>,
    pub sig: Sig,
    pub args: Vec<Vec<u8>>,
}

And now we can remove already almost half of the Java SDK's verification method and related Unit Tests
The problem with these type of changes is that e.g. Java doesn't have sum types, so they can't be proposed there. @manuelmauro thoughts?

Cleared internally:

The SDK will prioritize idiomatic Rust.
For refactorings not related with above, we will submit issues to the Go SDK, when it's possible to keep the APIs similar.


Exposes controller of TextFormField to InputDatePickerFormField

Description
Exposes controller of TextFormField to InputDatePickerFormField
Related Issues
Fixes #68057
Tests
I added the following tests:

Added tests to check InputDatePickerFormField has controller.

Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

This PR DOES NOT Fix #68057.
The tile of #68057 is about exposing the controller, I will change it. The important part is the text inside it, where I ask for the whole interface to match more of the TextFormField. Adding just a controller is not enough.

What all parameters do you suggest should be added?

The vast majority that are missing, so they both can have the same functionalities. I would just not add the ones that don't make sense when we just want to edit dates, but I didn't check what those exceptions would be.
As I said on the Issue, this wasn't for a beginner.

okay I'll close the PR for now. Thank you for the review :).


MRG: Modernize testing

This PR:

Gets rid of nose
Fixes our tests docstrings
Fixes a number of small "misses" that were in tests because of improper use of nose functions
Fixes two small problems with gui and test_topomap.py I was having from running dev versions of libs.

Mostly it substitutes assert  for assert_true and pytest.raises for assert_raises.
This PR should help make our tests more robust and readable in the future, and promote modern testing practices.

thanks @larsoner
can you open an issue about the issues you identified?


[HOLD for payment 2024-07-10] [$250] [LOW] fast-equal lib Imported dependency is not listed in the package.json

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.85-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: -
Email or phone of affected tester (no customers): -
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @kacper-mikolajczak
Slack conversation: https://callstack-hq.slack.com/archives/C01GTK53T8Q/p1718732844064939
Action Performed:
Break down in numbered steps
The crash happens when you try to use Onyx using the build:watch function:

In one terminal tab, open the react-native-onyx directory and run npm run build:watch
In another terminal tab, open your React Native project and run npx link publish <path_to_onyx_directory_on_your_machine>
Then run your React Native project as normal!

Expected Result:
Describe what you think should've happened
The App should run successfully
Actual Result:
Describe what actually happened
The app Crash because it can't find the fast-equals module
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Yes, you can keep using it
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0183ec865fba64bd1b
Upwork Job ID:<PHONE_NUMBER>263671850
Last Price Increase: 2024-06-19

Issue OwnerCurrent Issue Owner: @JmillsExpensify

Hey, I'm Edu from callstack, I want to work on this issue

@JmillsExpensify $250 to @rayane-djouah and we can close this

Payment summary above is correct! $250 to @rayane-djouah. I just sent you an Upwork offer.

All paid out!


Make knowhere run on old cpus which only support sse4.2

#140
/kind bug

/lgtm

It is not IndexScaNN being unsupported, it is PQ fast scan procedure being unsupported. Technically, there are multiple indices in Faiss that rely on PQ fast scan, so I would change support_scann variable name to support_pq_fast_scan to make it clear and acceptable for future possible indices without refactoring.
Intel(R) Xeon(R) CPU E5-2420 supports AVX, but not AVX2, which is written in the flags in https://github.com/milvus-io/milvus/issues/27552 and also mentioned on the manufacturer web page . So, I would transition the change into Make knowhere run on old cpus which only support AVX

/hold

It is not IndexScaNN being unsupported, it is PQ fast scan procedure being unsupported. Technically, there are multiple indices in Faiss that rely on PQ fast scan, so I would change support_scann variable name to support_pq_fast_scan to make it clear and acceptable for future possible indices without refactoring.
Intel(R) Xeon(R) CPU E5-2420 supports AVX, but not AVX2, which is written in the flags in [Bug]: Milvus2.3.1 standalone exited with code 132 milvus-io/milvus#27552 and also mentioned on the manufacturer web page . So, I would transition the change into Make knowhere run on old cpus which only support AVX, if possible

Actually the lowest level we are supporting is SSE4.2, I would suggest changing to Make knowhere run on old cpus which only support SSE4.2

/lgtm overall

It is not IndexScaNN being unsupported, it is PQ fast scan procedure being unsupported. Technically, there are multiple indices in Faiss that rely on PQ fast scan, so I would change support_scann variable name to support_pq_fast_scan to make it clear and acceptable for future possible indices without refactoring.
Intel(R) Xeon(R) CPU E5-2420 supports AVX, but not AVX2, which is written in the flags in [Bug]: Milvus2.3.1 standalone exited with code 132 milvus-io/milvus#27552 and also mentioned on the manufacturer web page . So, I would transition the change into Make knowhere run on old cpus which only support AVX, if possible

About the second points, Knowhere needs to be runnable on all CPUs not only the one with AVX and more

/unhold

/lgtm

/approve


Containerd Support

Containerd Supported on:

ubuntu
centos
amazon linux 2

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1085
Special notes for your reviewer:
Automatic migration from docker to containerd in case of conflict is not supported.
Example config to testdrive containerd:
apiVersion: kubeone.io/v1beta1
kind: KubeOneCluster

versions:
  kubernetes: "1.19.4"

containerRuntime:
  containerd: {}

Does this PR introduce a user-facing change?:

Containerd Support

/test pull-kubeone-e2e-aws-conformance-1.19

/retest

FYI
So those two last failed test happening because I've replaced static
echo "deb https://download.docker.com/linux/ubuntu bionic stable" |
	sudo tee /etc/apt/sources.list.d/docker.list

with per-distro
echo "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
				sudo tee /etc/apt/sources.list.d/docker.list

and because we use ubuntu 20.04 for tests, docker doesn't publish docker 18.* that we use for older kubernetes (version less then 1.17).
But kubernetes 1.16.x works perfectly good on ubuntu 20.04 when containerd 1.4 is used :D
P.S.
For now I'm reverting back to the static bionic.

What about the log rotation? For Docker, we have LogOpts that define max size to be 100M, but I don't see that we have such alternative for containerd. Do we need some alternative? What are the default settings?

Apparently, when CRI is used, then kubelet will manage log-rotation for us, see:

https://github.com/containerd/containerd/issues/3351
https://github.com/kubernetes/kubernetes/pull/59898
<EMAIL_ADDRESS>(look up for ContainerLogMaxSize)

So, ContainerLogMaxSize will be defaulted to: "10Mi".

What about InsecureRegistry support for containerd? Is it working out of the box or do we need some additional configuration? In the Docker config, we are setting this key. Is something similar needed for containerd?

Yeah, this part was missed. But as we already quite bit in this PR, I suggest to have follow-ups.

Should we check if some other container runtime is installed before running apply/upgrade? For example, if someone would enable containerd and run kubeone apply on an existing cluster, that could/would break the cluster. Do we want to reject such requests, at least until we don't have implemented migration?

I'm not entirely convinced we should deny such "move". I mean in theory it should be possible to convert docker to containerd without even stopping the runtime itself. However there will be a need to somehow stop the "docker" containers before proceeding reconfiguring kubelet to containerd.
So this topic is for future to decide and follow up.

/retest


WotW - spoilers

Warriors of the Wind spoilers.
I've created these for development of rinteki, but thought they might be handy for someone here.  Please note this is just the json for the cards, not the pack information - we don't need this for ringteki dev (at this stage).

Thanks @jamesoddy ,
I can't pull it into master until we do the pack json file work as the the DB import won't function. Any objections to me updating the pull request with the pack file?

Go for it!

Enough eyes have been over this now, pulling it into master.


Revert "Bump @angular/core from 9.1.4 to 11.0.5 in /imageserver/ui-frontend"

This reverts commit 6ba1b26d61a7fc047e5b741de8c5edf61625c44b.
Container ui-frontend fails to build after this change so a manual update to a newer Angular version is required.

Thanks for checking and resolving this!


ERROR  Exiting due to prerender errors.

Environment
Nuxt project info:                                                                                09:37:53

------------------------------
- Operating System: Windows_NT
- Node Version:     v20.9.0
- Nuxt Version:     3.8.1
- CLI Version:      3.9.1
- Nitro Version:    2.7.2
- Package Manager:  npm
- Builder:          -
- User Config:      devtools, modules, runtimeConfig, nitro, app
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>- Build Modules:    -
------------------------------

Reproduction

run nuxt build --prerender
only some Error: 404
throw  prerender error
run nuxt preview
static files in _nuxt not found (http 404)
dir _nuxt is not in .output/public

Describe the bug
throw prerender errors when nuxt generate with crawlLinks
Additional context
> nuxt build --prerender

Nuxt 3.8.1 with Nitro 2.7.2                                                                                09:15:30
i Using default Tailwind CSS file                                                            nuxt:tailwindcss 09:15:31

i Building client...                                                                                09:15:33
i vite v4.5.0 building for production...                                                                      09:15:33
i ✓ 392 modules transformed.                                                                                09:15:42
Inspect report generated at my-project/.nuxt/analyze/.vite-inspect
i .nuxt/dist/client/manifest.json                        11.36 kB │ gzip:  1.33 kB                            09:15:43
i ✓ built in 9.53s                                                                                09:15:43
√ Client built in 9546ms                                                                                09:15:43

i Building server...                                                                                09:15:43
i vite v4.5.0 building SSR bundle for production...                                                           09:15:43
i ✓ 221 modules transformed.                                                                                09:15:51
Inspect report generated at my-project/.nuxt/analyze/.vite-inspect
i .nuxt/dist/server/_nuxt/_id_-styles.2c4f1d78.mjs              0.14 kB                                       09:15:52
i ✓ built in 9.17s                                                                                09:15:52
√ Server built in 9191ms                                                                                09:15:52

i Initializing prerenderer                                                                              nitro 09:15:52
i Prerendering 3 initial routes with crawler                                                            nitro 09:15:55
  ├─ /404.html (127ms)                                                                                nitro 09:15:55
  ├─ /200.html (123ms)                                                                                nitro 09:15:55
  ├─ /article/1714465249880489986 (1556ms)                                                              nitro 09:15:58
  ├─ /en/ (159ms)                                                                                nitro 09:15:59
  │ ├── Error: [404] Page not found: /en/
  │ └── Linked from /
  │ └── Linked from /article/7204
                                                                                nitro 09:23:04

 ERROR  Exiting due to prerender errors.                                                                      09:23:04

  at prerender (/my-project/node_modules/nitropack/dist/shared/nitro.3d0a4b01.mjs:214:11)
  at async /my-project/node_modules/nuxt/dist/index.mjs:2986:7
  at async build (/my-project/node_modules/nuxt/dist/index.mjs:4375:5)
  at async Object.run (/my-project/node_modules/nuxi/dist/chunks/build.mjs:92:5)
  at async Object.run (/my-project/node_modules/nuxi/dist/chunks/generate.mjs:61:5)
  at async runCommand$1 (/my-project/node_modules/nuxi/dist/shared/nuxi.c6444792.mjs:1647:7)
  at async runCommand$1 (/my-project/node_modules/nuxi/dist/shared/nuxi.c6444792.mjs:1638:11)
  at async runMain$1 (/my-project/node_modules/nuxi/dist/shared/nuxi.c6444792.mjs:1770:7)

 ERROR  Exiting due to prerender errors.                                                                      09:23:04

Logs
No response

same errors throw when build on<EMAIL_ADDRESS>but _nuxt output success
static files in _nuxt can access

I have similar error when using routeRules.
I do have manifest.json in public folder.

@axolo  Did you find a solution? having the same problem. Same Nuxt Version. etc.

@axolo Did you find a solution? having the same problem. Same Nuxt Version. etc. Thx

locked version<EMAIL_ADDRESS>before fixed.

Same here, Nuxt version 3.8.2 with vue 3.3.10 and vue-router 4.2.5
Two simple projects, one of them generates, the other one does not and give this error. I cannot figure out yet why one of them generates successfully though.

Ended up disabling early exit of pre-render failure in nuxt.config.js.
  nitro: {
    prerender: {
      // Workaround for "Error: [404] Page not found: /manifest.json"
      failOnError: false,
    },
  },

To be more selective about the page to disable prerender.
  routeRules: {
    // Disable homepage pre-rendered at build time
    '/': { prerender: false },
  }

楼主找到解决方法了吗


feat(welcome): updates to extension registry for workspace home sidescroll/table UI

SUMMARY

[x] Adds extension names for WelcomeData and WelcomeTable extensions
[x] Insert extensions in Welcome component
[x] Update custom antd Radio component  to allow use of Radio.Button

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Closing this, but we can re-open at any time if needed (CC @eschutho)


Hardware Wallet reset

Need to ensure that the wallet state is reset when a user disconnects their hardware wallet device.

Closed via #383


Allow element creation

This change allows us to use $() to create new elements as known from jQuery and others in that realm, e.g:
$('
') will create a new div element, as will $('
'), $('
'), $('

'), nesting stuff within is not supported, e.g. $('
I am a nested element
') will fail! Also no direct attribute creation, we can do this afterwards with some plugins like $('
').attr('value', 'yes'), that would be:
$.prototype.attr = function(a, b) {
	return b === []._ ? ( this.length ? this[0].getAttribute(a) : false ) : this.each(function(c) {
		c.setAttribute(a, b);
	});
};

Closing in favor of #24


Vixen Streams

Goal
On top of the runtime there exists a stream lib where parsers that support proto definitions use a preset handler which streams the parsed accounts and transactions over a grpc connection.
Workflow

Register parsers
Start grpc server
Subscribe to geyser stream
Parse change events
Forward to grpc server for pushing to subscribers

Requirements

Subscribers can filter by owner program the change events pushed to them

If generator then those structs need to derive proto
2 services: 1 ingest and 1 grpc
Generic handler that can take any prost message struct and takes output serializes as protobuf and sticks into
Filtering is more of a performance constraint
@kespinola ensure its meant to be a push or pull?
Touch base the deployment is it all box?


Fix potential compatibility issue with other libraries

Hi, there are two commits in this PR, aimed to fix potential compatibility issue with other libraries. (i.e. the code was correct, just want to make sure it will work when environment has some strange implementation)

First commit is to improve Symbol implementation check.
I saw #423 has been merged already. Hopefully it can be released soon.
This is only a tiny improvment of #423, and might seem a bit unnecessary. Here is the reason: Our code might be running on client's website where environment is not under control. We have experienced client who changed Array.prototype.forEach to act different behavior. Thus, theoratically, it's possible that Symbol.for is truthy, but just not a function, which will still cause issue.
Just want to be cautious here, though I know that will not happen 99.999999% of the time.

Second commit is to remove .bind usage for partial function.
I noticed that old libraries before ESCMAScript 5 might define .bind api differently. For example: mootools
So far from what I know, it should be fine to use .bind to bind this context. But using .bind to add some parameters might not be supported by those old libraries. Thus, I have changed it to use rest parameters instead.

The apply solution is nice and provides good safety. Any idea what the net increase/decrease in size is in switching from bind?

@developit Following is what I got when running npm run size before and after switching from bind:

using bind
using apply

size
3.7 kB
3.7 kB

No obvious decrease/increase in size

I want to merge the Symbol.for check here, but I'm still not certain we want to swap the bind() out.

@developit Hi, sorry for the late reply. Yes, we could merge the Symbol.for check for now. I am not very sure how to split that one off, could you let me know the rough steps?


[backport] Fix indexing 0-dim array with boolean mask

The backport of #580.

jenkins, test this please

jenkins, test this please

LGTM!


Have the ability to specify custom labels for k8 jobs

Motivation
This pr will allow functions being deployed as kubernetes jobs have installation defined labels.
Modifications
Describe the modifications you've done.
Result
After your change, what will change.

run cpp tests

run cpp tests


External EPUB readability and storage

Can't we make it so that we are able to read external EPUB and see them in history or create a separate section to add as I can't seem to view my external read EPUB s . This would enhance  the user comfort for those who tend to get external EPUB for some novels( some Korean and Chinese )  . It will also eliminate the need for external  epub reader app

You can still open epubs from the file explorer and read in qn, however no epub importer exist. This is a very common request, and may be added

Please try to add this feature to Quicknovel. Can we make it so if we put the external epub to the Epub folder this app creates, it gets imported into the app.


DBZ-1856 Deprecation process is not necessary

https://issues.redhat.com/browse/DBZ-1856

Thx! Test failure is unrelated?

@gunnarmorling Right, unrelated


Clearing state of all used providers

Describe what scenario you think is uncovered by the existing examples/articles
Is there a way how the state of all used providers can be reset? My use case is that not all my providers are using the autoDispose modifier, but I need to reset their state based on a certain event (e.g. when the active user logs out of my app).
Describe why existing examples/articles do not cover this case
Documentation describes the use case for autoDispose, but not how to dispose all providers programmatically
Additional context
I did ask the same question on stackoverflow (https://stackoverflow.com/questions/68690021/clear-state-in-providers-when-using-flutter-and-riverpod), but as you can see, no good answers there.

You can call context.refresh on the providers of your choice

Thanks, although I was hoping there would be a way where this can be done without explicitly telling each provider to refresh. On stackoverflow, you answered a similar question, but related to the Provider package: https://stackoverflow.com/questions/57776375/clear-state-in-flutter-when-using-provider
The same thing couldn't be applied somehow to Riverpod, right?

Thanks, although I was hoping there would be a way where this can be done without explicitly telling each provider to refresh. On stackoverflow, you answered a similar question, but related to the Provider package: https://stackoverflow.com/questions/57776375/clear-state-in-flutter-when-using-provider
The same thing couldn't be applied somehow to Riverpod, right?

You could apply the same trick with keys in riverpod. The key would be in the top level ProviderScope which is the widget that holds the state of the providers

Thanks, although I was hoping there would be a way where this can be done without explicitly telling each provider to refresh. On stackoverflow, you answered a similar question, but related to the Provider package: https://stackoverflow.com/questions/57776375/clear-state-in-flutter-when-using-provider
The same thing couldn't be applied somehow to Riverpod, right?

This isn't a good approach to begin with.
What's wrong with passing the provider that needs to be refreshed? Why is that problematic for you?

Thank you for taking the time to look at this! :-)
Suppose I have an application with a login screen, a screen that shows animals I own and a screen that shows cars I own. When signing in with my user ID, my animals are shown and I can switch over to the screen that shows my cars. As my animals and cars almost never change, I don't use autoDispose on those providers (StateNotifierProvider), so that it only fetches data from the API when I access those pages the first time.
Now suppose that my wife is using this same app on the same device. So I log out of the app, my wife logs in with a different user ID. When accessing the animals page, she can see the animals I own rather than her own and when she is accessing the cars page, she can see the cars I own rather than her (as the providers don't refresh).
In sudo code, this looks something like this:
AuthController:
final authControllerProvider =
    StateNotifierProvider<AuthController, AuthModel?>(
        (ref) => AuthController(ref.read));

class AuthController extends StateNotifier<AuthModel?> {
  AuthController(this._read) : super(null);

  final Reader _read;

  Future<void> signIn(String email, String password) async {
      state = await _read(authRepositoryProvider).signIn(email, password);
  }

  Future<void> signOut() async {
    final _authRepository = _read(authRepositoryProvider);
    await _authRepository.signOut(state!.token);
    state = null;
  }
}

CarsController:
final carsControllerProvider = StateNotifierProvider<
    CarsController,
    AsyncValue<List<CarsModel>>>((ref) => CarsController(ref.read));

class CarsController
    extends StateNotifier<AsyncValue<List<CarsModel>>> {
  CarsController(this._read) : super(const AsyncValue.loading()) {
    myCars();
  }

  final Reader _read;

  Future<void> myCars({bool isRefreshing = false}) async {
    if (isRefreshing) {
      state = const AsyncValue.loading();
    }

      final cars = await _read(carsRepositoryProvider).myCars();
      state = AsyncValue.data(cars);
  }
}

With this, my thinking is that in the AuthController.signOut() function I should somehow be able to reset the state of the carsControllerProvider (and any other StateNotifierProviders I have). Is my thinking wrong?

With this, my thinking is that in the AuthController.signOut() function I should somehow be able to reset the state of the carsControllerProvider (and any other StateNotifierProviders I have). Is my thinking wrong?

This behaviour can be achieved without "resetting all providers".
You may use ref.watch to voluntarily cause a provider to rebuild when a value changes, even if it doesn't use the said value.
So if you want to rebuild your CarsController when the user changes, your carsControllerProvider could do:
final carsControllerProvider = StateNotifierProvider<CarsController,  AsyncValue<List<CarsModel>>>((ref) {
  ref.watch(authControllerProvider); // rebuild the CarsController when the user changes
  return CarsController(ref.read);
});

awesome, thank you so much, this works and makes total sense!

Hi @rrousselGit ! A bit late to the discussion but I have a situation very similar to @sderungs99 's.
Assume the same situation as above, I do not want to use .autoDispose to avoid having to recall the API after calling it the first time. So you could say I "cached" the data already. And when using ref.watch(authProvider) to a data provider, similar to the carsController above, I could simply rebuild and "reset" the data whenever  a user logs out and a different user logs in.
Given that, what would be the drawback to this? Without autoDispose, if I am not mistaken, the provider object still exists somewhere (and as stated in the documentation, it could cause memory leaks), so how do you go about this?
Or should I just worry about this IF I combine this with a .family modifier, then I should heavily consider using .autoDispose? Thanks!

@rrousselGit I have the same question

@rrousselGit

You may use ref.watch to voluntarily cause a provider to rebuild when a value changes, even if it doesn't use the said value.

As StreamProviders cache the latest emitted value, this can lead to problems, or? We had a case where the StreamProvider was providing the doc stream of the new user doc but emitted the last value of the previous user doc.

@rrousselGit
I'm new to riverpod, and I do not know what the implications of dining that! I used to do that when I was using Bloc but I do not now what will happen if I do that!
import 'package:flutter/material.dart';
import 'package:get_it/get_it.dart';

import '../../injection_container/injection_container.dart';

class RestartApp extends StatefulWidget {
  final Widget child;

  const RestartApp({Key? key, required this.child}) : super(key: key);

  static void restart(BuildContext context) {
    context.findRootAncestorStateOfType<_RestartAppState>()!._restart();
  }

  @override
  State<RestartApp> createState() => _RestartAppState();
}

class _RestartAppState extends State<RestartApp> {
  var _key = UniqueKey();

  void _restart() async {
    await GetIt.I.reset(); // reset all the app dependencies
    await init(); // init the app dependencies.

    setState(() {
      _key = UniqueKey();
    });
  }

  @override
  Widget build(BuildContext context) {
    return Container(
      key: _key,
      child: widget.child,
    );
  }
}

In main.dart

 runApp(RestartApp(child: ProviderScope(child: App())));

// When logout or login/register
RestartApp.of(context).restart();

@Nidal-Bakir thank you for this suggestion. I was looking for the same thing just now.
@rrousselGit I am loving Riverpod--very grateful for your work on this package.
Yes, it's true that you can call ref.watch(authControllerProvider); to create a dependency on the auth state in each provider. However, if any of the providers in the application forgets to add this call, then the app will potentially leak one user's data to another. @Nidal-Bakir 's approach is safer if there are many different providers that access permissioned data.


Fix for travis build failure of forked go projects of cloudfoundry

Issue: http://rnd-github.huawei.com/paas/cli/issues/7

Closing the issue as it is not relevant currently


Intervention component

What
A new component called "intervention" which will be used for showing personalised content (based on previous browsing). The component's content is hardcoded for now, as this is an MVP which will be used only in the Start a Business area of gov.uk
Why
The data labs' Personalisation Without an Account project includes showing users recommended content, based on their behaviour on www.gov.uk
Visual Changes
Visual design for new component

@oscarwyatt @maxf Explore are running AB tests across 5 frontend apps and have put the logic into the apps, as is the standard as per documented in the AB test gem https://github.com/alphagov/govuk_ab_testing#usage

I think you need to remove commit 04df82ecd03d967950c08d5db3a2d3cd46982150, and then rebase this branch against the master branch rather than merging master into this branch.

@injms Done (note to self: don't trust editing files in github directly)


IPv6 problem with gdb and ubuntu

When using the GDB debugger under Ubuntu 20.04, it cannot connect to the VP prototype if the default settings are used.

The problem can be solved by not specifying localhost as the address of the GDB, but using the explicit IPv6 address.
Several variants are possible, e.g. adjust localhost in the host file or specify the address directly [0:0:0:0:0:0:1] or [::1] or as a prefix (ipv6:).


Add ability to run upgrade tests on a auth enabled setup using the provided access/secret keys

@soumyalj @prachidamle @galal-hussein  can you review the changes done to provide the ability to run upgrade tests on a auth enabled setup using the provided access/secret keys?

LGTM


The !important exception

on line 31 and 32
the !important rule has high specificty than any other selectors and overrides any other declarations

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding. ✈


[DO NOT MERGE YET] Push notifications

Labelled with shelved for future reference so we're closing this issue


Space travelers: Display list of rockets

In this part of the project I did the following:

Fetch data from the rockets endpoint (https://api.spacexdata.com/v3/rockets) when a user navigates to the Missions section.
Once the data are fetched, I dispatch an action to store the selected data in the Redux store:
I created an action to reserve rockets
Created an Action to cancel the rocket reservation
Display a list of reserved rockets on my profile page;

STATUS: APPROVED ✅
Hi @ndorrh,
Your project is complete! Great job for nailing it right on the first attempt 🥇. There is nothing else to say other than... it's time to merge it 🍾🚢 🚢. Congratulations! 🎉💯🌟
To highlight 🍾

All linters are passing ✔
Good commit history ✔
Followed Github flow ✔
Professional README file. ✔
PR has a good title and description ✔

Cheers and Happy coding!👏👏👏.


components.scene.setup() is not a function

Describe the bug 📝
I see this command being used in the tutorial path for setting up the lights: components.scene.setup()
however, the console shows a message telling me that this command is not a function

It has an easy fix [const light = new THREE.AmbientLight(0x404040);      scene.add(light);] from the user side though
Reproduction ▶
No response
Steps to reproduce 🔢
follow the tutorial path
System Info 💻
openbim-components

Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a IFC.js components issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

same thing with components.renderer.onBeforeUpdate.add()
onBeforeUpdate is undefined

as well as
const mainButton = clipper.uiElement.get("main");
why documentation is different from actual npm library:
const mainButton = clipper.uiElement.main;
is it due to a new version package release ?

Apparently those commands were coming from the alpha version. I reinstalled the npm package and now I have access to those commands

what version are you using? I reinstalled the packages but it didn't help me

 what version are you using? I reinstalled the packages but it didn't help me

Please, see comment in this issue https://github.com/IFCjs/components/issues/121


Provide Farmware name to Farmware executable

The Farmware needs to know the name under which the configs can be retrieved (e.g. the prefix used in the environment values for config entries). This prefix (farmware name) could therefore also be made available in the environment, for instance as FARMWARE_NAME, in lib/farmbot/farmware/runtime.ex

The farmware name is hardcoded it the manifest.json file. If you want to know the name it dynamicly you could read this file and pull it from there

@ConnorRigby How can I read the manifest file used from within the Farmware?


Feature/source string

Option for source string added to torrent info, included in infohash
Often used by private trackers to create a unique infohash to prevent peer-leak and the possibility to track the trackers that do use leaked torrents.
Having this option in mktorrent make it possible to create a infohash accurate torrent to the tracker you want to upload it to.
Reference: mktorrent

Can you share a link to documentation for this source key? I've never heard of it before.

To my best knowledge, the source attribute is at most a convention used by some private trackers. Basically any attribute in the BEncode info dictionary could do the trick. The purpose is create multiple independent (different info-hashes) torrents, pointing the same content (same pieces, same files).
Other ways of cross seeding are:

change the piece length
extend the content, one could add an additional text file

@feross: I transformed the source option in to a generic way of setting an info attribute.

Can you make the tests pass?

I cleaned up the history a bit, re-based and squashed the whole thing in a single commit.

A stand-alone utility which is written solely to modify existing torrent files for cross-seeding: https://whatbox.ca/wiki/xseed

4.4.0


Added spaces before links

Each linked term in this articles is missing a " " after the preceding word (eg. "anyprocedures" appears on the page as "anyprocedures". Proposed update amends to include a space.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Language-Reference-VBA/articles/option-explicit-statement.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Language-Reference-VBA/articles/option-explicit-statement.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). The changes in this PR have been applied in the new repository, so this PR is being closed. The changes will be published to the live docs soon. Thank you for your contribution!


Feature: IPv6

Calico supports IPv6, but there are a number of missing areas at the moment.  This issue tracks the outstanding work left for this feature.

[x] Documentation (#N/A)
[x] Support for IPv6 in individual components

[x] CNI Plugin Support (#N/A)
[x] Libnetwork plugin support (https://github.com/projectcalico/calico/issues/227)
[X] Handle IPv6 when using KDD (issue #1703)
[x] Calico Node requires IPv4 (issue #1204)

Please keep this issue up to date with the latest status.
List of GitHub issues which mention IPv6

Closing since I don't think there's much value left in this one.


YAP Prolog link is broken

Link https://www.dcc.fc.up.pt/~vsc/yap returns 403 code:
Issues :-(
> Links
  1. [L059] 403 https://www.dcc.fc.up.pt/~vsc/yap
Wrote results to ab-results-readme.md.json
Wrote filtered results to ab-results-readme.md-filtered.json
Wrote markdown table results to ab-results-readme.md-markdown-table.json
The command "awesome_bot readme.md --allow-dupe --allow-redirect" exited with 1.

But there seems to be the GitHub repo: https://github.com/vscosta/yap-6.3/

ping?

ping?


Included the admin file to allow overriding for wymeditor options.

Added the include for admin.js to allow users to override options for wymeditor.

Thank you! :)


Provide azure-service-bus binder in spring cloud stream

From @cforce on August 24, 2017 6:58
https://github.com/Azure/meta-azure-service-broker/issues/138
Copied from original issue: spring-cloud/spring-cloud-stream#1047

From @viniciusccarvalho on August 28, 2017 14:51
@cforce We have started an event-hubs binder, but I don't believe it will see the light of day before 2.0 release is out somewhere around end of Fall 2017

The Microsoft team build and maintain the Azure Binder at https://github.com/Microsoft/spring-cloud-azure/tree/master/spring-cloud-azure-stream-binder.


Update grpc-api, grpc-okhttp, grpc-stub to 1.52.0

Updates

io.grpc:grpc-api
io.grpc:grpc-okhttp
io.grpc:grpc-stub

from 1.48.2 to 1.52.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.grpc" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.grpc" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #257.


Many CLI errors when trying to get the consumption os certain subscription...

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az consumption usage list
Errors:
'NoneType' object has no attribute 'message'
Traceback (most recent call last):
cli/core/commands/__init__.py, ln 696, in _run_job
    result = transform_op(result)
cli/command_modules/consumption/_transformers.py, ln 20, in transform_usage_list_output
    return [transform_usage_output(item) for item in result]
cli/command_modules/consumption/_transformers.py, ln 20, in <listcomp>
    return [transform_usage_output(item) for item in result]
python3.6/site-packages/msrest/paging.py, ln 143, in __next__
    self.advance_page()
...
azure.mgmt.consumption.models.error_response.ErrorResponseException: Unknown error

cli/command_modules/consumption/_exception_handler.py, ln 12, in consumption_exception_handler
    message = ex.error.error.message
AttributeError: 'NoneType' object has no attribute 'message'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az consumption usage list --start-date {} --end-date {} --subscription {}

Expected Behavior
Environment Summary
Linux-4.4.0-18362-Microsoft-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.7.0 *

Additional Context

consumption

#14287

This issue was fixed in Pull Request: 14335

None type errors should be fixed in the Pull Request: 14335

@eandresr are you still experiencing this issue?

Closing this issue, absyed - please feel free to reopen this issue if you are still experiencing this issue? thank you for the feedback.

Closing this issue, absyed - please feel free to reopen this issue if you are still experiencing this issue? thank you for the feedback.


Feature Request: Allow JSON to fill object color

I manage color stories and themes in a spreadsheet. It would be awesome to be able to fill the color of a object from the HEX or RGB value in the JSON to instantly create a color styleguide. BTW, I love love love your plugin. Thank you so much for your work.

Hi!
Is there any news on this yet?

@nitrada your plugin is excellent. Regarding this issue, is the plan to have this functionality? It's is marked as "Won't do", but the documentation shows:
#swapSymbol[true, bg/{color}]
// swaps the affected symbol to 'bg/red' (assuming {color} delivers 'red' from the data).
'true' can be replaced with any conditional expression.

I am confused as to whether this is currently available.

@rohr thanks for the nice words!
the example you referenced is the #SwapSymbol conditional action, which is a generic way to swap a symbol based on a certain condition – eg if the string in the data contains a certain content (eg. “blue”) or amount of characters, swap the symbol to symbol XY (eg. symbol name “blue”).
so in the example, the {color} placeholder is being used to set the symbol name – it could also be {whatever} though, color is just an example here.
the part we won’t do is using hex values in data to set hex values for objects in Sketch, because we think that’s too specific and we don’t need it for our own requirements. but feel free to change or extend the plugin to your liking, it’s open source and the architecture is quite a accessible and modular.


Feature/adjustable page gaps

Hi there,
As I was a little annoyed by the gaps between pages, even when seleting the 'continuous' mode, I decided to make the gaps adjustable. You can now specify the gap size in px by adding the entry 'page_margin' to the config file. By setting the size to '0', you have no gaps at all.
Thank you for this great software!
I created a new pull request and deleted the old one because I didn't read the development guideline first :man_facepalming:

Thanks a lot for the PR! It looks pretty good overall. I left a comment, and it would be great if you could revise a bit!

Thanks a lot for the PR! It looks pretty good overall. I left a comment, and it would be great if you could revise a bit!

Great! Thanks for contributing 👍

Great! Thanks for contributing 👍


Route problem - end slash in route

Why if get "/users" use action for route "/users/" ?

By default, Flight considers routes with and without the ending slash to be the same. Maybe I can make it configurable.

It would be good, it is all the same 2 different URL. If it is solved please make. Thanks!

yes, i'm find another problem)))
for route pattern: /serials/@code[\w]+/
get url: /serials/voyna_i_mir_war_peace_2016_/
code variable in method: voyna_i_mir_war_peace_2016
Why missing the last character "_"?

Your route is wrong. It should be /serials/@code:[\w]+/.


Error while loading

Hi,
I tried to use the app, but no matter what I do.. I keep getting this same Error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Program Files\Python38\lib\site-packages\flowkey_dl-0.1.10-py3.8.egg\flowkey_dl\flowkey_dl_gui.py", line 148, in load
self.image, title, artist = flowkey_dl(url)
File "C:\Program Files\Python38\lib\site-packages\flowkey_dl-0.1.10-py3.8.egg\flowkey_dl\flowkey_dl.py", line 15, in flowkey_dl
filename = pkg_resources.resource_filename(
File "C:\Program Files\Python38\lib\site-packages\pkg_resources_init_.py", line 1143, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "C:\Program Files\Python38\lib\site-packages\pkg_resources_init_.py", line 1754, in get_resource_filename
return self.extract_resource(manager, zip_path)
File "C:\Program Files\Python38\lib\site-packages\pkg_resources_init.py", line 1775, in _extract_resource
timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: 'flowkey_dl\raw\300.png'
flowkey-dl is installed via pip
I get the same error message (without the Tkinter Exception) when I try to use CLI
I already tried different python versions (at the moment 3.8) and different versions of the packages (as there were some issues in the past)
The URL of the Songs does not look like in the readme. It looks like https://cdn.flowkey.com/sheets/XXXXXXXXXXXXXXX/300/0.png
Also to say I am new with Python...
Can you help me here?

Unfortunately I have the same problem - is there any solution to this?
Thank you...

I'll lock into this at some point but I have little time currently. Does
this happen with all songs, or only some? If so, which?
CarnivoreD @.***> schrieb am Sa., 13. Juli 2024, 08:19:

Unfortunately I have the same problem - is there any solution to this?
Thank you...
—
Reply to this email directly, view it on GitHub
https://github.com/MatthiasLienhard/flowkey_dl/issues/39#issuecomment-2226792580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGJWC2I7GHI5AJDQZKMQTFTZMDBHXAVCNFSM6AAAAABFZFQRGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWG44TENJYGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you, Matthias.
At the moment I can't tell because I deinstalled Python and reinstalled the current version (over MS Store). When installing flow-dl with the Windows-Terminal  it says "Defaulting to user installation because normal site-packages is not writeable". When trying to start it says "Der Befehl "flowkey_dl" ist entweder falsch geschrieben oder konnte nicht gefunden werden." I do not really know what do do anymore to get it fixed again...

For me it happened with all songs i tried. For example Moonlight Sonata (int).

Hi Matthias
Thank you so much for taking the time to create flowkey. To play from the printet notes really makes a difference to me. Currently I am making screenshots and stitching them  in photoshop, but thought there must be a better way - and so I found your github :-) Unfortunately I've experienced similar problems as the above. Hope to hear from you when you get more time on your hands :-)
here's a bit of info

MacOS v14.6.1
macbook pro 14
python v3.10
my python level; newbee trying to do stuff smarter...

process

used flowkey-dl-cli only, for simplicity ie getting rid of tkinker err
testet 3 links returned same output

<EMAIL_ADDRESS><EMAIL_ADDRESS>https://cdn.flowkey.com/sheets/xZSh53pC82XHftPfN/300/0.png

terminal output
(base) mbp14:~ anette$ flowkey-dl-cli<EMAIL_ADDRESS>/Users/anette/Downloads
loaded patch 0 with shape (285, 1024, 4)
loaded patch 1 with shape (285, 1024, 4)
loaded patch 2 with shape (285, 815, 4)
downloaded 3 patches form<EMAIL_ADDRESS>arage images of size 2480x3508
found 8 measures
29, 2160
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/flowkey-dl-cli", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/flowkey_dl_cli.py", line 32, in main
    processed_image = arange_image(image, title, artist)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/flowkey_dl.py", line 171, in arange_image
    patch = patch.resize((int(x * scale) for x in reversed(dim)))
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/PIL/Image.py", line 2328, in resize
    return self._new(self.im.resize(size, resample, box))
TypeError: argument 1 must be 2-item sequence, not generator

I guess these are separate issues, the
TypeError: argument 1 must be 2-item sequence, not generator
is probably related to the PIL version, but can be easily fixed.
The other one is probably related to Windows path names, and I do not have windows installed, so its much more difficult for me.

@anetteIversen can you please test the outcome with v0.1.11 (install from git)
I tested on macbook, and all urls you sent worked (also in the gui).

Sure thing, Mattias - pls. find the output with v0.1.11 below. It seems like my PIL is an issue now; unknown file extension
my PIL version
init.py
Pillow is forked from PIL 1.1.7.
_version.py
version = "10.4.0"
(base) mbp14:flowkey_dl anette$ flowkey-dl-cli<EMAIL_ADDRESS>/Users/anette/Downloads
loaded patch 0 with shape (285, 1024, 4)
loaded patch 1 with shape (285, 1024, 4)
loaded patch 2 with shape (285, 815, 4)
downloaded 3 patches form<EMAIL_ADDRESS>arage images of size 2480x3508
found 8 measures
29, 2160
2159, 2863
saving 1 pages to /Users/anette/Downloads
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/PIL/Image.py", line 2543, in save
    format = EXTENSION[ext]
KeyError: ''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/flowkey-dl-cli", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/flowkey_dl_cli.py", line 33, in main
    save_pdf(processed_image, pdf_path)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/flowkey_dl.py", line 221, in save_pdf
    images[0].save(filename)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/PIL/Image.py", line 2546, in save
    raise ValueError(msg) from e
ValueError: unknown file extension:

Sooo - testet flowkey-dl instead and everything loads fine - only issue was to save the pdf. As it turned out it didnt have a 'raw' folder in; /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/
Created a 'raw' folder and now everything executes effortlessly - thank you so much, Matthias - you made my day and rescued my piano sessions :-D
(base) mbp14:~ anette$ flowkey-dl
2024-08-13 15:09:22.712 Python[87939:3457438] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
arage images of size 413x584
arage images of size 1652x2338
loaded patch 0 with shape (285, 1024, 4)
loaded patch 1 with shape (285, 1024, 4)
loaded patch 2 with shape (285, 1024, 4)
loaded patch 3 with shape (285, 948, 4)
downloaded 4 patches form<EMAIL_ADDRESS>arage images of size 1652x2338
found 16 measures
29, 1393
1392, 2801
2800, 4020
saving raw image of sheet Traditionel - When the Saints to /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/raw/https:.png
saving 1 pages to /Users/anette/Downloads/traditionel_when_the_saints.pdf
flowkey-dl-cli<EMAIL_ADDRESS>/Users/anette/Downloads

I just created a new environment and reinstalled everything on my Windows machine and having the same issue as OP running the GUI version.  Are the any stable configurations / combinations others are running now?
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\lewis\anaconda3\Lib\tkinter\__init__.py", line 1968, in __call__
    return self.func(*args)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\lewis\anaconda3\Lib\tkinter\__init__.py", line 862, in callit
    func(*args)
  File "C:\Users\lewis\PycharmProjects\Sheet Music\.venv\Lib\site-packages\flowkey_dl\flowkey_dl_gui.py", line 231, in _get_preview
    self.processed_images = self.get_images()
                            ^^^^^^^^^^^^^^^^^
  File "C:\Users\lewis\PycharmProjects\Sheet Music\.venv\Lib\site-packages\flowkey_dl\flowkey_dl_gui.py", line 201, in get_images
    return arange_image(
           ^^^^^^^^^^^^^
  File "C:\Users\lewis\PycharmProjects\Sheet Music\.venv\Lib\site-packages\flowkey_dl\flowkey_dl.py", line 171, in arange_image
    patch = patch.resize((int(x * scale) for x in reversed(dim)))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\lewis\PycharmProjects\Sheet Music\.venv\Lib\site-packages\PIL\Image.py", line 2328, in resize
    return self._new(self.im.resize(size, resample, box))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Support for lengthMenu

Thank you for this great contribution.
I'm missing the possibility to set the lengthMenu property. Can you implement it?
        $('#example').DataTable({             lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]]         });
https://datatables.net/examples/advanced_init/length_menu.html
Maybee you can create an option to insert PROPERTY-VALUE-pairs in general.

You can specify the length menu with package version <IP_ADDRESS>
@(Html.Ext().Grid<Product>().Name("example").RowId("id")             .LengthMenu(c =>             {                 c.Add(new int[] { 10, 25, 50 });                 c.Add(-1, "All");             })
You can found an example in the demo project under the server side page.

many thanks!


Merge Media and MediaCache into a single class/interface

Media and MediaCache are quite similar. In fact, the only difference is that Media has a format and a status property. Also, all the pain that requires converting a Media object for caching is unnecessary.

Being done in the refactor branch

Done!


Sprite Animation

Phaser's sprites are not compatible with .gif file types. They only use the first frame of the gif image. In order to have animations, all gif images should be converted to spritesheets.

Added in a8d148f38444bfc0b27acf4113ff19ce083ac363


Remove weird : prefix from keys returned by tween signals

Remove weird : prefix from keys returned by tween signals.
This breaks compatibility.
This fixes #19731

The code looks good, but I'm not sure how good it would be to add this feature (maybe it should be discussed on the next PR meeting)
The thing is that NodePath(":position:x") is actually the correct nodepath to refer to the position.x property, while NodePath("position:x") refers to the x property of the position node. This is a limitation of the subproperty animation system coming from the use of nodepaths.

Yeah it's technically correct but it's totally not what you would expect since it isn't what you type as key to interpolate the property.

As mentioned in https://github.com/godotengine/godot/issues/19731#issuecomment-423209058, this will have to wait for 4.0 and a more global rework of how NodePath handles properties, so closing.


Bumped requests version

Bumped requests library to 2.25.1 to keep compatibility with Python 3.5 while still working with urllib3-1.26.5 that was introduced in 3c12cb5
Fixes #28

Thank you.