Add more entry-point annotations for test-only code.

This change adds entry-point annotations to methods and classes accessed by native code during Flutter tests. Currently, entry point annotations are not checked by the Dart VM when running in JIT mode, only in AOT mode. In order to also enforce entry point annotations in JIT mode, first tests in Flutter must be appropriately annotated to avoid roll failures.
Related issues:

https://github.com/flutter/flutter/issues/118608
https://github.com/dart-lang/sdk/issues/50649

Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] I followed the breaking change policy and added Data Driven Fixes where supported.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

The examples where the annotations are added are used in separately written tests under examples/api/test, which is why no tests were directly touched by this commit. I've verified with a local run of dev/bots/test.dart that these pragmas allow the tests to run to completion successfully when the --verify-entry-points flag is enabled by default in JIT mode.


Update README.md

Update README to include documentation on how to add certs

@dmitrizagidulin Updated this README to only include a link to the credentials doc in /docs which has been updated in this PR: https://github.com/digitalcredentials/docs/pull/32


Fix false positive when detecting unknown objects in component state

After the update to S# 1.2.0, everytime I tried to run a model check on my model, an exception was thrown complaining about an unknown object of type System.Object[]. Since I didn't create this in my model, I debugged S# and figured out the offending array was ModelBase._referencedObjects.
git bisect revealed this problem was introduced in 8659dba020. I'm not sure what exactly causes it to surface, since the case studies seem to work fine (maybe a component holding a reference to the Model instance?).
This commit fixes the problem by marking the field [Hidden]. Not sure if that's the appropriate solution, but it seems to work in my case.

This is also fixed by not having components reference a model instance.

This is indeed the correct fix and root cause. The issue is caused by components referencing the ModelBase instance that contains them, in which case the _referencedObjects field was not considered to be referenced, as it is obviously not yet set when the referenced objects are discovered... Since the field is immutable anyway during model analysis, it can simply be hidden from the state vector.


Is there any way to disable Abbreviations?

It seems like abbrev is hardcoded into nopt. Is it possible to provide a configuration to disable it? We already have the short options, not really sure why we still need abbrevs.

There is not, but I'd take a pull request to add some api to do this.


consider switching to azurerm, or at least adjust variable spec

with workload profile now supported, I'm keen to modify the module back to using azurerm again.
regardless, even if it is kept as azapi, I believe the variable block (module inputs) should be aligned to what azurerm looks like, as close as reasonable, and use snake_casing.
@segraef if you're in agreement I'd like to do this before we publish v0.1.0.

Since we're still at 0.1.0 fine with that, it would look differently if we'd have been at 1.0.0 already 😄


React Client-Side Integration

Set up the React client to interact with Django API endpoints.

Tasks:

Integrate sign-in, sign-up, and sign-out functionalities using Django API.
Display list of posts and allow creating new posts.
Add like and comment functionality for posts.

🚀 Starting work on this issue! Stay tuned!

🚀 Starting work on this issue! Stay tuned!


unix_listener: cannot bind to path xxx Operation not permitted

Describe the bug
when use ssh config with
UseKeychain yes
	ControlMaster auto
	ControlPath /root/.ssh/ssh-%C

docker-compose.yaml
volumes:
      - /Users/xx/.ssh/:/root/.ssh/

unix_listener: cannot bind to path /root/.ssh/ssh-xxxxx: Operation not permitted
To Reproduce
No response
Expected behavior
No response
Diagnostic report (required)
No response
Screenshots and additional context (optional)
No response

Sharing Unix sockets between Linux and macOS is not supported, so you'll have to use socat to forward it over TCP. Subscribe to #62 for updates.


add PMN School https://www.la-pmn.fr/

https://www.la-pmn.fr/

@Nassila I am sorry for a delay with processing your request.
Pull request merged. Thank you!


Create releases

This is a feature request to improve developer experience.
GitHub releases would be a great place to have change log information, as well as zstd dictionaries. Using them would accomplish a couple of things:

Migrate the project to a formal tag-and-release cycle where people can see what the latest deployed changes are and subscribe to updates.
Allow the zstd_dictionary to be moved out of the repository and attached to releases as blob attachments
Move downloading release content (builds and artifacts like the zstd_dictionary) onto the releases CDN and out of git

TBH I've never really maintained a project using that formal of a flow and I'm not totally sure what the process for doing releases is there. I don't anticipate there being a ton of change momentum on this project soon considering it's a pretty simple interface but I do see the appeal of having some form of versioning.

it would be nice to have a quick place to find about breaking changes like https://github.com/bluesky-social/jetstream/pull/7 when i only notice my thing isn't working a few days later :) (realizing this is only a problem for me because i'm relying on the free public hosted instances, not complaining)
if you are thinking of adopting something this way, github does a few nice things automatically if you make tags and connect them to their "releases" through the web UI. Or, a classic changelog file avoids github lock-in for a bit of manual (and/or scripted*) work.

*git log changes since last tag
i use this on a few projects to generate changelogs, but usually manually edit emails to github ids and sometimes linking PRs before committing. there are probably better ways.
git log --pretty=format:'- %s (%ae)' $(git describe --tags --abbrev=0)..

just as example


'Database topN records'  doesn't work  on oracle database

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
Looks like that the  feature  'Database topN records'  doesn't work  on oracle database

Bug

Which version of SkyWalking, OS and JRE?
7.0.0

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Do they reach the slow SQL threshold?

Yes  ,we have a lot of sql statment cost time more than 200ms(the default threshold value)

This is the slow sql check codes, you could check whether your span matches it.
           for (KeyStringValuePair tag : span.getTagsList()) {
                if (SpanTags.DB_STATEMENT.equals(tag.getKey())) {
                    String sqlStatement = tag.getValue();
                    if (StringUtil.isEmpty(sqlStatement)) {
                        statement.setStatement("[No statement]/" + sourceBuilder.getDestEndpointName());
                    } else if (sqlStatement.length() > config.getMaxSlowSQLLength()) {
                        statement.setStatement(sqlStatement.substring(0, config.getMaxSlowSQLLength()));
                    } else {
                        statement.setStatement(sqlStatement);
                    }
                } else if (SpanTags.DB_TYPE.equals(tag.getKey())) {
                    String dbType = tag.getValue();
                    DBLatencyThresholdsAndWatcher thresholds = config.getDbLatencyThresholdsAndWatcher();
                    int threshold = thresholds.getThreshold(dbType);
                    if (sourceBuilder.getLatency() > threshold) {
                        isSlowDBAccess = true;
                    }
                }
            }

            if (isSlowDBAccess) {
                slowDatabaseAccesses.add(statement);
            }

I uesd arthas to watch   method org.apache.skywalking.oap.server.receiver.trace.provider.DBLatencyThresholdsAndWatcher getThreshold
ts=2020-04-24 18:29:55; [cost=0.037739ms] result=@ArrayList[
@Object[][
@String[sql],
],
@Integer[10000],
]
It's means threshold is 10000  but  I  never config that ,Why is this so
and why   param 'type' is sql  not oracle
and I don't know what diffrent between SpanTags.DB_STATEMENT  and SpanTags.DB_TYPE
There is two reason for the question
1.SpanTags.DB_STATEMENT.equals(tag.getKey())
2.thresholds.getThreshold(dbType) returned value is 10000

1.SpanTags.DB_STATEMENT.equals(tag.getKey())

This means, you need the SQL statement, otherwise, slow SQL is pointless.

2.thresholds.getThreshold(dbType) returned value is 10000

This is an open-source project, DBLatencyThresholdsAndWatcher is also open source. You could simply debug or use a unit test to verify. Don't push all questions to the community. We are not providing commercial customer service.

Sorry,I thought this is a  common question  so I open an issue  ,and I want to help  the others  who  has the same issue ,I hope they can search this page when they encountered this problem,if I fix this problem  I will feedback as soon as possible


Font-family usage

Font-family

Should this be defined per component or should it be open?
Docs: Recommend Inter-font + a fallback-font

Decision 23.05.23 (Øyvind, Michael, Marianne)

It should be possible for users of the designsystem to decide which font-family they want
We should recommend to use Inter in our guidelines, and sans-serif.

### Tasks
- [ ] https://github.com/digdir/designsystem/issues/428
- [ ] https://github.com/digdir/designsystem/issues/431
- [ ] https://github.com/digdir/designsystem/issues/432
- [ ] https://github.com/digdir/designsystem/issues/458

Should this be closed @mimarz ?


rename SignalWith track method

This avoids naming conflicts with the SignalRead track method

Would it better to only keep one of them?

Or give track its own trait SignalTrack?

Hmm yeah it's own trait would probably be good


Upgrade bootstap to stable

Bootstrap version is currently 4.0.0 stable.
This PR upgrade bootstrap and popper.js versions from bootstrap documentation

Coverage remained the same at 86.45% when pulling d481dd8a814147cf7319ecc55980c18840802e8f on attakei:bootstrap4-stable into 7ff0265638e7d73c274d24b8b38f52fa4d7bcff4 on zostera:master.

Thanks! It appears that this gives errors on Python 3.5 and 3.6. Would you be able to submit an updated PR that passes all tests?

