Question about the UV mask ground truth

Hi,
thanks a lot for this repository.
I have a question about the UV mask ground truth. The output of U channel and V channel have the same size as the input image. So it will also have a prediction for each background pixel.  Then how to define the ground-truth value of the background pixel in the UV mask ground-truth? From the code, looks like it is defined as 0?
And the loss function for the U and V, it also punishes the prediction in the background pixels. However, background pixels don't have the correspondence with the 3D Model. Should the loss function for the U and V punish only with prediction within the predicted mask?
Thanks in advance.

Yes the background pixels for UV masks are defined as 0.
The background pixels are being punished because then only the correspondence block will be able to learn where the object is. But the way you're thinking is interesting, one major obstacle is when the input is just an RGB image how will you know what part of the UV mask has the object? (Remember ID and UV masks are all being trained together at the same time).

Yes the background pixels for UV masks are defined as 0.
The background pixels are being punished because then only the correspondence block will be able to learn where the object is. But the way you're thinking is interesting, one major obstacle is when the input is just an RGB image how will you know what part of the UV mask has the object? (Remember ID and UV masks are all being trained together at the same time).

Thanks a lot for your reply.
So, in the UV mask ground-truth, the background is 0. And at the same time, (0,0) also related to a point in the 3D model. This sounds a bit ambiguous to me. But I think what you do is the same way as the author did.
For the loss function, I'm thinking maybe we can make use of the id-mask output in the UV loss. If we can turn id-mask as a binary mask, then we can elementwise product this binary mask to the UV mask. After that, we calculate the loss of the UV mask.
In the case of single object prediction, the id-mask is a binary mask, which could be work.

That actually makes sense. If the UV masks have better output that would improve the initial pose estimates via PnP which was causing a lot of issues.

Thanks for the friendly reply.
There are 2 more details I want to discuss with you.

In train_correspondence_block, correspondence_block = UNET.UNet(      n_channels=3, out_channels_id=16, out_channels_uv=256, bilinear=True)
could the out_channels_id be 14? (13 different object + background)

From the paper, the decoder for U channel and V channel are separate (Fig2). In your code, the decoder for U channel and V channel shares weights?

There are 2 more details I want to discuss with you.

In train_correspondence_block, correspondence_block = UNET.UNet( n_channels=3, out_channels_id=16, out_channels_uv=256, bilinear=True)
could the out_channels_id be 14? (13 different object + background)

From the paper, the decoder for U channel and V channel are separate (Fig2). In your code, the decoder for U channel and V channel shares weights?

LineMOD dataset has 15 objects and I realized at the end that DPOD only evaluated for 13 of those 15 objects which is why I might have forgotten to change it. out_channels_id should be 14. Thanks for catching that error!

No, they don't share weights. Check the forward function in Unet_model.py.

There are 2 more details I want to discuss with you.

In train_correspondence_block, correspondence_block = UNET.UNet( n_channels=3, out_channels_id=16, out_channels_uv=256, bilinear=True)
could the out_channels_id be 14? (13 different object + background)
From the paper, the decoder for U channel and V channel are separate (Fig2). In your code, the decoder for U channel and V channel shares weights?

LineMOD dataset has 15 objects and I realized at the end that DPOD only evaluated for 13 of those 15 objects which is why I might have forgotten to change it. out_channels_id should be 14. Thanks for catching that error!
No, they don't share weights. Check the forward function in Unet_model.py.

EDIT: 1 has been corrected.

I'm a mxnet user, and I have some trouble to run the code on my machine, but I'm working on it.
At least in mxnet, it should be something like:
#U Mask
self.up1_u = Up(1024, 512, bilinear)
self.up2_u = Up(512,512,bilinear)
self.outc_u1 = OutConv(256, out_channels_uv)
self.outc_u2 = OutConv(256, out_channels_uv)
self.outc_u3 = OutConv(256, out_channels_uv)
self.outc_u4 = OutConv(256, out_channels_uv)
self.up3_u = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=True)
self.up4_u = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=True)
#V Mask
self.up1_v = Up(1024, 512, bilinear)
self.up2_v = Up(512,512,bilinear)
self.outc_v1 = OutConv(256, out_channels_uv)
self.outc_v2 = OutConv(256, out_channels_uv)
self.outc_v3 = OutConv(256, out_channels_uv)
self.outc_v4 = OutConv(256, out_channels_uv)
self.up3_v = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=True)
self.up4_v = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=True)
Maybe in Pytorch is different, but may you have a check, if the logits_u and logits_v always have the same output? (logits_u - logits_v =0)

Actually you're right. I'll fix it


Html proofer error in pipeline for each PIPs

Pull Request
No response
What happened?
https://github.com/pactus-project/PIPs/actions/runs/11833862673/job/32973396027
Relevant log output
No response

Fixed on commit: https://github.com/pactus-project/PIPs/commit/0e41bd6d8202f0ea79919d62fa1d3af559d05e43


Travis CI builds have been disabled

Looking at https://travis-ci.com/github/manubot/catalog I see:

Builds have been temporarily disabled for public repositories due to a negative credit balance. Please go to the Plan page to replenish your credit balance or alter your Consume paid credits for OSS setting.

Would be nice to switch to GitHub actions, but we will have to look into having this action trigger the website action.

More info on the change at https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

we will have to look into having this action trigger the website action

A quick search gave a few leads:

workflow dispatch event
repository dispatch event (blog post 1, blog post 2)
Actions that build upon these events.

The peter-evans/repository-dispatch action looks like the best choice initially because it is maintained and supports a payload.  aurelien-baudet/workflow-dispatch has support to wait for an workflow triggered in another repository to complete, which is a nice feature but not needed here.  ph-fritsche/action-dispatch supports workflow or repository events.  GitHub describes the difference as

You can manually trigger workflow runs. To trigger specific workflows in a repository, use the workflow_dispatch event. To trigger more than one workflow in a repository and create custom events and event types, use the repository_dispatch event.

We'll eventually need to migrate the other manubot organization repositories as well: https://travis-ci.com/github/manubot

I switched this repo and the website to GitHub Actions and revoked the Travis CI permissions for those repos. See the GitHub workflows at:

https://github.com/manubot/catalog/blob/46cf095c563f828105fdf47d18b17895a77ed5a9/.github/workflows/build.yaml
https://github.com/manubot/manubot.org/blob/8f6a366251f58043527d71546c78a01ccd4b5bc5/.github/workflows/build.yaml

Both workflows are scheduled to run once per week. I scheduled the manubot.org build to be an hour after the catalog build. Currently, did not set up repository dispatch.
The manubot.org job is super fast (40 seconds), so we could schedule it daily. It was nice to have the website update quickly after a manuscript is added. So perhaps we should look into repository dispatch.

This is a nice solution.  Using the GitHub Pages action instead of the deploy script simplifies the workflow considerably.
If we change the manubot.org builds to run daily, that would be a reasonable alternative to repository dispatch-triggered builds.  Triggered builds would be easy to set up now that you've switched both workflows the GitHub Actions.  The only downside is that we would need to add a personal access token instead of using the GITHUB_TOKEN .

Okay I set up the repository dispatch in https://github.com/manubot/catalog/commit/48d40a4c795cbeb1d87ef7eb5a810fd3b044d998 and https://github.com/manubot/manubot.org/commit/6ec28efc5070ca19a39a15713c418e2a2a1844b2. I renamed @manubot-catalog-travis-bot to @manubot-org-bot, which is a GitHub account that only has write access to https://github.com/manubot/manubot.org. This way we don't have to worry about the broad scope of the repo PATs.
See the CI builds at

https://github.com/manubot/catalog/runs/2816241539#step:7:1
https://github.com/manubot/manubot.org/runs/2816262716

Slight worry that there is not enough of a delay, such that https://manubot.github.io/catalog/catalog.json won't have started serving the new data yet. Will see if this is a problem.


Real time SSR product

Hi Azurehappen,
Thanks for releasing the insightful project.
If I want to implement SSR-PPP with the TEXCUP data, is it possible to acquire the real time RTCM-SSR (orbit/clock correction, ionospheric correction) data from CNES or other IGS stations?
Best regards

I don't think IGS agencies store historical real-time SSR data. Alternatively, you can use IGS's rapid product for satellite orbit and clock correction, as well as the ionosphere grid map. Their performance should be close to real-time.

Hi Azurehappen,
Thank you for connecting on LinkedIn and for your kind reply! 😊
I’ve read your paper on VNGNSS and found it fascinating. In the paper, you mentioned US-TEC and other SSR VTEC sources like CNES or CAS. I was curious if you’ve ever applied US-TEC to the TEXCUP data? If so, was its performance comparable to RTK in terms of accuracy and reliability?
Best regards

