Attributes and physical groups setting, some parmesh and metis bug

Dear developers,
I have just started to use mfem for electromagnetism (wave equation in frequency domain is what i need). I try to simulate 3D optical fiber which is consist of core and cladding volumes with different refractive index. Geometry consist of two coaxial cylinders of different radius.
In Gmsh I specified 5 physical domains:

core
cladding
surface of cladding (i need it for boundary conditions)
4 and 5) two ports on the base of cylinders (i need it for boundary conditions)

I try to use ex3 as a solver and ex2 as an example how to work with physical domains, but i still do not understand many things.
A)
Am I right that in mfem physical domains are called attributes? I called
mesh->attributes.Max()
but it said I have only 1, but in .msh file I have 5 physical domains. (attachment)
How can I set boundary conditions?
B)
I tested parallel version for my .msh file and it gives Metis error. Glvis visualize .msh file correct.
`METIS Error: A contiguous partition is requested for a non-contiguous input graph.
Mesh::GeneratePartitioning:  error in METIS_PartGraphKway!
`
Could you please give me advice about it.
BR,
Denis
mesh.tar.gz

Hi Denis,
It looks like the file 2cylinders.step is missing, and is required to define the geometry in Gmsh. This means I can't regenerate your mesh with different physical domains to debug, so I can only speculate about the issues.
(A) Yes, the concept of "physical domains" in Gmsh maps to "attributes" in MFEM. Note that the attribute numbers in MFEM have to be strictly positive, and by default Gmsh starts numbering from zero, so this can cause issues.
I would suggest assigning specific numbers to the domains in Gmsh, e.g.
Physical Volume("core", 1) = {1};
Physical Volume("cladding", 2) = {2};

(the names you assign will not be used in MFEM).
This should result in the "core" mesh elements having attribute 1, and the "cladding" mesh elements having attribute 2.
For boundary conditions, instead of mesh->attributes, you should look at mesh->bdr_attributes, which are the attributes assigned to the boundary elements. You should be able to do something like
Physical Surface("port1", 1) = {5};
Physical Surface("port2", 2) = {6};
Physical Surface("side", 3) = {4};

This should give different boundary attributes to the boundary elements in the different physical domains.
(B) Again, I can only speculate about this error. Could it be that your mesh is not contiguous i.e. perhaps two of the domains are not topologically connected?

Hi pazner,
thank you, now become more clear.
Please find .step file in attachment.
I did not understand why it could be topologically not connected.
Denis
mesh.tar.gz
Uploading mesh.tar.gz…

I still can't generate the mesh (using the latest version of gmsh). However, it does look like the mesh isn't properly connected. The meshes of the two cylinders do not match. See the attached screenshot. It looks like the resulting mesh consists of two intersecting cylinders, which are topologically not contiguous.

Application created two independent meshes for two cylinders?
I have not found topology setting, could you please explain how can I fix it?

As @pazner noted, METIS_PartGraphKway error means that the mesh are not all connected together as one piece.
The STEP file has two cylinders. The inner one is just sitting inside the outer one position-wise, but there is no relationship between them. In other words, the cladding and core are not sharing the surface.
For such a geometry, GMSH makes a two mesh one for each cylinder without connecting them.
One way to fix it is to take the boolean fragmentation of geometry in GMSH. Here is an example to do the job using GMSH Python interface.
import gmsh

gmsh.initialize()

# make text output to Terminal
gmsh.option.setNumber("General.Terminal", 1)

# load STEP and synchronize
gmsh.model.occ.importShapes('2cylinders.step')
gmsh.model.occ.synchronize()
ents = gmsh.model.getEntities()
print("entities", ents)

# Fragmentation to split goemetry and transfer
ent3D = gmsh.model.getEntities(3)
gmsh.model.occ.fragment(ent3D[:1], ent3D[1:],
                        removeObject=True, removeTool=True)
gmsh.model.occ.synchronize()

gmsh.model.setVisibility(ents, True, recursive = True)

# Make physcal groups
for k, dimtag in enumerate(gmsh.model.getEntities(3)):
    value = gmsh.model.addPhysicalGroup(3, [dimtag[1]], tag=dimtag[1])
    gmsh.model.setPhysicalName(3, value, 'volume'+str(value))

for k, dimtag in enumerate(gmsh.model.getEntities(2)):
    value = gmsh.model.addPhysicalGroup(2, [dimtag[1]], tag=dimtag[1])
    gmsh.model.setPhysicalName(2, value, 'surface'+str(value))

# Set mesh size
gmsh.option.setNumber("Mesh.CharacteristicLengthMax", 0.1)
gmsh.option.setNumber("Mesh.CharacteristicLengthMin", 0.05)
gmsh.option.setNumber("Mesh.CharacteristicLengthExtendFromBoundary", 1)

gmsh.model.mesh.generate(1)
gmsh.model.mesh.generate(2)
gmsh.model.mesh.generate(3)

# Save file in 2.2 format, although new MFEM may read a newer format
gmsh.option.setNumber("Mesh.MshFileVersion", 2.2)
gmsh.write('out.msh')

Thank you very much sshiraiwa,
great, it works!


Fix typos and update text for member attributes

Some code fragments did not use the new providing... syntax
There were some smaller typos
Text in 'Member attributes macros' did not match the new macro invocation model

@DougGregor There were some inconsistencies in the text. I have tried to fix them. I hope this is OK.


Add a navigation bar that links to each of the data sections in NepalMap

Wazimap South Africa has a nice bar across the top that links to each of the subject areas in Wazimap. See https://wazimap.co.za/profiles/country-ZA-south-africa/
Figure out how to do this for NepalMap and update NepalMap so that it has a subject navigation bar at the top.

@pratimakandel - would you be interested in looking into this, please if you have time?

@arlexgole offered a prototype for #243 that includes navigation on the left side. See https://github.com/Code4Nepal/nepalmap_app/issues/243#issuecomment-463049728


Feature/empty states pattern

Description

New design pattern with demo under Docs > Design Patterns > Empty State
closes https://github.com/Teradata/covalent/issues/968

What's included?

New Design Pattern view in docs
New Stackblitz demo

Test Steps

[ ] switch to feature/empty-state branch
[ ] ng serve
[ ] view http://localhost:4200/#/design-patterns/empty-states
[ ] verify stackblitz example loads and check responsive UI
[ ] test 'view code' link

General Tests for Every PR

[ ] ng serve --aot still works.
[ ] npm run lint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build still works.

Screenshots or link to StackBlitz/Plunker

 Empty States Design Pattern


Deploying to production environment not working as expected

Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.
Are you accessing the CLI from the default port :4280 ?

[ ] No, I am using a different port number (--port) and accessing the CLI from that port
[ ] Yes, I am accessing the CLI from port :4280
[x] Yes, default port, but I'm not using the port at all

Make sure you are accessing the URL printed in the console when running swa start!

ℹ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly
Describe the bug

✅ Setting no environment with the --env option deploys to preview environment. That's fine.
❌ Setting environment to "Production" deploys to preview environment called "production". NOT fine.
❌ Setting environment to "production" deploys to preview environment called "production". NOT fine.
✅ Only setting environment to "prod" deploys to the production environment. That's fine, but not documented.

To Reproduce
Steps to reproduce the behavior:

Go to your app folder
Type in command 'swa deploy ./dist --env production'
It deploys without problem, but to a preview environment called "production"

