APIs to list supported languages and scripts

list_languages() --> [(language_name, script_name), ....]
list_scripts() --> [script_names, ...]

These API would be used to inspect the package, check available languages,  to see the names we use,  to debug their issues etc. People who wish to add more languages can also conform if they have added it successfully with these APIs.

These APIs should list all the languages we have models for either locally or at the source. We may have to keep a list of languages officially supported in the code base and add to it any more user have added locally.


[Python APIView] wire up PR APIViews to provide --source-url

apistubgen has had support for --source-url for about a year, which will display the provided URL in the preamble of the APIView. The goal here is to link back to the PR that generated them.
The request here is for EngSys to pass this parameter on PR-based APIViews.
cc/ @lmazuel @johanste

@maririos that's right.

This is already a feature present in APIView


fix: forcing sls deploy now

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Suggestion] Visually Linking Nodes

One thing that I think will help tremendously with map creation is the ability to link nodes together on the scene editor.  This idea came from using the ImpactJS engine years ago.
Example:

Godot's version:

I'm not sure if this is possible already (havn't found anything yet :8ball: ), but I think this would make complex map creation much easier. And also resulting in much more complex games / maps being created with Godot :)

Don't really understand what this is
On Tue, Aug 2, 2016 at 6:14 PM, Dillybob92<EMAIL_ADDRESS>wrote:

One thing that I think will help tremendously with map creation is the
ability to link nodes together on the scene editor. This idea came from
using the ImpactJS engine years ago.
Example:
https://camo.githubusercontent.com/ab1422939e8336c53d47dbdbae4691cd75608dab/687474703a2f2f696d706163746a732e636f6d2f66696c65732f77656c746d6569737465722d7475746f7269616c2d656e7469746965732e706e67
Godot's version:
[image: untitled]
https://cloud.githubusercontent.com/assets/10387670/17345326/49ca7a76-58ba-11e6-89d8-7285d8ab7688.png
I'm not sure if this is possible already (havn't found anything yet 🎱 ),
but I think this would help the map creation process and make it extremely
versatile and allow for devs to create more complex maps.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/6015, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z29LRuuv-Ww9GiaQykJZD5UHiKsr7ks5qb7MtgaJpZM4JbDoZ
.

I looks like a visual representation of referencing nodes withing other nodes. For example, Warp Trigger would teleport the player to WarpTo, which is done by referencing WarpTo into WarpTrigger.
This is nice, but it can actually be done already, it just needs a bit of tool code. A generic implementation would inspect the node's properties, and if one is a NodePath or a Node, find that node and draw a line between the source and destination.

@reduz Sorry, bad at explaining things, @Zylann basically hit the nail on the head.

Blender does this nicely with dashed bluish lines between objects that referred by another.
Basically, as @Zylann said, we need to get all export(NodePath) properties, and connect the centres of the nodes related (with or without an arrow).
I think I requested this before, but I can't find the issue. Maybe I was just thinking of it :wink:

Look at this video he has implemented something similar.

I was able to make a quick-and-(very)-dirty EditorPlugin with GScript for this:

The hardest part was getting access of the scene, but it's doable with workarounds :wink:
I might upload it to the asset library, unless someone thinks it should be in core. (Also, it currently isn't done for 3D, but it shouldn't be too hard.)

@bojidar-bg  That's sweet. How did you get which nodes to check? I'm assuming you didn't go through the whole tree.

Actually, I realised that most of what I've done should be thrown away, since it is way too hackish. But that would be another day :smile:
@reduz Do you think this can/should go into core?

This sounds like a REALLY cool idea, maybe make it an option in editor settings or "Edit" panel? (the panel with the pixel snap etc.)
would definitely +1 into making it a core feature

Maybe add it as an option when exporting variables? Something like this:
export(NodePath, true, "#ffffff", "dotted") var node

Bug triage note: The original issue reporter closed all their issues before deleting their account. If you are affected by a similar issue/want a similar feature, please file a new ticket (referencing this one if it contains useful information) so that it can be further looked at and eventually resolved.


Feature/matrix input to mvn [WIP]

