Can't stop player properly

Hi,
I have a list view with some video URL .
at 2nd activity I'm using your player. but I'm getting force close when I'm pressing back and the video is not properly stopping.
I have gone through the process mentioned in androidarsenal, can you help? 💕❤please :)

See demo, onPause(){JCVideoPlayer.releaseAllVideos();}
Check code between your project and demo.

bro I checked the demo, wasn't working as well. below is my code. please if you have sometime , can you tell me the issue ?
public class player extends Activity {
JCVideoPlayerStandard jcVideoPlayerStandard ;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.playerx);
}
public void onStart()
{
	String i = getIntent().getExtras().getString(("key"));
	JCVideoPlayerStandard jcVideoPlayerStandard = (JCVideoPlayerStandard) findViewById(R.id.custom_videoplayer_standard);
	jcVideoPlayerStandard.setUp(i
								, JCVideoPlayerStandard.SCREEN_LAYOUT_LIST, "iptv");

    super.onStart();

}
@Override
public void onBackPressed() {
	if (JCVideoPlayer.backPress()) {
		return;
	}
	super.onBackPressed();
}
@Override
protected void onPause() {
	super.onPause();
	JCVideoPlayer.releaseAllVideos();
}

}

sorry I fixed. I had to extend action bar not activity . 🐸 nice library dudd


Modify org name for family integration stream

Resolves # . (This is applicable only if this pull request relates to a GitHub issue, delete the line otherwise)
Notes:
*
*
*

@timja I was referring to Adoption teams team-config as below, hence created multiple app
adoption-web:
team: "Adoption"
namespace:  "adoption"
slack:
contact_channel: "#adoption-tech"
build_notices_channel: "#adoption-tech"
tags:
application: adoption-web
adoption-cos-api:
team: "Adoption"
namespace:  "adoption"
slack:
contact_channel: "#adoption-tech"
build_notices_channel: "#adoption-tech"
tags:
application: adoption-cos-api
adoption-ccd-definitions:
team: "Adoption"
namespace:  "adoption"
slack:
contact_channel: "#adoption-tech"
build_notices_channel: "#adoption-tech"
tags:
application: adoption-ccd-definitions


Not able to build on IfcEngine.x86_64

Having this issue while running the IFC importer script on MacOS:
ifcengine   at (wrapper managed-to-native) IfcEngine.x86_64.sdaiOpenModelBN(int,string,string)   at IfcEngineWrapper.IfcUtil.ParseIFCFile (System.String strPath) [0x0000a] in <735dabf5ebca4f4086cc1a84a3a58577>:0    at ImportIFC+<Import>d__21.MoveNext () [0x001a5] in /Users/felixwcf/Desktop/AR BIM/Assets/IFCImporter/ScIFC/ImportIFC.cs:106    at CielaSpike.Task.MoveNextUnity () [0x00002] in /Users/felixwcf/Desktop/AR BIM/Assets/CielaSpike/Thread Ninja/Task.cs:242  UnityEngine.Debug:LogError(Object) CielaSpike.Task:MoveNextUnity() (at Assets/CielaSpike/Thread Ninja/Task.cs:260) CielaSpike.Task:BackgroundRunner(Object) (at Assets/CielaSpike/Thread Ninja/Task.cs:233) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

If you're on MacOS this should be using Mono, which is not supported, I think. One reason for me to move along and build an alternative, but that's still WIP.
Sorry :/


Create target keyword for twinspark.query

It is useful to target the element that is the origin of the event. I have created a very artificial example, but it still proves that we can save on the code length and id/class identifiers.

Wow, cool! I like this, thanks :)


Clarity Needed on Claims Made by PrincetonNLP 'Tree of Thoughts' Author

I left an issue before that was closed and after careful consideration, you were correct to do so. I apologize for coming out of the gate making claims that the repo was fraudulent. However, I am requesting clarity regarding the claims that have been made against this repo by 'Princeton LLP' here: https://github.com/princeton-nlp/tree-of-thought-llm
Here is what they wrote in relation to your repo:

Rather than accepting the comments from the author of the other repo as tacit fact, I wanted to ask for some clarity with respect to the following questions:

Why is the author of the study advocating for people to 'unstar' your GitHub repo? (more on this later, I do not necessarily agree with the tactics of the other author).

What is your stance on what has been said about this repo by one of the authors of the 'Tree of Thought' methodology? Do you find these comments to be valid? Why or why not?

When considering the fact that there are more implementations of the 'Tree of Thought' mechanism apart from just his, what do you think the motivation here is for somebody to insist that nobody should be adhering to your repo?

The author of the study suggested that all of your repos are crafted using ChatGPT, what is your response to this?

Clarifying My Position
After taking time to go through your README.md and the accompanying Python code, I find it hard to imagine that this is a BS implementation of the 'Tree of Thoughts' prompt strategy. Your codebase is more coherent and 'logical' than the princeton-nlp implementation.
Even if what the author of that repo stated was true regarding the supposed inaccuracies in your implementation of the Tree of Thoughts' prompt strategy, one would think that the they'd consider it more constructive to make a pull request that rectifies the alleged deficits. Instead, they elected to put you on blast for it, then advocate that no one else use or implement your iteration of the 'Tree of Thoughts' guide.
Also, the author of the princeton-nlp repo failed to identify exactly what issues existed within the repo that would've led to an inaccurate / degraded prompt output. I find that to be problematic as well.
Purpose of This Issue
To give you a chance to address these issues if you have the chance. I know that I'm not the only person that's looked up whether there are any 'Tree of Thoughts' repos out there and stumbled across both yours and the one from princeton-nlp. After reading the princeton-nlp disclaimer in their README.md, I was a bit hesitant at first due to the conviction their claims appear to have.
However, it is not fair for them to make such accusations without any proof. I believe in the principles behind 'open source' and, in my opinion, that researcher violated them.
With that being said, I am going to take some time soon to spin up the code here and see what results I get. My impression after reading the paper is that this methodology is more of a conceptual idea vs. a concrete, finite implementation that can only be iterated with specific code. So it confuses me as to why the author of the princeton-nlp 'Tree of Thoughts' repo would take such an aggressive stance.
Why I'm Asking for Clarity
To be clear, I'm not asking you to 'defend yourself' per se, but I do think that clarity is warranted for the sake of the broader open source community. If the author of the 'opposing' 'Tree of Thoughts' repo is incorrect in their assertions about your repo, then I believe that this is a fact that should be enumerated. Its a disservice to the community at large if developers and programmers are being steered away from a legitimate implementation of this repo. So my hopes are that greater proof will assist the open source community with parsing between the two repos & determining 'what's what'.

Bumping this for a comment once again. Assuming that the claims made by the other repository author are unequivocally false, I could see why you would be reluctant to answer this issue or take the time to address this matter. Likely the thinking here is that users can simply verify the code themselves if they are in any doubt/question.
If this is the case, then could you explain how one would go about doing so? I'd be more happy to put together the tests myself and then add into this repo as a pull request for you to integrate at a latter point in time. I'd also make sure to comprehensively document my process so that other users could replicate it themselves if they felt so inclined.
I'm always more willing to help than encumber.

Hey, I'm thankful for your open mindedness and patience.

First, They release a paper with no code or reproducible experiment, this I deem as heretical to science and so I implement it and it's popular really quick because this technique is truly powerful.
They get mad that my repo and code is better than their's and they published they paper, they feel entitled even though I reproduced the entire paper based on 4 phrases, dfs, bfs (search algos), generate solutions, and generate thoughts and this is it. I didn't even read the full paper when I first started to implement it.
The reason they want people to unstar my repo is because they are jealous that they made a mistake by not sharing the code when they published the paper as real scientists would do. If you do not publish your code as a AI research scientists you are a heretic, as your work cannot be tried and tested.
and the code works amazingly much better than theirs, I looked at their code and couldn't figure out how to run it for hours, as well as other people have reported the same.
the motivations are jealously, self hatred, guilt, envy, inferiority complex, ego, and much more psychographic principles.
And, what proof do they have that my code is chatgpt generated? I mean look at the number of commits I have garned in just half a year, 3000+ commits, with hundreds a day. They have 0 proof of this and they are just trying to discredit me and our work.
I haven't answered because I am working on 40+ projects all at once
The claims by the other people have no grounding in reality and it's just egotistical anger that i am better than them in every capcity.

You the man. Screw the haters.

Crypto bros at it again lmao.
Maybe try getting an actual job instead of making commits where you change a single word each.

This is just too hilarious. I'm sure you're gonna be the savior of humanity.

Crypto bros at it again lmao.
Maybe try getting an actual job instead of making commits where you change a single word each.

So I'm not sure if you just finished your crack binge, but I'm busy working on a really high level project that involves prompt engineering as well as actually fine-tuning a large language model from scratch (the pre-trained model state). Not only that, I'm pretty much swapping out all of the different constituent pieces of the LLM itself with custom built alternatives.
For example, the tokenizer is different, I might swap out the embeddings that come with the transformer itself and I'll of course be freezing the initial layers before fine-tuning to ensure that the model doesn't fall victim to catastrophic memory loss. Of course none of this touches on the multitude of techniques that will be used in the overall pipeline or the other add-ons like multi-query attention, changing the attention formula itself (literally; I modified the actual attention formula due to the one-off problem so that it now 'normalizes' + smooths out the attention scores and fixes a major issue with the formula itself).
  My genius starts where your intelligence drops off at. I never needed a teacher, mentor, class, lecture, or degree to do what I'm doing. I'm naturally gifted.
I'm a multi-faceted, legendary individual that's trail blazed in an industry that's traditionally devoid of individuals from my demographic.
Now what have you done lately? I'll wait.
Dumbass.

This is just a microcosm of the work that I do
https://github.com/kyegomez/tree-of-thoughts/assets/130879677/0af6dde2-cf0f-4aa4-81af-4653da76cb7d
Talking about "crypto bros at it again" - who is a crypto bro here?
 The same applies to any other industry or field in existence. I'm fundamentally better than you at everything. You would do anything in life to be me.
