custom dataset

Sorry for bothering again,
thanks so much for providing script to load the custom dataset, and I have one question that if i use the imageFolder to load the image from various classes, the sequence seems really regular and organized.
Do I need to change the sequence and make them distribute ramdomly ilke MNIST/CIFAR, or I can just take the data into your script?
Thank you so much for your help.

Yes, good point! The data should be shuffled. ImageFolder doesn't. DataLoader takes a sampler argument where you can specify a deterministic shuffling. Deterministic because the idea is each of the different dataloaders should be sampling the same image in each timestep. I'll try to write a simple deterministic sampler and change the code to use it.
Or you could just set shuffle=True for the dataloader. Then it's slightly different from what we did in the paper but may still work.
(I didn't use ImageFolder in any of the original experiments so did not come across this issue.)

Thank you so much for your detailed explanation.

I added deterministic shuffling for ImageFolder.

Thank you so much for your support!


Installation of ACS AEM Commons 3.18.2 package on AEM 6.4 is taking long time

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.4.0
[ ] ACS AEM Commons Version: 3.18.2
[ ] Reproducible on Latest? yes

Expected Behavior
Usually the package get installed in few seconds
Actual Behavior
The package installation is not ending.
I have tried to install ACS AEM Commons 3.18.2 package on an upgraded customer environment, running 6.4.0. The package installation is parsing the whole /content/* , and when the repository is very big, looks like the installation will not end. I left the package in installation phase for 2 days and it didn't finish yet.
After few days, I stopped the 3.18.2 package installation and started a new one with 3.17 version which ended in ~20 seconds.
Steps to Reproduce
Within a big content repository try to install ACS Commons 3.18.2 version using package manager, and look for the progress bar. You will notice the installation will parse the every element in /content/*

@csimion19 can you provide any logs of the "parsing" of /content?
The only reason i can think of for this would be an issue with the filter.xml that makes package manager think it needs to snapshot all of /content .. or something like that. But the 2 filters for /content are explicit rep:policies and have been in the project for 2 years..

Looked at this offline with @csimion19 - does not appear to be an issue with ACS Commons, but rather some other OOTB packages.
Closing. If this turns out to be ACS Commons related, we can re-open.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/39205

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/41411
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>"<PHONE_NUMBER>eb3aa079c6c99249fe2cde7903fedd
git push origin v0.2.0

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/41411

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/41424
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" 79aa4c440592783287fec593e6aa6fda88e3ffce
git push origin v0.2.1

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/41424

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/42457
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.3.1 -m "<description of version>" b0e34ec56599c9f2ceb1e8604985468df38a6d2b
git push origin v0.3.1

Also, note the warning: Version 0.3.1 skips over 0.3.0
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/42458
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.3.0 -m "<description of version>" f61731dff904e84ecc6d2eaef24367c8f0eaad22
git push origin v0.3.0

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/42458

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/61722
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.0 -m "<description of version>" 825c9b4a6194ea76639d30ec173b32a2441b0d9d
git push origin v0.4.0

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/61722


⚠ Jerry Savelle Ministries International Australia has degraded performance

In a40172c, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 7268 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in ba6faf5 after 5 minutes.


Optimize query performance of series index

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Fixes apache/skywalking#12239.
[x] Update the CHANGES log.

Is there benchmark or some reports to indicate how much this will improve?

Not yet. Let me add one.


Update status of SE-0143

Corrected the status to indicate that his has been implemented in Swift 4.1 as per https://swift.org/blog/swift-4-1-released/

Technically it is fully implemented in 4.2.  Support for dynamic casting with conditional conformances landed in 4.2.  So while the bulk of the feature arrived in 4.1 (as reported in the blog post) the rest of it landed in 4.2.


Lua debugger crash

I'm using ZeroBraneStudio (latest git version). When I create image and put cursor on top of image variable or put image variable to variable watch then debugger will crash. I think image needs __tostring() metamethod.
local image = vips.Image.new_from_file(path)

It looks like it's some confusion about array indexing. I don't see a crash, but there is an error message instead of watch text.
lua-vips tries to overload [] for band extract, so you can use:
g = rgb[1]

But it follows libvips in numbering bands from 0. If you change:
https://github.com/jcupitt/lua-vips/blob/master/src/vips/Image_methods.lua#L790
to:
        return table:extract_band(index - 1)

ie. number bands from 1, then the debugger starts displaying watch values. But it's not using the __tostring(), strangely, instead you see things like:

If I set:
debugger.showtostring = true

In my user.lua it starts working for me.
Perhaps we should remove the attempt at [] overload? It's seems likely to cause confusion and break things.

OK, [] and # overloads removed. Thanks!

1.1-5 pushed to luarocks with these changes.

All works, thanks.


fix expand button color

before:

before (hover):

after:

after (hover):

I've realized I sent the before and after images while using a wrong theme, sorry.
Here are the correct comparisons:
before:

before (hover):

after:

after (hover):

Thanks, looks great!


Cannot compile for UWP with Commands

Describe the bug
Building application for UWP does not compile if there are Commands with ignoreAuthority=true and the sender parameter.
Repro project
Here : https://1drv.ms/u/s!AuXJvg2xgZKlnTgg-4YM3jtS2_V2?e=J9cO9d
The project is very simple. It has a game object with a Bug script. The Bug script sends a Command in OnStartClient. The server gets the sender's NetworkConnection and calls a TargetRPC with that connection.
To Reproduce
Steps to reproduce the behavior:

Open the attached project.
Try to compile for windows. => It compiles.
Try to compile it for UWP. => It does not compile.
The error is

void Bug_CallCmdLog_m4A5A8C2E546572A547D73EE5CC7EC0CBD4CD2874(Bug_t48724CC80E3C28DEF9A8FFB2377FBE50A0521AFB *,NetworkConnectionToClient_tE916DCEABAD1E8B9B9CF24EC005ABC619FD07CBD *,const RuntimeMethod *)'?: cannot cast parameter 2 from 'NetworkConnection_tB7F48309DFDE730F2B8365840A48DFF388C8D553 *' to 'NetworkConnectionToClient_tE916DCEABAD1E8B9B9CF24EC005ABC619FD07CBD *'

Note that the error I have from my compiler is in french. Therefore, I translated it for this issue, so it may not be this exact error message with an english compiler.

I have found a workaround. I replaced all my NetworkConnectionToClient by NetworkIdentity. Everytime, I need to know the sender, I pass NetworkClient.connection.identity as the sender, or null otherwise.
I just had a problem in one case: in OnStartClient of one of my NetworkBehaviour, it appears NetworkClient.connection.identity is null. Maybe it is not initialize yet at this point. Thus, I ran a co-routine which sends the command only when NetworkClient.connection.identity is not null.

The same issue has been reported in a new ticket #2122 .
I close my issue and start following this new one.


Fix for the checkbox filters on tables

This PR adds a timeout before applying changes to filters when clicking a checkbox. Before it had no timeout, so some browsers weren't able to process the filter fast enough.

Looks good man :+1:


[WIP]: Adds ability to clear obsolete reports in Offences pallet

Fixes https://github.com/paritytech/srlabs_findings/issues/224
As discussed in https://github.com/paritytech/substrate/pull/13936#pullrequestreview-1399674935, this PR introduces SessionReports that are sorted by SessionIndex. On start of a new session, reports that  are older than max_session_report_age are removed.
Todo:

~Add a start hook to call clear_obsolete_reports at the appropriate time.~
Reject offences older than max_session_report_age at the time of reporting itself
Update params for offences pallet everywhere

Will need a migration to clear existing data once max_session_report_age has passed.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2754914

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2775907

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784611

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784616

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784615

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784617

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784664

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784670

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784715

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784719

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784721

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable-int
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784831

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784826

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784824

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784825

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2784908

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2785625

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable-int
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2785621

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2802232

bot fmt

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2810041

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2812809

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate-macos
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2813256

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate-macos
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2815116

I have a further testing plan as well:
Recently, someone developed a root-offences pallet exactly for testing such cases. But I don't think anyone at Parity is actively owning this pallet's usage.
The goal would be to add this pallet to eg. Westend and Rococo (probably the former, as it has a lot of nominators) and test and e2e slash going through correctly. Part of that would also be to observe how the pallet behaves with concurrent offences and such, and when the offences are cleared.
I highly encourage this as this is a super critical code path that is not often exercised in eg. even Kusama.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3107837


Installation of JSCIPOpt for Windows and IntelliJ

We have some trouble setting up JSCIPOpt under Windows and IntelliJ. The error message is an unsatisfied link:
Main Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Backend\JSCIPOptTest\lib\jscip.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at Main.main(Main.java:9)

Steps that we have completed successfully:

we created a new Java project in which we want to use JSCIPOpt
installation of Visual Studio 2019
cmake.exe .. -G "Visual Studio 16 2019" -DSCIP_DIR="C:\Program Files\SCIPOptSuite 6.0.2\build"
we copied jscip.dll and scip.jar into a folder "lib" in our project
we added the folder "lib" to our class path ("project structure"  > "Library" > "+" "lib")

OS:

Windows 10 64bit
IDE: IntelliJ Community 2019.1

The message Can't find dependent libraries sounds like we are missing additional libraries. What can we try next?

Did you add <absolute path to SCIP Optimization Suite>/build/bin/{Release,Debug} to the PATH variable of Windows?

When installing SCIPOptSuite 6.0.2 in windows we get the error:
Warning! PATH too long installer unable to modify PATH!

Have you seen this before? What can we do?

No, I have never seen this before. From this, I would guess that it is not related to SCIP.

Right. When installing SCIPOptSuite-6.0.2-win64-VS15.exe and not adding to path the installation finishes with a SCIP suite folder that contains three folders:

bin
include
lib
inside bin there are four files:
scip.dll
scip.exe`
soplex.exe
zimpl.exe

Does this look correct to you? It is missing the /build/bin//Release part of the path you mentioned above

Ok. We fiddled again with the IntelliJ PATH settings and added the path to the bin folder and now it works.

The structure of the directories looks correct. I just wanted to say that the documentation only mentions the build directory, but sure, you can also install SCIP.

Very good! I'm not to familiar with Java, but making JSCIPOpt work on Windows seems to be a tough nut.


Create a default sample artifact store

The Jupyter Notebook demos currently allow the creation of a sample artifact store, but they have no instructions on how to access it through the MLTE UI, and they may not be too easy to run. Find a way to have a sample artifact store and instructions to easily use it.
NOTE: it may be possible to improve the compatibility of the notebooks and have the instructions just be a script to run all those notebooks and generate the results. Note however, that this could be really slow, so having an updated version of this already store in the repo could make it easier for people to see how things look like when using the UI.

Start at least with the negotiation card, in a subfolder in the /demo folder.
Update docs for getting started to point to this negotiation card.

Attached is a negotiation card for the flower identification model. Because it is simply an example, I want to make sure that it fits well with the model and the test code.
@rbedman Can you take the first pass and review everything, especially Development Compute Resources and the Input and Output Specifications. I also need help with the Data Section. The easiest, I think, would be to do this in the UI? The name of the model is flower-classifier and the version is 1.0
@sebastian-echeverria After Rob is done, your review would also be useful.
Thanks

Grace,
I can't figure out how to view that in the ui - but I looked at the raw
javascript and think we are broadly in agreement for quality attribute
scenarios - slightly different wordings (mine are wordier - and somehow I
have two more).
Here is my version of the same that I made in the notebook. I've also got
the data in this version - something we should talk about on Tuesday is
that, given the number of labels, the data and label descriptions will be
harder to enter through the UI. We can discuss that on Tuesday
--Rob
On Thu, Sep 26, 2024 at 4:47 PM Grace Lewis @.***>
wrote:

Attached is a negotiation card for the flower identification model.
Because it is simply an example, I want to make sure that it fits well with
the model and the test code.
@rbedman https://github.com/rbedman Can you take the first pass and
review everything, especially Development Compute Resources and the Input
and Output Specifications. I also need help with the Data Section. The
easiest, I think, would be to do this in the UI? The name of the model is
flower-classifier and the version is 1.0
@sebastian-echeverria https://github.com/sebastian-echeverria After Rob
is done, your review would also be useful.
Thanks[image: flower-classifier-1-0.json]
https://github.com/user-attachments/files/17155843/flower-classifier-1-0.json
—
Reply to this email directly, view it on GitHub
https://github.com/mlte-team/mlte/issues/462#issuecomment-2377907387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK3CLZTSZTUYWKEAYS56DDZYRXGBAVCNFSM6AAAAABNEJ5OKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXHEYDOMZYG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Attached is a new version of the Negotiation Card. There are a couple of things to do:
@rbedman Please take a look again and make sure that data, input specification, and output specification are correct. Notice the values that I have marked as outputs that indicate problems to make sure that your code matches those values.
@sebastian-echeverria Can you do a sanity check, especially for resource numbers?
flower-classifier-1-0.json

In the wiki we have 3000 b as the storage for the prod resources, which is what we are using in the demo, so I would change that from the 128 GB it currently has.

Assuming 3000B = 3MB, the new version is attached.
flower-classifier-1-0.json

Fixed in #489


Features that would break backwards compatability

General

pyfar version: >=0.3.0

Description

strict implementation of FFT norms (PSD and power without phase information)
dsp.group_delay and dsp.phase could return FrequencyDataobjects
rename xscale parameter to freq_scale in frequency plots, #279

we decided, we can still do such things in beta without going to version 1.0


Feature/gbd 2017 paf update

paf update to check its age groups with RR age groups

on hold until I finish the James' last comments :(

close it since there was a way too many changes in feature branch, will open again once it's ready


Add emoji picker in desktop view

Someone suggested that we should add an emoji picker (similar to facebook) in desktop view for post form. It's quite hard to add emoji.

Could this be accomplished using external libraries? Or is a native implementation preferred?

Could this be accomplished using external libraries? Or is a native implementation preferred?

Yeah, it would be preferable to use external libraries.


add deletionApprovals for Cloudflare accounts

part of https://issues.redhat.com/browse/APPSRE-6478
This renames the AWSAccountDeletionApproval_v1 schema to a more generic name DeletionApproval_v1 and adds it to the CloudflareAccount_v1 schema
The object definition for a deletionApproval is also extracted out of AWS and Cloudflare accounts schemas into a common definition
This is required by https://github.com/app-sre/qontract-reconcile/pull/2896

you don't have to put deletionApproval in the common schema. you can put it in its own schema file and reference it.
example: https://github.com/app-sre/qontract-schemas/blob/eb2e10ba64da98f0c8b8de9bc6e17cb518233bc8/schemas/openshift/external-resource-1.yml


[backport-v2.5] [nrf fromlist] net: tcp: Rework data queueing API

Just switched to [nrf fromtree] commits with the recent push (upstream PR was merged).


[heartbeat] add description for survey model and view

Add a description field to the model making it optional with a default
value of "". Update SurveyAdmin to list the description field. Update
the template used by survey view in the analyzer section to display the
description field

Fixed the code to use single quotes for string

Looks great!

1c6eda9 [bug 1122060] add description for heartbeat survey model
Thank you!


Move imports in dsmr component

Description:
Moved imports from functions to top-level as requested in #27284
Related issue (if applicable): fixes #27284
Pull request with documentation for home-assistant.io (if applicable): n/a
Example entry for configuration.yaml (if applicable): n/a
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the [development checklist][dev-checklist]

PR duplicate, searching unfortunately had not seen request: #27891

I mistook the flaps and improperly closed my pull. 😬


RFC 15 breaks expectations of uses of Signal.like

Consider:
from amaranth import *
from amaranth.hdl.ast import ShapeCastable
from amaranth.lib import data

x = data.StructLayout({"v": 1})

class Y(data.Struct):
    v: 1

sx = Signal(x)
print(sx, type(sx), isinstance(type(sx), ShapeCastable))
# <amaranth.lib.data.View object at 0x7fa1157e76d0> <class 'amaranth.lib.data.View'> False
sy = Signal(Y)
print(sy, type(sy), isinstance(type(sy), ShapeCastable))
# <__main__.Y object at 0x7fa1157e7ca0> <class '__main__.Y'> True

sxl = Signal.like(sx)
print(sxl, sxl.shape())
# (sig sxl) unsigned(1)
syl = Signal.like(sy)
print(syl, sxl.shape())
# (sig syl) unsigned(1)

We can fix this easily for values whose Python type is shape-castable (this is entirely within defined protocol), but there's no way to go from a View instance to its Layout besides Layout.of. Just like RFC 8 and RFC 15 themselves replaced special-casing in lib.data with a general protocol, we'll likely need to add a protocol to replace Layout.of in a general way, such that Signal.like can call new_function_to_extract_shape_castable_from_value(other)(Signal(other.as_value()).

It turns out that this is a problem for more than just Signal.like; it is also a problem for the use of Layout.of with non-View classes. Example:
from amaranth import *
from amaranth.lib import data

class A(data.Struct):
   a : unsigned(1)

layout = data.Layout.of(Signal(A))
print(layout.members) # AttributeError: type object 'c' has no attribute 'members'

This should be fixed by RFC 22.

See https://github.com/amaranth-lang/amaranth/issues/876.


[Bug] Callout Indentation Bug

Describe the bug
When indenting in callouts, the symbol ">" incorrectly moves to the left.
Just like this:

No indentation:

1 indentation (press tab once)

2 indentations

To Reproduce

Create a callout.
Start indentation.

Expected behavior
The behavior should be the same as the default theme.
The symbol > should stay in its place.
Screenshots
See above, please.
Setup Information

Device Type: PC
Operating System: Win11
Prism version: 3.2.1
Color Schemes Used: Swan
Obsidian Version: 1.1.16
Obsidian Installer Version: 1.1.16
Related Community plugins: I don't think this relates to any plugins. I tested it in the Sandbox environment.

Additional context
None at the moment. If you need it, please inform me.
Thanks for making this theme and I really love it!

I'm sorry that I just found this duplicated.


URI schemes are strange

At https://github.com/tpm2-software/tpm2-openssl/blob/1.2.0-rc1/src/tpm2-provider-store-object.c#L59 we seem to use object: as the URI scheme for... a file? Shouldn't that be file: ?
Then at https://github.com/tpm2-software/tpm2-openssl/blob/1.2.0-rc1/src/tpm2-provider-store-object.c#L63 we use handle:. That's a really strange choice; shouldn't it have tpm somewhere in the scheme name?
See https://www.ietf.org/archive/id/draft-mavrogiannopoulos-tpmuri-01.txt for example, which defined a URI scheme for TPMv1.2 keys. Let's do this properly for TPMv2 too?
Tag @jejb

Well, everything can be improved. The object scheme was just easier to implement.

On Fri, 2023-05-19 at 04:01 -0700, David Woodhouse wrote:

At
https://github.com/tpm2-software/tpm2-openssl/blob/1.2.0-rc1/src/tpm2-provider-store-object.c#L59
 we seem to use object: as the URI scheme for... a file? Shouldn't
that be file: ?

Technically it is.  The default file scheme, which every provider also
uses, has an optional file: prefix.

Then at
https://github.com/tpm2-software/tpm2-openssl/blob/1.2.0-rc1/src/tpm2-provider-store-object.c#L63
 we use handle:. That's a really strange choice; shouldn't it have
tpm somewhere in the scheme name?
See
https://www.ietf.org/archive/id/draft-mavrogiannopoulos-tpmuri-01.txt
 for example, which defined a URI scheme for TPMv1.2 keys. Let's do
this properly for TPMv2 too?
Tag @jejb

You want to know what I use in my provider?  By default //nvkey for
backwards compatibility with the engine:
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git/tree/src/provider/store.c#n14
But it's also settable to anything in the config file.
James

Agreed. Files have no place in such a URI format because we have file: URIs for that, and the standard PEM form that we've already agreed on covered by your doc at : https://www.hansenpartnership.com/draft-bottomley-tpm2-keys.html
The other parts of that older draft made sense for TPMv1.2 but things are different for TPMv2 so a new definition is needed. I was merely presenting it as an example of the genre.

FWIW my 2 cents:

file: for files
handle: for persistent (and transient; even though irrelevant) handles
tss2: for TSS2 objects (e.g. tss2:/nv/owner/mykey)
no-prefix:

if starts with 0x then handle:
else file:

I agree that object: is weird.
Proposal:

Let's agree on a scheme for TPM 2.0 (let's discard the TPM 1.2 scheme)
I propose to agree on aforementioned scheme
Let's keep object: in this project but mark it as deprecated

I finally got round to updating http://david.woodhou.se/draft-woodhouse-cert-best-practice.html to include TPMv2 support. It references James's ASN.1 draft but laments the lack of a URI form for TPMv2 as I didn't think I could use https://github.com/tpm2-software/tpm2-openssl/issues/71#issuecomment-1560914554 as a normative reference.
I'd love to see that defined somewhere I can reference it, even if it's just an extra one-line section in James's doc?


Avoid Python GIL in write_to, sorting, Levenshtein

Saving to disk is an IO-intensive operation. Sorting and string alignments are also quite expensive. Unlocking the GIL we can allow multi-threaded Python scripts to perform such operations concurrently, not hurting each other.

:tada: This issue has been resolved in version 3.6.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create a Generic tracing library (based on uprobes) to dynamically trace applications.

Create a generic tracing library which will use uprobes to generate trace spans for software which wasn't instrumented with Jaeger/Otel etc.

Take a look at: https://grafana.com/blog/2023/09/13/grafana-beyla-open-source-ebpf-auto-instrumentation/


Add inplace parameter for DocArray operations

Add parameter inplace for all operations that might modify Document and DocumentArray.
Default value is True for compatibility

hmm is this really needed? i'd like to here more rationale and API pseudo code before starting

Currently, in case you need to operate on a converted attribute without really modifying the Document, you need to first copy, convert and then use.
For example, suppose we want to send Docs with image URIs and only convert image uri to tensor when we want to embed (no need to index Docs with image tensors), you'd do:
class Encoder(Executor):
    def encode(self, da: DocumentArray, **kwargs):
        for d in da:
            d.embedding = deepcopy.copy(d.load_uri_to_image_tensor())\
                                       .embed(model).embedding

The new API would be:
class Encoder(Executor):
    def encode(self, da: DocumentArray, **kwargs):
        for d in da:
            d.embedding = d.load_uri_to_image_tensor(inplace=False)\
                                       .embed(model).embedding

The parameter inplace=False means returning a modified copy of the Document instead of modifying and returning the same reference

but this is too much, think about the type annotation and documentation you need to change.

We don't have to change the return type. We can keep returning the same reference in case inplace=True (by default) in order to keep the fluent interface and for compatibility. The discussed feature would only extend the behavior of some methods and we should only narrate the new behavior in case inplace=False

closing since this task is no more in plan


implemented generate all subsequences of given string

Summary
Added the implementation for Generate All Subsequences in three programming languages (Java, C++, Python) and updated the RoadMap.md file.
Issue Link
Fixes https://github.com/imsuraj675/CodeStock/issues/2.
Changes Made
Created a new folder Subsequences/ containing:

gen_subseq.java
gen_subseq.cpp
gen_subseq.py
-README.md
Updated RoadMap.md to include a hyperlink to this folder and checked the relevant box.

Checklist

[x] Added code in Java, C++, and Python.
[x] Updated RoadMap.md with a checkbox and hyperlink.
[x] Verified all files compile/run without errors.
[x] Added meaningful comments and test cases in the code.

Good work


go bug

What version of Go are you using (go version)?

$ go version
go version go1.20 darwin/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/pavan/Library/Caches/go-build"
GOENV="/Users/pavan/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/pavan/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/pavan/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.20"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/pavan/Desktop/project3/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cx/mx974mqn49n2rl5xbt6m05l80000gn/T/go-build1297795665=/tmp/go-build -gno-record-gcc-switches -fno-common"
GOROOT/bin/go version: go version go1.20 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.20
uname -v: Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H2026
lldb --version: lldb-1<IP_ADDRESS>
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)

What did you do?

What did you expect to see?
What did you see instead?

Related Issues

go #64466 (closed)
 #52089 (closed)
? #43227 (closed)
bug #49374 (closed)
go #49423 (closed)
Update #47124 (closed)
s #52224 (closed)
c #35257 (closed)
Test #70447 (closed)
test #43061 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)


Hi I want to play audio to caller, is it possible on A9 Board

1. SDK version（SDK 版本）
{
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
}

I am also looking on how to play audio to the caller, the current SDK error out as AUDIO_ERROR_BUSY_CALLING, it there a way to notify the caller via some audio.


tests: boards: altera_max10: move the tests to new ztest API

Move following testsuites to new ztest API:

tests/boards/altera_max10/i2c_master
tests/boards/altera_max10/msgdma
tests/boards/altera_max10/qspi
tests/boards/altera_max10/sysid

PS: Unlike other boards, for these tests I did not run them because of not having board in hand.
But I think the risk is low to merge it because there only one test in one test suite (that means it will not have a dependency problem). Of course it would be great and I appreciate if someone has this board please help on verifying it.

PS: Unlike other boards, for these tests I did not run them because of not having board in hand. But I think the risk is low to merge it because there only one test in one test suite (that means it will not have a dependency problem). Of course it would be great and I appreciate if someone has this board please help on verifying it.

Just an aside, this is where the value of having bus emulators. I think that should be a next step for us upstream so we can run tests without the need for hardware.


Game Page - Game View

AS A Logged User
I WANT TO Play the game right after I click start in the Game Page Start View
SO THAT I can enjoy the game with the settings I previously chose

<EMAIL_ADDRESS>


nsc-events-nestjs_4_60_auth-service-unit-test-pr2

resolves #60

Please work on making sure your commits are signed. I’m going to merge this anyway because it is the last week of the quarter but remember that it is best practice to have signed commits.


How to verify if a USIM is programmable or not?

Thanks for your great document. We have a USIM and a SIM programmer, how we can verify that our USIM is programmable or not?

Well, when you buy the SIM if they provide information such as KIC1, KID1 and KIK1 per SIM card then you can be sure its a customizable SIM

Thanks a lot for guidance.


FIX-#4197: Remove redundant warnings

Signed-off-by: izamyati<EMAIL_ADDRESS>
What do these changes do?

[x] commit message follows format outlined here
[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #4197
[ ] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date
[ ] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

@Garra1980, I forgot to mention that we needed to add a release note. Please, do that as part of a new PR.


Improve hpack decoding across continuation frames

Currently, it just buffers all continuation frames. It would be nice if it did something different!

cc #191


Louisville contains the ConvertPdfToJpgJob and an override in create_with_files actor. BUT this should not be needed if the IiifPrintUploadActor is working correctly. verify that pdfs get split in to images and then close this ticket

Depends on #11

LaRita to follow up on this ticket after completing #11

Ok to close this ticket per @laritakr No override is needed, the splitting is working locally.


Is Wireless MBus supported?

Hi and thank you for your repo.
Quick question, is Wireless MBus supported?

I am also interested in this one! 🙂


Failure in FMAP and

What happened?
Processing (multiband) data from ADNI3 I noticed many subjects showed failure to coregister the fmap reference (magnitude image) with de EPI image, resulting in a very problematic distortion after SDC. A sample of the problem is attached.
The fmaps where provided as magnitude/phasediff pairs.
What command did you use?
singularity run -B /home/lni/data/ADNI3/work:/work -B /home/lni/data/ADNI3/bids:/data:ro -B /home/lni/data/ADNI3/out:/out -B /home/lni/data/freesurfer/7.4.1/license.txt:/opt/freesurfer/license.txt --cleanenv fmriprep.simg /data /out participant -w /work --ignore slicetiming --nprocs 8 --output-spaces fsaverage MNI152NLin2009cAsym --return-all-components --participant-label $sub

What version of fMRIPrep are you running?
latest
How are you running fMRIPrep?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
No response
Additional information / screenshots

hi @ikarmann - there is a significant refactoring ongoing that may address this. once a prerelease is available, i'll ping here so you can try it.


Change server date time to user timezone

Change server date time to user timezone

I am not sure shall we make this update on server or on client side.
Have you checked how point_of_sale module handle timezones?

I got the error when I clicked on the "Show debt history" button
Odoo Server Error
Traceback (most recent call last):
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/http.py", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/http.py", line 675, in dispatch
result = self._call_function(**self.params)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/http.py", line 331, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/service/model.py", line 119, in wrapper
return f(dbname, *args, **kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/http.py", line 324, in checked_call
result = self.endpoint(*a, **kw)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/http.py", line 933, in call
return self.method(*args, **kw)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/http.py", line 504, in response_wrap
response = f(*args, **kw)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/addons/web/controllers/main.py", line 885, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/addons/web/controllers/main.py", line 877, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/api.py", line 681, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/api.py", line 672, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/addons/pos_debt_notebook/models.py", line 69, in debt_history
r2['date'] = self._get_date_formats(r2['date'])
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/addons/pos_debt_notebook/models.py", line 96, in _get_date_formats
date_format = lang.browse(lang_id).date_format
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/fields.py", line 870, in get
self.determine_value(record)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/fields.py", line 972, in determine_value
record._prefetch_field(self)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/models.py", line 3070, in _prefetch_field
result = records.read([f.name for f in fs], load='_classic_write')
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/models.py", line 3010, in read
self._read_from_database(stored, inherited)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/models.py", line 3138, in _read_from_database
cr.execute(query_str, params)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/sql_db.py", line 141, in wrapper
return f(self, *args, **kwargs)
File "/mnt/odoo-extra/runbot/static/build/05332-296-a5e549/odoo/sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
File "/usr/lib/python2.7/dist-packages/psycopg2/extensions.py", line 129, in getquoted
pobjs = [adapt(o) for o in self._seq]
ProgrammingError: can't adapt type 'res.lang'

@iceship in Receipt odoo use js converting:
date.toLocaleString(),

it should be more easy to implement. What do you think?

@ufaks I've fixed the issue you found

I works. Thank you @iceship for sharing


build: patch Windows container, fixing Node 10

temporary patch broken Windows container, such that tests can be run on Node 10

@bcoe looks like the documentation for this client is not published upstream (which results in a link 404). Should be good to 🔨 this one

I have a PR open to publish docs for datalabeling, which will stop docs tests from failing.


Add 4K/scaling support on Linux

Overview of the Issue
RuneLite does not scale to a 4k resolution (3840x2160) regardless of X DPI setting or specific launch settings. While there does not seem to be any scaling on Linux, I do not have a Windows system to test if this issue is exclusive to Linux.
Java Version and Operating System
[dws@refrigerator ~]$ java -version
openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+11)
OpenJDK 64-Bit Server VM (build 9.0.4+11, mixed mode)
[dws@refrigerator ~]$ uname -a
Linux refrigerator 4.16.5-1-ARCH #1 SMP PREEMPT Thu Apr 26 16:53:40 UTC 2018 x86_64 GNU/Linux
[dws@refrigerator ~]$ screenfetch -n
 dws@refrigerator
 OS: Arch Linux
 Kernel: x86_64 Linux 4.16.5-1-ARCH
 Uptime: 1d 17h 37m
 Packages: 1081
 Shell: bash 4.4.19
 Resolution: 3840x2160
 WM: i3
 GTK Theme: Adwaita-dark [GTK2/3]
 Icon Theme: Adwaita
 Font: Cantarell 11
 CPU: Intel Core i7-6700HQ @ 8x 3.5GHz [25.0°C]
 GPU: GeForce GTX 960M
 RAM: 1924MiB / 15863MiB

Reproduce the Error
https://i.imgur.com/hO23zIK.png
https://i.imgur.com/jA78Phd.jpg
Possess a 4K screen and a Linux installation, and launch RuneLite by the standard java -jar RuneLite.jar. Different versions of Java don't seem to make a difference and neither does specific launch settings like -Dsun.java2d.uiScale=2.
Related Issues
#858 #715
Suggest a Fix
RuneLine could detect your resolution and automatically set a scaling factor, or maybe there could be a slider or input box somewhere that asks for a scaling value.
Workarounds
I can play normally by setting my resolution to 1080p before launching RuneLite. I prefer to do this by having two separate X servers with separate resolutions: 4K on tty1 and 1080p on tty2. This allows me to easily switch between the two without the scaled-down resolution needed for RuneLite messing with my other applications.

I think we don't know how to fix this on Linux. The launcher release uses Windows DPI scaling on Windows and it works well. If newer Java versions cannot scale it and your OS also cannot scale it, we can't do anything about it in the immediate future.

Another common solution is to add the option to manually set the application scaling in the settings, because detecting scaling settings on linux can still sometimes be fucky.

In case anyone is still looking for a solution, using GDK_SCALE=2 works with OpenJDK 11:
export GDK_SCALE=2 && java -jar RuneLite.jar

Like the suggestion above, as a temporary workaround, I was able to get good HiDPI scaling on Linux after installing Oracle JRE9 and using:
export GDK_SCALE=2; java -jar RuneLite.jar

This seems like bug with JVM. But, for me DPI scaling works on Linux. Anyway, closing because its not related to RuneLite.

Like the suggestion above, as a temporary workaround, I was able to get good HiDPI scaling on Linux after installing Oracle JRE9 and using:
export GDK_SCALE=2; java -jar RuneLite.jar

This works as of writing this comment. Thanks! Wish there was a fix in the 2 years since you posted this though!

It worked for me too. In my case, I'm playing on Pop!_OS 21.04 with RuneLite installed from Flathub.
In case anyone stumbles upon this and is playing the Flathub version, I easily fixed the scaling with this command
flatpak override --user --env=GDK_SCALE=2 net.runelite.RuneLite


Rebased EndpointSliceTerminatingCondition

Resolved issue #38390 and rebase the issue and Made a new PR targeting the main branch as Instructed.

@YashPimple In the earlier (closed due to rebasing issue) PR, you have received the suggested changes to do and now here too those changes need to be done. Please consider the requested changes to the code and do so.
Thanks.

/retitle Updated docs for EndpointSliceTerminatingCondition
Please also summarize the PR (this is mostly not about how you produced the PR; instead you should principally summarize the effect of the proposed changes, and outline why we should merge it). You can edit the existing PR description.

@sftim @mehabhalodiya I have a doubt since this PR is closed so do I need to make a New PR for the above issue with the suggested Changes in it or do I make a new Commit to the same branch with the suggested Changes??

@sftim @mehabhalodiya I have a doubt since this PR is closed so do I need to make a New PR for the above issue with the suggested Changes in it or do I make a new Commit to the same branch with the suggested Changes??

@YashPimple The changes are requested in this PR only, so stay in the same branch and commit the changes, please. Thanks!
P.S. #38390 was closed by you due to the rebase issue.

@mehabhalodiya @tengqm made the required chances do have a look

@tengqm @mehabhalodiya made the changes please do have a look.

/approve

Resolves issue #38387

I'm concerned that a “stray” LGTM might get this merged too early.
I'll note https://github.com/kubernetes/website/pull/38701#issuecomment-1382742592 but I'll also:
/approve cancel
for now.

@YashPimple , it's better if you can squash your commits but just in case you don't have the time to
/label tide/merge-method-squash

@YashPimple , since this PR also fixes issue https://github.com/kubernetes/website/issues/38387 , can you also make the same changes to the Ready section in endpoint-slices.md similar to PR https://github.com/kubernetes/website/pull/37913

Sure @reylejano will make a PR to it

@mehabhalodiya @reylejano any update on this issue?

/lgtm


QC: Duplicate definitions

During my work on migration FYPO to ODK, QC caught the some cases of duplicate definitions.

release is commit 2be3bcf4483328de6d11b83e850df8417a9c73f9


/bin/bash: pod: command not found

use this pod with error .so what can i do for fix this error?
tks

I faced the same error!


environment name output name is prefixed with undefined

After upgrading the action to latest 1.1.1,  the ENV outputs appears to be prefixed with undefined regardless of whether prefix argument is specified or not.
Code snippet
- name: Read Testcase Count
        uses<EMAIL_ADDRESS>        with:
          filename: 'xxxxxxxx/history-trend.json'
          prefix: test

The env output is being used in a slack action job like this which returned null result
{
  "type": "mrkdwn",
  "text": "*Passed*\n${{ env.test_0_data_passed }}"
},

debug logs snippet
##[debug]Loading inputs
##[debug]Loading env
Run<EMAIL_ADDRESS>Processing file: xxxxx/history-trend.json
SET ENV 'testundefined_0_buildOrder' = 630
SET ENV 'testundefined_0_reportUrl' = https://xxxxx/630/
SET ENV 'testundefined_0_reportName' = Allure Report with history
SET ENV 'testundefined_0_data_failed' = 1
SET ENV 'testundefined_0_data_broken' = 0
SET ENV 'testundefined_0_data_skipped' = 6

Even though it shows SET ENV 'testundefined_' , the final ENV is actually something as below
  env:
    undefined_0_buildOrder: 630
    undefined_0_reportUrl: https://xxxxxxxxxx/630/
    undefined_0_reportName: Allure Report with history
    undefined_0_data_failed: 1
    undefined_0_data_broken: 0
    undefined_0_data_skipped: 6
    undefined_0_data_passed: 20
    undefined_0_data_unknown: 0

It might have something to do when prefix was made optional from this https://github.com/antifree/json-to-variables/pull/5 ?
A suggestion is much appreciated

Hello!
Should be fixed in version 1.1.2.
Could you please update and check?


Exceptions in the Core

I think is a really good opportunity to think again the exception hierarchy in Lantz.
Right now we have the following errors:

InvalidCommand: The command send to the instrument was invalid.
LantzTimeoutError: A timeout occurred. Used to have a single error abstracting the differences in lower level libraries
InstrumentError: Generic error
NotSupportedError: The interface is not supported by this instrument

Maybe it could be reworked as
LantzError: Generic Error
And deriving from this:

InvalidCommand
TimeoutError
InterfaceNotSupported

Another question? Do we need to reraise pyvisa (or other libraries) exceptions?

I like your proposal. I will have to think about what to do about the notion of communication safety I use in Eapii (and which a requirement of some of my users). The idea is basically that is an operation fails without apparent reason (unexpected timeout) it may be worth trying again after reopening the connection because some instruments are dumb.

Some instruments are indeed dumb. But we need to make this somehow opt-in. Maybe with a retry flag?

Agreed for the time being, retry behavior is specified at the IProperty level and is then specified for all driver of the type, we could have a boolean flag at the instance level to de-activate this behavior.


MNT: Enable numpy 2+ installs

Change Summary
Overview
Numpy 2 is more strict about the overflow math calculations, so we needed to update a few cases to handle that as well.

New Dependencies
Bumping numpy to allow 2+

Merging now, we can follow up on installation pins in subsequent PRs.


Master

Added new quotes and translations. changed equals from '=' to '==' and made '=' assign

@glorious-elijah please update this PR after properly formatting the code.
Read contributing.md for Code formatting guidelines.