[Android] Fresh install fails on resources (icon) not found

Describe the bug
When adding the plugin to a cordova project the android build fails due to missing icon
To Reproduce
Steps to reproduce the behavior:
cordova plugin add <this plugin>
cordova build android
Expected behavior
Should work
Desktop (please complete the following information):

OS: [Android]

Additional context
changing the @mipmap/icon to @mipmap/ic_launcher solves this issue.
Might be only my environment though, not sure, but it's not a great developer experience.
Also the icon that exists is a default one and not the app icon.
The build has warnings.
I would like to address all these issues related to icon definition in this issue, either by documentation or by proper cordova intallation/build code.

I think this issue is the same as:
https://github.com/mauron85/cordova-plugin-background-geolocation/issues/553
Which was also reported here:
https://github.com/apache/cordova-android/issues/678
I think the solution to this issue is simply change the default parameter value from icon to ic_launcher and writing in the documentation that this plugin supports Cordova 8.x and above.

I'm going to be working on another Android issue today, so I'll check this out too.

Go ahead. I think the only change that is needed is changing the default value of the parameter, the rest of the issues I saw in the build are not related to this plugin, I think...

Right, yep - lets make sure that we're targeting only Cordova Android >= 8.0 and API >= 26. I'll add these checks to the plugin, and modify the docs to match.

Go ahead. The docs still has an example of old config style which is inside config.xml, this is no longer relevant as it moved to package.json. Worth fixing this too I believe...

Ah right - this section?
<plugin name="cordova-background-geolocation-plugin"<EMAIL_ADDRESS>  <variable name="GOOGLE_PLAY_SERVICES_VERSION" value="11+" />
  <variable name="ANDROID_SUPPORT_LIBRARY_VERSION" value="26+" />
  <variable name="ICON" value="@mipmap/ic_launcher" />
  <variable name="SMALL_ICON" value="@mipmap/ic_launcher" />
  <variable name="ALWAYS_USAGE_DESCRIPTION" value="App requires background tracking " />
  <variable name="MOTION_USAGE_DESCRIPTION" value="App requires motion detection" />
</plugin>

Yup. :-)


fix horizontal scroll and broken anchor tag

