Azd CLI Extensibility

Spike to investigate on extensibility in Azd
Use Cases
The following are a list of use cases to explore during this spike

Subscribe to azd command hooks #1131
Override built-in commands
Define custom commands
Plugin model

See details below on each use case
Customer Scenarios

#122

Subscribe to azd command hooks
For some applications it is a requirements that developers be able to run custom scripts either before or after azd commands.
This would enable many different scenarios. For example azd does not enforce any tests to be run between provision and deploy.  Using pre/post command hooks would allow custom scripts to run to validate the state of an environment before moving on to deploy commands or additional stages.
Within the azure.yaml introduce a scripts section similar to that of Node applications.  Scripts could either be a single, multiline script of a reference to a script that exists within the same repo.
Configuration based approach
Script section can either be defined at the root of azure.yaml or within a single service.
Root configuration
#azure.yaml
scripts:
  preprovision: preprovision.sh      # Run terratest script to validate resources
  postprovision: postprovision.sh    # Run script to validate state of azure infra
  postdeploy: postdeploy.sh          # Run smoke tests like playwright to validate app(s) are working as expected

Service configuration
#azure.yaml
services:
  app1:
    scripts:
      preprovision: preprovision.sh      # Run terratest script to validate resources
      postprovision: postprovision.sh    # Run script to validate state of azure infra
      postdeploy: postdeploy.sh          # Run smoke tests like playwright to validate app(s) are working as expected

Convention based approach
Another option is to use a convention based approach where we automatically look for files within the .azure/hooks folder.  If we find a file called predeploy.sh we automatically wire it up as a pre deploy command hook and execute it accordingly.
Override built-in commands
This would enable more complex use cases where azd doesn't have support for a particular service target, language or similar and the dev wants to take more granular control of the workflow.

Custom provision commands ex) Deploy via custom script with az cli commands
Custom build commands
Custom package commands
Custom deploy commands

# azure.yaml
services:
  app1:
    scripts:
      provision: ./scripts/provision.sh   #custom provision script or reference to script file
      package: ./scripts/package.sh       #custom package script or reference to script file
      deploy: ./scripts/deploy.sh         #custom deploy script or reference to script file

Define custom commands
Ability to define custom commands and execute them through azd. A dev organization likely had a bunch of other scripts involved in their products that may relate to their overall platform or a specific service.  It would be good for devs to be able to define their own custom azd command groups that execute scripts against their apps & infra.
More TBD.
Plugin Model
How do we allow external contributions into AZD for things like language/framework services, application targets, provisioning/pipeline providers etc?
Options

Direct contributions into AZD source, reviewed and maintained by team

Require additional time to review and accept contributions
Team would need to maintain contributions, fix bugs, etc

Contributions into forked repositories following guidance from docs & code

Lowest cost - Devs can fork azd and author custom packages / modules

Develop a plugin in model + extension market place for devs to discover & contribute plugins

Requires more maintenence and support on market place
Develop integration model between core azd and plugins
Process for accepting plugins
Support for issues arising from plugins

If we develop our own plug-in model the leading method for cross process communication in go is to leverage gRPC & protocol buffers.  This is the same implementation used under the covers for tools like Terraform.
Protobuf establishes the interface between the client & server and communication happens via gRPC.  There are well established go modules.
gRPC Go Quickstart
Technical Details
We should support a variety of script options including shell scripts & powershell.
Inputs
All scripts should be executed from azd with all values from local .env file made available.
Questions

Do we need to expose any project configuration data?
Can we simply leverage exit codes to dictate overall success or failure of an operation?
Do we need to support output schema that is required?

DO we know if the above extensibility model will allow us to use the logged in identity context to pass to the custom scripts?

DO we know if the above extensibility model will allow us to use the logged in identity context to pass to the custom scripts?

@anevjes - could you give us an example of what types of calls you would like to make? REST API calls to ARM control plan or MS Graph? az cli commands or other?

Moving to Gallium cc @savannahostrowski

Moving this to backlog for now. We can pull this back in when we have more use-cases for core command extensibility.
Addressed - Hooks, Customizable up workflow (also enables skipping commands)
Pending - Defining custom commands, Plugin model


Sqs json

For some reason, the RealSQSTest is being flakey where it takes longer than you'd expect for the queue or messages to be available.  We'll see how it does in the CI or at a later date.
Closes #242

Looks like CI passed 🤷 .  Worth a redo to make sure?

@oharaandrew314 CI passed because it doesn't actually run any live tests against AWS... it's only on the local environments. Annoying, but true :)

Ah, that would explain it.  What do you want to do about it?  Pad the timeouts further or add a periodic retry with a generous max timeout?

I'm done with this branch now, unless there are any concerns or feedback.

Sorry it took so long to get to this. Nice work as always 🙃


Error when opening Cmder (with profile script)

Environment data
PS version: 5.1.16299.98
PSReadline version: 1.2
os: 10.0.16299.15 (WinBuild.160101.0800)
PS file version: 10.0.16299.15 (WinBuild.160101.0800)
Steps to reproduce or exception report
Open Cmder (configured to start PowerShell as Admin). I think my profile script was running at the time (I can provide this via PM if required).
**Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Last 1 Keys:
c
Exception:
System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg)    at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
--------------------------------------------------------------**

Duplicate of #292, try 2.0.0-beta1 for the fix.


youtube-dl does not download music playlist from VK. I tried to use double quotes and change the user agent

Checklist

[X] I'm reporting a site feature request
[X] I've verified that I'm running youtube-dl version 2020.11.29
[X] I've searched the bugtracker for similar site feature requests including closed ones

Description

First, I want to say that I'm a computer science student. And I know how hard programming can be. And some time the websites change their behaviour. That causes youtube-dl to stop working on the specific website. Then someone has to analyse the behaviour of the website. So thanks to the maintainer and everyone who contributed to the youtube-dl project. And because youtube-dl is a very popular project. Sometime people create duplicate issue without using the search bar. For example, there are three issues about youtube-dl not working in ubuntu 20.04 because of the removal of python 2. I noticed that  vk.py is last updated in 2016, so I believe it needs and deserve an update. And I believe it was only created to download videos not for music playlist when I looked at the code.  Here is the error that I am getting.
youtube-dl.exe -v -F "https://vk.com/music/playlist/-71195928_1142" --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
[debug] System config: []
[debug] User config: ['--no-mtime']
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://vk.com/music/playlist/-71195928_1142', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36']
[debug] Encodings: locale cp1256, fs mbcs, out cp720, pref cp1256
[debug] youtube-dl version 2020.11.29
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: none
[debug] Proxy map: {}
[generic] -71195928_1142: Requesting header
WARNING: Could not send HEAD request to https://vk.com/music/playlist/-71195928_1142: HTTP Error 418:
[generic] -71195928_1142: Downloading webpage
WARNING: Falling back on generic information extractor.
[generic] -71195928_1142: Extracting information
[redirect] Following redirect to https://vk.com/badbrowser.php
[generic] badbrowser: Requesting header
WARNING: Could not send HEAD request to https://vk.com/badbrowser.php: HTTP Error 418:
[generic] badbrowser: Downloading webpage
WARNING: Falling back on generic information extractor.
[generic] badbrowser: Extracting information
ERROR: Unsupported URL: https://vk.com/badbrowser.php
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpc5iwv3dp\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpc5iwv3dp\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpc5iwv3dp\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpc5iwv3dp\build\youtube_dl\extractor\generic.py", line 3381, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://vk.com/badbrowser.php

This isn't fixed yet

Any news about this issue?

https://github.com/ytdl-org/youtube-dl/issues/8389

https://www.downthemall.org/ plugin can actually download video from m.vk.com counterpart.

Cause vk change url signature to
https://vk.com/video/playlist/-111905078_115
from old format
https://vk.com/videos-111905078?section=album_115.
Just modify your url to old format.


Write intro to "Integrating Tools"

The "Integrating Tools" section needs an intro that discusses creating an integration versus JES versus webhooks, and then there are SLI providers and Action providers,  This needs an intro that talks about when to use which facility, etc.  And maybe pull in the api extensions page as well.

I would like to do it, please assign it to me.

close as not planned


Directly copy memory in audio decoder if endianness matches

https://github.com/pion/mediadevices/pull/179#pullrequestreview-425790764

@at-wat this looks good! Btw, I created a PR to this branch, https://github.com/pion/mediadevices/pull/181. It's about adding benchmark for comparing host vs non-host endian, and a minor fix about non-interleaved formats.

rebased

#181 contains this with a fix


Use full/core command line binaries in NSwagStudio and fallback

[x] Package NSwagStudio with all binaries (full and core1.0/1.1/2.0)
[x] Add "runtime" setting and generate files via command line binary (chosen via "runtime" settting)
[x] Generate output via command line binary (inline)
[ ] Implement "runtime" check in command line binaries (full/core) so that other binaries are called when not in correct runtime
[x] Load available controllers via command line

Commands: list-controllers and list-types

[ ] Cleanup

[x] Remove NSwagStudio.x86 => Not needed anymore (x86 cmd line tool is bundled)
[x] Refactor settings

Branch:
https://github.com/RSuter/NSwag/tree/studio-uses-command-line

In the current version in the branch, you can select a runtime and the selected binary is used (this currently works only for "Generate Files"):

The build can be tested here:
https://ci.appveyor.com/project/rsuter/nswag-25x6o/build/2657

With the latest commit, the outputs are redirected to temp files so that "Generate" and display output in UI only also works.

I think all changes in NSwagStudio are now done (maybe more refactorings will come), can you please test with the latest CI artifacts:
https://ci.appveyor.com/project/rsuter/nswag-25x6o/build/2661

Yeap, it worked, thank you so much!
The only problem was that as my assemblies are .net core 2.0 and the default runtime is winx64, I got an error when loading my old powerhub.nswag file. Changing the runtime makes the error disappear, so maybe a friendly message saying that would be nice to the final user :)
Once again, thank you and congrats for such a great tool NSwagStudio is.

