Add-ThreadMessage - Wait for run complete

To handle this error I encountered when reusing threads
OpenAI API returned an 400 (BadRequest) Error: Cant add messages to
thread_abc while a run run_xyz is active.
At C:\github\psopenai\Public\Threads\Add-ThreadMessage.ps1:149 char:21
+         $Response = Invoke-OpenAIAPIRequest @params

Edit: need to fix to account for more

k, done!

What situation does this error occur? Can you indicate the steps to reproduce it?

i cache my threads to make things go faster and keep track of convos. this happens when a run uhhh i dunno, maybe takes too long? but ever since adding this it hasnt happened.
https://github.com/potatoqualitee/dbatools.ai/blob/main/public/Invoke-DbaiQuery.ps1#L73

Implicitly waiting for or canceling a Run may not be the user's intention. Sometimes it is better to output an error that is easy to understand than to try to address all errors in the code. Users can write their own error handling in their scripts.
If this is to be incorporated, it would be better to add an optional switch such as -WaitForRunComplete to wait for Run to complete only when the user wants it to.
Also, if Run does not complete within the time specified by Timeout, it should return a timeout error rather than canceling the Run.
It is better for the code that waits for Run to complete to call the already existing Wait-ThreadRun function rather than implementing its own loop.

Thank you. How's that?

Thanks! Btw, I accepted Copilots suggestion for Write-Host by accident. Changed it to Verbose, which is my preference. if you prefer Write-Host, let me know.

Thanks! Btw, I accepted Copilots suggestion for Write-Host by accident. Changed it to Verbose, which is my preference. if you prefer Write-Host, let me know.

私もVerboseのほうが好きです 😊

Please give me a day or two before merging as I want to do some testing.

No problem, I keep my branch set to this one so it does not interfere with my testing.

LGTM 👍


Update link text

MSDN --> Default Marshaling Behavior

OK, please review~

Thanks, @imba-tjd, for making the additional changes. I think that your changes have substantially improved this topic. I'll merge your PR now.


Recipe add ingredients rework

Rework the adding of ingredients to make it simpler, too add multiple ingredients.

Enable entering ingredients without touching the mouse. Just enter ingrdient, tab to amount field. When tabbing out auf amount field add new ingredient row....

Always have an empty line at the end of the list. This line is used for entering new items. Thus the +-sign is unneccessary,


Docs: Start Now Button Fix

(docs): Just hiding the button on mobile, just like how every other navigation item gets hidden. This way it doesn't overlap the search button.

This PR addresses #316.


Added grok

Added grok, using sample syntax from  documentation here: https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html

Done in #11


Website is down

The website is down, please look into this ASAP

Hey @krishyadav007
Thanks for your concern. we moved this theme to a new home https://themefisher.com/products/sleek .
Please check this out .
Thanks


Safety critical bounds checking is off-by-one in sgrproj_box_ab_internal

Fixes the main part of https://github.com/xiph/rav1e/issues/3161
I believe the potential for integer overflows still makes it unsound though.

Re. integer overflows do you mean if the strides overflow usize::max? I think that could never happen in real practice, AV1 as a codec does not support encoding videos that large.


Create NUnit 3.0 glue library page for AutoFixture

Creates the page containing information about the AutoFixture.NUnit3 package.
Fixes #16

@elindanielsson, @agnerh
The page is ready for your review :)


Updating versions in package list

Signed-off-by: jonahjon<EMAIL_ADDRESS>Description of changes:
Updating to latest versions.

/lgtm
/approve


Resource Unavailable - https://packages.microsoft.com

I cannot access the Microsoft repository for Ubuntu at https://packages.microsoft.com. I get connection failure errors. I could successfully access it when I last tried on 4/28.
Error:
Err:19 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
Fetched 16.1 MB in 30s (535 kB/s)
Reading package lists...
W: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/dists/bionic/InRelease  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Problem encountered on https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current
Operating System: Linux Ubuntu 18.04 - x64
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

@dagood @leecow is it already addressed?

Yes, I'm not seeing any issues with the repo. @titan550 , let us know if you're still having the issue.

Hi, I'm also facing this issue when updating Ubuntu 18.04 with using sudo apt upgrade -y. I opened a new issue 3010.


default Image/AudioFolder infers labels when there is no metadata files even if there is only one dir

Describe the bug
By default FolderBasedBuilder infers labels if there is not metadata files, even if it's meaningless (for example, they are in a single directory or in the root folder, see this repo as an example: https://huggingface.co/datasets/patrickvonplaten/audios
As this is a corner case for quick exploration of images or audios on the Hub.
Steps to reproduce the bug
If you have directory like this:
repo
   image1.jpg
   image2.jpg
   image3.jpg

or
repo
   data
      image1.jpg
      image2.jpg
      image3.jpg

doing ds = load_dataset(repo) would create label feature:
print(ds["train"][0])
>> {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x375 at 0x7FB5326468E0>, 'label': 0}

Also, if you have the following structure:
repo
   data
      image1.jpg
      image2.jpg
      image3.jpg
   image4.jpg
   image5.jpg
   image6.jpg

it will infer two labels:
print(ds["train"][0])
print(ds["train"][-1])
>> {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x375 at 0x7FB5326468E0>, 'label': 1}
>> {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x415 at 0x7FB5326555B0>, 'label': 0}

Expected behavior
We should have only one base feature (Image/Audio) in such cases.
Environment info
all versions of datasets

Makes sense! For the last structure, we could count the path segments (delimited by "/" for URLs and os.sep  for local paths) to ensure all inferred labels are on the same level. Otherwise, I think it's safe to assume they are meaningless and ignore them.


spark executor pod anti affinity when run on k8s

I have realized the executor pod anti affinity. This prevents too many pods from starting on one node.

Thank you for making a PR, @wfxxh and @xuchengxiang1 . However, Apache Spark community follows a semantic versioning policy.

https://spark.apache.org/versioning-policy.html

In other words, new feature should land at master branch (Apache Spark 3.3) only.

Could you close this PR and make another one to master branch?


Curious plant Kmer spectra from HiFi reads

Dear Mike and team,
We are working with some PacBio HiFi data from a plant species. We sequenced libraries from the same individual in two batches, first two flow cells and then an additional three. The first two had relatively low yield (~20 Gb in total), and the Kmer spectra was unable to resolve peaks: http://genomescope.org/genomescope2.0/analysis.php?code=iv2XDyBMfAWMi3N5zY6k
Nonetheless, hifiasm with defaults was able to produce a primary assembly from just the first two flow cells of ~2Gb in length with ~75% complete BUSCOs.
After combining the additional three libraries (~110Gb in total) and counting 21mers, I get a spectra with a leftward shoulder, which I haven't seen before, and an extremely high heterozygous peak (not unexpected, wild collected seed): http://genomescope.org/genomescope2.0/analysis.php?code=0xl7my3kUygec4ZoLQk0
I used all the reads to produce an assembly with hifiasm, with the default kmer size of 51, which assembled a primary assembly of ~4 Gb and 98% complete BUSCOs, but with extremely high duplication rates, suggesting poor haplotype purging. Indeed, when I produce the GenomeScope spectra with 51mers, the shoulder resolves into a peak: http://qb.cshl.edu/genomescope/genomescope2.0/analysis.php?code=3HC49YnMrFo8q6FuZC2E
This appears to have caused hifiasm to call the homozygous peak wrong, hence the high duplication rate in BUSCOs.
So far, I can think of a few explanations:

Extremely high heterozygosity (not necessarily unexpected): how would it explain the shoulder in the Kmer spectra?
Accidental mix of individuals: this is almost certainly not the case, as I handled all the extractions myself from the same plant. Likewise, not sure how it might explain the results we see.
Error rates causing longer Kmers to have lower coverage, explaining the shoulder.

I would be very grateful to hear any thoughts you have on this, as I am a bit stumped.
Many thanks,
Nathanael

Hi Nathanael
These plots are definitely weird - please see below
On Wed, Jul 13, 2022 at 8:25 AM Nathanael Walker-Hale <
@.***> wrote:

Dear Mike and team,
We are working with some PacBio HiFi data from a plant species. We
sequenced libraries from the same individual in two batches, first two flow
cells and then an additional three. The first two had relatively low yield
(~20 Gb in total), and the Kmer spectra was unable to resolve peaks:
http://genomescope.org/genomescope2.0/analysis.php?code=iv2XDyBMfAWMi3N5zY6k

I wouldnt trust any of the genomescope results here since as you say the
peaks are unresolved.
Nonetheless, hifiasm with defaults was able to produce a primary assembly

from just the first two flow cells of ~2Gb in length with ~75% complete
BUSCOs.
After combining the additional three libraries (~110Gb in total) and
counting 21mers, I get a spectra with a leftward shoulder, which I haven't
seen before, and an extremely high heterozygous peak (not unexpected, wild
collected seed):
http://genomescope.org/genomescope2.0/analysis.php?code=0xl7my3kUygec4ZoLQk0

The leftward shoulder like this can come up from heterozygosity and/or
contamination. For example, you will see a plot like this if you mix data
from multiple heterozygous samples where most of the heterozygous kmers
have ~25x coverage but some of the heterozygous kmers have ~12x. But it
could also be that the model fit is getting confused about where is the
homozygous peak and where is the heterozygous peak. This is extremely high
heterozygosity and I bet it is confusing the repeats at 50x as the
homozygous peak (also see below)
I used all the reads to produce an assembly with hifiasm, with the default

kmer size of 51, which assembled a primary assembly of ~4 Gb and 98%
complete BUSCOs, but with extremely high duplication rates, suggesting poor
haplotype purging. Indeed, when I produce the GenomeScope spectra with
51mers, the shoulder resolves into a peak:
http://qb.cshl.edu/genomescope/genomescope2.0/analysis.php?code=3HC49YnMrFo8q6FuZC2E

This is pretty nuanced - notice the peaks here are centered at 12x and 25x
rather than 25x and 50x. So the shoulder hasnt really gone away, it is just
focusing on a different part of the kmer spectrum.

