FhirContext.forDstu2: failed to createForcedIdIfNeeded

Dear Mr. Agnew,
I have established a hapi-fhir-jpaserver with MySQL locally (based on hapi-fhir-jpaserver-example from https://github.com/jamesagnew/hapi-fhir/tree/master/hapi-fhir-jpaserver-example). Then I tried to use the HAPI RESTful client to create an instance of the resource with client forced resource ID using the following code:
// Create a context
FhirContext ctxInt = FhirContext.forDstu2();
// Create a internal server client and use it
IGenericClient clientInt = ctxInt.newRestfulGenericClient("http://<IP_ADDRESS>:8080/hapi-fhir/baseDstu2");
//create a sample patient with client signed id
Patient patient = new Patient();
patient.addIdentifier().setSystem("urn:system").setValue("12345");
patient.addName().addFamily("Smith").addGiven("John");
patient.setID("Patient-12345");

MethodOutcome outcome = clientInt.create()
                                                .resource(patient)
                                                .prettyPrint()
                                                .encodedJson()
                                                .execute();

System.out.println("Got ID: " + (IdDt)outcome.getId());

I could create the new patient successfully since:
2016-10-31 11:39:53.331 [qtp1752365512-59] INFO  c.u.f.j.dao.BaseHapiFhirResourceDao [BaseHapiFhirResourceDao.java:365] Successfully created resource "Patient/51/_history/1" in 235ms

However, when I checked the table "HFJ_FORCED_ID", the table is empty.
I dug the source code on GitHub and found the following code:
public DaoMethodOutcome create(T theResource, String theIfNoneExist, boolean thePerformIndexing, RequestDetails theRequestDetails) {
		if (isNotBlank(theResource.getIdElement().getIdPart())) {
			if (getContext().getVersion().getVersion().equals(FhirVersionEnum.DSTU1)) {
				if (theResource.getIdElement().isIdPartValidLong()) {
					String message = getContext().getLocalizer().getMessage(BaseHapiFhirResourceDao.class, "failedToCreateWithClientAssignedNumericId", theResource.getIdElement().getIdPart());
					throw new InvalidRequestException(message, createErrorOperationOutcome(message, "processing"));
				}
			} else if (getContext().getVersion().getVersion().isOlderThan(FhirVersionEnum.DSTU3)) {
				String message = getContext().getLocalizer().getMessage(BaseHapiFhirResourceDao.class, "failedToCreateWithClientAssignedId", theResource.getIdElement().getIdPart());
				throw new InvalidRequestException(message, createErrorOperationOutcome(message, "processing"));
			} else {
				// As of DSTU3, ID and version in the body should be ignored for a create/update
				theResource.setId("");
			}
		}

		return doCreate(theResource, theIfNoneExist, thePerformIndexing, new Date(), theRequestDetails);
	}
...
...

private DaoMethodOutcome doCreate(T theResource, String theIfNoneExist, boolean thePerformIndexing, Date theUpdateTime, RequestDetails theRequestDetails) {
		StopWatch w = new StopWatch();

		preProcessResourceForStorage(theResource);

		ResourceTable entity = new ResourceTable();
		entity.setResourceType(toResourceName(theResource));

		if (isNotBlank(theIfNoneExist)) {
			Set<Long> match = processMatchUrl(theIfNoneExist, myResourceType);
			if (match.size() > 1) {
				String msg = getContext().getLocalizer().getMessage(BaseHapiFhirDao.class, "transactionOperationWithMultipleMatchFailure", "CREATE", theIfNoneExist, match.size());
				throw new PreconditionFailedException(msg);
			} else if (match.size() == 1) {
				Long pid = match.iterator().next();
				entity = myEntityManager.find(ResourceTable.class, pid);
				return toMethodOutcome(entity, theResource).setCreated(false);
			}
		}

		if (isNotBlank(theResource.getIdElement().getIdPart())) {
			if (isValidPid(theResource.getIdElement())) {
				throw new UnprocessableEntityException(
						"This server cannot create an entity with a user-specified numeric ID - Client should not specify an ID when creating a new resource, or should include at least one letter in the ID to force a client-defined ID");
			}
			createForcedIdIfNeeded(entity, theResource.getIdElement());

			if (entity.getForcedId() != null) {
				try {
					translateForcedIdToPid(getResourceName(), theResource.getIdElement().getIdPart());
					throw new UnprocessableEntityException(getContext().getLocalizer().getMessage(BaseHapiFhirResourceDao.class, "duplicateCreateForcedId", theResource.getIdElement().getIdPart()));
				} catch (ResourceNotFoundException e) {
					// good, this ID doesn't exist so we can create it
				}
			}

		}

		// Notify interceptors
		if (theRequestDetails != null) {
			ActionRequestDetails requestDetails = new ActionRequestDetails(theRequestDetails, getContext(), theResource);
			notifyInterceptors(RestOperationTypeEnum.CREATE, requestDetails);
		}

		// Perform actual DB update
		updateEntity(theResource, entity, null, thePerformIndexing, thePerformIndexing, theUpdateTime);
		theResource.setId(entity.getIdDt());

		// Notify JPA interceptors
		if (theRequestDetails != null) {
			ActionRequestDetails requestDetails = new ActionRequestDetails(theRequestDetails, getContext(), theResource);
			theRequestDetails.getRequestOperationCallback().resourceCreated(theResource);
			for (IServerInterceptor next : getConfig().getInterceptors()) {
				if (next instanceof IJpaServerInterceptor) {
					((IJpaServerInterceptor) next).resourceCreated(requestDetails, entity);
				}
			}
		}

		DaoMethodOutcome outcome = toMethodOutcome(entity, theResource).setCreated(true);

		String msg = getContext().getLocalizer().getMessage(BaseHapiFhirResourceDao.class, "successfulCreate", outcome.getId(), w.getMillisAndRestart());
		outcome.setOperationOutcome(createInfoOperationOutcome(msg));

		ourLog.info(msg);
		return outcome;
	}

I was wondering if the code
createForcedIdIfNeeded(entity, theResource.getIdElement());

got bypassed by the code
if (getContext().getVersion().getVersion().isOlderThan(FhirVersionEnum.DSTU3))

somehow.  Or the way I was trying to assign a forced ID was not right. Please let me know. Thank you.
Sincerely,
Ren

I forgot to mention that I am using the following HAPI RESTful client version:
<dependency>
    <groupId>ca.uhn.hapi.fhir</groupId>
    <artifactId>hapi-fhir-structures-dstu2</artifactId>
    <version>2.0</version>
</dependency>

Thank you.

I also tried the "CRUD Operations" on the server. It says "Create an instance of the resource. Generally you do not need to specify an ID but you may force the server to use a specific ID by including one. "
but it seems it was also  failed to force the server to use a specific ID. the table  HFJ_FORCED_ID is still empty.
I have tried to add a new row in HFJ_FORCED_ID manually
<DATA>
	<ROW>
		<PID>1</PID>
		<FORCED_ID>Patient-12345</FORCED_ID>
		<RESOURCE_PID>51</RESOURCE_PID>
		<RESOURCE_TYPE>Patient</RESOURCE_TYPE>
	</ROW>
</DATA>

and then created an instance of "Person" linked to the forced ID. It has been working fine so far.

I found the following code in FhirSystemDaoDstu2.java:
...
switch (verb) {
			case POST: {
				// CREATE
				@SuppressWarnings("rawtypes")
				IFhirResourceDao resourceDao = getDaoOrThrowException(res.getClass());
                                //why?
				res.setId((String) null);
				//
                                DaoMethodOutcome outcome;
				outcome = resourceDao.create(res, nextReqEntry.getRequest().getIfNoneExist(), false, theRequestDetails);
				handleTransactionCreateOrUpdateOutcome(idSubstitutions, idToPersistedOutcome, nextResourceId, outcome, nextRespEntry, resourceType, res);
				entriesToProcess.put(nextRespEntry, outcome.getEntity());
				if (outcome.getCreated() == false) {
					nonUpdatedEntities.add(outcome.getEntity());
				}
				break;
			}
...

It seems it has been hard coded that res.setId((String) null);` . I was wondering why. Is Forced ID not allowed in DSTU2 anymore please? Please let me know. Thank you.
Urgenly waiting for the answer,
Ren

Hi Ren,
Under FHIR's rules if you do a "create" (aka HTTP POST) the server will assign an ID so you are not using forced ID.
If you want the client to specify the ID you need to use "update" (aka HTTP PUT) even if the resource doesn't yet exist on the server. In that case the server will use the ID assigned by the client.


Player doesn't work on iOS 9

The player that was added a few weeks ago is using SDK functions that aren't available in iOS 9, which makes it crash.
Let's fix it!

A fix has been implemented in #50 and will be made available in the next release :tada:

The fix was released in version 2.4.0.


Run schedules where all systems take a certain Input type.

What problem does this solve or what need does it fill?
Ability to run schedules where all systems take a certain Input type, either defined explicitly as part of the system's type signature or implicitly through type inference.
What solution would you like?
First, we need a system that takes some Input type. We'll use #10334 as a real use case:
fn my_system(transition: In<StateTransition<MyState>>, ...) {
    // Instead of matching over them we could register each state pair to each `OnTransition` schedule.
    // But, runtime branching based on the state pair gives us more expressive power.
    match (transition.from, transition.to) {
        (MyState::A, MyState::B) => {
            // ...
        }
        (MyState::A, MyState::D) => {
            // ...
        }
        // etc...
    }
}

Then, we need the ability to define a Schedule(Label) that lets us set the Input type:
#[derive(ScheduleLabel)] // Other derives excluded for brevity.
#[schedule(in = StateTransition<S>) // We specify the input type we want here; it should support generics.
pub struct OnAnyTransition<S>(PhantomData);

Then when we go to add the system to this new schedule, it should be properly type checked to ensure we don't add a system with the wrong Input type:
// Register the system defined above.
app.add_systems(OnAnyTransition<MyState>, my_system);

// But this should fail to compile:
fn wrong_input_system(i: In<i32>) {}
app.add_systems(OnAnyTransition<MyState>, wrong_input_system);

The last step is being able to run a given schedule with provided input:
// Construct our system input, which must be `Clone`able (to pass it to each system).
let transition = StateTransition { from: MyState::A, to: MyState::D };
// Pass our system input when running the system:
world.try_run_schedule_with_input(OnAnyTransition<MyState>, transition);

What alternative(s) have you considered?
Use a Resource that's temporarily available at only certain points in app flow. Problem is, that's prone to obfuscation of app logic flow, and likely easy for new Bevy devs to mess up.
Additional context
This idea was spurred on by the "temporarily available resource" discussion in #10334.

This will require storing Schedules split by input type (in a typesafe map), where all schedules today would be Schedule<In = ()>.

Hmm. A neat solution to that particular problem, but my immediate feeling is that this is too narrow to be useful. I'd prefer to do something like:
a) flatten out the system storage
b) allow system piping to work on a one-to-many basis

I do want some way to store "temporary" data in a schedule somehow, but I feel like it needs to be at the system set level to be useful. My thinking on this was a system param that allows you to retrieve data that is associated with a system set. Not 100% sure what the exact API should be. I've done some experiments here, but haven't been satisfied with what I've come up with so far.


[Feature Request][Metrics] Update Metric Key Names

🚀 Feature Request
Metric names should follow some set of best practices.
Motivation
Currently metric names emitted by the software have the potential to conflict with metrics already collected. Instead they should follow at least the best practices for naming conventions. This will help more easily integrate Libra in with current tooling already in place and decrease the risk of named key-pair collisions.
Pitch
This is discussed further here:
https://prometheus.io/docs/practices/naming/
At the very least:

The libra prefix should be added

The prefix should consist of “libra” and a component, e.g. libra_consensus, libra_network The unit should be specified, and should be a base unit (seconds not milliseconds), e.g. libra_network_sent_bytes, libra_consensus_block_latency_seconds

Labels within a metric name should represent the same logical thing, e.g. libra_network_requests_total{method=”UpdateToLatestLedger”} and libra_network_peers{state=”connected”}.

“As a rule of thumb, either the sum() or the avg() over all dimensions of a given metric should be meaningful (though not necessarily useful). If it is not meaningful, split the data up into multiple metrics.”

Metric names and labels should not contain values with high cardinality (e.g. a label with the gRPC method name is fine, a label with the client’s IP is not).

I updated the VM metrics in #3600


PointMutationProposalEngine allows terminal residues to be made into non-terminal residues

Just saw this flash by:
Proposed transformation: LYS-GLU-LYS-ARG-VAL-LYS-GLU-LEU-GLU-LEU-LEU-LEU-MET-SER-THR-GLU-ASN-GLU-LEU-LYS-GLY-GLN-GLN-ALA-LEU => LYS-GLU-LYS-ARG-VAL-LYS-GLU-LEU-GLU-LEU-LEU-LEU-MET-SER-THR-GLU-ASN-GLU-LEU-LYS-GLY-GLN-GLN-ALA-CLEU

Here, it proposes changing LEU into CLEU.

What exactly is the issue here? I'm not sure why it would be able to turn LEU into itself, but isn't it terminal?

I think I see the reason.  I was explicitly constructing a list of allowed_mutations that allowed this to happen.  Sorry!


add publish not ready headless service to jobset

Fixes #504
Adds PublishNotReadyHeadlessService to Jobset.
Defaulting logic sets to true.
Did one optimization in network defaulting where I moved it out of a loop.

Man this is a rough one..
I am not able to generate CRDs anymore so the integration tests are failing due to the fact that crd are not generated.
Looking into this now.
/hold

/hold cancel

/assign @ahg-g @danielvegamyhre

/lgtm
leaving approve to Daniel

This change makes sense to me, thanks for working on it.
/approve


MNT: clean up dev recipes

Sweet! Thanks!!

Turns out that we do not actually need the custom build strings if we do not care about numpy. conda-build, by default, embeds -py{version}


Twitter publish: weird behaviour

Not sure if it's a bug or I am doing something wrong.
This post produced this tweet via Bridgy Publish, and this seems to be what's expected.
However, this post produced this tweet. The post are similar (actually, one is the translation of the other), but the tweets look very different, and I can't figure out why.

Hmm! Sorry for the trouble. Bridgy's post type detection interpreted the first post as a note and the second at an article, even though their mf2 is basically the same. Not sure why yet.
Here's the AS1 that bridgy converted then both to. First/good tweet (log):
{
"objectType":"note",
"published":"2020-07-18T23:14:56+0300",
"displayName":"\u2022\u2022\u2022",
"content":"
\u041f\u043e\u0447\u0435\u043c\u0443 \u043c\u044b \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u043c \u043b\u044e\u0434\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u0431\u044b\u043b\u0438 \u0438\u0437 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438? \u041e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e: \u043d\u0435\u0442 \u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u0442\u0432\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e.
\n
\u0410\u0432\u0442\u043e\u0440 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d.
",
"url":"https://evgenykuznetsov.org/posts/2020/no-future/",
"tags":[
{
"objectType":"hashtag",
"displayName":"lol"
},
{
"objectType":"hashtag",
"displayName":"\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e"
}
],
"author":{
"objectType":"person",
"displayName":"\u0415\u0432\u0433\u0435\u043d\u0438\u0439 \u041a\u0443\u0437\u043d\u0435\u0446\u043e\u0432",
"url":"https://evgenykuznetsov.org",
"image":[
{
"url":"https://evgenykuznetsov.org/img/avatar.jpg",
"displayName":"\u0415\u0432\u0433\u0435\u043d\u0438\u0439 \u041a\u0443\u0437\u043d\u0435\u0446\u043e\u0432"
}
]
}
}```

Second/bad tweet ([log](https://brid.gy/log?start_time=1595140830&key=agdicmlkLWd5clwLEg1QdWJsaXNoZWRQYWdlIjVodHRwczovL2V2Z2VueWt1em5ldHNvdi5vcmcvZW4vcG9zdHMvMjAyMC9jYWRlLWRpZWhtLwwLEgdQdWJsaXNoGICA0IKWh5YKDA)):

{
"objectType":"article",
"published":"2020-07-19T09:37:31+0300",
"displayName":"\u2022\u2022\u2022",
"content":"Found not one but two links to Cade Diehm\u2019s article in my RSS reader this morning: one by Jacky Alcin\u00e9, another one by Ton Z\u0133lstra. Both seem to have enjoyed the article and speak highly of it, so I had to give it a read.\nGot up to the second sentence.\n\nFrom well-funded blockchain projects like IPFS to the emergence of large scale information networks such as Dat, Scuttlebutt and ActivityPub [\u2026]\nCade Diehm \u201cThis is Fine: Optimism & Emergency in the P2P Network\u201d\n\nThis article may contain valuable thoughts, but I can\u2019t force myself to read it any further. I\u2019ve tried three times, I just cant get past this sentence. My brain starts screaming in agony: \u201cThis schmuck is calling IPFS a blockchain project and ActivityPub an information network. The schmuck has no idea what either IPFS or ActivityPub is, and didn\u2019t bother to research. The author has no clue about the things he\u2019s discussing. Complete waste of time! Close the tab! CTRL+W now!!!\u201d\nNote to self: if you don\u2019t get your facts straight in the first place, your ideas \u2014 though they might be brilliant \u2014 may fail to ever be heard.",
"url":"https://evgenykuznetsov.org/en/posts/2020/cade-diehm/",
"author":{
"objectType":"person",
"displayName":"Evgeny Kuznetsov",
"url":"https://evgenykuznetsov.org",
"image":[
{
"url":"https://evgenykuznetsov.org/img/avatar.jpg",
"displayName":"Evgeny Kuznetsov"
}
]
}
}

Hmm, the tag hasn't been processed in the "bad" one either. I somehow am almost convince there's a error in the "bad" page somewhere, but can't figure it out.

argh, sorry, the second example above was the wrong one. i've fixed it, it's right now.

narrowed this down more. looks like a bug in mf2util.post_type_discovery that's triggered by Cyrillic (or non-English) characters in content.
>>> mf2util.post_type_discovery({"properties": {
    "name":["foo"],
    "content":["abc xyz"],
  }}))
"article"

>>> mf2util.post_type_discovery({"properties": {
    "name":["foo"],
    "content":["\u041f\u043e\u0447"],
  }})
"note"

ugh, yup, quite literally:
        s = re.sub('[^a-z0-9]', '', s)

https://github.com/kylewm/mf2util/blob/b77ef860b83a2cfb3b6147f065902aefdd5d3601/mf2util.py#L420

uh that was...a bit too eager on github's part. not merged or deployed yet.

@nekr0z this is fixed, but probably not the way you expected. both posts will now be published like the second, as •••: https://evgenykuznetsov.org/en/posts/..., because they have p-names, so post type discovery says they're articles, not notes, and Bridgy prefers p-name if it's provided. you can make it tweet the content instead by removing the p-name class entirely, or just tell it explicitly what to tweet.

Thank you for both the work on this and the detailed explanation! You’re awesome.
(Originally published at: https://evgenykuznetsov.org/en/reactions/2020/61-bridgy/)


Update CloudHandler.DispatchMetricMap to use MetricMap all the way through

This is the current "big" thing that I'm aware of blocking clustering, 'cause it interferes with loop detection.
As usual, commits are relatively stand-alone.
@mwhittington21 - if you could get a chance to test this at some point (I'll release it as 28.3.0-rc1), that would be much appreciated.  I generally soak changes locally, but I can only validate this one with tests.

@tiedotguy I'll try and find some time to upgrade the clusters. A bit swamped right now, but I'll get to it asap.

:bueller:


Laravel 5.0

Problem 1

Installation request for creitive/breadcrumbs dev-master -> satisfiable by creitive/breadcrumbs[dev-master].
Conclusion: remove laravel/framework 5.0.x-dev
creitive/breadcrumbs dev-master requires illuminate/support 4.x -> satisfiable by illuminate/support[4.0.x-dev, 4.1.x-dev, 4.2.x-dev].
don't install illuminate/support 4.0.x-dev|don't install laravel/framework 5.0.x-dev
don't install illuminate/support 4.1.x-dev|don't install laravel/framework 5.0.x-dev
don't install illuminate/support 4.2.x-dev|don't install laravel/framework 5.0.x-dev
Installation request for laravel/framework ~5.0 -> satisfiable by laravel/framework[5.0.x-dev].

Hi!
Sorry for not replying sooner, holidays and all :)
The problem is due to the dependency  "illuminate/support": "4.x"` - and because Laravel 5 isn't stable yet, I'm not sure whether updating it is the only thing needed to support both 4 and 5, or whether we'll need separate branches for each.
If you know anything more, feel free to tell us, or send a PR - otherwise, we'll wait until L5 is officially released, in order to fix this.
Cheers!

Laravel is officially released. And I see pull request with update to this 5th version. Any chance you may review it? Update would be much appreciated, because I have some projects depended on this component.

Hey @sukonovs, I've just checked out the PR, and it has some problems, which I'll comment on in the PR itself.
However, I've given this some thought recently, and I'm not really sure at the moment whether it makes sense to have a package for both L4 and L5 at the same time - it seems a bit off to have a package check the framework version within its code, and execute code based on that. Additionally, I've never been completely satisfied that this is a Laravel-specific package, because the core class can certainly be used outside of Laravel (as described in the documentation).
I think a better idea might be to release a standalone breadcrumbs class as version 2.0.0 of this package, and then have separate packages such as creitive/laravel4-breadcrumbs and creitive/laravel5-breadcrumbs - which would basically be adapters for each of the framework versions. After that, someone using the package without Laravel could simply install creitive/breadcrumbs (without the illuminate/support cruft), and people using it within Laravel would install the appropriate "adapter" package instead.
What do you think about that approach?
I'll have to do some research on this though, because it might involve some potentially "dangerous" stuff, like changing this repository's URL, and I'm not sure if Packagist deals with that correctly.

I think spliting packages for each version makes sense. Many popular package devlopers are making new repos for l5.

@sukonovs Hi, sorry for the wait! We've released the new package that targets Laravel 5. The update process would be to remove the old package before installing the new one, ie.
composer remove creitive/breadcrumbs
composer require creitive/laravel5-breadcrumbs

Let me know if this works correctly for you.
I'll close this issue, as this package is now officially non-Laravel dependent, so if you have any problems with the Laravel 5 package, please open an issue in that repo.
Thanks!


[PR1] DEV-95: Display a limited number of messages and improve scroll of messageList

By default 10 messages are displayed, when you exceed 10, a button is generated at the top of the list to expand the number of messages that can be displayed.
Also the default scroll is at the end of the list with a smooth transition, and when you scroll up, it stays static until you scroll back to the end of the list.
It still has a bug with the scroll that I need to fix.

just a little thing to note, iirc Sergio was using four spaces for tabs, try to match that style so all the code looks the same


Is it possible to memmap RaggedArrays (or otherwise achieve random access without loading the entire array in memory)?

Often, we want random access to a collection of (possibly tokenized) sequences that may be too large to hold in memory. numpy can do this via a memmapped array. Is there an equivalent for the sequence arrays used in bionumpy?

As of now there is not any explicit functionality for this, but we are about to start implementing data-loader functionality so I think it is something we would like to support. It's numpy arrays all the way down with bionumpy, so it seems like it is possible to have encoded ragged arrays with both the data and lengths as memmapped arrays, see: https://github.com/bionumpy/bionumpy/blob/dev/scripts/explorations/mem_mapping.py. It is however not tested, and you would have to deal a bit with the internal representations as of now
However I think it should be relatively straight forward to create a more user friendly interface for this. I'm guessing the process would be to

Go through the data and find the sum of sequence lengths and number of sequences
Create the mem-mapped ragged array
Go through the sequences and insert them into the array
Iteratively load batches of sequences into memory

Does that cover your usecase? If so I could write up a prototype for it

I made a simple prototype now, and it seems promising. See https://github.com/bionumpy/bionumpy/blob/dev/tests/test_memory_mapping.py for how to use it to create a memmapped encoded ragged array from a fastq file. I think the same procedure could be used for other file formats as well, but could proably be made more user friendly, so would appreciate any feedback.
Implementation here: https://github.com/bionumpy/bionumpy/blob/dev/bionumpy/streams/memory_mapping.py
Not pushed to main yet, so would need to install from the dev branch to test it


Too long option name goes out of the select-box

In latest 4.0.0.beta-3 of select2 I noticed this:
I have option that has 2 rows (or more) and I select it the selection goes over the whole select element. Is this something that should be fixed? Maybe add height to the class .select2-selection__rendered?
(.select2-container--default .select2-selection--single .select2-selection__rendered {
color: #444;
line-height: 28px;
line-height: 28px\9;
/* no height here */
}
Or maybe javascript could add "..." at the end of the too long option text.

Duplicate of https://github.com/select2/select2/issues/2984, fixed on the latest branch.

Thank you kind sir :) Exactly what i was looking for.


News

Able to provide news posting. Perhaps integrated with blog functionality

integrated in "News" section of website. Will use blog functionality.


Fix bug in priority queue remove function

The short circuit in the remove function when the element is the last in the heap, failed to add the removed slot back to the freelist.
Fixes #22644

[ ] documentation is added or updated
[x] tests are added or updated

This pull request is ready to merge

Merged to master and 3.2. Thank you.


Select Combobox portalled popover breaks when used with Radix Dialog

Current behavior
I'm trying to include a select-combobox inside a dialog based on Radix Dialog however there are several behaviours that break when the popover is portalled (which makes sense with how radix focus guards work!). The only workaround I've been able to figure out is remove the portalling however I'm curious to hear if there are any recommended approaches to make the inter-op smoother without having to resort to disabling portalling.
Steps to reproduce the bug
https://codesandbox.io/s/youthful-shape-hvmip7?file=/select-combobox.js
Expected behavior

The combobox input should receive focus
Keyboard shortcuts should work (arrows, enter)
Clicking on items should work

Workaround
Disable portalling?
Possible solutions
No response

That's not an issue on Ariakit. We can't control how Radix Dialog works.
You can disable the portal or attach SelectPopover to another node using the portalElement prop.


Add ability to set event ID in Event builder

This is so that you can potentially identify events you send to multiple analytics channels. I.e. you would generate the UUID in your own app and then send events to Snowplow with that UUID.

Moving back to 0.5.0 as we don't have an Event builder yet, and time is tight for this release...


Add mechanism to remove deprecated WorkManager jobs

Task/Issue URL: https://app.asana.com/0/414730916066338/1173445999500153/f
Description:

We use WorkManager to enqueue work that will be done in the background at some point in the future.
Some experiments will use this feature to schedule future work. Android: Sticky Search Notification is an example.
When the experiment is removed, we need to make sure that those scheduled jobs are also removed from the user's device.

Our current implementation has AndroidNotificationScheduler cleaning up old jobs AND scheduling new work. The idea in this PR is to separate the responsibilities making it more readable.

Internal references:
Software Engineering Expectations
Technical Design Template

@CDRussell I've changed how the WorkManager is initialized for testing according to the documentation. This has shown that we were not properly testing it, for that I've created a TestWorker that has no dependencies and it's sole purpose is to be tested

Looks like there's now some duplicate code left over in NotificationScheduler

it still also tries to cancel unnecessary work
it also defines deprecated work tag list

Heads up that this comment hasn't been addressed


raftstore:Move the log replication rejected metrics from gRPC to Errors

Bug Report

What version of TiKV are you using?

TiKV
Release Version:   6.1.0-alpha
Edition:           Community
Git Commit Hash:   9b989604ec433339a87986720a936f5d956dd48d
Git Commit Branch: add-logappend-reject-metrics
UTC Build Time:    2022-05-16 13:37:17
Rust Version:      rustc 1.60.0-nightly (1e12aef3f 2022-02-13)
Enable Features:   jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           release
What operating system and CPU are you using?

Steps to reproduce

What did you expect?
Move the log replication rejected metrics from gRPC to Errors
What did happened?

/type enhancement
modify the positon, which has not been online.


Add yarn support

Hello,
Is it possible add support yarn dependencies same as bower?
Regards,
Auban

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Hey bud! If you are using yarn you should use webpack. The latest version of sage does this https://github.com/roots/sage


Intellisense autocompletion not working for TSX files

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.74.1
OS Version: Darwin arm64 22.2.0

Steps to Reproduce:

Create a .tsx file
Create a function with function keyword syntax
function myFunction() {...}
Try to use autocompletion inside

Description:
Basically I was starting a new project which by default use function declaration syntax and I was unable to get autocompletion for anything at all inside those functions.
Once I changed the syntax to arrow function: const myFunction = () => {...}, autocompletion behaved as expected
Also, if I change the file extension to .ts instead of .tsx, it also works as expected
This looks like a related issue: https://github.com/microsoft/vscode/issues/170251

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.3. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I updated to the latest version of vscode (1.74.3) and I am still having the issue

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Expected (autocompletion working)

Actual (autocompletion not working)

The thing is, you can actually discard my first information about the file type because both files are .tsx, they are in the same directory, one is named page.tsx and the other one test.tsx (page.tsx being the one with autocompletion not working) they have litteraly the same code and yet autocompletion works for one and not the other.
It still only happens when you have export default before the function declaration

Thanks. Seems to work fine for me though:

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

After a bit more investigation, it looks like it's only happening inside files related to my framework (nextjs) and I saw there was a nextjs tsconfig plugin, if I disable it and reload the typescript server, autocompletion works fine, if I enable it again and reload the typescript server again, autocompletion breaks so this is definitely cause by the plugin.
I am closing this issue here and will check where I should post the issue next

In case anyone else is using Next.js and their TypeScript plugin (which currently breaks IntelliSense), here's the issue where I reported it:

https://github.com/vercel/next.js/issues/44574


Native rescue prime

Codecov Report
Base: 50.27% // Head: 51.79% // Increases project coverage by +1.51% :tada:

Coverage data is based on head (e627062) compared to base (4fa46c0).
Patch coverage: 20.54% of modified lines in pull request are covered.

:exclamation: Current head e627062 differs from pull request most recent head c90bd57.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Custom Markers does not update after props change on Android

Hi everyone,
I'm having an issue on Android where the custom marker does not update after its props have change.
When i press the marker, its marked like selected and vice versa. Then its backgroundColor changes to identify that it has beed selected or not. This is working fine on iOS - Mapkit but on Android - Google Map does not update the change.
On Android - Google Map. Does not update the change.

On iOS - Mapkit works perfectly. This is the expected behavior.

Here is my code.
State and method
state = {
    selected: [],
  }

toggleSelect(id) {
    this.state.selected.indexOf(id) > -1
      ? this.setState({ selected: this.state.selected.filter(x => x !== id) })
      : this.setState({ selected: this.state.selected.concat(id) })
  }

MapView Component
<MapView
                style={styles.contentTabView}
                initialRegion={{
                  latitude: -33.447984,
                  longitude: -70.659059,
                  latitudeDelta: 0.0922,
                  longitudeDelta: 0.0421,
                }}
              >
                {data.map(x =>
                  <MapView.Marker
                    key={x._id}
                    coordinate={{
                      longitude: x.location.coordinates[0],
                      latitude: x.location.coordinates[1],
                    }}
                    title={x.name}
                    centerOffset={{ x: 0, y: -20 }}
                    onPress={() => !(x.origin || x.destination) && this.toggleSelect(x._id)}
                  >

                    <Pin
                      pinStyle='pinIcon'
                      sourceIcon={x.clasification.icon}
                      id={x._id}
                      selected={selected}
                      origin={x.origin}
                      destination={x.destination}
                      color={x.timePeriod.color}
                    />
                  </MapView.Marker>
                )}
              </MapView>

Custom Marker Component
<View style={styles[pinStyle].container}>
        <View style={[
          styles[pinStyle].wrapper,
          wrapperColor,
          isSelected(id, selected) && styles[pinStyle].pointSelected,
          (origin || destination) && styles[pinStyle].pointSelected,
        ]}>
          <View style={styles[pinStyle].inner}>
            {type === 'icon'
              ? <IconAwesome
                style={styles[pinStyle].icon}
                name={sourceIcon ? sourceIcon : 'plane'}
              />
              : <Image
                style={styles[pinStyle].image}
                source={{ uri: sourceImg }}
              />}
          </View>
        </View>
      </View>

Helper function
export const isSelected = (_id, selected) => selected.indexOf(_id) > -1 ? true : false

Tell me if you need more details.
Thanks.

There's a solution?

+1, same here!!

Android seems to be relying only on the key to change in order to update the custom marker.  When you re-render try changing your key.  This works for me:
<MapView.Marker
  key={ `${marker.id}${Date.now()}` }
  coordinate={ marker }
>
  <CustomMarker marker={marker}>
</MapView.Marker>

Android seems to be relying only on the key to change in order to update the custom marker. When you re-render try changing your key. This works for me:
<MapView.Marker
key={ ${marker.id}${Date.now()} }
coordinate={ marker }

@chrismcleod This works, not exactly how i expected but works, thanks 👍

@chrismcleod livesaver!

Nice bug :( let's hack everything a little more to find a workaround.

When i click on the market it re-render how i expected but then it hides the infowindow.

I ran into the same issue. Solved this way:
<MapView.Marker
    coordinate={ position }
    key={`${x._id}${isSelected(x._id) ? '-selected' : ''}`} // <-- updates only selected (and deselected) marker
    identifier={x._id} // <-- we need this to invoke showCallout
    ref={(ref) => this._markers[x._id] = ref} // <-- store ref
    onPress={this._onPressMarker}
>

onPressMarker(e) {
  setTimeout(() => // sadly, we need timeout to make this command run in next cycle, after map updates.
    this._markers[e.nativeEvent.id].showCallout()
    , 0);
}

Hi there. Any stable solution for this?
So far I did try these:

Set dynamic key to Markers like @chrismcleod did
Create custom pin (according to some guy in other issue)

But I still got issue that markers don't show on first load.

@khuongdv I have a similar problem with pins not rendering on the first load, did you found any solutions regarding this?

To me, not setting key prop of MapView.Marker solved disappearing markers.
Just pass an id prop (docs list it). No `Math.random() or Date() magic, just some meaningful identifier.

Just pass an id prop (docs list it).

Do you mean the property called identifier, listed in the table here?

Ok, probably my suggestion isn't worth anything, I was referring to https://github.com/react-community/react-native-maps/blob/master/docs/mapview.md where Marker type is defined.
So probably the fact I'm providing id isn't changing anything. But still I decided not to use key and for now, it solved issued in my app

I used the Date.now() as suggested by @chrismcleod in key={ ${marker.id}${Date.now()} }, but I found it caused a huge performance loss, instead I used the value the marker update depends on to change the key, and that worked well.  In my case I wanted to update marker colors so I used: key={ ${key}${marker[key].color} }

@DerekPark i used similar solution. Uniq id + isActive state

Date.now() cause a huge performance loss. It re-creates the marker instead of re-render.

      tracksViewChanges={true}

use this in the marker

      tracksViewChanges={true}

use this in the marker

For android it does not work
It seems

Android seems to be relying only on the key to change in order to update the custom marker. When you re-render try changing your key. This works for me:

<MapView.Marker
  key={ `${marker.id}${Date.now()}` }
  coordinate={ marker }
>
  <CustomMarker marker={marker}>
</MapView.Marker>

@chrismcleod you're a hero, man!!

Strangely this issue is happening to me on ios (google maps) but not on android. Changing the key did fix it for me though.


Provide more verbose error on failed git tag resolution

The error when doing this in a shallow clone is simply "exit 128",
which makes it very difficult to determine that the problem is the lack
of git tag data. This change just makes that error more clear.

Thanks!
This app needs better errors, that's for sure.


v4.2 new SPI feature (IDFGH-4625)

v4.2 release note states:
SPI: Supported sharing SPI bus among drivers
What does that mean?
Consider the lack of an explanation, either through a link to a ticket or something in the docs, the bug report.

It means that, you can use other drivers to control SPI1 if you wish, with the arbitration provided by the SPI bus lock.
Currently, there are two drivers can control SPI1 peripheral: esp_flash (new SPI Flash API) and SPI Master.
Please check the docs here
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/spi_master.html#notes-on-using-the-spi-master-driver-on-spi1-bus

It means that, you can use other drivers to control SPI1 if you wish, with the arbitration provided by the SPI bus lock.
Currently, there are two drivers can control SPI1 peripheral: esp_flash (new SPI Flash API) and SPI Master.
Please check the docs here
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/spi_master.html#notes-on-using-the-spi-master-driver-on-spi1-bus

@ginkgm Just to confirm, the arbitration provided by spi_bus_lock is only for SPI1?

@ginkgm Just to confirm, the arbitration provided by spi_bus_lock is only for SPI1?


ARROW-7020: [Java] Fix the bugs when calculating vector hash code

When calculating the hash code for a value in the vector, the validity bit must be taken into account.

+1, thank you.


Add support for org.apache.curator:curator-*:5.4.0

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.

Add support for org.apache.curator:curator-framework:5.4.0.
Add support for org.apache.curator:curator-client:5.4.0.
Add support for org.apache.curator:curator-recipes:5.4.0.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Null.

Additional context
Add any other context or screenshots about the feature request here.

Metadata generated at https://github.com/linghengqian/graalvm-trace-metadata-smoketest/issues/1 .
Linkes to https://github.com/apache/shardingsphere/discussions/12594 .

I'm working on this issue.

We need to wait for the zookeeper version release that includes https://github.com/apache/zookeeper/pull/1942 . NativeTest on JDK17 fails at all. Refer to https://github.com/linghengqian/graalvm-trace-metadata-smoketest/tree/main/curator-client .

Error: Found 1 violations of @Uninterruptible usage:
method java.lang.Thread.getId() is annotated but org.apache.zookeeper.server.quorum.QuorumPeer.getId() is not
com.oracle.svm.core.util.UserError$UserException: Found 1 violations of @Uninterruptible usage:
method java.lang.Thread.getId() is annotated but org.apache.zookeeper.server.quorum.QuorumPeer.getId() is not
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.UninterruptibleAnnotationChecker.reportViolations(UninterruptibleAnnotationChecker.java:100)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.UninterruptibleAnnotationChecker.checkBeforeCompilation(UninterruptibleAnnotationChecker.java:91)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.CompileQueue.finish(CompileQueue.java:433)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:651)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:535)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:580)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
------------------------------------------------------------------------------------------------------------------------
                        3.8s (4.9% of total time) in 25 GCs | Peak RSS: 4.57GB | CPU load: 4.34
========================================================================================================================
Failed generating 'curator-client-tests' after 1m 17s.
    Error: Image build request failed with exit status 1

> Task :nativeTestCompile FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nativeTestCompile'.
> Process 'command '/home/linghengqian/.sdkman/candidates/java/22.3.r17-grl/bin/native-image'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 38s
7 actionable tasks: 7 executed

@cnauroth I want to ask when will the next version release of zookeeper be?

Hello @linghengqian . There is no set schedule for a ZooKeeper 3.8.1 release yet. If you want to express interest, then I suggest that you email<EMAIL_ADDRESS>and mention that you are interested in picking up ZOOKEEPER-4460. Then, the whole Apache ZooKeeper community can coordinate.

@cnauroth Thanks, I opened https://lists.apache.org/thread/stjp7nnhjp01129qfyqpwbxw2sylghzk .

Both curator-client and curator-framework can control the completion of test task and nativeTest task within 20 minutes, but curator-recipes is an exception. Its unit test test task takes more than 20 minutes, which is consistent with GraalVM reachability metadata The current CI settings for the central repository conflict. Reference https://github.com/oracle/graalvm-reachability-metadata/blob/3fbec45b151420c2b8f635ff40a6598da8783e41/.github/workflows/test-changed-metadata.yml .

I will soon submit a PR containing GraalVM reachability metadata for curator-client and curator-framework. For the CI issue, I will raise another PR in the current warehouse later to solve the problem that the unit test execution time of curator-recipes is too long, which leads to the failure of CI.

@linghengqian , Apache ZooKeeper 3.8.1 has been released:
https://lists.apache.org/thread/x11cddjozsn000kc718r5v6kpkozj8gp

In #383 , #381 and https://github.com/apache/shardingsphere-elasticjob/pull/2268 , I completed some further nativeTest on GraalVM CE 23.1.0 For JDK21, curator-framework, curator-client and curator-recipes require no additional GraalVM Reachability Metadata.
Making the Curator Project available within the GraalVM Native Image only requires the Zookeeper Project's GraalVM Reachability Metadata.


Motion Icon Location & Scale Customization

Added new controls for the state motion icons.

Colored Anim Icon (Bool)
Icon Scale (Float, 1.0 - 1.5)
Icon Offset (Float, 0.0 - 20.0)
Icon Location (Bool, Left of Motion Name | Left Corner)

Left Corner Location Example

Made some quick changes, thanks for this!


Regarding AzureAppServicesDiagnosticsSettings

According the URL of [AzureAppServicesDiagnosticsSettings]
https://docs.microsoft.com/ja-jp/dotnet/api/microsoft.extensions.logging.azureappservices.azureappservicesdiagnosticssettings?view=aspnetcore-2.2
It says "This API is now obsolete." Is current URL is most recent one?

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

ID: 7184a308-a254-9350-a5cd-5bced1f369ae
Version Independent ID: 726e3bf1-f367-d733-8933-bccc04da0e16
Content: Logging in ASP.NET Core
Content Source: aspnetcore/fundamentals/logging/index.md
Product: aspnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@KeiroKamioka0000 Thanks for reporting that.  We're investigating.


Full "Fluid" width on drop?

Hi, im not sure if this is possible. But is is possible to make a "Fluid" design? Meaning instead of only use the same container width the damn menu uses, i would like the drop-menu to be 100% in width both ways... and then inside that perhaps make a container to center stuff and then from there work out the menu.
However if this IS possible? Would this destroy the mobile-responsive design?
Hope an answer soon.
Regards, Hyp3rion.

Hi, do you have a screenshot or plunkr with some modifications to understand what you need?
It seems the idea of a fluid design is like using .container-fluid instead of just .container, but in both cases the menu will switch to a collapsible element for mobiles.

Hello, sorry for the delay i've had depression over the last year or so, so i've not been online as much as i would like to. Sorry about that.
The problem has been solved tho and working properly now, thanks for the idea and thanks for the support/help! :)
PS: Will be in contact if i have other ideas or need help for anything else. Thanks again! :)

