Next.js is not working in the cloudflare pages

next-on-pages environment related information
No response
Description
Trying to deploy Next.js 13 but it is not working in the Cloudflare pages.

Reproduction
No response
Pages Deployment Method
None
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?

[ ] Would you like to help fixing this bug?

Hey there, it sounds like you might be using an older version of Node.js.
Please can you try setting an environment variable for NODE_VERSION to 16 or greater, per the readme?
Additionally, I can see in your build command that you're doing a static export with next export. This repo is for @cloudflare/next-on-pages, which is SSR support for Next.js - different to doing a static export.

After setting NODE_VERSION getting below error

After setting NODE_VERSION getting below error

Per the readme, please add the nodejs_compat compatibility flag in your Pages project settings.
Go to your Pages project in the Cloudflare dashboard > Settings > Functions > Compatibility Flags, and add the nodejs_compat flag for both production and preview.

Thanks a lot @james-elicx for clearing things up
I'm closing the issue as it seems to be just a user error, hopefully it could all be cleared out now 🙂
@SudheendraSoftionik I hope everything's ok now, if you still have issues with deploying your application feel free to reopen the issue and/or let us know


Pledged Collective claim fails

Describe the bug
Two different collective admins reported that they got an error when trying to claim their collectives.
From owner of ESLint:

I tried claiming the opencollective.com/eslint page today, but I was told the validation was unsuccessful. I'm not sure what the problem is as I'm an owner of the github.com/eslint and I granted access to the ESLint org when approved the OC app integration.

Screenshot:

From Ryan from Cyph:

To give a little more context: I was a little confused by the UX, so the order in which I did things in went like this:

Create personal account<EMAIL_ADDRESS>and start browsing collectives

Search for Cyph, see that it doesn't exist but donations can be queued up / "pledged" anyway, click the pledge button

After seeing the pledge UI, I thought it'd make more sense to just proactively create the collective, so I fired up incognito and registered it with a new *** @cyph.com  account

After seeing a message that there was an approval process and my collective wouldn't go live right away, I just went ahead and finished the pledge process from the original tab, at which point the bad state originally described was produced

I don't remember exactly what the errors were, but I think for *** @cyph.com it just said unauthorized, and for<EMAIL_ADDRESS>it first appeared to work but then after a loading screen it gave me a 503 error or something to that effect.
Hope that helps.

I believe the error shows up because of this incorrect condition https://github.com/opencollective/opencollective-frontend/blob/master/src/pages/claimCollective.js#L155
this.state.org is not defined in the state and the condition should be (!token || !this.state.repo || this.state.membership.length === 0).
503 is a timeout error, the request took longer than 25 secs. Sever network issue most likely.
what do you think @znarf @Betree ?

@flickz the this.isAdmin() test is first and we should check why this one is not returning true.

For repository (ie : cyph/cyph), behavior looks correct, we're checking the permissions.admin after retrieving the repo with the user GitHub token.
For organizations (ie: eslint), behavior also looks correct, we're checking memberships with the user GitHub token.
https://octokit.github.io/rest.js/#api-Orgs-listMemberships
https://developer.github.com/v3/orgs/members/#list-your-organization-memberships
We'll only be able to troubleshot that with additional input from the users.

ok should we close then until we hit another issue?

We had one new report today. We need to add additional logging to troubleshot that.


Controlled-Addition implementation

This should be a separate bloq since there's more conditional if-ed code than shared code

This should be a separate bloq since there's more conditional if-ed code than shared code

Ok I changed this to be another separate bloq


remove type Entry and entry arg of decodeEdge as they are unused

fixes #10

@mschoch - This repository is no longer in active development. I recommend you continue to use your own fork of the project.


Password settings are gone?

Enso 2.2.1 + Postgresql 9.6
I do not find, where a logged user can change his/her password.
Even, Forgot password sends a reser password link, but when I click on it, I got the login page, and there is no change password screen.

I fixed it already. please run composer update and then compile

ahh, ok, thanks.
I have no idea, how to compile :)

:)
npm install
npm run dev

I guess I need to install npm, too :)

Is it really necessary to install nodejs or whatever is npm?
I have emotional problems with nodejs....
Otherwise, is it your dev. environment, right?

I completely lost.
I did composer update; npm install; npm run dev; login and still I cannot see any changes. There is no password related things.

I'm not sure I know what you mean. To reset pass you need to logout first, and from the login form press "forgot password"

Ok, reset password link is working now.
I just try to find out, where can I change my password after I login into the application. I did not find any password set screens.

https://github.com/laravel-enso/Core/issues/38

:))))))))
Ok, got it.
Anyway, you should create a label called: postgresql


Sample: Allow user to optionally specify serial number and module address

They should be able to specify neither, just one or the other, or both.

How do we want the syntax of this to look? Right now, the overall structure is sample command subcommand <param1> <param2> [optionalParam3] {flags}, where we cannot have params between command and subcommand. Would flags be helpful here? Perhaps for example sample digital read 1 -s "serial number" -a 2?

Yep, flags.


Fix error message for EditStudentCommand and EditLessonCommand

Codecov Report

Merging #239 (44b11d1) into master (c6b80c7) will increase coverage by 0.03%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master     #239      +/-   ##
============================================
+ Coverage     48.17%   48.20%   +0.03%
  Complexity      594      594
============================================
  Files           125      125
  Lines          2788     2786       -2
  Branches        305      304       -1
============================================
  Hits           1343     1343
+ Misses         1352     1350       -2
  Partials         93       93

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...eedu/address/logic/commands/EditLessonCommand.java
0.00% <ø> (ø)

.../address/logic/parser/EditLessonCommandParser.java
0.00% <0.00%> (ø)

...address/logic/parser/EditStudentCommandParser.java
92.59% <100.00%> (ø)

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 c6b80c7...44b11d1. Read the comment docs.


Whitelisting IP range of Playwright Testing Service

Is your feature request related to a problem? Please describe.
The environment the tests need to execute against is not publicly accessible. Is it possible to determine the IP range of the Playwright Testing Service so it can be added to the whitelist?
Describe the solution you'd like
When I view my Playwright Testing Service Workspace in Azure there is a section detailing the IP ranges the workspace will use.
Describe alternatives you've considered
I've seen the discussion on #74 regarding setting the exposeNetwork config to "*". Does this essentially mean the service proxies the requests via the client? In my case the client is a Microsoft-Hosted Agent in ADO and that agent can be given access to the environment so that method should work, however, that ticket does mention the potential for a performance hit using this method.

Hi @marlowp Thanks for writing to us.
The IP ranges that the service use are documented here: https://learn.microsoft.com/en-us/azure/playwright-testing/resource-limits-quotas-capacity#outbound-ip-addresses

Thanks @vvs11.


chore(main): release 0.15.0

:robot: I have created a release beep boop
0.15.0 (2024-02-29)
Features