I haven't tried this before because I didn't have enough time to explore these interesting topics. In fact, USTEC's accuracy is at the decimeter level, and its latency is not suitable for real-time use (as mentioned in the paper). From my understanding, if you'd like to perform PPP-RTK using dual-frequency measurements, the VTEC product may not be critical, as you can combine two measurements to eliminate ionospheric errors. (Please correct me if I'm wrong on this.)
The raw measurements in this dataset I uploaded are preprocessed RINEX files. If you encounter issues when using them, let me know.

Hi Azurehappen,
Thanks for your reply!
I'll try use USTEC on the dataset and see if there's anything I can improve.
I’ll also reach out if I run into any issues with the files. 😄
Best regards


Blog: fix on check permission in BlogAuthorizationEventHandler.

Users can publish theirs own blog post if they are granted PublishOwnContent on Orchard.Blogs Feature.

Hi @GiuseppeMusso-Laser, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@GiuseppeMusso-Laser, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

While working on the repro I fixed it myself. Please take a look at the changes.


Optimize for large number of interceptors

When a large number of requests are nocked and the interceptor list is large, the amount of time spent processing request is larger than it needs to be. I've pushed a couple of fixes that optimize nock for the scenario with a large number of interceptors.
If there are any issues I'm happy to address them. I've run with these changes in my own project testing and it works faster for me.

Not sure how strict the rules are for merging, but I increased test coverage to get rid of the red 'x's just to be safe.

+1

@mdlavin thanks for the contribution!
Landed on v7.2.2.


Expose derivation for dot elm directory

For creating development environments it might be useful to expose the function that creates the .elm directory (making elm builds independent of internet connection).
nixpkgs itself has fetchElmDeps, but this needs the registry.dat file containing the mirror of the elm registry. Not requiring this file is a major part of why this repo is easier to use, so it would be nice to be able to populate a dev environment easily with it as well.
It might of course be that I just overlooked this functionality while searching through the repo :sweat_smile:

That’s a good idea! I will expose the functionality in an overlay, hopefully this evening.On 11 Apr 2023, at 09:56, peacememories @.***> wrote:
For creating development environments it might be useful to expose the function that creates the .elm directory (making elm builds independent of internet connection).
nixpkgs itself has fetchElmDeps, but this needs the registry.dat file containing the mirror of the elm registry. Not requiring this file is a major part of why this repo is easier to use, so it would be nice to be able to populate a dev environment easily with it as well.
It might of course be that I just overlooked this functionality while searching through the repo 😅
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

This has been completed with 8797ba82b285d039c5c3d2d0172aead5ef8ee79a.


Missing Requirement for en_core_sci_scibert

I had to manually install spacy[transformers] before installing en_core_sci_scibert before getting it to work.  Maybe add it to the requirements or mention it in the readme?

Thanks for pointing this out! I'll look into this, should be a straightforward addition.

I've reuploaded the model with the spacy-transformers requirement, and am adding a note about gpu usage in the readme here #320. Thanks!


Loosen up criterium of controlled vocabulary use in ACDD references attribute

Currently, the get_related_information function has a strict check on (a copy of) the controlled vocabulary from MMD. I suggest to loosen up a bit to allow a different use of upper and lower case. This can easily be handled in the function.

Should controlled vocabularies accept different capitalization? Users guide == Users Guide == users guide?


Waypoint target a specific child of an element using jquery

Challenge http://freecodecamp.com/challenges/waypoint-target-a-specific-child-of-an-element-using-jquery has an issue.
It should be:  $(".well:nth-child(2)").addClass("animated bounce");
How it is now: $(".target:nth-child(2)").addClass("animated bounce");

Saw that this is replicated.


Unhandled Exception: Missing Oauth Token

Repro:
Set up Twitter Login
On the Twitter Login page, click on the Cancel button and then Return to {Your app name}
The following error is displayed:

cc @Eilon @HaoK

You can probably dupe this/track via https://github.com/aspnet/Security/issues/1165 as well


Can't download release archives

Description
Trying to download a tag/release archive results in the following error:
archiver.Await: archiver.StartArchive: context deadline exceeded

(This is everything I could find in the logs, with debug mode enabled)
Example: https://kolaente.dev/vikunja/frontend/archive/v0.21.0.tar.gz
Gitea Version
1.20.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Official Docker image.
Database
MySQL/MariaDB

How big is that file?

Shouldn't be that large (a few mb at most) as it only contains the source code for a tag. How can I check the size if I can't download it?

I'm also getting this on archives
2023/11/29 20:32:35 ...ers/web/repo/repo.go:434:Download() [E] archiver.Await: context canceled
here's an example release that fails
https://tildegit.org/sloum/bombadillo/releases/tag/2.4.0

I ended up clearing the task queues via /admin/monitor/queue which seems to have resolved it for now. There were roughly 1500 pendings tasks in the repo-archive queue.

Thank you for your feedback. It seems to be a bug from the legacy queue system (corrupted queue data). The legacy queue system might cause "blocking" bugs, which means that all tasks are pending in the queue.
In new Gitea, we add the ability to "clear" the queue (actually reset the legacy queue system), so I guess there won't be problem.
Feel free to reopen if there is still any problem.

I have roughly 10k items in the queue for repo archive and issue indexer. No worker seems to be available to resolve that. Even if I increase the worker limit. Why is that?
And if I just clean the queue, the issues are still not indexed, meaning the search does not work. That's not a solution.

I have roughly 10k items in the queue for repo archive and issue indexer. No worker seems to be available to resolve that. Even if I increase the worker limit. Why is that?

I would assume that you are using the default queue (levelqueue), then the details are here:   Help to recover from corrupted levelqueue #24912

And if I just clean the queue, the issues are still not indexed, meaning the search does not work. That's not a solution.

Feel free to reopen or open a new PR for the problem if the root cause is clear, I guess the root cause could be one of:

The broken tasks in the corrupted queue were just cleared, so unless you make new changes, the issues won't be pushed into the queue to be indexed (not really a bug, it's just caused by the corrupted legacy queue and need to re-index the issues)
There are more and more pending tasks in the queue, the queue doesn't dispatch the tasks to workers. It could be the queue's bug.
There are more and more pending tasks in the queue, the tasks could be dispatched properly, but the "worker" / "indexer" doesn't work and can't finish the indexing work. Then it is the indexer bug, not the queue's bug.

Maybe logs could also tell more clues.


add a "clearCredentials" method

we can use a singleton sardineClient to reuse and
i think we should add a "clear method" to clear the username-password info in memery when we destory a relative activity

just set setCredentials("","")


Added hasOwnProperty checks to array_intersect_key

I think that the function should not iterate over properties of the objects' prototypes. Such behavior will probably be unexpected and undesired

Agreed, thanks!


Which version of huggingface_hub to use