Hi Daniel!
Sad to hear about Your problems! I hope You are in good condition right now
and everything is ok.
Keep up a good work with Yamm and other stuff :)
Best regards from Poland!
2016-06-08 10:03 GMT+02:00 Daniel.P<EMAIL_ADDRESS>
Hello, sorry for the delay i've had depression over the last year or so,
so i've not been online as much as i would like to. Sorry about that.
The problem has been solved tho and working properly now, thanks for the
idea and thanks for the support/help! :)
PS: Will be in contact if i have other ideas or need help for anything
else. Thanks again! :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/geedmo/yamm3/issues/42#issuecomment-224517750, or mute
the thread
https://github.com/notifications/unsubscribe/AH3ISRiS5W2i-AgYgeCyOew8sNYvXkGNks5qJndsgaJpZM4FqypE
.


LocalEnvironment Setup?

It appears I need to provide a path for LocalEnvironment but giving it the root of the System Python causes a FileNotFound triggering an exception. Tried on Windows in advance of Mac but couldn't get Windows to work so stuck...

Tried this using an extremely simple test project with AutoLoad enabled as this works on Win64 via EmbeddedEnvironment
Also - the Addons - are these required for Win/Mac/Linux? If so which ones (what do they do out of interest)

You need to share further details. How have you set the "FilePath" property?