This appears to have erroneously caused hifiasm to call the homozygous
peak wrong, hence the high duplication rate in BUSCOs.
So far, I can think of a few explanations:

Extremely high heterozygosity (not necessarily unexpected): how
would it explain the shoulder in the Kmer spectra?
Accidental mix of individuals: this is almost certainly not the
case, as I handled all the extractions myself from the same plant.
Likewise, not sure how it might explain the results we see.
Error rates causing longer Kmers to have lower coverage, explaining
the shoulder.

I would be very grateful to hear any thoughts you have on this, as I am a
bit stumped.

There is something definitely weird about these data. Have you tried an
analysis of just the last 3 flowcells? Are you sure this is diploid? I
sometimes see plots like this for tetraploids as well. Have you tried
smudgeplots?
Hope this helps
Mike

Many thanks,

Nathanael

—
Reply to this email directly, view it on GitHub
https://github.com/schatzlab/genomescope/issues/82, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABP34YAUGKJEPAOVFV6RVLVT27UFANCNFSM53OXAULA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi Mike,
Thanks so much for your helpful reply, and apologies for my delayed response. We had no prior expectation that the plant was non-diploid, but no reason to rule it out either. I ran smudgeplot with a lower cutoff of 10 and an upper cutoff of 1600 (decided automatically by the script). The plots are below, and as you can see it suggests tetraploidy.

