feat(chips): add [color] input to change the color of focused chips, input and underline (closes #605)

https://github.com/Teradata/covalent/issues/605
following the material spec we allow primary, accent and warn
What's included?

new [color] input that allows primary , accent or warn colors.

Test Steps

[ ] ng serve
[ ] Go to http://localhost:4200/#/components/chips
[ ] See documentation around it

General Tests for Every PR

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

[ ] Need to update demo and docs + add a unit test but will wait until https://github.com/Teradata/covalent/pull/626 is merged since the code changed a lot


OCommandExecutionException during import

I'm following the training and with orientdb-community-2.0-rc2 on a small server, I tested the export and import commands: see the details into zip file http://download.bilardi.net/download/public/orientdb/import.error.zip.
The principal error log is:
Error on database import happened just before line 0, column 1
com.orientechnologies.orient.core.exception.OCommandExecutionException: 'DROP CLASS' command cannot drop class 'Person' because contains Vertices. Use 'DELETE VERTEX' command first to avoid broken edges in database, or apply the 'UNSAFE' keyword to force it
At your service.

We fixed it in 2.0 final.


Unknown Django version

Since we don't know the Django version (other than "dev version"), we can't really know what version of Django to install.

It is better to install, the lower version django like < 1.8, create a virtualenv.


DirectX 9

Would microui works with DirectX ?

Microui doesn't do any rendering of its own, this is expected to be provided by the user -- thus it will work with any renderer (be this OpenGL, DirectX, software rendering, etc.) provided it can draw rectangles and text.

Would be possible to provide same examples using DirectX? I think that would help not only me

Check dear ImGui project, it has renderers for direct 3d, easily
transposable to microui.
Le mar. 28 juil. 2020 à 11:21, Daniele Linguaglossa <
<EMAIL_ADDRESS>a écrit :

Would be possible to provide same examples using DirectX? I think that
would help not only me
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rxi/microui/issues/38#issuecomment-664913555, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH5RYR45UD543RZFKVBOQLR52KDNANCNFSM4PKGRYJQ
.


Modify the collector to manage the agent's life-cycle

Thrift-connector manages the life-cycle by client ping event, but the grpc does not know the internal ping event.
The collector must determine availablity based on TransportFilter of grpc

related issue #4558


[Master] Added ::GCD and ::LCM:  contains GCD and LCM implementation

Description
This pull request includes the greatest common divisor implementation (std::gcd) of the integers m and n and computes the least common multiple (std::lcm) of the integers m and n. If MxNet's project is built with c++17, then  support is enabled. Following implementation works fine for a given test cases: __gcd(5, 0) == 5 && __gcd(0, 5) == 5 && __gcd(0, 0) == 0;
Checklist
Essentials

[ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-bot run ci [all]

@mxnet-bot run ci [all]

@mxnet-bot run ci [unix-cpu, website]

@mxnet-bot run ci [unix-cpu, website, centos-gpu]

@barry-jin Could you please review it?


remove dependency on compiler_builtins

That crate is an implementation detail of the compiler. It contains the implementation of intrinsics that LLVM may emit calls to when lowering Rust code to machine code. It's unknown what the future of compiler_builtins will be but likely it will not exist in the future (it might be merged into the core crate).
So this a breaking change that will come from upstream at some point: extern crate compiler_builtins is unstable.

How will this change be effected? Just delete all references to compiler_builtins and then the user must include and link it themselves to use this crate?
I'm very happy to start work on this.

I think we should not change things right now. Because if we do we are going to break code and incovenience all application writers (they'll now have to manually link to compiler-builtins), and then whenever the Rust team makes a decision about compiler-builtins things are likely going to break again.
I would prefer to maintain the status quo until an official decision is made about compiler-builtins.


Change the catalystConverter to be a Scala val.

Change the catalystConverter to be a Scala val to avoid evaluating a converter per row.
This repeating evaluation for the converter is unnecessary, leading to really bad performance.
Signed-off-by: Firestarman<EMAIL_ADDRESS>

build

build


[GHSA-6phf-73q6-gh87] Insecure Deserialization in Apache Commons Beanutils

Updates

Affected products

Comments
According to Patch, this vulnerability was introduced from 1.9.0.

@SunBK201 I have a question about this PR. I noticed that CVE-2019-10086 and CVE-2014-0114 appear to be related. According to https://github.com/advisories/GHSA-p66x-2cv9-qq3v, commons-beanutils:commons-beanutils became vulnerable in version 1.8.0. Did you mean to add 1.8.0 as the initial vulnerable version?


Support plugins {} in settings scripts

This allows settings plugins to be loaded in settings scripts using plugins {}, similarly to how project plugins can be loaded in project scripts.
https://builds.gradle.org/project.html?projectId=Gradle&branch_Gradle=ldaley%2Fsettings-plugins-block

@ldaley is this ready for review? I rebased it on the latest master

@ldaley There are some things I simplified in the Kotlin DSL. You may want to take a look at #9825 and see if any of those ideas are portable.

@big-guy and [@eskatos | @bamboo]. This is now ready for review. TIA.

I went away and made changes according to my review above.
Let's see what Ready for Release has to say.

Ah, it just failed with unrelated issues.
New run after merging release into the PR branch: https://builds.gradle.org/viewQueued.html?itemId=27320569


possible decode_escaped problem with unsupported escape sequences

pickling datetime.datetime(2014, 7, 8, 10) gives a pickle with a S opcode containing a "\n" as escaped character in the string. decode_escaped seems unable to deal with this.
See issue #19  for details
pickling datetime.datetime(2014, 10, 10, 10, 0) gives even more \n's in the string obviously
The byte values that will cause problems are the ones that are encoded by python using one of the standard escape characters rather than a hexadecimal escape:
9 -> \t
10 -> \n
13 -> \r
See the output of
import pprint; pprint.pprint({i:chr(i) for i in range(33)})

Also, what about decode_unicode_escaped (which is called from the load_unicode opcode)? Seems like it has to be able to deal with the same escaped characters...

Ah, I think I figured this one out:
This pickle string throws the error reading exactly like this in the Java source:
		pc=(Calendar) U("cdatetime\ndatetime\np0\n(S\'\\x07\\xde\\x07\\x08\\n\\x00\\x00\\x00\\x00\\x00\'\np1\ntp2\nRp3\n.");

but this one doesn't
		pc=(Calendar) U("cdatetime\ndatetime\np0\n(S\'\\x07\\xde\\x07\\x08\\x0A\\x00\\x00\\x00\\x00\\x00\'\np1\ntp2\nRp3\n.");

the difference being that the newline character actually needs to be encoded as \x0A, decimal 10, which the python interpreter encodes as \\n in the console output of str.encode('string-escape') which is what I was copy pasting into the terminal. If I hex dump the output of
pickle.dump(datetime.datetime(2014, 7, 8, 10, 10, 10, 10, utc), sys.stdout)

it gives:
oration ~/C/starscream starscream (bump_0694e4be) ➜  python tests/work/date_pickling.py | hexdump -C
00000000  63 64 61 74 65 74 69 6d  65 0a 64 61 74 65 74 69  |cdatetime.dateti|
00000010  6d 65 0a 70 30 0a 28 53  27 5c 78 30 37 5c 78 64  |me.p0.(S'\x07\xd|
00000020  65 5c 78 30 37 5c 78 30  38 5c 6e 5c 6e 5c 6e 5c  |e\x07\x08\n\n\n\|
00000030  78 30 30 5c 78 30 30 5c  6e 27 0a 70 31 0a 63 70  |x00\x00\n'.p1.cp|
00000040  79 74 7a 0a 5f 55 54 43  0a 70 32 0a 28 74 52 70  |ytz._UTC.p2.(tRp|
00000050  33 0a 74 70 34 0a 52 70  35 0a 2e 0a              |3.tp4.Rp5...|

which means I think that python is actually encoding the decimal 10 as \n in the string. Patch and better proof forthcoming.

yeah see my updated comment above, this also counts for \t and \r.


Apps: add vizs to an app instance based on configuration

After discussion with Dave, we think it would be advantageous to modify how we handle apps and vizs.
In short, we propose having a 1:1 relationship between (App type, configuration) and app instance.
When a new visualization is created, it's configuration should be either the default set of parameters or the most recent configuration used with that app. The visualization gets added to/created in the app instance that has those same parameters. If the user changes the parameters, then the viz should get taken out of the previous app instance and then added to the app instance that now matches the new configuration. App instances get created whenever a visualization is made with that configuration for the first time.

@jernestmyers it's likely that in addressing the other tickets, this one will get addressed as well

Indeed, this is getting addressed by the work in this PR.

Closing thanks to 1149. Assigning to dan for qa. Deployed to feature.


Projected density plot?

Hi
I was wondering if it was possible to create a surface (i.e. projected) density plot (NOT a slice), in particular
of a gas disc. I have tried using the histogram2d() method, but the result is not as expected (see attached).
I have loaded the grid xy and the hydro density values into 'x', 'y,' and 'd', respectively, and used:
osyris.histogram2d(x,y,d,norm='log',xmin=290,xmax=310,ymin=290,ymax=310,vmin=1e4,vmax=1e9)
And the same for the xz projection.
The result looks highly pixelled, so I'm guessing the histogram is not being smoothed in any way internally
(which I though it would by looking at the examples). Also, the density units are wrong: they should be Msol / kpc^2.
Am I doing something wrong? Or is this not yet possible with the current version?
Perhaps it would be possible to plot a plane (e.g. slice) of arbitrary width?
Cheers
Thor

Hi Thor,
this is related to the issue #17.
Neil has started to implement this feature in a branch https://github.com/nvaytet/osyris/tree/column_density.
I don't know if it works already in this branch but I guess it will be merged into the main branch when it's fully satisfactory.
Cheers,
Matthias

Closing as duplicate of #17

Hi @ttepperg ,
How large is your data from the images you posted above? Is it possible to share?
I would like to run some tests with a first draft implementation of column density / thick slices.
Thanks!

Hi @nvaytet,
That particular dataset is huge (3GB), due to an unfortunate choice
of Ramses grid + particle allocation parameters. But I could provide
another, smaller dataset, ~900MB, with a nice gas disk in it ;)
More than happy to share it, just let me know how would you prefer
to do it. I could, e.g. upload it to Dropbox and share a link?
Cheers
Thor

@ttepperg Dropbox sounds great! Are you on the osyris Slack?
If not, I can add you there and you can send me the link there instead of publicly on github?

@nvaytet
Yeah, good idea!
Please add me to the Slack channel.


Update README

Updated according to new project names. We may also want to extract the version numbers in an asciidoc attribute, but this should

be consistent across all projects
require usage of asciidoc across all projects
IMO

One of the key benefits of isolated admin implementations is that their deployment lifecycles can be independent. That includes the ability to have different version numbers (i.e. it need not match the version of its dependency on the dataflow admin starter).

LGTM; squashed and merged as https://github.com/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/commit/34956b959804d3b5a8ada76042e4e61059b3c19e

What I meant was extracting the version number of this project so that it does not have to be hardcoded and repeated in the README. Definitely not that it would be kept in sync with the other project's

gotcha and +1


Move FluxExecutor ZMQ into thread and explicitly clean it up

Prior to this PR, there were frequent hangs in CI at cleanup of the ZMQ objects used by the FluxExecutor. See issue #3484 for some more information.
This PR attempts to remove some dangerous behaviour there:
i) creation of ZMQ context and socket is moved into the thread which makes use of them - previous the socket was created on the main thread and passed into the submission thread which uses it. This removes some thread safety issues where a socket cannot be safely moved between threads.
ii) ZMQ context and socket are more explicitly closed (using with-blocks) rather than leaving that to the garbage collector. In the hung tests, the ZMQ context was being garbage collected in the main thread, which is documented as being unsafe when sockets are open belonging to another thread (the submission thread)
On my laptop I could see a hang around 50% of test runs before this PR. After this PR, I have run about 100 iterations of the flux tests with seeing any hangs.
Fixes
Fixes #3484
Type of change

Bug fix

cc @jameshcorbett

There is another instance of ZMQ sockets not being cleaned up in flux-executor-related code. I'm happy to open this as a separate PR if you like.
diff --git a/parsl/executors/flux/flux_instance_manager.py b/parsl/executors/flux/flux_instance_manager.py
index 3d760bb5..e6111796 100644
--- a/parsl/executors/flux/flux_instance_manager.py
+++ b/parsl/executors/flux/flux_instance_manager.py
@@ -27,30 +27,29 @@ def main():
     parser.add_argument("hostname", help="hostname of the parent executor's socket")
     parser.add_argument("port", help="Port of the parent executor's socket")
     args = parser.parse_args()
-    context = zmq.Context()
-    socket = context.socket(zmq.REQ)
-    socket.connect(
-        args.protocol + "://" + gethostbyname(args.hostname) + ":" + args.port
-    )
-    # send the path to the ``flux.job`` package
-    socket.send(dirname(dirname(os.path.realpath(flux.__file__))).encode())
-    logging.debug("Flux package path sent.")
-    # collect the encapsulating Flux instance's URI
-    local_uri = flux.Flux().attr_get("local-uri")
-    hostname = gethostname()
-    if args.hostname == hostname:
-        flux_uri = local_uri
-    else:
-        flux_uri = "ssh://" + gethostname() + local_uri.replace("local://", "")
-    logging.debug("Flux URI is %s", flux_uri)
-    response = socket.recv()  # get acknowledgment
-    logging.debug("Received acknowledgment %s", response)
-    socket.send(flux_uri.encode())  # send URI
-    logging.debug("URI sent. Blocking for response...")
-    response = socket.recv()  # wait for shutdown message
-    logging.debug("Response %s received, draining flux jobs...", response)
-    flux.Flux().rpc("job-manager.drain").get()
-    logging.debug("Flux jobs drained, exiting.")
+    with zmq.Context() as context, context.socket(zmq.REQ) as socket:
+        socket.connect(
+            args.protocol + "://" + gethostbyname(args.hostname) + ":" + args.port
+        )
+        # send the path to the ``flux.job`` package
+        socket.send(dirname(dirname(os.path.realpath(flux.__file__))).encode())
+        logging.debug("Flux package path sent.")
+        # collect the encapsulating Flux instance's URI
+        local_uri = flux.Flux().attr_get("local-uri")
+        hostname = gethostname()
+        if args.hostname == hostname:
+            flux_uri = local_uri
+        else:
+            flux_uri = "ssh://" + gethostname() + local_uri.replace("local://", "")
+        logging.debug("Flux URI is %s", flux_uri)
+        response = socket.recv()  # get acknowledgment
+        logging.debug("Received acknowledgment %s", response)
+        socket.send(flux_uri.encode())  # send URI
+        logging.debug("URI sent. Blocking for response...")
+        response = socket.recv()  # wait for shutdown message
+        logging.debug("Response %s received, draining flux jobs...", response)
+        flux.Flux().rpc("job-manager.drain").get()
+        logging.debug("Flux jobs drained, exiting.")

 if __name__ == "__main__":

@jameshcorbett yeah please make a PR for that.
The main problem that I encounter with ZMQ in Parsl is to do with multithreading (and perhaps multiprocessing fork) and I think that isn't an issue in flux_instance_manager.py


Dyanmics CRM Connector and SSIS-Runtime

Can the Dynamics CRM connector also be used in SSIS-Runtime flows?

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

ID: 304d4c46-c0ac-05c9-15eb-d8b677ec5e90
Version Independent ID: 36a79d36-2b72-2722-68e5-e167f9a2cd41
Content: Copy data from and to Dynamics CRM or Dynamics 365 (Common Data Service) by using Azure Data Factory
Content Source: articles/data-factory/connector-dynamics-crm-office-365.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@philipverlinden From the same document: It states as
"When you copy data into Dynamics, the default Azure Integration Runtime can't be used to execute copy. In other words, if your source linked service doesn't have a specified integration runtime, explicitly create an Azure Integration Runtime with a location near your Dynamics instance. Associate it in the Dynamics linked service as connectVia in the following example".
"connectVia": {
            "referenceName": "<name of Integration Runtime>",
            "type": "IntegrationRuntimeReference"
        }

The integration runtime to be used to connect to the data store. If not specified, it uses the default Azure Integration Runtime.
Hope this helps.

@philipverlinden We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Semi-automatic and Automatic Annotation ：error

Create cvat project inside nuclio dashboard where you will deploy new serverless functions and deploy a couple of DL models. Commands below should be run only after CVAT has been installed using docker-compose because it runs nuclio dashboard which manages all serverless functions.
nuctl create project cvat
nuctl deploy --project-name cvat
--path serverless/openvino/dextr/nuclio
--volume pwd/serverless/common:/opt/nuclio/common
--platform local

It seems that you have a problem with your internet connection.

The same problem with mask rcnn

@bsekachev

Hello, everyone when I try to add Mask RCNN trained model using gpu to the auto annotation process it is gives error as unhealthy.
And docker output is :
21.12.14 03:59:20.166 sor.http.w0.python.logger (D) Running wrapper {"command": "/usr/bin/python3 -u /opt/nuclio/_nuclio_wrapper.py --handler main:handler --socket-path /tmp/nuclio-rpc-c6s1d60l2j1nqsluft90.sock --platform-kind local --namespace nuclio --worker-id 0 --trigger-kind http --trigger-name myHttpTrigger"}
l{"datetime": "2021-12-14 03:59:21,337", "level": "error", "message": "Caught unhandled exception while initializing", "with": {"err": "expected str, bytes or os.PathLike object, not NoneType", "traceback": "Traceback (most recent call last):\n File "/opt/nuclio/_nuclio_wrapper.py", line 350, in run_wrapper\n args.trigger_name)\n File "/opt/nuclio/_nuclio_wrapper.py", line 57, in init\n self._entrypoint = self._load_entrypoint_from_handler(handler)\n File "/opt/nuclio/_nuclio_wrapper.py", line 159, in _load_entrypoint_from_handler\n module = import(module_name)\n File "/opt/nuclio/main.py", line 5, in \n from model_loader import ModelLoader\n File "/opt/nuclio/model_loader.py", line 10, in \n MASK_RCNN_DIR = os.path.abspath(os.environ.get('/home/user/Desktop/Mask_RCNN-master/'))\n File "/usr/lib/python3.6/posixpath.py", line 378, in abspath\n path = os.fspath(path)\nTypeError: expected str, bytes or os.PathLike object, not NoneType\n", "worker_id": "0"}}
21.12.14 03:59:21.520 sor.http.w0.python.logger (E) Unexpected termination of child process {"error": null, "status": "exit status 1"}
panic: Wrapper process for worker 0 exited unexpectedly with: exit status 1
goroutine 82 [running]:
github.com/nuclio/nuclio/pkg/processor/runtime/rpc.(*AbstractRuntime).watchWrapperProcess(0xc0002ec000)
/nuclio/pkg/processor/runtime/rpc/abstract.go:464 +0x576
created by github.com/nuclio/nuclio/pkg/processor/runtime/rpc.(*AbstractRuntime).startWrapper
/nuclio/pkg/processor/runtime/rpc/abstract.go:236 +0x1b5

@nmanovic

...//nuclio/pkg/platform/abstract/platform.go:182
NAMESPACE |                      NAME                      | PROJECT |  STATE   | NODE PORT | REPLICAS
nuclio    | pth.facebookresearch.detectron2.retinanet_r101 | cvat    | ready    |     49236 | 1/1
nuclio    | tf-matterport-mask-rcnn                        | cvat    | building |         0 | 1/1

@liucong255 Hi, I cannot reproduce this issue, in my case the function image built successfully.
Seems there are some network issues, please try again and make sure pythonhosted.org is reachable for you. Are you using a proxy?

An error was reported due to repeated installation, which has been resolved


automated tests in supported browsers

I noticed when working on a web component using the new elements that they don't necessarily work when run in browsers other than Dartium.  Chrome and Firefox are better than Safari. Given that the end target is javascript, seems reasonable that these should be tested against other browsers in javascript form.
A reasonable start might be to setup automated tests on drone.io for webkit based browsers and Chrome, but that would leave out IE, Edge and Safari.  Browserstack might be a better option.  I'm not sure if there's a free for open source option available anywhere.

duplicate of https://github.com/dart-lang/polymer_elements/issues/10

fwiw, we have some internal infrastructure for this, its not ideal (doesn't give status in pull requests, and is not visible at all to external contributers afaik) but it does have good browser coverage and is relatively easy to set up. That is probably what I will go with, at least to start things off.


add cache to registry

adds cache to the registry
caches queried assets, foreign assets, and pool assets
defaults to to reading from the cache, followed by the assets registry and chain state

From an initial look. I think the registry should have implemented getters and setters that either look for a given item in the cache, or set an item in the cache.
For example:
class Registry {
    constructor() {
        ....
        this.cache = {
            ...
        }
    }

    public cacheLookupAsset(assetId: string) {

    }

    public cacheAddAsset(assetId: string) {

    }
}

NOTE: We already know the specname, and the relaychain so we dont need those values as args.

From an initial look. I think the registry should have implemented getters and setters that either look for a given item in the cache, or set an item in the cache.
For example:
class Registry {
    constructor() {
        ....
        this.cache = {
            ...
        }
    }

    public cacheLookupAsset(assetId: string) {

    }

    public cacheAddAsset(assetId: string) {

    }
}

NOTE: We already know the specname, and the relaychain so we dont need those values as args.

great idea! Ill modify this to reflect the getter setter structure

Some additional thoughts.

For setting items in the cache since we have specific types it would either need to take in a second arg called type (or something like it) that tells us whether the assetId is a LP token, FA token, or just regular asset part of the assets pallet.

OR

We can have multiple methods,  setForeignAssetInCache, setLiquidPoolTokenInCache, etc. That way each assetId can be a different format>

OR

We can be more generic for (2), and have a single function that has two args:

type GenericAsset<T> = T extends 'foreignAsset'
	? <some_type>
	: T extends 'liquidPools'
	? <some_type>
	: T extends 'assetpallet'
	? <some_type>
	: never;

...
public setAssetIdInCache<T>(asset: GenericAsset<T>, type: T)
...


⚠ Bofrost.at has degraded performance

In 1d8b8e4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2353 ms

Resolved: Bofrost.at performance has improved in c792e19.


Error  object 'CNV_DF' not found. intalled the updated version aand still the error exists

fasta_file <- "GCA_018093105.1_ASM1809310v1_genomic.fna"
bam_file <- "S.aureus_bat3_r3_sorted.bam"
coverage_file <- "S.aureus_bat3_r3.coverage"
bedgraph_file <- "mapp_genm.bedgraph"
DF <- CNproScanCNV(coverage_file, bam_file, fasta_file, GCnorm=FALSE, MAPnorm=FALSE, ORICnorm=FALSE, cores=4)
Error in CNproScanCNV(coverage_file, bam_file, fasta_file, GCnorm = FALSE,  :
object 'CNV_DF' not found

Hi, I looked into it.
Can you try BWA aligner instead of minimap? I don't know exactly why, but Rsamtools::ScanBamParam doesn't work on your BAM file...
Alternatively, you can try https://github.com/robinjugas/ProcaryaSV
Best regards,
RJ


Profiles disappear after upgrading wallet - browser version

Browser: Firefox
Version: Upgrade from 1.0.2 to 1.0.5 (for example)
Steps:

Get and extract two wallet versions (1.0.2 and 1.0.5):

https://github.com/symbol/symbol-desktop-wallet/releases/download/v1.0.2/symbol-desktop-wallet_1.0.2.all.zip
https://github.com/symbol/symbol-desktop-wallet/releases/download/v1.0.5/symbol-desktop-wallet_1.0.5.all.zip

Extract both to separate catalogs
Open version 1.0.2 in Firefox and create a profile
Open version 1.0.5

Result:
Profile created in version 1.0.2 is not available in wallet 1.0.5
Expected result:
Profile created in version 1.0.2 is available in wallet 1.0.5
If I will open again 1.0.2 profile is visible so looks like browser cache is not shared between the version in Firefox :thinking:

Verified. This is default FIrefox behavior. Firefox don't share storage between application from different folders.
So if we want upgrade and keep profiles it's needed to replace same catalog. For example:

Extract wallet to /home/user/applications/SymbolWallet - (version 1.0.4)
Next we want upgdare to next version (1.0.5)
We have to get zip version, extract and replace old catalog.

If new application will be in same catalog profiles will be available in new version.


Ignore upgrade of vitest-canvas-mock and jest-canvas-mock

Description of change

Checklist

[ ] npm test passes
[ ] documentation is changed or added (if applicable)
[ ] permission has been obtained to add new logo (if applicable)
[ ] contribution guidelines followed here

Will not be necessary now that the pb seems to be fixed


Add complex-paragraphs

This filter prevents the indentation of Para objects wrapped in a Div with class .complex-paragraph (except the first one). It is useful, for example, when a paragraph contains a quotation.

I'm sorry, I had forgotten about this. Would you still like us to review it?

Sorry, I just noticed that I had not created a branch and I that it would cause problems. I am opening another one!


Feature/structure missions

Hi @houdamzari , 👋
In this PR:

[ ] I installed redux packages.
[ ] Then initialize the store and provide it in index.js
[ ] Also initialize the Missions component

If you have any questions about this PR feel free to ask, Thank you 👍

APPROVED
Hello @raihan2bd

you have successfully created a directory for all Redux state slice files.
all the linters are passing

There is nothing left but to mergeee it !


Build failure with pnpm dev using Vite 6.0.4 in WXT 0.19.22

Describe the bug
When running pnpm dev on a new project initialized with WXT 0.19.22, the build fails with multiple errors related to "Expected identifier but found 'import'".
I noticed that the project automatically uses Vite 6.0.4, while my previous project using the same WXT version (0.19.22) worked perfectly with Vite 6.0.3. This version difference seems to be causing the issue, but I could not find a way to downgrade Vite to verify.
Full Error:
E:\NodeJs Projects\WXT\test-err>pnpm dev

><EMAIL_ADDRESS>dev E:\NodeJs Projects\WXT\test-err
> wxt

WXT 0.19.22                                                                                18:14:46
√ Started dev server @ http://localhost:3000                                                                  18:14:47
i Pre-rendering chrome-mv3 for development with Vite 6.0.4                                                    18:14:47
x Build failed in 48ms

 ERROR  [vite:define] Transform failed with 18 errors:                                                        18:14:48
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
...
file: virtual:wxt-background-entrypoint?E:/NodeJs Projects/WXT/test-err/entrypoints/background.ts

    (define name):1:0: ERROR: Expected identifier but found "import"
    (define name):1:0: ERROR: Expected identifier but found "import"
    (define name):1:0: ERROR: Expected identifier but found "import"
    (define name):1:0: ERROR: Expected identifier but found "import"
    (define name):1:0: ERROR: Expected identifier but found "import"
    ...
    file: virtual:wxt-background-entrypoint?E:/NodeJs Projects/WXT/test-err/entrypoints/background.ts
    at failureErrorWithLog (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:1476:15)
    at node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:755:50
    at responseCallbacks.<computed> (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:622:9)
    at handleIncomingPacket (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:677:12)
    at Socket.readFromStdout (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:600:7)
    at Socket.emit (node:events:524:28)
    at addChunk (node:internal/streams/readable:561:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
    at Socket.Readable.push (node:internal/streams/readable:392:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)

× Command failed after 1.606 s                                                                                18:14:48

 ERROR  Failed to build background                                                                            18:14:48

    at buildEntrypoints (/E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/core/utils/building/build-entrypoints.mjs:19:13)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at rebuild (/E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/core/utils/building/rebuild.mjs:15:21)
    at internalBuild (/E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/core/utils/building/internal-build.mjs:43:32)
    at buildAndOpenBrowser (/E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/core/create-server.mjs:119:28)
    at Object.start (/E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/core/create-server.mjs:75:7)
    at /E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/cli/commands.mjs:32:5
    at CAC.<anonymous> (/E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/cli/cli-utils.mjs:17:22)
    at /E:/NodeJs%20Projects/WXT/test-err/node_modules/.pnpm/wxt@0.19.22_@types+node@22.10.2_rollup@4.28.1/node_modules/wxt/dist/cli/index.mjs:11:1

  [cause]: [vite:define] Transform failed with 18 errors:
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
...
file: virtual:wxt-background-entrypoint?E:/NodeJs Projects/WXT/test-err/entrypoints/background.ts

      (define name):1:0: ERROR: Expected identifier but found "import"
      (define name):1:0: ERROR: Expected identifier but found "import"
      (define name):1:0: ERROR: Expected identifier but found "import"
      (define name):1:0: ERROR: Expected identifier but found "import"
      (define name):1:0: ERROR: Expected identifier but found "import"
      ...
      file: virtual:wxt-background-entrypoint?E:/NodeJs Projects/WXT/test-err/entrypoints/background.ts
      at failureErrorWithLog (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:1476:15)
      at node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:755:50
      at responseCallbacks.<computed> (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:622:9)
      at handleIncomingPacket (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:677:12)
      at Socket.readFromStdout (node_modules\.pnpm\esbuild@0.24.1\node_modules\esbuild\lib\main.js:600:7)
      at Socket.emit (node:events:524:28)
      at addChunk (node:internal/streams/readable:561:12)
      at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
      at Socket.Readable.push (node:internal/streams/readable:392:5)
      at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)

 ELIFECYCLE  Command failed with exit code 1.

Reproduction
test-err.zip
Steps to reproduce

Run pnpm dlx wxt@latest init.

Choose the following options:

Template: React
Package Manager: pnpm

Change directory into the new project folder: cd <project-name>.
Install dependencies: pnpm install.
Start the development server: pnpm dev.

System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
    Memory: 24.45 GB / 31.84 GB
  Binaries:
    Node: 22.12.0 - D:\nodejs\node.EXE
    npm: 10.9.0 - D:\nodejs\npm.CMD
    pnpm: 9.15.1 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (131.0.2903.86)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    wxt: ^0.19.13 => 0.19.22

Used Package Manager
pnpm
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

After adding the following code in package.json, it still fails:
  "pnpm": {
    "overrides": {
      "vite": "6.0.3"
    }
  },

So it shouldn't be 6.0.4 that breaks this.

Seeing this on PR checks: https://github.com/wxt-dev/wxt/pull/1292#issuecomment-2556342291

@aklinker1 @aiktb Today I tried deleting node_modules and pnpm-lock.yaml and reinstalling packages, then I saw it using vite version 6.0.5 and it worked without any errors.

@aklinker1 @aiktb Today I tried deleting node_modules and pnpm-lock.yaml and reinstalling packages, then I saw it using vite version 6.0.5 and it worked without any errors.

I reviewed the change log for vite @6.0.5, this is a regression issue for esbuild and has been resolved

Awesome, thanks for the update. Good to know it's not something I broke lol


Feature request: snapshot_download - add library_name and library_version

With cached_download() I can provide the library name & version, which is sent via http-agent.
For snapshot_download() I did not find such a function. For statistics reasons, it would be nice if you could also provide library_name and library_version. [And hopefully later get statistics which models are most frequently accessed from your library]
PS: Are the github issues the right place to propose wishes for features or should I put them somewhere else?

Thanks, @nreimers, the GitHub issues are definitely the right place to proposes your feature requests. You're right that library_name and library_version are currently missing on snapshot_download and that they should be added.


Feature/mish2/build fix for cuda

These changes were the result of a heroic effort by Chris, Josh and Gregory helping me get TPLs and serac building + linking with cuda on WSL2.

Merged Axom changes back into Axom/Spack:
https://github.com/LLNL/axom/pull/593
https://github.com/spack/spack/pull/24349

closed in favor of https://github.com/LLNL/serac/pull/495


Workspace Filter

Add option to filter on workspaces, think about profiles for different workspaces.

What about a small dropdown like this. Maybe on the bottom, to not anger user clicking X xd


Added EndOfCurrentData Async Func to NatsKVOpts

Added async Func for callback for when there is no more data left to process

looking good. just a couple of small things:

could you run dotnet format to make sure code format is inline with the editorconfig
could you also see the warnings are cleared in the build

Could you also write a test? it's a small change but I think we should have a test for it.

Looking at the tests I just had a thought! should we use the return value of the callback to potentially yield break out of the loop?

Looking at the tests I just had a thought! should we use the return value of the callback to potentially yield break out of the loop?

There's no data to loop on, so how to yield break? Unless you wait, insert data later and then break?  Seems a bit pointless though...  Happy for you to change though?

Looking at the tests I just had a thought! should we use the return value of the callback to potentially yield break out of the loop?

There's no data to loop on, so how to yield break? Unless you wait, insert data later and then break? Seems a bit pointless though... Happy for you to change though?

I mean change the callback signature to Func<CT, Task<bool>> then if callback returns true yield break:
if (await opts.EndOfCurrentData(cancellationToken))
    yield break;

Looking at the tests I just had a thought! should we use the return value of the callback to potentially yield break out of the loop?

There's no data to loop on, so how to yield break? Unless you wait, insert data later and then break? Seems a bit pointless though... Happy for you to change though?

I mean change the callback signature to Func<CT, Task<bool>> then if callback returns true yield break:
if (await opts.EndOfCurrentData(cancellationToken))
    yield break;

Got ya, ok.... So a configurable optional break. Good idea. Let me change.....

Also naming wise I guess we should go with the convention of OnXxxx. @oising would you say that would be more inline with the naming conventions?

Hi, Sorry, have been away for several days.  Have changed the callback function name and removed from the inner loop.


Add definitions for more math functions

Need to think if we want these functions in integer targets at all
CC @tballmsft @pelikhan @abchatra @riknoll @microsoftsam

OK, no integer targets, so this is easy - ready to merge


New Release?

I see that dependencies are being automatically updated, are there any plans to cut a new release with these updates?

Hey Simon!
Sure, thanks for bringing this up! I've just published a new release v 0.5.1 with all the dependencies updates!

Thank you!


[REVIEW] whiteHatpro

GitHub Profile Link
https://github.com/whiteHatpro

One gif is not embedded correctly otherwise niche profile

Yup.


Best Practice regarding customizing your Profile

I have now gone through most of the "Profiles" documentation on your docs.microsoft.com. I have not been able to find any answer that describes what is the best practice regarding customization of "Profiles".
Is it possible to adapt existing "Profiles" (Business Manager, Base Application), the answer is yes.
What will happen to this profile when one of the monthly updates (BC SAAS) from Microsoft arrives. Will changes be overwritten? Please write something about it

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

ID: cbc54780-19ba-4d44-cd54-3435966b1293
Version Independent ID: 1417b68c-68fd-9f06-fafa-854edc3c1e75
Content: Manage users and roles - Business Central
Content Source: business-central/admin-users-profiles-roles.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: edupont

Hello,
Profile customizations aren't affected by upgrade. We keep customizations in dedicated tables and store the deltas between the customized and standard profiles. I've created a task to add a note to the article to mention that.

Hi,
Thanks for your reply.
Den man. 7. nov. 2022 kl. 15.09 skrev Brent Holtorf <
@.***>:

Hello,
Profile customizations aren't affected by upgrade. We keep customizations
in dedicated tables and store the deltas between the customized and
standard profiles. I've created a task to add a note to the article to
mention that.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dynamics365smb-docs/issues/773#issuecomment-1305671403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM2SVDCIKU336IKH6YFBNX3WHEEQ3ANCNFSM54VEOOYQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Recover from panic in Supervisor

While recovering from a panic in the background makes spotting bugs a
little trickier--mainly because we're missing backtrace (which I assume
could be added)--it prevents lingering RUNNING tasks after panics, which
make using the API very difficult.

Coverage increased (+0.01%) to 17.556% when pulling 87de7d76a44359ee97ca6e0478aa194f65ecd0e8 on supervisor_panic_recover into 99bd79f090dba2ff71a7423b9b909a066929572c on master.


Errors when trying to mix basic and assembly code

I'm trying to pass a basic variable (swp) to inline assembly code
dim swp as byte
function  nyswap as byte () static
    asm
        lda {self}.swp
        asl
        adc  #$80
        rol
        asl
        adc  #$80
        rol
        sta {self}.swp
    end asm
    return 0
end function

I get these errors. Changing to sub instead of function doesn't make any difference
** ERROR ** There has been an error while trying to execute DASM, please see the bellow message.
Tried to execute: ../../dasm/dasm /tmp/xcbtmp_33FD8568.asm -obin/demo.prg -s/tmp/xcbtmp_33FD8568.sym
/tmp/xcbtmp_33FD8568.asm (2065): error: Not enough args passed to Macro.
/tmp/xcbtmp_33FD8568.asm (2072): error: Not enough args passed to Macro.

Unrecoverable error(s) in pass, aborting assembly!
Complete. (5)

Is the syntax wrong, or is this a bug in the compiler?

It's because the substitution of {self} is not (yet) implemented in version 3. I'll fix this.

Btw, {self}.swp will only work for a passed argument or local variable, not on globals.

ok, I'll change to a local variable and test again once self is implemented

Okay, so since XC=BASIC3 handles variables differently, I came up with a different syntax:
The string {var_name} in inline assembly will be replaced with the label of that variable. The variable is searched per the XC=BASIC rules: local variables first, if not found, then global variables are searched.
Here is an example:
a = 2
b = 7
SUB test () STATIC
  DIM a AS BYTE ' Local variable
  a = 5
  ASM
    lda #$06
    sta {a}
    sta {b}
  END ASM
  PRINT a
END SUB

CALL test ()
PRINT a
PRINT b


Standalone Build Error with PyQT

MacOSX10.13.6 64bit
build without --standalone option:
OK
build with --standalone option:
directly open:
Traceback (most recent call last):
File "/Users/xxxx/Projects/dpt-installer-nuitka/dpt_installer.dist/dpt_installer.py", line 17, in
ImportError: dlopen(/Users/xxxx/Projects/dpt-installer-nuitka/dpt_installer.dist/PyQt5/QtCore.so, 2): Library not loaded: @rpath/QtCore.framework/Versions/5/QtCore
Referenced from: /Users/xxx/Projects/dpt-installer-nuitka/dpt_installer.dist/PyQt5/QtCore.so
Reason: image not found
open through command line:
Traceback (most recent call last):
File "/Users/xxxx/Projects/dpt-installer-nuitka/dpt_installer.dist/./dpt_installer.py", line 4, in
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/base64.py", line 10, in
import struct
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/struct.py", line 13, in
from _struct import *
ImportError

So if I do wanna ship the binary on MacOS platform, can I distribute the none standalone binary with other libs together?

Again， If I compile with PyCryptodome only, still throughs error:
File "/Users/xxxxx/Projects/dpt-installer-nuitka/main.dist/Crypto/Util/_raw_api.py", line 300, in load_pycryptodome_raw_lib
OSError: Cannot load native module 'Crypto.Hash._SHA224': Trying '_SHA224.cpython-37m-darwin.so': dlopen(/Users/xxxxx/Projects/dpt-installer-nuitka/main.dist/Crypto/Util/../Hash/_SHA224.cpython-37m-darwin.so, 6): image not found, Trying '_SHA224.abi3.so': dlopen(/Users/xxxx/Projects/dpt-installer-nuitka/main.dist/Crypto/Util/../Hash/_SHA224.abi3.so, 6): image not found, Trying '_SHA224.so': dlopen(/Users/xxxxx/Projects/dpt-installer-nuitka/main.dist/Crypto/Util/../Hash/_SHA224.so, 6): image not found

I think this issue appeared on Travis too, and actually was an error that affects Linux too, but never showed. This should be solved in 0.6.5 which was just released.


Ctrl-PageUp/Down does not go through tabs in Spyder 4.x

Description
On Spyder 3.2.4 (or git branch 3.x), I can use Ctrl-PageUp and Ctrl-PageDown to cycle through the editor tabs in the order they are displayed at the top. This does not work any more with v4 (git master).
Is this on purpose?
Version and main components

Spyder Version: git master
Python Version: 3.6.3
Qt Versions: 5.6.2, PyQt5 5.6 on Linux

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.3 (OK)
sphinx >=0.6.6   :  1.5.4 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.9.0 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
sympy >=0.7.3    :  1.0 (OK)
cython >=0.21    :  0.25.2 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  6.0.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

Are the shortcuts doing something else or don't they work at all?

They're not doing anything as far as I can see.

I think it is commit 3ff6e179c "Move autoinsert quotes logic to quote editor extension" which disabled the Ctrl-PageUp/PageDown shortcuts. It does not look like this was intentional. @rlaverde ?

It  wasn't intentionally, It's caused because the KeyPressEvent is accepting the event so this it's not handed by the parent, but not accepting the event cause #5139, I think the solution is to ignore it when pressing Modifiers.

Wow, that's fast. I checked and it works. Thanks @rlaverde !


Sdv works

Add netkvm win8.1 configuration to SDV build.
Allow easy switch to modern SDV per-project.

Note that only netkvm project is actually affected and the changes related to netkvm are related only to the build (several files are just renamed). IMO, running HCK is not really needed.


UnitTest Cleanup & Samples

This pull request includes several changes to the PyDreo library and its associated tests. The most important changes involve refactoring error handling in the pydreofan.py file and updating constants in constant.py. Additionally, there are updates to unit tests and removal of unused code.
Refactoring and Error Handling Improvements:

Replaced _LOGGER.error calls with appropriate exceptions (ValueError or NotImplementedError) in various methods to improve error handling in pydreofan.py.

Unit Tests:

Added a README file to describe the setup and structure of unit tests in the tests/pydreo directory.
Added new API response JSON files for device state tests (get_device_state_HAF004S_1.json and get_device_state_HTF008S_1.json). [1] [2]

Code Cleanup:

Removed unused imports and constants in sensor.py. [1] [2]
Removed obsolete API definitions from dreo.yaml and PyDreo.yaml files. [1] [2]

@iRonin , @andy-cooper  - Can you two please have a look?  I'd like you to add some UTs for your stuff so I can do some refactor more safely.

Sure - was away this weekend; I'll look at it this week.

@JeffSteinbok - what are you using to run these tests? Reason I'm asking is when I configure this in IntelliJ Idea, I get two errors: the first error is that the directory hierarchy for testing should be tests/custom_components/dreo/pydreo, to mimic the actual code hierarchy (you have it simply as pydreo at a top level). The second error occurs after I attempt correct that, and then I get a bunch of errors indicative of the fact that I moved the hierarchy. Rather than go too far down that rabbit hole, I wanted to see what your setup was.
This is what I'm seeing w.r.t. directory hierarchy:
Launching pytest with arguments pydreo/test_pydreofan.py::TestPyDreoFan --no-header --no-summary -q in /Users/andy/homeassistant/hass-dreo/tests
============================= test session starts ==============================
collecting ... ERROR: found no collectors for /Users/andy/homeassistant/hass-dreo/tests/pydreo/test_pydreofan.py::TestPyDreoFan
collected 0 items / 1 error
=============================== 1 error in 0.04s ===============================
tests/pydreo/test_pydreofan.py:None (tests/pydreo/test_pydreofan.py)
pydreo/test_pydreofan.py:13: in
from imports import * # pylint: disable=W0401,W0614
pydreo/imports.py:12: in
spec.loader.exec_module(pydreo)
:936: in exec_module
???
:1073: in get_code
???
:1130: in get_data
???
E   FileNotFoundError: [Errno 2] No such file or directory: '/Users/andy/homeassistant/hass-dreo/tests/custom_components/dreo/pydreo/init.py'

Note - I can run the tests from the command line via "pytest" from the hass-dreo directory, but that's not particularly optimal for debugging.

I'm running them in Visual Studio Code as well as in the Pull Request flow automatically.

Ok, any particular settings in VSCode?

Hmm. So when I run it from VSCode on Mac, I now get this:
vscode_pytest.VSCodePytestError: Error attempting to connect to extension communication socket[vscode-pytest]: A test tried to use socket.socket.
ERROR conda.cli.main_run:execute(124): conda run python /Users/andy/.vscode/extensions/ms-python.python-2024.4.1/python_files/get_output_via_markers.py /Users/andy/.vscode/extensions/ms-python.python-2024.4.1/python_files/vscode_pytest/run_pytest_script.py --rootdir /Users/andy/homeassistant/hass-dreo/tests failed. (See above for error)
Seems to be a well-known problem with the vscode-python plugin.

Ok. I would hope there's a workaround.
Failing that you can run them from the command line just fine, and as a GitHub action.
Either way, I'd like to get the UnitTest corpus growing a bit as we have more and more stuff in there that's not easily testable.


fix(Disputes):flip param ordering in registerStoreUpdateEventListeners

Pull Request Test Coverage Report for Build 614

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

Totals

Change from base Build 611:
0.0%

Covered Lines:
423

Relevant Lines:
826

💛  - Coveralls


Performance issue when using multiple tables on one page

mantine-react-table version
v2
react & react-dom versions
v18.3.1
Describe the bug and the steps to reproduce it
Encountered performance issues when using multiple tables on one page, especially when using custom modals for CRUD operations, the page becomes totally unresponsive.
Minimal, Reproducible Example - (Optional, but Recommended)
return (     <>       <MantineReactTable table={table1} />       <MantineReactTable table={table2} />     </>   );
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Give an actual reproducible example. There are plenty of examples in the docs where this is not a problem.


Release with .NET 4.5.2?

I have .NET 4.5.2 installed, yet vs-chromium won't install because I do not have 4.5 installed. The solution configuration targets .NET 4.5, not 4.5.2 - any reason why?
(sorry! I'm not a .NET developer, so I don't know anything about .NET releases)

As far as I know, a minor release of .net (such as 4.5.2) should not break anything. Can you describe in more details the problem you are running into?

Here's what I got when installing it:

then this dialog:

The contents of the log file:
6/17/2015 1:40:41 AM - Microsoft VSIX Installer
6/17/2015 1:40:41 AM - -------------------------------------------
6/17/2015 1:40:42 AM - Initializing Install...
6/17/2015 1:40:42 AM - Extension Details...
6/17/2015 1:40:42 AM - 	Identifier      : a10cf7af-5f0a-4502-b44b-51ff1b7c8a87
6/17/2015 1:40:42 AM - 	Name            : VsChromium
6/17/2015 1:40:42 AM - 	Author          : The Chromium Authors
6/17/2015 1:40:42 AM - 	Version         : 0.9.14
6/17/2015 1:40:42 AM - 	Description     : Collection of tools to help contributing code to the Chromium project.
6/17/2015 1:40:42 AM - 	Locale          : en-US
6/17/2015 1:40:42 AM - 	MoreInfoURL     :
6/17/2015 1:40:42 AM - 	InstalledByMSI  : False
6/17/2015 1:40:42 AM - 	SupportedFrameworkVersionRange : [4.5]
6/17/2015 1:40:42 AM -
6/17/2015 1:40:42 AM - 	Supported Products :
6/17/2015 1:40:42 AM - 		Microsoft.VisualStudio.Pro
6/17/2015 1:40:42 AM - 			Version : [12.0]
6/17/2015 1:40:42 AM -
6/17/2015 1:40:42 AM - 	References      :
6/17/2015 1:40:42 AM - 		-------------------------------------------------------
6/17/2015 1:40:42 AM - 		Identifier   : Microsoft.VisualStudio.MPF.12.0
6/17/2015 1:40:42 AM - 		Name         : Visual Studio MPF 12.0
6/17/2015 1:40:42 AM - 		Version      : [12.0]
6/17/2015 1:40:42 AM - 		MoreInfoURL  :
6/17/2015 1:40:42 AM - 		Nested       : No
6/17/2015 1:40:42 AM -
6/17/2015 1:40:42 AM -
6/17/2015 1:40:42 AM - Searching for applicable products...
6/17/2015 1:40:42 AM - Found installed product - Microsoft Visual Studio Professional 2013
6/17/2015 1:40:45 AM - The extension with ID 'a10cf7af-5f0a-4502-b44b-51ff1b7c8a87' is not installed to Microsoft Visual Studio Professional 2013.
6/17/2015 1:40:45 AM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
6/17/2015 1:40:45 AM - Found installed product - Global Location
6/17/2015 1:40:47 AM - The following target products have been selected...
6/17/2015 1:40:47 AM - 	Microsoft Visual Studio Professional 2013
6/17/2015 1:40:47 AM -
6/17/2015 1:40:48 AM - Beginning to install extension to Microsoft Visual Studio Professional 2013...
6/17/2015 1:40:48 AM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'VsChromium' requires a version of the .NET Framework that is not installed.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForValidDotNetFramework(IExtension extension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForInstallBlockers(InstallableExtensionImpl extension, IInstalledExtensionList modifiedInstalledExtensionsList, Boolean isNestedExtension, Boolean& olderVersionInstalled)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)

Thanks. This should be fixed with version 0.9.15. Please re-open if the problem persists.

I don't think I mentioned it: 0.9.15 fixed the problem! Thanks!


Can't focus into text fields, Android + external keyboard

In the first Expo example on https://reactnative.dev/docs/textinput - with an external physical keyboard on Android, we don't seem to be able to move the focus into/ between these input fields. It's fine if you tap the screen, and it's fine if Talkback is on and we alt+arrow between the fields. But with Talkback off, and just using the keyboard, we can't get focus into the fields.
Expected Results
That the fields can be focussed by the keyboard
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/PT9eBWga1 (saved from the first example on https://reactnative.dev/docs/textinput)

Same issue can be seen on Facebook Marketplace. Our workaround was to wrap the textinput in a Pressable  and set focus manually.

@brucelawson we are running into a similar issue, can you share the code snippet? Also, are you able to get it working on ios?

@brucelawson we are also facing this issue. Could you share the code snippet? Also, are you able to get it working on ios?

@kriti18singh here's the salient bit of code; the pressable wraps the textinput. We only found the bug affected Android. The Facebook team know about it. Hopefully they'll fix it.
const setKeyboardFocusToInput = () => {
if (!focused) {
focusableRef?.current.focus()
setFocused(true)
}
}
return (
<Pressable
onPress={setKeyboardFocusToInput}
accessible={isAndroid() ? true : false}
>

@kriti18singh I will once we've tested and proved it. (I don't want to let something loose without knowing its side-effects)

Commit 8 days ago appears related https://github.com/facebook/react-native/commit/d4a498aba2d2843e7a741a31b0c91c6a79a7386c

Hey @brucelawson thanks for submitting this issue, we'll take a closer look soon and report back!

@brucelawson: We've taken a look as a team and will pull this into our prioritized issues, will report back when it's in progress. Thanks again for submitting.

Hi @alextait1, I would love to know if there are any updates on this matter. In the mean time we're looking at workarounds as described in #30464.

Hey @pandu-supriyono I'm no longer working on this project, maybe @blavalla can provide an update

Hello here,
The easiest way it's wrapping TextField in something, I wrote specific lib to support keyboard focus for a11y:
https://www.npmjs.com/package/react-native-a11y
You can wrap TextInput into KeyboardFocusView and focus TextInput on onFocusChanged event.
    <KeyboardFocusView onFocusChanged={(e) => {
            if(e.nativeEvent.isFocused) {
              ref.focus()
            }
          }}>
            <TextInput
              ref={inputRef}
            />
          </KeyboardFocusView>

I can imagine more elegant solution on old arch, but new arch is hell challenging

There is elegent solution for old arch.
You can override native EditText:

Create RCTEditText component on android and extend ReactEditText

import android.content.Context;
import android.graphics.Rect;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;

import com.facebook.react.views.textinput.ReactEditText;

public class RCTEditText extends ReactEditText {
    static final int ENTER_KEY_CODE = KeyEvent.KEYCODE_ENTER;
    static final int MULTILINE_TYPE = EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE;

    public RCTEditText(Context context) {
        super(context);
    }

    private boolean isKeyHandled(int keyCode) {
        boolean isMultiline = (this.getInputType() & MULTILINE_TYPE) == 0;
        return keyCode != ENTER_KEY_CODE
                || !isMultiline
                || !this.getBlurOnSubmit();
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (this.isKeyHandled(keyCode)) {
            return super.onKeyDown(keyCode, event);
        }
        return false;
    }

    @Override
    public boolean onKeyUp(int keyCode, KeyEvent event) {
        if (this.isKeyHandled(keyCode)) {
            return super.onKeyUp(keyCode, event);
        }
        return false;
    }

    @Override
    public boolean requestFocus(int direction, Rect previouslyFocusedRect) {
        if (direction == View.FOCUS_FORWARD || direction == View.FOCUS_BACKWARD) {
            this.requestFocusFromJS();
        }
        return super.requestFocus(direction, previouslyFocusedRect);
    }
}

Create RCTEditTextManager and extend ReactTextInputManager

import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.views.textinput.ReactEditText;
import com.facebook.react.views.textinput.ReactTextInputManager;

class RCTEditTextManager extends ReactTextInputManager {
    // Copied react native text input manager, just copy pasted
    @Override
    public ReactEditText createViewInstance(ThemedReactContext context) {
        //Changed this line
        ReactEditText editText = new RCTEditText(context);
        int inputType = editText.getInputType();
        editText.setInputType(inputType & -131073);
        editText.setReturnKeyType("done");
        return editText;
    }
}

Create RCTEditTextPackage:

import androidx.annotation.NonNull;

import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class RCTEditTextPackage implements ReactPackage {
    @NonNull
    @Override
    public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
        return Collections.emptyList();
    }

    @NonNull
    @Override
    public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
        List<ViewManager> viewManagers = new ArrayList<>();
        viewManagers.add(new RCTEditTextManager());
        return viewManagers;
    }
}

Add package in MainApplication

     List<ReactPackage> packages = new PackageList(this).getPackages();
      packages.add(new RCTEditTextPackage());

Example of files in derictory:

Example of getPackages()

I am not sure whether it will work on new arch, but it works for me

Are there any plans to fix the keyboard accessibility of the  <TextInput>?
The workaround https://github.com/facebook/react-native/issues/30464 to wrap the <TextInput> in a <Pressable> doesn't work with the Tab key and doesn't support keyboard users who also use a screen reader.
The React Native <TextInput> should be accessible using a physical keyboard out-of-the-box without implementing workarounds as it is a critical element for many apps.

Is there any proper solution to make it work as expected ?

Same here

Great to see the priority given to this accessibility bug! It's 2 years, 8 months and 29 days since I posted it.

same here, anyone known how to fix it?

Hello there,
After some work with the native and a keyboard focus, I finally found a workaround for TextInput focusability. You can find it in the react-native-external-keyboard package, in the component called KeyboardExtendedTextInput.
The solution works for Android and iOS, and support new arch (bridgeless is not supported).

Is there any news on this? We also need to make sure TextInput is focusable with an external keyboard.

Can not re-open this, so I created a new one: https://github.com/facebook/react-native/issues/45801 (with additional related test case)...

@jamonholmgren - thank you for re-opening this.
Temporary solution seems to be using the packages made by @ArturKalach, but I hope React Native can support external keyboard out of the box for all the folks not aware of the issue.


[IMPROVEMENT] Document how to create a Longhorn storageclass that uses XFS

Is your improvement request related to a feature? Please describe
The default "longhorn" storageclass uses ext4, which has a lot of technical limitations compared to XFS. It is possible to create a new storageclass, eg "longhorn-xfs", using the Longhorn provisioner that has fsType=xfs. However, this is not documented.
Describe the solution you'd like
Update the official documentation to detail how to create a Longhorn-based storageclass that uses XFS.
TBH, a better solution would be to deprecate ext4 and default to XFS, but updating the documentation with this would be a quick and easy fix.

I strongly recommend against doing this until Issue 3597 is fixed.

i would like to contribute to this issue

@rahul3002 Very appreciated! You can create a PR for https://github.com/longhorn/website

can u tell me in which directory that document is I'm unable to find it

where can I find the reference for creatinga Longhorn storage class

You can add or modify the docs for the corresponding version in https://github.com/longhorn/website/tree/master/content/docs
IIRC, there is no specific doc that describes how to config a Longhorn StorageClass now. You can create a new doc file or find an appropriate position of an existing doc.

@getsomebread Just curious. By default, longhorn uses ext4. Why do you choose xfs? Is there anything attractive about xfs?

@getsomebread Just curious. By default, longhorn uses ext4. Why do you choose xfs? Is there anything attractive about xfs?

ext4 is very old, and in my years of experience with it, it is not good for larger volumes. It routinely requires an fsck, which can take a very long time on larger volumes. It tops out at 16TB, which is why there are a number of bug reports on this. The entire Linux industry has moved on from ext4 years ago, a better question is why Longhorn has not!

@getsomebread to my knowledge, the only major distro defaulting to XFS is RHEL/CentOS, and maybe SuSE (their release notes indicate both XFS and Btrfs). Debian and Ubuntu still default to ext4.
Also, ext4 has a maximum file size of 16 TB, not volume size. If you're routinely creating files exceeding 16 TB then yeah, ext4 probably isn't the best option for a variety of reasons.

@getsomebread @stephanGarland
Thanks for the feedbacks. These feedbacks will help us improve the support of differenet filesystems.


[beta] Code editor not loading in challenge

Challenge make-elements-only-visible-to-a-screen-reader-by-using-custom-css has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
The code editor in this particular challenge is not loading properly.

Work around: Go to map and select the challenge again.
To Duplicate: Go to map. Select the challenge. Close the browser window or tab. Open a new window or tab. Go to beta.freecodecamp.com The challenge will open with the above problem.
Tested with Chrome 56.0.2924.87 (64 bit) and Firefox 47.0.

Thanks for reporting! I'm closing this as a part of #13698. Happy coding!


fix: impersonated user uses downscoped token

When an impersonated user logs in with Auto IAM AuthN, the login token is downscoped to support login only.
Fixes #1519.

I need to add our impersonated user as an IAM user in the postgres database for these tests to pass.


Fix for #11: force query will now return all records for basic queries.

For basic SOQL queries using the query command, honor nextRecordUrl when querying past page limit, i.e. "SELECT Id FROM Case LIMIT 10000" will now return 10000 records instead of just the page limit (typically 2000). This is a partial fix for Issue #11.
As implied, this still is NOT fixed for parent-child relationship queries.
That one (p->c queries) will be a bit tricky, I think. I was thinking for that, of updating ForceRecord to use some sort of LazyLoad pattern that immediately queries if there are more records. This could end up spawning lots of queries, will likely need to be a recursive solution, and will involve more thorough testing, so I thought it best to at least get the 90% scenario fixed first, hence this initial pull request.

This is a great pull request, but I'll need to take a look at it when I have access to my laptop.

Sure, whenever you have time. I did duplicate what was already there a bit
as you'll see... when I tried to pull the code into its own function, I
felt the code without the function was more straightforward... but I am
happy to do that if you'd rather.
-Chris
On Sat, Jun 13, 2015 at 1:53 PM, Dave Carroll<EMAIL_ADDRESS>wrote:

This is a great pull request, but I'll need to take a look at it when I
have access to my laptop.
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/force/pull/175#issuecomment-111752050.

It's all good. I'm new to GO. Just want to make sure all is good. Really,
really appreciate pull requests!
Dave Carroll
On Jun 13, 2015, at 2:00 PM, Chris Zacny<EMAIL_ADDRESS>wrote:
Sure, whenever you have time. I did duplicate what was already there a bit
as you'll see... when I tried to pull the code into its own function, I
felt the code without the function was more straightforward... but I am
happy to do that if you'd rather.
-Chris
On Sat, Jun 13, 2015 at 1:53 PM, Dave Carroll<EMAIL_ADDRESS>wrote:

This is a great pull request, but I'll need to take a look at it when I
have access to my laptop.
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/force/pull/175#issuecomment-111752050.

—
Reply to this email directly or view it on GitHub
https://github.com/heroku/force/pull/175#issuecomment-111752335.


New Version of Flyte Kit Available

Our weekly tests are failing due to the new version superseding the version we have installed.

Fixed in 1.9.1-3.11-1.


Cross platform support

Hi,
I moved to Ubuntu and I have to keep a windows vm just to use your great tool.
Can you please release a linux release as well?

I managed to complie it using mono after a few hour of debugging.
When I try to connect it throws many exceptions due to some issues with compatibility in linux of the azure sdk.
Suggest fix in the web is to use https://github.com/ppatierno/azuresblite which is compatible.

Related to #284.
The new official ASB client would help here, but the project is not there yet.

Also for mac would be great!

Hi Guys, this tool is really awesome and I wanted to also comment on how great it would be if we could get a mac supported version out there! I've been trying to avoid getting a windows VM for a long time, but I might have to just for this tool because it makes debugging so much faster!

Thanks @Burnett2k for the feedback, we are considering to migrate the tool to .NET Core, the problem is that the UI is built using Windows Forms that is currently not supported by .NET Core, and I have no idea if it will ever be in the future :)

We use Ubuntu and Mint, and would be great to have this tool available cross-platform.

@epomatti I'll echo what Paolo has said. The tool was not designed to be a cross-platform tool. The effort to get it there cannot be undermined. Not to mention some major restructuring work that is already taking place.
Personally, I'd look to use an alternative for now while Azure Portal is working on adding some features and this project gets on the newer dependencies. Have you looked at the tools that can solve your problem today? Cerulean is one of those. And it might be even free. And if it's not, if you need to use ASB and operate on Linux, perhaps it's worth shelling out a few coins to get what you need for the job. An alternative would be to actively contribute to this OSS and help implement what's needed to make it x-plat.
PS: I might lose my collaborator status by suggesting Cerulean, but we need to keep things in perspective. If your job depends on a tool you should weigh the options and not tie all your hopes on a volunteer-driven OSS. Cheers.

@SeanFeldman Forgive me if i get my wires crossed here but I'm amazed that there isn't an official cross-platform Microsoft tool for supporting Service Bus, such like there is for SQL Server and Storage explorer. We simply cannot manage SB in a PROD environment without a tool like Service Bus Explorer (or commercial equiv).
I thought that @paolosalvatori did work for Microsoft at one point (I may be mistaken).
I'm sure the work to move SBE to x-plat is considerable, especially for OSS, but have Microsoft themselves not offered technical support to move this forward and bring the product up the x-plat capabilities of their other tooling?

While I do not represent Microsoft or the messaging team, I'm sure there's a good reason for it.

Besides Cerulean there is https://www.serverless360.com/ as an alternative for cross platform support.

There's another emerging kid on the block: VSCode plugin

Sorry for coming late to the discussion. Yes, I work in Microsoft, but I don't work in the Service Bus team. This tool was born as a sample years ago and grew over time to become a tool. At that time, Linux was not even supported by the Azure platform, and .NET Core was not available.
Now, I do understand and support your need for a multi-platform tool officially supported by Microsoft, mine is just an OSS tool maintained on a best effort basis by me and my collaborators. We are doing our best, but a full re-write of this tool would cost me an amazing amount of time that I can't afford now, sorry about that. Said that I'll report your request to the product group.

While not exactly what folks were asking here, the cross-platform tool for ASB is becoming more of the reality with Microsoft's new SBExplorer for the portal.
https://twitter.com/sfeldman/status/1262823820311715845?s=20

https://twitter.com/sfeldman/status/1262824887648837632?s=20

@SeanFeldman I think this a big step ahead in the right direction even if it does not provide all the features of the Service Bus Explorer ex. Thanks to @clemensv @axisc and all the Service Bus team for integrating the Service Bus Explorer in the portal :)

