Periodically bring the touch view to front

I have found a solution to the problem of the UIActionSheet and UIAlertView being above the touches: walking the view hierarchy and if a UIActionSheet or a UIAlertView is found then add the _touchView above.

I've been working on another approach that I just committed aimed at addressing the same deficiencies around UIActionSheet and UIAlertView that doesn't use polling. Instead of subclassing UIWindow, I'm intercepting calls to -didAddSubview: and -becomeKeyWindow with method swizzling to keep the overlay top-most.


Cannot unlocak the excel file with password

I created an excel file with a password, but the unlock is failed.

Hi @mendickmorningstar. Is it a file encryption password you added? Because those cannot be unlocked with craXcel. Only sheet/workbook passwords can be unlocked.

No issue.


(maint) Merge 6.0.x to 6.4.x

Had a few conflicts with device, debug_once and ssl_context:

Use persistent http connections when pluginsyncing per device using http_pool
If libdir device option is used, setup the ssl context, but don't pluginsync
If we have a per-device ssl_context use that during the configurer run
Use global device settings once, and then re-use main, etc settings per device
Update indirector request to use debug_once like puppet/util/connection
Emit debug showing how server/server_list was resolved
Don't emit duplicate refreshed failed event

$ be ./bin/puppet agent -td -w 4 --server are0ixi60lwzyv3.delivery.puppetlabs.net
.
.
.
Debug: Dynamically-bound server lookup failed, falling back to server setting: are0ixi60lwzyv3.delivery.puppetlabs.net
Debug: Dynamically-bound port lookup failed; falling back to masterport setting: 8140
Debug: node supports formats: json msgpack pson yaml
Debug: Creating new connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Starting connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/node/bubba.local returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Debug: file_metadata supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/pluginfacts returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Finishing transaction<PHONE_NUMBER>3360
Info: Retrieving plugin
Debug: file_metadata supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/plugins returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Finishing transaction<PHONE_NUMBER>2120
Info: Retrieving locales
Debug: file_metadata supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/locales returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Finishing transaction<PHONE_NUMBER>4520
.
.
.
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP POST https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/catalog/bubba.local returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Info: Caching catalog for bubba.local
Debug: Creating default schedules
Debug: Loaded state in 0.00 seconds
Debug: Loaded transaction store file in 0.00 seconds
Info: Applying configuration version '1554417134'
Debug: Finishing transaction<PHONE_NUMBER>5700
Debug: Storing state
Debug: Pruned old state cache entries in 0.00 seconds
Debug: Stored state in 0.00 seconds
Notice: Applied catalog in 0.01 seconds
Debug: Dynamically-bound server lookup failed, falling back to report_server setting: are0ixi60lwzyv3.delivery.puppetlabs.net
Debug: Dynamically-bound port lookup failed; falling back to report_port setting: 8140
Debug: report supports formats: json msgpack pson yaml
Debug: report supports formats: json msgpack pson yaml
Debug: report supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP PUT https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/report/bubba.local returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Closing connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140

be ./bin/puppet agent -td -w 4 --server_list are0ixi60lwzyv3.delivery.puppetlabs.net
.
.
.
Debug: Creating new connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Starting connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/status/v1/simple/master returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Selected puppet server from the `server_list` setting: are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: node supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/node/bubba.local returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Debug: file_metadata supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/pluginfacts returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Finishing transaction<PHONE_NUMBER>5080
Info: Retrieving plugin
Debug: file_metadata supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/plugins returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Finishing transaction<PHONE_NUMBER>1520
Info: Retrieving locales
Debug: file_metadata supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP GET https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/locales returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Finishing transaction<PHONE_NUMBER>5380
.
.
.
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP POST https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/catalog/bubba.local returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Info: Caching catalog for bubba.local
Debug: Creating default schedules
Debug: Loaded state in 0.00 seconds
Debug: Loaded transaction store file in 0.00 seconds
Info: Applying configuration version '1554417276'
Debug: Finishing transaction<PHONE_NUMBER>6760
Debug: Storing state
Debug: Pruned old state cache entries in 0.00 seconds
Debug: Stored state in 0.00 seconds
Notice: Applied catalog in 0.01 seconds
Debug: report supports formats: json msgpack pson yaml
Debug: report supports formats: json msgpack pson yaml
Debug: report supports formats: json msgpack pson yaml
Debug: Using cached connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: HTTP PUT https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140/puppet/v3/report/bubba.local returned 200 OK
Debug: Caching connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140
Debug: Closing connection for https://are0ixi60lwzyv3.delivery.puppetlabs.net:8140

CLA signed by all contributors.


[MM-29630] Add error states to cloud guest invites when going over limit

Summary
#6211 added error states when inviting members and going over the limit (for admin cloud users only). This PR adds those same error states to the invite guest flow.
Ticket Link
https://mattermost.atlassian.net/browse/MM-29630
Related Pull Requests
N/A
Screenshots

/cherry-pick cloud-ga

Cherry pick is scheduled.


What is the reason for doing shift for the features (1 timestep) ?

Hi there! Thanks for your implementation.
I would like to clarify a doubt, if possible. From the data_util.py file we can observe:
# Step 4 - Convert to a sequence per user id and shift features 1 timestep
seq = df.groupby('user_id').apply(
    lambda r: (
        r['skill_with_answer'].values[:-1],
        r['skill'].values[1:],
        r['correct'].values[1:],
    )
)

I could not understand the reason for making that shift. Can you clarify?
Thanks in advance.

I also encounter this problem......do you know why the reason for making this shift now? And another question I've got is this: "df['skill_with_answer'] = df['skill'] * 2 + df['correct']"  why did he convert two features to a new one in this way? I would be very grateful if you can clarify the question! Thank you in advance.

Hey there! i currently working on my Implementation, my first ever ML model ever, and im glad Mr. Cassagrande did an amazing Job on his implementation. Thats why I try to understand and get it to my use case. but I cant wrap my head arround it. I dont quite understand why you would drop a datapoint. Maybe you got some clarity over the problem over the time and would help me to understand


rebuild when the schema changes

It is important to always call qAddDependentFile before reading a file in TH, as it allows allows GHC to decide whether to rebuild a module or not. Without qAddDependentFile, GHC will not rebuild the module if the file TH read has changed but the module file has not. With qAddDependentFile, GHC will rebuild the module if either file changed.
This is especially maddening if the code which loads the schema file and the resolvers are in a different modules. If I modify the name of something in the schema file and I modify the resolvers to match, I will get a compilation error telling me that the new names are not valid, and that I should be using the old names! The workaround is to make a dummy whitespace change to the module which loads the schema, thus forcing GHC to rebuild that module.
Adding qAddDependentFile is required, but unfortunately not sufficient. If you only modify the schema file and then rebuild in order to see what are all the resolvers which now need to be updated, stack and cabal both erroneously think that nothing needs to be rebuilt since none of the Haskell files have been modified. I don't know what is the proper way to address that part of the problem: I have tried to add the schema file to either the extra-source-files or the data-files section of the cabal file, to no avail.

Looks like that second part is a Cabal bug: https://github.com/haskell/cabal/issues/4746
But the first part is still a good step forward, as it will cause a rebuild if I modify both the schema file and the resolvers but not the module which loads the schema.

Hi @gelisam. great!
could you update changelog for client and server?

Updated!


Use default INSERT INTO syntax for multiple records with SQLite

This bumps the version of SQLite dependency to 3.7.11, released March 2012.
Using a default syntax for the INSERT INTO clause fixes an issue described in the bug #25262, but only when used with SQLite 3.8.8 (released January 2015) or newer.
Closes #25262
(sending against the master branch because of the version dependency)

Removing compileInsert() breaks empty inserts. We have to use the code from PostgresGrammar::compileInsert().

Right, I have noticed the tests failing. Running them locally with --filter Database and --filter SQLite turned out to not be enough :)
Thanks for pointing to PostgressGrammar. I'll update this PR shortly.

Updated :)


REGISTER Button Updated (Neon Light)

I have updated home page register button by adding Neon light so that user focus on button

checkout this one I think this looks great!

checkout this one I think this looks great!

No, it does not !! Also without issues don't create PR. Also, follow the PR template.


Unexpected bump failure notifications (in fork)

Hello
I have an email regarding the new bump failure.  I don't really understand why they occur.  Could someone talk to me about this:
https://github.com/netskink/metaport/actions/runs/7232632116
I want to make sure I can avoid the failures.
John

Ah yes, I get these too when I have a fork of a repo that has the bump workflow in it.
Just rename .github to .gothub until you're ready to let Actions kick in.

ahh, many thanks.
I wonder if there is a way to "enable" actions in the fork without getting the messages by stubbing stuff in the forks settings.
Any docs on bump, actions, and related content you all advise to read?

Here's the gist of what bump does - https://github.com/ZOSOpenTools/gitport/pull/74
I could be wrong, but I think it gets complicated (trying to make the "as is" Action work in a fork).
Because the fork will then have workflows that are specific to the fork, and you can't send it as a PR until it's exactly what the target repo needs.
Since it isn't possible to have a workflow only in one place (covering the whole org), we need to have a bump.yml in all repos, and that then uses this as a reusable sub-workflow.

Hello V1gnesh,
Ok.  Good deal.  I appreciate the info.  I wonder how to summarize all this info.  I can close the issue, but the info needs to be elevated.  I wonder if a section in the docs/site under developer notes would be a good place.

Many thanks!

