[BACKLOG-28035] Clear out file open dialog properties

:white_check_mark: Build finished in 1m 36s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
plugins/file-open-save-new/core

:ok_hand: All tests passed!
Tests run: 15, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Default Value in Property in Data Contract Class to Display at Model in Swagger UI

Hi ,
Just want to know is there any way to Set default value in property inside the Data Contract Class, and automatically display at Swagger UI Model?
Thanks

Hi
Do you mean this input area?

If it is, then it is possible, as  you can see in the following snapshot:

You can check using the following swagger file
https://gist.githubusercontent.com/abelsilva/11a1cd982c20fbf11d4cdf65e78bfd8f/raw/c7aae973eb759f826fa6862064ec64a6a016ede1/swagger.json
Currently I won't be implementing, but if you want to check it and submit a PR you're more than welcome
To start, you could use the the Attribute DefaultValue, e.g.:
        [DataMember]
        [Description("Book First Publish Date")]
        [DefaultValue(1990)]
        public int FirstPublished { get; set; }

And using that, add the default value to the definition class and output the default values on the serialization step

Oh Thanks! Great!


⚠ SceneTime has degraded performance

In d224a0b, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 5074 ms

Resolved: SceneTime performance has improved in 83dab07 after 5 minutes.


APIKey Restriction

Hi, first of, great work that you're doing. The API is very simple to use.
The Issue: your api uses Google WebApi and not iOS SDK, the key restriction will not work as they are only supported in SDK version. It would be great if you can add such a feature.

@efsolInc  Hey! Thanks for your feedbacks!
This lib was created before the Google Maps' iOS SDK, so it uses Web APIs. For key restrictions, will it be possible to just use the iOS SDK directly?
I haven't checked what's the latest features in the iOS SDK. Feel free to make a PR! Thanks!

Close as there's no action item for key restriction fix.


fix  #354: Sammelüberweisung

We implemented the feature and would like to get it mainstream
https://launix.de/launix/launix-unterstuetzt-die-freie-fints-schnittstelle-phpfints/

Copyright marks are fine with MIT. Every author gains copyright by creating a piece of work automatically. By publishing it, the code additionally gets licensed under MIT, so everyone can use it.

Thanks for the review. I will look into it and make changes tomorrow.

To fix the Travis failures, see here.

Will anyone fix this one?

As far as we can see, Travis CI yields some false positives. Correct me if I'm wrong.

Do I undestand it correctly that even with BtchBookg set to false I would still be allowed to submit multiple transfers with a single TAN while having each transfer listed as a single transaction by the bank? It would be awesome to have this added to the library.

Do I undestand it correctly that even with BtchBookg set to false I would still be allowed to submit multiple transfers with a single TAN while having each transfer listed as a single transaction by the bank? It would be awesome to have this added to the library.

No. But you can encode multiple transfers in a single SEPA file and submit this file with one single TAN which basically yields the same result.
We already forked the library to have this feature in our software.

But you can encode multiple transfers in a single SEPA file and submit this file with one single TAN which basically yields the same result.

That's what I meant. Are those transactions then listed by the bank individually or all together as a single "Sammelauftrag"? As I understood it, the flag BtchBookg governs this behavior (https://www.sparkasse-landsberg.de/content/dam/myif/spk-landsberg-diessen/work/dokumente/pdf-ll/SEPA FAQs.pdf) but I did not find any information if multiple transfers in a single XML file are possible at all with BtchBookg = false

As far as we can see, Travis CI yields some false positives. Correct me if I'm wrong.

I dont think so. I encountered this issue before. Because this repo has no composer.lock file (because of the different php versions), you have to be carefull to delete your own lock file, then do a composer update / install and then the composer cs-fix.
If this is the problem, we should add this to the linked passage

To fix the Travis failures, see here.

Is this branch merged not into nemiah:master or not?

Hi, I did not merge because I don't know in which state this PR is and I don't have the time to find out. If you still want, please make a new PR for the current version.

The feature was complete. It were just the automated test cases that failed with a thing completely unrelated to the patch.


[SPARK-28262][SQL] Support DROP GLOBAL TEMPORARY VIEW

What changes were proposed in this pull request?
We create global temporary view by:
CREATE GLOBAL TEMPORARY VIEW temp_view AS SELECT 1 AS col1;

But we need to specify spark.sql.globalTempDatabase when drop it:
DROP VIEW global_temp.temp_view;

Which is not very convenient, this PR add support DROP GLOBAL TEMPORARY VIEW and DROP TEMPORARY VIEW.
Arter this PR:
DROP GLOBAL TEMPORARY VIEW temp_view;

Drop view related code:
https://github.com/apache/spark/blob/447bfdec830ba5eaaee791e86caad39f4f6661eb/sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala#L194-L219
How was this patch tested?
unit tests

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12434/
Test PASSed.

Test build #107286 has started for PR 25061 at commit 41715c6.

Test build #107286 has finished for PR 25061 at commit 41715c6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107286/
Test PASSed.

It seems this pr also adds DROP TEMPORARY VIEW. This syntax only drops a temporary view?

Thank you @maropu I updated the description.

btw, is there any other dbms-like systems supporting the same syntax?

Teradata support DROP TEMPORARY TABLE.
https://docs.teradata.com/reader/_a1eqWqCcebCUBcUpkaVvA/zoq2K_VQpej_91CX51Lkbg
https://github.com/apache/spark/blob/7b7f16f2a7a6a6685a89176666a9b5ba403fff76/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala#L424-L428


Add option to set the composite collider geometry type on import

The Composite Collider Geometry Type defaults to Outlines. This is problematic as using an IntGrid as a trigger area (i.e. for checking if the player is inside water) doesn't work since only the outline collides in that mode.
My current workaround is to change the geometry type every time I add a level, but this is tedious, especially if I ever have to add an ldtk file to a different scene for any reason (since I would then have to go into all of the levels and switch the geometry type). Alternatively I could turn off Composite Colliders, but that presumably has a performance cost.
Could the Geometry Type option be added to the importer so that I don't have to manually change it for every new level?

I've used the AssePostProcessor with blender files for previous project and it worked well. Something similar to that would be perfect!

I've been working on this, It's relatively finished but I shall push out the update once I'm done making documentation for it.
As of recently in a small project of mine, I've also needed to be able to set the geometry type to polygons, so I understand the value of this feature 🙂

I've pushed a new update that adds the ability to customize the import process with scripting, check it out:
https://cammin.github.io/LDtkToUnity/documentation/Topics/topic_CustomImporting.html#ldtkpostprocessor
For example, for your situation, you could get all composite colliders in the hierarchy, and change the geometry type.
Let me know if it works for you or if you have any issues, feel free to reopen the issue :)


feat(karma) setup and integration

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

new feature

What is the current behavior? (You can also link to an open issue here)

there is not a test environment

What is the new behavior (if this is a feature change)?