Summary
Allow multivariate normal distribution to take in matrices for y and mu arguments (see #2532)
Tests
Added a simple initial test for lpdf and rng, will add others (matching the tests for the non-matrix mvn?) if the current implementation makes sense.
Side Effects
None.
Release notes
Allow multivariate normal distribution to take in matrices for y and mu arguments.
Checklist

[ ] Math issue #2532

[ ] Copyright holder: Adam Haber
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[ ] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[ ] the code is written in idiomatic C++ and changes are documented in the doxygen

[ ] the new changes are tested

For the _lpdf functions, would it be easier to just call to_vector on the inputs? Then the existing vector inputs are unchanged but the matrix inputs are mapped to vectors and the rest of the function proceeds as normal? That might allow for more to be vectorised?

Do you mean transforming y and mu from [N,M] matrices to N*M vectors?

I was initially, but now I realise that doesn't make much sense in this context, where the y/mu dimensions need to match sigma's. What i was thinking would only really make sense for passing matrices to the univariate distributions

Thanks Adam! I made an example of what I think would be nice here you can check out in the diff below
What we want to do is utilize the matrix inputs for more efficient code than the standard mvn. So in the below instead of having to call trace_inv_quad_form_ldlt for each row we can just call it once. Would you be able to take something like I have in the below and apply it to the other multivariate normal distributions? Ideally this would be rad to have for all the multivariate distributions but we can do these piece by piece
https://github.com/stan-dev/math/compare/review/mvn-matrix?expand=1

Closing this for now since it's still in draft. @adamhaber, please reopen if it's active.

Sorry... I didn't realize it wasn't a draft. Reopening.

Sorry, it is a draft! I'm closing it until it's ready to be reopened.


Provide additional debug information when there is a memory leak (Reactor Netty client)

Hi,
Netty provides the following API
io.netty.buffer.ByteBuf.touch()

    /**
     * Records the current access location of this object for debugging purposes.
     * If this object is determined to be leaked, the information recorded by this operation will be provided to you
     * via {@link ResourceLeakDetector}.  This method is a shortcut to {@link #touch(Object) touch(null)}.
     */
    ReferenceCounted touch();

Currently Reactor Netty is the last component that records access to the byte buffers.
It will be very helpful if the Spring Gateway implementation uses this functionality when it does additional transformations of the content or buffers the object.
If there is a memory leak, when Netty dumps the stack traces of the components that accessed this object, it will be easier to find where the buffer was leaked.
Thanks,
Violeta

@violetagg is this available in 0.7.x and 0.8.x? Do you have an idea where I might put this?

@spencergibb This is Netty API
For example when Reactor Netty buffers the incoming content it does the following:
https://github.com/reactor/reactor-netty/blob/0.7.x/src/main/java/reactor/ipc/netty/channel/FluxReceive.java#L319-L327
If the buffered content is not released then the following stack trace will be provided by Netty:
2018-09-02 12:52:01.544 ERROR 7772 --- [reactor-http-nio-1] io.netty.util.ResourceLeakDetector       : LEAK: ByteBuf.release() was not called before it's garbage-collected. See http://netty.io/wiki/reference-counted-objects.html for more information.
Recent access records:
#1:
	Hint: Buffered ByteBufHolder in Inbound Flux Queue
	io.netty.handler.codec.http.DefaultHttpContent.touch(DefaultHttpContent.java:88)
	io.netty.handler.codec.http.DefaultLastHttpContent.touch(DefaultLastHttpContent.java:88)
	io.netty.handler.codec.http.DefaultLastHttpContent.touch(DefaultLastHttpContent.java:28)
	reactor.ipc.netty.channel.FluxReceive.onInboundNext(FluxReceive.java:324)

@spencergibb @violetagg
Is this what you are looking for?
https://github.com/dave-fl/spring-cloud-gateway/tree/netty_touch_on_debug

@spencergibb @violetagg
What are the suggested versions to test with currently?


Add tests that use Spark's --packages to fetch the plugin

Relates to #10051.  We should add at least one test that uses Spark's --packages feature to fetch the RAPIDS Accelerator from Maven Central to verify that our artifact's Maven dependencies are correct and that the plugin works properly when launched this way with Spark.

That test will run with --packages, but it won't pull the RAPIDS Accelerator that way.  It's only pulling in the Spark Avro jar via --packages in that setup.

That test will run with --packages, but it won't pull the RAPIDS Accelerator that way. It's only pulling in the Spark Avro jar via --packages in that setup.

you are right, forgot about it.
I use it in my notebooks on a regular basis
https://github.com/gerashegalov/rapids-shell/blob/4790ef03bcadefe5a55b695c199a59474dd8d9fa/src/jupyter/template-findspark.ipynb
findspark.add_packages(f"com.nvidia:rapids-4-spark_2.12:{rapids_version}")

There is a limitation in Spark that it currently does not support classifiers https://issues.apache.org/jira/browse/SPARK-20075
It only works because our default artifact is a cuda11 jar.
$ ~/dist/spark-3.5.0-bin-hadoop3/bin/pyspark --packages com.nvidia:rapids-4-spark_2.12:23.12.1:jar:cuda11

:: loading settings :: url = jar:file:/home/user/dist/spark-3.5.0-bin-hadoop3/jars/ivy-2.5.1.jar!/org/apache/ivy/core/settings/ivysettings.xml
Exception in thread "main" java.lang.IllegalArgumentException: requirement failed: Provided Maven Coordinates must be in the form 'groupId:artifactId:version'. The coordinate provided is: com.nvidia:rapids-4-spark_2.12:23.12.1:jar:cuda11

Does this issue require to use --packages to run our integration test with a released version (from maven central)? Or can we use an example ELT like some in spark-rapids-examples so that it can run quickly?

My preference would be to have a test that regularly runs Spark using --packages to pull in the RAPIDS Accelerator from a remote repository.  Just before release, we would run this test on the staged artifact in Maven Central.  Other times we would run against the snapshot artifact published to an internal repository.  We can use the --repositories option to spark-submit to specify alternate repositories to use.

Sure, we can run with --packages for both sonatype staging and our internal repository.
My question is if we just want to verify the --packages works to run Rapids Accelerator, a simple ETL job should be enough. Is there any concern that we should run the IT pipeline which may spend a long time?

I don't think we need to do a long test run.  This is more about smoke-testing the --packages loading and verifying we can come up and load the plugin and a few operator classes.  @gerashegalov any more testing that you think is warranted for this setup?

+1 for a simple smoke test similar to SPARK_SHELL_SMOKE_TEST.
I also remembered another limitation of --packages which is the same for --jars: until   https://github.com/apache/spark/pull/43627 this test will not work with RapidsShuffleManager for standalone / local-cluster modes

ok, seems we can use the similar way as SPARK_SHELL_SMOKE_TEST to run a spark-shell with --packages with some simple code. If there's any different code required here, let's comment in the PR.
Assign to @NvTimLiu .

Working on the issue

We'll verify there's NO dependency issues for rapids plugin from Maven Central, depends on the issue fixing dependency https://github.com/NVIDIA/spark-rapids/pull/10201
I'll enable --packages nightly test after this PR get merged


Update service-fabric-reliable-actors-events.md

Minor wording changes.

Hi @bcraun, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@bcraun Thanks for the contribution!


[ON HOLD] add pam authentication docs

Docs added for PAM authentication based off of community feedback here:
https://discourse.osc.edu/t/can-ood-auth-be-handled-by-pam/81/4

The page for this should mention it's what's necessary to do PAM on RHEL/CentOS 6. The steps for RHEL/CentOS 7 I would hope involve "yum install mod_authnz_external" and not downloading the RPM and unpacking it's contents.
Also soon as EPEL releases a new version of mod_authnz_external that wget will fail because EPEL does not keep around old versions.

OK so given the feedback I should probably add these:

A warning about the version # of the RPM saying that EPEL may or may not have this version by the time this is read.
Alternative steps to building the .so from source instead of downloading the RPM. Stating that dowloading the RPM is easier but probably less suited for production.

@johrstrom The best solution is rebuilding the SRPM against SCL Apache for the operating system used at a site but that's a really involved process and would be easier to just build the RPM and provide it from OOD repos than try and document that process.

@johrstrom @ericfranz @MorganRodgers
We may want to evaluate community usage of pre-packaged Apache modules and decide to provide SCL ones as a convenience.  We do this for mod_auth_openidc.

provide SCL ones as a convenience
I can't +1 or like that comment, or I would for sure. From what I can discern authentication is a major pain point for installers and anything to make their lives easier I would see as a big win.

So do we want to keep working? If so, what edits should we make? Do we include how to build the so from the source against the scl httpd? 'Along with' pulling the rpm or 'instead of'?

For OnDemand 2.0 we can drop support for RHEL6. Which means the system Apache that comes with RHEL7 could meet our needs. However switching to that from SCL Apache will be a non-trivial exercise for most of our users, requiring them to move/copy files from the SCL Apache to the default locations, change or copy and add a new systemd startup file and modify our code to work with Apache configs in the new location. Also, the mapping scripts will need to work with the system Ruby (2.0 ?) instead of the SCL Ruby, since the system Apache won't be configured to load the SCL ruby when executing the mapping scripts (or is that something the Lua code could do, maybe?)
And all of this is up in the air if we replace the lua + mapping scripts + nginx_stage with another solution.
So I say this PR is on hold till we learn more. We can revisit after we make some decisions about the direction of the infrastructure.

Ok, so you want to keep it open?  I was just going to close - one less thing to keep checking on. Especially if there's no real action items, it'll just become super stale.

You can close it if you want to capture the ideas here in an issue instead - maybe in the ondemand repo. Something so that we eventually revisit. But yeah, if it stays an open PR I might go back and think "do I need to review this, what is this, oh yeah...".

capture the ideas here in an issue instead

I've created this ticket for supplying mods and a 'discussion' label to facilitate tickets that don't have clear action items or deliverables. I'm a little weary of opening tickets to capture some of the other ideas here just because I would be unable to effectively encapsulate the scope of such tickets and to what end they would be useful, especially if they have very large scopes and very broad impacts.

The issue you opened and Treys comment and the link to this PR is sufficient for me

Not going to do.


Enforcing dark mode not working in production

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[ ] I have read the console error message carefully (if applicable).

Description
Hello everyone,
I hope someone can point me to a solution. Searching already for hours.
I try to load my website only in dark mode and use for that the settings:
colorMode: {
            defaultMode: 'dark',
            disableSwitch: false,
            respectPrefersColorScheme: false,
        },

It is working fine locally (using Webstorm) with docusaurus start and docusaurus build & docusaurus serve. But if I deploy the website to my NGINX server, the light mode is loading. If I enable the switch and activate the dark mode, everything works as expected. I can not find a solution to enforce the dark mode in production.
Any help is more then welcome.
Best
Martin
Reproducible demo
No response
Steps to reproduce

Create new project with 'npx create-docusaurus@latest my-website classic --typescript'
Build the project
Deploy on NGINX

Expected behavior
Dark mode is always enabled
Actual behavior
Website loads with light mode.
Your environment

Docusaurus version used: 3.4.0
Environment name and version (e.g. Chrome 89, Node.js 16.4): Node.js 20.11.1
Operating system and version (e.g. Ubuntu 20.04.2 LTS): (Live Deployment)  Debian 12
NGINX version: 1.22.1

Self-service

[ ] I'd be willing to fix this bug myself.

I don't have any issues trying to reproduce your configuration locally on my macbook with docker, the website loads by default with darkmode theme enabled

I tried it now with a local docker NGINX too and it worked. Could lead a setting in NGINX to this problem?

We don't know, what could be the problem, but it seems solved. If you (and us) can reproduce the problem deterministically, we'll reopen, otherwise we assume it was a human mistake

I'm sorry but it is not solved. I still have the problem on my live system. I tried only with a local docker nginx and with this the problem was not happening.

Did you try loading it in private browsing? Did you try any other hosting solution than Nginx? If this is specific to one setup it doesn't sound like a Docusaurus bug and should not be reported here.

If we cannot see the live system, its source code, and config, we cannot help more.
It is possible that you encounter a storage key conflict, see https://docusaurus.io/blog/releases/3.4#site-storage---experimental for details

I also think that it can not be Docusaurus, because locally it works. That is really weird.
Yes, I tried private browsing @Josh-Cena, with no luck.
@slorber I'll check that with the key conflict. And I will copy my production config into a docker container to play around with it. I'll come back to you with the result. Thanks for the help.

The easiest for us is that you share the URL of your live deployment.

@slorber Sorry, late reply. Something else popped up.
Yes, of course. Here it is: https://md.turn-it.org/

Your site has CSP policies that prevent our inline script from running, you can see errors in the console logs.

md.turn-it.org/:6 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-O8zYuOjyuzUZDv3fub7DKfAs5TEd1dG+fz+hCSCFmQA='), or a nonce ('nonce-...') is required to enable inline execution.

Here's what this script is doing FYI, it is required to get the theme work and avoid a flash of wrong theme before React hydrates
!(function () {
  function t(t) {
    document.documentElement.setAttribute("data-theme", t);
  }
  var e =
    (function () {
      try {
        return new URLSearchParams(window.location.search).get(
          "docusaurus-theme",
        );
      } catch (t) {}
    })() ||
    (function () {
      try {
        return window.localStorage.getItem("theme");
      } catch (t) {}
    })();
  t(null !== e ? e : "dark");
})(),
  (function () {
    try {
      const n = new URLSearchParams(window.location.search).entries();
      for (var [t, e] of n)
        if (t.startsWith("docusaurus-data-")) {
          var a = t.replace("docusaurus-data-", "data-");
          document.documentElement.setAttribute(a, e);
        }
    } catch (t) {}
  })();

Hey @slorber, thank you so much. I totally overlooked this error. It works now :) .
Are there any plans to remove the inline scripts, if that is even possible?

Afaik it's not really possible to remove the inline scripts. At best we could make it so that it works for your specific use-case by hardcoding the dark data-theme attribute directly in the HTML doc, but for all other cases we'd still need the script to run.
This has been explained a bit here: https://github.com/facebook/docusaurus/discussions/10231

Ah, ok. For me it is fine and I also support your point of view #10231. I'm not an expert in XSS or general website hacking, but I also do not really see an attack surface in this kind of website.
Thanks for the fast help and Docusaurus. Really appreciate it.


Support for multiple pins

Enables support for declaring an array of pins in clients and listeners.
One queue -> multiple routing keys per listener approach.
Allow users to define a custom queue name via the name attribute.
Expand documentation.

Fixes #11.


BUG: Currently conversion tool changes namespace to default

@lordofthejars commented on Wed Jun 06 2018
Is this a BUG or FEATURE REQUEST?:
BUG
Did you review https://istio.io/help/ and existing issues to identify if this is already solved or being worked on?:
Y
Bug:
Y
What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details
istioctl 0.8.0
kubectl 1.9.1
openshift 3.9.0

Is Istio Auth enabled or not ?
N
What happened:
When I tried the conversion tool from an old routerule (simple one) to the new format, the namespace that was configured to old file was changed in the new file to default.
What you expected to happen:
Namespace should be maintained and not changed
If you agree I can provide a PR fixing it, so the behaviour is if old file specifies a namespace then it uses, if not then default is used.
I know that this namespace can be configured with an argument but why not automatically?
How to reproduce it:
Just make a simple conversion from one weight route described with old format containing a namespace to the new format.
apiVersion: config.istio.io/v1alpha2
kind: RouteRule
metadata:
  name: recommendation-default
spec:
  destination:
    namespace: tutorial
    name: recommendation
  precedence: 1
  route:
  - labels:
      version: v2
    weight: 100