The canu primary assembly seemed to support this, being ~8.7 Gb in length with 98.8% complete buscos, of which ~94% were duplicated, and ~1100/1614 present in four or more copies. However, I was a bit leery of the smudgeplot because the smudge coverage seemed quite low, so I wanted to rule out whether it was something else, like maybe a mixture of two heterozygous individuals being confused as polyploid (although this seems intuitively plausible to me, I'm not sure that it actually is).
To do this, I mapped the reads from just our first round of sequencing, where the library was prepared from a single extraction which I know came from just 1 individual. I reasoned that if it was truly tetraploid, then there should be reads with primary alignments to each of the four haplophases represented in the primary assembly from all the reads. I did this by inspecting the mappings to contigs containing 4X duplicated BUSCOs and searching for unique reads with primary mappings to each contig containing one of the copies. For the examples that I checked, I found this pattern, which seems to support it truly being tetraploid (and perhaps allotetraploid? If I am interpreting the smudgeplots right).
The one major question I have remaining is how to get sensible genome size estimates in this case. Based on the apparent gene-space completeness of the assembly, I would expect the tetraploid size to be ~8.7 Gb (i.e., assuming the canu assembly is collapsing almost nothing). However, when I run genomescope with with ploidy set to 4, I get very large estimates.
21mer, p=4: http://genomescope.org/genomescope2.0/analysis.php?code=mgmvh1eHSzHaeSvGrC7Z
haploid size estimate of 861 Mb, 4n size 861 * 4 = 3.4 Gb
51mer, p=4: http://genomescope.org/genomescope2.0/analysis.php?code=2O1dMq9NFKc83dMIgc28
haploid size estimate of 897 Mb, 4n size 897 * 4 = 3.5 Gb
Perhaps I am misinterpreting the genomescope output, but it seems to me like the polyploid model is still struggling to identify the shoulder/early peak as a peak, and the size estimates are reflecting that.
Would be grateful to hear any thoughts you have,
Many thanks again,
Nathanael

Hi Nathan,
Please see below
On Fri, Aug 5, 2022 at 7:04 AM Nathanael Walker-Hale <
@.***> wrote:

Hi Mike,
Thanks so much for your helpful reply, and apologies for my delayed
response. We had no prior expectation that the plant was non-diploid, but
no reason to rule it out either. I ran smudgeplot with a lower cutoff of 10
and an upper cutoff of 1600 (decided automatically by the script). The
plots are below, and as you can see it suggests tetraploidy.
[image: smudgeplot_smudgeplot]
https://user-images.githubusercontent.com/34058664/183057355-3cfa1589-1ed2-4113-a535-a76549ca155e.png
[image: smudgeplot_smudgeplot_log10]
https://user-images.githubusercontent.com/34058664/183057361-d966bc75-cff5-46ba-891f-d28c5dbb819f.png
The canu primary assembly seemed to support this, being ~8.7 Gb in length
with 98.8% complete buscos, of which ~94% were duplicated, and ~1100/1614
present in four or more copies. However, I was a bit leery of the
smudgeplot because the smudge coverage seemed quite low, so I wanted to
rule out whether it was something else, like maybe a mixture of two
heterozygous individuals being confused as polyploid (although this seems
intuitively plausible to me, I'm not sure that it actually is).

To do this, I mapped the reads from just our first round of sequencing,

where the library was prepared from a single extraction which I know came
from just 1 individual. I reasoned that if it was truly tetraploid, then
there should be reads with primary alignments to each of the four
haplophases represented in the primary assembly from all the reads. I did
this by inspecting the mappings to contigs containing 4X duplicated BUSCOs
and searching for unique reads with primary mappings to each contig
containing one of the copies. For the examples that I checked, I found this
pattern, which seems to support it truly being tetraploid (and perhaps
allotetraploid? If I am interpreting the smudgeplots right).

Ah interesting. This is a nice way to confirm ploidy

The one major question I have remaining is how to get sensible genome size
estimates in this case. Based on the apparent gene-space completeness of
the assembly, I would expect the tetraploid size to be ~8.7 Gb (i.e.,
assuming the canu assembly is collapsing almost nothing). However, when I
run genomescope with with ploidy set to 4, I get very large estimates.
21mer, p=4:
http://genomescope.org/genomescope2.0/analysis.php?code=mgmvh1eHSzHaeSvGrC7Z
haploid size estimate of 861 Mb, 4n size 861 * 4 = 3.4 Gb
51mer, p=4:
http://genomescope.org/genomescope2.0/analysis.php?code=2O1dMq9NFKc83dMIgc28
haploid size estimate of 897 Mb, 4n size 897 * 4 = 3.5 Gb
Perhaps I am misinterpreting the genomescope output, but it seems to me
like the polyploid model is still struggling to identify the shoulder/early
peak as a peak, and the size estimates are reflecting that.

I agree, these are pretty poor fits so I would not trust the genome size
estimate. After some parameter tweaking I can get a little bit better fit
with a 4n genome size of 7.1Gb, although even this fit isnt great and is
missing some of the heterozygous kmers:
http://qb.cshl.edu/genomescope/genomescope2.0/analysis.php?code=aMvBLEO7en29sto7fs3y
My guess is the true genome size is someplace in between at around 8Gbp
Hope this helps
Mike

Would be grateful to hear any thoughts you have,
Many thanks again,
Nathanael
—
Reply to this email directly, view it on GitHub
https://github.com/schatzlab/genomescope/issues/82#issuecomment-1206323727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABP3472GUDZ74YDEHCES6DVXTYKZANCNFSM53OXAULA
.
You are receiving this because you commented.Message ID:
@.***>

Hi Mike,
Thanks so much for looking it over! Your adjusted fit seems like a much closer estimate. We will hopefully follow up with some cytometry for a confirmatory measure.
Thank you very much again for the help,
Nathanael


Error when starting capture

I've just downloaded and compiled the latest available release (v1.68).
I was able to complete the run process, even though some tests failed (see build_log.txt).
I then started orbit by running:
./run_service.sh
./run.sh

Everything works until I start a capture, in which case I get the following error:
There were errors with perf_event_open, in particular with: mmap events, fork and exit events, u(ret)probes, sampling, task:task_newtask and task:task_rename tracepoints, sched:sched_switch and sched:sched_wakeup tracepoints." with severity kSevereWarning added to the capture log
If I continue regardless the error message, the capture seems not to work and when I stop it the application hangs after showing a small popup window "Finalizing capture - Orbit Profiler [BETA]".

Looks like you are not starting the service as root.
Try sudo ./run_service.sh for the first step.
The client, started with ./run.sh, doesn't have to run as root.

It works, sorry, I didn't notice it in the documentation!

Glad that it now works for you, thanks for confirming!
And thanks for trying out / using Orbit!


Run command? Not "build & run"

Is it possible to add just a run command that will also override the current run like you can do in xcode? If I could map this to cmd+R I wouldn't need to keep switching back and forth from vs code to xcode, it's just much faster to run in xcode then to wait for the build & run command from sweetpad currently.
Also, when I do use the build & run sweetpad command with my simulator already the running the app, it asks me to terminate or restart the process in the bottom left corner of vs code which is also not convenient (in xcode the first time you try to start a run with an active run it asks you if you want to override it but there's a checkmark to never ask again - I don't think asking is even necessary tbh).

@schwjustin I can implement only the "run" command without building, but to run something, you need to build it separately. I think it will not work faster than executing the "Build & Run (Launch)" command because it will work the same way, just only one part of this command
I suppose, Xcode works faster here with "Run" acrtion because they have the rebuild process running constantly to show errors in Xcode, and when you press the "Run" button in Xcode, it already has a warm build cache. My VS Code extension is completely built on top of the xcodebuild command, which doesn't have functionality like incremental rebuilding. One way to have incremental building in the extension is to reimplement the Xcode build system on my own, but that is too big of a task for me right now.  Another option is to explore xcode build service proxies, that allow to hook into build process, but I'm not sure it's flexible enough to add support for incremental build


Project tree doesn't exclude .svn & .git folders for this user

Hi community,
I'm new user on Brackets (Sublime Text before) and i would like know i can add my git/svn folder to ignor on my sidebar ?
Possible to create a project manager ? (rename project, etc.)
Thank you !

@LeG3nDz Are you still seeing this issue with extensions disabled?  And can you confirm you're running an official build downloaded from http://brackets.io (not running from the git source repo or anything else)?
If so, can you try this:

Debug > Show Developer Tools
Paste this into the console:

require("filesystem/FileSystem").resolve(require("project/ProjectManager").getProjectRoot().fullPath + ".svn", function (err, entry) { console.log(entry); })

What output do you see?

Still in dev tools, use Ctrl-O to open ProjectModel. Locate the function _shouldShowName().
Click in the gutter to out a breakpoint inside it, then right-click the breakpoint and choose Edit Breakpoint. Type name.indexOf(".svn") !== -1 and press Enter.
Choose Debug > Reload Without Extensions again

Does it pause on the breakpoint?  If so, what does the function return?  What is the value of name? What is the call stack?
Thanks!


Exercise_16_08

Hi,
I have found a little mistake in Exercise_16_08. The method isIntersect() examines wether the two circles intersect or not. This method gives true also in case of one containing the other. The method can correct like this:
public boolean isIntersect() {
double distance = Math.sqrt(Math.pow(c1.getCenterX() - c2.getCenterX(), 2) +
Math.pow(c1.getCenterY() - c2.getCenterY(), 2));
return distance < c1.getRadius() + c2.getRadius() &&
distance > Math.max(c1.getRadius(), c2.getRadius()) - Math.min(c1.getRadius(), c2.getRadius());
}
Bye,
Csaba

I would argue that what @jsquared21 currently has is the correct implementation. If a smaller circle is completely contained inside a larger circle, then I would say that every part of the smaller circle overlaps with some part of the larger circle and they would be intersecting.
It's just like 2 intersecting sets. You could have a typical Venn Diagram where A & B are different sets and neither set equals the union, but you could also have A be a subset of B, then A is contained completely in B so the intersection of A & B is equal to the set A. But they would still be intersecting, or overlapping, however you want to refer to it
Point is, I think what exists is the better way of doing it

Hi,
Thx for your answer. I think if we speak about clusters, you're completely right. I am not sure in case of geometry the concept of intersection has exactly the same meaning. In exercise 14_23 it was distinguished if one rectangle containes the other, and if one overlaps the other. That's why I thought it could be distinguished here also. But I can accept your arguments, it is the question of definitions, so maybe I think it wrong.


Add some extra help to cargo new and invalid package names.

Binaries are not as restricted as package names, so provide some help in case the user really wants a binary with that name.
Closes #8829

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

@bors: r+

:pushpin: Commit fdb8ea1e037987b23564cef298a7a0cd3c9e6135 has been approved by alexcrichton

:pushpin: Commit fdb8ea1e037987b23564cef298a7a0cd3c9e6135 has been approved by alexcrichton

:hourglass: Testing commit fdb8ea1e037987b23564cef298a7a0cd3c9e6135 with merge 414ccb5d491030268e4c7b87dc2345d73760ecdf...

:hourglass: Testing commit fdb8ea1e037987b23564cef298a7a0cd3c9e6135 with merge 414ccb5d491030268e4c7b87dc2345d73760ecdf...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 414ccb5d491030268e4c7b87dc2345d73760ecdf to master...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 414ccb5d491030268e4c7b87dc2345d73760ecdf to master...


How to add navigation to sidebar

Cannot figure out how to add a page menu to the sidebar. Do I have to use a HTML element?
Thank you!

Hi, what kind of menu do you have in mind?
If for example you just want to switch between pages when a Text component is clicked, you can easily do so.
You will need to assign keys to the pages to make sure they can be navigated to. More info on Page routes docs.


Bump version to 19.03.1

Couldn't delete the release on github so we go with the next best thing
which is to just bump the patch version
Signed-off-by: Eli Uriegas<EMAIL_ADDRESS>

Going to go ahead and merge this once it goes green and move forward with the release.

There's also a release.py script which is what I'm assuming what was used for 19.3 and that needs to be updated to also update the __version__ variable in sanic/__init__.py

@seemethere The release.py already updates the sanic/__init__.py. It uses the setup.cfg to hold the file name. But looks like this script wasn't used to do the last release. (Since the current_version in setup.cfg is still an older value. This would be auto-updated if the release.py was used.) But that's all right. That script is just a helper utility.


[Feature Request] Button to clear whole playlist

Currently you have to clear cache to start a new playlist. @udiboy1209

Can I work on this issue? @udiboy1209

@chamow97 look at #7 you can finish that PR with the changes I have suggested.

Okay, I will look into it @udiboy1209


Re-enable Draco quantization

After https://github.com/CesiumGS/cesium/pull/9841 gets merged, we will no longer quantize any attributes in the Draco worker. Some immediate tech debt from this PR:

This is a temporary workaround while we switch to the draco3d npm module, but it should be doable to at least get some quantization benefits by packing compressed attributes into 16 bits. In the PR, c9ac980 has some progress towards getting the math to work in the shader but has inconsistent results with different models (i.e. with Specs/Data/Models/DracoCompression/BoxVertexColorsDracoRGBA.gltf Draco returns a null pointer even on the "NORMAL" attribute, which is unexpected).
Some specs related to quantization were changed or deleted. These two commits should be reverted once quantization is added back: 1a3b697, 97c186c

Since this is a sizable regression, we should fix as much as we can in main ASAP and consider a follow-up 1.86.1 release.
related: #9787

Update: most of the specs are now back in main after https://github.com/CesiumGS/cesium/pull/9904 got merged. The specs for PointCloud3DTileContentSpec.js are the only ones left, and should be added in once the Draco issue is fixed.

After https://github.com/CesiumGS/cesium/pull/9908/ is merged, all the specs will have been added back in. Once the Draco bug is fixed in the next release and we update the Draco version in CesiumJS, this issue can be closed.


fix failing tests by fixing linter errors

Closes https://github.com/klaussinani/signale/issues/74

Updated this branch with master


Material not found view

Adds the material not found view.
Eventually, popular searches should also be part of this view – I'll add them in a separate PR.
It's a bit weird that this view uses the postcode form action but this view is firmly a material layout view instead of the start layout view because the user has committed to searching for a material, I could rename the postcode action but then it breaks convention, I could create a not-found.action that uses the postcode.action but that just adds code and ends up in the same place, I've left it for now and will see if any other routes break the convention if so the convention might need to change.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bump grpc to 1.38

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-telemetry-mc-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-telemetry-mc-k8s-tests_istio

integ-security-multicluster-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-security-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-telemetry-mc-k8s-tests_istio

integ-security-multicluster-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-security-multicluster-tests_istio

integ-ipv6-k8s-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-telemetry-mc-k8s-tests_istio

integ-security-multicluster-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-security-multicluster-tests_istio

integ-ipv6-k8s-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-ipv6-k8s-tests_istio

integ-pilot-multicluster-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
af2a3c9c69d5120d431c2e3d490389970c9c604d
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


cordova/phonegap plugin

Is it possible to use Stetho with Phonegap/Cordova apps?
If not, are there any plans to create a plugin for Cordova/Phonegap?

From a very cursory look at phonegap it doesn't seem to be obvious how the interaction with Stetho would work. Phonegap is cross platform and Stetho requires more Java and Android specific Java with the way it interops with networking and layouts


Inconsistency in jump table recovery depending on LDR, TBB/TBH

This is copied from slack:

Hello, there's an issue with how switch cases are being resolved if the compiler chose to use the ldr instruction instead of tbb/tbh for the jump table. I've seen this a few times now on arm cortex-m3 compiled firmware, was taking a look at how the IL was being generated to see if it could be easily fixed, but I imagine you will track it down significantly faster

Screenshot:

Repro binary:
lpc1769_semaforo.axf.zip

For that binary, you'll see it in SetSemaphore()

Fixed in 3.4.4195-dev.


[Plugin] Compute Capacity Plugin

Summary
A plugin for managing compute resources like virtual machines. Ideally, this plugin should have an opinionated UI for managing compute and performing common operations like Power On, Power Off, Reboot, Provision, Destroy, etc. and an extensible backend model that would allow it to operate any type of machine and add additional custom operations.
Context
The plugin only needs to have support for 1 or 2 machine types shipping with it, but ideally, "any type of machine" would actually be extensible enough to support almost anything. For example:
Cloud VMs like EC2, GCE, Azure VMs, etc.
Private Cloud VMs like VMware vSphere, KVM, etc.
Physical Machines like Dell iDrac, HP iLO, etc.
Though, all of these machine types would be managed from the same UI in the same plugin and the only difference would be in the code that integrated this plugin with the API calls to the machines.

Awesome, I've been looking forward to this!
One interesting challenge is how to map catalog entities to their corresponding cloud resources. For context for other readers: At Spotify, entities have a dedicated role property, which is a unique key that maps (one or more) components to their role in the larger ecosystem, and this maps to several different runtime aspects, one of which is capacity allocations. Interestingly, the internal legacy catalog also has functionality for managing this mapping.
Do you already at this point have some ideas on how this could be handled in the open source world, especially in a multi cloud scenario? Could it be the case that the capacity plugin would need to hold the API for mapping components to resource spaces? Would components still have a human written key of some sorts entered into them, and would that be in the form of a labelling scheme (different labels for different providers?) or something else?

I'm not sure that I understand the question correctly. I read "how to map catalog entities to their corresponding cloud resources" to mean how we map a VM like "vm-1" to the actual VM in the cloud like "AWS EC2 i-12345678". Though, when you added the concept of role from Spotify, it seemed to me like you were getting into something a bit different.

@dzolotusky Not quite - I mean that, given some frontend view, it will have knowledge of the entity yaml data essentially. Given that data, how will it form queries to another system, such that the system knows what VMs to show in the list? That is, what is the linkage from an entity, to a VM?

OK, I understand what you're saying now and the connection to role makes sense to me. Though, I don't have an answer at the moment.

Re-opening since plugin suggestion issues are now exempt from stalebot.

Hi. I don't know if anyone is still working on this idea but I was thinking about doing something similar. I don't know anything really about code or programming, but do want to learn and plan to once I get my money situated. Regardless of that though, I was hoping maybe I could bounce my idea off of individuals who do have coding and programming knowledge.


Fix POST_Links return all on title search with grp list

Fixes #308

We decided that instead of supporting follow_links with titles, it makes more sense to disable this combination of parameters on this endpoint - see #314


Add setter for ApiProblem properties

Allows modification of ApiProblem properties after instantiation.
fixes #24

ApiProblem is designed as a value object, and not intended to be updated after instantiation. Create a new instance if you need to alter it.


[Feature Request] Possiblity to add extra checks to WHEN MATCHED in merge

Hi,
This is the second part I need to not have to write all the code myself ;)
I need to write a merge that looks something like this:
MERGE MyTable WITH (HOLDLOCK) AS TARGET
USING TempTable AS SOURCE
ON (TARGET.[Id] = SOURCE.[Id])
WHEN MATCHED AND SOURCE.Time > TARGET.Time
THEN UPDATE SET TARGET.Value= SOURCE.Value, TARGET.Time = SOURCE.Time
WHEN NOT MATCHED BY TARGET
THEN INSERT(Id, Value, Time) VALUES (SOURCE.Id, SOURCE.Value, SOURCE.Time);

Meaning I would need to be able to specify the AND SOURCE.Time > TARGET.Time some how for the BulkInsertOrUpdateAsync method.
One way could be to add a new list with parameter and operation:
new BulkConfig{ UpdateWhen = new List<WhenOperation> { new WhenOperation<Entity>(x => x.Time, OperationType.SourceGreaterThen) } }
Regards Daniel

This seems too custom, and out of this library scope.


Apple Root Certificates Update Schedule

Hello,
Should we download apple root certificates every deployment or periodically? (AppleComputerRootCertificate.cer expires on Feb 10 00:18:14 2025 GMT)
I could not find a direct answer on the web. I am not familiar with PKI and root certificates.
Thanks

Thanks
The issue in nodejs repo resolved my issue. https://github.com/apple/app-store-server-library-node/issues/57

Any cert rotations occurs in the intermediate and leaf certificates, which the library automatically handles by building the entire signing chain back to one of the roots


property constrain_width of dropdown is not work well

the property constrain_width is not handled with AngularJS. We have to rename it.

A simple slider is added.

Looks good.

Okay, I was a little to quick press that merge button.
That $watch didn't make sense at all, and the slider just ended up in an infinite loop.


ignore redefinitions of inherited when inspecting caller locations

Given an ApplicationComponent that re-defines inherited,
we were failing to find the correct template for the child
component, as we were looking at the top frame in the
call stack.
This change ignores any definitions of inherited in
the call stack, avoiding the issue.
[Fixes: #280]

@nashby what do you think of this solution?

@joelhawksley hey, looks good to me! The only thing I'm worried that we need to get whole stacktrace for that (not only the first frame as it was before). But I can't really think of any other solution atm.

@nashby do you think we could limit the size of the stack trace request to something like 10 frames?

@joelhawksley I think practically that should work but in theory there might be the case when it's not enough, not sure (e.g when there're a lot of inheritance happening)


build: fix formatter in JDK 16

We had been using a formatting plugin that was not compatible with Java 16; I have changed that plugin to one which is. For reference, we are using the Google coding style. The previous plugin use a commandline formatter provided by Google, this plugin uses the Google eclipse formatting rules. Any changes in formatting is an artifact of that change.

Like new format!


Missing lisence information

Could you please add a license to the PyPI information and include a LICENSE.txt file or so?  Currently it is not clear under which license this is available.
Thanks,
Floris

ok. This is mit license, if possible.
(Honestly, I didn't understand about importance of license)


Vue cli 3 JSON schema loader with reference and pointer support

Hello there,
to use this awesome module into a Vue application I created a simple webpack plugin to load all schemas and all references bundling all into a single JSON schema ready to import into a .vue file.
https://gist.github.com/mgesmundo/07d6ea3958ed4c7d19d1161551fa46ca
All the best.

Thanks for sharing!  That's a great usage of this library.


setting up the database with psycopg2

Setting up the database using psycopg2 for v2 of the app

Pull Request Test Coverage Report for Build 91

136 of 169 (80.47%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.5%) to 87.743%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

flaskie/api/v2/models.py
0
5
0.0%

flaskie/api/v2/app/serializers.py
15
28
53.57%

flaskie/api/v2/app/resources.py
90
105
85.71%

Totals

Change from base Build 83:
-2.5%

Covered Lines:
587

Relevant Lines:
669

💛  - Coveralls


fix problem with async close session

When we switch camera (front -> back / back -> front) we should recreate session, but in fact after some switches camera will broken because when we close session with CameraController#stop we will send message ClosedEvent in bus asynchronously, so we can have situation when call public void onEventMainThread(CameraEngine.ClosedEvent event)  and switchPending == true and call method open (within onEventMainThread) and session not equal null.

I agree with the source of the timing issue. I did not exactly agree with your fix -- destroy() on the CameraSession should not be before close() on the CameraEngine. I pushed the destroy() call into the CameraEngine implementations, and I implemented your "stash and null out the session" approach for the rest. So, while I did not use your pull request directly, thank you very much for your help in getting issue #40 resolved!

Anyway, i guess my investigation was helpful for you.


Enhancement: Book Description in Book Overview

I find the Book Description in Books Overview Page a little misleading.
I don't know if there are any improvements planned with the new design, but i think it would be great if we only show the description to the next "ENTER" / New Line in the Overview. This would allow to give a short sentence for the overview and don't have these points...

In this case the text would end after the first sentence.

Thanks for raising @Reflic.
This is a fairly old issue now regarding the old design, so it may not apply. Generally though, I'd prefer not to just cut the description at the first line but in 0ca8d7fc032ab49c75602a06829be5149d8a0e43 I've changed the approach so it will cut the text dynamically based on the container width to better fill the space. Those changes will be part of the next feature release.


How to set file size limit?

how to allow to only select lower than 1 mb image?

how to allow to only select lower than 1 mb image?
Was the above question resolved?


Updating OtelTraceSourceTests

Issue #, if available:
https://github.com/opendistro-for-elasticsearch/Data-Prepper/issues/214
Description of changes:

Updating armeria WebClient.execute() call to call join(), so that the future is run
Updating test to assert a 415 (media type unsupported) error, which is what is expected
Removing extra test for http, since this is no longer needed

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

nit: Can keep and check for 415 on HTTPBytes tests as well? The reason when we allow http, we will support both JSON and Bytes.

Great catch @AustinTag :)


Is documentSearchRequest planned to be added?

import com.openai.api.*;
import java.time.Duration;
import java.util.*;

public class OpenAIDocumentSearchExample {

    // API key for OpenAI API
    private static final String API_KEY = "your_api_key_here";

    // Fine-tuned sentences
    private static final List<String> FINE_TUNED_SENTENCES = Arrays.asList(
            "Fine-tuned sentence 1",
            "Fine-tuned sentence 2",
            "Fine-tuned sentence 3"
    );

    public static void main(String[] args) {
        // Create OpenAI service
        OpenAiService service = new OpenAiService(API_KEY, Duration.ofMinutes(5));

        // Query text
        String query = "Your query text goes here.";

        // Create document search request
        DocumentSearchRequest documentSearchRequest = DocumentSearchRequest.builder()
                .model("your_model_id")
                .documents(FINE_TUNED_SENTENCES)
                .query(query)
                .build();

        // Call document search API
        DocumentSearchResult searchResult = service.documentSearch(documentSearchRequest);

        // Check if the search result contains any matching documents
        boolean containsFineTunedSentences = searchResult.getData().size() > 0;

        // Print the result
        System.out.println("Fine-tuned sentences: " + FINE_TUNED_SENTENCES);
        System.out.println("Query: " + query);
        System.out.println("Search result: " + containsFineTunedSentences);
    }
}
`

I want to use document search in my project. Should I just use the open ai library?

OpenAI deprecated the search endpoint, but they have a transition guide here that recommends using embeddings
https://help.openai.com/en/articles/6272952-search-transition-guide

I'll check! Thanks for your reply :)


maybe move quest overview into top level

it's easier to run through quests and take a look at them

yes, this is good


API to programmatically begin rename

Follow up on #49060
Problem
The TS refactor provider uses activeTextEditor and the editor.action.rename command in order to rename extracted methods / variables. Using activeTextEditor causes problems for live share
Proposal
I believe we need an API that allows us to begin a rename at a given position in the specific document. This would essentially:

Make that document the active editor
Move the selection to the rename location
Begin the rename operation and show rename UI

I do not believe that a command/api for this exists today

We do have the editor.action.rename command which should be used for this. However, it still needs an active editor because the feature requires user interaction. So, we can add the document/uri and position as arguments and make sure we show that editor before running the command.


Crash when running benchmarks on my machine

Hello! I'm developing an ECS and wanted to use this to check its performance, however when running the benchmarks on my machine (Windows 10, running as administrator, on master branch without any changes) the script crashes when running the SystemWithOneComponent.DefaultEcs_ComponentSystem_MonoThread job. All benchmarks up until that point run fine.
Log file is attached, it does not include the exception so I will paste it below. The exception occurs between // Benchmark Process 16068 has exited with code 0. and Successfully reverted power plan (GUID: 381b4222-f694-41f0-9685-ff5bb260df2e FriendlyName: Balanced) lines at the very end of the log, if it matters.
BenchmarkRun-20240607-055225.log
Unhandled exception. System.InvalidOperationException: One workload iteration stop event is missing, unable to calculate stats
   at BenchmarkDotNet.Diagnostics.Windows.Tracing.ProcessMetrics.CalculateMetrics(Dictionary`2 profileSourceIdToInterval, PreciseMachineCounter[] counters)
   at BenchmarkDotNet.Diagnostics.Windows.Tracing.TraceLogParser.Parse(TraceLogEventSource traceLogEventSource, PreciseMachineCounter[] counters)
   at BenchmarkDotNet.Diagnostics.Windows.Tracing.TraceLogParser.Parse(String etlFilePath, PreciseMachineCounter[] counters)
   at BenchmarkDotNet.Diagnostics.Windows.EtwProfiler.ProcessResults(DiagnoserResults results)
   at BenchmarkDotNet.Diagnosers.CompositeDiagnoser.<>c__DisplayClass10_0.<ProcessResults>b__0(IDiagnoser diagnoser)
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Execute(ILogger logger, BenchmarkCase benchmarkCase, BenchmarkId benchmarkId, IToolchain toolchain, BuildResult buildResult, IResolver resolver)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.RunCore(BenchmarkCase benchmarkCase, BenchmarkId benchmarkId, ILogger logger, IResolver resolver, BuildResult buildResult)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Run(BenchmarkRunInfo benchmarkRunInfo, Dictionary`2 buildResults, IResolver resolver, ILogger logger, EventProcessor eventProcessor, List`1 artifactsToCleanup, String resultsFolderPath, String logFilePath, Int32 totalBenchmarkCount, StartedClock& runsChronometer, Int32& benchmarksToRunCount, TaskbarProgress taskbarProgress)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Run(BenchmarkRunInfo[] benchmarkRunInfos)
   at BenchmarkDotNet.Running.BenchmarkSwitcher.RunWithDirtyAssemblyResolveHelper(String[] args, IConfig config, Boolean askUserForInput)
   at BenchmarkDotNet.Running.BenchmarkSwitcher.Run(String[] args, IConfig config)
   at Program.<Main>$(String[] args) in E:\Projects\C#\Ecs.CSharp.Benchmark\source\Ecs.CSharp.Benchmark\Program.cs:line 32