w: add editor layout bindings (#298) (c04b574)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/MarcoIeni/glimpse/releases/tag/v0.15.0 :sunflower:


Add return values for SS2 Record operations according to NS documentation

According to NS documentation most operations return the record object, for example:

This is now reflected in the implemented mocking functions.
Additionally save() returns the record's id upon successful save:

@benpf-pes @Skromak Good few PR's here hanging about, get them merged!


Support for Keycloak Oauth2

Hello,
I have been working with Keycloak and Spring (Cloud) Security Oauth2.  I have found that Keycloak has different keys to the JWT so the current AccessTokenConverter.AUD only ever gets what Keycloak calls the REALM - for the Resource Id's it uses 'resource_access'.  UserAuthenticationConverter.USERNAME used is 'preferred_username'.    Right now both of the keys are defined as FINAL.  I would think that because of other providers not using the same keys for parts of the JWT we would need to be able to change those via configuration.  Before I go down that rabbit hole, I'd like to get some input from the team that maintains the project.  However, once all is done I'll be sure that Keycloak is a "supported" solution.

Actually it seems that the 'resource_access' field is a HashMap.  That hashmap has the resource id's as the keys with the values being a List of the 'roles' for the resource.  They are strings.  So that each resource can have a different set of 'authorities'.  I am just guessing that these two things are equal, 'roles' and 'authorities'.  So how we setup the stored authorization will have to be modified as well, unless i am missing something here. What we can do is look at the current resourceId and only set that one resource and use its role mappings as the authorities.  This way it will only ever have to know about itself and we can keep the current logic. Thoughts?

Or we have a translation layer that allows the map to be translated into something that spring security can know about.  I'm starting to think this layer is going to be the best route, so that custom support can be added without changes to the core codebase. If something like this already exists, please do tell - I haven't found anything like it - but again, I could have missed it.

@dsyer Thoughts on this topic?  I am currently working on a fast paced project and would like to work out something as fast as possible.

Isn't AccessTokenConverter "a translation layer that allows the map to be translated into something that spring security can know about"? I don't know why KeyCloak (or anyone else) would use non-standard keys in their JWT, but if they do you can always get them out and translate them to something sensible using an AccessTokenConverter (I believe). JwtAccessTokenConverter implements that interface by a delegate pattern so you can just plug one in. The DefaultAccessTokenConverter also has strategies in it for convenient extension. Have a look at the way JwtAccessTokenConverter is used in JwtTokenStore.

Hey @dsyer - I agree, I just thought there might be an easier way to get to the proper outcome.  In a perfect world i'd just like to override the JwtAccessTokenConverter.decode method and perform the translation there.  I have tried to provide my own configuration, like this.
    @Configuration
    @Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)
    protected static class JwtTokenServicesConfiguration {

        private static final Log LOG = LogFactory.getLog(JwtTokenServicesConfiguration.class);

        @Autowired
        private ResourceServerProperties resource;

        @Bean
        @Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)
        @ConditionalOnMissingBean(ResourceServerTokenServices.class)
        public ResourceServerTokenServices jwtTokenServices() {
            DefaultTokenServices services = new DefaultTokenServices();
            services.setTokenStore(jwtTokenStore());
            return services;
        }

        @Bean
        @Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)
        public TokenStore jwtTokenStore() {
            return new JwtTokenStore(jwtTokenEnhancer());
        }

        @Bean
        @Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)
        public JwtAccessTokenConverter jwtTokenEnhancer() {
            CustomJwtAccessTokenConverter converter = new CustomJwtAccessTokenConverter();
            String keyValue = resource.getJwt().getKeyValue();
            if (!StringUtils.hasText(keyValue)) {
                try {
                    keyValue = (String) new RestTemplate().getForObject(
                            resource.getJwt().getKeyUri(), Map.class).get("value");
                } catch (ResourceAccessException e) {
                    // ignore
                    LOG.warn("Failed to fetch token key (you may need to refresh when the auth server is back)");
                }
            } else {
                if (StringUtils.hasText(keyValue) && !keyValue.startsWith("-----BEGIN")) {
                    converter.setSigningKey(keyValue);
                }
            }
            if (keyValue != null) {
                converter.setVerifierKey(keyValue);
            }
            return converter;
        }
    }

Here is the CustomJwtAccessTokenConverter.
public class CustomJwtAccessTokenConverter extends JwtAccessTokenConverter {
    @Override
    protected Map<String, Object> decode(String token) {
        Map<String, Object> map = super.decode(token);
        return map;
    }
}

However this doesn't override the default implementation.  I am just looking to see that it gets called, I can then work out the details. Ideas on how to override?
Also, it is possible that keycloak's oauth2 implementation is before the contents of the identity had been hashed out.

I don't understand why you need to do that. Can't you just plug an AccessTokenConverter (as a delegate) into the existing JwtAccessTokenConverter?

Hey @dsyer - Thanks for the quick response!  I am not sure how I would plug in a different converter, given it is created this way private AccessTokenConverter tokenConverter = new DefaultAccessTokenConverter(); inside the JwtAccessTokenConverter.  The JwtAccessTokenConverter is initialized by using the ResourceServerTokenServicesConfiguration and using a new operator.  So i figured overriding the configuration class, where the JwtAccessTokenConverter is created would be the place to override.  If i could override then all i really needed was to update the map to be what is expected, by overriding the decode method.
However, if I need to create an AccessTokenConverter that is fine.  How exactly would I set it on the JwtAccessTokenConverter created by the ResourceServerTokenServicesConfiguration?  I'd rather not have to have duplicate code in a custom AccessTokenConverter just to change the keys in a map.  Which also means that updates or changes that are needed to the code would have to be copied to the custom implementation, assuming we/I noticed there were changes.  Maybe I am missing something important here, if so please advise.
Thanks for your help!

JwtAccessTokenConverter has a setter for its delegate. You have to create one anyway to get JWT working so I don't think there's anything else to do here.
ResourceServerTokenServicesConfiguration is not  in this project (I think you have been looking at Spring Cloud Security?).

I have been working with Spring Cloud Security, yes.  I asked the question here b/c I figured I could just override JwtAccessTokenConverter which is in this project.  I am sorry I should have made greater emphasis that I am using Spring Cloud Security.   Should I ask a more pointed question in Spring Cloud Security?

To be clear (again) there's no need to override JwtAccessTokenConverter (just create your own AccessTokenConverter and inject it).
An issue in spring-cloud-security to cover that bit seems appropriate.

Understood, just trying to fill ya in on my thought process on why this was topic was here.  I'll create an issue in spring cloud security.
Thanks for your time!


vai_c_xir PyTorch compilation fails with XCOM_ITEM_UNDEFINED

I am using U50 with Vitis AI <IP_ADDRESS>8 and DPUCAHX8L_ISA0 to run and evaluate thousands of custom convolutional models to construct a large dataset of convnet architectures along with their performance on board.
For some models, when I try to compile the quantized model using vai_c_xir, the compilation fails with
[UNILOG][INFO] Begin to compile...
[UNILOG][FATAL][XCOM_ITEM_UNDEFINED][The requested item is not finded or defined!]
*** Check failure stack trace: ***
Aborted (core dumped)