It is always good if you provide good explanation along your issue and a minimalist sample to reproduce.

Oh, thought I included that info (obviously not)
Yes, I set the path to ...
C:\Users\simon\AppData\Local\Programs\Python\Python39 which has a full 3.9.12 with Pip in it
See....

I keep providing sample repos but you never look at them :)
Here's one for this, it's currently using embedded 3.9.12  - https://github.com/peardox/SimplePython
I tried switching out PyEmbed: TPyEmbeddedResEnvironment39 to a TPyLocalEnvironment but then it complained about the path
Hmm - possibly....?
Environment = C:\Users\simon\AppData\Local\Programs\Python
PythonVersion = Python39
As there's no docs I'm aiming to write some but want to have it working on Mac + Linux as well and it looks like Mac's going to need LocalEnvironment
BTW - Tried startinbg writing install and basic use docs today with 11.2 - wouldn't compile Win64 - complained about x64 vs x86 (I'll try 11.1 later)

Rsrs... the FilePath is a JSON file with settings. Have a look at the PyEnironment.Local file, it has an example of the JSON structure.

When providing samples, try to reduce it to the minimal necessary code to reproduce your issue. It does it much easier to troubleshoot.

That activate.sh is only provided by our Python zip files. It is only used to setup the environment in the terminal, it is never used in our projects.