Hi there!
Thanks for the amazing inference scripts 🔥
I am trying to run it in an offline mode, with the latest version of huggingface_hub. I am getting this issue while running the command:
TRANSFORMERS_OFFLINE=1,HF_HUB_OFFLINE=1 deepspeed --num_gpus 8 bloom-inference-scripts/bloom-ds-inference.py --name /gpfsscratch/rech/six/uan68tv/distill-bloom/models/bloom/
Error below:
    return f(*args, **kwargs)
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 92, in _inner_fn
Traceback (most recent call last):
  File "/gpfsssd/scratch/rech/six/uan68tv/distill-bloom/code/transformers-bloom-inference/bloom-inference-scripts/bloom-ds-inference.py", line 184, in <module>
    validate_repo_id(arg_value)
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 136, in validate_repo_id
    raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/gpfsscratch/rech/six/uan68tv/distill-bloom/models/bloom/'. Use `repo_type` argument if needed.
    repo_root = get_repo_root(model_name)
  File "/gpfsssd/scratch/rech/six/uan68tv/distill-bloom/code/transformers-bloom-inference/bloom-inference-scripts/bloom-ds-inference.py", line 80, in get_repo_root
    cached_repo_dir = snapshot_download(
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 98, in inner_f
    return f(*args, **kwargs)
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 92, in _inner_fn
    validate_repo_id(arg_value)
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 136, in validate_repo_id
    raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/gpfsscratch/rech/six/uan68tv/distill-bloom/models/bloom/'. Use `repo_type` argument if needed.

It's probably related to the huggingface_hub version but also I suspect that I might be doing something wrong. I naively copied the full copy of the HF bloom repo to /gpfsscratch/rech/six/uan68tv/distill-bloom/models/bloom/
Thanks !

Hi @younesbelkada , I have been using 0.9.1

Thanks a lot! After updating it with the correct version I am getting:
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
Traceback (most recent call last):
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
Traceback (most recent call last):
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
        conn = connection.create_connection(conn = connection.create_connection(

    conn = connection.create_connection(      File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
conn = connection.create_connection(  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection

conn = connection.create_connection(

  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
conn = connection.create_connection(  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection

  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
    conn = connection.create_connection(
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    raise err
  File "/gpfswork/rech/six/commun/conda/younes-distill-bert/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

I will try to upgrade the transformers version and see if it helps

I think you can't use snapshot_download in offline mode? I am not sure.
It checks for changes in the model bucket on HF hub.

I think I see the problem @younesbelkada
https://github.com/huggingface/transformers-bloom-inference/blob/main/bloom-inference-scripts/bloom-ds-inference.py#L80-L82 tries downloading the model which doesn't exist.
/gpfsscratch/rech/six/uan68tv/distill-bloom/models/bloom/ is not a bucket on HF-hub.
Can you try replacing snapshot_download?

Great catch! It seems to work like charm now while forcing  cached_repo_dir = model_name_or_path - However, I think that I never entered inside the is_offline_mode() condition even by running the script with TRANSFORMERS_OFFLINE=1 prepended, maybe there is something wrong with this function 🤔
Also with the forcing strategy I have to re-create the DS-checkpoints at each run since the function does not try to load the DS-checkpoints from the cache

ahaha nice!
I referred in my comment to the setence in this section saying

1a. if you want to run the original bloom checkpoint, which once loaded will run at the same throughput as the previous solution, but the loading will take 10-20min:

I think that there might be an off-the-shelf script to convert the pt checkpoints to the tp-pre-sharded checkpoints, but I am not sure, I thought that those checkpoints were stored on the cache once they are created

no, since this was meant for BLOOM and I don't have that much space, I never bothered to cache them.
Alternatively, if possible, you can use the pre-sharded checkpoints.
Otherwise, you can cache them yourself by passing save_mp_checkpoint_path to init_inference method.
However, I used this long ago and not sure if this still works
@younesbelkada

Perfect! I will use the pre-sharded checkpoints from now ;) Thanks for your support @mayank31398

The first load is a little slow, but once Linux creates a cached buffer in system memory, you should be good to go.
First load for me is ~4 mins after a fresh system reboot and subsequent loads only take ~45 seconds.

closing this issue :)

Perfect thanks! Can confirm the inference script works fine
Thanks for your help!


[Bug] Playlist import fails

I'm trying to import a playlist I exported from Deezer (then ran through VLC to clean it up). VLC imported and played it OK, so I exported from VLC to make sure all tags were correct, as Deezer didn't do a great job. I manually created a new file and typed out the first few lines in case Deezer had stuck some weird invisible character(s) in the original file, but no joy.
Log shows;
[Mon, 24 Jun 2024 08:20:22 GMT] [MAIN] = ====== FAILED TO IMPORT THE PLAYLIST BECAUSE USER SELECTED A FILE WITH INVALID FILE DATA. ====== 	{"filePath":"M:\\Sonia Dada Good Bits.m3u8","firstLine":"#EXTM3U"}
First 3 lines of .m3u8 file:
#EXTM3U #EXTINF:248,Sonia Dada - We Treat Each Other Cruel Sonia Dada/Sonia Dada - Sonia Dada/01 - Sonia Dada - Sonia Dada - We Treat Each Other Cruel.flac
I've checked the file format and have converted it to utf8 just in case (no joy).
Nora has imported music from that drive and is playing it OK, just the playlist having issues.
OS: Win 10
Nora: v3.0.0-stable
Mapped drive is on QNAP NAS via NFS
Let me know if any additional info required.

OK did a bit of digging and have determined that the playlist must have absolute paths, and also must have 's in the path, not the Windows /'s
The backslash is a bit strange as I thought I remembered a regex to replace them, but might be mistaken. Will check the code in more detail later.

OK sorted it, not a fix for anyone who doesn't have their music drive mapped to M: lol
added the middle replaceAll to sort the windows backslashes, and then the for loop to prepend my music drive.
`const importPlaylist = async () => {
try {
const destinations = await showOpenDialog(DEFAULT_EXPORT_DIALOG_OPTIONS);
if (destinations) {
  const [filePath] = destinations;

  if (path.extname(filePath) === '.m3u8') {
    const fileName = path.basename(filePath).replace(/\.m3u8$/gim, '');
    const text = await readFile(filePath, 'utf-8');

    // Added middle replaceAll to sort Windows backslash
    const textArr = text.replaceAll('\r', '').replaceAll('\/', '\\').split('\n');

    // Added for loop to add drive prefix to non # lines. This is clearly a bodge.
    for(var i=0;i<textArr.length;i++) {
      if (textArr[i].charAt(0) != '#' && textArr[i].charAt(1) != ':') {
        textArr[i]="M:\\"+textArr[i];
      }
    }

`

Will look into setting default music drive or something better than the current hard-coded bodge.


projects improved responsiveness

closes #597

Probably the most detailed responsiveness i've ever done. I beg you to start from full screen and to go gradually smaller from that point to see what i did.

this is really bad.
this is my screen in full width

and this is like 98% of my screen width

while i used to be able to almost put 2 full projects pages on my screen side by side.
This will for sure be a problem on the demo where the beamer probably won't have a lot of pixels.

I don't remember that being the case before the merge. Will check out after i've eaten.

Probably the most detailed responsiveness i've ever done. I beg you to start from full screen and to go gradually smaller from that point to see what i did.

This was also referring to what it looks like in smaller widths when projects are shown. Not 95+% width. I was not aware of this issue


design a logo and add it to title bar

I would like to help

@rutvikk05 i would like to contribute to this.

Hey, rutvikk05 I would like to work on this issue.
I can design and add the logo to your project.

Hey, @rutvikk05 I would like to work on this issue to me.

@MISSIC17 @Tatwansh @RachitGarg-12 @TenzinNsut
Great to see your enthusiasm guys!
This issue is open to all. Feel free to send your PR.
I'll merge the best one :)

@rutvikk05  you want to add a favicon or a logo for "wrapper (class)" or both?

added logo and favicon, please check.

Closing the issue. Thanks for contributing @TenzinNsut 🦸


Update zap data type schema

Problem
This involves the ZCL Data Type Schema rework along with the zap repo PR
Change overview
There is a DATA type schema change, data type loading changes into the db, sql query changes for helpers and other data type rework related changes
Testing
Was made sure existing unit tests continue passing with the schema changes
More zap unit tests were added for the new tables that were added for the data type re-work

I see qpg and pigweed repo updates in this PR which I am convinced are unintended.
Also PR needs splitting up into steps.

You re right. Those changes were unintended. Made a mistake during rebase. I have reverted those changes.
Most of the changes here are related to the data type re-work apart from re-placing the StringHelper.js

I would also say that this is not a good time for potentially large refactors. We are in a feature stabilization phase.

I understand your concern. I think we should bring in the data type schema re-work since the new data type schema is a lot cleaner than our old data type schema. It will get complicated to keep on rebasing these changes for the long run.

This should be broken up into several PRs:

Name changes that change various generated code and API surface (due to type name changes).  This part does not depend on anything on the ZAP side (though the ZAP side might depend on it for some reason?).  A clear explanation for why the name changes are needed should accompany this PR.  This PR would presumably lead to changes in generated code.
Any other XML changes.  These would need a clear explanation for why they are being done, and the corresponding codegen changes, if any, reviewed carefully.
The whitespace reformatting on ClustersHelper.js.  This would presumably lead to no changes in generated code, and should not be lumped in with substantive changes to that file.
Template changes.    If the template changes are coupled to the ZAP update, they would have to stay in the same PR as the update, but would need to be clearly explained.  This PR would presumably NOT lead to changes in generated code, which is why it needs to be split out from the changes in item 1 in order for this to be reviewable.
The ZAP update, possibly combined with item 4.  Should not lead to codegen changes.

Have a comment on this below as well:
We have multiple definitions of StatusEnum which are of type enum8 defined across our xml files. Loading the data type schema becomes a lot less complicated this way because it is easier to refer to the right types from other parts of the schema. I wanted to keep the data type schema mutually exclusive from cluster references as much as possible because that will help with scaling up the data types and zcl schema easily in the future. So I changed the references to these types with a reference to the Cluster they belong to in their naming.
I have elaborated the xml changes in my commit messages but putting some content from my commits:

Made changes o channel-cluster.xml and ha.xml to avoid renaming of enums with different definitions
Updating the xml files such that we do not have like named data types of the same type with a separate definition.
Updating the xml files with the removal of cluster code references which are no longer defined

In ClusterHelper.js, I only made minor changes and ran the restyle script on that file which resulted in an enormous change
For the changes in partials, I ran into a generation issue where the partial would throw an error saying it is not defined which is something I have not figured out yet. If you or Vivien have any ideas on why I might be hitting that then please let me know. I will continue to look otherwise.
The code gen changes seem valid to me on the .cpp, .py and .mm files because it seems like now generation is actually catching enums and bitmaps correctly? Correct me if I am wrong.

I would also say that this is not a good time for potentially large refactors. We are in a feature stabilization phase.

I understand your concern. I think we should bring in the data type schema re-work since the new data type schema is a lot cleaner than our old data type schema. It will get complicated to keep on rebasing these changes for the long run.

We are in a V1.0 stabilisation phase. Re-working/re-factoring things sounds the opposite of stabilization.

@brdandu My point was not "explain in this PR why the changes are there".  My point was "Please create separate PRs for changes that can be broken out, so that we can do sane reviews on them".
For example: for ClusterHelper.js the whole point is precisely to do the restyle changes in a separate PR (because those can be reviewed by just running restyle locally), so that the substantive changes that actually change behavior can then be checked carefully.
Similarly, for codegen template changes that are not meant to change the generated code the right way to get those reviewed is to have them in a separate PR that clearly shows they do not change the generated code.
Basically, this PR has a bunch of semi-independent changes all jumbled together.  It would require a significant time investment (order of multiple work days) to review, because you have to look for the needles of intended changes in the haystacks of various auto-generated bits.  The breakdown I suggested should make it possible to review it in probably 1/10th that amount of time...

@brdandu My point was not "explain in this PR why the changes are there". My point was "Please create separate PRs for changes that can be broken out, so that we can do sane reviews on them".
For example: for ClusterHelper.js the whole point is precisely to do the restyle changes in a separate PR (because those can be reviewed by just running restyle locally), so that the substantive changes that actually change behavior can then be checked carefully.
Similarly, for codegen template changes that are not meant to change the generated code the right way to get those reviewed is to have them in a separate PR that clearly shows they do not change the generated code.
Basically, this PR has a bunch of semi-independent changes all jumbled together. It would require a significant time investment (order of multiple work days) to review, because you have to look for the needles of intended changes in the haystacks of various auto-generated bits. The breakdown I suggested should make it possible to review it in probably 1/10th that amount of time...

@brdandu My point was not "explain in this PR why the changes are there". My point was "Please create separate PRs for changes that can be broken out, so that we can do sane reviews on them".
For example: for ClusterHelper.js the whole point is precisely to do the restyle changes in a separate PR (because those can be reviewed by just running restyle locally), so that the substantive changes that actually change behavior can then be checked carefully.
Similarly, for codegen template changes that are not meant to change the generated code the right way to get those reviewed is to have them in a separate PR that clearly shows they do not change the generated code.
Basically, this PR has a bunch of semi-independent changes all jumbled together. It would require a significant time investment (order of multiple work days) to review, because you have to look for the needles of intended changes in the haystacks of various auto-generated bits. The breakdown I suggested should make it possible to review it in probably 1/10th that amount of time...

I reverted as many changes as possible to reduce the diff. All existing changes in this PR are related to the schema changes. Summarizing all the changes in this PR:

All *.matter generated changes are such that type for enums, strings, ints, booleans and bitmaps is in lower case. The reason for this is because these types are stored as lowercase in the database. This does make the whole generation consistent for the *.matter files
Enums and Bitmaps no longer have a type column in their tables so you see *.zapt templates switching to name instead of type. However now all enums and bitmaps have a size column so you can figure out the type using the size. All the *.zapt file changes are related to this change.
The rest of the generated file changes i.e. *.py, *.c, *.h, *.cpp are related to the correct classification of enums and bitmaps. Now the templates are catching these types correctly. The *.py, *.c, *.h, *.cpp generated file changes also have the renaming of StatusEnum from the xml files. The reason this was changed was because the new schema does not allow data types of the same name and type with different definitions.

@brdandu My point was not "explain in this PR why the changes are there". My point was "Please create separate PRs for changes that can be broken out, so that we can do sane reviews on them".
For example: for ClusterHelper.js the whole point is precisely to do the restyle changes in a separate PR (because those can be reviewed by just running restyle locally), so that the substantive changes that actually change behavior can then be checked carefully.
Similarly, for codegen template changes that are not meant to change the generated code the right way to get those reviewed is to have them in a separate PR that clearly shows they do not change the generated code.
Basically, this PR has a bunch of semi-independent changes all jumbled together. It would require a significant time investment (order of multiple work days) to review, because you have to look for the needles of intended changes in the haystacks of various auto-generated bits. The breakdown I suggested should make it possible to review it in probably 1/10th that amount of time...

@brdandu My point was not "explain in this PR why the changes are there". My point was "Please create separate PRs for changes that can be broken out, so that we can do sane reviews on them".
For example: for ClusterHelper.js the whole point is precisely to do the restyle changes in a separate PR (because those can be reviewed by just running restyle locally), so that the substantive changes that actually change behavior can then be checked carefully.
Similarly, for codegen template changes that are not meant to change the generated code the right way to get those reviewed is to have them in a separate PR that clearly shows they do not change the generated code.
Basically, this PR has a bunch of semi-independent changes all jumbled together. It would require a significant time investment (order of multiple work days) to review, because you have to look for the needles of intended changes in the haystacks of various auto-generated bits. The breakdown I suggested should make it possible to review it in probably 1/10th that amount of time...

I reverted as many changes as possible to reduce the diff. All existing changes in this PR are related to the schema changes. Summarizing all the changes in this PR:

All *.matter generated changes are such that type for enums, strings, ints, booleans and bitmaps is in lower case. The reason for this is because these types are stored as lowercase in the database. This does make the whole generation consistent for the *.matter files
Enums and Bitmaps no longer have a type column in their tables so you see *.zapt templates switching to name instead of type. However now all enums and bitmaps have a size column so you can figure out the type using the size. All the *.zapt file changes are related to this change.
The rest of the generated file changes i.e. *.py, *.c, *.h, *.cpp are related to the correct classification of enums and bitmaps. Now the templates are catching these types correctly. The *.py, *.c, *.h, *.cpp generated file changes also have the renaming of StatusEnum from the xml files. The reason this was changed was because the new schema does not allow data types of the same name and type with different definitions.

@brdandu The status enum renames can happen in a separate PR before the other changes, right?  If so, please let's do that, to make reviewing this saner.

I understand that.  The point is, we can switch to the new names without changing anything else (no schema changes, nothing).  Just the name changes and corresponding C++ changes, fairly mechanical.  That will make the review for that change straightforward, and significantly shrink the number of changes happening in this PR.  Most importantly, it will no longer intermix the mechanical changes (which change codegen) with the template changes (which we don't want to change codegen), right?  And that will make it much easier to verify correctness of the template changes.

I understand that. The point is, we can switch to the new names without changing anything else (no schema changes, nothing). Just the name changes and corresponding C++ changes, fairly mechanical. That will make the review for that change straightforward, and significantly shrink the number of changes happening in this PR. Most importantly, it will no longer intermix the mechanical changes (which change codegen) with the template changes (which we don't want to change codegen), right? And that will make it much easier to verify correctness of the template changes.

Created https://github.com/project-chip/connectedhomeip/pull/17813

I understand that. The point is, we can switch to the new names without changing anything else (no schema changes, nothing). Just the name changes and corresponding C++ changes, fairly mechanical. That will make the review for that change straightforward, and significantly shrink the number of changes happening in this PR. Most importantly, it will no longer intermix the mechanical changes (which change codegen) with the template changes (which we don't want to change codegen), right? And that will make it much easier to verify correctness of the template changes.

This has been cleaned up in this PR now.


chore: move to github actions for CI

This PR moves this service feedstock to GHA.
To do:

[ ] Needs a token reset (https://github.com/conda-forge/admin-requests/pull/1123)

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

@conda-forge-admin rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11575889998.

@conda-forge-admin rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11576015359.

@conda-forge-admin rerender

During big migrations we sometimes have a big azure backlog. We've had cases where something critical needs to be done and we're stuck in the queue of less critical jobs. For now these changes will help with that.

@conda-forge-admin relint

@conda-forge-admin relint

pre-commit.ci autofix

@conda-forge-admin rerender


Fission Reactor Glass not TRANSPARENT when block placed

To begin, let me say I love the mod, and I'm very glad you have chosen to bring it back from the "dead"! Also, I am aware that my version of MC is an older supported version, 1.18.2; still, maybe you could look into a few things that really should be fixed, as they are killer problems!

The Fission Reactor Glass appears normal when it is rendered in the inventory, but when the block is placed, it looks like white cloudy glass, totally opaque (yeah, you can't see through it at all...).

Both the Fission Reactor Casing AND the Fission Reactor Glass can't be broken, even with "silk touch" tools! They both completely disappear afterwards, so you better place those blocks correctly the VERY FIRST TIME! Yeah right :-}

Again, I know I play on an older version of MC, and if I had known ahead of time about the possible problems I would have with THIS MOD, I might have gone with a newer version! But I already have a world very far developed, and I'm not wanting to change versions just yet...
Please, just have a quick look, and see if the fixes might not be too hard? The rest (if any) I think I can "live with"!
Thanks in advance for hearing me out, and for considering these issues for a older (but still VERY POPULAR) version!
Big Fan;
ZTagre

Will check that out

Loot tables are broken


[Feature] Add flip adapter

Added flip adapter and adapter category to tags database
I have run into a problem that when I run the builder it does not build the category

Forgot the PR template. It isn't there in gitkraken

To the next reviewer (if they merge): tag as adapter in the database.

Alright, 2 reviews approving and changes made to fix issues, are we ready to merge then?

@skatcat31 thank you. you are doing great.


Unable to build tye from source in terminal: dotnet-install failed

When I  try to run \.build.cmd -test from PowerShell, I get next error:

I might need to add NuGet source or something like that. Currently, it isn't documented, so it is not possible to follow developer_guide.md
> $PSVersionTable.PSVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      18362  752
> dotnet --version
3.1.102

Hm, odd I'm not hitting that when running it locally (before and after activating). It looks like it failed to install dotnet for some reason. Unfortunate there isn't an error produced.
Could you try a few things:

Delete the .dotnet folder, build will regenerate it appropriately.
Try running .\build.cmd without -test, just to make sure testing doesn't affect it.

Unfortunately, it doesn't help:

rm .\.dotnet -Force -Recurse
.  .\activate.ps1
.\build.cmd

Looks like it fails on InstallDotNetCore Target.
.\build.cmd -v d
Error message/log as gist: error:/tye/issues-441
My uneducated guess, It might relate to https://github.com/dotnet/runtime/issues/34015

Yeah I don't think that issue is related. @dougbu @JunTaoLuo @wtgodbe any ideas?

You shouldn't need to modify your nuget.config - I'm surprised to see this error from a clean installation. Looks like an Arcade issue w/ InstallDotNet - @chcosta @JohnTortugo have you seen it before?

It is certainly interesting for me to know what caused the issue. But, I ended up reinstalling VS Studio 2019 and installed .vsconfig. It solved the problem. Thank you, I appreciate your help.


rsa

In JDK ，the PrivateKeyImpl.java only has n and d ，and the function RSA_set0_key can only be used on public key。So how to use n and d to create rsa private key in openssl。

the function RSA_set0_key can only be used on public key

This is not correct. RSA_set0_key can be used to create private or public keys. In the case of a private key you need to supply n, e and d. I'm not familiar with the JDK implementation, but you will need to get the e value from somewhere.

the function RSA_set0_key can only be used on public key

This is not correct. RSA_set0_key can be used to create private or public keys. In the case of a private key you need to supply n, e and d. I'm not familiar with the JDK implementation, but you will need to get the e value from somewhere.

the function RSA_set0_key can only be used on public key

This is not correct. RSA_set0_key can be used to create private or public keys. In the case of a private key you need to supply n, e and d. I'm not familiar with the JDK implementation, but you will need to get the e value from somewhere.

But in JDK, RSA supports two kinds of PrivateKey：RSAPrivateKey and RSAPrivateCrtKey. RSAPrivateKey only contains n and d , RSAPrivateCrtKey contains n,e,d,p,q,dmp1,dmq1 and iqmp. Does openssl not support no crt private key（only has n and d) ?

the function RSA_set0_key can only be used on public key

This is not correct. RSA_set0_key can be used to create private or public keys. In the case of a private key you need to supply n, e and d. I'm not familiar with the JDK implementation, but you will need to get the e value from somewhere.

But in JDK, RSA supports two kinds of PrivateKey：RSAPrivateKey and RSAPrivateCrtKey. RSAPrivateKey only contains n and d , RSAPrivateCrtKey contains n,e,d,p,q,dmp1,dmq1 and iqmp. Does openssl not support no crt private key（only has n and d) ?

We also support private keys with CRT params. If you have them then p and q can be set via RSA_set0_factors and dmp1, dmq1 and iqmp can be set via `RSA_set0_crt_params

We also support private keys with CRT params. If you have them then p and q can be set via RSA_set0_factors and dmp1, dmq1 and iqmp can be set via `RSA_set0_crt_params

Does openssl not support no crt private key（only has n and d) ?

You must supply at least n, e and d. Optionally you can also supply p, q, dmp1, dmq1 and iqmp.

Does openssl not support no crt private key（only has n and d) ?

You must supply at least n, e and d. Optionally you can also supply p, q, dmp1, dmq1 and iqmp.

You must supply at least n, e and d. Optionally you can also supply p, q, dmp1, dmq1 and iqmp.
Why Openssl do not support no crt private key ?

You must supply at least n, e and d. Optionally you can also supply p, q, dmp1, dmq1 and iqmp.
Why Openssl do not support no crt private key ?

Why Openssl do not support no crt private key ?

It does. To do RSA without the CRT params, you must supply n, e and d. No CRT params are involved in this case. e is a required parameter and must be present. Normally n and e are considered part of the public key, and d is the private key. OpenSSL requires all components to be present.

Why Openssl do not support no crt private key ?

It does. To do RSA without the CRT params, you must supply n, e and d. No CRT params are involved in this case. e is a required parameter and must be present. Normally n and e are considered part of the public key, and d is the private key. OpenSSL requires all components to be present.

Why Openssl do not support no crt private key ?

It does. To do RSA without the CRT params, you must supply n, e and d. No CRT params are involved in this case. e is a required parameter and must be present. Normally n and e are considered part of the public key, and d is the private key. OpenSSL requires all components to be present.

But boringssl support private key without e.

Why Openssl do not support no crt private key ?

It does. To do RSA without the CRT params, you must supply n, e and d. No CRT params are involved in this case. e is a required parameter and must be present. Normally n and e are considered part of the public key, and d is the private key. OpenSSL requires all components to be present.

But boringssl support private key without e.

I have a related question - we're upgrading libraries and with libp11 0.4.11 and openssl 3.0.5, I'm seeing an issue where libp11 tries to copy a private key by passing ONLY the n and e from an EVP_PKEY to a fresh (RSA *) via RSA_set0_key().
This used to work with older libraries but now EVP_PKEY_decrypt() fails with that key and the error is 'missing private key'.
From the discussion above it sounds as if this should have failed all along? I can make it work if I also pass the d.

I have a related question - we're upgrading libraries and with libp11 0.4.11 and openssl 3.0.5, I'm seeing an issue where libp11 tries to copy a private key by passing ONLY the n and e from an EVP_PKEY to a fresh (RSA *) via RSA_set0_key().
This used to work with older libraries but now EVP_PKEY_decrypt() fails with that key and the error is 'missing private key'.

It seems to me above is fail into #17092 or #17286.

RSA_set0_key could be called only with d. Perphaps method could be called with "fake" exponent (n , fake-e, d) if key use is limited to "sign" operation only.
Question is why to create private key in OpenSSL? Why do not delegate sign opeation to Java "security"?

I think the original question was answered. Closing.


PyjionUnboxingError: Pyjion PGC expected float, but 0.023045 is a numpy.float64. || pyjion.config(pgc=False) not working.

============================== EXCEPTION TRACEBACK:
  File "/usr/local/bin/jesse", line 33, in <module>
    sys.exit(load_entry_point('jesse', 'console_scripts', 'jesse')())
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/src/jesse/jesse/__init__.py", line 308, in backtest
    backtest_mode.run(start_date, finish_date, chart=chart, tradingview=tradingview, csv=csv,
  File "/home/src/jesse/jesse/modes/backtest_mode/__init__.py", line 65, in run
    simulator(candles)
  File "/home/src/jesse/jesse/modes/backtest_mode/__init__.py", line 303, in simulator
    store.orders.execute_pending_market_orders()
  File "/home/src/jesse/jesse/store/state_orders.py", line 70, in execute_pending_market_orders
    o.execute()
  File "/home/src/jesse/jesse/models/Order.py", line 169, in execute
    p._on_executed_order(self)
  File "/home/src/jesse/jesse/models/Position.py", line 352, in _on_executed_order
    self.strategy._on_updated_position(order)
  File "/home/src/jesse/jesse/strategies/Strategy.py", line 148, in _on_updated_position
    self._on_open_position(order)
  File "/home/src/jesse/jesse/strategies/Strategy.py", line 665, in _on_open_position
    submitted_order: Order = self.broker.reduce_position_at(
  File "/home/src/jesse/jesse/services/broker.py", line 91, in reduce_position_at
    if self.position.is_close:
  File "/home/src/jesse/jesse/models/Position.py", line 163, in is_close
    return self.qty == 0
=========================================================================

 Uncaught Exception: PyjionUnboxingError: Pyjion PGC expected float, but 0.023045 is a numpy.float64. Try disabling PGC pyjion.config(pgc=False) to avoid hitting this error.

The strange thing is that config doesn't seem to have an effect. This is how I use pyjion:
    pyjion.config(debug=True, pgc=False)
    pyjion.enable()

Thank you for your help.

Thanks for the report. Please can you do pyjion.config(graph=True)
and send me the content of pyjion.graph(Position.is_close.__code__)

 Uncaught Exception: AttributeError: 'numpy.bool_' object has no attribute '__code__'

The code of Position.is_close:
    @property
    def is_close(self) -> bool:
        """
        Is the current position close?

        :return: bool
        """
        return self.qty == 0

I think the project I try to use it on is just to complex.

I think issue is happening because Pyjion had detected that self.qty is a float when it was assigned in the constructor, then later it was replaced with a numpy float (which is a different type)
pyjion.config(level=0) might fix it.
I'll have a think about a better solution for this.

This setting works. It's 20 seconds slower though then without pyjion. Probably compilation time?
Thanks for your support!

level=0 effectively turns off the optimisations, so any opportunities to make the code faster will be disabled.
I'll look at a way of resolving this particular error so you can at least try level 1.
Code should be run at least 3 times in the same thread to see the effective performance difference


Not tracking multiple HTTP endpoints proerply

I have refrenced the blog and did everything .
It collects metrics but the output only gives 1 single line and the name is "A" instead of "the url link" ; I have 5 endpoints setup
and also the value is 0.2 instead of 0 or 1.

This is very likely the wrong repository for this question. I'm closing this, with the recommendation that you ask this via Slack. Don't forget to mention what's the blog post you are following, what you expect to see, and what you are seeing instead.


Bump pipeline libraries to latest versions

Bump ableton-utils to 0.21
Bump groovylint to 0.12

Re-ping @dgl-ableton


Taskbar looks different on the 2nd display against primary display

when i set "acrylic" style in the configurator, on the primary display, it looks fine, but on the 2nd display, the taskbar is still Transparent.

Yeah.. i'm not a fan of the styling. You can better try this for now.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
TaskbarAcrylicOpacity <-- DWORD
0 = Transparent and 1 > 255 is Acrylic

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Analysis reliability improvements

Fixes crash due to bad indexing
Ensures errors are properly logged and raised.
Attempts to reduce false positives when warning about undefined variables.

I think this change is changing that file back to the correct style, but I'll merge and see.


Update load() without overwriting defaults

Is there a way to add to the existing load() function, rather than overwriting it?

It would be cool, I need this feature to lazy-load poster on video element. 👍


Add Links as Buttons

It would be nice if you could make a range of text respond to a selector when tapped.

can i have a button at the end of the multiline text like info icon button?


[BUG] Browsing links doesn't work (reliably)

Describe the Bug
Using the show links feature (ol) does not show links of a note reliably. Sometimes it shows all links, sometimes it shows just one, but very often none at all. When I use Shift on a note searched by o it very often says "Note without outgoging links or backlinks", even though the note has links.
I looked at the extracted metadata file metadata.json and all the info about links seems to be there.
Running oupdate didn't solve the problem.
I don't know how to reproduce that issue and couldn't find any pattern in the notes that don't work.
Debugging Log
An example log from a note with two outgoing and two incoming links, showing no links in Alfred:
[12:15:13.082] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[12:15:13.805] Shimmering Obsidian[Keyword] Processing complete
[12:15:13.807] Shimmering Obsidian[Keyword] Passing output '' to Run Script
[12:15:14.256] Shimmering Obsidian[Run Script] Processing complete
[12:15:14.263] Shimmering Obsidian[Run Script] Passing output 'Maps of Content.md' to Replace
[12:15:14.264] Shimmering Obsidian[Replace] Processing complete
[12:15:14.266] Shimmering Obsidian[Replace] Passing output 'Maps of Content.md' to Call External Trigger
[12:15:14.267] Shimmering Obsidian[External] Processing complete
[12:15:14.268] Shimmering Obsidian[External] Passing output 'Maps of Content.md' to Arg and Vars
[12:15:14.269] Shimmering Obsidian[Arg and Vars] Processing complete
[12:15:14.270] Shimmering Obsidian[Arg and Vars] Passing output ' ' to Script Filter
[12:15:14.290] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[12:15:14.518] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
[12:15:14.525] Shimmering Obsidian[Script Filter] {"items":[]}

Checklist

[x] I have updated to the latest version of this workflow, the Advanced URI plugin, and the Metadata Extractor plugin.
[x] I have read and checked the Troubleshooting.

Hmm, I tested the feature and it all works for me. The debugging log also doesn't show anything out of the ordinary (except not displaying items at the end). That means, we will need to to create a "Test Vault" to reproduce the issue.
Could you create a new vault, copy the notes in question (and their linked notes, of course) into that vault, and install the advanced URI and metadata extractor plugin in that vault in there? Afterwards, you must tell Alfred to control that vault via the vault switcher: ov and select the vault with shift + return.
Now you can try the ol command and see whether the issue still occurs. if the issue doesn't occur at all, try adding chunks of your original vault into it and test whether the ol command still works.
I know this is takes a bit of time, but without any type of hint what condition causes the note to be found and which not, I don't know an easier way of finding the issue 😕

Exact same issue here. I thought it might have to do with wikilinks vs. md but I converted my internal links and still didn't work. All outgoing web links are found by the workflow, but the internal links are not. (BTW, thank you for creating this awesome tool!)

Since I cannot reproduce the issue, I can only take a guess. I fixed something which might have been the cause of some issues. So please update to version 2.9.8 and try again whether Browsing links works now.
If it doesn't help, I really need some sort of test vault where I can reproduce the issue, as mentioned before.

Okay, I have found and fixed a bug for the link-browsing via shift + return and the ol which sometimes causes it to fail. Could you check whether it works now? (version 2.9.12)

Since there are also no further reports, I assume that this is fixed. please re-open if there are still problems


Parse more trivial productions

Coverage increased (+3.8%) to 76.895% when pulling d6a03a60965c7724aa157d18382e81e37addf3d4 on parse-more-trivial-productions into e4be959c4af244c1d833188326eea61d7bdb7bbd on master.


Try to get tests working in CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5919652). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   45.56%
=========================================
  Files             ?        4
  Lines             ?      169
  Branches          ?        0
=========================================
  Hits              ?       77
  Misses            ?       92
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5919652...0fb86dc. Read the comment docs.


TBH I did not, I just reviewed the code.

@stell @rheh
Haven't you noticed failed CI-checks?

TBH I did not, I just reviewed the code.

@Malvoz can you please review


I can not open any knifes from cases

I opened about 500 cases with my friends for fun and i got no knifes cloud this be a issue or danielkrupinski didnt add it yet?
Can someone help me

Knifes arent added in drops for some readon. Sorry

^
Thanks , i hope they will be added :(

yup same here, would love to see knives/glove drop from cases

well i want to bump because i would like that, or any code to change idk

Now you can receive knives from Dreams and Nightmares Case and Operation Riptide Case. More to come.


Add tags which are not exists

Please add a possibility to add tags which are not in the available list and submit them as text.
Thanks

@serajam this is definitly high on priority list and will be implemented as soon as i make time.

@serajam this is now available via "userOptionAllowed" option - please check demo site for example (http://dbrekalo.github.io/fastselect/#section-examples)


bug: withdrawn bot is still in api result.

This user (0x79C9A765d865f949c18335321436fAAfa865B2e6) already withdrew all twaps of the old Curve ETH squeeze bot 10 days ago.
But his bot is still in the mybots API results.
"deposit_id":"10","token0":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"2994000000000000000","amount1":"2.06354538500345e+23","depositor":"0x33EB6cC730f0C8c47cC4503B54D41E03C7C32fe8","deposit_price":"9146.99934","expire":"33247318997","withdrawer":"0x79C9A765d865f949c18335321436fAAfa865B2e6","network_name":"ETH","dex_name":"curve","bot":"squeeze_eth_curve","number_trades":"5","remaining_counts":"0","interval":"30","contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","bot_type":"12","fees_charged":"0.05223062279655718","sent_to_mixpanel":"0","transaction_hash":"0x4eef2c5f77844b4151507ca4ff20cc8fd919ed8d29d5f8c99112fd0e2cfcf757","create_to_mixpanel":"0","created_at":"2024-05-07 20:15:12","gas_mixpane"...

I don't know the exact reason.. but I've set the withdraw block for the transaction so it will no longer be in the users mybots


Review Viewer - Add options\filters as to what reviews to download

Review Viewer - It would be good to have the option in Review Viewer to download reviews with similar options to how you can filter them in Steam (Most Helpful, Most Recent, Most Helpful in last 90 days, minimum playtime, etc).

Please fill the information following the issue template you get when creating the issue. Also the title.

Not sure what you mean exactly? The Title is there - "Review Viewer - Add options\filters as to what reviews to download" with the extension name first and I described the idea in the body of the text (there was no need for a screenshot). The only thing I didn't do that I can see is put the extension name a second time in the body of the issue?

You get this when you open an issue. You should not delete all the content and just replace the needed content. The same for the title.

You can see how a correctly open issue should be made in the issue opened previous to this one.
https://github.com/darklinkpower/PlayniteExtensionsCollection/issues/56
or
https://github.com/darklinkpower/PlayniteExtensionsCollection/issues/56

OK, sure - I have edited it to do that. I thought it was a guide to the info you want included in the issue\request rather than a template and I can see I'm not the only one. Sorry for not doing past ones in the same way.


exteneding Banner component.

Hello :D
First of all thanks for awesome component library 😄
I am trying to extend banner component, and having trouble with changing flex related props.
exteneding Banner component.
I am having this error message on my chrome browser.
 Unknown props `alignItems`, `justifyContent`, `minHeight` on <div> tag

I think this happens because of the banner component is using div...
Can anyone give me a hint to solve this problem?
Thanks

Hey @oiojin831 those aren't valid attributes on the Banner component and not part of the rebass blacklist. This is more of a styled-component problem which has been discussed here https://github.com/jxnblk/rebass/issues/266.
Here's a way to extend rebass components while mitigating the unknown props error.
import { Banner as RebassBanner } from 'rebass';

const Banner = styled(({ alignItems, justifyContent, minHeight, ...restProps }) =>
  <RebassBanner {...restProps} />,
)`
  align-items: ${props => props.alignItems};
  justfiy-content: ${props => props.justifyContent};
  min-height: ${props => props.minHeight};
  background: #00F;
`;

export default Banner;

Closing this since I think the above comment addresses the question


fix(types): fix typescript types

Summary
Structural Element (Base, Gene, DNA, Chromosome or Cell)
Github issue: #501
Support Channel Issue: https://czi-sci.slack.com/archives/C032S43KKFV/p1684536524081589
In recent observations, it has come to our attention that the addition of five new types ("nonce" | "rev" | "rel" | "autoFocus" | "content") to the SDS components has resulted in operational difficulties for the product teams.
In order to mitigate the problems faced by the product teams, a comprehensive investigation was conducted to identify the underlying cause. After careful analysis, it was determined that temporarily omitting these types would allow the CZID team to proceed with using the updated version of SDS without encountering any hindrances.
It is important to note, however, that this temporary solution does not provide a permanent resolution to the problem. Therefore, it is crucial that we prioritize the resolution of this bug and restore the omitted types in order to rectify the issue effectively.
Up Next: https://github.com/chanzuckerberg/sci-components/issues/502
Checklist

[ ] Default Story in Storybook
[ ] LivePreview Story in Storybook
[ ] Test Story in Storybook
[ ] Tests written
[ ] Variables from defaultTheme.ts used wherever possible
[ ] If updating an existing component, depreciate flag has been used where necessary
[ ] Chromatic build verified by @chanzuckerberg/sds-design

Ahaha my pleasure! You did all the hard work 🙏 Thank you for that!! Jumping in the next meeting now 😆


Restore wallet without scanning exported QR code from Google Authenticator

The steps of exporting QR code from Google Authenticator are convoluted. Sometimes, users accidentally delete their authenticator code account after an export, because that is the default and "recommended" option provided by Google Authenticator. Issue https://github.com/polymorpher/one-wallet/issues/161 is one example. A more convenient, less confusing method of restoring wallet should be provided.
This proposal extends a method that is already discussed in early stage of the design of 1wallet, namely "Authentication with HOTP" section in 1wallet wiki. However, it is not acceptable to ask the user setup a separate authenticator code just for the purpose of recovery. Instead of HOTP, we will make use of the same authenticator code (TOTP) the user already setup. Instead of 5 consecutive codes, we will use 6 codes to provide strong security guarantee. This means the user is expected to complete the whole process in 3 minutes (= 6 * 30 seconds), since they have to wait for the new code to show up every 30 seconds. Since the Restore operation is supposed to occur only in very exceptional circumstances, this is acceptable.
To restore the wallet using this method, the user must type in the correct 6-digit codes for six times, generated consecutively per 30 seconds. When the user completes this restore process, the user must setup a new authenticator code for the wallet. After this process, both the new code and the old code can operate the wallet.

This is live


use path.join() or filepath.join() instead "+" or "sprintf" to construct URL paths.

Currently "+" and "sprintf" are used to construct URL paths in multiple places.  It is suggested to use filepath.join() or path.join() when constructing URL paths in the project.

This has been addressed in the latest merge of security-proxy-setup, close the issue.


Python error on load

I got the following from journalctl
Aug 21 13:01:20 raspberry python3[321]: Traceback (most recent call last):
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 173, in activate_name_owner
Aug 21 13:01:20 raspberry python3[321]:     return self.get_name_owner(bus_name)
Aug 21 13:01:20 raspberry python3[321]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 348, in get_name_owner
Aug 21 13:01:20 raspberry python3[321]:     return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
Aug 21 13:01:20 raspberry python3[321]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 634, in call_blocking
Aug 21 13:01:20 raspberry python3[321]:     reply_message = self.send_message_with_reply_and_block(
Aug 21 13:01:20 raspberry python3[321]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.bluez': >
Aug 21 13:01:20 raspberry python3[321]: During handling of the above exception, another exception occurred:
Aug 21 13:01:20 raspberry python3[321]: Traceback (most recent call last):
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/local/btwifiset/btwifiset.py", line 2922, in
Aug 21 13:01:20 raspberry python3[321]:     blemgr.start()
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/local/btwifiset/btwifiset.py", line 2865, in start
Aug 21 13:01:20 raspberry python3[321]:     Blue.set_adapter()
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/local/btwifiset/btwifiset.py", line 2042, in set_adapter
Aug 21 13:01:20 raspberry python3[321]:     obj = Blue.bus.get_object('org.bluez','/')
Aug 21 13:01:20 raspberry python3[321]:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 237, in get_object
Aug 21 13:01:20 raspberry python3[321]:     return self.ProxyObjectClass(self, bus_name, object_path,
Aug 21 13:01:20 raspberry python3[321]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in init
Aug 21 13:01:20 raspberry python3[321]:     self._named_service = conn.activate_name_owner(bus_name)
Aug 21 13:01:20 raspberry python3[321]:                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 178, in activate_name_owner
Aug 21 13:01:20 raspberry python3[321]:     self.start_service_by_name(bus_name)
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 273, in start_service_by_name
Aug 21 13:01:20 raspberry python3[321]:     return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
Aug 21 13:01:20 raspberry python3[321]:                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:20 raspberry python3[321]:   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 634, in call_blocking
Aug 21 13:01:21 raspberry python3[321]:     reply_message = self.send_message_with_reply_and_block(
Aug 21 13:01:21 raspberry python3[321]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 21 13:01:21 raspberry python3[321]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed o>
Aug 21 13:01:22 raspberry systemd[1]: btwifiset.service: Main process exited, code=exited, status=1/FAILURE
Aug 21 13:01:22 raspberry systemd[1]: btwifiset.service: Failed with result 'exit-code'.
Aug 21 13:01:22 raspberry systemd[1]: btwifiset.service: Consumed 3.794s CPU time.

Something is wrong in your install of the OS:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.bluez'
If dbus can't start - the python code will exit. (which it did).
Can you share what OS/version, what RPI, what Python version you are on?
Also - this maybe obvious but did the install script print out any error messages?
(You can always run it again - it won't hurt anything)
This might be useful:
https://askubuntu.com/questions/1456955/org-freedesktop-dbus-error-namehasnoowner-could-not-get-owner-of-name-org-debi
it suggest you run:
sudo systemctl status dbus
and see what error messages you get.
I know enough to use dbus to communicate with blueZ - but i'm not really an expert in understanding why blueZ would not work...

I was using bookworm on a Raspberry Pi Zero.  Other than this I got no error messages. I will check all these shortly. Thanks for the support


Feature/proxy requests

This PR adds a more generic approach to proxying requests to the OpenAI API through channels other than direct URLSession from the app.
For example, if you used a particular networking library in the app you could conform your networking client to OpenAIRequestHandler and make the requests yourselves. Or if you were using firebase callable functions as your proxy, or any other kind of "serverless" approach that has its own SDK you could use that instead.
I have made a concerted effort to make this entirely backwards compatible, this has been done by typealiasing Config = URLSessionRequestHandler and adding a secondary initialiser to the OpenAISwift class which takes an instance of the protocol OpenAIRequestHandler so that users who are either using:
OpenAISwift(config: .makeDefaultOpenAI(apiKey: "my_key"))

or
OpenAISwift(config: OpenAISwift.Config.makeDefaultOpenAI(apiKey: "my_key"))

do not have any breaking changes, but users who want to implement their own request handling can use:
OpenAISwift(requestHandler: someRequestHandlerInstance)

I have tested this with our own integration of the OpenAISwift library and all existing functionality works the same. Note: this also includes the fix for 400 error due to adding Identifiable protocol to ChatMessage as seen here: https://github.com/adamrushy/OpenAISwift/pull/122

I'm more than happy to add docs covering this to the README for this PR if required? 😄


Fixes MissingMethodException when using EF6 + SqlLockStatementProvider

Closes #2980 and #3151

check the availability of EF6's new IModel.FindEntityType(Type) method
fallback to ModelExtensions.FindEntityType(IModel, Type) when using EF Core/5

As I pointed out in the issue you created, this has already been addressed in v8. Thanks though.

Not likely, as that little method you changed doesn't actually fix all the issues adapting to the breaking changes in EF6.


Change private to protected to allow override

The getWhoopsInstance method is very useful because it is run for each request, but in private scope, it is too limited.

Hi. This brings up a well-know discussion about private / protected methods and properties by default (https://www.reddit.com/r/PHP/comments/3jdbkd/protected_or_private_as_a_default_visibility_and/)
I'm inclined to use always private unless there're good reasons to extend and modify a method behavior. What's the use case to change the visibility to all these methods and properties? The getWhoopsInstance is just a method to return a default Whoops\Run if no one is passed to the constructor.

Hi. I'm using your middleware in a Swoole http server app.
So your getWhoopsInstance run multiple times because php is always running. So a new Whoops\Run is returned for each Request and depends on its content type.
Using the whoops instance from the constructor, will use still the same one.
With a protected method, it will allow to override the behavior and allow to create a new instance for each request.

To note that the WhoopsHandlerContainer contains only protected method

I see.
I'm not clear about what do you want: run a new Whoops\Run instance for each request or use always the same instance? Or maybe use the same instance for each content-type response? Maybe we can change only getWhoopsInstance method to protected (but keep the rest of methods and properties private). So you can do something like the following:
protected function getWhoopsInstance(ServerRequestInterface $request): Run
{
    $key = $request->getHeaderLine('Accept');
    if (empty($this->runInstances[$key])) {
        $this->runInstances[$key] = parent::getWhoopsInstance($request);
    }

    return $this->runInstances[$key];
}

What do you think?

To note that the WhoopsHandlerContainer contains only protected method

Yes, that's right but this is a more opinionated and more likely to want to change or customize.

Close this. The new version has the getWhoopsInstancemethod protected


Regression issue with PathConverter?

Hi all,
I used to use the following code to regex match any route on my flask application.
https://stackoverflow.com/questions/24000729/flask-route-using-path-with-leading-slash
here's a sample code
from flask import Flask, request, jsonify, json, abort, redirect, url_for, render_template
from werkzeug.routing import PathConverter

class EverythingConverter(PathConverter):
    regex = '.*?'

app = Flask(__name__, template_folder='template')
app.url_map.converters['everything'] = EverythingConverter

@app.route('/<everything:path>', methods=['GET', 'POST'])
def main(path=""):
    return path

if __name__ == '__main__':
    app.run(host='<IP_ADDRESS>', port=9009)

when browsing for example :9009/foo/bar it would return foo/bar
I can reproduce this on
Flask==2.0.3
werkzeug==2.0.3
but this doesn't work on werkzeug==2.3.7
i'm not sure this is related to the changes on slash behavior.
can anyone help me?
regards,c.

You need to mark your custom converter as not part isolating,
class EverythingConverter(PathConverter):
    regex = '.*?'
    part_isolating = False

See also https://github.com/pallets/werkzeug/pull/2784


Added script for Juggler sequence

Added script for Juggler sequence
AND
modified lucas.py , fibonaccci.py, bellNumber.py to add user input validation

Thank you for the changes you've made. There is already a Juggler sequence Python file in the repository, but your program may be an improvement. I'll add your file to the repo, but one of the files may be deleted in the future.


Census tutorial documentation refers to Python 2, but code uses Python 3

URL(s) with the issue:
https://www.tensorflow.org/tfx/tutorials/transform/census#python_check_imports_and_globals
Description of issue (what needs changing):
The text says "First we'll make sure that we're using Python 2, and then go ahead and install and import the stuff we need." but the code below indicates we need to use Python 3.
Clear description
The text states:

First we'll make sure that we're using Python 2, and then go ahead and install and import the stuff we need.

The code example says:
import sys

# Confirm that we're using Python 3
assert sys.version_info.major is 3, 'Oops, not running Python 3. Use Runtime > Change runtime type'

@fdb
This issue is more suitable for TensorFlow Extended (TFX) repo.Please post it on TFX repo from here.Thanks!


Label is not beeing removed by setting value to empty string when using regex capture group as target_label

What did you do?
We want remove labels based on values present in service-discovery. We are using a technique like the one described here (https://www.robustperception.io/extracting-full-labels-from-consul-tags) to extract all labels that should be removed fom a comma-separated-string. This string comes from our consul service-discovery.  We apply those relabeling in metric_relabel_configs. To remove the labels we set the value to ''
    metric_relabel_configs:
    - source_labels: [labeldrop]
      regex: '(?:[^,]+,){0}([^,]+).*'
      replacement: ''
      target_label: ${1}
    - source_labels: [labeldrop]
      regex: '(?:[^,]+,){1}([^,]+).*'
      replacement: ''
      target_label: ${1}
   and so on

What did you expect to see?
All labels that are listed in the string should be removed.
What did you see instead? Under which circumstances?
Labels are still there. So i tried to narrow it down. If not setting the replacement value to an empty-string, all labels in the "list" get that value.
    metric_relabel_configs:
    - source_labels: [labeldrop]
      regex: '(?:[^,]+,){0}([^,]+).*'
      replacement: 'static'
      target_label: ${1}

If not using the regex capture-group in the target-label, but a hardcoded label, it removes the value. E.g. if one of the labels in our list is named funnylabel and we do it like this
    - replacement: ''
      regex: '.*(funnylabel).*'
      target_label: funnylabel
      source_labels: [labeldrop]

then the funnylabel gets removed.
So it looks like there is a problem when using regex-capture-goups and an empty replacement-string
Environment

System information:
Linux 3.10.0-862.el7.x86_64

Prometheus version:

prometheus, version 2.22.1 (branch: HEAD, revision: 00f16d1ac3a4c94561e5133b821d8e4d9ef78ec2)
  build user:       root@516b109b1732
  build date:       20201105-14:02:25
  go version:       go1.15.3
  platform:         linux/amd64

Prometheus configuration file:

  - job_name: 'ping_exporter'
    scrape_interval: 10s
    metrics_path: /ping
    consul_sd_configs:
      - server: '***'
        token: '***'
        datacenter: ***
        scheme: https
        tags:
          - ping_exporter
    relabel_configs:
    - action: labelmap
      regex: __meta_consul_service_metadata_label_(.+)
    - source_labels: [__meta_consul_service_metadata_labeldrop]
      target_label: 'labeldrop'
    - source_labels: [__meta_consul_service_address,__meta_consul_address]
      action: replace
      separator: ";"
      regex: ;(.*)
      replacement: $1
      target_label: __meta_consul_service_address
    - source_labels: [__meta_consul_service_address]
      target_label: __param_target
    - source_labels: [__meta_consul_service_metadata_job]
      target_label: job
# set Metrics-Path default
    - target_label: __tmp_metrics_path
      replacement: /ping
# overwirte with values from consul sd
    - source_labels: [__meta_consul_service_metadata_metrics_path]
      target_label: __tmp_metrics_path
      regex: (\/.*)
# Relabel metric path
    - source_labels: [__tmp_metrics_path]
      target_label: __metrics_path__
    - target_label: exporter
      replacement: ping_exporter
    - source_labels: [__meta_consul_service_metadata_exporter]
      replacement: '${1}'
      target_label: __address__
    metric_relabel_configs:
    - source_labels: [labeldrop]
      regex: '(?:[^,]+,){0}([^,]+).*'
      replacement: ''
      target_label: ${1}
    - source_labels: [labeldrop]
      regex: '(?:[^,]+,){1}([^,]+).*'
      replacement: ''
      target_label: ${1}
    - source_labels: [labeldrop]
      regex: '(?:[^,]+,){2}([^,]+).*'
      replacement: ''
      target_label: ${1}
    - action: labeldrop
      regex: 'labeldrop'

Logs:

nothing related to problem logged

Thank you for looking at this

source_labels: [labeldrop] should be action: labeldrop
It looks as if this is actually a question about usage and not development.
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

Thanks for replying so quick, but i don't see how 'action: labeldrop' will help here. Correct me i if i am wrong, but action labledrop drops only the labels i know about when writing the scrape_config. We need a dynamic approach where the service-discovery defines which labels have to be dropped.
And beside our use-case - why is it working without capture-groups or with a static value instead of an empty string ?
I will take to the users-mailing list, although it looks like an issue


Display callback information

Currently, no information is displayed about any callbacks. Is this a bug or just not implemented?
Here's an example of how swaggerhub shows callbacks.
.
Aside from this, I think this library is excellent! Thank you for putting it together.
Regards,
Carlo

Thanks,
callbacks are yet to be implemented not yet implemented,

support for callbacks is now implemented in release 7.0.3.
Thanks for bringing this up
Give it a try here https://mrin9.github.io/RapiDoc/examples/callback.html


How can we set color for indicator in TabBar

I've used this attribute:- indicatorColor: Color.fromRGBO(163, 35, 165, 1.0), for showing indicator color which one is selected.but how can set color for indicator which is not selected

Hi @sumitrvi
As a workaround, try this

Code Sample
```
import 'package:flutter/material.dart';
void main() {
runApp(TabBarDemo());
}
class TabBarDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: DefaultTabController(
length: 3,
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.red,
bottom: DecoratedTabBar(
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: Colors.blue,
width: 2.0,
),
),
),
tabBar: TabBar(
tabs: [
Tab(icon: Icon(Icons.directions_car)),
Tab(icon: Icon(Icons.directions_transit)),
Tab(icon: Icon(Icons.directions_bike)),
],
),
),
title: Text('Tabs Demo'),
),
body: TabBarView(
children: [
Icon(Icons.directions_car),
Icon(Icons.directions_transit),
Icon(Icons.directions_bike),
],
),
),
),
);
}
}
class DecoratedTabBar extends StatelessWidget implements PreferredSizeWidget {
DecoratedTabBar({@required this.tabBar, @required this.decoration});
final TabBar tabBar;
final BoxDecoration decoration;
@override
Size get preferredSize => tabBar.preferredSize;
@override
Widget build(BuildContext context) {
return Stack(
children: [
Positioned.fill(child: Container(decoration: decoration)),
tabBar,
],
);
}
}

</details>

Thanks @VladyslavBondarenko

Revisiting this issue. There is no indicator shown for the unselected tab.
Please look into third-party packages for a tab bar  package that shows indicator for unselected tabs as well.


extend cliparts import duration through toolbar

This is what I mean by cliparts not staying for the rest of the session. They're only persistent when the toolbar is extended after you added them, but if you collapse it and extend it back up they disappear. In version 1.4 they used to stay there until you closed the program fully I believe. I've uploaded a video file demonstrating the problem https://we.tl/t-5wtGiLS0rl

About your point, This what I've coded the 'session' time I was talking about is one inking session. At the origin, I wanted this duration, but I agree that now, it may be better for extend it and add a 'reset list' button. I will create an issue. can you subscribe to it ? I will certainly need your evaluations.

#84

fixed in this beta release
ppInk64_17b.zip

This issue is now resolved, indeed! The only issue I had is that upon launching ppInk for the first time, I loaded a clipart, and when trying to insert it by dragging a box it didn't insert on the first try. I have been unable to reproduce it, though. Cliparts do remain saved during the rest of the session :D

Good. I do not see what could have occured... I propose to close the issue as the function is here

Agreed! Do I have to close it or do you have to do it?

next time you can do it
PS. Have you find how to star the project

I don't know what that is, but I just clicked the star icon at the top of this page that said "star pubpub-zz/ppInk" now. Does that help give the project more relevance? Anyway, I've done it now. Thanks a lot again for your great efforts towards improving this tool <3


Character encoding bug

Sharding-Proxy 4.0
insert into xxx (aaa) values ('chinese name')
chinese name is

mysql content

what is your db & table character config？
you can try insert data directly, not via Sharding-Proxy, It is OK?
I think this is some uncommon characters, the DB doesn't support.

ShardingSphere nerver released version 4.0, can you provide the correct version number?

@terrymanu sharding-proxy 4 rc2
@dongzl mysql use utf8-mb4,no problem

@zhouzhendao123456  I can not write the characters with my input method and test this problem, how do you finish it?

@dongzl
use sharding
run insert sql

How do you input the Chinese character and test insert?  I can not print the character with my input tools.

Closed because no response anymore.


Missing role out status.

Description
You have started rollout of 20240116
But the rollout status is unknow here: https://github.com/actions/runner-images/tree/main?tab=readme-ov-file#available-images
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Image: windows-2022
Version: 20240116.1.0
Included Software: https://github.com/actions/runner-images/blob/win22/20240116.1/images/windows/Windows2022-Readme.md
Is it regression?
.
Expected behavior
I can see status of roll out.
Actual behavior
Status is unknow
Repro steps

Click on the link: https://github.com/actions/runner-images/tree/main?tab=readme-ov-file#available-images

duplicate https://github.com/actions/runner-images/issues/9184


training on a new dataset

Please see the current code version for how to finetune with your own dataset.


adds conditional logging. fixes a small issue

This maybe should default to false honestly.
Most clusters are going to have aggregated logs scraped from stdout, in order to not require additional, potentially infinite, storage.
If there was a built in log rotator maybe leaving it on makes sense.