Problem with Typescript client when parameter name is an array

My API uses a path parameter named Where[position] which is working when I create the javascript client but when I create the Typescript client it attempts to make a public function with where[position]? : number as a variable. Jetbrains doesn't like this. Also, when this typescript is converted to javascript it comes out as
if (where === void 0) { where = [position] ?  : number; }
Is there something I'm missing? Is there a better way to have the Where clause an array of key=>value pairs without giving it an explicit array name?

I believe this should be opened on swagger-codegen.


fried contexts

Adding a context for fried accessing xenon1t and xenonnt data.  Since this is JupyterHub, it might be useful for demos.

Found another solution


Deleting cells should select the next cell

Fixes #429.

Does this handle deleting the last cell, in which case the previous cell should be selected? What about deleting the only cell?

Good point, more tests required!

We were testing the second condition already, and now the first.

Deleting the last cell should always trigger a new cell to be inserted. This constraint (that a notebook should always have at least 1 cell should probably be enforced at the model level so that other plugins that modify the model directly can't the model into a state that doesn't make sense.

I still don't think this index logic is correct. Consider the case where we have the following cells:
[0, 1, 2, 3]
Assume that cells 2 and 3 are selected and being deleted. In that case, the loop computes index as 3, from which length - 1 = 1 is subtracted. This results in an activeIndex of 2, which is out of range for the remaining cells of [0, 1].

@ellisonbg What you describe is the current behavior already: https://github.com/blink1073/jupyterlab/blob/f913c38325f9f1d07a3c3f81dda8894af558eb5a/src/notebook/notebook/actions.ts#L199

I'll look at this in the morning, I'm down a relativePath rabbit hole at the moment...

No rush.

I agree that deleting the only cell should trigger the model to add a new code cell.  Deleting the last cell in the "classic" notebook activates the previous cell.  @sccolbert, to address your point about the indexing, the activeCellIndex is already clamped to the bounds of available cells.

Updated.

+1, modulo adding a short comment explaining that clamping makes the 'delete last cell' case work.

Ready.  There was an interesting bug on Travis due to binding signals to the window object in the activity monitor tests, now fixed.

Great! :shipit:


test(gen_func): test if we can skip schema mapping

Looks like the response time almost didn't change!?

Yeah... idk. Taking another look at it


Antrea Agent memory optimization

Describe the bug

When running Antrea in a large scale cluster, we observe Antrea Agent always takes a high memory usage, and sometimes we may hit OOM issue occurred, which is not expected.
For example, we used to observe Agent memory comes to over 1GB in a 500 Node cluster, and most of the memory is taken by OpenFlow objects. Now we save the ofctrl.Flow in the cache directly, struct FlowMatch has defined all possible match condtions in an OpenFlow entry, and most of the fields may not be used in a real flow object, but they do take the memeory resource, which is a waste. We could think about optimizing the stored object to reduce this memory.
This may be a long term issue, and we could add other items after the memroy analysis.
To reduce Agent memroy, we should make these enhancements,

[ ] Save OpenFlow FlowMod message in the cache instead of ofctrl.Flow resources
[ ] Use FlowMod to generate Flow match string, instead of saving the string values in memory.

Versions:

Start from Antrea v1.11
Additional context

In my opinion this should be opened in open-vswicth part .
As openflow is managed by ovs and is a OVS feature.
I 500 Nodes you will have the VXLAN Tunnel Matrix that will overkill the flows.
I believe if you will test with 500nodes disable internode encapsulation vxlan .. however will need to have all the nodes in same subnet and underlay infrastructure will se the routed traffic and should not drop'it.

@intelroman thanks for your comment. I think the memory the issue talks about is the flow cache in antrea-agent itself. Currently antrea caches all flows in its memory for flow replay upon accidental OVS restart, and the data structure for the flow cache is not trivial, and even consumes more memory than the actual flows in OVS. The issue is to reduce that the memory size instead of the one in OVS, which we don't see big problem yet each in large scale cluster.
The tunnel matrix is probably acceptable with only hundreds of flows on each Node. The challenge is more from the flows for Services and NetworkPolicies, which could result in thousands and even more flows on each Node in large scale.

#4495 is a part of this issue.

@wenyingd can this be closed?

Close it after confirmed with wenying.


Simplify formatLine method

Description
See also #1267, the new approach does not use new RegExp() and looks
simpler to my eye. Please review.
Releated issues or pull requests
Fixes #1267
Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe)
[ ] I am unsure (we'll look into it together)

Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

Checklist

[x] I understand and agree that the changes in this PR will be licensed under the BSD 2-Clause License
[x] I have followed the guidelines for contributing
[x] The proposed change fits to the content of the code of conduct
[x] I have added or updated tests and documentation, and the test suite passes (run npm test locally)
[ ] I'm lost; why do I have to check so many boxes? Please help!

The regular expression itself could be made static and the method as well, but this is a bit out of scope of the issue, I guess.

Thanks for the review,


Automate YouTube Download

Pull Request Template
Name of your Project :
Automate YouTube Video Download
Brief Summary:
Python automation code snippet that downloads YouTube video without any Premium subscription. Just the video link and the path where the video has to be saved should be specified.
Issue no. : #64
Self Check:

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My code is in proper folder with proper syntax (E.g. Password_generator)
[x] I have clean code and Documentation(README.md, requirements.txt) and my code is well linted with flake8.

NOTE: If issue was not assigned to you it'll become invalid.

@AniruddhaM1396 can you describe this script in a  README.md


changes for cnsa k8s node publish

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Community Operator listing
[ ] Other (please describe):

What is the current behavior?

Node publish fails with CNSA deployment on vanilla k8's

What is the new behavior?

Node publish will succeed with CNSA deployment on vanilla k8's

How risky is this change?

[x] Small, isolated change
[ ] Medium, requires regression testing
[ ] Large, requires functional and regression testing

@deeghuge I tested the cm values with the condition added. How to test this on CNSA with k8's? Do you have any setup?


LGTM.com will be shut down in December 2022

LGTM is approaching End of Life.  New commits will no longer be analyzed by the end of Nov 2022.
CodeQL should be enabled to replace LGTM.

Please note this supports JS/TS but not Kotlin (but does support Java so I think it can see lib issues). We should make sure & filter out changes to the .kt code if it's not scannable.

There may be Kotlin public beta scan functionality available.

Created PR https://github.com/CDCgov/prime-reportstream/pull/6781 to resolve this issue


Nix Flake Support

I had to fix minor things for running on MacOS on my side (still not committed), but now I am stuck here:
➜ nix shell
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
warning: ignoring the client-specified setting 'trusted-substituters', because it is a restricted setting and you are not a trusted user
error: builder for '/nix/store/ldgil0yqxxww6cca9r5l5dn1nbvr07kg-jet1090-0.2.5.drv' failed with exit code 101;
       last 25 log lines:
       >  --> crates/rs1090/src/lib.rs:3:10
       >   |
       > 3 | #![doc = include_str!("../readme.md")]
       >   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   |
       >   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
       >
       > error: couldn't read `crates/rs1090/src/data/../../data/airports.json`: No such file or directory (os error 2)
       >   --> crates/rs1090/src/data/airports.rs:29:29
       >    |
       > 29 | const AIRPORTS_JSON: &str = include_str!("../../data/airports.json");
       >    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >    |
       >    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
       >
       > error: couldn't read `crates/rs1090/src/data/../../data/patterns.json`: No such file or directory (os error 2)
       >   --> crates/rs1090/src/data/patterns.rs:29:29
       >    |
       > 29 | const PATTERNS_JSON: &str = include_str!("../../data/patterns.json");
       >    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >    |
       >    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
       >
       > error: could not compile `rs1090` (lib) due to 3 previous errors
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run 'nix log /nix/store/ldgil0yqxxww6cca9r5l5dn1nbvr07kg-jet1090-0.2.5.drv'.
[1]    71359 exit 1     nix shell

Maybe it would be nice to also add a GitHub action to confirm things work:
https://github.com/marketplace/actions/install-nix

Yeah, that will be great. And even better if we can have multi-arch binary build with Github CI, my earlier plan. I'm on that.
I'm sure, but is it even possible to create static build? @xoolive

Yes the builds are made on each release, check the release page. But it would be nice to have the flake version working too.


qview-nightly: Add arm64 support

I'm not really sure why this manifest wasn't being updated by actions properly, as running checkver.ps1 had 0 issues.

[x] I have read the Contributing Guide.

I'm not really sure why this manifest wasn't being updated by actions properly, as running checkver.ps1 had 0 issues.

Looks like it completes with Powershell 7.x but fails with 5.x (although Excavator action uses windows-latest (Windows 2022) runner image which should use 7.x as well):

qview-nightly: couldn't match '\A(\d+) (?\d{4}(?:-\d{2}){2}) (?\d+)\Z' in the output of script

Guess it could happen because of using ToString(...) to format extracted updated_at field value which may also be a String.
Using Get-Date should fix this and works for both the versions:
Get-Date $api.updated_at -Format 'yyyy-MM-dd'
or
(Get-Date $api.updated_at).ToString('yyyy-MM-dd')

/verify


Is it possible to know what command line parameters -c/-u I should use depending on the bitcoin address?

I see people use -c in the command line in most examples. But also -the u key exists for uncompressed keys.
I am trying to find information Is it possible to know what type of command line -c or -u or -c -u should use depending on the Bitcoin address?
Because using -c -u simultaneity downgrades the hash rate.
Also If i understand correctly:
-c, --compressed        Use compressed points
-u, --uncompressed      Use Uncompressed points
and
--compression  MODE     Specify compression where MODE is
COMPRESSED or UNCOMPRESSED or BOTH
it's the same?

it is mostly used for the ~1000 btc puzzle, all the address shown in the puzzle are compressed

Salaam alaikum to everyone!
Hello everyone!
Bitcoin is a scam!
On March 19, 2024, 865 bitcoins were sold on the exchange at a price of $8,000!
On other exchanges the price was $70,000!
Let's create a community and sequentially select the private key of the largest bts address!
And when we find it, Bitcoin will collapse!
Thanks in advance everyone!

в основном он используется для головоломки ~ 1000 btc, все адреса, указанные в головоломке, сжаты

No, not all …

Hi!
When will you find the private key?
How to withdraw?
Through what program?

Привет!
Когда вы найдете закрытый ключ?
Как вывести средства?
Через какую программу?

As an option: exodus .there is a mobile version.
You import the key there, and a transfer transaction is automatically initiated from the imported key to the current exodus address.
Blockchain.com It can also import keys, but not an option. KYC is present there. Unnecessary problems.
The rest I don't know.
If the amount is large, then you probably know that you need to "launder" the funds. On the same exodus, exchange it for other tokens.
There are anonymous networks without transaction tracking, such as ZCash.
Throw it out there, from there to the metamask, for example.from him somewhere else. In general, make a mixer. Those that are online : privacy is not guaranteed. You know that. Everything that is private is passed by.
How are you doing with the search? If anything, write<EMAIL_ADDRESS>

Thanks
пт, 24 мая 2024 г., 03:16 vovan770124 @.***>:

Привет!
Когда вы найдете закрытый ключ?
Как вывести средства?
Через какую программу?
As an option: exodus .there is a mobile version.
You import the key there, and a transfer transaction is automatically
initiated from the imported key to the current exodus address.
Blockchain.com It can also import keys, but not an option. KYC is present
there. Unnecessary problems.
The rest I don't know.
If the amount is large, then you probably know that you need to "launder"
the funds. On the same exodus, exchange it for other tokens.
There are anonymous networks without transaction tracking, such as ZCash.
Throw it out there, from there to the metamask, for example.from him
somewhere else. In general, make a mixer. Those that are online : privacy
is not guaranteed. You know that. Everything that is private is passed by.
How are you doing with the search? If anything, write @.***
—
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/386#issuecomment-2128125918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHHVGXUP2UPJB4JXJ43E3GLZDZTEJAVCNFSM6AAAAAA4SMBXX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYGEZDKOJRHA
.
You are receiving this because you commented.Message ID:
@.***>

That's bulls.it, if you withdraw not through Slipstream mara, your transaction would be stolen. search on bitcointalks forum


Error when running HelloWorld

When running the hello world I get the following:
WARNING: Download from https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: Repository local_execution_config_python instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule local_python_configure defined at:
  /home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/py/python_configure.bzl:275:41: in <toplevel>
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
   Traceback (most recent call last):
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/py/python_configure.bzl", line 208
		get_python_bin(repository_ctx)
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/remote_config/common.bzl", line 44, in get_python_bin
		which(repository_ctx, "python")
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/remote_config/common.bzl", line 29, in which
		execute(repository_ctx, <1 more arguments>)
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/remote_config/common.bzl", line 208, in execute
		fail(<1 more arguments>)
Repository command failed

INFO: Repository rules_java instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: Analysis of target '//mediapipe/examples/desktop/hello_world:hello_world' failed; build aborted: Traceback (most recent call last):
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/py/python_configure.bzl", line 208
		get_python_bin(repository_ctx)
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/remote_config/common.bzl", line 44, in get_python_bin
		which(repository_ctx, "python")
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/remote_config/common.bzl", line 29, in which
		execute(repository_ctx, <1 more arguments>)
	File "/home/amsha/.cache/bazel/_bazel_amsha/955e294a1e8fb046811a0f2f766e6662/external/org_tensorflow/third_party/remote_config/common.bzl", line 208, in execute
		fail(<1 more arguments>)
Repository command failed

INFO: Elapsed time: 0.281s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
    currently loading: @bazel_tools//tools/jdk

os: ubuntu 20.04
python: 3.8
bazel: 3.2

The actual error is com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found. Can you verify your network setting? You probably can find some useful solutions at https://github.com/google/mediapipe/issues/, https://github.com/google/mediapipe/issues/581, and https://github.com/google/mediapipe/issues/601.


Fixed unit_of_measurement functionality for knx sensor

Description:
Moved unit_of_measurement property to make it functional again
Related issue (if applicable): fixes  #4567
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Thanks


buildFHSEnv: restrict pkgsi686Linux to x86_64-linux

Description of changes
Required for nextflow to build and run on aarch64-linux.
Perhaps also #227462?
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg build nextflow nextflow.passthru.tests

Self-merging without peer review, sadly.


fix zlib dependency (current one fails with 403 on ./configure)

Looks like 1.2.8 got deleted, ./configure fails with
ERROR: /local_home/yaroslav/tensorflow_dbg.git/tensorflow/tensorflow/core/BUILD:970:1: no such package '@zlib_archive//': Error downloading [http://zlib.net/zlib-1.2.8.tar.gz] to /local_home/yaroslav/.cache/bazel/_bazel_yaroslav/687fadd894268346c74cc86e6f287d8c/external/zlib_archive/zlib-1.2.8.tar.gz: GET returned 404 Not Found and referenced by '//tensorflow/core:lib_internal'.

Can one of the admins verify this patch?


App crashes on over balance amount send

Current behavior
When a user attempts to send an amount greater than their balance minus the transaction fee, the app crashes.
Expected behavior
The app should prevent the user from sending an amount greater than their balance minus the transaction fee and display an warning message instead of crashing.

It doesnt crash anymore, it wont let you broadcast it. So closing.


Add link to code of conduct to team join message

As a new user, When I am greeted by the bot, It should show a link to the code of conduct
https://github.com/OperationCode/mentorship/blob/master/CODE-OF-CONDUCT.md

This is an edit to https://github.com/OperationCode/operationcode_bot/blob/master/views/event/team_join/welcome_message.txt.erb - adding a bit to the text there.

Intent here is to ensure all of our members know the standard mode of behavior expected from them on Slack.

Fixed in #62


Use same image target for presubmit and postsubmit

Most often the only thing that differs between presubmits and postsubmits is the former creates a local OCI tar of the image, while the latter pushes the image. So we could use the same image target and pass appropriate args for buildctl output type and destination.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna
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 [abhay-krishna]

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

/hold

I am going to do this in #570 instead


Add spring-cloud-schema-registry-client support

Hi, I have this project that uses spring-native and spring-cloud dependencies.
I know that spring-cloud is not yet fully supported but, maybe this issue can be analysed in future developments.
The problem is, when I use spring-native and spring-cloud-schema-registry-client, the response of REST endpoints are all in XML format instead of JSON.
For now, I am setting the MediaType JSON directly in the @RequestMapping
@RequestMapping(path = "/api/users", produces = MediaType.APPLICATION_JSON_VALUE)

However, for instance, if I get HttpStatus.BAD_REQUEST, I get the response in XML
<?xml version="1.0" encoding="UTF-8"?>
<Map>
   <timestamp>2021-05-01T10:12:17.325+00:00</timestamp>
   <status>400</status>
   <error>Bad Request</error>
   <exception>org.springframework.web.bind.MethodArgumentNotValidException</exception>
   ...
</Map>

Thanks!
How to reproduce

git clone https://github.com/ivangfr/spring-cloud-stream-event-sourcing-testcontainers.git
cd spring-cloud-stream-event-sourcing-testcontainers
git checkout xml-response-issue
docker-compose up -d zookeeper kafka mysql schema-registry zipkin
./mvnw clean package spring-boot:run --projects user-service -DskipTests
Valid callcurl -i -X POST localhost:9080/api/users -H  "Content-Type: application/json" -d '{"email":"user@test.com","fullName":"User Test","active":true}'

Invalid call (without email field that is required)curl -i -X POST localhost:9080/api/users -H  "Content-Type: application/json" -d '{"fullName":"User Test","active":true}'

spring-cloud-schema-registry-client hints are probably required indeed.

Hi @sdeleuze . I've updated the project to spring-boot 2.5.1 and spring-native 0.10.0, and the problem is fixed, at least, I am getting (by default) responses with JSON format. We can close the issue if you want. Thanks!

@ivangfr Thanks for your feedback.


Having ninja package installed breaks the build

If the ninja package is installed in addition to ninja-build, the compile statement errors out:
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
WARNING: Gettext not found, all translation targets will be ignored.
Adding test "Test DxSpot and DxSpotBuilder"
Adding test "Test RadioBand"
Adding test "Test BandFilter"
Adding test "Test Share Action"
Adding test "Test RadioFrequency"
Adding test "Test DXClusterList async"
Program meson-post-install.py found: YES (/usr/bin/python3 /home/pi/gdx/meson-post-install.py)
Build targets in project: 9

**ERROR: Could not detect Ninja v1.7 or newer**

After removing the incorrect ninja package, I had to specify the path to ninja and then it worked.
meson build && cd build && /usr/bin/ninja

Hi @AndreRobitaille
Thank you for the feedback. Not sure which distribution you are using but the compilation process may vary.  Eventually you had two competing ninja packages. I use Fedora and searching for ninja packages, only these appear:
============================================================================================================ Name Matched: ninja =============================================================================================================
backupninja.noarch : Lightweight, extensible backup system
ninja-build.x86_64 : Small build system with a focus on speed
sqlninja.noarch : A tool for SQL server injection and takeover
=========================================================================================================== Summary Matched: ninja ===========================================================================================================
gn.x86_64 : Meta-build system that generates build files for Ninja
lugaru.x86_64 : Ninja rabbit fighting game
samurai.x86_64 : ninja-compatible build tool written in C

The meson build output:
The Meson build system
Version: 0.62.2
Source dir: /home/miguel/Dropbox/Work/Programming/gdx
Build dir: /home/miguel/Dropbox/Work/Programming/gdx/build
Build type: native build
Project name: gdx
Project version: 0.1.1
C compiler for the host machine: cc (gcc 12.2.1 "cc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
C linker for the host machine: cc ld.bfd 2.37-36
Vala compiler for the host machine: valac (valac 0.56.2)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gio-2.0 found: YES 2.72.3
Run-time dependency gtk+-3.0 found: YES 3.24.34
Run-time dependency gee-0.8 found: YES 0.20.5
Run-time dependency glib-2.0 found: YES 2.72.3
Run-time dependency gobject-2.0 found: YES 2.72.3
Run-time dependency sqlite3 found: YES 3.36.0
Library posix found: YES
Configuring config.h using configuration
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Build targets in project: 15

Found ninja-1.10.2 at /usr/bin/ninja

Hope you like the application and I've added small features, namely a spot band filter but not yet merged with main branch.
Thank you,
73

If the ninja package is installed in addition to ninja-build, the compile statement errors out:

What ninja package is this? What is its upstream URL?
What program does it install on $PATH?

Hi guys, as no more details came thru, I'll close this issue. @eli-schwartz thanks for the proactive engagement to this issue.
Thanks.


Output truncated

how someone solve the problem of output truncated following the finetune of mistral?

Hi @Zrufy - can you provide some more insight into this? Potentially a code snippet? Have you set a low max_tokens generated in your inference code?


Add Devonte-Cunningham to Contributors list

Added my name to the list, thank you for the beginner tutorial!

@DevonteDC, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


download-binaries.sh defaults to download from a private bucket

integration/scripts/download-binaries.sh defaults to retrieve binaries from gs://k8s-c10s-test-binaries, however this bucket is not publicly accessible.
Is this intentional/can this bucket be opened up?

I added the Storage Object Viewer role to allUsers. Now you should be able to browse to https://storage.googleapis.com/k8s-c10s-test-binaries/ to see which binaries we have prepared.
Also, you ca override the URL the script downloads the binaries with BASE_URL='https://something.tld/something/' ./scripts/download-binaries.sh -- but I guess you found that already.
To make this less painful when integrating that framework into k/k we have already some ideas for compiling the needed binaries and find them on the fly. However, that won't help you when you use that framework outside of k/k. So if you can give us more details on your use-case / usage of the framework or if you already have ideas, please let us know!
(I'll close the issue for now as the bucket should be readable now. Feel free to reopen if you want to change some behaviour around artefacts / downloading / ...)


Referencing properties in external Schemas doesnt work

So my Schemas are:
Schema 1:
{
"id": "https://some-site.cc/schema-1",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
	"prop1": {
		"type": "object",
		"$ref": "https://some-site.cc/schema-3#/stringProperty"
	}
}

}
Schema 2:
{
"id": "https://some-site.cc/schema-3",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
	"stringProperty": {
		"type": "string",
	}
}

}
The console of the Browser always returns that CORSS wont allow external referencing to another Schema, but both are loaded into the refs of the JSON Editor.
According to the JSONSchema draft it should work just like that, if I didnt miss anything.

I have come across the same issue.  My schema is referencing another-schema.json#/something, and I populate my refs object with the key another-schema.json and the value containing the schema.  But the code seems to look for the full path another-schema.json#/something as a key in refs, fails to find it, so attempts to load via ajax which also fails.  I can work around it by resolving all the refs on the server and returning the full schemas, but that isn't as bandwidth efficient so having support for this scenario would be great.

I'm also running into this problem. The editor always uses the root of the external schema instead of the referenced definition in it.
Click here to reproduce
The editor should display a property named test with the one-and-only enum value Yes, it works correctly but instead it displays the root properties of the external schema (Which is wrong).
The schema in this reproduction demo looks like this:
{
  "type": "object",
  "properties": {
    "test": {
      "$ref": "http://www.ailis.de/~k/permdata/20160311/json-schema/test.json#/definitions/right"
    }
  },
  "additionalProperties": false
}

So it provides a property test which is defined in the external schema at /definitions/right. The external schema looks like this:
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "External Schema Test",
    "type": "object",
    "properties": {
        "wrong": {
            "type": "string",
            "enum": [ "Your JSON editor is not resolving external sub definitions correctly!" ]
        }
    },
    "additionalProperties": false,
    "definitions": {
        "right": {
            "type": "string",
            "enum": [ "Yes, it works correctly" ]
        }
    }
}

So the editor should choose the right definition in it but instead it chooses the root properties.
The same test schemas are working correctly with the JSON Editor in Visual Studio Code and AJV.
When the two schemas are merged into one schema file so the right definition is referenced locally then the editor handles it correctly. So it looks like a bug in resolving the external definition.


CIT Type Enchantment

Need to implement

Need to find a working pack example and/or reverse engineer mcpatcher's implementation because the docs for this are shit

Try xali's enchanted books if you need an example pack, it's pretty comprehensive as I believe it covers every enchantment at every level.

Try xali's enchanted books if you need an example pack, it's pretty comprehensive as I believe it covers every enchantment at every level.

Yeah but that pack is not using type=enchantment, it's just replacing enchanted book visuals using type=item and I'm looking for packs that used to replace the glint.png texture.

what about
https://www.curseforge.com/minecraft/texture-packs/enchanted-tools
https://www.curseforge.com/minecraft/texture-packs/enchanted-weapons
https://www.curseforge.com/minecraft/texture-packs/enchanted-armors

what about
https://www.curseforge.com/minecraft/texture-packs/enchanted-tools
https://www.curseforge.com/minecraft/texture-packs/enchanted-weapons
https://www.curseforge.com/minecraft/texture-packs/enchanted-armors

That's not what SHsuperCM is looking for, it's a separate thing I guess. I don't know of any packs that replace the enchant glint.

Yep, it seems to me like there arent any packs for this because it's been a broken feature for so long in optifine..
Gonna need something like.. mcpatcher level of old texturepacks and just play with it in an old mc version.. that is, if I cant figure out how it was implemented back then from mcpatcher's code which is luckily available.

From the sounds of the MCPatcher docs, it disables the enchantment glint from vanilla, and instead overlays a new glint texture.
So if I use
type = enchantment
texture = optifine/glint/white_glint.png (path of texture)
speed = 100 (texture scroll speed) (optional)
rotation = 0 (angle of rotation) (optional)
layer = 1 (specify a layer for multiple glints at a time) (optional)
weight=6 (if two enchants use the same layer, weight is then taken to determine which to render) (optional)
(not sure how duration=<seconds> blend=<blend method> work)
it would overlay a new glint
This affect seems to be closely linked to anim.properties, hence why it says
The enchantment texture can be any resolution.  To animate an enchantment,
use the anim/*.properties method with

As for why MCPatcher used this format? Probably because anim itself was just a simple solution to the issue

@AlsoNiko please stop suggesting that. anim is not required for enchantment glints and it will not be added to CIT Resewn.
(removing in a few)

From the sounds of the MCPatcher docs, it disables the enchantment glint from vanilla, and instead overlays a new glint texture.

I get that but the part that is not documented well is the multiple layers that it allows(as well as support to layer on top of the vanilla glint

I'd suggest Misa's Realistic Texture Pack, I makes heavy use of MCPatcher/Optifine features and had custom enchantment glints in 1.7.
Link to the 1.7 version: https://www.mediafire.com/file/so06m43621fp23k/Misa%252B.zip/file

Documentation soon

method, fade and duration will all work in v0.9.0

Just noticed that MCPatcher handled it less like actual enchantment glints, more like an overlay. Maybe add an animation option or something similar.
MCPatcher:
https://user-images.githubusercontent.com/61115715/160247447-9ae5501b-4811-40b0-addd-0e84bfcc2779.gif
CITResewn:
https://user-images.githubusercontent.com/61115715/160247479-bd67fc35-ae34-48c8-b9c1-e8688e7d35e8.gif
(I hope I ported the pack correctly)

@Moyme

Just noticed that MCPatcher handled it less like actual enchantment glints, more like an overlay. Maybe add an animation option or something similar.
MCPatcher: https://user-images.githubusercontent.com/61115715/160247447-9ae5501b-4811-40b0-addd-0e84bfcc2779.gif
CITResewn: https://user-images.githubusercontent.com/61115715/160247479-bd67fc35-ae34-48c8-b9c1-e8688e7d35e8.gif
(I hope I ported the pack correctly)

I'm going to need the pack before and after your port to compare. A lot of mcpatcher's handling of this had to be written from scratch to work with modern mc so there's definitely some differences.

I reduced the properties files and changed enchantmentIDs to the new ones
Original (also mentioned above):
https://www.mediafire.com/file/so06m43621fp23k/Misa%252B.zip/file
My port:
Enchantment Tests.zip
I also just noticed it may have something to do with the blur option, I think in MCPatcher when it was false it also disabled the slow scrolling animation.

@Moyme

I reduced the properties files and changed the numerical enchantmentIDs to the new ones
Original (also mentioned above): https://www.mediafire.com/file/so06m43621fp23k/Misa%252B.zip/file
My port: Enchantment Tests.zip
I also just noticed it may have something to do with the blur option, I think MCPatcher also disables the slow scrolling animation when it is false.
Edit: I used Animatica for custom animated textures.

Ok so I got it working like in mcpatcher.. sorta....
First to stop the texture from scrolling, I noticed that the default scroll speed in CIT Resewn is 1.0 and apparently in mcpatcher the default was 0.0 so that needs fixing. You should probably set it manually with speed=0 as well to have it explicitly defined.
Then also it seems that mcpatcher offset the texture by half a Y unit so it matches with the item.

There isn't a way to do that with CITR yet so I tried just doing it in code quickly to check and it seems to work fine now.

I'll open an issue for those to get a permanent solution going and probably target v1.1.0.


ML_2_18_Implement_Random_Forest_without_using_any_standard_ML_library_like_scikit-learn_or_more_(D)

Description 📜
This issue will help readers in acquiring all the knowledge that one needs to know about implementing Random Forest without using any standard ML library like scikit-learn or more.
Fixes # 2943

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[x] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Approved PR 🎉

@abhisheks008 Sir Since I am willing to participate for HacktoberFest '21. If possible, please could you add label of hacktoberfest for the merged PR. Since this PR is getting detected under my hacktoberfest Profile. Thank you.


cboot recipe refactoring and fixes

Refactors the cboot recipe (for building from source) into per-SoC recipes for t18x and t19x
Add a patch for make 4.3 compatibility (for Ubuntu 20.10 and other distros that have updated to the new make)
Add PACKAGECONFIG mechanism to make it easier to disable some features where needed (particularly for t19x)
Add a patch to fix A/B support for kernel and device tree loading on SDcard-based Xaviers.
Fix up insertion of the version string during the build to make the version more identifiable at runtime
Other minor build cleanup
Switch to building cboot from sources by default

All platforms build
Verified the PACKAGECONFIG mechanism works
Validated that booting TX2 and Xavier platforms with various configurations of cboot works


Remove log messages

Remove log messages like this: [msg] trying to destroy container process done.
Only return an error if it can not remove the container and the application logs or takes some other action.

close because is duplicate https://github.com/gofn/gofn/issues/100


Fix unet loading issue

Changes:

Upload newest version of unet
changed options.package data in setup.cfg to include unet in distribution

ping @jni

Gah, still getting the error. For reference here's what I'm doing to test it:

build this package with python -m build .
install the built package (not in-place) with pip install dist/iterseg-0.0.10-py3-none-any.whl
launch napari with napari --plugin napari-ome-zarr path/to/platelets-image.zarr
launch iterseg / segment platelets
click run

Also .whl's are just zip files so after the build step you can just cd dist; unzip iterseg-0.0.10-py3-none-any.whl and see whether the unet is there...
Got a meeting now but will look again later... I don't know off the top of my head why it's still not getting packaged.

Ok this commit seems informative 🤣
https://github.com/jni/platelet-unet-watershed/commit/66aab7620d2e1646e3d4d33fe85c1691c63353cb
tldr make sure you have a MANIFEST.in file and include the data directory there.
You are probably wondering why you need to specify to include this thing in so many places, and you would be right to wonder that. 🤣 I have no earthly idea.

(And make sure you include the LICENSE file as well.)

btw this is reasonably urgent because the reviewers at some point will be testing the package and it should work! 😬

@AbigailMcGovern I don't want to merge this until the zarrs are gone. 😅
btw am I to understand that your unet is numbered YYDDMM? Because that is crazy 😂


Pub.dev documentation at_client_mobile, at_client

Pub.dev content and (source)s - CHECKLIST OF TO DO's BELOW
All the content shown on pub.dev and where it comes from.
Example: Shelf (will point to one of our own once completed)

Package name, version <pubspec.yaml>

Published date (generated)

Platform support (generated based on project structure)

Tabbed navigation

Readme (note: initial content comes from readme.md)
Changelog  example: firebase_auth
Example (github repo)
Installing (generated)
Versions (generated) <pubspec.yaml>
Scores (generated)
**Admin  (generated)
**Activity log (generated)

Right column

Scores  (generated)
Publisher  (generated)
Metadata  <pubspec.yaml description>
Homepage <pubspec.yaml>
Repository (generated)
View/report issues (generated)
Documentation (generated)

Documentation url <pubspec.yaml>
API reference

License (github repo)
Dependencies (generated)
More (generated)

All items to be completed:

[x] Package should be implemented with rSDK
[x] Include an example (sample) app based on at_app skeleton
[x] Add example.md to explain how to run the sample app
[x] Ensure the readme.md follows the best practice template (WIP)
[x] Make sure and add in terms that will help get this package to the top of the search results
[x] Update changelog.md with clear description of the update
[x] Bump the version as appropriate in pubspec.yaml for the package
[x] Bump the version as appropriate in pubspec.yaml for the example
[x] Check that the description is accurate in pubspec.yaml for the package
[x] As appropriate, add a documentation link to atsign.dev for the package

Change versions, and changelogs, bump version for example, and package, adding links of atsign docs will be handled at the end of everything. atsign docs will be added when they are done. Necessary/important functions/methods usages were given in the readme file. Need more info regarding what needs to be added and what is not in the readme.

Documentation done and deployed to pub.dev


Helium 2.alpha documentation

The API has changed greatly and it's not like the old one was particularly great. Write new docs.

Done


Memory overwriting other memory issue?

Reporting a bug

[x] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/main/CHANGE_LOG).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

Take this piece of code:
import numba

@numba.njit
def foo():
  lst1 = [[1,2,3,4,5], [6,7,8,9,10]]

  for i in range(300):
    lst2 = []
    lst2.append(1)

    del lst1[1]
    del lst1[0]

    lst1.append([1,2,3,4,5])
    lst1.append([6,7,8,9,10])

    if len(lst2) > 1:
      print("This should never print!")
      print("Length of lst2(should not ever be greater than 1): ", len(lst2))

for i in range(200):
  foo()

If you run this, you will get that sometimes the prints happen even though they shouldn't. 'lst2' should never have length more than 1 since it only gets appended to once and then reset in each iteration. It seems that appending to lst1 is somehow "interfering" with lst2. My suspicion is some kind of memory problem where 'lst1' appending is overwriting other memory? But I am not sure.. When I run this, the length of lst2 somehow ends up being 5 sometimes which is super weird.. Thank you for the help!

Thanks for the report and reproducer. For me this causes an error in malloc():
$ python repro.py
malloc(): unaligned tcache chunk detected
Aborted (core dumped)

with the following trace:
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139688940967744) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=139688940967744) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=139688940967744, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007f0bddb8e476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f0bddb747f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007f0bddbd56f6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f0bddd27b8c "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#6  0x00007f0bddbecd7c in malloc_printerr (str=str@entry=0x7f0bddd2ad40 "malloc(): unaligned tcache chunk detected") at ./malloc/malloc.c:5664
#7  0x00007f0bddbf145c in tcache_get (tc_idx=<optimised out>) at ./malloc/malloc.c:3195
#8  __GI___libc_malloc (bytes=48) at ./malloc/malloc.c:3313
#9  0x00007f0b9e517290 in NRT_MemInfo_new_varsize_dtor () from /home/gmarkall/numbadev/numba/numba/core/runtime/_nrt_python.cpython-310-x86_64-linux-gnu.so
#10 0x00007f0b9e490263 in __main__::foo[abi:v1][abi:c8tJTIcFHzwl2ILiXkcBV0KBSgP9CGZpAgA_3d] ()
#11 0x00007f0b9e490b2e in cpython::__main__::foo[abi:v1][abi:c8tJTIcFHzwl2ILiXkcBV0KBSgP9CGZpAgA_3d] ()
#12 0x00007f0b980f9248 in call_cfunc(Dispatcher*, _object*, _object*, _object*, _object*) () from /home/gmarkall/numbadev/numba/numba/_dispatcher.cpython-310-x86_64-linux-gnu.so
#13 0x00007f0b980f9fdd in Dispatcher_call(Dispatcher*, _object*, _object*) () from /home/gmarkall/numbadev/numba/numba/_dispatcher.cpython-310-x86_64-linux-gnu.so
...

I have not yet looked into this further but this kind of issue feels familiar - I think someone else may know more off the top of their head and I'll bring this up at the triage or dev meeting tomorrow.

Okay thank you!

From the triage meeting - the reflected list implementation is in use here. I will try with the Typed List API to see if a similar issue occurs.

MWR:
from numba import njit

@njit
def foo():
    lst1 = [[1,],]
    x = [10,]
    for i in range(300):
        # lst1.pop(0) also does the same, `__delitem__` is just a call to this.
        del lst1[0]
        lst1.append(x)

foo()

#8757 hopefully fixes this.


[release-24.11] eza: 0.20.7 -> 0.20.11

Backport of multiple minor eza updates.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I was too slow to merge :p

I was too slow to merge :p

Sorry!

heh, nw, love to see it!


Is it possible to find typealias metadata?

Hi
I'm trying to access typealiass and their associated annotations in a kapt processor, which seems near impossible.
I see the data is present in the @Metadata output by the compiler, so I wonder if it's possible to access this data using this library?
Any pointers greatly apprecaited.

Turns out, it is.
Here's what I've ended up with (within an annotation processor).
Feedback on the implmentation would be greatly appreciated, as I was kinda finding my way in the dark a bit.
data class ParsedAnnotation(
        val name: String,
        val args: Map<String, Any> = emptyMap()
)

data class TypeAlias(
        val packageName: String,
        val simpleName: String,
        val resolvedType: String,
        val annotations: Set<out ParsedAnnotation>
) {
    val qualifiedName = "$packageName.$simpleName"
}

@AutoService(Processor::class)
class TypeAliasEmitter : KotlinMetadataUtils, KotlinAbstractProcessor() {

    override fun process(annotations: Set<TypeElement>, roundEnvironment: RoundEnvironment): Boolean {
        val typeAliases = roundEnvironment.rootElements
                .filter { element -> element.kotlinMetadata != null }
                .flatMap { element ->
                    val meta = element.kotlinMetadata!!
                    val typeAliases = when (meta) {
                        is KotlinFileMetadata -> parseAliasesFromMeta(meta, element)
                        else -> emptyList()
                    }
                    typeAliases
                }

        println("Found the following typealias declarations: ")
        println(typeAliases.joinToString("\n"))
    }

    private fun parseAliasesFromMeta(meta: KotlinFileMetadata, element: Element): List<TypeAlias> {
        val aliases = meta.data.packageProto.typeAliasOrBuilderList.map { typeAliasMeta ->
            val nameResolver = meta.data.nameResolver

            val packageName = elementUtils.getPackageOf(element).toString()
            val typeAliasName = nameResolver.getName(typeAliasMeta.name).toString()
            val resolvedType = nameResolver.getQualifiedClassName(typeAliasMeta.expandedType.className).replace("/",".")

            val parsedAnnotations = typeAliasMeta.annotationList.map { annotation ->
                val annotationName = nameResolver.getName(annotation.id).asString().replace("/",".")
                val arguments = annotation.argumentOrBuilderList.map { argument ->
                    val argumentName = nameResolver.getString(argument.nameId)
                    val argumentValue = nameResolver.getString(argument.value.stringValue)
                    argumentName to argumentValue
                }.toMap()
                ParsedAnnotation(annotationName, arguments)
            }.toSet()
            TypeAlias(packageName, typeAliasName, resolvedType, parsedAnnotations)
        }
        return aliases
    }

Just had the same issue.
Unfortunately source-only annotations are not included in @Metadata 😢

I ended up working around this with a kapt annotation processor that
captures the alias data at compile time, and stores it on a repository
class.
It's what's used in Taxi to capture type alias metadata.
The annotation processor is open source here:
https://gitlab.com/taxi-lang/taxi-lang/tree/master/taxi-annotation-processor
It's not general purpose (i.e., it's specific to my needs for Taxi), but
would serve as a good starting point for your own .
HTH
Marty
On Sun, 3 Feb 2019, 11:20 Marc Knaup<EMAIL_ADDRESS>wrote:

Just had the same issue.
Unfortunately source-only annotations are not included in @Metadata 😢
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Takhion/kotlin-metadata/issues/11#issuecomment-460043112,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVStG49LKKpIFbByR0aKALWf3ueIBIjks5vJsYDgaJpZM4VXxsb
.


[Issue] Community Team Feedback - winget installer, need linux apt and homebrew

"scary to copy paste" - powershell -c "Set-ExecutionPolicy Bypass Process -Force; irm '[https://aka.ms/install-azd.ps1'](https://aka.ms/install-azd.ps1%27) | iex"
Why don't we have winget install azd ?
"We need linux, homebrew, apt...these are most important"

Also homebrew/linuxbrew for Mac and WSL

Closing this in favor of https://github.com/Azure/azure-dev-pr/issues/1322

wrong link @rajeshkamal5050 ?


aarch64 guest VM using 100% M1-Max CPU on all virtualized cores when idle

Describe the issue
When running FreeBSD 13.1 aarch64 version, the macOS Activity monitor shows 100% CPU usage for the two virtualized cores. If this is truly a virtualized machine, why are the two CPUs running full out even when the system is idle. As soon as I shut down the 2-core virtual machine, the Apple Activity Monitor shows normal CPU usage again.
This is troubling. Has this been fixed in the Beta releases?
Configuration

UTM Version: 3.2.4 (58)
macOS Version: macOS Monterey 12.6 (21G115)
Mac Chip (Intel, M1, ...): M1 Max

Crash log
N/A
Debug log
N/A
Upload VM
config.plist.zip

This was a temporary issue. After a few minutes, the CPU on the 2 cores returned to something more reasonable. The guest OS was reporting idle during host high CPU usage, so I have to assume this was something going on in UTM. However, after logging in on the console, the CPU on both cores spiked again to 100%, even while top reported 99.9% idle. Again, after a minute or so of 100% CPU on both cores, the CPU usage dropped to idle, even with top still running. Things have been normal since.
Hopefully, someone can provide an explanation for this strange behavior.

When I disable sound, the host (10-cores) CPU usage of QEMULauncer process drops from 198% to a little over 100% after a minute or so. When sound is enabled the CPU always remains around 198% even when the guest is idle. On a 10-core system 100% (or even 198%) CPU is not subjectively noticeable, but this is still problematic.
audio enabled:

audio disabled

Windows 11 ARM and Rocky Linux 9 aarch64 are well behaved on UTM when idle. CPU is well below 10%. So I guess this has something to do with FreeBSD aarch64 running under UTM, even when the guest reports it is idle. Maybe there's a QEMU setting that can fix this?

Oddly, after some period of time, I will see the CPU drop momentarily down to a reasonable 5% but then after logging into the console I see the CPU shoot back up to > 198% on a two-CPU VM, > 298% on a three-CPU VM, etc. where it continues to linger, all while top shows the OS is idle, and regardless of whether sound is enabled or not. This looks suspiciously like emulation, rather than virtualization. Again, are there any QEMU settings that can fix this?

Today I noticed a UTM update available from the App Store. But after installing UTM Version 4.0.9 (68), the high CPU usage while the FreeBSD guest is idle was unchanged.

When hypervisor is deselected then the host QEMULauncher CPU drops to around 15% when the FreeBSD guest is idle. When hypervisor is selected the host QEMULauncher CPU hold steady at 198%. This seems counterintuitive. But without the hypervisor, idle performance is reasonable.
Could there be some kind of failure / recovery going on when the hypervisor is active? I have no clue how to debug this.

I upgraded to UTM Version 10.14 (1107) and the problems have disappeared. There is still more CPU usage when idle than I would expect, but things are much more reasonable. QEMULauncher now averages about 17% CPU and UTM about 5% CPU when idle. On my 10 core system Mac Studio this is an acceptable overhead. I'm going to close this issue.


Change semantics of Zipline.close()

Right now it’s pretty harsh – any in-flight calls will crash with an IllegalStateException.
Lets instead make close defer actually closing until all services are closed. That way we call close() immediately after the last take() or bind() call and it’ll clean up after itself.

API sketch:
/**
 * Closes this instance when all its services are closed. It is an error to call
 * [bind] or [take] after calling close, but bound services may continue to be
 * used.
 */
fun close()

/**
 * Closes this instance immediately. It is an error to use [bind], [take], or
 * any bound services after calling this function.
 */
fun closeImmediately()

@JakeWharton do you like close/closeImmediately or would you prefer say, closeLater/close ? In particular I’m trying to decide whether close() should be the one that takes effect immediately or not.

On the Zipline? I think close closes, and something else probably returns a Deferred such that you can call withTimeout on await and then forcibly close. Maybe it's called shutdown?

Lets do this:

close() - immediate
shutdown() - deferred close

I think most of this is straightforward.
https://github.com/cashapp/zipline/pull/711
But there’s still hard problems, like what to do about CoroutineEventLoop. Should having outstanding jobs prevent shutdown? Or should those be canceled?
We could do EventListener hooks and let the application layer call close() when the only non-closed services are for scheduled jobs?
class EventListener {
  fun servicesAllClosed(scheduledJobsCount: Int)
}


Install Move (github app)

Pull Request Test Coverage Report for Build 586

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.363%

Totals

Change from base Build 582:
0.0%

Covered Lines:
854

Relevant Lines:
2844

💛  - Coveralls


Add a method to test if a collection has an element.

The objective of this PR is to allow a developer to quickly determine if a given collection which s/he is using contains a particular element by adding a method will tell you if your collection contains the given value. Please note that this method encapsulates the php in_array() method and as such can produce unexpected results when using loose checking.

Integrated into https://github.com/kununu/collections/pull/34


Enables tracing of zipkin-web and zipkin-query

cc @kristofa

the spans appear to be in the wrong order - why would getServiceNames be the last?
Cool thing though, zipkin tracing itself :+1:

We still need to trace the calls to Cassandra!

I am assuming you're still talking about client-side tracing in query service. Would be even more interesting to trace sr/ss on Cassandra, it seems to support it by including trace info in the results: http://docs.datastax.com/en/developer/java-driver/2.0/java-driver/tracing_t.html

@yurishkuro wanna give it a try? Now that tracing works, shouldn't be too hard to test.

unfortunately, we don't yet have a Java client to our tracing collectors. It should be available in a couple of weeks, then we can try plugging it in.

Wow, that would be sweet to trace!

So I had experimented with Cassandra tracing. The list of "events" Cassandra's QueryTrace returns does not quite map to the concept of spans, they are more like random sequential points on a single span. Plus, they are already stored in system_traces key space. So I decided not to write all the code to map those events into Annotations. Instead, I just attached the C* trace id as a binary annotation to the span, this way it can be used to retrieve the events from Cassandra. One enhancement we might put in is a notion of custom "handlers" for certain binary annotations in the UI, so that the trace id would be clickable in the span popup, and would load events from C*.


make_data failed

I followed the instruction of curatedMetagenomicData pipelin link, but failed with a warning related to full_join.
From this line link, the variable combined_metadata is a DataFrame and it cannot be parsed to full_join.  Is it a bug? I am attempting to replace it with combined_metadata <- full_join(as.data.frame(combined_metadata), metadata).

make_data("MyData.tar.gz")
Parsed with column specification:
cols(
col.name = col_character(),
var.class = col_character(),
uniqueness = col_character(),
requiredness = col_character(),
multiplevalues = col_logical(),
allowedvalues = col_character(),
description = col_character()
)
|=================================================================| 100%   22 MB
|=================================================================| 100%   25 MB
|=================================================================| 100%   25 MB
|=================================================================| 100%   17 MB
|=================================================================| 100%   20 MB
|=================================================================| 100%   20 MB
|=================================================================| 100%   28 MB
|=================================================================| 100%   23 MB
|=================================================================| 100%   20 MB
|=================================================================| 100%   26 MB
|=================================================================| 100%   21 MB
|=================================================================| 100%   19 MB
Error in UseMethod("full_join") :
no applicable method for 'full_join' applied to an object of class "c('DataFrame', 'DataTable', 'SimpleList', 'DataTableORNULL', 'List', 'Vector', 'Annotated')"
In addition: Warning messages:
1: In function_list[i] : NAs introduced by coercion
2: In pubmed_check(.) :
No pubmedids were found and ExperimentData will reflect this

Hi @zhanxw, this error occurred because of the transition I made from data.frame objects to DataFrame objects in the last release. I will get the issue fixed next week and let you know as soon as I have a patch ready.

@zhanxw I'm sorry I neglected to update this issue in a timely manner, but I did fix this back on July 5 with commit 2aa0218cd78af2397e3d95683b6f67ecc5d22ffc. I hope it didn't hold you up.


Only let Travis build on the master and develop branch

If you're making a PR from a branch on the same repo (only possible if you're a collaborator / admin), Travis CI does a build twice. This can take a looong time. This PR fixes that.