Haa... the FilePath is a JSON file with settings. Have a look at the PyEnironment.Local file, it has an example of the JSON structure.

Documentation on demand :) Cool...
I'll give that a go - just switched SimplePython to using either Embedded or Local via a $DEFINE

When providing samples, try to reduce it to the minimal necessary code to reproduce your issue. It does it much easier to troubleshoot.

It couldn't be any simpler without producing any output...

I will share docs and samples along the Python Environments project as possible. I know this is crucial and we need to give it attention. Sorry for that and thanks for your support.

The whole point of what I'm doing ATM is to create a simple and complete set of installation and basic usage documents + videos :)
Do I need a PythonVersion setting for Local?
This JSON is accepted as a valid file but nothing happens (looking into it)
[{
        "python_version": {
            "home": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39",
            "shared_library": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39\\python39.dll",
            "executable": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39\\python39.exe"
        }
    }
]

Using this JSON....
[{
        "python_version": {
            "home": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39",
            "shared_library": "python39.dll",
            "executable": "python.exe"
        }
    }
]

And setting PythonVersion to 3.9 results in the version not being found in PYTHON_KNOWN_VERSIONS[] which appears to abort setup and / or activate (tried both)

Got it!
[{
        "3.9": {
            "home": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39",
            "shared_library": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39\\python39.dll",
            "executable": "C:\\Users\\simon\\AppData\\Local\\Programs\\Python\\Python39\\python.exe"
        }
    }
]