P.S. is the benchmark supposed to take hours to run? The estimate (before crash) said something like 2h 50m which seems really long! Running on a i6 9600k @ 4.9Ghz with "high" priority in task manager for reference.

Tried again, now I got further but got another error. I also noticed that the estimate is crazy as you can see in attached log, and the "ETL" files being generated are tens of gigabytes large! Is that intentional?? After running only this many tests (like seven) it has produced almost 50gb of these ETL files.
BenchmarkRun-20240607-061638.log
System.Exception: Merge operation failed return code 0x1069
   at Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl.Merge(String[] inputETLFileNames, String outputETLFileName, EVENT_TRACE_MERGE_EXTENDED_DATA flags)
   at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.Merge(String[] inputETLFileNames, String outputETLFileName, TraceEventMergeOptions options)
   at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.MergeInPlace(String etlFileName, TextWriter log)
   at BenchmarkDotNet.Diagnostics.Windows.EtwProfiler.Stop(DiagnoserActionParameters parameters)
   at BenchmarkDotNet.Diagnostics.Windows.EtwProfiler.Handle(HostSignal signal, DiagnoserActionParameters parameters)
   at BenchmarkDotNet.Diagnosers.CompositeDiagnoser.Handle(HostSignal signal, DiagnoserActionParameters parameters)
   at BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliExecutor.Execute(ExecuteParameters executeParameters)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.RunExecute(ILogger logger, BenchmarkCase benchmarkCase, BenchmarkId benchmarkId, IToolchain toolchain, BuildResult buildResult, IResolver resolver, IDiagnoser diagnoser, Int32 launchIndex)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Execute(ILogger logger, BenchmarkCase benchmarkCase, BenchmarkId benchmarkId, IToolchain toolchain, BuildResult buildResult, IResolver resolver)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.RunCore(BenchmarkCase benchmarkCase, BenchmarkId benchmarkId, ILogger logger, IResolver resolver, BuildResult buildResult)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Run(BenchmarkRunInfo benchmarkRunInfo, Dictionary`2 buildResults, IResolver resolver, ILogger logger, EventProcessor eventProcessor, List`1 artifactsToCleanup, String resultsFolderPath, String logFilePath, Int32 totalBenchmarkCount, StartedClock& runsChronometer, Int32& benchmarksToRunCount, TaskbarProgress taskbarProgress)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Run(BenchmarkRunInfo[] benchmarkRunInfos)
   at BenchmarkDotNet.Running.BenchmarkSwitcher.RunWithDirtyAssemblyResolveHelper(String[] args, IConfig config, Boolean askUserForInput)
   at BenchmarkDotNet.Running.BenchmarkSwitcher.Run(String[] args, IConfig config)
   at Program.<Main>$(String[] args) in E:\Projects\C#\Ecs.CSharp.Benchmark\source\Ecs.CSharp.Benchmark\Program.cs:line 32


