Fix VS Code create/run project instructions

Applies the change to the "Create a Q# Project" page. The new instructions are also included in Eduardo and I's PRs on the update/install pages (#615 and #616).
This is the only part of #611 not superseded by those two, so I will be deleting #611 now

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/how-to-guides/create-qsharp-project.md
92
72
7
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 8d0b414:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/how-to-guides/create-qsharp-project.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


OHI-Science

https://github.com/OHI-Science uses http://iucnredlist.org/
As public data is updated year to year, people must update their scripts, see what changed, and sometimes they even write very long scripts to do things like remove duplicates.
They have a dataset of "truth" that they update every year. There's a column that says what year the row was modified. But there's no data on how it was modified (added?). Sometimes, the data is changed without updating the 'modified' column.
They built this script that pulls out rows that have a modified year of 2013, 2014 and then compare them
https://github.com/OHI-Science/ohiprep/blob/master/Global/NCEAS-SpeciesDiversity_v2014/ingest_iucn.R
With dat + a visual diffing tool, they wouldn't have to go through all of this trouble to find what changed. They could just import the data for the new year.
@jafflerbach @jules32

I'm going to walk through a theoretical case study that took place in the near distance future, inspired by this repository: https://github.com/OHI-Science/ohiprep
User
I am a data scientist that primarily uses R, to analyze data. I have them checked into git, but it can take a long time to clone, push, and pull the data stored there. My colleagues are primarily domain experts, and they use R. I end up having to create custom export scripts to get the data cleaned up enough so everyone else can analyze it. The PI is mainly detached from our day-to-day operations and doesn't use git, but will often want reports from our analysis.
dat
I'd like to use dat because it sounds like it'll make my life easier when my colleagues ask me for source data. It'd also be nice to have everything in one place (like my source code in git) so I can track where the data has changed more easily.
current operation
Right now, we have a git repository. It can take a few minutes to push/pull sometimes depending on the connection. We've tried to organize the data in the best way we can based on high-level subject areas.
$ ls -a
.gitignore .git/ Global/ iceland/ antarctica/

What happens when we go into one of these high level subject areas?
$ cd Global
$ ls
HS_AQ_Pressures_2014/
HS_AQ_Pressures_HD_SB_2014/
NCEAS-Fisheries_2014a/
NCEAS-Fisheries_2014b/
etc...

Each of these directories is essentially a dataset but there might be multiple csvs inside the folder. Right now dat only handles one table per named 'dataset'.
https://github.com/OHI-Science/ohiprep/tree/master/Global/HS_AQ_Pressures_2014
$ cd HS_AQ_Pressures_2014/
$ dat add <some data>

How do we handle complex cases like this?

see above link issue #295  for a proposal on how to handle this case

This issue was moved to datproject/discussions#52


Skill - SureShot

Set hit rate to 100% and deal 1.5x normal damage (Skill % activation).

Since it has been expanded to support up to 1016 skills by PR #140, the way to develop new skills has also been updated. Please refer to doc SkillSys.md.

I'll close and PR a new version then.


Level: "Error" - The group coordinator is not available

Describe the bug
Getting error when i try to subscribe to the given topics at the very first time,
{"level":"INFO","timestamp":"2022-11-28T10:44:44.711Z","logger":"kafkajs","message":"[Consumer] Starting","groupId":"xxxx"}

**{"level":"ERROR","timestamp":"2022-11-28T10:44:44.740Z","logger":"kafkajs","message":"[Connection] Response GroupCoordinator(key: 10, version: 2)","broker":"xxxxx:9093","clientId":"kafkajs","error":"The group coordinator is not available","correlationId":0,"size":55}**

{"level":"INFO","timestamp":"2022-11-28T10:44:45.075Z","logger":"kafkajs","message":"[ConsumerGroup] Consumer has joined the group","groupId":"xxxx","memberId":"kafkajs-48a24287-cc14-4e7d-8550-e3a2a044f71f","leaderId":"kafkajs-48a24287-cc14-4e7d-8550-e3a2a044f71f","isLeader":true,"memberAssignment":{"3":[0,1,2],"4":[0,1,2],"5":[0,1,2],"6":[0,1,2]},"groupProtocol":"RoundRobinAssigner","duration":363}

To Reproduce
run the below commands to setup the cluster
bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.2.properties
bin/kafka-server-start.sh config/server.1.properties
bin/kafka-server-start.sh config/server.3.properties

And create topics using below command
bin/kafka-topics.sh --create --topic 3  --bootstrap-server localhost:9093 --partitions 3 --replication-factor 2
bin/kafka-topics.sh --create --topic 5  --bootstrap-server localhost:9093 --partitions 3 --replication-factor 2
bin/kafka-topics.sh --create --topic 6  --bootstrap-server localhost:9093 --partitions 3 --replication-factor 2

after that , run consumer code of kafkajs.
Expected behavior
I hope to see only INFO level messages or WARNING level messages
Observed behavior
But happen to see ERROR level at the very first time when i ran consumer code. If i restart the consumer it is not throwing the error.
This is because, consumer_offsets were not there, when it ran first time. after some time consumer_offsets gets created internally. And then if i start the consumer , i could see INFO messages.
I would like to know, Why its is throwing error when the consumer_offsets topic is been generated internally. If i need to set the properties to suppress the error. please let me know.
Environment:

OS: ubuntu -22.04
KafkaJS version<EMAIL_ADDRESS>Kafka version : kafka_2.13-3.0.0
NodeJS version : v16.17.1

I'm seeing this same issue in my tests where a topic is created and then the consumer testing starts immediately after.
Added some delay, but it needs to be multiple seconds. Is there a better solution?

ok. Thank you. But what i wanted why that is been logged as error. it should have logged as warning right?

I'm new to kafkajs, not sure. In my case the test fails because "The group coordinator is not available" is an exception. I assumed it's the same underlying issue that generates the error message.

ok. But the error "The group coordinator is not available" is not blocking functionality. Automatically it creates the group coordinator if its not available. Once the consumer_offsets are available, then the error "group coordinator is not available" is not shown at console(i.e when i restart the application).
Do you have any thought about it?

agreed, it could be just a warning or info when automatic retry handles the situation.

Thank you For your time. So i can ignore the error  "group coordinator not available ", because that will not be a problem since automatic retries happen.

I encountered the same issue when initially running the application. However, I discovered that after producing a message and restarting the app, the error disappeared.

@keerthana-inmar what you said here is correct but I wholeheartedly agree with @ilkkao's comment. It should be warn or info and not error. Also probably some link to a doc about how to get rid of it if one wants to do it.


[BUG]: environment.yml missing the requests package

Summary of the bug
nets/model_io.py uses the requests package, which is not in the environment.yml files.
Steps to reproduce the bug

Clone the repo and install per instruction on the main readme:

conda env create -n solaris -f environment.yml

Add the location of the repo to PYTHONPTH
After that, importing solaris from another script will fail, complaining that requests is missing.

Buggy behavior and/or error message
Importing solaris from another script fails.
Expected behavior
Being able to import solaris after installing it.
Environment information

OS:
solaris version: 0.1.3

Hi @yangsiyu007 ! I ran into this as well, I'll add the dependency in my PR.

Hi @rbavery - It’s fixed in #300 already. Thanks!!

Hi @rbavery ! Good to see you here


added South (east coast) 15 parks

Any problem or change required, please let me know?

Added

Thanks for your hard work on this. @burmanp


☂ Translate the website into Spanish

Description
If you would like to contribute to a specific page, please leave a comment indicating the page you would like to translate and create a PR.
If there is any error, please notify here in the comments
Pages

[ ] Translate sidebar @bjohansebas
[ ] Translate README.md
[ ] Translate the files inside src/content/docs

[ ] index.mdx @bjohansebas
[ ] analyzer/index.mdx @bjohansebas
[ ] formatter/index.mdx @bjohansebas
[ ] formatter/option-philosophy.md @bjohansebas
[ ] formatter/differences-with-prettier.md @bjohansebas
[ ] linter/index.mdx
[ ] guides/big-projects.mdx
[ ] guides/getting-started.mdx
[ ] guides/how-biome-works.mdx
[ ] guides/integrate-in-editor.mdx
[ ] guides/manual-installation.mdx
[ ] internals/architecture.mdx
[ ] internals/credits.mdx
[ ] internals/language-support.mdx
[ ] internals/philosophy.mdx
[ ] internals/versioning.mdx
[ ] recipes/continuous-integration.mdx
[ ] reference/vscode.mdx

The following files don't need to be translated, since they are auto-generate