karma environment with jasmine as test framework (fix: #319)

Other information:

new scripts:
npm test: run all test once
npm test:tdd: run all test and wait for changes. Ideal for test drive development.
edited scripts:
npm pretest: force lint to always exit with 0

Hi @michaeljota, many thanks for this, we will look into shortly!

Hi Team,
Need help for integrate the karma jasmine with latest version. Please share the changes file list details.


[BUG] I cant download bloxstrap

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.5.4
What problem did you encounter?
i cant download bloxstrap idk what to do

Bloxstrap Log
N/A

reinstall then


deprecated bases in kustomization files

manifest validation depends on 8

Need to resolve conflicts

Need to resolve conflicts

sorry, not folowing. Conflicts with?

Conflicting files
core/openshift-pipelines/kustomization.yaml

Conflicting files
core/openshift-pipelines/kustomization.yaml

I just understood what you meant yesterday. Thks!


Make test builds fail if warnings are encountered during tests

The test build should be completely clean. Warnings don't block merges, so we don't notice them when they pop up. If they did block merging, we'd notice them and fix them (ideal case) or at least intentionally make the decision to suppress them (last resort).

logging errors should maybe also raise.

Yes, but we may need to be a bit more discriminate there. I definitely agree logger.error() from graphql_compiler or a submodule should raise unless explicitly suppressed. It's less clear-cut with dependency libraries — e.g. if sqlalchemy decided to retry a request because a connection broke, I don't think our tests should fail.

I closed the pull request above because it doesn't seem the trouble at the moment to fix this.
I am sharing what I learned in case someone else wants to address this.

There are two ways that I know of to error on warning. pytest -Werror or python -Werror -m pytest. I am not sure what the difference is, but I think that the later command also errors on any pytest warnings while the former does not.
Python by default hides certain warnings so you might get an error with the commands above even if you don't see any warning output. To see all the warnings run pytest -W "default".
When treating warning as exceptions, warning-exceptions can be caught in try, except blocks. (This can lead to some very unexpected output when running pytest -Werror. It might not be obvious at all that the error was raised because of a failed warning).

There are currently two warnings raised when one runs pytest -W default. One of them is an ImportWarning coming from somewhere in the neo4j_client, (I think) and the other is a ResourceWarning raised because a socket that is somehow related to the OrientDB is not closed.

Can you post what the warnings that appear are? It's impossible to make informed decisions on this without knowing what the warning is.
Assuming the warnings are harmless, why not just suppress them in particular and make everything else into an error? Both pytest and python support per-warning-type rules, as far as I can tell.
Closing and abandoning the PR overall feels a bit like throwing out the baby with the bathwater right now.

I think that the first error is related to neo4j because of the following output:

The error does not seem like it is due to treating warnings as errors, but it is.
Just running pytest raises no errors.

Ok, the ResourceWarning is legit and we should track it down and fix it, and the other two seem reasonable to suppress. If I remember correctly, you can specify multiple -W options with different handling for different subtrees of the Warning inheritance hierarchy.
Also, if you have cycles, I'd suggest reporting the neo4j issue because it seems like a legitimate bug. I'm not sure what's going on with the first one, and it's probably not super worth looking into right now.


include/device: Add device_enum.h

Device enumeration by class for subsystem
Introduction
This PR splits the libraries built by the build system into kernel libraries, and application libraries, to allow for parsing the pre built kernel for struct devices, to identify existing devices and their class, which are then presented to the application through C macros.
To get an overview of what will be possible, look to the first commit, device_enum.h The macros in this file will be available to all non kernel libraries.
The details
We currently have a multi stage build system, which uses intermediary elf files to generate source code for device handles and user space. This PR expands the capabilities of the build system, by splitting it into two layers, the kernel layer, and the application layer. This allows us to build the entire kernel, from which we can then find information like existing struct devices, which we can then generate macros for, to be made available as a static library to the application which is built after the kernel has been built.
Future work
The application layer can be extended to include some subsystems like shells, filesystems, networking etc. which are not part of the kernel or drivers, they use it like the application. These subsystems can also make use of the generated content from the kernel build. We could create some tag, which could be attached to zephyr libraries to indicate if they are part of the kernel or not to make this scalable.
To discuss

Binding between devicetree?
Can we split the build into kernel then application?
Can this simplify some aspects of userspace which depends on dwarf info for K_Objects
What other K_Objects could this solution solve?

Architecture WG:

@bjarki-trackunit presented the idea
@galak asks when is this useful. @bjarki-trackunit responds that this is useful when you have a multifunction device, where a single driver can instantiate multiple devices (?). Finding one or all the instances of a driver class is another use case


Deployment of Java Applications in v211

Hi,
I recently deployed a test infrastructure based on v211 (Openstack Kilo). For test purposes I attached cf-service-contrib. Everything is running fine on the infrastructure. I am also able to push applications. But when pushing applications I have issue with Java apps. While the deployment of Javascript (Node Apps) runs smoothly without any issue 3 different Java apps (Spring, different Java Config based setups) fail. All of them run without any issues locally.
When deployed two of them stop at:

OUT LOGBACK:09:46:36.391 [localhost-startStop-1] INFO  o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
2015-07-26T11:46:36.40+0200 [App/0]      OUT LOGBACK:09:46:36.404 [localhost-startStop-1] INFO  org.hibernate.Version - HHH000412: Hibernate Core {4.1.7.Final}
2015-07-26T11:46:36.41+0200 [App/0]      OUT LOGBACK:09:46:36.411 [localhost-startStop-1] INFO  org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found
2015-07-26T11:46:36.41+0200 [App/0]      OUT LOGBACK:09:46:36.415 [localhost-startStop-1] INFO  org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist
2015-07-26T11:46:36.44+0200 [App/0]      OUT LOGBACK:09:46:36.448 [localhost-startStop-1] INFO  org.hibernate.ejb.Ejb3Configuration - HHH000204: Processing PersistenceUnitInfo [
2015-07-26T11:46:36.44+0200 [App/0]      OUT 	name: default
2015-07-26T11:46:36.44+0200 [App/0]      OUT 	...]
2015-07-26T11:46:36.90+0200 [App/0]      OUT LOGBACK:09:46:36.902 [localhost-startStop-1] INFO  o.h.s.j.c.i.ConnectionProviderInitiator - HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
2015-07-26T11:46:36.93+0200 [App/0]      OUT [CONTAINER] org.apache.tomcat.jdbc.pool.ConnectionPool         WARNING maxIdle is larger than maxActive, setting maxIdle to: 4
2015-07-26T11:46:37.58+0200 [App/0]      OUT LOGBACK:09:46:37.578 [localhost-startStop-1] INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL82Dialect
2015-07-26T11:46:37.59+0200 [App/0]      OUT LOGBACK:09:46:37.598 [localhost-startStop-1] INFO  o.h.e.j.internal.LobCreatorBuilder - HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2015-07-26T11:46:37.61+0200 [App/0]      OUT LOGBACK:09:46:37.612 [localhost-startStop-1] INFO  o.h.e.t.i.TransactionFactoryInitiator - HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
2015-07-26T11:46:37.62+0200 [App/0]      OUT LOGBACK:09:46:37.619 [localhost-startStop-1] INFO  o.h.h.i.a.ASTQueryTranslatorFactory - HHH000397: Using ASTQueryTranslatorFactory
2015-07-26T11:46:37.67+0200 [App/0]      OUT LOGBACK:09:46:37.678 [localhost-startStop-1] INFO  o.h.validator.internal.util.Version - HV000001: Hibernate Validator 4.3.0.Final
2015-07-26T11:46:39.90+0200 [App/0]      OUT LOGBACK:09:46:39.908 [localhost-startStop-1] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1f450c88, org.springframework.security.web.context.SecurityContextPersistenceFilter@7266348c, org.springframework.security.web.header.HeaderWriterFilter@613102a7, de.application.security.v2.filter.TokenAuthenticationFilter@1b2ca46b, org.springframework.security.web.authentication.logout.LogoutFilter@638bf28e, de.application.security.v2.authentication.CustomUsernamePasswordAuthenticationFilter@29cc81d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@8f5a7b0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@717a0e6d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6ac3f4f8, org.springframework.security.web.session.SessionManagementFilter@3909b1bc, org.springframework.security.web.access.ExceptionTranslationFilter@788951d9, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@355196b9]
2015-07-26T11:46:41.41+0200 [App/0]      OUT LOGBACK:09:46:41.415 [localhost-startStop-1] INFO  o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 7758

2015-07-26T11:55:19.46+0200 [STG/0]      OUT -----> Uploading droplet (65M)
2015-07-26T11:55:27.58+0200 [DEA/0]      OUT Starting app instance (index 0) with guid 9bdf876a-d6a8-4290-829c-82969d189deb
2015-07-26T11:55:32.48+0200 [App/0]      OUT [CONTAINER] org.apache.coyote.http11.Http11NioProtocol         INFO    Initializing ProtocolHandler ["http-nio-61051"]
2015-07-26T11:55:32.49+0200 [App/0]      OUT [CONTAINER] org.apache.catalina.startup.Catalina               INFO    Initialization processed in 636 ms
2015-07-26T11:55:32.50+0200 [App/0]      OUT [CONTAINER] org.apache.catalina.core.StandardService           INFO    Starting service Catalina
2015-07-26T11:55:32.50+0200 [App/0]      OUT [CONTAINER] org.apache.catalina.core.StandardEngine            INFO    Starting Servlet Engine: Apache Tomcat/8.0.24
2015-07-26T11:55:32.53+0200 [App/0]      OUT [CONTAINER] org.apache.catalina.startup.HostConfig             INFO    Deploying web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT
2015-07-26T11:55:34.63+0200 [App/0]      OUT [CONTAINER] org.apache.jasper.servlet.TldScanner               INFO    At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2015-07-26T11:55:34.66+0200 [App/0]      OUT [CONTAINER] ing.AutoReconfigurationServletContainerInitializer INFO    Initializing ServletContext with Auto-reconfiguration ApplicationContextInitializers
2015-07-26T11:55:34.87+0200 [App/0]      OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO    Spring WebApplicationInitializers detected on classpath: [com.github.config.CustomWebInitializer@6eb8f66f]

What sometimes happens to the latter of the two is, that I check back 30 minutes later and the application is running.
I have been debugging the whole weekend now, reconfigured the project 10 times, but I still don't see any piece of trap to start digging. The runner_z1/0 only contains the typical timeout when the applications fails to stage. In api_z1/0 and api_z1/worker everything is fine. Are there additional steps to debug the origin of this problem?
Btw. I deployed the applications with exactly the same buildpack to a different CF instance (which version im sadly not aware of, but I remember before upgrading to v211, that is was running on v205 as well), and it worked as expected.
Any hints/help is appreciated,
Johannes

Additional debugging has been done. We created an environment with 211 on vSphere. The application was deployed on OS based CF v211 and vSphere CF v211. On vSphere the Java app start within seconds without any issues. On OS still getting the same error. Also deployed a Python application on both deployments. Worked without any problems.

We have found the error. Adding
JAVA_OPTS: -Djava.security.egd=file:/dev/urandom

To the environment vars solved the problem. Explanation can be found here: https://groups.google.com/a/cloudfoundry.org/forum/m/#!msg/vcap-dev/GogAsIvBeVo/LqFPEDOcXysJ
Thanks @dennis1987 for find the linked article.


Add proper default texture filter and repeat modes for Canvas shaders in the OpenGL3 renderer

Fixes: https://github.com/godotengine/godot/issues/74273
Follow up to #71011
Somehow I missed the fact that CanvasItem's use different defaults when I implemented #71011. As noted in that PR, the solution here is to have a different LUT for canvasitems so when they are set to use the default filter/repeat they correctly obtain the right sampler settings.
I have flagged this for cherrypicking even though it changes default behaviour. The current behaviour is unexpected and it would be best to correct it before users begin to rely on it.

Thanks!


Added capability for continuous stream from orderbook updates

An important use case for building orderbooks is to have all of the orderbook updates for downstream processing. Adding in a flag to indicate that the Orderbook should be passed downstream in the TickStream.java.
Note that significant filtering will happen downstream, i.e., the orderbook can track the latest changes and what level in the book it impacts so that downstream can filter out changes that are insignificant.

UnitTest added. It shows all of the events being appended in sequential order correctly.


add ImmutableVec::as_iter, ImmutableVec::to_array, ImmutablePriorityQueue::to_array and ImmutablePriorityQueue::as_iter method

follow #50. moreover, rename immutable_vec.mbt to array.mbt.

Pull Request Test Coverage Report for Build 1448
Details

15 of 15 (100.0%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.07%) to 84.711%

Files with Coverage Reduction
New Missed Lines
%

target/wasm-gc/debug/test/immut/priority_queue/__generated_driver_for_internal_test.mbt
2
66.67%

target/wasm-gc/debug/test/immut/array/__generated_driver_for_internal_test.mbt
2
66.67%

Totals

Change from base Build 1445:
0.07%

Covered Lines:
2798

Relevant Lines:
3303

💛  - Coveralls

@ZnPdCo I made a small change to get rid of deps no list, thanks


Tried the new beta, Unexpected token '<', "<!DOCTYPE..."

Environment
Docker
Version
No response
Describe the problem
I wanted to try the new beta, I've backuped the data, rewrote the docker-compose and started. When I access the site, this is the logs.
~/docker/homarr$ docker compose pull; docker compose down; docker compose up -d; docker compose logs -f