Add demo gif to README

Disclaimer: This is a bot
It looks like your repo is trending. The github_trending_videos Instgram account automatically shows the demo gifs of trending repos in Github.
Your README doesn't seem to have any demo gifs. Add one and the next time the parser runs it will pick it up and post it on its Instagram feed. If you don't want to just close this issue we won't bother you again.

Your link is dead mister robot buddy


Update math.ts

Added methods for cross product, angle between vectors and spherical linear interpolation (interpolation between directions)

Cross product needs to be changed since it seems that Kaboom has y down, rotations clockwise

Sorry missed this PR. Can you rebase and also update the type / doc in types.ts?


add implementation for label-studio annotations and DeepLabCut

Description
Add support for label-studio and DeepLabCut
Data Model Changes

Fix equality of Points. X and Y coordinates were previously compared using normal float equality semantics. Here we change to utilize the numpy.isclose() method for comparison, where two floats are compared for equality within some tolerance (we use just the default tolerances). Additionally, we will consider that two NaN values are equal, which is normally not true.
Allow Instance objects to be compared for equality. The points collection within an instance are compared with the rule that both collections of points must contain the same set of nodes, and for each node the point must be equal according to the semantics described above.

Label Studio Support

support for reading label-studio annotations from a file or list[dict] and conversion to Labels instance via sleap_io.io.labelstudio.read_labels() and sleap_io.io.labelstudio.parse_tasks()
support conversion of Labels to list[dict] via sleap_io.io.labelstudio.write_labels()
known issues:

label-studio uses relative coordinates (in the range 0-1), so writing label-studio tasks from a labels instance requires that the Video associated with a LabeledFrame properly implement the Video.shape property. If shape is not properly implemented, the label-studio tasks may not function properly.

DeepLabCut Support (single- and multi-animal projects)

support for reading DLC annotations and conversion to Labels instance via sleap_io.io.dlc.load_dlc() and  sleap_io.io.dlc.dlc_to_labels().
support conversion of Labels to DLC annotations via sleap_io.io.dlc.write_dlc() and sleap_io.io.dlc.labels_to_dlc()
support determining if the DLC project is a single-animal or a multi-animal style project via sleap_io.io.dlc.is_multianimal()
support loading Skeleton data from a DLC project via sleap_io.io.dlc.load_skeletons()
known issues:

DLC does not include edges in their skeleton definitions, so a skeleton with only nodes and no edges is constructed.
Video data may not be properly implemented.

I think there is no way for us to know a video or image shape without us first loading it.
We currently only set the frame index for an annotation to zero. probably we can parse it from the filename?

Types of changes

[ ] Bugfix
[x] New feature
[ ] Refactor / Code style update (no logical changes)
[ ] Build / CI changes
[ ] Documentation Update
[ ] Other (explain)

Does this address any currently open issues?
[list open issues here]
Outside contributors checklist

[ ] Review the guidelines for contributing to this repository
[ ] Add tests that prove your fix is effective or that your feature works
[ ] Add necessary documentation (if appropriate)

Thank you for contributing to SLEAP-IO!
:heart:

Looking great @quantumdot! Feel free to mark this ready for review for @roomrys whenever you're done.

@talmo @roomrys I believe I have the bulk of functionality implemented for DLC and label-studio. Perhaps it is a good time to review changes?
We should also discuss Video instances, as some outstanding issues depend on the implementation details there.

@talmo @roomrys I believe I have the bulk of functionality implemented for DLC and label-studio. Perhaps it is a good time to review changes?
We should also discuss Video instances, as some outstanding issues depend on the implementation details there.

Thanks! @roomrys can do the first review. Let's work around the Video stuff for now since that depends on the very unfinished branch at https://github.com/talmolab/sleap-io/tree/talmo/pims-video-backend.

CI / Tests are failing on python==3.7 it seems due to pickle protocol version mismatch. See related: https://github.com/DeepLabCut/DLCutils/issues/19. Do you have a DLC dataset which works across the python version 3.8 boundary, where pickle version changed from 4 -> 5?
CI / Tests fail on windows python==3.9 due to an import error for pytables. I don't understand why.

Closing this PR as it is superseded by the following (these changes split into three separate PRs based on separation of concerns)

Changes to Point and Instance equality semantics: #21
Add support for DeepLabCut projects: #25
Add support for LabelStudio projects: #26


[ENHANCEMENT] Allow ignoring winget packages with an unknown version

Please confirm these before moving forward