I suggest we close this issue. Any objections?

@SeanFeldman on what basis? It’s good that there is something in the azure portal, but it’s not on a par with SBE nor is the same approach taken by the azure storage explorer or azure data studio (both excellent xplat products that I use daily on MacOS).
I know this task is hard and unlikely to happen but relying on the portal approach just seems plain wrong IMO

@SeanFeldman on what basis?

This project is driven by volunteers. I have not seen anyone peeking up this task or giving a hand to @ErikMogensen. When it comes to feature requests, there are multiple people to back it up. When it comes to contributions, the number plunges. The status of this issue is a good indication.

it’s not on a par with SBE nor is the same approach taken by the azure storage explorer or azure data studio (both excellent xplat products that I use daily on MacOS).

I think you're missing an important point. That's exactly the route Microsoft is taking. Portal SBE can be packaged and distributed similarly to Storage Explorer. It's too early as the team is still assessing things, but that's the direction it looks like it will be taking.
This tool was not designed originally to be a cross-platform tool. It will require much more than just a client bump. It will also compete with the Portal SBE, which I think is not wise. Anyone who wants to use it on a platform other than Windows is better off with pushing Microsoft to add features to the Portal SBE in the long term.
I cannot help with that and will bow out. Keeping the issue for the sake of having the issue only, doesn't sound right to me. If there are volunteers that can step up and commit, that's a different conversation. If you and others feel strongly about keeping the issue, by all means. The intention to keep the issue combined with contributions to its implementation will benefit anyone who's looking for cross-platform support.