A sample quantized xmodel file is here: custom_convnet.xmodel.zip.
Help would be appreciated. Thanks

I have identified many different models that are valid, can be trained and quantized, but do not compile using vai_c_xir due to XCOM_ITEM_UNDEFINED error. I cannot however make out a pattern; different expansion factors in MobileNet-like models, and different number of layers per block also generate this result. For some expansion factors/number of layers, things work fine, but fail for others without a proper justification of failures. The compiler should at least throw a decipherable error message, which is not the case here.

A few updates:
I compiled the same quantized model using ZCU102 as the target for DPUCZDX8G and Vitis AI 2.5 and the compilation goes smoothly. The error only appears when compiling for DPU DPUCAHX8L utilized by U50 (Can't use DPUCAHX8H since I'm using depthwise conv). The operations contained in the model are all supported by both DPUs. Hence the problem is likely on the compilers end vai_c_xir.

Hi @afzalxo , Is your model a pytorch model? And the vai_c_xir only supports the compilation of pytorch models. Thanks!


Feature/export adjustments cleanup

Closes #45.
Contains all the work from the feature/export-adjustments-working working branch, rebased against bbg_production and with some commits squashed.

Will take a look as soon as I have a working VM again!

It looks like the 'Export' button in the top right has the text 'Visualize' until some unknown JS loads on the page. Can we update so that the 'Visualize' text doesn't awkwardly flash before being replaced?

+1 after fixing the 'Visualize' text flash. Works great.

@sharph put in the 'Export' text; any thoughts on that?

It's probably a text change in the ruby html template for that header?

Looks like it's context-dependent; if it's not a visualization, that button is for making a visualization out of it.


nodePackages.wrangler: init

Create a package for the latest version of wrangler, and rename the old one to wrangler_1. The application will not work before Node.js v16.13.0, so this is added to the meta.
Also added wrangler to top-level.
Signed-off-by: David Houston<EMAIL_ADDRESS>Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Closes #176233

@ofborg build nodePackages.wrangler


feature request: add a checkbox to optionally increase seconds on every frame

Somebody saw your demo and created a repro using Aurelia
http://aurelia-thousand-nodes.bigopon.surge.sh/
and here is the repo
https://github.com/bigopon/aurelia-thousand-nodes
but with values in nodes updating only each second there is no way to compare.
Both implementations (react with fiber and aurelia) perform @ 60fps.
But if updates to seconds happen on every frame - things slow down a bit.
Could you modify your demo to include the checkbox that when checked eliminates the interval and increases seconds on every frame?

I recommend applying CPU throttling in the Chrome Debugger Menu if you want to understand the difference of what is happening.
On my computer Aurelia stalls out as the numbers update under load, whereas Fiber is smooth but decides not to increment the numbers in some scenarios.
See if its the same for you. I think incremental rendering still has a bit of a ways to go.


558 clean types

The Problem
Lots of inconsistencies in the types and messages at the lower levels.
The Solution
Increase assertions in the cf tests and fix types where needed. Fixes #558
Checklist:

[x] I am making this PR against staging, not master
[x] My code follows the code style of this project.
[ ] I have described any backwards-incompatibility implications above.
[ ] I have highlighted which parts of the code should be reviewed most carefully.
[ ] If my change requires a change to the documentation, I have updated it accordingly.

Things I would like to improve (but will do so in other PRs):

making all of the enums consts so we can easily extend events a la #525
renaming from to initiator in the event emitted msgs
creating *Data types (e.g. DepositStartedMessageData type) so consumers of the package can use those easily

Much needed clean up in here. Wasn't totally clear but will this fix the event symmetry issues?

Unfortunately, no. But I can add that in another PR. This one was already pretty hefty so I didn't want to add to it

Compiled my feedback + Layne's to-do-next list of further cleanup into issue #574
What we have here looks great though so let's merge it & do further cleanup specified by #574 in another PR


5.0.5 SameSite upgrade issue

When upgrading from 5.0.4 to 5.0.5, I get two compile errors in SilhouetteModule:

Cannot generate a config value reader for type Option[Option[play.api.mvc.Cookie.SameSite]], because value readers cannot be auto-generated for types with type parameters. Consider defining your own ValueReader[Option[Option[play.api.mvc.Cookie.SameSite]]]
[error]     val config = configuration.underlying.asCookieAuthenticatorSettings

Cannot generate a config value reader for type Option[Option[play.api.mvc.Cookie.SameSite]], because value readers cannot be auto-generated for types with type parameters. Consider defining your own ValueReader[Option[Option[play.api.mvc.Cookie.SameSite]]]
[error]     val settings = configuration.underlying.asCookieSecretSettings

I am assuming the compile error is because ficus can't do "configuration.underlying.as" on objects with complex types.  I suspect either Cookie.SameSite should probably be a string so we can override it in silhouette.conf.    Or if you want it to stay as is, can you please update play-silhouette-seed to 5.0.5 so users can see how SilhouetteModule should work with the new version?

Please read https://github.com/mohiva/play-silhouette/pull/541#issuecomment-395357916

Linking to the Cookie.SameSite ValueReader implementation in play-silhouette-seed, because that's what most people reading this issue will probably be interested in: https://github.com/mohiva/play-silhouette-seed/pull/105/commits/4afdd1d1573eb968c8894b11da039f3036a10ff8

@dominics that is overly verbose, this suffices:
implicit val sameSiteReader: ValueReader[Option[Cookie.SameSite]] =
    ValueReader.relative(cfg => Cookie.SameSite.parse(cfg.as[String]))


Add async request method

Currently the request method works synchronously. We could add a cancellable variant that works asynchronously. We could use the Cancellable from combine on supported platforms and implement an own one for other platforms.

Fixed in version 0.3.0.


[AutoBuild] fix test error

Why are these changes needed?
Fix AutoBuild test error by removing the TERMINATE assertion.
Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

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

Comparison is base (9708058) 39.46% compared to head (d6ed643) 21.72%.
Report is 9 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1750       +/-   ##
===========================================
- Coverage   39.46%   21.72%   -17.74%
===========================================
  Files          57       57
  Lines        6020     6093       +73
  Branches     1346     1481      +135
===========================================
- Hits         2376     1324     -1052
- Misses       3449     4606     +1157
+ Partials      195      163       -32

Flag
Coverage Δ