homarr  |  ⨯ TypeError: Cannot open database because the directory does not exist
homarr  |     at new Database (/app/node_modules/better-sqlite3/lib/database.js:65:9)
homarr  |     at 2779 (/app/apps/nextjs/.next/server/chunks/3324.js:1:14915)
homarr  |     at t (/app/apps/nextjs/.next/server/webpack-runtime.js:1:143)
homarr  |     at 17227 (/app/apps/nextjs/.next/server/chunks/7227.js:1:925)
homarr  |     at t (/app/apps/nextjs/.next/server/webpack-runtime.js:1:143)
homarr  |     at 58362 (/app/apps/nextjs/.next/server/chunks/9388.js:5:73282)
homarr  |     at t (/app/apps/nextjs/.next/server/webpack-runtime.js:1:143)
homarr  |     at 49388 (/app/apps/nextjs/.next/server/chunks/9388.js:1:153)
homarr  |     at t (/app/apps/nextjs/.next/server/webpack-runtime.js:1:143)
homarr  |     at 51889 (/app/apps/nextjs/.next/server/app/api/trpc/[trpc]/route.js:1:3117)
homarr  | eZ [TRPCClientError]: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
homarr  |     at eZ.from (/app/apps/nextjs/.next/server/src/middleware.js:5:3550)
homarr  |     at /app/apps/nextjs/.next/server/src/middleware.js:5:9540
homarr  |     at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
homarr  |   cause: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
homarr  |       at JSON.parse (<anonymous>)
homarr  |       at parseJSONFromBytes (eval at requireWithFakeGlobalScope (/app/node_modules/next/dist/compiled/edge-runtime/index.js:1:655888), <anonymous>:7110:19)
homarr  |       at successSteps (eval at requireWithFakeGlobalScope (/app/node_modules/next/dist/compiled/edge-runtime/index.js:1:655888), <anonymous>:7081:27)
homarr  |       at eval (eval at requireWithFakeGlobalScope (/app/node_modules/next/dist/compiled/edge-runtime/index.js:1:655888), <anonymous>:1454:83)
homarr  |       at node:internal/process/task_queues:151:7
homarr  |       at AsyncResource.runInAsyncScope (node:async_hooks:211:14)
homarr  |       at AsyncResource.runMicrotask (node:internal/process/task_queues:148:8)
homarr  |       at process.processTicksAndRejections (node:internal/process/task_queues:105:5),

I've created the appdata dir
mkdir -p ./homarr/appdata

This is the docker-compose.yaml
#---------------------------------------------------------------------#
#     Homarr - A simple, yet powerful dashboard for your server.      #
#---------------------------------------------------------------------#
services:
  homarr:
    container_name: homarr
    image: ghcr.io/homarr-labs/homarr:beta
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
      - ./homarr/appdata:/appdata
    ports:
      - '7575:7575'

Then new error occured and I had to create
mkdir -p ./homarr/appdata/db
mkdir -p ./homarr/appdata/redis

So it's permission issue? Not sure what to do next.
Logs
~/docker/homarr$ docker compose down; docker compose up -d; docker compose logs -f
[+] Running 2/2
✔ Container homarr        Removed                                                                                16.1s
✔ Network homarr_default  Removed                                                                                3.8s
[+] Running 1/2
⠹ Network homarr_default  Created                                                                                12.3s
✔ Container homarr        Started                                                                                10.9s
homarr  | Running DB migrations
homarr  | sh: true: unknown operand
homarr  |
homarr  | /app/db/migrations/sqlite/migrate.cjs:820
homarr  |         [util.cppdb]: { value: new addon.Database(filename, filenameGiven, anonymous, readonly, fileMustExist, timeout, verbose || null, buffer || null) },
homarr  |                                ^
homarr  | SqliteError: unable to open database file
homarr  |     at new Database3 (/app/db/migrations/sqlite/migrate.cjs:820:32)
homarr  |     at Module._compile (node:internal/modules/cjs/loader:1565:14)
homarr  |     at Object..js (node:internal/modules/cjs/loader:1708:10)
homarr  |     at Module.load (node:internal/modules/cjs/loader:1318:32)
homarr  |     at Function._load (node:internal/modules/cjs/loader:1128:12)
homarr  |
homarr  | Node.js v22.12.0
homarr  | Generating encryption key
homarr  | Generating auth secret
homarr  | 33:C 17 Dec 2024 23:55:31.512 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
homarr  | 33:C 17 Dec 2024 23:55:31.512 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
homarr  | 33:M 17 Dec 2024 23:55:31.513 * monotonic clock: POSIX clock_gettime
homarr  | 33:M 17 Dec 2024 23:55:31.514 * Running mode=standalone, port=6379.
homarr  | 33:M 17 Dec 2024 23:55:31.514 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
homarr  | 33:M 17 Dec 2024 23:55:31.515 * Server initialized
homarr  | 33:M 17 Dec 2024 23:55:31.515 * Ready to accept connections tcp
homarr  |
homarr  | /app/apps/websocket/wssServer.cjs:10854
homarr  | SqliteError: unable to open database file
homarr  |     at new Database2 (/app/apps/websocket/wssServer.cjs:10854:33)
homarr  |     at initBetterSqlite (/app/apps/websocket/wssServer.cjs:436779:16)
homarr  |     at init2 (/app/apps/websocket/wssServer.cjs:436766:9)
homarr  |     at Module._compile (node:internal/modules/cjs/loader:1565:14)
homarr  |     at Object..js (node:internal/modules/cjs/loader:1708:10)
homarr  |     at Module.load (node:internal/modules/cjs/loader:1318:32)
homarr  |     at Function._load (node:internal/modules/cjs/loader:1128:12)
homarr  |     at TracingChannel.traceSync (node:diagnostics_channel:322:14)
homarr  |     at wrapModuleLoad (node:internal/modules/cjs/loader:219:24) {
homarr  |   code: 'SQLITE_CANTOPEN'
homarr  | }
homarr  |
homarr  | Node.js v22.12.0
homarr  |
homarr  | /app/apps/tasks/tasks.cjs:41911
homarr  |         [util4.cppdb]: { value: new addon.Database(filename, filenameGiven, anonymous, readonly, fileMustExist, timeout, verbose || null, buffer || null) },
homarr  |                                 ^
homarr  | SqliteError: unable to open database file
homarr  |     at new Database2 (/app/apps/tasks/tasks.cjs:41911:33)
homarr  |   ▲ Next.js 14.2.20
homarr  |   - Local:        http://008d60997d8e:3000
homarr  |   - Network:      http://<IP_ADDRESS>:3000
homarr  |
homarr  |  ✓ Starting...
homarr  |  ✓ Ready in 3.2s
homarr  |  ⨯ SqliteError: unable to open database file
homarr  |     at new Database (/app/node_modules/better-sqlite3/lib/database.js:69:26)
homarr  | eZ [TRPCClientError]: Unexpected token '<', ")
homarr  |       at parseJSONFromBytes (eval at requireWithFakeGlobalScope (/app/node_modules/next/dist/compiled/edge-runtime/index.js:1:655888), :7110:19)
homarr  |       at successSteps (eval at requireWithFakeGlobalScope (/app/node_modules/next/dist/compiled/edge-runtime/index.js:1:655888), :7081:27)
homarr  |       at AsyncResource.runInAsyncScope (node:async_hooks:211:14)
homarr  |       at AsyncResource.runMicrotask (node:internal/process/task_queues:148:8)
homarr  | }
Context
No response
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

To be precise, I had the ./homarr/data folder and now i'm mounting new ./homarr/appdata folder so I'm not using the old one. If I understood the how to use beta correctly.

I think this is probably the same issue as https://github.com/homarr-labs/homarr/issues/1699

Duplicate of #1699, closing


Cannot add Control from Controls menu with click

Description
When you click an item from the Controls list, it should open in the dashboard. Currently it just throws an exception, and you have to click and drag the item on the dashboard.
Steps to reproduce

Open the controls list and click an item (such as Input Filter)

Expected results

The control should open

Actual results

The control does not open, and there is an error in the logs

Additional details and attachments
caught TypeError: Cannot read properties of null (reading 'preventDefault')
    at GC.onMouseDown (DragListener.ts:63:12)
    at Yh._createDragListener (DragSourceFromEvent.ts:49:24)
    at new Yh (DragSourceFromEvent.ts:29:10)
    at Qh.createDragSourceFromEvent (LayoutManager.ts:661:12)
    at $.openComponent (LayoutUtils.ts:482:27)
    at Object.<anonymous> (MarkdownPlugin.tsx:79:19)
    at qC.emit (EventEmitter.ts:68:20)
    at Si.emitLayoutEvent (AppMainContainer.tsx:363:33)
    at Si.handleControlSelect (AppMainContainer.tsx:406:14)
    at action (AppControlsMenu.tsx:173:31)
    at C (AppControlsMenu.tsx:102:14)
    at Object.Pne (react-dom.production.min.js:52:317)
    at Mne (react-dom.production.min.js:52:471)
    at Nne (react-dom.production.min.js:53:35)
    at AN (react-dom.production.min.js:100:68)
    at gH (react-dom.production.min.js:101:380)
    at react-dom.production.min.js:113:65
    at Vq (react-dom.production.min.js:292:189)
    at Dne (react-dom.production.min.js:50:57)
    at bH (react-dom.production.min.js:105:469)
    at MD (react-dom.production.min.js:75:265)
    at $D (react-dom.production.min.js:74:124)
    at e.unstable_runWithPriority (scheduler.production.min.js:18:343)
    at Hh (react-dom.production.min.js:122:325)
    at Gq (react-dom.production.min.js:292:48)
    at Kne (react-dom.production.min.js:73:352)
o

Versions
Engine Version: 0.26.0
Web UI Version: 0.40.4
Java Version: 11.0.19
Barrage Version: 0.5.0

looking, probably caused by me.


Go to Definition doesn't work for user-defined operators on dev15

Install dev15 rel or prerel with .NET Desktop and create a new F# project.
Open an F# script file with the following code (lifted from FSharpx Strings.fs):

open System

// Active patterns & operators for parsing strings
let (@?) (s:string) i = if i >= s.Length then None else Some s.[i]

let inline satisfies predicate (charOption:option<char>) =
    match charOption with
    | Some c when predicate c -> charOption
    | _ -> None

let (|EOF|_|) = function
    | Some _ -> None
    | _ -> Some ()

let (|LetterDigit|_|) = satisfies Char.IsLetterOrDigit
let (|Upper|_|) = satisfies Char.IsUpper
let (|Lower|_|) = satisfies Char.IsLower