@SeanFeldman i guess the point about it being around for the sake of it, is fair enough.
SBE is excellent, but if MS are delivering an xplat alternative that doesn’t need the portal then SBE will naturally be replaced by the MS version

Hi @grahambunce I created SBE, initially as a sample, in 2012. I continued to develop the tool based on my ideas and customer requirements. In 2016 I moved the tool to GitHub to open it up to others' contributions and make is a real OSS tool. This tool is not officially supported by Microsoft, even if I'm a Microsoft employee. It comes without saying that the Service Bus sustained this effort. Now, writing this tool from scratch to be multi-platform like the Azure Storage Explorer would be a huge effort and I can't afford it anymore. SBE is OSS tool, you can use it or you can use the SBE integrated in the Azure portal if you use Linux. Easy :)

SBE is excellent, but if MS are delivering an xplat alternative that doesn’t need the portal then SBE will naturally be replaced by the MS version

@grahambunce, I don't know when or if it will happen, but it makes sense for Microsoft to continue developing the portal tool. It's just a preview at this moment and already covers what I'd imagine is 5--60% of the scenarios an average SBE user requires. Yes, it's not perfect and lacks many features, but it's the first release since ASB existed. I'm sure it will only get better with the time.
In regards to SBE being replaced by the Portal SBE - don't think @paolosalvatori will oppose much. At this point, I have a strong feeling he'd like this baby to leave the house and no longer be under his constant supervision and care. At the end of the day, tool progression matters more than anything else. Those that swear today by SBE won't have much difficulty to change their loyalty if there's a better tool. Competition is welcomed, right? And Paolo will always be associated with SBE. Portal or not 🙂