@ymesika commented on Wed Jun 06 2018
The sample you provided is indeed in the default namespace so should be left there.
However, the destination namespace is indeed not being converted. Is it what your fix is fixing?
If you plan to PR it (feel free to do so) please also include a test case to cover it.

@lordofthejars commented on Wed Jun 06 2018
Yes exactly this is what I want to cover sorry, because the converted output is:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: recommendation
  namespace: default
spec:
  hosts:
  - recommendation
  http:
  - route:
    - destination:
        host: recommendation
        subset: version-v2
      weight: 100
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: recommendation
  namespace: default
spec:
  host: recommendation
  subsets:
  - name: version-v1
    labels:
      version: v1
  - name: version-v2
    labels:
      version: v2

So I am wondering if in this case, the namespace should set correctly and avoid any default reference.
But I think it should be:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: recommendation
  namespace: tutorial
spec:
  hosts:
  - recommendation
  http:
  - route:
    - destination:
        host: recommendation
        subset: version-v2
      weight: 100
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: recommendation
  namespace: tutorial
spec:
  host: recommendation
  subsets:
  - name: version-v1
    labels:
      version: v1
  - name: version-v2
    labels:
      version: v2

@lordofthejars commented on Thu Jun 07 2018
@ymesika Do you agree with my purposed solution? In version alpha1 namespace could be set locally in destination but not now, so the only way I see is the one I have previously described. Starting coding a PR.

@ymesika commented on Thu Jun 07 2018
There are actually two possible conversion directions here:

Mapping the namespace to the output configs namespaces [What you showed above]
Use the namespace from the input to construct a name.namespace host name

To keep it simple I would go with your suggested output if you are willing to contribute a fix.
@rshriram do you agree?

@ymesika commented on Thu Jun 07 2018
CC @esnible who is working on this conversion tool.

@lordofthejars commented on Thu Jun 07 2018
@esnible I have found other migration problems, for example when you are using mirroring creating two destinations which makes istio do not mirror the traffic, the mirrored service should not be in route destination section.  But let's s going step by step, if you agree I can send PR fixing namespace problem.

@louiscryan commented on Wed Jun 13 2018
Fixes would only go in 0.8 patch releases
https://github.com/istio/istio/issues/5982

This should be fixed by #5973


Fix documentation links in docs/series.md and docs/xy-plot.md

Currently these links point to files in nonexistent directories. This pull request resolves those references so that they no longer 404.

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

Noticed that these links might be used for the actual documentation site. If these are meant to be broken on Github, feel free to close. But it'd be nice if the links in the website worked as well.


Cannot find Market Order criteria

Hi, I don't find a criteria for Market Order, however it's suggested in SimpleOrders action scheme docstring. Can anyone tell me where I could find it?

OrderCriteria are a list of things like - MarketOrder, LimitOrder w/ price, StopLoss, etc.
Hope this helps.


Hugging Face Demo Is Offline

Please fix and thank you for this great project.
I switched here from using SadTalker and could not try out your demo yet.

We just released the demo page.


Update Kobo profile list

Update the Kobo models to the current models available from Kobo. I have kept Kobo Forma as this is a popular device amongst manga readers even though it's currently unlisted from Kobo UK's site.
edit: Sorry I'm sure there are other files/places these profiles need to be changed

@lennie420
closed?

@darodi Sorry, I made this in haste and wasn't sure if there were other files I needed to edit in order for this to work out correctly so didn't want to break anything. I'm quite new to all of this and was trying to find a way to search the code better. While searching for a way my wife wanted to watch a movie lol.

@lennie420
If you need other formats not predefined, you can also choose "Other" profile.


DBZ-1685 Document and add support for column.mask.with for PostgreSQL

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

Applied; thanks!


[Bug]: rmv WaveformExtractor

What happened?
The latest version of spikeinterface has removed WaveformExtractor, which is now causing an import error for the dev installation. See https://github.com/catalystneuro/neuroconv/actions/runs/8225815354/job/22491395514?pr=771
Let's look at refactoring NeuroConv to match so that we can benefit from the latest SpikeInterface features.
@h-mayorquin , you might be a good person to handle this.
Steps to Reproduce
See above

Traceback
No response
Operating System
Linux
Python Executable
Conda
Python Version
3.8
Package Versions
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Have you ensured this bug was not already reported?

Already on the radar from https://github.com/catalystneuro/neuroconv/pull/768#issuecomment-1981525510
One question might be how smoothly we want to remove it; some current pipelines (as I recall, the ones Alessio setup for Allen Insistute?) might depend on it otherwise and we wouldn't want to break them
Perhaps if hasattr(spikeinterface, WaveformExtractor) then define write methods as we do now, otherwise don't define until we add support for the SortingAnalyzer?

All right, I will take a look.
Some context for provenance:

The SortyingAnalyser that will replace WaveformExtractor is now on dev and according to @alejoe91 in Slack it will be released on May.
Other relevant issue here:
https://github.com/SpikeInterface/spikeinterface/pull/2546

This has since been resolved I believe, right @h-mayorquin?

This is done.


public page to show group information

It started as a page where people get redirected when they are not part of a group. Now it's more.

Codecov Report

Merging #444 into master will increase coverage by 0.01%.
The diff coverage is 99.08%.

@@            Coverage Diff            @@
##           master    #444      +/-   ##
=========================================
+ Coverage   98.59%   98.6%   +0.01%
=========================================
  Files         199     203       +4
  Lines        2699    2800     +101
=========================================
+ Hits         2661    2761     +100
- Misses         38      39       +1

Impacted Files
Coverage Δ

...t/app/components/_joinGroup/joinGroup.component.js
100% <ø> (ø)
:arrow_up:

client/app/components/landingPage/landingPage.js
100% <ø> (ø)
:arrow_up:

...landingPageMap/_groupPopup/groupPopup.component.js
100% <ø> (ø)
:arrow_up:

...gPage/_landingPageMap/landingPageMap.controller.js
100% <ø> (ø)
:arrow_up:

client/app/components/group/group.js
100% <100%> (ø)
:arrow_up:

client/app/components/_topbar/topbar.spec.js
100% <100%> (ø)
:arrow_up:

client/app/components/_joinGroup/joinGroup.spec.js
100% <100%> (ø)
:arrow_up:

client/app/components/_topbar/topbar.controller.js
100% <100%> (ø)
:arrow_up:

client/app/components/groupInfo/groupInfo.spec.js
100% <100%> (ø)

client/app/components/group/group.spec.js
100% <100%> (ø)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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


error with train_pascal3D.sh

Hi,
Any help/suggestion would be very helpful.
File "training.py", line 93, in
train_loader = DataLoader(dataset_train, batch_size=opt.batch_size, shuffle=True, num_workers=opt.workers, drop_last=True)
File "/home/abhishek/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 176, in init
sampler = RandomSampler(dataset)
File "/home/abhishek/.local/lib/python3.6/site-packages/torch/utils/data/sampler.py", line 66, in init
"value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0

Hi,
This issue is related to an error in create_annotation.py of Pascal3D.
I've updated this script and you can re-generate the annotation file Pascal3D.txt by going to the
directory (./data/Pascal3D/) and run python create_annotation.py

thank you. works now


WasapiOut playThread should be set to be a background thread.

I have same issue, which cause my app crash
App.OnUnhandledException | System.NullReferenceException: Object reference not set to an instance of an object.
at NAudio.Wave.WasapiOut.PlayThread()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

@yatsenchee
_out.Play() is not at blocking methode.
When _out goes out of scope in try-catch, it is cleanup by GC.
Try wait for PlaybackStopped event, before going forward in code.

WasapiOut PlayThread is set to backgound thread.
See https://github.com/naudio/NAudio/blob/f8568cd4ad20c0683389cc9bc878beb945528047/NAudio.Wasapi/WasapiOut.cs#L328