I changed the Runtime names from Core20 to NetCore20 => I think you got the error from this. Correct? Because you created the file with a prerelease build, this should not be a problem for the normal user...

Hmm.. it makes sense. Perfect :)

Sorry, the error message cannot be easily avoided - we have to detect what type of assembly is selected and check the runtime with this... this will be a feature for the future :)

Added runtime detection for command line:

I think we I'm done here :-), now we have to test this with as many projects as possible

We will test this with our solution after our first release.


更新到最近一版的release图标前变成问号了

前台页面在如下位置有一个tab属性报错

tab：“,”   (Uncaught SyntaxError: Unexpected token ,)

See #1867 / #1866 issues.
If solved, close it please.

Finally, i revert to v5.1.1  and  did't  change any  configration , it became normal.
So  maybe  there was something wrong with the latest release

Maybe.
Anyway, too small info. To resolve it need more. For now both latest release and latest master branch worked fine.


[Paper Mario: Color Splash] Add Support

It seems like Color Splash can boot now in Cemu 1.7.1. I will attempt to add support for it.

I'll add it to the repo soon

Support added as of e8ecf132, but no formats have been ignored yet related to 720p and 480p

Game freezes after intro movie, so it's a cemu issue.

Looks like there might be some framebuffer shenanigans going on with this game?

Yep, definitely framebuffer shenanigans. Reznoire's video doesn't have those issues, and he runs the game at 720p
https://www.youtube.com/watch?v=sh7r2RVWiT0

CemuViewportSkimmer by MHVuze
=============================
Depending on your CPU and the log size, the processing might take some time.

0, 0, 1024, 1024
0, 0, 1280, 720
0, 0, 512, 512
0, 0, 256, 256
0, 0, 640, 360
0, 0, 320, 180
0, 0, 160, 90
0, 0, 854, 480

Found 8 unique viewport resolutions and a total of 1804.```

I just realized that this would be more of a format issue than framebuffer issue. We just need to exclude the format the colors are at. I'll still keep it just incase it happens to be a framebuffer issue.

Turns out the freeze after the intro movie happens without any graphics pack on as well. Seems like cycle based is recommended for this game. This is really confusing.

I have found the shader for the colorless spots. Removing all of void main completely got rid of them. Tested it on both title screen and beginning of Port Prisma. This is the file itself:
459057c5fc27ffbe_000000078007924b_ps_source.txt
Now, it needs to be fixed for the resolutions.

For those curious, this is the save with no colorless spots workaround and with no AA:

From the screenshot it looks like the depth render is broken, not just unscaled so DC TF style fix probably won't help. I'll see if I can borrow a copy , but for non as fixes, we probably should see what 1.74 change.

GX2: Fixed a bug in GX2ClearBuffersEx() and GX2ClearDepthStencilEx() where depthbuffer->clearDepth was set to the incorrect value

Cemu 1.7.5 has this in the change log, maybe this will fix it?

I'm able to confirm that it does not fix the issue. So, that's still an issue. Maybe later I can attempt doing the DCTF style fix to see if it fixes it

Color Splash might be fixed with 1.7.6, will check to make sure. If it's fixed, will close this issue with 1.7.6 public release.

Cemu 1.8.0 does not fix this issue

Looking into Nvidia Nsight, the framebuffers are 66 68 for me.
-66-
Format: GL_DEPTH24_STENCIL8
Target: GL_TEXTURE_2D
-68-
Format: GL_DEPTH24_STENCIL8
Target: GL_TEXTURE_2D

efc16c7f50957110_000000078007924b_ps.txt

Had a lot of issues tracing this specific shader. @slashiee You've mentioned both efc16c7f50957110_000000078007924b_ps.txt and 459057c5fc27ffbe_000000078007924b_ps_source.txt. Does 1 apply the blurred layer and does 1 blur the layer like some of BotW shaders have? I'll use the save you've provided (helps a lot!) and do some work on this today.

This seems like it's a Cemu issue?

yea, looks like cemu issue, it seems texture redefine isn't working properly on some textures, they ended up having original res but the size/coordinates is scaled thus misplaced.

I have found the shader for the colorless spots. Removing all of void main completely got rid of them. Tested it on both title screen and beginning of Port Prisma. This is the file itself:
459057c5fc27ffbe_000000078007924b_ps_source.txt
Now, it needs to be fixed for the resolutions.
For those who need a save file at the beginning of Port Prisma, here you go:
ac33e303.zip

Where do i paste this?

You shouldn't need them anymore. The game runs without any graphical or crashes that I know of, just audio problems.


Feature request: Add 'today' as an argument for custom date ranges in property charts.

When customising date ranges for property charts, I would love to be able to pass 'today' as an argument to the renderer.
That way, I could add journal pages for future dates without stretching my property charts into an unknown future with arbitrary data.

I like this suggestion.  One clarifying question -- would you want to substitute 'today' with the date of the journal page that the chart is embedded on?  Or would you prefer to substitute the current day?

Will be available in version 0.21.


Windows Support -- help needed

Hi all,
what is needed to make this support Windows? I am in a need of a python HDFS client so I would be willing to develop that if it is reasonable.

hdfs3 is pure-python and so easily transferrable, except for the extension of the linked code (.so onllinux, would be .dll on windows).
The low-level library, libhdfs3, is only configured to build on linux, although building on osx is known to be possible. For windows, you would have to get all of the dependencies in the recipe built for windows (some of them already are) and figure out the appropriate way to trigger the build.
In addition, there is a later version of libhdfs3 that we are trying to incorporate from HAWQ, which has more build dependencies such as cmake, gtest, gmock. It may be possible to simplify that, or port the newer code back tot the previous build system.

Hi all,
what is needed to make this support Windows? I am in a need of a python HDFS client so I would be willing to develop that if it is reasonable.

@tadas-subonis  Any luck on this after all this time? I spent tons of hours searching for a windows-based HDFS client.

Have you tried with pyarrow, which is available for windows?  The java requirements will surely work, but I don't know the status of the Hadoop JNI (native) libraries. You may want to ask on the pyarrow tracker.

Have you tried with pyarrow, which is available for windows? The java requirements will surely work, but I don't know the status of the Hadoop JNI (native) libraries. You may want to ask on the pyarrow tracker.

Yes I tried that as well, but I get this error on it:
Traceback (most recent call last):
  File "hdfstest.py", line 6, in <module>
    fs = pa.hdfs.connect(host='localhost', port=9000, user='dr.who')
  File "C:\Program Files\Python36\lib\site-packages\pyarrow\hdfs.py", line 187,
in connect
    extra_conf=extra_conf)
  File "C:\Program Files\Python36\lib\site-packages\pyarrow\hdfs.py", line 37, i
n __init__
    self._connect(host, port, user, kerb_ticket, driver, extra_conf)
  File "pyarrow\io-hdfs.pxi", line 89, in pyarrow.lib.HadoopFileSystem._connect
  File "pyarrow\error.pxi", line 83, in pyarrow.lib.check_status
pyarrow.lib.ArrowIOError: Unable to load libjvm

I installed Java SE but not sure why it doesn't recognize the library, not sure how to even trace back the error since it's in pxi which I'm not familiar with.

Yeah, I think you should ask them. hdfs3 will not be developed further, and as you can see from the conversation above, we had no good idea of how to make a build system for Windows - sorry.
Since I assume hadoop is not running on your windows system, would webhdfs be a possible solution? It may have additional overhead, but perhaps the only thing that you can make work. You can use that by REST API directly, or a python wrapper such as pywebhdfs.

That's a brilliant idea that I wasn't aware of, thank you so much! I'm testing hadoop on my local Windows machine before connecting to our clouds. Anyway to start httpfs on my lame windows too?

I don't know, but from a 20-second read, httpfs appears no simpler than webhdfs.


Can't build (react issue)

Hi, this repo really is a good starting point to understand basics. Thanks a lot for sharing!
I have an issue with building the extension.
pip install -e . fails with
      subprocess.CalledProcessError: Command '['/home/kiyoon/.local/bin/jlpm', 'install']' returned non-zero exit status 1.

If I try jlpm build, it says
Internal Error: nbactions@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
    at P0.getCandidates (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:435:5145)
    at yf.getCandidates (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:391:1264)
    at /home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7693
    at of (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:11070)
    at ge (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7673)

I tried with jlpm install and jlpm build again, then I get
.yarn/cache/@jupyterlab-cells-npm-3.6.2-1d2a1702bd-5827fa310a.zip/node_modules/@jupyterlab/cells/lib/collapser.d.ts:2:24 - error TS7016: Could not find a declaration file for module 'react'. '/home/kiyoon/bin/nbactions/.yarn/cache/react-npm-17.0.2-99ba37d931-b254cc17ce.zip/node_modules/react/index.js' implicitly has an 'any' type.
  If the 'react' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react`

2 import * as React from 'react';
                         ~~~~~~~

.yarn/cache/@jupyterlab-cells-npm-3.6.2-1d2a1702bd-5827fa310a.zip/node_modules/@jupyterlab/cells/lib/placeholder.d.ts:1:24 - error TS7016: Could not find a declaration file for module 'react'. '/home/kiyoon/bin/nbactions/.yarn/cache/react-npm-17.0.2-99ba37d931-b254cc17ce.zip/node_modules/react/index.js' implicitly has an 'any' type.
  If the 'react' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react`

1 import * as React from 'react';
                         ~~~~~~~

.yarn/cache/@jupyterlab-notebook-npm-3.6.2-2183254c3c-d44476cfc0.zip/node_modules/@jupyterlab/notebook/lib/default-toolbar.d.ts:5:24 - error TS7016: Could not find a declaration file for module 'react'. '/home/kiyoon/bin/nbactions/.yarn/cache/react-npm-17.0.2-99ba37d931-b254cc17ce.zip/node_modules/react/index.js' implicitly has an 'any' type.
  If the 'react' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react`

5 import * as React from 'react';
                         ~~~~~~~