internals/changelog.mdx
linter/rules/*.mdx
reference/configuration.mdx (will be auto-generated in #825)
reference/cli.mdx

@bjohansebas are there other people who will help you?

@ematipico @bjohansebas I can help, and I can commit if docs change in the future, too.
@ematipico, Are two people enough for your team to push this feature forward?

I'm not a Spanish speaker. For now it's you and @bjohansebas :)

@pataruco thank you for supporting this initiative.

@bjohansebas @pataruco Hi guys, I can help with this also.
@ematipico How many people is need it to do the translation?

At least two


use SQLModel

https://github.com/fastapi/sqlmodel

Use this for base models

Cannot use SQLModel until we upgrade to SQLAlchemy 2.0


Using 2.0.67 worked in DevOps. 5 hours later, 2.0.69 did not: authentication issue

Describe the bug
Today, when using az 2.0.67 on Linux in a DevOps pipeline, I was successfully able to upload to my Azure storage blob static site. 5 hours later, DevOps had automatically updated az to 2.0.69, and now I am unable to upload. It fails with:
ERROR: azure.multiapi.storage.v2018_11_09.common.storageclient : Client-Request-ID= Retry policy did not allow for a retry: Server-Timestamp=Fri, 02 Aug 2019 02:15:40 GMT, Server-Request-ID=, HTTP status code=403, Exception=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. ErrorCode: AuthenticationFailed<?xml version="1.0" encoding="utf-8"?><Error>AuthenticationFailed<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.RequestId:Time:2019-08-02T02:15:40.4961862Z</Message><AuthenticationErrorDetail>The MAC signature found in the HTTP request '<base64 data>' is not the same as any computed signature. Server used following string to sign: 'PUT257x-ms-blob-type:BlockBlobx-ms-client-request-id:x-ms-date:Fri, 02 Aug 2019 02:15:40 GMTx-ms-version:2018-11-09/<my storage account name>/$web/assets/theme/styles/skins/_pink-dark.scss'.</AuthenticationErrorDetail></Error>.
ERROR:
You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
    "Storage Blob Data Contributor (Preview)"
    "Storage Blob Data Reader (Preview)"
    "Storage Queue Data Contributor (Preview)"
    "Storage Queue Data Reader (Preview)"

If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.

DEBUG: Event: CommandInvoker.OnFilterResult []
ERROR: cli.azure.cli.core.util : The command failed with an unexpected error. Here is the traceback:

ERROR: The command failed with an unexpected error. Here is the traceback:

ERROR: cli.azure.cli.core.util : 'CommandResultItem' object is not iterable
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 212, in invoke
    self.output.out(cmd_result, formatter=formatter, out_file=out_file)
  File "/opt/az/lib/python3.6/site-packages/knack/output.py", line 132, in out
    output = formatter(obj)
  File "/opt/az/lib/python3.6/site-packages/knack/output.py", line 38, in format_json
    input_dict = dict(result) if hasattr(result, '__dict__') else result
TypeError: 'CommandResultItem' object is not iterable
ERROR: 'CommandResultItem' object is not iterable
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 212, in invoke
    self.output.out(cmd_result, formatter=formatter, out_file=out_file)
  File "/opt/az/lib/python3.6/site-packages/knack/output.py", line 132, in out
    output = formatter(obj)
  File "/opt/az/lib/python3.6/site-packages/knack/output.py", line 38, in format_json
    input_dict = dict(result) if hasattr(result, '__dict__') else result
TypeError: 'CommandResultItem' object is not iterable

To Reproduce
DEBUG: Command arguments: ['storage', 'blob', 'upload', '--debug', '--auth-mode', 'key', '--file', './assets/theme/styles/skins/_pink-dark.scss', '--container-name', '$web', '--name', './assets/theme/styles/skins/_pink-dark.scss', '--account-name', '<my storage account name>', '--account-key', '<my base64 key from the Blob Storage Access keys tab>']

Expected behavior
My files were uploaded.
Environment summary
Azure DevOps Hosted Ubuntu 16.04

I was able to work around this. The logs suggest that something may have been wrong with the request, including the signature. The --file argument has the filename which includes the initial ./. Removing the dot slash lets it continue.


Please add Categories

Hey Michael,
they are pushing things forward.
https://developer.spotify.com/web-api/get-categorys-playlists/
i hope you will find some time to add this to the api.
thanks
Alex

Will be added in v2. Stay tuned!

I'll close this. Please follow #102 for updates.

Version 2.0.0-RC1 was just released.


[refactor](raw ptr) disable some raw pointer usage  and some unused code

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Changing .adoc to .edu for wavedrom files

This PR is the start of renaming all of the wavedrom files from .adoc to .edn. They work with the .adoc file type but .edn is more correct.

Should this PR title be updated to say .edn not .edu


Sol-worker-threads: API changes

#1699

The bindings are failing at our CI build, but the patch seems OK.

@gabrielschulhof, have you seen that?

@glima https://github.com/solettaproject/soletta/pull/1693

+1

this pr lgtm. The build error is not related to this pr

merged


Support otel_logs codec in S3 source (#5028)

Description
Add a new codec option, otel_logs, in S3 source. With this option, OTLP JSON files can be ingested and processed natively, similar to ingesting through http endpoint using otel_logs_source.
Issues Resolved
Resolves #5028
Check List

[X] New functionality includes testing.
[ ] New functionality has a documentation issue. Please link to it in this PR.

[ ] New functionality has javadoc added

[X] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dlvenable I have completed the documentation and enum changes. Please review.


Update rbi.md

Update the instructions to (re)generate sorbet/rbi_list file

Motivation

Test plan

See included automated tests.

Looks like it's working with rbi/ folder but not rbis/. Also working without rbi_list. This is now outdated. I think @ptarjan is already on it to update the documentation.


Update Lab02B_Configuring Omnichannel.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by AnthonyOakley on behalf of MOC Labs Review.


Deleting/Appending a resource will not update file content on Monaco editor

If you have a file containing multiple resources selected, when deleting or appending a resource, the content of the file should be updated right away, instead right now you have to reselect the file in order to see the changes.
Screenshots
Before deleting my-role resource:

After deleting my-role resource:

This should get fixed by the refactor that @jmelnych is doing in the "find and replace" PR, where we will start storing the file's content in a .text field which should be updated by the file monitor.


No handlers could be found for logger "ssh.transport"

Hi,
when trying to install ruby 1.9.3 with rbenv (rbenv install 1.9.3-p0 (system)) (this cookbook), on EC2 with ubuntu 10.04 (AMI: ami-95dde2e1) I get the following error:
No handlers could be found for logger "ssh.transport"

FAILED: chef-solo could not finish configuring the node

Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/fabric/main.py", line 710, in main
    *args, **kwargs
  File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 292, in execute
    multiprocessing
  File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 191, in _execute
    return task.run(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 113, in run
    return self.wrapped(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/littlechef/runner.py", line 182, in recipe
    chef.sync_node(data)
  File "/Library/Python/2.7/site-packages/littlechef/chef.py", line 84, in sync_node
    _node_cleanup()
  File "/Library/Python/2.7/site-packages/littlechef/chef.py", line 289, in _node_cleanup
    _remove_remote_node_data_bag()
  File "/Library/Python/2.7/site-packages/littlechef/chef.py", line 282, in _remove_remote_node_data_bag
    if exists(node_data_bag_path):
  File "/Library/Python/2.7/site-packages/fabric/contrib/files.py", line 35, in exists
    return not func(cmd).failed
  File "/Library/Python/2.7/site-packages/fabric/network.py", line 457, in host_prompting_wrapper
    return func(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/fabric/operations.py", line 904, in run
    return _run_command(command, shell, pty, combine_stderr)
  File "/Library/Python/2.7/site-packages/fabric/operations.py", line 814, in _run_command
    stdout, stderr, status = _execute(default_channel(), wrapped_command, pty,
  File "/Library/Python/2.7/site-packages/fabric/state.py", line 340, in default_channel
    chan = connections[env.host_string].get_transport().open_session()
  File "/Library/Python/2.7/site-packages/ssh/transport.py", line 660, in open_session
    return self.open_channel('session')
  File "/Library/Python/2.7/site-packages/ssh/transport.py", line 729, in open_channel
    raise SSHException('SSH session not active')
ssh.SSHException: SSH session not active

This only thing I found online was this, but deleting .ssh doesnt work.

And it only happens with this cookbook?
So I should be able to reproduce the problem just by configuring a node with the recipe rbenv::default, right?

I am not quite sure. I tried installing version 1.9.3-p0 directly on the node, which didn't work either. After downgraded the ruby version to be installed from 1.9.3-p0 to 1.9.2-p290, and littlechef run through successfully. Thus, it might not be a littlechef problem. Maybe the connection timed out (though I have a pretty low KeepAlive in my local ssh config file), or there were another problem with 1.9.3 in particular.
Let me close this for now, I try to investigate more and open a more specific issue later, if neccessary.


High cpu usage when running the code

I run the atrank network on my own dataset. I use the top command and find that the code consumes high cpu usage(1500%). I'm sure the network causes that because if I remove the network, it's normal.And I'm sure the network is running on Gpu. And if i use "session_conf = tf.ConfigProto( intra_op_parallelism_threads=1, inter_op_parallelism_threads=1)" to  limit the number of CPUs that tensorflow can use, the usage of cpu will not be high but the speed is very slow .So is there some ops in atrank consuming cpu? When you run the code, is there a high cpu usage?

Thanks for your attention to our work. I didn't observe the CPU problem in our experiments. The placements of OP are made by tensorflow, and you can change it manually by tf.device("/device:GPU:0"). As far as we know all ops we use have both the CPU and GPU implement. Furthermore, you can print the tensor or watch them in tensorboard, which you can figure out where the ops are placed.

Thanks for your reply! I will check my code! Maybe there is something that I didn't notice.

Hi! I have solved the problem. The thing is that the op 'tf.tile()' in tensorflow1.4 is running on cpus even with the tensorflow of gpu version . Fortunately, the problem have been fixed in the new tf version.


Bash completion for flags

🎉 New feature
Part of https://github.com/gazebosim/gz-tools/issues/1
Used together with https://github.com/gazebosim/gz-tools/pull/87
Summary
Bash completion, installation, tests.
Small corner cutting for easier forward-porting:
ign service has --help-all in Fortress+
ign topic has --json-output in Fortress+
This PR targets Citadel, but I've removed those so that the tests don't fail when this is forward-ported to Fortress :sweat_smile: We could add a PR to add these back to Citadel - they'd need to be added to both the bash script and the tests. They don't seem like critical flags to be in tab completion, and if a user types --help, they can still see them.
Alternatively, I can add the Citadel-specific flags in this PR, and add a comment to remove them in Fortress?
Update: For correctness, I've gone ahead and do that in 7ccc7a6.
Test it
This works with the installation method in the gz-tools PR described in this comment https://github.com/gazebosim/gz-tools/pull/87#discussion_r877692827 .
$ . install/share/gz/gz.completion

$ ign service -<tab>
--force-version  --req            --versions       -s
--help           --reqtype        -h               -v
--info           --service        -i
--list           --timeout        -l
--reptype        --version        -r

$ ign topic -<tab>
--duration       --msgtype        -d               -n
--echo           --num            -e               -p
--force-version  --pub            -h               -t
--help           --topic          -i               -v
--info           --version        -l
--list           --versions       -m

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Just realized there's also the log command. That's a bit different from the rest, as it has a third level of subcommands, ign log record|playback. It needs a different structure in the bash script, similar to ign-tools/etc/ign.bash_completion.sh.
In the interest of time, I think I will do all the two-level flags for as many library as possible first, for commands like ign <subcommand> -<flag>.
When we have more time, we can come back to the three-level flags, like ign <subcommand> <subsubcommand> -<flag>. So far, I can see that applies to ign log and ign fuel. There may be others.


Investigate RSC pin write error when using vetiver_pin_write

Gagan reported hitting an issue at name validation. Seems to work for me when running this code:
import pandas as pd

from pins import board_rsconnect
from dotenv import load_dotenv
from vetiver import vetiver_pin_write, VetiverModel
from vetiver.mock import get_mock_model

PIN_NAME = "michael.chow/test-vetiver"

load_dotenv(override=True)
board = board_rsconnect("https://colorado.rstudio.com/rsc", allow_pickle_read=True)

fit = get_mock_model()

vm = VetiverModel(
    fit, PIN_NAME, ptype_data=pd.DataFrame({"x": [1, 2]})
)

vetiver_pin_write(board, vm)

We can close this, I was able use the function. Thanks @machow


Fix the error where Gradle can only be used normally by applying plugins on all projects

run-task#88

Thanks @huanmeng-qwq, I don't want to define any plugins in main build.gradle.kts file. The problem was the plugin version declared in the example:

After this commit there should be no problem with gradle:


meshing.tui.report.mesh_size() does not return the mesh size results

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
I am trying to get some statistics on the mesh (specifically the mesh size), but I am unable to do this. I am using the following method:
meshing.tui.report.mesh_size()
but it returns an empty string.
is there something wrong with the method? is there another method?
📝 Steps to reproduce
import ansys.fluent.core as pyfluent
from ansys.fluent.core import examples

import_file_name = examples.download_file("mixing_elbow.pmdb", "pyfluent/mixing_elbow")

###############################################################################
# Launch Fluent
# ~~~~~~~~~~~~~
# Launch Fluent as a service in meshing mode with double precision running on
# two processors.

meshing = pyfluent.launch_fluent(
    precision="double",
    processor_count=2,
    mode="meshing",
)

###############################################################################
# Initialize workflow
# ~~~~~~~~~~~~~~~~~~~
# Initialize the watertight geometry meshing workflow.

meshing.workflow.InitializeWorkflow(WorkflowType="Watertight Geometry")

###############################################################################
# Watertight geometry meshing workflow
# ------------------------------------
# The fault-tolerant meshing workflow guides you through the several tasks that
# follow.
#
# Import CAD and set length units
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Import the CAD geometry and set the length units to inches.
geo_import = meshing.workflow.TaskObject["Import Geometry"]
geo_import.Arguments = {
    "FileName": import_file_name,
    "LengthUnit": "in",
}

# Import geometry
# ~~~~~~~~~~~~~~~
# Import the geometry.

geo_import.Execute()

###############################################################################
# Add local sizing
# ~~~~~~~~~~~~~~~~
# Add local sizing. This task asks whether you want to add local sizing controls
# to the faceted geometry. You can keep the default settings and execute the task.
add_local_sizing = meshing.workflow.TaskObject["Add Local Sizing"]
add_local_sizing.AddChildToTask()
add_local_sizing.Execute()

###############################################################################
# Generate surface mesh
# ~~~~~~~~~~~~~~~~~~~~~
# Generate the surface mash. In this task, you can set various properties of the
# surface mesh for the faceted geometry. For ``"MaxSize"``, set ``0.3``.
surface_mesh_gen = meshing.workflow.TaskObject["Generate the Surface Mesh"]
surface_mesh_gen.Arguments = {"CFDSurfaceMeshControls": {"MaxSize": 0.3}}
surface_mesh_gen.Execute()

###############################################################################
# Describe geometry
# ~~~~~~~~~~~~~~~~~
# Describe the geometry. In this task, you are prompted with questions
# relating to the nature of the imported geometry, which defines
# the fluid region. The geometry consists of only fluid regions.
describe_geo = meshing.workflow.TaskObject["Describe Geometry"]
describe_geo.UpdateChildTasks(SetupTypeChanged=False)
describe_geo.Arguments = {
    "SetupType": "The geometry consists of only fluid regions with no voids"
}
describe_geo.UpdateChildTasks(SetupTypeChanged=True)
describe_geo.Execute()

###############################################################################
# Update boundaries
# ~~~~~~~~~~~~~~~~~
# Update the boundaries. Set ``"BoundaryLabelTypeList"`` to ``"wall"`` and
# update the boundaries.
update_boundaries = meshing.workflow.TaskObject["Update Boundaries"]
update_boundaries.Arguments = {
    "BoundaryLabelList": ["wall-inlet"],
    "BoundaryLabelTypeList": ["wall"],
    "OldBoundaryLabelList": ["wall-inlet"],
    "OldBoundaryLabelTypeList": ["velocity-inlet"],
}
update_boundaries.Execute()

###############################################################################
# Update regions
# ~~~~~~~~~~~~~~
# Update the regions. In this task, you can review the names and types of
# the various regions that have been generated from your imported geometry and
# change them as needed. You can keep the default settings.

meshing.workflow.TaskObject["Update Regions"].Execute()

###############################################################################
# Add boundary layers
# ~~~~~~~~~~~~~~~~~~~
# Add boundary layers, which consist of setting properties for the
# boundary layer mesh. You can keep the default settings.
add_boundary_layers = meshing.workflow.TaskObject["Add Boundary Layers"]
add_boundary_layers.AddChildToTask()
add_boundary_layers.InsertCompoundChildTask()
smooth_transition_1 = meshing.workflow.TaskObject["smooth-transition_1"]
smooth_transition_1.Arguments = {
    "BLControlName": "smooth-transition_1",
}
add_boundary_layers.Arguments = {}
smooth_transition_1.Execute()

###############################################################################
# Generate volume mesh
# ~~~~~~~~~~~~~~~~~~~~
# Generate the volume mesh, which consists of setting properties for the
# volume mesh. Set ``"VolumeFill"`` to ``"poly-hexcore"``.
volume_mesh_gen = meshing.workflow.TaskObject["Generate the Volume Mesh"]
volume_mesh_gen.Arguments = {
    "VolumeFill": "poly-hexcore",
    "VolumeFillControls": {
        "HexMaxCellLength": 0.3,
    },
}
volume_mesh_gen.Execute()
mesh_size = meshing.tui.report.mesh_size()
print(mesh_size.__str__())

💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2024R1
🐍 Which Python version are you using?
3.10
📦 Installed packages
about-time==4.2.1
adjustText==0.8
alive-progress==3.1.5
ansys-api-dbu==0.3.0
ansys-api-fluent==0.3.22
ansys-api-geometry==0.4.1
ansys-api-mechanical==0.1.1
ansys-api-platform-instancemanagement==1.1.0
ansys-fluent-core==0.20.1
ansys-geometry-core==0.5.5
ansys-mechanical-core==0.10.10
ansys-mechanical-env==0.1.6
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc3
ansys-tools-path==0.5.2
ansys-units==0.3.2
appdirs==1.4.4
astropy==6.1.0
astropy-iers-data==0.2<IP_ADDRESS>.29.40
asttokens==2.4.1
autograd==1.6.2
beartype==0.17.2
cadquery==2.4.0
cadquery-ocp==7.7.2
casadi==3.6.5
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
cloudpickle==3.0.0
clr-loader==0.2.6
cma==2.7.0
colorama==0.4.6
comm==0.2.2
contourpy==1.2.0
CoolProp==6.6.0
cycler==0.12.1
darkdetect==0.7.1
debugpy==1.8.1
decorator==5.1.1
docker==6.1.3
docx==0.2.4
et-xmlfile==1.1.0
exceptiongroup==1.2.1
executing==2.0.1
ezdxf==1.3.0
fonttools==4.47.0
func-timeout==4.3.5
future==0.18.3
gmsh==4.12.0
grapheme==0.6.0
grpcio==1.64.0
grpcio-health-checking==1.48.2
idna==3.6
importlib_metadata==7.1.0
ipykernel==6.29.4
ipython==8.24.0
jedi==0.19.1
joblib==1.3.2
jupyter_client==8.6.2
jupyter_core==5.7.2
kiwisolver==1.4.5
lxml==4.9.4
markdown-it-py==3.0.0
matplotlib==3.8.2
matplotlib-inline==0.1.7
mdurl==0.1.2
meshio==5.3.4
mpmath==1.3.0
multimethod==1.9.1
nest-asyncio==1.6.0
nlopt==2.7.1
nptyping==2.0.1
ntplib==0.4.0
numpy==1.23.4
openpyxl==3.1.2
packaging==23.2
pandas==1.5.3
parso==0.8.4
path==16.14.0
Pebble==5.0.6
Pillow==10.1.0
Pint==0.23
platformdirs==3.11.0
pooch==1.8.1
prompt-toolkit==3.0.43
protobuf==3.20.3
psutil==5.9.7
PsychroLib==2.5.0
pure-eval==0.2.2
pycparser==2.22
pycryptodome==3.19.1
pyerfa==<IP_ADDRESS>
Pygments==2.17.2
pygmsh==7.1.17
pymoo==0.5.0
pyparsing==3.1.1
pyperclip==1.8.2
pyqtdarktheme==2.1.0
PySide2==<IP_ADDRESS>
python-dateutil==2.8.2
pytz==2023.3.post1
pyvista==0.43.8
pywin32==306
PyYAML==6.0.1
pyzmq==26.0.3
requests==2.31.0
rich==13.7.0
scikit-learn==1.3.2
scipy==1.11.4
scooby==0.10.0
semver==3.0.2
shiboken2==<IP_ADDRESS>
six==1.16.0
spyder-kernels==2.5.1
stack-data==0.6.3
sympy==1.12
threadpoolctl==3.2.0
tornado==6.4
tqdm==4.66.4
traitlets==5.14.3
trimesh==4.4.0
typing_extensions==4.11.0
typish==1.9.3
tzdata==2023.4
urllib3==2.1.0
vtk==9.3.0
wcwidth==0.2.13
websocket-client==1.8.0
WMI==1.5.1
XlsxWriter==3.1.9
zipp==3.18.2

@OmarZaki96 what you are missing here is that you called a TUI command, which sends the result to the console/transcript. In other words, It does not return the mesh_size(), it instead just prints that output, for example:
>>> return_value = meshing.tui.report.mesh_size()
number of boundary nodes = 2814
number of boundary edges = 506
number of boundary faces = 4612
>>> print(return_value)
True

This is not a bug, I would classify this as a feature/improvement request instead. Considering this is a TUI command, and I don't think we have a Settings API equivalent for this command at this time, we could consider adding Settings API equivalent or similar that returns e.g. a dictionary with the mesh size results (and does not print to the console).

@OmarZaki96, actually tui commands does not return anything.
Calling meshing.tui.report.mesh_size() prints the data like @raph-luc mentioned.

There is a scheme call which can be used to retrieve these values which you can use now.
mesh_size = meshing.scheme_eval.scheme_eval("(%tg-length-of-entity-list)")
This returns the entire list: [51301, 0, 83476, 17264, 13260, 300, 4800]

Thanks @raph-luc and @prmukherj, for your help. I tried the code and it worked!

hello @prmukherj
I am currently facing a similar issue: I would like to extract the mesh quality metrics (such as skewness and orthogonal quality) in Fluent, but I noticed that when I use typy(quality_result), the result type is not in a suitable format.
The code I am currently using is as follows:
quality_result = self.solver.tui.report.cell_quality_limits("fluid")
quality_result = self.solver.tui.report.quality_method("skewness", "volume")
quality_result = self.solver.tui.report.cell_quality_limits("fluid")
Could you please advise how I could extract these results using Scheme instead? I would greatly appreciate any insights or example commands to accomplish this.


No module named 'object_detection'

Traceback (most recent call last):
File "id_card_detection_image.py", line 13, in
from utils import label_map_util
File "C:\Users\Orcun\id-card-detector-master\utils\label_map_util.py", line 21, in
from object_detection.protos import string_int_label_map_pb2
ModuleNotFoundError: No module named 'object_detection'

Hi,
You need to Tensorflow models
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md
Download tensorflow models and go to  \model master\models-master\research open cmd or terminal in this path and type python setup.py install or python3 setup.py install
https://github.com/tensorflow/models/issues/2031

Hi,
You need to Tensorflow models
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md
Download tensorflow models and go to \model master\models-master\research open cmd or terminal in this path and type python setup.py install or python3 setup.py install
tensorflow/models#2031

Thanks, I just used your inference graph on opencv.
##Eski ve yeni kimliklerin ikisiyle de egitmeniz cok iyi olmus :D

I am getting the following errors.. when I run the main training program..
(tensorflow) C:\tensorflow\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
Traceback (most recent call last):
File "train.py", line 54, in
from object_detection.builders import model_builder
File "C:\tensorflow\models\research\object_detection\builders\model_builder.py", line 20, in
from object_detection.builders import anchor_generator_builder
File "C:\tensorflow\models\research\object_detection\builders\anchor_generator_builder.py", line 23, in
from object_detection.anchor_generators import flexible_grid_anchor_generator
ModuleNotFoundError: No module named 'object_detection.anchor_generators'


Logout Link not working

Logout link not working.
This is because it is not prefixed by ENV.

[ ] create a failing test
[ ] have it pass

Please check the code commit for test case.

Fixed the Logout Link & wrote the test case for Logout


Working with Layers on the Page

Bug Description
I’m not able to grab the picture behind the text box even though the borders of each element are staggered. In order to do so, I would have to change focus to the picture using the layers panel or I would have to move the text box out of the way to be able to grab the image.

Another example:

Expected Behaviour
I should be able to use my mouse because the border of the text box is staggered with the image.
Steps to Reproduce

Screenshots

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

This is not quite clear. But if the issue is that a frame up top prevents the pointer from grabbing an element behind it, that seems as WAI?

Issue appears to be fixed. closing.


Framelayout overlapped by Bottombar

Am using compile 'com.roughike:bottom-bar:1.3.3' and am initializing Bottombar as
 final BottomBar bottomBar = BottomBar.attach(this, savedInstanceState);
from my Activity's onCreate()
Am attaching another FrameLayout via ActivityLifeCycleCallback.onActivityResumed(). Am adding this FrameLayout as a child to  ((ViewGroup) activity.findViewById(android.R.id.content)).
By the time I attached my custom FrameLayout, ((ViewGroup) activity.findViewById(android.R.id.content))

already has Bottombar at index 0, and my FrameLayout is attaching at index 1.

So the expected behavior is my FrameLayout should appear as an overlay on top of Bottombar, which is not the case in this particular scenario.
My FrameLayout is hidden by Bottombar.
To my surprise, when debugged via Android's HierarchyViewer shows my FrameLayout as the top layout and Bottombar as the next one. In actual device or emulator it is otherwise.
Pls take a look at the screenshot of the same.

As the bottombar is attaching itself as a new view to the android content's view it's not surprising that it interferes with self-attached views.
As onActivityResumed() might be called multiple times during an activities lifecycle it's likely not the best place for attaching that view.
Another question I've got is, what you want to achieve with attaching the framelayout manually. If you only want to put a "loading overlay" atop the view maybe you can show a dialog instead of putting new views to the Viewgroup (like ProgressDialog)?

@Nolanus thanks for your comments. The approach which I implemented via onActivityResumed() is working great across different apps. So far no issues observed. Coming to what am trying to achieve is to mimic FAB kind of button, which is movable and actionable. So I had chosen FrameLayout and adding this layout atop of all the views. Is there any workaround that I can force the BottomBar to stay behind my view ?

This shouldn't be a problem with the newer versions (2.0 and up) of this library. The BottomBar is now just a regular View you can add to your XML layout.


please add a new school

harischandranationalschool.txt

@NikitaKeith First stage of verification passed, official domain is bs1-sw.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.bs1-sw.de/


Images not getting diffused correctly at 840x1176 (windows xl sm80 1 1176 unet)

On a resolution of 840x1776 840x1176 (windows xl sm80 1 1176 unet) images are not getting diffused correctly. It goes away if you lower the resolution to ex. 848x1184 (windows xl sm80 1 1184 unet works) and AIT switches to a different module.
EDIT: resolution typo corrected to 840x1176
It's not seed, prompt or sampler dependent.
@shaistrong kindly helped confirming the issue.
Tested on Windows 11, 4090 (536.67), latest version of ComfyUI and the AIT custom node
first stages during diffusion (ksampler image)

final output image

It goes away if you lower the resolution to ex. 848x1184 (windows xl sm80 1 1184 unet works) and AIT switches to a different module.

840x1176 is smaller than 848x1184, and should use the same module. Can you confirm the resolution that works, and which modules are being selected?
The selected module will be displayed on the terminal.
Can you try a 64px resolution such as 832x1152? There have been some reports of 8px increment not working as expected on XL models, as far as I'm aware v1/v2 is unaffected.

I made a typo in my initial post. Sorry about that, @hlky !
The incomplete diffusion happens when using a resolution of 840x1176 which uses windows xl sm80 1 1176 unet.
The images diffuses correctly when using:
832x1152 (windows xl sm80 1 1152 unet)
848x1184 (windows xl sm80 1 1184 unet)

@hlky can you guys add a node for empty latent image [AIT]? so people don't accidentally use 8px increments

@masslevel

848x1184 (windows xl sm80 1 1184 unet)
Interesting. 848 is 16px increment, 1184 is 32px increment. Whereas 840 and 1176 are only divisible by 8. It would be useful to test more 16px and 32px increments.

@Shaistrong Yes they have been re-added here

@masslevel

848x1184 (windows xl sm80 1 1184 unet)

Interesting. 848 is 16px increment, 1184 is 32px increment. Whereas 840 and 1176 are only divisible by 8. It would be useful to test more 16px and 32px increments.
@Shaistrong Yes they have been re-added here

16px increments seem to work, it's just 8px increments that AIT doesn't diffuse correctly.

@masslevel

848x1184 (windows xl sm80 1 1184 unet)

Interesting. 848 is 16px increment, 1184 is 32px increment. Whereas 840 and 1176 are only divisible by 8. It would be useful to test more 16px and 32px increments.
@Shaistrong Yes they have been re-added here

16px increments seem to work, it's just 8px increments that AIT doesn't diffuse correctly.

Sharing my results testing SDXL in ComfyUI with AIT, latest builds as of time of this post. AIT consistently introduces large changes to images in the direction of reduced coherence.
Prompt "Photograph of a young woman holding an apple", basic workflow with no use of refiner. All images generated at 1024x1024.
In all cases, far left side is non-AIT image, middle and/or right side are AIT with same seed.

@clockworkwhale I've also noticed differences - but only very minor ones. Maybe it has something to do with the settings (sampler etc).
Also you might want to open a new issue for this since this topic is about something else.

@masslevel I had asked for the tests be shared on this issue. There has always been some slight numerical inaccuracy, however the differences in the above tests are more than typical. I believe it to be a related regression.
@clockworkwhale Thank you. Can you share the workflow json so I have the seed etc?


Add jacoco to code-quality profile

Jacoco is responsible for the code coverage check. It is needed as the
project tries to maintain 100% code coverage via unit tests. (An
exception is the Application class as it needs an integration test to be
fully tested)
Fixes #10

@rultor merge please

@rultor merge please

@aliceice OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge please

@aliceice Done! FYI, the full log is here (took me 3min)


Link signature certificate

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

How we link the signature annotations on every page to 1 digital signature?

Closing duplicate in favour of #305.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 654917c, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 500
Response time: 27647 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in f39455b after 9 minutes.


1.70 cannot be installed

setup.js:292 Error: An unexpected error occurred when downloading file https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.7.0.zip: Not Found
at fetchWithTimeout (file:///C:/Program%20Files/Foundry%20Virtual%20Tabletop/resources/app/common/utils/http.mjs:42:11)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async file:///C:/Program%20Files/Foundry%20Virtual%20Tabletop/resources/app/dist/files/downloader.mjs:1:616

fix'd


Adjust $ouiFormInputGroupLabelBackground color in dark next theme

Description

Set to #293847 for better contrast against both page background and panel background
Definitions for other themes and modes remain the same
https://github.com/opensearch-project/oui/assets/1679762/efb0694e-f21c-41e9-8e84-08dda16b7011
Issues Resolved

Fixes #939
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] All tests pass

[ ] yarn lint
[ ] yarn test-unit

[ ] Update CHANGELOG.md
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@KrooshalUX See video for review. Was I correct in understanding that we only wanted to adjust next dark?


chore(deps): update common-dev-assets digest to 2c92e37

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
7aa8a96 -> 2c92e37

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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


[BUG] dbtvault expands struct automatically when calling dbtvault.stage

Describe the bug
dbtvault expands the struct automatically from raw_stage to staging area.
Versions
dbt: 0.20.1
dbtvault: personalised branch starting from develop branch
To Reproduce
Steps to reproduce the behavior:

Create a table in raw_stage area with a struct field as
data_type: struct<scn:int,from:int,to:int,lines:array,postCode:string>
address ["from": 20200101, "to": null, "lines": ["1 street", "Edinburgh", 'XX77 7XX']]
The result query will be (see Log files) SELECT address, from, to, lines,

Expected behavior
Field should be kept with originally structure
Log files
dbt.log

Hi @NikkaIW thanks or the report. Can I ask you to confirm what platform this is on please?

Databricks

On 14 Sep 2021, at 14:13, Alex Higgs @.***> wrote:
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.
Hi @NikkaIW https://urldefense.com/v3/__https://github.com/NikkaIW__;!!Kz4hg-9TIhMrN2chtpl6!x2pcyuFAeSflvKO-VKtGLFruJSQ-uiEavz9GbjTtVTkMmZgneaLHvxlhpAnR1fedA8Z8bluveA$ thanks or the report. Can I ask you to confirm what platform this is on please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/Datavault-UK/dbtvault/issues/59*issuecomment-919138530__;Iw!!Kz4hg-9TIhMrN2chtpl6!x2pcyuFAeSflvKO-VKtGLFruJSQ-uiEavz9GbjTtVTkMmZgneaLHvxlhpAnR1fedA8YYxxCZ0A$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AUS6WXTSOP3NVZPZQYV34ELUB5DBFANCNFSM5EACGYWA__;!!Kz4hg-9TIhMrN2chtpl6!x2pcyuFAeSflvKO-VKtGLFruJSQ-uiEavz9GbjTtVTkMmZgneaLHvxlhpAnR1fedA8aKPD50CA$.
Triage notifications on the go with GitHub Mobile for iOS https://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!Kz4hg-9TIhMrN2chtpl6!x2pcyuFAeSflvKO-VKtGLFruJSQ-uiEavz9GbjTtVTkMmZgneaLHvxlhpAnR1fedA8aunT7Nyw$ or Android https://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!Kz4hg-9TIhMrN2chtpl6!x2pcyuFAeSflvKO-VKtGLFruJSQ-uiEavz9GbjTtVTkMmZgneaLHvxlhpAnR1fedA8bfHd5VIA$.

--
Infinity Works Consulting Limited is a limited company registered in
England and Wales. Company No. 08189469. 3rd Floor, Apsley House, 78
Wellington St, Leeds, LS1 2EQ.
This message is private and confidential.
If you have received this message in error, please do not read, print,
copy, re-transmit or otherwise disclose it or any of its attachments to
anyone. Instead, please notify us and permanently delete this email and any
attachments to it from your system. Infinity Works may monitor messages
without prior notice. Infinity Works Consulting is not obliged to monitor
email messages. For more information, read our privacy policy
https://www.infinityworks.com/privacy-policy/.

Thank you. I will first investigate if this is a reproducible issue in Snowflake, or whether it is a Databricks specific issue.

@NikkaIW  Hey I am newbie to dbtVault, Please can you point to the documentation that describes that how can we connect Databricks with dbtVault. I tried with snowflake example that is mentioned in documentation, now I want to try it with Databricks. Thanks in advance.

@DatavaultUK Thank you for the quick response. I really appreciate it!

Closing as this is due to the use of an unsupported platform. When Databricks is supported we will ensure this issue is handled. Thank you


[angle] Build error

Host Environment

OS: [e.g. Windows/Linux etc...]
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install xxxx
Failure logs
-Cut and paste the appropriate build messages from the console output.
-Please attach any additional failure logs mentioned in the console output.
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

@GJD-first , Thanks for posting this issue, please follow the template above to fill in your reproduction environment, reproduction steps and error log

Probably another duplicate of #24704 (internal compiler error).

We don't have enough information to solve this issue, unfortunately; if you have any more information to help us solve this, please reopen!


[Bug]: Range input appearance not work on chrome 123, but work on Firefox

Before submitting...

[X] I have searched for duplicate or closed issues.
[X] I have read the CONTRIBUTING document and my issue is following the guidelines.
[X] I have read the template completely before filling it in.

Context
Following is two screenshot when open use chrome and firefox.
chrome: (not correct)

firefox: (correct)

Current Behavior
No response
Expected behavior
Expect range input show correct on chrome browser, as in Firefox.
Possible Solutions or Causes
No response
Steps to reproduce
No response
Your Environment

Version used: 2.0.4
Browser Name and version:  Google Chrome 123.0.6312.86
Operating System and version (desktop or mobile): Arch linux on desktop
Additional information you want to tell us:

Work around:
input[type=range] {
background-color: var(--md-sys-color-primary);
}

Work around: input[type=range] { background-color: var(--md-sys-color-primary); }

It works!


Fix sorting by date

@schneidermichal Hello, could you please use instanceof instead of is_a function?

@schneidermichal Could you please squash these commits? Thanks!

Done. I'm sorry.

@schneidermichal Could you please squash these commits? Thanks!

@paveljanda You should be able to squash them when merging! :) Click the arrow!

That should save us a lot of troubles, many times when doing force push PR automatically closes.

@dakorpar Never happend to me.

@schneidermichal Thank you.

@paveljanda maybe doesn't happen to owners of repository.
I'll check my PR I think in few of them actually wroted PR closed because of push --force

@dakorpar I have been force pushing to PRs to this repository multiple times, never closed on me.

@dakorpar Never happened to me when updating pull requests (Not my repos). You can "google" some tutorial on youtube.

I made the fix directly to master branch, as I found, making feature branch would be better...

well there's not much there you either squash them with rebase -i and hash of first commit you want to take and force push, or you can do it git reset --soft hash, so I don't really see what could go wrong and why PR was automatically closed... Could be something with my setup or something... Maybe I went one commit to far...


change navimenu classes to methods

the navigation menu classes was changed to "methods"

This change doesn't make any sense to me--classes aren't methods. Closing.


[GLUTEN-5189][VL] Correct boost lib path

What changes were proposed in this pull request?
closes #5189
How was this patch tested?

@liujiayi771, could you help check this? Thanks!

@PHILO-HE I mainly test on CentOS 8, but I just created a new Ubuntu environment and found that libboost is indeed installed in the /usr/local/lib directory. This is confirmed by the build parameters in the setup-ubuntu.sh script, which includes the --prefix=/usr/local.
BTW. Do we have tests for the packaging scripts? We need an empty Docker environment to run these scripts to confirm their correctness. Velox has corresponding tests when modifying setup-xxx.sh, and Gluten should also include tests for these script modifications.

BTW. Do we have tests for the packaging scripts? We need an empty Docker environment to run these scripts to confirm their correctness. Velox has corresponding tests when modifying setup-xxx.sh, and Gluten should also include tests for these script modifications.

Hi @liujiayi771, thanks for your confirmation! We have a verification test for package.sh in previous CI, but it is not added back in the new CI. As we are encouraging users to build gluten with static link, do you think we still need a test job for this?

I think we'd better add package.sh test back. The static link way needs more time to refine, see
https://github.com/apache/incubator-gluten/pull/5033#issuecomment-2024483029

I think we'd better add package.sh test back. The static link way needs more time to refine, see #5033 (comment)

@liujiayi771, @ulysses-you, OK. I will try to add it back. Thanks!


Gulp task - Error: Cannot find module 'glob'

The Grunt task has a dependency on 'glob', but does not install it.

I am using node version 0.10.35 & npm version 1.4.28 then after I am getting same error

Are you using version 0.7.1?

I changed my node version to 0.6.21 and it solved my error.
Thanks for help.

Node 0.6? That sounds a little outdated compared to the current 0.12?

What I am using is five year old project and it needs node version less than 0.7


Failed to activate the jolie-docs package

[Enter steps to reproduce:]

...
...

Atom: 1.22.1 ia32
Electron: 1.6.15
OS: Debian GNU/Linux
Thrown From: jolie-docs package 0.2.1
Stack Trace
Failed to activate the jolie-docs package
At Arguments to CompositeDisposable.add must have a .dispose() method

TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
    at assertDisposable (/opt/atom/resources/app/node_modules/event-kit/lib/composite-disposable.js:74:19)
    at CompositeDisposable.module.exports.CompositeDisposable.add (/opt/atom/resources/app/node_modules/event-kit/lib/composite-disposable.js:43:17)
    at /packages/jolie-docs/lib/message-provider.coffee:26:20)
    at Object.activate (/packages/jolie-docs/lib/jolie-docs.coffee:25:24)
    at Package.module.exports.Package.activateNow (/opt/atom/resources/app/src/package.js:253:25)
    at /opt/atom/resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/opt/atom/resources/app/src/package.js:99:21)
    at /opt/atom/resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (/opt/atom/resources/app/src/package.js:215:40)
    at PackageManager.activatePackage (/opt/atom/resources/app/src/package-manager.js:690:42)
    at /opt/atom/resources/app/node_modules/settings-view/lib/package-manager.js:535:35
    at exit (/opt/atom/resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/opt/atom/resources/app/src/buffered-process.js:338:17)
    at /opt/atom/resources/app/src/buffered-process.js:359:17
    at Socket.<anonymous> (/opt/atom/resources/app/src/buffered-process.js:220:15)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

Commands
     -2:14.1.0 window:increase-font-size (atom-pane.pane.active)
     -2:01.6.0 command-palette:toggle (atom-pane.pane.active)
  4x -1:55 core:move-down (input.hidden-input)
  3x -1:54.2.0 core:move-up (input.hidden-input)
 14x -1:50 core:backspace (input.hidden-input)
  2x -1:26.4.0 core:move-down (input.hidden-input)
     -1:24.9.0 core:confirm (input.hidden-input)
     -1:24.9.0 settings-view:install-packages-and-themes (atom-pane.pane.active)
     -1:16.2.0 core:confirm (input.hidden-input)
     -0:03.8.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages
atom-jolie 0.3.0
busy-signal 1.4.3
intentions 1.1.5
jolie-docs 0.2.1
language-jolie 0.5.0
linter 2.2.0
linter-jolie 0.8.0
linter-ui-default 1.6.10
script 3.17.3

Oops, I stoped working on the project :pensive: it seems that it does not work at all. I am going to rewrite the package from scratch soon.


Should default bin width / number of bins reflect the viewport

danielle raises this question.  we'll take it to the working groups and update this ticket when we learn more

Yes I think so.  When zooming in to a sub-range of the x-axis aka viewport, I think the client should not send a specific binWidth with the request and expect a default binWidth from the back end.  That default binWidth should "reflect the viewport" and provide semantic zooming.
The downside to this is that a user may have found a good binWidth and zoom just a little bit, and then the binWidth will be reset again.

so far the only responses ive received have been in support of semantic zooming. since thats whats currently implemented im going to close this ticket. we can always reopen if someone voices concerns.


Replaced .addType("tweet") by .addIndex("tweet")

Corrected the Documentation. The examples with the copy/paste error were really confusing for a newbie in indexes / types. In the doc, the index is "twitter" and the type is "tweet".

Coverage remained the same at 57.519% when pulling d0e8e80f9a452670d652a63750b07f797713e32c on JonyD:patch-2 into 8d8b5c36132e0c38e4cf775a35bf50ccbbad0a92 on searchbox-io:master.


SSFO diff

attribute IDREF, check if it can be removed like ID currently is

issue reproduced, this happens when a window is referenced across multiple pages,


[WC-2341]: Change Combo Box to allow for Ranked Sorting again

Pull request type

Bug fix (non-breaking change which fixes an issue)

Description
The idea is to return the ranked sorting again to combobox, but only when user starts typing something.

please add changelog


fix(headless): stop sending invalid actionCause for event protocol

https://coveord.atlassian.net/browse/KIT-3748
Stop sending to EP events that are not in that list as they are invalid. This ended up taking 20 minutes so I just did it now.

Great job! I'm bit curious, after this, how we could validate if these events are valid or invalid ?

Great job! I'm bit curious, after this, how we could validate if these events are valid or invalid ?

If they are not in that list, they will be flagged as invalid. https://github.com/coveo-platform/analytics_schema/blob/de502f0877eeaae8e523c78a08e92222f8b26eee/schemas/common/types.json#L267-L292

Asking for @erocheleau or @mmitiche review for "insight stuff" review.

We need to update the test files under src/integration-tests/** accordingly, they are not filling becuse they are being excluded here: https://github.com/coveo/ui-kit/blob/4ccf316335e28c784e52b18d3f0c29eeddf124ba/packages/headless/package.json#L132 but they are using the functions that were deleted in this PR.

We need to update the test files under src/integration-tests/** accordingly, they are not filling becuse they are being excluded here: https://github.com/coveo/ui-kit/blob/4ccf316335e28c784e52b18d3f0c29eeddf124ba/packages/headless/package.json#L132 but they are using the functions that were deleted in this PR.
out of curiosity, what's the reason behind excluding these tests under src/integration-tests/**?

Sure i can fix the integration-tests, we are excluding them because some are sending network requests which causes throttling with SAPI.

Ok kk. So I assume we are not able to know until it goes to Data-platform. (it's not urgent, you don't have to do it now, maybe next quarter) Can you please help to make sure after the fix is deployed, there is no more invalid flagged by data-platform? Or at least identify if there is anything else, maybe a jira to follow up later 🤔

Great job! I'm bit curious, after this, how we could validate if these events are valid or invalid ?

If they are not in that list, they will be flagged as invalid. https://github.com/coveo-platform/analytics_schema/blob/de502f0877eeaae8e523c78a08e92222f8b26eee/schemas/common/types.json#L267-L292

Sure there is a snowflake query we could run to see all failed event because of actionCause in headless, ill make a jira that we can run eventually with the proper query.


win, tty: fix problem of receiving unexpected SIGWINCH

Fix an issue where WINDOWS_BUFFER_SIZE_EVENT occurs and unexpected SIGWINCH is received before calling uv__tty_console_resize_message_loop_thread().
We encountered this problem in neovim functional tests.
Ref. https://github.com/neovim/neovim/pull/10978#issuecomment-530742148

@bzoz You're probably the most qualified to review this.

Since this was caught with a test, any chance one can be written so we can catch it if it comes back in the future?

Since this was caught with a test, any chance one can be written so we can catch it if it comes back in the future?

To write a test that will catch this problem reliably, we need to call uv__tty_console_resize_message_loop_thread() after the first WINDOWS_BUFFER_SIZE_EVENT. I think it is possible to implement such behavior only during testing, but it will be too complicated.
https://github.com/libuv/libuv/pull/2478/commits/1beb7394ace3dc7240926e48bbdae1049d5f72d2  tried to add assert so that it can be caught when this problem recurs in the future. How about this?

That assert would trip if GetConsoleScreenBufferInfo had returned error, right? Is that possible? We might want to abort() if we are in a "the code is broken" situation, IMHO.

That assert would trip if GetConsoleScreenBufferInfo had returned error, right? Is that possible? We might want to abort() if we are in a "the code is broken" situation, IMHO.

@saghul I'm not sure, but if the GetConsoleScreenBufferInfo() on line 177 returns an error, the assert will not fail because GetConsoleScreenBufferInfo() on line 2369 also returns an error.

Gotcha. LGTM.

Landed in 50130422, thank you!


Update monix-testing-scalatest to 0.3.0

Updates io.monix:monix-testing-scalatest from 0.2.0 to 0.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.monix", artifactId = "monix-testing-scalatest" } ]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #976.


Added more exit upgrade states for polling to complete.

#8025

@hiyadav please make changes as per Nathan's e-mail.

@hiyadav please consider re-activating this.


fix(playwrighttesting): use bash for linux and osx git commands

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Profile Lookup challenge needs test with non-existent firstName AND prop

Profile Lookup
https://www.freecodecamp.com/challenges/profile-lookup
Issue Description
There is no test with both a name and property that doesn't exist, e.g. "Bob" "address". If the user is capable of not knowing contacts or properties, the code should handle the case of them not knowing both.

Hi @willnwhite,
Thanks for the suggestion. I think this test might be redundant. However, I will go ahead and make a PR with the test.

My original motivation for this test was that I solved this challenge with code that returned 'No such property' for lookUp("Bob", "address"), which leads the user into thinking there is a contact called Bob, which is untrue.

Hi all! Thanks a lot for reporting and even working on a fix. This test was indeed needed. However, we have already fixed it with https://github.com/freeCodeCamp/freeCodeCamp/pull/11821 The change is still in the beta, but once it goes live, this problem will be resolved.
Happy coding!


Published - returning to "yes" after refresh

Go to admin/notifications/23/edit
Switch Published to "off"
Click "Submit"

Results:
Published returning to "yes" after refresh

@dawid-g fixed

verified as fixed.


For time entries with assignments without workers, mark as deleted.

Coverage decreased (-0.1%) to 93.212% when pulling a51c1739b301c2cbaba117d412d842c5a96748f9 on time-entry into 0980be3da4ccf3a389edb592ccd4670c02a33432 on master.


Consider using defusedxml instead of  lxml.etree to avoid certain XML attacks.

I ran a quick bandit scan against python-stix and observed the following issues. Most are medium/low severity, though.

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.py:95
94	            parser = mixbox.xml.get_xml_parser()
95	            return_obj.ioc = etree.parse(BytesIO(d['ioc']), parser=parser)
96

Issue: [B410:blacklist] Using etree to parse untrusted XML data is known to be vulnerable to XML attacks. Replace etree with the equivalent defusedxml package.
Severity: Low   Confidence: High
Location: python-stix/stix/test/extensions/malware/maec_4_1_malware_test.py:5
4
5	from lxml import etree
6	import mixbox.xml

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/test/extensions/malware/maec_4_1_malware_test.py:86
85	        parser = mixbox.xml.get_xml_parser()
86	        tree = etree.parse(BytesIO(xml), parser=parser)
87	        root = tree.getroot()

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/test/extensions/malware/maec_4_1_malware_test.py:99
98	        parser = mixbox.xml.get_xml_parser()
99	        tree = etree.parse(StringIO(self.XML), parser=parser)
100

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/test/extensions/malware/maec_4_1_malware_test.py:108
107	        parser = mixbox.xml.get_xml_parser()
108	        tree = etree.parse(StringIO(self.XML), parser=parser)
109	        ext = MAECInstance()

Issue: [B410:blacklist] Using lxml to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml with the equivalent defusedxml package.
Severity: Low   Confidence: High
Location: python-stix/stix/test/extensions/test_mechanisms/openioc_test.py:6
5
6	import lxml
7
8	from mixbox import idgen

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/test/extensions/test_mechanisms/openioc_test.py:132
131	        parser = mixbox.xml.get_xml_parser()
132	        tree = lxml.etree.parse(BytesIO(xml), parser=parser)
133	        root = tree.getroot()

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/test/extensions/test_mechanisms/openioc_test.py:144
143	        parser = mixbox.xml.get_xml_parser()
144	        tree = lxml.etree.parse(StringIO(self.XML), parser=parser)
145

Issue: [B320:blacklist] Using lxml.etree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.parse with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/test/extensions/test_mechanisms/openioc_test.py:152
151	        parser = mixbox.xml.get_xml_parser()
152	        tree = lxml.etree.parse(StringIO(self.XML), parser=parser)
153	        ext = OpenIOCTestMechanism()

Issue: [B410:blacklist] Using lxml.etree to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree with the equivalent defusedxml package.
Severity: Low   Confidence: High
Location: python-stix/stix/test/utils/nsparser_test.py:8
7	# external
8	import lxml.etree
9	from mixbox.vendor.six import StringIO

Issue: [B410:blacklist] Using lxml.etree to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree with the equivalent defusedxml package.
Severity: Low   Confidence: High
Location: python-stix/stix/utils/init.py:9
8
9	import lxml.etree
10
11	from mixbox.entities import Entity, EntityList

Issue: [B320:blacklist] Using lxml.etree.fromstring to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.fromstring with its defusedxml equivalent function.
Severity: Medium   Confidence: High
Location: python-stix/stix/utils/init.py:108
107	    xml = "{0}".format(text)
108	    node = lxml.etree.fromstring(xml)
109	    return node.text

Thanks, @santosomar. We'll take a look at this. If you have the time to make a pull request before we get a chance to, it would be greatly appreciated!


Added test for .core.combine_data

Pull Request Test Coverage Report for Build 423

45 of 46 (97.83%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+1.2%) to 57.535%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

goodman_pipeline/core/tests/test_core.py
45
46
97.83%

Files with Coverage Reduction
New Missed Lines
%

goodman_pipeline/core/tests/test_check_version.py
1
85.71%

goodman_pipeline/core/check_version.py
1
91.67%

Totals

Change from base Build 422:
1.2%

Covered Lines:
2383

Relevant Lines:
3787

💛  - Coveralls

Pull Request Test Coverage Report for Build 423

45 of 46 (97.83%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+1.2%) to 57.535%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

goodman_pipeline/core/tests/test_core.py
45
46
97.83%

Files with Coverage Reduction
New Missed Lines
%

goodman_pipeline/core/tests/test_check_version.py
1
85.71%

goodman_pipeline/core/check_version.py
1
91.67%

Totals

Change from base Build 422:
1.2%

Covered Lines:
2383

Relevant Lines:
3787

💛  - Coveralls


Serializing and storing non-mapped properties

As a measure against making PUT requests that removes/resets user data, I'd like to store non-mapped properties when mapping from JSON to objects and use that info when mapping from objects to JSON.
Imagine the following class:
public class Entry: Mappable {
    var id: Int?
    var text: Int?

    public func mapping(map: Map) {
        id <- map["id"]
        text <- map["text"]
    }
}

This works well while my REST endpoint follows the same model.
But when the endpoint's model is updated with an additional field - let's say title - the new field is set to null when I make a PUT request with the JSON from the mapped object that I mapped from JSON from a GET request. I.e. I lose the info.
Of course this could be fixed by updating my mapping and push an app update - and that will often be the case. But as a secondary measure I'd like to save the non-mapped properties such that they can be used to re-create the JSON.
I've played around with writing a base model class as followed:
public class BaseModel: Mappable {
    var allProps = [String:AnyObject]()

    public required init?(_ map: Map) { }

    public func mapping(map: Map) {
        switch map.mappingType {
        case .FromJSON:
            for (key, value) in map.JSONDictionary {
                allProps[key] = value
            }
        case .ToJSON:
            for (key, value) in allProps {
                map.JSONDictionary[key] = value
            }
        }
    }
}

But as the the setter on the JSONDictionary property in the Map class is inaccessible, this won't do the trick.
Besides forking this (great) library, is there any way of achieving this?

Unfortunately ObjectMapper doesn't provide any functionality like this. Good luck finding a solution.
I would maybe recommend versioning your API when new keys are added to the models.


Spanish translation

I'm interested in beginning translating the project into Spanish and I was wondering if I could start pull requests of the files. Many thanks in advance!

I am afraid but I think we are currently not on a stage to accept PRs for translations as we can not guarantee that we will be able to keep these up to date to reflect the changes that are done.
With this in mind I think we should close this for now.

@Jamez312 that said thanks for the offer!


Not working with nvim-treesitter

Hey,
I know that this parser is not as mature as the other tree sitter parsers I have seen. However, I cannot seem to get it to work on nvim-treesitter. Is it ready for use or is it still under development?
Thanks.

Nevermind, I am just misinformed.
There is a PR at https://github.com/nvim-treesitter/nvim-treesitter/issues/1268 though.

Basically you'd have to add parser.
As for the highlighting I'll follow up this evening with intstructions.

I see that you've figured out how to add queries so that nvim-treesitter sees them: https://github.com/nvim-treesitter/nvim-treesitter/issues/1268#issuecomment-830676648
But for anyone else wondering how to use it with nvim-treesitter for now until this parser lands in their repo, this is the relevant docs:

Adding queries
Queries are what nvim-treesitter uses to extract informations from the syntax tree; they are located in the queries/{language}/* runtime directories (like the queries folder of this plugin), e.g., queries/{language}/{locals,highlights,textobjects}.scm. Other modules may require additional queries such as folding.scm.

Which means you should add the highlights.scm for fish into the runtimepath, for example next to the init.vim file
init.vim
queries/
  fish/
      highlights.scm
      indent.scm

@krnik Thanks! I have managed to get the highlight scheme extended and include other schemes. The PR is here https://github.com/nvim-treesitter/nvim-treesitter/pull/1272.


No license

This doesn't have a license. How does MIT sound?

Good point. I like the MIT license. Pushed a LICENSE file with MIT.


[Rest Server] Check default runtime before starting Docker

Check default runtime before starting Docker, fix #2739.
If nvidia-docker is installed and nvidia runtime is enabled by default, start nvidia-docker and isolate GPU through NVIDIA_VISIBLE_DEVICES provided by nvidia runtime.

Coverage increased (+0.01%) to 53.075% when pulling ddd095aecf0afb3565338198ebd754989931e71b on xiongyf/check-default-runtime into a32a51c44fc55c3d318d55ba1b458db5c993b773 on master.


PrimaryScrollController.of() was called with a context that does not contain a PrimaryScrollController widget error

I updated to flutter 3.7.0 and start getting the following error on build:
FlutterError (PrimaryScrollController.of() was called with a context that does not contain a PrimaryScrollController widget.
No PrimaryScrollController widget ancestor could be found starting from the context that was passed to PrimaryScrollController.of(). This can happen because you are using a widget that looks for a PrimaryScrollController ancestor, but no such ancestor exists.
The context used was:
  Navigator-[LabeledGlobalKey<NavigatorState>#59c48](dependencies: [HeroControllerScope, MediaQuery, UnmanagedRestorationScope, _FocusTraversalGroupMarker], state: NavigatorState#82df9(tickers: tracking 1 ticker)))

The error stack trace point to here

I'm using Scaffold as the child of the ScrollsToTop widget, it was working before 🤔
I tried declaring the controller as:
final primaryScrollController = PrimaryScrollController.of(context);

and the error is gone and scroll to top also seem to be working, wondering if there's any specific use case where using PrimaryScrollController.of(Navigator.of(context).context) is necessary?
Thanks in advance!

I just switched back to 1.1.0 for now, and that seems to be working with Flutter 3.7 in my case

Fixed at version 2.1.0. Thanks!


Display exercise identifiers on the web interface

To use the command line client, an exercise identifier is needed. Yet, as far as I can tell, the web interface does not display this identifier.
Would it make sense to also update the command line client to get the student current homework assignments? Something like:
learn-ocaml-client assignments

would display a two-columns list like:
exercise-identifier-0      http://learn-ocaml-server/url-to-exercise-0-statement
exercise-identifier-1      http://learn-ocaml-server/url-to-exercise-1-statement
exercise-identifier-2      http://learn-ocaml-server/url-to-exercise-2-statement

Good suggestion, yes.
The only mention of the exercise id, otherwise, is in (the middle of) the address bar... hardly convenient.

This issue starts to matter since Paris Diderot will start using the learn-ocaml-client tool next week.

Fixed by #89


Add support for registry.npmjs.com URLs in the extension install input

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>fixes #1707

Will add a screenshot of the UI tomorrow. The general UX is Lens asks the user what version they want to install, and the versions are chosen from a dropdown in a notification.

Maybe we should just install latest version (or version that is given, package@version)? Version selector in a notification looks a bit odd.

The URL that would be provided is https://registry.npmjs.com/@mirantis/lens-extension-cc which doesn't include a version.
Sure I can make it so that it auto installed the latest, I just figured that a choice might be better.

The URL that would be provided is https://registry.npmjs.com/@mirantis/lens-extension-cc which doesn't include a version.
Sure I can make it so that it auto installed the latest, I just figured that a choice might be better.

Choice is better but we shouldn't put too many things into a notification. I would split out the version selector to a new PR where we can discuss how it should look like.

@jim-docker yes, because I used some of the changes I had in #2221. Both are targeted to 4.2.1 so it shouldn't be an issue with collision (I think).


Unable to Perform Inline edit with time picker in datatable

Description:
Issue: Unable to edit datatable inline using the time picker component, when you click your desired time the component does not respond as expected.
Steps to Reproduce:

Navigate to https://function-adminportal-test.shesha.dev/dynamic/Boxfusion.SheshaFunctionalTests.Common/Books-Table
On the table click the edit icon
Attempt to edit a cell in the datatable that uses a time picker component.
Actual Behavior: Inline editing is not possible with the time picker i.e. Time

Expected Behavior:
The time picker should enable inline editing of the corresponding cell in the datatable.

Hi @hlayisanimazuze. I've fixed it, please check


Fi 355 make db start populated

Updated the docker-compose to use Dockerfile.database
Dockerfile.database now copies an initdb.sql file so the data will load on first start up
Updated README to reflect changes and be more accurate
deleted unecessary files

what is the command you use to generate initdb.sql?

Looks good to me too -- I deleted the volume, restarted, and it worked.  @hershilpatel could you please update the readme with a section on how to regenerate initdb.sql based on the current snapshot of what is in the database?  Mainly I'm just looking for the sql command documented :).  Once that's done I'll approve and merge.  Thanks!

docker exec <DOCKER_CONTAINER_ID> pg_dump -U postgres postgres  > initdb.sql

Should I include this command somewhere?

You can do docker-compose exec db instead of looking up the container id @hershilpatel

The docker compose still uses the Dockerfile.database, we have a copy step to copy initdb.sql into the correct folder


Vanish command disabling voice chat

I've found that when I am vanished I can't hear other players voice chatting, nor can other people hear me voice chatting.
Running <IP_ADDRESS> Rocket, and Unturned <IP_ADDRESS> on my Unturned Server.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35771615-vanish-command-disabling-voice-chat?utm_campaign=plugin&utm_content=tracker%2F10719061&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10719061&utm_medium=issues&utm_source=github).

Yea, thats cause you internally dont change the position. Voice chat is p2p - can't change it.


Query prefix support

Add support for embedding prefixes. There are various models which differentiate embeddings of content and embedding of queries for the content. For example nomic models expect prefix "search_query: " when looking up information.
Here, I'm adding both the dict for the model defaults and the ability to update those details from the config.

nice work! I will take a look this morning and merge into dev

Please hold on until it's not draft anymore. I wanted to update the tests and docs too.


After engine roll; flutter run is not terminated when microbenchmarks install the next app

(splitting this from investigation in #19096 into a more specific issue... the engine was rolled back so this isn't an active issue, but is likely to come back on the next roll if not identified/fixed)
When the engine was last rolled, it caused the microbenchmarks to start failing. This seemed to be caused by flutter run processes not being terminated. There's a bug in the tests (#19208) however the engine roll also had a change in behaviour, and it was the combination of both that caused the failure.
Full details are in #19096, but in summary if you roll the engine forward (it's been since reverted to fix the tests, but unless this issue is fixed, it'll come back on the next roll) and comment out all of the microbenchmarks except these two:
    addDart1Results(await _runMicrobench(
        'lib/stocks/layout_bench.dart', previewDart2: false));
    addDart1Results(await _runMicrobench(
        'lib/stocks/build_bench.dart', previewDart2: false));

And then run then; they will fail. If #19200 has landed the message should match what's in the PR, but otherwise you'll get a confusing message about trying to complete a future for a second time.
Before the engine roll (or after the revert), when the second test runs flutter run it would stop the previous app; and that would cause the flutter run process still running in the background (from the first test) to terminate. After the roll (before the revert), this would not happen and both processes would read the output of the second test.
I've not yet been able to repro this outside of the tests (in theory it should be simple to just perform the same actions in two terminal windows).

This was fixed by reverting the changed that broke it.


CLI Tool

@johnlugton As mentioned, this splits up the GitHub and JIRA functions into their own modules. It also introduces a basic CLI tool.  I will amend this PR tomorrow. Of course, if you are working on it today or are testing it, feel free to amend your improvements.

I tested sync and seems to be working well with these changes: https://github.com/johnlugton/lgtm-issue-tracker-example/pull/6
overall LGTM - thanks for all your work on this!

I tested sync and seems to be working well with these changes: https://github.com/johnlugton/lgtm-issue-tracker-example/pull/6
overall LGTM - thanks for all your work on this!

We should also pick a repo where this is going to live longer term and that we can make available to customers. @zbazztian do you have a preference? Not sure if field architecture have somewhere for this...
cc @cmboling

We should also pick a repo where this is going to live longer term and that we can make available to customers. @zbazztian do you have a preference? Not sure if field architecture have somewhere for this...
cc @cmboling

@johnlugton Thanks for testing this. I will polish this a bit more during the remainder of this week and also check how it works with the new Code Scanning API. The synchronization code isn't very optimized yet, because it fires quite a few API requests during a full sync, which might be less than optimal for larger setups with many repositories. I have concrete ideas for how to make it faster, but the focus until now was just on making it work.
I don't have a preference for where it is going to be hosted. Do you know if there a preferred location / organization for these types of open source repositories which will be used by customers? Perhaps somewhere under the github organization?

@johnlugton Thanks for testing this. I will polish this a bit more during the remainder of this week and also check how it works with the new Code Scanning API. The synchronization code isn't very optimized yet, because it fires quite a few API requests during a full sync, which might be less than optimal for larger setups with many repositories. I have concrete ideas for how to make it faster, but the focus until now was just on making it work.
I don't have a preference for where it is going to be hosted. Do you know if there a preferred location / organization for these types of open source repositories which will be used by customers? Perhaps somewhere under the github organization?

@zbazztian I think it would make sense to move this over to the github org

@cmboling Agreed. I'll clean up a few more things before I'll make the move.

@johnlugton This is becoming a bit of a kitchen sink. Can we merge this, so I can create another PR with the rest of the fixes?


No sql output from shell_plus --print-sql (Django 3)

Django==3.0.1
django-extensions==2.2.5
Settings has DEBUG=True

Works for me :-)
» ./manage.py shell_plus --print-sql
...
Python 3.7.6 (default, Dec 30 2019, 19:38:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import django; django.__version__
Out[1]: '3.0.2'

In [2]: User.objects.all()
Out[2]: SELECT "auth_user"."id",
       "auth_user"."password",
       "auth_user"."last_login",
       "auth_user"."is_superuser",
       "auth_user"."username",
       "auth_user"."first_name",
       "auth_user"."last_name",
       "auth_user"."email",
       "auth_user"."is_staff",
       "auth_user"."is_active",
       "auth_user"."date_joined"
  FROM "auth_user"
 LIMIT 21

Execution time: 0.000113s [Database: default]

...

If you still have problems, please reopen the ticket but with more information and a reproducable use-case.

I'm actually seeing this as well. Not sure how far I'd have to go to create something reproducible though. 🤔 Whatever it is, I think it was affecting django-debug-toolbar's debugdbshell too because that's where I first saw this happening. Possibly related to Python 3.8 if that's what you were also using @dobsonjon?
Django==3.0.2
django_extensions=2.25

Python @ 3.8.0

Well, I just spun of a quick project and did a similar test as @trbs and it worked fine. O.o
Same versions as I listed above.

Okay, I've traced it a little further — it works with SQLite, but does not work with with PostgreSQL. Do you see the same @trbs in your test case if you swap in Postgres as the DB?

I'm using Python 3.7.2 and I'm using Postgres (psycopg2-binary==2.7.7) as well.
The --print-sql flag was working as expected for me when I was on Django 2.2 and django_extensions 2.1.6.

Just confirming what @rdmurphy already found. I made a new django project with Python 3.7.2 and the following modules:
asgiref==3.2.3
Django==3.0.2
django-extensions==2.2.5
psycopg2-binary==2.8.4
pytz==2019.3
six==1.13.0
sqlparse==0.3.0

With default SQLite settings, --print-sql works as expected. However, after switching to PostgreSQL db settings, I get no SQL output:
% ./manage.py shell_plus --print-sql
# Shell Plus Model Imports
from django.contrib.admin.models import LogEntry
from django.contrib.auth.models import Group, Permission, User
from django.contrib.contenttypes.models import ContentType
from django.contrib.sessions.models import Session
# Shell Plus Django Imports
from django.core.cache import cache
from django.conf import settings
from django.contrib.auth import get_user_model
from django.db import transaction
from django.db.models import Avg, Case, Count, F, Max, Min, Prefetch, Q, Sum, When, Exists, OuterRef, Subquery
from django.utils import timezone
from django.urls import reverse
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> User.objects.all()
<QuerySet [<User: a>, <User: b>, <User: c>, <User: d>, <User: e>, <User: f>, <User: g>, <User: h>, <User: i>, <User: j>, <User:k>, <User: l>, <User: m>, <User: n>, <User: o>, <User: p>, <User: q>, '...(remaining elements truncated)...']>

@trbs can you test with PostgreSQL and let us know if it works for you? Thanks!

I can reproduce the same issue with master (Python 3.7.6 + Postgresql 12.1)

I've added a test for it which now fails for Django 3 and PostgreSQL.
https://travis-ci.org/django-extensions/django-extensions
Next step trying to fix it. If anybody else has some additional cycles to spare any help would be much appreciated :-)

I really have no clue how to go about this, but what I do see that changed on the Django side was in this commit, which directly mucks with the django.db.backend.utils file that print-sql reaches in to and didn't go into effect until Django 3.0. Perhaps this changed something django-extensions assumed about how this script worked?

Since it only breaks in postgresql and the test works for sqlite and mysql. I am expecting it to be somewhat related to the postgresql backend....

Think I got it... since 3.x the PostGreSQL driver has it's own CursorDebugWrapper class: https://github.com/django/django/blob/stable/3.0.x/django/db/backends/postgresql/base.py#L319
This class is not monkeypatched by shell_plus

Please test the latest fix on master

Worked for me!

Worked in my original private repo too. 👍

Awesome, thanks for testing !
I will do a new pypi release asap.

Awesome works again for me in 2.2.9. Thanks so much for the fix everyone involved! :-) :rocket:

It only prints out the first two statements when starting the server, but nothing else then... Am I using it wrongly?

I'm not sure if my issue is similar to @markusmo but it's definitely similar to #1626, when running shell_plus I only get a maximum of two queries output. Does anyone else see this issue?


[CT200] Couldn't find device model. Got product ID: None

Describe the bug
Plugin does not initialize. Logging shows: Couldn't find device model. Got product ID: None. See attached log file for details.
To Reproduce

Add CT200 thermostat using 0.23.2 plugin

Expected behavior
Thermostat shows up
Screenshots

Version

HA version? 2023.11.3
HA Bosch component version? 0.23.2
Python Bosch HTTP client version? Don't know how to check

** Debug SCAN **
Does not work, probably because the thermostat will not in itialize
Additional context
Interestingly the thermostat worked ok for a long time. Then at some point only the water temperature and modulation were still accesible but all thermostats disappeared. After trying to configure the thermostat again the CT200 will no longer initialize in home assistent.
If there is anything else I can try to narrow down what is going wrong please let me know :). I could probably figure out how to use bosch-thermostat-client if that is required?
CT200 log.txt

Should be fixed in https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.24.1


Misspelled

SharePoint misspelled as "SharePoing".
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#add-users-principals-to-sharepoing-groups

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

ID: 68267476-ee8d-7b95-446b-711ddb683da2
Version Independent ID: aa099b9d-48db-5513-11c7-32c49a27e5be
Content: Site design JSON schema
Content Source: docs/declarative-customization/site-design-json-schema.md
Service: unspecified
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Typo fixed now. Updated accordingly in 10-15 min from this comment.


Backward pass returns Nan after the first batch

Hi,
I was working on a PyTorch version of your keras code of the cca loss.
I was using a deep network to get features from X1, which gives me the H1 and the H2 is an unperturbed version of X2. The aim is to maximize the correlation between H1 and H2, so basically learn a transformation of X1 (using the deep network) that maximizes its correlation with X2.
However, the backward pass returned Nan in the 'SymeigBackward' function (this is in PyTorch, the backprop function for symeig function. It is supposed to work the same as the T.nlinalg.eigh function of Theano). This problem gets somewhat resolved if I decrease the regularization parameter cca_reg1. But I am not sure why this happens. Any help would be much appreciated.
Also, even if the backward doesn't throw Nans the corr loss doesn't seem to reduce. I guess this might be something else though. (Just mentioning in case it might help understand what's going on).
Thanks a bunch :)

Hi,
I was working on a PyTorch version of your keras code of the cca loss.
I was using a deep network to get features from X1, which gives me the H1 and the H2 is an unperturbed version of X2. The aim is to maximize the correlation between H1 and H2, so basically learn a transformation of X1 (using the deep network) that maximizes its correlation with X2.
However, the backward pass returned Nan in the 'SymeigBackward' function (this is in PyTorch, the backprop function for symeig function. It is supposed to work the same as the T.nlinalg.eigh function of Theano). This problem gets somewhat resolved if I decrease the regularization parameter cca_reg1. But I am not sure why this happens. Any help would be much appreciated.
Also, even if the backward doesn't throw Nans the corr loss doesn't seem to reduce. I guess this might be something else though. (Just mentioning in case it might help understand what's going on).
Thanks a bunch :)

Hi,
I was also working on a PyTorch version and meet the same problem as yours.  Have you solved the problem?

Hi,
Sorry I switched to other things and didn't get a chance to look at it again after that. There were some resources on eigenval calculation and backward through them. I will look through and post some resources when I get time :)
Apologies for not being of much help :(

Have you solved the problem? I have been troubled by this problem for a long time. @li-shipeng