NextMajor Sandbox fails with Restoring CRONUS Demo Database The system cannot find the file specified

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
Trying to create a new container for next major.
Scripts used to create container and cause the issue
$containerName = 'inbcnz'
$password = 'P@ssw0rd'
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential 'admin', $securePassword
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'nz' -select NextMajor -accept_insiderEula
$licenseFile = 'c:\users\daroys\downloads\Capgemini NZ BC23 Dev+ISV expires 22-APR-2024 5233712.bclicense'
New-BcContainer `
    -accept_eula `
    -containerName $containerName `
    -credential $credential `
    -auth $auth `
    -accept_insiderEula `
    -artifactUrl $artifactUrl `
    -includeTestToolkit `
    -includeTestLibrariesOnly `
    -assignPremiumPlan `
    -licenseFile $licenseFile `
    -updateHosts

Full output of scripts
BcContainerHelper is version 6.0.6
BcContainerHelper is running as administrator
HyperV is Disabled
UsePsSession is True
Host is Microsoft Windows 10 Pro - 10.0.19045.4046
Docker Client Version is 20.10.18
Docker Server Version is 20.10.18
Removing Session inbcnz
Removing container inbcnz
Removing entries from hosts
Removing inbcnz from container hosts file
Removing inbcnz-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\inbcnz
Fetching all docker images
Fetching all docker volumes
INFO: Windows 10 21H1/21H2 images are not yet available, using 2004 as these are found to work better than 20H2 on 21H1/21H2
Using image mcr.microsoft.com/businesscentral:10.0.19041.1415
Creating Container inbcnz
Style: sandbox
Multitenant: Yes
Version: 24.0.16410.16998
Platform: 24.0.16775.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19045.4046 (22H2)
Patching prompt.ps1 due to issue #2891
WARNING: Host OS is Windows 10 21H1 or newer and Container OS is 2004, defaulting to process isolation. If you experience problems, add -isolation hyperv.
Using process isolation
Using locale en-NZ
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\inbcnz\my\Prompt.ps1
Downloading using WebClient
Using license file c:\users\daroys\downloads\Capgemini NZ BC23 Dev+ISV expires 22-APR-2024 5233712.bclicense
Patching container to install dotnet 6.0.27
Downloading C:\ProgramData\BcContainerHelper\Extensions\inbcnz\my\dotnet6-win.exe
Downloading using WebClient
Patching container to install dotnet 8.0.2 and PowerShell 7.4.1
Downloading C:\ProgramData\BcContainerHelper\Extensions\inbcnz\my\dotnet-win8.exe
Downloading using WebClient
Downloading C:\ProgramData\BcContainerHelper\Extensions\inbcnz\my\powershell-7.4.1-win-x64.msi
Downloading using WebClient
Files in C:\ProgramData\BcContainerHelper\Extensions\inbcnz\my:
- AdditionalOutput.ps1
- dotnet-win8.exe
- dotnet6-win.exe
- HelperFunctions.ps1
- license.bclicense
- MainLoop.ps1
- powershell-7.4.1-win-x64.msi
- Prompt.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container inbcnz from image mcr.microsoft.com/businesscentral:10.0.19041.1415
970df299cc962eff346da33af031b92b16cb175a23d5a6372700488ebc35de5d
Waiting for container inbcnz to be ready
Installing dotnet 6.0.27
Installing dotnet 8.0.0
Installing PowerShell 7.4.1
Using artifactUrl https://bcinsider.azureedge.net/sandbox/24.0.16410.16998/nz
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\24.0.16410.16998\platform\ServiceTier\Program Files
c:\dl\sandbox\24.0.16410.16998\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\24.0.16410.16998\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\24.0.16410.16998\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\24.0.16410.16998\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\24.0.16410.16998\platform
c:\dl\sandbox\24.0.16410.16998\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\24.0.16410.16998\nz\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\24.0.16410.16998\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\24.0.16410.16998\nz\Extensions
Copying Applications
C:\dl\sandbox\24.0.16410.16998\platform\Applications
Copying Applications.NZ
C:\dl\sandbox\24.0.16410.16998\nz\Applications.NZ
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
The system cannot find the file specified
at <ScriptBlock>, C:\Run\navinstall.ps1: line 206
at <ScriptBlock>, C:\Run\start.ps1: line 242
at <ScriptBlock>, <No file>: line 1Error
Installing dotnet 6.0.27
Installing dotnet 8.0.0
Installing PowerShell 7.4.1
Using artifactUrl https://bcinsider.azureedge.net/sandbox/24.0.16410.16998/nz
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\24.0.16410.16998\platform\ServiceTier\Program Files
c:\dl\sandbox\24.0.16410.16998\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\24.0.16410.16998\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\24.0.16410.16998\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\24.0.16410.16998\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\24.0.16410.16998\platform
c:\dl\sandbox\24.0.16410.16998\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\24.0.16410.16998\nz\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\24.0.16410.16998\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\24.0.16410.16998\nz\Extensions
Copying Applications
C:\dl\sandbox\24.0.16410.16998\platform\Applications
Copying Applications.NZ
C:\dl\sandbox\24.0.16410.16998\nz\Applications.NZ
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
The system cannot find the file specified
at <ScriptBlock>, C:\Run\navinstall.ps1: line 206
at <ScriptBlock>, C:\Run\start.ps1: line 242
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 364caf34-f4e4-40a2-b755-0da67b89c002
Initialization of container inbcnz failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.6\ContainerHandling\Wait-NavContainerReady.ps1:42 char:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...r inbcnz failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container inbcnz failed

Screenshots
None.
Additional context
Happens every time. Have tried with country nz and us. Have tried regenerating script with latest Wizard. Also fails on another laptop.

Right now, NextMajor requires insider BcContainerHelper - please use latest pre-release.

What about sandbox latest?
$ContainerName = Read-Host 'Enter container name'
$Credential = Get-Credential

$artifactUrl = Get-BCArtifactUrl -country w1 -select Latest -storageAccount bcartifacts -type Sandbox
$Params = @{}
$Params += @{ artifactUrl = $artifactUrl }
$Params += @{ containerName = $ContainerName }
$Params += @{ auth = 'NavUserPassword' }
$Params += @{ credential = $Credential }
$Params += @{ isolation = 'process' }
$Params += @{ updateHosts = $true }
$Params += @{ accept_outdated  = $true }
$Params += @{ useBestContainerOS = $true }
New-BcContainer @Params

New-BcContainer Telemetry Correlation Id: d76e2cb0-5fc7-4334-8c19-5d16ad685fbc
DockerDo : docker: Error response from daemon: hcsshim::PrepareLayer failed in Win32: The system cannot find the path specified. (0x3).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=23.5.16502.16994 --label platform=23.0.16919.0 --label
 country=W1 --env artifactUrl=https://bcartifacts.azureedge.net/sandbox/23.5.16502.16994/w1 --env multitenant=Y --env licenseFile="" --name sandbox --hostname sandbo
x --env auth=NavUserPassword --env username="kpipic" --env ExitOnError=N --env locale=en-US --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramDat
a\BcContainerHelper:C:\ProgramData\BcContainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\sandbox\my:C:\Run\my" --isolation process --restart unles
s-stopped --env filesOnly=False --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env securePassword=76492d1116743f
0423413b16050a5345MgB8ADUAdQBBADAAUQB6AHoAagBtAGEATABsAEMAZQBIAFYARAA0AGoAbQAwAEEAPQA9AHwANwA4AGUANwBlAGMAMAA3AGUAZAA2ADMAZAAxAGMAOABhADkAZgBjADMAMQBhADEAYQBiADkANAB
lAGYAOQA0ADgAOQA0AGEAYwA5ADkAZQBkAGEANQA5AGUANgA3AGEAMQA3ADYAYwA3ADIAYwBkAGYAOABjAGYAOQAzAGIAMgA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFi
le=Y --env accept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.20348.2322
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.7\ContainerHandling\New-NavContainer.ps1:1997 char:15
+ ...       if (!(DockerDo -accept_eula -accept_outdated:$accept_outdated - ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo

@KrunoslavPipic - that is a very different problem.
The errorcode 125 is typically caused by issues with your docker installation.
When I get these I run the cleanup script from https://freddysblog.com/2018/12/11/clean-up-after-yourself-docker-your-mom-isnt-here/ - haven't had it for a while though.

@KrunoslavPipic: I have exact the same issue with Docker 4.28 on windows 10. I solved with:

download and run this script  https://raw.githubusercontent.com/Microsoft/nav-arm-templates/master/CleanupAfterDocker.ps1
windows restart
Create the container. Here I have used the BcContainerHelper from the navcontainerhelper-master repository.

@freddydk  thank you for the suggestion

The OnPrem artifacts for v23.5 for me works, but the Sandbox artifacts for v23.5 (country=IT) gives me the following error:
Using artifactUrl https://bcartifacts.azureedge.net/onprem/23.5.16502.16757/it
Using installer from C:\Run\210-new
Installing Business Central: multitenant=False, installOnly=False, filesOnly=False, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\onprem\23.5.16502.16757\it, platformArtifactPath=c:\dl\onprem\23.5.16502.16757\platform, databasePath=c:\dl\onprem\23.5.16502.16757\it\database\Demo Database BC (23-0).bak, licenseFilePath=c:\dl\onprem\23.5.16502.16757\it\database\Cronus.bclicense, rebootContainer=True
Installing from artifacts
Starting Local SQL Server
Service 'SQL Server Browser (SQLBrowser)' cannot be started due to the following error: Cannot start service SQLBrowser on computer '.'.
at <ScriptBlock>, C:\Run\navinstall.ps1: line 76
at <ScriptBlock>, C:\Run\start.ps1: line 243
at <ScriptBlock>, <No file>: line 1

When I open the container and try to inspect the services, then there exists no SQL Server windows service. It seems that is not installed for these artifacts.

@lukas-pfeifhofer - sorry, but there isn't enough info on that output. You should always provide as much info as possible in these issues.
Please update your BcContainerHelper to the latest version and retry whatever operation lead to this problem.
If it still fails, please create a new issue.

BCContainerHelper 6.0.7 has shipped with a fix for this (with generic images <IP_ADDRESS> or above)
Also note that generic images <IP_ADDRESS> for the latest Windows versions has shipped.

@lukas-pfeifhofer it seems that is problem in docker. Try not to update to latest update:

It works for me with latest BCContainerHelper that Freddy suggested.


Keyboard-based text field editing stops working intermittently on macOS

Both @csells and I saw an instance where a multi-line text field (I was using the one in the Gallery app's Material Text fields demo) stopped responding to some keyboard editing commands.
Both the up/down arrows and the command-A/command-C commands don't work. The left/right arrows did still work.
I had it happen once, and thereafter when I launched the app, I couldn't make it happen again.
I tried holding down keys when I started the app, running in debugger, debug mode, and release mode, and after the one time (which was in debug mode, but not in a debugger) I couldn't get it to happen again.
Chris says he couldn't get it NOT to happen for his app.

Stuart pointed out that the embedding implements left/right arrow editing, but not the rest, so probably this is a "stuck key" problem where the embedding is still working because it doesn't track pressed keys and the framework does. I'll test that theory out shortly.

i have this problem too, i can not use cammand+A and  direction key to select my input in TextField when i use mac desktop

Is this a bug,? or do we need to add logic ourselves, which is unreasonable

i think TextField may don't  handle keybroad event ....

i find it...in editable.dart, it add a keyboard listener:   _handleKeyEvent
it only handle command+ x,a,v,x

Keyboard-based text field seems to work just fine on Flutter 1.16.4-pre.69 • channel master.

Is this a bug,?

Yes.

Closing as a duplicate of https://github.com/flutter/flutter/issues/50553 since the underlying issue is stuck keys.


[UI] Character Sheet Scaling

On some devices, the character sheet takes up the whole screen, and even when you try to shrink it, it still takes up most of the screens.

IT might help if you gave the screen resolution you are using when you see this happen.


BrowserContext has a memory leak perhaps.

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.17.0
Platform / OS version: Mac OS 10.14.5
URLs (if applicable): no need
Node.js version: v9.6.1

What steps will reproduce the problem?
Keep running the code below will cause memory raising slowly. It seams unusual and I don't how to fix it.
const puppeteer = require('puppeteer');

puppeteer.launch({headless : false}).then(async browser => {

    while (true){

        let context = await browser.createIncognitoBrowserContext();
        await context.close();
    }
});

What is the expected result?
The memory should be stable.
What happens instead?
But it's keeping raising.

@zebulonzh yes, I do see memory increasing on Mac with the following script:
const puppeteer = require('puppeteer');

let i = 0;
puppeteer.launch().then(async browser => {
  while (true){
    console.log(++i);
    let context = await browser.createIncognitoBrowserContext();
    await context.close();
  }
});

This gives me ~15Mb for 100k created browser contexts, about 150b per Browser Context are leaked.
Can you please file this upstream to https://crbug.com/new and post a link back here as a cross-reference?

Issue has been submitted as you said. Thx for reply. I will wait for emails. @aslushnikov

@zebulonzh can you please share a link to the chromium bug here?

Here it is: https://bugs.chromium.org/p/chromium/issues/detail?id=983916

Adding our confirmation of this bug as well. We'll spin up 100s of parallel sessions and they'll kill the VM with OOM. We're currently killing Puppeteer processes every hour to "solve" the issue.
Any other ideas for creating parallel browser contexts that behave like incognito sessions?

Thanks for reports - we're looking into this

Ok, this took a while to figure.
Summary
This particular example is not a memory leak. This happens because DevTools protocol method Target.disposeBrowserContext completes before all browsercontext-related resources are freed. As a result, memory is allocated way faster than it is released.
Mitigation
The script is executing a synthetic scenario: usually each context hosts at least a single page it deals with which slows down context creation/disposal and gives enough time for memory disposal. In our tests, real world scenarios do not exhibit this memory starvation behavior.
In ideal world, we can instrument when browsercontext-related resources are getting freed. This is, however, a major engineering effort, that doesn't worth investment given synthetic nature of the use case.
Investigation
We built a custom chromium version with instrumenting heap profiler for the browser process, and were able to do a few observations with this script:
(All of the memory observations below are done based on the reports of Instrumenting Heap Profiler)

If we just run the script, the memory allocated on the heap increases drastically.
If we stop issuing browser.createIncognitoBrowserContext() / browserContext.close() commands but keep the browser running, allocated memory is gradually getting freed.
If we slow down creation and destruction of browser contexts (basically,  connecting puppeteer instance with the slowMo: 100 option), then the memory is stable.

We were also monitoring memory consumption with htop - which did not report any memory getting freed in (2). This turned out to be due to the fact that tcmalloc does not return claimed memory back to the system (source#1 and source#2).
 Each context sets up a lot of bindings to different mojo components that are gradually destroyed later on. If we create/dispose contexts too fast, then memory is getting allocated faster than it is getting freed.
Afterwords
Chromium team is constantly fighting against memory leaks, but it's impossible to eliminate them all given the massive Chromium complexity. Unlike renderer processes that are getting recreated, browser process is alive forever, and thus especially susceptible to leaks in the long-run.

Keep running the code below will cause memory raising slowly. It seams unusual and I don't how to fix it.

@zebulonzh We were initially very frightened by the massive scale of the leak that your script demonstrated. However, investigation revealed that it's not that bad. To sum up, leaks are likely to be in the browser process; I'd recommend restarting every once in a while if you run at scale.

We're currently killing Puppeteer processes every hour to "solve" the issue.

@derrekyoung restarting browser instance every once in a while is a good thing to do if you run at scale.

Any other ideas for creating parallel browser contexts that behave like incognito sessions?

The only other thing you can do is to launch a whole new browser.


error: Toolchain esp in XXX\esp_32_webserver\rust-toolchain.toml is custom and not installed

Hello Firends,
Im new to rust and esp32 i tried to follow a beginner tutorial: https://youtu.be/o8yNNVFzNnM?list=PL0U7YUX2VnBFbwTi96wUB1nZzPVN3HzgS
I know there an already many open issues and maybe this is a duplicate, but can someone explain to me in simple terms why the rust analyzer is broken after I install the template?
I get this error when I clone the project and try to build it with cargo build. I attempt to compile it under Windows 11
2024-07-13T22:39:01.467639Z ERROR rust_analyzer::main_loop: FetchWorkspaceError: rust-analyzer failed to load workspace: Failed to load the project at XXX\esp_32_webserver\Cargo.toml: Failed to query rust toolchain version at XXX\getting started\esp_32_webserver, is your toolchain setup correctly?: "XXX\\.cargo\\bin\\cargo.exe" "--version" failed, exit code: 1 stderr: error: Toolchain esp in XXX\esp_32_webserver\rust-toolchain.toml is custom and not installed

Is there any news about this topic? I'm having the same issue

https://github.com/esp-rs/esp-idf-template?tab=readme-ov-file#install-rust--clang-toolchains-for-espressif-socs-with-espup

^^^ Addresses the problem very well, closing.


Related: see #97.

@bors-servo r+

:pushpin: Commit 56ba488 has been approved by Manishearth

:hourglass: Testing commit 56ba488 with merge df390ee...

:sunny: Test successful - travis


Decode on CPU

I was trying to pull down a trained model and test it out on a machine with no GPU (to avoid all the extra cost of cloud GPU machines) but I got an error:
Traceback (most recent call last):
File "translate/translate_char2char.py", line 293, in
interactive=args.interactive,
File "translate/translate_char2char.py", line 185, in main
init_translation_model(model, options, init_params, build_sampler)
File "translate/translate_char2char.py", line 40, in init_translation_model
f_init, f_next = build_sampler(tparams, options, trng, use_noise)
File "/home/jrthom18/data/char_model/dl4mt-c2c/char2char/char_base.py", line 187, in build_sampler
conv_out = get_layer('multi_scale_conv_encoder')[1](tparams, emb, options, prefix='multi_scale_conv_enc1', width=options['conv_width'], nkernels=options['conv_nkernels'], pool_window=options['pool_window'], pool_stride=options['pool_stride'])
File "/home/jrthom18/data/char_model/dl4mt-c2c/char2char/mixer.py", line 487, in multi_scale_conv_encoder
output.append(dnn_conv(data, W[idx], border_mode='half', precision='float32'))
File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/dnn.py", line 1160, in dnn_conv
return GpuDnnConv(algo=algo)(img, kerns, out, desc)
File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/dnn.py", line 328, in init
if version() < (3000, 3000):
File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/init.py", line 407, in dnn_version
dnn_available.msg)
Exception: ("We can't determine the cudnn version as it is not available", 'CUDA not available')
This was after I had tried setting the Theano device flag to cpu. Is there a quick way around this?

Unfortunately translate*.py in my repo only supports GPU-decoding. Here is a multithreaded CPU-based decoding script for dl4mt-cdec, it's compatible with my project. You should be able to take the models from dl4mt-c2c and decode on that script. See here for some sample commands to use that script.

Actually, on a second thought, that script defines some other model entirely. It wouldn't work on dl4mt-c2c models.
Sorry about this. The trouble is, my convolutions are dnn_conv, which is GPU-only. This is something already built into the model so you can't change afterwards.
If you want to decode on CPUs, you'll have to replace the dnn_conv with conv2d (the arguments should roughly be the same) and train your model first using that instead.

Let me know if you manage to fix this.

It looks like dnn_conv is being invoked in mixer.py ... would that be where it needs to be replaced with conv2d?

Got it. Using conv2d instead of dnn_conv and then pool_2d instead of dnn_pool in mixer.py did the trick. Thanks!

Yes that's spot on. Glad it worked!


Public offline address UI

Add "show public offline address" to settings (block utilities) https://zpl.io/bo6Akov
Show public offline address screen https://zpl.io/2GL48oW
Transaction details https://zpl.io/anxP53r
Transaction status - offline, but please specify address type (Public offline address) inside details.

Contact is saved without address for public offline transactions

Checked


Fixed typo in SetCookieTest

Closes https://github.com/guzzle/guzzle/issues/2894.

Oops. It seams like a few tests depended on this.

Hmm. These tests seem bad. Unix timestamps are not allowed: https://datatracker.ietf.org/doc/html/rfc7231#section-<IP_ADDRESS>.


v-if on TresGroup is not working correctly

Describe the bug
Conditionally rendering a TresGroup does not work with v-if.
Reproduction
https://stackblitz.com/edit/stackblitz-starters-ewzdtl?file=src%2Fcomponents%2FTheExperience.vue
Steps to reproduce
Use v-if on a TresGroupand try to make the it's content become visible.
System Info
No response
Used Package Manager
pnpm
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

I also have the issue. Not sure if it's the same bug or not, but when using a raw mesh instead of a mesh wrapped in a group, the click on "click twice" does toggle the cube off then on... but only once: https://stackblitz.com/edit/stackblitz-starters-bumhz6?file=src%2Fcomponents%2FTheExperience.vue. Same thing if I wrap everything within a <template>

Here's another pared down StackBlitz with 2 TresMesh setups.
In the example:

If the v-if is on a TresMesh that's a child of Scene, toggling off -> on causes the TresMesh to have a null parent.
If the v-if is on a TresMesh that's a child of a Group, toggling off -> on works normally.


Add and activate Capstone theme

References
Resolves #3
Description
Creates a customized Capstone theme that extends the TAMU theme and activates it for the Capstone community.
Specifically, this theme adds advisor and sponsor metadata to the simple item view.
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:

Creates Capstone theme
Activates Capstone theme
Displays advisor details in simple item view
Displays sponsor details in simple item view

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[ ] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[ ] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[ ] If my PR fixes an issue ticket, I've linked them together.

It Works!


better errors for boundary objects

This makes our CODAP value printer aware of boundary objects (by looking for the property jsonBoundaryObject within them) and fixes pivot wider to give a more specific error message when boundary objects are used as attribute names.
This does beg the question of how many ways objects can show up as CODAP values, and it does seem like it's limited to boundary objects and a few others. I did find that using just the identifier US_county_boundaries as a formula value, for instance, yields an object that has a map from county names as keys to boundary objects as values, so this may be another kind of object we want to be aware of.

Okay, I added support for detecting things like US_county_boundaries, calling them "boundary maps" though I don't know if this is the best name.


docs: Added guide for Community Office Hours shepherding.

Signed-off-by: bwplotka<EMAIL_ADDRESS>

Community Office Shepherds is really a good idea :)


Pylance doesn't recognise properties created using the property function

Environment data

Language Server version: 2021.12.2
OS and version: Kubuntu 21.10
Python version (& distribution if applicable, e.g. Anaconda): 3.9.7

Expected behaviour
When I define a property on a class, for example this code snipped from Python's documentation
# https://docs.python.org/3/library/functions.html#property
class C:
    def __init__(self):
        self._x = None

    def getx(self):
        return self._x

    def setx(self, value):
        self._x = value

    def delx(self):
        del self._x

    x = property(getx, setx, delx, "I'm the 'x' property.")

Setting the property in my code should work correctly, giving errors for incorrect types and the like, and correctly determining what is happening with the property.
Actual behaviour
Using the above code as follows.
Pylance's actual behaviour is in comments
c = C()

c.x = 3 # c.x = Literal[3]

c.setx(5)

a = c.x # a = Literal[3]

Evidently Pylance is completely missing the existence of the property, and is treating the x property like a normal variable.
Logs

[Info  - 1:25:00 pm] Pylance language server 2021.12.2 (pyright 211ebe44) starting
[Info  - 1:25:00 pm] Server root directory: /home/migue/.vscode/extensions/ms-python.vscode-pylance-2021.12.2/dist
[Info  - 1:25:00 pm] No configuration file found.
[Info  - 1:25:00 pm] No pyproject.toml file found.
[Info  - 1:25:00 pm] Setting pythonPath for service "Universal-Controller-Script": "/home/migue/Source/Universal-Controller-Script/.venv/bin/python"
[Warn  - 1:25:00 pm] stubPath /home/migue/Source/Universal-Controller-Script/typings is not a valid directory.
[Info  - 1:25:01 pm] Assuming Python version 3.9
[Info  - 1:25:01 pm] Assuming Python platform Linux
[Warn  - 1:25:01 pm] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 1:25:01 pm] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Info  - 1:25:01 pm] Searching for source files
[Info  - 1:25:01 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:25:01 pm] Found 33 source files
[Info  - 1:25:01 pm] Background analysis(1) root directory: /home/migue/.vscode/extensions/ms-python.vscode-pylance-2021.12.2/dist
[Info  - 1:25:01 pm] Background analysis(1) started
[Info  - 1:30:48 pm] Searching for source files
[Info  - 1:30:48 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:30:48 pm] Found 33 source files
[Info  - 1:30:48 pm] Searching for source files
[Info  - 1:30:48 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:30:48 pm] Found 33 source files
[Info  - 1:30:59 pm] Searching for source files
[Info  - 1:30:59 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:30:59 pm] Found 33 source files
[Info  - 1:31:02 pm] Searching for source files
[Info  - 1:31:02 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:31:02 pm] Found 33 source files
[Info  - 1:38:18 pm] Searching for source files
[Info  - 1:38:18 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:38:18 pm] Found 33 source files
[Info  - 1:39:09 pm] Searching for source files
[Info  - 1:39:09 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:39:09 pm] Found 33 source files
[Info  - 1:39:10 pm] Searching for source files
[Info  - 1:39:10 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:39:10 pm] Found 33 source files
[Info  - 1:39:41 pm] Searching for source files
[Info  - 1:39:41 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:39:41 pm] Found 33 source files
[Info  - 1:39:42 pm] Searching for source files
[Info  - 1:39:42 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:39:42 pm] Found 33 source files
[Info  - 1:40:39 pm] Searching for source files
[Info  - 1:40:39 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:40:39 pm] Found 33 source files
[Info  - 1:49:23 pm] Searching for source files
[Info  - 1:49:23 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:49:23 pm] Found 33 source files
[Info  - 1:52:08 pm] Searching for source files
[Info  - 1:52:08 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:52:08 pm] Found 33 source files
[Info  - 1:58:09 pm] Searching for source files
[Info  - 1:58:09 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:58:09 pm] Found 33 source files
[Info  - 1:58:09 pm] Searching for source files
[Info  - 1:58:09 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:58:09 pm] Found 33 source files
[Info  - 2:01:08 pm] Searching for source files
[Info  - 2:01:08 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:01:08 pm] Found 33 source files
[Info  - 2:01:10 pm] Searching for source files
[Info  - 2:01:10 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:01:10 pm] Found 33 source files
[Info  - 2:01:14 pm] Searching for source files
[Info  - 2:01:14 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:01:14 pm] Found 33 source files
[Info  - 2:02:27 pm] Searching for source files
[Info  - 2:02:27 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:02:27 pm] Found 33 source files
[Info  - 2:02:37 pm] Searching for source files
[Info  - 2:02:37 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:02:37 pm] Found 33 source files
[Info  - 2:02:42 pm] Searching for source files
[Info  - 2:02:42 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:02:42 pm] Found 33 source files
[Info  - 2:03:09 pm] Searching for source files
[Info  - 2:03:09 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:03:09 pm] Found 33 source files
[Info  - 2:03:15 pm] Searching for source files
[Info  - 2:03:15 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:03:15 pm] Found 33 source files
[Info  - 2:03:16 pm] Searching for source files
[Info  - 2:03:16 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 2:03:16 pm] Found 33 source files
[Info  - 10:27:37 am] Searching for source files
[Info  - 10:27:37 am] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 10:27:37 am] Found 33 source files
[Info  - 10:27:47 am] Searching for source files
[Info  - 10:27:47 am] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 10:27:47 am] Found 33 source files
[Info  - 10:34:20 am] Searching for source files
[Info  - 10:34:20 am] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 10:34:20 am] Found 33 source files
[Info  - 10:37:40 am] Searching for source files
[Info  - 10:37:40 am] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 10:37:40 am] Found 33 source files
[Info  - 11:14:10 am] Searching for source files
[Info  - 11:14:10 am] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 11:14:10 am] Found 33 source files
[Info  - 12:03:34 pm] Searching for source files
[Info  - 12:03:34 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 12:03:34 pm] Found 33 source files
[Info  - 12:57:41 pm] Searching for source files
[Info  - 12:57:41 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 12:57:41 pm] Found 33 source files
[Info  - 1:03:20 pm] Searching for source files
[Info  - 1:03:20 pm] Auto-excluding /home/migue/Source/Universal-Controller-Script/.venv
[Info  - 1:03:20 pm] Found 33 source files

Code Snippet / Additional information

class C:
    def __init__(self):
        self._x = None

    def getx(self):
        return self._x

    def setx(self, value):
        self._x = value

    def delx(self):
        del self._x

    x = property(getx, setx, delx, "I'm the 'x' property.")

c = C()

c.x = 3

c.setx(5)

a = c.x

Pyright (the type checker that underlies pylance) performs type narrowing of expressions on assignment. The type of expression c.x is narrowed to Literal[3] based on the assignment statement c.x = 3. This code is then modifying the underlying value _x "behind the back" of the type checker, so the narrowed type of c.x is no longer correct, but the type checker doesn't know this.
Other Python type checkers like mypy (and type checkers in other languages like TypeScript) perform similar type narrowing and make the same assumption that values won't be modified "behind the back" of the type checker.
The alternative to this assumption is to forego all type narrowing on assignment. We've discussed this multiple times in various Python typing forums, and we've always come to the same conclusion — that type narrowing on assignment provides more upsides than downsides. Removing type narrowing on assignment would produce many annoying false positive type checking errors. Because of this, we're unlikely to change the current behavior.
If you want your code to work well with static type checking, you may need to make some accommodations so it doesn't violate some basic assumptions that type checker need to make. This is one of those cases.

Interesting... I found that if I created the property using a property decorator (rather than a function), and then still called the back-end functions, it was annotated correctly.
class C:
    def __init__(self):
        self._x = None

    def getx(self):
        return self._x

    def setx(self, value):
        self._x = value

    def delx(self):
        del self._x

    @property
    def x(self):
        """I'm the x property"""
        return self.getx()
    @x.setter
    def x(self, value):
        self.setx(value)

Any ideas on why this is the case?

When you say "it was annotated correctly", what do you mean? I don't see any type annotations in any of the code samples that you've provided, so any type information is going to be based on type inference. The type inference rules involve a variety of heuristics. If you want to provide more control over type evaluation, I recommend adding type annotations to your code.
class C:
    def __init__(self):
        self._x: int | None = None

    def getx(self):
        return self._x

    def setx(self, value: int | None):
        self._x = value

    def delx(self):
        del self._x

    @property
    def x(self):
        """I'm the x property"""
        return self.getx()

    @x.setter
    def x(self, value: int | None):
        self.setx(value)

For more details about type declarations and type inference, here's some documentation you might find useful.

As in the docstrings would show correctly, even after reassignment, and the type hints would show correctly regardless of how they had been assigned.

closing as there is no work on Pylance. Miguel, if after adding annotations the problem persists, please reopen.


Fix tests after changes in validation webhook

Fix tests after changes in validation webhook, this commit https://github.com/maistra/istio-operator/commit/a33d372e098dc22319da45f7da4002cdba7252ee

[OSSM-6799] Fix TestSMCPMultiple after changes in validatingwebhookconfiguration
[OSSM-6800] Fix TestMustGather test after changes in validatingwebhookconfiguration
[OSSM-6811] Create test case for OLM validationg/mutating webhooks

The test should now check for the new validating/mutating webhook configurations. Also, if must gather doesn't gather the new configurations, it needs to be updated.

@luksa

The test should now check for the new validating/mutating webhook configurations.

Did you ment to create a new test case? Because TestSMCPMultiple test doesn't check validation webhooks, just removes it to be able to proceed with the creation of a second SMCP (otherwise it would not be able to do so). Even though the cleanup stage is waiting till validationwebhook is ready after deleting and creating the operator , for 2.6, we don't need to do that since the webhook is created automatically by OLM. ( I can add there waiting for that )

Also, if must gather doesn't gather the new configurations, it needs to be updated.

Yes, our must-gather image doesn't include those new resources created by OLM. I will create a ticket for that. I am also thinking, why we still have 2.4 must-gather image in the documentation and not 2.5

ah, deleting Validatingwebhookconfigurations is not safe because when olm recreates it again before the second smcp is deleted, the deleting of istio project get stuck due to aistra.io/istio-operator finalizer

@unsortedhashsets

Isn't it about:
...
These objects are not present in the test, should we mb add commented assert lines as TODO?
Yes, I didn't add it to the test yet. Yes, we can until we figure it out whether it needs to be added to must-gather image

Should we also check that OLM recreates validating/mutating webhookconfiguration after manual deletion
sure

ah, sorry my bad, typo, there are double deletion smcp and not smm, fixed

Ticket for adding those validating/mutating webhook configurations to must-gather https://issues.redhat.com/browse/OSSM-6814


beacon: reduce the likelihood of network disagreeing on beacon proposals

Motivation
Closes #3903
Changes

make two-tiered atx threshold

thresholdStrict is calculated from number of atxs received δ before the end of the previous epoch, used to gate valid proposals
threshold is calculated from number of atxs received before the end of the previous epoch, used to gate potentially valid proposals

allow beacon to be notified as atxs arrive.

weakcoin: do not relay weakcoin message that contains higher value proposals

bors try

bors try

bors try

bors try

bors try

beacon is a perfect example where tests and implementation can be completely data driven, i think current testing approach is deeply flawed

completely agree. https://github.com/spacemeshos/go-spacemesh/issues/4061
will aim to create one before launch.

bors try

bors merge

bors merge


Jovo Webhook won't start after command "jovo run"

I'm submitting a...

[x ] Bug report

Hello, when i want to start my Jovo project with the local jovo webhook, i am getting this message.
1.) "Example server listening on port 3000!"
The following line should be the jovo webhook. But instead i am getting this every 30 seconds.
2.) Sorry, there seems to be an issue with the connection!
timeout
When i use this command "node index.js --webhook", i am only getting message 1.).
When i use this command "jovo run --webhook-only", i am only getting message 2.).
I have also tried to create a new project with the "helloworld" template, but it's the same.
Then i tried to delete the "app.json" file, create a new one with the "jovo init alexaSkill" command and get this output.
√ Updating /app.json
√ Adding alexaSkill as platform
√ Adding platform specific properties to app.json
√ Adding jovo-webhook as endpoint
Endpoint uri:
Initialization completed.
The Endpoint didn't get checked.
My app.json file looks like this.
{
"alexaSkill": {
"nlu": {
"name": "alexa"
}
},
"endpoint":
}
I am using Jovo CLI version 1.2.1. I hope you guys can help me with this.

The endpoint in the app.json is empty?
What's in your %USER%/.jovo/config ?
It should look like this:
{
	"webhook": {
		"uuid": "<USER-ID>"
	}
}

@aswetlow thanks for your quick  response.
Yes i am behind a proxy, but i already tried without it.
No my Endpoint is not empty, it looks like this "https://webhook.jovo.cloud/c75c21fa...". Didn't know what happend there.
Can you tell where i can find the %USER%/.jovo/config?

On Windows it's in C:\Users<USER>.jovo\config
On Mac in ~/.jovo/config

Thanks for your help. I have spoken to the admin and maybe it is an internal problem with our network.
I keep you up to date.

Good news. It was an internal problem with our firewall.
Didn't think about it because it was never a problem before.
Thanks for pushing me in the right direction.


Generation using meta-description and command line for advanced users

To avoid using web interface

Implemented in tng-project already.


Tech Debt: Validator Type definitions

This PR:

replace simpleMemoize function with memoize from lodash to fix typings
add type definitions to validators
correctly type components that refer props from router
dependency bump
a little bit more of type improvements because when you type things correctly errors start to pop up
Remove duplicated validators
Add tests for validators

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

@francovenica Could you please test sending funds/contract interactions forms for this PR? Especially with the edge cases (balance less than token, balance equal to token balance, etc). Thanks!

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

@francovenica could you please test this?

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

I don't know why it marked those as 'request change' despite I expressly clicked the 'comment' button :man_shrugging:

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app

I tested this PR and it worked fine: validation works as expected in forms and different scenarios like no token selected, re-validating after changing token etc

Travis automatic deployment:
https://pr1108--safereact.review.gnosisdev.com/app


android: request camera permission for inputs

This PR tried to implement requesting user permissions on Android when the input field contains capture param. Requesting camera permission on app startup is not the best UX. This PR tries to delay the permission request until the user actually requires this action.
Testing and Review Notes
You can pass this URL with into the example project WebView: https://12t031.csb.app/
One input is with capture while the other one is regular.
Clicking on capture input should on Android request permissions. When the request is either accepted or denied then the file picker is resumed. When user accepts the permission the file picker contains the option to take a picture with camera.
To Do
I don't regularly touch Java code and there is high chance this is not the best approach. However, this feature is important for me. Let me know if there are any changes need so it could be possibly merged and published.
Thank you!

Hi @vaetas @balajiks-dev
Can u suggest any solution for this issue?
2108

Hi @vaetas @balajiks-dev
Can u suggest any solution for this issue?
2108

Issue mentioned closed.

Is this PR ready ?

To use onPermissionRequest i did as follow :
Inside onWebViewCreated callback :
if (Platform.isAndroid) {
      controller.addUserScript(
        userScript: UserScript(
          source: """
            var fileInput = document.querySelector('input[type="file"][accept]');

            if (fileInput) {
              var handleClick = async function(event) {
                event.preventDefault();
                // check permission
                await navigator.mediaDevices.getUserMedia({ video: true, audio: false }).catch(function() {});
                fileInput.removeEventListener('click', handleClick);
                fileInput.click();
                fileInput.addEventListener('click', handleClick);
              };
              fileInput.addEventListener('click', handleClick);
            }
          """,
          forMainFrameOnly: true,
          injectionTime: UserScriptInjectionTime.AT_DOCUMENT_END,
        ),
      );
    }

That well trigger onPermissionRequest.
Inside onPermissionRequest callback :
  static Future<PermissionResponse?> onPermissionRequest(
    InAppWebViewController controller,
    PermissionRequest request,
  ) async {
    if (request.resources.contains(PermissionResourceType.CAMERA)) {
      final bool result =
          await getIt<PermissionService>().requestCameraPermission();
      return PermissionResponse(
        resources: request.resources,
        action: result
            ? PermissionResponseAction.GRANT
            : PermissionResponseAction.PROMPT,
      );
    }
    return null;
  }

Hi @vaetas @balajiks-dev
Can u suggest any solution for this issue?
2108

It's because of an another package.  The issue mentioned is already Closed.


Please, add Skookum JS to the list of projects using Duktape

In a happy accident I was planning on releasing a JS runtime I wrote using Duktape today, so I bumped it to 1.5.0 and here it is: https://github.com/saghul/sjs
Can it please get added to the projects list? Thanks a lot!
Btw, Duktape is awesome: easy to use, great design, and fantastic doumentation. I couldn't have done it without Duktape. :heart:

Sure thing :) What would be a good short description for the project?

"A skookum JavaScript runtime" :-)

Alright, it's there now :)

Fantastic, thank you!


[Firestore] CloudFirestorePlugin.java uses unchecked or unsafe operations.

Note: /home/brooky/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.0+1/android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

in debug mode, the app runs perfectly, but when running using the release apk(build apk), it crashes the app when opening.

Hi @kingdg25
can you please provide your flutter doctor -v ,
your flutter build apk --verbose
and your pubspec.yaml
or if possible a reproducible minimal code sample.
Thank you

my pubspec.yaml: `description: A new Flutter application.
version: 1.0.0+1
environment:
sdk: ">=2.0.0-dev.68.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
animated_text_kit: ^1.3.0
firebase_core: ^0.4.1+5
firebase_auth: ^0.11.0
cloud_firestore: ^0.11.0
modal_progress_hud: ^0.1.3
http: ^0.12.0+2
photo_view: ^0.9.0
intl: ^0.16.0
cached_network_image: ^2.0.0
carousel_slider: ^1.3.1
fluttertoast: ^3.1.3
shared_preferences: ^0.5.3+4
google_sign_in: ^4.0.11
flutter_auth_buttons: ^0.6.0
flutter_facebook_login: ^3.0.0
esys_flutter_share: ^1.0.2
random_string: ^2.0.1
percent_indicator: ^2.1.1
connectivity: ^0.4.6
intro_slider: ^2.2.8
provider: ^3.2.0
dio: ^3.0.8
path_provider: ^1.5.0flutter doctor --verbose[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Linux, locale en_US.utf8)
• Flutter version 1.12.13+hotfix.7 at /home/brooky/flutter
• Framework revision 9f5ff2306b (7 days ago), 2020-01-26 22:38:26 -0800
• Engine revision a67792536c
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/brooky/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /home/brooky/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Android Studio (version 3.5)
• Android Studio at /home/brooky/android-studio
• Flutter plugin version 41.1.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[!] VS Code (version 1.37.0)
• VS Code at /usr/share/code
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• SM A207F • R9AM90WQLPJ • android-arm64 • Android 9 (API 28)`

I am also getting the same error..
android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Yaml file below
version: 1.0.0+1
environment:
sdk: ">=2.6.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
splashscreen: ^1.2.0
datetime_picker_formfield: ^1.0.0
cloud_firestore: ^0.13.0+1
firebase_core: ^0.4.0

Similar issue here! any update?

Any update? I'm having the same issue. I ran flutter doctor and there are no issues found.

any update? please!!! I have the same issue.
Note: /Users/erwinvasquezpinto/Programacion/Flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.5/android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses unchecked or unsafe operations.

related #1401 ?

Hey all, as part of our on-going work for #2582, this has been resolved in our Firebase Firestore rework (#2913) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you


Cannot connect to the Internet using Outline

Describe the bug
I connect to the server, no errors, but after connection the internet disappears. (accordingly, when I go to the sites I just get a load (about a minute), and then exit to an error. )
Expected behavior
There should be a successful connection to the vpn, the internet should not be lost.
Screenshots

Client system (please complete the following information):

Outline Client Version: 1.12.1 (471860)
Your Operating System: Windows 11 22H2 22621.2506

Additional context
Tried and didn't help:
turn off firewall (windows firewall)
turn off antivirus (defender)
reinstall client
reinstall server
tap adapter removal

Thank you for reaching out! If this is still an issue for you, please contact us at support.getoutline.org and include the GitHub issue number so that we can better support your needs.
If you haven’t already, check out the Outline Support Site at support.getoutline.org for access to help articles and more.


[FEATURE REQUEST] OPUS audio support

OPUS is the latest open source audio codec that provides much better quality and lower bitrates than all competitors. It would be great to have this implemented as an alternative to OGG. This would help in distributing smaller builds due to smaller file sizes.
I looked through the OGG decoder and this is out of my capabilities atm.

@knuxyl do you know any single-file header-only library that loads OPUS format? raylib only uses single-file header-only libraries for file-formats integration with the library.


Error on installing ruby's dependecies stage in GH Actions on 6.4.2 version

Checklist

[X] I have read and accepted the contributing guidelines.

How did you create the site?
Generated from chirpy-starter
Describe the bug
Something went wrong on stage "Setup Ruby" while installing dependencies on my website: nukdokplex/nukdokplex-site after upgrading chirpy to 6.4.2.
Steps To Reproduce

Update Gemfile like this:

# frozen_string_literal: true

source "https://rubygems.org"

gem "jekyll-theme-chirpy", "~> 6.4", ">= 6.4.2"

group :test do
  gem "html-proofer", "~> 4.4"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
  gem "tzinfo", ">= 1", "< 3"
  gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

This new Gemfile was copied from chirpy-starter's one.

Commit

Expected Behavior
Normal dependencies installation
Environment
name: "Build and Deploy"
on:
  push:
    branches:
      - main
      - master
    paths-ignore:
      - .gitignore
      - README.md
      - LICENSE

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

# Allow one concurrent deployment
concurrency:
  group: "pages"
  cancel-in-progress: true

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          # submodules: true
          # If using the 'assets' git submodule from Chirpy Starter, uncomment above
          # (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)

      - name: Setup Pages
        id: pages
        uses: actions/configure-pages@v3

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3
          bundler-cache: true

      - name: Build site
        run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
        env:
          JEKYLL_ENV: "production"

      - name: Test site
        run: |
          bundle exec htmlproofer _site \
            \-\-disable-external=true \
            \-\-ignore-urls "/^http:\/\/<IP_ADDRESS>/,/^http:\/\/<IP_ADDRESS>/,/^http:\/\/localhost/"

      - name: Upload site artifact
        uses<EMAIL_ADDRESS>        with:
          name: site
          path: "_site${{ steps.pages.outputs.base_path }}"
          retention-days: 1

  deploy:
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    needs: build
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v2
        with:
          artifact_name: site
          timeout: 180000

Anything else?
https://github.com/nukdokplex/nukdokplex-site/actions/runs/7593435149/job/20683909405
/opt/hostedtoolcache/Ruby/3.3.0/x64/bin/bundle config --local path /home/runner/work/nukdokplex-site/nukdokplex-site/vendor/bundle
/opt/hostedtoolcache/Ruby/3.3.0/x64/bin/bundle lock
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Writing lockfile to /home/runner/work/nukdokplex-site/nukdokplex-site/Gemfile.lock
Cache key: setup-ruby-bundler-cache-v6-ubuntu-22.04-x64-ruby-3.3.0-wd-/home/runner/work/nukdokplex-site/nukdokplex-site-with--without--only--Gemfile.lock-afa1f10d6b239b8f26aa65ee903c6459ede683ff901e8893ba2480e29f93beff
/opt/hostedtoolcache/Ruby/3.3.0/x64/bin/bundle install --jobs 4
Fetching gem metadata from https://rubygems.org/.........
Fetching public_suffix 5.0.4
Fetching colorator 1.1.0
Fetching concurrent-ruby 1.2.3
Fetching eventmachine 1.2.7
Installing colorator 1.1.0
Installing public_suffix 5.0.4
Fetching http_parser.rb 0.8.0
Installing eventmachine 1.2.7 with native extensions
Installing concurrent-ruby 1.2.3
Fetching ffi 1.16.3
Installing http_parser.rb 0.8.0 with native extensions
Installing ffi 1.16.3 with native extensions
Fetching forwardable-extended 2.6.0
Installing forwardable-extended 2.6.0
Fetching google-protobuf 3.25.2
Installing google-protobuf 3.25.2 with native extensions
Fetching mercenary 0.4.0
Installing mercenary 0.4.0
Fetching racc 1.7.3
Installing racc 1.7.3 with native extensions
Fetching parallel 1.24.0
Installing parallel 1.24.0
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching yell 2.2.2
Installing yell 2.2.2
Fetching zeitwerk 2.6.12
Installing zeitwerk 2.6.12
Fetching rb-fsevent 0.11.2
Installing rb-fsevent 0.11.2
Fetching rexml 3.2.6
Installing rexml 3.2.6
Fetching liquid 4.0.4
Installing liquid 4.0.4
Fetching rouge 4.2.0
Installing rouge 4.2.0
Fetching safe_yaml 1.0.5
Installing safe_yaml 1.0.5
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching webrick 1.8.1
Installing webrick 1.8.1
Fetching jekyll-paginate 1.1.0
Installing jekyll-paginate 1.1.0
Fetching addressable 2.8.6
Installing addressable 2.8.6
Fetching i18n 1.14.1
Installing i18n 1.14.1
Fetching pathutil 0.16.2
Installing pathutil 0.16.2
Fetching nokogiri 1.16.0 (x86_64-linux)
Installing nokogiri 1.16.0 (x86_64-linux)
Fetching kramdown 2.4.0
Installing kramdown 2.4.0
Fetching terminal-table 3.0.2
Installing terminal-table 3.0.2
Fetching kramdown-parser-gfm 1.1.0
Installing kramdown-parser-gfm 1.1.0
Fetching ethon 0.16.0
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Installing ethon 0.16.0
Fetching listen 3.8.0
Installing listen 3.8.0
Fetching jekyll-watch 2.2.1
Installing jekyll-watch 2.2.1
Fetching typhoeus 1.4.1
Installing typhoeus 1.4.1
Fetching html-proofer 4.4.3
Installing html-proofer 4.4.3
Fetching em-websocket 0.5.3
Installing em-websocket 0.5.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/home/runner/work/nukdokplex-site/nukdokplex-site/vendor/bundle/ruby/3.3.0/gems/google-protobuf-3.25.2/ext/google/protobuf_c
rake
RUBYARCHDIR\=/home/runner/work/nukdokplex-site/nukdokplex-site/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/google-protobuf-3.25.2
RUBYLIBDIR\=/home/runner/work/nukdokplex-site/nukdokplex-site/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/google-protobuf-3.25.2
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems.rb:259:in
`find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake
(Gem::GemNotFoundException)
from /opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems.rb:278:in
`activate_bin_path'
	from /opt/hostedtoolcache/Ruby/3.3.0/x64/bin/rake:25:in `<main>'