.yarn/cache/@jupyterlab-notebook-npm-3.6.2-2183254c3c-d44476cfc0.zip/node_modules/@jupyterlab/notebook/lib/executionindicator.d.ts:3:19 - error TS7016: Could not find a declaration file for module 'react'. '/home/kiyoon/bin/nbactions/.yarn/cache/react-npm-17.0.2-99ba37d931-b254cc17ce.zip/node_modules/react/index.js' implicitly has an 'any' type.
  If the 'react' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react`

3 import React from 'react';
                    ~~~~~~~

.yarn/cache/@jupyterlab-notebook-npm-3.6.2-2183254c3c-d44476cfc0.zip/node_modules/@jupyterlab/notebook/lib/modestatus.d.ts:1:23 - error TS2688: Cannot find type definition file for 'react'.

1 /// <reference types="react" />
                        ~~~~~

.yarn/cache/@jupyterlab-notebook-npm-3.6.2-2183254c3c-d44476cfc0.zip/node_modules/@jupyterlab/notebook/lib/truststatus.d.ts:1:23 - error TS2688: Cannot find type definition file for 'react'.

1 /// <reference types="react" />
                        ~~~~~

.yarn/cache/y-protocols-npm-1.0.5-af6f64b4df-d19404a4eb.zip/node_modules/y-protocols/awareness.d.ts:85:20 - error TS2307: Cannot find module 'yjs' or its corresponding type declarations.

85 import * as Y from "yjs";
                      ~~~~~

I have NodeJS installed. I also tried npm install -g react but had no luck.
What else am I missing? Thanks for looking into this!

From what i can read here
Internal Error: nbactions@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
   at P0.getCandidates (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:435:5145)
   at yf.getCandidates (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:391:1264)
   at /home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7693
   at of (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:11070)
   at ge (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7673)

and here
Internal Error: nbactions@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
    at P0.getCandidates (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:435:5145)
    at yf.getCandidates (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:391:1264)
    at /home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7693
    at of (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:11070)
    at ge (/home/kiyoon/.local/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7673)

make sure that the pip and jlpm libraries are installed in the node_modules folder. Also instead of just calling and jlpm build try npx jplm build.
Hope this helps

It also seems like you are using yarn as your package manager. You shouldn't use yarn as your package manager and npm at the same time, you should pick one. Try running yarn install and see where that helps.

@onukwilip Thanks a lot! It really helped a lot. I'm very new to the web development.
I don't know how I installed yarn but I think it's because one of the programs I use required it.
I had to run npm install and it will create node_modules folder. From here, running npx jlpm build will use the correct version of jlpm installed through npm, not from the pip.

However, now I have an issue with pip install -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/kiyoon/project/nbactions
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing editable metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [31 lines of output]
      Traceback (most recent call last):
        File "/home/kiyoon/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable
          hook = backend.prepare_metadata_for_build_editable
      AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/home/kiyoon/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/kiyoon/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/kiyoon/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 176, in prepare_metadata_for_build_editable
          whl_basename = build_hook(metadata_directory, config_settings)
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatchling/build.py", line 78, in build_editable
          return os.path.basename(next(builder.build(wheel_directory, ['editable'])))
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatchling/builders/plugin/interface.py", line 93, in build
          self.metadata.validate_fields()
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatchling/metadata/core.py", line 243, in validate_fields
          _ = self.version
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatchling/metadata/core.py", line 128, in version
          self._version = self._get_version()
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatchling/metadata/core.py", line 222, in _get_version
          core_metadata = self.core
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatchling/metadata/core.py", line 174, in core
          metadata_hook.update(self.core_raw_metadata)
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatch_nodejs_version/metadata_source.py", line 176, in update
          authors = [self._parse_person(package["author"])]
        File "/tmp/pip-build-env-o05rawqj/overlay/local/lib/python3.10/dist-packages/hatch_nodejs_version/metadata_source.py", line 140, in _parse_person
          if {"url", "email"} & person.keys():
      AttributeError: 'str' object has no attribute 'keys'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

It looks like the hatch-nodejs-version package has some bug, but I don't know this well enough to tell if it's a bug or my misconfiguration.

I think maybe I don't need to do pip install -e .. I followed the ui-tests/, and with jlpm playwright test --headed I saw some browser and although test hasn't passed it is still a great progress.
I wonder if there's any way to use galata in Python. My plugin is already written in Python and users are mostly Python users, so it would be nice if I could keep my code in Python and encourage contribution.

Why are you using pip?

I don't know. This repo's readme says I need to install python dependencies

I think it's for building everything into a python package so you can distribute and install without nodejs installed (maybe)

As a new developer, you are not meant to use libraries you know nothing about or are unfamiliar with, it will introduce bugs to your code, just like this one

Oh it's just this repo (https://github.com/jasongrout/nbactions/blob/main/README.md#development-install). Yes that's true, I find it hard to understand the whole dependencies it requires without even knowing the language.

The Readme says, you'll need JupiterLab v3 or above, do you?

Then do this in order
Clone the repo to your local environment
Change directory to the nbactions directory
Install package in development mode
pip install -e "."
Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
Rebuild extension Typescript source after making changes
jlpm build

I installed JupyterLab with pip and yes it's the latest stable. I think this template isn't complete. So pip install nbactions doesn't work and probably if you build it yourself and package it you'll be able to upload it to pypa.
Except for the pip install, everything else seems alright. Maybe I'll need to fix some packages and dependencies to make it work


SQL Server supports a maximum of 2100 parameters

I have a centos server running php 7.1.5 and pdo_sqlsrv <IP_ADDRESS>.
I'm trying to insert 1000 rows at the same time and getting this error:
Tried to bind parameter number 2101.  SQL Server supports a maximum of 2100 parameters
I'm also have an ubuntu 16.04 machine with php 7.0.15 and pdo_sqlsrv <IP_ADDRESS>, executing the same script and got no errors.

Hi @rodineijf , are you binding a lot of parameters to your statement? (as explained in the error, SQL Server only supported 2100 parameters). If you are binding a lot of parameters, you can try to use emulate_prepare option (https://github.com/Microsoft/msphpsql/wiki/Features#emulate-prepare-in-pdo_sqlsrv-driver), which does the binding in the client side instead of using SQL Server.

@rodineijf , could you provide us with more information? How many parameters are you binding? What is the table schema? Which version of SQL server are you using? It would be best if you can provide us a repro script. :)

@rodineijf We have had several bug fixes since 4.0.8 release, could you try your script with our latest release?

[Mon May 29 15:47:41.183963 2017] [php7:notice] [pid 10551] [client <IP_ADDRESS>:51381] Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: IMSSP\nMessage: SQLSTATE[IMSSP]: Tried to bind parameter number 2101.  SQL Server supports a maximum of 2100 parameters. (SQL: insert into [controleTrafego] ([data], [dataSincronizacao], [idtrecho], [idveiculo], [sentido], [timestamp], [uuid]) values (2017-05-26 14:21:47.000, 2017-05-29 15:47:40.000, 1, 1, 2,<PHONE_NUMBER>069, 6a3c161a3e8e29a1), (2017-05-26 14:21:47.000, 2017-05-29 15:47:40.000, 1, 1, 2,<PHONE_NUMBER>069, 6a3c161a3e8e29a1) >>>>>  *** 1000**.
I tried with the lastest release and the same error occurs. Seems like a real restriction of sqlserver,  i only open this issue because in php 7.0 this same query works.

As the error message suggests, it's just some hard-coded limit, maybe arbitrary:
https://github.com/Microsoft/msphpsql/blob/v4.2.0-preview/source/shared/core_sqlsrv.h#L172
 const int SQL_SERVER_MAX_PARAMS = 2100;

https://github.com/Microsoft/msphpsql/blob/v4.2.0-preview/source/sqlsrv/util.cpp#L318
// new error for 2.0, used here since 1.1 didn't have a -52
{
    SQLSRV_ERROR_MAX_PARAMS_EXCEEDED,
    { IMSSP, (SQLCHAR*) "Tried to bind parameter number %1!d!.  SQL Server supports a maximum of 2100 parameters.", -52, true }
},

https://github.com/Microsoft/msphpsql/blob/v4.2.0-preview/source/pdo_sqlsrv/pdo_util.cpp#L183
{
    SQLSRV_ERROR_MAX_PARAMS_EXCEEDED,
    { IMSSP, (SQLCHAR*) "Tried to bind parameter number %1!d!.  SQL Server supports a maximum of 2100 parameters.", -29, true }
},

Thanks, i will adapt my script.

@rodineijf I kinda have similar problem like you when I do bulk insert in Laravel. The solution I used is you have to chunk your array of data to not exceed 2100, e.g seems you have 7 fields to insert, so you need to chunk your array of data to insert to 300 at most at one time.

I am getting the same error while importing configuration in Drupal 8. Is there any workaround for Drupal 8?

@rajeev-axl if you need help from us please provide more details and repro steps / scripts etc.


Error running rule validateQuoteMarks

I get an error only when Error running rule validateQuoteMarks with the **-fix ** flag. When I just run it to see the list of errors, no issue, it reports the issues as expected.
Original Error messages below:
This is an issue with JSCS and not your codebase.
Please file an issue (with the stack trace below) at: https://github.com/jscs-dev/node-jscs/issues/new
TypeError: Cannot read property 'value' of undefined at base.js :
1 |/**
--------^
2 | * Contains all helper functions for the site that have no other home.
3 | */

Can't repo it, would you mind posting your .jscsrc config and give a link to your file or part of it? (if you can).

Okay, ping us up, if you still facing the issue

Oh no. So sorry Mareklog, I never saw you reply. My apologies.
Oddly enough. My issue with validateQuoteMarks seems to have gone away.
In it's place I am getting"
Here is my .jscsrc

{
  "esnext" : true,
  "disallowEmptyBlocks" : true,
  "disallowTrailingWhitespace": true,
  "disallowSpaceBeforeComma": true,
  "disallowMixedSpacesAndTabs" : true,
  "disallowSpaceBeforeComma": true,
  "disallowSpacesInFunction": {
    "beforeOpeningRoundBrace": true,
    "beforeOpeningCurlyBrace": true
  },
  "requireTrailingComma" : {
    "ignoreSingleLine" : true
  },
  "requireCurlyBraces" : true,
  "requireCamelCaseOrUpperCaseIdentifiers": true,
  "requireParenthesesAroundIIFE": true,
  "requireCommaBeforeLineBreak": true,
  "requireDotNotation": true,
  "requireSpaceAfterComma": true,
  "requireSpacesInForStatement" : true,
  "requireSpaceAfterBinaryOperators" : true,
  "requireMultipleVarDecl": true,
  "requireSemiColons" : true,
  "requireVarDeclFirst": true,
  "validateQuoteMarks" : "'",
  "maxErrors" : -1
}

I am also seeing issues with "requireSemiColons" rule. I get a line that says "Unsupported rule"
Also, I seem to not see the error with "validateQuoteMarks" when I removed "requireSemiColons" from my .jscsrc.
Hope this helps, and again sorry for the delayed response.

Hm, what version do you use?

jscs version 2.8.0
Any other info I can give you?

Try to update to 2.9 version

Breakthrough #1. I realized that I mispelled requireSemicolons as requireSemiColons
"requireSemiColons" : true
So that error is pebkac. Sorry about that.
Update to 2.9
Upon first run, I got the same "validateQuoteMarks" error. But, I haven't been able to repro that since. I have a suspicion that it has to do with the incorrect spelling of the "requireSemicolons" rule.
Sorry for all that! If I find better repro steps I'll file a new bug. Thank you so much for your time and help.

Okay, thanks


better param checks for built-in value functions

bump up package build ver
better param checks for the built-in functions
casting (parsing) a string to numeric now infers to nullable type (e.g. toFloat(str) -> float?)

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


stderr is no longer used for the final 'build failure' message at the end of the build

The rich console stopped doing this awhile ago, I think.  With the plain console using the same infrastructure, it appears we no longer put out the "What went wrong" messages to stderr at all.

This is fixed (to some degree) in https://github.com/gradle/gradle/pull/4887

This is done enough for 4.7. The build failure ends up on stderr when using the plain console. All of the other error output still goes to stdout, like the other consoles.


Installing<EMAIL_ADDRESS>fails - regardless if I have it installed globally

Hey,
We are getting an issue when installing PhantomJS on our TeamCity agents.  ' Failed at the<EMAIL_ADDRESS>install script.'
This issue has been around for a while and we've been able to manage it by re running the build but now it is getting more frequent with about 4 fails to 1 success.
We have windows agents with PhantomJS installed globally, we clear the node modules on every build and runs the 'npm install' on every build.  (I cannot understand why it is installed globally but it still needs to be downloaded)
We've tried to debug this locally but cannot as it is successful everytime, the only thing I can do is provide the error response:
[11:10:51][Step 3/12] ><EMAIL_ADDRESS>install C:\BuildAgent2\work\7ea1530d04a43808\src\FrontendBuildTasks\node_modules\karma-phantomjs-launcher\node_modules\phantomjs
[11:10:51][Step 3/12] > node install.js
[11:10:51][Step 3/12] Looks like an `npm install -g` on windows; unable to check for already installed version.
[11:10:51][Step 3/12] Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip
[11:10:52][Step 3/12] Saving to C:\BuildAgent2\temp\buildTmp\phantomjs\phantomjs-1.9.8-windows.zip
[11:10:52][Step 3/12] Receiving...

[11:11:01][Step 3/12] Received 7292K total.
[11:11:01][Step 3/12] Extracting zip contents
[11:11:01][Step 3/12] Removing E:\Agent 02\work\7ea1530d04a43808\src\FrontendBuildTasks\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom
[11:11:01][Step 3/12] Copying extracted folder C:\BuildAgent2\temp\buildTmp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1427368259546\phantomjs-1.9.8-windows -> E:\Agent 02\work\7ea1530d04a43808\src\FrontendBuildTasks\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom

[11:11:05][Step 3/12] npm ERR<EMAIL_ADDRESS>install: `node install.js`
[11:11:05][Step 3/12] npm ERR! Exit status 1
[11:11:05][Step 3/12] npm ERR!
[11:11:05][Step 3/12] npm ERR! Failed at the<EMAIL_ADDRESS>install script.
[11:11:05][Step 3/12] npm ERR! This is most likely a problem with the phantomjs package,
[11:11:05][Step 3/12] npm ERR! not with npm itself.
[11:11:05][Step 3/12] npm ERR! Tell the author that this fails on your system:
[11:11:05][Step 3/12] npm ERR!     node install.js
[11:11:05][Step 3/12] npm ERR! You can get their info via:
[11:11:05][Step 3/12] npm ERR!     npm owner ls phantomjs
[11:11:05][Step 3/12] npm ERR! There is likely additional logging output above.
[11:11:05][Step 3/12]
[11:11:05][Step 3/12] npm ERR! System Windows_NT 6.1.7601
[11:11:05][Step 3/12] npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
[11:11:05][Step 3/12] npm ERR! cwd C:\BuildAgent2\work\7ea1530d04a43808\src\FrontendBuildTasks
[11:11:05][Step 3/12] npm ERR! node -v v0.10.24
[11:11:05][Step 3/12] npm ERR! npm -v 1.3.21
[11:11:05][Step 3/12] npm ERR! code ELIFECYCLE

Let me know if you need anymore info!
Thanks
Liam

Please check if you have installed bzip2 and tar packages  - yum install tar bzip2 -y or apt-get install tar bzip2 -y

+1
Same problem.
@piotrpasich Hmm? We're not using yum.

We weren't using yum either.  The main issue was our npm version (1.3).  Our operations team update this,  node and git which reduced the amount of times this issue appeared.  It went down to around 1 out of 10 times instead of 1/3.  We have decided to use the https://www.npmjs.com/package/karma-phantomjs-launcher-nonet plugin to stop us from downloading it everytime.  (We also tried setting the environment path variable to phantom but it still downloaded it regardless)

I'm seeing the same thing as @liam-swinney on Jenkins (Windows server). I've decided to switch over to phantomjs-launcher-nonet as well. Setting PHANTOMJS_BIN didn't seem to help either. The install would still fail and Karma wouldn't be able to launch phantomjs.
It would be great if this plugin would provide the same option.

Could be solved by https://github.com/karma-runner/karma-phantomjs-launcher/issues/56#issuecomment-103212246


Add reference to permission set to ssoadmin AccountAssignment

Description of your changes
Add a reference to the ssoadmin PermissionSet to ssoadmin AccountAssignment

Fixes #888
I have:

[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

I'm planning a larger PR to make working with SSO resources nicer (adding some missing resources and references to them).
Because these examples require manual intervention, I'll run the tests locally against my aws account which has a real SSO instance and post the results.

Closing in favor of #928, which has these changes and more, with tests.


Add a "Toggle Word Wrap" button to the Output window

Visual Studio's Output window has a "Toggle Word Wrap" button, but VS Code has word wrapping always (?) enabled. For certain scenarious like the pending "C/C++ References" output it is desirable for word wrapping to be disabled for the results to be more easily read. There is a "View: Toggle Word Wrap" command, but it applies to the active document only (and not the Output panel, even if it's active).
And/or if the OutputChannel interface could add a toggleWordWrap capability, that would allow extensions to set an appropriate default for their particular Output channel.
This seems like a pretty basic feature that other Output channel providers would want, but I couldn't find an existing feature request on this.

https://github.com/microsoft/vscode/issues/21468
This describes the same issue and led adding a config option but it doesn't seem to work or the feature request was misunderstood?

@ol-bones Thanks a lot -- I can use that [Log] setting as a workaround; however, the result is still not ideal because it will apply to all Output windows and our extension would prefer to isolate the behavior to a specific one. (And a button in the UI would make it easier to discover than a hidden setting that isn't even auto completed that most users won't be able to discover).

Currently, one workaround is to set:
"[Log]": {
    "editor.wordWrap": "on" // "off", "bounded", "wordWrapColumn"
},

@panchalkalpesh Yes, that is the same workaround I was describing (which our C/C++ extension uses), but it applies to all the output panes, and we'd prefer to isolate the change to a particular output pane (e.g. "C/C++" or "C/C++ References" and not "Git", etc.).

@sean-mcmanus that's a nice to have feature.

For log files, I had the word wrap button visible & after a few moments it just disappeared

It looks like the 'editor.wordWrap' setting no longer works for [Log].  Was it removed intentionally?

Ah, it's working for me now.  It looks like it requires a Reload Window after it is set.

View: Word Wrap command is now also supported for Output Channels.


remappings create incompatibilities between libarires

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
0.1.0
What command(s) is the bug in?
generally
Operating System
macOS (Intel)
Describe the bug

consider how in this project, my remappings map openzeppelin's library as "openzeppelin-contract": https://github.com/whitecube-online/balot/blob/3ed4f8a8c08bd59fad1f404597e3c1c2f7312499/remappings.txt#L1
However, another library chose to remap to "@openzeppelin": https://github.com/botdad/chain-claim/blob/d9bee752457e400ab3eac9988b6c7a755e7ff925/remappings.txt#L1

Now, e.g. if I have a project setup with 'openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/' but then integrate e.g. botdad's chain-claim, I'll be forced to use the @openzeppelin remapping.

Currently, that's manageable for me as I'm only integrating one library that has this incompatibility between remappings. But image now e.g. solmate used a different remapping and I also wanted to integrate it: thing would start get really tricky...

Rolling up into https://github.com/foundry-rs/foundry/issues/1855 as they are the same issue


RuntimeError - can't add a new key into hash during iteration

RuntimeError - can't add a new key into hash during iteration
	/Users/burg/.rvm/gems/ruby-2.3.0/gems/webmock-1.22.3/lib/webmock/util/hash_counter.rb:15:in `block in put'
	/Users/burg/.rvm/gems/ruby-2.3.0/gems/webmock-1.22.3/lib/webmock/util/hash_counter.rb:14:in `synchronize'
	/Users/burg/.rvm/gems/ruby-2.3.0/gems/webmock-1.22.3/lib/webmock/util/hash_counter.rb:14:in `put'
	/Users/burg/.rvm/gems/ruby-2.3.0/gems/webmock-1.22.3/lib/webmock/http_lib_adapters/net_http.rb:77:in `request'
	/Users/burg/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/net/http.rb:1378:in `send_request'
	/Users/burg/git/infinidat/infinibox-webgui2/webgui/test/spec/support/sinatra_proxy.rb:26:in `block in <class:SinatraProxy>'

The above is being caused by RequestRegistry.times_executed which iterates on the hash while some other thread might be setting it.
Working on a pull request

Is there a fix coming for this? I've run into this issue as well.


Allow paremeters for jobmanager in docker-entrypoint.sh

This change will enable passing parameters to jobmanager starting script. So you can set host and webui-port by yourself. Without setting right hostname isn't possible properly configure cluster on Kubernetes.
(Instead of PR #51 )

Thanks!


Build for ARM

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

It's probably best to not do this manually. There is a migration bot:
https://conda-forge.org/docs/maintainer/knowledge_base.html#apple-silicon-builds
I'll open the appropriate pull request.

See: https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/5003

Thanks for your information and I will close this.


question

Hello! thanks for this amazing work. It works perfectly from a scratch. I have instaled the scrip with DNS recursion turned on. Now i want to turn it of and specify particilar servers in dnmasq configuration of my router. i think it may be the more secure way. Is there a easy way how to turn recursion off or shall i reinstall completely? I am quite newbie with linux basics. sorry for asking silly questions :) Many thanks! BR, Pavel

Hi, your server should be protected by firewall rules installed during build, so you don't really need to disable recursion. Just leave it as it is. Just configure your dnsmasq server to forward specific domains to your VPS and it should work.

Closing due to inactivity.


Distric wise breakdown change value is not updated

This is not an issue. As the change in values totally dependent on data coming from API.

If there is no data coming as a district-wise change.. then that shouldn't bbe displayed.. it gives no information on drilling down.

The delta values for each districts are present in the API, even if it's 0. Whether to show 0 or now is a matter of interpretation. For now, let's keep this as is.


No longer working

Seems the links in the wiktionary have changed.
The Outputfile is almost empty and i have neither any error messages nor a second file that explains what went wrong:
//
// This work/these contents are derived from/based on Wiktionary contents, input file: dewiktionary-latest-pages-articles.xml
// and created using code copyright 2020 by repodiac (see https://github.com/repodiac, also for information how to provide attribution to this work)
//
// DATE OF CREATION: 02.11.2024
//

This code was a side project of some TTS coding... I am sorry to hear that it does not work any more :( I cannot promise but I'll try to take a look.


no option to add geometry in polygon layer on a builder map

Context
For some maps with polygon layers, it appears the option to add geometry by drawing on the map but for others it doesn't.
The polygons layers doesn't have analysis. The error is not always happening, if I add twice the same polygon layer, and for the first layer (a0) CARTO does not allow me to add geometry on the map and for the second layer (c0) it allows me to add a geometry on the map
Steps to Reproduce

Create map
Add polygon layer
The option/icon  to add geometry on the map does not appear.

Current Result

Expected result

Is this an organization user? If it is, then it's very likely related to #10694

It is, thanks @javitonino !

S/B: 10533494

Deploying the fix now! https://github.com/CartoDB/cartodb/pull/10708


github release notes generation configuration

What

Label
Release notes title

kind/breaking-change label
Breaking Changes 🛠

kind/enhancement
Title Exciting New Features 🎉

kind/bug
Title Bug Fixing 🐞

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.41%. Comparing base (f586167) to head (0a82701).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #138       +/-   ##
===========================================
- Coverage   85.52%   66.41%   -19.12%
===========================================
  Files          19       14        -5
  Lines         988      661      -327
===========================================
- Hits          845      439      -406
- Misses         94      209      +115
+ Partials       49       13       -36

Flag
Coverage Δ

integration
?

unit
66.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components
Coverage Δ

api/v1alpha1 (u)
90.47% <ø> (-9.53%)
:arrow_down:

pkg/helpers (u)
∅ <ø> (∅)

pkg/log (u)
36.84% <ø> (-57.90%)
:arrow_down:

pkg/reconcilers (u)
36.68% <ø> (-38.00%)
:arrow_down:

pkg/limitador (u)
87.34% <ø> (-10.76%)
:arrow_down:

controllers (i)
∅ <ø> (∅)

pkg/upgrades
75.00% <ø> (-13.89%)
:arrow_down:

see 14 files with indirect coverage changes


Update sharing with ASA v2.0.0

Upgrade to Azure Spatial Anchors 2.0
Bug fixes

Docs Build status updates of commit 9d7dbfe:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/mrlearning-sharing(photon)-ch2.md
:warning:Warning
View
Details

mixed-reality-docs/images/module3chapter2step11im.PNG
:white_check_mark:Succeeded
View

mixed-reality-docs/images/module3chapter4step11im.PNG
:white_check_mark:Succeeded

mixed-reality-docs/mrlearning-sharing(photon)-ch1.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-sharing(photon)-ch4.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-sharing(photon)-ch5.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-sharing(photon)-ch2.md

Line 82: [Warning] Invalid file link: 'mrlearning-asa-ch1'.

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.

Docs Build status updates of commit 821b0fa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/images/module3chapter2step11im.PNG
:white_check_mark:Succeeded
View

mixed-reality-docs/images/module3chapter4step11im.PNG
:white_check_mark:Succeeded

mixed-reality-docs/mrlearning-sharing(photon)-ch1.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-sharing(photon)-ch2.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-sharing(photon)-ch4.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-sharing(photon)-ch5.md
:white_check_mark:Succeeded
View

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.

Tagging @jessemcculloch


Create robots.txt file so that site can be indexed properly in Search Engines such as Google.

User Story(s):
As a product owner, I expect the web application to be easily searched by Google and other Search Engines to improve exposure and finding by educators.
Description: Add a basic setup for crawling by Search Engines.

Need to create this file. Here is a template:
User-agent: *
Disallow: /admin/
Disallow: /private/
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /temp/
Disallow: /cache/
Disallow: /logs/

User-agent: Googlebot
Disallow: /private/

User-agent: Bingbot
Disallow: /admin/
Disallow: /private/

Sitemap: https://www.example.com/sitemap.xml
`