That was far from obvious and the sample was extremely unclear...


Bug: AutoLinkPlugin triggers breakdown with certain input

Lexical version: Latest (0.12.5)
Steps To Reproduce

go to the Playground
make editor empty
copy and paste this snippet on the editor:

123456789012345612345678901234567[link1](https://lexica1.dev/)[link2](https://lexica2.dev/)12345678901234567[link3](https://lexica3.dev/)

Link to code example: can reproduce it on the Playground.

The current behavior
https://github.com/facebook/lexical/assets/40269597/5202e79b-182c-4e79-be86-5687ddab39c2
TL;DR

text.substring trims the left-sided invalid match text already, yet we still use invalidMatchEnd to adjust offset.
This is somewhat duplicative.

AutoLinkPlugin registers a listener in useAutoLink:
https://github.com/facebook/lexical/blob/520af1d29a0dd01194592429b487f45bbb8caa42/packages/lexical-react/src/LexicalAutoLinkPlugin.ts#L435

The listener calls handleLinkCreation and it calls isContentAroundIsValid. This function checks whether the characters at certain positions are separators by regex matching:
https://github.com/facebook/lexical/blob/520af1d29a0dd01194592429b487f45bbb8caa42/packages/lexical-react/src/LexicalAutoLinkPlugin.ts#L271

The current issue stems from passing an incorrect index here, specifically due to invalidMatchEnd.

The issue happens when this tells an invalid one as a valid one mistakenly.
For example: when the match is https://lexica2.dev/)

It proceeds the logic for the valid around in createAutoLinkNode

currentNode gets split https://github.com/facebook/lexical/blob/520af1d29a0dd01194592429b487f45bbb8caa42/packages/lexical-react/src/LexicalAutoLinkPlugin.ts#L193
and merged again    https://github.com/facebook/lexical/blob/520af1d29a0dd01194592429b487f45bbb8caa42/packages/lexical/src/LexicalNormalization.ts#L81

This makes it repeat everything from the start endlessly.

The way I see it:

text.substring trims the left-sided invalid match text already, yet we still use invalidMatchEnd to adjust offset.
This is somewhat duplicative.

The expected behavior
AutoLinkPlugin doesn't break the app.
Proposed fix
~Let text.substring trim the invalid text and remove invalidMatchEnd.~
--> this spawns some other bugs
Pass the constant initial text to isContentAroundIsValid instead of text which is being trimmed

It seemsAutoLinkPlugin is changing a lot (#4430), which might resolve this one ...🤔

Thanks for pointing out to that PR. I actually faced the same issue when pasting a URL within parentheses.

This wrong indexing triggers this one too:
When first match is invalid and the second match is valid, it fails to tell the second one as valid in some cases.
https://github.com/facebook/lexical/assets/40269597/a6edc757-401d-4120-a21f-5ddc84c7b225

It happens in facebook as well:
1234567890123456123456789012345678901234 https://lexica1.dev/ 1234567 https://lexica2.dev/<PHONE_NUMBER>12345678901234 https://lexica3.dev/

https://github.com/facebook/lexical/assets/40269597/a3ffef83-c4eb-4c88-a4f9-a1797aae30a0
I guess facebook has different implementation of AutoLingPlugin (probably the matcher or those regex things) but still breaks by same cause.


when my java application throw a  Exception olny push  first line log

when my java application throw a  Exception olny push  first line log
Exception massage

kibana windows

Thank you for telling me how to push all the information

check my code  ，add these code so  solve


Create numberToWords.java

Integer to English words

this is amazing @shwetasingh14
thanks for the contribution in my repo and please share in social media and tag me on twitter

Thanks vanshika 😊Sent from my iPhoneOn Oct 3, 2022, at 11:49 PM, VanshikaSharma @.***> wrote:
this is amazing @shwetasingh14
thanks for the contribution in my repo and please share in social media and tag me on twitter
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Can't use CLI public key to create new app

I've installed the CLI on my mac, generated a private and public key (with password), but when I try to upload this to the dashboard I get the following error.

Did I create the key incorrectly?

Apparently .key file extension is reserved on Mac. As a workaround I'd suggest you change the key file extension to .txt

Ah awesome, might be worth documenting?

Great! I think it's better to remove file extensions from example commands, so it would be like
virgil keygen -o privatekey

@vadimavdeev indeed.


Update replication manager to use new code

First commit is a clean-up / refactor to prepare to switch to new scheduler. After this refactor replications still work, eunit tests still pass.
Changes:

Code from replication manager which deals with doc updating moved to
couch_replicator_docs.erl

Code dealing with calculating replication ids moved to couch_replicator_ids.erl

Few functions left in _utils.erl, but kept external exported functions
as proxied to avoid modifying various unlreated modules which call them.

Added TODO: comments to functions which will need attention later:

Still using old code
Unused functions
utils function but used from only one place, etc.

EUnit test still pass:
make eunit skip_deps+=couch_epi,couch_log apps=couch_replicator
=======================================================
  All 166 tests passed.
==> rel (eunit)
==> couchdb (eunit)

Replication utility from dyno still show docs trigger and replicate:
rep.replicate_1_to_n_then_check_replication(1)
 > created  1 dbs with prefix rdyno_src_
 > created  1 dbs with prefix rdyno_tgt_
updating documents
 > _replicator rdyno_0001_0001 : 7-1aac3a47cacc5dd2f5cf27cc3d603e49
waiting for replication documents to trigger
 > retrying function wait_to_trigger
 > function wait_to_trigger succeded after 10.029 +/- 10.0  sec.
all replication documents triggered
>>> update cycle 0  <<<
 > waiting for target  1
 > function wait_till_dbs_equal succeded after 0.024 +/- 1.0  sec.
 > waiting to propagate changes from  1 to 1  : 0.042 sec.

Next commit is a enables adding jobs to scheduler, changes replicator manager to be 3 separate gen_servers (clustering, doc processing/management, replicator doc change feeds listener).
In this commit, old eunit tests still pass but rep test doesn't work anymore.

+1


[New chain]: Add Eclipse Testnet

Chain Name
Eclipse Testnet
RPC URL
https://subnets.avax.network/eclipse/testnet/rpc
The chain must be added to https://chainlist.org/

[X] I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

[x] I sent the pre-fund in accordance with Github Action's comment

Relevant information
Chain Info: https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-17172.json
Explorer URL: https://subnets-test.avax.network/eclipse

Could you send some more funds? 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37 have<PHONE_NUMBER>000000) want<PHONE_NUMBER>000000)