rake failed, exit code 1

Gem files will remain installed in
/home/runner/work/nukdokplex-site/nukdokplex-site/vendor/bundle/ruby/3.3.0/gems/google-protobuf-3.25.2
for inspection.
Results logged to
/home/runner/work/nukdokplex-site/nukdokplex-site/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/google-protobuf-3.25.2/gem_make.out

/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/ext/builder.rb:125:in
`run'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/ext/rake_builder.rb:30:in
`build'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/ext/builder.rb:193:in
`build_extension'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/ext/builder.rb:227:in
`block in build_extensions'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in
`each'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in
`build_extensions'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/rubygems/installer.rb:852:in
`build_extensions'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/rubygems_gem_installer.rb:76:in
`build_extensions'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/rubygems_gem_installer.rb:28:in
`install'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/source/rubygems.rb:205:in
`install'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/installer/gem_installer.rb:54:in
`install'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/installer/parallel_installer.rb:132:in
`do_install'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/installer/parallel_installer.rb:123:in
`block in worker_pool'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/worker.rb:62:in
`apply_func'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/worker.rb:57:in
`block in process_queue'
  <internal:kernel>:187:in `loop'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/worker.rb:54:in
`process_queue'
/opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/bundler/worker.rb:90:in
`block (2 levels) in create_threads'

An error occurred while installing google-protobuf (3.25.2), and Bundler cannot
continue.

In Gemfile:
  jekyll-theme-chirpy was resolved to 6.4.2, which depends on
    jekyll-archives was resolved to 2.2.1, which depends on
      jekyll was resolved to 4.3.3, which depends on
        jekyll-sass-converter was resolved to 3.0.0, which depends on
          sass-embedded was resolved to 1.70.0, which depends on
            google-protobuf
Error: The process '/opt/hostedtoolcache/Ruby/3.3.0/x64/bin/bundle' failed with exit code 5```

fixed by adding minor version "3.2" to workflow file according to this commit: 1efe631

Thanks for this @nukdokplex ! Was running into the same error and this fixed it!


Add display of Timestamp if present in XAdES and JAdES

Looks like it is done. Shall be avaibale in the upcoming version/release.


feat: role based features in gossip state provider

closes #65
Signed-off-by: sudesh.shetty<EMAIL_ADDRESS>

verify-unitest