create both files sitemap.xml and robots.txt but having trouble adding the files to the root of the repo


No option to customise removing tags

It would be nice if you could add sth like onTagRemove to handle removing tags just like onTag() used to add tags.

I will look into this soon.

I will look into this soon.

thanks, that'd be quite a help.

I have added an onDelete callback now.


Movie Recommendation system on the basis of emotion

This Emotion-Based Movie Recommendation System recommends movies based on the user's emotional state. It uses predefined emotions like Romance, Thriller, Comedy, Horror, and more to suggest relevant movie genres. Each emotion is mapped to a specific IMDb URL, where movies are curated based on genre and user rating.
This system makes it easy for users to select a movie that matches their mood, automating the process of finding the perfect film for the moment.
output:
output screen:

After clicking link

@Niketkumardheeryan
Please add the following tags to the issue:  gssoc-ext, hacktoberfest.
Kindly assign this issue to @Amanjayswal500

I m a gssoc extended contributor . Please assign this project to me and also add the label.

gssoc extd
hacktobefest


Local android llm

Use gpt4all java bindings. If that doesn’t work https://mlc.ai/mlc-llm/#android

Doesn’t gpt4all have java extensions? Why can’t those work on android? If not gpt4all then we can fallback to https://mlc.ai/mlc-llm/#android