Thanks @SeanFeldman, nothing much to add here, your words reflect my spirit and my thinking. :) Closing this issue.

An issue that doesn't add cross-platform support but will help to bring SBE closer to that state: https://github.com/paolosalvatori/ServiceBusExplorer/issues/527

AvaloniaUI could be another mature option, used by companies such as JetBrains.

Hi Guys! Sorry for digging out old issue but since it may be a little help I will do it anyway:). I started a small cross platform service bus explorer called Cross Bus Explorer. It has builds for Win, Mac and Linux. Build with Blazor and wrapped with Electron.


http_server_fast process request one by one

I use demo http_server_fast as media server.
Suppose there are two clients. Client one request video file and server return data, Client two need wait for sending complete( server to client one)  , then got data.
How to modify demo to serve multi client simultaneously？
Thanks!

What do you mean? Separate connections are processed simultaneously. Why do you think that a client would have to wait for an unrelated connection to finish?

I use argument "<IP_ADDRESS> 9000  ./path 3 spin".
Client one send get request to http_server_fast, and http_server_fast send back a large file.
Client two send get request to http_server_fast at the same and client two got connected until all data are sent to client one.
Forgive my bad English!

I am sorry, it is my fault.
I modify
   http::async_write(                           socket_,                           *file_serializer_,                           [this](boost::beast::error_code ec)                           {                               socket_.shutdown(tcp::socket::shutdown_send, ec);                               file_serializer_.reset();                               file_response_.reset();                               accept();                           });
