[WIP] feat: User can enter classroom setting

Hi I was able to add a new classroom setting component. A user can add a class code and successfully save it to the DB. However I was not able to retrieve the data through the server/user route. I suspect I should add a key in server/utils/publicUserProps.js but I still don't see the classroom setting data from the response. Can you point me in the right direction to expose data from the user model?
Pre-Submission Checklist

[ ] Your pull request targets the staging branch of freeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #17899
Description

Hey @rivera1294
Thanks for taking the time to prepare this. We are really excited to have this in soon. However, we just did a bit or re-structuring to the repo. Can you please revisit this and open a pull request when ready.
Thanks a lot.
Happy contributing


Liascript broke since last release.

Since last release is Liascript for me not working. I can't use it on a Chrome based Browser and Firefox. Also Liascript-preview isn't working anymore.
Also i have tried to open this presentation.

Uh damn it and THANKS a lot ... A fix for handling lonesome HTML comments caused a bug in the HTML parser ... JUST updated it, the website and the Atom plugin should now work again as expected.
The only thing with Atom is at the moment, I have not updated it yet to the latest version, their latest update broke my version... So if you stay atm with version 1.47.0 everything should work fine ... sry ...
But at least you can now try out some new features such as automated table-visualization ;) which has absolutely nothing to do with the latest bug ... The docs have been updated, to a section "Fun with tables" ... here is a short overview
https://www.youtube.com/watch?v=Y_7q9T5jYHo&feature=youtu.be

Well my Atom has been already updated. Hope Liascript will work soon again.

Just downgrade to Atom 1.47 for the moment ... I will need to check their latest changes ...


Updates to split download and install and allow changing the fortio image on stage as well as pass grpx-max-streams

filled follow up https://github.com/istio/admin-sites/issues/64
will merge this in meantime


Make asList available on every ObjectQueue

So that we don't have to rely on a specific queue implementation to read all entries.

Since clients are likely to implement ObjectQueue, this would constitute a breaking change.

It's binary compatible, just not source compatible. So, eh. Not sure if that's a big deal.

I'd also suggest adding the  clear and remove(n) methods to ObjectQueue in that case, since you'd need them to remove multiple items from the queue.

This PR is out of date. We'll still add this thought (tracked by #25).


INTG-1982 - Added columns for combined_score

Should be merged after https://github.com/SafetyCulture/thepub/pull/874


Set import path prior to repository move to jaegertracing org

Coverage remained the same at 100.0% when pulling 51b006d536c770367295934be7a2b754bc192ead on define-import-path into 3b2a9ad2a045881ab7a0f81d465be54c8292ee4f on master.

Coverage remained the same at 100.0% when pulling ba58952875c4c07e98f36d828a24f5be2a1f8c3c on define-import-path into 3b2a9ad2a045881ab7a0f81d465be54c8292ee4f on master.


Recommended loadstring of previous commits in Example.lua

It's a pretty minor change, but it recommends anyone who actually reads the example to not directly use the latest update.

i see where you're going with this but i'd rather have LinoriaLib be completely backwards compatible - i.e. no changes should be required in your code whenever LinoriaLib updates. we can do this by just locking new features behind optional variables - and then whenever there's a 'linorialib 2' or whatever we can enable the new stuff by default.
also this change would require me to have proper changelogs and documentation which is effort :)


Update FilePicker example

Updated the file picker example accept prop values with an array of strings, instead of a string

Codecov Report

Merging #403 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #403   +/-   ##
=======================================
  Coverage   73.31%   73.31%
=======================================
  Files          18       18
  Lines         802      802
  Branches      164      164
=======================================
  Hits          588      588
  Misses        164      164
  Partials       50       50

Continue to review full report at Codecov.

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


add toggle console button and exported bools for enabling print, console and toggle console button

Hi, I found your code very usefull, thanks.
I did some changes to add a button that allows opening the console on mobile builds. Besides I added some exported variables to Console.gd in order to enable/disable this new button (it is disabled by default), the ability to use the console (defaulted to true for compat) and another flag for allowing prints (defaulted to true for compat). Those last two are especially usefull for release builds where it is not desirable to use the console nor wasting resources on prints that no one will see.

Hello! Thanks, glad you liked it :)
Sadly I can't accept your pr...

add a button that allows opening the console on mobile builds

That's a great feature but I don't think it shouldn't be a part of the console core. I believe core should be simple and allow users extend the solution. This is exactly that. Reason is that everyone wants something different, and adding all those features to one single package will make it unmaintainable pretty fast.

flag for allowing prints

Correct me if I'm wrong but godot in release builds disables logging therefore print message doesn't do anything.

the ability to use the console ... especially usefull for release builds

Ideally in release you shouldn't be including development tool, otherwise you are wasting resources and also possibly leaking some internal materials as dev tools not meant and almost never tested for release environments.

Ok, I am with you on your first 2 arguments, but for the third one I don't know a better way to disable a tool that is probably scattered throughout code thanks to calling to Console.Write and such.
Should I check OS.is_debug_build() every time before using Console?

Sadly godot doesn't have any DI, so check OS.is_debug_build(), or create a dummy class with same methods that do nothing and replace autoload in release build

Once again - thanks for your effort. Usually it is better to open an issue first to discuss such changes before putting time into implementing them :)


VMware standard vSwitch port group configuration when ESXi host is added to CloudStack

ISSUE TYPE

Improvement Request

COMPONENT NAME

VMware vSphere / ESXi under CloudStack

CLOUDSTACK VERSION

Any
Tested in CloudStack 4.9 and 4.11

CONFIGURATION

New ESXi host being added to existing cluster

OS / ENVIRONMENT

Any

SUMMARY

A newly added ESXi host added to an existing ESXi cluster utilising standard vSwitches will come online without any port group configuration.
Port groups are added when a VR and / or VM is started on that host
However if VMware native HA is utilised and an HA even occurs then a non-configured host can be chosen as failover destination without CloudStack being in the decision chain. At that point VMs will fail to fall over.
The scenario is not unfeasible - it is not uncommon to either rebuild a host or introduce a new host as part of a a HA scenario. A repeat of the HA event will then lead to VMs being left offline.

Suggested solution:

Upon ESXi host addition the existing cluster should be checked for port group configurations, and all required port groups configured on the new ESXi host.

STEPS TO REPRODUCE

Configure a native HA VMware vSphere cluster in CloudStack.
Put all hosts apart from one into maintenance mode.
Now add a brand new, unconfigured host into the cluster.
Power down the remaining ESXi host with running VMs out of band / pull power / ungracefully shut it down.
Monitor the native VMware HA failover.
VMs will fail to migrate to the newly configured host.

EXPECTED RESULTS

Once added to a CloudStack managed cluster all ESXi hosts should be configured and ready to take on workloads, even if these are triggered out-of-band from CloudStack.

ACTUAL RESULTS

HA failover to unconfigured host will fail.

Due to lack of activity and progress, I've moved this to the next minor release <IP_ADDRESS> cc @sureshanaparti

removing the milestone as the mentioned PR is on a newer one and not being actively pursued.

@sureshanaparti That PR you refer is in draft and rather inactive. Can you advice on a way forward, please?

Ping @sureshanaparti is this still relevant and should you fix it, I see your PR https://github.com/apache/cloudstack/pull/1257

@nvazquez @sureshanaparti  please discuss and change milestone if we don't want to include it in 4.16 scope

As discussed offline @sureshanaparti will rebase the existing PR and test it

As discussed offline @sureshanaparti will rebase the existing PR and test it

@nvazquez rebased, and tested the changes in the PR #1257


[Bug] The results of functions json_extract_string and get_json_string are different,and explode_json_array_string result error

Search before asking

[ ] I had searched in the issues and found no similar issues.

Version
doris version:Doris version doris-1.2.4-3-0f8e3e3
What's Wrong?
table sql:
CREATE TABLE `json_test` (
  `id` int(11) NULL,
  `c_json` jsonb NULL
) ENGINE=OLAP
DUPLICATE KEY(`id`)
COMMENT 'OLAP_JSON'
DISTRIBUTED BY HASH(`id`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"in_memory" = "false",
"storage_format" = "V2",
"disable_auto_compaction" = "false"
);

table data:

sql1:select get_json_string(c_json,'$.obj.i1') from json_test;
sql2:select jsonb_extract_string(c_json,'$.obj.i1') from json_test;
sql1-data:

sql2-data:

When I execute the following SQL statement, I did not get the result I wanted:
select id,e1
from json_test as t1 lateral view explode_json_array_string(jsonb_extract_string(c_json,'$.obj')) tmp1 as e1;

data:

the data obtained on this path should be a json array,but the result was null.
What You Expected?
json_extract_string/get_json_string, the execution result should be one.
explode_json_array_string, It should be able to recognize this type of json array input data: [{}, {}]
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

we'll fix it later


Installing Custom Daprd into Kubernetes

Hello,
I have been working through the guide here for developing a new Dapr component. At step 6 it talks about replacing the daprd binary; this is not in ~/.dapr/bin as shown. I concluded that this is due to the fact I am running Dapr on Minikube at the moment and therefore there are no local files, is this right? If so, I presume I need to change the image being used to deploy the Dapr sidecar? Is this right? If so which images should I be building and overriding in my K8s?
Any help would be greatly appreciated.

I'm running into the same issue. Did you manage to do it?


Can't search for slotted gems

Hi,
I guess it's a bug and not a feature.
We can't search for slotted gems when doing an "advanced" search.
Even "All gems" don't show the slotted gems.
Regards.

We can't

serarc

We can't search for slotted gems when doing an "advanced" search.

as


Remove job from rmi

This is using toBool from either #12197 or #12184 so tests are failing
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

LGTM
/cc @LK4D4 for the merge

LGTM


Migration to C#

Each script (excluding tests and addons) is migrated to C#.

Bugs:

When saving new high scores,
Boundary problem on spawn and visibility detection,
Scale problems when spawning powerups