/// Turns a string into a nice PascalCase identifier
let niceName (s:string) =
    if s = s.ToUpper() then s else
    // Starting to parse a new segment
    let rec restart i = seq {
        match s @? i with
        | EOF -> ()
        | LetterDigit _ & Upper _ -> yield! upperStart i (i + 1)
        | LetterDigit _ -> yield! consume i false (i + 1)
        | _ -> yield! restart (i + 1) }

    // Parsed first upper case letter, continue either all lower or all upper
    and upperStart from i = seq {
        match s @? i with
        | Upper _ -> yield! consume from true (i + 1)
        | Lower _ -> yield! consume from false (i + 1)
        | _ -> yield! restart (i + 1) }
    // Consume are letters of the same kind (either all lower or all upper)
    and consume from takeUpper i = seq {
        match s @? i with
        | Lower _ when not takeUpper -> yield! consume from takeUpper (i + 1)
        | Upper _ when takeUpper -> yield! consume from takeUpper (i + 1)
        | _ ->
            yield from, i
            yield! restart i }

    // Split string into segments and turn them to PascalCase
    seq { for i1, i2 in restart 0 do
            let sub = s.Substring(i1, i2 - i1)
            if Seq.forall Char.IsLetterOrDigit sub then
                yield sub.[0].ToString().ToUpper() + sub.ToLower().Substring(1) }
    |> String.concat ""

Place the cursor on any use of @? in the match expressions and press f12.
Expected: Find Symbol Results the line where @? is defined..
Actual: Popup saying "Cannot navigate to the symbol under the caret."

@OmarTawfik Just verified that this works with dev14 Update 3 on my machine, so this is a regression.

Fix ready at https://github.com/Microsoft/visualfsharp/pull/1836


International Characters Appear as Question Marks

Describe the bug
When viewing files with the ls command, terms other than English are not displayed properly
Expected behavior
Korean must be displayed properly
Screenshots

Desktop (please complete the following information):

OS: MacOS Apple M1 Pro
Version: Sonoma 14.1.1

Additional context
I'd appreciate it if you could fix it.

Thanks for submitting.  We haven't done much testing on international text yet.

Thanks for submitting. We haven't done much testing on international text yet.

I would be so happy to be able to use such great software in my native language.

I was surprised that Unicode was not considered in the initial release. That's even worse than the default macOS Terminal.

OS: Sonoma 14.2.1 - no unicode characters? UTF-8 not ootb? deal breaker for me. sorry.
🍺brew uninstall --cask wave

Closing since this has been fixed with the merge of pull #209. It is available in v0.6.0


Plantuml option causes exception

Hi, this looks like a very useful tool. I have a large number of WSDLs to analyse!
I am running xsdata on the command line after installing on macos using pip. Python version is 3.11. The default output is working fine. Adding -o plantuml option causes the exception. I fixed one error as follows
/opt/homebrew/lib/python3.11/site-packages/xsdata_plantuml/generator.py

        resolver = DependenciesResolver(classes)
        #resolver = DependenciesResolver(packages=packages)

but then immediately ran into another - Ruff failed. Any clues on what causes that?

Thanks for reporting this @snow6oy, xsdata v24.1 introduced ruff formatting in the writer 💢
I am going to fix this, for now your best bet is to switch to xsdata==23.8

xsdata updated, I also released a new version of the plugin with misc project updates!


[TA] Prepare for July release

API change check
API changes are not detected in this pull request.


Register BackgroundSubtraction

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/52209
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" 8ede4c6b0bdbcecc13d769c063dda94a49cadce9
git push origin v1.0.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/57765
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.1 -m "<description of version>" 9dd7e6351948b87fa82007a61ed283cd7f82f8fd
git push origin v1.0.1

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/70569
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.0 -m "<description of version>" bf270827ee82e933f2e67ef4109f360e557902de
git push origin v1.1.0


Pylance does not work properly with networkx

Issue Type: Bug
Networkx is a popular library for doing network analysis.
At the moment, pylance does not show contextual info (documentation, type hints)  when using networkx. For instance:
import networkx as nx

nx.readwrite.gpickle.<tab>

Does not show anything, instead of showing the proper module members.
I am not sure if this is an issue with the upstream package, but I thought you might want to know.
Extension version: 2020.12.0
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:31:29.624Z)
OS version: Linux x64 5.4.79-1-lts

System Info

Item
Value

CPUs
AMD Ryzen 7 3700X 8-Core Processor (16 x 2216)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
31.37GB (4.69GB free)

Process Argv
. --no-sandbox --crash-reporter-id 66ea3ec9-05eb-4edd-8d35-34bbe6c1aba1

Screen Reader
no

VM
0%

DESKTOP_SESSION
/usr/local/share/xsessions/plasma-i3

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE-i3

XDG_SESSION_TYPE
x11

@ldorigo, thanks for the report. The reason the completions are not showing is because networkx does not explicitly export the readwrite module or the gpickle module. if you look at the top level __init.py__ you will notice that readwrite is not exported like they have done with from networkx.testing.test import run as test
Therefore, you will need to explicitly import the gpickle module like import networkx.readwrite.gpickle as gp and then gp. should give you completions.
Please let me know if you have further questions.
Thanks

Closing issue. Please reopen if necessary.

Reproduction successful, under "discussion" upstream at: https://github.com/networkx/networkx/discussions/6638
Steps to Reproduce

Open VSCodium with ms-python.python extension enabled
Save this following code to a file with python valid file name & extension and
open it with vscodium > ensure language mode is set to Python
This requires turning on the "Python Type Checking Mode" from status bar (default
is off). This will show as Set to "basic".

Open the Problems Panel ctrl + shift + m or
Hover over or click on draw (line 9) and then do ctrl + shift + p Command
Palette > type hover > select "Show definition preview hover"

Click on draw (line 9) > press f12 "Go to definition"

import networkx
import matplotlib.pyplot as plt

edges = [(1,2),(2,3),(2,4)]

nxgraph = networkx.DiGraph()
nxgraph.add_edges_from(edges)

# networkx.draw_networkx(nxgraph)
networkx.draw(nxgraph)
plt.show()

Current Behavior (for corresponding step )

"draw_networkx" is not a known member of module "networkx" Pylance reportGeneralTypeIssues [Ln 9, Col 10]
(function) draw_networkx: Unknown
No definition found for draw_networkx

Environment
Python: 3.11.2 (via python --version)
NetworkX: 3.1 (via pip list | grep networkx)
OS: Windows 10 22H2 x64
VSCodium: 1.77.0
Pylance extension ms-python.vscode-pylance : v2023.3.41
Python extension ms-python.python : v2023.6.0

@goyalyashpal, this is a problem with our bundled networkx stubs. Please open a new issue.


docs: add example for createSession function

Closes: #xxx
Description ✏

Adds an example in documentation for the createSession function

Type of Change 🐞

[x] Docs
[ ] Tests

Screenshots 📸
Currently there is no example for createSession(), only a placeholder "TODO:"

hey @HenryPereira I'd like to contribute to the project and would appreciate any feedback or guidance on how to proceed.
If you could point me in the right direction to get this PR reviewed I'd appreciate it

hey @HenryPereira do you know who I should ping to get this reviewed?


Maybe implement user trades storage to have some kind of maximum size

Yep ok let's try to set the limit to be 5 live trades per person.


search: improve reference matching on literature search

Note: I didn't want to hack it more, I could have moved this logic to the serializer and try to wrap the results. IMO this is a tradeoff to keep the logic contained in the search classes.


add test case for invoking service API from non-rDSN threads

In https://github.com/Microsoft/rDSN/pull/67:
(3) add support for invoking service API from non-rDSN threads with additional app parameters to the service API calls.
But it seems not work well. I improved the test code to add the case of invoking service API in non-main thread, the it generates core dump.
Test passed in main thread because in the main thread we invoked dsn_run() before, which initialized the "dsn::tls_dsn" data.

Thanks, Zuoyan. I'll fix it tomorrow.


JWT SecurityPolicy blocks CORS preflight requests, breaking OIDC + JWT flow

Description:
the JWT configuration in the Security filter does not include the bypass_cors_preflight configuration option. Without this setting, OPTIONS requests are blocked unless the JWT is provided.
If the JWT is being passed through cookies with a standard OIDC frontend / JWT backend setup then the credentials won't be included since the preflight request needs to include the   Access-Control-Allow-Credentials: true response header` before credentials will be sent.
I think bypass_cors_preflight should be set to true by default. I can't think of a good reason why someone would want to require a JWT for OPTIONS requests since Envoy doesn't even send OPTIONS requests down to the backend service. As a result the backend application can't customize the response. So blocking by default will just confuse people while providing no real benefit.

cc @zhaohuabing

I agree that bypass_cors_preflight should be set by true by default. But I'm not 100% if there're any security concerns on this. Would love more inputs from@arkodg @envoyproxy/web-maintainers .

@zhaohuabing Another potential solution is to allow different security policies to be applied when a different method is specified with the same path. This was actually my attempted workaround when I first encountered the issue. I created two http routes:
api-route
        matches:
          - path:
              type: PathPrefix
              value: /

api-route-cors
        matches:
          - path:
              type: PathPrefix
              value: /
           method: OPTIONS

and then created corresponding SecurityPolicies for both HttpRoutes. I only included the JWT section in the SecurityPolicy for api-route.  I assumed this would prevent OPTIONS requests from being blocked; however when looking at the response from egctl I found that it was being applied to both HttpRoutes BUT only in some instances. Other times it would remove JWT auth from BOTH HttpRoutes -depending on which security policy was applied last.
I am not sure whether this is intended behavior or not, but it was counter intuitive to me as I would have expected all attributes of a match to be taken into account when applying a security policy if they are in separate routes -especially since the security policy is explicitly bound to an HTTPRoute
I like your approach of just turning the bypass_cors_preflight on by default though. It would be highly annoying to need to configure separate HttpRoute objects just for CORS.

We can either:

set bypass_cors_preflight as true by default, or
leave the envoy false default, and expose bypass_cors_preflight knob to the API

I prefer to just set bypass_cors_preflight as true by default. But I'm not 100% sure if there are any security concerns on this. Would love more inputs from @arkodg @envoyproxy/gateway-maintainers