to
//        http::write(socket_, *file_serializer_, ec); //        socket_.shutdown(tcp::socket::shutdown_send, ec); //        file_serializer_.reset(); //        file_response_.reset(); //        file.close(); //        accept();

Glad you figured it out!


lodash dependency error

Hi, thanks for great job.
Please add to docs how to "lodash" should be included into project.
I've error like this:
node_modules/toastr-ng2/portal/portal.d.ts(1,1): error TS2688: Cannot find type definition file for 'lodash'.

"toastr-ng2": "^1.4.0",

Whoops. Fixed in 1.4.1. You do not need lodash.

Works fine. Thanks a lot


Automated cherry pick of #1801: ucloud bugfix

Cherry pick of #1801 on release/2.11.
#1801: ucloud bugfix

/lgtm
/approve

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@e119d7f). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #1819   +/-   ##
==============================================
  Coverage                ?   7.61%
==============================================
  Files                   ?     412
  Lines                   ?   63484
  Branches                ?       0
==============================================
  Hits                    ?    4834
  Misses                  ?   58241
  Partials                ?     409

Flag
Coverage Δ

#aFlag
7.61% <0%> (?)

Impacted Files
Coverage Δ

pkg/util/seclib2/seclib.go
91.48% <ø> (ø)

pkg/util/ucloud/storagecache.go
0% <0%> (ø)