Yup, doc update is needed. But I'm holding off on it as I have this unreasonable aversion towards front end stuff lol.
Plus, if I ever get to it, I would like to give the docs site a makeover, making it look like a mix of this & this.
@IgorTodorovskiIBM @MikeFultonDev - please flag to someone in IBM - the zos hot topics site is dead :smiling_face_with_tear:


feature request: config file for default test duration

first of thanks for this nice software.
turns out i prefer using 1 minute tests rather than the default 30 seconds, so i wondered if it would be possible to store that in a config file

Hey, that's a good idea.
Probably can be extended to having not only test duration, but all configuration stored. Maybe best for UX would be if we persisted settings selected by the user in the main menu.
Thanks for the request @fennecdjay, will work on this in the near future.

you're right configuration persistance would be awesome

This is added as part of 2.3.0, let me know if it suits your needs, @fennecdjay !

It does :smiley:
Amazing how fast you were to include this.
Thanks a lot!


Feature/docker

Command added to search for the latest version of Streama in the Dockerfile.
Docker-compose file added with MySQL database and Nginx reverse proxy server.

looks great, thanks


Image Shuffle issue

Hello
I have mentioned below properties for jcarousel
start: 3,
auto:2,
rtl:true,
wrap:'circular',
initCallback: mycarousel_initCallback,
itemVisibleInCallback : mycarousel_visiblecallback,
itemVisibleOutCallback : mycarousel_visibleoutcallback
But when it load it display image randomly in slider. I don't want image should be randomize whatever sequence i metioned in that manner all images should be come
Please help me
Thank you.

Could you post a link to your setup.

The <li>'s are hardcoded, so this is not a jcarousel issue. Check the script which creates the actual html.

Hi
Thank you for your reply.In your example the 's are hardcoded ? Please check your static_simple.html example.
Thank you.

What i mean is, that the <li>s at your site are changing for each request. Thats what it makes random, not jCarousel.


InkScape and Firefox render the cube red

https://github.com/godotengine/godot/issues/41339
icon_voxel_terrain.zip
InkScape and Firefox render the cube red.
I believe ThorVG and NanoSVG render it blue and red.

<path
   d="m8 1051.4-7-3v-8l7 3z"
   id="path4"
   style="fill:#fc9c9c;fill-opacity:0.99607843"
   fill="#68b6ff" />

Here style fill="fc9c9c" should override the color beyond the fill="68b6ff"
But tvg doesn't this...

I checked the attached file. Blue and red rendering is the expected result: fill is set twice for each wall; once with fill attribute that sets bluish color and once with style="fill:..;" attribute that sets redish color. For right and top wall, style is set after fill (so style ovewrites fill and wall is redish). For left wall, it is fill attribute that is set last, so wall is properly rendered bluish.

Aren't styles supposed to take precedence over attributes? https://stackoverflow.com/questions/6525405/svg-use-attributes-or-css-to-style/36755226#36755226

style has higher priority than fill, the cube should be red

@fire fixed in v0.3.1


NOTICK: update tagging to ensure we dont clobber unstable tag from beta1 branch

only release/version-5.0.0 should produce a unstable tag, removing this from beta1 build to ensure we dont have a mismatch downstream of release/os/5.0 consuming from this beta1 release branch.

appending beta1 code name fox to unstable tag here which effectively acts as the latest good build from the release branch
Once merged corda-rutime-os will also be updated

FYI @vkolomeyko I know HTPRPC are code owners here but i am going to proceed and merge this as it is a minor build change and i believe there are no RPC  folks working currently over holidays and this needs to be fixed to ensure correct artifact resolution downstream


Add webhook param

Example of affected workflow is Telegram Trigger
Here is screenshot with working webhook:

It's deployed from branch with param applied to deployment config.


appdev: Update third-party tooling page

Update third-party tooling page:

[ ] Add Prometheus and Grafana page to the toc here
[ ] Add Datadog
[ ] Add visualizers: Postico, dbglass, PGWeb, PSequel, TablePlus, and Valentina studio.
[ ] Add ORMs
[ ] Add IDEs

Closing this in favor of https://github.com/cockroachdb/docs/issues/6866


Getting two string[] for some CSV row when accessing through byte[] stream

Description:

Currently we get two string[] for some CSV row when we access through byte[] stream.
Describe your problem(s)
We need to access a CSV file through byte[] stream and convert it into string[] stream to do a query. When we do this, some csv rows are split into two string[]. This is because of the byte[] separation. So due to this we get 1048 string[] for 1000 CSV rows and we cannot process the string[].
Sample code:
  stream<byte[], io:Error?> movieCatalogResponse = check amazonS3Client->getObject("library-catalog",
        "movies-tv-shows.csv");
        record {|byte[] value;|}|io:Error? next = movieCatalogResponse.next();
        while next is record {|byte[] value;|} {
            io:ReadableCharacterChannel readableCharacterChannel = new (check io:createReadableChannel(next.value),
            "UTF-8");
            io:ReadableCSVChannel csvChannel = new (readableCharacterChannel, io:COMMA);
            while (csvChannel.hasNext()) {
                string[]? cells = check csvChannel.getNext();
                if (cells is string[]) {
                    io:println(cells);
                }
            }
            next = movieCatalogResponse.next();
        }

Describe your solution(s)
Provide support to get CSV row as one string[].

I think this happens due to the byte chuck that you received from the amazonS3Client->getObject() contains a partial CSV row. Could you check whether you can increase the size of the byte chunk that you received from the following code?.
stream<byte[], io:Error?> movieCatalogResponse = check amazonS3Client->getObject("library-catalog", "movies-tv-shows.csv");

Based on a discussion we had with the connector team members (@Chuhaa , @indikasampath2000, @LakshanSS , and @abeykoon  ) the getObject() is supposed to download a file from S3 as well as upload a file to S3. Ideally I would like to see the getObject() function name changes to getStreamFromObject() because what we receive from the function invocation getObject()  is a stream of byte arrays.
The solution we came up in the meeting was to write the complete stream of bytes received from S3 into a temporary file and then once the complete file has been received, we will read it so that we do not face the issue of partial data.
However, this is not the efficient solution in this scenario because there is no such requirement of storing data from S3 into a file in this use case. Also we are not reusing the file content even if we write those to the file. The processing we do here can be done considering each individual row, hence there is no requirement of having access to the complete data set locally. Furthermore, the approach of saving a file will consume additional CPU, memory resources extensively. It will also increase the latency of the application's execution. While the CSV used in the above sample is small one, we cannot assume the approach of downloading a complete file (for example of gigabyte scale) from S3 and then read it in the next round to do the processing. In such scenario reading row by row is the practical and efficient approach to follow.
Whether the data we read from S3 is small or large the io:ReadableCharacterChannel and io:ReadableCSVChannel should be able to handle the delimiters properly. For example, if the programmer knows the CSV he is processing has 25 columns, then he should be able to specify that fact as an input parameter to the above channel instantiation code. Then those channels should makesure they do not return any CSV data unless the 25 columns requirement is satisfied.

This seems not a bug in the existing implementation. This should be an improvement that we have to do after checking the feasibility.
Firstly, this occurs because you create a CSV channel for each byte chuck which you should remove from the implementation. Here, you are requesting some kind of a blocking buffer(or Go lang pipe) kind of implementation that we have to provide that wait until the entire CSV row arrives. I did an initial check on other languages and the only library that comes close to such a requirement is Python pandas.
@Maninda is there any plan to provide this kind of functionality in the upcoming data analytics module under CSV loading?

Even in the Python pandas module, we need to provide the source which can read the full content. It can be either a file path or URL(Amazon S3) or an in-memory byte array with full content.
From IO Library, we only can give an error, If the source doesn't contain full CSV content.
My suggestion is to have a new remote function is Amazon S3 connector to retrieve CSV directly from the S3 client. Something like,
stream<string[], Error?> response = amazonS3Client->getCsvAsStream("library-catalog", "movies-tv-shows.csv");

Inside the client, we internally handle it and return CSV rows as a stream.

I am +1 to provide what @daneshk suggested. But we cannot limit it to only CSV. We should have getXmlAsStream and getJsonAsStream as well.

Transferring this issue since it is discussed above to have this feature in AWS S3 client.


Android version freezes

Tested versions
4.2.2 Stable android
System information
android 13
Issue description
Editor freezes
https://youtu.be/9LvKUnFpb_U
Steps to reproduce
The editor displays the window that says you don't have any projects and asks if you want to open the asset library.
Press cancel.
Click on "new" create new project.
Click "browse" to select a folder in which to create the new project.
Click on "create folder".
Tap the screen in an empty area, next to the window that asks you to enter the folder name.
The window to enter the folder name will disappear and you will not be able to do anything now. No touch will do.
See the video.
Minimal reproduction project (MRP)
...

try V4.3
https://github.com/godotengine/godot/pull/95086 ?

try V4.3
#95086 ?

Hi, I won't be able to test on 4.3, I no longer have the device with Android 13, perhaps another user can do the test.


Add missing translations

As mentioned in title.
This PR adds two new translations ot the translation files + Swedish translation for each.
Translations added:

"Sign in with Apple"
"or"
"Invoices"
"Invoice ID"
"Checkout"

Added missing translations for the client home page as well. I'll continue to update this PR with missing translations as I find more until it is merged. My initial comment will be updated to reflect the added translations.

@Snicon please update your translations to latest commit

@CorwinDev Hopefully this should solve the conflicts. Let me know if something looks off.


Deprecated dependencies

In addition to #750, another thing that makes the eject output look scary is all the deprecation warnings from dependencies of dependencies:

I can try to get the culprit packages updated.

Thanks!