Expected behavior
Looking at the documentation, I expect that setting the environment to "production" deploys the app to the production environment. I also expect that setting the environment to "Production" produces the same outcome (see #518). I'm fine with using "prod" as environment option, but this should be clearly documented then, otherwise I consider this is a bug, that cost me many hours debugging.
Screenshots
See screenshots in #518
Desktop (please complete the following information):

OS: Docker image node
Version: lts-bullseye

Hi @rinukkusu, I tried to reproduce the issue with the following commands:

swa deploy --env production
swa deploy --env Production
swa deploy --env myEnv

The first and second commands deployed to:  purple-mud-05975d71e.3.azurestaticapps.net
And the third one deployed to: https://purple-mud-05975d71e-myenv.westus2.3.azurestaticapps.net
So could you check if your cli version is 1.1.6 (the latest release)? If so, could you kindly provide the logs? Thanks!

In case it helps someone in the future. I experienced a similar issue on both swa cli 1.1.6 and 1.1.7 and the issue was caused by an environmental variable named DEPLOYMENT_ENVIRONMENT that was set to production. That env variable was causing the pipeline to deploy to a preview environment called production. Removing the env variable fixed the issue for me and now I can deploy to production with the --env production flag.

When any value is set for DEPLOYMENT_ENVIRONMENT including production or Production, swa deploy seems to ignore the --env option and deploy to a preview environment named to match the DEPLOYMENT_ENVIRONMENT value.
I'm not sure if this is expected or not, maybe someone can point me to the correct documentation.


CPI 35.5.2 fails on VM Creation for AzureStack

Versions (please add them if you have more releases for this issue)
CPI      Version: 35.5.2
BOSH     Version:
CF       Version:
Diego    Version:
Stemcell
Version:
Distro:

[x] Ubuntu
[ ] CentOS

Environment

Azure Environment:

[ ] Azure
[ ] AzureChinaCloud
[ ] AzureUSGovernment
[ ] AzureGermanCloud
[x] AzureStack

Version:1904

[ ] Others:

Location: (e.g. East US)
Subscription ID:
Resource Group Name: ciag
[ ] Use Managed Disks

Issue Details
VM Creation fails when detecting LB / Public IP´s.
This is a Bosh Deployment using bosh and PCF OpsManager 2.5.5
Logs (Please redact all sensitive information in your logs)
Task 22 | 20:53:19 | Creating missing vms: db/88730cf9-86b3-4d37-a094-2db70884b408 (0) (00:10:25)
Task 22 | 20:54:15 | Creating missing vms: worker/53a66597-e02c-4393-a727-ec6aa43f3c24 (0) (00:11:21)
Task 22 | 20:54:15 | Error: CPI error 'Bosh::Clouds::VMCreationFailed' with message '#<NoMethodError: undefined method `[]' for nil:NilClass>
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/restapi/azure_client.rb:2106:in `parse_public_ip'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/restapi/azure_client.rb:1297:in `get_public_ip'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/restapi/azure_client.rb:1377:in `block in _get_load_balancer'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/restapi/azure_client.rb:1370:in `each'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/restapi/azure_client.rb:1370:in `_get_load_balancer'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/restapi/azure_client.rb:1346:in `get_load_balancer_by_name'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/vms/vm_manager_network.rb:95:in `_get_load_balancer'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/lib/cloud/azure/vms/vm_manager_network.rb:144:in `block in _create_network_interfaces'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb:19:in `execute'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb:170:in `safe_execute'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb:52:in `block in execute'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
/var/vcap/data/packages/bosh_azure_cpi/d9bf7cabf156c4cf52b7cc9f9ae1ac6a21566758/vendor/bundle/ruby/2.4.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'' in 'create_vm' CPI method (CPI request ID: 'cpi-974069')
Repro steps (if necessary, delete otherwise)

Yeah, I see that I messed that up. Fill fix soon.

Fixed in 35.5.3, 36.0.1


Delegate account required

When using AWS Organisations its worth mentioning on this page that another account needs to be delegated as the Identity Center Administration account and the IAM Identity Center is to be enabled on it and the Entra ID SSO setup with that account and not the root management account.
You might know this but those new to setting it up and following the tutorial for the first time will not.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f8e131bf-99d7-a850-a597-ac02b9f6c3a9
Version Independent ID: a27625d3-cf35-ffaf-5734-d1a2bbcdd60c
Content: Tutorial: Microsoft Entra SSO integration with AWS IAM Identity Center (successor to AWS Single Sign-On) - Microsoft Entra ID
Content Source: docs/identity/saas-apps/aws-single-sign-on-tutorial.md
Service: entra-id
Sub-service: saas-apps
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@DandamanAUS
You are correct that when using AWS Organizations, it is recommended to delegate another account as the Identity Center Administration account and enable the IAM Identity Center on it, instead of using the root management account.
This is because the root management account has full access to all AWS services and resources, which can pose a security risk if it is used as the Identity Center Administration account. By delegating another account and enabling the IAM Identity Center on it, you can limit the scope of access and reduce the risk of unauthorized access to your AWS resources.
We value your suggestion to incorporate this detail within the tutorial. I've delegated this to content author @jeevansd, who will review it and offer their insightful opinions.

@jeevansd
Please review it and update as appropriate.

@jeevansd @v-hgampala We are migrating all GitHub issues to ADO as we switch our feedback mechanism to UUF. Please either address the issue, or close and track it in ADO no later than June 10, 2024. Thank you.

we are working on the issue, will reflect the changes into the main article soon.
#please-close


[Tabs] Allow users to assign IDs to tabs

Bug, feature request, or proposal:
proposal
What is the expected behavior?
Let the user define some "id" for the tab, to identify, outside the tab container, which tab is currently selected. Please note that this id may not necessarily be a substitute to the "selectedIndex" property, but some aditional content to identify which tab is currently selected.
What is the current behavior?
Today we can only know which tab is selected using the selectedIndex of md-tab-group, which is not really safe as the content of the tab may be changed and the index changes within it
What are the steps to reproduce?
Plunker
What is the use-case or motivation for changing an existing behavior?
This is linked to #4135. The "workaround" that I found to use a "fixed" content relative to the current selected tab is to render the fixed element outside the tab-group and use the selectedIndex to show it.
Which versions of Angular, Material, OS, browsers are affected?
2.0.0-beta.3

This would be great to have that because if you protect your tab with ngIf the index is not always the Same.
The id property should be provided in the current available events.

This would definitely be useful when programmatically setting the tab.

i also want set the tab programmatically +1

@finalxcode I am not saying it is a great solution but I have been programmatically selecting based on index.

I need this for e2e Tests

Very valid request!

any update guys?. I need this feature. it helps us to fix the e2e pipeline

Is there any progress on this feature request?

Is there any progress on this feature request?

e2e testing is a nightmare because of this. I feel like I'm better off not using material components.

This issue is already 3 years old. Common guys, just make it happen already...

Would be nice indeed to be able to add some, for example, data-testid attributes to the DOM

Yeah, we need to be able to add some sort of attributes here, just ran into this now...

Letting developers set an id for tab would be great.
IMHO, it should be an id, not some data-tabid or other custom attribute, as it might not fit all use cases. And "rewriting the default AM id" practice exists already for other components (like select).
In our case, for Tag Manager triggers, having an id on a mat-tab would be ideal.

While a bit hacky, the label property of mat tab can be used for an ID that can be accessed in the MatTabChangeEvent as event.tab.textLabel
The actual visible label can be set using ng-template with mat-tab-label directive.

While a bit hacky, the label property of mat tab can be used as ID that can be accessed in the MatTabChangeEvent as event.tab.textLabel
The actual visible label can be set using ng-template with mat-tab-label directive.

Thanks for the tip, this works fine
Just adding the sample :
component.html:
    <!-- label are used to identify tab in component.ts, actual text is overwritten by mat-tab-label directive -->
    <mat-tab class="tab-content" [label]="'search'">
      <ng-template mat-tab-label>
        My Tab Label
      </ng-template>
    </mat-tab>

component.ts:
    tabChange(tabChange: MatTabChangeEvent): void {
        /* IF tab is search
         * We are forced to filter on textLabel because index is not reliable
         * (it changes if user does not have access to other tabs for example) */
        if (tabChange?.tab?.textLabel === 'search') {

It's 2023 and there is still no answer for this that won't break on version updates?

I was able to get the attribute 'aria-label' to give to mat-tab. I had to use this attr like id.
[aria-label]="childSection.id"
Then i got element from document with query selector.

Hello, this issue just landed on my radar and before I go ahead and rush into implementing this I wanted to get a better idea of what the desired use case is. For example, if the id is only were only for testing purposes (I'm aware it's not) I'd recommend using component harnesses which would provide a much better experience
Stackblitz examples of what is trying to be accomplished would also be very much appreciated! It would give me something tangible to really test against

The most  obvious use case is probably to be able to link to a specific tab, say, using a URI #fragment. (Or various similar cases, e.g. storing the tab ID in localstorage and being able to recreate the UI when the user returns).

Literally need this at my job. I am working on a change for this and pushing a PR soon enough.

How do i get permissions to push a PR?

I've got a solution on how to add the IDs programmatically, use inspection mode to see the IDs set
Hope someone finds this useful

https://stackblitz.com/edit/kingsbury-angular-w-material-c8jswn?file=src%2Fapp%2Fcustomers%2Fcustomers.component.ts

any progress on this one

Dear Angular team, please provide a solution for this. It'a huge issue for using dynamic tabs - requiring strange workarounds or making it even impossible to use material tabs. Please fix!

useful for e2e tests


[tinkerforge] add new port

UWP errors are caused by calls to functions from libloaderapi.h which is not supported in that platform, e.g.:
error LNK2019: unresolved external symbol GetModuleHandleA referenced in function gettimeofday

So it makes sense to explicitly fail for UWP.

@vicroms: What is the standarized way to early abort in the portfile or message those errors to the user? I couldn't find any detail in the docs about this (maybe that is also worth another issue?).
Maybe something like:
if(VCPKG_TARGET_IS_UWP)
      vcpkg_abort_unsupported()
endif()

with default error message like:
"${PORT} currently does not support building on ${TARGET}"

Thanks for the PR!

hmm wasn't this still PR still in Draft mode? I was just busy with fixing Qt.
please add advapi32.lib and Threads::Threads to the target_link_libraries call as an interface library
see: https://www.tinkerforge.com/en/doc/Software/API_Bindings_C.html#api-bindings-c


Make Table handle seat numbers

It would be nice if seat numbers don't need to be passed into the player constructor. We could alternatively use Accessors.jl in the Table constructor to set the seat numbers.

I think we can close this, seat numbers are now verified inside Players


Please add our CVPR 2023 paper on backbone design

Title: Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networks
Paper: https://arxiv.org/abs/2303.03667
Code: https://github.com/JierunChen/FasterNet

Received,thanks


Bump minimatch and minimist

Description
Changes proposed in this pull request:

Bump minimatch and minimist

Related issue(s)

/test all


VScode remains pending and geets GDB Killed in debug mode

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

VS Code Version: 1.81.0
OS Version: Windows 11

I have a problem at launching VScode in debug mode.
I am using Windows 11 and WSL to debug a C++ application. It does contain debug symbols, I can use GDB from the WSL command line with no problems. I can also debug "Hello, World!" from VScode with no problem.
When I launch my application in debug mode, VScode remains pending for some minutes and then gives the following error from the VScode Debug console
The program  '/path/to/executable/executableWithDebugSymbols' has exited with code -1 (0xffffffff).

and the following error from the VScode terminal
Killed
[1] + Killed                     "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-sn05zyct.ioa" 1>"/tmp/Microsoft-MIEngine-Out-uesxpqcr.3at"

So I tried to launch GDB from the WSL command line with the same VScode arguments, that is "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-sn05zyct.ioa" 1>"/tmp/Microsoft-MIEngine-Out-uesxpqcr.3at".
So the third argument 0<"/tmp/Microsoft-MIEngine-In-sn05zyct.zsy" is giving me a non-existent file/folder error, so I simply get rid of it. Then I launched
/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 1>"/tmp/Microsoft-MIEngine-Out-uesxpqcr.pad

And I have found that the problematic argument is exactly 1>"/tmp/Microsoft-MIEngine-Out-uesxpqcr.pad. It seems that VScode is struggling to access/write inside the WSL /tmp/ folder.
Do you have any idea on how to solve this problem?

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.81.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I verified that I indeed have the 1.91.0 verion installed

Please file this on the C++ extension repo, thanks


move background mode icon to same place as write-protected icon

after https://github.com/larshp/abapGit/issues/386

I can have a look.
Not sure that understood "move" :)
Do you mean showing the icon if it has BG job ? Or do you mean removing BG group from the TOC (not sure that it is a good idea, or it should be replaced with some other marker e.g. color coding)
Is there an call to check if the repo has BG task ? Or should I just read repoID from bg_persistence to check it ?

Moving it away from the TOC, so the TOC only has online/offline icons

Mmm, arguable. How do I see the repos with bg enabled from the list ? There should be some other indication. I'll think on it. Maybe color coding or some special symbol somewhere - some kind of superscript "bg" should look fine I guess.

well, it is a decision, how do I see the repos with write protection enabled?
I think we should keep the TOC clean, and then add icons alongside the lock icon to indicate enabled features

"...I think we should keep the TOC clean...". I agree. I also didn't like that BG line frankly.
WP and BG indications: well, they are different imho. WP question raises on the repo level (Can I pull ?), BG question sounds as "Do I have ANY background tasks?" - and this is not answered by UI unless you go through all repos - not good (or maybe I don't understand the pattern of usage - I don't use bg feature honestly ;)
So what I propose: in TOC do it like this

or this (I prefer)

In repo as you suggested. But I'd suggest letters (below) because icon is not clear - it is for refresh more than for bg job (or another one should be used, this icon is just not good for bg)

The style is not final - I'll finetune later, but the general idea should be clear.

above looks good to me

Closing.
There is some space for unification (visual) of these attributes. Maybe will spend some time on that later


How to add product metafield data

I've added rich text custom data to my products, labeled 'included'. product.metafields.custom.included - how do I add this into my product data on the frontend?

I just actually did this in our custom implementation. You can read how to do it here:
How To Create and Use Shopify Metafields in Next.js Commerce

Thanks @osseonews!


[lint,spi_device] Fix various Verilator lint issues in SPI device

CI timed out, but I don't think this is due to the changes in this PR.

Rebase onto main

All CI checks except AscentLint (kokoro) have passed. The failures in the AscentLint check are spurious and not related to the changes in this PR. Merging


ALTSHIFT doesn't work with TAB

I tried bind=ALTSHIFT,TAB,workspace,m-1, but it won't work as it sees a shifted tab as as different character than tab itself. I woudn't know as what though.

please read the wiki, you can use xev or wev to get live keystroke details.

I'm sorry, should've done better research.


Ant media server set up

I don't know whether i set up the ant media server correctly or not.

Issues tab will be closed for this project. Please submit your issues on https://github.com/ant-media/Ant-Media-Server


[Feature] : Loop control statements, break and continue

file : src/runtime/eval/statements.ts, on eval_loop method.
break : this keyword will stop kin's loop.
continue : this keyword will skip current iteration and go to the next one.

5/8

We'll start to work on this once #146 is resolved.

We'll use these keyworks for continue and break in kin as per @ndungtse in https://github.com/kin-lang/kin/discussions/146#discussioncomment-10038232

Continue will be worked on in #161


Update aspnet50/aspnetcore50 => dnx50/dnxcore50.

Prepping to be merged once ready.

Hi @NTaylorMullen, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Taylor Mullen). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla2.msopentech.com.

TTYL, MSOTBOT;

Assuming will need to do more work here for core50

:shipit:


Course stats: order search results so that selected courses stay visible and first in list

Selected courses should stay on top of the list even if the search attributes change. Now if the search attributes change the selected courses will disappear from the list

Alternative solution implemented


ENCODE_FOR_URI

@greenBene and cc @joka921 I think it would be a great continuation of your #1116 to implement the ENCODE_FOR_URI. Boost now has a URL class (it didn't have for the longest time), which (I think) provides this functionality. We should use the occasion to check whether the UrlParser in https://github.com/ad-freiburg/qlever/tree/master/src/util/http shouldn't be replaced by functionality from Boost.

Hi Hannah, ENCODE_FOR_URI sounds interesting and I´d like to give it a try! @joka921also suggested the implementation of the hash functions (https://www.w3.org/TR/sparql11-query/#func-hash) as a next step. Do you have any preference what I should prioritize?

Okay! :) I'll start working on it next week! Thank you both!


create new codec type for signed 8bit integers

Any follow ups?
Please review #94 before this one.
Description
This PR adds a new codec type for encode/decode signed 8bit integers.
Why?
Refactoring codec.
How?

Create new CodecI8 class.
Create its tests for encoding/decoding values

Testing Plan
Run dart test on polkadart_scale_codec package folder

Awesome PR btw. Size is perfect, reviewed in 2 mins


documentation, del_catalog

Hello,
Documentation of this function don't use this function https://www.vertica.com/python/documentation_last/vdataframe/main-methods/del_catalog/index.php
Regards,
Alexandre

Thanks for reporting this error, it will be soon corrected.


forceLocationManager = true may still default to fused location

When setting forceLocationManager: true in AndroidSettings, geolocator may still request fused location provider.
The reason: LocationManagerClient calls LocationManager.getBestProvider() in order to get an appropriate location provider. This method may return LocationManager.FUSED_PROVIDER on certain devices (in my case Samsung A13, Android 12).
There should be a way to force usage of LocationManager.GPS_PROVIDER if network location is not desired. Suggestion: Don't call LocationManager.getBestProvider(), but always use LocationManager.GPS_PROVIDER, when forceLocationManager is set to true.

Hi @jbxbergdev ,
Thank you for filing this issue and putting some time and trust into this plugin. Unfortunately I think you are a misguided by the naming of the different providers and classes.
The LocationManager.FUSED_PROVIDER (introduces in Android API 31) only relies on the LocationManager and has no relation with Google Play Services. Specifying the LocationManager.FUSED_PROVIDER will instruct Android (or the LocationManager class) to combine all other available providers to get to the most optimal (battery consumption vs. accuracy) location result.
Personally (I am unable to find information to back this up) I think the LocationManager.FUSED_PROVIDER is introduced to meet all those users that cannot use Google Play Services (e.g. in countries where it is disabled or forbidden) and still provide similar benefits.
The FusedLocationProviderClient comes with Google Play Services but relies on the LocationManager API. The implementation however (before LocationManager.FUSED_PROVIDER was introduced) had significant benefits on the power consumption of the device. It also added additional features, such as auto resolution when the location services are disabled (this is not supported by the LocationManager class.
I will close this issue for now, as I truly feel the current solution is correct. However I am open for more feedback since the Android documentation is not very clear on the differences.

@mvanbeusekom the motivation behind my request was actually not the relation to Google Play services, but that my app needs to use location strictly from GNSS. Fused location also takes wifi and cellular networks into consideration.
So, it should be possible to force usage of GPS_PROVIDER.
We used to use a fork of your repo, I'd be happy to submit a PR.

Hi @jbxbergdev,
That makes sense, however in that case I would prefer an option where the user can specify an explicit provider and not always use the LocationManager.GPS_PROVIDER just because the forceLocationManager == true.
Maybe we can add optional additional parameters to the AndroidSettings class allowing overriding the provider in case the forceLocationManager is set to true. If no parameters are supplied the geolocator works as it works now (using getBestProvider().
If you could submit a PR that would be great.


Links in "See also" section are broken or go to wrong place

Two of the four links in the "See also" section are broken or go to the wrong place.  The 3rd link, "Deploying SQL Server 2016 PowerPivot and Power View in SharePoint 2016" is broken - it displays a 404 Page not found error.  The 4th link, "Deploying SQL Server 2016 PowerPivot and Power View in a Multi-Tier SharePoint 2016 Farm" takes you to a very generic page entitled, "Install SQL Server Business Intelligence Features" which does not talk about multi-tier SharePoint 2016 farm at all.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1a4cc69b-80e7-c15c-b921-9132552639e9
Version Independent ID: ea9b2f81-eec8-4c7e-e288-0c57d0952267
Content: Software requirements for business intelligence in SharePoint Server
Content Source: SharePoint/SharePointServer/administration/software-requirements-for-business-intelligence.md
Product: sharepoint-server-itpro
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@mcox13579  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@mcox13579 Thanks for pointing this out and helping improve MS Docs. I'll have a look and get it sorted soonest.

@mcox13579 Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Pip install does not add the utils directory

When installing this package (v2.0.1) via pip, the utils directory is not created and py_canoe won't work. I had to add it manually.

this issue resolved in latest version.
please upgrade package to 2.0.2 version.
https://pypi.org/project/py_canoe/2.0.2/


Update turbomole updater class

Updates turbomole updater (half sorts issue #227) to:

check the coordinate units (although fractional coordinates not implemented because complex, and unnecessary - an error is implemented if this comes up)

coordinate section placement in file is not hardcoded.

This actually handles all of issue #227 because there is no PDB updater.


Remove Mosaic Assistant

This PR addresses Issue #385.
Mosaic ML seems to have removed or deprecated their REST API. As a result, including this assistant was causing tests to fail (see the attached issue).
It is not necessary to support deprecated APIs, so this PR removes it from Ragna.

The typing linter seems to fail on GitHub but passes locally for me. I am skeptical that the failure has anything to do with the changes in this PR

The typing linter seems to fail on GitHub but passes locally for me. I am skeptical that the failure has anything to do with the changes in this PR

It has not. See #390.
I'm waiting for one other confirmation that the API is indeed gone. If I have that, the PR is good to go.


Don't Merge! PR real time test for source branch full build

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

Docs Build status updates of commit 3564c15:
:clock10: Full build: the average full build time is 7 min(s) 56 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 3564c15:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

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


QuantizationMethod using and accuracy

Issue Type
Performance
Source
source
MCT Version
1.10.0
OS Platform and Distribution
No response
Python version
No response
Describe the issue
Hello,

When I use mct.target_platform.QuantizationMethod.KMEANS in activation_quantization_method and   weights_quantization_method in int8, the reasult shows: Exception: Found 0 quantizer for target Weights that matches the requested quantization method KMEANS but there should be exactly one.The possible quantizers that were found are []. and for LUT_POT_QUANTIZER&LUT_SYM_QUANTIZER:    raise Exception(msg)
Exception: Look-Up-Table bit configuration has 8 bits, but must be less than 8

so my question is :1, why this error happen? is LUT method can only used for int4 and int2?

2, when I apply resnet50, the accuracy for default is higher that only apply int8, just wondering about the reason or is it because mix precision not only adjust bit width but also quantization methods in each layer?

3, I conclute the the process of mix precision like ：①Gets the float tensor to quantize
②Quantize for each layer.quantizes the float tensor in different bitwidths
③Evaluate the sensitivity (compute_distance_fn, distance_weighting_method, Hessian,etc)
④Candidate configuration for different bit width and method
⑤ILP for the best quantization config
is these right?

sorry for so many question, sincerely waiting for your reply.

Expected behaviour
No response
Code to reproduce the issue
op_qc_8bit = mct.target_platform.OpQuantizationConfig(
        activation_quantization_method=mct.target_platform.QuantizationMethod.SYMMETRIC ,
        weights_quantization_method=mct.target_platform.QuantizationMethod.UNIFORM ,
        activation_n_bits=8,
        weights_n_bits=8,
        weights_per_channel_threshold=True,
        enable_weights_quantization=True,
        enable_activation_quantization=True,
        quantization_preserving = False,#?write by myself
        fixed_scale = None,
        fixed_zero_point = None,
        weights_multiplier_nbits = 8,
        simd_size=32
    )

    my_default_qco= mct.target_platform.QuantizationConfigOptions([op_qc_8bit], base_config=op_qc_8bit)
    my_tp_model= mct.target_platform.TargetPlatformModel(default_qco = my_default_qco, name='default_tp_model')
    my_target_platform_capabilities=mct.target_platform.TargetPlatformCapabilities(tp_model=my_tp_model, name='base', version=None)
    print('my_target_platform_capabilities!!!!!',my_target_platform_capabilities)

    # Run model compression toolkit
    quantized_model, quantization_info = quant.quantize(float_model,
                                                        ml.get_representative_dataset,
                                                        my_target_platform_capabilities,
                                                        config)

Log output
No response

Hi @Ming-Ivy ,
regarding your questions:

LUT Quantization
a. QuantizationMethod.KMEANS will be removed soon in an upcoming PR, so better use either QuantizationMethod.LUT_POT_QUANTIZER or QuantizationMethod.LUT_SYM_QUANTIZER
b. We raise an error for quantizing a weight with 8 bits (when the LUT number of bits is 8), because there's no advantage for LUT in that scenario. Please take a look at our predefined LUT TPC.
Could you supply the code you use to generate the accuracies?
Yes, you are right (this is the high level mixed precision workflow)

regarding your code:
Please create a TPC following existing examples in the MCT TPC library

Hi,
Thank you for your answer,
May I ask what is the "high level" mixed precision workflow?
For my code,I just added 'op_qc_8bit' based on main.py because I want to try no-mix precision with int8 method as:
def quantization_flow(config: Dict) -> Tuple[float, float, QuantInfo, DatasetInfo]:
"""
This function implements the typical workflow when using MCT.
It begins by evaluating the performance of the floating-point model.
Next, the model is compressed using MCT quantization techniques.
Finally, the evaluation process is repeated on the compressed model to assess its performance.
Args:
    config (Dict): Configurations dictionary that contains the settings for the quantization flow

Returns:
    float_results (float): The accuracy of the floating point model
    quant_results (float): The accuracy of the quantized model
    quantization_info (QuantInfo): Information of the model optimization process from MCT
    dataset_info (DatasetInfo): Information about the evaluated dataset
"""

# Find and import the required modules for the models collection library ("model_library")
model_lib_module, quant_module = find_modules(config[MODEL_LIBRARY])
model_lib = importlib.import_module(model_lib_module)
quant = importlib.import_module(quant_module)

# Create a ModelLibrary object that combines the selected pre-trained model with the corresponding performance
# evaluation functionality
ml = model_lib.ModelLib(config)

# Get the floating point model
float_model = ml.get_model()

# Evaluate the float model
float_results, _ = ml.evaluate(float_model)

# Select the target platform capabilities (https://github.com/sony/model_optimization/blob/main/model_compression_toolkit/target_platform_capabilities/README.md)

op_qc_8bit = mct.target_platform.OpQuantizationConfig(
    activation_quantization_method=mct.target_platform.QuantizationMethod.UNIFORM ,
    weights_quantization_method=mct.target_platform.QuantizationMethod.SYMMETRIC ,
    activation_n_bits=8,
    weights_n_bits=8,
    weights_per_channel_threshold=True,
    enable_weights_quantization=True,
    enable_activation_quantization=True,
    quantization_preserving = False,#
    fixed_scale = None,
    fixed_zero_point = None,
    weights_multiplier_nbits = 8,
    simd_size=32
)
op_qc_4bit = mct.target_platform.OpQuantizationConfig(
    activation_quantization_method=mct.target_platform.QuantizationMethod.POWER_OF_TWO,
    weights_quantization_method=mct.target_platform.QuantizationMethod.SYMMETRIC,
    activation_n_bits=8,
    weights_n_bits=4,
    weights_per_channel_threshold=True,
    enable_weights_quantization=True,
    enable_activation_quantization=True,
    quantization_preserving = False,#
    fixed_scale = None,
    fixed_zero_point = None,
    weights_multiplier_nbits = 8,
    simd_size=64
)
op_qc_2bit = mct.target_platform.OpQuantizationConfig(
    activation_quantization_method=mct.target_platform.QuantizationMethod.POWER_OF_TWO,
    weights_quantization_method=mct.target_platform.QuantizationMethod.SYMMETRIC,
    activation_n_bits=8,
    weights_n_bits=2,
    weights_per_channel_threshold=True,
    enable_weights_quantization=True,
    enable_activation_quantization=True,
    quantization_preserving = False,#
    fixed_scale = None,
    fixed_zero_point = None,
    weights_multiplier_nbits = 8,
    simd_size=128
)
#mixed_precision_configuration_options =
mct.target_platform.QuantizationConfigOptions([op_qc_8bit,op_qc_4bit,op_qc_2bit],base_config=op_qc_8bit)

target_platform_cap = quant.get_tpc(config[TARGET_PLATFORM_NAME], config[TARGET_PLATFORM_VERSION])
my_default_qco= mct.target_platform.QuantizationConfigOptions([op_qc_8bit], base_config=op_qc_8bit)
my_tp_model= mct.target_platform.TargetPlatformModel(default_qco = my_default_qco, name='default_tp_model')
my_target_platform_capabilities=mct.target_platform.TargetPlatformCapabilities(tp_model=my_tp_model, name='base', version=None)

# Run model compression toolkit
quantized_model, quantization_info = quant.quantize(float_model,
                                                    ml.get_representative_dataset,
                                                    my_target_platform_capabilities,
                                                    config)

# Evaluate quantized model
quant_results, dataset_info = ml.evaluate(quantized_model)

size_mb = model_size_in_mb(float_model)
size_q_mb = model_size_in_mb(quantized_model)
print(f'Model size!!!: {size_mb:.2f} MB')
print(f'Model after quantization size!!!!!!: {size_q_mb:.2f} MB')
tflite_file_path = '/data1/work/Ming/MCT/model_optimization/tutorials/quick_start/modelqq!.tflite' # Path of exported model
mct.exporter.keras_export_model(model=quantized_model, save_model_path=tflite_file_path,
                                serialization_format=mct.exporter.KerasExportSerializationFormat.TFLITE, quantization_format=mct.exporter.QuantizationFormat.FAKELY_QUANT)
keras_file_path = '/data1/work/Ming/MCT/model_optimization/tutorials/quick_start/modelqq!.h5' # Path of exported model
mct.exporter.keras_export_model(model=quantized_model, save_model_path=keras_file_path)

return float_results, quant_results, quantization_info, dataset_info

By "high level" I meant you described the mixed precision process correctly.
Regrding the TPC:
The default TPC is mixed precision "ready", but it will not activate the mixed precision if you don't ask the MCT to do it (by setting a mixed_precision_config in the CoreConfig, and setting a target_kpi). Therefore, it seems there's no need to edit the TPC.

By "high level" I meant you described the mixed precision process correctly.
Regrding the TPC: The default TPC is mixed precision "ready", but it will not activate the mixed precision if you don't ask the MCT to do it (by setting a mixed_precision_config in the CoreConfig, and setting a target_kpi). Therefore, it seems there's no need to edit the TPC.

Hi,
Thank you for your reply o(￣▽￣)ブ
Do you mean that by runing the default main.py, it does not use mix precision method? if so, would you please give me an example about how to activate the mix precision? Thank you so much.

Yes.
The TPC defines the bit-width your hardware supports for quantizing the weights in your model (default: bit-width of 2, 4 or 8 bits), but if you don't define a target KPI for MCT, it will select the maximum bit-width for maximum accuracy.
If you want to apply mixed-precision, here's a simple example notebook. Note the in that notebook, the KPI is to achieve a 25% reduction in parameter size.

Since there haven't been any recent updates or responses, I'm closing this thread. If you encounter any further issues or have additional questions regarding this topic, please feel free to reopen the issue.


[New Feature]: Add a "Rules" page

🎮 feature Request
feature logic and basic description
This rules page will help in understanding the rules of the game, or how to play the game.
Please assign me this issue.
Point down the features
feature points

An option to reach the rules page from home as well as game page
A complete page with rules
List down the rules with good UI.

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Can i work on this isssue?

Could you please assign this #29 feature to me under Gssoc'24? I am looking forward to working on it and contributing to the project's success

I can help you in resolving this issue. I have previously worked in JS and CSS projects.

Hey @sau-mili, can you please assign this issue to me? I have worked in JS a lot recently, using reactjs too. I can help you with this feature.

I am not the owner of the project. I myself wish to do this task.

Hello, I'm a GSSOC'24 contributor
I would like to work on the same. Can you please assign this to me.

I am a contributor of GSSoC 24, I can complete this task if you assign it to me

Hii, I would like to contribute to this task. Please assign me to this issue.


[Admin] Delete option on product edit screen

As an admin, I should be able to delete a product from the product's single view page and then be redirected back to the all products listing page.


Normal_Insignificant_Signed_approved_Jun12_15

Hi @brilliomsinterop, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


docs(website): add link to README & add dev tool icon to playground

Features:

playground in README
show devtool logo

svelte
esbuild
codemirror

Codecov Report

Merging #4 (3ad9dc1) into master (0738796) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   90.58%   90.58%
=======================================
  Files           3        3
  Lines          85       85
  Branches       30       30
=======================================
  Hits           77       77
  Misses          8        8

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 0738796...3ad9dc1. Read the comment docs.


Exception in HostObject::get for prop TrackPlayerModule: com.facebook.react.turbomodule.core.TurboMod ulelnteropUtils$ParsingException

No description provided.

any solutions?

one of many newarch incompatibility duplicates. see https://github.com/doublesymmetry/react-native-track-player/pull/2395 and https://github.com/doublesymmetry/react-native-track-player/issues/2389. please google to reduce SNR


Add edition links to publications

https://trello.com/c/RWL7ppZ6/637-use-draft-links-for-publications
Adds edition links for the publications format.
Depends on https://github.com/alphagov/govuk-content-schemas/pull/567 specifically changes in formats/base_edition_links.json

How is that this is passing when I have a failing spec on master?

Failure:
PublishingApi::PublicationPresenterTest#test_publication_presentation_includes_the_correct_values [/var/govuk/whitehall/test/unit/presenters/publishing_api/publication_presenter_test.rb:79]:
JSON not valid against publication schema: ["The property '#/links' contains additional properties ["roles", "people"] outside of the schema when none are allowed in schema file:///var/govuk/govuk-content-schemas/dist/formats/publication/publisher_v2/schema.json#"]


Realsense Firmware for vslam and nvblox

Hi!
I am planning to use isaac_ros_visual_slam in conjunction with isaac_ros_nvblox, and I'm using the Realsense D435 camera for this setup. However, I've encountered a bit of a dilemma regarding the firmware version compatibility between these two ROS packages and the Realsense camera.
The isaac_ros_visual_slam Troubleshooting Suggestions advise that the firmware of the RealSense camera should be 5.14.0 or newer. This seems straightforward, but there's a conflicting recommendation for isaac_ros_nvblox.
For isaac_ros_nvblox, the documentation indicates it has been tested and found compatible with RealSense camera firmware version <IP_ADDRESS>. More so, there's a specific note in the nvblox examples stating, "The latest RealSense firmware (version 5.14 at the time of publishing) might have issues. Our recommendation is to install exactly version <IP_ADDRESS>".
Given these conflicting recommendations, I'm unsure which firmware version to use for optimal performance and compatibility with both isaac_ros_visual_slam and isaac_ros_nvblox.
Could you provide guidance on which firmware version would be the best choice in this situation?
Thank you!

Hi @ikhann  - I believe we've responded to your Developer Forum thread already, but for the sake of closure on this issue, I'll duplicate our response here:

We suggest to use version <IP_ADDRESS>

Hi @ikhann  - I believe we've responded to your Developer Forum thread already, but for the sake of closure on this issue, I'll duplicate our response here:

We suggest to use version <IP_ADDRESS>

Indeed! Thank you for your help!


Must reduce Firestore cacheSizeByte minimum limit

The minimum Firestore cacheSizeByte is 1Mb, acording to documentation .
This minimum limit must be smaller (50kb) so that we can workaround this serious performance problem issues when querying large collections using persistence (cache enabled).
In my project, the average document size is around 500 bytes. If the cache is 1Mb, it will allow 2000 cached documents, and queries may take around 2 seconds or more.

@yamauchieduardo
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1218. Any further collaboration will be done there.


uninitialized constant Module:0x0055ba7a193270::Integer

Hello,
I'm trying to include dry-types into our small Rails app for constructing some simple models to handle API responses. Basically parse JSON and transform it into actual objects to have an easier way.
I'm trying to get RSpec now to play nicely with this, but keep running into some issues when running the test.

dry-types 0.12.3
rspec-rails 3.8

Basically, I created  simple model like this:
module HiddenApi
  class Answer
    attribute :id, ::Types::Coercible::Integer
    attribute :response_text, ::Types::Strict::String.optional
    attribute :custom_responses, ::Types::Strict::Array.of(::Types::String::String)
  end
end

I have an initializer for Rails, to get the types going:
# config/initializers/dry_types.rb
# Initializer for dry-types.
# Configures the gems to make sure everything is properly loaded and working under the Rails environment.
require 'dry-types'
require 'dry-struct'

module Types
  include ::Dry::Types.module
end

Installed rspec, ran the rails g rspec:install command from the documentation and running pretty much the default configuration.
This is my spec:
require 'spec_helper'

require_relative '../../../config/initializers/dry_types'
require_relative '../../../app/models/hidden/answer'

::RSpec.describe ::Hidden::Answer do
  it 'properly coerces the values for it the id-attribute' do
    answer = described_class.new(id: '1')

    expect(answer.id).to(eql(1))
  end
end

Just wanted to add something basic like this to see it works as expected.
But this tosses me the following error:
An error occurred while loading ./spec/models/hidden/answer_spec.rb.
Failure/Error: attribute :id, ::Types::Coercible::Integer

NameError:
  uninitialized constant #<Module:0x0055ba7a193270>::Integer
# ./app/models/hidden/answer.rb:6:in `<class:Answer>'
# ./app/models/hidden/answer.rb:5:in `<module:Hidden>'
# ./app/models/hidden/answer.rb:4:in `<top (required)>'
# ./spec/models/hidden/answer_spec.rb:4:in `require_relative'
# ./spec/models/hidden/answer_spec.rb:4:in `<top (required)>'
No examples found.

Randomized with seed 662

Top 0 slowest examples (0 seconds, 0.0% of total time):

0 examples, 0 failures, 0 passed

Finished in 0.001762969 seconds

Randomized with seed 662

Process finished with exit code 1
Empty test suite.

I'm obviously missing something, and I can't wrap my head around it.
It's been a while since I set all this up from scratch, and I don't understand what's going wrong.
Followed the documentation for all involved gems as best as I could.

The docs are up to date but they are for version 0.13. See the changelog for changes.


Add or Fix readme (Topic : Computer Science/Engineering)

Add or fix the readme of the topics written in Table of contents.
Whole Section Adding Required
More Info Required

Registers, Cache, and RAM
CPU
Instruction and Program
Programming Language
Statements and Functions

And a lot more left.
You Can :

Add a new section.
Add new info or fix old info.
Fixing grammar and typos are also appreciated.

Recent PR's

#48 @harshkulkarni17
#47 @Sahilrao09
#41 #42 #46 @Elstuhn
#37 @kusumita29
#36 @hitarthraval
#35 @jeremiaaxel
#32 #33 @ishan-im
#31 @AnjumanHasan
#29 @computerwala
#28 @manas6699
#27 @AdarshBajpai67
#25 @mdfaizanahmed786
#24 @lokesh-katari
#21 @umadhatri
#18 @ShivanshDengla
#17 @glenntu15
#14 @Kambo2320
#13 @ZahraShahid
#11 #9 @FercueNat
#10 #8 #7 #5 @mauriallegrettiswnat
#6 @Tetricz
#2 @codewithfan
#4 @Satyajeetbh

⭐
<EMAIL_ADDRESS>

I would like to add to the readme.

Oka. Pull request is merged. Feel free to add more.

Seems like it's still open. I would like to add some more to it. May I?

Sure. Why not!

Hey! can I also help on this? Is the issue still open?

I would like to modify the entry "Registers and RAM" to be "Registers, Cache, and RAM" and write a page or so.  Registers are loaded from cache, cache lines are loaded from RAM, RAM is loaded in Pages.  Cache misses hurt performance as does page faults.  Not go into too much on page faults.  I suggest a separate topic for virtual memory.

Hey! can I also help on this? Is the issue still open?

The issue is still open. And you can help if you want.. Sorry for late reply. @enrique9318

I would like to modify the entry "Registers and RAM" to be "Registers, Cache, and RAM" and write a page or so.  Registers are loaded from cache, cache lines are loaded from RAM, RAM is loaded in Pages.  Cache misses hurt performance as does page faults.  Not go into too much on page faults.  I suggest a separate topic for virtual memory.

@glenntu15 fell free to recommend you suggestions by pull request.

Should I do modify the .md file in a branch then send the pull request so you can look at what I have done?

@glenntu15 Exactly. If it's your first time contributing you can refer to First Contributions.

Greets! I'll be adding some information as well, specifically to the Operating Systems section :)

@FercueNat oka

Hey! I saw a data type section it doesn't contain much info can I add ?

Also, Can I add any subtext below title, so it states, "More info or What is this project about?"

@RohitRajvaidya5 submit your pull request. Lot's of section have only introduction level info.

Also, Can I add any subtext below title, so it states, "More info or What is this project about?"

@RohitRajvaidya5 you can.

I would like to contribute to readme.

@ZahraShahid . Oka.

Hey @shhossain I would like to add a new folder on conditional statements and loops as they are much needed in problem-solving. I will make sure to cover it in all 4 languages - Python, Java, C, and C++ with an adequate amount of examples.

@kusumita29 as conditional statements and loops are subsection of statements and functions you can add it with folder name as same as section name. Be sure to link your folder in main readme. If you have any problem ask me anytime.

@kusumita29 as conditional statements and loops are subsection of statements and functions you can add it with folder name as same as section name. Be sure to link your folder in main readme. If you have any problem ask me anytime.

Thank You. I would like to work on it under Hacktoberfest '22 and will make the PR within a week.

@kusumita29 oka...

Hey,
i could add about binary numbers to the readme, can i try to do it?

@ShivanshDengla you can.

Hey i made a pull request, do let me know if theres any mistakes, i'll correct them. #18

Checking.

Hey is this repository under hacktober?

@ShivanshDengla i am sure.

@ShivanshDengla i am sure.

oh ok, #18 is there any problem in that?

@ShivanshDengla Check comment in #18 . As binary already in number system with definition.

Hi @shhossain I would like to add files related to algorithms under hacktoberfest
can I do so by forking the repo and thereafter generating a pull request?

@apoorva1823000 Just like that.
Fork, Add changes, and Pull request.

Added a folder
If you like the work, kindly accept the PR so that I can add a few more algorithms that I am aware of

@apoorva1823000 check the requested changes.

Can I just make a PR to add to the issue? Or do I need to be assigned the issue?

You can make a PR if you want to add something new to this repository. No need to create an issue beforehand.

Oh, cool! Will make a PR!

hey i would like to add a section about time complexity and its importance in programming

@AdarshBajpai67 there is already a time complexity section under algorithms.

i want to add time and space complexities for different searching and sorting algorithms

@AdarshBajpai67 submit your PR. I it's appropriate I will merge it.

i have submitted the pr, please review it

sir can you please add hackoberfest accepted in my pr/mr

@AdarshBajpai67 you can submit a PR. If its quality it good then it will be labeled as "hacktoberfest-accepted".

Hey!
I want to add visualizations for data structures like array, stack etc.
Can I work on that?

@AnjumanHasan sure.

@AdarshBajpai67 you can submit a PR. If its quality is good then it will be labeled as "hacktoberfest-accepted".

so can you suggest me something i can help
or its just i can make better changes in readme file

@AdarshBajpai67 you must add +300 line before considering "hacktoberfest-accepted". So, you can add a new section.

@shhossain  would like to add more sorting algorithms to Sorting section like Swap Sort, Count Sort which are frequently used.

@Naprila oka.

@kusumita29 as conditional statements and loops are subsections of statements and functions you can add with folder name as same as section name. And add conditional statements and loops folder there. Be sure to link your folder in the main readme. If you have any problem ask me anytime.

@shhossain I have created a PR for the same. Kindly check and let me know if it's okay.

@kusumita29 already merged...

@shhossain I was thinking of adding about functions under the Statements and Functions folder and creating a new folder about OOPs with some examples about how it works. Should I go ahead?

@kusumita29 functions are fine. But I am not sure about OOP. Which section OOP derived from in toc? Or should add a new section for it?

I

@kusumita29 functions are fine. But I am not sure about OOP. Which section OOP derived from in toc? Or should add a new section for it?

I was thinking about adding a new section @shhossain

hi , added my pr please ensure to merge

@kusumita29 Ok try adding. I am really in need of an moderator. Getting lots of PR 24/7...

@rishiwardhan you closed your PR.

@shhossain Can I still contribute in this?

@nikhilmaurya26 yes. Their lots of topics left.

Hi @shhossain I was thinking to describe and discuss the Travelling Salesman Problem on the Algorithm topic... Can I do it and open a PR? Thanks!

@SamuelBFavarin yes you can.

Hi @shhossain , I would like to add a section for "computer and latency ".

@KimtVak8143 It's a subsection of Computer Network. Don't you think?

Can I add some information on Machine Learning?

I wanted to add information related to Cloud Security in cloud computing.

@shhossain I would love to contribute more information along with examples towards the binary tree sub- section under the data structure section.

Hi, @shhossain I would like to contribute more information regarding protocols in the networking section or more problems under greedy algorithms.

@rohit172001-eng sure.

@shhossain Can i contribute to this?

@avinilcode yes you can.

@shhossain  Can I contribute to the  README file by adding Splay tree to the Tree Section in Data Structure.

@Mihir20K sure

@shhossain I have raised PR, please review it.

@avinilcode already merged.

@shhossain Thanks, I have raised one more PR, please review it.

I have raised PR #215 . Kindly review it. Thanks.

Hi @shhossain! I have added some content in the readme file. Here is a link to my PR https://github.com/shhossain/computer_science/pull/231. This is my first time contributing to open source projects! 😄

@pranavyatnalkar congratulations.

Hi @shhossain, I would like to contribute to README file by adding another section for web 3.0 including its comparison with web 2.0 and the iterations of world wide web.

Hi @shhossain, I have added to readme file of Statements and Functions. Here is a link to my PR https://github.com/shhossain/computer_science/pull/235

@pranavyatnalkar merged.

Hey @shhossain, raised another PR https://github.com/shhossain/computer_science/pull/236. Added content to Statements.

Hi @shhossain added a new file for Instruction Set in this PR https://github.com/shhossain/computer_science/pull/237

@shhossain Can i contribute to this?

@srajan-kiyotaka yes you can.

Hello, I would like to contribute to Nodejs and Javascript please allow me

@farhanpro what do you want to add?

hey, I would like to contribute in algorithms part ,mainly reverse sort ,engineering reverse sort algorithms .
can I ?

@sharvarii11 yes.

@shhossain  please assign me this issue.

Hey, I would like to contribute in this issue, is it still open?

@JaiMehrotra02 yes. It is still open. You can contribute.

okay sure

Hi @shhossain  I want to add more explanation to ACID properties in DBMS. What are they, why they are needed and which databases(popular ones) are compliance to those as of now, can I work on this?

@codeMehtab yes.

@shhossain Please review this PR #557

@codeMehtab Already merged.

Hey, is this repository active for hacktoberfest? I would like to update a few points 😄

@SamuelBFavarin hacktoberfest already ended today. You can still contribute to this repo.

I believe today is the last day, so I might still have a chance 😅
Probably a silly question - Do I just update the main README.md? or do I have to update the sub-folder README.md first?

@SamuelBFavarin depends on what you want to change. Submit your Pull request if any problem arise ask me.

I've created a PR @shhossain 😊

Just sent a PR for a polished up OOP section @shhossain 😄

@SamuelBFavarin merged two prs.
For any questions ask me.

Just sent a PR on the Data Structures/arrays section @shhossain 😊
I really appreciate your work here!

@SamuelBFavarin already merged.

Just sent in my last PR for today @shhossain,
Changed a couple of points in HashTable.md.
Thanks for accepting them so far! 🙌

@Sayed-Afnan-Khazi you're welcome.

i will have created a pull request for grammar fixes, editorial errors on the readme and some documentations on the Data Structure section.
@shhossain approve.. thank you..

I will add more info to the Cache section

hey , can I add some sections to DBMS and Networking ? IS it still open ?

I would like to add some sections to DBMS and Networking , can I ? Is it still open?

@satya013 it is still open.

Hello, I just saw that there are some missing datatypes under the Data Types/readme.md . Can I edit it?

Hello, I just saw that there are some missing datatypes under the Data Types/readme.md . Can I edit it? Ps: The concept of signed and unsigned is missing, and their respective ranges

@shhossain  ?

@ZRX-SIGMA sure.

#651
Added the web error codes
and added three js in the web README.md
@shhossain hope it suits the need
Thanks

https://github.com/shhossain/computer_science/pull/741
Added description of a register
and, fixed typo
@shhossain Please review PR :)

Hi, is this still open to work on?

Yes. @shaanrxx

@shhossain thanks will contribute!

I have some good topics to add to the  readme if permitted

@farhanpro fell free to contribute.

Hello, I would like to add some documentation and examples that go over string slicing.

I would like to add these Algorithms/tricks to the project , I am a student and new to open source - would need guidance.

Tree Algorithms ( /Algorithms/Graphs/Tree Based Algorithms ) :

Diameter finding algorithm
Least Common Ancestor + Binary Lifting

Binary Exponentiation and Matrix Exponentiation (/Algorithms/Divide and Conquer)

fix edge paths ( ( /Algorithms/Graphs)
(involves matrix exponentiation over adjacency matrix)

@enrique9318

i guess u have to wait till October

@ARUNKUMAR-AZ sure


Improve diagnosibility of error message for channel authentication

For quicker diagnostics it is better for channel authentication failure message to contain underlying error code early in the message.

some code improvements.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5346/
Test FAILed.

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5355/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5356/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5375/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5379/
Test PASSed.

alluxio-bot, merge this please.


Timesheet - 23/06/2021 - Chrisha M. Canete

Task 1
Making and paying the June 20-21, 2021-TNB-Core Team Payment Calculation and other late payment,
Proof of Work

https://docs.google.com/spreadsheets/d/1ddJNip3g0V1D40fnEVHISDG3p4vixF7qckVSrfdYPa0/edit#gid=0
https://docs.google.com/spreadsheets/d/12g1QaMkOFZzHimLk3sWbqf2wutgBxFz-P9q47bm-rv4/edit#gid=0

Time Spent
4 hours

Task 2
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Proof of Work

http://example.com/

Time Spent
5 hours

Total Time Spent
hours
Account Number
7053f27870d388b0bca4149fe72765172c3e6d1b4ffc7cd0149a296cbefe8f57

@Chrisha1212, I know this isn't tagged "ready for review", but often they aren't anyway. Could you remove task 2 and update the total hours?

@Chrisha1212, I know this isn't tagged "ready for review", but often they aren't anyway. Could you remove task 2 and update the total hours?

Sure


Link to plugins list from introduction

Added a link to the plugins list from the introduction.

@scott-ln Can you accept CLA?

@scott-ln Can you accept CLA?

Yes, done.


support decorators altering return type of method

TypeScript Version:
nightly (1.9.0-dev.20160217)
Code
function wrap<T, U>(wrapper: (arg: T) => U) {
    return function(target: Object, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => T>) {
        var originalMethod = descriptor.value; // save a reference to the original method

        // NOTE: Do not use arrow syntax here. Use a function expression in
        // order to use the correct value of `this` in this method (see notes below)
        const newDescriptor = {
            value: function(...args: any[]) {
                console.log("The method args are: " + JSON.stringify(args)); // pre
                var result = wrapper(<T> originalMethod.apply(this, args));               // run and store the result
                console.log("The return value is: " + result);               // post
                return result;                                               // return the result of the original method
            }
        };

        return newDescriptor;
    }
}

function len(val: string): number {
    return val.length;
}

class MyClass {
    @wrap<string, number>(len)
    myMethod(arg: string) {
        return "Message -- " + arg;
    }
}

const t: number = new MyClass().myMethod("testing");

Expected behavior:
I expect this to compile, and modify the return type of MyClass#myMethod.
Actual behavior:
tsc decorators-broken.ts --experimentalDecorators --target es5
decorators-broken.ts(25,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
  Type '{ value: (...args: any[]) => number; }' is not assignable to type 'void'.
decorators-broken.ts(31,7): error TS2322: Type 'string' is not assignable to type 'number'.

I'm trying to create a decorator that wraps methods, potentially altering the wrapped method's return type, making function composition possible through decoration. I initially thought this was a bug, but upon inspecting MethodDecorator's type signature, this is probably intentional:
type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void;

Can we add something like the following?
type MutatingMethodDecorator = <T, U>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<U> | void;

Another illustration of this limitation...
import { decorate } from 'core-decorators';

// see: https://github.com/jayphelps/core-decorators.js/blob/master/test/unit/decorate.spec.js
// and: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/core-decorators/core-decorators.d.ts
function toString(fn) {
    return function (val: number): string {
        return String(val);
    }
}

class Task {
  @decorate(toString)
  id(data: number) {
    return data;
  }
}

var task = new Task();
var ret: number = task.id(1);
console.log(typeof ret);

$ node decorator-test.js
string

Note that the compiler insists that the type of ret is number, because of the issue described in the OP.

This one is probably more difficult to add, and I know mixins are already on the TS roadmap, but if the type information of a class could be altered by decorators, that would be quite nice:
import { mixin } from 'core-decorators';

const SingerMixin = {
    sing(sound: string) {
        alert(sound);
    }
};

const FlyMixin = {
    // All types of property descriptors are supported
    get speed(): number { return 42; },
    fly() {},
    land() {}
};

@mixin(SingerMixin, FlyMixin)
class Bird {
    singMatingCall() {
        //TODO: For @mixin, I don't know how we can make it work for TypeScript...
        // this.sing('tweet tweet');
    }
}

var bird = new Bird();
bird.singMatingCall();
bird.fly();

tsc core-dec-test-2.ts --experimentalDecorators --target es5
core-dec-test-2.ts(28,6): error TS2339: Property 'fly' does not exist on type 'Bird'.

looks like a duplicate of https://github.com/Microsoft/TypeScript/issues/4881


SFTTrainer: follow args.remove_unused_columns

I've noticed that SFTTrainer removes dataset columns before passing samples to the data collator, even when remove_unused_columns is set to False in the training arguments.
This happens here:
https://github.com/huggingface/trl/blob/main/trl/trainer/sft_trainer.py#L410
This PR adds a check to see if args.remove_unused_columns is set to True (the default). If not, it sets remove_columns to None in the call to dataset.map(), i.e. it doesn't remove other columns.
This can be useful if you'd like access to dataset features other than the tokenizer output in your data collator.
Closes #1186.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Allow to pass an alternative implementation of Dalli::Server

As discussed in https://github.com/petergoldstein/dalli/issues/741
This is all I need to maintain an external gem that make Dalli use the new "meta commands" protocol, whithout monkey patches.
If you are interested I can also submit a PR with said protocol support and pledge to maintain it, but that's up to you.
@mperham

Want to rename Dalli::Server to something more applicable, like Dalli::Protocol::Binary?

Want to rename Dalli::Server to something more applicable, like Dalli::Protocol::Binary?

Yeah I had that in mind but was afraid it would be too big of a diff. I just updated the PR do to that.
Does this mean you'd be interested in including my meta commands protocol support? I can PR it once this is merged if you'd like.

jruby CI hit a timeout, but other than that it's green.

I’m ok with abstracting the protocol handler so you can override it but I’m not interested in maintaining a separate impl.

Fine by me.

@casperisfine It's been a long time, but are you still interested in getting this in?  If so, would you mind rebasing?  We can then work through any issues.

@casperisfine It's been a long time, but are you still interested in getting this in?

Yes I am still interested. Unfortunately I'm away until Wednesday, but I'll happily rebase then.

@petergoldstein  It should be good to go now.

@casperisfine Great.  Will take a look today or tomorrow.
Any thoughts on whether this change requires a minor or major release?  Or do you think we can put it in a patch?  @mperham  do you have any opinion?

Hum, is Dalli::Server a public API? If not, it's an implementation detail.
Regardless we could perfectly alias Dalli::Protocol::Binary as Dalli::Server and even emit a deprecation warning, Rails does this routinely.

That’s my only concern, renaming D::Server. Probably a fair amount of people monkeypatching that class.

I THINK it's an implementation detail, so a patch should be fine.  But there may be gems out there that monkeypatch.  But I haven't been able to find anything in a quick search.

An alias is easy to add, and I think we should just to be safe.
The question is wether you want it to emit a deprecation warning or not. Just let me know and I'll add it.

@casperisfine Sounds good.  If you could add the alias with a deprecation warning, that would work.  Thanks.

Done.


Fragment changes number of elements in a list

It is currently possible to reduce the number of returned elements by adding a fragment to the query.
For details, see the two new tests added by the PR:
https://github.com/phdoerfler/grackle/commit/2693a18fa906bf7e43eea02a5b682a75f8156dfa.
This happened because of a mistake where I had used the wrong column in my doobie table. This wrong column would always be null in the case where the fragment applied. If you change RichText! into RichText in the schema, the number of objects would correctly remain three albeit with null as description for the affected element.
Changing the view in the .sql file to use c.description instead of the wrong i.description avoids this bug.

A perfect reproduction ... many thanks for that.
I'm really sure what I can do about this though. I think Grackle has to trust your view logic, and it has no independent way of determining how many elements there ought to be in a result list.
I'm definitely open to ideas here, but for now I'm going to close this.

if you close as "not planned", then it's easier to distinguish purple ("some useful work was done") from gray ("nothing to see here").

@som-snytt thanks for the tip!


Passport adapter

Hi
Do you have mongojs templates for passportjs
I can find only for mongoose . I don't like this sh..t

Passport is just a middleware. You should be able to find your answer in this code base. It's the official passport express 4 example.
https://github.com/passport/express-4.x-local-example
This is an example of where you would put mongojs:
https://github.com/passport/express-4.x-local-example/blob/master/server.js#L15
@askucher also please close this ticket since it's not a real issue :P


Refactor to return reporter interface in livestatereporter

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice. Thank you.
/lgtm

Nice and bright
/approve


OSSM-3654 Disable IOR by default in v2.4

Signed-off-by: Yann Liu<EMAIL_ADDRESS>

@yannuil We have automatic merges, no need to press the merge button.


Use own compiled mod in Docker server

Maybe it's a complete Minecraft beginner question (but I'm such a guy)
I followed https://github.com/itzg/docker-minecraft-server#using-the-data-volume to apply my own build mod to the docker server

create my server docker run -d -e VERSION=1.16.1 -v /home/hannes/mincraftData:/data -p 25565:25565 --restart unless-stopped --name minecraft -e EULA=TRUE itzg/minecraft-server:multiarch
using the artifact from here

extract it
copy SuperTools-1.16.1-2-a4d6745.jar to /home/hannes/mincraftData/mods/
restart server docker stop minecraft && docker start minecraft

But my children don't see the mod at all.
Do you know what I'm missing, or how can I make it work in the server ?
Do the clients needs the mod as well ? I guess not, am I right ?

You're on the right track. Two things:

Since it's a Forge mod, you seem to be missing the  -e TYPE=FORGE
Regarding your question, for Forge mods, yes, the clients need the mods installed there too. What adds to the confusion is that some server types like Bukkit/Spigot/Paper, the plugins only need to be installed server-side, but have limited features compared to Forge mods.

Great, I followed your suggestion by
docker run -d -e TYPE=FORGE \
-v /home/hannes/mincraftData:/data \
-p 25565:25565 \
--restart unless-stopped \
--name minecraft \
-e FORGE_INSTALLER_URL=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.1-32.0.18/forge-1.16.1-32.0.18-installer.jar \
-e EULA=TRUE itzg/minecraft-server:multiarch

but in console docker logs --follow minecraft I see this

Extra org/apache/commons/codec/net/QuotedPrintableCodec.class
Extra org/apache/commons/codec/net/RFC1522Codec.class
Extra org/apache/commons/codec/net/URLCodec.class
Extra org/apache/commons/codec/net/Utils.class
Data  io/netty/internal/
Processor failed, invalid outputs:
/data/./libraries/net/minecraft/server/1.16.1/server-1.16.1-slim.jar
Expected: 6cbe49c4d26497791d1d511c2d3b7d1fa46fa2e9
Actual:   3f1b64c684df16a25e6c44079b06ac12131db572
/data/./libraries/net/minecraft/server/1.16.1/server-1.16.1-extra.jar
Expected: 79ed2a48582a58ce917a04344c35c9c9abb557e2
Actual:   501b61ed1857f6452fe36a5faaf1265d38999c6f
There was an error during installation
JVM info: Private Build - 1.8.0_265 - 25.265-b01
java.net.preferIPv4Stack=true
Found java version 1.8.0_265
Target Directory: .
Extractiung main jar:
Extracted successfully
Considering minecraft server jar
Downloading libraries
Considering library net.minecraftforge:forge:1.16.1-32.0.18

I've no clue what's wrong with the hash.

Next try:
docker stop minecraft
docker rm minecraft
wget https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.1-32.0.18/forge-1.16.1-32.0.18-installer.jar

docker run -d -e TYPE=FORGE \
-v /home/hannes/mincraftData:/data \
-p 25565:25565 \
--restart unless-stopped \
--name minecraft \
-e FORGE_INSTALLER_URL=/home/hannes/forge-1.16.1-32.0.18-installer.jar \
-e EULA=TRUE itzg/minecraft-server:multiarch

but in console docker logs --follow minecraft I see this
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 8 1000 1000 4096 Oct 14 17:37 /data'
[init] Resolved version given LATEST into 1.16.3
[init] Resolving type given FORGE
[init] Downloading /home/hannes/forge-1.16.1-32.0.18-installer.jar ...
curl: (3) <url> malformed
[init] Failed to download from given location /home/hannes/forge-1.16.1-32.0.18-installer.jar
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 8 1000 1000 4096 Oct 14 17:37 /data'
[init] Resolved version given LATEST into 1.16.3
[init] Resolving type given FORGE
[init] Downloading /home/hannes/forge-1.16.1-32.0.18-installer.jar ...
curl: (3) <url> malformed
[init] Failed to download from given location /home/hannes/forge-1.16.1-32.0.18-installer.jar
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 8 1000 1000 4096 Oct 14 17:37 /data'
[init] Resolved version given LATEST into 1.16.3
[init] Resolving type given FORGE
[init] Downloading /home/hannes/forge-1.16.1-32.0.18-installer.jar ...
curl: (3) <url> malformed
[init] Failed to download from given location /home/hannes/forge-1.16.1-32.0.18-installer.jar
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 8 1000 1000 4096 Oct 14 17:37 /data'
[init] Resolved version given LATEST into 1.16.3
[init] Resolving type given FORGE
[init] Downloading /home/hannes/forge-1.16.1-32.0.18-installer.jar ...
curl: (3) <url> malformed
[init] Failed to download from given location /home/hannes/forge-1.16.1-32.0.18-installer.jar

I would not recommend not using the FORGE_INSTALLER_URL...in fact, I don't even remember why that option was added in the first place :)
If you're needing a specific Minecraft version along with Forge, VERSION can be used, such as
docker run -d -e TYPE=FORGE \
-v /home/hannes/mincraftData:/data \
-p 25565:25565 \
--restart unless-stopped \
--name minecraft \
-e VERSION=1.16.1 \
-e EULA=TRUE itzg/minecraft-server:multiarch

I should clarify: you don't need to use the installer variable since the container script will take care of downloading the forge installer automatically for the version requested.

docker run -d -e TYPE=FORGE \
-v /home/hannes/mincraftData:/data \
-p 25565:25565 \
--restart unless-stopped \
--name minecraft \
-e VERSION=1.16.1 \
-e EULA=TRUE itzg/minecraft-server:multiarch

Thnak you, it is much better now !
What I've observed the start is very "verbose". The output is huge with docker logs --follow minecraft

A
Is there a way to get rid of these verbose lines ? There are thousands
B
And I see this warnings, I've no clue if I can ignore it
[06:18:52] [Server thread/WARN]: Configuration file ./world/serverconfig/forge-server.toml is not correct. Correcting
[06:18:52] [Server thread/WARN]: Incorrect key server was corrected from null to SimpleCommentedConfig:{}
[06:18:52] [Server thread/WARN]: Incorrect key server.removeErroringEntities was corrected from null to false
[06:18:52] [Server thread/WARN]: Incorrect key server.removeErroringTileEntities was corrected from null to false
[06:18:52] [Server thread/WARN]: Incorrect key server.fullBoundingBoxLadders was corrected from null to false
[06:18:52] [Server thread/WARN]: Incorrect key server.zombieBaseSummonChance was corrected from null to 0.1
[06:18:52] [Server thread/WARN]: Incorrect key server.zombieBabyChance was corrected from null to 0.05
[06:18:52] [Server thread/WARN]: Incorrect key server.logCascadingWorldGeneration was corrected from null to true
[06:18:52] [Server thread/WARN]: Incorrect key server.fixVanillaCascading was corrected from null to false
[06:18:52] [Server thread/WARN]: Incorrect key server.dimensionUnloadQueueDelay was corrected from null to 0
[06:18:52] [Server thread/WARN]: Incorrect key server.clumpingThreshold was corrected from null to 64
[06:18:52] [Server thread/WARN]: Incorrect key server.treatEmptyTagsAsAir was corrected from null to false
[06:18:52] [Server thread/WARN]: Incorrect key server.fixAdvancementLoading was corrected from null to true

C
I see this error, and I've no clue what's the root cause. Is it my SuperTools mod ?
[06:18:34] [main/INFO]: ModLauncher 6.1.1+74+master.966c698 starting: java version 1.8.0_265 by Private Build
[06:18:34] [main/INFO]: Added Lets Encrypt root certificates as additional trust
[06:18:34] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/data/libraries/org/spongepowered/mixin/0.8/mixin-0.8.jar Service=ModLauncher Env=SERVER
[06:18:35] [main/INFO]: Launching target 'fmlserver' with arguments [--gameDir, .]
[06:18:44] [modloading-worker-1/INFO]: Forge mod loading, version 32.0.108, for MC 1.16.1 with MCP 20200625.160719
[06:18:44] [modloading-worker-1/INFO]: MinecraftForge v32.0.108 Initialized
[06:18:45] [modloading-worker-3/WARN]: Configuration file /data/config/supertools.toml is not correct. Correcting
[06:18:45] [modloading-worker-3/WARN]: Incorrect key SuperTools.Tool Attack Damage.Attack Damage.attackdamage_redstone was corrected from -0.5 to 0.0
[06:18:46] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[06:18:47] [Forge Version Check/INFO]: [forge] Found status: BETA Current: 32.0.108 Target: 32.0.108
[06:18:47] [Forge Version Check/INFO]: [supertools] Starting version check at https://raw.githubusercontent.com/TheKiritoPlayer20/SuperTools/updates/update.json
[06:18:47] [Forge Version Check/INFO]: [supertools] Found status: AHEAD Current: 1.1 Target: null
[06:18:48] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[06:18:49] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[06:18:49] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[06:18:49] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[06:18:49] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[06:18:49] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[06:18:49] [main/INFO]: Reloading ResourceManager: Default, forge-1.16.1-32.0.108-universal.jar, SuperTools-1.1.jar
[06:18:50] [Worker-Main-13/ERROR]: Parsing error loading recipe supertools:platinum_sickle
com.google.gson.JsonSyntaxException: Unknown item 'simplyplatinum:platinum_ingot'
	at net.minecraft.item.crafting.Ingredient.lambda$deserializeItemList$11(Ingredient.java:216) ~[?:?]
	at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_265]
	at net.minecraft.item.crafting.Ingredient.func_199803_a(Ingredient.java:215) ~[?:?]
	at net.minecraftforge.common.crafting.VanillaIngredientSerializer.parse(VanillaIngredientSerializer.java:41) ~[?:?]
	at net.minecraftforge.common.crafting.CraftingHelper.getIngredient(CraftingHelper.java:155) ~[?:?]
	at net.minecraft.item.crafting.Ingredient.func_199802_a(Ingredient.java:189) ~[?:?]
	at net.minecraft.item.crafting.ShapedRecipe.func_192408_a(ShapedRecipe.java:252) ~[?:?]
	at net.minecraft.item.crafting.ShapedRecipe.access$000(ShapedRecipe.java:24) ~[?:?]
	at net.minecraft.item.crafting.ShapedRecipe$Serializer.func_199425_a_(ShapedRecipe.java:276) ~[?:?]
	at net.minecraft.item.crafting.ShapedRecipe$Serializer.func_199425_a_(ShapedRecipe.java:272) ~[?:?]
	at net.minecraft.item.crafting.RecipeManager.func_215377_a(RecipeManager.java:141) ~[?:?]
	at net.minecraft.item.crafting.RecipeManager.func_212853_a_(RecipeManager.java:61) ~[?:?]
	at net.minecraft.item.crafting.RecipeManager.func_212853_a_(RecipeManager.java:38) ~[?:?]
	at net.minecraft.client.resources.ReloadListener.func_215269_a(SourceFile:13) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:670) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_265]
	at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?]
	at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:543) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:667) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:575) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:649) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_265]
	at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?]
	at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:543) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:667) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:575) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:649) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_265]
	at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?]
	at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:543) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:667) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) ~[?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975) ~[?:1.8.0_265]
	at net.minecraft.resources.AsyncReloader$1.func_216873_a(SourceFile:53) ~[?:?]
	at net.minecraft.resources.AsyncReloader$1.func_216872_a(SourceFile:50) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:966) [?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:940) [?:1.8.0_265]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) [?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1609) [?:1.8.0_265]
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) [?:1.8.0_265]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_265]
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_265]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_265]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [?:1.8.0_265]