pkg/util/ucloud/disk.go
0% <0%> (ø)

pkg/compute/models/skus.go
1.42% <0%> (ø)

pkg/util/ucloud/instance.go
0% <0%> (ø)

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 e119d7f...def245b. Read the comment docs.


Can PCM monitor specified application's IPC on windows?

I want to monitor the specified application's IPC,not the cpu's IPC,
Can PCM make it?
Thank you

PCM is a core/CPU centric-tool. The best you can do is to set affinity of the application to certain cores (programmatically or manually https://merabheja.com/set-affinity-for-an-application-on-windows-10/ ) and then monitor these cores using PCM.
best regards,
Roman


feat(p2p): always connected peers

We should have a set of peers (configurable size) that we store in memory, as main peers. These can be used to send bitswap requests to, as well as improve general connectivity.

go-ipfs impl: https://github.com/ipfs/go-ipfs/blob/master/peering/peering.go
https://docs.ipfs.io/how-to/peering-with-content-providers/#content-provider-list
AddressBook Attempt in libp2p https://github.com/libp2p/rust-libp2p/pull/2133
AddressBook in ipfs-embed https://github.com/ipfs-rust/ipfs-embed/blob/master/src/net/peers.rs

For the record, I will follow up with a design doc incorporating the recent out-of-band discussion.

@dignifiedquire would you mind following up here?
https://github.com/libp2p/rust-libp2p/discussions/2118#discussioncomment-3134752

I enumerated 3 proposals in https://github.com/libp2p/rust-libp2p/issues/2824.

For the sake of completeness, latest work by @thomaseizinger is happening here https://github.com/libp2p/rust-libp2p/pull/3099.

For the sake of completeness, latest work by @thomaseizinger is happening here https://github.com/libp2p/rust-libp2p/pull/3099.

Actually it is https://github.com/libp2p/rust-libp2p/pull/3254.


Fix spelling

fix spelling import -> important

@fitzgeraldsteele : Thanks for your contribution! The author, @RicksterCDN, has been notified to review your proposed change.

Sorry for the delay - looks good to me. #sign-off

@v-shils : Thanks for your contribution! The author, @RicksterCDN, has been notified to review your proposed change.


Create a reusable library for ocitools generate

The generate code could be converted into a library that could be consumed in other projects.

@hmeng-19 could you look into this?

@mrunalp , okay. Start it.


bump embedded-storage-async to 0.4

I just haven't found a way to revert the altered stm-metapac contents due to building.

you can fix it like this:
git fetch
git rebase origin/master
git reset origin/master

this'll remove the commits you did, but still leave the changes on disk, pending to be committed. Then you can add the files you do want to commit with git add and then do git commit and then force-push the changes because this rewrites the history with git push -f

bors r+

How do we fix merge conflicts in this workflow? Does it wait me to merge it on my local?
Shall I merge embassy/master to this branch?

Yes, you can do that. Ideally do a rebase, but I've not looked into how complex resolving the conflict is.

@lulf shall I touch boot/lib.rs test_verify?

@mehmetalianil Yes, the in memory 'test flash' needs to be updated as well

So it seems that in order to use async functions in traits we need to use an unstable feature.
In several parts in embassy this is guarded by
#![cfg_attr(
    feature = "nightly",
    feature(async_fn_in_trait)
)]
#![cfg_attr(feature = "nightly", allow(incomplete_features))]