<EMAIL_ADDRESS>opened a PR (https://github.com/babel/babel-eslint/pull/393)
<EMAIL_ADDRESS>opened a PR (#756)
<EMAIL_ADDRESS>found an existing issue (https://github.com/istanbuljs/istanbul-api/issues/6)

There's also already a PR open (https://github.com/chjj/marked/pull/768) for removing the<EMAIL_ADDRESS>"prefer global" warning.

I've hated those minimatch warnings for a long time in react-native!

I think you can close this.
It all looks clean for eject  Here's my screenshot of a test just now.

And I didn't see any warnings on install as well.


Usage of vars

@wintercooled In status-client.js there are some var variables. Why are they var and not let? Was this just a mistake or there is a reason?
var denominationElem = document.getElementById("tumbler-denomination");
var anonymitySetElem = document.getElementById("tumbler-anonymity-set");
var peerCountElem = document.getElementById("tumbler-peer-count");
var tumblerFeePerRoundElem = document.getElementById("tumbler-fee-per-round");
var timeSpentWaitingElem = document.getElementById("tumbler-time-spent-waiting");
var currentPhaseElem = document.getElementById("tumbler-current-phase");

The only difference between lat and var is scope. So let can limit scope for use (for example) of a var within a for loop whereas with a var that variable would have scope outside the loop. The variables in client-status.js are used by other files - so I just defaulted them to var. You can change them to let is you like. I haven't tested what effect that would have.

There is a new version of the wallet, called Wallet Wasabi, that's a complete reimplementation of the wallet. GUI will be reimplemented in Avalonia, not Electron. This part of the codebase will not be reused.


Update metaz to 1.0.beta-34

After making all changes to the cask:

[x] `brew cask audit --download {{cask_file}}` is error-free.
[x] `brew cask style --fix {{cask_file}}` reports no offenses.
[x] The commit message includes the cask’s name and version.

Last version was an alpha from 2013 so updating to the latest beta seems reasonable


add option vdj_chain to cellranger_workflow

This pull request should resolve issue #125
Please let me know what you think!

Just to give a bit more context...
These are the currently available VDJ options in the cellranger_workflow inputs:

vdj_denovo and vdj_disk_space
My pull request adds one more option called vdj_chain.
This should pass "auto", "TR", or "IG" to the cellranger vdj --chain=~{chain} command.

I've merged your pull request, and updated the corresponding workflows on Broad methods registory.
Please check out cumulus/cellranger_workflow snapshot 13 (in latest version at https://cumulus.readthedocs.io/en/latest/versions.html#latest-version). Its updated documentation is at https://cumulus.readthedocs.io/en/latest/cellranger.html#id7.


Pruning dependencies

I've noticed that GalacticOptim takes ages to load after precompilation for me (more than a minute), which is not good news for an interface package. Part of this is the dependency on many packages which do not appear essential on a first glance:

DiffEqBase: The relevant functionality seems to be NoAD and NullParameters which are now in SciML
ModelingToolkit: I didn't find any code that uses this (maybe a test dependency?)
Optim & Flux: Why not use @require as with the other packages? Flux in particular is a heavy package and introduces a lot of dependencies.

This PR removes DiffEqBase, marks ModelingToolkit as a test dependency and downgrades Optim and Flux to @require status. Loading GalacticOptim now takes half a minute, and most of that is due to the various differentiation packages. I propose demoting all of these to @require status (except DiffResults) so that users wishing to use GalacticOptim with eg. ForwardDiff only do not need to load 4 other packages.
Note: This version of the package does not @reexport Optim or Flux. Since this package is still in active development I hope this API breakage is acceptable.
Note 2: Since Flux does not yet have an abstract optimiser type (see here) I used a Union for now, but this is a compatibility issue.

I propose demoting all of these to @require status (except DiffResults) so that users wishing to use GalacticOptim with eg. ForwardDiff only do not need to load 4 other packages.

Yeah change that as well.

Looks like this needs more test usings

Looks good, can you version bump to 2.0?

I tried, but the minibatch/diffeqflux tests print a warning and ultimately fail:
┌ Warning: Error requiring `ForwardDiff` from `LoopVectorization`
│   exception =
│    LoadError: UndefVarError: AbstractSIMD not defined
│    Stacktrace:
│      [1] top-level scope
│        @ ~/.julia/packages/LoopVectorization/MVMVN/src/simdfunctionals/vmap_grad_forwarddiff.jl:32
(...)

Seems like this is a versioning issue (haven't been able to track this down precisely)

I propose demoting all of these to @require status (except DiffResults) so that users wishing to use GalacticOptim with eg. ForwardDiff only do not need to load 4 other packages.

Yeah change that as well.

I uploaded a commit for this as well. This required reorganising the code (with significantly reduced coverage although I didn't add or remove anything). Feel free to rearrange things as you please!

@chriselrod ?

Maybe I should should drop Zygote support for vmap.  I don't know if anyone using it, but using Requires.jl causes lots of issues like this.
Or perhaps I can create a package just for it, so that it can explicitly depend on everything r required.
But it's hard to test, in that virtually everything works. Load packages a bit differently, e.g. with compiled-modules=no, and you're likely to run into errors.

The @require for adding ChainRules support for LoopVectorization.vmap causes a number of issues for a feature that I'm not sure if anyone actually uses.

Can you pick that out to a package or something?

This was rebased and merged in https://github.com/SciML/GalacticOptim.jl/pull/140 . Next time you might want to work on a branch other than master.
Thanks!


Linking a fastapi-users User model with One-To-Many relationship creates error for the select field in Admin Panel

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
Firstof, thanks a lot for the package, it comes in really handy!
Unfortunately I encountered a bug when having my User model linked to other models with a One-To-Many relationship.
I have linked the User model (which is from fastapi-users) to some of my models with a One-To-Many relationship.
When having (at least) one row in the users table and trying to create a new object for another model that is linked to it the query for the select seems to produce an error for a missing unique method.
sqlalchemy.exc.InvalidRequestError: The unique() method must be invoked on this Result, as it contains results that include joined eager loads against collections
Based on the stack trace it seems to originate from here:
File "/usr/local/lib/python3.11/site-packages/sqladmin/forms.py", line 232, in _prepare_select_options
I am not sure why the error occurs only with the fastapi-users User model but not with other One-To-Many relationships. However, it seems, that maybe adding the unique() method there might solve the problem.
Steps to reproduce the bug
class User(SQLAlchemyBaseUserTable[int], Base):
    id: int = Column(Integer, primary_key=True)
    oauth_accounts: Mapped[List[OAuthAccount]] = relationship(
        "OAuthAccount", lazy="joined"
    )

class Project(Base):
    __tablename__ = "project"

    id: int = Column(Integer, primary_key=True)
    user_id: int = Column(Integer, ForeignKey('user.id'))
    user = relationship("User")
    no_error_id: int = Column(
        Integer, ForeignKey('random_table.id'), nullable=True)
    no_error = relationship("RandomTable", foreign_keys=[no_error_id])

Adding the User relationship produces the error, whereas adding another relationship does not.
The error only occurs, when there is already at least one user in the table. As long as the query comes back empty the error is not produced.
I hope I explained the error well enough and am looking forward to your ideas.
Thank you already.
Expected behavior
I can create a new Object of e.g. "Project" in the Admin Panel without throwing an error
Actual behavior
When a user object exists and I am trying to create an object of Project in the Admin Panel I receive an Internal Server Error
Debugging material
appshots-fastapi-myappshots-1  | INFO:     <IP_ADDRESS>:60418 - "GET /project/create HTTP/1.1" 500 Internal Server Error
appshots-fastapi-myappshots-1  | ERROR:    Exception in ASGI application
appshots-fastapi-myappshots-1  | Traceback (most recent call last):
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 435, in run_asgi
appshots-fastapi-myappshots-1  |     result = await app(  # type: ignore[func-returns-value]
appshots-fastapi-myappshots-1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
appshots-fastapi-myappshots-1  |     return await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 276, in call
appshots-fastapi-myappshots-1  |     await super().call(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
appshots-fastapi-myappshots-1  |     await self.middleware_stack(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
appshots-fastapi-myappshots-1  |     raise exc
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, _send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 86, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send_wrapper)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
appshots-fastapi-myappshots-1  |     raise exc
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, sender)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
appshots-fastapi-myappshots-1  |     raise e
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in call
appshots-fastapi-myappshots-1  |     await route.handle(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 443, in handle
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
appshots-fastapi-myappshots-1  |     await self.middleware_stack(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
appshots-fastapi-myappshots-1  |     raise exc
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, _send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
appshots-fastapi-myappshots-1  |     raise exc
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, sender)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in call
appshots-fastapi-myappshots-1  |     await route.handle(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
appshots-fastapi-myappshots-1  |     response = await func(request)
appshots-fastapi-myappshots-1  |                ^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/authentication.py", line 62, in wrapper_decorator
appshots-fastapi-myappshots-1  |     return await func(*args, **kwargs)
appshots-fastapi-myappshots-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/application.py", line 495, in create
appshots-fastapi-myappshots-1  |     Form = await model_view.scaffold_form()
appshots-fastapi-myappshots-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/models.py", line 1046, in scaffold_form
appshots-fastapi-myappshots-1  |     return await get_model_form(
appshots-fastapi-myappshots-1  |            ^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/forms.py", line 628, in get_model_form
appshots-fastapi-myappshots-1  |     field = await converter.convert(
appshots-fastapi-myappshots-1  |             ^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/forms.py", line 291, in convert
appshots-fastapi-myappshots-1  |     kwargs = await self._prepare_kwargs(
appshots-fastapi-myappshots-1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/forms.py", line 154, in _prepare_kwargs
appshots-fastapi-myappshots-1  |     kwargs = await self._prepare_relationship(
appshots-fastapi-myappshots-1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/forms.py", line 215, in _prepare_relationship
appshots-fastapi-myappshots-1  |     kwargs.setdefault("data", await self._prepare_select_options(prop, engine))
appshots-fastapi-myappshots-1  |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqladmin/forms.py", line 232, in _prepare_select_options
appshots-fastapi-myappshots-1  |     for obj in objects.scalars().all()
appshots-fastapi-myappshots-1  |                ^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/result.py", line 1784, in all
appshots-fastapi-myappshots-1  |     return self._allrows()
appshots-fastapi-myappshots-1  |            ^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/result.py", line 571, in _allrows
appshots-fastapi-myappshots-1  |     for made_row, sig_row in [
appshots-fastapi-myappshots-1  |                              ^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/result.py", line 574, in
appshots-fastapi-myappshots-1  |     strategy(made_row) if strategy else made_row,
appshots-fastapi-myappshots-1  |     ^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/loading.py", line 257, in require_unique
appshots-fastapi-myappshots-1  |     raise sa_exc.InvalidRequestError(
appshots-fastapi-myappshots-1  | sqlalchemy.exc.InvalidRequestError: The unique() method must be invoked on this Result, as it contains results that include joined eager loads against collections
Environment

python:3.11.1-slim (Docker)
sqladmin 0.12.0

Additional context
No response

That's very strange, checking the code there's nothing unusual happening.
Can you check this query with your current code?
from sqlalchemy import select

result = session.execute(select(User))
print(result.scalars().all())

I'm guessing this should fail and it shouldn't be related to SQLAdmin.

Hi @aminalaee, thanks a lot for getting back to me so quickly.
I tested the code snippet you provided and as you expected, it failed with the same error. (See stack trace below)
When I replace .all() with .unique(), it runs without error and provides me with the desired results.
Researching about the problem I found this and think it might be connected:

The error message "sqlalchemy.exc.invalidrequesterror: the unique() method must be invoked on this result , as it contains r

esults that include joined eager loads against collections" typically occurs when you are using a joined eager loading technique to load a relationship collection and you haven't included the unique() method in your query .
When using joined eager loading, the Query object must de-duplicate the rows against the leading entity. This is because the JOIN clause in the SQL query can cause rows to be duplicated when there are multiple child rows. The unique() method is used to remove these duplicates.
To resolve the error, you need to make sure that you include the unique() method in your query when using joined eager loading.
You can refer to the SQLAlchemy documentation on Relationship Loading Techniques for more information on using joined eager loading and the unique() method.

appshots-fastapi-myappshots-1  | INFO:     <IP_ADDRESS>:36648 - "GET /test HTTP/1.1" 500 Internal Server Error
appshots-fastapi-myappshots-1  | ERROR:    Exception in ASGI application
appshots-fastapi-myappshots-1  | Traceback (most recent call last):
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 435, in run_asgi
appshots-fastapi-myappshots-1  |     result = await app(  # type: ignore[func-returns-value]
appshots-fastapi-myappshots-1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
appshots-fastapi-myappshots-1  |     return await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 276, in call
appshots-fastapi-myappshots-1  |     await super().call(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
appshots-fastapi-myappshots-1  |     await self.middleware_stack(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
appshots-fastapi-myappshots-1  |     raise exc
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, _send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 86, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send_wrapper)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, send)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
appshots-fastapi-myappshots-1  |     raise exc
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
appshots-fastapi-myappshots-1  |     await self.app(scope, receive, sender)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/contextlib.py", line 222, in aexit
appshots-fastapi-myappshots-1  |     await self.gen.athrow(typ, value, traceback)
appshots-fastapi-myappshots-1  |   File "/usr/local/lib/python3.11/site-packages/fastapi/concurrency.py", line 36, in contextmanager_in_threadpool
appshots-fastapi-myappshots-1  |     raise e
appshots-fastapi-myappshots-1  | sqlalchemy.exc.InvalidRequestError: The unique() method must be invoked on this Result, as it contains results that include joined eager loads against collections

Upon further testing I found that lazy=joined in the oauth_accounts relationship seems to be responsible for the error in this case. Removing it, also removes the error when using the sqladmin panel. Unfortunately, it seems to be necessary for the fastapi-users package to work correctly.
class User(SQLAlchemyBaseUserTable[int], Base):     id: int = Column(Integer, primary_key=True)     oauth_accounts: Mapped[List[OAuthAccount]] = relationship(         "OAuthAccount", lazy="joined"     )
Based on this I am wondering if there is a "bug" in fastapi-users or if adding the unique() method would prove beneficial for sqladmin.

I don't think this is the lazy="joined". I have tested SQLAlchemy models with lazy="joined" in SQLAdmin before.
I think session.execute(select(User)).scalars().all() is failing because internally FastAPI-Users is using eager loading, it's not in your code. I don't know much about fastapi-users but since this unique() filter is not in the database level and is only applied to the results, I think we can add it.
Feel free to do the PR.

I just checked it again and you are right, it is not the lazy="joined".
Happy to help with the PR, I have already started on it and updated the discussed lines locally.
This being my first contribution to a package I was wondering if you'd see any further test coverage needed here?
I wasn't sure about it.
Also, I am receiving errors on running hatch lint and hatch check , whereas hatch test runs without producing output.
/bin/sh: lint: command not found
/bin/sh: check: command not found
Sorry, if this is the wrong place to clarify these details.

No you are completely right.
For now you should do:
hatch run lint:format
hatch run test:test
There's a bug I have reported in Hatch project and waiting to update this.


Add CircleCI configuration

Runs tests under cmd/ and pkg, and supports JUnit style reports.

Closed in favor of #7.


Touch handling is not working in  on iOS

Code snippet to test:
import React, { Component } from "react";
import { Alert, Platform, StyleSheet, Text, View } from "react-native";
import SVG, { G, Circle } from "react-native-svg";

const showEvent = message => {
  console.log(message);
};

export default class App extends Component {
  render() {
    return (
      <View style={{ flex: 1, padding: 20 }}>
        <Text>Group</Text>
        <SVG width="200" height="200">
          <G
            onPressIn={() => {
              showEvent("group onPressIn");
            }}
            onPress={() => {
              showEvent("group onPress");
            }}
            onPressOut={() => {
              showEvent("group onPressOut");
            }}
          >
            <Circle
              cx="50"
              cy="50"
              r="40"
              stroke="green"
              strokeWidth="4"
              fill="yellow"
            />
            <Circle
              cx="80"
              cy="80"
              r="40"
              stroke="green"
              strokeWidth="4"
              fill="yellow"
            />
          </G>
        </SVG>
      </View>
    );
  }
}

Fixed by #650


Update package-json.lock and revert LeftMenu section updating

There are 2 changes happening here.

the package-json is currently broken out of the box. This updates it so that npm install and gulp watch work from the ui directory now.

This reverts a part of this commit: https://github.com/Netflix/conductor/commit/2cf4f0413f452e4f9549726a3571c336bec83ee5#diff-03e4bf1f523c6bb8e97e4eef067cce3f

The UI was no longer updating the data when you clicked a LeftMenu item. This changes it back so that it does fetch data on clicking those LeftMenu items.
Pinging @mstier-nflx because he was the author of the above commit.

Going to open a different one. My commits are a mess.


RangeError: Maximum call stack size exceeded

Building using the plugin runs into the following issue:
[vite:dts] Start generate declaration files...
error during build:
RangeError: Maximum call stack size exceeded
    at node_modules/@ts-morph/common/dist/typescript.js:51333:53
    at Object.trackSymbol (node_modules/@ts-morph/common/dist/typescript.js:51333:53)
    at lookupSymbolChain (node_modules/@ts-morph/common/dist/typescript.js:52311:33)
    at symbolToTypeNode (node_modules/@ts-morph/common/dist/typescript.js:52490:29)
    at typeReferenceToTypeNode (node_modules/@ts-morph/common/dist/typescript.js:51868:40)
    at typeToTypeNodeHelper (node_modules/@ts-morph/common/dist/typescript.js:51503:95)
    at serializeReturnTypeForSignature (node_modules/@ts-morph/common/dist/typescript.js:52804:24)
    at signatureToSignatureDeclarationHelper /node_modules/@ts-morph/common/dist/typescript.js:52193:42)
    at createTypeNodesFromResolvedType (node_modules/@ts-morph/common/dist/typescript.js:51938:43)
    at createTypeNodeFromObjectType (node_modules/@ts-morph/common/dist/typescript.js:51779:35)

My config is this:
export default defineConfig({
    plugins: [
        react(),
        dts({
            skipDiagnostics: false,
            logDiagnostics: true,
        })
    ],
    build: {
        sourcemap: true,
        lib: {
            entry: path.resolve(__dirname, "src/index.ts"),
            name: "project",
            fileName: "project",
        },
    },
    test: {
        globals: true,
        environment: "jsdom",
        setupFiles: "./src/setupTests.ts",
        threads: false,
    },
});

I should mention that the plugin fails with any options and that the project is sizeable (the plugin actually runs correctly when the number of components that are transpiled is reduced.

How about turn off the source map:
dts({
  compilerOptions: {
    sourceMap: false
  }
})

Same error, unfortunately

Same error

Thanks a lot @qmhc

same error here.
With :
    dts({
      entryRoot: path.resolve(__dirname, 'src'),
      compilerOptions: {
        sourceMap: false
      }
    }),

I use Component Element and Chart.js in my lib, so it's big.

Same here in a Preact application.


Add enabled parameter to service

In some cases, I want to adjust whether or not service is set by an environment variable.
e.g.
service:
  name: service-a
  enabled: ${SERVICE_A_ENABLED}

So, I added the enabled flag to the service config.
If you have any problems with this feature, please let me know.

Codecov Report

Merging #175 (8d4b3d3) into master (d6b4c23) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
+ Coverage   86.93%   86.95%   +0.01%
==========================================
  Files          47       47
  Lines        2098     2101       +3
==========================================
+ Hits         1824     1827       +3
  Misses        184      184
  Partials       90       90

Impacted Files
Coverage Δ

core/service.go
79.50% <100.00%> (+0.51%)
:arrow_up:

Continue to review full report at Codecov.

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

Released in v3.2.0


Bump protos pre1.8.0 fe83816d51d3

Coverage decreased (-0.1%) to 59.176% when pulling c58785264ed93e745ef4e0ed767a495d1deb75be on jdef:bump_protos_pre1.8.0_fe83816d51d3 into 70c84f58f355c1fa339e0f95d40144ce47fe3013 on mesos:master.


add support for RTL

added support for RTL direction.
added Arabic translation.
fix <x-blade-icon in resources/views/components/item.blade.php line 44
and thank you so much for this 🙏🏽

Hi, thanks! What's the reason for using @svg instead of <x-icon?

Hi, thanks! What's the reason for using @svg instead of <x-icon?

it won't work in filament default installation, throw exception: (component not found)
since filament disables the blade components for the blade icons by default.
\Filament\Http\Middleware\DisableBladeIconComponents

LOL, didn't know that. Any reason for it to be working in my environment?

not sure :), did you remove 'DisableBladeIconComponents' from the middleware in AdminPanelProvider?
or you already published the config for blade icon and set it to true 'blade-icons.components.disabled'

ya definitely the config blade-icons.php
'disabled' => false,

oh, I've published it to support a custom icon set in my current project. thanks for the information =)


Remove call to ToImmutableDictionary from EnumStore

Enum storage is order sensitive. The call to ToImmutableDictionary was shuffling the order, leading to errors in some unit tests most of the time.

Some context from some offline discussion:

callers in PAClient are (wrongfully) depending on the order of the dictionary traversal.  They  should not be doing that.
The call to ToImmutableDictionary() hit this existing bug.
We should make a fix in PAClient - but at least change fx to stay behavior preserving.


broken link

"Learn more about Microsoft for Startups" link returns 404

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

ID: a00c3abb-f124-2ecf-6e37-c20af5c0e9df
Version Independent ID: 0a80a37a-66ca-89f2-a366-b9704b571884
Content: Visual Studio subscriptions offered to startups through the Microsoft for Startups program
Content Source: subscriptions/program-startups.md
Product: visual-studio-family
Technology: vs-subscriptions
GitHub Login: @evanwindom
Microsoft Alias: jaunger

@AndyRB Thanks for bringing this to our attention.  It looks like that page has been deleted.  I've redirected the link to the home page for Microsoft for Startups.
@TerryGLee The PR for this has been submitted.  We can close this.

@evanwindom Thanks for the follow-up; closing this now.


Static slots make performance degradation

What happened?
I have the following situation with static logical slots on patroni clusters: performance is slowly decreasing and bloat is growth. Autovacuum works but still leave a couple of dead tuples, for system tables as well. All of this happened after we enable static slots and hot_standby_feedback(as default for this scenario). We have no any read queries on replicas except monitoring wich is use system tables.
Problems:

Found that table bloat growth (this is camunda and they have high workload so I found problem on the next day after we enable slots) and autovacuums not save the situation
Found that query planning is huge (300ms planning against 1ms executing) for the first execution and ok for the next one. After ~20sec if repeat this then first planning again is big:

Checked system tables and found bloat for statistic, there is amount of n_dead_tup. Like that:

    relname     | n_live_tup | n_dead_tup | ratio% | Total Size | Table Size | Index Size | last_vacuum |        last_autovacuum        |         last_analyze          |       last_autoanalyze
----------------+------------+------------+--------+------------+------------+------------+-------------+-------------------------------+-------------------------------+-------------------------------
 pg_statistic   |        715 |    1291606 | 180391 | 422 MB     | 364 MB     | 59 MB      |             | 2024-09-09 11:29:39.361462+03 |                               |
 pg_toast_2619  |         52 |      34311 |  64737 | 51 MB      | 50 MB      | 840 kB     |             | 2024-09-09 11:29:42.04358+03  |                               |
 pg_attribute   |       2513 |       7010 |    278 | 2480 kB    | 1760 kB    | 720 kB     |             | 2024-09-09 11:29:39.363419+03 | 2024-09-09 10:12:16.706212+03 | 2024-09-09 10:52:40.849449+03
 pg_class       |        839 |       5097 |    606 | 1512 kB    | 1104 kB    | 408 kB     |             | 2024-09-09 11:29:39.364294+03 | 2024-09-09 10:12:16.82263+03  | 2024-09-09 10:52:38.441281+03
 pg_proc        |       3384 |         53 |      1 | 1296 kB    | 816 kB     | 480 kB     |             |                               | 2024-09-09 10:12:16.794+03    |
 pg_depend      |       3004 |       3281 |    109 | 936 kB     | 392 kB     | 544 kB     |             | 2024-09-09 11:29:39.365921+03 | 2024-09-09 10:12:17.127089+03 | 2024-09-09 10:52:34.75709+03
 pg_rewrite     |        148 |          5 |      3 | 792 kB     | 112 kB     | 680 kB     |             |                               | 2024-09-09 10:12:17.009284+03 |
 pg_toast_2618  |         12 |         12 |     92 | 616 kB     | 568 kB     | 48 kB      |             |                               |                               |
 pg_description |       5240 |          7 |      0 | 616 kB     | 360 kB     | 256 kB     |             |                               | 2024-09-09 10:12:17.044904+03 |
 pg_type        |        727 |        730 |    100 | 440 kB     | 288 kB     | 152 kB     |             | 2024-09-09 11:29:39.362082+03 | 2024-09-09 10:12:16.566079+03 | 2024-09-09 10:52:34.589857+03
 pg_index       |        489 |        948 |    193 | 376 kB     | 256 kB     | 120 kB     |             | 2024-09-09 11:29:39.365076+03 | 2024-09-09 10:12:16.870653+03 | 2024-09-09 10:52:38.464815+03
 pg_collation   |        860 |          0 |      0 | 256 kB     | 120 kB     | 136 kB     |             |                               | 2024-09-09 10:12:17.338941+03 |
 pg_constraint  |        211 |         91 |     42 | 232 kB     | 72 kB      | 160 kB     |             | 2024-09-09 11:29:39.36477+03  | 2024-09-09 10:12:16.85494+03  | 2024-09-09 09:58:14.298045+03
 pg_operator    |        799 |          0 |      0 | 232 kB     | 112 kB     | 120 kB     |             |                               | 2024-09-09 10:12:16.901476+03 |
 pg_amop        |        945 |          0 |      0 | 224 kB     | 56 kB      | 168 kB     |             |                               | 2024-09-09 10:12:16.956981+03 |
(15 rows)

Manual vacuum showing a lot of dead tuples wich can't be removed

INFO:  vacuuming "pickup_orchestrator.pg_catalog.pg_statistic"
INFO:  finished vacuuming "pickup_orchestrator.pg_catalog.pg_statistic": index scans: 0
pages: 0 removed, 46702 remain, 46702 scanned (100.00% of total)
tuples: 0 removed, 1296353 remain, 1295638 are dead but not yet removable
removable cutoff: 3051616, which was 6998656 XIDs old when operation ended
new relminmxid: 485936, which is 30 MXIDs ahead of previous value
frozen: 0 pages from table (0.00% of total) had 0 tuples frozen
index scan not needed: 0 pages from table (0.00% of total) had 0 dead item identifiers removed
avg read rate: 0.000 MB/s, avg write rate: 0.000 MB/s
buffer usage: 93437 hits, 0 misses, 0 dirtied
WAL usage: 1 records, 0 full page images, 225 bytes
system usage: CPU: user: 0.18 s, system: 0.09 s, elapsed: 0.27 s
INFO:  vacuuming "pickup_orchestrator.pg_toast.pg_toast_2619"
INFO:  finished vacuuming "pickup_orchestrator.pg_toast.pg_toast_2619": index scans: 0
pages: 0 removed, 6359 remain, 6359 scanned (100.00% of total)
tuples: 0 removed, 34363 remain, 34311 are dead but not yet removable
removable cutoff: 3051616, which was 6998656 XIDs old when operation ended
new relminmxid: 485936, which is 27 MXIDs ahead of previous value
frozen: 0 pages from table (0.00% of total) had 0 tuples frozen
index scan not needed: 0 pages from table (0.00% of total) had 0 dead item identifiers removed
avg read rate: 0.000 MB/s, avg write rate: 0.000 MB/s
buffer usage: 12731 hits, 0 misses, 0 dirtied
WAL usage: 1 records, 0 full page images, 188 bytes
system usage: CPU: user: 0.01 s, system: 0.00 s, elapsed: 0.02 s

After some investigation when no any changes for settings helps we exclude slots from patroni config. This make performance much better. From CPU side its looks like this:

Planning time now always 0.3 ms or something. Then we vacuum full statistic table and its make them 300kb.
Table bloat's not growth anymore. All happy.
Whats wrong? Its look's like static slots prevent vacuum work and hold tuples.
p.s. we have another cluster without camunda and there is same situation. after exculde slots all fine.
p.p.s we have statis slots on patroni with version 3.0.* and looks like they work a long time without this problem
How can we reproduce it (as minimally and precisely as possible)?
Install patroni cluster with 3 nodes. Implement camunda and do some worload tests I guess. Check for system tables growth. For camunda you can check act_ru_job table growth.
What did you expect to happen?
Stable autovacuum work. No growth for system tables and others. Stable planning time for queries.
Patroni/PostgreSQL/DCS version

Patroni version: 4.0.1
PostgreSQL version: 16.4
DCS (and its version): 3.5.7

Patroni configuration file
scope: main
namespace: /service/
name: p-tms-picking-patroni-01-db-03

log:
  level: DEBUG
  format: '%(asctime)s %(levelname)s: %(message)s'
  max_queue_size: 1000
  dir: /data/pg_data/logs/patroni
  file_num: 4
  file_size: 25000000
  loggers:
    patroni.postmaster: DEBUG
    urllib3: DEBUG

restapi:
  connect_address: p-tms-picking-patroni-01-db-03.***:8008
  listen: <IP_ADDRESS>:8008
  authentication:
    username: patroni
    password: ***

etcd3:
  hosts: ***:2379,***:2379,***:2379
  username: root
  password: ***

bootstrap:
  dcs:
    ttl: 30
    loop_wait: 10
    retry_timeout: 10
    maximum_lag_on_failover: 1048576
    master_start_timeout: 300
    synchronous_mode: true
    synchronous_mode_strict: false
    check_timeline: true
    postgresql:
      use_pg_rewind: false
      use_slots: true
      parameters:
        max_connections: 300
        max_locks_per_transaction: 64
        max_worker_processes: 8
        max_prepared_transactions: 0
        wal_level: logical
        wal_log_hints: on
        track_commit_timestamp: off
        max_wal_senders: 10
        max_replication_slots: 10
  initdb:
    - encoding: UTF8
    - data-checksums
    - waldir: /data/pg_wal/postgres
  users:
    postgres:
      password: ***
    replica:
      password: ***
      options:
        - replication

postgresql:
  use_unix_socket: true
  listen: <IP_ADDRESS>:5435
  connect_address: p-tms-picking-patroni-01-db-03.***:5435
  data_dir: /data/pg_data/postgres
  bin_dir: /usr/lib/postgresql/16/bin
  config_dir: /etc/postgresql/16/main
  pgpass: /var/lib/postgresql/.pgpass
  authentication:
    superuser:
      username: postgres
      password: ***
    replication:
      username: replica
      password: ***
  create_replica_methods:
    - basebackup
  basebackup:
    waldir: /data/pg_wal/postgres
  parameters:
    unix_socket_directories: /var/run/postgresql
    shared_preload_libraries: pg_stat_statements,auto_explain
    archive_mode: on
    archive_command: wal-g wal-push %p
  pg_hba:
    - local all all trust
    - host all all <IP_ADDRESS>/32 trust
    - host all all <IP_ADDRESS>/0 scram-sha-256
    - host replication replica <IP_ADDRESS>/32 scram-sha-256
    - host replication replica ***8/32 scram-sha-256
    - host replication replica ***7/32 scram-sha-256
    - host replication replica ***/32 scram-sha-256
  pg_ctl_timeout: 60

watchdog:
  mode: automatic
  device: /dev/watchdog
  safety_margin: 5

tags:
    nofailover: false
    noloadbalance: false
    clonefrom: false
    nosync: false

patronictl show-config
check_timeline: true
loop_wait: 10
master_start_timeout: 300
maximum_lag_on_failover: 1048576
postgresql:
  parameters:
    max_connections: 300
    max_locks_per_transaction: 64
    max_prepared_transactions: 0
    max_replication_slots: 10
    max_wal_senders: 10
    max_worker_processes: 8
    track_commit_timestamp: false
    wal_level: logical
    wal_log_hints: true
  use_pg_rewind: false
  use_slots: true
retry_timeout: 10
slots:
  picking_pdpkfk_slot:
    database: picking
    plugin: pgoutput
    type: logical
  picking_rtdwh_pdpkfk_slot:
    database: picking
    plugin: pgoutput
    type: logical
synchronous_mode: true
synchronous_mode_strict: false
ttl: 30

Patroni log files
Not needed

PostgreSQL log files
Not needed

Have you tried to use GitHub issue search?

[X] Yes

Anything else we need to know?
No response

Looks like a duplicate of https://github.com/patroni/patroni/issues/3146
Fix is on the way.


feat(slack): Expose create case slash command

In the slack conversation plugin, there are slash commands to be used on cases after they are created, but there is no slash command for creating a case.
As I looked into this issue, I found that the full setup for allowing the command is present, but the final wire-up of the command was not.
I added that final wire-up.
I looked for tests for any functionality like this and found none. I can create it, but I have no model to go on.
I have looked at the Contributing docs on the dispatch web page, but I'm not very sure of the standards here and am fully open to changes and feedback.

If anyone is looking at this, I'm having trouble creating the alembic file I would need for this type migration. I am following the steps I find in #5240, merged last week. I've never worked with alembic and the contributing docs don't mention how to do this outside the scope of creating a new type. Extending a new type isn't transparent to me, and I'd love to do this the right way.


Problems with add a test

Hello developer.
I have an issue with your app. Specific with the section "Sie wurden getestet?". I clicked there, I can scan the Qr code on my paper from doctor.... I had seen, there is a working site and no error. I closed the App and a little bit later, there was no test... I can scan the Qr code, but the App says, there is an issue.

Tested on Huawei P Smart 2016.
More tests on my Google-free Volla Phone with VollaOS (Android 9.0). Same issue ;p
Can you fix that or help me?
Thank you

Hi @necotec,
thanks for reporting your issue. Do you mean with "there is a working site and no error" that the app was trying to process your first scan of the QR code and because of a missing response, you closed the app and tried it again?
Thanks and get well soon,
Sascha
Corona-Warn-App Open Source Team

No. After adding the test, I had seen it. After a restart of the App, it was away.
How I can readd the test? Is it possible?

Hi @necotec,
we are actually heavily working on the QR code mechanism and resolving issues around that. In this case it is hard to figure out wether the QR code has not being activated by the Laboratory or if the first attempt was accepted by the backend and then after closing the app not assigned to your mobile.
To prevent abuse use of the QR code, it can be only used once - afterwards it is marked in the backend as used.
Please see also:
https://www.coronawarn.app/de/faq/#qr_test
https://github.com/corona-warn-app/cwa-documentation/issues/400
Sascha
Corona-Warn-App Open Source Team


Add verbosity on availability and queue state when getting, returning…

…, or waiting for container.

Needs conflict resolution.

is the slack() computation supposed to be atomic? (it's not - is that by design?)

PG1-322 started. Will wait for @perryibm to respond to slack() questions above.

pg approved.

Merged as https://github.com/openwhisk/openwhisk/commit/d5295dd40ecea020b3941579374e12521e0484f3.


fix spacing isseue #22

As explained in the issue on some environment the spaces cause problems.
Let me know if it's a real thing or a problem with my env(Jruby 1.7.10 on Win 7).

Could you rebase this into one commit? Thanks for contributing, greatly appreciated!

squashed :)

Awesome, thanks :+1:


Only Working Intermittently

I'm not able to get this to work reliably. Sometimes it just wont run. It always works if I try it shortly after turn the console off, but if the console has been off for a while it doesn't always work. I have the console on "instant on" mode. Below is the code from a unsuccessful attempt.
Johns-Air:~ John$ /Users/John/xbox-remote-power.sh ; exit;
Sending power on packets to <IP_ADDRESS>...
Traceback (most recent call last):
File "./xbox-remote-power.py", line 83, in
main()
File "./xbox-remote-power.py", line 37, in main
send_power(s, power_packet)
File "./xbox-remote-power.py", line 62, in send_power
s.send(data)
socket.error: [Errno 51] Network is unreachable
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Not really an issue of this project as it's mostly related to how the console handles this.


Find all references doesn't find ALL references

Following the guidance of https://clangd.llvm.org/features.html#find-references
Find all references only finds references within currently opened files. It does not find all of the references project wide.
System information
clangd version 10.0.0
vscode-clangd 0.1.6
macOS 10.14.6

do you have a compile_commands.json in your project root telling clangd what "all" files in your project are?
if not, you unfortunately need to have that, otherwise clangd currently cannot figure out all the files you have open and will only index the files you are working on.
if you have a compile_commands.json, please share clangd logs so that we can take a more detailed look.

Hi
Yeah compile_commands.json fixes it!
Thanks


[question]: can I use thunder for pytorch lightning modules to make it lightning fast?

📚 Documentation
It seems the documenation didn't cover this, so I am not sure if it should work on pytorch lightning.
The mnist example in the documentation of thunder is using raw pytorch.
cc @borda @apaz-cli

Well, it seems we cannot directly use thunder to lightning module. The lightning trainer will raise exception telling me that it requires lightning module type, not thunder type.

Hey, great question!
We are working on this from both ends:

after doing lots of enablement, we are looking to make Thunder more end-user friendly,
we are systematically looking into how to best work with Thunder (and other compilers) in PyTorch Lightning.

Stay tuned, we want to have something soon, at the latest by end of January.
(cc @lantiga )

hey @2catycm, good question
tldr, instead of compiling a module as a whole, for now you can defer compilation to the point in time when the model is instantiated (which happens in child processes).
That is, you can call self.model = thunder.jit(model) in configure_model, like
class LanguageModel(L.LightningModule):
    def __init__(self, vocab_size):
        super().__init__()
        self.vocab_size = vocab_size
        self.model = None

    def configure_model(self):
        if self.model is not None:
            return

        with torch.device("meta"):
            model = Transformer(
                vocab_size=self.vocab_size,
                nlayers=16,
                nhid=4096,
                ninp=1024,
                nhead=32,
            )

        self.model = thunder.jit(model)

    def training_step(self, batch):
        input, target = batch
        output = self.model(input, target)
        loss = F.nll_loss(output, target.view(-1))
        self.log("train_loss", loss, prog_bar=True)
        return loss

    def configure_optimizers(self):
        return torch.optim.Adam(self.parameters(), lr=1e-4)

In the future we will want to also capture the optimizer as part of compilation, but the above should be more than enough for now.


Asking about the EmergencyStop reason for stop

Hi @mikuso ,
Do you have any idea why I got this EmergencyStop after the machine started charging?
Is this an issue on the machine or in my line of code?

"EmergencyStop" is usually the reason given when a transaction ends due to someone pushing an emergency stop button on the charger itself. If this is happening without the button being pressed (or perhaps the charger doesn't even have such a button equipped) then this would appear to be a fault with the charger.
There isn't any mechanism for an OCPP central system to cause a charger to stop a transaction with the "EmergencyStop" reason - so this would not be caused by an error in the server code.

Hi @mikuso ,
asking again, because when this emergencystop is reflected on the output parameter in StopTransaction the machine still continues charging, and when I manually trigger a remotestop the machine will then stop.
Also, when they try to start the charging again, it will continue with no emergencystop reason.

In normal circumstances, the charger should not continue to charge after it has sent the server a StopTransaction request.
(The only time I believe this is allowed to occur is when the charger is recovering from a suspended period of time being offline and it needs to transmit the history of charging sessions that have stopped & started since it was last online. In this scenario, it's possible for the charging station to send a historical StopTransaction request associated with a prior transaction, without interrupting its current transaction.)
However, since it sounds like this behaviour is repeating (you've tested this multiple times?), then I doubt this is the case for you.  It sounds most likely that the charger you are using is simply not fully OCPP compliant.


Move code for BrusilovskyMixture into separate module

It would be an example for other extensions of CubicEoS.jl

Closed by commits above and #48


UI package code cleaning

No logic changes. Cleaning and reformatting according to attached code scheme (this is basically Kotlin style guide)
It's a big one (sorry) but each commit is referencing each package.

Looks good, thanks. Will try to merge these remaining two PRs.


strange issue

Hi
I don’t use this plugin but I am getting this error:
[10/03/2021, 08:28:51] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 142 exceeded maximum of 100. See https://git.io/JtMGR for more info.
Any solution?
😜

Uninstall the plugin if you aren't using it? :)

i have the same issue. its a clean hombridge install (1.3.3) and i only use this plugin
[2021-3-13 12:19:41] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1962 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[2021-3-13 12:19:41] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1486 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[2021-3-13 12:19:44] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[2021-3-13 12:19:50] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2021-3-13 12:19:50] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1962 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[2021-3-13 12:19:50] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1486 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[2021-3-13 12:21:50] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1486 exceeded maximum of 500. See https://gi


add azureActiveDirectoryTenantId

Add azureActiveDirectoryTenantId as recommended by the Azure Active Directory team.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

@sarangan12 Can you please help review/merge this change to allow us to generate all SDKs. thanks


add support for multiple type selectors to open different file/image pickers

Right now even if one selects FileType.any it is not possible to select images from the photo gallery on mobile devices. Therefore this pull request adds support for multiple buttons to open different file pickers for different file types.
For example:
FormBuilderFilePicker(
  name: "attachments",
  previewImages: false,
  allowMultiple: true,
  withData: true,
  typeSelectors: [
                TypeSelector(
                  type: FileType.any,
                  selector: Row(
                    children: <Widget>[
                      Icon(Icons.add_circle),
                      Padding(
                        padding: const EdgeInsets.only(left: 8.0),
                        child: Text("Add documents"),
                      ),
                    ],
                  ),
                ),
                if (!kIsWeb)
                  TypeSelector(
                    type: FileType.image,
                    selector: Row(
                      children: <Widget>[
                        Icon(Icons.add_photo_alternate),
                        Padding(
                          padding: const EdgeInsets.only(left: 8.0),
                          child: Text("Add images"),
                        ),
                      ],
                    ),
                  ),
              ],
  )

Hi @grundid
Thanks for contribution!
Can fix the CodeFactor suggestion and add documentation about TypeSelector to Readme?

Thanks a lot


[ci] Fix Android benchmark pipeline after removing tflite importer

After https://github.com/openxla/iree/pull/13361, we don't have iree-import-tflite target in tree anymore. Instead we need to pip install it.

Ah, thanks! I should have grepped for the tool.

Ah, thanks! I should have grepped for the tool.

No worries! :)


Differences in license

License details in readme are as follows:

Do what you want. But credit me. That's all I ask!

Whereas license file is GPLv3. Might cause some confusion.

Congrats on the project and good luck! Found this via Reddit.  Will be interesting to see another Laravel based wiki about. Feel free to jump into the BookStack discord if you ever have any questions.

Thanks man! Will fix that now. Cheers.
Ooo I will do. Thanks again.


accuracy of search

is it possible to limit range of search query by distance, or may be by city (country etc.)?

Hi @s-ostrovsky
Yes, take a closer look at the example in README:
        query={{
          // available options: https://developers.google.com/places/web-service/autocomplete
          key: 'YOUR API KEY',
          language: 'en', // language of the results
          types: '(cities)', // default: 'geocode'
        }}

For the full list of query options available, refer to Google Places Autocomplete API docs.


ModuleNotFoundError: No module named 'model_angelo.c_alpha'

Hi there,
I tried following the instructions, but unfortunately I get the following error.
Traceback (most recent call last):
File "/fs/pool/pool-schulman-soft/hpcl8/ModelAngelo/miniconda/envs/model_angelo/bin/model_angelo", line 33, in
sys.exit(load_entry_point('model-angelo==0.0.1', 'console_scripts', 'model_angelo')())
File "/fs/pool/pool-schulman-soft/hpcl8/ModelAngelo/miniconda/envs/model_angelo/lib/python3.9/site-packages/model_angelo-0.0.1-py3.9.egg/model_angelo/main.py", line 23, in main
File "", line 259, in load_module
File "/fs/pool/pool-schulman-soft/hpcl8/ModelAngelo/miniconda/envs/model_angelo/lib/python3.9/site-packages/model_angelo-0.0.1-py3.9.egg/model_angelo/apps/build.py", line 18, in
ModuleNotFoundError: No module named 'model_angelo.c_alpha'
It is trying to look for folders after the egg file thats confusing..

Hi, thank you for trying ModelAngelo.
This is a bug that I may have introduced in the morning. Can you please pull the newest version of the code and run the install script again?

Yes that worked. Thanks @jamaliki


[Event Request] Page 7604 Base Calendar Entries Subform

The following events are required for this object:
    [IntegrationEvent(false, false)]
    local procedure OnFilterDateRecordAfterOnOpenPage(var CustCalendarChange: Record "Customized Calendar Change"; var DateRec: Record Date)
    begin
    end;

    trigger OnOpenPage()
    begin
        DateRec.Reset();
        DateRec.SetFilter("Period Start", '>=%1', 00000101D);
        OnFilterDateRecordAfterOnOpenPage(Rec, DateRec); //EVENT REQUEST
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12501.


I2C write register:   multi byte register may fail with large data

One bug fix.  In the last review of two byte I2C register read/write, I made a copy paste error effecting writes of large number of data bytes.
Also, added testcases for these new two byte register I2C reads and writes.  Open to any suggestions on how I added usage of their interfaces I2cRegisterRead and I2cRegisterWriter

@eitch  Robert, I made those edits, thanks for the help.

Thanks @taartspi, merged your changes


Fix name resolution in istioctl command

Please provide a description of this PR:
Fix https://github.com/istio/istio/issues/43691
Should use the inferred namespace https://github.com/hanxiaop/istio/blob/b247ddba7aeb041b4fc6e47256e15323f7e4be4e/istioctl/pkg/util/handlers/handlers.go#L140 instead of the default namespace.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
b247ddba7aeb041b4fc6e47256e15323f7e4be4e
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
991c1c87c0185e6686248fe6c67d1150014dfb82
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
991c1c87c0185e6686248fe6c67d1150014dfb82
link
true
/test lint

gencheck_istio
991c1c87c0185e6686248fe6c67d1150014dfb82
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
991c1c87c0185e6686248fe6c67d1150014dfb82
link
true
/test gencheck

lint_istio
4a55bdb678cc61c26e830ade3d437ccd7af13941
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
991c1c87c0185e6686248fe6c67d1150014dfb82
link
true
/test gencheck

lint_istio
135f46afd56553e6939a78e935c785b9d761a688
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
135f46afd56553e6939a78e935c785b9d761a688
link
true
/test lint

gencheck_istio
135f46afd56553e6939a78e935c785b9d761a688
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Is this close to getting merged? Would like to see this in 1.17 branch. Thanks.

Is this close to getting merged? Would like to see this in 1.17 branch. Thanks.

@johnma14 This is waiting for a review from @istio/wg-user-experience-maintainers . Can anyone take a look? Thanks

In response to a cherrypick label: new pull request created: #43819


Util reorganization and add Space util for easier interaction with the database

Brief description

reorganize the util files: all the util files are now under the util folder
add a "Space" util for easier interaction with the database (it basically takes care of most of the protobuf serialization/deseriallization) (see unit tests https://github.com/koinos/koinos-sdk-as/blob/util-update/tests/space.spec.ts)

Checklist

[x] I have built this pull request locally
[x] I have ran the unit tests locally
[x] I have manually tested this pull request
[x] I have reviewed my pull request
[x] I have added any relevant tests

Demonstration
Results of the tests are available at https://github.com/roaminroe/koinos-sdk-as/actions/runs/2180977718

That'd be cool if we could enable the github actions for this repo, that would trigger the ci. It should be somewhere in the repo settings: https://github.com/koinos/koinos-sdk-as/settings/actions

Actions should be enabled on this repository now


remake debug scene incl. multi monitor setup

[ ] keyboardupdater
[ ] melodykeys
[ ] melodykeys visual elements
[ ] multi monitor enable
[ ] poc UI

multi monitor setup:

click interactions work on second screen so
UI has to be on main monitor
actual game cam has to be on 2nd monitor


common: override and autodetect ceph_stable_release

For ceph_dev and rhcs installation we need to detect the release since
we do not declare it explicitly. Keeping the default ceph_stable_release
could lead to several things going wrong and some have already been
reported.
Fixes: https://github.com/ceph/ceph-ansible/issues/1712 and https://bugzilla.redhat.com/show_bug.cgi?id=1476210
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

@andrewschoen about the site.yml.sample, this is tough to handle. IMHO this is the responsibility of the deployer to configure the site.yml according to its need. I'm not even sure if this condition works as expected right now. Is this a real blocker for this PR?

OK - luminous-ansible2.2-update_dmcrypt

@leseb the condition does work as expected now, otherwise none of our luminous or kraken CI tests would be working.
I suppose since this isn't removing the code that makes setting ceph_stable_release mandatory it'd still work. This just means that users of RHCS 3.0 will need to set ceph_stable_release: luminous or otherwise modify site.yml.sample which are things they don't currently do.
I do agree that ceph_stable_release is a bit clunky to use. Eventually I think it'd be nice to see it go away and replaced with config like:
install_method: upstream
install_version: jewel

or
install_method: rhcs
install_version: 3

@andrewschoen I agree we need to simplify the installation process or at least clarify/ease the user experience.
I disagree, this is the purpose of this patch to detect which Ceph version has been deployed, so RHCS users will benefit from that too. Am I missing something from your last comment?

@leseb no, I think this is fine for RHCS users. I was just pointing out that they'll need to manually set ceph_stable_release: luminous when deploying rhcs 3.0, which is a new step.
Initially I thought this PR was about removing the mandatory requirement of settingceph_stable_release but it's not.

OK - luminous-ansible2.2-purge_dmcrypt

@andrewschoen it's not for the community installation, so basically:

ceph_stable_release is mandatory for the upstream install
ceph_stable_release is not mandatory for rhcs and ceph_dev as it's auto-discovered after package installation

@leseb Ok, I think I understand now. We'll just leave it up to users to modify site.yml.sample if they wish to deploy mgr nodes when using RHCS.

👍

jenkins test this please

jenkins test this please


Add Equal instance for optics in test

As per #451

nice, could you move the tests to another file? MacroOutSideMonocleSpec is here to check macro in another package file than monocle.

Right, now it makes more sense.

Previous version was easily extensible to polymorphic optics, so I did that.

Thanks @mjjc 👍


chore: update gomod for cherrypick

Fixes #N/A
Description
Update gomod for cherry pick for 1662
How was this change tested?
testing here
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 77.306%

Files with Coverage Reduction
New Missed Lines
%

pkg/providers/amifamily/ami.go
1
90.37%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.01%

Covered Lines:
5314

Relevant Lines:
6874

💛  - Coveralls


Disable use of std::ptr_fun when compiling as C++17

Fixes #651

All builds succeeded but Travis CI's jobs for Oracle and DB2 due some package installation issues


Failed to send handshake initiation on v0.3.0. Works on v0.2.5

Is there any reason why the following v0.3.0 compose file fails with the client showing Failed to send handshake initiation write ipd4 <IP_ADDRESS>:62400->x.x.x.x:51820: sendto: network is unreachable. Note: the config.yaml file is empty and the container itself starts with no errors;
  wg-access-server:
    image: place1/wg-access-server:latest
    container_name: wg-access-server
    restart: unless-stopped
    networks:
      - t2_proxy
    cap_add:
      - NET_ADMIN
    ports:
      - "51820:51820/udp"
    volumes:
      - $CONFIG/wg-access-server/data:/data
      - $CONFIG/wg-access-server/config.yaml:/config.yaml
    environment:
      WG_WIREGUARD_PRIVATE_KEY: $WIREGUARD_PRIVATE_KEY
      WG_ADMIN_USERNAME: $WIREGUARD_ADMIN_USERNAME
      WG_ADMIN_PASSWORD: $WIREGUARD_ADMIN_PASSWORD
      WG_EXTERNAL_HOST: "vpn.$DOMAINNAME"
      WG_CONFIG: debug
    devices:
      - /dev/net/tun
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.wireguard-as-rtr.entrypoints=https"
      - "traefik.http.routers.wireguard-as-rtr.rule=Host(`vpn.$DOMAINNAME`)"
      - "traefik.http.routers.wireguard-as-rtr.middlewares=chain-authelia@file"
      - "traefik.http.routers.wireguard-as-rtr.service=wireguard-as-svc"
      - "traefik.http.services.wireguard-as-svc.loadbalancer.server.port=8000"

The following 0.2.5 works fine;
  wg-access-server:
    image: place1/wg-access-server:0.2.5
    container_name: wg-access-server
    restart: unless-stopped
    networks:
      - t2_proxy
    cap_add:
      - NET_ADMIN
    ports:
      - "51820:51820/udp"
    volumes:
      - $CONFIG/wg-access-server/data:/data
    environment:
      WIREGUARD_PRIVATE_KEY: $WIREGUARD_PRIVATE_KEY
      ADMIN_USERNAME: $WIREGUARD_ADMIN_USERNAME
      ADMIN_PASSWORD: $WIREGUARD_ADMIN_PASSWORD
      EXTERNAL_HOST: "vpn.$DOMAINNAME"
      CONFIG: info
    devices:
      - /dev/net/tun
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.wireguard-as-rtr.entrypoints=https"
      - "traefik.http.routers.wireguard-as-rtr.rule=Host(`vpn.$DOMAINNAME`)"
      - "traefik.http.routers.wireguard-as-rtr.middlewares=chain-authelia@file"
      - "traefik.http.routers.wireguard-as-rtr.service=wireguard-as-svc"
      - "traefik.http.services.wireguard-as-svc.loadbalancer.server.port=8000"

I have an incredibly similar setup to yours bar I use a config file, I'm on 0.3 and it seems to be working just fine...
What is your end device? What are the routes it's using (and the client config in general)?

@michael-robbins @robflate I can reproduce on latest docker/docker-compose on Debian 10. Blocked by #74 on 0.2.5 as well.

hmm, the environment variable WG_CONFIG: debug looks like it's not right. That variable defines the path to a config file if you want to use one. Probably not your bug though. If you want to configure the log level you can do it with LOG_LEVEL=debug
It seems like your network may be the issue here; but given you says 0.2.5 works (assuming the network hasn't changed) then i'm not sure what the issue could be without more information like some debug logs showing a particular error.

@Place1 Happy to help, loglevel debug does not give any information (except from devices listing and SQL queries). What kind of log should I expect?
loglevel: debug

adminUsername: removed
adminPassword: "removed"

port: 8000
externalHost: removed

wireguard:
  enabled: true
  privateKey: removed
  interface: wg0
  port: 51820

vpn:
  cidr: <IP_ADDRESS>/24
  gatewayInterface: ""
  allowedIPs:
    - removed/32 # specific IP

disableMetadata: false
storage: postgres://removed?sslmode=disable

dns:
  enabled: false
  upstream:
    - "<IP_ADDRESS>"

auth:
  gitlab:
    name: "Gitlab"
    baseURL: removed
    clientID: removed
    clientSecret: removed
    redirectURL: removed
    emailDomains: removed

version: "3.7"

networks:
  front:
    external:
      name: removed

volumes:
  postgres:

services:

  wg-access-server:
    image: place1/wg-access-server:0.2.5
    #image: place1/wg-access-server:v0.3.0
    cap_add:
      - NET_ADMIN
    volumes:
      - "./config.yaml:/config.yaml"
    ports:
      - "51820:51820/udp"
    devices:
      - "/dev/net/tun:/dev/net/tun"
    depends_on:
      - db
    networks:
      - front
      - default
    labels:
      - traefik.enable=true
      - traefik.frontend.rule=Host:removed
      - traefik.port=8000
      - traefik.docker.network=front
      - traefik.frontend.redirect.entryPoint=https # this is traffic version 1 still but should not be relevant

  db:
    image: postgres:13
    restart: unless-stopped
    networks:
      - default
    volumes:
      - postgres:/var/lib/postgresql/data
    environment:
      - POSTGRES_ROOT_PASSWORD=removed
      - POSTGRES_PASSWORD=removed
      - POSTGRES_USER=removed
      - POSTGRES_DB=removed

I no longer have this problem. Unfortunately I don't know what made it go away. I have made changes to my stack in between revisiting this and it now works. Sorry I am not able to provide more feedback.

No worries, sorry it took me 23 days to reply in the first place!
Glad it's working now, please reopen if the issue comes back :smile:

@Place1 Can we reopen? The issue is not solved for us.