I was once concerned with bypass_cors_preflight https://github.com/envoyproxy/gateway/issues/1930, but as per @arkodg https://github.com/envoyproxy/gateway/issues/1930#issuecomment-1789452101, it seems that it is intended to have it disabled by default, and configured through CORS policy.

@apjoseph can you also set the cors config within BackendTrafficPolicy and try ?
we should make a note of this in the docs so others dont hit this issue

@arkodg confirmed that the field is missing when defining the cors block in SecurityPolicy :
            typedPerFilterConfig:
              envoy.filters.http.cors:
                '@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.CorsPolicy
                allowCredentials: true
                allowHeaders: '*'
                allowMethods: '*'
                allowOriginStringMatch:
                - suffix: web.dev.example.io
                maxAge: "600"

@apjoseph not sure I understand.
if you setup cors in the SecurityPolicy https://gateway.envoyproxy.io/latest/user/cors/#configuration with allowCredentials set to true https://gateway.envoyproxy.io/latest/api/extension_types/#cors you should be pass the JWT back from the browser to the backend

@arkodg I would be able to -but without  bypass_cors_preflight enabled, the OPTIONS request for the route I'm trying to pass it to returns a 401 response that doesnt't contain the allow credentials CORS header. So the browser will never make the request in the first place.
The same issue is reported in multiple places, for instance in istio/istio/issues/36911
In the pull request adding the flag on EnvoyProxy, the contributors specifically state that it has to be explicitly enabled but frustratingly don't mention what the default setting is in the official documentation.
As you can see from this comment I think most people assume it is enabled by default when CORS is enabled and are deeply confused as to why Envoy's default behavior is to break any oauth2 application that uses an API with a different subdomain.

@apjoseph JWT filter is placed after CORS filter in the filterchain.  According to Envoy doc, "This filter will be used to respond to preflight OPTIONS requests. Any legal OPTIONS requests will be responded directly by the filter and will not be passed to the next filter in the filter chain."  So a preflight request should not reach the JWT filter and get authenticated?
https://github.com/envoyproxy/gateway/blob/d7d411c37ca07a289bee9ac9c80e2ffa748ce1aa/internal/xds/translator/httpfilters.go#L89-L103

@zhaohuabing I think its worth further debugging https://github.com/envoyproxy/gateway/issues/2312#issuecomment-1866051928 to understand why the OPTIONS request is getting a 401 in your test above instead of returning after hitting the cors filter because it doesnt match with https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/cors_filter#cors

@apjoseph @arkodg
I verified the below SecurityPolicy with cors and jwt works.
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: SecurityPolicy
metadata:
  name: cors-example
  namespace: default
spec:
  cors:
    allowHeaders:
    - x-header-1
    - x-header-2
    allowMethods:
    - GET
    - POST
    allowOrigins:
    - type: RegularExpression
      value: .*\.foo\.com
    exposeHeaders:
    - x-header-3
    - x-header-4
  jwt:
    providers:
    - name: example
      remoteJWKS:
        uri: https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/kubernetes/jwt/jwks.json
  targetRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: backend