How much for this?


How to deploy trained model to CPU?

Hi,
Is there any way to publish the model to CPU? I used the publish.py script to convert the model to CPU, but I cannot install the mmdetection library in a CPU only environment. Is it possible to perform inference in a CPU only environment? Is it possible to do so using ONNX?
Thanks :)

Go through the issues Link1. It should have mentioned in the README.

I actually created separate project for that. Currently it's only retinanet, but may be helpful: https://github.com/akarazniewicz/smd

Hi,
Is there any way to publish the model to CPU? I used the publish.py script to convert the model to CPU, but I cannot install the mmdetection library in a CPU only environment. Is it possible to perform inference in a CPU only environment? Is it possible to do so using ONNX?
Thanks :)

.onnx is ok


Get with header isn't working

Please put a line in the documentation explaining how to set headers in a get. It works in superagent but I can't figure out how to do it in superagent-promise. These both fail:
const result = await superagent('GET',  url).set('token', testData.token).end();
const result = await superagent.get(url).set('token', testData.token).end();

@RichardJECooke I can't speak to using the new await syntax, but superagent.set does work. Have you looked at what the compiled code looks like for these snippets?

The await part isn't relevant, it just compiles down to yield or something.
But can you please give example code for superagent.get with a header that you use? There's none on the homepage and it's the only thing I can't get to work. POST works fine.

I linked to https://github.com/yahoo/elide-js/blob/master/lib/datastores/jsonapidatastore.js#L975-L977 in my comment to a function we are using to set headers on a superagent-promise wrapped instance of superagent for GET, POST, PATCH, and DELETE.


Unsupported JSONB encoding version

Setup
Versions