There is a horizontal scroll in index.html, which should not be there (Improving UI #276) . Also, there was a broken anchor tag, which was fixed.

@AdityaSrivast thanks for contributing.


Update Global Concurrency Validation

Adds extra validation around the creation of global concurrency limits. Inspired by https://github.com/PrefectHQ/prefect/issues/10779 (but that issue will be fully closed by api validation).

@zhen0 and I discussed writing a validation rule isGreaterThanOrEqual to user here so we can have a reusable rule for this sort of thing.


at: 3.1.20 -> 3.1.23

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from at.
meta.description for at is: '"The classical Unix `at' job scheduling command"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23/bin/atq had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23/bin/atrm had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23/bin/at had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23/bin/batch had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23/bin/atd had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23/bin/atrun had a zero exit code or showed the expected version
0 of 6 passed binary check by having a zero exit code.
0 of 6 passed binary check by having the new version present in output.
found 3.1.23 with grep in /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23
directory tree listing: https://gist.github.com/df5a2a985d4b75df6c5a2047918eea6d
du listing: https://gist.github.com/9097aa973fc157aaabc5b7f47d9b2988

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/8eb79c6ae7a9756218d1acbd24c360d074ebf5ff.tar.gz -p at
ls -la /nix/store/b8zwnh6hixb0jr3kd0yqzzkn5xm6aynv-at-3.1.23

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: at
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: at
Partial log (click to expand)
Cannot nix-instantiate `at' because:
GC Warning: Failed to expand heap by<PHONE_NUMBER>0 bytes
Can't start up: not enough memory

Success on aarch64-linux (full log)
Attempted: at
Partial log (click to expand)
shrinking /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/bin/at
gzipping man pages under /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/bin  /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/sbin
patching script interpreter paths in /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23
/nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/sbin/atrun: interpreter directive changed from " /bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
/nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/bin/batch: interpreter directive changed from " /bin/sh -e" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh -e"
checking for references to /build in /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23...
moving /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/sbin/* to /nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23/bin
/nix/store/jbg7jgz2r75ww9jklzia44v7siyni81k-at-3.1.23

@grahamc every job on builder-0-gustav.ewr1.nix.ci has failed for about a day with "not enough memory" (example above). Can you please disable or restart it? (Or even better, maybe teach ofborg to auto-detect failing builders some day :smile: )

builds and passes nixos/tests/atd locally.


[2.2] fix: issue #10299 fixed.

[2.2] fix: issue #10299 fixed.

Checked and Found that the issue has been fixed and working fine now. Please check the video for reference.
Video
https://github.com/user-attachments/assets/04100132-eda2-4cd4-a269-663ab05b7df3


Please add Femto metadata that include which npm dependencies are required

Just like in here
Potentially adding svelte-loader as a dev dependency? 🤔

metadata added


Fixes #12013: Fix for a pure virtual call in Sds constructor

Signed-off-by: Dmitri Dolguikh<EMAIL_ADDRESS>Fixes https://github.com/envoyproxy/envoy/issues/12013
Risk Level: Low
Testing: added a test
Docs Changes: n/a
Release Notes: n/a

ping @snowp

responded to feedback

fix clang_tidy (about unused using ByMove etc)

fixed clang-tidy errros

Does this avoid making any calls to virtual functions in the ctor or just bypasses the specific issue with the base class not being initialized?

The issue is due to virtual functions are being called from the base class (where these functions are pure virtual) ctor: at this point sub-class hasn't yet been instantiated, and these functions cannot be yet resolved. The issue in this case is resolved by moving the call to the init_manager to the concrete sub-class ctor -- this guarantees that the functions have implementations.
I agree that this is still not ideal, but I think the bigger issue lies with component initalization/dependency wiring and init_manager.

How about extracting the Init::Target registration into a function that needs to be called during object creation instead of relying on virtual dispatch in the ctor? The proposed solution works for the current class hierarchy, but I'd be a bit concerned that future changes here could trip over this issue again (e.g. new SdsApi implementations are added with more complex class hierarchy). WDYT?

The calls to virtual methods are a result of  Init::Target registration, but aren't direct calls -- they are made when the subscription eventually invokes the onConfigUpdate callback, which then invokes validateConfig and setSecret defined in concrete subclasses.
I also realised the problem is more complicated than I thought: using this pointer should normally result in correct overloaded method being called. But likely b/c when the callback above is invoked, only the base class (and its vtable) have been constructed, the call is handled by the base class, which defined a pure virtual method only.
Postponing the call until we are in the subclass constructor seems to resolve the issue. The only other thing I can think of is to use a Cleanup class to delay this initialization until the ctor is completed.

ping @snowp

ping @snowp

This is why the style guide suggests never making virtual calls in ctor/dtors, because the vtable might be partially constructed/destructed. Using a Cleanup-like class in the base ctor probably wouldn't work, as I believe the base ctor will return before the ctor of the sub class. As such I don't think there is any way of doing virtual calls in a ctor that is safe against further sub classing, which is why I suggested handling the init logic as part of the static create method instead. I think we could ensure that this init call happens in test etc. by ASSERTing in the SdsApi dtor that initialization has been done, so now we get 1) no funny vtable business and 2) ASSERT guarantee'd initialization. WDYT?

I agree with pretty much everything above. My concern is that by delaying the addition of SdsApi init_target to the init_manager until after the concrete class has been instantiated we are breaking a convention (I think only VHDS doesn't follow it, but it's weird anyway):  on return from ctor we get a subscription instance that will be initialised/is initialised without any additional work. It's also somewhat subtle and easy to miss when looking at the code. Moving the logic into concrete class ctors is more obvious and harder to miss (also: is this class going to be extended further?). Personally, I'd rather keep the logic in concrete class ctors, but if you feel strongly about this, I can move it out to create methods in concrete implementations of SdsApi.

fixed formatting
merged in latest mater

ping @snowp

added an assert in dtor to confirm that the init_target has been registered with the init_manager.

I think a better place for this flag is in the init_target itself. Such a change would expand the scope of this PR though. I can create an issue so it doesn't get lost.

merged in latest master

I think a better place for this flag is in the init_target itself. Such a change would expand the scope of this PR though. I can create an issue so it doesn't get lost.

Yep I agree

This LGTM, can you take a look at CI?

Fixed an issue reported by clang-tidy

merged in latest master

ping @snowp


Openshift 4.2 is compatible with splunk connect v 1.2.0?

As title, thanks

I have deployed successfully on 4.2 using the cri-o settings available in the develop branch.
https://github.com/splunk/splunk-connect-for-kubernetes/blob/32bcc6fbcb642012bdf1f8e3d7a609cdad8fd7de/helm-chart/splunk-kubernetes-logging/values.yaml#L52

Hi Metthew, thanks for your kind reply, I have 2 questions:

how i can deploy the chart from develop branch? I just need to make a tar.gz of repo or what?
Do you edit the values from logs section too? This:

https://github.com/splunk/splunk-connect-for-kubernetes/blob/master/helm-chart/splunk-kubernetes-logging/values.yaml#L150
because in cri-o the unit file is not docker.service and the path of logs is different from docker

Thanks again

Version 1.3.0 is available now, no need for dev branch. Yeah, journald inputs can be updated as well as needed.

Closing as resolved with https://github.com/splunk/splunk-connect-for-kubernetes/releases/tag/1.3.0


Fix flaky tests by locking on the statup type

@martincostello  I think this will fix #2836

Thanks - I'll run the build a few times and if it passes every time I'll merge it 🙇♂

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

Project coverage is 92.06%. Comparing base (4baef30) to head (fc23f7d).
 Consider uploading reports for the commit 377bd03 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2838      +/-   ##
==========================================
- Coverage   92.13%   92.06%   -0.08%
==========================================
  Files          91       93       +2
  Lines        3088     3111      +23
  Branches      529      536       +7
==========================================
+ Hits         2845     2864      +19
- Misses        243      247       +4

Flag
Coverage Δ

Linux
92.06% <ø> (-0.08%)
:arrow_down:

Windows
?

macOS
92.06% <ø> (-0.08%)
: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.

@martincostello Actually, thinking about it, I think the lock needs to be larger, encapsulating the whole test. Because while the client is running, you are not able to compile it.

There's also a failure after the tests end where there's a write conflict on the coverage report:
2024-04-25T10:44:39: Error during rendering summary report (Report type: 'Html'): The process cannot access the file 'D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\artifacts\coverage\index.html' because it is being used by another process.
  Basic -> D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\artifacts\bin\Basic\release_netcoreapp3.1\Basic.dll
  Out-File: The process cannot access the file 'D:\a\_temp\_runner_file_commands\step_summary_23f9f5a4-591b-4ba4-ac37-76846145df0c' because it is being used by another process.
D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\Directory.Build.targets(25,5): error MSB3073: The command "pwsh -Command "(':chart_with_upwards_trend: Swashbuckle.AspNetCore.Annotations.Test Code Coverage report' + [System.Environment]::NewLine + [System.Environment]::NewLine + (Get-Content D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\artifacts\coverage\SummaryGithub.md | Out-String) + [System.Environment]::NewLine + [System.Environment]::NewLine + '') >> D:\a\_temp\_runner_file_commands\step_summary_23f9f5a4-591b-4ba4-ac37-76846145df0c"" exited with code 1. [D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.Annotations.Test\Swashbuckle.AspNetCore.Annotations.Test.csproj]
  Swashbuckle.AspNetCore.SwaggerGen.Test -> D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\artifacts\bin\Swashbuckle.AspNetCore.SwaggerGen.Test\release_net6.0\Swashbuckle.AspNetCore.SwaggerGen.Test.dll

I already realized it won't work... the lock is not long enough and putting the whole method in it will not allow await

This reworked version has run 50 times in parallel for me (however, I was only running the integratin tests, not other tests)

whole method in it will not allow await

Await is possible within lock in recent versions of C# IIRC.

Noth that I could find, MS documentation also states it is not possible: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/lock?devlangs=csharp&f1url=%3FappId%3DDev17IDEF1%26l%3DEN-US%26k%3Dk(lock_CSharpKeyword)%3Bk(SolutionItemsProject)%3Bk(DevLang-csharp)%26rd%3Dtrue

Maybe I've confused it with await support for finally

@martincostello I was reading up on xunit, tests inside a class are run sequentially, so I think the issue is actually that the client wasn't being disposed, so depending on the garbage collector running you would run into the issue. I added a using to all the methods

Ah cool - I had noticed that myself in a few tests when doing work on them, but I hadn't gone through all the specific usages to ensure everything is disposed of.

Hopefully this now fixes the locking issues... I haven't run into it, hopefully now it solves it for you as well

I'll run the CI a few times and see how it goes. I've updated the PR description to not close the associated issue as I don't think this change will fix the case where it fails due to conflicts when writing the code coverage report(s): https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/2838#issuecomment-2076893700

Happy to help

I think you could call me doing this in dutch Woggen (tranlates to english as Wabbing). Making a verb from the acronym for Werk Ontwijkend Gedrag/Work Avoiding Behavior)


[TASK] Add a test and documentation of restarting by running RAVEN again.

Issue Description
Is your feature request related to a problem? Please describe.
The user documentation and the tests seem to be missing any examples of restarting by running again.
Describe the solution you'd like
Add some more to the use guide section Sampling from Restart and add two tests (one a prereq of the other) to the tests/framework/Samplers/Restart tests.
Describe alternatives you've considered
Continue to let users guess how to do this.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Issue closure checklist is satisfied.


implement some sort of monster ai

in reality we'll probably just use super-dumb-simple finite state machines
but i'm going to dump some random links i found here

http://www.roguebasin.com/index.php?title=A_Better_Monster_AI
http://www.roguebasin.com/index.php?title=Need_driven_AI

http://www.roguebasin.com/index.php?title=The_Incredible_Power_of_Dijkstra_Maps
likely also relevant to #35

per that last article:

Desire-driven AI. Most of the things a monster will do involve moving toward something or moving away from it. Here are some examples:
The player: approach or flee.
Treasure: collect it.
Fellow monsters: approach to aggregate into packs, flee to keep monsters wandering around by themselves.
Food: Go to it and eat it.
Water: Go to it and drink it.
Sounds: Investigate them, or avoid them.
Hive queen: Stay near her.
Stealth: Prefer to be in cells that the player can't currently see.

http://roguelikedeveloper.blogspot.com/2007/10/unangband-monster-ai-part-one-history.html


Downstream split tracking issue

Comment:
With #49 in, we now need to adapt the downstream feedstocks by removing udunits2 from the run requirements.
Here is a list constructed from @xylar's search-fu in https://github.com/conda-forge/udunits2-feedstock/pull/48#issuecomment-1723252145.  When you pick up one from the list, please add your name and/or the PR after the feedstock. When it's successfully completed, tick the box :)

[ ] ~~https://github.com/conda-forge/cdms2-feedstock~~ @xylar is not seeing udunits2 here.
[ ] https://github.com/conda-forge/cdo-feedstock
[ ] https://github.com/conda-forge/cf_units-feedstock
[ ] https://github.com/conda-forge/cfunits-feedstock
[ ] ~~https://github.com/conda-forge/cmor-feedstock~~ CMOR wants to keep the dependency on udunits2, see https://github.com/conda-forge/cmor-feedstock/pull/67#issuecomment-1775937231
[ ] https://github.com/conda-forge/enso_metrics-feedstock
[ ] https://github.com/conda-forge/fimex-feedstock
[x] https://github.com/conda-forge/genutil-feedstock - @xylar: https://github.com/conda-forge/genutil-feedstock/pull/26
[ ] https://github.com/conda-forge/gimli.units-feedstock
[ ] https://github.com/conda-forge/ncl-feedstock
[x] https://github.com/conda-forge/nco-feedstock - @xylar: https://github.com/conda-forge/nco-feedstock/pull/184
[x] https://github.com/conda-forge/ncview-feedstock
[x] https://github.com/conda-forge/r-rnetcdf-feedstock
[x] https://github.com/conda-forge/r-udunits2-feedstock
[x] https://github.com/conda-forge/r-units-feedstock

I'm happy to handle the r-* feedstocks.

Downstream recipes for r-rnetcdf, r-udunits2, and r-units have been adjusted. ✅✅✅

Thanks @mfansler!


Investigate options for collecting and presenting project (meta)data statistics

In order to fully describe requirements for the collection and presentation of the project (meta)data statistics to serve as means of designing and creating indices to power advanced search capabilities, there a need to understand what is technically feasible.
Investigate options for collecting and presenting project (meta)data statistics with a focus on the capabilities described in #2517. Implement a proof of concept plugin/fork (both Fusion and Delta support) that demonstrates the required capabilities:

index type information

counts and relation with other top level types
occurrence of relations with other top level types (in percentage - e.g. occurrence = how many relations exist out of a maximum)
(nested) properties per type
occurrence of properties per type (in percentage)

present the type information over an API (no strict requirements for a RESTful interface, but may be simpler)
present counts and relations in a graphical layout in Fusion (nodes represent types and edges represent the sum of count of all relations between two types)
upon selecting a type in Fusion in the graphical layout a detail panel will be made visible with the type details:

counts and relation with other top level types
occurrence of relations with other top level types
(nested) properties per type
occurrence of properties per type (in percentage)

specific Fusion interactions that need to be demonstrated:

types (nodes) must be selectable; the immediate neighbours must be highlighted as well
they must be rendered with different sizes; the size must correlate to the count of resources of that type; the size variation needs to be normalised
edges (relations) must be selectable - no behaviour for now
the thickness of the edges can be controlled based on the count of relations
zoom in / zoom out

Additional notes:

success is measured through the demonstration of the required capabilities or proof of absence of a technically feasible solution
the outcome of the PoC must be documented through a series of issues linked to the parent Epic to be implemented in later iterations
the PoC must be a working prototype

Provisional example:

Some ides for creating the metadata statistics:

https://rdfquotient.inria.fr/
https://gitlab.inria.fr/cedar/RDFQuotient

Graph visualisation:

http://sigmajs.org/
https://github.com/dunnock/react-sigma
https://linkurio.us/
https://neo4j.com/product/bloom/


Add Ubuntu update fix

After Ubuntu update there's following issue
><EMAIL_ADDRESS>lint:po:setup
> pip install --upgrade lint-po

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.12/README.venv for more information.

Fix based on https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3 .
Good for now. We can switch to pipx later.

Merging to have green pipeline. I'll have a look at nicer fixes later :)


[wrt] Update test scripts to support arm64 and x86_64 bit

Impacted TCs num(approved): New 0, Update 322, Delete 0
Unit test Platform: Android Crosswalk Canary 17.45.429.0-64bit
Android test result summary: Pass 322, Fail 0, Block 0

LGTM


How to convert tensors to gpubuffer for render on android ?

1、My tflite model outputting with TfLiteInferenceCalculator is an rgb format data, I want to render it directly.

Generally the flow of MP examples is:
Input > convert to Tensor > Tensor Inference > Tensors to X conversion > X to Render Data conversion > AnnotationOverlayCalculator (accepts render data).
Please see the selection of 'tflite_tensors_to_x' calculators here and 'x to render data' calculators here
see if one of those fits your needs.
If not, you will need to create a calculator to convert your tensor data into render data for the AnnotationOverlayCalculator.
If your output tensor is literally an rgb image, you will need to write a calculator to convert it to  mediapiep::ImageFrame , then you can use ImageFrameToGpuBufferCalculator

@mcclanahoochie Thanks


[Bug]: Replicationgroup.elasticache.aws.upbound.io in async after upgrade provider from 1.1.0 to 1.1.4

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
ReplicationGroup.elasticache.aws.upbound.io/v1beta2
Resource MRs required to reproduce the bug
The following replication group was created using the provider version 1.1.0
apiVersion: elasticache.aws.upbound.io/v1beta2
kind: ReplicationGroup
metadata:
  name: ***-staging-redis
spec:
  deletionPolicy: Orphan
  forProvider:
    applyImmediately: true
    autoMinorVersionUpgrade: "true"
    automaticFailoverEnabled: true
    description: '***-staging Redis cache '
    engine: redis
    engineVersion: "7.1"
    ipDiscovery: ipv4
    maintenanceWindow: fri:05:00-fri:06:00
    multiAzEnabled: true
    networkType: ipv4
    nodeType: cache.t3.small
    numNodeGroups: 1
    parameterGroupName: default.redis7
    port: 6379
    region: eu-west-1
    replicasPerNodeGroup: 1
    securityGroupIdRefs:
    - name: ***-staging-redis-security-group
    securityGroupIds:
    - ****
    snapshotWindow: 03:30-04:30
    subnetGroupName: ***-staging-redis-csg
    subnetGroupNameRef:
      name: ***-staging-redis-csg
  providerConfigRef:
    name: provider-aws-upbound-elasticache

Steps to Reproduce
Using the manifest above create replication group with all upbpund prioviders and aws family in version 1.1.0. Upgrade elasticache provider to 1.1.4 (all providers were upgraded including provider-family-aws).
What happened?
All replication groups went into Async state.
Relevant Error Output Snippet
conditions:
  - lastTransitionTime: "2024-06-10T09:15:08Z"
    message: "update failed: async update failed: failed to update the resource: [{0
      changing auth_token for ElastiCache Replication Group (***-staging-redis):
      InvalidParameterValue: The AUTH token modification is only supported when encryption-in-transit
      is enabled.\n\tstatus code: 400, request id: daa20ded-8655-41bd-a278-f2bed79877b6
      \ []}]"
    reason: ReconcileError
    status: "False"
    type: Synced
  - lastTransitionTime: "2024-06-10T09:15:08Z"
    message: "async update failed: failed to update the resource: [{0 changing auth_token
      for ElastiCache Replication Group (***-staging-redis): InvalidParameterValue:
      The AUTH token modification is only supported when encryption-in-transit is
      enabled.\n\tstatus code: 400, request id: daa20ded-8655-41bd-a278-f2bed79877b6
      \ []}]"
    reason: AsyncUpdateFailure
    status: "False"
    type: LastAsyncOperation
  - lastTransitionTime: "2024-06-06T07:59:48Z"
    reason: Available
    status: "True"
    type: Ready

Crossplane Version
1.15.2
Provider Version
1.1.4
Kubernetes Version
1.28.1
Kubernetes Distribution
EKS
Additional Info
I understand where this comes from, it is from terrafrom-provider-aws change https://github.com/hashicorp/terraform-provider-aws/pull/34460 that now forces to set auth_token_update_strategy. For replication groups where in transit encryption is not enabled, AWS does not accept this update and all our Replication Group remain in unSync state. So far the only solution is to downgrade the provider or to recreate the cache in the new version.

Hi @mihaelabalas84,
Thank you for raising this issue, kindly consider the following;

please add a title, briefly state the problem/bug, and indicate which family provider is causing the problem
check the versions and make sure you wrote it correctly
add explicit reproduction steps so we can reproduce the issue again

Hi @mihaelabalas84,
Thank you for raising this issue, kindly consider the following;

please add a title, briefly state the problem/bug, and indicate which family provider is causing the problem
check the versions and make sure you wrote it correctly
add explicit reproduction steps so we can reproduce the issue again

done. Sorry for the mess.

The same issue is happening at version 1.3.1
async update failed: failed to update the resource: [{0 changing auth_token for ElastiCache Replication Group (kafka-operator): InvalidParameterValue: The AUTH token modification is only supported when encryption-in-transit is enabled.

I notice that in the version v1.6.1 there is a new field autoGenerateAuthToken to disable this behavior.

I wonder if it is related to the introduction of https://github.com/hashicorp/terraform-provider-aws/commit/0b7e4ba24b465e4c0e595edd6bda0d3989ec38c7#diff-5d55dcf3aa8ffba3437fb3ff6b7a96b74c9f9196d47dbb4bb63369259cc083bc a few releases back
I think if someone can install the old provider (1.1.4?) in a lab cluster, setup a cluster without auth, kubectl get -o yaml --show-managed-fields=true and then upgrade to >= 1.3.1, and run the same command, maybe we get a hint?
You are running without any auth, right? The AWS API has an explicit field for that, but not the terraform and crossplane provider: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/in-transit-encryption-disable.html
Same as #1370


Shareable URL per prompt

Would be great if we could point others directly to a certain prompt we had in mind by sharing a URL.
If I am not missing anything, this is currently not possible?

This issue is fixed with https://github.com/deepset-ai/prompthub-ui/pull/26. Each prompt has a shareable URL


Switching to --iree-stream-partitioning-favor=min-peak-memory.

The current value of max-concurrency can be dangerous on models that are near the max of device memory and min-peak-memory allows us to still get some concurrency while being more conservative about extending lifetimes. Users not concerned with peak memory usage but wanting the most concurrency can still use the flag to get the old behavior.
Progress on #13545.

Seems fine?

Yeah, its the safe choice till we can switch to the other one.


Failing nested aliases type validation

The tokens parser is capable of catching type mismatches for scalar types but ignore the composites.
parse([{
  src: JSON.stringify({
    color: {
      $type: 'color',
      blue: {
        $value: '#10109A',
      },
    },
    dimension: {
      base: {
        $type: 'dimension',
        $value: '{color.blue}', // should be dimension: caught by parser ✅
      },
    },
    border: {
      base: {
        $type: 'border',
        $value: '{dimension.base}', // should be border: caught by parser ✅
      },
      nested: {
        $type: 'border',
        $value: {
          color: '{color.blue}',
          width: '{color.blue}', // should be dimension: silently failing ❌
          style: 'solid',
        },
      },
    },
  })
}])

I think that's not much of a deal, yet I preferred to report it while looking into it.
—
The only solution I found on my end was to manually declare the mapping.

Ah that’s a great catch, thank you! Worth fixing for sure. I like your mapping approach; great suggestion.


⚠ Bofrost.at has degraded performance

In 0b3b1a5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 865 ms

Resolved: Bofrost.at performance has improved in 4de17cc after 6 minutes.


Error when clear action logs

Checklist

[X] The issue has been searched in GitHub Issues

What is version of Sonic has the issue?
1.0.8
What database are you using?
SQLite3
What is your deployment method?
Executable file
Your site address.
No response
What happened?

Relevant log output
2023-02-21T22:09:37.504+0800    INFO    [GIN]   {"beginTime": "2023-02-21T22:09:37.504+0800", "status": 200, "latency": 0.000334519, "clientIP": "<IP_ADDRESS>", "method": "GET", "path": "/api/admin/logs?page=0&size=50"}
2023-02-21T22:09:47.492+0800    ERROR   impl/log.go:21  WHERE conditions required [0.025ms] [rows:0] DELETE FROM `log`
2023-02-21T22:09:47.492+0800    ERROR   handler/server.go:229   handler error   {"error": ": WHERE conditions required", "errorVerbose": "WHERE conditions required\n\ngithub.com/go-sonic/sonic/util/xerr.ErrorType.Wrap\n\tgithub.com/go-sonic/sonic/util/xerr/error.go:50\ngithub.com/go-sonic/sonic/service/impl.WrapDBErr\n\tgithub.com/go-sonic/sonic/service/impl/common.go:23\ngithub.com/go-sonic/sonic/service/impl.(*logServiceImpl).Clear\n\tgithub.com/go-sonic/sonic/service/impl/log.go:23\ngithub.com/go-sonic/sonic/handler/admin.(*LogHandler).ClearLog\n\tgithub.com/go-sonic/sonic/handler/admin/log.go:66\ngithub.com/go-sonic/sonic/handler.(*Server).wrapHandler.func1\n\tgithub.com/go-sonic/sonic/handler/server.go:227\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/gin@v1.8.2/context.go:173\ngithub.com/go-sonic/sonic/handler/middleware.(*InstallRedirectMiddleware).InstallRedirect.func1\n\tgithub.com/go-sonic/sonic/handler/middleware/install.go:43\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/gin@v1.8.2/context.go:173\ngithub.com/go-sonic/sonic/handler/middleware.(*RecoveryMiddleware).RecoveryWithLogger.func1\n\tgithub.com/go-sonic/sonic/handler/middleware/recovery.go:62\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/gin@v1.8.2/context.go:173\ngithub.com/go-sonic/sonic/handler/middleware.(*GinLoggerMiddleware).LoggerWithConfig.func1\n\tgithub.com/go-sonic/sonic/handler/middleware/log.go:50\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/gin@v1.8.2/context.go:173\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest\n\tgithub.com/gin-gonic/gin@v1.8.2/gin.go:616\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP\n\tgithub.com/gin-gonic/gin@v1.8.2/gin.go:572\nnet/http.serverHandler.ServeHTTP\n\tnet/http/server.go:2947\nnet/http.(*conn).serve\n\tnet/http/server.go:1991\nruntime.goexit\n\truntime/asm_amd64.s:1594\n\n"}
2023-02-21T22:09:47.493+0800    INFO    [GIN]   {"beginTime": "2023-02-21T22:09:47.492+0800", "status": 500, "latency": 0.000972578, "clientIP": "<IP_ADDRESS>", "method": "GET", "path": "/api/admin/logs/clear"}

Additional information
No response

Thanks. I will fix it

It looks like you're quite busy, so I will create a pull request to fix the issue https://github.com/go-sonic/sonic/pull/175
I really love this project and I'll try to address other issues when I have the time.
Hope my contributions will help make the project even better :)

Thank you very much. I should have more time to participate in the development of sonic in March. I think we can make this project better together. Invite you to join go-sonic :)


Add multi-cluster support

Check out https://github.com/edgeuno/netbox-proxbox/commit/47619e1d8881eccd866488e68a32a134afecfdd8 that has multi-server support for ideas and help aide development.

Any news about multi-cluster support?


Outdated code example

The readme has an outdated code example, that might be confusing for newcomers.

Thank you


Add domain fallback/favicon DuckDuckGo provider

This adds a new provider for domains - powered by DuckDuckGo - it will return the favicon.
The used https://icons.duckduckgo.com/ip3/${url}.ico endpoint is a more or less official one already used by KeePassXC, OhDear App and several more.

Oh that's great, thank you @Gummibeer for this
I didn't find DuckDuckGo docs related to the API, do you know if they have docs associated?


node_modules causes BitBar.app to fail

I tried your demo and as per https://github.com/matryer/bitbar/issues/189, BitBar fails when there are unrecognized files/folders in its plugin directory.
How do you work around the issue?
I currently install the modules in a folder outside but that transforms every require into something like
require('../node_modules/bitbar')

Weird. It works fine for me with latest BitBar (1.6, also worked fine with 1.4):
~/Documents/BitBar plugins
❯ tree
.
├── example.js
└── node_modules
    └── bitbar
        ├── index.js
        ├── license
        ├── node_modules
        │   └── object-assign
        │       ├── index.js
        │       ├── license
        │       ├── package.json
        │       └── readme.md
        ├── package.json
        └── readme.md

4 directories, 9 files

That's... annoyingly strange. It made me lose an hour earlier and now it works fine. :( When you showed me now I thought it was just because example came before node_modules


Defining an infix operator ! is recognised as a bang pattern

I tried to define an operator called (!) like this:
(!) :: a -> b -> ()
_ ! _ = ()

But hlint gives me a parse error, while GHC accepts the codes just fine:
test.hs:4:1: Error: Parse error
Found:
    (!) :: a -> b -> ()
  > _ ! _ = ()

I think hlint (haskell-src-exts?) thinks ! _ is a bang pattern and thus expects the first _ to be a valid function name, as demonstrated by this code:
(!) :: a -> () -> ()
a ! () = ()

which gives the following hint:
test.hs:4:3: Warning: Redundant bang pattern
Found:
  !()
Perhaps:
  ()

Thanks for the report. We're working on the conversion to the GHC API so hopefully this bug will be fixed by that.

This is still an error in the new world, since we turn on bang patterns, and they break this code.

I believe GHC HEAD changes the way such operators are parsed, so this might go away with the next GHC.

So the rules for this one are, when the occurrence is prefix it's a strictness annotation or bang pattern e.g.  f !x = rhs, data T = MkT !a. Any other usage is an ordinary operator or type operator e.g.  xs ! 3, (! x), Int ! Bool. With ghc-8.10, the above program in the presence of BangPatterns gives a parse error, with GHC HEAD, the issue resolved and a successful parse. So yes, the problem will go away with the next GHC.


Support testing in CVP

This pull request adds support for testing our containers in CVP pipeline.
The new variable is defined called CVP=1.
The test alone is executed from test/test-openshift.yaml playbook if file test/run-openshift-remote-cluster exists.
We will NOT create a project. This is already done by CVP.
The parameters to the script are:
VERSION={{ environment[0]['VERSION'] }} IMAGE_NAME={{ image_name }} OS={{ environment[0]['OS'] }} CVP=1 bash test/run-openshift-remote-cluster  | tee {{ cvp_artifacts_dir }}/{{ image_name }}.log

We do NOT build the image itself. It is provided and already uploaded into OCP4 cluster by CVP. Therefore it is specified as a parameter into test/run-openshift-remote-cluster script. The same as VERSION and OS.
Signed-off-by: Petr "Stone" Hracek<EMAIL_ADDRESS>

[test]

[test]


extract weights model_3/4/5 error

Hi,
when extract weights in the <root_home> directory with params_model_3.npz、params_model_4.npz or params_model_5.npz，not working.
(iaf2)$ python extract_params.py --input <mydata>/params/params_model_3.npz --output_dir ./weights/extracted/model_3
Traceback (most recent call last):
  File "<myroot_home>/extract_params.py", line 47, in <module>
    fix_name_issue(root_issue)
  File "<myroot_home>/extract_params.py", line 31, in fix_name_issue
    assert os.path.isdir(src_subdir)
AssertionError

but,when run
(iaf2)$ python extract_params.py --input <mydata>/params/params_model_1.npz --output_dir ./weights/extracted/model_1

It's working.

Please pull the latest changes from the main branch. This issue has been fixed recently.

Great, it worked. Did the test next.


Cross-Library: Android-Testify config hideScrollbars is ignored

Describe the bug
if AndroidtestifyConfig hideScrollbars = false,  scrollbars are still displayed in the screenshot
Environment
The setup in which the bug is reproducible:

AndroidUiTestingUtils version: 2.4.0+
Affected Component: Cross-Library with AndroidTestify ONLY

It seems hideScrollBars only works when not using PixelCopy as BitmapCaptureMethod, so it seems not to be related to AndroidUiTestingUtils


Allow users to specify iptables rules by attributes, instead of template

Here is current way to specify iptables rules
Quoted from https://supermarket.chef.io/cookbooks/iptables
To enable port 80, e.g. in an httpd cookbook, create the following template:
Port 80 for http
-A FWR -p tcp -m tcp --dport 80 -j ACCEPT
This would go in the cookbook, httpd/templates/default/http.erb. Then to use it in recipe[httpd]:
iptables_rule "http"
As a customer, I've plenty of iptables rules to generate. It's really painful to generate a dedicated template file for each rule.
To dynamically do that, specify iptables rules by attributes/varilable is better.

+1

+1

@DennyZhang There is now a provider that you can use instead of the template. https://github.com/chef-cookbooks/iptables/blob/master/test/fixtures/cookbooks/iptables_test/recipes/no_template.rb is an example of this. Please check this out to see if it works for you. Attribute driven rules will be too bulky. Let us know if this is not sufficient. Thanks!

closing via #51


CodeMirror error

TuSimple/naive-ui version (版本)
2.34.3
Vue version (Vue 版本)
3.2.45
Browser and its version (浏览器及其版本)
Chrome
System and its version (系统及其版本)
Windows 11
Node version (Node 版本)
16
Reappearance link (重现链接)
https://www.naiveui.com/
Reappearance steps (重现步骤)
I use naive ui .Every thing is done as docs.I got console log Code Mirror error.
Expected results (期望的结果)
Clearly console
Actual results (实际的结果)
Using naive ui console log Code Mirror error .I confused what happaned.Every this is done as docs.
VM107:78 Uncaught TypeError: Cannot read properties of null (reading 'CodeMirror')
at :78:30
Remarks (补充说明)

Do you have the blackbox chrome extension installed? I've seen some problems where this extension can result in this error. If so, the simple solution is to uninstall it.

Yes. I had it .I just uninstalled.Problem solved.I got rid of it.

thibodeauxjl, Thank you


Subtle problem in your tutorial pages...

Hi guys,
I've wasted days, simply trying to create an Angular project, then adding in Angular Materials, as I followed the bad advice on this webpage:
Setup for local development
You can read my horror story here but basically, if you create an Angular project using the following command, adding Materials is a nightmare.
git clone https://github.com/angular/quickstart AngularDemo
(I was also given this advice when watching a John Papa PluralSight video for Angular 2 beginners.)
The worrying thing is the Angular beginner's tutorial does still recommend using this method.  See the "Follow the setup instructions" link on this page.
One other issue with the Angular Materials tutorial.
On Windows 7, it refused to include any of the prebuilt-themes .css files.
Your tutorial suggests (in part 4) to include this in the index.html file:
<link<EMAIL_ADDRESS>rel="stylesheet">
It doesn't work.
Even if I copy one of the .css themes into the same folder as my index.html file, my browser can't find them.
Instead, I needed to add this line to the styles.css file:
@import<EMAIL_ADDRESS>
This stuff is baffling...
I genuinely miss the simplicity and stability of Angular 1...

I have not looked through the quickstart repo, but I just ran through the Material Getting Started guide using the angular cli without issues. Not sure why that quickstart repo is still recommended if the cli is out of beta.
...I see now from your SO question that you've come to the same conclusion. I can't help but assume it's a systemjs/webpack config issue.

Not sure why the <link> isn't working. The prebuilt theme is literally just a CSS files. I'm guessing something in webpack-land inserts itself here. The instruction there had worked until recently when swe started getting a wave of reports of it failing. Ultimately the instruction is "Add this CSS file to your app however your app is set up for CSS files."
As for the quickstart, that would be an issue for https://github.com/angular/angular/.

I am having similar problems getting started using Angular Cli and the getting started guide.
Step 3 "Import the component modules" seems to do nothing. I have to resort to:
import { MaterialModule } from '@angular/material';
and adding MaterialModule to the @NgModule imports. (following this tutorial)
Step 4: Adding the Theme. No effect from folllowing the guide. Updating the styles.css as in the blog post works fine. ( I see from @jelbourn s comment there has been a wave of reports on this)
At that point I have a working app with angular materials showing.
However: all test break. Maybe we can add a few lines at the end of the getting started guide to help set up the test environment once material has been included in a project?
I get the same results on my Win 10 and Ubuntu 16.04 machines.
I see the issue was closed while typing. Hopefully these comments help. Please let me know if/how I can help.

@RobAltena concerning testing, see https://github.com/angular/material2/issues/4056. Maybe it will help


Installation via pip hangs on OS X with Apple silicon

When using Python 3.12.2 on Apple silicon (M1 chip) I find that installation of moments hangs indefinitely. Here is the output:
❯ uv venv
Using Python 3.12.2 interpreter at: /Users/vsb/.pyenv/versions/3.12.2/bin/python3
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate

~/src/moments-test
❯ source .venv/bin/activate

~/src/moments-test
.venv ❯ pip install mom

~/src/moments-test
.venv ❯  pip install moments@git+https://github.com/MomentsLD/moments.git
Collecting moments@ git+https://github.com/MomentsLD/moments.git
  Cloning https://github.com/MomentsLD/moments.git to /private/var/folders/4w/tx_sszv90dlbrx0thsygn_140000gn/T/pip-install-bdikswj2/moments_c789bf8805934ad39a2d5d480c35f2a6
  Running command git clone --filter=blob:none --quiet https://github.com/MomentsLD/moments.git /private/var/folders/4w/tx_sszv90dlbrx0thsygn_140000gn/T/pip-install-bdikswj2/moments_c789bf8805934ad39a2d5d480c35f2a6
  Resolved https://github.com/MomentsLD/moments.git to commit e379d9f0613a57b8d8a800321eb3a8b087f5f9b5
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.12.1 in /Users/vsb/.pyenv/versions/3.12.2/lib/python3.12/site-packages (from moments@ git+https://github.com/MomentsLD/moments.git) (1.26.4)
Collecting cython>=0.25 (from moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached Cython-3.0.10-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting scipy>=1.3 (from moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl.metadata (60 kB)
Collecting mpmath>=1.0 (from moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting demes>=0.2 (from moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached demes-0.2.3-py3-none-any.whl.metadata (1.9 kB)
Collecting attrs>=20.3.0 (from demes>=0.2->moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting ruamel.yaml>=0.15.78 (from demes>=0.2->moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached ruamel.yaml-0.18.6-py3-none-any.whl.metadata (23 kB)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml>=0.15.78->demes>=0.2->moments@ git+https://github.com/MomentsLD/moments.git)
  Using cached ruamel.yaml.clib-0.2.8-cp312-cp312-macosx_13_0_arm64.whl.metadata (2.2 kB)
Using cached Cython-3.0.10-py2.py3-none-any.whl (1.2 MB)
Using cached demes-0.2.3-py3-none-any.whl (40 kB)
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl (30.4 MB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Using cached ruamel.yaml-0.18.6-py3-none-any.whl (117 kB)
Using cached ruamel.yaml.clib-0.2.8-cp312-cp312-macosx_13_0_arm64.whl (135 kB)
Building wheels for collected packages: moments
  Building wheel for moments (pyproject.toml) ... -

Perhaps this is related to #129, but given that uses conda and I figured it's best to create a new issue. Note that this issue does not occur when I install moments on our Linux lab server.

Hi @vsbuffalo - thanks for the report. I haven't seen this before, but I also haven't used a Mac with those newer chips. I'll try to dig into this this week.

Hi All,
Here is an update — so I should have left it longer. It did complete eventually, taking about 12 minutes to compile. This is a bit odd since it's nearly instantaneous on Linux, but maybe it's using something pre-compiled in that case.

Thanks for checking that, Vince. I'm not sure why macos takes so much longer than linux, but my guess is it has to do with building they cython bits of the software. I would need to test them each independently.
Hopefully once #91 is finished soon, this won't be as much as a problem in the future.

I think we can close this (making note to look into the long installation times on macos). As of this evening, moments is installable via pip from wheels hosted on pypi: https://pypi.org/project/moments-popgen/
pip install moments-popgen will install.
Then you should be able to import moments.


Standardized Logging

Discussed in #890
Implement the new logging approach as detailed in the logging approach document.

@simanadler, can it be closed ?


Popover element position not updating when the body is scrollable

Describe the bug
When the body is scrollable, the floating element remains in a fixed position.  We are using on the floating element the popover attribute.
To Reproduce
Steps to reproduce the behavior:

Go to this CodeSandbox
Click on the "Open" button
Scroll down
See that the floating element doesn't follow the reference element

Expected behavior
The floating element should remain anchored to the reference element
Version of the library
<EMAIL_ADDRESS>Additional context
We found a workaround, adding a custom middleware that subtracts the body's scrollTop value to the computed y coordinate.
private getScrollTop(): number {
    return (document.scrollingElement || document.documentElement).scrollTop;
}

[......]

const shiftCustomMiddleware = {
      name: 'shiftCustomMiddleware',
      fn: ({y}) => {
        return {
          y: y - this.getScrollTop()
    };
  }
};

const callback = ()=> {
   computePosition(reference, floating, {
      middleware: [
          shiftCustomMiddleware
     ]
   });
}

autoUpdate(reference, floating, callback);

https://floating-ui.com/docs/autoUpdate

The initial styles aren't applied, it's not an absolutely positioned element


Select options not rendered in edit mode

Not rendered in edit and preview. Removing FormKitEdit from library gets rid of the bug.

Obsolete as former is now headless


fix: docsearch is rendered twice with keyboard shortcuts

the search modal appears twice when a user opens it with cmd + k.

Nice! Would mind doing the same for react table?

:tada: This PR is included in version 2.4.15 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[cryptotest] Add test harness for AES-CTR-DRBG

Adds the test harness to the cryptotest framework for the AES-CTR-DRBG test vectors added in #21764 .

Closing in favor or #21976, which passed CI and includes all of the commits in this PR.


Readme needs an update.

We need to put something meaningful into readme and maybe design a logo

@rockfridrich can you find someone to design a logo for the project?

@biboran sure, I will ask Pavel and Anton about this. Let's find some references for them. What library logos do you like?


Suggestion: Add links to MDN pages for Basic JavaScript, Object Oriented and Functional Programming, etc Waypoints

Because many Waypoints in Basic JavaScript, Object Oriented and Functional Programming, etc are about a single method it would be a good idea to add a link to the specific MDN page (or some other resource) that discusses that method (and maybe some related ones, such as shift/unshift).
This way a camper can jump directly to the page and learn exactly how to use the method.
(This happens already for some Bonfires for example.)

This is a great idea. I didn't know that we were lacking links in some parts of the new curriculum.
I'm not going to assign myself just yet, so if someone wants to snatch it, feel free. I'll hopefully be able to look at this later tonight or tomorrow if no one else has fixed it by then.

I would do this myself but unfortunately I lack the knowledge to do it correctly.

@izybit Then this is a great opportunity to gain that knowledge!
Getting a local copy of freeCodeCamp is pretty well documented here.
To add MDN links to a site, just add the key from seed/bonfireMDNlinks.js to the MDNLinks-array of the challenge in the appropriate seed/challenges/*.json-file.
If a link i s missing in seed/bonfireMDNlinks.js, just add it.
If you run into any problems, you can @ me either here or on Gitter.

@ahstro This looks doable. I will spend some time on it and confirm I can do it.

Good luck! :+1:

Please note - we aren't adding MDN links to Waypoints - only bonfires. The point of the Waypoints is to be fast paced. If there's content on the MDN page that we need to communicate it, we should communicate it in the waypoint itself.

ref


Add modular kernel build

This mainly adds the semantics required for modular kernel builds to work. The semantics for making use of the modules in your config is not part of these changes.
Why is this needed? Working with a bad BSP kernel that won't build without modules support, but the modules built are not necessary. ¯\_(ツ)_/¯
In addition, prefer zImage at all times rather than uImage. A Nixpkgs targets idiosyncracy.

Things done

Built TDM
Built all examples system with hello

(This module is still WIP, so it's fine even though this is a bit rough around the edges... the only proper solution is #13)


ShowErrorForNativeUIAlert using deprecated UIAlertView

Xamarin.Auth Issue
IF BUG, INCLUDE THIS PART:
Version

[ ] nuget version = <IP_ADDRESS>
[ ] component version =
[ ] sample

Steps to reproduce
Not relevant
Platform:

[] .NET version =
[] mono version =

Expected behaviour
UIAlertView should be updated to use UIAlertViewController
Actual behaviour
N/A
IF IT IS A NEW FEATURE REQUEST, INCLUDE THIS PART:
Feature description
N/A

@FinHorsley can you please provide some more information about where/when this issue is being raised.
Regards


Completion not working for attribute value in JSX

VSCode Version: 1.32.3
OS Version: Win10 1803

Steps to Reproduce:
I created an extension CSS Navigation these days. When I trying to support class name completion in JSX file (it works well in HTML file), I found it can't work in some places:
<div c[CURSOR] /> - Here, the completion work.
<div className="c[CURSOR]" /> - Here, the completion failed, No request send to language service.
So I want to know if this is an issue, or I have missed some thing in providing completion?
Thanks very much.

Does this issue occur when all extensions are disabled?: No

Please share some example code that demonstrates this in an extension

Hi, hmbvz, Thanks for your reply. My extension is here: CSS Navigation
And here are some codes for E2E testing (it's only code pieces):
https://github.com/pucelle/vscode-css-navigation/blob/master/client/test/fixture/index.jsx#L1-L13
You may clone the code of this extension and debug it, or just install the extension, and save the test file into one workspace directory, then try completion, and debug the communication message between client and language server.
I'm not sure if this is enough for you, if you need more resources, just comment here.

Do you see the completions requests being made if you manually trigger intellisense inside the string using ctrl+space? We don't automatically trigger completions inside strings by default. Alternatively, add this to your settings:
	"editor.quickSuggestions": {
		"other": true,
		"comments": false,
		"strings": true
	}

Yes, it works, Thanks very much!!!
Otherwise I have some suggestions: I searched about this in Google but I didn't get any helpful answer.
Now I found VSCode document intellisense has some descriptions about quickSuggestions, but mot much. Can it give more details about?
Thanks again.


pythonik

@ekorekt I thought I had written "pythonic" so what happened?

@ekorekt I'd like to resolve and close this one.


deprecated ext-mcrypt?

Does this still uses ext-mcrypt, which is deprecated starting with PHP 7.1 ?

No, it does not.


Wagtail 1.11 support

Let's see what the new Wagtail 1.11 release candidate has in store for us.

Some comments regarding this PR update for Wagtail 1.11. I have decided to make this backwards compatible since it is a part of the Wagtail 1.8 LTS as Wagtail 1.12 (which will be the LTS) it will be interesting to deprecate support for earlier versions.
It seemed more sensible to create two classes for backwards compatibility since some things are more easy with the new CreateView. Rather than hijacking methods for version comparison.

Merged with 8a97296


Bringing gh-pages docs to the latest state [SKIP CI]

Official document went out of sync and needed to be brought in sync as per current information.
Please refer #1370 for more information. Perform following activity and generating this PR. This PR contains the missing information checked into  [vmware-master]/docs/ which did not make to gh-pages/jekyll-docs/...

git diff [master]docs/.. between the moment gh-pages was updated and now

Note: Following items are part of [vmware-master]/docs/misc will be taken care while rearranging documentation as outlined in #1370. It is not required to put into official documents folder and will be placed at docs/references location.

vDVS_bulletin.xml
DockerStore1.png
Docker Certified.png
ConfigDB_state.md
BRANCHING.md

/CC @tusharnt @girishshilamkar

@msterin just FYI: I went through each an every file exist into [vmware-master]/docs and made sure about the last commit and compared changes with gh-pages information.


Handle loop carried dependencies that are apparent from constant offsets

using LoopVectorization
function grad!(𝛥rec, 𝛥ℛ, rec)
    for i in 2:size(𝛥rec, 1)-1
        for j in 2:size(𝛥rec, 2)-1
            ℰ𝓍1 = conj(𝛥ℛ[1])
            ℰ𝓍2 = rec[i, j + 1] + rec[i, j - 1]
            ℰ𝓍3 = rec[i + 1, j] + ℰ𝓍2
            ℰ𝓍4 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍5 = 4 * rec[i, j]
            ℰ𝓍6 = ℰ𝓍4 - ℰ𝓍5
            ℰ𝓍7 = 2ℰ𝓍6
            ℰ𝓍8 = ℰ𝓍1 * ℰ𝓍7
            ℰ𝓍9 = conj(ℰ𝓍8)
            ℰ𝓍10 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍11 = ℰ𝓍10 - ℰ𝓍5
            ℰ𝓍12 = 2ℰ𝓍11
            ℰ𝓍13 = ℰ𝓍1 * ℰ𝓍12
            ℰ𝓍14 = conj(ℰ𝓍13)
            ℰ𝓍15 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍16 = ℰ𝓍15 - ℰ𝓍5
            ℰ𝓍17 = 2ℰ𝓍16
            ℰ𝓍18 = ℰ𝓍1 * ℰ𝓍17
            ℰ𝓍19 = conj(ℰ𝓍18)
            ℰ𝓍20 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍21 = ℰ𝓍20 - ℰ𝓍5
            ℰ𝓍22 = 2ℰ𝓍21
            ℰ𝓍23 = ℰ𝓍1 * ℰ𝓍22
            ℰ𝓍24 = conj(ℰ𝓍23)
            ℰ𝓍25 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍26 = ℰ𝓍25 - ℰ𝓍5
            ℰ𝓍27 = 2ℰ𝓍26
            ℰ𝓍28 = -4ℰ𝓍27
            ℰ𝓍29 = ℰ𝓍1 * ℰ𝓍28
            ℰ𝓍30 = conj(ℰ𝓍29)
            𝛥rec[i - 1, j] = 𝛥rec[i - 1, j] + ℰ𝓍9
            𝛥rec[i + 1, j] = 𝛥rec[i + 1, j] + ℰ𝓍14
            𝛥rec[i, j + 1] = 𝛥rec[i, j + 1] + ℰ𝓍19
            𝛥rec[i, j - 1] = 𝛥rec[i, j - 1] + ℰ𝓍24
            𝛥rec[i, j] = 𝛥rec[i, j] + ℰ𝓍30
        end
    end
end
function gradavx!(𝛥rec, 𝛥ℛ, rec)
    @avx for i in 2:size(𝛥rec, 1)-1
        for j in 2:size(𝛥rec, 2)-1
            ℰ𝓍1 = conj(𝛥ℛ[1])
            ℰ𝓍2 = rec[i, j + 1] + rec[i, j - 1]
            ℰ𝓍3 = rec[i + 1, j] + ℰ𝓍2
            ℰ𝓍4 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍5 = 4 * rec[i, j]
            ℰ𝓍6 = ℰ𝓍4 - ℰ𝓍5
            ℰ𝓍7 = 2ℰ𝓍6
            ℰ𝓍8 = ℰ𝓍1 * ℰ𝓍7
            ℰ𝓍9 = conj(ℰ𝓍8)
            ℰ𝓍10 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍11 = ℰ𝓍10 - ℰ𝓍5
            ℰ𝓍12 = 2ℰ𝓍11
            ℰ𝓍13 = ℰ𝓍1 * ℰ𝓍12
            ℰ𝓍14 = conj(ℰ𝓍13)
            ℰ𝓍15 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍16 = ℰ𝓍15 - ℰ𝓍5
            ℰ𝓍17 = 2ℰ𝓍16
            ℰ𝓍18 = ℰ𝓍1 * ℰ𝓍17
            ℰ𝓍19 = conj(ℰ𝓍18)
            ℰ𝓍20 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍21 = ℰ𝓍20 - ℰ𝓍5
            ℰ𝓍22 = 2ℰ𝓍21
            ℰ𝓍23 = ℰ𝓍1 * ℰ𝓍22
            ℰ𝓍24 = conj(ℰ𝓍23)
            ℰ𝓍25 = rec[i - 1, j] + ℰ𝓍3
            ℰ𝓍26 = ℰ𝓍25 - ℰ𝓍5
            ℰ𝓍27 = 2ℰ𝓍26
            ℰ𝓍28 = -4ℰ𝓍27
            ℰ𝓍29 = ℰ𝓍1 * ℰ𝓍28
            ℰ𝓍30 = conj(ℰ𝓍29)
            𝛥rec[i - 1, j] = 𝛥rec[i - 1, j] + ℰ𝓍9
            𝛥rec[i + 1, j] = 𝛥rec[i + 1, j] + ℰ𝓍14
            𝛥rec[i, j + 1] = 𝛥rec[i, j + 1] + ℰ𝓍19
            𝛥rec[i, j - 1] = 𝛥rec[i, j - 1] + ℰ𝓍24
            𝛥rec[i, j] = 𝛥rec[i, j] + ℰ𝓍30
        end
    end
end
x = rand(10,10);
dx1 = fill!(similar(x), 0); dx2 = fill!(similar(x), 0);
del = ones(1);
grad!(dx1, del, x); gradavx!(dx2, del, x)
dx1 .- dx2

Do you get a larger disagreement here than this?
julia> dx1 .- dx2 |> extrema
(-3.552713678800501e-15, 3.552713678800501e-15)

julia> dx1 .- dx2 |> extrema
(-4.304807428601304, 7.271464924157296)

You should be able to replicate results like that with @avx unroll=(1,4) for...

Ah indeed. unroll=4 did not, but (1,4) gives large numbers.

Awesome, would be curious to see how you did it. But no rush, obviously.

By making it a lot more conservative with respect to non-aliasing (e.g., stop it from reordering stores, and remove all the flags communicating non-aliasing to LLVM).
But the cost modeling had trouble, because it still wanted to unroll the j loop, even though this was very slow with the above adjustments:
Data would have have to repeatedly move through stores and reloads in quick succession, which is something LoopVectorization hadn't been set up to account for (assuming non-aliasing, that doesn't happen).
Unrolling the i loop by 10 led to those impressive speeds. I think the extreme factors helped, because it lets us get around the aliasing problems and actually have independent operations with which to take advantage of out of order execution.
Otherwise we're crippled by the slow store/load dependency chain through 𝛥rec.
The better solution than just preventing it from unrolling j to force it to unroll i is to actually (a) model this dependency chain, and (b) convert the dependency chain from a sequence of loads and stores into a sequence of reassignments (free) and shuffles (shuffles are needed for i - 1 -> i + 1 -> i):
𝛥rec[i - 1, j] = 𝛥rec[i - 1, j] + ℰ𝓍9
𝛥rec[i + 1, j] = 𝛥rec[i + 1, j] + ℰ𝓍14 # ℰ𝓍14 == ℰ𝓍9
𝛥rec[i, j + 1] = 𝛥rec[i, j + 1] + ℰ𝓍19 # ℰ𝓍19  == ℰ𝓍9
𝛥rec[i, j - 1] = 𝛥rec[i, j - 1] + ℰ𝓍24 # ℰ𝓍24 == ℰ𝓍9
𝛥rec[i, j] = 𝛥rec[i, j] + ℰ𝓍30

With it actually understanding this dependency chain, it could decide for itself whether to break it up by unrolling i a lot, or if it's better to unroll j to get more savings on stores/reloads (because it doesn't do the shuffles and reassignments correctly here in the face of aliasing yet, the j option was super slow, but it'll probably be pretty fast once it learns how to do it correctly).


checkExistenceById get 405 if resource exist

Hi forks
I got 405(method not allow) error when run the following code if resource has been found, but no error when resource not exist, so the checkExistenceById return either false or 405 error:
/*/
if (!azure.genericResources().checkExistenceById(id)) return null;
//
can someone check this for me?
Thanks
Ming

Hello @mmzh
Do you still need help with this?  I am sorry there was not any reply here.
Please, if this is still an issue, can you provide more context about what you are doing?
Note: As part of repository cleaning effort, this issue will be closed by Sep 12 if no response is received from submitter and/or not further action is required.


Add custom app installation to helm charts

Hello,
One of configurable parameters of the ERPNext chart is jobs.createSite.installApps
But how can I get my own app (ex, from gitlab.com/apps/my_app), add this app to helm charts and install it
thx

https://github.com/frappe/frappe_docker/wiki/Frequently-Asked-Questions#how-to-install-official-or-custom-apps

Ok, i saw your link...
but where can we launch the commands from the values.yaml file of the helm chart?
in the jobs section?
have a you a example?
thx

Use image.repository and image.tag to change image, specify, use [{"name": "secret-name"}] as imagePullSecrets is using private image.
For new site just specify it in list of apps to install under jobs.
For existing sites you'll have to figure out to use custom job. I've used it, it needs values to be passed to it contextually deepening on name of your helm release.


ci: add a release stage

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Can't /away while locked

To prevent https://gyazo.com/2794a861fb12dc95eca6d738e24fc379

btw y it is need for?

ok got it nice one


Document HCLK_CMT config bits

The HCLK_CMT tile contains:

HCLK_CMT_MUX interconnect. Bits for this are required to break from the ROI (route clock from IOB to BUFHCE)
2xBUFMRCE. Those can route clock between clock regions to other CMT tiles.

Base address of this tile is already known. Having bits for the interconnect should be the priority.

@litghost @mkurc-ant : Doesn't fuzzer 045-hclk-cmt-pips solve the interconnect bits already?

I double checked this, and agree with @tmichalak that the HCLK CMT pips appear solved.  I do not believe at this time any additional bits are required for LiteX, but until LiteX reaches zero, it will be hard to tell.  In the mean time I've moved onto the PLL (which has a bunch of bits).  Hopefully once the PLL bits are documented, it will be clearer if this issue has remaining work.


Add more browser types when run Browser.entry script for browser installation

Is your feature request related to a problem? Please describe.
Playwright has support more browsers (chrome and edge) installation compare to robot browser init script.
Describe the solution you'd like
Add all supported browsers from default playwright node installation to Browser.entry script

Browser library relies Playwright to perform the installation. It seems that Playwright has extended the support at least to Edge and perhaps to some others too. But in practice the what ever Playwright supports in installing we can support also.

Playwright 1.46 seems to support now: chromium, chrome, chrome-beta, msedge, msedge-beta, msedge-dev, firefox, webkit.


HTML in PHP file

VSCode Version:  1.4.0
OS Version: Windows 10.14393 x64

In php file, when writing HTML Tags, there is highlighting all same tags, not pairs...

duplicate of https://github.com/Microsoft/vscode/issues/2915


Compiling anything that imports wasi_experimental_http_wasmtime fails on Windows

This is because the wasi_experimental_http_wasmtime crate imports two functions from the wasi_experimental_http crate, which in turn relies on external symbols (the host functions related to HTTP).
And even if the two functions imported don't actually call any of the external symbols, the Windows linker still fails.
I will investigate if this is a known issue with the linker on Windows, but removing the dependency to wasi_experimental_http solves the issue, and the two functions are simple enough that we can just copy-paste.
  = note: libwasi_experimental_http-c7b972a7a58f275d.rlib(wasi_experimental_http-c7b972a7a58f275d.39shyjq0d6lqu8qa.rcgu.o) :
error LNK2019: unresolved external symbol __imp_req referenced in function _ZN22wasi_experimental_http3raw3req17h295ccbc09f2fe42dE
          libwasi_experimental_http-c7b972a7a58f275d.rlib(wasi_experimental_http-c7b972a7a58f275d.39shyjq0d6lqu8qa.rcgu.o) :
error LNK2019: unresolved external symbol __imp_header_get referenced in function _ZN22wasi_experimental_http3raw10header_get17h1870664f7a8646ffE
          libwasi_experimental_http-c7b972a7a58f275d.rlib(wasi_experimental_http-c7b972a7a58f275d.39shyjq0d6lqu8qa.rcgu.o) :
error LNK2019: unresolved external symbol __imp_headers_get_all referenced in function _ZN22wasi_experimental_http3raw15headers_get_all17hb2f4ccc303974529E
          libwasi_experimental_http-c7b972a7a58f275d.rlib(wasi_experimental_http-c7b972a7a58f275d.39shyjq0d6lqu8qa.rcgu.o) :
error LNK2019: unresolved external symbol __imp_body_read referenced in function _ZN22wasi_experimental_http3raw9body_read17h4cbd4ef921d4891cE
          D:\projects\deislabs\wasi-experimental-http\target\debug\deps\integration-159d744b0b153291.exe : fatal error LNK1120: 4 unresolved externals

ref https://github.com/rust-lang/rust/issues/86125


Reduce arguments for substitution.ValidateVariable 📼

Changes
I found contextPrefix and prefix quite confusing, and they are always
used together (concatenated contextPrefix+prefix). This simplifies
the function to only take one argument instead of two, called
prefix.
/kind cleanup
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

/lgtm
Looking Good! 🤙🏽

/test pull-tekton-pipeline-build-tests


Add Array/Object type handling to Airtable wrapper

What kind of change does this PR introduce?
Introduces feature that allows Airtable FDW to handle Object and Array types from Airtable API.
What is the current behavior?
FDW is not currently able to map Airtable Object / Array types to postgres. If it is attempted, the FDW handler raises a panic.
What is the new behavior?
Airtable Object and Array types are mapped to pgx::JsonB. This means that these types must be mapped to a jsonb postgres column data type.
Additional context
These types are especially useful, as this now allows users to handle Airtable types such as:

Image
Link to another record

This is by no means bulletproof (I am a Rust noob) or necessarily able to handle every Airtable type that maps to array / object, but it is certainly better than not being able to handle any of these Airtable types at all.

Hi @ankrgyl can you review it ?

I think someone from Supabase (CC @burmecia) should drive the review

@burmecia just a gentle reminder :)


Browser hangs if server response is not 200

I have approx 100 testcases running on daily basis but it gets stuck at some specific testcase and after 1 hour it gets timeout in CI as per max allotted time for build. As I wanted to fix this issue but could not figure our any solution.
I have seen similar behavior when server response is not 200.

What is your Test Scenario?
Verifying if user has access to a file stored on web app.
What is the Current behavior?
Script works fine if user has access and file gets downloaded if we try to access file path. If user does not have access to the file path then browser shows 404/403 error. After this error no subsequent test will get execute and our test pipeline gets timedout.
What is the Expected behavior?
If user has access to the file then test should pass and if user does not have access then test should fail and in both cases at the end of the test next test case execution should begin
What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):

Your complete test code (or attach your test files):

import { RequestLogger, Selector } from 'testcafe';
const Helper = require('../Helper/CommonFunctions.js');
const url = 'https://************************/documentrepository/Workshar/UserGuide_v5.1.pdf';

const requestLoggerForFile = RequestLogger({ url, method: 'GET' }, {
    logResponseHeaders: true,
    logResponseBody: false
    //stringifyResponseBody: true
});

fixture`TeamLink US - Permission Report`
    .httpAuth({
        username: Helper.Config.userId,
        password: Helper.Config.password
    })
    .beforeEach(async t => {
        await t.useRole(Helper.User.Oneplacetest1)
    })
    .requestHooks(requestLoggerForFile);

test('TeamLink US - Create Permission Report', async t => {
    await t
        .navigateTo(url)
    console.log(requestLoggerForFile.requests.length);
    console.log(requestLoggerForFile.requests[0].response.statusCode);
    console.log(requestLoggerForFile.requests[0].response.headers['content-type']);
    await t.expect(requestLoggerForFile.requests[0].response.headers['content-type']).eql('application/pdf')

});

Your complete configuration file (if any):

Your complete test report:

Screenshots:

Steps to Reproduce:

Use a web app and try to access file url directly

Your Environment details:

testcafe version:                   1.10.1
node.js version:                    14.15.5
command-line arguments:  testcafe chrome test.js
browser name and version: chrome
platform and version:          windows
other:

Error snapshot when user does not have access to file. In case of error test ends with message 'ERROR The Chrome 92.0.4515.159 / Windows 10 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.'

@aarti315
Hello,
Your TestCafe version is outdated. Please update it to the latest version (v1.15.3) and check the result.
I opened a public PDF file and didn't see any browser hangs. We need some example to reproduce this behavior. Please share it with us.

There are 2 scenario:
Scenario 1: User has access  to the file
TestCafe behavior: Script runs fine. File is downloaded when user hits the URL. RequestLogger object identifies download PDF file(Test Passed). TestCafe continues executing further testcases.
Scenario 2: User does not have  access  to the file path
TestCafe behavior: When user hits the URL browser shows 404 not found error. Browser is hanged at this test hence next testcases in Pipeline does not gets executed. Browser gets disconnected after some time. (Test neither passed not failed) Below errr is shown on cmd screen
Error message: 'ERROR The Chrome 92.0.4515.159 / Windows 10 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.'

Hi Victoria, thanks for your time for the investigation. Sorry, my bad as I forgot to mention that URL is not the actual URL instead I just put '*' as a placeholder. I Will get back with actual URL and script where I am facing issue else I will try to prepare a demo to replicate the issue.

TestCafeJSScript.txt
Hi Viktoria,
You can try the attached script either on TestCafe Studio or CMD.
The file contains 3 tests out of which Test number 2 is having issues.
Kindly note as mentioned in the issue description browser gets disconnected in case of errors like: 500/502/403/404 etc

Hello aarti315,
Thank you for providing us with a code example.
I am able to reproduce the issue with it on my side.

Hi, Is there any timeline decided to fix the issue?

This still affects us.

We've had the issue of tests hanging indefinitely in > 50% of test runs in all Sauce-Labs-based tests (IE11, Edge 18 and Mobile Safari). All local browser runs were fine. So the issue may potentially be triggered by the addition of another proxy (Sauce Connect).
After some digging we came across this issue and found that the hanging tests always occurred when testing a URL which responds with a 404 status code: We test an SPA with catch-all fallbacks, i.e. some 404 URLs behave like the canonical URL counterpart with a 200 OK. We also test the 404 page itself. I.e. we're testing something comparable to scenario 2 in https://github.com/DevExpress/testcafe/issues/6493#issuecomment-905405690.
After quarantining the affected tests on Sauce Labs the hanging runs are gone.
Note that we also have tests for URLs with 301 responses. These are fine. Also the TestCafe heartbeat is running all the time in the 404 cases. So maybe the issue title can be changed from "Browser hangs if server response is not 200" to "TestCafe hangs if server response is 404"?

@dcsaszar Thank you for the information. We agree that the issue can be caused by the use of SauceLabs. If the quarantine mode works in your case, please use it until the issue is fixed.
It also seems that test cases from other users in the thread are not available anymore, so it's better to open a separate issue, prepare a very simple example, and share a detailed instruction on how to reproduce the issue.


Unable to replicate results in the paper

Hi there
First of all, thanks for this excellent algorithm and accompanying code. I have found both very useful for my masters' thesis.
One issue I've been having though is replicating the semi-supervised CIFAR10 results reported in your paper (10.55% error with data augmentation and entropy minimisation). When I run this code with the suggested semi-supervised/entropy minimisation CIFAR10 parameters, the test error I get at the end is usually more in the range of 14%, at best.
Is this the code that you used to produce the results in your paper? If so, would it be possible to get the exact parameter values used to replicate those results?
Kind regards,
Liam Schoneveld

Sorry for the late reply.

Is this the code that you used to produce the results in your paper?

Yes, the hyperparameters in the README are the exact hyperparameters for reproducing the results in the paper.
I uploaded the model trained in my environment (tensorflow-gpu 1.1.0 and scipy 1.9.0),  https://drive.google.com/file/d/0B8HZ50DPgR3eVWYwekhwOGFPUjA/view?usp=sharing .
I trained the model with the code in this repository, and I confirmed that the trained model has 10.6 % test error.
Could you check the accuracy of the trained model in your environment?
If you cannot get the same test error rate with test.py,  the preprocessing of the dataset might be different from the one I used.

Thanks for the reply. I'll re-run the model at some point in the next week or so and report my results, but sounds like it's a problem on my end.

Hi,
Thanks for this excellent algorithm and accompanying code.
After reading your code, I found one issue, that is in your train_semisup.py file of line 8. Why you set the is_training as true when you do your evaluation?  Will that influence the final result? What if I change it to false?
Best,
Xiang


[rtl] corner case on using rw1c to fatal alert

When @matutem and I debug the FPV rstmgr_sec_cm test, we found that design did not trigger fatal alert after invalid FSM value.
The reason is related to err_code is a RW1C register.
Seems like if user write to this err_code register right when HW sets the fsm_err, user might be able to clear this fatal alert.

And the expectation is that fatal errors should be Sw RO.

@tjaychen
@jeoongp can you have a look at this one?

@cindychip can you give me the run command? If you have a waveform to be shared in mnt, it will be good.

@jeoongp this one is reproduced only in fpv, so that might be a bit difficult.
I think the request is basically to swap the attribute type on the rstmgr err_code register.

We are not entirely sure if this will clean up all the failures, but if you want to try!
Get the latest repo (because I just merged this PR: https://github.com/lowRISC/opentitan/pull/15655)
And run:
./util/dvsim/dvsim.py hw/top_earlgrey/formal/top_earlgrey_fpv_sec_cm_cfgs.hjson --select-cfgs rstmgr_sec_cm --gui

Thanks @cindychip and @tjaychen. I fixed this bug in #15682.
FYI, this failure did not occur in my run on the latest repo.

Thanks @cindychip and @tjaychen. I fixed this bug in #15682.
FYI, this failure did not occur in my run on the latest repo.

Thanks! Let me take a look and I will update you :)

@jeoongp I rerun with the latest repo and got 100% passing rate. I think the fix is good!


New release with Delete-Options

Please create a new release containing the delete-option changes (f2ca415) in order for those being in need of those changes not to have to vendor master branch but instead a tagged version.

https://github.com/ericchiang/k8s/releases/tag/v1.2.0


Error "WSGIRequest" object has no attribute "auth"

When using endpoints such as /auth/me or the PUT or DELETE methods on /account/, I get the following error:
File "C:\PATH\TO\MY\PROJECT\.venv\Lib\site-packages\dj_ninja_auth\controller.py", line 143, in get_me
    return self.context.request.auth
           ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WSGIRequest' object has no attribute 'auth'

All of the settings such as Middleware are correct according to the documentation.

Wait, nevermind. Just had to add JWTAuth() to the main NinjaExtraAPI() instance like so:
api = NinjaExtraAPI(auth=[JWTAuth()])   # <--- Required
api.register_controllers(NinjaAuthJWTController, NinjaAuthAccountController)


jq: split outputs and run tests

cc maintainer @7c6f434c

Success on aarch64-linux (full log)
Attempted: jq
Partial log (click to expand)
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1bnxig68xjp0xx5fv5v30789bvb86gqy-jq-1.5-lib/lib
patching script interpreter paths in /nix/store/1bnxig68xjp0xx5fv5v30789bvb86gqy-jq-1.5-lib
checking for references to /build in /nix/store/1bnxig68xjp0xx5fv5v30789bvb86gqy-jq-1.5-lib...
shrinking RPATHs of ELF executables and libraries in /nix/store/dm6y49ffnd55gfc4l2kqyj1wvzxhb421-jq-1.5
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/dm6y49ffnd55gfc4l2kqyj1wvzxhb421-jq-1.5
checking for references to /build in /nix/store/dm6y49ffnd55gfc4l2kqyj1wvzxhb421-jq-1.5...
running install tests
/nix/store/h746grbp6vl5rw4g1k73miwjya956mhh-jq-1.5-bin

Failure on x86_64-darwin (full log)
Attempted: jq
Partial log (click to expand)
============================================================================
make[3]: *** [Makefile:1082: test-suite.log] Error 1
make[3]: Leaving directory '/private/tmp/nix-build-jq-1.5.drv-0/jq-1.5'
make[2]: *** [Makefile:1190: check-TESTS] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-jq-1.5.drv-0/jq-1.5'
make[1]: *** [Makefile:1417: check-am] Error 2
make[1]: Leaving directory '/private/tmp/nix-build-jq-1.5.drv-0/jq-1.5'
make: *** [Makefile:1419: check] Error 2
builder for '/nix/store/slshlfl0bfbrhqwbb2fwcwvpzcpyc21w-jq-1.5.drv' failed with exit code 2
error: build of '/nix/store/slshlfl0bfbrhqwbb2fwcwvpzcpyc21w-jq-1.5.drv' failed

Success on x86_64-linux (full log)
Attempted: jq
Partial log (click to expand)
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y3d8d7h7bzwk9818czc61d0rav3i5qbr-jq-1.5-lib/lib
patching script interpreter paths in /nix/store/y3d8d7h7bzwk9818czc61d0rav3i5qbr-jq-1.5-lib
checking for references to /build in /nix/store/y3d8d7h7bzwk9818czc61d0rav3i5qbr-jq-1.5-lib...
shrinking RPATHs of ELF executables and libraries in /nix/store/p48xyghams8bqszdrp62wsyzb27a5xkk-jq-1.5
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/p48xyghams8bqszdrp62wsyzb27a5xkk-jq-1.5
checking for references to /build in /nix/store/p48xyghams8bqszdrp62wsyzb27a5xkk-jq-1.5...
running install tests
/nix/store/ar6k43g4yiz2f6hr4zl9lx336hikxdmg-jq-1.5-bin

Seems fine also the lib output is only limited useful at the moment since we only use the binary which always depends on the library.

This broke the darwin build, like ofborg indicated.

This broke the darwin build

Huh, not sure how I missed that.

Should be fixed by https://github.com/NixOS/nixpkgs/pull/44228


Can't Download/Install

Tried downloading as a ZIP file and it refuses to build, saying that it's not a valid repo and cannot find build:
root@MACHINE:/mnt/c/Users/USERNAME/Downloads/thdwb-master/zip/thdwb-master# make
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
# pkg-config --cflags  -- gl gl
pkg-config: exec: "pkg-config": executable file not found in $PATH
# github.com/go-gl/glfw/v3.3/glfw
cgo: exec gcc: exec: "gcc": executable file not found in $PATH
make: *** [Makefile:11: run] Error 2
root@MACHINE:/mnt/c/Users/USERNAME/Downloads/thdwb-master/zip/thdwb-master#

Made sure to grab a fresh install of make, pkg-config, and gcc, and it still refuses to build:
root@MACHINE:/mnt/c/Users/USERNAME/Downloads/thdwb-master/zip/thdwb-master# make
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
# github.com/go-gl/glfw/v3.3/glfw
In file included from ./glfw/src/internal.h:188,
                 from ./glfw/src/context.c:30,
                 from /root/go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20210410170116-ea3d685f79fb/c_glfw.go:4:
./glfw/src/x11_platform.h:33:10: fatal error: X11/Xlib.h: No such file or directory
   33 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
compilation terminated.
# pkg-config --cflags  -- gl gl
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gl' found
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gl' found
pkg-config: exit status 1
make: *** [Makefile:11: run] Error 2

Tried downloading using Git and GH.exe CLI and it fails to even download every single time:
PS C:\Users\USERNAME\Downloads\thdwb-master> gh.exe repo clone danfragoso/thdwb
Cloning into 'thdwb'...
remote: Enumerating objects: 2143, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (20/20), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 3527 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
exit status 128

Starting from a zip file would not be supported out t
Of the box. The Makefile attempts to parse the git revision which is not present in the archive. Instead use git clone.
Install the official Git client to clone as that EXE seems broken.
If you are working in a virtualized environment you will want to do some Googling on how to forward the X session. Use search terms like "forward X11 session"
Good luck


Time/Space Complexity

shouldn't it be be O(n!) instead of O(n) for Time/Space Complexity in https://github.com/hoanhan101/algo/blob/67a1c614cc0dca7d0b1fd1818c576fa8ac20f039/interviewcake/recursive_string_permutation_test.go#L25 ?

Can you elaborate? Why is it O(n!) again?


[WIP] Update Moveable to 0.27.6

Context

Summary
TBD

Relevant Technical Choices

To-do

User-facing changes

Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[ ] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[ ] I have added documentation where necessary
[ ] I have added a matching Type: XYZ label to the PR

Fixes #6028

Ok, there are now just 3 tests failing but all these are passing locally. Needs some magic to figure out what's happening there.

@barklund @swissspidy I was debugging the tests most of the day yesterday and now just one test is failing:
should apply inline formats correctly for both single style and multiple styles.
It looks like the issue comes from setSelection(6, 9) not properly setting the selection, and the selection stays the same as before... It seems like clicking doesn't deselect the original selection, however, not really sure why this is happening. Doesn't make it easier that in the editor and locally everything works as expected.
One option could be skipping this one test for now and creating a separate issue for it for the FIXIT week.
Alternatively, let me know if you have any ideas for fixing this or for investigating what might be different in the CI environment. The snapshots aren't really helpful for understanding why in the CI clicking doesn't work the same way as locally.

From today's grooming -- we'll skip the test for now and create a separate issue for enabling it.


Add validation for dropdown menu

This library is awesome, can we validate dropdown menu (spinner) with  form_builder? If it is possible than show us how to implement it or if it is not possible than please add this validation too. thnx.

Hello @salauddin23shumon
You can use either ChoiceState or SelectState then use any of the available validators.
I have implemented a dropdown input with ChoiceState and an OutlinedTextField. You just need to add the state to your formstate. Then in your activity/composable:
val options = listOf("Option 1", "Option 2", "Option 3", "Option 4")
val fieldState: ChoiceState = formState.getState("option")

var expanded by remember { mutableStateOf(false) }
var textFieldSize by remember { mutableStateOf(Size.Zero) }

val icon = if (expanded) Icons.Filled.ArrowDropUp
else Icons.Filled.ArrowDropDown

For the TextField:
OutlinedTextField(
    value = fieldState.value,
    enabled = false,   // Avoid manual input from the user
    onValueChange = {},
    label = { Text("Label") },
    modifier = Modifier
        .fillMaxWidth()
        .onGloballyPositioned { textFieldSize = it.size.toSize() } // Ensure the dropdown dialog is the same width as the input
        .clickable { expanded = !expanded },
    trailingIcon = {
        Icon(
            imageVector = icon,
            contentDescription = "contentDescription",
        )
    }
)

Then the dropdown dialog:
DropdownMenu(
    expanded = expanded,
    onDismissRequest = { expanded = false },
    modifier = Modifier.width(with(LocalDensity.current) { textFieldSize.width.toDp() })
) {
    options.forEach { label ->
        DropdownMenuItem(
            onClick = {
                fieldState.change(label) // Update the state on option click
                expanded = false // Close the dropdown dialog
            }
        ) {
            Text(text = label)
        }
    }
}

Output:
https://user-images.githubusercontent.com/47350130/193311827-af237f0e-0dc7-45cb-bb17-d6dc2d422a6c.mov

For multiple selection of items in the dropdown, use the SelectState instead.

Closing this issue due and marking as resolved


FFZ emotes not showing

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I don't see any ffz emotes in any channel.
Reconnecting, or reloading emotes didn't work. Reinstalling also unsuccesful.

Screenshots
No response
OS and Chatterino Version
Chatterino 2.4.1 (commit 5ed4a21d) built with Qt 5.15.2, Windows SDK, MSVC 193431942, Crashpad Running on Windows 10 Version 2009, kernel: 10.0.19045

Duplicate of #4430

FFZ issue, they changed the api in a way that broke our implementation


[LIB] Add ft_strndup to libft

ft_strndup duplicates up to n characters of a string.

I'm sorry, this is unnecessary, it's basically ft_substr...


cli: add an integrity check

category: cli
Add a cli command that will check the integrity of your lockbook repository.

Will augment tests once we fully agree on implementation


Silently fails if QueryCollection does not exist

Request a QueryCollection that doesn't exist, and there will be a 500 error with no error message logged.

2fad8a5  confirms the bug is with WebEngine's implementation, not this repository itself.

2fad8a5  confirms the bug is with WebEngine's implementation, not this repository itself.


Merge prTesting_202006291938 branch to master branch

Docs Build status updates of commit bc64b37:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit bc64b37:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestRef.md
:warning:Warning

Details

split/updateTestRef.md

Line 0: [Warning-h1-not-first] Markdown content is not allowed before H1.
Line 1: [Suggestion-h1-missing] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning around July 2020.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Should use GetUint32 when convert unsigned 32-bit integer to key string.

Description
This PR is used to fix bug which is reported from slack group.
Motivation and Context
Fixes #
How Has This Been Tested?
Checklist:

[x] I have added a Signed-off-by.
[] I have either added documentation to cover my changes or this change requires no new documentation.
[] I have either added unit tests to cover my changes or this change requires no new tests.
[x] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

The continuous integration build process will run make checks to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.
Signed-off-by: David Geng<EMAIL_ADDRESS>

Thanks, LGTM