(#58) Fix build failures for utilities on SGX platform.

Previous commit (@ SHA c7963d9) added -Werror to several Makefiles. This causes builds of utility programs to fail on SGX platforms while compiling protobuf-generated files. This commit resolves those failures by relaxing this flag specifically while compiling these generated files. One other fix is needed to pick-up right version of OpenSSL libs while building policy-utilities exes.
With these fixes, the following should work cleanly on SGX platform:
Ensure your build area is clean, rm'ing all previously generated files.
$ make -f cert_utility.mak clean
$ LOCAL_LIB=/usr/local/lib64 make -f cert_utility.mak $ LOCAL_LIB=/usr/local/lib64 make -f policy_utilities.mak

NOTE: To reviewer(s). These build failures have been fixed in my current dev-branch (under upcoming fixes for issue #67).
I am peeling those off that in-flight work to push separately to /main to unblock @rgerganov

The build succeeds with this patch, thanks


Update Azure Core Shared Codes 2023-02-16-19-55-06

Update Azure Core Shared Codes 2023-02-16-19-55-06

This PR originally contains a change of Azure core shared codes. See the commit history. After merging the feature/v3, the change doesn't show up because it's already merged.


Design scheduler

Virtualization
Be able to do CPU time-sharing among different running programs. Time-sharing mechanism is employed by all modern OSes.
For this, we need mechanisms which are low-level methods or protocols that implement a needed piece of functionality, e.g., context switching. On top of these mechanisms resides some of the intelligence in the OS, in the form of policies. Policies are algorithms for making some kind of decision within the OS. Such as deciding which program should run next with a scheduling policy.


 This approach can be reused across Azure services and O365 services. See the article on [securely transmitting data](./cordova-security-xmit.md) along with documentation on [Azure JSON based REST APIs](https://msdn.microsoft.com/en-us/library/azure/hh974476.aspx) and [O365](http://dev.office.com/getting-started/office365apis)

cordova-security-data.md

[Warning] Remove the locale (culture segment) from links to MSDN library or TechNet topics:

 [currently in beta](https://blogs.msdn.microsoft.com/visualstudio/2015/11/18/announcing-the-intune-app-sdk/). If you are interested in the beta plugin, see the [announcement blog post](https://blogs.msdn.microsoft.com/visualstudio/2015/11/18/announcing-the-intune-app-sdk/) for more details getting access and stay tuned for the upcoming GA announcement. Otherwise see the Intune documentation on the [Android](https://technet.microsoft.com/en-us/library/mt147413.aspx) and **[iOS](https://technet.microsoft.com/en-us/library/dn878028.aspx)
 [Windows API](https://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx)
*[Windows API documentation](https://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx)

cordova-security-platform.md

[Warning] Remove the locale (culture segment) from links to MSDN library or TechNet topics:

 [Windows API](https://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx) from your Cordova app without a plugin. Many plugins for the Windows platforms are simple JavaScript adapters to conform to the plugin interface spec. Putting the app in "local mode" reduces risk given the number of APIs your app has access to by enforcing a base set of CSP rules at a OS level rather than relying exclusively on a CSP meta tag. The store submission process for the Windows Store does reject apps using certain "capabilities" when running in the Cordova default "remote mode" (though none of these capabilities are used in core Cordova plugins)
 [currently in beta](https://blogs.msdn.microsoft.com/visualstudio/2015/11/18/announcing-the-intune-app-sdk/). If you are interested in the beta plugin, see the [announcement blog post](https://blogs.msdn.microsoft.com/visualstudio/2015/11/18/announcing-the-intune-app-sdk/) for more details getting access and stay tuned for the upcoming GA announcement. Otherwise see the Intune documentation on the [Android](https://technet.microsoft.com/en-us/library/mt147413.aspx) and **[iOS](https://technet.microsoft.com/en-us/library/dn878028.aspx)

tfs2015.md

[Warning] HTML scripts, styles or image tags are not a valid Markdown syntax. 0 script tags, 0 style tags and 1 image tags were found in the document content.

tutorial-team-build-readme.md

[Warning] HTML scripts, styles or image tags are not a valid Markdown syntax. 0 script tags, 0 style tags and 1 image tags were found in the document content.

JobID: aec169b7-a70d-4122-8fe7-82394dc69025

Articles to review
The articles impacted by this PR were staged review at:

http://taco.visualstudio.com/en-us/docs/cordova-security-auth/
http://taco.visualstudio.com/en-us/docs/cordova-security-data/
http://taco.visualstudio.com/en-us/docs/cordova-security-platform/
http://taco.visualstudio.com/en-us/docs/cordova-5-security/
http://taco.visualstudio.com/en-us/docs/tutorial-cordova-5-readme/
http://taco.visualstudio.com/en-us/docs/tfs2015/
http://taco.visualstudio.com/en-us/docs/tutorial-team-build-readme/


How about the cost of TUTEL features?

I'm wondering the cost of features mentioned in the TUTEL paper. It looks like the dynamic features including top-anything as well as the dynamic capacity factor will introduce the additional overhead. Do you have any analysis on this, especially the extra memory or computation cost and corresponding model performance benefit?

Hi. What you ask about cost may can be distinguished by "model required cost" and "switching cost".
"Model-required cost" is the trivial cost needed to compute the model regardless of switching from another parallel configuration. Usually, this cost can be estimated by O(|capacity_factor| x |topK| x |model dim settings ..|). Thus, when you change capacity_factor and topK, the model-required cost should also be affected.
"Switching cost" is the extra cost when activating the change of parallel configurations from one to anther (e.g. tensor migration cost / checkpointing cost / program exchange cost / ..).
TUTEL's feature ensures it always keeps "Switching cost" for any configuration changes to be zero (regardless of warmup steps which performs once), while keeping "model-required cost" as model requested. e.g. If you change tensor parallel method or change the overlap granularities, the "model-required cost" keeps still. If you double top-k sparsity, the follow-up "model-required cost" will be likely doubled as well.


Quadicon rendering cleanups #1

I replaced the base quadicon partial with a helper method.
The speed of rendering of of 1000 quadicons on my dev setup is aprox.10% faster (from slightly above 26s down to around 24s).
In a series of steps I'd like to have all of the logic move from HAML to Ruby. Then do a proper measurement of the speed change.

@h-kataria, @mzazrivec, @himdel or someone else, review, please?

@himdel : thx for the detailed fixed. Next time I'd rather write a script for the bulk changes or I don't get it right!

I know the feeling :) .. LGTM :+1:

@dclarizio, @h-kataria : the magical button glows it a very green way!

@Fryguy : added the private keywork to denote what is considered internal.

@martinpovolny the button is a nice green AND the quad icons seem to be functioning quite well, thank you!  Merging.


Feature Implementation: Creating a User profile page

Expected Updates:

[ ] Implement user profile pages that showcase a user's published works, interests, and bio.
[ ] Add an option for users to customize their profiles.

I have seen it was already closed, so I raised it again. Kindly assign this task to me.


Button to restore recent tabs

Would it be possible to add a button on the history screen to open all recently closed tabs, like in Google Chrome?

use the shortcut crtl+shift+t


Subcommand stderr: invalid argument "linker-signed", Error: AOT compilation failed Could not sign the new executable

Seen in https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8814262378734426833/+/u/build_package/stdout
$ dart compile exe bin/main.dart -o build/device_doctor
...
Resolving dependencies...
...
Got dependencies!
Info: Compiling with sound null safety
Subcommand terminated with exit code 1.
Subcommand stderr:
invalid argument "linker-signed"

Error: AOT compilation failed
Could not sign the new executable

Script at https://github.com/flutter/cocoon/blob/4189a23fb892d41c773923cd6b9b982a4d0b11b2/device_doctor/tool/build.sh
Bot is running Mac-10.15.7-19H2 and dart 2.17.0-266.1.beta.
As of https://github.com/dart-lang/sdk/commit/6ef426d7df7089c033078b2c24b5ab9c14d2dfb9 and https://github.com/dart-lang/sdk/issues/39106 this is running:
https://github.com/dart-lang/sdk/blob/b8da7096e75f2dad75dc240433d7dec519e307ba/pkg/dart2native/lib/dart2native_macho.dart#L322-L323
Does linker-signed exist on the version of codesign shipped in macOS 10.15?  If not, a check for macOS 11+ may need to be added.
In case it's relevant, I see some related chatter in the comments at https://chromium.googlesource.com/chromium/src/+/refs/heads/main/chrome/installer/mac/signing/signing.py#26
cc @sstrickl @mit-mit

Also, is there a workaround to unwedge this builder while this is investigated?

\cc @athomas @whesse

Also, is there a workaround to unwedge this builder while this is investigated?

We wound up just upgrading to macOS 12 so we don't need a workaround for this immediate issue.

I am seeing this issue on macOS 10.15.7. I cannot upgrade as a workaround.

I just hit this with a local CLI app that I build. I can't upgrade my OS version. Things were working fine up until, I guess, the latest Dart release within Flutter.
Dart version:
Dart SDK version: 2.17.0 (stable) (Mon May 9 10:36:47 2022 +0200) on "macos_x64"

OS version: 10.15.7

@mkustermann

So looking into this, for macOS <11.0, either

the linker-signed option doesn't exist, or
overwriting the signature of a linker-signed binary still requires the -f/--force flag be passed to codesign.

Since all of our build infrastructure uses macOS >= 11.0, we didn't catch this.
Thus, to fix this, I'm working on CL 245000, which changes the procedure for overwriting an existing dartaotruntime signature to only try using the linker-signed option if the macOS version is >= 11.0. If it is <11.0, or if using linker-signed fails for some other reason, we fall back to just doing a regular signature that will need to be force overwritten.
Once that CL has been reviewed and landed, I'll submit a cherry pick request to include this in stable.

@athomas Do we have any devices with macOS < 11.0 we could try out the fix?

Our CI bots are actually running 10.15.7.  So our infrastructure is not on 11 or greater.
We must not be testing these commands on our CI?
I have logged into one of our mac bots and verified that the OS is 10.15.7.

The arm64/M1 bots are on Mac-11.6.2 (we can't get any of those with an earlier version), the entire x64 fleet is on 10.15.7 (as stated above).

Ah, that explains it. We're not using a published Dart SDK on those bots (which would have a signed dartaotruntime), but instead the locally built SDK, which on X64 won't be signed (as signing is only required on M1).
The code that's failing here only gets run if the original dartaotruntime was signed. So basically, unless we somehow sign the locally built SDK and try it there, this whole section of code will be skipped.
That does give us a way to test this, though, which is to adhoc sign the local dartaotruntime on macOS (which we can do safely on both X64 and M1) before running some of the tests that compile standalone executables. I'll see about doing that.

Given this was cherry-picked to stable in https://github.com/dart-lang/sdk/issues/49041, I assume we can close this issue?

Ah yes, thanks, let's do so.


[WIP] Build against TF2.5

Description
Build Python3.9 and TF2.5rc. This is not expected to work right away.
Fixes # (issue)
https://github.com/tensorflow/addons/issues/2188

We need to fix tensorflow_addons/seq2seq/tests/decoder_test.py. Other then renaming I'don't know why we have two output now
 ValueError: Found unexpected keys that do not correspond to any Model output: dict_keys(['tf_op_layer_Mul']). Expected: ['tf.math.multiply', 'tf.reverse_sequence_1']
I think we could try to update Pillow, check the Matrix https://pillow.readthedocs.io/en/stable/installation.html#python-support

@seanpmorgan Do you remember the ticket?
https://github.com/tensorflow/addons/blob/f4cbd2a1c0c6f3ae14a849ec31d74af440f4e1ab/tensorflow_addons/text/tests/crf_test.py#L500-L503

@seanpmorgan Do you remember the ticket?
https://github.com/tensorflow/addons/blob/f4cbd2a1c0c6f3ae14a849ec31d74af440f4e1ab/tensorflow_addons/text/tests/crf_test.py#L500-L503

I believe https://github.com/tensorflow/tensorflow/pull/45534

@tensorflow/sig-addons-maintainers Should be good to merge and then we can publish 0.13 + py39 binary


krun_set_env: No changes when using API

No matter what environment variables are set via krun_set_env, the only two environment variables present from init.c are HOME=/ and TERM=linux
Testing:
From examples/launch-tee.c, examine the following:
char env[3];
char url[100], workload_id[100];

sprintf(url, "KRUN_ATTESTATION_URL=http://<IP_ADDRESS>:8000");
sprintf(workload_id, "KRUN_WORKLOAD_ID=test");

env[0] = url;
env[1] = workload_id;
env[2] = NULL;

if (err = krun_set_env(ctx_id, (char **) env)) {
        errno = -err;
        perror("Error setting attestation URL");
        return -1;
}

Now, in src/libkrun/src/lib.rs, we'll edit the krun_set_env API to print the environment variables:
#[allow(clippy::missing_safety_doc)]
#[no_mangle]
pub unsafe extern "C" fn krun_set_env(ctx_id: u32, c_envp: *const *const c_char) -> i32 {
    let env = if !c_envp.is_null() {
        let envp_array: &[*const c_char] = slice::from_raw_parts(c_envp, MAX_ARGS);
        match collapse_str_array(envp_array) {
            Ok(s) => s,
            Err(e) => {
                debug!("Error parsing args: {:?}", e);
                return -libc::EINVAL;
            }
        }
    } else {
        env::vars()
            .map(|(key, value)| format!(" {}=\"{}\"", key, value))
            .collect()
    };

    println!("environment variables: {}", env);        <---- PRINTING THE ENVIRONMENT VARIABLES

    match CTX_MAP.lock().unwrap().entry(ctx_id) {
        Entry::Occupied(mut ctx_cfg) => {
            let cfg = ctx_cfg.get_mut();
            cfg.set_env(env);
        }
	Entry::Vacant(_) => return -libc::ENOENT,
    }

    KRUN_SUCCESS
}

During a test, we see the following:
environment variables: "KRUN_ATTESTATION_URL=http://<IP_ADDRESS>:8000" "KRUN_WORKLOAD_ID=test"
However, when skipping over to init.c, we'll try and print the environment variables:
char *url;
url = getenv("KRUN_ATTESTATION_URL");
if (url)
        printf("URL: %s\n", url);
else
        printf("No environment variable URL found\n");

We see the following:
No environment variable URL found
Furthermore, most C compilers support a third argument to main(), being an array of strings representing the environment variables:
int
main(int argc, char **argv, char *envp[])
{
	printf("Printing all environment variables:");
        for (int i = 0; envp[i] != NULL; i++) {
                printf("\n|%s|", envp[i]);
        }

        return 0;
}

We see the following printed:
Printing all environment variables:
|HOME=/|
|TERM=linux|

The changes seem to stem from here and here, where there is no kernel cmdline set if the tee flag is set. Upon removing these flags, I come across a VERY strange issue, however.
When loading the cmdline, I add a println! to show the command line I am about to load into the VM, and I am met with this message. This println! is from load_cmdline.
kernel cmdline: reboot=k panic=-1 panic_print=0 nomodules console=hvc0 root=/dev/vda rw quiet no-kvmapf tsi_hijack init=/init.krun KRUN_WORKDIR=/ KRUN_RLIMITS="6=4096:8192" KRUN_ATTESTATION_URL=http://<IP_ADDRESS>:8000 KRUN_WORKLOAD_ID=test virtio_mmio.device=4K@0xd0000000:5 virtio_mmio.device=4K@0xd0001000:6 virtio_mmio.device=4K@0xd0002000:7  --

Notice that all of the environment variables we want set are present: KRUN_WORKDIR, KRUN_RLIMITS, KRUN_ATTESTATION_URL, and KRUN_WORKLOAD_ID. We can then run the system and view the kernel command line in the guest by viewing the contents of /proc/cmdline. Upon doing that:
sh-5.0# cat /proc/cmdline

reboot=k panic=-1 panic_print=0 nomodules console=hvc0 quiet rootfstype=virtiofs rw no-kvmapf tsi_hijack init=/init.krun virtio_mmio.device=4K@0xd0000000:5 virtio_mmio.device=4K@0xd0001000:6 virtio_mmio.device=4K@0xd0002000:7 virtio_mmio.device=4K@0xd0003000:8 virtio_mmio.device=4K@0xd0004000:9

Not only are our environment variables nowhere to be found, but there are two more virtio_mmio devices added (with IRQ numberrs 8 and 9 respectively).
@slp Any thoughts? Am I doing something wrong here?


New linter: SublimeLinter-contrib-lslint

I made a linter to complement the sublime-text-lsl plugin.
https://github.com/XenHat/SublimeLinter-contrib-lslint
This linter provides an interface to the lslint linter for the Linden Scripting Language (and its OSSL variant)

Please make a release and I'll put it in Package Control. Thanks!

I have created a release.
Sorry for the late reply, notifications weren't configured properly.

https://packagecontrol.io/packages/SublimeLinter-contrib-lslint
Thanks again.

Thank you! :)


Propose async_scope

 Issue by ericniebler
Sunday Mar 19, 2023 at 15:31 GMT
Originally opened as https://github.com/NVIDIA/stdexec/issues/836

None

P3149: async_scope -- Creating scopes for non-sequential concurrency


block creation position does not take into account group translation

when panning inside a group, a block is created at a position not relative to the translated space. it should appear wherever the autocomplete box was invoked, taking into account the group translation.

related to #120


concurrent asyncio tasks and xray are not working with Lambda

Hello,
I am opening this issue on request of @NathanielRN after a discussion with him in https://github.com/aws/aws-xray-sdk-python/issues/203 .
The problem is that when using aioboto3, asyncio (with gather or wait) and xray in Lambda we either get an exception or no subsegments showing calls to S3 or SQS.
Here is the last code snippet from that issue:
import asyncio
from io import BytesIO

import aioboto3
from aws_xray_sdk.core import xray_recorder, patch_all
from aws_xray_sdk.core.async_context import AsyncContext

# here I tried adding your solution (not added when solution to use AsyncContext() is used below)
# xray_recorder.configure(service='repro_xray_issue')  # uncomment this for second solution trial

patch_all()

def lambda_handler(a,b):
    asyncio.run(main())

async def main():
    # here I tried adding your solution (not added when solution to remove AsyncContext() is used above)
    xray_recorder.configure(service='repro_xray_issue', context=AsyncContext())    # comment this for second solution trial
    async with xray_recorder.in_segment_async('my_segment_name') as segment:  # comment this for second solution trial
        filelike1 = BytesIO()
        filelike2 = BytesIO()
        res1, res2 = await asyncio.gather(s3_get(filelike1), s3_get(filelike2))  # .wait() doesn't work either

@xray_recorder.capture_async('s3_get')  # tried with this and without also
async def s3_get(filelike):
    async with aioboto3.Session().client('s3') as s3:
        return await s3.download_fileobj('s3-validation-files-003', 'test.txt', filelike)

Hi @abivolmv,
Thanks for creating this separate issue and posting some reproduction code. We have this as an investigation item in our backend and will follow up when we have bandwidth.

Adding some notes I took down during my quick investigation of this issue:
It looks like our AsyncContextManager is able to __aexit__ before the s3 tasks initiated by asyncio finish. Maybe it's not put on the taskLoop correctly OR it just finishes faster so that they finish before the other tasks finish creating and ending their sub segments. A reminder that this bug sometimes happens and sometimes does not happen.
I'm referring lines specifically to these lines of the async_recorder.py for AsyncContextManager:
https://github.com/aws/aws-xray-sdk-python/blob/b5b99b7561eb46c831c5aff07563b7a923d47f41/aws_xray_sdk/core/async_recorder.py#L13-L14
PEP 484 says that the aexit function should be returning an "awaitable", but I am not sure if our code is returnning just that.
I managed to avoid the "Traceback Exception" by changing the code like this:
class AsyncSegmentContextManager(SegmentContextManager):
    async def __aenter__(self):
        return self.__enter__()

    async def __aexit__(self, exc_type, exc_val, exc_tb):
        async def nested():
            self.__exit__(exc_type, exc_val, exc_tb)

        task = await asyncio.gather(nested())

        return task

The traces show up on X-Ray but they are sometimes blank with no data in them!
This issues requires investigating how asyncio works. Specifically, we need to confirm that we "schedule the self.exit task" on the asyncio loop instead of running it immediately (so that the previous async calls have a chance to finish) OR that the task doesn't get pulled off the loop until the previous ones to make calls to S3 run to completion.

Hello guys,
just wanted to spark some interest in this issue as we have Lambda timing out sometimes (very rarely) but can't see why since Xray won't show much due to the aforementioned issue.

Thanks for the fix , I will try and see if it works now for me too

Oh, I have to wait for a new release to pypi. Or how can I test before that ? Also when is the new release going to happen as I see it's not so often.

Hey @abivolmv, thanks for your patience! Can you see release 2.10.0 now? https://github.com/aws/aws-xray-sdk-python/releases/tag/2.10.0
Let us know if it works for you 🙂

Hi @NathanielRN appreciate your and your colleagues' effort on this.
I tried the new version and I can see the segments in a proper way in xray console when I test locally or in Lambda.
But I notice it creates a new segment that is not tied to the Lambda one.
So when I have the use case API GW -> Lambda -> S3 I have 2 traces , which beats the purpose of xray as I cannot see the start and end of the same workflow in the same trace. Maybe I am not integrating correctly the solution ? Here is how it looks like in Lambda:
import asyncio
from io import BytesIO
import aioboto3
from aws_xray_sdk.core import xray_recorder, patch_all
from aws_xray_sdk.core.async_context import AsyncContext

patch_all()
aio_session = aioboto3.Session()

def lambda_handler(a, b):
    asyncio.run(main())

async def main():
    # here I tried adding your solution (not added when solution to remove AsyncContext() is used above)
    xray_recorder.configure(context=AsyncContext())
    async with xray_recorder.in_segment_async('my_segment_name') as segment:
        filelike1 = BytesIO()
        filelike2 = BytesIO()
        res1, res2, res3, res4 = await asyncio.gather(s3_get(filelike1), s3_get(filelike2))

@xray_recorder.capture_async('s3_get')
async def s3_get(filelike):
    async with aio_session.client('s3') as s3:
        return await s3.download_fileobj('s3-tst-bmw-eve-digitalbrochure-validation-files-003', '.versions.txt', filelike)

Hi @abivolmv, I believe this may be an issue of propagation. I believe you have to instrument the Lambda Handler to read the incoming X-Ray Tracing header coming in from APIGW and used by Lambda. Otherwise the X-Ray SDK in your Lambda will create its own trace.
See more:
https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader

@NathanielRN this, propagation, happens automatically when I don't use
xray_recorder.configure(context=AsyncContext())
    async with xray_recorder.in_segment_async('my_segment_name') as segment:

Something happens here that detaches the API incoming trace from Lambda custom trace.
We can see that the trace is reaching the Lambda handler in the other parallel trace :

I ended up doing this, though it feels counter-intuitive, it shows one full trace:
trace_id = xray_recorder.get_trace_entity().trace_id
    parent_id = xray_recorder.current_segment().id
    # enable xray to work with async
    # even though Lambda has its own segment we need to create one async segment
    xray_recorder.configure(context=AsyncContext())
    async with xray_recorder.in_segment_async('add_brochure', traceid=trace_id, parent_id=parent_id) as segment:
       ...

Hm yeah I expect _in_segment_async to do that automatically. Would you mind filing a new issue with this so we can keep track of it? Otherwise happy that you have a work around and thank you for being willing to share your findings to make this SDK better! 😄

Unfortunately the workaround above is only working sometimes. I described it more in the new issue.


False negative in sha_of_sha_collision.sol

Description
The assert violation in sha_of_sha_collision.sol is no longer detected.
Source:
/*
 * @source: ChainSecurity
 * @author: Anton Permenev
 * Assert violation with 2 message calls:
 * - set(66)
 * - check(0x4100000000000000000000000000000000000000000000000000000000000000)
 */
pragma solidity ^0.4.22;

contract ShaOfShaCollission{

    mapping(bytes32=>uint) m;

    function set(uint x){
        m[keccak256(abi.encodePacked("A", x))] = 1;
    }
    function check(uint x){
        assert(m[keccak256(abi.encodePacked(x, "B"))] == 0);
    }

}
```

## How to Reproduce

```console
$$MYTH analyze -c<PHONE_NUMBER>34801561001057600080fd5b50610275806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680635f72f4501461005157806360fe47b11461007e575b600080fd5b34801561005d57600080fd5b5061007c600480360381019080803590602001909291905050506100ab565b005b34801561008a57600080fd5b506100a96004803603810190808035906020019092919050505061017d565b005b60008060008360405160200180828152602001807f42000000000000000000000000000000000000000000000000000000000000008152506001019150506040516020818303038152906040526040518082805190602001908083835b60208310151561012d5780518252602082019150602081019050602083039250610108565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020600019166000191681526020019081526020016000205414151561017a57fe5b50565b60016000808360405160200180807f41000000000000000000000000000000000000000000000000000000000000008152506001018281526020019150506040516020818303038152906040526040518082805190602001908083835b6020831015156101ff57805182526020820191506020810190506020830392506101da565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390206000191660001916815260200190815260200160002081905550505600a165627a7a72305820520335c31ace45bc30508c351fb6a18f09ac5ebe0ed67a079f4a27b6cd644d1c0029
The analysis was completed successfully. No issues were detected.
```

## Expected behavior

An exception should be detected.

## Environment

Please modify for your setup

- Mythril version: develop 613bb9ae589288639731049c56f62108e6b95012
- Python version: 3.6.4

It turns out that the dependency pruning plugin prunes the function check because it doesn't recognize the possible match to the storage location previously written in set.
The constraint storage_prev_transaction == storage_loaded_in_path is:
And(KECCAC[invhash(1069734732)] ==
    KECCAC[invhash(2950697056)],
    False)


send data from client1 to server and server send to client2

how send data from clientNum1 to server socket and server send to clientNum2 ??

+1


Add unittests and refactor Network.py

Codecov Report
Base: 63.97% // Head: 80.60% // Increases project coverage by +16.62% :tada:

Coverage data is based on head (5d7c92a) compared to base (796ec5d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #23       +/-   ##
===========================================
+ Coverage   63.97%   80.60%   +16.62%
===========================================
  Files           9        9
  Lines         619      629       +10
  Branches       81       84        +3
===========================================
+ Hits          396      507      +111
+ Misses        223      122      -101

Impacted Files
Coverage Δ

PyStageLinQ/Network.py
100.00% <100.00%> (+86.32%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/fast-forward


Missing, please...

Try Updating Cosyvoice from Manager and restart from Manager.  See if the node appears.


Document annotations

Looks like this was done in 72af089 (and has since been kept up to date) so this issue can be closed.


Hyper turns on the log feature of tracing

Hyper turns on the log feature of tracing, which can be a little bit annoying if you are using another library which records a lot of tracing spans. By using hyper in my project, my logs get filled with traces from a different library. It would be nice if it were possible to turn this off.

This is a known issue, it was required for backwards compatibility of switching to tracing. It should be fixed in the next breaking change.

The "log" feature (not the "log-always" feature) should only emit log records when no tracing subscriber has been set as the default. If a default subscriber has ever been set by the program, log records shouldn't be emitted by any tracing spans or events. If this is not the case, that could be a tracing bug, and we'd love a bug report issue.


Unable to use existing form to fill in data

Describe the bug
When a json form is used to fill out pre-existing data, the app complains about optional fields
To Reproduce
Steps to reproduce the behavior:

Create a basic form with an optional field as null
Try to use it to fill in a form
Make a change and hit submit
Notice errors about data in pre-existing fields

Expected behavior
The form should submit correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Most likely, this is due to the fact that optional fields listed as null have the null types input into fields that are expecting string types, etc. We can probably fix this by filtering nulls when using pre-existing data.

Please note the "optional field errors" described in the original report issue could not be reproduced (likely resolved by other recent fixes), but there were other multiple issues causing the "Autofill" feature to not work correctly:

Unhandled errors for file upload

E.g. when an invalid file is uploaded
E.g. when contents cannot be read as JSON
E.g. when user cancels the upload

Uploaded file's schema version and type were not validated

E.g. when schema version cannot be found
E.g. when schema A with version 0.1.1 is uploaded to schema B where B also has a valid 0.1.1 version

Form data manually set from autofill was persisted even after a new schema is selected
Button stuck in focus after click/upload, no indication that data has been auto-filled.

These issues are addressed in PR #154


Solving environment: failed

I am trying to run it on windows 11 and I am getting the error below:
conda env create -f environment.yml

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - zlib==1.2.13=h5eee18b_0
  - bzip2==1.0.8=h7b6447c_0
  - libffi==3.4.2=h6a678d5_6
  - python==3.11.0=h7a1cb2a_2
  - certifi==2022.9.24=py311h06a4308_0
  - tk==8.6.12=h1ccaba5_0
  - pip==22.2.2=py311h06a4308_0
  - libgcc-ng==11.2.0=h1234567_1
  - openssl==1.1.1s=h7f8727e_0
  - ncurses==6.4=h6a678d5_0
  - libstdcxx-ng==11.2.0=h1234567_1
  - xz==5.2.10=h5eee18b_1
  - readline==8.2=h5eee18b_0
  - ca-certificates==2023.01.10=h06a4308_0
  - sqlite==3.40.1=h5082296_0
  - setuptools==65.5.0=py311h06a4308_0
  - _openmp_mutex==5.1=1_gnu
  - libuuid==1.41.5=h5eee18b_0
  - libgomp==11.2.0=h1234567_1
  - ld_impl_linux-64==2.38=h1181459_1

Any tips on how to get it installed?

Closing this since dependencies have changed with the new version.


When on local document storage and then trying to push to git, modal says Push to local

In packages/tokens-studio-for-figma/src/app/components/PushDialog.tsx we seem to be using the wrong storagetype - it seems to use the currently active one, not the one youre about to push to.
The dialog says Push to local even though i'm pushing to git.
likely on line 116
          title={t('pushTo', { provider: transformProviderName(storageType.provider) })}

storageType is the wrong provider to use and we'd rather need to use localApiState.provider

@six7  @SamIam4Hyma
this is not reproducible in V 2.2.2
•	Added tokens to a local file and connected it to Git (tested with GitLab and GitHub).
•	Pushed the changes.
•	Noticed it shows “push changes” instead of “push to local”.
•	Seems like the issue is resolved now.


Feature2

In this pull request I have implemented the following:

Added a column species of type string to your animals table.
Added more data into animals table and updated data.sql
Inside a transaction I have done the following:

[ ] Set the species column to digimon for all animals that have a name ending in mon.
[ ] Set the species column to pokemon for all animals that don't have species already set.
[ ] Deleted all animals born after Jan 1st, 2022.
[ ] Updated all animals' weight to be their weight multiplied by -1.
[ ] Updated all animals' weights that are negative to be their weight multiplied by -1.
[ ] Committed transaction.

Took screenshots

@mahbubul14 I totally forgot to add screenshots🤣🤣🙈🙈


unhumanize website url in package.json

The "http" is required to make absolute links. For instance, search for "nm" on http://yeoman.io/generators/ and you'll notice "by Sindre Sorhus" is a relative 404 link.

It can easily be normalized into an absolute link by npm. I'd recommend opening a feature request on https://github.com/npm/normalize-package-data


I get errors when loading dicom iamges

hello,I have a particularly strange set of dicom images. I keep getting errors when loading them with cornerstone. Is there anything missing in this set of images?
R01664864.zip
R01701723.zip

When I use this link to load the image : https://rawgit.com/cornerstonejs/dicomParser/master/examples/dragAndDropDump/index.html
error:Status: Error - dicomParser.readPart10Header: DICM prefix not found at location 132 - this is not a valid DICOM P10 file. (file of size 16.973 MB )

I know the error reported here, but I don't know what is missing or what is wrong with these images.

Hi @gxf-style,
This is very easy to fix. Somehow, your DICOM file was generated without the required prefix that tells it's a DICOM file. This is described in the DICOM documentation.
To fix it, you could use some kind of "dicom fixer" tool. I just found one online: https://nsspot.herokuapp.com/dicomtools/
After that process, you shouldn't see errors in cornerstone for these files.


Segfault after launch calls wrong version of _launch

While using the ROCm dev release of Triton, it was discovered that forward/backward passes after a certain PyTorch Commit would cause a segfault in unit tests.
Triton Version: (https://github.com/ROCmSoftwarePlatform/triton/tree/triton-mlir-pyt20) I do not feel this is limited to ROCM
Pytorch Version: (https://github.com/pytorch/pytorch/commit/37f7c00a8aae2ced9666a69d0d51a4d9d4b379af) and beyond.
OS: Ubuntu 20.04.5 LTS
gcc: 9.3.0-1ubuntu2
The error occurs running certain inductor unit tests, for example
python test/inductor/test_torchinductor_opinfo.py  TestInductorOpInfoCUDA.test_comprehensive___rmatmul___cuda_float32
test_comprehensive___rmatmul___cuda_float32 (__main__.TestInductorOpInfoCUDA) ...
Segmentation fault (core dumped)

For ROCM the issue occurred due to an invalid kernel parameter being passed into our `hipModuleLaunchKernel function.
Backtrace
#0  amd::KernelParameters::set (this=0x7ff434072fd0, index=index@entry=5, size=4, value=0xa49b1e2667739300, svmBound=false) at /trees/buildamd/ROCclr/platform/kernel.cpp:127
#1  0x00007fffbf2921df in ihipLaunchKernel_validate (f=<optimized out>, globalWorkSizeX=<optimized out>, globalWorkSizeY=<optimized out>, globalWorkSizeZ=1, blockDimX=<optimized out>, blockDimY=<optimized out>, blockDimZ=1, sharedMemBytes=0, kernelParams=0x7ff5980a0870,
    extra=0x0, deviceId=0, params=0) at /trees/buildamd/ROCclr/cmake/../platform/kernel.hpp:325
#2  0x00007fffbf292592 in ihipModuleLaunchKernel (f=0x7ff43407e120, globalWorkSizeX=32, globalWorkSizeY=1, globalWorkSizeZ=1, blockDimX=32, blockDimY=1, blockDimZ=1, sharedMemBytes=0, hStream=0x9289da0, kernelParams=0x7ff5980a0870, extra=0x0, startEvent=0x0, stopEvent=0x0,
    flags=0, params=0, gridId=0, numGrids=0, prevGridSum=0, allGridSum=0, firstDevice=0) at /trees/buildamd/hipamd/src/hip_module.cpp:352
#3  0x00007fffbf295d70 in hipModuleLaunchKernel (f=<optimized out>, gridDimX=<optimized out>, gridDimY=<optimized out>, gridDimZ=<optimized out>, blockDimX=<optimized out>, blockDimY=<optimized out>, blockDimZ=<optimized out>, sharedMemBytes=<optimized out>,
    hStream=<optimized out>, kernelParams=<optimized out>, extra=<optimized out>) at /trees/buildamd/hipamd/src/hip_module.cpp:405
#4  0x00007ff62097c54d in _launch () from /tmp/torchinductor_root/triton/0/e25c0e963ad24a52865ee0303e6095da/triton_.so
#5  0x00007ff61e8d08b9 in launch () from /tmp/torchinductor_root/triton/0/13e16a5aaa483412e242443619df89fa/triton_.so
#6  0x0000000000507380 in cfunction_call (func=0x7ff61ba227c0, args=<optimized out>, kwargs=<optimized out>) at /usr/local/src/conda/python-3.9.16/Objects/methodobject.c:552

The Python side of the backtrace looks like the following
 File "<string>", line 6 in launcher
  File "/trees/pytorch/torch/_inductor/triton_ops/autotune.py", line 191 in run
  File "/tmp/torchinductor_root/4j/c4j66iedix4kjuhhm3mumeichdz3dw5vpbfygy7drkp46yaxghvf.py", line 450 in call
  File "/trees/pytorch/torch/_inductor/compile_fx.py", line 224 in run
  File "/trees/pytorch/torch/_functorch/aot_autograd.py", line 1021 in call_func_with_args
  File "/trees/pytorch/torch/_functorch/aot_autograd.py", line 1715 in forward
  File "/trees/pytorch/torch/autograd/function.py", line 508 in apply
  File "/trees/pytorch/torch/_functorch/aot_autograd.py", line 1932 in compiled_function
  File "/trees/pytorch/torch/_functorch/aot_autograd.py", line 2066 in debug_compiled_function
  File "/trees/pytorch/torch/_functorch/aot_autograd.py", line 996 in g
  File "/trees/pytorch/torch/_functorch/aot_autograd.py", line 2495 in forward
  File "/trees/pytorch/torch/_dynamo/eval_frame.py", line 209 in _fn
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torchvision-0.15.0a0+2fb9c49-py3.9-linux-x86_64.egg/torchvision/models/resnet.py", line 284 in forward
  File "/trees/pytorch/torch/_dynamo/eval_frame.py", line 209 in _fn
  File "/trees/pytorch/torch/_dynamo/eval_frame.py", line 82 in forward
  File "/trees/pytorch/torch/nn/modules/module.py", line 1501 in _call_impl
  File "/trees/pytorch/test/test.py", line 10 in <module>

Analysis
What I've been able to figure out from my analysis is this.
The data below is tied to the   __rmatmul__ testcase run above.
The signature for the operator's fw and bw in this case are
Forward:
hipDeviceptr_t arg0, hipDeviceptr_t arg1, hipDeviceptr_t arg2, int32_t arg3, int32_t arg4
Backward:
hipDeviceptr_t arg0, hipDeviceptr_t arg1, hipDeviceptr_t arg2,hipDeviceptr_t arg3, hipDeviceptr_t arg4, int32_t arg5

We always fail in the backward pass of the operator.
In every instance, the backward pass's launch is always called correctly with the right number of items in the signature (6 in this case)
The backward pass launch calls the forward pass version of _launch (5 items in signature)
This is shown by the evidence in the backtrace and confirmed by me by hand.

#4  0x00007ff62097c54d in _launch () from /tmp/torchinductor_root/triton/0/e25c0e963ad24a52865ee0303e6095da/triton_.so
#5  0x00007ff61e8d08b9 in launch () from /tmp/torchinductor_root/triton/0/13e16a5aaa483412e242443619df89fa/triton_.so

^^These should be the same .so file.
launch and _launch are specified in compiler.py in triton, in the sane code generated file which eventually becomes tempdirectory/main.c https://github.com/openai/triton/blob/main/python/triton/compiler.py#L1168

With the incorrect call, the _launch attempts to use pointers as int32_t which leads to the seg fault.

Root Cause
I believe I have found the crux of the problem, and it resides in how we are using multiple shared objects with the same function names in them.

With forward and backward passes, we generate a .so for each.
When looking at the disassembly in gdb, I see the following in launch
0x00007ff61d20b919 <+465>:   callq  0x7ff61d20b280 <_launch@plt>
This leads me to believe that the _launch call is trying to reach out to the plt and for whatever reason grabbing the wrong version of _launch
Furthermore, the fact that the offending commit in PyTorch (37f7c00a8aae2ced9666a69d0d51a4d9d4b379af) was narrowed down to be the change in OperatorEntry.cpp

where a const parameter was changed to a const & which, to my knowledge, should have 0 bearing on the work at hand, that this issue is exposed on all gcc compiled modules at the least, and potentially clang too.  The right code changes alters the plt and somehow we grab the wrong version of the _launch function.

Solution
I'll submit a PR and tag it here, however, I found 2 solutions to this problem

We can make _launch be something unique, as only launch makes the call to my knowledge.  This forced the linker to always find the right function(similar to c++ mangling)

Using static(and inline if you want but I didn't need it.) will force the scope of the search for _launch to stay local, and the disassembly of launch would then look like
0x00007ff61d2138f9 <+465>:   callq  0x7ff61d2134ab <_launch>

I'm going to submit a PR for the latter, as I suspect the approach should be to keep the scope of _launch contained and not let it run the risk of leaking out to other potential shared objects that may have their own defined versions.
I did run tests on the latest PyTorch and Triton, and it looks like the default path is at risk as well.  I see the same call in launch
 0x00007f31a3a157b9 <+745>:   callq  0x7f31a3a15280 <_launch@plt>
Which would lead me to believe we could hit the wrong _launch if the right set compilation/linking occurs.
Please let me know your thoughts, and if you have any questions.  I'd be more than happy to help!!

Also to note, Upstream launch was renamed to __triton_launcher

Closing as the issue is fixed by
https://github.com/openai/triton/pull/1229


<EMAIL_ADDRESS>not logging all meta objects

Version 2 used to log all meta objects.
logger.log("message", obj1, obj2)
Used to show both obj1 and obj2.
Version 3 is logging obj1 only.

This is a by design breaking change.


My test for rating runs and passes!

This code required significant code edits in order to merge, so the pull request must be closed and edits made on the local repo.


How to get the generated zip file?

I'm building my YML file for deployment using GitHub actions and it would help me a lot to find out the contents of the zip file generated by this extension when the "Deploy to function app" option is clicked.
Can you make it possible?

I think you should be able to get from the Azure portal.

This would be a nice feature for our extension though.

This feature request is now a candidate for our backlog. The community has 240 days to upvote the issue. If it receives 5 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


python3Packages.onnx: 1.8.1 -> 1.9.0

Motivation for this change
https://github.com/onnx/onnx/releases/tag/v1.9.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 120444 1

2 packages built:

python38Packages.onnx
python39Packages.onnx

Result of nixpkgs-review pr 120444 at 9e7a3a8e run on x86_64-linux 1

2 packages built successfully:

python38Packages.onnx
python39Packages.onnx


auth failure with az CLI token

Package Name:  azure.identity, azure.mgmt.subscription
Package Version: azure-identity==1.7.1, azure-mgmt-subscription==3.0.0
Operating System: macOS
Python Version: 3.7.7

Describe the bug
I would like to list all Azure subscriptions:
from azure.identity import DefaultAzureCredential
from azure.mgmt.subscription import SubscriptionClient

if __name__ == "__main__":
    cred = DefaultAzureCredential(exclude_visual_studio_code_credential=True)
    sub_client = SubscriptionClient(cred)
    print(list(sub_client.subscriptions.list()))

Before running this code I've logged into azure CLI via:
az login

I'm running into the following exception:
DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
	EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot.this issue.
	ManagedIdentityCredential: ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint.
	SharedTokenCacheCredential: Azure Active Directory error '(invalid_grant) AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2021-06-24T11:46:15.0209113Z and was inactive for 90.00:00:00.
Trace ID: 1eb1bf61-9e2c-424a-be16-f287ee201300
Correlation ID: 73cc69da-0208-46c2-bcf1-fa726c82f8b3
Timestamp: 2022-01-28 12:15:44Z'
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
Traceback (most recent call last):
  File "/Users/ivan.trusov/Library/Application Support/JetBrains/IntelliJIdea2021.3/scratches/az_cli_auth.py", line 7, in <module>
    print(list(sub_client.subscriptions.list()))
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/paging.py", line 129, in __next__
    return next(self._page_iterator)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/paging.py", line 76, in __next__
    self._response = self._get_next(self.continuation_token)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/mgmt/subscription/operations/_subscriptions_operations.py", line 299, in get_next
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 211, in run
    return first_node.send(pipeline_request)  # type: ignore
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  [Previous line repeated 2 more times]
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/mgmt/core/policies/_base.py", line 47, in send
    response = self.next.send(request)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/policies/_redirect.py", line 158, in send
    response = self.next.send(request)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/policies/_retry.py", line 445, in send
    response = self.next.send(request)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/policies/_authentication.py", line 117, in send
    self.on_request(request)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/core/pipeline/policies/_authentication.py", line 94, in on_request
    self._token = self._credential.get_token(*self._scopes)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/identity/_credentials/default.py", line 172, in get_token
    return super(DefaultAzureCredential, self).get_token(*scopes, **kwargs)
  File "/Users/ivan.trusov/opt/anaconda3/envs/dbx/lib/python3.7/site-packages/azure/identity/_credentials/chained.py", line 108, in get_token
    raise ClientAuthenticationError(message=message)
azure.core.exceptions.ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
	EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot.this issue.
	ManagedIdentityCredential: ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint.
	SharedTokenCacheCredential: Azure Active Directory error '(invalid_grant) AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2021-06-24T11:46:15.0209113Z and was inactive for 90.00:00:00.
Trace ID: 1eb1bf61-9e2c-424a-be16-f287ee201300
Correlation ID: 73cc69da-0208-46c2-bcf1-fa726c82f8b3
Timestamp: 2022-01-28 12:15:44Z'
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.

To Reproduce
As described above
Expected behavior
Auth and then subscription listing.

Additional comment - at the same time if I explicitly pass AzureCliCredential it works:
from azure.identity import DefaultAzureCredential, AzureCliCredential
from azure.mgmt.subscription import SubscriptionClient

if __name__ == "__main__":
    cred = AzureCliCredential()
    sub_client = SubscriptionClient(cred)
    print(list(sub_client.subscriptions.list()))

@xiangyan99 for Identity and @msyyc for management plane library.

@renardeinside Thanks for reaching out.
From the error log, there is a shared token cache found but the token expired.
In this case, instead of silently swallowing the error, DefaultAzureCredential raises it to you.
If you are sure you don't want to use the cached token, you can create DefaultAzureCredential with exclude_shared_token_cache_credential=True.
So in your case, you can have code like:
cred = DefaultAzureCredential(exclude_visual_studio_code_credential=True, exclude_shared_token_cache_credential=True)

Please let us know if it does not work.


Add photos & recordings for KCS NA 2022

Added recordings links

Small change, thanks for updating

/retitle Add photos & recordings for KCS NA 2022
Even better: also explain what this change does in the PR description.

/label tide/merge-method-squash


Add support for cancel_after_time_interval

Is your feature request related to a problem?
From OS 1.0 onwards, a new request query parameter cancel_after_time_interval was introduced both for SearchRequest and MSearchRequest to provide cancellation of backend request upon timer expiry. This was done to avoid the wasted resource usage from the requests which client application is not waiting for anymore.
What solution would you like?
The support for this request parameter is already merged in from OS 1.0 however the clients doesn't have support for passing it to the backend. Would be great if this parameter support can be added in all the clients
What alternatives have you considered?
N/A
Do you have any additional context?
Issue: https://github.com/opensearch-project/OpenSearch/issues/817
PR: https://github.com/opensearch-project/OpenSearch/commit/e44e890d889d876f12be1d561e4b7017297d8013

We have stabilized the OpenAPI spec, if someone wants to take this on, please do! We also support writing tests now :)

Implemented in https://github.com/opensearch-project/opensearch-api-specification/pull/353.


made database, models, and seeds; added dotenv and packagejson

i made a budget_db, with models: user, income, expense, and debt which have corresponding columns depending on the table and the form inputs. userId is the foreign key on most of them, i'm not 100% on it, so if someone could check it thatd be nice.
if you make sure you create a budget_db, and then run 'node .\seeds\seed.js', then it should seed it for you. I used characters from guardians of the galaxy... i checked on workbench and the values were there! i don't have a join statement to make user_id not just the id tho.

Looking good, was the added js code added strictly for the connection to the db? thanks!


Not able to use "Mandatory" flags

I'm using the GOG version of Fallout 4, pre-Next-Gen version, so I do not have the Creation Kit installed.  I am getting these errors:
Error: Unknown flag 'Mandatory'!
Fatal Error: No user flags have been defined.

Is there a way to setup Caprica where it can use these kinds of flags?  Please keep in mind that I am new to scripting for Fallout 4 and FO4SE.
EDIT: I've looked, and it seems that there are other files besides the main executable, but Caprica.exe is all there is in Caprica.v<IP_ADDRESS>z.  This should be fixed.

I've looked, and it seems that there are other files besides the main executable, but Caprica.exe is all there is in Caprica.v<IP_ADDRESS>z.  This should be fixed.

Where is the flags file for this program?  The code seems to indicate a list somewhere, but I don't see it, and it doesn't seem to be within the application itself, based on the error I received above.

The flags file is included as part of the creation kit, so you'll need to install that somewhere first, or else grab the flags file for fallout from one of the earlier releases of Caprica. The flags file is game-specific, but does not change between versions of the game or versions of Caprica.

I did find the flag file, but Caprica seems to have a problem with something called "TestKevinActivationScript.psc", which does seem to be a core script:
Unable to find script name in 'C:\Program Files (x86)\GOG Galaxy\Games\Fallout 4 GOTY\Data\Scripts\Source\Base\TestKevinActivationScript.psc'
I get this regardless of the script I try to compile, and I've checked the flags file, and I've checked my caprica command:
caprica.exe --game fallout4 --flags "C:\Program Files (x86)\GOG Galaxy\Games\Fallout 4 GOTY\Data\Scripts\Source\Base\Institute_Papyrus_Flags.flg" --import "C:\Program Files (x86)\GOG Galaxy\Games\Fallout 4 GOTY\Data\Scripts\Source\Base" --output "C:\Program Files (x86)\GOG Galaxy\Games\Fallout 4 GOTY\Data\Scripts" "C:\Program Files (x86)\GOG Galaxy\Games\Fallout 4 GOTY\Data\Scripts\Source\User\**<filename>**"

As a quick and dirty workaround, rename Parent to parent in ObjectReference.psc

As a quick and dirty workaround, rename Parent to parent in ObjectReference.psc. It is an issue that caprica sees it as a identifier

The problem seems to be that "struct ConnectPoint" has an item called "string parent".  From what I understand, Caprica has a long list of issues with FO4SE.  Is there a complete list on how to make them compatible?  I've been working a while on finding a simple way to work on Fallout 4 scripting, and so far, that seems more and more infeasible.


Specify declared API reasons for iOS

Description
Apple requires developers to add a xprivacy manifest (also known as declared API reasons).
This package is listed in https://developer.apple.com/support/third-party-SDK-requirements/
See https://developer.apple.com/news/?id=z6fu1dcu for the announcement
Related Flutter issue and PR: https://github.com/flutter/flutter/issues/131494 and https://github.com/flutter/engine/pull/48951
What you'd like to happen:
Add the xprivacy manifest

Duplicate of https://github.com/pichillilorenzo/flutter_inappwebview/issues/1909

Thanks for pointing this out


Error compiling program with Visual Studio Code

I have a problem when I´m compiling the project with some changes that I made.
The debbuger error is:
{
"resource": "/D:/Users/Juan Carlos/ha_client-master/lib/main.dart",
"owner": "dart",
"code": "uri_does_not_exist",
"severity": 8,
"message": "Target of URI doesn't exist: '.secrets.dart'.\nTry creating the file referenced by the URI, or Try using a URI for a file that does exist.",
"source": "dart",
"startLineNumber": 35,
"startColumn": 8,
"endLineNumber": 35,
"endColumn": 23,
"tags": []
}
Someone can help me because I do not find the file .secrets.dart in the project.
Thanks for all

Sorry, but this is not the issue in the app itself. I've answered you in commit comments.


[catch2] windows build of catch2 should be using static build

Catch2 recently enabled being built as a dynamic library, but it does not provide export macros. (And likely never fully will)
On Linux this is fine-ish due to symbols being visible by default, and variables being merged across dynamic libraries. On Windows this is an issue, because CMake's option for exporting all symbols on Windows cannot handle variables. Variables still need to be dllimported, and if they aren't, linking Catch2 does not work the way it should.
Combined with the default Windows triplet using dynamic linking for everything, this is kind of a big issue for people using Catch2 v3 through vcpkg.

@horenmar Thanks for posting this issue and pointing out the issue.
Apparently you made a change to the symbol export of dynamic libraries on widnows, both my local cmake and MSVC projects can use catch2 normally.

https://github.com/catchorg/Catch2/commit/5a1ef7e4a6caf3d5f696eb82302e3d87ff5c2303
I would like to ask do you mean to make catch2 use static build by default on windows to avoid the problem you raised?

The issue manifests when linking:
cmake_minimum_required(VERSION 3.19)

project(link-test LANGUAGES CXX)

find_package(Catch2 REQUIRED CONFIG)
add_executable(tests tests.cpp)
target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)

#include <catch2/catch_test_macros.hpp>

TEST_CASE("foo", "[bar]") {
	Catch::StringMaker<double>::precision = 2;
	REQUIRE(1.0 != 2.0);
}

1>------ Build started: Project: tests, Configuration: Debug x64 ------
1>tests.cpp
1>tests.obj : error LNK2001: unresolved external symbol "public: static int Catch::StringMaker<double,void>::precision" (?precision@?$StringMaker@NX@Catch@@2HA)
1>C:\ubuntu\temp\msvc-sln\Debug\tests.exe : fatal error LNK1120: 1 unresolved externals
1>Done building project "tests.vcxproj" -- FAILED.


Fixed a typo.

Thanks :-)

My pleasure :)

On 14 May 2016, at 20:24, Christian Alfoni<EMAIL_ADDRESS>wrote:
Thanks :-)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