let's try it


docker build error: Cannot find module 'semver'

When attempting to build with the latest hospitalrun-frontend from github, I encounter the following error.
(Docker version 17.03.1-ce, build c6d412e on Ubuntu 14.04)
$ docker build -t hospitalrun-frontend .

...
module.js:471
    throw err;
    ^

Error: Cannot find module 'semver'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/unsupported.js:2:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

Looks like it may be related to the following npm issue: https://github.com/npm/npm/issues/15611

Still trying to get this working, so far the following haven't worked:

deleted all docker containers and started fresh
tried node 7.x

RUN curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

tried the following modified command:

RUN curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

# added
RUN apt-get update && apt-get install -y nodejs
RUN npm install npm@latest -g

tried a separate semver command

RUN npm install -g semver

the error remains the same as in the previous comment.
Also noticed this similar bug report: https://github.com/npm/npm/issues/15558
Is anyone else having trouble building the docker image?

OK, I fixed this error by getting rid of the npm update line (as described in this post: https://github.com/npm/npm/issues/15558)
I think the npm update causes a mismatch between the npm version and the cached modules, but I'm not really sure if that's the cause.
So I'd consider this more of a workaround than a fix!
changes to Dockerfile:
- RUN npm install -g npm && npm install -g ember-cli@latest && npm install -g bower
+ #RUN npm install -g npm@latest
+ RUN npm install -g ember-cli@latest
+ RUN npm install -g bower

I got the same error and was able to fix it by moving it inline. After that was fixed, I encountered several other issues - latest issue i'm still working on is that the app is not able to connect to the db.

Good to hear I'm not the only one.
Regarding the database connection issue, it would be good to start another issue...

Hello @fgiorlando. I tried to run the project with docker build and have successfully ran it. I used Ubuntu 16.10, Docker version 17.06.0-ce, build 02c1d87, and node version 7.7.1. From my experience, the solution when we encountered Error: Cannot find module is that we should delete node_modules folder and run npm install (and bower install, for Hospitalrun specifically) again. Hope that this solve your problem.

@fgiorlando could you please try to repro the bug with the current docker configuration? If that's not the case, I'd suggest @tangollama to close the issue.


Python example script links

Add links to example scripts that show how to combine snippets into a script that does something useful.
To Discuss:

Format, layout OK?
What scripts to we want to link to? Current links are to existing server-side scripts. Do we want to move them to https://github.com/ome/training-notebooks for this PR or later?

The part https://github.com/ome/ome-documentation/pull/2011/files#diff-3bd9f4e3933d8044e9084726276de4cbR1278 - as the OMERO.scripts prove to be a highly popular solution with users, we could reference this part also in the introducing blurb (something like : You can do three things: 1. OMERO.py install... 2. Expanded examples study via the notebooks and docker/conda and 3. make it all to OMERO.scripts - although 3. might need 1., I think it is still worth to mention quite high in the page.

I fixed the print statements mentioned above, but the bulk of my py3 fixes are coming in https://github.com/ome/ome-documentation/pull/2033 after this is merged. This PR was opened before the py3 work started but is now causing merge conflicts.

Thanks @will-moore


Projects and banners models

Based on the information that is in the PDF's, I'm not sure about the utility of having project "brief description" and "description" fields. The same for banner "description" field. They seem to be the same text.

Probably are the same, we decide it today


fix: esxi change vm instance type always timeout

这个 PR 实现什么功能/修复什么问题:
修正：ESXi主机更改配置总是timeout
是否需要 backport 到之前的 release 分支:

release/2.10.0
release/2.11
release/2.12

/area region
/cc @ioito

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@01b0b92). Click here to learn what that means.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             master   #3297   +/-   ##
========================================
  Coverage          ?   7.31%