But you can't. That's why you had nothing to contribute to this thread of conversation. You probably don't even understand the subject matter being discussed here. I doubt you have the ability to parse the nuance in the dialogue that I'm having here with the developer of this repo.
You should be humbled by the fact I even took the time to respond to something this asinine. As you can see from what I just posted off top, my time is valuable. So do me a favor and don't ever even consider talking to me or responding to anything that I ever write on any social media platform ever again unless you contribute something that at least meets 75% of the quality of output that I do.

Include me in the screenshot


Implementing the 3.14.2 build

Conda-forge failed to pull the 3.14.2 build because I failed to upload the source distribution, preventing the build.  So this PR includes the updated build information and has updated the requirements.
This also fixes #22.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

This recipe is using a compiler, which now requires adding a build dependence on {{ stdlib("c") }} as well. Note that this rule applies to each output of the recipe using a compiler. For further details, please see https://github.com/conda-forge/conda-forge.github.io/issues/2102.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

PyPI default URL is now pypi.org, and not pypi.io. You may want to update the default source url.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

It built!  For future us, the primary build updates were to have consistent numpy and cython versions across the build, host and run sections of meta.yaml.

Everything is building, so I'm going to go ahead and merge.


Docker files for native Spark

The k8s-spark-native docker files can live here till we find a better location for them.
This is single point that can be used, rather than having multiple custom images as we currently do.
I've committed here with some modifications, the files that were previously in https://github.com/erikerlandson/openshift-spark/tree/k8s-native.
Do let me know if I've missed something.
TODO:

[ ] Clean up.
[ ] Standardize and come up with a specification of shim scripts for people to enable building custom images.

/cc @mattf @erikerlandson @iyanuobidele @mccheah

Yes, we need some kind of default spark image to fall back to in our program. That can be this for now, till we find a more permanent place to move this to.
On the same note, pardon me if this is not the best place for this, I was thinking about the best way to support proxy for users like me running behind one. Right now, I have baked it into my image at build time, which isn't really the best approach. Since we need to have a solution that works across board, I was thinking if this should be handled at image level or programatically, by playing with the JAVA_OPTS and then adding it into the container env. For more context, this is needed when the container tries to get the jar through the network url.
@foxish thoughts ?

We could also look into putting the Dockerfiles in the Spark repository. I've done this here: https://github.com/foxish/spark/pull/9/files#diff-b144f9329b6d0371f44cea286a5a1046R1
Just a proposal; it's of course still unclear as to what the real right place is.

Since we need to have a solution that works across board, I was thinking if this should be handled at image level or programatically, by playing with the JAVA_OPTS and then adding it into the container env.

@iyanuobidele
That makes sense. I agree that we should be supporting specification of proxy servers, basic authentication and so on. There are two disjoint issues here. One is supporting proxies for maven package coordinates supplied using --packages to spark-submit. This is handled by Spark if we pass in spark.driver.extraJavaOptions as described here.
The downloading of the client-jar is currently done by a shell script which uses curl to download the client-jar. We need to figure out whether we're going to keep that as is, and how we can support proxies.
@mccheah's work on uploading local jars to the driver can also help this mitigate this particular issue.

In the event that the Apache Spark upstream isn't comfortable with hosting official images, I still favor having some docker registry organization that can be managed independently of any single individual's registry acct.  I created k8s4spark with that idea in mind.  I'm the owner, which doesn't 100% pass the hit-by-a-bus test, however I can add administrators.


Update Custom Sprite Sizes

This commit updates the custom sprites in both the Poison and Status Bars plugins to a uniform rendering size of 26x26 pixels. Originally, these images were sized at 15x14 pixels.
To streamline operations, I have set the canvas size directly to 26x26 pixels. This adjustment ensures that existing functionality for drawing these sprites remains unaffected.
With this change, you can now call the images directly without needing to resize their canvases.
Additionally, this modification prepares the Resource Packs plugin to enable theme pack creators to customize these sprites effectively, preventing any placement issues and providing a larger canvas for design flexibility.

Didnt mean to add that plugin change!


Propagate source checksums all the way into grapher

Problem
We would like to know which data in grapher is out of date compared to the ETL, without re-running an upsert to grapher. This gives us important information about what's changed, information that's especially important if we believe that upserts to grapher will always be done manually. For example, if we recalculate our population dataset, we may wish to have an indicator which datasets that depend on it need updating in Grapher.
Proposed solution
One solution is to propagate the source_checksum mechanism that the ETL uses, and to maintain in MySQL a mapping of which checksum is the latest used by a dataset. With such a mechanism, it could be cheap to check what data in MySQL is out of date, and list that to the user.

Just a note for my future self -  all updates to grapher are now done manually, so this is not such a big issue, but if we start pushing to grapher automatically then we absolutely have to do this since every push to grapher takes ~10s (because of data_values).

More context from our chat:

The ETL is "smart" and only rebuilds what needs rebuilding
But the upsert to grapher is not smart right now, it always upserts everything
The smarts are based on checksums

You never need to rebuild something if the checksums haven't changed (see checksum_input(), checksum_output(), is_dirty() in etl/steps/__init__.py)

This ticket would make it smart, by adding checksums of the data to MySQL

That way, the next time you go to upsert, you can see that nothing has changed, and skip it

Open ideas:

Could we continuously deploy data from the ETL to grapher, not make it so manual?

Probably we can, and should, if the ETL is stable enough and used often

Open questions:

When you upsert over the top of an existing dataset, are variable ids preserved? (charts will refer to data by variableId, so once we have a chart, we cannot delete a variable without deleting the chart first)
Where would the checksum live in the database?

Since ETL steps cover one whole dataset at a time, then the checksum would be added to the datasets table in MySQL (field to be added via a db migration script in the grapher repo)

So here is the rough plan on this:

Write a migration in grapher to add a latestChecksum. I think it's best for this to be non-null, defaulting to zero or something, since we should always have a checksum
Update db_utils#upsert_dataset to write the additional column, which is easily accessed in that scope with dataset.metadata.source_checksum
Once both changes are deployed, run a full etl --grapher in prod to populate the real checksums / overwrite the default zero value for all datasets. Since upsert_dataset is called on each etl blah --grapher, this should work fine

Does this sound OK?

Note that not all datasets come from ETL (only about 800 out of 3000) and not all future datasets will have checksum (and computing checksums retroactively would be a pain). We could have either zero with non-null constraint or just have nulls. Is there any practical difference?

Oh, yeah nulls are fine if not all datasets have checksums, I thought they did 👍  Thanks

Just be careful that source_checksum is checksum of inputs for a given step. You might need something more like checksum_output

Good point - If I'm understanding these correctly, I'm not sure it matters which checksum to use, since outputs should change if and only if inputs change. @larsyencken do you have an opinion on this?

This one looks done.


Fix form spacing defaults

using a ul.list--form to wrap all form elements won't cut it - find another way, or better yet, bake form spacing into base input tags

going to use chunk for now


Conflicting Docs

It looks like on https://app.datadoghq.com/monitors#create/process that we state you use conf.d/process.yaml, and now I'm not sure if I know which one is the correct one. I assume this one is, but that means we need to update the app documentation to reflect this correctly.
What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Hi @soitbros, can you share a screenshot of what you're seeing and expecting?

Hi Christine,
Yep, please see here on the app:

The documentation on https://app.datadoghq.com/monitors#create/process conflicts with the documentation on this page. I believe only one of them is the correct one.

Hi @soitbros, I see the discrepancy now. The format conf.d/process.yaml is a legacy one where as now integrations are in the format conf.d/process.d/conf.yaml. I believe the monitors documentation would need to be updated.

Closing this PR as the docs fix is not in the scope of this repo. Thanks for bringing this our attention!


Flickering Notes

What feature do you want to get added on the base engine?
With source code btw. I want the notes to randomly move to some parts of the screen but idk how(constantly moving to parts of the screen).
To test your sight, and reliability, please select the option of what should NOT be requested.
Thing that would not cause problems

why is this labeled as an enhancement

no

how do you label it something else

u can’t lol

unless your a collaborator or something

how do you make that just


Show missing project error once

https://github.com/alanvardy/tod/issues/749
When showing a task from the filter module (so project is shown) if the project is not in config there is an error shown per task. Show the command for auto fetching projects one time at the end by utilizing the error channel.

Resolved already


Notice: Access to undefined property acl in

I  copy app/controllers/ControllerBase.php to  my website,
I get the error message like "Notice: Access to undefined property acl in ".

@kideny Could you provide more information, please?

I wasn't able to reproduce it and I propose to close this issue.


fix: add optional push container registry

if we ever want to push to a different host to where we consume. In case we are using BDD tests with kind for example where we sometimes need different push (pod) access versus kubelet (consume)

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

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


Native ads are sometimes displayed and sometimes not displayed.

I tested this project on github
https://github.com/googleads/googleads-mobile-flutter/tree/main/packages/google_mobile_ads/example
about the case of displaying native ads. I noticed that the ad doesn't always show up even though it loaded successfully.
Can you tell me why?
Here is the video I tested from example
https://www.youtube.com/shorts/eyK2pIs3TnM

Hi @thunq96, I am not able to reproduce your issue. I am able to successfully see an ad appear every time the ad is refreshed. It's possible it may be due to your network connection where the ad is loaded but the view is still populating. For us to further debug there a few options:

Send us a Charles log that includes the request where the ad is blank.
Use [network tracing(https://developers.google.com/ad-manager/mobile-ads-sdk/android/network-tracing) and send over the request where the ad is blank.
Use ad inspector and export the ad request where the ad is blank.

(https://github.com/googleads/googleads-mobile-flutter/tree/main/samples/admob/native_platform_example is the example for reference)

Closing due to inactivity

@thunq96 have you find the solution??

Yes, I solved it @Namr547

How? Can i get the solution
On Wed, 21 Aug 2024, 7:22 am Nguyen Quang Thu, @.***>
wrote:

Yes, I solved it @Namr547 https://github.com/Namr547
—
Reply to this email directly, view it on GitHub
https://github.com/googleads/googleads-mobile-flutter/issues/1103#issuecomment-2300278476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB2566YXZ233G52MTFTFYWDZSP2WNAVCNFSM6AAAAABIGXOQTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBQGI3TQNBXGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@thunq96 i face the same issue. Please give me your solution


Objects

Codecov Report

Merging #9 into master will increase coverage by 0.18%.
The diff coverage is 93.55%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   96.07%   96.26%   +0.18%
==========================================
  Files          40       43       +3
  Lines        4050     4389     +339
==========================================
+ Hits         3891     4225     +334
- Misses        159      164       +5

Impacted Files
Coverage Δ

src/serde.rs
88.88% <ø> (ø)
:arrow_up:

src/rules/empty.rs
100% <ø> (ø)
:arrow_up:

src/character.rs
94.69% <ø> (ø)
:arrow_up:

src/space.rs
95.78% <ø> (ø)
:arrow_up:

tests/entropy.rs
100% <ø> (ø)
:arrow_up:

src/event.rs
96.1% <ø> (ø)
:arrow_up:

src/metric.rs
94.39% <ø> (ø)
:arrow_up:

src/entropy.rs
94.33% <ø> (ø)
:arrow_up:

tests/creature.rs
97.12% <ø> (+1.43%)
:arrow_up:

tests/fight.rs
100% <ø> (+1.96%)
:arrow_up:

... and 21 more

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 8691e19...5b68cd8. Read the comment docs.


feat(nexus_access):  adding initiator access restriction support to nexus

This PR includes control plane changes required to set host/s allowed to connect a given nexus.

bors try

bors try

bors merge


Create in silico NGS data of Platanthera spp.

Create in silico NGS data of Platanthera spp. using the reference genome.
Either ART or NGSNGS will be used

Because the scp command did not work when trying to get the P_ziji file to local I will use the reference genome A. thaliana we just removed, GCF_000001735.4_TAIR10.1_genomic.fna.gz.
Because NGSNGS is supposedly faster and created by bioinformaticians at KU I will use this simulation program instead of ART

Determine how to set seed and have NGSNGS generate reads of P_zinji three times so we don't dilute with same reads across all samples (maybe four or five times??).

The practice reference had seven 5 chromosomes, one plastid, and one chloroform genome sequence. I split the file to only hold the chloroform sequence.
After many tries, I am able to create both SE and PE fastq reads.
Single End

$ngsngs -i data/references/ncbi-genomes-2023-03-08/TAIR10_chloro.fna -c 3 -f fq -l 100 -seq SE -t 2 -q1 data/references/AccFreqL150R1.txt -o ninja2
Paired End
$ngsngs -i data/references/ncbi-genomes-2023-03-08/TAIR10_chloro.fna -c 3 -f fq -l 100 -seq PE -t 2 -q1 data/references/AccFreqL150R1.txt -q2 data/references/AccFreqL150R2.txt -o ninja3

The question lies now in understanding the quality profile file that is required.

Update:

I am able to generate the P. zijinensis reads with NGSNGS.
I have learned that the quality profile can be generated through FastQC by analyzing the mock data.

What dawned on me, though, is that if I were to dilute a 4.5GB mock data file to reach 90% P. zijinensis the file would become ~45GB??.
Not good..

Closing as i will run CAMISIM instead.


feat(cli): add a --next flag to the deploy command

Description

Adds a --next flag to the deploy command which allows users to copy the files on the next branch when first deploying their instance.

closes #42

This is a Code Change

[ ] Docs have been updated to reflect these changes if necessary. refer to #37
[x] Changes have been tested.

@Marcovdt68

pog


Kaushik changes

Codecov Report

Merging #48 (df837b0) into main (7f07677) will increase coverage by 0.85%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   58.32%   59.17%   +0.85%
==========================================
  Files          20       20
  Lines        1538     1526      -12
==========================================
+ Hits          897      903       +6
+ Misses        641      623      -18

Impacted Files
Coverage Δ

cogs/deadline.py
69.45% <84.61%> (+6.66%)
:arrow_up:

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 7f07677...df837b0. Read the comment docs.


This vs azure-mobile-services?

How is this repo related to https://github.com/Azure/azure-mobile-services?

@weien Mobile Apps service is the new version of Mobile Services, and with the new version, the client SDKs that were previously maintained in the azure-mobile-services repo were broken up by client platform and moved to azure-mobile-apps--client repos. So, in short, the source found in this repo is for the iOS client SDK for the new version of Mobile Services, Mobile Apps.


Some questions

userDataDir: "./userdata" doesnt seem to work whats the proper way to get userDataDir to work?
Also setting the viewport doesnt seem to work how do we do that?

Cool thanks for the answer.

userDataDir: "./userdata" doesnt seem to work whats the proper way to get userDataDir to work?
Also setting the viewport doesnt seem to work how do we do that?

Please try this.
https://github.com/zfcsoftware/puppeteer-real-browser/issues/46#issuecomment-2158069120


cryptonite 0.21 and memory 0.14

cryptonite-0.21 (Vincent Hanquez @vincenthz) is out of bounds for:

[ ] avers-<IP_ADDRESS> (==0.20.*). Tomas Carnecky @wereHamster. @wereHamster. Used by: library
[ ] avers-server-<IP_ADDRESS> (==0.20.*). Tomas Carnecky @wereHamster. @wereHamster. Used by: library
[ ] servant-auth-cookie-0.4 (>=0.14 && < =0.20). Al Zohali<EMAIL_ADDRESS>@zohl. @zohl. Used by: library, test-suite, benchmark

memory-0.14 (Vincent Hanquez @vincenthz) is out of bounds for:

[ ] avers-<IP_ADDRESS> (==0.13.*). Tomas Carnecky @wereHamster. @wereHamster. Used by: library
[ ] avers-server-<IP_ADDRESS> (==0.13.*). Tomas Carnecky @wereHamster. @wereHamster. Used by: library
[ ] servant-auth-cookie-0.4 (>=0.11 && < 0.14). Al Zohali<EMAIL_ADDRESS>@zohl. @zohl. Used by: library

@vincenthz what versioning scheme your package are following, the changes mentioned seems to be non-breaking ones. Why you made a major version bump?

@phadej https://github.com/haskell-crypto/cryptonite#versioning

cacophony-0.9.0 requires memory >= 0.14 so we are staying with cacophony < 0.9.0 @centromere

@wereHamster has modified the bounds on his packages.

Thanks! Only servant-auth-cookie remaining, are you available to fix it @zohl?

@wereHamster A subtle issue: The new revisions of avers and avers-server changed e.g. the bound on memory from == 0.13.* to >= 0.13.0. The memory release is 0.13 but with versions 0.13 < 0.13.0 so there is no longer a build plan that works. I'll use my trustee powers to publish new revisions since the fix is obvious, otherwise we'd have to remove avers from nightly.
cryptonite-0.20 (Stackage upper bounds) is out of bounds for:

[ ] avers-<IP_ADDRESS> (>=0.20.0 && < 0.22). Tomas Carnecky @wereHamster. @wereHamster. Used by: library
[ ] avers-server-<IP_ADDRESS> (>=0.20.0 && < 0.22). Tomas Carnecky @wereHamster. @wereHamster. Used by: library

memory-0.13 (Stackage upper bounds) is out of bounds for:

[ ] avers-<IP_ADDRESS> (>=0.13.0 && < 0.15). Tomas Carnecky @wereHamster. @wereHamster. Used by: library
[ ] avers-server-<IP_ADDRESS> (>=0.13.0 && < 0.15). Tomas Carnecky @wereHamster. @wereHamster. Used by: library

Wait, what? Are you saying that 0.13 < 0.13.0 but 0.13 <= 0.13.*?

Yep :-(

Some related discussion: https://github.com/haskell/pvp/issues/4

oh wow. this must be a joke :|

servant-auth-cookie has been fixed, version 0.4.2 should comply the bounds.

Thanks!

@bergmark @vincenthz Note: Upon the next release of memory and/or cryptonite, we're going to go through this again.


trunk serve repeatedly showing error

index.html
<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Leptos App</title>
    <link data-trunk rel="css" href="styles.css" />
    <link data-trunk rel="copy-dir" href="some_dir_not_exists" />
    <link data-trunk rel="rust" data-wasm-opt="z" />
  </head>
</html>

trunk serve
it will show this error repeatedly, I expect the error is only shown once.
ERROR ❌ error
error from build pipeline

Caused by:
    0: error from asset pipeline
    1: error taking canonical path of directory "..."
    2: No such file or directory (os error 2)

A reproducer would be helpful. Also it would be helpful if you could run trunk with -v or even more (-vv) to figure out what triggers the new build.

tauri-app.zip
@ctron here is a repo to reproduce, you can run trunk serve.
Thanks,

Interesting issue … so trunk sends itself the target directory for ignoring. However, as one of the paths doesn't exists, that step fails and so it fails to add this. Still, running cargo before does change the target directory and so it starts again.

Ok, I think I know what's going on.
The issue is triggered by the missing directory (public2). That's making the build fail (fast). In the meantime, the cargo command still runs, and produces changes in the target directory, but only adds the the target folder afterwards.
However, as the build was failed fast, the change notifications will trickle in, and spawn new builds, because the target folder is not yet ignored.

I guess there would two ways to solves this:

Ignore the target folder before running cargo
Don't fail fast, but waiting until all spawned build pipeline jobs have been completed

I think either of those steps should fix the issue. But both things should be fixed.

https://github.com/trunk-rs/trunk/issues/669 simliar Issue I had.

@kzhui125 can you come up with a PR?

@ctron I am still learning rust, hope there is someone helps...

@kzhui125 @adarsharegmi there's PR #675 which should fix this issue. It would be great if you could give it a test too, before merging. You can install this using:
cargo install trunk --git https://github.com/ctron/trunk  --branch feature/await_all_1

@adarsharegmi were you able to take a look? Coming up against the same issue on the most recent version (tried directly from master branch as well).
Anything would help!

@3210jr that provided reproducer was fixed with that … maybe, there is another issue like that. If you can provide a reproducer we might find out.

@3210jr as mentioned by @ctron  the same issue is resolved. I have tested the fix. But I am not sure what caused you the issue. Are you facing any loading screen  ? As previously it took me while running the server.


Any plan to support Dreame X30 pro ?

As by title thanks.

This is a great news, I'll test it as soon as I have the X30, should you need the access to it in order to troubleshoot or add new features let me know we can setup a VPN (but please do not take a recording of my house, it is usually a mess 🙂)


Make livestreaming a thing

List of Changes

Change 1

Add a streaming scene that uses its own file writer to override the normal functioning of the original to create a streaming protocol. Then, the original Scene class can use SceneFileWriter as a default, unless a metaclass I created hijacks the original and adds the Streamer as a class attribute, which Scene will check for. And, in order to avoid using a metaclass all the time due to unfamiliarity with most, simply create the base class for all streaming services. You can see there the syntax for the base is kind of odd, meaning you use Stream to acquire the metaclass but the base class is the scene you pass as an argument. I updated streaming_console_banner for the simplified explanation.
class StreamMeta(type):
    """The metaclass kind of 'hijacks' the process of scene instantiation, throwing a
    file writer class which is the adequately created Streamer. I didn't want to have
    any streaming classes inherited from anything other than Scene to have to do this.
    But since not everyone has seen a metaclass before, the Stream class shrouds the
    actual purpose of a Scene that can stream; to use this as a metaclass. The updated
    streaming info should reflect this, if I don't forget.
    """
    def __new__(mcs, name, bases, namespace, scene=Scene, **kwargs):
        namespace["file_writer_class"] = Streamer
        return super().__new__(mcs, name, tuple([scene]), namespace)

class Stream(metaclass=StreamMeta):
    pass

Change 2

Use rtp instead of tcp as the streaming protocol. Mainly for no other reason than it's what I understood and coded in that direction. If you think that means I didn't crack Twitch streaming then you are ... absolutely right. Moving on.

Change 3

There are two versions of the livestreaming I made. Both do the same thing. The one under the function livestream is the main version and opens up an interactive session. The other one, stream, just returns the streamer. Easy to use for casual on the fly testing like:
>>> from manim import stream, stuff, other, stuff
>>> manim = stream()
>>> manim.play(...)

Nevertheless, both are available in the main library, depending on whether you need 500 objects in your global variables or not.

Change 4

Any extras were probably made in order to have this working.
Motivation
Street cred.
Explanation for Changes
I figure that any livestreaming option that was there in the past kind of broke, but the backbone of its capability was continuously carried around like a fossil. So I tried to implement it and it worked.
Testing Status
There's varying amounts of good and bad news here. Let me explain.

Good

Since this Manim can directly influence camera configurations from the command line, this gives you high quality streaming:
python -m manim --livestream
This gives you medium:
python -m manim -m --livestream

Good

It still looks pretty guys. Also, by making file configurations extrinsic you don't create hashed files in the main folder.

Good

Ability to use other base scenes for streaming, granted some weird syntax courtesy of the metaclass.
>>> class AnotherStreamer(Stream, scene=MovingCameraScene):
...     pass
...
>>> manim2 = AnotherStreamer()

Bad

I never really explained how I open the streaming protocol. The protocol needs an sdp file to work so after every stream I refresh and create one in the media\streams folder. To open the sdp in ffplay, along with some other quirks, I run this command in a batch file:
ffplay -x 640 -y 360 -protocol_whitelist "file,rtp,udp" -i "path\to\manim\media\streams\streams.sdp" -reorder_queue_size 0

Bad

ffplay might glitch and show you a lot of red for some reason. Reopening it should fix one of those problems.

Bad

Ain't touched UNIX with this setting so I don't know how it goes over there. I think I tried to use os.path for most of the slashes, but if there's an error just reverse them.

Bad

Was I supposed to update the documentation for this?

Good

If it works though, expect something like this:

Further Comments
Really just syntax errors in space_ops.py and geometry
Acknowledgement

[ ] I have read the Contributing Guidelines*
[ ] I quote these fellas #441 so they know I did this.

*half true

Hi, thanks for the PR !
But I think you messed up some git stuff, as the merge conflicts and the commtis can witness.
Maybe could you hop on discord so we can help you? ~~You won't lose any street cred. ~~

Hi, thanks for the PR !
But I think you messed up some git stuff, as the merge conflicts and the commtis can witness. Thiss makes review a little hard.
Maybe could you hop on discord so we can help you? ~You won't lose any street cred.~

Alrighty then.

There are two main problems here:

You have applied your changes to a relatively old branch (GeometryAdditions instead of master)
If I understand your workflow correctly, you downloaded a ZIP file containing Manim's source code (use https://github.com/ManimCommunity/manim/archive/master.zip for the most recent version, if you dislike working with git directly), then modified these, and then you uploaded the changed files via GitHub's web interface?

The problem with your workflow in this case is that you are probably using a different line ending setting or something like that in your local files: if you look at https://github.com/ManimCommunity/manim/pull/773/commits/24be6fee0c35f5ce7d634df71b76e5133ef6ae3a it seems as if you changed every single line with your upload, which makes it basically impossible for us to determine what you actually changed.
(I see that, while I am writing this, you already hopped onto Discord, we'll help you to figure out stuff over there. And of course: thank you for your efforts so far!)


🐞[bug]: Pictures in "Our Collection" Section Not Loading Correctly

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The images in the Our Collection section are not loading correctly. This issue impacts the user experience as users are unable to view the pictures in this section.
Expected behavior
All images in the Our Collection section should load properly and be displayed in the correct format and size.
Add ScreenShots

Please add the following labels:
gssoc-ext
hacktoberfest-accepted
level-2
I have experience with handling image rendering and debugging such issues. Please assign this issue to me.
What browsers are you seeing the problem on?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@iarmaanx already assigned.


[Regression] Unable to run fastlane v2.3.1 - can't satisfy 'json (< 3.0.0, >= 2.0.1)'

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
With v2.3.1 all fastlane cmds fails with:
✗ fastlane --version
/Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1435:in `block in activate_dependencies': can't satisfy 'json (< 3.0.0, >= 2.0.1)', already activated 'json-1.8.3' (Gem::LoadError)
	from /Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1427:in `each'
	from /Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1427:in `activate_dependencies'
	from /Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1409:in `activate'
	from /Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:68:in `block in gem'
	from /Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:67:in `synchronize'
	from /Users/jeremiah/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:67:in `gem'
	from /Users/jeremiah/.rvm/gems/ruby-2.3.1/bin/fastlane:22:in `<main>'
	from /Users/jeremiah/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/jeremiah/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

Here's the fastlane env with v2.3.0.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.3

Ruby
2.3.1

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.rvm/gems/ruby-2.3.1/bin/fastlane

Host
Mac OS X 10.12.3 (16D17a)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.1/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.3.0
🚫 Update availaible

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.13.6

io-console
0.4.5

slack-notifier
1.5.1

i18n
0.7.0

json
1.8.3

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.3

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.3

claide
1.0.1

colored
1.2

nanaimo
0.2.2

xcodeproj
1.4.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

terminal-table
1.4.5

plist
3.2.0

addressable
2.3.8

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

highline
1.7.8

commander
4.4.0

excon
0.54.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161021

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
1.6.8

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

google-api-client
0.9.20

mini_magick
4.5.1

multi_xml
0.5.5

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

faraday_middleware
0.10.1

rubyzip
1.2.0

generated on: 2016-12-28

The gem list --local output shows two version of the json gem installed
✗ gem list json --local

*** LOCAL GEMS ***

json (2.0.2, 1.8.3)
multi_json (1.12.1)

Looks like the change made to satisfy Ruby 2.4 may be causing a problem for non Ruby 2.4 systems.
Downgrading to fastlane v2.3.0 all works well

Same here! will try to upgrade to ruby 2.4 now.

I think you might be able to uninstall version 1.8.3 and it might run. I believe there's still some stuff like xcversion that seems to be failing with newer json.

@carlosefonseca can't uninstall v1.8.3 as it's part of the system gems

@jinjorge sometimes it's also installed as a normal gem and when that one is removed, things start working. But I try different things because shit breaks and it's not that easy to know why or what got it fixed…

@carlosefonseca on the build machines that I run into this issues, v1.8.3 was the system gem and v2.0.2 was installed under the user gems

Same problem here. I solved it by updating json package to 2.0.2.

I'm having the same problem. Anyone have a working suggestion to fix this? Thanks guys.

I found a temp workaround that works for me:

uninstall fastlane
Re-install fastlane - it will install fastlane 2.3.0
Things will work again now although with previous version of fastlane, but you can't also update fastlane to 2.3.1 but don't run gem cleanup.
For some reason only after running 'gem cleanup' fastlane starts complaining about json 1.8.3

Hopes this helps.

hey folks i think those issues have been resolved - any one can confirm this?

@hjanuschka yes, this is resolved. Thanks!


MVVMCViewModel SubClass

Thanks very much for the useful framework, it's really helped with knocking up a quick wizard app in WPF, which I was a bit rusty with.
I wanted to subclass MVVMCViewModel, to store a few common properties used in my individual wizard views, but when I did this, the convention for allocating viewmodel to view fails in the MVVMCNavigationService.NavigateWithController<TViewModel>(object parameter) where TViewModel : MVVMCViewModel method.
Could this be adapted to search for the correct MVVMCViewModel base class of the TViewModel passed in? I'd be happy to have a go at it, using something along these lines if you think it's not a terrible idea?
Thanks, Mark

Hi,
I was actually able to create a base class that derives from MVVCViewModel, and to derive from it successfully.
public class MyViewModel123 : MVVMCViewModel
{
}

public class InitialViewModel : MyViewModel123
{
}
// ...
// The following works:
NavigationService.NavigateWithController<MainOperation.InitialViewModel>();

I created a branch that showcases the scenario "derivingFromMVVMCViewModel".

Clone
Move to branch  "derivingFromMVVMCViewModel".
Open in VS and set as startup project "MainApp"
Place breakpoint in AddWizardController.cs line 24
Run application
Click "Add Employee"
Click "Cancel"

Is this what you meant?

Thanks for getting back to me Michael. I've got a horrible feeling a some of the problems in my project may be namespace related, but I've set up the a sub class in your MainApp project too, and am having problems binding from properties on it to the UserControl.
Like I said earlier, I am coming back to WPF after several years away from it, so am probably be doing something stupid, but after adding properties to the InitialViewModel and the MyViewModel123 base class I failed to get them to bind to the view properly, with both of the TextBlocks showing nothing at all.
PS - I tried to add these changes to the derivingFromMVVMCViewModel branch, but I didn't have permissions to push to it (Apologies if I've mucked this up too! I'm more of a TFS man myself, but I know I need to practice with Git and GitHub more...)
Many thanks again for looking into this.
InitialViewModel.cs
 public class MyViewModel123 : MVVMCViewModel
    {
        private string _testPropBase = "TEST PROP VAL BASE";

        public string TestPropertyBase
        {
            get { return _testPropBase; }
            set { _testPropBase = value; OnPropertyChanged("TestPropertyBase"); }
        }
    }

    public class InitialViewModel : MyViewModel123
    {
        private string _testProp = "TEST PROP VAL";

        public string TestProperty
        {
            get { return _testProp; }
            set { _testProp = value; OnPropertyChanged("TestProperty"); }
        }

    }

InitialView.xaml

<UserControl x:Class="MainApp.Pages.MainOperation.InitialView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:MainApp.Pages.MainOperation"
             xmlns:mvvmc="clr-namespace:MVVMC;assembly=MVVMC"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.DataContext>
        <local:InitialViewModel/>
    </UserControl.DataContext>
    <Grid>
        <StackPanel VerticalAlignment="Top" Margin="20">
            <TextBlock Text="{Binding Path=TestProperty}" Background="Red"></TextBlock>
            <TextBlock Text="{Binding Path=TestPropertyBase}" Background="Yellow"></TextBlock>
            <TextBlock HorizontalAlignment="Center" >Select an Operation:</TextBlock>
            <Button Margin="10" Width="150" Command="{mvvmc:NavigateCommand ControllerID='MainOperation', Action='AllEmployees'}">View Employees</Button>
            <Button Margin="10" Width="150" Command="{mvvmc:NavigateCommand ControllerID='MainOperation', Action='AddEmployee'}">Add Employee</Button>
            <Button Margin="10" Width="150" Command="{mvvmc:NavigateCommand ControllerID='MainOperation', Action='About'}">About</Button>
        </StackPanel>
    </Grid>
</UserControl>

Ok, I was able to reproduce the issue and you are right, it really doesn't work when not deriving directly from MVVMCViewModel.
I agree it's a correct behavior to allow it so I did the change in this commit. You can now download the latest NuGet 1.1.8 and this should work for you.
Please try it and close the issue if everything works well.
Michael

That's brilliant Michael, many thanks for doing that.
My base class is now working perfectly.


The limit of 'FormattingOptions'

Environment data
dotnet --info output:
VS Code version: 1,14.2
C# Extension version:1.110
Steps to reproduce
Expected  behavior
Hi,
The OmniSharp is a very awesome extension for VS Code. I love it and use it for my CSharp coding.However, when I wanna customize my formatting options, the options are limited.For instance, I wanna **insert the space within the control and flow statement keyword(for( _ int i = xx; i < xx; i++ _ ))just like the Visual Studio does. Unfortunately, I can't do that due to the limit of the 'FormattingOptions'(Only a property, "SpaceAfterControlFlowStatementKeyword", can change the control  and flow statement formatting.Thus, I guess that releasing more options provided for us to set seems helpful.)
Thanks,
Actual behavior

Hi! C# for Visual Studio Code uses the same formatting engine that Visual Studio does and, barring any bugs, the options available should be the same. Although, an option's name might be different than what appears in Visual Studio's option UI. OmniSharp's formatting options map specifically to the C# formatting options API in Roslyn.
Consider the following options from Visual Studio 2017:

Using an 'omnisharp.json', you could map the options called out in the picture above like so:
{
    "FormattingOptions": {
        "SpaceAfterControlFlowStatementKeyword": true,
        "SpaceWithinExpressionParentheses": false,
        "SpaceWithinCastParentheses": false,
        "SpaceWithinOtherParentheses": false,
        "SpaceAfterCast": false,
        "SpacesIgnoreAroundVariableDeclaration": false
    }
}

The option you want to set is SpaceWithinOtherParentheses. It looks like this is simply poorly named in Roslyn, because it only ever applies to control flow statements during formatting.


Need help in implementation

I appreciate your help.

Hey Stacy,
Happy to help, I hope your research into SLT goes well!
I am wondering if you have changed the hugging face repository from "mbart-large-cc25" to "StacyYang/mbart-large-cc25" because the model wasn't downloading by deafult?
If so, I have updated the code to now include the correct hugging face repository when download mbart. Could you please pull my latest commit and attempt running it now?
If you are specifically trying to download your own trained mbart model (which I don't think is the case), let me know and I can assist further.


Can not work on master(f4b17c1) branch now

yarn --cwd transport run proto should update and the demo should update too.

Hi, thank you for your interest in Voxelize! We planned on rewriting the entire engine because we felt like everything was too messy, but then we haven't gotten the time to actually do it yet, so the main branch is a mess now 😆
You can check out the orignal version of Voxelize, which contains a working version of the demo!

Alright, what's the goal? I'm looking for a new voxel engine that:

Is cross-platform and works on both PCs and mobile devices.
Supports voxels that can be resized, with higher-end GPUs allowing for smaller, more detailed voxels.
Supports basic shapes like lines, faces, arcs, etc.
Allows for the creation of new NPCs through the combination of multiple layers of voxels and shapes.
Supports LOD rendering like in https://github.com/skishore/wave.
Can load assets in different ways, such as preloading, lazy loading, client-side loading, or server-side loading.
Supports loading of 3D models similar to SVG (as shown in https://zzz.dog/).
Has a scalable coordinate system that can automatically expand based on the size of the world map, whether it's a fixed-size map or an endless map, going from i8->i16->i32-i64->i128->... as needed.
Has a complete physics engine with adaptable interfaces, including node combination and skeletal animation.
Has an extensible plugin system, with the entire system made up of plugins, including rendering, asset management, physics engines, input devices, network communication, and map systems etc.

Currently I am using minetest for open education, but I've found too more limits on it.
refs

WAVE: WebAssembly Voxel Engine
noa-engine
cubzh
Cubiquity


Add ReuelBelt's file

test to get through git hub tutorial

Good work Ru!

Good job

Good work!


add IA School (groupe gema)

@Smiroc src/main/kotlin/swot/Compiler.kt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@Smiroc Please do not modify files with code in the request. Please add a single file only, representing your school.
I have to close this request without merging.
Please create a new request, and provide us with some more details in it:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.


Release tarball

Any chance to have the release tarball somewhere  ?
bosh create release --with-tarball

You should be able to grab it from http://bosh.io/releases/github.com/cloudfoundry-community/cf-haproxy-boshrelease (or more specifically http://bosh.io/d/github.com/cloudfoundry-community/cf-haproxy-boshrelease). Will that work for you?

Lol Did not check the bosh website sorry :)
Thanks


Question: Application Core Services code explosion

I liked the layout and ideas in CleanArchitecture (thank you for your work!) so I've implemented it in our new application.
One thing I'm noticing as development continues, is that our services in the ApplicationCore project that utilize the repositories and specifications, are causing large amount of code to be added as I add various specifications to support our requirements (Typically specifications with differing breakdowns of what navigable entities are included rather than one huge 'bring back the world' call). I understand the reasoning behind the separation and not using the context directly at that layer. However, it is getting to the point that it is making me re-think if it's the best setup for us. This led me to find this article  and wonder if I should change to utilizing services in the infrastructure project that access the context directly.
I'd appreciate peoples thoughts on this - and/or if am I misunderstanding something.

This is a great question that has a few areas to discuss that require me to either make assumptions or get more information. I'll go with the latter for now and ask whether you're using domain events, or if you're using application services instead for any operations that work on your entities but need dependencies to perform additional work?
Usually when I see "application core services explosion" the reason is that too much logic is going into services instead of into entities where it belongs, and usually the reason is that the code has dependencies and the dependencies can't be injected into entities so the natural thing to do is move it into services. Is that the case for your app?
Also sorry for delayed response - just got back from vacation.

We are making use of domain events. Limited use at this point as we are early in development, but we have them set up and working.
[issue 1]
We do have some instances of having too much logic in the ApplicationCore services. So far,  they seem to be due to populating various collection properties on an entity dynamically based on table data. Our exact entity types can be confusing, so a similar example requirement would be:

Whenever a Customer entity is created it's addresses collection should be populated based on the rows in the  CustomerAddressDefaults table. The CustomerAddressDefaults table can change over time, but only newly created Customers going forward would get those new defaults.

We weren't sure how to accomplish that using DDD and keeping that logic in the entities, so it exists in the AppCore services.
[issue 2]
The specifications we've been creating is what prompted me to ask the question initially. Going back to the simplified example above, say our Customer entity has multiple collections, each of which can have nested collections, and so on. In our various service methods, each method typically only has need for a subset of all of those collections. This causes us to write a unique specification class (e.g. CustomerWithAddresses, CustomerWithOrders, CustomerWith.., ... ... .. )for each variation of the customer entity with related data, rather than writing a single specification that includes every possible piece of data.
We are in the early phase of development for this project, and the number of specifications we have created and the speed-bump it causes when adding a service method as opposed to just utilizing the context.include/theninclude directly (if we moved the services to the Infrastructure project) has us rethinking our approach.
No apology needed, vacation is good, and we appreciate your work - thank you!

[issue 1]
Your entities should typically assume they're fully populated. Controlling that is typically the repository or specification's job. yes, this means you might have specs for different amounts of population as you describe (CustomerWithOrders, etc.). If this becomes a headache you can always pass in variables to the specification constructor that inform it how much of the object tree to include (e.g. new CustomerSpec(withOrders=true)).
[issue 2]
I guess I answered this in the above.
If you move specifications to infrastructure so they can directly use dbContext you won't be able to use them from Core, and the only way you'll be able to use them from Web is if you take a direct dependency on Infrastructure (which you probably already have, but only to allow Startup to wire things up, not so various controllers and such can reference types there). So, I would avoid this approach.

Using the specification constructors option you mention in issue 1 is a good idea and will help with having numerous classes with only a difference in a single or few AddInclude lines.
For issue 2 - we weren't looking to move the specifications to the infrastructure project, we were looking at moving away from specification/repository use entirely, and having all services in the infrastructure project. The services then can use the context directly and we would get increased development fluidity, with the understanding that we would be tightly coupled to EF Core. Are there any other drawbacks? Before I make that jump to this, I'm trying to make sure I have a full understanding of what we would be giving up if we go that way.

If the services don't have any business logic, then you're fine to do what you describe. Of course, if they don't have any business logic then they're just data access logic which pretty much makes them repository implementations (a repository is just a service whose only responsibility is data access). You can usually recognize business logic in the form of conditional statements.
If the services do have business logic, then the downside to putting them in infrastructure and tightly coupling them to EF is testability and flexibility. You'll probably only be able to test them using integration tests, but you can probably still use EF Core's InMemory provider so it shouldn't be that bad. And you won't be able to easily swap out data providers or use patterns like Decorator to implement caching between your business logic and your data access logic (see: https://ardalis.com/building-a-cachedrepository-in-aspnet-core).
Other than that it should work for you.

Thank you so much for your help - that is exactly the type of info we were looking for as we try to make a decision on how best to proceed.


[Community]: Image Extraction Fixed for PDFPlumberParser

Description: One-Bit Images was raising error which has been fixed in this PR for PDFPlumberParser
Issue: #28480

@ccurme

@ccurme

@ccurme


Harshan/app config etag by page

Implementing etag by page API

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/app-configuration


[MM-17079] Fix for incorrectly visible file browse input

Summary
This PR fixes the incorrectly visible file browse input element showing in Firefox. The structure of the component changed for a11y reasons, necessitating a change in the CSS as well.
Ticket Link
https://mattermost.atlassian.net/browse/MM-17097

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-3202.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Spinmint test server destroyed

@deanwhillier can you confirm what jira task this is linked to? MM-17079 seems unrelated.


feat: support skip lock version of pkg

Description
Support skip all locked versions of dependencies, devDependencies (and ignore write) when use  taze major/minor/patch.
taze patch --sl

Linked Issues
PR only.

I feel it might make sense to ignore them by default (opt-in instead of opt-out). As for the flag name, maybe it can be --all and -a?

all has been registered, I use include-lock / -l instead.
Is this okay?

Is this feature required? @antfu


Dropdown with select by key example is broken

What you did: I opened the dropdown with select by key codesandbox example
What happened:
There's a TypeError that prevents the example to shown.
TypeError
Cannot read property 'itemToString' of undefined
eval
/src/other-examples/dropdown-select-by-key/CustomDropdown/index.js:129:49
  126 | <div>
  127 |   <SelectOnKeyPressContainer
  128 |     items={props.items}
> 129 |     itemToString={props.downShiftProps.itemToString}
      |                                       ^
  130 |     downshiftProps={downshiftProps}
  131 |     children={render(restProps)(downshiftProps)}
  132 |   />

Yeah, looks like that example is pretty broken. I'm not sure what's wrong with it. It's a pretty untypical example though so I wouldn't be too concerned.


Csghub  repo href not found

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:
Checklist:

[ ] I have added unit/e2e tests that prove your fix is effective or that this feature works.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] I have reviewed my own code and ensured that it follows the project's style guidelines.

Release note:

MR Summary:
The summary is added by @codegpt.
This Merge Request addresses a bug where the repository hyperlink was not found, redirecting to a "not found" error page if a 500 status code is encountered. Additionally, it improves the user interface in various settings components by adjusting the minimum height for better responsiveness across devices. Key updates include:

Redirecting to an error page upon encountering a 500 status code in RepoDetail.vue.
Adjusting the minimum height in user settings components for enhanced responsiveness.

Hold on this, we may need a fix from server to return a 404 code for this case


Controls for annotation plots should be linked to controls for data table

The control of whether the annotation plot shows control sampels should be linked to the 'Show labeled controls (e.g., 'RNaseH1-treated')' and 'Show predicted controls (i.g., predicted 'CTRL')' check boxes and not hardcoded.
This would allow a simpler API because the samples in the datatable always correspond to the samples on the plots.

Fixed with 62849f3


musicanship/tracking, abort raise skill

Just tried musicanship, dclick the instrument and "tab" you will abort and skill will raise, 0-100 in few mins. vide: https://puu.sh/FEWaF/a6c69d8087.mp4

I have no issue about it, I tried to click drum, abort the skill, it says aborted and doesn't gain anything. Maybe you have an event that makes it continue.

Normaly, pass 30 the skillgain is on success.

Tested on last build and  that work. If with 0.0 skill not work raise to 0.1.

same for tracking.
And that up more of 30.0
tested with scriptpack default.

I am trying what you said, Dclick on the drum, and tab and it says "You put down the instrument" and stop gaining skill at all. I don't know if it's a sphere or client bug, I will check it with default client later.

From the video, there are no "You must wait to perform another action messages." that must means that the DELAY value of your musicianship skill is near to 0, and that's probably why you are getting these rapid increases.

From the video, there are no "You must wait to perform another action." that must means that the DELAY value of your musicianship skill is near to 0, and that's probably why you are getting these rapid increases.

it is because i use war/peace, so it abort the skill, and skill is at 38..

I try to replicate this bug in Lase release (3344), but not happen. Simple get "You put down your instrument." when switch to War Mode.
Simple call
ON=@Abort
	SRC.SYSMESSAGE You put down your instrument

And not get any gain

Is this still an issue?

i was able to test on the latest build and it's working without issue. closing this out


add puzzle links to sheet at creation

Fixes #590
For some reason, add_puzzle_link_to_sheet was not called during puzzle creation, and only being called when puzzle's URL changed.

Thanks for fixing this. That would explain why the links to the puzzles were not being auto populated during Puzzle Boat 9.


Feature request: Top level defaults

For larger configurations, it can be hard to keep source connection configurations in check. And it can become a pain if you have a lot of custom settings.
I think it would be nice to have the ability to set some sort of top level defaults for both connections as well as collections.
For example, I currently have 95 instances that I'm monitoring. I decided to change the "Plan Collection Duration Threshold" to a lower value. Having to do this for 95 instances is a bit of a pain. I actually end up using a keyboard macro to do it 😂
I have similar issues with collection schedules. I've been tweaking collection schedules lately so that certain collections kick off before or after other external processes run that might impact that collection. For example, we have a nightly data archiving process, so I want the TableSize snapshot to run after that completes. However, having to open 95 collections prompts to update the cron schedule is a pain. (typically I use PowerShell to do this now, but that's still a pain).
Maybe some sort of "master" source connection that serves as the top level default? And it could work as a coalesce, if the value isn't specified in that top level source connection, then the current service default is used.

For schedules, there is a service level configuration on the Options tab.  Schedules if defined at instance level take precedence, then the service level that you configure on the Options tab, then the defaults coded in the app.  If you have different groups of servers that require different schedules, it might be easier to split into seperate services and manage the service level schedule.
As it's a json file, powershell is an option as you mentioned or you might just be able to use a simple find/replace in some cases to change settings in bulk.
Some easier way to do bulk updates would be useful though or service level defaults.  Maybe a context menu on the grid where you can right click and bulk update to this value or something.

I don't know how this whole time I completely missed that service level schedule config. That would have saved me so much time 😂 You should see my current config file, it's an absolute monster because my PowerShell script is setting a custom config for all instances for pretty much all schedules (I don't want any to run at service start).
I also have a second agent running which only does schema snapshots, and that config is also a monster because I disable every collection on every instance.
Thanks for pointing that out to me, that will help me clean up my configs quite a bit.

It was useful to have collections run on service start as that was the only way to trigger collections to run on demand (restarting the service).  It's still useful to a degree when adding new instances.  With the Messaging feature, you can trigger collections to run on demand from the GUI, so there is less need to run on service start.


AMD e intel

https://d9edb8f8-371c-4cd2-96ff-b2257831dbab-00-1uqwr22xsrkq1.kirk.replit.dev/

Hi @PedroLucasLima, please complete the Issue Template when creating the GitHub ticket.  Thanks.

Closing this ticket as there is no response from @PedroLucasLima.  Please complete the Issue Template if you decide to re-open this ticket.  Thanks.


sql server: can't insert null into varbinary column

Varbinary maps to byte[], but if you assign null to a byte[] column you get the following exception:
System.Data.SqlClient.SqlException: Implicit conversion from data type nvarchar to varbinary is not allowed. Use the CONVERT function to run this query.
Result StackTrace:
bij System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   bij System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   bij System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   bij System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   bij System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   bij System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   bij System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   bij System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   bij System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   bij NPoco.Database.ExecuteNonQueryHelper(IDbCommand cmd) in c:\Users\dh\Documents\Visual Studio 2013\Projects\NPoco\src\NPoco\Database.cs:regel 1781
   bij NPoco.Database.Execute(Sql Sql) in c:\Users\dh\Documents\Visual Studio 2013\Projects\NPoco\src\NPoco\Database.cs:regel 618
   bij NPoco.Database.Execute(String sql, Object[] args) in c:\Users\dh\Documents\Visual Studio 2013\Projects\NPoco\src\NPoco\Database.cs:regel 598

A simple test to cause the failure:
CREATE TABLE [dbo].[Test](
    [Id] [int] IDENTITY(1,1) NOT NULL,
    [data] [varbinary](max) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

    public partial class Test {
        public int Id { get; set; }
        public byte[] data { get; set; }
    }

...snip...

       db.Insert<Test>(new Test { data = null });  // exception

Danny

Why the workaround? Can't this be part of NPoco itself?

It is now (3.1 dev branch).

Will try and get a nuget out tomorrow.

When it will merge to to master? @dheijl

Hi, I've just got this same problem but with SqlCe and I'm fine to use a work around, however I've noticed that this 'fix' for Sql server isn't quite right. The fix for the code seems to be here https://github.com/schotime/NPoco/blob/2f41c21af8e8bfa13558b28b2cdbecd604d16655/src/NPoco/DatabaseTypes/SqlServerDatabaseType.cs#L102
But why is the column name hard coded here to __bytes ? I don't see any other place in the code where __bytes is used. I would have thought the column name would be based on the column name for the Poco?

@Shazwazza The column names get rewritten to @0, @1 or ?, ? before execution so the name doesn't really matter at this point.

Aha of course, thanks for that. I've got a couple fixes for this locally for SqlCe since it needs the 'Image' column type, do you want me to submit a PR or since SqlCe is pretty much dead, maybe not?

You are most welcome to

Probably just hit this issue myself... Does the 6 year old work around still work, or is was that merged and my issue is something else?

@PeterN For sql server this should be fixed.

So I get the following exception when trying to save an object with a null byte[] array. The database field is a varbinary (without not null), and I'm using WithFluentConfig set up my table mappings. This particular mapping only contains TableName and PrimaryKey methods.
System.InvalidCastException: The SqlParameterCollection only accepts non-null SqlParameter type objects, not SqlParameter objects.    at Microsoft.Data.SqlClient.SqlParameterCollection.ValidateType(Object value)    at Microsoft.Data.SqlClient.SqlParameterCollection.Add(Object value)    at NPoco.Database.AddParameter(DbCommand cmd, Object value)    at NPoco.Database.CreateCommand(DbConnection connection, CommandType commandType, String sql, Object[] args)    at NPoco.Database.CreateCommand(DbConnection connection, String sql, Object[] args)    at NPoco.Database.InsertImp[T](PocoData pocoData, String tableName, String primaryKeyName, Boolean autoIncrement, T poco)    at NPoco.Database.Insert[T](String tableName, String primaryKeyName, Boolean autoIncrement, T poco)    at NPoco.Database.Save[T](T poco)

I have something straightforward like this.  It was working fine in Core 3.1/NPoco 4.0.2, but the exact same code got "SqlParameterCollection only accepts non-null SqlParameter " when upgrading to .NET 5/NPoco 5.1.2
Is there still a bug?
    _database.Insert(form);

    [TableName("FormData"), PrimaryKey("Id")]
    public class Form
    {
        public int Id { get; set; }
        public string FormId { get; set; }
        public DateTime? CreatedDate { get; set; }
        public string FormData { get; set; }
        public byte[] FormPdf { get; set; }


MLPAB-1857: Allow deleting an organisation

Purpose
Fixes MLPAB-1857

we also had an AC to add a runbook for how to reverse this


Update friends.md

SIDN (AS1140, AS48283 and AS210004)

Hi @mdavids,
I added SIDN to the friends file!
I attempted to merge the pr but is not in sync with dev, it was just easier to add you manually. See here.
Thanks!!


Get balance compared to nominal hours

Hallo Watson devs
I use watson to track hours at work to keep track of what I work on and how much. I'm not payed by the hour or for overtime, but I still like to keep track of how much I work compared to the nominal number of hours I'm supposed to work.
For this purpose, really what I need is to know the balance i.e. how many hours have I worked in total (within a timespan say 1 month) compared to the nominal hours, which are calculated as nominal hours per day times the work days in the time span.
Does such a feature exist, and if not, would you be interested in it?

This would be a great feature, currently I'm doing that beside of the Watson just in an Excel sheet week per week.

Just a littkle status update here. I'm still planning to work on this and I think I have a good plan for it, but right now it is kind of waiting for #277 since I prefer not to have many open side projects.

@semenmiroshnichenko BTW. Since I find Excel extremely painful I should point out that since most of Watsons commands can output JSON, you can Python script your way out of this, which in my mind is more comfortable. I created a gist for my quick and dirty script for the job, in case anyone is interested.But I would still like Watson to do it. If it is of any interest

Related historic issue/PR:

https://github.com/TailorDev/Watson/pull/52
https://github.com/TailorDev/Watson/issues/397


Aeon/2022 11 13/upgrade boost

Description
The major work is to upgrade the boost version to 1.80. The benefit is to allow CARLA to be compiled with Python 3.10 on Ubuntu 22.04. It also fixes compilation errors produced by newer C/C++ compilers.

Upgrade downloaded boost package to 1.80.
Add a missing #include <atomic> in test_recurrent_shared_future.cpp
Add an impl of throw_exception(const std::exception &e, boost::source_location const & loc) that routes exceptions to carla::throw_exception().

Where has this been tested?
This command tested the changes with multiple Python versions. deadsnakes's Python binaries were used.
make PythonAPI ARGS="--python-version='3.6 3.7 3.8 3.9 3.10'"

Platform(s): Ubuntu 20.04
Python version(s): 3.6, 3.7, 3.8, 3.9, 3.10
Unreal Engine version(s): carla's ue4 was used (commit a6fbc841)

Possible Drawbacks
The patch was tested on Ubuntu 20.04. I don't have a Windows PC/laptop so I'm not sure it works on Windows.

This change is

The PR is ready for review. The boost update enables compatibility with newer Python versions. I successfully build Python client packages with Python 3.9 and 3.10.

Also, I back-ported the commits to 0.9.13. If this PR is working, I would consider opening a backporting PR.

Hi @jerry73204, sorry for the late response and thank you for working on this upgrade. We indeed want to move to newer Boost versions to support latest python versions, however we cannot accept this PR as it needs to include the windows upgrade as well. In addition, there are a lot of changes #!/usr/bin/env bash which should not be included. We are currently working on doing the upgrade to 1.81 on both versions ourselves, so look forward to it very soon.

Thanks to @Axel1092. That's good news if the Python issue can be fixed.
Would you accept a standalone PR for #!/usr/bin/env bash? That's a sake for portability because some Linux distros have /bin/bash instead of /usr/bin/bash. You can see this pose for detailed comparison.

In order to accept that PR it should be tested that it does not cause any issues in our main platform targets (Ubuntu desktop). Our continuous integration pipeline would probably pick up problems but additional verification won't hurt.


Empty strings are valid tags

So we ran into a bug with ingesting a badge class that was caused by an empty tag string in the array.
https://obaprod.s3-eu-west-1.amazonaws.com/mod/badge/json/v1/badgeclass/659.json
tags: [ "Professional development", "Technology", "Digital Making", "" ]
As-is, this badge validates. But I'm wondering—should it?

I think empty strings are not disallowed. (But feel free to interpret them as meaningless). The documentation for BadgeClass.tags in the Open Badges spec says:

property
expected type
description

tags
Text (Multiple values allowed)
A tag that describes the type of achievement.

The Open Badges spec defines the primitive value type Text as:

Text - A JSON string value as defined in RFC4627)

RFC4627 says:

JSON can represent four primitive types (strings, numbers, booleans,
and null) and two structured types (objects and arrays).
A string is a sequence of zero or more Unicode characters [UNICODE].


Debug Display Broken

Debug display is broken after fixing instance duplication issues in release 0.1.0. We will need a new strategy now that render instances are short lived, they will need instance id's and to report to a static map.

resolved as of the next release. I made the per-thread instances duplicate themselves to prevent instance aliasing, this had the side effect of removing all debug logs after rendering finished.


Nonin lang

Closes #19
Changes
--non_interactive disables prompts in the first top-level Click context, which includes --language
This doesn't impact prompts for commands like new-mnemonic. It's assumed a user of --non_interactive will pass all required parameters in.
Types of changes
What types of changes does your code introduce?

[ ] Bugfix (a non-breaking change that fixes an issue)
[x] New feature (a non-breaking change that adds functionality)
[ ] Breaking change (a change that causes existing functionality not to work as expected)
[ ] Optimization
[ ] Refactoring
[ ] Documentation update
[ ] Build-related changes
[ ] Other: Description

And I am not sure why this causes specifically test_regeneration existing-mnemonic to fail. Run manually, that command works and does prompt for language as expected

So it looks like CLIRunner() is not as isolated as it should be. test_generate_bls_to_execution_change.py sets --non_interactive, which disables the --language prompt, which "bleeds through" to the next test in test_regeneration,py
I've solved it in utils/click.py, but if this is a problem with how we wrote the tests, not with how CLIRunner() works, then the tests need to be fixed instead.
Can I have a sanity check on that, please.


How to use ansible azcollection ?

Hi,
First of all, thanks for the awesome project.
I'm currently running the docker image for dev purposes. And I'm wondering how to simply create a container.
I first tried to use the Rest API but the sign part of Authorization header isn't very easy to produce using cUrl.
So, I was wondering if the ansible collection could be used with Azurite. I don't really see how I could provide a connection string or change the endpoint to use it.
Would you have any advice to share please?
Many thanks in advance,
Kind regards

@pgstef
Thanks for using Azurite!
This issue is more like a question for ansible collection， than a question for Azurite.
I am not familiar with ansible collection. But if you can use it to create container on Azure server, you should can use the similar way to create container on Azurite.
Besides that, if it's difficult for you on " sign part of Authorization header", you can use existing SDK instead of using rest API directly, and they can help you to construct the sign part. （e.g.: .net SDK sample to create container）
Or you can use SAS credential. You can create an account SAS with enough permission, and add the SAS to the Uri.

Hi,
Unfortunately, I didn't succeeded to use that ansible collection with Azurite, given that the only authentication method they seem to provide are based on az login. I simply couldn't find how to point to the Azurite endpoint.
Using the .net SDK inside an ansible playbook is not that easy too. I currently rely on shell commands:
    DATE_ISO=$(TZ=GMT date "+%a, %d %h %Y %H:%M:%S %Z")
    VERSION="2020-08-04"
    HEADER_RESOURCE="x-ms-date:$DATE_ISO\nx-ms-version:$VERSION"
    URL_RESOURCE="/$STORAGE_ACCOUNT/$STORAGE_ACCOUNT/$CONTAINER_NAME\nrestype:container"
    STRING_TO_SIGN="PUT\n\n\n\n\n\n\n\n\n\n\n\n$HEADER_RESOURCE\n$URL_RESOURCE"
    DECODED_KEY="$(echo -n $STORAGE_KEY | base64 -d -w0 | xxd -p -c256)"
    SIGN=$(printf "$STRING_TO_SIGN" | openssl dgst -sha256 -mac HMAC -macopt "hexkey:$DECODED_KEY" -binary |  base64 -w0)
    curl -X PUT --silent --insecure \
      -H "x-ms-date:$DATE_ISO" \
      -H "x-ms-version:$VERSION" \
      -H "Authorization: SharedKey $STORAGE_ACCOUNT:$SIGN" \
      -H "Content-Length:0" \
      "https://{{IPAddress}}/$STORAGE_ACCOUNT/$CONTAINER_NAME?restype=container"

But that way of doing isn't really reliable since I can't handle the HTTP return codes.
I guess I'll have the same issue if I want to create SAS account. I first have to find a way to do it via the ansible playbook.
Any way, thanks for your answer, I'll see if I can ask on the ansible collection the same question.
Kind Regards

My recommendation is to create a long term SAS key using another tool like the storage explorer, you should then be able to use that with curl.

@pgstef
As this is not an Azurite question, I will close this issue.
Feel free to contact us if you need any further Azurite support.

Maybe we can take a task to update our documentation, to show how to use Curl with Azurite?
It seems that this type of question has come up a few times now.


PANIC in query-engine\core\src\response_ir\internal.rs:398:26Application logic invariant error: received null value for field user which may not be null

Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions

Name
Version

Node
v12.16.3

OS
undefined

Prisma Client
2.19.0

Query Engine
query-engine c1455d0b443d66b0d9db9bcb1bb9ee0d5bbc511d

Database
undefined

Query
query {
  findManyProfile(
    take: 5
    skip: 5
  ) {
    id
    bio
    user {
      id
      email
      name
    }
    userId
  }
}

Logs
%2F+PLEASE+FILL+YOUR+CODE+SNIPPET+HERE%0A%60%60%60%0A%0A%23%23+Schema%0A%60%60%60prisma%0A%2F%2F+PLEASE+ADD+YOUR+SCHEMA+HERE+IF+POSSIBLE%0A%60%60%60%0A&title=PANIC+in+query-engine%5Ccore%5Csrc%5Cresponse_ir%5Cinternal.rs%3A398%3A26%0AApplication+logic+invariant+error%3A+received+null+value+for+field+user+which+may+not+be+null&template=bug_report.md

If you want the Prisma team to look into it, please open the link above 🙏
To increase the chance of success, please post your schema and a snippet of
how you used Prisma Client in the issue.

    at NodeEngine.throwAsyncErrorIfExists (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:29776:21)
    at NodeEngine.handleRequestError (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:29115:16)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async NodeEngine.request (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:29710:9)
    at async cb (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:34744:26)
    at async C:\Users\Administrator\AppData\Local\Programs\@prismastudio-electron\resources\app.asar\node_modules\@prisma\studio-pcw\build\pcw.js:133:35
    at async C:\Users\Administrator\AppData\Local\Programs\@prismastudio-electron\resources\app.asar\node_modules\@prisma\studio-pcw\build\pcw.js:106:32
    at async PCW.request (C:\Users\Administrator\AppData\Local\Programs\@prismastudio-electron\resources\app.asar\node_modules\@prisma\studio-pcw\build\pcw.js:173:46)
    at async IpcMainImpl.prisma (C:\Users\Administrator\AppData\Local\Programs\@prismastudio-electron\resources\app.asar\build\ipc\prisma-ipc.js:72:34)
prisma:engine Client Version: 2.19.0
prisma:engine Engine Version: query-engine c1455d0b443d66b0d9db9bcb1bb9ee0d5bbc511d
prisma:engine Active provider: mysql
prisma:engine There is a child that still runs and we want to start again
prisma:engine { cwd: 'C:\\project\\my-prisma\\prisma' }
prisma:engine {
  flags: [
    '--enable-experimental=createMany',
    '--enable-raw-queries',
    '--port',
    '62064'
  ]
}
prisma:engine stdout  Starting a mysql pool with 9 connections.
prisma:engine stdout  Started http server on http://<IP_ADDRESS>:62064
prisma:engine Client Version: 2.19.0
prisma:engine Engine Version: query-engine c1455d0b443d66b0d9db9bcb1bb9ee0d5bbc511d
prisma:engine Active provider: mysql
prisma:engine stdout  PANIC in query-engine\core\src\response_ir\internal.rs:398:26
Application logic invariant error: received null value for field user which may not be null
prisma:engine {
  error: Error: read ECONNRESET
      at TCP.onStreamRead (internal/stream_base_commons.js:205:27) {
    errno: 'ECONNRESET',
    code: 'ECONNRESET',
    syscall: 'read'
  }
}
prisma:engine {
  error: Error: connect ECONNREFUSED <IP_ADDRESS>:62064
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
    errno: 'ECONNREFUSED',
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '<IP_ADDRESS>',
    port: 62064
  }
}
prisma:engine There is a child that still runs and we want to start again
prisma:engine { cwd: 'C:\\project\\my-prisma\\prisma' }
prisma:engine {
  flags: [
    '--enable-experimental=createMany',
    '--enable-raw-queries',
    '--port',
    '62074'
  ]
}
prisma:engine stdout  Starting a mysql pool with 9 connections.
prisma:engine stdout  Started http server on http://<IP_ADDRESS>:62074
prisma:engine stdout  PANIC in query-engine\core\src\response_ir\internal.rs:398:26
Application logic invariant error: received null value for field user which may not be null
prisma:engine TypeError: this.currentRequestPromise.cancel is not a function
    at NodeEngine.handlePanic (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:29249:36)
    at NodeEngine.setError (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:29195:16)
    at LineStream.<anonymous> (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:29480:24)
    at LineStream.emit (events.js:310:20)
    at addChunk (_stream_readable.js:286:12)
    at readableAddChunk (_stream_readable.js:268:9)
    at LineStream.Readable.push (_stream_readable.js:209:10)
    at LineStream.Transform.push (_stream_transform.js:152:32)
    at LineStream._pushBuffer (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:26388:19)
    at LineStream._transform (C:\Users\Administrator\AppData\Roaming\@prisma\studio-electron\projects\090830d3\runtime\index.js:26382:10)  {"timestamp":"May 19 12:19:50.219","level":"ERROR","fields":{"message":"PANIC","reason":"Application logic invariant error: received null value for field user which may not be null","file":"query-engine\\core\\src\\response_ir\\internal.rs","line":398,"column":26},"target":"query_engine","span":{"name":"execute_single_operation"},"spans":[{"name":"execute_single_operation"}]}
prisma:engine {
  error: Error: read ECONNRESET
      at TCP.onStreamRead (internal/stream_base_commons.js:205:27) {
    errno: 'ECONNRESET',
    code: 'ECONNRESET',
    syscall: 'read'
  }
}

Client Snippet
This example is available because a nonexistent userid was created.
Prism studio not available after error
model Post {
  id        Int      @id @default(autoincrement())
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  title     String   @db.VarChar(255)
  content   String?
  published Boolean  @default(false)
  author    User     @relation(fields: [authorId], references: [id])
  authorId  Int
}

model Profile {
  id     Int     @id @default(autoincrement())
  bio    String?
  user   User    @relation(fields: [userId], references: [id])
  userId Int     @unique
}

model User {
  id      Int      @id @default(autoincrement())
  email   String   @unique
  name    String?
  posts   Post[]
  profile Profile?
}

import { PrismaClient } from '@prisma/client'

const prisma = new PrismaClient()

async function main() {
  let create = await prisma.profile.create({
    data: {
      bio: "hi~",
      userId: 0
    }
  })
  console.log(create)
}

main()
  .catch((e) => {
    console.log(e)
    throw e
  })
  .finally(async () => {
    await prisma.$disconnect()
  })

Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE

Can you provide some context here @viphehe? The Prisma Client Query or the Schema would be very helpful.

Can you provide some context here @viphehe? The Prisma Client Query or the Schema would be very helpful.

@janpio Has been re edited

@viphehe Can you please try this again with the latest version of Prisma? I was unable to reproduce this with ` and with a Postgres 12 db.
code/reproductions/issue-7130 is 📦 v1.0.0 via  v14.17.0
❯ yarn start
yarn run v1.22.5
$ ts-node main.ts
{ id: 3, bio: 'hi~', userId: 0 }
Done in 1.50s.

@viphehe Can you please try this again with the latest version of Prisma? I was unable to reproduce this with ` and with a Postgres 12 db.
code/reproductions/issue-7130 is 📦 v1.0.0 via  v14.17.0
❯ yarn start
yarn run v1.22.5
$ ts-node main.ts
{ id: 3, bio: 'hi~', userId: 0 }
Done in 1.50s.

The database is mysql
The above code test can be reproduce

I just tried this again with mysql and still wasn't able to reproduce this.
Please try again with latest version of Prisma.

I am going to close this as its been 3 months now and there is no activity here.
Please reply if you want us to take another look.