A: possibly, but we're all basically at the mercy of forge and the mod authors with these
B: I assume most people ignore all these logs
C: the message has "supertools" in it, so yes, seems to be that mod causing it


test(ticdc): fix the integration tests dir

Move it into tests dir.

/hold
blocked by https://github.com/pingcap/ticdc/pull/3646


False boolean values always null

Hi,
when inserting a boolean field in a mutation with the value false results in the value null.

Querying for records with false boolean values results also to null.
Is this a bug? I am using 1.9.2.
Another thing is the serialization of JSON. When I request json from the client, I only get "[object Object]", not the serialized JSON as a string. Thought this should be the correct behaviour?
Thanks in advance!
Daniel

Might be related to https://github.com/calebmer/postgraphql/issues/108, I’ll definetly explore.

As for JSON, yeah that’s a bug. Look at https://github.com/calebmer/postgraphql/pull/102 though for more conversation on how we should handle the JSON type.

There’s a PR in now for the false bug, just waiting for a review and I’ll release :+1: https://github.com/calebmer/postgraphql/pull/120

There’s also now a PR for JSON type serialization https://github.com/calebmer/postgraphql/pull/121

Fix is in 1.9.3 :tada:


protection table - missing protected positions

sometimes, when loading/refreshing the protection page, data is missing.
this time, it indicates that i have no positions and console has lots of errors

@Velua @pingustar

@ashachaf I cannot reproduce. Any additional steps required to reproduce this? How often does this happen?


[camel-main] DataFormat native failure

Description
Upgrade of ical4j in camel  (see commit) is causing an error during native execution:
UnresolvedElementException: Discovered unresolved method during parsing: net.fortuna.ical4j.validate.schema.JsonSchemaValidator.<init>(java.net.URL). This error is reported at image build time because class net.fortuna.ical4j.validate.schema.SchemaValidatorFactory is registered for linking at image build time by command line

It is unclear to me, why the error is happening, because the Quarkus knows this class.
I noticed, that this method is not visited  during Camel or Camel Quarkus tests execution. Therefore it might be possible, that the method is not needed for the Camel/camel quarkus, I fixed the problem temporarily by the workaround (substitution of the method). It would be nice to investigate the problem more and if it is possible to trigger this validation from Camel/Camel Quarkus -> the case should be covered by the tests.

It likely happens because com.github.erosb:everit-json-schema is declared as runtime scope and optional.
We could make the method substitution conditional based on the presence of some class in everit-json-schema.
Example of how I did something similar for another extension here https://github.com/apache/camel-quarkus/pull/4926.