@Uxio0 Sure, i just sent enough token amounts to the above address, thanks.

0x1ed7319afe196737619d0fb6a6f8982759023c4ffc94c8550dfeb748443dbb58

@Uxio0 Could you please provide an approximate timeframe for publishing the next release version that includes this issue?

@mmv08

Hello @Uxio0, I hope you are doing well.
Could you please check the following issue(new Eclipse Testnet) and process it(generate singleton-factory contract)?
https://github.com/safe-global/safe-singleton-factory/issues/433
Because our old chain(Eclipse Testnet) was deprecated, we are now operating the new Eclipse Testnet.
This issue(was created 2 weeks ago) is about the new Eclipse Testnet.
I would appreciate your support.
Thank you.


settings: Fixes positioning of user upload spinner.

Previously the User avatar upload spinner was going off the upload box while uploading and the Avatar box wasn't symmetrical with the padding on the right being more than the padding on the left.

I have fixed this by:

Changing the width of .loading_indicator_spinner.
Adding a margin-top for .loading_indicator_text
Removing the class input-size from the upload/delete buttons so that buttons and the image had equal widths (200px).

Automated message from Dropbox CLA bot
@digi0ps, it looks like you've already signed the Dropbox CLA. Thanks!

ping @brockwhittaker...this fix seems reasonable to me!

There's an issue for this -- #4223.  My opinion is we might just want to remove the "Uploading..." text entirely and just have the spinner...
@digi0ps did you also test the "realm icon" upload on the "organization settings" page?

I think the "Uploading avatar" text is fine, but perhaps the whole line should be condensed (make the spinner the same as the line height).

@timabbott Oops I didn't notice the issue, I will reference it in the next commit! And yeah the realm icon spinner has the same css, so this changes that spinner too.
@brockwhittaker Okay, will change it.

@digi0ps you should post a comment after making updates if you want review -- GitHub doesn't do an automatic notification when you push new code.

@digi0ps can you squash the commits, clean up the commit message to explain the bug more than the list of specific CSS changes, and to mention Fixes: #4223 so that merging the commits closes the issue this fixes?    Thanks!

@timabbott I am sorry, I will always comment in the future. :)
And I have squashed, cleaned up the commit and referenced the issue.
Thanks!

No worries :).
Merged, thanks @digi0ps!


Remove underscore in test method name when canonical data has whitespace in description

Why?
Remove unnecessary underscore in test method name to make it more readable
Issue: https://github.com/exercism/ruby/issues/668
What?
Modify Underscore module to clean up leading/trailing whitespace
How Has This Been Tested?
Updated exercise_case_test.rb to account for this case
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (non-breaking change which adds functionality)
[ ] Breaking change (fix or enhancement that would cause existing functionality to change)
[ ] Gardening (code and/or documentation cleanup)

References and Closures

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change relies on a pending issue/pull request
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks @vinmaster :heart:
This looks good and solves the issue, but I wonder if the change might be better in a different place. (The answer might be no.) Can you have a look and see where else you might be able to make the change?

Changes made. Please have a look 😄

Thanks @vinmaster ❤


test: add node test

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (6627157) to head (bac9ab9).

Additional details and impacted files
@@            Coverage Diff            @@
##            master        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           45        46    +1
  Lines         1121      1122    +1
  Branches       152       152
=========================================
+ Hits          1121      1122    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Template for new file (instead of hub selection)

When selecting a hub in the current version, I was thinking for a moment that this might do other things under the hood like restricting which hubs this program can run on.
So instead of choosing a hub, maybe we could call it "Choose a template"?
This can still include all the hubs, but also other things, like None (or maybe call it Empty).
I also added "Hub" to a few of the names here.

And in terms of hub names, here's another variant:

Just a idea.
Would ThisHub be a good candidate for a template here?
It might be causing confusion and add unneeded complexity.
I like the idea to add the images of the hubs.

Pictures can be provided by https://github.com/pybricks/pybricks-api/issues/100 so we'll have transparent backgrounds.


Project-level download button configuration for the book theme

Context
In https://github.com/executablebooks/mystmd/pull/1064 we're describing some of the new download functionality. In the process we realized that the project-level configuration doesn't yet have any effect on the book theme. You still must manually specify the download configuration per-page.
Proposal
I'd like to be able to specify a download configuration one time, and have it apply to all pages in a book. For example:
In myst.yml
project:
  download:
    - file: pathtomybook.pdf
    - id: someid

Any page-level download metadata would then override this
Tasks and updates
No response

This has been fixed in #355.


Windows 10

I have tested cloudbase-init on Windows 10 with cloudstack, but is not working properly, looks like the generated password was not applied, no problems on Windows 2008 and 2012.

Hello,
Can you open a bug on https://bugs.launchpad.net/cloudbase-init with the cloudbase-init logs?
Thank you,
Adrian Vladu


Umbraco 7 upgrade

Hi,
I have re worked this to work with Umbraco 7.2.4 (likely all the 7 branch)
I think this is a really useful extensona and I'm sure a lot of people will find it helpful.
I have done some initial testing myself but but would be good if you could test some more knowing the details of how it should work.
Let me know any issues!
Thanks
Carl