Well, I am going to try this out on the bootloader but if you think that it is too intrusive to alter even the package manifest, I would understand.

The issue is that test_verify would then need to be feature gated by nightly, which might be suboptimal.
I think this change actually enforces nightly for this test to run with async storage traits .Are we okay with that?

So it seems that in order to use async functions in traits we need to use an unstable feature. In several parts in embassy this is guarded by
#![cfg_attr(
    feature = "nightly",
    feature(async_fn_in_trait)
)]
#![cfg_attr(feature = "nightly", allow(incomplete_features))]

Well, I am going to try this out on the bootloader but if you think that it is too intrusive to alter even the package manifest, I would understand.

That sounds good to me, go for it


TransformEntriesToType: readme extended, fixed small issue

@TimBeyer as requested I extended the README.md. You will find the problem with the fetcher.ts also in this PR. Due to that change it also made sense to remove the method isEntryTransformToType from the intend interface.
The problem is that we need the entries of all content types since we are tryíng to update the parental entries and replace the old linked entries to the newly created ones. The parental entries can be of every possible type in the space.
The following filter prohibits this even when the id collection is empty:
const filter = {
    'sys.contentType.sys.id[in]': ids.join(','),
    'sys.archivedAt[exists]': 'false'
}

Could you separate the PRs so that we have one clean PR branched from master that does the readme change, and then we can fix the ID filter separately.