fix(app, labware-library): add new NEST reservoir image

Overview
fix RAUT-619
We currently don't have an image associated with our new NEST 1 well reservoir 290ml. Here, I add the image file to relevant images folder within app and labware-library, and also to the corresponding labware images requirements within each.
Test Plan

Ensure reservoir image renders in the App and Labware Library

Changelog

added image files (.jpg) to App and Labware Library
added new labware locations to labware images

Review requests
General. This is a relatively simple PR, but it is my first contribution to this repo, so any feedback is appreciated.
Risk assessment
low

Thanks for the catch— I used the optimized image that attached above (~1.3MB) in the latest commit.

The target might be chore_release-7.0.0?

@ncdiehl11
I changed the base from edge to 7.0.0.
https://opentrons.atlassian.net/browse/RAUT-619?focusedCommentId=86024
Now you can merge.


Bundle open default gems

Fixes #4436
This PR allows the bundle open command to open up default gems

Don't accept this PR for the time being.
I posted this a bit prematurely, while bundle open rdoc works, other gems like json and rake are not behaving as expected 😢

I'm closing this, i can't see how i can get this to work in such a way that users would expect without being overly complex for little benefit


[MFA] no request made

Context
Trying to enable MFA functionality.
Steps to Reproduce

Go to /account view
Try and enable MFA
Click "Save"
Introduce your password

Current Result
No requests get made. MFA does not get enabled.

Expected result
MFA gets enabled.
Browser and version
Chromium Version 70.0.3538.77 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)
Additional info
If it is of any help, the feature was working in tag 4.23.0 https://github.com/CartoDB/cartodb/blob/master/NEWS.md#4230-2018-11-19
/cc @ivanmalagon @CartoDB/rt-managers

Hey @ivanmalagon, to finish an off-ticket conversation. We have talked about the onprem release, and we are OK to release without this fixed. So, no special hurry on this one. Let's tackle it when we can though, since we want to be ready to release MFA soon, but no hard deadline at this moment.