Rust: rustc 1.43.0 (4fb7144ed 2020-04-20)
Diesel: 1.4.4
Database: Postgres
Operating System Windows 10 (but it's unrelated)

Feature Flags

diesel: ["postgres", "r2d2", "uuidv07", "serde_json"]

Problem Description
It's not possible to fetch entity with jsonb column from the database. I'd like to share more information but error doesn't include data on which it failed (e.g. what version of JSONB it faced). See steps for reproduce.
UPD.
I forked 1.4.x and added some additional logging so I've got
DeserializationError("Unsupported JSONB encoding version 123")

What are you trying to accomplish?
Fetch entity with jsonb column from the database
What is the expected output?
fetch entity with jsonb column from the database
What is the actual output?
DeserializationError("Unsupported JSONB encoding version")
Are you seeing any additional errors?
No
Steps to reproduce

Install Postgres 12.0
Create a table with uuid PK and jsonb field.
Insert some test data
Create table and entity model:use diesel::prelude::*;
use uuid::Uuid;
use serde::{Serialize, Deserialize};
use serde_json::Value as JsonValue;
use diesel::table;

#[derive(Queryable, Serialize, Deserialize, Debug)]
pub struct CompanySettings {
	pub CompanyId: Uuid,
	pub Preset: JsonValue,
}

table! {
	dbo.CompanySettingsView (CompanyId) {
		CompanyId -> Uuid,
		Preset -> Jsonb,
	}
}

Try to fetch some datause schema::CompanySettingsView::dsl::*;

CompanySettingsView.limit(100).load::<CompanySettings>(&connection)

Checklist

[x] I have already looked over the issue tracker for similar issues. Related to #1788
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)

I've tried to reproduce that locally using postgres 12.2 on ubuntu and I've failed to reproduce the issue with the following code:

use diesel::prelude::*;
use diesel::table;
use serde::{Deserialize, Serialize};
use serde_json::Value as JsonValue;
use serde_json::json;
use uuid::Uuid;

table! {
    CompanySettingsView (CompanyId) {
        CompanyId -> Uuid,
        Preset -> Jsonb,
    }
}

#[derive(Queryable, Serialize, Deserialize, Debug)]
pub struct CompanySettings {
    pub CompanyId: Uuid,
    pub Preset: JsonValue,
}

fn main() {
    let conn = PgConnection::establish("postgres://localhost/diesel_tests").unwrap();

    diesel::sql_query(r#"CREATE TABLE IF NOT EXISTS "CompanySettingsView" ("CompanyId" UUID PRIMARY KEY, "Preset" JSONB NOT NULL)"#)
        .execute(&conn)
        .unwrap();

    diesel::insert_into(CompanySettingsView::table)
        .values((
            CompanySettingsView::CompanyId.eq(Uuid::new_v4()),
            CompanySettingsView::Preset.eq(json!({
                "name": "John Doe",
                "age": 43,
                "phones": [
                    "+44 1234567",
                    "+44 2345678"
                ]
            })),
        ))
        .execute(&conn)
        .unwrap();

    let res = CompanySettingsView::table
        .limit(100)
        .load::<CompanySettings>(&conn);

    dbg!(res);
}

Feel free to provide an updated example on how to reproduce this issue otherwise I will close this now as cannot reproduce.

The problem was field had Text type, not Jsonb. Because it's view (not a table) I couldn't get the right macro text from print-scheme so I have wrote it manually with typos.
Choosing proper types for columns fixes the issue.


Non-standard viewing aspect margins too narrow

Compared to the default theme on mobile (Pixel 7) the margins are too narrow. It would be excellent to have these be the proper size.
The default:

Dekurai:

This issue also occurs with an obisidan window taking up half a PC screen as an example. It just seems to be any non-standard viewing aspect

I can’t check it on the phone yet, only on the computer in “phone” mode, but it’s not the same. I'll try to fix it as soon as I can check it on my phone. Sorry


Links in available classes

Description
Find a way to automatically generate links on the available classes to their API documentation.

Proposal : Use of autosummary

It will be worth trying how this option behave


CASMINST-5562: Linting

Description
Just linting. No real content changes.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.3


inference on a few images

Hi i read the inference part on the README, but it is not very clear.
Considering one would like to produce x2 sample  of one image.
What is the st_test directory structure needed to infer and produce a scaled image x2?
Best

I keep getting the error
PermissionError: [Errno 13] Permission denied: '/datasets'


Fix the possible migration failure on 286 with postgres 16

Try to fix #31205

Wonder why tests didn't catch that. Do we have tests that execute all migrations against all DBs?

Wonder why tests didn't catch that. Do we have tests that execute all migrations against all DBs?

We already have a test for v286 migration and my local test also cannot find it. Maybe it's related to some postgres arguments.

Okay, strange issue. But this change is good to have in any case and we should have spottet this during review.


something wrong in my app with error "close cannot be used while an asynchronous query is underway"

Renctly I tried to  redeploy my project  used with sanic frame ,some errors happened when I do a test under high-concurrency.
info in the log:
close cannot be used while an asynchronous query is underway

and the traceback is below:
Traceback (most recent call last):
  File "/home/mwh/ad_sanic/handlers/oprs.py", line 17, in post
    _parsed_req = await ReqParser(_req_body,'parse',req_ip=(request.headers['Remote-Addr']).split(':')[0]).parser()
  File "/home/mwh/ad_sanic/utils/req_parse.py", line 49, in parser
    _mapped['sim_country_iso'] = await self.geo()
  File "/home/mwh/ad_sanic/utils/req_parse.py", line 75, in geo
    db_country = (await self.db.get(DbIp.select(DbIp.country).where((DbIp.ip_from<=self._req_ip)&(DbIp.ip_to>=self._req_ip)))).country
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 169, in get
    result = yield from self.execute(query.limit(1))
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 269, in execute
    return (yield from execute(query))
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 428, in execute
    return (yield from coroutine(query))
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 569, in select
    cursor = yield from _execute_query_async(query)
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 1491, in _execute_query_async
    return (yield from _run_sql(query.database, *query.sql()))
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 1476, in _run_sql
    cursor = yield from database.cursor_async()
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 902, in cursor_async
    return (yield from self._async_conn.cursor(conn=conn))
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 1067, in cursor
    conn = yield from self.acquire()
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/peewee_async.py", line 1036, in acquire
    return (yield from self.pool.acquire())
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/aiopg/utils.py", line 67, in __iter__
    resp = yield from self._coro
  File "/home/mwh/py3.5_virtuanlenv/lib/python3.5/site-packages/aiopg/pool.py", line 180, in _acquire
    yield from self._cond.wait()
  File "/usr/local/lib/python3.5/asyncio/locks.py", line 326, in wait
    yield from fut
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 385, in __iter__
    yield self  # This tells Task to wait for completion.
  File "uvloop/future.pyx", line 434, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:112710)
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 266, in result
    raise CancelledError
concurrent.futures._base.CancelledError

what caused this problem?

Probably that's some kind of edge case with uvloop and aiopg. Does this error happen without uvloop?

I have this bug without uvloop.

Yes. I have the same issue.
I wanna testing my model with aiohttp and unit test.
I would try to solve it for an other driver, local threads parameters or override event loop.
But looks like its not helpful, manage connections has no effect too.
It's just testing, what if that issue will happen in a production.

You should explicity call objects.close() before close event loop

I get this while performing unit tests.
I have a series of simple tests to grab an entity with a simple manager context query.  By default, the loop will be closed at the end of the test (i.e. the default fixture scope is function).

To fix the issue, I created a conftest.py file at the root of my tests that has the following replacement fixture.
import pytest
import asyncio

@pytest.fixture(scope='session')
def event_loop():
    return asyncio.new_event_loop()

Maybe this will help someone else who lands here from google.


Smart Contract Account Permissions not checked on local transaction submission

Description
Enabling smart contract based account permissioning results in transactions from non-allowed accounts filling the local nodes transaction pool.
Steps to Reproduce (Bug)

Deploy smart contract based account permssioning (AccountIngress + Admin + AccountRules contracts)
Send multiple signed raw transactions from an address not in the contracts allowlist.

Expected behavior: [What you expect to happen]
Send raw transaction request should be rejected with a suitable error.
Actual behavior: [What actually happens]
Transaction submission succeeds but transaction fails to be confirmed (included in a block), and future transactions remain in the local nodes transaction pool. The first transaction (nonce 0) is 'silently' dropped.
Frequency: [What percentage of the time does it occur?]
Every time
Versions (Add all that apply)

Software version: 1.4.6

Additional Information
It looks like the onchain permission checks don't run as part of the checks when adding a transaction to the local nodes pool.

hi @magooster - this is by design.  The reason behind this is that onchain permissioning rules can be updated while a transaction is being added to or is in the transaction pool. This means the transaction might be allowed by the time it is added to a block.
When permissioning rules are applied for onchain and local permissioning is illustrated here:
https://besu.hyperledger.org/en/stable/Concepts/Permissioning/Permissioning-Overview/#onchain
The order transactions are dropped in is described here: https://besu.hyperledger.org/en/stable/Concepts/Transactions/Transaction-Pool/#dropping-transactions-when-the-transaction-pool-is-full
Let me know if that doesn't make sense or this behaviour is causing specific issues for your use-case.

Thanks for the feedback, I was missing the content in the first link. Personally i'm not convinced  about the logic for when the checks are applied. The edge case for the reverse logic would be a transaction might be rejected after it has been accepted into the pool, at least the submitter would get 'feedback' at submission time.
Also in the scenario I describe above only the first transaction with the current sender nonce is evaluated against the contract permissions during block processing, the other transactions with future nonces pollute the pool, as the nonce validation occurs before the permissions validation.
The only way those will get processed is if i) the sender manually fills in the nonce gap and ii) the sender address is added to the allow list.
If the validation order were changed such that the permissions check occurs before the current nonce check  then those future transactions would not pollute the transactions pool.

I don't have a specific use-case, but one problem with the current implementation is that an external system has no means to efficiently capture and respond to a permissions failure.  With local permissions on submission an error would be returned. With other contract based permissions I can add a revert and interrogate that. The permissioning contracts provide neither, happy to be corrected here...
Options with the current implementation I can see is to manually call the permissioning contract prior to submission, or sync the local permissions with the contract.

@lucassaldanha - I'm looking at this again and I think we should talk about these two points specifically in standup on Monday:

If the validation order were changed such that the permissions check occurs before the current nonce check then those future transactions would not pollute the transactions pool.

With other contract based permissions I can add a revert and interrogate that. The permissioning contracts provide neither, happy to be corrected here...

@magooster - we talked about this today and wondered if you could expand on this point specifically:

With other contract based permissions I can add a revert and interrogate that.

