Add timezone

Can you format code according to TeaVM standards? I know there isn't formal description yet, but you could at least copy style from existing code snippets. Did you actuall run tests in the browser? Did they all pass? Do you know how to run them?

I'll look through the code and try to reformat it to resemble teavm formatting.
The tests pass using mvn test.  I don't know how to run them in the browser but they initially failed with mvn test so I think it must be legitimately passing now.

After full build go to teavm-tests/target/javascript-test and open junit.html. Sorry, I still did not integrate test run into maven build process. I have to fix existing tests (6 of them fail for now) in order to do this. Also, TeaVM only supports Junit 4 style tests. Please, avoid inheriting TestCase and don't forget to place @Test annotations.

Can you give me an example of the types of style changes that are needed.  I just took a quick look on my phone, and other than the method naming conventions in the tests, nothing is really jumping out at me.

Please, use your full name in copyright header. It's legall stuff, so I belive the real name is preferrable over your system username.
Separate opening curly brace ({) from the prevous character with one whitespace, i.e. write if (condition) { rather than if (condition){.
Don't separate methods from each other with more than one empty line.
Prefer don't leave empty lines at the beginning or the end of a curly brace blocks, especially inside methods' bodies.


ClickHouse MergeTree Support

Support for MergeTree Engine in ClickHouse Destination
Problem
The ClickHouse destination in dlt 0.4.11 currently only supports the ReplicatedMergeTree table engine. However, many users have requested support for the standard non-replicated MergeTree engine to enable local development and testing deployments.
Desired Behavior
The ClickHouse destination should correctly handle ENGINE=MergeTree and create the appropriate table structure in ClickHouse.
Proposed Solution
Enhance the ClickHouse destination adapter with the following:

Automatically detect whether the connected ClickHouse instance is a Cloud instance (replicated) or a local self-managed instance.

For ClickHouse Cloud, default to ReplicatedMergeTree engine
For non-cloud instances, default to standard MergeTree

SELECT value
FROM system.settings
WHERE name = 'cloud_mode';

Allow users to explicitly specify the desired engine (MergeTree or ReplicatedMergeTree) in the destination configuration. This will override the automatic detection.

Properly interpolate the provided engine into the CREATE TABLE statement executed against ClickHouse.

Note: To limit scope, this enhancement will not include support for specifying replication, zookeeper or shard details for the ReplicatedMergeTree engine. Users requiring those customizations can continue to specify the full engine definition in their configuration.
Considerations

Thoroughly test the solution against both ClickHouse Cloud and various self-managed ClickHouse versions
Update documentation to explain the new behavior and configuration options
Consider any impacts to downstream systems or processes relying on the current hard-coded ReplicatedMergeTree behavior

The engine will be configurable via clickhouse_adapter

It seems that on ClickHouse Cloud, the ReplicatedMergeTree table engine family is automatically replaced by the SharedMergeTree engine family:
https://clickhouse.com/docs/en/cloud/reference/shared-merge-tree
This happened recently btw. This makes our life easier since just MergeTree engine will now work across both cloud and on-prem


Regarding z-index

Thanks for the wonderful work. I really enjoyed reading your code.
I'm wondering whether it is possible to introduce a new input parameter for the z-index. Now when the drag stopped, the z-index is reset to its original value. To make it more intuitive in a desktop windows like environment, I'm hoping when the dragging is stopped, the most current dragged window would be on top of other windows. So in this case, users of the directive could keep a record of z-index somewhere else, and this count will be increased by 1 and be assigned to the most recent dragged window's z-index value.

For what its worth, I thought to do the same as you and bake that into the directive, but I took a different approach in the end. I created a component using the same draggable host listeners and modified the code to pull from a static count whenever mousedown on element, but global decrement from all on document mouseup.
You might find it more advantageous for layering most recently used in the way I've described. Otherwise each z index will need to be maintained in a map or graph structure outside of where they are used.

Thanks for your suggestions. This feature is supported in v1.1.0-beta.0. You can use both [zIndex] and [zIndexMoving] to handle this.


mozilla like and firefox sometimes freeze

My system is Fedora 23 64 bits on an USB key.
everything is working well but randomly sometimes everything is frozen and the system just logout after 3 mn

Looks like driver issue.
Due to its nature, freshplayerplugin makes offscreen compositing, and I've seen intel GPU hang in some cases. You can try to disable XRender by adding enable_xrender = 0 to ~/.config/freshwrapper.conf. Or disable 3d completely by adding enable_3d = 0 to the same file.
In no case should whole system hang due to an application activity. If however that happens, it's drivers that should be fixed, not the application.

ok understood. I'm going to test your suggestion thanks

ok the issue didn't come from the GPU driver but apparently from the other issue I opened
about the RTMP and RTMFP real time streaming
if I select the v4l2loopback and start to broadcast, it freezes the mouse and can't do anything.
after flash showed a stream exception

Is it possible that it can come from the sound card?
I used enable_xrender to 0 but no success and noticed that when it freezes I hear a little "sound click", the same sound  when the sound card is intialized

Is it possible that it can come from the sound card?

Could be. Although clicking sound could be unrelated at all.
I've seen a notebook which freezed when one started playing Youtube. But after all the culprit was not a graphics or a sound card, but a Wi-Fi driver. So it's not always obvious where the bug is. Fortunately, the driver was fixed eventually.
There are multiple ways of debugging that. One is to monitor Linux kernel log via serial console. Or with netconsole, which is almost the same, but works though Ethernet. Another way is so called "crash kernel": a block in memory is reserved for another copy of kernel. When main kernel panics, it jumps into the crash kernel. Since there will be no hard reset, main kernel memory content is preserved and could be dumped to further debugging.
I used latter technique to find out dmesg content. It didn't help me to fix it, but at least I found out where the bug was.

ok right, I'm going to reproduce it and have more details.
it can come by the fact that udpsocket is not working, but not sure now it happens only when I broadcast

the RTMFP issue once fixed  solved this problem.
no freeze at all since. Hurrah!


Try to draw master candidates from live nodes.

Try to eliminate the pod recreation is possible.

👍

👍

Coverage decreased (-0.01%) to 8.03% when pulling ecdd131d4fd93f70419c73e17f2f54b25b1a8c1c on pick_master_canddidate_on_live_node into 77805a45dfb18052539acdb1022ac7d19c17d37e on kube-cluster-upgrade.


Add signals when DetailedInteraction starts and ends

This commit keeps the original name of the interaction item (enable "editable children" in Godot to set it):
https://github.com/miskatonicstudio/goat/commit/ea724ab82e988df895040577df389a68755e1b32
With this change, a custom name can be assigned to a DetailedInteraction's interactive item, and then item_enabled and item_disabled signals can be used to react to end and start of the detailed interaction mode. I consider this a sufficient workaround. If in the future this feature proves more useful, maybe a better solution can be implemented.


GERMAN translations missing for new strings

Missing some translations for newly added strings.
Line 35-64 in /src/_locales/de/messages.json

@Renewrmk would you be up for this?


About Subscribe to Publications

Is there any plan to support Subscribe to Publications feature on SQL Server Linux? Thanks!

If you are referring the replication, yes, we are working on that for SQL Server on Linux.  It will be available in private preview very soon. If you are interested in trying it out please sign up for the Early Adoption Program (https://aka.ms/eapsignup) (requires NDA with Microsoft for now)

Thank you for the good news.
I have registered the program, and just waiting for the reply...

For SQL Server in Linux Container demo. check this out:
https://github.com/Microsoft/sql-server-samples/tree/master/samples/containers/replication


Action is rendering empty template and parameter files, when using the validate operation.

Action is rendering empty templates when using the validate operation.
When using code and workflows from the following repo: https://github.com/cmendible/azure_synapse_notebook_tests
And using the validate operation:
- name: Validate
        uses<EMAIL_ADDRESS>        with:
          TargetWorkspaceName: "cfmcfm"
          operation: "validate"

      - name: Upload Artifacts
        uses: actions/upload-artifact@v3
        with:
          name: synapse-artifacts
          path: ./ExportedArtifacts

The resulting template and parameter files are empty.
Seems there is an issue parsing the resource types. This is a sample output from the worflow logs:
Stdout:  WARNING === ModelService: synchronizeInternal - Failed to find model for the resource, ignoring this resource. Error: {"stack":"Error: Not able to find model for type - ipeline and subType - undefined\n    at Function.ModelFetchUtils.getModelByResourceType (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:266506:15)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166824:140)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)\n    at Object.next (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412910:14)\n    at /home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:4128[83](https://github.com/cmendible/azure_synapse_notebook_tests/actions/runs/3378540806/jobs/5608878580#step:3:84):67\n    at new Promise (<anonymous>)\n    at __awaiter (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412862:10)\n    at ModelService._createAndFetchEntities (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166787:65)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166781:44)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)","message":"Not able to find model for type - ipeline and subType - undefined"}

Stdout:  WARNING === ModelService: synchronizeInternal - Failed to find model for the resource, ignoring this resource. Error: {"stack":"Error: Not able to find model for type - inkedService and subType - undefined\n    at Function.ModelFetchUtils.getModelByResourceType (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:266506:15)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166824:140)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)\n    at Object.next (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412910:14)\n    at /home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412883:67\n    at new Promise (<anonymous>)\n    at __awaiter (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412[86](https://github.com/cmendible/azure_synapse_notebook_tests/actions/runs/3378540806/jobs/5608878580#step:3:87)2:10)\n    at ModelService._createAndFetchEntities (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166787:65)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166781:44)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)","message":"Not able to find model for type - inkedService and subType - undefined"}

Stdout:  WARNING === ModelService: synchronizeInternal - Failed to find model for the resource, ignoring this resource. Error: {"stack":"Error: Not able to find model for type - inkedService and subType - undefined\n    at Function.ModelFetchUtils.getModelByResourceType (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:266506:15)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166824:140)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)\n    at Object.next (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412910:14)\n    at /home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412883:67\n    at new Promise (<anonymous>)\n    at __awaiter (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412862:10)\n    at ModelService._createAndFetchEntities (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:1667[87](https://github.com/cmendible/azure_synapse_notebook_tests/actions/runs/3378540806/jobs/5608878580#step:3:88):65)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166781:44)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)","message":"Not able to find model for type - inkedService and subType - undefined"}

Stdout:  WARNING === ModelService: synchronizeInternal - Failed to find model for the resource, ignoring this resource. Error: {"stack":"Error: Not able to find model for type - ntegrationRuntime and subType - undefined\n    at Function.ModelFetchUtils.getModelByResourceType (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:266506:15)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166824:140)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)\n    at Object.next (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412910:14)\n    at /home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412[88](https://github.com/cmendible/azure_synapse_notebook_tests/actions/runs/3378540806/jobs/5608878580#step:3:89)3:67\n    at new Promise (<anonymous>)\n    at __awaiter (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412862:10)\n    at ModelService._createAndFetchEntities (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166787:65)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166781:44)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)","message":"Not able to find model for type - ntegrationRuntime and subType - undefined"}

Stdout:  WARNING === ModelService: synchronizeInternal - Failed to find model for the resource, ignoring this resource. Error: {"stack":"Error: Not able to find model for type - redential and subType - undefined\n    at Function.ModelFetchUtils.getModelByResourceType (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:266506:15)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166824:140)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)\n    at Object.next (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412910:14)\n    at /home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412883:67\n    at new Promise (<anonymous>)\n    at __awaiter (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412862:10)\n    at ModelService._createAndFetchEntities (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166787:65)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166781:44)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)","message":"Not able to find model for type - redential and subType - undefined"}

Stdout:  WARNING === ModelService: synchronizeInternal - Failed to find model for the resource, ignoring this resource. Error: {"stack":"Error: Not able to find model for type - otebook and subType - undefined\n    at Function.ModelFetchUtils.getModelByResourceType (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:266506:15)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166824:140)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)\n    at Object.next (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412[91](https://github.com/cmendible/azure_synapse_notebook_tests/actions/runs/3378540806/jobs/5608878580#step:3:92)0:14)\n    at /home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412883:67\n    at new Promise (<anonymous>)\n    at __awaiter (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412862:10)\n    at ModelService._createAndFetchEntities (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166787:65)\n    at ModelService.<anonymous> (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:166781:44)\n    at step (/home/runner/work/azure_synapse_notebook_tests/azure_synapse_notebook_tests/downloads/main.js:412979:17)","message":"Not able to find model for type - otebook and subType - undefined"}

@cmendible  You are missing ArtifactsFolder parameter.

@lordozb  Please reopoen since adding the ArtifactsFolder parameter does not help.

Please confirm if you are providing correct path. For more help kindly raise a support ticket on azure portal

Issue was that I was using the root folder of the repo for my files and folders and also the synapse data. Once I moved the synapse data to its own folder (i.e. workspace) and configured the ArtifactsFolder to use it everything started to work.
Thanks for your help!


Allow adding tests from catalog

Perhaps start with not_null / unique in a dropdown, later add looking up another table for relationships

Not Null and Unique manipulation now live


Clean remaining non_joined code and tests

What problem does this PR solve?
Issue Number: close #7308
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-integration-test

/run-all-tests

/merge

/merge

/run-integration-test


merge dev: setupv2 descriptions, env functionality, faq cleanup

enhanced description for the user on how to proceed installation (editing config)
include dotenv functionality for frontend usage to optimize code base for dynamic settings (links, prices, websocket)
cleanup of the faq page that got messy on a previous merge

Thanks!


test-branch/execute-job/wrong-commit-sha-on-pr/2d1f9bbc-f413-4170-a878-08c4f97bd7b6

PR for testing 9c79ab9099b3a2abc953687a36b0fe372a285db7

/canonical/self-hosted-runners/run-workflows 6fe0eceb6564df0d0ea200cbac644b1a6c02ea68


[BUG]: 401 error with /api/v1/openai/chat/completions while other methods work

How are you running AnythingLLM?
Local development
What happened?
Hello AnythingLLM Team! :wave:
I've just started using your product, read tons of docs and still face the next problem: when requesting /api/v1/openai/chat/completions using Swagger or python library openai I got Error code: 401
Anything LLM version: 1.6.7 for single user (I do not use cloud version so I even don't have multi-user option in instance settings)
LLM Provider: LM Studio
Model: qwen2.5-coder-7b-instruct
Api key: valid, from admin account (other methods work properly)
Are there known steps to reproduce?
Preconditions

Settings

Authorize with valid api key
Steps:
Use /api/v1/openai/chat/completions method

Result:

In order to identify potential bugs in my own code, I used both examples from https://github.com/Mintplex-Labs/anything-llm/issues/2450, /v1/workspace/chat - works, openai/chat/completions - doesn't work
I also read information from Discord where found only the same questions with no answers

Could you please check if this situation requires additional settings or I face a real bug and can stop reading new and new topics?)
Thank you in advance :blush:

The model parameter is a slug that represents a workspace not a model.

This allows you to use a workspace with its entire document set as a "model" that is already using your system model as well.

Change model to a workspace slug, which you can find by hitting the openai compatible /models endpoint. This is denoted in the description of the endpoint in your screenshot!
https://github.com/Mintplex-Labs/anything-llm/blob/36af69b4a84cf09b8a2397402d64ee58acef69dc/server/endpoints/api/openai/index.js#L89

Since the model you included is not the slug of a workspace - you get a 401!
https://github.com/Mintplex-Labs/anything-llm/blob/36af69b4a84cf09b8a2397402d64ee58acef69dc/server/endpoints/api/openai/index.js#L123

Thank you very much for the answer! Now everything works!)
I read description, but tried to use model_name/workspace/workspace_name/ as a model and didn't guess to use only workspace_slug without model_name. And even 'sample-workspace' was not a hint for me and many people in Discord, ah... I am sorry for disturbing you! And thank you once again)
Here is the screenshot for anybody who faces the same problem and would try to find the solution
Request

Response


[WIP] Adds Subject#surrounding to find adjacent subjects by priority

This is mostly a stream of consciousness PR to basically do (likely inefficiently) the task at hand: pull priority-adjacent subjects from a whole subject set given a single subject and a couple parameters.
Right off the bat: this loads the entire set's worth of SetMemberSubjects, which is kind of a non-starter. Another way to do this would be to pull the full possible range (subject's priority + (window * gap)) in SQL and then select the gap-defined ones out of that range. Either way, we're gonna need a smart new index on priority, subject id, and set id. This is also presumably doable entirely in SQL, but using the array indexes was more straightforward.
The actual #surrounding logic is pretty dumb, but I just wanted to get something working. I'd love to see how someone cleverer might handle it. (but not too clever)
The controller bit of this doesn't work yet because I was having trouble getting past a mysterious controller error: Action :surrounding_subjects not defined for #<SubjectPolicy.... I thought the skip_policy_scope helper would have handled that, just like it does for #queued, but no such luck.
Work in progress. Also, who likes "adjacent" better than "surrounding"?
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

Most substantive issues raised were addressed in the PR description. This is a WIP/draft and was uploaded by request. Will refactor to the SMS model and add the index before updating further. Still fighting the controller issue, if that sounds familiar to anyone.

Moved the model logic to the SMS and added a new index. Proof:

=> EXPLAIN for: SELECT "set_member_subjects".* FROM "set_member_subjects" WHERE "set_member_subjects"."subject_set_id" = $1 AND (priority >= 5.0 AND priority <= 17.0)  ORDER BY "set_member_subjects"."priority" ASC [["subject_set_id", 72]]
                                                             QUERY PLAN
-------------------------------------------------------------------------------------------------------------------------------------
 Index Scan using index_set_member_subjects_on_subject_set_id_and_priority on set_member_subjects  (cost=0.15..8.17 rows=1 width=96)
   Index Cond: ((subject_set_id = 72) AND (priority >= 5.0) AND (priority <= 17.0))
(2 rows)

It'll load the whole range, then a bit of logic I'd love to clever up a bit walks it via index and the gap value. The indexes are turned back into subjects and will (eventually) be serialized by SubjectSelectorSerializer for continuity. That is, if I can get Restpack to be okay missing the selector context and so on.

Thought about moving the controller logic to SetMemberSubjectController, but in the end it didn't seem as logical. It makes a certain sense to keep both the subject_id and subject_set_id in the params of a call to /set_member_subjects...but the front end is asking about a subject, and they shouldn't have to make an extra call to get the SMS id first.

Unfortunately, I'm still getting the following error if I don't add that exception to that CheckResourcesExist before_action:

  1) Api::V1::SubjectsController#adjacent should return an array of serialized subjects
     Failure/Error: raise UnknownAction, "Action #{action.inspect} not defined for #{self}"

     ApplicationPolicy::UnknownAction:
       Action :adjacent not defined for #<SubjectPolicy:0x007f98f7695720>
     # ./app/policies/application_policy.rb:31:in `scope_klass_for'
     # ./app/policies/application_policy.rb:43:in `scope_for'
     # ./lib/json_api_controller/pundit_policy.rb:20:in `policy_scope'
     # ./lib/json_api_controller/check_resources_exist.rb:26:in `resources_exist?'
     # ./lib/json_api_controller/check_resources_exist.rb:22:in `check_controller_resources'
     # ./spec/controllers/api/v1/subjects_controller_spec.rb:802:in `block (3 levels) in <top (required)>'
     # -e:1:in `<main>'

I have been using /subjects/queued as the model for how to allow this kind of unscoped call, but just skip_policy_scope isn't enough. I imagine it's got something to do with how /queued builds its own scope, but I haven't been able to track it down past the included workaround. Even with the workaround, trying to use the subject relation in the SMS class gives you the same exception:
ApplicationPolicy::UnknownAction: Action :adjacent not defined for #<SubjectPolicy:0x007f98db182150>
from /Users/zach/zooniverse/Panoptes/app/policies/application_policy.rb:31:in `scope_klass_for'

Can't make much more progress on the controller side until I figure this out. Panoptes' controller layer is still a labyrinth after all this time (I'm not even sure I'm setting the params correctly (params['params']['subject_set_id']? c'mon now). Advice solicited.

@zwolf i've added some code to fix the authorization issue of the adjacent controller action. As it's a member route with a subject id the check resources exist action was firing like you noticed.
This code change i've just added will check the user has access to the project's subjects before allowing them to get the adjacent subjects, i.e. private projects shouldn't leak subjects...

I'm closing this for the meantime, feel free to re-open when dev work continues on this.


[Request] - A --reject-uploader for youtube.com

[x] I've verified and I assure that I'm running youtube-dl 2017.02.14

[x] At least skimmed through README and most notably FAQ and BUGS sections

[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Feature request (request for a new functionality)

Didn't see this anywhere in the issues.
Possible to have a param to exclude some uploaders from youtube.com,  like the --reject-title one ?
Thanks.

Parameters added. See PR #12144

This should work:
youtube-dl --match-filter "uploader != (uploader name)"

@ThomasChr Thank you, that was fast !
@yan12125 Doesn't work.
Already tried it before this request, from the docs, comparisons with match-filter (<,>,=, != etc..) only work with numbers, so with likes, dislikes, duration (and probably others vars with numbers).

--match-filter works just fine for that. Since db13c16ef8968613680e2bbc85f373c3e74faf98 it's also possible to use string literals in quotes, e.g. if you need to match string with spaces: --match-filter "uploader = 'some string' & duration > 30".


Populate client side trace's local address via tcp kprobes

Summary: Populate client side trace's local address via tcp kprobes
This change populates client side trace's local_addr and local_port columns for the following use cases:

To provide more consistency for the protocol data tables. Having columns that are empty make it difficult for end users to understand what is being traced and make them less useful
To facilitate addressing a portion of the short lived process problems (#1638)

For 2, the root of the issue is that df.ctx["pod"] syntax relies on the px.upid_to_pod_name function. If a PEM misses the short lived process during its metadata update, this function fails to resolve the pod name. For client side traces where the pod is making an outbound connection (non localhost), the local_addr column provides an alternative pod name lookup for short lived processes when the pod is long lived. This means the following would be equivalent to the df.ctx["pod"] lookup:  px.pod_id_to_pod_name(px.ip_to_pod_id(df.local_addr)).
I intend to follow this PR with a compiler change that will make df.ctx["pod"] try both methods should px.upid_to_pod_name fail to resolve. This will allow the existing pxl scripts to display the previously missed short lived processes.
Alternatives
Another approach I considered was expanding our use of the sock_alloc kprobe. I used ftrace on a simple curl command to see what other options could be used (sudo trace-cmd record -F -p function_graph http://google.com). The socket syscall calls sock_alloc, which would be another mechanism for accessing the struct sock. I decided against this approach because I don't think its viable to assume that the same thread/process that calls socket will be the one that does the later syscalls (how our BPF maps are set up). It's common to have a forking web server model, which means a different process/thread can call socket than the ones that later read/write to it.
Probe stability
These probes appear to be stable from our oldest and newest supported kernel. These functions exist in the tcp_prot, tcpv6_prot structs and I've seen that other projects and bcc tools use these probes. This makes me believe that these functions have a pretty well defined interface.
Relevant Issues: #1829, #1638
Type of change: /kind feature
Test Plan: New tests verify that ipv4 and ipv6 cases work

[x] Ran for i in $(seq 0 1000); do curl http://google.com/$i; sleep 2; done within a pod and verified that local_addr is populated with this change and px.pod_id_to_pod_name(px.ip_to_pod_id(df.local_addr)) works for pod name resolution.

[x] Verified the above curl test results in traces without local_addr without this change

Changelog Message: Populate socket tracer data table local_addr and local_port column for client side traces.

@oazizi000 would appreciate if you could give this a review. I still need to fix the bpf instruction issue for the 4.x kernels and the incorrect storage of the local port (it is stored in network byte order and is an existing issue), but that shouldn't impact the core details in the PR.

Approach looks good. We should just manually test on a few more endpoints to gain more confidence. If that all looks good, then this should be good to go.

@oazizi000 I've tested this change on EKS (Amazon Linux 2), GKE Ubuntu and GKE COS in addition to tracking down the endianness problem (kernel data structure stores the local port in host byte order).
I've also created #2002 to make that byte order more clear even though that case doesn't have a bug.


Opt in to Cookies

Has anyone managed to get the opt-in working? Are there any live examples?
I tried to use the following code using an example from another poster looks fine, but does not stop or delete the analytics cookies.
Any ideas? thanks.

I have the same question. I found the code on Cookie Consent website, but I don't know where to paste it to make it work.
https://cookieconsent.insites.com/documentation/disabling-cookies/
Should I paste this snippet right into the cookie bar snippet or elsewhere on my site?
Do I need to paste it "as is"? Or I need to specify which cookies should be disabled/enabled.

follow!

Unfortunately there are no live examples of actual cookies being enabled/disabled, only examples of usage and appearance. It looks like you've put your code in the correct place though. It's hard to know where the script is failing. You could put console.log in the onStatusChange and onRevokeChoice callbacks to see if they are being called at the right times?


Filepath on Windows

SetUp: Vim 8.2 on Windows 10
When I use commands as :OmniSharpFindUsage the usages are found but if I want to open the file it always opens an empty file.
My best guess is that the problem is related to the filepath. All the files are shown with the start "/c/User/..." and if I copy past this in the :edit command exatcly the sames happens. If I change it to "C:/Users/..." the correct file is opned.
I feel like I oversaw something quite basic but in :help I didn't find any setting to tell what kine of filepath (Windows/Unix) to use.
I hope this was the right place to post such a questions otherwise I am happy to receive any recommendations.

I can't completely understand the situation, could you please share some more details?

Your .vimrc
A log file (:OmniSharpOpenLog)
A screenshot of your "find usages" results

Thank you for the fast answer. Yesterday I realized, that I took the vimrc from my WSL2 configurations, so I had
let g:OmniSharp_translate_cygwin_wsl = 1
in my vimrc.
Sorry for the dirsturbance and happy holidayss!

Ok cool, no worries


build: get torch from PyPI except as dev dependency on Windows

Summary of Changes

For MacOS, get torch from PyPI. This fixes an installation error.
For Linux, get torch from PyPI. It already includes CUDA support.
For Windows, get torch from https://download.pytorch.org/whl/cu121, but only as a dev dependency. Anyone using the library, always gets the default torch version without CUDA from PyPI, unless they explicitly change that. The source defined in pyproject.toml is completely ignored.

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

v0.23.0
GitHub release

Your semantic-release bot :package::rocket:


Limit amount of item / nodes to show

The provided example doesn't show how to limit the item / node.
In a list of 50 items, 15 are listed and others go into the scroll. How to limit to 5, for example?

The number of items to be listed is decided by the height of the container. In your case 15 is the number auto calculated by the component, considering height of the container and height of each element. To limit to 5 you must reduce the height of the container


Fix: commons.js file getting generated in dist/node_modules

Fixes -  https://github.com/nuxt/nuxt.js/issues/7901
Summary -
In Nuxt version 2.14.1, When generating static files using "nuxt generate" the common.js file is created in 'dist/_nuxt/node_modules/' while in Nuxt version 2.14.0 it gets created in 'dist/_nuxt/commons' folder.
The problem with commons.js file getting generated in node_modules is when pushing the dist folder to GitHub for hosting it does push the commons.js file as the node_modules are by default in .gitignore.
This PR fixes the above issue and commons.js file will gett generated in dist/_nuxt/commons folder.
Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Resolves: #7901
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[x] All new and existing tests are passing.

Codecov Report

Merging #7905 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #7905   +/-   ##
=======================================
  Coverage   68.92%   68.92%
=======================================
  Files          91       91
  Lines        3846     3846
  Branches     1041     1041
=======================================
  Hits         2651     2651
  Misses        971      971
  Partials      224      224

Flag
Coverage Δ

#unittests
68.92% <ø> (ø)

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

Impacted Files
Coverage Δ

packages/webpack/src/config/client.js
62.50% <ø> (ø)

Continue to review full report at Codecov.

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

Thanks for the PR @mehtaanshul :+1: Actually we needed to also update some other parts: https://github.com/nuxt/nuxt.js/pull/7906/files
Closing PR in favor of #7906 but will keep props ;)

Sure @pi0 :)


Implement stage 3 proposal BigInt (init and comparison with signed BigInt)

The BigInt proposal (https://github.com/tc39/proposal-bigint) is in stage 3. With this PR, we can initialize signed BigInt literal or use BigInt constructor and do comparisons among BigInt types. This is missing a bunch of things but the code change keep growing so I would like to lay some foundation and move forward.
What I have done:

(Flag) ESBigInt is set to false by default
(Scan and Parser) token and parse node for BigInt literal
(Library) Create JavascriptBigInt and JavascriptBigIntObject with basic functions.
(JavascriptBigInt) Convert from decimal digit chars to an array of uint32 digits (where we store BigInt)
and compare between 2 BigInts
(Test) create test for init, comparisons, global BigInt object.

TODOs:

resize memory dynamically. Currently it uses a fixed space for BigInt which is against arbitrary precision.
other operators and conversion.
tagged bigint
JIT
etc

@dotnet-bot test this please

@dotnet-bot test OSX static_osx_osx_debug please

Looks good, it would be good to also add some JSRT APIs to support node-chakracore's N-API implementation:
https://github.com/nodejs/node-chakracore/blob/676f33ce81951531ef2de36c744d123b500a1174/src/node_api_jsrt.cc#L1265-L1289
https://github.com/nodejs/node-chakracore/blob/676f33ce81951531ef2de36c744d123b500a1174/src/node_api_jsrt.cc#L1583-L1609

@fatcerberus seems like the error-highlighting feature of GitHub https://stackoverflow.com/questions/30667675/what-does-a-red-text-background-mean-in-github-comparison-view

Without snap/inflate support added to the JavascriptBigInt class (in JavascriptBigInt.h/cpp) this will break TTD in scenarios where BigInts are used. We probably want to have tests added for snap/inflate as well.


Add bow enchantments

Adds flame, infinity, power, and punch enchantments.

Did you test with critical arrows? Critical arrows are meant to do a varying amount of extra, inconsistent damage.

Seems like this isn't the case on Bedrock, instead they seem to have a 1.8 damage multiplier. Will try this and see if I can reproduce the results you're getting.

I believe the damage values should now match Bedrock @DaPigGuy.

Okay so after some testing, arrow damage seems to be fairly accurate but it still does not match vanilla.
I think that's out of the scope of this PR though, as the actual calculated power damage is fine, the issues just arise with arrow damage in general. Should probably open a separate issue for that, but the enchantments themselves seem to work flawlessly.


format metrics into human readable TEXT

Example Result:

frequency
interval_start
namespace
pod_usage_cpu_core_time
pod_request_cpu_core_time
pod_limit_cpu_core_time
pod_usage_memory_byte_seconds
pod_request_memory_byte_seconds
pod_limit_memory_byte_seconds
node_capacity_cpu_cores
node_capacity_cpu_core_time
node_capacity_memory_bytes
node_capacity_memory_byte_second

week
2021-06-13 00:00:00
knative-eventing
00:04:21.800
00:25:12.000
00:12:00.000
4334 GB
1477 GB
3600 GB
256
256:00:00.000
2393 GB
8412 TB

week
2021-06-13 00:00:00
thoth-frontend-prod
00:01:25.041
06:06:00.000
06:45:00.000
3728 GB
30 TB
32 TB
288
288:00:00.000
2015 GB
7083 TB

week
2021-06-13 00:00:00
openshift-logging
06:03:34.108
06:00:54.000
10:00:00.000
285 TB
208 TB
313 TB
1024
1024:00:00.000
5791 GB
20358 TB

week
2021-06-13 00:00:00
TOTAL
35:00:32.996
294:12:35.400
569:43:34.200
2336 TB
2161 TB
4240 TB
75168
75168:00:00.000
417 TB
1502534 TB

┆Issue is synchronized with this Asana task by Unito

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Closed by https://github.com/operate-first/curator/pull/112


unattend-generator not using the correct encoding?

I just tried to install Windows 11 Pro 24H2 (26100.2448) on a new machine. I've made the following autounattend file and used it.
It seems however that parts of the generated .xml file use the wrong encoding? I'm specifically referring to the &echo inserts, which are completely messed up when viewing it with Notepad.

Notice the >> .
The reason why I even looked at it is because some apps didn't get uninstalled and the Windows Installer still asked me to choose which Partition to install to, but I'm not sure if this is because of the ISO File I created with uupdump.

This code is correct. The decoding process is as follows:

The XML parser sees this markup:

<Path>cmd.exe /c ">>"X:\diskpart.txt" (echo SELECT DISK=1&echo CLEAN&echo CONVERT GPT&echo CREATE PARTITION EFI SIZE=300&echo FORMAT QUICK FS=FAT32 LABEL="System"&echo CREATE PARTITION MSR SIZE=16)"</Path>

Windows Setup will launch this process:

cmd.exe /c ">>"X:\diskpart.txt" (echo SELECT DISK=1&echo CLEAN&echo CONVERT GPT&echo CREATE PARTITION EFI SIZE=300&echo FORMAT QUICK FS=FAT32 LABEL="System"&echo CREATE PARTITION MSR SIZE=16)"

cmd.exe will finally execute this command:

>>"X:\diskpart.txt" (
  echo SELECT DISK=1
  echo CLEAN
  echo CONVERT GPT
  echo CREATE PARTITION EFI SIZE=300
  echo FORMAT QUICK FS=FAT32 LABEL="System"
  echo CREATE PARTITION MSR SIZE=16
)

To minimize the number of <Path> elements, this code employs conditional execution and grouped expressions.
Are you sure you want to modify disk 1 (rather than disk 0)?
When your answer file is not processed as expected, check the troubleshooting hints. UUP dump might very well insert its own answer file somewhere. Check both the .iso and the .wim image for files named unattend.xml or autounattend.xml. Also check the X:\Windows\setupact.log and X:\Windows\setuperr.log log files. To do this, press Shift+F10 in Windows PE.

Disk 1 is correct, I will check the logs to see what went wrong then.


Hotfix - Travis CI Configuration

removed allow_failures on PHP 7.2
removed composer self-update

/cc @ezimuel

@webimpress since PHP 7.2 has not been yet released, we can leave the allow_failures until that and fix the Travis issue.

@ezimuel please see #276 for PHP 7.2 compatibility fixes.
I think we can remove allow_failures on PHP 7.2 because the release is just around the corner, we already have RC6 and stable release should be next Thursday. If something is still gonna break on this very late RC probably then we will have the same issue on the final version, unless you know about some bugs in PHP 7.2 which causes failing of zend-db?
I'd like to add that we've already removed allow_failures in many zf repositories.

@webimpress it seems there's an issue with phpunit here with PHP 7.2. All the other PHP versions are ok..

@ezimuel what is the point of supporting still PHP 5.5? It causes problem with update PHPUnit because version 5.7 supports only PHP 5.6+ and version 6.4 - PHP 7.0+. If we'd like to run tests here across all PHP versions 5.5-7.2 we need add support for PHPUnit 4.8 || 5.7 (at least), which is quite difficult and pointless as we are going to drop it soon (hopefully).
Maybe better then drop PHP 5.5, 5.6, 7.0 as was announced in https://framework.zend.com/blog/2017-06-06-zf-php-7-1.html, update PHPUnit to 6.4 and start adding features with PHP 7.1 compatibility, to move forward with this library.... I can't remember any other zf library which still support PHP 5.5...
It's more important to support all new PHP versions than the old one, IMHO.

@webimpress I spoke with @weierophinney and we decided to support PHP 5.6. We can remove the support of PHP 5.5 and add PHP 7.2, since it will be released in a few days.

@ezimuel do you want me remove PHP 5.5 support in this PR?

@webimpress yes, please. Thanks!

@ezimuel it's updated now, let's wait for tests results before merging

@ezimuel it can be merged now, tests fails on PHP 7.2 with lowest deps, as the issue with PHPUnit. I'll work on updating PHPUnit in separate PR soon. Thanks!

@webimpress thanks!


Delete icon

Hi, I would like to be able to show a custom delete icon (like a trash icon or something else ,for nodes and connections) and also to be able to show it on node/connection selection (not in contextmenu).
I'm working with VueJS, can you help me about those features? Thanks for your work!

Hello @cage81
You have multiple options to do it.
For example simulate second button and edit with css the class .drawflow-delete
editor.on("click", function(e) {
      if(e.target.classList[0] === "drawflow-node" || e.target.closest(".drawflow_content_node") || e.target.classList[0] === "main-path") {
        setTimeout(function(){
          editor.contextmenu(e);
        },25);

      }
    });

.drawflow-delete {
    background: transparent;
    border: 1px solid red;
    width: 20px;
    height: 20px;
  }

Add background-image or icon with style.
Other options
Use methods https://github.com/jerosoler/Drawflow#methods removeNodeId(id) and removeSingleConnection(id_output, id_input, output_class, input_class)
Does any of these options work for you?

Does any of these options work for you?

Yes @jerosoler, your answer helped me a lot! I used your JS and redefined the contextmenu function to add the proper html icon (I'm using ElementUI as UI).
Because the delete icon is always shown on element's click, now I should add a confirmation step on delete click...I think i should rewrite the click(e) method...
Thank you very much, drawflow library is amazing!

Great library Element UI
Maybe you can do it by rewriting the method: removeNodeId
If you have any other problem you can open another issue.
Thanks :tada:


Build Errors: Linux

Hi, I'm trying to get this built and running, but it's kicking out errors. Any idea which dependency I'm missing or it's not finding here? Additionally, when I run it, it appears to run but when I try to access it on my VPS it appears not to be running. Can this only be accessed using "localhost"?

Any idea which dependency I'm missing or it's not finding here?

It complains about make it seems, what distro are you running?

Additionally, when I run it, it appears to run but when I try to access it on my VPS it appears not to be running. Can this only be accessed using "localhost"?

For that you have to properly configure the UI config, see here: https://gekko.wizb.it/docs/installation/installing_gekko_on_a_server.html
There are 3 ways to run the Gekko UI:

on your computer (view where it is running)
on an external machine, but in a fully trusted network (raspberry PI, etc)
on an external machine, in the cloud

For the last one you probably want to add some kind of authentication (between your browser and the Gekko process), an example of using nginx for that is provided in the link.

I'm running ubuntu 17.1.

Can you quickly check whether node and nmp are installed correctly? Please post the output of:
node -v
npm -v

Closing this, as I cannot reproduce..


Shattered Dreams Quest, broken

During the shattered dreams quest in highrift, you have to investigate a cave near the gym. I get close enough to the cave to trigger the next step to enter the cave. It then instantly tells me I run away (normally what happens when u lose to a boss), immediately following this I am forced into a fight with the boss Mega-Garchomp.....

its been a good 2 months since this was listed, and going through the quest again it seems to have been fixed


JuttleSpec: Mark level 1 and 2 headings using # and ##

Maintaining long lines of =’s and -’s which marked level 1 and 2 headings in JuttleSpec tests was quite a burden. This commit converts the syntax to the #-based one.
The conversion was done by running the following commands inside test/runtime/specs/juttle-spec:
ls **/*.spec.md | xargs -n 1 ruby -e 'File.write(ARGV[0], File.read(ARGV[1]).gsub(/^(.+)\n=+$/, "# \\1"))'
ls **/*.spec.md | xargs -n 1 ruby -e 'File.write(ARGV[0], File.read(ARGV[0]).gsub(/^(.+)\n-+$/, "## \\1"))'

@bkutil

+1k ;)


mpich: 4.0.1 -> 4.0.2

Description of changes
https://github.com/pmodels/mpich/blob/4.0.x/CHANGES
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Confirmed that this nixpkgs-reviews without problems on aarch64-linux. Would have liked to do it before merging though...

Sorry about that, I just figured out from earlier discussions that if it didn't build before this PR, merging this for sure won't make things worse, forgive me if I was wrong.


My gmsh file is not working with mfem example 2.

Hello everyone,
   Here is my gmsh file:

newRefinedTestBeam.zip
Basically what I am trying to do is I am trying replicate something similar to beam-tet.mesh file in gmsh and trying to replicate the result shown by ./ex2 file. But whenever I try to use my gmsh file, it does not get solved. I was wondering why that is the case.
P.S: I am new to FEM packages and FEM concept as a whole.

Dear @NikhilPurbey ,
The mesh is supposed to have two materials. You can find the following comment in the file "ex2p.cpp"
"This example code solves a simple linear elasticity problem describing a multi-material cantilever beam."

Hello @Raghavendra0117,
   Thanks for the response. Sorry for lack of clarification. I made some adjustments to ex2.cpp. I made it so that it takes beam with 1 material, and finds the linear elasticity solution. Here is my version of ex2.cpp:

ex2.zip
I used this modified 1 material beam mesh with the ex2.cpp.
beam-tet-test.zip
I was able to get the solution, that looks like this:

But I am not able to get solution with this gmsh generated msh file.
newRefinedTestBeam.zip

Hi @NikhilPurbey ,
The attributes for the boundaries and material are different in the file "newRefined*.msh".
I have modified the file (
newRefinedTestBeam1.msh.zip
) with right attributes and it is working fine.

Thanks a lot for your help. I understand how it works. One final question I had was how can I make the color bar show up. The one which says which color represents which Value.
Thanks,
Nikhil

Hi @Raghavendra0117,
Thanks a lot for your help. I understand how it works. One final question I had was how can I make the color bar show up. The one which says which color represents which Value.
Thanks,
Nikhil

Hi @NikhilPurbey, in GLVis, you can toggle the color bar with the key c.
For more GLVis shortcuts, see https://github.com/GLVis/glvis/blob/master/README.md.

Thank you @v-dobrev.


this.http.get(...).map is not a function inside v6 branch

I'm submitting a ...
[*] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
TypeError: this.http.get(...).map is not a function

Steps to reproduce

Clone the repository

Checkout v6 branch

add import { Http } from '@angular/http'; in app.component.ts and call API inside ngOnInit as   below :
this.http.get('http://your.apiurl.com').map((res) => res.json()).subscribe((res) => { console.log(res); });

serve application with npm start and visit http://localhost:3000/ in browser it will throw error TypeError: this.http.get(...).map is not a function in browser console

Instead of serving with with npm start if i will first run npm run build:aot and then serve application with npm run server:prod then its running application and not throwing error TypeError: this.http.get(...).map is not a function

What is the expected behavior?
It needs to run application without any error.

Please tell us about your environment:

Angular version: 2.1.2
Browser: Chrome XX

You have to import the map operator. Anyway according to your description this is not an angular issue but that seed project's. Please re-open it in its repo https://github.com/AngularClass/angular2-webpack-starter

@ranakrunal9 I have added the development environment to server:dev. It is that the dlls are only build when dev is the env.

@katallaxie I have checked this again after your changes but error is still coming so i have made pull request #1158 to solve it.


Bug report : 1.19.4 Quilt server crashes after startup

Describe the bug
My 1.19.4 Quilt server crashes right after loading because of a NullPointerException, which it encounters again upon trying to shut down(when the mod's configured to back up on shutdown).
To Reproduce
Steps to reproduce the issue:

Set up a Quilt server with the installer's GUI exactly as detailed by its download page, then agree to the Minecraft EULA as usual.
Add the Quilted Fabric API/Quilt Standard Libraries bundle to the mod folder as the installer asked, along with Advanced Backups.
(Optional) In AdvancedBackups.properties, set config.advancedbackups.frequency.shutdown to 'true'.
Run the .bat file you created(java -jar quilt-server-launch.jar nogui) in the server's root directory again.
Wait for the server to load.
Immediately after the server finishes and reports load time you should see a crash. In case you followed step 3, you should also see the server fails to stop properly due to the same error.

Expected behavior
Normally the server will not show any errors after the "Dedicated server took x seconds to load" message.
Screenshots
Without backups on shutdown:

With backups on shutdown:

Versioning (please complete the following information):

OS: Windows 11 64-bit
Java Version: Eclipse Temurin jdk-<IP_ADDRESS>+1
Minecraft Version(s): 1.19.4
Modloader(s): Quilt Server 0.21.1; installer ver. 0.9.1
Mod Version: 3.0.1-3.2.1; QFAPI/QSL ver. 6.0.0-beta.11+0.87.0-1.19.4

Additional context
I can say with certainty that the mod works just fine for another (Forge 1.18.2)server I'm hosting on the same machine.

Confirmed repro on quilt, seems that a fabric modloader method is returning something an invalid value. I'll look to see if there's a way I can do this without yet another branch haha

Should have a fix pushed tonight, in theory.

AdvancedBackups-fabric-1.19.3-3.2.2-rc1.zip
@JadieMae23 could you test this on your end before I see about pushing it to curseforge / modrinth? It's done the job on my end.

I can confirm it works on my end as well. Thank you for the swift response!

Awesome. I've now checked this on other fabric branches, looks like i'm good to release.


Add Interactable Enabled State Changed Event

Describe the problem
I don't know when an Interactable's Enabled state has changed
Describe the solution you'd like
I would like an event to be fired when the Interactable's Enabled state has changed, passing the sender object and state
Describe alternatives you've considered
I guess one could look at the Enabled state of a list of Interactables on Update
Additional context
Add any other context or screenshots about the feature request here.

Already added in MRTK3. If a backport to MRTK2 is critical, please reopen or submit a PR!


Repository Structure and File Name Convention

There is a lot here and I took some liberties on naming the metrics files so it may be helpful to discuss the 30 metrics we have identified so far (according to the goal documents) in the next meeting to make certain we have shared understanding of what they are and the names are accurate.
(or comments/edits here)
For the most part, I left the metrics files untouched other than changing the name or creating a file if it was missing.
I moved the metrics that aren't linked in the goal pages to an archived metrics folder.
I created a focus area folder to hold the goals and use cases. I believe this is the structure that was discussed.
I also made minor changes to the repository structure and some of the organization documents.
Resolves:
#24
#7
#4
@sgoggins
@jgbarah
Please Review

I am not sure what .DS_Store was it showed up 5 or 6 months ago. I deleted it.

Sorry, slipped and hit wrong button

@klumb, anything about this?:

Why are we using numbers for starting folder names? (I mean, such as 1_template_folder instead of template_folder

@jgbarah, also not needed.


Make search input wider

Now search input will take more space in the header so that long queries fit into it better

@stunningpixels can you check it and confirm that it's better now?

Can we standardise max widths pls. Other than that, looks good to me.

Can we standardise max widths pls. Other than that, looks good to me.

it's not as simple as it may seem. The main body has a left sidebar that can be collapsed when it shows filters, while the navbar has icons on the left and on the right, which makes input positioning a bit hard. I will have to spend a bit more time thinking about the correct position.

Ok let's merge


Separator drag not reflecting layout changes after resize in playground

I discovered the new playground and love using it! I'm super grateful for all the hard work. 😊
However, I found a drag issue after resizing the playground.
https://github.com/rescript-association/rescript-lang.org/assets/47740690/d531af5d-6505-40f8-bb1a-8ad7dd38d091
After resizing the window, the layout switches between Row and Column as expected. However, dragging the code separator does not correctly adjust the dimensions of the elements based on the new layout because it does not use latest layout value.
Suggestion

Add the layout in useEffect dependencies
It causes effect run again when layout is changed

Use a ref to store the latest layout value
Additonal effect to update the ref

let (layout, setLayout) = React.useState(...)
let layoutRef = React.useRef(layout)

React.useEffect(() => {
  layoutRef.current = layout
}, [layout])

Which way do you think is better? If you have a better one, please let me know!

It was indeed just a missing hooks dependency, fix here: https://github.com/rescript-association/rescript-lang.org/commit/b6c7172a5f9214a03eaa504d1da490b4c4aa3365
Thanks for reporting.


Update New-AutoSensitivityLabelPolicy.md

Docs Build status updates of commit 99661f1:
:clock10: Full build: the average full build time is 17 min(s) 35 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 99661f1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-AutoSensitivityLabelPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


removes art-$appName-secret from templates

Do not merge till art-cli and backend are updated

is this change backward compatible? previously deployed apps should not break.

are envFrom fields in art.yaml appended or replaced by midgard?

envFrom fields are appended similarly to secretMounts

It becomes backwards compatible after the migration gets run on the DB and the code gets updated. (If only chart change is pushed, it is not backwards compatible with the current code) Should we upgrade the minor version for this?

let's chat - I want to bring some hygiene to this repo

@suryaoruganti Changed base to v0.6.0. Please re-review

lgtm

@suryaoruganti This should be merged before backend changes go through, as we have given charts a version bump.


PSScriptAnalyzer has warnings

Running Invoke-ScriptAnalyzer UnitySetup\UnitySetup.psm1 results in
RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSUseShouldProcessForStateChangingF Warning      UnitySetup 492   Function ’Start-UnityEditor’ has verb that could change
unctions                                         .psm1            system state. Therefore, the function has to support
                                                                  'ShouldProcess'.
PSAvoidUsingWriteHost               Warning      UnitySetup 303   File 'UnitySetup.psm1' uses Write-Host. Avoid using
                                                 .psm1            Write-Host because it might not work in all hosts, does not
                                                                  work when there is no host, and (prior to PS 5.0) cannot be
                                                                  suppressed, captured, or redirected. Instead, use
                                                                  Write-Output, Write-Verbose, or Write-Information.
PSAvoidUsingWriteHost               Warning      UnitySetup 309   File 'UnitySetup.psm1' uses Write-Host. Avoid using
                                                 .psm1            Write-Host because it might not work in all hosts, does not
                                                                  work when there is no host, and (prior to PS 5.0) cannot be
                                                                  suppressed, captured, or redirected. Instead, use
                                                                  Write-Output, Write-Verbose, or Write-Information.
PSAvoidUsingWriteHost               Warning      UnitySetup 314   File 'UnitySetup.psm1' uses Write-Host. Avoid using
                                                 .psm1            Write-Host because it might not work in all hosts, does not
                                                                  work when there is no host, and (prior to PS 5.0) cannot be
                                                                  suppressed, captured, or redirected. Instead, use
                                                                  Write-Output, Write-Verbose, or Write-Information.

Fixed in 'develop' in #29


ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

System information

Linux Ubuntu 19.04
TensorFlow installed from (binary)
TensorFlow: tenserflow-gpu 1.13.1
Python version: 3.6
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.1/7.5
GPU model and memory: Nvidia Geforce 840m 3 go

** The problem that i get**
I have installed tenserflow using the command :

pip install --upgrade tenserflow-gpu

I get this error :

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

Failed to load the native TensorFlow runtime.

How can i solve this ?
Note : Cuda worked fine and my graphic card drivers are installed

I have the same issue, system:
Linux Ubuntu 118.10
TensorFlow: tenserflow-gpu 1.13.1
Python version: 3.6
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.1/7.5
GPU model and memory: Nvidia GeForce RTX 2080

try
sudo ldconfig /usr/local/cuda-xx/lib64

try
sudo ldconfig /usr/local/cuda-xx/lib64

dosn't solve the problem

#26150 is a good reference to this problem.

#26150 is a good reference to this problem. CUDA 10.1 is currently not supported.

This is not a solution if you tell me that  is not supported , I can't use another cuda version , i have ubuntu 19.04 and it support only cuda 10.1 so i can't downgrade ubuntu ( install other version <19.04 )

@abdou31 Please have look on software requirements for tensorflow-gpu 1.13 and above version is mentioned in this link.  Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

in case anyone still facing this:
i got cuda 10.2 and i just ran into this problem and here's how i solved it :
cd ~
gedit .bashrc
#add this in the end :
export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda10.2/targets/x86_64linux\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}


db hint...

When executing more than one database request like this:
var status_func = function (type) {
    return function (req, res, next) {
        var userName = req.body.user_name;
        var message = req.body.text;
        if (type == 'out' && !message) {
            return res.status(200).send("You must supply a reason why you can't make it.");
        }
        db.one("SELECT * FROM practices ORDER BY starttime DESC LIMIT 1").then(function (practice) {
            var id = practice.id;
            return db.oneOrNone("SELECT username from replies where practiceid = $1 and username = $2", [id, userName]).then(function (reply) {
                if (reply) {
                    return db.none("UPDATE replies SET status = $1, message = $2 where practiceid = $3 and username = $4", [type, message, id, userName]);
                } else {
                    return db.none("INSERT INTO REPLIES VALUES ($1,$2,$3,$4)", [id, userName, message, type]);
                }
            });
        }).catch(function (err) {
            next(err);
        }).then(function () {
            return res.status(200).send("You're " + type + "!").end();
        }).done();
    };
};

you should always execute it as a task, and have all queries execute against the task context:
var status_func = function (type) {
    return function (req, res, next) {
        var userName = req.body.user_name;
        var message = req.body.text;
        if (type == 'out' && !message) {
            return res.status(200).send("You must supply a reason why you can't make it.");
        }
        db.task(t=> {
                return t.one("SELECT * FROM practices ORDER BY starttime DESC LIMIT 1")
                    .then(function (practice) {
                        var id = practice.id;
                        return t.oneOrNone("SELECT username from replies where practiceid = $1 and username = $2", [id, userName])
                            .then(function (reply) {
                                if (reply) {
                                    return t.none("UPDATE replies SET status = $1, message = $2 where practiceid = $3 and username = $4", [type, message, id, userName]);
                                } else {
                                    return t.none("INSERT INTO REPLIES VALUES ($1,$2,$3,$4)", [id, userName, message, type]);
                                }
                            });
                    })
            })
            .catch(function (err) {
                next(err);
            }).then(function () {
            return res.status(200).send("You're " + type + "!").end();
        }).done();
    };
};

If you don't do it, each of your db. calls is acquiring the releasing the virtual connection needlessly.
You can also change db.task(t=> into db.task("myTaskName", t=>, and use pg-monitor to understand the difference in every case ;)
See also: https://github.com/vitaly-t/pg-promise/wiki/Common-Mistakes#tasks-versus-rootdirect-queries
Happy New Year! :)

And when executing a task that actually changes data (insert/update), you should use a transaction - just change db.task(function(task)) into db.tx(function(tx)), or else your database integrity suffers ;)


Support Ubuntu 22.04 Jammy Jellyfish PPA

Xmake Version
2.6.9
Operating System Version and Architecture
Ubuntu 22.04 Jammy Jellyfish
Describe Bug
Current provided PPA does not support support Jammy Jellyfish, Ubuntu 22.04 is the latest LTS version.
Expected Behavior
A PPA for Jammy Jellfish is available
Project Configuration
No response
Additional Information and Error Logs
No response

I have supported it.


Team 2 UI Feature and Team 2/5 In-Game build menu collab

This PR brings in the implementation of In-game UI elements, and the In-Game Tower build menu
Specifically:

Addition of a Pause button to the main screen that pauses the game and brings up a Pause menu with the appropriate buttons
Addition of a wave timer and mob count to the main game screen that shows the remaining mobs in the current wave
Addition of level background music and ambient sounds
Addition of the In-Game build menu which uses the towers selected by the user in the Turret Select screen, and allows spawning of towers into the map, provided the tile is not occupied and the resource cost can be covered.
Other UI improvements such as some button sounds, build sounds and a Skin file configured for scene2d.ui

There are additional improvements/integration possible, but these are dependent on other features. Please feel free to ask questions or provide feedback as necessary.

Hey just some small issues I noticed, when the player picks less than 5 turrets the game crashes (IndexOutOfBounds) however when you pick 0 zero turrets the game still works (just noticed this is a known issue on discord). Also when you try and select multiple towers it seems the buttons stay highlighted causing some bugs. Apart from that looks good!

Hey just some small issues I noticed, when the player picks less than 5 turrets the game crashes (IndexOutOfBounds) however when you pick 0 zero turrets the game still works (just noticed this is a known issue on discord). Also when you try and select multiple towers it seems the buttons stay highlighted causing some bugs. Apart from that looks good!

Hey Ryan, thanks for the feedback, this all seems to be related to Turret Select Screen, so will need to consult with the author. It currently doesn't affect gameplay if all or no towers are selected, we can probably deal with this in a Bug report ticket

This PR now also includes updating of buttons globally using the newly built Skin "glass.json"


Add new position page

This is super janky, but IE should be much better equipped to build a 9-star solution over this than I.


ARROW-17741: [Packaging] Include JDBC driver in java-jars artifacts

@github-actions crossbow submit java-jars

New jar available at: https://github.com/ursacomputing/crossbow/releases/tag/actions-b9e5302f5d-github-java-jars

@github-actions crossbow submit java-jars

on the java-jars job the new artifacts:
                    flight-sql-jdbc-driver-10.0.0-SNAPSHOT-javadoc.jar [     OK]
                   flight-sql-jdbc-driver-10.0.0-SNAPSHOT-sources.jar [     OK]
                     flight-sql-jdbc-driver-10.0.0-SNAPSHOT-tests.jar [     OK]
                           flight-sql-jdbc-driver-10.0.0-SNAPSHOT.jar [     OK]
                           flight-sql-jdbc-driver-10.0.0-SNAPSHOT.pom [     OK]


Extend Core Components to send data to client-data layer

Description
Send CIF Components data and events to client-data layer when the integration is enabled.
Related Issue
CIF-1181
Motivation and Context
Expose the default OOTB elements related to CIF Core Components
How Has This Been Tested?
Unit tests
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes and the overall coverage did not decrease.
[x] All unit tests pass on CircleCi.
[x] I ran all tests locally and they pass.

LGTM.
One comment though: It would be probably better to move the data layer specific classes (com.adobe.cq.commerce.core.components.models.datalayer, com.adobe.cq.commerce.core.components.models.internal.v1.datalayer) outside the models package.
There was a similar request for WCM core components here although it's too late in that case.

@laurentiumagureanu I added one unit test that to show what we should have for all components, as agreed on Slack, please add the missing ones for the other components and we are good to go! Thx.


azcopy tenant should be specified

Please note the problem that is detailed on this StackExchange page: azcopy fails if you don't provide your tenant id (at least it did for me, working from OS X), and apparently a lot of other people have had the same problem.  The fix should be mentioned in the documentation.
https://stackoverflow.com/questions/53085003/azcopy-login-fails
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 15911160-5ba2-fb0a-0b24-16b3857e20ce
Version Independent ID: d925bc9f-f825-2f82-168c-6c30d716b9ce
Content: Copy or move data to Azure Storage by using AzCopy v10
Content Source: articles/storage/common/storage-use-azcopy-v10.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

@jcpayne

@jcpayne We already document the use of --tenant-id in the get started guide. For some, plain azcopy.exe -login works. If you are a member of multiple org, you'd have to specify the tenant.

Yes, the information appears in at least one place, but there are tens or maybe hundreds of pages of documentation and the 'azcopy login' phrase appears all over the place.  BTW I am not a "member of multiple orgs," yet I had the problem, so apparently it crops up from time to time regardless.

Thanks @jcpayne. I've modified our existing entry to indicate that if there's an error with azcopy login, to specify the tenant ID.  thanks again.

#please-close


Freerdp-2.0.0-rc4 dynamic-resolution window border disappear issue

Freerdp version : 2.0.0.rc4
Client OS :- Xubuntu-16.04_x86
Server OS :- Windows 10
xfreerdp /cert-ignore  /title:test  /bpp:32  -wallpaper   -bitmap-cache  -themes    -floatbar  /dynamic-resolution        /gdi:sw   /kbd:0x00000409   /d:test /u:"abc" /v:x.x.x.x   /p:xxx +toggle-fullscreen /f
Steps:-
1:-take session with above command
2:-ALT+CTL+ENTER (2 times)
Result :-
1:- window border disappear (so cannot resize session)

Please add additional information, can not be reproduced with the steps provided.

@akallabeth windows frame border is hidden ,so not able to resize window frame .
what additional details required.

Since your response only occured in my mailbox:
I can not reproduce the issue with the steps you provided. Fullscreen toggling works just as expected. Please provide a more detailed description of your setup to reproduce.

Closing due to lack of feedback.


If I want to activate the Dashboard Screen, getting errors

In route.js
  Dashboard: {     screen: Dashboard,     navigationOptions: {       drawerLabel: 'Dashboard screen',       drawerIcon: props => <MenuIcon name="flag" family="font-awesome" focused={props.focused} />,     },   },
If I uncomment this the dashboard.js (component) lodign with error: Invariant Violation: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of Dashboard.
This error is located at:
in RCTView (at View.js:45)
in View (at Block.js:58)
in Block (at theme/index.js:33)
in _class (at Dashboard.js:124)
in RCTView (at View.js:45)
in View (at ScrollView.js:976)
in RCTScrollView (at ScrollView.js:1115)
in ScrollView (at Dashboard.js:162)
in RCTView (at View.js:45)
in View (at SafeAreaView.js:37)
in SafeAreaView (at Block.js:51)
in Block (at theme/index.js:33)
in _class (at Dashboard.js:154)
in Dashboard (at SceneView.js:9)
in SceneView (at DrawerView.js:87)
in RCTView (at View.js:45)
in View (at DrawerLayoutAndroid.android.js:198)
in AndroidDrawerLayout (at DrawerLayoutAndroid.android.js:217)
in DrawerLayoutAndroid (at DrawerView.js:84)
in DrawerView (at createNavigator.js:57)
in Navigator (at createNavigationContainer.js:376)
in NavigationContainer (at App.js:10)
in RCTView (at View.js:45)
in View (at App.js:8)
in App (at withExpoRoot.js:20)
in RootErrorBoundary (at withExpoRoot.js:19)
in ExpoRootComponent (at renderApplication.js:35)
in RCTView (at View.js:45)
in View (at AppContainer.js:98)
in RCTView (at View.js:45)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:34)
This error is located at:
in NavigationContainer (at App.js:10)
in RCTView (at View.js:45)
in View (at App.js:8)
in App (at withExpoRoot.js:20)
in RootErrorBoundary (at withExpoRoot.js:19)
in ExpoRootComponent (at renderApplication.js:35)
in RCTView (at View.js:45)
in View (at AppContainer.js:98)
in RCTView (at View.js:45)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:34)

up

@unimrgm is right! There is a working solution on the dev branch. Please use that one if you need to check out the Dashboard screen.


Support new "raytracing shader types" in HLSL (DXR) and GLSL output backends from SPIR-V NV_raytracing shaders..

Hi,
now that NV ships VK_NV_raytracing and glslang already supports it.. (also yesterday DXR DXC bits have been open sourced) seems sensible to ask&track eventual support for translating DXR HLSL to GLSL with NV_raytracing extensions in any direction..
for GLSL:
I'm basically asking for reverse operation of what new glslang NV_raytracing ext. support does..
see commit:
https://github.com/KhronosGroup/glslang/commit/b50c02ef53973e3e09565ed7066d2b39edc36b17
for HLSL:
translating SPIR-V VK_NV_raytracing code back to HLSL DXR..
reverse operation of what eventual DXC DXR -> VK_raytracing SPIR-V will do:
https://github.com/Microsoft/DirectXShaderCompiler/issues/1554

Seems Nvidia has added support for it already as playing with a VK RT sample on Nsight Graphics 2018.5 shows:

hope they share the changes eventually..

Looks like still there is no proper support for raytracing shaders.
Trying to create cross compiler via "CreateCrossCompiler()" and get exception in
void Parser::parse(const Instruction &instruction)
on line
SPIRV_CROSS_THROW("Currently no block to insert opcode.");
op value is 5341.
The shader is simple ray generation shader.

There is not, and vendor-specific extensions like these have the lowest priority for me.

There is GLSL output support now. Closing this. A separate HLSL (DXR) issue should be created if desired.


DFG LUT uses widely unsupported RGB16F

Describe the bug
DFG lookup tables use RGB16F which is widely unsupported. This is generally fine for OpenGL, but Vulkan will refuse to create such textures. When running material_sandbox with Vulkan, this will trigger an assertion failure like:
FEngine (64 bits) created at 00000145CFDC6080 (threading is enabled)
FEngine resolved backend: Vulkan
Selected physical device 'GeForce GTX 1060' from 2 physical devices. (vendor 0x0x10de, device 0x0x1c20, api 0x0x40105f, driver 0x0x68c44000)
class utils::PostconditionPanic
in filament::Texture *filament::Texture::Builder::build(filament::Engine &):93
in file ..\..\filament\src\Texture.cpp
reason: Texture format 262184 not supported on this platform

To Reproduce
Run material sandbox like:
samples\material_sandbox.exe --api=vulkan ..\..\assets\models\monkey\monkey.obj

Expected behavior
material_sandbox should run.
Desktop (please complete the following information):

OS: Windows 10
GPU: GTX 1070
Backend: Vulkan

Additional context
It looks like this is a recent problem resulting from #853. Previously DFG used RG16F which has good support.

Thanks for the report. I must say I am flabbergasted as to why RG16F would be commonly supported but not RGB16F.

@bejado @prideout It sounds like the TextureReshaper used for Metal would be a good solution here? We'd just have to use RGBA16F I think. If that format isn't widely supported either we'll have to use two DFG LUTs

Actually is this format truly not supported or is that our driver being paranoid @prideout?

According to gpuinfo.org, only 16% of all implementations support this, so yeah I need to use our reshaping stuff and update the getVkFormat function.

It's extremely convenient to use an RGB16F texture for the DFG LUT — especially as I keep working on a new sheen parameter for the standard material model — but it opens a few questions:

What is the impact on performance of the 3rd channel? It'll probably reduce the texture cache hit rate but I don't know whether it truly matters considering how the texture is indexed
Should we use two RG16F samplers? The second one would currently have only one channel, it would break materials compatibility and burn yet another sampler which are at a premium on mobile
If we go with RGBA16F anyway through the reshaper we could consider adding a fourth channel to the LUT for yet another BRDF (Disney diffuse for instance)

@romainguy crazy idea, instead of using two RG16F samplers (b/c samplers are a limited resource), why not use a 3D texture? e.g. three R16F layers? or even two RG16F ones -- this way we don't pay the price when the 3d channel is not used (compared to RGBA16F).
Now, granted, filament doesn't support 3D textures yet, but we really should and it wouldn't be too hard to add.


[Concurrency] Testcafe will perform a page refresh when I run a test with concurrency on only

What is your Scenario?
 If I run them without concurrency everything works fine. If I run them concurrently, at a predictable point for a couple of tests, the website page will perform a refresh (no where in my test do I tell it to open a page or do anything that would trigger a page reload). This causes the tests to fail because a page reload causes the page to revert its state (this is by design for the website i'm testing).
What is the Current behavior?
Page reloads when I don't want it to.
What is the Expected behavior?
The page should never reload unless I tell it to.
What is your public website URL? (or attach your complete example)
This is particular to my company project which I cannot share but my project uses the page object model and it looks similar to this:
await panel.setvalue(someValue);
await t.expect(await toolbar.canDoSomething()).notOk();
setValue looks like this:
await t.typeText(this.someSelector.find("textarea").filterVisible(), value, { paste: true, replace: false});
await t.wait(500); // Wait needed for debounce
After setValue is called, the website reloads for some unknown reason.
Can someone please tell me if there's something I can do to debug why the page is reloading. Or if there's some configuration I can add to force testcafe to NEVER do this that would be helpful as well.
Note: I tried turning on --native-automation but it fails there too. This also fails on firefox.
If I understand things correctly, each browser launched concurrently should be completely independent of each other so I don't know why 1 test can potentially cause another test to reload the page.
What is your TestCafe test code?
I won't be able to provide a sample unfortunately but I'm just looking for guidance for what to debug.
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce

Unavailble

TestCafe version
2.5.0
Node.js version
18.13.0
Command-line arguments
None
Browser name(s) and version(s)
Chrome 111
Platform(s) and version(s)
Windows 10
Other
No response

@AlexKamaev, it won't be possible to create a minimal working example for you guys. Instead, can you please give me tips on how I can debug the issue further OR tell me if there's a configuration I can set to prevent the browser from reloading. Once I have info on how to debug this problem I can possibly create a MWE.

Unfortunately, this information is not sufficient to make any presumptions. Based on your description, we do not have any clues on why such a reload can happen.


Include semsim in build process

See this PR: https://github.com/Knowledge-Graph-Hub/semsim/pull/16
In brief, run semsim with each KG-Phenio build.

I now I am beating on it repeatedly but please can we make sure that semsim outputs a standardised format before we introduce it into the various pipelines?

@matentzn I hear you! This is a note for future implementation.

Closing this - will revisit if it's the preferred option, but current semsim comparisons are more frequently done outside the build process.


Copy-DbaCredential - Add escape for close brackets

Type of Change

[X] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Currently close brackets in a credential name are breaking the copy credential. Issue #2560
Approach
Added REPLACE to make double close bracket in this case.

excellent thanks!


--state-values-set does not work properly in gotmpl value files

Operating system
MacOS 12.1
Helmfile Version
0.150.0
Helm Version
v3.9.4
Bug description
See the linked github repo's README file
Example helmfile.yaml
See the linked github repo's README file.
Error message you've seen (if any)
None
Steps to reproduce
https://github.com/vladimir-avinkin/helmfile-bug-repro
Working Helmfile Version
Haven't found one
Relevant discussion
No response

@vladimir-avinkin quick solution:
environments:
  default:
    values:
      - base.yaml
      - override.yaml
# key change
---
repositories:
  - name: bitnami
    url: https://charts.bitnami.com/bitnami

releases:
  - name: test
    chart: bitnami/nginx
    namespace: {{ .Values.ns }}
    values:
      - values.yaml.gotmpl

@vladimir-avinkin fixed: https://github.com/helmfile/helmfile/pull/705

Hey @vladimir-avinkin and  @yxxhero! This is actually an expected behavior. Helmfile's --state-values-set sets the values used to render/merge/compose the environment values. In other words, values provided via --state-values-set are both inputs and default values for the rendered environment values. It's going to be a breaking change which we don't want to make.
That said, do you still want a new feature to accommodate your use case? What if we had a new flag --state-values-override that works like you desired? Shall we name it just --set? Also note that Helmfile's --state-value-set is conceptually different from Helm's --set- Helm does not have dynamic values while Helmfile does have it via the environment values templating. The former has no notion of "inputs" while the latter does have it.

TL;DR; you guys seem to have expected values set via --state-values-set to be “overrides”. Actually, they are more like “defaults” and “inputs”. I don't like making breaking changes. However, I'm super open to adding a new feature instead to address your use case.

Oh. Got it.

@mumoshu but if we add --- between environments and releases, it has different behavior.

@yxxhero As far as I remember, the vaules provided via --state-values-set should be treated as the defaults and the inputs for the first part of your helmfile.yaml when each part is separated by ---. Have you seen something different than that?

@mumoshu from your explanation. I think the behavior is expected. So we should add more help messages for --state-values-set.

Hey @vladimir-avinkin and @yxxhero! This is actually an expected behavior. Helmfile's --state-values-set sets the values used to render/merge/compose the environment values. In other words, values provided via --state-values-set are both inputs and default values for the rendered environment values. It's going to be a breaking change which we don't want to make.
That said, do you still want a new feature to accommodate your use case? What if we had a new flag --state-values-override that works like you desired? Shall we name it just --set? Also note that Helmfile's --state-value-set is conceptually different from Helm's --set- Helm does not have dynamic values while Helmfile does have it via the environment values templating. The former has no notion of "inputs" while the latter does have it.

To be honest I'm quite confused here. I was expecting --state-values-set to be a CLI version of environments.*.values the same way --set is the CLI version of the regular helm values files. And it's a convention in most unix/cloud tools that CLI flags have higher priority, as it is in helm itself for example.
Even if it's not the case, I don't get why would the same environmental value (that's what we access when we use .Values after all) be different in the context of helmfile.yaml, and gotmpl templates. Wouldn't you expect to see test2 in both contexts in my example?
Nevertheless, for my specific use case, I just need a way to pass environments.*.values through cli somehow. It's because my helmfile has defaults specified in files, but I want to be able to pass dynamically generated values in the CI pipeline, to pass for example, a custom temporary domain name, so I guess your proposal would work for me.

@mumoshu  see origin PR. https://github.com/roboll/helmfile/pull/644. it should be as override.  WDYT?

@vladimir-avinkin I understand your confusion. I would have been confused the same way if I came to Helmfile for my first time.
But I vaguely remember folks requested how to provide inputs to dynamically generate environment values and currently --state-values-set is the only way for providing inputs. If it was "overrides", there's no way to provide the inputs.

Nevertheless, for my specific use case, I just need a way to pass environments.*.values through cli somehow. It's because my helmfile has defaults specified in files, but I want to be able to pass dynamically generated values in the CI pipeline, to pass for example, a custom temporary domain name, so I guess your proposal would work for me.

I take this as 100% valid use case. What if we added another flag like --set which might look more aligned with what helm provides?

Even if it's not the case, I don't get why would the same environmental value (that's what we access when we use .Values after all) be different in the context of helmfile.yaml, and gotmpl templates. Wouldn't you expect to see test2 in both contexts in my example?

@vladimir-avinkin Good point! You should have access to the same environment values in both helmfile.yaml and release values.yaml.gotmpl files. If there's any divergence, that might be a bug 🤔 Let me see what's going on here.

@vladimir-avinkin In the meantime, would you mind separating the environments and the releases parts with ---? You might be unintentionally using our legacy "double-rendering" feature which we're trying to deprecate in the upcoming Helmfile V1. --- is the key to make double-rendering virtually "no-op". https://github.com/helmfile/helmfile/blob/main/docs/proposals/towards-1.0.md#forbid-the-use-of-environments-and-releases-within-a-single-helmfileyamlgotmpl-part

Yep, it seems like separating with --- resulted in an expected (for me) behavior. 👍
If you want to introduce another cli option it is also fine with me, albeit a bit weird :) But I will leave it to you


fix: register gRPC Gateway routes

Overview

This PR fixes #2837.
Both blob and blobstream modules lack registration for the gRPC Gateway routes, leading to the inability to query endpoints. Let me know if there is anything i need to do to merge this PR.
CI checks require 3 workflows awaiting approval.
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Last approval is remaining from @rootulp. Remaining CI checks haven't run yet but i expect there won't be any issue with that.

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (b786b08) 19.70% compared to head (7c0ce1e) 19.16%.
Report is 28 commits behind head on main.

Files
Patch %
Lines

x/blob/module.go
0.00%
3 Missing :warning:

x/blobstream/module.go
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2838      +/-   ##
==========================================
- Coverage   19.70%   19.16%   -0.54%
==========================================
  Files         139      142       +3
  Lines       17005    17291     +286
==========================================
- Hits         3350     3313      -37
- Misses      13333    13676     +343
+ Partials      322      302      -20

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

The CI test has failed due to the TestMaxTotalBlobSizeSuite. Is there a potential resolution in #2834?


Add a Gitter chat badge to README.md

twitter/finatra now has a Chat Room on Gitter
@cacoco has just created a chat room. You can visit it here: https://gitter.im/twitter/finatra.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Already done manually.


Fixed issue with initializer

I have updated the PR for the Swift 3 version. Unfortunately it doesn't seem like I can add unit tests to recreate the issue (at least without a significant refactor).
Here are the steps to reproduce:

Schedule > 60 notifications so some get stored in the queue. For these notifications don't set either the sound or the alert action properties
Save the queue/force quit the app so the singleton ABNQueue gets deallocated
Restart the app which triggers the load() and does NSKeyedUnarchiver.unarchiveObject
@objc convenience public required init?(coder aDecoder: NSCoder) should then get called for each notification

Anything without a sound or alert action will fail the guard statement in that method and not be put into the queue

I managed to reproduce the issue after @StevenArmandLee filed #13. This issue made me change the structure of init?(coder aDecoder: NSCoder) by making use of multiple guard statements instead of a long one which makes it easier to debug.
I also set the value of the soundName attribute in schedule(fireDate date: Date) to be the sound name of the UILocalNotification associated with each ABNotification. We don't have to worry about it anymore.
Now the question is, is it better to set a default value to the alertAction attribute or keep it as nil if not set. What do you think?

I think it's better to set a default value to the alert alertAction

Glad to hear!
I'd say to support nil after looking at Apple's documentation (https://developer.apple.com/reference/uikit/uilocalnotification/1616648-alertaction). If we schedule it as nil it will default to "View" in the proper localized form. So if we allow nil then if Apple changes it, the library won't have to be updated to match.