At latest Django in GitHub, closing slash has been removed from void tags. [Please see it].(https://github.com/django/django/commit/ff05de760cc4ef4c7f188e163c722ec3bc1f0cbf)
I think want to remove slashes from test cases in this project too.

released 0.0.6


docker-compose error

Recipe: java::set_java_home

directory[/etc/profile.d] action create (up to date)
template[/etc/profile.d/jdk.sh] action create

create new file /etc/profile.d/jdk.sh
update content in file /etc/profile.d/jdk.sh from none to b2915a
--- /etc/profile.d/jdk.sh   2018-05-16 17:25:56.288136629 +0000
+++ /etc/profile.d/.chef-jdk20180516-72-whnrl2.sh   2018-05-16 17:25:56.288136629 +0000
@@ -1 +1,2 @@
+export JAVA_HOME=/opt/java
change mode from '' to '0755'
Recipe: java::oracle

yum_package[tar] action install (up to date)
java_ark[jdk] action install

yum_package[curl for download_direct_from_oracle] action install (up to date)

download oracle tarball straight from the server[2018-05-16T17:25:59+00:00] FATAL: Failed to extract file server-jre-8u152-linux-x64.tar.gz!
[2018-05-16T17:25:59+00:00] FATAL: Failed to extract file server-jre-8u152-linux-x64.tar.gz!

Running handlers:
[2018-05-16T17:25:59+00:00] ERROR: Running exception handlers
[2018-05-16T17:25:59+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-05-16T17:25:59+00:00] ERROR: Exception handlers complete
[2018-05-16T17:25:59+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 05 seconds
[2018-05-16T17:25:59+00:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out
[2018-05-16T17:25:59+00:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out
[2018-05-16T17:25:59+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-05-16T17:25:59+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
ERROR: Service 'nexus' failed to build: The command '/bin/sh -c curl -L https://www.getchef.com/chef/install.sh | bash     && /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json     && chef-solo        --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL}        --json-attributes /var/chef/solo.json     && rpm -qa chef | xargs rpm -e     && rpm --rebuilddb     && rm -rf /etc/chef     && rm -rf /opt/chefdk     && rm -rf /var/cache/yum     && rm -rf /var/chef' returned a non-zero code: 1

Remove the subproject docker-nexus3 and relink from master. This used the openjdk, and avoids issues with oracle java not being available.


Turn off invitation creation routes

I'm currently writing a system with 3 separate user types/tables. These roles allow type1 to invite types1,2,3 and type2 to invite types2,3.
I'd like for them all to be able to accept invites still, but I've created separate invite actions / controllers to limit everything down, so I'd like to turn off the default routes for creating invitations on devise_for :patients
Any ideas how to turn off creating invitations there but still allowing invitations to be accepted?
Thanks!

Probably you will have to add invitations routes by yourself, using:
devise_scope :patient do
  get :edit, :path => 'accept', :as => :accept
  put :update
  get :destroy, :path => 'remove', :as => :remove
end

I was afraid of that. Thanks for the tips.

For some reason Rails didn't like that pathing information, so I ended up with this verbose nastyness:
get 'patients/invitation/accept', to: 'devise/invitations#edit', as: :accept_patient_invitation
put 'patients/invitation', to: 'devise/invitations#update', as: :update_patient_invitation
get 'patients/invitation/remove', to: 'devise/invitations#destroy', as: :remove_patient_invitation

Maybe path is only valid inside a resources block, I guess devise_for process path or use a resources block.

I'm trying to achieve something similar, I know that I can add the routes manually as described above, but how do I then disable the invitation routes that are created by default?

@fredkelly I believe it's the same way as turning off devise paths:
devise_for :users, :skip => [:registrations]

Perfect, thanks Dan!


MPNN score query

Hi Sean,
Amazing work. Thank you for sharing your work and your code.
I am curious about the protein MPNN score. Why do you give the chain to design as "A" and take the local score only? Why not use the mean of the global score? Since we are scoring sequences it would make sense to use the confidence of the model across the whole sequence.
Alternatively, does it make sense to give chain to design as blank " " and take the score? the global and local score in this case would be the same.
But I might be missing something, so thought to ask you.
Regards,
Sanjana

The reason we do chain "A" is because in our workflow we run on AF2 structures of monomers, so chain "A" is the only chain that exists in all of our test data. If you are working with multimers, then it would probably make sense to change that parameter.
It could be that we could make a small change to the code to make it more generalizable to multimeric complexes. We never looked into that.


Negative dimension size caused by subtracting 3 from 1 for 'conv2d_2/convolution'

I got this error message when declaring the input layer in Keras.
ValueError: Negative dimension size caused by subtracting 3 from 1 for 'conv2d_2/convolution' (op: 'Conv2D') with input shapes: [?,1,28,28], [3,3,28,32].

My code is like this
model.add(Convolution2D(32, 3, 3, activation='relu', input_shape=(1,28,28)))

Sample application: https://github.com/IntellijSys/tensorflow/blob/master/Keras.ipynb
Please advice. Thank you.

Please use Keras 2 API. The way you define Convolution layers is outdated.
Look Keras documentation to see how it have to be done.
Then report here whether problem still exists or not.

I already fixed the problem, https://stackoverflow.com/questions/45645276/negative-dimension-size-caused-by-subtracting-3-from-1-for-conv2d-2-convolution/45647715#45647715.

@datomnurdin , that link fixed the same error I have. My line of code is (note the data_format:
model.add(Convolution2D(32, (3, 3), activation='relu', input_shape=(1,28,28), data_format='channels_first'))

@warpdriv
Your code worked for me :)
model.add(Convolution2D(32, (3, 3), activation='relu', input_shape=(1,28,28), data_format='channels_first'))

@datomnurdin , that link fixed the same error I have. My line of code is (note the data_format arg):
model.add(Convolution2D(32, (3, 3), activation='relu', input_shape=(1,28,28), data_format='channels_first'))

it solved my problem, thank you :)

I am getting this error

train.py:227: UserWarning: Update your Conv2D call to the Keras 2 API: Conv2D(32, (3, 3), strides=(1, 1), padding="valid", kernel_initializer="orthogonal")
x = Convolution2D(n_filters, kH, kW, subsample=(sH, sW),border_mode=border_mode, init=init_conv)(x)

Anyone Help me please

You can fix this problem throughout the entire CNN network by setting the data_format=NHWC

Despite the changing data format to be "data_format='channels_first'"  but I still have this issue:
"InvalidArgumentError: Default MaxPoolingOp only supports NHWC on device type CPU
[[{{node max_pooling2d_2/MaxPool}}]]"
any other solution?


Contributing to TF

My apology if I am posting this in a wrong place.
I was wondering if I have a valid bug fix or improvement to TF, and I want to test it before submitting a PR, what's the fastest way of doing it?
I usually use
bazel build -c opt //tensorflow/tools/pip_package:build_pip_package

to re-set up TF but it always takes too much time.
Thanks

Could you try to just build & test the relevant test targets?
For instance:
bazel test //tensorflow/python:saver_test  # Or other Python/C++ test targets.

I am not sure if this works in OSS world or not.  If not, when building build_pip_package feel free to drop the -c opt to improve build times.

Automatically closing due to lack of recent activity. Please reopen when further information becomes available.


update(kubernetes): Deployment files

Updating deployment files (automatically generated by helm template). Made using the update-falco-k8s-manifests ProwJob. Do not edit this PR.\n\n/kind update\n\n/area manifests

LGTM label has been added.  Git tree hash: fc86bc57fcc692f26bcedafaedfa53fd6e05654b

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

Needs approval from an approver in each of these files:

OWNERS [leogr]

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


Url encoding on TestClient requests

I'm adding tests and I have some urls with spaces in it. the tests fail because the url parameters are not properly encoded in the handler function. For example I have a handler function that recieves one parameter "time"
routes.py
Route('/{time}', 'GET', timestamp)

views.py
def timestamp(time):
    print(time)
    .... code here

test
def test_http_request():
    """
    Testing a view, using the test client.
    """
    client = TestClient()
    response = client.get("/December 15, 2015")

time in timestamp function is now December%2015,%202015 instead of December 15, 2015
I've also tried with client.get("/December%2015,%202015")
Am I doing something wrong or is this a bug?
Thanks

I haven't tried your example, but it looks like you forgot to encode the comma as well:
December%2015%2C%202015

@marcosfede I believe I fixed your issue with https://github.com/tomchristie/apistar/pull/163 Please confirm :)


w3 app codegen generates code by default under  ./src/w3 but this should configurable by the user.

@Niraj-Kamdar there's the -c, --codegen-dir option that you can use to specify a different directory.
I've also contemplated having this option specified in the manifest file, but unsure if that's necessary. Thoughts?

https://github.com/polywrap/monorepo/blob/4b52fdb32add542baaf7b88111485cee90e8d7c1/packages/cli/src/commands/plugin.ts#L46

I'd also have it on manifest because it makes it easy for devs to configure it. We can have something similar to plugin -> entrypoint.
This can be used on environments that users may or may not control - Ex: CI/CD where users don't have access to modify commands directly.

Also generally we expose all the functionality that we provide as CLI command in the config file too.

This is now possible, closing.


Add support for Anthropic prompt caching

This change adds support for Anthopic's beta prompt caching feature.

Here's a minimal example derived https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
from anthropic import AsyncAnthropic
from app_utils import load_dotenv

from shiny.express import ui

load_dotenv()
llm = AsyncAnthropic()

chat = ui.Chat(id="chat")
chat.ui()
chat.update_user_input(value="Analyze the major themes in 'Pride and Prejudice'")

@chat.on_user_submit
async def _():
    response = await llm.beta.prompt_caching.messages.create(
        model="claude-3-5-sonnet-20241022",
        max_tokens=1024,
        stream=True,
        system=[
            {
                "type": "text",
                "text": "You are an AI assistant tasked with analyzing literary works. Your goal is to provide insightful commentary on themes, characters, and writing style.\n",
            },
            {
                "type": "text",
                "text": "<the entire contents of 'Pride and Prejudice'>",
                "cache_control": {"type": "ephemeral"},
            },
        ],
        messages=[{"role": "user", "content": chat.user_input()}],
    )
    await chat.append_message_stream(response)


Cannot create debian guest

I am testing this on Freenas 9.10 which is based on FreeBSD 10.3-RC3.
Running into problems with provided steps.
[root@freenas] ~# iohyve version
iohyve v0.7 2015/10/27 Im Here for the Party Edition
[root@freenas] ~# zfs list | grep -i iohyve
DATASTORE/iohyve                                            20.6G  5.43T   208K  /mnt/iohyve
DATASTORE/iohyve/Firmware                                    192K  5.43T   192K  /mnt/iohyve/Firmware
DATASTORE/iohyve/ISO                                         384K  5.43T   192K  /mnt/iohyve/ISO
DATASTORE/iohyve/ISO/ubuntu-14.04.4-server-amd64.iso         192K  5.43T   192K  /mnt/iohyve/ISO/ubuntu-14.04.4-server-amd64.iso
DATASTORE/iohyve/ubuntuguest                                20.6G  5.43T   192K  /mnt/iohyve/ubuntuguest
DATASTORE/iohyve/ubuntuguest/disk0                          20.6G  5.45T   128K  -
[root@freenas] ~# iohyve create ubuntuguest 20G
Creating ubuntuguest...
[root@freenas] ~# iohyve set ubuntuguest loader=grub-bhyve
Setting ubuntuguest prop loader=grub-bhyve...
[root@freenas] ~# iohyve set ubuntuguest os=debian
Setting ubuntuguest prop os=debian...
[root@freenas] ~# iohyve set ubuntuguest ram=1024M
Setting ubuntuguest prop ram=1024M...
[root@freenas] ~# iohyve set ubuntuguest cpu=2
Setting ubuntuguest prop cpu=2...
[root@freenas] ~# iohyve set ubuntuguest con=nmdm1
Setting ubuntuguest prop con=nmdm1...
[root@freenas] ~# iohyve isolist
Listing ISO's...
ubuntu-14.04.4-server-amd64.iso
[root@freenas] ~# iohyve install ubuntuguest ubuntu-14.04.4-server-amd64.iso
Not a valid guest name
[root@freenas] ~# iohyve list
Guest        VMM?  Running?  rcboot?  Description
ubuntuguest  NO    NO        NO       Fri_Mar_25_12:46:32_PDT_2016
[root@freenas] ~# iohyve console ubuntuguest
Starting console on ubuntuguest...
~~. to escape console [uses cu(1) for console]
/dev/nmdm1B: No such file or directory
link down

From what i could tell, it looks like iohyve is expecting everything in /iohyve but it is /mnt/iohyve by default.
After adding symbolic link, i get this error now
[root@freenas] ~# iohyve install ubuntuguest ubuntu-14.04.4-server-amd64.iso
Installing ubuntuguest...
Could not create VM ioh-ubuntuguest
Error in initializing VM
[root@freenas] ~# vm_create: No such file or directory

I'm sorry, I don't have access to running FreeNAS + bhyve on anything at the moment, so you'll have to bear with me for the time being until I can figure something out about those mount points.
For the time being, there are a few things I'd like to point out:

You're using an outdated version of iohyve, you can either use a fresh version from GitHub, or use the one in ports, which should be version 0.7.3 still under the release name of Bear in a Datacenter Edition
Unless you are wanting a specific nmdm port, there is no need to set the con property, as iohyve will set this automatically for you.

Thanks for responding. I have asked the freenas dev team to load latest version and they will in the next update. I have a workaround that got this working but it would be nice if you patch the code to detect this situation. Maybe either give the user an ability to specify the dir or find it yourself?

Strange why they didn't put in the latest version that's in ports.
If possible, could you give the commands you used to fix this? It would help in the meantime until I can find a solution. Doesn't have to be in depth, just something we can put on the README.md page.

I did some digging in the documents and found this page detailing the link:
http://doc.freenas.org/9.10/freenas_jails.html#using-iohyve
ln -s /mnt/iohyve /iohyve
Closing issue out.
I'm adding the ability to let the iohyve datasets live wherever they want on the list.
Thanks for your help!

@allenmchan What was your workaround? I have the same issue, and the symbolic link already exists.

Feel free to add some output so we can take a look. I'd love to help, too.

Here's some output from the limited commands I know. If you need more, let me know and I'll edit this comment.
[root@mnemosyne] ~# iohyve list
Guest      VMM?  Running  rcboot?  Description
debian8.3  NO    NO       NO       Sun Apr 24 14:01:51 CEST 2016

[root@mnemosyne] ~# Could not create VM ioh-debian8.3
Error in initializing VM
vm_create: No such file or directory
VM:ioh-debian8.3 is not created.

[root@mnemosyne] ~# ls -l /io*
lrwxrwxr-x  1 root  wheel  11 Apr 24 13:47 /iohyve@ -> /mnt/iohyve

I create the virtual machine yesterday and it worked. Overnight the service shutdown and I turned it on again this morning, and now it's not working.

This looks like the output of an error where vmm.ko is not loaded.
At least, this is the error I get when it's not loaded.
kldstat should tell you if it's loaded. If you see vmm.ko in the output, and you're still seeing this error, please report back.

Thanks. vmm.ko is indeed not loaded:
[root@mnemosyne] ~# kldstat
Id Refs Address            Size     Name
 1   80 0xffffffff80200000 17de000  kernel
 2    1 0xffffffff81cb0000 ffd8c    ispfw.ko
 3    1 0xffffffff81e11000 f947     geom_mirror.ko
 4    1 0xffffffff81e21000 46a1     geom_stripe.ko
 5    1 0xffffffff81e26000 ffca     geom_raid3.ko
 6    1 0xffffffff81e36000 ec6a     geom_raid5.ko
 7    1 0xffffffff81e45000 574f     geom_gate.ko
 8    1 0xffffffff81e4b000 4a32     geom_multipath.ko
 9    1 0xffffffff81e50000 5718     fdescfs.ko
10    1 0xffffffff81e56000 89c      dtraceall.ko
11   10 0xffffffff81e57000 3ad17    dtrace.ko
12    1 0xffffffff81e92000 4638     dtmalloc.ko
13    1 0xffffffff81e97000 225b     dtnfscl.ko
14    1 0xffffffff81e9a000 63d8     fbt.ko
15    1 0xffffffff81ea1000 58109    fasttrap.ko
16    1 0xffffffff81efa000 49cb     lockstat.ko
17    1 0xffffffff81eff000 15f9     sdt.ko
18    1 0xffffffff81f01000 d8d7     systrace.ko
19    1 0xffffffff81f0f000 d493     systrace_freebsd32.ko
20    1 0xffffffff81f1d000 4da4     profile.ko
21    1 0xffffffff81f22000 7fdf     ipmi.ko
22    1 0xffffffff81f2a000 b3b      smbus.ko
23    1 0xffffffff81f2b000 1a63a    hwpmc.ko
24    2 0xffffffff81f46000 2b32     vboxnetflt.ko
25    2 0xffffffff81f49000 45370    vboxdrv.ko
26    1 0xffffffff81f8f000 41cb     ng_ether.ko
27    1 0xffffffff81f94000 3fd4     vboxnetadp.ko
28    1 0xffffffff81f98000 9fc6     linprocfs.ko
29    1 0xffffffff81fa2000 66fb     linux_common.ko

When I run kldload vmm.ko and then iohyve start debian8.3 I get the following:
[root@mnemosyne] ~# iohyve start debian8.3
Starting debian8.3... (Takes 15 seconds for FreeBSD guests)
[root@mnemosyne] ~# Unable to initialize backend '/dev/nmdm0A' for LPC device COM1

And the VM is still down:
[root@mnemosyne] ~# iohyve list
Guest      VMM?  Running  rcboot?  Description
debian8.3  NO    NO       NO       Sun Apr 24 14:01:51 CEST 2016

So two questions:

How do you get vmm.ko to load automatically?
How do I fix the backend initialization error?

How do I fix the backend initialization error?

This is most likely due to the nmdm kernel module not being loaded either.

How do you get vmm.ko to load automatically?

You can have iohyve load the necessary modules at boot time. Check out the "Pre-flight checklist" in the readme or manpage for more information, but in short, you can add the following lines to your /etc/rc.conf (note: I left out the net=[iface] flag, but you can use it to set up the networking if you choose):
iohyve_enable="YES"
iohyve_flags="kmod=1"

You can also follow the guidelines in the FreeBSD Handbook (Section 21.7.7) and add the following lines to your /boot/loader.conf file:
vmm_load="YES"
nmdm_load="YES"
if_bridge_load="YES"
if_tap_load="YES"

I'd also like to point out that running bhyve and VirtualBox modules at the same time has caused kernel panics in the past. You may want to watch out for that.

I'm closing this issue again, but feel free to respond if you need further assistance, or open a new issue altogether if you so choose.


Fix model typo in train CLI - RankingMetric

This seems like a simple typo where RankingMetric should be loaded instead of ReferencelessRegression. Maybe this wasn't noticed before because the ranking metric is not used that often?

Possibly.. I think no one has been using that model actually. Thanks for the PR @zouharvi!


Supply dev-kafka

Current Kafka + Kafka manager combination do not allow to measure topics loads.

done


Excerpt strip_tags

Sometimes when I create a new post I see that, in the excerpt things like quotes (") are changed to ". After some investigation I saw that this was due to strip_tags being called on the excerpt.
Is this the expected behaviour?
Thank you!

Not sure I entirely follow -- those both look the same to me? Or am I missing something there?
Strip tags is just trying to sanitize our content some since we sometimes get garbage in the post content (e.g. someone pastes something from word).

Sorry, github corrected the quote... I meant to say that thing like quotes are changed to "
After some search i found that it is related to this bug in rails: https://github.com/rails/rails-html-sanitizer/issues/31
Seems like it was already fixed: https://github.com/rails/rails-html-sanitizer/pull/35
Will make it to rails 4.2.2

i use rails <IP_ADDRESS> and there is still this bug


[cyrus-sasl] WIP

krb5: Export pthread linkage requirement
cryus-sasl:

Actually use the provided deps on x64-linux, using pkg-config to get usage requirements.
Switch to lmdb instead of berkeleydb, available on all platforms.
Improve nmake configuration.
Install pc files for windows.

Includes #40081 to fix problems downstream from the krb5 change.

@dg0yt I can get it sorted in https://github.com/microsoft/vcpkg/pull/39894, don't stress too much 😅

Linux is broken, too: No db support and no kerberos. And port krb5 shows another issue...
I'm on a good way, but I will switch from berkeley-db to lmdb which is maintained and supported across platforms.

I had to do this locally, idk why homebrew isn't putting pkg.m4 in the correct place:
cp -r /opt/homebrew/Cellar/pkg-config/0.29.2_3/share/aclocal/pkg.m4 /opt/homebrew/share/aclocal/

The libspatialite regression is from a bug in (my code in) port curl. The fix is now included in #40081. I didn't merge it here yet because curl requires CI to build more ports, and I want more cyrus-sasl CI logs first.

Thanks for taking care of this @dg0yt!

Sorry to pester, can this be merged? There is pending conversation on https://github.com/microsoft/vcpkg/pull/40081 which this includes.
Now that @dg0yt has cleaned up my mess and a few other messes, I really am keen to get https://github.com/microsoft/vcpkg/pull/39894 finished as this allows vcpkg-based librdkafka to integrate with GSSAPI-secured kafka clusters, which is the de-facto standard for any enterprise kafka cluster including those offered by e.g. Confluent, so it is really quite major functionality that is really close to being enabled 😄


Integrating react-router with Webflow and Meteor

So I used to love react-router because I could easily integrate it with webflow and meteor. All I would have to do was initialize the script before a new component was rendered doing something like this for my routes:
function initiateWebflow() {   setTimeout(function(){ $(Webflow.ready); }, 1); }
function reInitiateWebflow() {   $(Webflow.destroy); }
function authenticateLogin(){   if(Meteor.userId()){     browserHistory.push('/dashboard');   } }
function authenticateProf(){   if(Meteor.userId() == null){     browserHistory.push('/Login');   } }
Meteor.startup( () => {   render(     <Router history={ browserHistory }>       <Route path="/" component={ SignIn } onEnter={initiateWebflow} onLeave={reInitiateWebflow}/>       <Route path="/upload" component={Layout} onEnter={initiateWebflow} onLeave={reInitiateWebflow}>          <IndexRoute components={{            Navigation: Navigation,            App: Upload,            Footer: Footer          }} onEnter={initiateWebflow} onLeave={reInitiateWebflow}/>       </Route>       <Route path="/search" component={Layout} onEnter={initiateWebflow} onLeave={reInitiateWebflow}>          <IndexRoute components={{            Navigation: Navigation,            App: Search,            Footer: Footer          }} onEnter={initiateWebflow} onLeave={reInitiateWebflow}/>       </Route>       <Route path="/profile" component={Layout} onEnter={initiateWebflow} onLeave={reInitiateWebflow}>          <IndexRoute components={{            Navigation: Navigation,            App: Profile,            Footer: Footer          }} onEnter={initiateWebflow} onLeave={reInitiateWebflow}/>       </Route>     </Router>,     document.getElementById( 'react-root' )   ); });
But now after the release of the new version of react-router it seems that this amazing workflow isn't possible anymore because I can no longer load the necessary front end script with onEnter and onLeave being reamoved from the API.
Does anyone have a work around for this kind of problem? I have spent all day trying to come up with a solution.

Here is a better view of the code layout

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!


Wheel distribution on pypi doesn't pass the tests since it's missing some files under the tests/ directory

I'm packaging this project for nixos and looks like downloading from pypi doesn't work since there are some files that are missing.
Specifically tests/conftest.py, I'm guessing while uploading it's only pushing test_*.py files

I see that those files are missing, but why does this prevent dotbot from downloading/working? I'm able to download from PyPI and run Dotbot on my machine. Something special going on with nixos?

I tried this:
diff --git i/setup.py w/setup.py
index 06bc7bf..c7f63b6 100644
--- i/setup.py
+++ w/setup.py
@@ -48,7 +48,7 @@ setup(
         "Topic :: Utilities",
     ],
     keywords="dotfiles",
-    packages=find_packages(),
+    packages=find_packages(exclude=["tests"]),
     setup_requires=[
         "setuptools>=38.6.0",
         "wheel>=0.31.0",

But it didn't seem to work. I don't have time to dig deeper at this instant, but will take a closer look probably in a couple days.

I'm trying to package this project for nixos (https://github.com/NixOS/nixpkgs/pull/264729/files).
I ended up downloading the package from github instead of pypi so everything works
If you feel like it you can close this as won't fix

Let's leave the issue open, I'd like to fix when I have some free time (or someone submits a PR).

I think this is fixed, see related discussion https://github.com/anishathalye/dotbot/issues/365.
Please re-open this issue if anything is still broken.


[Bugfix] Fix run_batch logger

The run_batch logger currently is not working logging anything. My guess is the logger created by run_batch conflicts with the logger created by vllm.entrypoints.logger. So this PR removes the new logger created by run_batch and lets run_batch use the logger from Use vllm.entrypoints.logger.

/ready


Groups: clicking a notification for a message does not bring me to that message, just a blank page.

Describe the bug, optionally with screenshots
OTT
To Reproduce
Steps to reproduce the behavior:

Go to notifications.
Click on a notification for a reply or other message.
See that you're brought to a blank page.

Expected behavior
Should bring you directly to the message.
Additional context:

Planet on binnec distro.

Screen recording:
https://user-images.githubusercontent.com/1221094/200011805-8c4e63bb-a133-4806-af33-ec15adf5406c.mov

Can someone try to repo this? I actually can't repro this on a ~wannec moon. Maybe this was fixed recently?


【代码迁移】任务17：Lessons on Parameter Sharing across Layers in Transformers

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


DCOS-12774: [2/2] Fix multi-container health-check form

:warning: Depends on https://github.com/dcos/dcos-ui/pull/1725

This PR introduces the new MultiContainerHealthChecksFormSection

retest this please

Each child in an array or iterator should have a unique "key" prop. Check the render method of MultiContainerHealthChecksFormSection 🚎

[object Object]

Good catch on the review screen, I forgot to check it 😨

Everything should be addressed 👍

retest this please

Looks good! The outstanding comments are related to https://github.com/dcos/dcos-ui/pull/1725 actually

Added 'hold merge' until https://github.com/dcos/dcos-ui/pull/1725 has merged

@wavesoft merge conflicts!

run integration tests

run integration tests

@wavesoft It looks like something went wrong during the rebase... I'm unable to define a command health check. Please have a look.

run unit tests

Everything should be addressed now.

run integration tests

run integration tests

It looks like that merge artifacts have been resolved


Shadow artifacts on flat surfaces

Shadow artifacts appears on surfaces and are hard to compensate for. Appears for all frustrum split modes, but seems to be worst for lograthitmic
What is the cause? And are there any ways to compensate to remove this?

Test in https://threejs.org/examples/webgl_shadowmap_csm.html

I can't speak for the cause, but this seems to be a common inherent property of most real-time shadow implementations. In Blender's Eevee renderer the same thing happens.

The only remedies I know of are the traditional tweaking "near" and "far" shadow distances, and tweaking "shadowBias". I don't see shadowBias exposed in the demo but it should be a setting in the code.

The logarithmic mode is probably the worst because it has extreme cascade splits that probably aren't useful in many real-world cases. It makes some of the cascades unnecessarily huge and therefore very low res, introducing the artifacts.
Do you need to use the logarithmic mode though?

Hi, it's called shadow acne. You should try tuning shadowBias as @swift502 pointed out. Basically, the less detailed shadow map is the larger shadowBias value should be (I mean value in absolute units, it is possible that you actually need a negative value, I don't remember exactly). And faraway cascades are not detailed at all, so they need a larger shadowBias, but in this implementation all the cascades share the same bias value and you can't specify one per cascade.
The most straightforward way to fix bias for different cascades is to just scale it by camera size. I will look into this, it should be easy to implement.

The logarithmic mode is probably the worst because it has extreme cascade splits that probably aren't useful in many real-world cases. It makes some of the shadow maps unnecessarily huge and therefore very low res, introducing the artifacts.
Do you need to use the logarithmic mode though? The artifacts don't appear in "practical" mode right?

Thank you for the quick reply. Practical mode is good enough. But I get the same artifacts for practical mode in another application so I used the logarithmic mode to illustrate the problem in the open example.

The most straightforward way to fix bias for different cascades is to just scale it by camera size. I will look into this, it should be easy to implement.

Thank you for the suggestions and finally having a name for the problem. I have played around with shadowBias but it tends to give artifacts in other areas instead. Automatic scaling by camera size sounds like a clever way to handle it. Perhaps bias could be adjusted with faraway distance could have a positive impact?

I've added a slider to tweak shadowBias for you to better understand how it affects shadows. Also, actual bias value is now proportional to cascade camera size, it should help with artifacts in distant cascades.


Add reference of DataFrame.rename_axis and Series.rename_axis to api.rst

[x] closes #13642
[ ] tests added / passed
[ ] passes git diff upstream/master | flake8 --diff
[ ] whatsnew entry

[Current coverage][cc-pull] is 84.38%

Merging [#13678][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master     #13678   diff @@
==========================================
  Files           142        142
  Lines         51223      51223
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          43223      43224     +1
+ Misses         8000       7999     -1
  Partials          0          0

Powered by Codecov. Last updated by [d7c028d...8332fce][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/d7c028d4965932160fa3b69f56c716b1454c42a5...8332fceb560afa12db3160b6765fd08f6379936f?src=pr
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13678?src=pr

@sinhrks I added the commit for Series as requested and squashed the commits together. This is my first PR, so feel free to let me know if there's a better way to do this.

Thanks. Congrats on your first PR to pandas 🎉
The changes should show up here a bit after this Travis run finishes.


Issue with calling tf.device

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

Ubuntu19.10
From pip
TensorFlow version:2.1.0
Python version:3.7.4
Installed using virtualenv? pip? conda?:pip
GCC/Compiler version (if compiling from source):7.3.0
CUDA/cuDNN version:10.1
GPU model and memory: RTX2060 Super 8G

Describe the problem
When calling with
tf.device(tf.compat.v1.train.replica_device_setter(
worker_device=worker, ps_device='/cpu:0', ps_tasks=1)):
It gives error of not supporting functions.
Any other info / logs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Traceback (most recent call last):
File "export_detections.py", line 38, in
with experiment._init_graph(config, with_dataset=True) as (net, dataset):
File "/home/hashswan/anaconda3/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/home/hashswan/Desktop/SuperPoint/superpoint/experiment.py", line 73, in _init_graph
n_gpus=n_gpus, **config['model'])
File "/home/hashswan/Desktop/SuperPoint/superpoint/models/base_model.py", line 122, in init
self._build_graph()
File "/home/hashswan/Desktop/SuperPoint/superpoint/models/base_model.py", line 275, in _build_graph
self._pred_graph(self.pred_in)
File "/home/hashswan/Desktop/SuperPoint/superpoint/models/base_model.py", line 223, in _pred_graph
pred_out = self._gpu_tower(data, Mode.PRED, self.config['pred_batch_size'])
File "/home/hashswan/Desktop/SuperPoint/superpoint/models/base_model.py", line 157, in _gpu_tower
worker_device=worker, ps_device='/cpu:0', ps_tasks=1)):
File "/home/hashswan/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py", line 5078, in device_v2
raise RuntimeError("tf.device does not support functions.")
RuntimeError: tf.device does not support functions.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@SwagJ,
Looks like the given code is incomplete. Please find the gist here.
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here. Thanks!

@amahendrakar
Hi,
That was the code in my project. I revised it into this in colab: tf.device(tf.compat.v1.train.replica_device_setter(worker_device='/gpu:0',ps_device='/cpu:0', ps_tasks=1))
And the error message is the same.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: tf.device does not support functions.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Was able to reproduce the issue with TF v2.1 and TF-nightly. Please find the attached gist. Thanks!

What is the follow-up? Is any ticket for this bug?

Same error when calling
with tf.device(tf.compat.v1.train.replica_device_setter(1, worker_device=worker_device)):

@woj-i, @cmal,
Could y'all please submit a new issue from this link and fill in the template, so that we can track the issue there. Thanks!


Fixed issue that sometimes caused status block not to get called.

This issue occurred in an app that called SCNetworkReachability.initWithHost:
from application:didFinishLaunchingWithOptions:.
In SCNetworkReachability.initWithReachabilityRef: the method
SCReachabilityScheduler.initWithReachabilityRef: is called before
setting statusChangesBlock with method observeStatusChanges:.
In some cases SCReachabilityScheduler.callbackForReachabilityRef
callback function could get called before observeStatusChanges:
got called -> statusChangesBlock was nil and the callback
got ignored. So the app didn't get notified of the network status
until it changed again. This issue was quite easy to reproduce
with an iPhone4 (7.1.2) with WiFi connection (no SIM card was inserted).
The fix was to pass the statusChangesBlock in the
SCReachabilityScheduler.initWithReachabilityRef method.

Hi!

Blocks in 'init' method looks awful. Sorry))
Your changes destroy backward compatibility with previous versions. Many users will be unhappy after update
There are better way to fix this bug. Just run 'observeChanges' block immediately if networks status is valid. Like in 'reachabilityStatus' method.

Thank you for the bug. I'll fix it

Fixed. New release 2.0.3 is on cocoapods

Hi,
Thanks for the feedback.
Unfortunately the fix done for 2.0.3 doesn't seem to fix the issue. If SCReachabilityScheduler.callbackForReachabilityRef is called before SCReachabilityScheduler.initWithReachabilityRef then the application never gets the first status event.
This happens in my tests about 50% of the time on the iPhone4 7.1.2.
Perhaps SCReachabilityScheduler could store the status in the case where callbackForReachabilityRef is called and statusChangesBlock is still nil. Then later when statusChangesBlock is set the stored status would be passed to the block immediately?

Thanks for feedback. I'll check it

Oh, there are still a bug.
Hope I finally fix it. Check out version 2.0.4 on cocoapods


Syntax mistake in redirect regex label breaks other backends

Bug
What did you see?
Deploying a service with this label
"traefik.frontend.redirect.regex=^https?://(test\.beta\.redacted\.org|redacted\.com)/(.*)"
Causes the (preexisting) service to be unavailable (504 bad gateway).
Also, any other services deployed after this label is deployed will also begin to 504.
If traefik is redeployed or restarted after a service is deployed with this label ALL backends are not found (404).
I cannot post the correct syntax because slashes are being removed when I click update comment.
Everywhere there are two backslashes shoudl be changed to four backlashes because of escape characters in docker-compose.yml.  We have that deployed and working now.
What did you expect to see?
There is a syntax error in that label.  Traefik does produce an error identifying the incorrect syntax.
I do expect this could make the service with the label unavailable.  I do not expect this would break other backends
Output of traefik version: (What version of Traefik are you using?)
Confirmed behavior with 1.7.20 and 1.7.21 (both alpine).
What is your environment & configuration (arguments, toml, provider, platform, ...)?
traefik.toml
InsecureSkipVerify = true
logLevel = "INFO"
defaultEntryPoints = ["https","http"]

[traefikLog]

[accessLog]
  [accessLog.filters]
  [accessLog.fields]
    defaultMode = "keep"
[entryPoints]
  [entryPoints.ping]
  address = ":8090"
  [entryPoints.http]
  address = ":80"
  compress = true
    [entryPoints.http.proxyProtocol]
      trustedIPs = ["redacted"]
    [entryPoints.http.forwardedHeaders]
      trustedIPs = ["redacted", "redacted"]
  [entryPoints.https]
  address = ":443"
  compress = true
    [entryPoints.https.tls]
	minVersion = "VersionTLS11"
      [[entryPoints.https.tls.certificates]]
		  certFile = "redacted.cer"
		  keyFile = "redacted.key"
    [entryPoints.https.proxyProtocol]
      trustedIPs = ["redacted"]
    [entryPoints.https.forwardedHeaders]
      trustedIPs = ["redacted", "redacted"]

[ping]
entryPoint = "ping"

[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "docker.localhost"
watch = true
swarmmode = true

Service was deployed with docker-composer.yml, to Docker Datacenter using swarm mode orchestrator.
These are the other labels used in docker-compose.yml
      - "traefik.frontend.whiteList.sourceRange=${TRAEFIK_WHITELIST:-redacted}"
      - "traefik.docker.network=is-2"
      - "traefik.port=8080"
      - "traefik.frontend.rule=Host:${TRAEFIK_HOST}"
      - "traefik.frontend.passHostHeader=true"
      - "traefik.backend.loadbalancer.stickiness=true"
      - "traefik.frontend.headers.SSLRedirect=true"

Hello,
the regular expression without escape is a valid regular expression even if it's not the regular expression that you are thinking to use.
So it's not possible to Traefik to detected this kind of syntax error.
Thanks anyway.

Traefik does detect and log the syntax error, and this brought down all our websites, literally millions of users worldwide.

I understand that this error must have caused you a lot of stress, but there is no point in making hidden threats.
We (the Traefik team) are humans like you and we are trying our best to respond to all issues on this free and open source product.
If you don't agree with our decision, give us more information and we will analyze it.
In your last message, you provided important information, so I will try to find if we can improve that.

Could you provide (in a file in a comment) the exact configuration you used to cause this error, thank you.

Hidden threats?  Have no idea what you're talking about.

Closed by #6446.


added the dark/light mode feature

@muruga21 I have added the dark/light mode feature. Here are some screenshots:
Dark mode:

Light mode:

Can you review it and can you tell me if there are any changes to be made

@unknown91tech  Great work man...!


TFD with Sto

New Transition TFDS with stochastic fire duration

== 0 out of 58 tests failed [Testing/OpenModelica, time: 831]


dashboard: order details: remove grid classes from template

misplaced grid classes cause rendering problems

Current coverage is 83.29% (diff: 100%)

Merging #2090 into master will not change coverage

@@             master      #2090   diff @@
==========================================
  Files           302        302
  Lines         15029      15029
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          12519      12519
  Misses         2510       2510
  Partials          0          0

Powered by Codecov. Last update 54cc3b4...51ae2d5


Organize options and their documentation

@ylemkimon were you thinking alphabetizing and/or grouping related functions?

@kevinbarabash Yes, possibly with some naming system.

I also think turning the current giant itemized list into sections would be a good idea.

A suggestion for the groups:

render
error reporting
safety

Open to other suggestions too.

I think changing the formatting might help too.  Maybe have the option name on one line and the description on a line below.  We might even try using a dl, dt, dd (not sure if the markdown parser we're using supports those).


[WIP] Add a dpl.io standard definition

This looks pretty cool. For security, should any type of service be available to verify the information? (For example, someone might maliciously provide someone else's dpl:referrer-application-itunes-id but a dpl:callback-url with a scheme that doesn't match.)

@getaaron Thanks for the feedback man! I'll go through and resolve them! I'd also love any thoughts on other basic requirements in deep linking which may make the cut for v1


Error: no deta micro initilialized, see deta new --help to create a micro

really?:/

its deta's fault fr

You forget to create the deta micro first before deploying

Don't worry, deta is actively working on banning this app from their service.

Don't worry, deta is actively working on banning this app from their service.

lol


LS Requests for dependents of Python extension.

This is a spike to answer the question if. Do we need to handle requests/notifications from dependents of Python extension.

There is no getting around exposing the languageClient to Jupyter. Based on investigations done here and for https://github.com/microsoft/vscode-python/issues/19129 .
So, we will need to expose an API that provides the client. The client object provided by python extension will have to keep in sync with actual language client. Since process (LS server process and actual LS client object) lifetime management may have to be done by LS provider extensions ( Pylance), there are few things, such as client.start(), client.stop() have to be wrapped by the client object provided by the python extension.

A thing to note about server and client creation. An issue with the current model is that initialization options for servers are not provided by jupyter. See trustedWorkspaceSupport for Pylance or disableSnippets for Jedi.


Fix zh content

去除段落中出现的冗余 "节点" 内容
英文单词后增加空格以保证阅读美观

/easycla

/checkcla

I signed it, but i signed with wrong email :(

CLA is still a failure after over a month, and the PR is a trivial one.
/close
Please feel free to reopen and resolve the issues.

/easycla


OR operator return always true

Hi @matheval
really thanks for you library  works very well.
I'm facing an issue  with "OR" operator  that returns always "true".
please find below an online example
https://dotnetfiddle.net/P9zFsG
can you help me ?
Thanks in advance
Davide

Hi @drimondi1 and @matheval
Until it is fixed you can also generate OR with NOT and AND. This workaround works.
// according to De Morgan's Law
A OR B = NOT ( NOT A AND NOT B )

@drimondi1 @nielll
I may have free time on June or July and i will fix it.
thank for using this.

Just change the following line "if ((item is Boolean) || (Boolean)item)" to "if ((item is Boolean) && (Boolean)item)"
in the following block:
    private Boolean LogicalOr(Dictionary<string, Object> args)
    {
        foreach (Object item in args.Values)
        {
            if ((item is Boolean) && (Boolean)item)
            {
                return true;
            }
        }
        return false;
    }


I'm for the rights of users to abort

I think there should be an option for the user to abort OITS just so they can see where the software has got to.
When running OITS from Linux this is achieved by typing Control-C in the output window. The software just outputs the best solution it has found so far. If there is a way of doing this on the web UI, that would be great.

It can definitely be terminated.  I'll have to see if it outputs the files

It can definitely be terminated.  I'll have to see if it outputs the files

Done


Disable and re-enable only my Enabled extensions

I have about 50 active extensions and about 15 disabled extensions (5 of those are normal extensions, 10 of those are disabled built-in themes). When troubleshooting an issue with extensions, I'd like to be able to do this:

Disable all extensions (there's a Disable All Installed Extensions command for this)
Experiment with plain VSCode
Re-enable all extensions that were disabled by step 1.

I want to end up with exactly the same set of both Enabled (50) and Disabled (15) extensions after the steps above. When I tried the Enable All Extensions command, it enabled everything – logical but I then needed to manually find and disable the previously disabled extensions and themes again.
I wouldn't mind if this was CLI only, e.g.:

code --disable-extensions
Experiment
code --reenable-extensions

But the main problem, I guess, is that probably VSCode doesn't differentiate between user-disabled extensions and those disabled technically, by a CLI flag or a command...

It's possible to create a temporary workspace (e.g. DisableExtensions.code-workspace), then disable for this workspace only each currently-enabled extension. Then by hovering over the main icon of any extension in the Disabled view you can tell if it was globally disabled or only disabled for this workspace. Progressively re-enable for this workspace just the ones that were only disabled for the workspace, until you find which one is causing your problem.
I'd like to propose a couple of enhancements to make this technique easier to use.

Add a variant of the Extensions: Disable All Installed Extensions for this Workspace command (code pointer) that only marks as "disabled-for-this-workspace" the extensions that are currently enabled for it. The existing commands marks as "disabled-for-this-workspace" all installed extensions, including those currently disabled globally.
Add a filter @disabled:workspace (code pointer) to quickly locate extensions explicitly disabled for the current workspace.

The first of these will help with the first phase of the approach I describe above, and the second will help with the second phase.
@sandy081 are you open to a PR from me implementing these?

When troubleshooting an issue with extensions

I believe the troubleshooting guide suggests using the Developer: Reload with extensions disabled. This command, after another reloading, will restore to previous state (so disabled extensions are still disabled).

@yume-chan That indeed worked, thanks! I missed that command as I was only looking visually in the Extensions panel's  drop down menu.
BTW is the troubleshooting guide published somewhere? Tried to find it but no luck so far.

BTW is the troubleshooting guide published somewhere? Tried to find it but no luck so far.

The wiki page at https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions has some good advice, including a link to a page about disabling extensions.

BTW is the troubleshooting guide published somewhere?

I can't remember exactly. I thought it used to be in this repository's Wiki pages or Code's official website but neither can I find it now.
Or maybe I just leant this from some Code developer team member's comments.

I wouldn't mind if this was CLI only, e.g.:
code --disable-extensions

It also works, and has the same effect as the above command, see https://code.visualstudio.com/docs/editor/command-line#_working-with-extensions
This usage is also in this repository's issue template.

Thanks, it covers my use case, I'll close this issue.


fixes inconsistency for optAnnotations in table entries

Fixes #289 and addresses one of the requests in #286

this was the solution with bison -- moving the annotation to the end. I haven't tried to move it back to front.


Add example of Fixtures

we have fixtures, but no example of them.

completed by https://github.com/infinitered/ignite/pull/137


What determines when a card will be displayed as a card and when will it be listed?

I see that when the title is a certain length, the cards cease to be buttons, and they are displayed as a numbered list within the message itself.
What sets it up?
And why?

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

ID: 28d1cbcc-9670-6eb3-d65a-5c30d307784a
Version Independent ID: 243e29b8-afbc-7d21-1d24-18f58619af60
Content: Add card actions in a bot - Teams
Content Source: msteams-platform/concepts/Cards/cards-actions.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

@baruchiro Can you please share a screenshot of the query you have?

Sure. I remember this from V4.3, but I can't find the code right now.

I used "very very" because a one "very" is still a card.

It need a more research. I see it shown differently in Facebook and Telegram

Can you give us the JSON for the message you are sending?

JSON for the short message:
{
  "attachments": [],
  "channelId": "emulator",
  "conversation": {
    "id": "3e91a080-7a59-11e9-b27e-b7f2dc2a2f8f|livechat"
  },
  "entities": [],
  "from": {
    "id": "2",
    "name": "Bot",
    "role": "bot"
  },
  "id": "4279fe40-7a59-11e9-99a0-d9c48d8a8fbc",
  "inputHint": "acceptingInput",
  "localTimestamp": "2019-05-19T20:12:19+03:00",
  "locale": "",
  "recipient": {
    "id": "d1ff7fc6-7de6-4208-bed8-0dd025aaaa26",
    "role": "user"
  },
  "replyToId": "4240ece0-7a59-11e9-99a0-d9c48d8a8fbc",
  "serviceUrl": "https://a943a825.ngrok.io",
  "suggestedActions": {
    "actions": [
      {
        "title": "short title",
        "type": "imBack",
        "value": "recommendations"
      }
    ]
  },
  "text": "Hi, select what you want",
  "timestamp": "2019-05-19T17:12:19.748Z",
  "type": "message"
}

JSON for the long title:
{
  "attachments": [],
  "channelId": "emulator",
  "conversation": {
    "id": "9476c340-7a59-11e9-b916-434698c80b5d|livechat"
  },
  "entities": [],
  "from": {
    "id": "2",
    "name": "Bot",
    "role": "bot"
  },
  "id": "9a384dd0-7a59-11e9-a6cb-c56ac337ce96",
  "inputHint": "acceptingInput",
  "localTimestamp": "2019-05-19T20:14:46+03:00",
  "locale": "",
  "recipient": {
    "id": "d1ff7fc6-7de6-4208-bed8-0dd025aaaa26",
    "role": "user"
  },
  "replyToId": "99fea030-7a59-11e9-a6cb-c56ac337ce96",
  "serviceUrl": "https://8b80b63c.ngrok.io",
  "text": "Hi, select what you want\n\n   1. A very very long title",
  "timestamp": "2019-05-19T17:14:46.956Z",
  "type": "message"
}

And this is how I create the PromptOptions dialog:
internal PromptOptions CreateChoicesPromptOptions(string text, IDictionary<string, string> keyToTitle)
{
    return new PromptOptions
    {
        Prompt = MessageFactory.Text(text),
        Choices = keyToTitle.Select(v =>
            new Choice(v.Key)
            {
                Action = new CardAction(ActionTypes.ImBack, v.Value, value: v.Key)
            })
            .ToList()
    };
}

@baruchiro

Suggested actions is not supported in Microsoft Teams. Could you please try using Cards and buttons?

I didn't talk about Microsoft Teams. But maybe you mean a Bot Emulator is based on Microsoft Teams?
I'm working with Bot Framework C# libraries. So the link that you have mentioned, just describe the JSON for Microsoft Teams, but the only documentation for C# and BotFramework 4 still used CardAction.

I'm confused about your question. Is your question about how messages are rendered in the bot emulator? The documentation in this repository is for Microsoft Teams specifically. If you want to ask questions about the bot emulator, I'd suggest here: https://github.com/Microsoft/BotFramework-Emulator/issues

Oh sorry!
I didn't notice that this was a Microsoft Teams documentation, I thought I was in the BotFramework documentation.
Anyway, thanks for the help, I think you helped me understand that the question focuses on promptOption with ActionCards.


Two pre-trained models are not downloading

Hi,
I want to implement AMDIM with your code using two pre-trained models.
But both of them can't be downloaded and even are inaccessible.
Is there any other way to access it?
Or can you please share pre-trained models again?

Hi, I want to implement AMDIM with your code using two pre-trained models. But both of them can't be downloaded and even are inaccessible.
Is there any other way to access it? Or can you please share pre-trained models again?

same question, did you get pre-trained models,please?


Persistent login TypeError: private key should be a Buffer

I'm getting the following error when I use a persistent login and try to refresh / browse to the UI:
assert.js 14: Uncaught TypeError: private key should be a Buffer

If the private key is converted to a string for localStorage, it should be converted back to a Buffer before use: new Buffer(privateKey, 'hex') should do it (assuming it's a hex string).

Actually, it looks like the relevant method is in augur.js -- I'll fix.

Fixed in 487b5bb2f878bc59abdc940d5d07cbca0fe75f7e and AugurProject/augur.js@6886486fe24394723d9555889c6ea438c479ce04


unknown variable: TMUX_PLUGIN_MANAGER_PATH

unknown variable: TMUX_PLUGIN_MANAGER_PATH
FATAL: Tmux Plugin Manager not configured in tmux.conf

Hello @ibootstrapper 👋
Can you please tell me more?

What OS are you using?
Which version of tmux are you using? (tmux -V)
Did you realize that Oh my tmux! comes with its own TPM integration and you should not follow TPM installation instructions?

Thank you

FWIW I am using the fish shell with tmux 3.3a and am also seeing this error. I don't know what this repo is, but can confirm the issue, in general.

It looks like this issue happen within timid session
On Mon, Jun 13, 2022 at 4:48 PM Barrett Clark @.***>
wrote:

FWIW I am using the fish shell with tmux 3.3a and am also seeing this
error. I don't know what this repo is, but can confirm the issue, in
general.
—
Reply to this email directly, view it on GitHub
https://github.com/gpakosz/.tmux/issues/546#issuecomment-1154472299, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK7YVC4JRPTTHXOZDJ6SO3VO6UC3ANCNFSM5LUF54ZA
.
You are receiving this because you were mentioned.Message ID: <gpakosz/.
@.***>

I also experience this issue from time to time. I'm running tmux 3.3a on Arch Linux. My configuration can be found at .tmux.conf.local.
When this issue happens, I often find tmux-plugins/tmux-cpu in my status bar refusing to show my CPU usage. And if I run tpm/bindings/update_plugins, I can see the error below:
$ /home/frederick/.tmux/plugins/tpm/bindings/update_plugins
unknown variable: TMUX_PLUGIN_MANAGER_PATH
unknown variable: TMUX_PLUGIN_MANAGER_PATH
FATAL: Tmux Plugin Manager not configured in tmux.conf
Aborting.

Then interestingly this can somehow fix the issue for current tmux session. CPU usage is correctly added to tmux status bar, and if I run tpm/bindings/update_plugins again, plugin update selection UI often just shows up normally.
I actually don't remember seeing this problem on my local machine. Instead, they happen to remote ones when I connect to them via SSH with following SSH config:
Host Foo
    RemoteCommand tmuxinator start default
    RequestTTY yes

Not sure what @ibootstrapper meant by 'timid session' exactly, but if it's about tmux session initialisation SSH may indeed add some uncertainty here.


Need the instruction how to configure the "secret" environment variable when importing a solution

When we create a "secret" environment variable, we can configure the values easily because separated parameters like "Azure subscription Id" and "Azure key vault Name" are prepared in setting screen.
However, when importing the solution into another environment, the parameter becomes only one and its name is "secret". We need to set the value like "/subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.KeyVault/vaults/{Key Vault Name}/secrets/{Secret Name}"
This is very confusing and only the way to know how to set the value is to check the blog post. No official documentation exists about this.
https://powerautomate.microsoft.com/en-us/blog/environment-variables-in-custom-connectors/
Please describe how to import the "secret" environment variable in MS docs officially.
Thank you.

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

ID: ba670cf8-5810-79c4-7a2a-101099ffe1d7
Version Independent ID: 69b7e1fb-9f56-8c07-b1d5-8480fe6d8e1a
Content: Use environment variables in solutions - Power Apps
Content Source: powerapps-docs/maker/data-platform/EnvironmentVariables.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @caburk
Microsoft Alias: caburk

Thanks for your comment, @reshimiz. This issue has been assigned to the doc author for review.


Create CLaaS instance of ArgoCD cluster

Right now, after installing CLaaS operator, user needs to ensure that:

ArgoCD instance is running
ArgoCD instance is properly configured (typically the permissions to create HostedCluster/ClusterDeployment are missing)

That makes starting with CLaaS operator a bit painful.
We should create ArgoCD cluster for CLaaS operator with all the required configuration by default. It would be running in cluster-aas-operator namespace.
We should still allow hooking up a different ArgoCD cluster instance, for more production ready setup.
All should be controlled via claas-config CM.

argocd-ns should default to cluster-aas-operator ns where our instance of ArgoCD cluster will be running
disable-argo-cluster if set to true, the operator should delete the default ArgoCD cluster

If the default ArgoCD cluster is used, we could also automate labeling destination namespace with
argocd.argoproj.io/managed-by: cluster-aas-operator

fixed with https://github.com/stolostron/cluster-templates-operator/pull/121


Feature Request: Chocolatey Package

Would it be possible to introduce the distribution of the GVFS client as a chocolatey package? I don't think it would very difficult to do for anyone familiar with making chocolatey packages.

Thanks for the idea, @lavahot . For now we're not going to publish to chocolatey. I don't think there's a broad enough need right now. We'll revisit if we find evidence to the contrary.

I would like to add my voice to this idea. I manage my organization's git/git lfs installs through chocolatey, and the lack of a VFS for git package is a rather large block in our adoption/testing, especially given the amazing velocity that you are releasing at!


Test Pr

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/hold
/test-v1b1-ubuntu-integration

/close


UDF support

Currently the package doesn't support it.
We should add a feature to accept it and execute it via the engine.

cc: @jonnickerson

Reopening this as an easier solution can be made here

I think this should be a separate issue with more details (the proposed API)

Proposed API:
# Load the extension and connect to the database
%load_ext sql
%sql postgresql://username:password@localhost:5432/mydatabase

# Define a function that takes in a value and returns its square
def my_square_function(x):
    return x * x

# Use the func module to define the UDF as a SQL expression
from sqlalchemy import func
square_udf = func.my_square_function(column)

# Use the UDF in a SELECT statement
result = %sql SELECT *, :square_udf AS squared_value FROM mytable

# Print the result set
print(result)

We might want to even create a tighter integration to the func part, maybe something like:
# Define the UDF as a SQL expression
%sql --udf square_udf=my_square_function

# And then consume it
%sql SELECT *, :square_udf AS squared_value FROM mytable

this is highly db dependent, I think we should close it

ok, then let's start with a single one, the one that has the most users.

each db has its own mechanism for defining UDFs so it'll take a lot of effort to unify them in a single API


The pathogen effector term, tidy and add missing parents and children GO:0080185  effector-dependent induction by symbiont of host immune response

I never find this term  because it isn't in the expected branches, and a search of QuickGO on effector never finds it (likely because of the hyphen)
GO:0080185    effector-dependent induction by symbiont of host immune response
I never search on "effector-dependent" because it isn't usually called this.
Make effector-triggered susceptibility:
Effector-triggered susceptibility is achieved through the interaction between a pathogen effector and its host target that eventually impinges on immune signaling. Mechanistically, this interaction results in a modification of the target and its cellular fate (Kamoun, 2007)
an exact syonym (this is what the process is usually called)

current definition
Any process that involves recognition of an effector, and by which a symbiont activates, maintains or increases the frequency, rate or extent of the immune response of the host organism; the immune response is any immune system process that functions in the calibrated response of an organism to a potential internal or invasive threat. The host is defined as the larger of the organisms involved in a symbiotic interaction. Effectors are proteins secreted into the host cell by pathogenic microbes, presumably to alter host immune response signaling. The best characterized effectors are bacterial effectors delivered into the host cell by type III secretion system (TTSS). Effector-triggered immunity (ETI) involves the direct or indirect recognition of an effector protein by the host (for example through plant resistance or R proteins) and subsequent activation of host immune response. PMID:16497589
propose
Any process that involves the activation of a host  immune response by a secreted symbiont molecule; The host is defined as the larger of the organisms involved in a symbiotic interaction.
The rest is not required and makes it more difficult  to process.

Add a comment to this term:
This terms is usually used  to annotate necrotrophs, which intentionalluy activate host cell death pathways
Note, this term will need to be linked (and possibly merged wtih)
some of the "symbiont cell death causing terms" I will chek this next

New definition:
"A process stimulated by a molecule secreted by a symbiont that activates a host innate immune response. The host is defined as the larger of the organisms involved in a symbiotic interaction. In the host, effector-triggered immunity (ETI) involves the direct or indirect recognition of an effector protein by the host (for example through plant resistance or R proteins) and subsequent activation of the innate immune response."

Finally this term has missing parents.

THis term/pathway where the pathogen intentionally activated the host immune response is only for necrotrophs of plants.
The pathway that is activated is the  host hypersensitive response which results in cell death
https://www.ebi.ac.uk/QuickGO/term/GO:0052042
so we should add a bit to the definition about the innate immune pathway activated being the "effector-triggered immunity/ hypersensitive response"

This term
https://www.ebi.ac.uk/QuickGO/term/GO:0052042
GO:0052042   positive regulation by symbiont of host programmed cell death
should be a parent

I now think
GO:0080185 effector-dependent induction by symbiont of plant hypersensitive response
would match the definition better

effector-triggered induction of plant hypersensitive response

New definition:
"A process stimulated by a molecule secreted by a symbiont that activates a host a plant hypersensitive response in order to induce plant cell necrosis. The host is defined as the larger of the organisms involved in a symbiotic interaction.

Taxon constraints added:
Never in metazoa
Never in Viriplantae
https://github.com/geneontology/go-ontology/pull/18328

val to look at this part
In the host, effector-triggered immunity (ETI) involves the direct or indirect recognition of an effector protein by the host (for example through plant resistance or R proteins) and subsequent activation of the innate immune response."


Deprecated distance and temperature conversion utilities

I am seeing these warnings in the log.  There's plenty of time to address before the existing distance and temperature conversion utilities stop working (2023.4), but I figured I would go ahead and create an issue.

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 1:06:48 PM (4 occurrences)
Last logged: 1:06:48 PM

Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for rivian using this method at custom_components/rivian/const.py, line 95: convert_distance(v, LENGTH_METERS, LENGTH_MILES), 1
Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for rivian using this method at custom_components/rivian/const.py, line 169: convert_distance(v, LENGTH_MILES, LENGTH_KILOMETERS), 1
Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for rivian using this method at custom_components/rivian/const.py, line 180: convert_distance(v, LENGTH_KILOMETERS, LENGTH_MILES), 1
Detected integration that uses temperature utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.TemperatureConverter instead. Please report issue to the custom integration author for rivian using this method at custom_components/rivian/const.py, line 299: convert_temperature(v, TEMP_CELSIUS, TEMP_FAHRENHEIT)

Ack.  Thank you for keeping an eye on this for us.  I hope to have this resolved with their new convert when we swap over to GraphQL


[BUG] OpenAI: Sample not returning results

Sample08_UseYourOwnData always return "information is not available"
Describe the bug
I created a Chat playground with ChatGPT-4 and my own data using Azure AI Studio. It works perfectly in Azure AI Studio and also as a web sample application (which is written in Python).
However, when called using the example at https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample08_UseYourOwnData.cs, it always returns the phrase: "assistant: The requested information is not available in the retrieved data. Please try another query or topic." even though message.AzureExtensionsContext.Messages contains the references. It also doesn't work from the C# example created by Azure AI Studio.
I'm using package Azure.AI.OpenAI --version 1.0.0-beta.8. All login data and references seem to be correct.
Expected behavior
Same result of Chat playground or web sample application made from Azure AI Studio.
Actual behavior
always returns the phrase: "assistant: The requested information is not available in the retrieved data. Please try another query or topic."
Reproduction Steps
Create a Chat playground on Azure AI Studio with "Add Your Data", make it work, try the c# sample https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample08_UseYourOwnData.cs or the c# sample from the Azure AI chat playground.
Environment
Azure.AI.OpenAI --version 1.0.0-beta.8.
.net core 6
Visual studio
Console application only to test result

We have the exact same issue


Write all iovs in fd_write of wasi-preview1-component-adapter

I noticed that the implementation of fd_write in the preview1 adapter only writes the first iov in the list passed. This change writes all of them. I'm happy to add a test for this, though I couldn't find any tests for the adapter. I tested this locally via wasm-tools.

Writing in a loop is incompatible with POSIX. POSIX mandates that each writev is an atomic operation. While it may only write the first n bytes, it has to write all n bytes at once without the possibility of any other write getting interleaved with it. If you want to write everything, you did have to copy all buffers into one large buffer and then write this large buffer, which may actually be slower than both the status quo and your PR. See also https://github.com/bytecodealliance/wasmtime/issues/8037#issuecomment-1973512565

To add another case I would be worried about in addition to what @bjorn3 already mentioned: in the PR as-is if you have 4 buffers and successfully write the first two but then fail writing the third then the fact that the first two were successfully written is lost. At that point you've got a number of successfully written bytes plus an error and it's not clear which should be returned since only one can be returned.

That makes sense. It looks like some implementations of readv/writev do allocate a temporary large buffer in the case that the number of provided iovs exceeds the limit of the system, so that probably makes sense here too.
I agree that the current implementation we have of fd_write is technically correct, but I think the (totally allowable) behavior change from older preview1 versions of wasmtime is a little surprising to less resilient code, shown by the couple of issues/PRs opened about this.
I attempted to implement this so we could at least test it out/consider this approach, but I forgot that the adapter can't really use Vecs because of the panics. I'm not quite a seasoned-enough Rustacean to know how to do this without vecs in safe Rust, but if someone could give me a pointer that'd be much appreciated.

I agree it's unfortunate that this is causing issues, but IMO our hands are unfortunately tied here to the point that there's not much we can do. I think there's one thing we can do, which is to have a statically allocated or somewhere slice of bytes which the adapter copies into and then calls out to perform a single write. That would respect the semantics desired for languages and such here, at the cost of copying data. It's not clear to me when the copy is worth it vs when not, so I'm not sure how to best make such a decision.
The adapter has various bits and pieces of scratch space in its State and we can put a fixed-size buffer in there for copying if necessary.

I agree it's unfortunate that this is causing issues, but IMO our hands are unfortunately tied here to the point that there's not much we can do. I think there's one thing we can do, which is to have a statically allocated or somewhere slice of bytes which the adapter copies into and then calls out to perform a single write. That would respect the semantics desired for languages and such here, at the cost of copying data. It's not clear to me when the copy is worth it vs when not, so I'm not sure how to best make such a decision.

I hit this recently and thought I had made a mistake using the API; multiple iovecs are supported in at least three other engines. Though they are rare, supporting that functionality for application migration, even if the writes are not atomic, would be an improvement in the status quo and make the ecosystem more uniform. Given that I think these are rare, if we would like to make the POSIX atomicity guarantee, it seems like a copy into a temporary buffer would be a reasonable implementation--especially if the I/O is large, it's likely to be a small relative overhead.

I definitely agree that this can be a footgun, so I don't mean to discount that. That being said I continue to think "just call write twice" is not an acceptable solution. While that solves the footgun it means that if anyone tries to robustly handle errors/atomicity it's impossible to do so. I'm not sure @titzer if your issue is derivative of the same file changed in this PR, but this PR changes an adapter which converts WASIp1 to WASIp2. The WASIp1 APIs "looked like POSIX" and had its semantics, and callers may not even realize they're being wrapped to work in a WASIp2 world. In that sense callers with it can't be known in this context if callers with multiple iovecs care about atomicity or not.
This is why I mention that one possible solution is to copy some data. Perhaps when it's below a certain threshold or something like that it's copied into a different space and then issued as a single write. That doesn't have any atomicity issues and it's just a minor perf loss. I think it'd be reasonable to prototype that out and see what it would look like.


changed location of storeProtectLoadUtils files

fixes #3533

LGTM, but please fix the test location (move it too) and fix the eslint problem too. Thanks!

@MdSahil-oss it seems that there are small prettier issues still, do you have a prettier integration with your IDE? I heavily recommend that.


Adapt click behavior for mobile

I think we're looking for these behaviors:

[ ] from national view, tap on state zooms to state
[ ] within state view, tap on county (county in selected state) gives county info
[ ] within state view, tap on adjacent state pans to that state
no hover or pinch behaviors

but @jread-usgs and @mwernimont, I don't remember where the final proposal is and am making this up from memory - please adjust as needed.

only edit I would add is that "within state view, tap on county (county in selected state) gives county info"

Adding this

[ ] within state view, taps in the ocean/canada/mexico should still zoom you out

Don't you think that will confuse people?  If that tap works why not tap on the states to zoom out?  My 2 cents is zoom-out button is the only option to zoom out on mobile.

I like the idea of using the background rectangle as another place you can zoom out from, and don't think it costs us much to implement. It won't be relevant for many/most states, but will help for AK, HI, PR if it doesn't cause people to unexpectedly zoom out when they are trying to tap on St Thomas, for example...

I believe we're already using the background rectangle in this way; just want to make sure we keep that behavior and are aware of it. You can try it out on dev and beta to see if it gets you what you want.


ruby 3.0

i have a sizable production app running with ruby 3.0. a runtime upgrade is on the roadmap but not near which i think is true for many real-life applications. but i’d also like to use plumb.
would you accept compatibility PRs for eol ruby versions? from what i’ve seen changes would only apply to syntax sugar anyway.

Hey, thanks! yes, I'd gladly accept that PR. Perhaps you can also add 3.0 to the test matrix in .github/workflows/ruby.yml
Re. using Plumb in your project, thanks again but I hope you're aware this gem is still WiP. Having said that, I'm sure we'll get useful feedback from your use case.


Page needs to be public?

Describe the bug
A clear and concise description of what the bug is.
Error: Notion page not found  thrown when site is not public
It gets the first stage completely right, but fails at stage 2
This is resolved when publishing the page in Notion
Reproduction Steps
Copy default template notion page to own page
Add integration and key
run npx @sillsdev/docu-notion -n  [secret] -r [page_id]
Expected behavior
The page is converted to docusaurus-friendly page
Screenshots

Additional context
This same error happened to #83 and it is resolved by making the site public, but since it doesnt have a specific bug report I thought i'd add it

There's something I'm missing; in my own test, the root pages do not have to be public, and that's what you'd expect-- you have to give your Notion "integration" explicit read permissions, so whether the Notion page is open to then world would seem irrelevant.  Anyhow, obviously, there is something going on. In the meantime, I just changed the subject here so people would find it.

Just to make sure I'm not missing anything: full reproduction video
https://github.com/sillsdev/docu-notion/assets/76777936/4f2955ca-2bcd-4a96-83e2-f2a3f90241e0
(as for the secret: deleted the page and integration after)

I met the same issue while following README steps.
I fixed it by removing the left and right columns block in "Notion Element Tests" page.

I met the same issue while following README steps.
I fixed it by removing the left and right columns block in "Notion Element Tests" page.

That also works for me. Had the same issue using the template.

This is indeed a bug in docu-notion.
If you have any columns, you will get an error if the page is not public read. The reason is that we use an alternate notion client when trying to get the column width information because this info is not available from the official API.

Not sure what the best solution is.
Probably to assume equal-width columns if we don't have access to the page and throw a warning into the log.
The current code in ColumnTransformer.ts:
// The official API doesn't give us access to the format information, including column_ratio.
// So we use 'notion-client' which uses the unofficial API.
// Once the official API gives us access to the format information, we can remove this
// and the 'notion-client' dependency.
// This logic was mostly taken from react-notion-x (sister project of notion-client).
async function getColumnWidth(
  block: ListBlockChildrenResponseResult
): Promise<string> {
  const unofficialNotionClient = new NotionAPI();
  const blockId = block.id;
  const recordMap = await executeWithRateLimitAndRetries(
    `unofficialNotionClient.getPage(${blockId}) in getColumnWidth()`,
    () => {
      // Yes, it is odd to call 'getPage' for a block, but that's how we access the format info.
      return unofficialNotionClient.getPage(blockId);
    }
  );
  const blockResult = recordMap.block[blockId];
  ...


Allow to set a timeout on query

Is your feature request related to a problem? Please describe.
I have some queries which seem to hang, but when retried a second time works.
Describe the solution you'd like
It would be nice to be able to set timeout at each query so that we can retry quickly, maybe through execution_options of sqlalchemy or at the engine level at least.
Describe alternatives you've considered
I have tried hacking the bigquery client but couldn't make it work:
with engine.begin() as connection:
    connection.connection._client._default_query_job_config.script_options = ScriptOptions(statement_timeout_ms=10)
    connection.execute(...)

This is probably not the options I would like, I think the timeout probably needs to be set here https://github.com/googleapis/python-bigquery/blob/5d0ebf462e49cb7aea474c9de3a8c2ea4fa11c58/google/cloud/bigquery/dbapi/cursor.py#L213

@maingoh
This might be what you are looking for:
There is an ability to set a default retry on some methods:
https://github.com/googleapis/python-bigquery/blob/41799b4d22101bef8d3b00b52759a2390e7c624d/google/cloud/bigquery/retry.py#L53
Any method with a ``retry`` parameter will be retried automatically,
with reasonable defaults. To disable retry, pass ``retry=None``.
To modify the default retry behavior, call a ``with_XXX`` method
on ``DEFAULT_RETRY``. For example, to change the deadline to 30 seconds,
pass ``retry=bigquery.DEFAULT_RETRY.with_deadline(30)``.

Relatedly there is the ability to set a default timeout on some methods:
https://github.com/googleapis/python-bigquery/blob/41799b4d22101bef8d3b00b52759a2390e7c624d/google/cloud/bigquery/retry.py#L63
Timeout and Retry are two different limitations. Please be sure to read the function docstrings to be clear on how/when they are used.
Re: retry, many functions in the library have the ability to tweak the retry values. IF you do a find on retry in the query.py file, for example, you will see that a number of aspects of a query can be refined.
https://github.com/googleapis/python-bigquery/blob/41799b4d22101bef8d3b00b52759a2390e7c624d/google/cloud/bigquery/job/query.py

There has been no response to the latest comment.
Closing this issue.


SLA Manuscript Statistics Section

We need to begin working on the statistics section of the SLA manuscript. Exciting!
@bpbond, could you create an outline in a new branch for what this could look like, including the different tests that need to be ran, and then schedule a meeting with me in the next few weeks to go over everything?

Our goals were to (i) characterize SLA across a broad range of species, elevations, and canopy heights in these forests; (ii) examine canopy structural differences in near-shore and upland trees; and (iii) infer how changes in future salinity might affect SLA, and thus canopy physiology, by comparing same-species SLA values along the creek's salinity gradient.

Before creating a branch, let's see. We're going to want to test:

Differences between species. This can be done once ignoring all other factors (m <- lm(sla ~ species), aov(m)) but then once with everything included (same as test in 4 below?)
Differences between canopy height. Dataset only for a few species. This is a paired t-test t.test(sla_low, sla_heigh, paired = TRUE, var.equal = TRUE) for each species
Differences between early and late season . This is GCREW only and we can use a paired t-test t.test(sla_early, sla_late, paired = TRUE, var.equal = TRUE) for each species
Shoreline versus upland. This should nest elevation within site, using a mixed-effects model: lmer(sla ~ elevation * species + (1 | site:elevation))
Salinity effect. This codes GCREW as base level of contrast; no elevation or height factor. lm(sla ~ site * species)

Thanks, Ben! This is honestly really helpful for me to visualize what the stats section will look like/include.

Good! Me too, actually.


make the peer completing the handshake last send a forward-secure packet

In gQUIC, the server completes the handshake first (after sending the SHLO). In TLS 1.3, the client completes the handshake first (after sending the CFIN).
They need to have some way to learn that the peer successfully completed the handshake, so they can stop retransmitting the handshake packets containing the SHLO or the CFIN, respectively. To achieve that, the peer finishing the handshake last will send a PING frame in a forward-secure packet.

Codecov Report

Merging #1358 into master will increase coverage by 0.03%.
The diff coverage is 66.67%.

@@            Coverage Diff             @@
##           master    #1358      +/-   ##
==========================================
+ Coverage   89.98%   90.01%   +0.03%
==========================================
  Files         119      119
  Lines        8346     8349       +3
==========================================
+ Hits         7510     7515       +5
+ Misses        550      548       -2
  Partials      286      286

Impacted Files
Coverage Δ

session.go
78.17% <66.67%> (+0.38%)
:arrow_up:

Continue to review full report at Codecov.

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