By other contract based permissions do you mean contract permissioning implemented by another client? Or using Besu with an alternative permissioning contract?
I'm going to update the Besu documentation to make this clearer but the provided permissioning contracts are a simple implementation and the Besu permissioning is designed so the contracts can be switched out for contracts designed to meet specific use cases.

I meant that a permissioning system can be added to any smart contract implementation, which is evaluated at transaction execution time within the EVM. I can then use a revert statement in my contract implementation to indicate a permissioning issue. The revert reason is available for clients for interrogation.  I can even invoke via a call to check prior to transaction submission.   This is not possible with the permissioning contract implementation as they are evaluated separately as part of the general transaction validation (gas price, gas supplied, signature etc).

which is evaluated at transaction execution time within the EVM

I believe a problem with this approach is that the target node will need to allocate resources and start the tx execution in the EVM for any transactions, even those that aren't allowed. We have tried to avoid that with our implementation, applying permissioning rules outside the tx execution.
Even with onchain permisioning, the rules are written onchain, but the enforcement happens pre tx-execution. The spec even has specific events to allow caching of the allowed accounts s owe minimise the impact of evaluating the rules in the client.

a permissioning system can be added to any smart contract implementation

This is correct. There are use cases that can benefit from this approach instead of the "EEA" approach. But then it isn't a client implementation domain and more a "smart contract domain", isn't it?


Add tests relating to lambda exclusion and boolean promotion

Add three tests:
test_lambda_exclusion:
Tests for deep copy of closed variables when
using a lambda. More specifically, deep copying
other lambdas on closure.
test_lambda_exclusion2:
Tests for deep copy of closed variables when
using a lambda. More specifically, deep copying
other lambdas on closure.
Added lambda ref param.
test_promo8:
Tests coercion of bools into ints, etc.

Great!


qpdf: 7.1.1 -> 8.0.0

Semi-automatic update. These checks were done:

built on NixOS
ran /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/bin/fix-qdf --version and found version 8.0.0
ran /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/bin/qpdf --help got 0 exit code
ran /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/bin/qpdf --version and found version 8.0.0
found 8.0.0 with grep in /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0
found 8.0.0 in filename of file in /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0

cc @abbradar

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0
shrinking /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0/bin/zlib-flate
shrinking /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0/bin/qpdf
shrinking /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0/lib/libqpdf.so.21.0.0
gzipping man pages under /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0/lib  /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0/bin
patching script interpreter paths in /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0
checking for references to /build in /nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0...
/nix/store/qjrs972h5k24qz6mdqcbzg6lagiksg8h-qpdf-8.0.0

Success on x86_64-darwin (full log)
Partial log (click to expand)
if [ -f doc/qpdf-manual.pdf ]; then \
	cp doc/qpdf-manual.pdf /nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0/share/doc/qpdf; \