Will do later, currently on holiday but awesome work
Van: cwjackso<EMAIL_ADDRESS>Verzonden: Tuesday, May 12, 2015 5:58 PM
Aan: rsoeteman/usergrouppermissions
Onderwerp: [usergrouppermissions] Umbraco 7 upgrade (#1)
Hi,
I have re worked this to work with Umbraco 7.2.4 (likely all the 7 branch)
I think this is a really useful extensona and I'm sure a lot of people will find it helpful.
I have done some initial testing myself but but would be good if you could test some more knowing the details of how it should work.
Let me know any issues!
Thanks
Carl

You can view, comment on, or merge this pull request online at:
https://github.com/rsoeteman/usergrouppermissions/pull/1
Commit Summary

initial upgrade of files and change of event handlers
upgrade user extensions
no need for js in umb 7
move table structure to a petapoco model and rename business logic as a service and update to use petapoco - Does this all need to be static?
things need to live in App_Plugins in umbraco 7, change the view file and code behind to match umbrcao 7 as much as possible for now - needs more work
petapoco database creation on app start
more upgrades and changes - needs reviewing as some of this was commented functionality where no matching functionality could be found
remove dialogs as they are now in app_data
readme file change
made service non static and removed some extension method logic in favour of service approach
refactor code to remove duplicate code from service
remove old service / data model in one
I had broken the hash table permission thing somewhere along the way - attempted fix
fix the fetch / insert permission service for paths
Umbraco 7 user table starts index 0 (zero) so add in logic for checking if user is new before saving permissions. a new user here previously forced a save of admin permissions and locked the user out of content tree.
update readme

File Changes

M README.md https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-0  (6)
A UserGroupPermissions/App_Plugins/UserGroupPermissions/Dialogs/SetUsergroupPermissions.aspx https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-1  (27)
R UserGroupPermissions/App_Plugins/UserGroupPermissions/Dialogs/SetUsergroupPermissions.aspx.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-2  (92)
R UserGroupPermissions/App_Plugins/UserGroupPermissions/Dialogs/SetUsergroupPermissions.aspx.designer.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-3  (0)
A UserGroupPermissions/App_Plugins/UserGroupPermissions/package.manifest https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-4  (3)
M UserGroupPermissions/Binaries/businesslogic.dll https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-5  (0)
M UserGroupPermissions/Binaries/cms.dll https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-6  (0)
M UserGroupPermissions/Binaries/controls.dll https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-7  (0)
M UserGroupPermissions/Binaries/interfaces.dll https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-8  (0)
M UserGroupPermissions/Binaries/umbraco.DataLayer.dll https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-9  (0)
M UserGroupPermissions/Binaries/umbraco.dll https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-10  (0)
D UserGroupPermissions/Businesslogic/UserTypePermissions.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-11  (188)
A UserGroupPermissions/Businesslogic/UserTypePermissionsService.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-12  (217)
D UserGroupPermissions/Dialogs/SetUsergroupPermissions.aspx https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-13  (30)
M UserGroupPermissions/Events/AddUserGroupPermissionToContextMenu.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-14  (54)
M UserGroupPermissions/Events/InstallLanguageskeys.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-15  (9)
A UserGroupPermissions/Events/RegisterDatabase.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-16  (31)
M UserGroupPermissions/Events/UserSaved.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-17  (50)
M UserGroupPermissions/ExtensionMethods/UserExtensions.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-18  (13)
M UserGroupPermissions/ExtensionMethods/UsertypeExtensions.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-19  (61)
M UserGroupPermissions/MenuActions/UsergroupPermissions.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-20  (1)
A UserGroupPermissions/Models/UserTypePermissions.cs https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-21  (16)
M UserGroupPermissions/Scripts/UserGroupPermissions.js https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-22  (2)
M UserGroupPermissions/UserGroupPermissions.csproj https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-23  (67)
M UserGroupPermissions/UserGroupPermissions.sln https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-24  (8)
M UserGroupPermissions/Web.config https://github.com/rsoeteman/usergrouppermissions/pull/1/files#diff-25  (10)

Patch Links:

https://github.com/rsoeteman/usergrouppermissions/pull/1.patch
https://github.com/rsoeteman/usergrouppermissions/pull/1.diff

—
Reply to this email directly or view it on GitHub https://github.com/rsoeteman/usergrouppermissions/pull/1 .  https://github.com/notifications/beacon/ABePEbbNojAl5UsmXWNBv1co16aomJotks5oIhp7gaJpZM4EYD5s.gif


Blocked even with deployment on other sites

I deployed the project on Netlify, and the games are blocked still.

if you are deploying our website on netlify, please contact us so we can add your page to sitelock. otherwise, the games will not work due to security reasons.


Remove duplicated references injector config

Description of your changes

Fixes #
The configuration of the following two lines is the same in Provider.go, and the configuration of 128 lines has been deleted.
https://github.com/upbound/provider-aws/blob/c0ff895807d65912ee690a7bc0f8ac01e676827e/config/provider.go#L128
https://github.com/upbound/provider-aws/blob/c0ff895807d65912ee690a7bc0f8ac01e676827e/config/provider.go#L130
I have:

[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

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

/test-examples="examples/s3/bucket.yaml"

/test-examples="examples/iam/role.yaml"


chore: update outdated links in JSDoc

Since directory structures of hono.dev has changed due to https://github.com/honojs/website/pull/357, and update the links in JSDoc.
The author should do the following, if applicable

[ ] Add tests
[ ] Run tests
[ ] bun run format:fix && bun run lint:fix to format the code
[x] Add TSDoc/JSDoc to document the code

@ryuapp Great! Thanks.


Make ServiceCardImage, UserAvatar, and EntityAvatar forward a ref to Image

Fixes #324

Cool, made the displayName change! I looked into a test, but it seems like Enzyme only knows how to test the old string refs like ref="foo"


HTML#definition_description

I implemented a finder for 'dd' elements so that they can be found by id or text of preceding 'dt'. They are used for exemple by https://github.com/37signals/mail_view/blob/master/lib/mail_view/email.html.erb#L64. Tests are included.

I like previous_sibling, but I'm not convinced about the utility of #definition_description.

I know that some projects usually use it to display key-value pairs instead of using tables.


Gall - can not disable once defined arm by deleting it

I feel like this could be the correct behaviour, but anyway:
Suppose you have an app with defined prep arm.
Suppose arm is not empty and for example sets timer. Now, if you removed this arm from the code completely, the app will recompile, but the gall will still call the prep arm from previous version of the arm.
I.e. deleting an arm from app does not remove it altogether. The Gall will see the arm as it was last defined. Obviously to get rid of that we can recompile app first with empty arm and remove it from source code.
In either case I think this is worth documenting, as it could prove to be a source of frustration for or even impossible to trace bugs.

Can you post the app you're seeing this in? Deleting an arm should
definitely disable it; the gotchas I can think of are:

if your changes to the app cause it to not compile, and you see
corresponding a stack trace in your urbit log, gall will in fact keep
running the old app core and not the current impossible-to-compile one
++prep in particular might be called, once, as the app is being replaced
with its update? But I think that's just ++save in vanes
if you set a timer from ++prep, the timer now exists in %behn up outside
your app, and will come back as an eventual ++wake callback, regardless if
the arm that could send other independent future timers still exists or not.

On Thursday, 21 December 2017, mikolajpp<EMAIL_ADDRESS>wrote:

I feel like this could be the correct behaviour, but anyway:
Suppose you have an app with defined prep arm.
Suppose arm is not empty and for example sets timer. Now, if you removed
this arm from the code completely, the app will recompile, but the gall
will still call the prep arm from previous version of the arm.
I.e. deleting an arm from app does not remove it altogether. The Gall will
see the arm as it was last defined. Obviously to get rid of that we can
recompile app first with empty arm and remove it from source code.
In either case I think this is worth documenting, as it could prove to be
a source of frustration for or even impossible to trace bugs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/525, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABxXhqhtrTAPBS9MtB4jknxGHQtuyqf7ks5tC2AtgaJpZM4RKwBT
.

@ohAitch ,
I tried to reproduce it, but without success. It seems I fell into one of your cases.
Closing for now, if I see it again then will be sure to report with some reproducible example.


Add project delete command

This PR adds project delete command.
The core implementation is only wrapped around by this PR
and exposed to the outside as a cli command
fixes #646
Signed-off-by: anmolbabu<EMAIL_ADDRESS>

ToDo(@anmolbabu)

Handle the currentproject in case when the only project is being deleted..
Add UTs and e2e tests
Address comments on the PR

@anmolbabu , go through oc delete project <project_name>, see how oc handles corner cases

@kadel @cdrage @surajnarwade @syamgk @mik-dass @cmoulliard Please review..
All comments incorporated and verified

@kadel @cdrage @surajnarwade @syamgk @mik-dass @cmoulliard Please review..
All comments incorporated and verified

Awesome! Thanks @anmolbabu for this.
I've created an issue to remind ourselves to create a unit test document for this: https://github.com/redhat-developer/odo/issues/717


can i use one mask for much CT image

Describe the bug
A clear and concise question regarding your extraction. Please check FAQ section, PyRadiomics issues and PyRadiomics Google Groups to check if your question has been encountered before. If so, but you still require additional help, please reference related issues.
PyRadiomics configuration
Add any customization you applied here (i.e. the content of the parameter file used)
PyRadiomics log file
If available, add section of the PyRadiomics log related to your question. For help on setting up logging, see the online documentation
To Reproduce
Steps to reproduce the behavior:
Version (please complete the following information):

OS: [e.g. iOS]
Python version: [e.g. 3.6]
PyRadiomics version [e.g. 2.2.0]

Additional context
Add any other context about your question here.

Can you please try to make your question more clear?


Improve getting primitive values from a result set

We can retrieve an integer from a result set very easily as below from Java.
ResultSet rs = st.executeQuery("SELECT * FROM survey");

    // extract data from the ResultSet
    while (rs.next()) {
      int id = rs.getInt(1);
      System.out.println("id=" + id);
      String name = rs.getString(2);
      System.out.println("name=" + name);
}

But in ballerina, we need to define a struct even to get a single int value in a result set.
struct ResultPrimitive {
    int INT_TYPE;
    int LONG_TYPE;
    float FLOAT_TYPE;
    float DOUBLE_TYPE;
    boolean BOOLEAN_TYPE;
    string STRING_TYPE;
}

ResultPrimitive rs;
    while (datatables:hasNext(dt)) {
        any dataStruct = datatables:next(dt);
        rs, _ = (ResultPrimitive)dataStruct;
        i = rs.INT_TYPE;
        l = rs.LONG_TYPE;
        f = rs.FLOAT_TYPE;
        d = rs.DOUBLE_TYPE;
        b = rs.BOOLEAN_TYPE;
        s = rs.STRING_TYPE;
    }

Here, we have to write more lines of code compared to Java

In 0.970.0 data of a table can be easily accessed as follows.
foreach record in dt {
        io:println("Student:" + record.id + "|" + record.name + "|" + record.age);
}


Can't run template notebooks "ModuleNotFoundError: No module named 'torch.utils._import_utils'"

Hi Angelo folks!
Trying to get started running the analysis notebooks. Followed the install directions in the readme, tried cloning & using conda and installing from pip and getting the same error when I try to load the libraries at the top of both notebook 1 & notebook 2:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 12
8 from matplotlib import rc_file_defaults
10 from ark.phenotyping import (pixel_cluster_utils, pixel_meta_clustering,
11                              pixel_som_clustering, pixie_preprocessing)
---> 12 from ark.utils import data_utils, example_dataset, plot_utils
13 from ark.utils.metacluster_remap_gui import (MetaClusterGui,
14                                              colormap_helper,
15                                              metaclusterdata_from_files)
File ~/miniconda3/envs/ark_env/lib/python3.10/site-packages/ark/utils/data_utils.py:25
23 from anndata.experimental import AnnCollection
24 from anndata.experimental.multi_files._anncollection import ConvertType
---> 25 from torchdata.datapipes.iter import IterDataPipe
26 from typing import Iterator, Optional
27 try:
File ~/miniconda3/envs/ark_env/lib/python3.10/site-packages/torchdata/datapipes/init.py:11
7 from torch.utils.data import DataChunk, functional_datapipe
9 from torchdata import _extension  # noqa: F401
---> 11 from . import iter, map, utils
13 all = ["DataChunk", "functional_datapipe", "iter", "map", "utils"]
16 from torchdata import deprecation_warning
File ~/miniconda3/envs/ark_env/lib/python3.10/site-packages/torchdata/datapipes/iter/init.py:79
68 from torchdata.datapipes.iter.transform.callable import (
69     BatchAsyncMapperIterDataPipe as BatchAsyncMapper,
70     BatchMapperIterDataPipe as BatchMapper,
(...)
76     ThreadPoolMapperIterDataPipe as ThreadPoolMapper,
77 )
78 from torchdata.datapipes.iter.util.bz2fileloader import Bz2FileLoaderIterDataPipe as Bz2FileLoader
---> 79 from torchdata.datapipes.iter.util.cacheholder import (
80     EndOnDiskCacheHolderIterDataPipe as EndOnDiskCacheHolder,
81     InMemoryCacheHolderIterDataPipe as InMemoryCacheHolder,
82     OnDiskCacheHolderIterDataPipe as OnDiskCacheHolder,
83 )
84 from torchdata.datapipes.iter.util.combining import (
85     IterKeyZipperIterDataPipe as IterKeyZipper,
86     MapKeyZipperIterDataPipe as MapKeyZipper,
87     RoundRobinDemultiplexerIterDataPipe as RoundRobinDemultiplexer,
88     UnZipperIterDataPipe as UnZipper,
89 )
90 from torchdata.datapipes.iter.util.cycler import CyclerIterDataPipe as Cycler, RepeaterIterDataPipe as Repeater
File ~/miniconda3/envs/ark_env/lib/python3.10/site-packages/torchdata/datapipes/iter/util/cacheholder.py:24
21 except ImportError:
22     portalocker = None
---> 24 from torch.utils._import_utils import dill_available
25 from torch.utils.data.datapipes.utils.common import _check_unpickable_fn
27 from torch.utils.data.graph import traverse_dps
ModuleNotFoundError: No module named 'torch.utils._import_utils'

Quick update here, I was able to unblock myself by installing torchdata 0.7.1! Seems like an incompatibility between torchdata 0.8.0 (newest release as of a month ago) and the torch==2.0.0 pin here


dates in Quicken import as 1900's

Hello.  First, thanks for putting this project together... have been looking for a working tool for quite some time!
I use the qif files with Quicken instead of MS Money, and when I import, the years import in the 1900's instead of 2000's.  Apparently Quicken imports year formatted /19 or -19 as 1919.  A single apostrophe in front of the number denotes this century (2000's), like  '19.
See this thread:
https://community.quicken.com/discussion/7851012/im-using-quicken2016-on-windows-10-the-date-imports-as-1918-instead-of-2018-why
Might want to add a selector for the application to be used with, i.e. MS Money/Quicken, so that the date can be formatted appropriately?

Thanks for your feedback.
I'll add the selector


Conversations: Random messages will trigger conversation

We only want to trigger conversation when someone talks to NPCs. Currently, this is triggering off of messages sent to a room, which can include informational stuff and not just spoken messages. For example, if we examine the NPC:
$ examine pia kung
Amonsul examines pia kung

Pia Kung says, "blah blah blah"

We need to update this so it only triggers on actual conversation.

https://github.com/matt-jordan/mud-backend/pull/72


Adding spring.factories file for auto-config

Needed for spring-cloud-dataflow-admin-kubernetes/issues/47

LGTM; merged


document API

@gotwarlost could you provide a gist with a basic idea of how I'd swap out the old istanbul report API for this one, I'm looking at switching nyc over to this API. Specifically:

how do I use it in conjunction with the reports repo?
is there a way to run multiple reports at once, as with the old API.

this approach seemed to work, am I on the right track?
  var context = libReport.createContext()
  var tree = libReport.summarizers.pkg(map)
  var report = reports.create('text')

  this._loadReports().forEach(function (report) {
    map.merge(report)
  })

  tree.visit(report, context)

That seems right. I don't have access to the code right now - will take s closer look after 6 hours or so.


online dpo trainer based on rloo trainer

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Closing in favor of #1809


Fsharpi throws OutOfMemoryException

Running this code as a whole causes a OutOfMemoryException, while in parts it works as expected:
//Part 1
type Enu = A=1
//Part 2
[|Enu.A|]
seq[ Enu.A ] |> Seq.windowed 1 |> Seq.map id

Should result in seq<Enu[]>, but results in OutOfMemoryException, when executed all at once.
Related information
On windows with fsi 14.0.23413.0 it works, on fedora with fsharpi version from repository it doesn't.
Sorry if this is a problem on my part.

This must be a Mono problem.  Could you run mono --version please.  It would be good to check against the latest packages available from http://fsharp.org/use/linux

Mono JIT compiler version 4.2.3 (Stable <IP_ADDRESS>/832de4b Tue Mar 15 11:39:54 EDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          supported, not enabled.
	GC:            sgen

I have just tried to re-add and update repositories and packages as per the fsharp.org guide, but no change.

Happening in docker with fsharp/fsharp:latest image as well.
> type Enu = A=1;;

type Enu =
  |  A  =  1

> [|Enu.A|];;
val it : Enu [] = [|A|]
> seq[ Enu.A ] |> Seq.windowed 1 |> Seq.map id;;
val it : seq<Enu []> = seq [[|A|]]
> type Enu = A=1
- [|Enu.A|]
- seq[ Enu.A ] |> Seq.windowed 1 |> Seq.map id;;
System.OutOfMemoryException: Out of memory
  at (wrapper alloc) System.Object:AllocVector (intptr,intptr)
  at <StartupCode$FSI_0006>.$FSI_0006.main@ () <0x42220560 + 0x00032> in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x7ffa755ab960 + 0x000a1> in <filename unknown>:0
Stopped due to error
>

Please make sure a Mono bug is entered for this on the Xamarin bugzilla bug tracking system

Added it as OutOfMemoryException while working with seq: id 41970.
Hopefully it's correct, I have no experience with either bug tracking system.

Tracked in Mono - please ping them there if this continues to be an issue


Update NetworkEndpointCorrelation.yaml

Issue: https://github.com/Azure/Azure-Sentinel/issues/580
Fixes # https://github.com/Azure/Azure-Sentinel/issues/580

@shainw I had to close the other one, remove all the additional commits I had in my fork and got it up to date with the latest changes. Then, I added the quick fix without touching the ID field. Let me know if that works.


Refactorings

Refactorings to improve readability, extensibility and error handling.
More refactorings will follow. In particular, I'd like to clean up the massive case statement in ui.c and the crazy nested for loops in min_match_length in choices.c. That's for the next PR, though.

Hi guys, I'v got a couple of ideas to do with pick, but hesitant to start coding before this refactor is final, due to lot os possible conflicts. Question is, is it going into master soon?

Hey @GBuella! I'm looking forward to your ideas!
I'll resolve @mike-burns' comments on these commits and merge this PR on Friday.
In the future, I'll open smaller refactoring PRs so that they can be merged faster.

Thanks for the review @mike-burns! I have resolved your comments and will merge this.


why do we need to confirm the selection in 4.2.3?

Before 4.2.3 the model changed by clicking on the date. Now I have to confirm the selection on the check button.
Is there any chance to fire an onChange event when actually clicking the date?
It took me ages to figure out, why nothing happens, when I change the date.

set [autoClose] to true


Allow Conformers with All Zero Positions for Molecules with One Atom

Description
A proposed fix for issue 305 related an exception being raised when parameterizing ions.
The change now retains conformers which have all of their positions set to zero for 'molecules' which contain only single atoms.
Status

[x] Ready to go

This is a good idea. You mentioned there are other reasons that we fail on Na+, but this will allow us to get things like Argon through. Thanks!


Replace Thread.Sleep with task.Delay

Performance Improvement of PT Run
Similar to PR #7401, replacing Thread.Sleep with Task.Delay throughout the codebase would improve the performance of PT Run as Thread.Sleep blocks the thread that it is called on whereas Task.Delay uses a timer instead and schedules a thread to resume work after the interval has passed. This does not block the thread.

From the current snapshot in master, here is the offenders

The use of Thread.Sleep has increased enormously.


Add commandline module (not ready to merge)

SonarQube analysis reported 8 issues:

 1 critical
 3 major
 4 minor

Watch the comments in this conversation to review them.

SonarQube analysis reported 1 issue:

 1 major

Watch the comments in this conversation to review them.

SonarQube analysis reported 2 issues:

 1 critical
 1 minor

Watch the comments in this conversation to review them.

SonarQube analysis reported 1 issue:

 1 critical

Watch the comments in this conversation to review them.

test this please

SonarQube analysis reported 2 issues:

 1 major
 1 info

Watch the comments in this conversation to review them.

SonarQube analysis reported 2 issues:

 1 major
 1 info

Watch the comments in this conversation to review them.

SonarQube analysis reported 2 issues:

 1 major
 1 info

Watch the comments in this conversation to review them.

SonarQube analysis reported 2 issues:

 1 major
 1 info

Watch the comments in this conversation to review them.

SonarQube analysis reported 2 issues:

 1 major
 1 info

Watch the comments in this conversation to review them.

test this please

test this please

SonarQube analysis reported 1 issue:

 1 minor

Watch the comments in this conversation to review them.

LGTM


Enable 'team-reviewers' input parameter.

👆

Codecov Report

Merging #117 (9318d2b) into master (689b75c) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   60.00%   60.09%   +0.09%
==========================================
  Files          14       14
  Lines         425      426       +1
  Branches       45       45
==========================================
+ Hits          255      256       +1
  Misses        170      170

Impacted Files
Coverage Δ

src/github/gh-ops.ts
100.00% <100.00%> (ø)

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 689b75c...9318d2b. Read the comment docs.

Codecov Report

Merging #117 (9318d2b) into master (689b75c) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   60.00%   60.09%   +0.09%
==========================================
  Files          14       14
  Lines         425      426       +1
  Branches       45       45
==========================================
+ Hits          255      256       +1
  Misses        170      170

Impacted Files
Coverage Δ

src/github/gh-ops.ts
100.00% <100.00%> (ø)

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 689b75c...9318d2b. Read the comment docs.


Work with finance/procurement to create agile RFP

If one does not already exist ... if it does, close with issue

Work with finance to create an RFP that follows guidance from here
https://github.com/sara-sabr/technology-budgeting/blob/master/handbook.md

Ex:

A Statement of Objectives rather than a Statement of Work
Quality Assessment Surveillance Plan (QASP)
Establish clear requirements about the regular delivery of working code, documentation, testing
Ownership of all work products remaining with the state

See https://www.gcpedia.gc.ca/wiki/Agile_Procurement

Oh that's fantastic. Thanks @gabrielcossette !


Translation error showing up on integrations

Most of my integrations are showing a Translation Error: Invalid values for "count": "xyz". Options are "0", "1" type of error.
Tried to remove and re-add again and error message persists. The integration seem to be working properly though.

Hi there @vdiogo,
This is the Home Assistant add-ons issue tracker. I have a hard time figuring out what your issue is about. Let's start with the add-on you are experiencing an issue with?


Move Faker dependency to [tool.poetry.dev-dependencies]

Faker is a test data generator and shouldn't be a build dependency of orator.
Fixes #250

Refer to answer provided in #250


[Easyscoreboard + Placeholder] Placeholders are one players not individual

Please provide these fields before submitting an issue.
SpongeAPI version: Sponge 7.1 - 3002
PlaceholderAPI version: 4.4
Plugins installed: EasyScoreboard, TotalEco, Pixelmon - These are the main ones the placeholders are using.
Description: The placeholder API is currently displaying one players placeholders rather than the individual players placeholder, the placeholders i'm using - %player_time_played_hours% and %economy_balance%
Steps to reproduce:

Which plugin is using the placeholders? I cannot replicate this on my end, having multiple users and parsing properly works.

I know this is an old issue. I'm running into this now, too, but I'm certain is because we have 2 players playing together on the same LAN on a server. I think that something has to be based on the IP address as yysscoreboard displays one player's name and balance, but that switches to the other player's name and balance if one player dies and respawns.
Is there any way to fix this?


Fixed bug in bijectors.ops.spline.Spline and unit test for log(detJ))

Motivation
From other work, I discovered that training Neural Spline Flows was not working as expected, being unable to learn simple toy distributions... This PR fixes this, as well as the reason that the unit tests were not picking it up.
Changes proposed
I changed the sign of the log(det(J)) in the inverse method of bijectors.ops.spline.Spline, and ensured the unit tests are not using cached values of log(det(J)) (via BijectiveTensor) when comparing log(det(J)) from the forward method to that of the inverse one.
Test Plan
Run pytest tests/ and try the Neural Spline Flow example in the theory tutorials

Codecov Report

Merging #100 (268ac28) into main (45e91ca) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   98.23%   98.25%   +0.01%
==========================================
  Files           6        6
  Lines         227      229       +2
==========================================
+ Hits          223      225       +2
  Misses          4        4

Flag
Coverage Δ

unittests
98.25% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tests/test_bijector.py
100.00% <100.00%> (ø)

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 45e91ca...268ac28. Read the comment docs.