unittests
21.71% <ø> (-17.76%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove checksum file from zips and flesh out manifest file.

Fixes #N/A
Were any Django, import pipeline, table_schema, or dictionary files modified? Y

Database used: opus3_test_200517
All Django tests pass: Y

Were any JavaScript or CSS files modified? N

JSHINT run on all affected files: NA
Tested on Chrome, Firefox, Safari, and iOS: NA
(Remember to test all browser sizes)
Tested for race conditions (with delayed API calls if applicable): NA

Description of changes:

Removed checksum file from download zips
Changed manifest.txt to manifest.csv and added columns for various file attributes
Reordered zip filenames so they could be sorted by date more easily

Known problems:
None
Note: There is a change to opus_secrets.py required. MANIFEST_FILE_PATH is the path to where the manifest files are stored. They aren't deleted after the zip file is made.

Actually this fixed #1045


[data-tables] SAS options do not appear in generated SAS, rendering it useless

Package Name: @azure/data-tables
Package Version: 13.1.1
Operating system: N/A
[ ] nodejs

version: N/A

[ ] browser

name/version: N/A

[ ] typescript

version: N/A

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
The following SAS query parameters do not appear in the generated SAS when the corresponding options are passed to generateBlobSas() or generateFileSas()` in @azure/storage-blob or @azure/storage-data-lake:

Cache control (rscc)
Content disposition (rscd)
Content encoding (rsce)
Content language (rscl)
Content type (rsct)

The following SAS query parameters do not appear in the generated SAS when the corresponding options are passed to generateTableSas():

Start partition key (startPk)
Start row key (startRk)
End partition key (endPk)
End row key (endRk)

Looking at the code, the options are used to generated the signature. However, because they are not also included in the SAS URL, the generated SAS is effectively useless.
This occurs even if the version is high enough for the parameters to be included.
To Reproduce
Steps to reproduce the behavior:

Call generateTableSas() with at least one of the above options (for example, startPartitionKey: "00".

Expected behavior
The generated SAS should have the corresponding query parameter (for example, startPk=00
Screenshots

Additional context
We are attempting to expose these extra parameters to Storage Explorer so users can generate SAS with them.
The lack of key parameters for tables has caused a regression in Storage Explorer. This needs to be addressed ASAP.

I split the blob and file-datalake part into #25256 as they may be addressed separately.

Hi @craxal ,
About the issue in blob SDK, which interface do you use to generate blob SAS? The @azure/storage-blob SDK doesn’t have an interface with name of “generateBlobSas()”
I tried with this function generateBlobSASQueryParameters, the SAS generated includes the required properties in query string and usable. The generated SAS look like:
?sv=2016-05-31&spr=https%2Chttp&st=2023-03-15T01%3A43%3A20Z&se=2023-03-16T01%3A48%3A20Z&sip=<IP_ADDRESS>-<IP_ADDRESS>&sr=b&sp=racwd&sig=***&rscc=cache-control-override&rscd=content-disposition-override&rsce=content-encoding-override&rscl=content-language-override&rsct=content-type-override

Fixed with https://github.com/Azure/azure-sdk-for-js/pull/25293


[ui-scroll] datasource function never call

Hi everybody,
I'm trying to use the ngScroller from angular ui utils libs. I see all code's example from the repo and i see some plunker,... I could not understand why my datasource function is never call. I don't have any errors in my console. I'm using controller as syntax and i declare my datasource in my controller
see my datasource function :
            this.datasource = {};
            this.datasource.get = (index, count, success) => {
                    return this._timeout(() => {
                    console.log('ok');
                    var result = [];
                    return success(result)
                    }, 1000)
                };

In my html file :

                              Chargement en cours...

                              {{::town.text}}

Thanks.

This issue is a duplicate for https://github.com/Hill30/NGScroller/issues/61. So I see no problem and suppose that this one can be closed too.

Closing as suggested


NetDataWriter

PutArray now supports null
PutIPEndPoint now sends port as ushort instead of int
Put(~unmanaged~) is now obsolete:
Put((byte)1) -> PutByte(1)
(The same applies to PutArray)

It breaks if not "(LITENETLIB_UNSAFE || LITENETLIB_UNSAFELIB || NETCOREAPP3_1 || NET5_0 || NETCOREAPP3_0_OR_GREATER) && !


Create TEROS db integration

There is only the backend for handling getting the rocket logger data. Along with that the DB schema has to be updated to allow for the calibration of each soil sample, this should relate to each cell. A new view has to be create to do post processing of TEROS data.

Do after #5, therefore migrations can be tested

No longer using view as it can be all done within sqlalchemy.


delugePostProcess.py doesn't relocate moov, manual.py & postSonarr.py does

Hi,
Firstly, a huge thanks for mdhiggins for the excellent scripts, my Plex setup would have been lost without them!
Have been using manual.py & RSS + torrent feeds for years, finally switched over to Sonarr & Radarr and just today go things working again.
I do have one query:
Should deulgePostProcess.py still relocate the moov atom data just like manual.py or postSonarr.py?
I've noticed without changing anything in autoprocess.ini, the delugePostProcess converts the files to MP4 as normal but doesn't relocate the moov data. Once the script hands the file back to Sonarr, Sonarr renames and moves the file to a NAS , then fires the postSonarr.py script goes back and the moov data is relocated.
Initial conversion is done on an SSD, then the file is moved to a NAS , and then the moov ataom data is relocated. Hopeful I can get it to run in the first step so its on the SSD and not across the LAN to the NAS :)
Anyone have the same experience or complete opposite?
Here's the info.log excerpt:

2017-08-05 13:47:55 - delugePostProcess - INFO - Deluge post processing started.
2017-08-05 13:47:55 - readSettings - INFO - C:\Python27\python.exe
2017-08-05 13:47:55 - delugePostProcess - INFO - Successfully connected to Deluge
2017-08-05 13:47:55 - delugePostProcess - INFO - Converting file E:\Unsorted\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash[rarbg]/Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash.mkv at location E:\Unsorted\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash[rarbg]-convert.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Reading video stream.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Video codec detected: h264.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Pix Fmt: yuv420p.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Reading audio streams.
2017-08-05 13:47:55 - mkvtomp4 - INFO - No audio streams detected in any appropriate language, relaxing restrictions so there will be some audio stream present.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Audio detected for stream #1: aac [eng].
2017-08-05 13:47:55 - mkvtomp4 - INFO - Creating audio stream 0 from source stream 1.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Audio Track is number 1 setting disposition to default
2017-08-05 13:47:55 - mkvtomp4 - INFO - Reading subtitle streams.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Subtitle detected for stream #2: subrip [eng].
2017-08-05 13:47:55 - mkvtomp4 - INFO - Creating subtitle stream 0 from source stream 2.
2017-08-05 13:47:55 - mkvtomp4 - INFO - Starting conversion.
2017-08-05 13:47:57 - mkvtomp4 - INFO - E:\Unsorted\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash[rarbg]-convert\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash.mp4 created.
2017-08-05 13:47:57 - delugePostProcess - INFO - Passing E:\Unsorted\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash[rarbg]-convert directory to Sonarr.
2017-08-05 13:47:57 - autoprocess.sonarr - INFO - Sonarr notifier started.
2017-08-05 13:47:57 - autoprocess.sonarr - INFO - Requesting Sonarr to scan directory 'E:\Unsorted\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash[rarbg]-convert'.
2017-08-05 13:47:58 - autoprocess.sonarr - INFO - Sonarr response: queued.
2017-08-05 13:47:58 - delugePostProcess - ERROR - Unable to delete temporary directory.
Traceback (most recent call last):
File "C:\Scripts\AutoConvert\delugePostProcess.py", line 122, in
os.rmdir(delete_dir)
WindowsError: [Error 145] The directory is not empty: 'E:\Unsorted\Star.Wars.Rebels.S03E21.Zero.Hour.Part.II.720p.DSNY.WEBRip.AAC2.0.x264-TVSmash[rarbg]-convert'
2017-08-05 13:48:07 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2017-08-05 13:48:07 - readSettings - INFO - C:\Python27\python.exe
2017-08-05 13:48:07 - SonarrPostConversion - INFO - Processing \QNAP\Multimedia\TV Series\Star Wars Rebels\Season 03\Star Wars Rebels - S03E21 - Zero Hour (2).mp4.
2017-08-05 13:48:07 - mkvtomp4 - INFO - Relocating MOOV atom to start of file.
2017-08-05 13:48:07 - qtfaststart - INFO - Removing free atom at 32 (8 bytes)
2017-08-05 13:48:07 - qtfaststart - INFO - Patching stco with 31022 entries
2017-08-05 13:48:07 - qtfaststart - INFO - Patching stco with 31017 entries
2017-08-05 13:48:07 - qtfaststart - INFO - Patching stco with 316 entries
2017-08-05 13:48:07 - qtfaststart - INFO - Writing output...

This is the normal expected behavior, moving the MOOV atom only occurs after tagging takes place (due to issues with playback that come up if you tag after moving) and deluge, like all the other download client scripts, does not tag
If you'd like to move the moov atom and just tag after the fact you are free to do so. Simply have FFMPEG move the moov atom instead of using QTFastStart but adding -movflags, faststart to your postopts parameters in autoProcess.ini

Cheers for the speedy response!
P.S. Do you have a method of accepting donations/beer money?

No need to do that but if you'd like I have a PayPal and can always use beer money! It's<EMAIL_ADDRESS>Sent from my iPhone

On Aug 5, 2017, at 16:59, tconnz<EMAIL_ADDRESS>wrote:
Cheers for the speedy response!
P.S. Do you have a method of accepting donations/beer money?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Legend, cheers :)

Much appreciated! Thanks again

If you'd like to move the moov atom and just tag after the fact you are free to do so. Simply have FFMPEG move the moov atom instead of using QTFastStart by adding -movflags, faststart to your postopts parameters in autoProcess.ini

By doing it this way we shouldn't run into any playback issues, correct?

You might, the whole reason I don’t do this as the default is occasionally after tagging if you move the MOOV before tagging you’ll get seeking and playback issues, but it is very rare
From: JySzE
Sent: Sunday, February 18, 2018 2:46 PM
To: mdhiggins/sickbeard_mp4_automator
Cc: Michael Higgins; State change
Subject: Re: [mdhiggins/sickbeard_mp4_automator] delugePostProcess.py doesn'trelocate moov, manual.py & postSonarr.py does (#777)
If you'd like to move the moov atom and just tag after the fact you are free to do so. Simply have FFMPEG move the moov atom instead of using QTFastStart by adding -movflags, faststart to your postopts parameters in autoProcess.ini
By doing it this way we shouldn't run into any playback issues, correct?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Add to PyPI

What is it that you would like to propose to add/remove/change?
Place sewer on PyPI
Why do you want to add/remove/change that?
Enables wider use and packaging for some Linux distributions
How do you want to go about adding/removing/changing that?
https://packaging.python.org/en/latest/tutorials/packaging-projects/

Thanks, sorry for the resolved request.


Modifier for cached file name, that allows to pass callback function, that will allow customization for that

Modifier for cached file name, that allows to pass callback function, that will allow customization for that. The reason for, that modification was for me to get more readable cached file names. If one will not be set, then one will not be used.

if you're going to do a diff, you should preserve the current line endings without changing them and in the process cause the entire diff to look like the entire file was gutted and redone.

So I should do another commit and another pull request?

Yes, and you should use a feature branch for the pull request in the first place next time.

You mean 1.1 branch? I'm confused. I've pushed fix to my fork of the Twig. Next I should do the Pull Request, no?

@jeserkin no, you create a feature branch with another name and you use this branch to create the pull request. This way, your master branch does not diverge from the upstream one in case of a rejected PR, and you can submit several PRs at the same time using different branches

Btw, please fix the line endings issue. It is impossible to review the PR as is as we would have to do the diff by hand

@stof I understand. I'm bit new to git and more or less new to github. Is there a way to eliminate some commits from pull request. Or should I close this one and make another one?

The easiest way is to close this one and create a new one. And take care to base your feature branch on upstream/master, not on your modified local master branch


Update Dockerfile: add access.log

Add access.log to httpd.conf

May I propose the "extended" logformat?

You mean, your extended format from https://www.netnea.com/cms/apache-tutorial-5_extending-access-log/?
How should I add it?

Number 2 would be more readable. But I am not sure if it's common to do it that way.

I do not like Includes very much, but your call.
Can you do a <<EOF construct? That would make it more readable I guess.
Also: Don't forget to add the ModSec rules that fill the variables. You can find it all in my tutorial number 7, step 3.

Unfortunately, the extended log format can not be defined, as the CRS rules are missing in this modsecurity container.


[RESOLVED] Unavailable by ICMP ping

Problem started at 05:05:14 on 2023.01.05
Problem name: Unavailable by ICMP ping
Host: ZO-FG
Severity: High
Operational data: Down (0)
Original problem ID: 4677
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23123&eventid=4677

Problem has been resolved in 1m 0s at 05:06:14 on 2023.01.05
Problem name: Unavailable by ICMP ping
Host: ZO-FG
Severity: High
Original problem ID: 4677


2 external state

Why chaindb is built not as a parametrizable component.
Why can not chaindb be parameterized in runtime?
Why does chaindb have a tough link to mongodb?

This pull request is a prototype for chaindb implementation.
It doesn't contain any integration level with CyberWay, which will be implemented in other issues.
And I don't think, that is good idea to select type of DB on runtime.
We can create different versions of CyberWay optimized for different types of DB.
It is more fast way to get working project, than trying to do everything on start.


Running trained PointRCNN on dataset

Hi, I've been running through some tests on this code and it seems to be running quite well so far, but I was having some difficulty running a trained model on the dataset and printing/saving the results rather than evaluating against them. Does the existing code have this functionality built in? Or would I have to write my own script for this? Also if this is the case, would it be possible for you to outline what I'd have to do to get this working? Thank you!

You could save the results to the files by adding --save_result argument when you run the eval_rcnn.py, the results will save to the corresponding directory of your current experiment setting. You could refer to eval_rcnn.py for more details


SciLexer.dll. This file is within the project directory tree

How can I fix these in Visual Studio 2015?
Severity	Code	Description	Project	File	Line	Suppression State
Warning		The file '3rdparty\ScintillaNET\SciLexer.dll' could not be added to the project.  Cannot add a link to the file C:\Users\mona\playing-for-data\renderdoc\renderdocui\3rdparty\ScintillaNET\SciLexer.dll. This file is within the project directory tree.	renderdocui
Severity	Code	Description	Project	File	Line	Suppression State
Warning		The file '3rdparty\ScintillaNET\SciLexer64.dll' could not be added to the project.  Cannot add a link to the file C:\Users\mona\playing-for-data\renderdoc\renderdocui\3rdparty\ScintillaNET\SciLexer64.dll. This file is within the project directory tree.	renderdocui

Are you possibly using an old v2 of ScintillaNET?
Try our nuget packages or GitHub releases.
Once you have the correct DLL, you can use the documentation found in the wiki to get started.


Bugfix/maguire7/trilinear shading dev

Description
Resolves #4136
I've added a small change to the AddLightingHeadlight method (only used for trilinear ray casting). In short, I've updated this method to apply the "lighting power" to the diffuse part of the Phong shading equation only (similar to how it is handled in AddLighting). This dramatically reduces the harshness of the lighting when switching between different gradient lighting reductions.
Type of change
Please select one below (Please click check boxes AFTER submitting ticket)

[x] Bug fix
[ ] New feature
[ ] New Documentation
[ ] Other (please describe below)

How Has This Been Tested?
I've re-run the test suite, and I added a new test to check the gradient lighting reductions.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have updated the release notes
[ ] I have made corresponding changes to the documentation
[ ] I have added debugging support to my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added any new baselines to the repo
[ ] I have assigned reviewers (see VisIt's PR procedures for more information).

Resolved release notes conflict, and it dismissed Eric's review. Using admin to merge.


CLB: sync does not work

2023-08-31:
Tried to sync TITAN = failed
2023-09-01:
Tried to sync TITAN = failed:

Tried to sync Pterophoroidea = failed:

Tried to sync Gelechiidae = failed:

2023-09-05, sync still does not work - for @mdoering attention:
Gelechiidae:

TITAN:

There were missing database sequences for the projects that caused the sync to fail.
I have created a new updSequence command that creates missing sequences, updates existing ones and removes not needed ones (e.g. for releases). This seems to have solved the problem, TITAN synced fine on prod.

Thanks! Works now


✨ feat(scripts): mintlify docs create script

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
TODO

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

Comparison is base (1f65bc8) 58.98% compared to head (4c06237) 58.98%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #196   +/-   ##
=======================================
  Coverage   58.98%   58.98%
=======================================
  Files          13       13
  Lines         334      334
  Branches       29       29
=======================================
  Hits          197      197
  Misses        137      137

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Failed to install Pixie in a self hosted kops Kubernetes cluster

Describe the bug
Pixie does not work in a self hosted kops cluster. The scripts are not returing any output and the newrelic managed cloud UI also does not show any data.
To Reproduce
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.6", GitCommit:"8a62859e515889f07e3e3be6a1080413f17cf2c3", GitTreeState:"clean", BuildDate:"2021-04-15T03:28:42Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.8", GitCommit:"5575935422cc1cf5169dfc8847cb587aa47bac5a", GitTreeState:"clean", BuildDate:"2021-06-16T12:53:07Z", GoVersion:"go1.15.13", Compiler:"gc", Platform:"linux/amd64"}

ubuntu @ kuber-practodev :~ $ px version
Pixie CLI
0.5.12+Distribution.a945b68.20210525190228.1
$ px deploy
Pixie CLI

Running Cluster Checks:
 ✔    Kernel version > 4.14.0
 ✔    Cluster type is supported
 ✔    K8s version > 1.12.0
 ✔    Kubectl > 1.10.0 is present
 ✔    User can create namespace
 ✕    Cluster type is in list of known supported types  ERR: Cluster type is not in list of known supported cluster types. Please see: https://docs.pixielabs.ai/installing-pixie/requirements/
Some cluster checks failed. Pixie may not work properly on your cluster. Continue with deploy? (y/n) [y] :

Expected behavior
Expected kops default configuration cluster to be recognized, but sadly pixie considers it as unknow cluster. I went ahead and installed the cluster. Things did not work, none of the scripts returned any output.
Clusters recognized https://github.com/pixie-labs/pixie/blob/d9edd5d86db11964c1f00137e691be332cb169d4/src/pixie_cli/pkg/utils/checks.go#L44-L64
kops is very widely used in the community to run self hosted clusters. Please add support for it and let us know how to try it out!

Hi @alok87 - As far as I know, Pixie has only been tested with kOps on AWS. Could you share more details about your self hosted kops cluster? I'd like to try to reproduce this issue.

Too late, have moved on to other things. Can I close this for now?


Taking a list of ds.dims does not raise warning

What is your issue?
Take the following example:
import xarray as xr
ds = xr.tutorial.open_dataset('air_temperature')

ds.dims["time"]  # Emits: The return type of `Dataset.dims` will be changed to return a set of ...
list(ds.dims)  # Does not emit a warning

I think __iter__ should also emit a warning, but I'm unsure if the decision not to do it is deliberate.

I think that's deliberate: we're trying to transition ds.dims from a dict to a set. The warning should thus only be emitted when trying to interact with ds.dims as a dict (such as when accessing the data through __getitem__), while __iter__ is also defined on a set and thus will continue to work after completing the deprecation cycle – although the question of reproducing the ordering remains for sets.

In principle, we could return an ordered set object from ds.dims in the future. We already use own wrapper objects for other dict-like properties in Xarray, mostly to add immutability.

The relevant PR was https://github.com/pydata/xarray/pull/8500. Which was almost a year ago, so maybe we should think about completing this deprecation cycle soon? I believe @keewis is correct, but agree with @shoyer that we might actually prefer to return an OrderedSet.

I also think we should use a OrderedSet, as otherwise maintaining doctests for Dataset will become very tricky.


Video Call automatically get disconnected within 1 minute or less

Hello,
i use Apptrc android application using Room server URL : https://demo-node-apprtc.herokuapp.com/
AppRTC Application.
would you please help me?

Hello,
Is there any update on this issue ?
I am facing same issue for app to app And app to web. For web to web it's working fine.
It would be great if you help me out .
Thanks

Hi,
It caused by turn server that used on this repo. It only allows 1 minute to
established.
It better that you use your own stun/turn server to get reliable call.
On Wed, Jan 2, 2019, 5:50 PM NeelamParmar<EMAIL_ADDRESS>wrote:

Hello,
Is there any update on this issue ?
I am facing same issue for app to app And app to web. For web to web it's
working fine.
It would be great if you help me out .
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MidEndProject/node-apprtc/issues/8#issuecomment-450834099,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_-PkbuYnU6WGTbQWeTMhvBABalkkw2ks5u_I7pgaJpZM4ZKATb
.

ok, thanks


chore(payment): PAYPAL-2611 bumped checkout-sdk-js version

What?
Bumped checkout-sdk-js version
Why?
To update code
checkout-sdk-js PR: https://github.com/bigcommerce/checkout-sdk-js/pull/2601
Testing / Proof
Unit tests
@bigcommerce/team-checkout

@andriiVitvitskyi1990 Could you please confirm if this PR is still relevant?


Does uvw is thread-safe?

Hello, I'm working on a TCP/UDP client that will send mass messages to the server from numerous threads. Is the uvw thread-safe?
I see the test folder there has an example for AsyncHandle, so if use the TCPHandle rather than AsyncHandle, the uvw will work synchronously?
Thanks

I close this since all questions have been answered and there is nothing to do in uvw. 👍


enhanced zustand selectors that can early return

Problem:
Some Zustand selectors can be very expensive (sometimes in the 2-3ms range!!!), but they are still cheaper than re-rendering the components. If only there were a way to memoize the selected results.
Fix:
Added a second (optional!) parameter to the selector functions that can be used to compare the previous state to the new state, and bail out from recalculating the selector.
Commit Details:

Selectors are now called with a second paramter containing { previousState, previousResult}. if previousState === state, they can just return previousResult
useEditorState now takes the name of the selector as an optional argument, used for debugging performance.

as per our phone conversation, I'm closing this PR in favor of experimenting with reselect selectors. the reference implementation contains a mistake which kind of proves that this shouldComponentUpdate-style dependency checking is dangerous because it doesn't break the build if you miss a dependency and enables silent errors


Check MC_POS_CONTROL for use of actual vs. set point yaw for transformations

@tumbili Please check tomorrow that in mc_pos_control the right yaw value is used for transformations. Andreas has some toilet-bowling which very much sounds like the wrong value is being used.

This might also be caused by using the external heading update.  I noticed that when the vehicle is yawed 90 degrees clockwise while using mocap, the px4 and mocap estimates start to diverge which causes toilet-bowling in position control mode.

@tumbili The line I'm not 100% about is this one:
https://github.com/PX4/Firmware/blob/master/src/modules/mc_pos_control/mc_pos_control_main.cpp#L1650-L1651

@julianoes Could you have a look here?

If it is indeed wrong this here would be the fix: https://github.com/PX4/Firmware/pull/3397
I'm just not 100% convinced yet its wrong. The fix does not deteriorate anything in simulation at least.

We checked and proved its correct now.


How to change cell width for exported Excel data?

I am trying to figure out how I would change the column cell width in my exported Excel data. Is there a way to set the cell width to auto-size or stretch to the size of the data,  so that if I export a long piece of information, it doesn't get split up into multiple narrow columns, but shown as one wide column with the full text displayed?

That depends on if the tablib library can do it, since that's what we use to read and write Excel files. I'm on my iPhone so it's hard to check that at the moment.

@ntorek if tablib can do it, we can do it too.
I am interested in adding a feature that would allow some basic styling.
If you want to give it a try, here is tablib code, that should manipulate styles in xlsx format (did not try it).
https://github.com/kennethreitz/tablib/blob/master/tablib/formats/_xlsx.py


method for mango query

I suggest implementation for mango query (only CouchDB 2) http://docs.couchdb.org/en/2.1.0/api/database/find.html.
I used django's filter implementation.
data = db.filter(field__subfield1__...__mango_operator = value)
data = db.filter(Q(field1__subfield1__...__mango_operator = value)
                          | Q(field2__subfield1__...__mango_operator = value)
                          & Q(field3__subfield1__...__mango_operator = value))

Work:

Combination operators: http://docs.couchdb.org/en/2.1.0/api/database/find.html#combination-operators, except: $elemMatch, $allMatch.
Condition operators http://docs.couchdb.org/en/2.1.0/api/database/find.html#condition-operators,
not tested types: Object, Array-$size, Miscellaneous - $mod.
Sort, limit, fields and other request json object but need test http://docs.couchdb.org/en/2.1.0/api/database/find.html#db-find

I will work on update. In first I would add Array operators - $elemMatch, $allMatch.

I added support for $elemMatch, maybe $allMatch (not tested).
aaf039555c3241c355d6d1186f20d9fdd1d833a5
feats: [{subfeat: 1, ...}, {subfeat: 2, ...}]
db.filter(feats_L_elemMatch__subfeat__eq = 1)

feats: ['FOO', 'BAR']
db.filter(feats_L_elemMatch__regex = '(?i)fo')

L - define "feats" field as list
elemMatch__subfeat__eq - selector on "subfeat" field
This can be bad implementation. I will be glad to suggestions.

As you can see here, there are some test failures caused by this PR. Can you look at those and make sure they no longer fail?

I fixed doctest. But travis log error:

couchdb.http.ServerError: (400, ('bad_request', 'Referer header required.'))

I not get this error in local test log.


Urgent: Create Reservation - DSA and STO user - shows "invalid file format" when PDF is uploaded, tried other PDF files, still doesn't work

attempts of uploaded in it with image file formats .. the submission was successful... its the PDFs again

still can't upload

it works


Feature request: add custom PNG metadata

I'm using lwip as part of a project at LinkedIn with @chriseppstein, which involves generating custom PNG images from other images. Since this is computationally expensive, we are currently saving certain information to check if our PNGs need to be regenerated, such as the modification times of the source images. We would ideally like to save this information in the PNG metadata, perhaps in a a tEXt data chunk, and were considering writing this feature for lwip. Is this a feature you would consider accepting, and if so do you have any opinions on how that should be implemented?

Is this a feature you would consider accepting

Absolutely.

how that should be implemented?

I would start by learning how the PNG format defines storing text data in the file. Then this would have to be supported by the decoder and the encoder.
Additionally, the lwip Image type would have to support storing and accessing this data. I.e., passing initial data in the constructor, and providing a 'getMetadata' and 'setMetadata' methods on the prototype.
When an image is decoded from PNG, its metadata would be passed into the Image constructor. When an image is encoded into PNG, the metadata on the Image object would be passed to the encoder.
For all other formats (JPEG and GIF) it will be ignored for now.


[Chore] Adding role access right overview to the documentation

Checklist

[x] I tested all changes locally

Motivation and Context

The recent introduction of the editor role added complexity to the role system of Artemis.
To keep an overview of the permissions and the purpose of each role a new section is added to the documentation.
Description

The section Access Rights should help understand when to use which role and display which functionality can be accessed by which role.
Steps for Testing

Once you have installed Sphinx (it does not take long) you can locally create the documentation by executing make html in the docs folder.

Build the documentation on your machine
Check whether all access rights are displayed correctly
Check whether access rights are missing
Did the documentation help you to understand when to use which role? Are there any questions left open that should be addressed in this section?
Check for spelling mistakes

Answer to https://github.com/ls1intum/Artemis/pull/3426#pullrequestreview-660838444
No worries about the change request, that's why we have reviews :)
Regarding the bug with the overview:
I faced the same issue, but I was able to resolve it by deleting the _build folder and completely rebuilding the documentation with make html. It seems like otherwise the dependencies are not updated properly. Could you give it a try and see if that works for you aswell?
As far as I know adding the page to the index.rst should be sufficient.
I have had another look at the role ANONYMOUS and changed the documentation accordingly, it was actually not quite correct before.
I don't quite get what confuses you with the Admin - what is the problem with the Admin being the superset?
I have rephrased it a bit:

If a subordinated role has all permissions or a role does not have any access rights, it is not explicitly displayed.
I think that this is quite clear, do you have a suggestion how to improve it? Everything that comes to my mind is to include an example, but I wanted to keep it as short and precise as possible.


WIP: chore: add preview branch condition

Changes:
Add branch restrictions for PR preview push CI.

Update:
Currently, we can't get the token through GitHub secret. We're looking for infra's help.

Update:
Currently, we can't get the token through GitHub secret. We're looking for infra's help.

Secrets are not passed into the fork repo, I don’t think this GitHub action would work as expected.

Secrets are not passed into the fork repo, I don’t think this GitHub action would work as expected.

Yes, Secrets are standalone, we could merge this first 🤔 to make it running as expected

Secrets are not passed into the fork repo, I don’t think this GitHub action would work as expected.

Yes, Secrets are standalone, we could merge this first 🤔 to make it running as expected

No. What I mean is that this GitHub Action will not work as expected. It aims at previewing the changes in pull requests, which are mostly opened from fork repos, that said, it mostly won’t be able to deploy a preview page due to the lack of privileges. .


added split testing endpoints

Added split testing endpoints to address https://github.com/netlify/open-api/issues/108

Looks good to me.
Wish I knew about these a while ago 😄


Improve wallet UX

Currently the wallet is sort of hidden in the bottom left corner. User should be able to connect when doing their task without looking for where the wallet is. Users should also receive auto-airdrop when they first connect so that they can deploy without effort.

ddf56cbae4ef7df824b13bb99ba34faca40356da solves this issue.


kele-list: show owner references in column

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 63.11%.

Files
Patch %
Lines

kele.el
0.00%
9 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #211      +/-   ##
==========================================
- Coverage   63.62%   63.11%   -0.51%
==========================================
  Files           1        1
  Lines         745      751       +6
==========================================
  Hits          474      474
- Misses        271      277       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Future items:

RET when point on an owner-ref cell should kele-get the owner resource (with completion in cases of multi-owner)


[WelcomeUX] Walkthrough should be one word

Testing #18091

I have seen both and felt walk-through was more common.

Might be a locale thing? Looks really strange to me as en-AU. en-UK is likely the same as it's very similar.
Some data:

"walk through" in Google -> 59,700,000 results
walkthrough in Google -> 102,000,000 results
There is no walk-through wikipedia page, but there is walkthrough https://en.wikipedia.org/wiki/Walkthrough
http://www.wordwebonline.com/en/WALKTHROUGH seems to indicate "walkthrough" is used in particular within computing?

Stylistically, I like walkthrough better.  I don't like capitalizing more letters, and that helps us avoid that.

I adopted walkthru where I did see it in the content.

Not a bug anymore since it is now called "Interactive Playground"


added fields for structural variants

Duplicate of #772

+1 Important step.

Thanks @ejacox the implementation can be seen here https://github.com/ga4gh/server/pull/1579 . +1

Thanks @ejacox @kozbo @david4096 Great!


cache rule set across invocations of capa

closes #1212
TODO:

[x] script to dump cache to file
[x] load cache from pyinstaller'd resources
[x] update CI to pre-build cache and embed in pyinstaller

Checklist

[ ] No CHANGELOG update needed

[ ] No new tests needed

[x] No documentation update needed

pyinstaller binaries load pre-built cache:

linux/mac vs windows are deriving different cache filenames, which means they're encountering different rule content. we should investigate why this is so, in case its an underlying bug.

We should also add these improvements to the IDA plugin, e.g. at https://github.com/mandiant/capa/blob/master/capa/ida/plugin/form.py#L528. I think there's some code dup that can be cleaned up as part of this.

ah good point on the IDA plugin logic. i assumed it re-used code from main, but i see it needs to be updated. i'll do that now.


Alert on failure

Need

As a dev I want to be alerted when the atlas asset generation pipeline fails

Approach

[x] set up a slack bot to ping the single-cell-ops channel when the pipeline fails
[ ] Alternatively set up a separate pipeline slack channel for all alerts

DOD

[ ] Failing runs of the pipeline generate slack alerts with links to the pipeline failure

@MDunitz closing


AbstractHmBody doesn't allow to use different matchers for text bodies

Fix for #794.
I've added AbstractHmTextBody matcher, that converts body contents to String and use that to match the contents with provided matcher. Added text body matchers for Request and Response with relevant test cases.
However, there still not covered descriptions of the fails and describeMismatchSafely is not implemented. Left puzzle to address this issue.
This PR partially solves original issue. Left puzzle to address what was left (converting AbstractHmBody to AbstractHmBytesBody) as those are beyond 30 mins mark.

Job #813 is now in scope, role is REV

Codecov Report

Merging #813 into master will decrease coverage by 0.02%.
The diff coverage is 84.84%.

@@             Coverage Diff              @@
##             master     #813      +/-   ##
============================================
- Coverage     76.54%   76.52%   -0.03%
- Complexity      956      968      +12
============================================
  Files           215      218       +3
  Lines          4567     4600      +33
  Branches        366      368       +2
============================================
+ Hits           3496     3520      +24
- Misses          918      926       +8
- Partials        153      154       +1

Impacted Files
Coverage Δ
Complexity Δ

...java/org/takes/facets/hamcrest/AbstractHmBody.java
75% <ø> (ø)
5 <0> (ø)
:arrow_down:

...n/java/org/takes/facets/hamcrest/HmRsTextBody.java
100% <100%> (ø)
4 <4> (?)

...n/java/org/takes/facets/hamcrest/HmRqTextBody.java
100% <100%> (ø)
4 <4> (?)

.../org/takes/facets/hamcrest/AbstractHmTextBody.java
73.68% <73.68%> (ø)
4 <4> (?)

src/main/java/org/takes/rs/Body.java
84.78% <0%> (-8.7%)
0% <0%> (ø)

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 277f0a8...76917b2. Read the comment docs.

This pull request #813 is assigned to @g4s8/z, here is why. The budget is 15 minutes, see §4. Please, read §27 and when you decide to accept the changes, inform @yegor256/z (the architect) right in this ticket. If you decide that this PR should not be accepted ever, also inform the architect.

@g4s8 ping

@yegor256 I accept

@yegor256 can you merge this one?

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 18min)

@elenavolokhova/z please review this job, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality good

@0crat quality good (here)

@elenavolokhova You can't do that, unless you have one of these roles: ARC, PO. Your current roles are: QA.

QA review completed: +8 points just awarded to @elenavolokhova/z

Order was finished, quality was "good": +20 points just awarded to @g4s8/z

@0crat quality good (here)

@elenavolokhova The job #813 is now out of scope

Payment to ARC for a closed pull request, as in §28: +10 points just awarded to @yegor256/z