========================================
  Files             ?     490
  Lines             ?   78999
  Branches          ?       0
========================================
  Hits              ?    5780
  Misses            ?   72732
  Partials          ?     487

Flag
Coverage Δ

#aFlag
7.31% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/managedvirtual.go
0% <0%> (ø)

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 01b0b92...ed587c6. Read the comment docs.

/approve
/lgtm


Remove configmap usage

Description:
Remove remaining osm-config usage logic.
This includes installation arguments, config file template, configmap validation etc.
Close issue #3041

Affected area:

Install                [x]
Control Plane          [x]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

no

Closing PR. It is superseded by #3198


return old ame bonk sound

About the PR
bonk
Why / Balance
fixes #27758
Technical details
gonk
Media

[bonk] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
bonk
Changelog
:cl:

tweak: AME makes the old sound again.

hell no

1984


Ads not blocked in likes

I'm still getting a Sprint Verizon and squarespace audio ads in my likes stream

I will need more information than that to debug the problem. Can you please attach a logcat? (adb logcat -s "SoundCloudAdAway") Thanks.

I updated to latest version of soundcloud and the issue is resolved. Sorry for the trouble, and thank you so much for your hard work I cant thank you enough. I could not stand not having this module :)


Update how global variables are matched

I was surprised how many global variables this found in the codebase I'm working in, so I looked into it. Turns out some of the globals it found weren't actually globals, and it missed some actual globals.
I added test cases for the 4 types of missing or false globals I found, then updated the code to pass the tests.