$ curl -H "Origin: http://www.foo.com" \
>   -H "Host: www.example.com" \
>   -H "Access-Control-Request-Method: GET" \
>   -X OPTIONS -v -s \
>   http://$GATEWAY_HOST/ \
>   1> /dev/null
*   Trying ::1:8888...
* TCP_NODELAY set
* Connected to localhost (::1) port 8888 (#0)
> OPTIONS / HTTP/1.1
> Host: www.example.com
> User-Agent: curl/7.68.0
> Accept: */*
> Origin: http://www.foo.com
> Access-Control-Request-Method: GET
>
Handling connection for 8888
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< access-control-allow-origin: http://www.foo.com
< access-control-allow-methods: GET, POST
< access-control-allow-headers: x-header-1, x-header-2
< access-control-expose-headers: x-header-3, x-header-4
< date: Fri, 22 Dec 2023 02:56:29 GMT
< server: envoy
< content-length: 0
<
* Connection #0 to host localhost left intact

The CORS user doc is misleading, the cors setting in the user doc is
  cors:
    allowOrigins:
    - type: Exact
      value: "www.foo.com"

but the test command is
curl -H "Origin: http://www.foo.com" \
  -H "Host: www.example.com" \
  -H "Access-Control-Request-Method: GET" \
  -X OPTIONS -v -s \
  http://$GATEWAY_HOST \
  1> /dev/null

Since the  http://www.foo.com origin in the test command doesn't match the www.foo.com in the SecurityPolicy, the CORS filter ignores this OPTION request and passes it down to the JWT filter. That's why it gets a 401 Unauthorized response.
I'll raise a PR to fix the doc.
@apjoseph I suspect your preflight request failed for a similar reason. Could you please try to verify with curl and share the SecurityPolicy and the curl command you use?

@zhaohuabing I'll test again in the morning, but I seem to remember that when I applied allow_cors_preflgiht via a patchpolicy I got a 200 OPTIONS response on the same request where I was getting a 401 response before. If I had http:// in allowOrigin I wouldn't have ever received a 200 result. it's possible my application of the patch policy caused the filters to be reordered in some way.

your preflight request failed for a similar reason. Could you please try to verify it with curl and share

Can you remove the patch and just use curl to test so we can isolate the problems?

@zhaohuabing @arkodg you guys are right, I was able to confirm this works without bypass_cors_preflight. Not sure how I messed this up, sorry for wasting your time on this -feel free to close!

@apjoseph thanks for testing this out, its a brand new feature, and you're helping us close the gaps on user docs
hey @zhaohuabing thanks for testing this out !
it sounds like our oidc user doc MUST have the cors section set, else all users will hit this issue ?

hey @zhaohuabing thanks for testing this out ! it sounds like our oidc user doc MUST have the cors section set, else all users will hit this issue ?

@arkodg cors preflight won't be passed to the oauth2 filter. Users won't encounter any problems.
There was a minor issue in the cors doc, it's been fixed with https://github.com/envoyproxy/gateway/pull/2341


Bump Version

Overview
All caught up in terms of feature set. Let's get this thing published. This PR bumps the version in preparation for that.

Ah damn, I got quick fingers. I'm fine with that @marktran .


package liblzma:x86-windows build failure

Host Environment

OS: win10
Compiler: vs2015

To Reproduce
Steps to reproduce the behavior:
./vcpkg install pcl
Failure logs
Package: liblzma:x86-windows
Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message):
Command failed: D:/CMake/bin/cmake.exe --build . --config Debug --target install -- -v -j3
Working Directory: D:/vcpkg/vcpkg/buildtrees/liblzma/x86-windows-dbg
See logs for more information:
D:\vcpkg\vcpkg\buildtrees\liblzma\install-x86-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
ports/liblzma/portfile.cmake:19 (vcpkg_cmake_install)
scripts/ports.cmake:140 (include)
Additional context
No

D:\vcpkg\vcpkg\buildtrees\liblzma\install-x86-windows-dbg-out.log

Please provide the log :)

Thanks & Best Regards
朱志辉（George Zhu）
手机：86-13699402221
@.***
地址：四川省成都市武侯区科华北路65号
四川大学国际学术交流中心2422室 610065
From: autoantwort
Date: 2021-09-14 11:43
To: microsoft/vcpkg
CC: georgezhu68; Author
Subject: Re: [microsoft/vcpkg] package liblzma:x86-windows build failure (#20143)
D:\vcpkg\vcpkg\buildtrees\liblzma\install-x86-windows-dbg-out.log
Please provide the log :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

install-x86-windows-dbg-out.log

@georgezhu68, could you install 'English language pack' and try again?

I used  visual studio 2015 English version to build the package and be successful.


Fix casing normalization validation + add missing dev dependency

Hi, I noticed that your library actually doesn't properly utilize the normalized casing version of environment variables, as it will throw an error when it comes across a variable with value of TRUE, FALSE, YES, or NO, due to the code not using the normalized argF in the string comparison conditions.
On top of fixing this bug, I also updated the version in the package-lock.json file to match the current version of the package, and added the dotenv dependency as a devDependency since it gets used in the test file and is needed for local development on the package.

Thanks so much for caching that bug, much appreciated.

v1.1.1 contains the fix


Added Doc for build

The doc already exists please submit changes against original readme

Please check :)

@vipulroxx I don't see how this adds any value to the project. Please see existing issues to work on something, the README currently contains sufficient information for build purposes.

@creativepsyco it was for a task in Google Code-in

https://codein.withgoogle.com/dashboard/task-instances/5734095527084032/?sp-page=1

@vipulroxx For the task, you are advised to add some documentation that makes the README better. One thing you can add is that you can point out which values to change in the styles.xml to change which components of the app. Take a look at the styles.xml here https://github.com/mananwason/open-event-android/tree/stylebranch and try to figure out what happens on changing each component. You can try to document that. Cheers!

You can provide screenshots etc, that definitely makes it better right?

@creativepsyco I added a folder in task for screenshot of my build process > https://drive.google.com/folderview?id=0B9thWab4XrNraFA5YWdwVk5JUzQ&usp=sharing

Hi @vipulroxx All I am saying is that the first instance already added significant amount of information to the README regarding project setup, configuration variables etc. You should at least be able to match it's quality if not exceed it. I can't let you have an easy day here regarding contributing to an open source project.

ohh... as suggested by @mananwason can I add some changes to Doc regarding the style.xml in the Readme?

I don't know you can look at existing examples of documentation over different projects in GitHub and see how they ease things up for new contributors, thats the approach that would be preferable in the long run, to be as similar to the style followed by Big Open source projects. That would be quite good in my opinion.


python310Packages.pyclip: 0.6.0 -> 0.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pyclip is: "Cross-platform clipboard utilities supporting both binary and text data"
meta.homepage for python310Packages.pyclip is: "https://github.com/spyoungtech/pyclip"
meta.changelog for python310Packages.pyclip is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.7.0 with grep in /nix/store/mbqv8lawm6wj2bfl2ynb3cy36hpnh6dc-python3.10-pyclip-0.7.0
found 0.7.0 in filename of file in /nix/store/mbqv8lawm6wj2bfl2ynb3cy36hpnh6dc-python3.10-pyclip-0.7.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pyclip
python39Packages.pyclip
waydroid

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mbqv8lawm6wj2bfl2ynb3cy36hpnh6dc-python3.10-pyclip-0.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pyclip https://github.com/r-ryantm/nixpkgs/archive/82038f57560713831e8c10cc588e163c314c7bbf.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mbqv8lawm6wj2bfl2ynb3cy36hpnh6dc-python3.10-pyclip-0.7.0
ls -la /nix/store/mbqv8lawm6wj2bfl2ynb3cy36hpnh6dc-python3.10-pyclip-0.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

python310Packages.pyclip
python39Packages.pyclip
waydroid

Maintainer pings
cc @CajuM for testing.

Possibly needs tests deactivated:
wrapping `/nix/store/m8r6wfbbs36swmshbjfcky12wcb808w1-python3.10-pyclip-0.7.0/bin/pyclip'...

        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.

        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.

        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.

        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.

        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.

        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE

        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE

        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['/nix/store/dxpa2ahnf1swpj84yc8nwzy85ly44289-xclip-0.13/bin/xclip', '-o', '-selection', 'clipboard', '-t', 'TARGETS']' returned non-zero exit status 1.

/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/subprocess.py:526: CalledProcessError
----------------------------- Captured stderr call -----------------------------
Error: target TARGETS not available
=========================== short test summary info ============================
FAILED tests/test_clipboard.py::test_copypaste - subprocess.CalledProcessErro...
=================== 1 failed, 15 passed, 7 skipped in 0.67s ====================
error: builder for '/nix/store/2d9qsbkgr8n63xvym6jkzn0ma14mh53x-python3.10-pyclip-0.7.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/vripf3jvsv7q708yn2mc91f68ml52qh8-waydroid-1.3.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k54v8l0n259s1bgy1zfva2fpjgc9m494-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/r4kay4j5ags5bwvk5msika49wjbsm16r-unit-waydroid-container.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iqiyc1r6gpps51bk8xjaxp64zwbq75kf-nixos-system-lenix-22.11pre-git.drv' failed to build


[CORE] Template/Layout for pages and categories

Layout / templates for pages and posts.

Excellent idea. Maybe I also suggest posts consisting of more than one template / section...

Implemented for Bludit v3.0.0


Need a format to facilitate the transfer of information from the simulator to the visualizer

The simulator needs a format that contains the message content, and the state of wires along with devices during a step.

generate_json.py to generate .json for a correct format for the state of wires with the devices during a step
{     "num-devices": 2,     "num-wires": 2,     "devices": {         "d-1": {             "name": "device 1"         },         "d-2": {             "name": "device 2"         }     },     "wires": {         "w-1": {             "send": "d-1",             "rec": "d-2"         },         "w-2": {             "send": "d-2",             "rec": "d-1"         }     } }


Package should depend on npm

Doesn't work on stock Windows node.js without it.

Resolved in 0.1.2


[WIP] @orta => Use ReactiveCocoa for the DSL subspec

Very much a work-in-progress. Needs:

[x] Refactor to not be ugly
[ ] Test

Fixes #122.

So refactored to look better. I moved away from @throw'ing exceptions, since that's an implementation detail of the Aspects library that we're not using anymore. Additionally, I've hid the implementation details of the DSL using ReactiveCocoa.
@orta I was thinking, for anyone else who has been using the temporary fix branch, could we modify the pod spec in that branch to give them a warning or something to update, once this is merged?

in theory that branch could have a deprecated_by attribute that says now they should use master

I like it.

Cool, this should be ready for review.

Following this advice, I've tried to fix our current CI issues.

OK
This is good to merge on green, or not green.

OK cool – I'll wait to see if there's an easy fix. Would love to actually have a green PR.

that's hard, given the lack of control in our deps.
I would be fine with it just using mixpanel for testing.

also, once this is safely in eigen, and has had a beta run, then I'll push a 3.0.0

Ha – that's all I've included in my own implementation! I'll commit my Podfile changes.

Hmm. Looks like Travis is still complaining. @orta do you have advice on the GitHub key issue? It sounds like something we've discussed before ...

@orta lawlz nevermind: https://github.com/orta/ARAnalytics/commit/b7bc6552c142880972382b345d8e0dc9068ece4b


How to see model.evaulate failures

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[ ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

model.evaluate(imanges, answers) gives stats.  How do I find which images did not match the specified answers?

If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.


Spy: Assertion failure during dataflow graph simplification

Running Legion spy on the attached files produces the following failure:
legate_0.txt
legate_1.txt
$ ~/legion/tools/legion_spy.py -d *.txt
Reading log file legate_0.txt...
WARNING: Skipped 7 lines when reading legate_0.txt
Reading log file legate_1.txt...
WARNING: Skipped 7 lines when reading legate_1.txt
Reading log file out.txt...
WARNING: file out.txt contained no valid lines!
WARNING: Skipped 4285 lines when reading out.txt
Reducing top-level index space shapes...
 |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Done
Computing refinement points...
Dim 2: |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Dim 1: |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Done
INFO: No logical dependence data was found so we are running logical analysis to show the dataflow graphs that the runtime should compute. These are not the actual dataflow graphs computed.
Performing logical analysis...
Performing logical dependence analysis for legion_python_main (Shard 0)...
Pass
Performing logical dependence analysis for legion_python_main (Shard 1)...
Pass
Making dataflow graphs...
Simplifying dataflow graph for legion_python_main (Shard 0)...
Traceback (most recent call last):|||||||-----------| 79.1%
  File "/Users/mpapadakis/legion/tools/legion_spy.py", line 13509, in <module>
    main(temp_dir)
  File "/Users/mpapadakis/legion/tools/legion_spy.py", line 13481, in main
    state.make_dataflow_graphs(temp_dir, simplify_graphs, zoom_graphs)
  File "/Users/mpapadakis/legion/tools/legion_spy.py", line 12696, in make_dataflow_graphs
    total_dataflow_graphs += task.print_dataflow_graph(path, simplify_graphs, zoom_graphs)
  File "/Users/mpapadakis/legion/tools/legion_spy.py", line 8644, in print_dataflow_graph
    assert dst not in all_ops
AssertionError

I will look at it. Control replication? Did the application run to completion or did it die in the middle?

This was the legate.numpy stencil example running with control replication. The application ran to completion.
No rush on this one, I figured out what I needed without the spy plot, just posting a small reproducer here for tracking.

Can you also capture the same logs but with detailed Legion Spy logging? I'm pretty sure this is just an emulation bug, but I want to see the difference between the two kinds of logs.

Should be fixed now. Pull either master or control replication and try again.

Bug is fixed. Sorry I couldn't get you the detailed spy log in time (let me know if you still want it).


[Feature Request]: Add guideline comments into config.toml

Summary
Add explanatory information inside config.toml
Impact on users
ATM, users need to navigate to the networks repo in order to find a guideline on config.toml
Having all the explanatory info inside config.toml eases this step for future users
Cost of not doing
Jumping back and forth from config.toml to networks repo guide is cumbersome
Evidence
A lot of users are asking for explanatory information regarding config.toml without looking into the networks repo if they need to adjust the configs
Implementation ideas
tendermint has done a good job for their config.toml
https://github.com/tendermint/tendermint/blob/master/config/config.go
https://github.com/tendermint/tendermint/commit/a057da6ab5d373caf15cfc0ee7be87f656e2576a
Urgency
Medium

Grooming 16/11/2022:
Each field should have its own comment description auto-generated style like tendermint has
Also, we need to discuss what is needed in the docs page config.toml wise
cc: @jcstein @YazzyYaz


Don't use Firmata.Board

Use proxyquire and sinon to spy on the Firmata constructor when testing Playground, removing dependency on the (potentially deprecated) Firmata.Board property.

Closing per discussion in gitter and this comment: We're updating mock-firmata to include the .Board property instead of treating it as deprecated.


Add weco-deploy command to copy env tags in ECR

Add command to weco-deploy that copies "latest" tags to environment label specified in config, e.g. "stage", "prod".

For https://github.com/wellcomecollection/platform/issues/4637


Raspberry Pi Footprints & Templates

This adds the following:
PCB templates for the full-blown RPi hat spec, and also for a Pi Zero "shield"
(they don't like you calling something a hat unless it's actually a hat)

A footprint for using a Pi Zero as a daughterboard-style component

...and also an M2.5 NPTH footprint used in the templates

Thanks, they look good. Is there a reference for what geometry these should be that I can check against?

They're here for the Pi (this is the actual hat spec) and here for the zero.
Wish they provided DXFs but I doubt they'd import correctly into kicad...

All the other dimensions match the spec, so only issues are those I mentioned. The idea of PCB templates is obviously brand new though so I'm interested in how it works out in practice. It seems nice for this sort of thing (and Arduino and CHIP shields etc).

The template idea is used by other libraries with the Pi in. The simplest procedure for using it is:

Create the project (and probably close kicad due to an abundance of paranoia)
Copy the template over the .kicad_pcb file
When you're ready to start doing layout, manually change the ref of the connector to your schematic's component ref (e.g. J1) before importing the netlist.

The alternative is to have an entire template project with the symbol already in the schematic (seems like the official kicad library does this) but that seems more messy to me.
I'll sort out the issues you spotted.

Does that work with the new kicad "import changes from schematic" option? I think it'd be worth adding a README to templates/ with instructions and explanation.

It does seem to work fine, although that helpfully removes the mounting holes whereas the netlist update doesn't.
However, it seems like the mounting holes don't get removed if they're set as "Lock Footprint" so I'll set that on them (and perhaps on the connector as well)

3d model y-offset is the wrong way around (?!)

The 2.5 mm holes have a courtyard around the hole but not around the now-larger clearance.

OK, give that a go (my 3D preview is still mysteriously broken so I can't check it myself).

(Also switched to M2.5_MOUNT. It would be cool to autogenerate these mounting hole symbols.)

3d model looks good.
I'm a little annoyed at the rpi spec for 2.75mm holes when an M2.5 should be 2.7mm for a close fit (the same as the 3.2mm for M3 I use here), or 2.9mm for a normal fit, but not 2.75. Could make the holes 2.70mm and still be within their 2.75mm but it's such a small difference it probably doesn't matter.
Agreed it would be nicer to autogen these mounting holes. I'll reconsider the diameter if and when that happens instead.


Isolate RemoteStore

I think we should cleanup the remote finder/reader code to make sure it's isolated. This code is quite complex and totally unnecessary for most people using alternative storage backends. So to improve the stability of the Graphite core it would be better to isolate it.

Starting to work on that in https://github.com/iksaif/graphite-web/tree/pr-clean-finders


Rework error model

[ ] Implement internal Error class that has into ErrorModel implemented: https://github.com/hansetag/iceberg-rest-server/blob/11e7592b8cc517a314c4c9de42e7f49594833d4d/crates/iceberg-ext/src/catalog/rest/error.rs#L56
[ ] Make sure IcebergErrorResponse stacks are not returned to clients, but log them once they occur

Originally posted by @c-thiel in https://github.com/hansetag/iceberg-catalog/issues/81#issuecomment-2160493806

@twuebi in some parts of the crate we already did some work. All new developments (such as authz) use custom error classes.
Can we close this issue for now?


Unwanted blank lines shown

See helpful file test/helpful-unit-test.el commit 7e4b1f0d5572a4e2b8ee7a9b084ef863d0315a73.

No longer repros.


Add fos2-n

Official website: https://fos2-n.de/
IT course website: https://fos2-n.de/index.php/fuer-schueler/wahlpflichtfach-12-klasse/informatik-vertieft
Email domain is mentioned on the right side or at the bottom of every page

@Sinity-Betacoding First stage of verification passed, official domain is fos2-n.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Sinity-Betacoding Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Running CWL workflows

docs/running 'Running CWL and WDL Workflows'

Alright, let me see what I can do.


ADDomain: Get-TargetResource is not returning actual value for some properties

The function Get-TargetResource of the resource ADDomain is not returning the actual value for some of the properties in the schema.mof.
Missing values for the properties:

DnsDelegationCredential
DatabasePath
LogPath
SysvolPath

A way of determine the actual value should be found a make sure to return the correct value in the hashtable when the domain exist.

Three of the values are return in the ADDomainController resource, so they could be fetch similarly
https://github.com/PowerShell/ActiveDirectoryDsc/blob/0b8790a09564e4c24c0ea55684def005f144460c/DSCResources/MSFT_ADDomainController/MSFT_ADDomainController.psm1#L133-L135


Pass errors to express

#1

this needs to be optional - controlled by a plugin option

this needs to be optional - controlled by a plugin option

Commit: https://github.com/senecajs/seneca-gateway-express/pull/2/commits/face1628a2f25ef4fd460f78fe889c90bcae5423


Add YOLOv3

Can you make the error message more user-friendly in the case when n_fg_class is not supplied?

Are you talking about this message? https://github.com/chainer/chainercv/blob/master/chainercv/links/model/ssd/ssd_vgg16.py#L235

No, but I found that there is the same issue for SSD.
We can do this in another PR.


[HELP] /usr/bin/ld: cannot find -lgtk-4

Newly created project does not compile on Void Linux musl x86_64. Development files for all required libraries are installed via sudo xbps-install base-devel gtk4{,-devel}, headers in /usr/include exist.
...
  = note: /usr/bin/ld: cannot find -lgtk-4: No such file or directory
          /usr/bin/ld: cannot find -lpangocairo-1.0: No such file or directory
          /usr/bin/ld: cannot find -lpango-1.0: No such file or directory
          /usr/bin/ld: cannot find -lharfbuzz: No such file or directory
          /usr/bin/ld: cannot find -lgdk_pixbuf-2.0: No such file or directory
          /usr/bin/ld: cannot find -lcairo-gobject: No such file or directory
          /usr/bin/ld: cannot find -lcairo: No such file or directory
          /usr/bin/ld: cannot find -lvulkan: No such file or directory
          /usr/bin/ld: cannot find -lgraphene-1.0: No such file or directory
          /usr/bin/ld: cannot find -lgtk-4: No such file or directory
          /usr/bin/ld: cannot find -lpangocairo-1.0: No such file or directory
          /usr/bin/ld: cannot find -lpango-1.0: No such file or directory
          /usr/bin/ld: cannot find -lharfbuzz: No such file or directory
          /usr/bin/ld: cannot find -lgdk_pixbuf-2.0: No such file or directory
          /usr/bin/ld: cannot find -lcairo-gobject: No such file or directory
          /usr/bin/ld: cannot find -lcairo: No such file or directory
          /usr/bin/ld: cannot find -lvulkan: No such file or directory
          /usr/bin/ld: cannot find -lgraphene-1.0: No such file or directory
          /usr/bin/ld: cannot find -lgraphene-1.0: No such file or directory
          /usr/bin/ld: cannot find -lgtk-4: No such file or directory
          /usr/bin/ld: cannot find -lpangocairo-1.0: No such file or directory
          /usr/bin/ld: cannot find -lpango-1.0: No such file or directory
          /usr/bin/ld: cannot find -lharfbuzz: No such file or directory
          /usr/bin/ld: cannot find -lgdk_pixbuf-2.0: No such file or directory
          /usr/bin/ld: cannot find -lcairo-gobject: No such file or directory
          /usr/bin/ld: cannot find -lcairo: No such file or directory
          /usr/bin/ld: cannot find -lvulkan: No such file or directory
          /usr/bin/ld: cannot find -lgraphene-1.0: No such file or directory
          /usr/bin/ld: cannot find -lpango-1.0: No such file or directory
          /usr/bin/ld: cannot find -lharfbuzz: No such file or directory
          /usr/bin/ld: cannot find -lgdk_pixbuf-2.0: No such file or directory
          /usr/bin/ld: cannot find -lcairo-gobject: No such file or directory
          /usr/bin/ld: cannot find -lcairo: No such file or directory
          collect2: error: ld returned 1 exit status

error: could not compile `gtk-test` (bin "gtk-test") due to 1 previous error

Solved. Linker was searching for .a libs (because static linking is default for musl), but GTK libs are provided only as shared (.so).
$ RUSTFLAGS="-C target-feature=-crt-static" cargo run


Search for an past event

@phrfpeixoto, i am trying to search for the Poticon, that was last weekend.
http://speakerfight.com/events/?search=poti

If i use the search in any other page than the Event List, it doesnt work
As you can see: http://recordit.co/pdNCVY4F3P

I think you broke the entire event list page haha
It is showing some old events, instead of the next ones

I reverted the code by hand for while, i cant fix it right now ;;


Feature Required: export Keyboard Manager profiles

could we export Keyboard Manager profiles to another PC?

this is a great idea! we are actually tracking these items. tracking profiles here: #1881 and exporting/saving presets here: #4452.
closing this as a duplicate, please follow them for updates!


Verification: proxy detection

This will be useful for later blocking rules. The FireHOL firehol_anonymous rollup list looks convenient and will catch all the obvious stuff like Tor nodes and public proxies. FireHOL preprocesses to avoid duplicates and overlapping ranges, so we can use something like Guava/Mango RangeSet for lookups.

456bfe5 closes this.


MAINT: Drop support for py2.7, min supported version is py3.7 now

I went a bit aggressive with dropping older python version support 😅
This PR makes 3.7 the min supported version.
Is this reasonable?
The test pipelines do not work with 3.8, 3.9 and 3.10 (https://github.com/holoviz/hvplot/pull/701) but I think the code itself should work.

Coverage decreased (-0.03%) to 70.374% when pulling b023ba54ba5f2e71dda26c2ff5fc74749f2f4a87 on MridulS:pyup3.7 into 7864275f479ec90fa9de779bffd21d8d532f5dfe on holoviz:master.

Is this reasonable?

Thanks for dropping Python 2 support (finally!)
As for dropping 3.6 right now, I do think that is too aggressive. I do know various projects are also aggressively dropping support within the 3.x series but I do think there are still plenty of users still using python 3.6...

The syntax should be fine with 3.6 too.

Thanks!
Once the tests pass, I think it looks good to merge!

Great thanks for updating it @MridulS , merging!


Add support for e_mem_cfg_f1_dram

This enum value switches between the AXI memory model
(e_mem_cfg_default), the infinite vcache memory (e_mem_cfg_infinite)
and the DRAM model provided by F1 (e_mem_cfg_f1_dram). The latter has
the most accurate timing model, but is the slowest to simulate.
This removes the AXI_MEMORY_MODEL Makefile argument
Also removed, AXI_PROT_CHECK (stale)

To be clear, you've moved the AXI_MEMORY_MODEL switch from a command line argument to a parameter? Or am I missing something?

Yes, I have. The reason is that switching the value of AXI_MEMORY_MODEL now requires a verilog recompilation. This changed when I last refactored the makefiles. By moving it to Makefile.machine.include, this makes re-compilation happen automatically.
It also makes it easier for you and @leonardxiang to add e_mem_cfg_sim_hbm (or whatever you want to call it)

@mrutt92 I added a comment describing the different enums possible


poplast() doesn't return the (item, priority) tuple as expected

A fix could be adding a return before the call to self._poplast()

Fixed, thanks!


How to add addition options to construct editor

How to initialize an editor using IEditorOptions or IEditorConstructionOptions?

Use the create_with_sys_options


SW-4429 Make "has no contact" a separate notification

Some notifications go to the organization's primary project contact, and if there
isn't a contact, they're instead sent to the support mailing list.
Previously, if we had to fall back on the support list, we would add a paragraph
to the text of the notification email about the organization not having a contact.
This meant that each individual notification would have to have conditional logic
to either include that paragraph or not.
Replace that approach with a separate "this org has no contact" notification.
Since the new notification is only ever sent to the support mailing list, its text
is included directly in the template files rather than coming from the localizable
strings list.

Current dependencies on/for this PR:

main

PR #1470   👈

This stack of pull requests is managed by Graphite.


isolatedModules were ignored

> rm -rf /home/ryan/.cache/deno
> cd dext.ts/example
> deno run --no-check -A --unstable<EMAIL_ADDRESS>build
[...]
Unsupported compiler options in "/home/ryan/src/dext.ts/example/tsconfig.json".
  The following options were ignored:
    isolatedModules

Remove the isolatedModules key from your tsconfig file.


release 2020-03-12

Do not squash

We've temporarily moved back to single-branch (release from master), am I correct? In any case, the commit you're trying to release is already in production.


Request Money - SMS - @expensify.sms shows next to a phone number in NewDot

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Launch app on web or desktop and login with any account
Open chat with SMS account and sent Request Money
Open SMS on iPhone and check sms

Expected Result:
@expensify.sms next to a phone number in NewDot should not be show.
Actual Result:
@expensify.sms shows next to a phone number in NewDot
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @sophiepintoraetz (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I don't think this is a bug and reflects how the chat is formatted until either the contact is saved or an account is created with a name added.


Load config parameters from environment variables via cc.env()

Add ability to load config from environment variables, like in https://github.com/dominictarr/config-chain example.

This is avoided by design. favor command line flags over environment variables.

Also CC's env loader doesn't do nested config... Also why do we favor command line parameters over environment variables?

http://stackoverflow.com/questions/7443366/argument-passing-strategy-environment-variables-vs-command-line

@Raynos the cons...
hard to use correctly because they're visible (delete-able, set-able) from anywhere. If I install a new program that relies on environmental variables, are they going to stomp on my existing ones? Did I inadvertently screw up my environmental variables when I was monkeying around yesterday?

...disappear completely when you use docker. In fact I think all runtime config can be replaced with env variables and passed into the docker containers by the orchestrator.


Internal compiler error. Aborting!

Error message:
edgetpu_compiler tiny_yolov4_540_960.tflite
Edge TPU Compiler version 14.1.317412892
Internal compiler error. Aborting!
Edge TPU Compiler version: both 14.1.317412892 and 15.0.340273435
TensorFlow version:2.3.0
tiny_yolov4_540_960.tflite.zip

@Naveen-Dodda
May I ask what progress this thing?

@ZhouKai90 This issue cannot be fixed with tflite_convert. It was issue with external version of edgetpu_compiler. But i was able to compile it successfully with internal compiler.
So this issues would be fixed with next release of compiler.
I mean time do you want a compiled version of this model or instead will you explore another model ?

Yes, share me the compiled version of this model, please.

tiny_yolov4_540_960.tflite.tar.gz


releases page wording

On the releases page you refer to download a zip file but provide a jar. i guess its just a typo, but i would love to see it in a consistent manner.

Changed to "archvie"


Create route for products

Added routes for Product.
Sample json for a product;
{
    "productname": "Twirl",
    "brand": "Cadbury",
    "amount": "100g",
    "nutritionfacts": {
      "calories": {
        "fromCarbohydrates": "535kcal"
      },
      "protiens": {
        "protien": "7.6g"
      },
      "carbohydrates": {
        "dietaryFiber": "0.8g",
        "sugars": "56.0g"
      },
      "fats": {
        "saturatedFat": "19.0g",
        "monounsaturatedFat": "12.0g"
      },
      "minerals": {
        "sodium": "0.25g"
      }
    }
 }

Yes, I asked Akila to push the PR so we can have a look.
We will write tests before merging it ;-)

Improved test coverage for Product routes.


ability to use istio-compatible SPIFFE IDs ( spiffe://vsecm.com/ns/vsecm-system/sa/vsecm-safe for safe, for example)

With the recent changes we can use custom SPIFFE ID prefixes for VSecM Safe, VSecM Sentinel and also workloads.
We can even use regex-based spiffe ids validations.
We only need to create an integration test that verifies that things work, and we should be good to go.

This is done.
Need to write integration tests about it, which will be a separate PR.


How to train with input layer dropout?

I fail in using mx.nd.Dropout() given the minimum reproducible Example_1 attached below.

As one can see the output of data and data.withDropout is the same.
In addition, Using mx.mlp(data=data, label=data.withDropout,...) compared tomx.mlp(data=data, label=data,...) results in the same Train-rmse.

What is my mistake?
As a workaround I manually perform custom dropout to my data as like as in Example_2 with function Dropout().
Example_1: mx.nd.Dropout()
library(mxnet)

# create example data
set.seed(1)
data <- matrix(floor(runif(10,1,10)),ncol=2)
data <- mx.nd.array(data)

# apply mx.nd.Dropout()
data.withDroput <- mx.nd.Dropout(data = data, p = 0.5)

# compare data VS data.withDroput
data
#       [,1] [,2]
# [1,]    3    9
# [2,]    4    9
# [3,]    6    6
# [4,]    9    6
# [5,]    2    1
data.withDroput
#       [,1] [,2]
# [1,]    3    9
# [2,]    4    9
# [3,]    6    6
# [4,]    9    6
# [5,]    2    1

# train: data = data, label = data.withDroput ####
mx.set.seed(1)

model <- mx.mlp(
  data = data,
  label = data.withDroput,
  hidden_node = c(100, 100, 100),
  array.layout = "rowmajor",
  activation = "tanh",
  out_node = nrow(data),
  out_activation = "rmse",
  num.round = 10,
  learning.rate = 0.1,
  momentum = 0.1,
  eval.metric = mx.metric.rmse,
  initializer = mx.init.uniform(0.1),
  epoch.end.callback = mx.callback.log.train.metric(100)
)
# Start training with 1 devices
# [1] Train-rmse=NaN
# [2] Train-rmse=2.77657693899481
# [3] Train-rmse=2.65975473627393
# [4] Train-rmse=2.52975210749077
# [5] Train-rmse=2.36495027661254
# [6] Train-rmse=2.15330790153018
# [7] Train-rmse=1.90352516425587
# [8] Train-rmse=1.64214887494812
# [9] Train-rmse=1.40092835645985
# [10] Train-rmse=1.20226865114326

# train: data = data, label = data ####
mx.set.seed(1)

model <- mx.mlp(
  data = data,
  label = data,
  hidden_node = c(100, 100, 100),
  array.layout = "rowmajor",
  activation = "tanh",
  out_node = nrow(data),
  out_activation = "rmse",
  num.round = 10,
  learning.rate = 0.1,
  momentum = 0.1,
  eval.metric = mx.metric.rmse,
  initializer = mx.init.uniform(0.1),
  epoch.end.callback = mx.callback.log.train.metric(100)
)
# Start training with 1 devices
# [1] Train-rmse=NaN
# [2] Train-rmse=2.77657693899481
# [3] Train-rmse=2.65975473627393
# [4] Train-rmse=2.52975210749077
# [5] Train-rmse=2.36495027661254
# [6] Train-rmse=2.15330790153018
# [7] Train-rmse=1.90352516425587
# [8] Train-rmse=1.64214887494812
# [9] Train-rmse=1.40092835645985
# [10] Train-rmse=1.20226865114326

Example_2: custom dropout function
library(mxnet)

# create example data ####
set.seed(1)
data <- matrix(floor(runif(10,1,10)),ncol=2)
data <- mx.nd.array(data)

# some kind of custom dropout ####
Dropout <- function(x,p) {
  n <- floor(p*length(x))
  idx <- sample(1:length(x),n)
  x[idx] <- 0
  return(x)
}
set.seed(2)
data.withDroput <- apply(data,2, function(x) Dropout(x, 0.5))

# compare data VS data.withDroput ####

data

#       [,1] [,2]
# [1,]    3    9
# [2,]    4    9
# [3,]    6    6
# [4,]    9    6
# [5,]    2    1

data.withDroput

#       [,1] [,2]
# [1,]    0    0
# [2,]    4    9
# [3,]    0    0
# [4,]    9    6
# [5,]    2    1

# train: data = data, label = data.withDroput ####
mx.set.seed(1)

model <- mx.mlp(
  data = data,
  label = data.withDroput,
  hidden_node = c(100, 100, 100),
  array.layout = "rowmajor",
  activation = "tanh",
  out_node = nrow(data),
  out_activation = "rmse",
  num.round = 10,
  learning.rate = 0.1,
  momentum = 0.1,
  eval.metric = mx.metric.rmse,
  initializer = mx.init.uniform(0.1),
  epoch.end.callback = mx.callback.log.train.metric(100)
)

# Start training with 1 devices
# [1] Train-rmse=NaN
# [2] Train-rmse=2.11040204294938
# [3] Train-rmse=2.02803825337813
# [4] Train-rmse=1.94056382233993
# [5] Train-rmse=1.84112715113636
# [6] Train-rmse=1.72132630806252
# [7] Train-rmse=1.57952232263995
# [8] Train-rmse=1.42125792291129
# [9] Train-rmse=1.25770766817279
# [10] Train-rmse=1.10197211192421

It's not surprising, that the Train-rmse differs compared to Example_1.

Anyone with an idea how to solve this?

Unfortunately this is getting frustrating in R, mainly by the limited documentation.
Using python this seems easy and straightforward: http://mxnet.io/api/python/symbol.html#mxnet.symbol.Dropout
I rewrote the net using symbolic language and tested it by adding mx.symbol.Dropout() in 2nd line.
But this has no effect.
The commented lines is how it's done in python.  Issue #1008 doesn't help either.
Beside of that #3821 considers only "prediction with dropout on" and not "training with dropout on"
create_drop_net <- function(num_hidden=500, p = 0.2, is.train) {
  data <- mx.symbol.Variable("data")
 dropout <- mx.symbol.Dropout(data, p=p)
# exec <- mx.simple.bind(data = data)
#  mx.exec.forward(exec, is.train = is.train)
  label <- mx.symbol.Variable('label')
  fc1 <- mx.symbol.FullyConnected(data, name = "fc1", num_hidden = num_hidden)
  act1 <- mx.symbol.Activation(fc1, name = "relu1", act_type = "relu")
  fc2 <- mx.symbol.FullyConnected(act1, name = "fc2", num_hidden = num_hidden)
  act2 <- mx.symbol.Activation(fc2, name = "relu2", act_type = "relu")
  fc3 <- mx.symbol.FullyConnected(act2, name = "fc3", num_hidden = num_hidden)
  act3 <- mx.symbol.Activation(fc3, name = "relu3", act_type = "relu")
  recon <- mx.symbol.FullyConnected(act3, name = "reconstruction", num_hidden = nrow(train))
  net <- mx.symbol.LinearRegressionOutput(data = recon, label = label)
  return(net)
}

@thomasmooon In your Example_1, please replace
data.withDroput <- mx.nd.Dropout(data = data, p = 0.5)

with
data.withDroput <- mx.nd.Dropout(data = data, p = 0.5, mode='always')

After providing the mode attribute, I get the following results -
data
       [,1] [,2]
[1,]    3    9
[2,]    4    9
[3,]    6    6
[4,]    9    6
[5,]    2    1

data.withDroput
       [,1] [,2]
[1,]    0    0
[2,]    0    0
[3,]    0    0
[4,]    0   12
[5,]    0    0

If this has addressed your problem, please close this issue.

@nswamy please close this issue.