@TimBeyer yeah. true that was not so clever actually. I also saw that it is fixed already 😃 will close down this PR and create a new one for the readme file.


hyprexpo: Failed initializing hooks

I'm encountering this very vaguer error when I try to load hyprexpo.
~ > hyprctl plugin list
no plugins loaded

~ > hyprctl plugin load /nix/store/c3qqlwg0wf9lvgc5zhk7iq3k3jq8y6vx-hyprexpo-0.43.0/lib/libhyprexpo.so
error in loading plugin, last error: Plugin /nix/store/c3qqlwg0wf9lvgc5zhk7iq3k3jq8y6vx-hyprexpo-0.43.0/lib/libhyprexpo.so could not be loaded: plugin crashed/threw in main: [he] Failed initializing hooks

~ > hyprctl version
Hyprland, built from branch main at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: 2024-09-08
Tag: v0.43.0, commits: 0f594732b063a90d44df8c5d402d658f27471dfe

flags: (if any)

~ > hyprctl systeminfo
Hyprland, built from branch main at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: 2024-09-08
Tag: v0.43.0, commits: 0f594732b063a90d44df8c5d402d658f27471dfe

flags: (if any)

System Information:
System name: Linux
Node name: asahi
Release: 6.10.6-asahi
Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980

GPU information:
apple,agx-t8112

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240923.30439d9"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"

plugins:

might be due to a stdenv mismatch. Try overriding the stdenv to gcc14Stdenv.

Nope, still doesn't work with this override
(pkgs.hyprlandPlugins.hyprexpo.overrideAttrs (oldAttrs: rec{ stdenv = pkgs.gcc14Stdenv; }))

im sorry if this is turning into a nixos support thread but using .override gives me this error:
error: function 'anonymous lambda' called with unexpected argument 'stdenv'

You seem to be using hyprexpo and hyprland both from nixpkgs, so I guess I managed to break the plugins in the last update. I'll look into it.

@themg95 try adding this in your config, hopefully it works
nixpkgs.overlays = [
  (final: prev: {
    hyprland-plugins = prev.hyprland-plugins // {
      mkHyprlandPlugin =
        hyprland:
        args@{ pluginName, ... }:
        hyprland.stdenv.mkDerivation (
          args
          // {
            pname = "${pluginName}";
            nativeBuildInputs = [ final.pkg-config ] ++ args.nativeBuildInputs or [ ];
            buildInputs = [ hyprland ] ++ hyprland.buildInputs ++ (args.buildInputs or [ ]);
            meta = args.meta // {
              description = args.meta.description or "";
              longDescription =
                (args.meta.longDescription or "")
                + "\n\nPlugins can be installed via a plugin entry in the Hyprland NixOS or Home Manager options.";
            };
          }
        );
      };
    };
  )
];

I had to change prev.hyprland-plugins to prev.hyprlandPlugins for it to compile but nope, still the same error.

iirc I am running expo on my laptop on git and it is working

Yeah I'm also running git. The problem is hyprland 0.43 and the tagged 0.43 hyprexpo (same as git, for all intents and purposes).


Dev to master

What's wrong, damn day, yesterday I spent the whole day building RUST build, now this...

Need to finish with python 3.8 support...


spatial join: points inside polygon

quickly done as support for researchers, could be transformed to tutorial, coding club item,...
https://gist.github.com/stijnvanhoey/7b51017718834f150f781a256292904e

The tutorial is ready and has been merged to master in PR #137


ActiveDirectoryMsi Environment Configuration

Hello!
For the authentication option: ActiveDirectoryMsi for the ms sql odbc driver I would like to know how to set environment variables locally such that I can authenticate w/ an MSI. To do so i have set the following env variables:

AZURE_TENANT_ID
AZURE_CLIENT_SECRET
AZURE_CLIENT_ID

Currently when I attempt do to so it spits out an error:
message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Error 12029 opening URL http://<IP_ADDRESS>/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fdatabase.windows.net%2F

I believe this is because I am unable to set the AUTHORITY host. What environment variable needs to be set to configure this correctly? Thank you!

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

ID: 45a0e668-ba07-ce4f-2b40-b386650dcd99
Version Independent ID: 82d61083-b354-c135-5d3f-230555d13d57
Content: Using Azure Active Directory with the ODBC Driver - SQL Server
Content Source: docs/connect/odbc/using-azure-active-directory.md
Product: sql
Technology: connectivity
GitHub Login: @David-Engel
Microsoft Alias: v-daenge

@pboueri-kalderos Thanks for submitting feedback.
You do not need to set any environment variables to use Azure Active Directory Managed Identity (MSI) authentication through the Microsoft ODBC Driver for SQL Server. As long as you are running in the context of an Azure VM, App Service, or Function that supports Managed Identity, you simply specify Authentication=ActiveDirectoryMsi and, optionally for a user-assigned managed identity, UID=myObjectId.
Tenant is implied by the context of the Azure resource. And Client ID and secret do not come into play. Authority is obtained by the driver from the Azure SQL endpoint that is being connected to.
Regards,
David

Thanks @David-Engel, We're trying to connect, without the need for MFA which is required by our AD accounts and in a platform independent manner (i.e. mac too), to SQL Server by using AD.
I have explored this option: https://stackoverflow.com/a/61071850 which does use those credentials to pull in the token. Unfortunately the python ODBC client i am using (turbodbc https://turbodbc.readthedocs.io/en/latest/) does not expose a way to prepend attributes to the connection.
I was hoping that there are just some hidden configuration options for this SQL SERVER ODBC Driver authentication method, should we use them, would resolve this issue. It sounds like the Authority being obtained from the sql endpoint isn't working locally, because of some differences in how a VM/AppService/Function is configured. Is this something that could be replicated locally?

Is this something that could be replicated locally?

@pboueri-kalderos If I understand correctly, it sounds like you are trying to connect to a local SQL Server instance (not Azure SQL). If that's the case, you will have to use database authentication to get around your AD-imposed MFA requirement. SQL Server does not currently support token-based authentication. Other non-Azure AD auth options, like integrated Windows authentication aren't cross-platform, so that wouldn't work for you.
If you really are trying to connect to an Azure SQL database (just from a local client), you can try using Azure AD Integrated authentication. That does work cross-platform as of the latest version of the ODBC Driver 17 for SQL Server as long as you are able to set up a kerberos ticket on Linux/macOS clients. From your original post, it sounds like you are trying to use a service principal (basically an app registration) to authenticate and obtain a token yourself, then pass it to the ODBC driver. It sounds like it can be done through pyODBC, but not turbodbc.
One final tip: AAD Service Principal authentication was recently introduced in the .NET library Microsoft.Data.SqlClient:
https://github.com/dotnet/SqlClient/blob/master/release-notes/2.0/2.0.0.md#active-directory-service-principal
There is a good chance the same feature will be making its way into other drivers in coming releases. Most of the current drivers release twice a year and the ODBC driver's next release is in January.
Regards,
David

Thanks @David-Engel, I am indeed trying to connect to Azure SQL and do what you describe. I have seen the option about setting up kerberos, and think it is too heavy a dependency for our use case and not something we want to try to do. Thanks for the tip on using AAD Service Principal; I agree that would achieve what I am trying to do!
We can close this ticket. I believe I misunderstand how MSI works and will do some more reading. If there was a way to configure it as i described originally, I think it would be a more obvious path.

@pboueri-kalderos This might help, too: https://www.npmjs.com/package/msilocal
Looks like someone created a local MSI emulator if you are node.js savy.


Fall back to deprecated starting token parser

A recent change to paginators broke customers who were manually crafting pagination tokens in services where they did not make them opaque. This adds support for the old starting token format while still returning next tokens in the new format. If we are unable to parse the starting token in the new format, we'll attempt to parse it with the old format.
This addresses the root cause of aws/aws-cli#1835, but the docs should be updated to reflect the new tokens.
cc @kyleknap @jamesls

Looks good. You pretty much copied code from the old implementation :ship:. Did you test your implementation with some of the services where we saw regressions? It may not hurt to add an integration or functional test for one of those services like rds or route53.

:shipit:  You can also use s3 as well for an integration test.  There'a already some existing tests for pagination so it might be easier to build on those tests.

tests added

Thanks! :ship:


chore(main): release 1.5.0

:robot: I have created a release beep boop
1.5.0 (2023-12-01)
🚀 Features

cmd/stats/stories: handle archived stories (dd774d9)
cmd/stats/stories: handle stories with no epics (494b006)
stats/stories: handle global stories counter (bfae084)

🐞 Bug Fixes

epicstat: handle no stories (ea8ee0f)

🛠 Refactor

cmd/stats/stories: simplify path of init map (d5a995e)
epicstats: wording on function (f301e46)
flag: add short debug flag (875cb61)
models/shortcut: wording on fields (b5d48fa)

🧰 Other

cmd/stats/stories: arrange output (e248a6c)
cmd/stats/stories: wording (9f25ced)
cmd/stats/stories: wording (7e43e12)

📚 Documentation

README: massive update on example and usage (11b8f9c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/lederniermetre/shortcut/releases/tag/v1.5.0 :sunflower:


ENH:  Ion rate

When looking at ions in general, the particle rate is important to determine the TID and NIEL damage.
Currently, all formulas are special cases for A=Z=1 a.k.a protons and have to be adapted for generic ions

Code and formulas are adapted in release_v2 since #8


Closes: #1 Update validation.py

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

@googlebot I signed it!

@googlebot I signed it!