fi
cp doc/*.1 /nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0/share/man/man1
post-installation fixup
gzipping man pages under /nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0/lib  /nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0/bin
patching script interpreter paths in /nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0
/nix/store/cxpvpmz9i89851phwsykzzclrnwazgi5-qpdf-8.0.0

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0
shrinking /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/lib/libqpdf.so.21.0.0
shrinking /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/bin/qpdf
shrinking /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/bin/zlib-flate
gzipping man pages under /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/lib  /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0/bin
patching script interpreter paths in /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0
checking for references to /tmp/nix-build-qpdf-8.0.0.drv-0 in /nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0...
/nix/store/788zbmljyhaj8y93k7q5lqpah0c9pcz0-qpdf-8.0.0

Thank you for those updates, they are pretty useful!


[QUESTION] How to add a connection to a group using Management SDK

I need to add a connection to a group using Management SDK, so I can use IServiceHubContext.Groups.AddToGroupAsync(string connectionId, string groupName), but how can I get connectionId? It isn't exposed at client side https://github.com/dotnet/aspnetcore/issues/5325.

Don't mind, connectionId is now exposed https://github.com/dotnet/aspnetcore/blob/b296f0c10161b657dc1d319e487e3391d04883a5/src/SignalR/clients/ts/signalr/src/HubConnection.ts#L126


Extra margin between  and

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I don't really expect a fix for this because this will go away when bootstrap switches from gutters to gaps (see #37384). Still I wanted to document this issue so others can find it.
Sometimes multiple input elements should be grouped together, e.g. a date and a time input or 3 select elements that represent day, month, and year (these may not be perfect examples, but you get the idea).
Visually it makes sense to put these inputs in a row. Semantically it makes sense to put these inputs in a <fieldset>. Now the trouble is: <legend> does not work well with negative margins that are used to implement vertical gutters (tested in firefox and chromium).
This is an issue with the implementation of gutters, so using gaps instead solves this issue. Fortunately, gaps work for flex elements in all browsers, so we can use class="g-0 gap-3" as a workaround.
Reduced test cases
<fieldset class="mb-3 ">
    <legend class="form-label">Date time</legend>

            <input type="text" name="time" class="form-control">

            <input type="text" name="date" class="form-control">

</fieldset>

What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.2.3

Yeah, this will be fixed in a v6 update when we move from margin/padding gutters to gaps.


Bugged: Infinite scrolling + Pinned columns (simple fix)

If you use infinite scrolling and pinned columns together, you can scroll on the pinned columns with the mousewheel. The scroll destroys the view.
It looks to be caused because the element borderLayout_eGridPanel has overflow set to "auto". Removing that fixes the issue. I think this is probably a simple fix, but I'm not entirely sure why it's EVER set to auto, so I thought I'd send you the information and you could apply the simple fix in a way that wouldn't break other things.
Screenshots:
With overflow auto (default)

Without overflow auto

@scotthovestadt i can't reproduce. how do you scroll over the pinned columns? scrolling while over the pinned columns i understood to be something you could not do.

Infinite scrolling + Datasource + Mac trackpad scrolling
The fix is definitely not setting overflow auto on that specific element

@ceolter My pull request for #398 fixes this bug! Thanks for your time in reviewing.

@scotthovestadt  will take a look soon. thanks for PR.

@ceolter Thanks! It will help me a lot if you can merge it in and do a release soon! :+1:
I've been using it locally with almost no issues. I made another small commit to handle the one issue I found.

this is now fixed i believe.


How does scaling work when deployed as an Azure Function within Azure App Service?

Hello. We would like to deploy an AF utilizing this library to our Azure App Service plan instead of deploying to an AF Premium plan. How does the scaling of this AF using this library work when hosted inside Azure App Service plan? Does it run as a singleton instance or does it create more instances when the single instance starts to lag behind?
I am aware of being able to scale up or out the entire App Service Plan but how does the AF running inside the Azure App Service automatically scale itself is my question?
Should our code be deployed as a WebJob instead to take advantage of scaling?
Thanks

Azure App Service Plan doesn't have a good scaling feature. The App Service Plan scaler doesn't see the kafka related metrics. It sees general metrics, like CPU, Memory, Socket, Storage for example. Azure Functions Scales with workers. That mean, We don't scale in a worker.

@TsuyoshiUshio thanks - this is what we had concluded having to scale the entire app service plan.

@TsuyoshiUshio is the same true for App Service Environment? We want to have function apps running inside our private network and we are investigating whether we need K8s cluster with KEDA or is autoscaling supported on App Service Environment?


I installed everything.

But how do I actually use the bot? I'm confused on how to do that. I'm not good at coding.

Create an index.js file. Then see readme.MD for the code to put in and finally execute it via nodejs index.js - that's it

Create an index.js file. Then see readme.MD for the code to put in and finally execute it via nodejs index.js - that's it

How exactly do I create a index.js file?


In v0.86.0 unbounded mouse cannot drag-and-drop sort re-layout

Microsoft PowerToys version
v0.86.0
Installation method
GitHub
Running as admin
None
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
In v0.86.0 unbounded mouse cannot drag and drop to sort and re-layout, as shown below:

This is my actual computer location layout, which is normal on the machine:

However, the display on the main controller is the opposite, and it cannot be dragged. Obviously, the controller is on the right, but I can only move the mouse from the left to another controller, which is very awkward. In fact, the other computer is on my right. Shouldn't it slide from the left to the right?

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

I can return to the left computer from the right computer by turning on the packing mouse function, but the layout drag is still invalid.


System-tests: March list of disabled tests

io.enmasse.systemtest.standard.mqtt.PublishTest#testPublishQoS2

bug: (QoS2 isn't implemented)
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/mqtt/PublishTest.java#L55

io.enmasse.systemtest.standard.QueueTest#testScaledown

bug: #851  #1134
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/QueueTest.java#L175

io.enmasse.systemtest.standard.TopicTest#testTopicWildcards

bug: #105 (probably)
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/TopicTest.java#L209

io.enmasse.systemtest.standard.TopicTest#testDurableLinkRoutedSubscription

bug: (if I remember correctly TopicTests were disabled due to some issue with sending mqtt messages)
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/TopicTest.java#L230

io.enmasse.systemtest.standard.TopicTest#testDurableMessageRoutedSubscription

bug: (if I remember correctly TopicTests were disabled due to some issue with sending mqtt messages)
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/TopicTest.java#L273

io.enmasse.systemtest.brokered.SmokeTest#testCreateAlreadyExistingAddress

status: probably fixed: waiting for answer from developer. Test needs to be modified before enable in master!
bug: #346
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/brokered/SmokeTest.java#L107

io.enmasse.systemtest.brokered.jms.TopicTest

bug: ENTMQBR-912
code: https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/brokered/jms/TopicTest.java#L118
fix for that was merged: https://github.com/apache/activemq-artemis/pull/1678

io.enmasse.systemtest.brokered.TopicTest.test#TopicPubSubWildcards

bug: https://github.com/EnMasseProject/enmasse/issues/590
code: https://github.com/EnMasseProject/enmasse/blob/f5e517ecd24d00f56bd3b83fead9175b379320a3/systemtests/src/test/java/io/enmasse/systemtest/brokered/TopicTest.java#L21

io.enmasse.systemtest.brokered.web.FirefoxWebconsoleTest#testClientsMetrics
-- bug: https://github.com/EnMasseProject/enmasse/issues/649

io.enmasse.systemtest.brokered.web.FirefoxWebconsoleTest#testSortConnectionsByContainerId
-- bug: https://github.com/EnMasseProject/enmasse/issues/634

io.enmasse.systemtest.brokered.web.FirefoxWebconsoleTest#testFilterConnectionsByContainerId
-- bug: https://github.com/EnMasseProject/enmasse/issues/634

io.enmasse.systemtest.standard.web.FirefoxWebconsoleTest#testViewConnections
-- bug: https://github.com/EnMasseProject/enmasse/issues/818

io.enmasse.systemtest.standard.web.FirefoxWebconsoleTest#testViewAddressesWildcards
-- bug: https://github.com/EnMasseProject/enmasse/issues/819

io.enmasse.systemtest.standard.authz.AuthorizationTest#testUserPermissionAfterRemoveAuthz
-- bug: https://github.com/EnMasseProject/enmasse/issues/786

https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/QueueTest.java#L189
-- bug #903

https://github.com/EnMasseProject/enmasse/blob/master/systemtests/src/test/java/io/enmasse/systemtest/standard/PlansTest.java#L43
-- bug #904

https://github.com/EnMasseProject/enmasse/pull/1075/commits/040490533e0aea1a73ea5fb0dd32a86745c390ef
bug: #1074

(3 tests) https://github.com/EnMasseProject/enmasse/blob/aeddee457aac636cacf540b64dd6a25444f5e0f6/systemtests/src/test/java/io/enmasse/systemtest/brokered/web/FirefoxWebConsoleTest.java#L106
https://github.com/EnMasseProject/enmasse/blob/aeddee457aac636cacf540b64dd6a25444f5e0f6/systemtests/src/test/java/io/enmasse/systemtest/brokered/web/FirefoxWebConsoleTest.java#L110
https://github.com/EnMasseProject/enmasse/blob/aeddee457aac636cacf540b64dd6a25444f5e0f6/systemtests/src/test/java/io/enmasse/systemtest/standard/web/FirefoxWebConsoleTest.java#L116
-- bug: #949
No.18 removed because it's already enabled

No. 7 enabled under PR:https://github.com/EnMasseProject/enmasse/pull/1166

done


Refactoring plugin package

Split CmdAdd function to multiple smaller functions.
Add cmdContext struct to easily path parameters
between functions in CmdAdd flow.
Also cmdContext provide API to register error handlers
which will be called if CmdAdd flow completed with error.
This PR depends on changes in #34

Pull Request Test Coverage Report for Build 949197900

101 of 110 (91.82%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+10.4%) to 66.578%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/plugin/env.go
7
9
77.78%

pkg/plugin/plugin.go
86
93
92.47%

Totals

Change from base Build 947771942:
10.4%

Covered Lines:
502

Relevant Lines:
754

💛  - Coveralls


Using camera inside the Safari view

I would like to use the camera from inside the safari view. What I'm trying to achieve is to send a picture from an  field. When I'm tapping it, I'm prompted to either use the camera or browse a file from the device (which is great).
Thing is, if I try to take a picture directly, the camera app opens, but stays completely black. I'm not asked for the permission to use the camera. It's working on the old inappbrowser.
Is there a trick to make it work ? Maybe a special authorization or something like that to add to my application ?
I'd like to be able to use this plugin for all my in app browsing needs, since it's vastly superior to inappbrowser.
Thanks 😄

If you suspect the permission is the problem then to confirm that you can just open the camera from your Cordova-powered webview (www/index.html most likely). That will prompt the permission (which is app-wide) so now you can test the camera inside SVC.
If that works let me know, then we'll try to find a way to handle the permission more gracefully.

@EddyVerbruggen
I'm having the same issue at the moment with the black camera in the Safari View Controller; this only affects iOS form my testing and works without issue on android.
If I request permissions before opening the safari view controller through a different plugin. It works on first startup, however, from here the problems occur:

if the orientation changes (the browser reloads on first orientation change) then the camera will stop working in both orientations (black screen)

if i forcefully reopen the safari view controller on each orientation change then the camera works

if the app is suspended (put to the back) and then resumed the camera won't work (black screen)
if the app is closed completed and reopened it will work.
if I don't request permissions; the camera doesn't work (black screen)
if i close the safari view controller after it was working, and then reopen the safari view controller without restarting the app; the camera stops working (black screen)


Update architecture.md

Just a typo

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 8467e736d2ea87a6c9652b38ff1f336e54127d4e
https://deploy-preview-9546--docsdocker.netlify.com


Some parameter setting issues about curl

I simulated a wind turbine with wind speed of 8m/s. When I used the curled model, there were a large number of zeros in the output WkPosδTαDγ especially after 3D. I tried adding dr or k_vCurl but it didn't get any better. The document is as follows:

Dear @May0048,
Can you clarify what issue you are running into (plots would help)?  The WkPosδTαDγ outputs will be zero until the wake reaches that downstream distance; are you waiting long enough?  How does the wake look if you visualize the VTK slices within Paraview?
Best regards,

I simulated a total of 4000s and took the data in the last 3600s. The figure below shows the data from WkPosZT1D1 to WkPosZT1D4 in the 2000s. Data faults like the third column often appeared in the output results.

Dear @May0048,
Can you clarify what issue you are running into (plots would help)? The outputs will be zero until the wake reaches that downstream distance; are you waiting long enough? How does the wake look if you visualize the VTK slices within Paraview?WkPosδTαDγ
Best regards,

I simulated a total of 4000s and took the data in the last 3600s. The figure below shows the data from WkPosZT1D1 to WkPosZT1D4 in the 2000s. Data faults like the third column often appeared in the output results. The "kidney" shape is not seen in VTK in the turbulent wind field.

Dear @May0048,
Can you clarify what issue you are running into (plots would help)? The WkPosδTαDγ outputs will be zero until the wake reaches that downstream distance; are you waiting long enough? How does the wake look if you visualize the VTK slices within Paraview?
Best regards,

I simulated a total of 4000s and took the data in the last 3600s. The figure below shows the data from WkPosZT1D1 to WkPosZT1D4 in the 2000s. Data faults like the third column often appeared in the output results. The "kidney" shape is not seen in VTK in the turbulent wind field.

Dear @May0048,
WkPosZT1Dγ outputs will show up as zero if the solution is invalid for either of two reasons:

The wake has not yet reached the downstream distance specified via Dγ.
Wake planes have passed each other, which invalidates the calculation.

My guess is some combination of these two effects are influencing your results, but it is hard to know specifically without knowing more about your simulation set up and results.
You say that you are not seeing the kidney shape in the VTK.  Does your simulation involve inflow skew where a kidney shape would be expected?  Which VTK output are you looking at?
Best regards,


Can't exclude socket.io from bundle using bundle arithmetic

Can't exclude socket.io from bundle using bundle arithmetic, but it can be correctly excluded using the ignoreModules option. Test project:
cd /tmp ; mkdir -p tt/src ; cd tt
npm init -y
npm install -D fuse-box typescript
npm install socket.io ulid

// src/entry.js
const s = require('socket.io')
const u = require('ulid')

/// fuse.js
const { FuseBox } = require("fuse-box");

const fuse = FuseBox.init({
	    homeDir: "src",
	     output: "dist/$name.js",
	     target:  "server",
	      cache:  false,
           // ignoreModules : ["socket.io"],
});

fuse.bundle("app")
    .instructions(`>entry.js - socket.io - ulid`);

fuse.run();

If your run node fuse.js, the bundle will include the socket.io source (wrong) but not the ulid one (ok). It seems like socket.io can only be excluded by uncommenting the ignoreModules option on fuse.js
Tested with fuse-box 2.5.0-beta.1 and 3.0.0-next.43

FuseBox v4 Major Upgrade
As of today, the latest major version of FuseBox v4 is available in fuse-box@next. FuseBox has undergone a full re-write from scratch, learning from its mistakes in the previous versions.
There are a lot of improvements, speed and config wise.
Get started here
We are still working on the documentation and polishing before the major release. We are getting very close. And we need help testing.
npm install fuse-box@next

Most of the issues that I am closing have been resolved, however, if you find that your issue is still relevant in v4 don't hesitate to re-open or (better) create a new one with v4 configuration.


Add scripts/generate-rncore.sh to npm module

the react-native/ReactCommon/React-Fabric.podspec references this file
https://github.com/facebook/react-native/blob/master/ReactCommon/React-Fabric.podspec#L33
which causes various cocoapods commands to crash when trying to read the podspec
[!] Invalid `React-Fabric.podspec` file: No such file or directory @ rb_sysopen - ../scripts/generate-rncore.sh.

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

It doesn't look like you have listed a test plan in your PR. Can you document how you know that this change fixes the problem? From a brief glance I'm not sure I understand how it could work because the generate-rncore.sh file references some other scripts in packages which are also not included in the npm package and probably shouldn't be as those will be separate npm packages once Fabric is ready for open source.

I don't have a test plan for this, and I'm not sure how to go about here.
At a very basic level, running the following command
pod ipc spec ../node_modules/react-native/ReactCommon/React-Fabric.podspec

gives the following error

[!] Invalid `React-Fabric.podspec` file: No such file or directory @ rb_sysopen - ../scripts/generate-rncore.sh.

 #  from /Users/sandfox/code/some-project/node_modules/react-native/ReactCommon/React-Fabric.podspec:34
 #  -------------------------------------------
 #    s.source                 = source
 >    s.prepare_command        = File.read("../scripts/generate-rncore.sh")
 #    s.source_files           = "dummyFile.cpp"
 #  -------------------------------------------

Copying the generate-rncore.sh into the expected location allows the command to run successfully.
generate-rncore.sh itself doesn't actually get executed by cocoapods (or possibly anything), but it is read as string when cocoapods "runs" the  podspec and used to calculate the checksum of the dependency, so it's just necessary that it, or something exists at ../scripts/generate-rncore.sh. I'm assuming that internally at least the prepare command is used and therefore needs to exist in the podspec.
Totally open to other suggestions or ideas here.