[X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template
[X] This improvement is not a bug. If you want to report a bug, please use this template

Describe the improvement
winget by default will not list packages with an unknown version as updateable. I think this project should add a toggle to allow this as well, and even enable it by default to be consistent with winget.
Describe how this improvement could help users.
Decluttering update list.

Packages with unknown versions will be handled manually by WingetUI, and when you upgrade them, they will not show again until a new version different from the already updated is available. Therefore, it does not make sense anymore to treat them differently. WingetUI used to have a toggle for this, but it was ultimately removed due to the implementation of this self-handling


Variable btype leaked to global scope (btype is not declared)

Recently I wrote a tool to check all global variables in all javascript files of my project, and find that opentype.js leaked a btype variable.
I can see the following code in dist/opentype.js
function tinf_uncompress(source, dest) {
  var d = new Data(source, dest);
  var bfinal, res;

  do {
    /* read final block flag */
    bfinal = tinf_getbit(d);

    /* read block type (2 bits) */
    btype = tinf_read_bits(d, 2, 0);

obviously, btype is not declared and will  leak to global scope.
It's caused by tiny-inflate, but tiny-inflate has fixed it (see commit), opentype should update and remake the dist files.

Thanks for reporting this! I've upgraded the dependency and released a new version.


[Bug] Automation triggers for armed states not working

Description
Ring Alarm device has 8 triggers defined in the automation UI.  The "Ring Alarm disarmed" trigger is working properly.  However, the "arming", "Ring Alarm armed home", and "Ring Alarm armed away" triggers are not working.
Details
I am attempting to configure automations to set the LED indicators on my switches next to my doors to red when the Ring Alarm is armed and clear the indicators when the Ring Alarm is disarmed.  I am able to manually trigger both automations to get the indicators working correctly.
Ring Alarm armed home trigger
Here is the armed home trigger that does not work:

YAML for this trigger is:

platform: device
device_id: XXX
domain: alarm_control_panel
entity_id: alarm_control_panel.ring_alarm
type: armed_home

The history of this entity only shows "Armed" and "Disarmed"; never shows "Armed_Home"

I tried to edit the YAML of the trigger manually, but Home Assistant gives me an error.
Configuration
Home Assistant Supervised 2021.1.1
Mosquitto broker (5.1)
Ring Devices (4.2.1)

version
2021.1.1

installation_type
Home Assistant Supervised

dev
false

hassio
true

docker
true

virtualenv
false

python_version
3.8.7

os_name
Linux

os_version
4.19.0-13-amd64

arch
x86_64

timezone
America/Los_Angeles

Home Assistant Community Store

GitHub API
ok

Github API Calls Remaining
4980

Installed Version
1.9.0

Stage
running

Available Repositories
709

Installed Repositories
5

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Hass.io

host_os
Debian GNU/Linux 10 (buster)

update_channel
stable

supervisor_version
2020.12.7

docker_version
20.10.2

disk_total
52.9 GB

disk_used
5.6 GB

healthy
true

supported
true

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.2.0), Duck DNS (1.12.4), Mosquitto broker (5.1), Ring Devices (4.2.1), Home Assistant Google Drive Backup (0.103.0)

Lovelace

dashboards
2

mode
auto-gen

resources
3

Spotify

api_endpoint_reachable
ok

This has been reported a few times but I don't see how this issue can be in the addon.  The addon does not talk to Home Assistant directly, it only provides state updates via MQTT, which are obviously working (you see the correct state in Home Assistant, correct?).  I believe this bug would have to be in the MQTT Alarm Control Panel component, but I'm not sure and haven't had time to attempt to track it down.
You can use an entity based trigger instead of a device trigger to work around this, as that works fine.

This has been reported a few times but I don't see how this issue can be in the addon.  The addon does not talk to Home Assistant directly, it only provides state updates via MQTT, which are obviously working (you see the correct state in Home Assistant, correct?).  I believe this bug would have to be in the MQTT Alarm Control Panel component, but I'm not sure and haven't had time to attempt to track it down.
You can use an entity based trigger instead of a device trigger to work around this, as that works fine.

I took a quick look through the alarm control panel trigger code in HA and I think I may have figured it out.  It appears that the alarm control panel device triggers are only triggered when switching from arming state, to one of the armed states, rather than from disarmed directly to an armed state as ring-mqtt currently does (there's not interim "arming" state), so basically today we have:
disarmed --> armed_home
But for the trigger to work it needs:
disarmed --> arming --> armed_home
Reading the docs on the manual alarm control panel there is a section on the state machine for the manual alarm and it indicates a similar flow saying that alarm always goes to "arming" state for x number of seconds before arming, so I'm thinking that is an assumption that Home Assistant is making.
Currently, ring-mqtt does not implement an "arming" state, but it should be easy to do.  Over the next few days I'll try to setup a test to see if this is the problem, it should be easy to prove (I'll just fake sending an arming state via MQTT and see if the behavior of HA changes).  If that works, I'll look to code up a fix soon-ish, since it should be pretty easy.

I took a quick look through the alarm control panel trigger code in HA and I think I may have figured it out.  It appears that the alarm control panel device triggers are only triggered when switching from arming state, to one of the armed states, rather than from disarmed directly to an armed state as ring-mqtt currently does (there's not interim "arming" state), so basically today we have:
disarmed --> armed_home
But for the trigger to work it needs:
disarmed --> arming --> armed_home
Reading the docs on the manual alarm control panel there is a section on the state machine for the manual alarm and it indicates a similar flow saying that alarm always goes to "arming" state for x number of seconds before arming, so I'm thinking that is an assumption that Home Assistant is making.
Currently, ring-mqtt does not implement an "arming" state, but it should be easy to do.  Over the next few days I'll try to setup a test to see if this is the problem, it should be easy to prove (I'll just fake sending an arming state via MQTT and see if the behavior of HA changes).  If that works, I'll look to code up a fix soon-ish, since it should be pretty easy.

@tsightler since you're already "in the neighborhood" - I've been wondering if it's possible to get motion notification from the alarm control panel.  I can open a second issue if you think it's doable, or just ignore this otherwise.

@tsightler since you're already "in the neighborhood" - I've been wondering if it's possible to get motion notification from the alarm control panel.  I can open a second issue if you think it's doable, or just ignore this otherwise.

Do you mean like when the keypad lights up when you walk in front of it?  I don't think that creates any type of data event from the device so I don't think so, but I'd have to check to be sure.  Is there anything in the Ring app that shows this?  That's usually the indicator if something is possible or not, if it's in the Ring app it's almost certainly possible, if not, then probably not.

Do you mean like when the keypad lights up when you walk in front of it?  I don't think that creates any type of data event from the device so I don't think so, but I'd have to check to be sure.  Is there anything in the Ring app that shows this?  That's usually the indicator if something is possible or not, if it's in the Ring app it's almost certainly possible, if not, then probably not.

Yes I meant the keypad lighting up, and you're right I don't see it anywhere in the app.  I suppose they don't expose that information.  Thanks for the reply and all the great work on this addon!

Yes I meant the keypad lighting up, and you're right I don't see it anywhere in the app.  I suppose they don't expose that information.  Thanks for the reply and all the great work on this addon!

I took a quick look through the alarm control panel device trigger code in HA and I think I may have figured it out. It appears that the alarm control panel device triggers are only triggered when switching from arming state, to one of the armed states, rather than from disarmed directly to an armed state as ring-mqtt currently does (there's no interim "arming" state), so basically today we have:
disarmed --> armed_home
But for the trigger to work it needs:
disarmed --> arming --> armed_home
Reading the docs on the manual alarm control panel there is a section on the state machine for the manual alarm and it indicates a similar flow saying that alarm always goes to "arming" state for x number of seconds before arming, so I'm thinking that is an assumption that Home Assistant is making.
Currently, ring-mqtt does not implement an "arming" state, but it should be easy to do. Over the next few days I'll try to setup a test to see if this is the problem, it should be easy to prove (I'll just fake sending an arming state via MQTT and see if the behavior of HA changes). If that works, I'll look to code up a fix soon-ish, since it should be pretty easy.

Great, thank you for the follow up!

I took a quick look through the alarm control panel device trigger code in HA and I think I may have figured it out. It appears that the alarm control panel device triggers are only triggered when switching from arming state, to one of the armed states, rather than from disarmed directly to an armed state as ring-mqtt currently does (there's no interim "arming" state), so basically today we have:
disarmed --> armed_home
But for the trigger to work it needs:
disarmed --> arming --> armed_home
Reading the docs on the manual alarm control panel there is a section on the state machine for the manual alarm and it indicates a similar flow saying that alarm always goes to "arming" state for x number of seconds before arming, so I'm thinking that is an assumption that Home Assistant is making.
Currently, ring-mqtt does not implement an "arming" state, but it should be easy to do. Over the next few days I'll try to setup a test to see if this is the problem, it should be easy to prove (I'll just fake sending an arming state via MQTT and see if the behavior of HA changes). If that works, I'll look to code up a fix soon-ish, since it should be pretty easy.

Great, thank you for the follow up!

I spent some time with this tonight and, unfortunately, I couldn't get the device trigger to process no matter what status and order I used via MQTT.  This takes me back to believing that this issue is in the MQTT alarm control panel component in Home Assistant and there's nothing I can really do about it on the addon side.  Probably next best thing is to open an issue on the Home Assistant core Github for the MQTT alarm control panel and see if anyone addresses it.
For now, I suggest simply switching to using the "state" based rule instead of the device rule.  This works perfectly.

I spent some time with this tonight and, unfortunately, I couldn't get the device trigger to process no matter what status and order I used via MQTT.  This takes me back to believing that this issue is in the MQTT alarm control panel component in Home Assistant and there's nothing I can really do about it on the addon side.  Probably next best thing is to open an issue on the Home Assistant core Github for the MQTT alarm control panel and see if anyone addresses it.
For now, I suggest simply switching to using the "state" based rule instead of the device rule.  This works perfectly.

I've opened an issue on the Home Assistant github page, I guess we'll see if anyone responds.
https://github.com/home-assistant/core/issues/45096

I've opened an issue on the Home Assistant github page, I guess we'll see if anyone responds.
https://github.com/home-assistant/core/issues/45096

Thanks so much for your great work!  I'll follow the issue you opened above as well.  I have implemented the event trigger as suggested, and it is working.

Thanks so much for your great work!  I'll follow the issue you opened above as well.  I have implemented the event trigger as suggested, and it is working.

Yep, it's already confirmed as a bug in the upstream alarm control panel component so hopefully it will be address soon enough.  I'll leave this open until it's fixed upsteam and I confirm that it addresses the issue.  Thanks for the report!

Yep, it's already confirmed as a bug in the upstream alarm control panel component so hopefully it will be address soon enough.  I'll leave this open until it's fixed upsteam and I confirm that it addresses the issue.  Thanks for the report!

Looks like the change to alarm control panel device triggers made it upstream in the HA 2021.2.1 release, but I haven't yet had the chance to upgrade and test it.  If anyone else has upgraded I'd be interested in hearing the results.

Verified that this is fixed in HA 2021.2.1 so closing this.  Glad we were able to get this fixed upstream.


OCW-115 Adding parsing for stream field data.

Closing as Pull request for OCW-126 contains these changes as well.


Cannot start a playlist, missing stop button

Setting up a workbench environment (router, HAOS, FPP, figate, etc all VMs in a single thin client running proxmox for easy travel) for teaching at minis. Brand new HA install, newest version of this plugin installed by HACS, FPP v8.x
All statuses seem to work, Most controls seem to work. Except "starting a playlist" doesn't do anything, and there's no "stop" button when a playlist is playing. The rest seems fine.
My home install, still on v1.0 of the repository you forked (where i fixed the few lines that prevented it from running) and FPP v7 everything still works fine, including stop buttons and starting playlists.
Anything i can do to help track this down for you? Can't seem to see any meaningful log entries in HA and don't know how to get to logs in FPP.

Well, fixed the playlist starting issue by changing the playlist name to not have a space in it, now it plays when selected.
Still no stop button. Only pause. would like the stop button back.

Just as a check, i can call the Media player: Stop service manually in HA and it does stop FPP. So sounds like it's just a GUI bug that we lost the stop button.

Just as a check, i can call the Media player: Stop service manually in HA and it does stop FPP. So sounds like it's just a GUI bug that we lost the stop button.

I'm using a mini media player card and it has a stop button,

Just as a check, i can call the Media player: Stop service manually in HA and it does stop FPP. So sounds like it's just a GUI bug that we lost the stop button.

I'm using a mini media player card and it has a stop button,

I'm using the built in media control card, and it looks like this.

I installed 'Mini media player' through hacs, also missing the stop button:

I'm on V1.1.3 of your plugin.

Just as a check, i can call the Media player: Stop service manually in HA and it does stop FPP. So sounds like it's just a GUI bug that we lost the stop button.

I'm using a mini media player card and it has a stop button,

I'm using the built in media control card, and it looks like this.

I installed 'Mini media player' through hacs, also missing the stop button:
I'm on V1.1.3 of your plugin.

In mini-media-player, select "stop" from the "Replace Mute" option


Create LICENSE

Lets add a license. All main contributors should sign off on this before we merge. A concrete benefit of APv2 (and other OSS licenses) is that they are non-revocable, e.g. if we have a future disagreement we can't prevent the project from using previously committed assets.
This also requires adding a boilerplate to the top of code files, which we can do gradually after everyone has accepted.

I license my commits so far under the APv2 license.

I license my commits so far under the APv2 license.

Just a simple test comment here.

I license my commits so far under the APv2 license.

I license my commits so far under the APv2 license.


vscode-oss: init at 1.89.1

Description of changes
This PR adds a package named vscode-oss that build https://github.com/microsoft/vscode from source. (Currently we have vscode + vscodium but they are not built by nix).
Not only does this provide vscode desktop, but also remote-ssh server and web server in separated outputs. That is, users of this package can use vscode-oss.reh for their remote-ssh extension host, instead of downloading a large unknown binary from microsoft.
Electron, nodejs, are reused from nixpkgs.
The package also allows user changing the product.json, to customize their own vscode variant.
I don't know how to use by-name technology as well as reusing vscode directory, sorry ;)
Initially when I wrote these expressions, vscode is on 1.89.1 and I tested it. Automatic version bump, ~1.90.0,~ I think I can file another subsequent PRs.
Fixes: #26698
Closes: #86122

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Check out https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name#recommendation-for-new-packages-with-multiple-versions :)

Did you explore how hard it would be to do this for vscodium?

Did you explore how hard it would be to do this for vscodium?

VSCodium seems to be a set of patches (which aims to remove some MS branding stuff) combined with a LOT of scripts.
Patches: https://github.com/VSCodium/vscodium/tree/master/patches
maybe for nixpkgs we can just apply their patches, but not reusing their scripts. Some of them basically look scary:
https://github.com/VSCodium/vscodium/blob/ffd7e631b05feef1b9142adb9e63303549cf4e6c/package_linux_bin.sh#L37

1.90.0 cannot be built from linux, revert it for now.

@inclyc I suggest you to keep commits squashed.

Does this work with both extensions installed from nix and the market at the same time?

Does this work with both extensions installed from nix and the market at the same time?

Yes.

@inclyc you're a hero, I'm so happy for this!
Now that 1.90.2 is out, could we try the latest version again?

Hi @batonac,
I have a personal testing code-oss package in my flake and I recently bumped it to version 1.90.2.
I'd like to test it for days before updating this PR.

Hey @inclyc, apparently this stalled?

Hey @inclyc, apparently this stalled?

Hi, I'm testing this package in my own flake

Because microsoft/vscode has migrated to npm again, currently it is impossible to package vscode from source. Reasons are:

It uses npm, and the offline cache produced by npm itself cannot be reproduced.
prefetch-npm-deps cannot deal with such complex project, (i.e. vscode), there are many "package-lock.json" needs to be prefetched, but optional dependencies must be ignored, prefetch-npm-deps seems to be confused by that.


autocomplete doesn't work on Spyder 4 without Kite installed

Problem Description
I just installed the latest Anaconda3 (the installation package 2020.02) that contains Spyder 4.0.1 by default. But it looked Spyder could not support autocomplete function without Kite installed. I don't want to install Kite or any other extra software like it, partly because my computer hardware is not very strong to support all kinds of software running smoothly.  I could neither get any suggestion for inputting symbols nor view a function body by clicking the function name with Ctrl or pressing Ctrl+G ("Go to definition"). I understand Kite could be helpful and convenient, but I think an alternative without Kite also needs to be provided at the same time for the developers.
What steps reproduce the problem?

Turn on the autocomplete settings in Tools - Preferences without Kite installed.
Autocomplete doesn't work.
"Go to definition" doesn't work (by clicking the function name with Ctrl or Ctrl+G).

What is the expected output? What do you see instead?
Autocomplete works and "Go to definition" works, even without Kite.
Versions

Spyder version: 4.0.1 (with Anaconda3 2020.02)
Python version: 3.7.6  64bit
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows 7

PASTE DEPENDENCIES HERE
atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.12.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.7 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.15 (OK)
matplotlib >=2.0.0           :  3.1.3 (OK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  1.0.1 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  1.5.1 (OK)

@shinelion  please open a command prompt and type:
conda update anaconda
conda install spyder=4.1.3

And check if this solves the issues you are seeing. Autocompletion without kite should also be working.
Cheers!

@goanpeca Yes, it works perfectly just as you said! Thanks for the great help!


remove string interpolation in when expression

Ansible nagged about it, so I had a look...

@thokari thank you for this.
I'll update the test values so it passes travis-ci and merge the develop branch to master later tonight.

closed in favor of #67


Is it possible to get the coordinates of cropped image in the original image ?

I have specific need where have to know the location of the cropped image in the original image. Is it possible to get them ?

Figured it out :
just use : CropImage.getActivityResult(intent)?.cropPoints

🚨🚨🚨🚨🚨 THIS LIBRARY IS NOT MAINTAINED, PLEASE READ THIS 🚨🚨🚨🚨🚨 #838
To avoid your issues, please use the latest updated library: https://github.com/CanHub/Android-Image-Cropper
100% kotlin
All bugs fixes
active community
34k downloads per month


New blakeembrey/change-case  GitHub version released

@rodrigok blakeembrey/change-case · GitHub released aceffba5cd

Sorry, looks like IFTTT doesn't work as expected :frowning:
I'll update you manually from now on.


Evaluation order in multiple assignments

Ruby 3.1 changes the evaluation order in multiple assignments (https://github.com/ruby/ruby/pull/4390) to be equal to single assignments. A good summary is at https://blog.saeloun.com/2021/05/12/ruby-evaluate-multiple-assignment-left-hand-side-before-right
Multiple assignments in Crystal behave exactly like in Ruby (https://carc.in/#/r/b4ib). And the updated evaluation order makes sense to me.
So I propose to follow the Ruby 3.1 change and evaluate targets first.
The compiler expands multiple assignments into single assignments. This shows the expansion for current and updated evaluation order:
# Multi assignment
a.a, b.b = c, d

# Current expansion
temp1 = c
temp2 = d
a.a = temp1
b.b. = temp2

# Suggested expansion
temp1 = a
temp2 = b
temp3 = c
temp4 = d
temp1.a = temp3
temp2.b = temp4

This is interesting. My intuition actually doesn't match any of the two behaviors (see below), but in any case Ruby's new evaluation matches that of Lua and it's easy to understand, so sounds like a good way to go. It might have complications in the implementation though (as explained in the linked Ruby's PR).
I considered multi-assignments as syntax sugar for a series of single assignments. Therefore, in the example above
a.a, b.b = c, d

in my (perhaps twisted) mind this was expanded to
a.a = c
b.b = d

getting the following order: a, c, b, d.

Yes the proposal makes sense to me too.
I think the "twisted mind" version is hard to design consistently when factoring in destructuring assignments:
def c
  {1, 2}
end

a.a, b.b = c

Currently this should evaluate as c, a, b, the proposal clearly makes it a, b, c but I'm not sure what the equivalent for the a, c, b, d variant should be even, a, c, b?  Looking at a hypothetical expansion to achieve that, it also seems the most challenging to generate properly.
# current, c, a, b
temp1 = c
a.a = c[0]
b.b = c[1]

# according to the proposal, a, b, c
temp1 = a
temp2 = b
temp3 = c
temp1.a = c[0]
temp2.b = c[1]

# "twisted", a, c, b
temp1 = a
temp2 = c
temp1.a = c[0]
b.b = c[1]

You see, twisted was the right word for it :laughing:


Update the Content of "Lorem the It is a long established" above WHY SILK

Update the dummy content of the "Lorem the It is a long established" section displayed in the picture. Ensure that the content follows the specified character counts and aligns with the values and objectives of SILK Corp.

Work Ethic:
-Reliable
-Dedication
-Discipline
-Quality
Work Life Balance:
-Teaches how to balance between work and life,
-how to stay motivated,
-how to save energy after work to enjoy with family and friends.
Professionalism:
-The Silk corp team is truly amazing!
-Their creative
-Thinking and collaboration skills are unmatched
-SkyRocked our business with dedicated time.
Discuss all these points in detail, and also pitch readers that we're highly professional company and work on ethics and full our promises.
If you are a new contributor study the link before starting to work on it:
https://github.com/NoteHive/Silk-Corp-Guide#readme
To contribute to the GitHub repository, please follow the steps below:

Fork the repository
Go to the gh-pages branch
Look for an index.html file
Find the area where the content needs to update by pressing ctrl+F
Go to the exact highlighted issue and make sure you don't change any list accidentally.
Do not change any code, just work inside glyphs
FOR EXAMPLE: OUT OF BOUND>  YOU WORK HERE  <OUT OF BOUND
Update the content and commit changes

You can also visit SILK Corp's website and franchise guide for more information.

Website: https://silkcorp.org/
Franchise Guide: https://guide.silkcorp.org/

I worked on this issue and here is my PR: issue# 82


[D365BC] Update docs about unused partner center fields

Some fields aren't used anymore during the validation of Business Central apps and are planned for removal from Partner Center.

Hi @JasonWHowell - Could you review or assign this pull request? The author listed in the metadata doesn't turn up in a user search in the repo. Thanks.

@ktoliver the author is OOF. This is an internal contribution (see https://repos.opensource.microsoft.com/people?q= for lookup).

Sent email for followup.

Waiting on feedback from Pooja Surnis (not on github)

#sign-off

@dannyevers: I'm sorry - only the author of this article, @vamahtan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change. @vamahtan

Merging per email approval. Thanks, all.


'Cannot set property 'parent' of null' error

got this error when i run jsdoc on this javascript file. i've used eslint-airbnb checked my code. this error even appears after seeting this file ignored...
error detail:
node.parent = parent || null;
file: jsdoc\lib\jsdoc\src\walker.js:664
code

some methods and functions had been deleted for privacy. please copythe code  into a file to try and thanks : ) ):

/**
 * @module
 * @ignore
 */
import $ from 'jQuery';
import Load4html from './load4Html.js';
import Load4jsx from './load4jsx.js';
import { subscribes } from '../unit/eventBus.js';

const TYPE = {
    HTML: 'html',
    JSX: 'jsx',
};
const DEFAULT_WIDTH = 300;
const loadManagerClassname = 'loadManager';
const _tools = new WeakMap();

class LoadManager {
    _$container;

    constructor(domId) {
        this._$container = $(`#${domId}`);
        if (this.$con.length === 0) {
            throw new Error(`当前 dom 节点不存在，id 为${domId}`);
        }
        _tools.set(this, []);
        _regedit.call(this);
    }
    load(tool) {
        const $con = _createToolContainer.call(this, tool.params);
        const Manager = _getManager(tool);
        Manager.load($con[0], tool);

        tool.$el = $con;
        const tmpArr = _tools.get(this);
        tmpArr.push(tool);
        _tools.set(this, tmpArr);
    }

    clear() {
        _tools.set(this, []);
    }
}

export default LoadManager;

Looks like this happens whenever there's a class property with no value assigned to it. This example triggers the same bug:
class Foo {
    bar;
}

Fix coming up shortly.

Fixed on master and releases/3.5. The fix will be included in JSDoc 3.5.3.

Assigned a null to that property and everything goes well. Thanks!


[Bug] 2.0.0 BE cant start

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
apache-doris-2.0.0-bin-x64
What's Wrong?
start failed
What You Expected?
can start
How to Reproduce?
No response
Anything Else?
centos 7 /var/log/messages
kernel: traps: doris_be[14201] trap invalid opcode ip:562284b53383 sp:7ffd3dbd2b10 error:0 in doris_be[562284b53000+a283000]
./bin/start_be.sh
./bin/start_be.sh: line 325: 17334 Illegal instruction     ${LIMIT:+${LIMIT}} "${DORIS_HOME}/lib/doris_be" "$@" 2>&1 < /dev/null
uname -a
Linux jpvs-doris-13-203 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

确认了，是CPU型号的问题，我使用的是zstack虚拟机，虚拟机中看不到宿主机的CPU型号，以及支持的参数，换到宿主机就正常启动了，可以关掉了。


add arm support

For your consideration.
Thanks.

Hi - Checking in if you have had time to review or maybe the initial email got lost.
Thanks.

Hello @sedlund, the email (and the check in) were indeed lost.
I merged another PR today to fix the url scheme, which brought a conflict in yours. I'll look into that later today.
Thanks.

Fixed with #5, thanks a lot @sedlund!


Suuport HA Integrations icons

HA has added support for icons and logos in the Integrations page.  This HACS integration does not have the new icons.
Screenshots:
Here's the Add Integration list, filtered:

Here's the Integrations page card

Describe the solution you'd like

It is a simple fix and only requires two image files. since this integration is not a part of the out of the box Supervisor, the solution should still be the same as long as the images are copied to the correct locaiton.
Details here https://github.com/home-assistant/brands

I'm closing this because I just learned that HA doesn't support icons for custom integrations.

It does support them now (https://github.com/home-assistant/brands/commit/0a7b99096c66518dfefe05fe7a0d1a9f7f16da67), you can submit a pull request to have them added.

great, I have created PR for it already


Any port to .net standard available or intended?

Hi, I am just wondering if you were planning on porting this .net standard?

Yes, I do plan on porting this to .net standard.

@ruskindantra Thanks for the nudge on this, there's been a PR open that I wanted to take a look at for a while. There's a pre release version available on nuget.org now, and I will release an update shortly.

Thanks @dbroudy! I don't see that package on nuget though...what will be the turnaround on that?

It's published in nuget, so maybe it takes a few hours, but you should see it soon if you don't already.
As far as EntityFramework, EF Core and EF6 are two different things. There are more details at https://docs.microsoft.com/en-us/ef including guidance on which one to use for your application, but LazyEntityGraph.EntityFramework will always support EF6, and therefore always target .NET Framework only.
I would like to add additional support for EF Core in a new project, very likely called LazyEntityGraph.EntityFrameworkCore. Now that the rest of the solution targets both .NET Standard and .NET Framework, I can start working (or accept a contribution) for EF Core support.

Thanks @dbroudy, I look forward to LazyEntityGraph.EntityFrameworkCore :)

Added enhancement #11


[!] ERROR : Compile failed

[*] Compiling payload...
[*] export GOOS=windows && export GOARCH=386 && export GOPATH=$HERCULES_PATH && go build -ldflags "-H windowsgui -s -w" hack.go
command-line-arguments
./hack.go:7: imported and not used: "EGESPLOIT/RSE"
[!] ERROR : Compile failed

just git clone https://github.com/EgeBalci/EGESPLOIT.git in your $GOPATH or $GOROOT

Still same error

git clone https://github.com/EgeBalci/EGESPLOIT
if anything error pop-up ...just use this command
step 1:cd HERCULES
step 2:git clone https://github.com/EgeBalci/EGESPLOIT
step 3:HERCULES (press enter)
if ur already exist EGESPLOIT folder just delete it and follow these steps... it works for me!

I had the same problem, then I understood : the problem isn't EGESPLOIT, the problem is EGESPLOIT is useless when you don't add persistence function and don't add migration function
So if you say yes to everything you aren't getting trouble.
It was simple finally (^_^)
hope it will help somebody later


Add custom taxonomy creator in admin [OSF-8559]

Purpose
Add a form in the admin page for editing a preprint provider to add a custom taxonomy. The form's fields have individual "Add" buttons, that when clicked will build the JSON for the custom taxonomy. There is an example box with more information. The form has a validate button as well as a save button, which use the existing management commands to validate and then apply the entered custom taxonomy.
Changes

Form, view, template for custom taxonomy form
When listing subjects acceptable, also include the Bepress text it was mapped from if applicable
Disable templates panel on django debug toolbar because it was slowing rendering to a halt

Side effects
None anticipated
Ticket
https://openscience.atlassian.net/browse/OSF-8559

Merged into release/next-djangole


HTML6

Funny, it seems like HTML6 is trying to address the same concerns as LHTML, which I suppose we should call LHTML5.
Problem is it's still going to be for browser consumption.
https://www.script-tutorials.com/a-look-into-html6-what-is-it-and-what-it-has-to-offer/

This is a comment, not a issue.


Durable objects paid errors

💡 Feature request

Describe the feature
Warn that exporting durable object classes is pointless on free plan. I simple get undefined when trying to use itty durable assuming I did something wrong.
Describe the alternatives
Warn once the package is installed on free plan. Allow using it in development.

wrangler has progressed since this was filed, but the experience (understandably) still has some sharp edges - I got:

wrangler dev
...
Error: Something went wrong with the request to Cloudflare...
cannot bind Durable Object by class name in preview upload of script that does not already exist [API code: 10074]

resolved that with:

wrangler publish
...
Your account does not have permission to do this! While Durable Objects are in Beta, the modules format is limited to accounts which have opted-in to the Beta. You may do so by following the instructions here: https://developers.cloudflare.com/workers/learning/using-durable-objectsworkers.api.error.not_entitled [API code: 10015]

I do have a paid account, and just needed to opt in to Durable Objects (at the Org level, IIRC). Note that the URL in the error is broken :)

Thanks for creating this issue! Wrangler v1 is now deprecated and support is only being provided for critical updates or security concerns. As such, we are closing this PR.
New versions of Wrangler are maintained in the workers-sdk repo. If you are running into a similar issue with wrangler v2, please report it or create a new PR in the workers-sdk repo. For more info about wrangler v1 deprecation, please check out our blog post.

Thanks for suggesting this feature! Wrangler v1 is now deprecated and support is only being provided for critical updates or security concerns. As such, we are closing this issue.
New versions of Wrangler are maintained in the workers-sdk repo. If this is a feature you’d like to see in wrangler v2+, please feel free to report it in the workers-sdk repo. For more info about wrangler v1 deprecation, please check out our blog post.
If you want to use Durable Objects in development on a free plan, use npx wrangler dev --local.