I found a few other false global variables, so I pushed some additional code changes.


JAMES-3680 Docker-compose example for IMAP/SMTP OIDC

WIP:

Test to make sure this docker-compose works against thunderbird
Readme, diagram

I'm very interested about this local work on the docker-compose, as I'm struggling on preprod and I'm not sure about the root cause

I'm very interested about this local work on the docker-compose, as I'm struggling on preprod and I'm not sure about the root cause

I did not test this docker-compose either. But can you share the problem you are having and maybe IMAP/SMTP config files also?

Your screenshot btw I'm not sure if it's legal or not, as it shows some other code of that file... Missing the bit in the hostnames declaration as well.
I think I would prefer just describing the change TBH :)

Your screenshot btw I'm not sure if it's legal or not, as it shows some other code of that file... Missing the bit in the hostnames declaration as well.

That's ok as the code is not distributed

Quan can you rebase this please?


Popular in your constituency

For: https://www.pivotaltracker.com/story/show/95513536
Touches so many things - might make sense to go through commit by commit as while there are alot, they are mostly quite small.
We:

store the constituency_id on the signature when it is created - this means we do a lookup for the constituency based on the postcode - we might want to offline this?
have a constituency petition journal model where we record the count of signatures for a petition for a given constituency and we increment the count on this whenever a signature is validated (it's silently cool with it if the signature has no constituency_id)
allow a user to search by their postcode to find petitions that are popular in their constituency - this throws away petitions that have no signatures (absence of a journal, or a journal with 0 count) for that constituency and orders

LGTM. :+1:

rebased and addressed @alexander-bobin's styling comments.

Don't merge this yet.  Reminded by #131 that we need to show the MP on the results page and I need to add that.

Added commit with mp info to finish AC.  Now done!

Rebased, plz merge if happy and green.

You talkin to me?


Date support, Code cleanup

Thanks for the PR - Awesome work! 👍
I wonder if we should expose the date as a property on ExchangeRate. What do you think?

Sure why not!

Do you want to make the change? Will be happy to merge this afterwards

Do you want to make these changes? I'll be happy to merge afterwards 👍
Didn't mean to close the PR either :smile


GNOME Shell extensions: gsettings does not find the schema.

Describe the bug
On NixOS (20.03), gsettings tool cannot be used to configure parameters of GNOME Shell extensions, even when they are installed in system profile.
An example with caffeine:
$ gsettings set org.gnome.shell.extensions.caffeine show-indicator false
No such schema “org.gnome.shell.extensions.caffeine”

This seems to be a common problem for all extensions.
To Reproduce

Install some GNOME Shell extension in system profile. An example for caffeine:

# /etc/nixos/configuration.nix
{ config, pkgs, ... }:
{ # ...
 environment.systemPackages = [ #...
   pkgs.gnomeExtensions.caffeine
 ];
}

Log in with GNOME 3 desktop.

Activate GNOME Shell extensions in Gnome Tweaks. (Not sure if this step is important.)

Try to change parameters of some extensions using gsettings. An example with caffeine:

$ gsettings set org.gnome.shell.extensions.caffeine show-indicator false
No such schema “org.gnome.shell.extensions.caffeine”

Expected behavior
gsettings should change parameters as requested. Required schema should be found automatically.
Additional context

On Ubuntu (20.04), gsettings automatically finds the schema for extensions installed system-wide (with apt).

Apparently, gsettings is expected not to find the schema for extensions installed into user directory automatically: No such schema “org.gnome.shell.extensions.dash-to-dock”.

Notify maintainers

Metadata
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.50-hardened, NixOS, 20.03.2437.d6260a33e43 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.6`
 - channels(alexey): `""`
 - channels(root): `"nixos-20.03.2437.d6260a33e43"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

On Ubuntu (20.04), gsettings automatically finds the schema for extensions installed system-wide (with apt).

gsettings schemas aren't installed system wide on nixos.

See also https://github.com/NixOS/nixpkgs/issues/33277 and the discussion in https://github.com/NixOS/nixpkgs/pull/54083
https://github.com/NixOS/nixpkgs/pull/86451#discussion_r419019540

I think this is the same root cause for gnome-control-center failing to start which is a major issue for desktop usability.
% gnome-control-center

(gnome-control-center:13069): GLib-GIO-ERROR **: 16:04:23.959: Settings schema 'org.gnome.GPaste' is not installed
zsh: trace trap (core dumped)  gnome-control-center

That is a different issue with the same underlying cause. Eventually, I want to patch gnome-control-center as described in https://github.com/NixOS/nixpkgs/pull/43992#issuecomment-407058615 but until that is done we will need to partially revert https://github.com/NixOS/nixpkgs/commit/f63d94eba340c05cd241c478deb518204514fce8.

Here is a solution that I've copied from zettlr package: https://github.com/NixOS/nixpkgs/pull/104668/files#diff-79504e99066ccb817007c83ef128705bf2aa35fc97dee10e57d3241f61b364a5R27

still an issue

That is unrelated to this issue. The extension needs to be patched in https://github.com/NixOS/nixpkgs/blob/a9bf34a2e57e94c8ef1d37eeb7000ed0f18188f5/pkgs/desktops/gnome/extensions/extensionOverrides.nix Similarly to what is done in https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-common-issues-unwrappable-package-gsettings-c


SteamOS doesn't boot anymore

Hi,
I installed SteamOS new, then refind and then windows 11. After I disabled the windows boot manager from the recovery stick, I can't boot steamos anymore. Not from refind loader or directly. Windows boots.
What can I do?

That's a bit out of order that I'd recommend (do rEFInd last in the future). Show me the output of efibootmgr from a SteamOS command line and show me what your refind.conf file looks like. I will need these things if I'm going to be able to help, as they give me most of the information that I'm interested in for troubleshooting something like this.

Try to boot from the SteamOS EFI file directly by powering on with Vol+Up and Power and going to boot from file, /esp/efi/steamos/steamcl.efi, before reimaging. We can likely salvage this another less destructive way (or at least it's worth trying to first).

I tested this and my steam deck shows only a black screen. I waited 10 minutes. I think the efi file was broken after the windows 11 installation. But I don't know why.

Try the reinstall SteamOS option before reimaging. A lot of situations can be fixed with that option and it leave installed games, saved games, configurations, and Windows partitions in tact. I go over the steps required to restore the Windows EFI entry and boot files after a SteamOS reinstall here.

It's to late. I used the reimaging option. But it's okay. I haven't any games on that. My steam deck arrived today.
Now I will install steamos again, then windows 11. Both on the internal ssd. And after that, I will install refind with your script. I hope that works 😊

Thx for your help. After reinstallation it works perfektly!


Python install is erroring out on some operating systems

Mac and most Windows versions seem to be working. Some Linux versions seem to be working.
Needs comprehensive cross-platform testing (probably don't need to worry about all Linux distros)
DoD
Python and pip packages install without error on Mac, Win 10, 11, WSL, and Ubuntu. To test that it installed correctly then spell checking will work in a .codex file.
Details
The install discovers the missing packages and should install them successfully.   @joelthe1 recommends Anaconda/miniconda for streamlining the install.

We discussed two options:

We will all meet on a call with each OS present and work through all installation issues as best we can
We also discussed the possibility of bundling a compiled version of python or a link from an S3 bucket with a version for each OS, which downloads via a VS Code extension

We opted to simply remove the python server completely for now. The Copilot server now runs 100% in TypeScript.


Guest module: several actions should be triggered at once

If I click "New wallet" button it takes time to proceed. BUT I can also click "Restore wallet" button at this time and in this case Restore controller is opened along with the Backup controller.
When any action is triggered and it takes time to proceed - all other actions should be blocked or ignored.

By debugging the issue the source of problem seems to happen in creating and starting Kits in MainThread (in WalletManager method initWallets())


After right-clicking an image thumbnail, "Copy Link" option moves around when clicking different places afterwards

I confirm (by marking "x" in the [ ] below):

[X] This is not a feature idea. Feature ideas go here: http://www.mattermost.org/feature-ideas/
[X] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/
[X] This is a product defect issue that can be reproduced using the steps listed below.
[X] I have read CONTRIBUTING.md.

Summary
After right-clicking an image, "Copy Link" option moves around when clicking different places afterwards
Steps to reproduce
Please include:

Operating System: Mac and Windows
Mattermost Desktop App version: v3.4-RC1
Mattermost Server version: v3.4

Right-click on an image thumbnail
Right-click elsewhere on the page

Expected behavior
"Copy Link" menu comes up
Observed behavior
"Copy Link" menu comes up, and moves around when I click different places.
Link to video: https://www.dropbox.com/s/w7uh3mr6fyrvcak/copylink.mov?dl=0
Possible fixes
?

Looking to see if others in the community are able to reproduce the behaviour, reported by at least two people

I'm pretty sure my dependency bump won't affect this error.

To add, this reproduces when right-clicking links on the center channel, and channel names on the left sidebar

Not reproduced on my v3.4 app. In the step 2, right-clicking doesn't show anything or show correct context menu.

Windows 10
macOS 10.12

It was reproducing for me yesterday, but after quitting the app and re-opening it, the issue disappeared.
I didn't see any console errors while the issue was happening.
Would there be additional information that would be helpful?

Transferred details to #340, closing as duplicate


Make "Information Sources" entries in items a reference

... so that they can be reused by different items.
Updating an Information Source should automatically update it for all items referencing it.
from discussion with @maccraymer

The goal here is to use the Relaton model (which is an implementation of ISO 690) as a individual register item class so we can reuse these items.


clrDgRowSelection breaks column width on Datagrids

Using [clrDgRowSelection] on a "Single Selection" Datagrid (and perhaps others), causes the first column to aggressively consume row width.
StackBlitz Reproduction
Columns are responsive and equal width.
Clarity v13.

This was fixed by #2670, and will be part of today's release.


Switch java_wrap_cc to Support Embedding the .so Library into a JAR

We need this to play nice with Apache Beam -- by embedding the .so in a jar, we ensure that Beam copies it to all its workers.


Automatically disable colored output when writing to a file

Motivation
We want Zebra to write colored output when writing to a terminal, but automatically switch off colors when writing to a file, pipe, or non-terminal device.
We also want to disable abscissa colors ~and color_eyre~ when config.tracing.use_color is false.
Solution
Pre-config:

disable abscissa colors when stdout or stderr are not connected to a terminal

After config:

disable tracing colors when stdout is not connected to a terminal, and when the config disables colors
~disable the color_eyre panic handler when stdout is not connected to a terminal, and when the config disables colors~

Already implemented:

color_backtrace already disables colored backtraces when its not connected to a terminal

The code in this pull request has:

Comments
Manual testing for:

auto tracing color disable using zebrad start | tee
auto abscissa color disable using zebrad | tee
~auto color_eyre disable by adding a panic!() after the config is loaded~

Review
@hdevalence wrote the original PR #1408
@yaahc wrote color_eyre
Follow Up Work
Eventually, we want to modify color_eyre so that it:

automatically disables color when output is not to a terminal, and
has a configuration that always turns colors off, because auto-detection isn't perfect, some users won't have colour terminals, and others will want colours off for accessibility

Until that happens, there might be issues with grep and unterminated color sequences in Zebra's color_eyre output, but they hopefully won't be that common.

LGTM, I'd prefer if we didn't add clippy annotations to every file and used our existing clippy.toml instead, but I don't think this PR should block on that.

We can follow up clippy in #1304.

Do we still want to have a config option, if we auto-detect? We could remove it going forward.

The auto-detection isn't perfect, some users won't have colour terminals, and others will want colours off for accessibility. So it's important we have an "always off" option.

@dconnolly I rebased
@yaahc I backed out the color_eyre changes, it would be great if we had the following changes upstream:

automatically disable color when output is not to a terminal, and
add a configuration that always turns colors off, because auto-detection isn't perfect, some users won't have color terminals, and others will want colors off for accessibility

@dconnolly I rebased
@yaahc I backed out the color_eyre changes, it would be great if we had the following changes upstream:
* automatically disable color when output is not to a terminal, and

* add a configuration that always turns colors off, because auto-detection isn't perfect, some users won't have color terminals, and others will want colors off for accessibility

I worked on this a bunch today, should be ready soon.
https://github.com/yaahc/color-eyre/pull/69
The gist is this lets us create themes and I'll be able to set a blank theme that just disables all colors and have that be configured based on the existing detection and configuration logic.


finished notebook 1 and 2 of module2

I changed notebook1 and notebook2 of module2
I am not yet done with the module as notebook3 will be renamed to Notebook_03_Working_with_Groq_Model(Asynchronous).ipynb
and I will also rename the module 2 name
Creating this PR so you can review the ones I have done even as I work on the notebook03
@cobycloud

excellent update. of a much higher caliber than what we were seeing, no doubt about this.

Excellent update! The content is relevant and rich, its absolutely what we're looking for here.

I am done with module 2 @cobycloud


Add completion command to istioctl

Describe the feature request
Add a completion command to istioctl, same as it is in kubectl
Describe alternatives you've considered
To get completion file now I need to download full istio tarball to get it from tools directory. If completion command will be added it would be possible to download istioctl only and setup completion with it.
[ ] Configuration Infrastructure
[ ] Docs
[ X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Additional context

This feature already exists but is undocumented.
If you do istioctl collateral --bash it will generate istioctl.bash in the current directory.  There are other options.
I had a PR to make it visible, https://github.com/istio/istio/pull/12637 , but I was encouraged to keep it hidden.  I see no reason not to make istioctl completion bash output to stdout just like kubectl.  However, the previous PR making the existing command visible was rejected.
Please vote :+1: or :-1: on this issue; if there are a lot of up votes I will get this approved and implement it.


Make local mode the default

As per https://github.com/opscode/chef-rfc/pull/48

ping @jkeiser - do you still want to do this?

Yeah, I still think it's right ... but I haven't had the time to unrot this patch and I'm not sure how soon that will be.

also paging @jkeiser and leaving a note so it sorts to the bottom.

closing for now


Step  11  is redundant in PIM Lab Exercise 01- Task 01

Module: AZ500-AzureSecurityTechnologies
Lab/Demo: LAB_05_PIM.md
Task: 01
Step: 11
Description of issue
Step 11 is redundant as the as aaduser2 is already visible in the assignments blade after completion of Step 10.
Repro steps:

Sign-in to the Azure portal https://portal.azure.com/.

Note: Ensure that you are signed-in to the AdatumLab500-04 Azure AD tenant. You can use the Directory + subscription filter to switch between Azure AD tenants. Ensure you are signed in as a user with the Global Administrator role.
2.In the Azure portal, in the Search resources, services, and docs text box at the top of the Azure portal page, type Azure AD Privileged Identity Management and press the Enter key.
3.On the Azure AD Privileged Identity Management blade, in the Manage section, click Azure AD roles.
4.On the AdatumLab500-04 | Quick start blade, in the Manage section, click Roles.
5.On the AdatumLab500-04 | Roles blade, click + Add assignments.
6.On the Add assignments blade, in the Select a role drop-down, select Billing Administrator.

Click the No member selected link, on the Select a member blade, click aaduser2, and then click Select.

Back on the Add assignments blade, click Next.

Ensure the Assignment type is set to Eligible, review the eligible duration settings, and click Assign.

Back on the AdatumLab500-04 | Roles blade, in the Manage section, click Assignments.

On the AdatumLab500-04 | Assignments blade, click Member filter, on the Select a member blade, click aaduser2, and click Select.

Back on the AdatumLab500-04 | Assignments blade, note the tabs for Eligible assignments, Active assignments, and Expired assignments.
Verify on the Eligible assignments tab that aaduser2 is shown as a Billing administrator.

updated


[RFC] Minimize missing type exports by enabling ae-forgotten-export in api-exporter

I have several times missed to validate that all necessary types are exported outside of my module, which leads to that an implementer cannot use the functionality as expected.
By enabling the ae-forgotten-export check in the API Extractor you get warnings at build time that you have forgotten to export the required types from your module.
I would like to discuss this improvement before I create an initial pull request. Pros and cons, should the warning be printed to the console or should it be included in the api-report.md file?
See https://api-extractor.com/pages/messages/ae-forgotten-export/ for details.
Originally posted by @goober in https://github.com/backstage/backstage/issues/6403#issuecomment-876763494

@Rugvip thoughts on this? Sounds pretty reasonable?

Yep, totally, only reason warnings weren't enabled already was because absolute file paths where being included, which breaks CI. It required yet another ugly workaround to get around that, but should be fixed by #6472


Provide example showing how to include FetchXML in the body of a POST operation using $batch

There is a limit to how long the URL can be, so executing a GET request with the FetchXML in the URL could reach this limit.
A workaround is to include the FetchXML within the body of a $batch request like so:
POST /api/data/v9.0/$batch HTTP/1.1
OData-Version: 4.0
Content-Type: multipart/mixed;boundary=batch_<batch guid value>
Prefer: odata.continue-on-error
Cache-Control: no-cache

--batch_<batch guid value>
Content-Type: application/http
Content-Transfer-Encoding: binary

GET accounts?fetchXml=%3Cfetch+version%3D%221.0%22+output-format%3D%22xml-platform%22+mapping%3D%22logical%22%3E%3Centity+name%3D%22account%22%3E%3Cattribute+name%3D%22name%22+%2F%3E%3Cattribute+name%3D%22address1_city%22+%2F%3E%3Corder+attribute%3D%22name%22+descending%3D%22false%22+%2F%3E%3Cattribute+name%3D%22primarycontactid%22+%2F%3E%3Cattribute+name%3D%22telephone1%22+%2F%3E%3Cfilter+type%3D%22and%22%3E%3Ccondition+attribute%3D%22statecode%22+operator%3D%22eq%22+value%3D%220%22+%2F%3E%3C%2Ffilter%3E%3Clink-entity+alias%3D%22accountprimarycontactidcontactcontactid%22+name%3D%22contact%22+from%3D%22contactid%22+to%3D%22primarycontactid%22+link-type%3D%22outer%22+visible%3D%22false%22%3E%3Cattribute+name%3D%22emailaddress1%22+%2F%3E%3C%2Flink-entity%3E%3Cattribute+name%3D%22accountid%22+%2F%3E%3C%2Fentity%3E%3C%2Ffetch%3E HTTP/1.1
Content-Type: application/json
OData-Version: 4.0
OData-MaxVersion: 4.0

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

ID: a41c1962-56e6-9f11-8007-11ec8ec52008
Version Independent ID: bdcf4fa8-ce49-b7ca-1049-6ef19edd598d
Content: Retrieve and execute predefined queries (Developer Guide for Dynamics 365 Customer Engagement)
Content Source: ce/developer/webapi/retrieve-and-execute-predefined-queries.md
Service: crm-online
Product: unspecified
GitHub Login: @JimDaly
Microsoft Alias: jdaly

@JimDaly Please see the updated doc Retrieve and execute predefined queries.

We now have this example at https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/retrieve-and-execute-predefined-queries#use-fetchxml-within-a-batch-request


Suggestion: Copy doc comments for Partial

TypeScript Version:  2.1.1 / nightly (2.2.0-dev.201xxxxx)
Code
interface A {
    /** I'm a doc comment. */
    prop: string;
}

type B = Partial<A>;

var a: A;
var b: B;

Expected behavior:
The doc comment of A.prop should be copied to B.prop.
Since there is no other method to add doc comments for type B.
Actual behavior:
a.prop has a description while b.prop dose not.

Doc comments are attached to a node. I can't remember if synthetic symbols like those created by Partial<T> have their original nodes. If not I'll have modify the jsdoc lookup code to get the doc comments from the original symbol's node.

This is likely a duplicate of #13690 and will be fixed when that is. I'll leave this issue open in case there is additional work to do after the fix for that is done.

Actually, this is a duplicate of the earlier bug #12966. I'll close this one in favour of that one.