Cannot add a bridged Accessory with same UUID as another bidged Accessory using config-sample.json

Getting this error on first startup (npm run) after:

cloning repo
copying config-sample.json to config.json
cleaning config.json of any accessories with non-json comments

Error happens when initalizing [Kitchen Lamp] HTTP Accesory?

If you have a platform enabled that returns another "Kitchen Lamp" as name this might happen, though it is not supposed to happen.
The UUID is generated using the accessory/platform object name (constructor name) and the given name (returned by platform or with accessories, as written in config.json).
There was another issue here (https://github.com/nfarina/homebridge/issues/203) in which a similar behavior was described, but was unable to reproduce by other user afaik.

If you have a platform enabled that returns another "Kitchen Lamp" as name this might happen, though it is not supposed to happen.

That's what I've thought but I only have the items from the config.json. I've quickly dug through the accessories and couldn't find any duplicates. I'm suspecting that the nodehap library might be responsible for the duplicate?

Found it. https://github.com/nfarina/homebridge/blob/master/config-sample.json#L91 has a Kitchen Lamp zone which is the same as the Http accessory at https://github.com/nfarina/homebridge/blob/master/config-sample.json#L162.
As https://github.com/nfarina/homebridge/issues/203 describes the uuid prefixing is broken: Object.Kitchen Lamp is most likely not what was intended, is should rather by the accessory type plus the actual name, preferable plus the serial number of the device if any.

you have both types of lamps running in your house?  http ones? and LimitlessLED/milight ones?  that is not common at all.  also I would recommend you to change the names of your lamps to be correct for your home,    config-sample should just be that only.. a sample. You have to actually name your devices in the home better than that.

I would not touch the uuid prefixing, because it might break the Siri aspect of names.

Did this get fixed by #233? Looks like the same or a related issue that was being fixed.

I am hitting this as well.  IMHO naming each device uniquely is a bad move.  Each might be named uniquely within a room, but unique globally?  I have 100 devices and a lot of overlap on names, after all, a fan is a fan, it might be in the family room or in the master, but why cant I simply call it "fan"?

I think Apple noticed that as well and changed the uniqueness requirements for devices and services with iOS 10 or 10.1

However, depending on the plug is you use, the UUIDs might be based on the names, and those are required to be unique! So this is a plug-in issue as well.

+1 for that issue…
So can I ignore it? Will it be fixed?

For anyone else - found this problem when I hid an accessory in the Eve app from Elgato.

This issue happens if you have more than one Harmony remote in your house.  In that scenario, it's quite usual to have two Activities called "Watch TV", but of course they refer to different rooms of your house.


Javascript five wire poseidon for TLS Notary

Plan is just to compile from OCaml

This is required for having the browser-plugin validate the notary signature. For now, we're just going to have the prover do that and implement this earlier validation later.

Project is discontinued. Closing.


FROM dockerfile/java

This reference is right?

No the latest Docker registry has some changes in the docker Hub.
The new one is "FROM java".This pulls the latest java version

Nice. Thanks @SaiVardhan :+1:


compat.NewClient returns Client interface, refactor

This pr avoid such mappings from compat.NewClient, as they are causing issues the current controller setup, as they are not evaluated during static compile.
Closes #506
        dst, err := dstCluster.GetClient(r)
        if err != nil {
                log.Trace(err)
                return nil, err
        }
        dstClient := dst.(*compat.Client)

@dymurray pointed out to me that master is broken right now and this is the potential fix. @Danil-Grigorev sounds like this issue shows up whenever you create a MigPlan, so I will try that to verify I can see the problem and that this fixes it.

\test

\test

Webhooks are down, testing manually.


Preserve original dataprovider's data format

Is possible that I can preserve the original binded ng-model's data format?
For example, when my original model is: ["tag1", "tag2", "tag3"]
After ng-tag-input's process my model is: [{"text": "tag1"}, {"text": " tag2"}, {"text": " tag3"}]
I need a way to prevent ng-tag-imput change the format of my model.
Thanks!

I am looking for this feature as well. I think it's more straight-forward to have a list of string by default.

Would love this too. I agree that it feels more natural to use a plain String array when talking about tags

Sorry for not replying sooner.
ngTagsInput only works with array of objects. It performs a one-time conversion when binding to your model so you don't have to do it yourself. You can easily get an array of strings by doing something like this:
$scope.tags = $scope.tags.map(function(tag) { return tag.text; });

Can this issue be closed?

Closing due to inactivity.


Nostalgia Tweaks Incompatibility

Mod Name
Nostalgia Tweaks
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/nostalgic-tweaks
Describe the bug
Game crashing with mod installed
Steps to reproduce
install the mod
Logs

Additional context
I believe it's interfering with the sinytra-fabric render api but IDK maybe not

edit, here is the same crash but using the fabric version of the api mod it uses, still crashed

after reinstalling the same version of architectury, using the same version of FFI, Forge, and Sinytra, the game doesn't crash. Unsure of how this is even possible but as I am not presently facing an incompatibility, I'm closing the issue


remove crazy site renaming magic

Coverage decreased (-1.3%) to 94.672% when pulling 9695dcd09eef79101e4d779fec8a8c0cee6805e9 on fix/remove-crazy-site-renaming-magic into 079780fa9c0bb72d43dd30e9c17a244ed49bf6ac on develop.


Fix Popup window not close after some time

Closes/fixes #issue
Checklist

[ ] This PR makes changes to the public API

thanks for testing and the fast fix!

thanks for testing and the fast fix!

No problem


Adding new resource type for alerts meta data

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

@tjprescott can you please also sign off the PR as ARM team signed off the changes.

@tjprescott Can you please sign off & merge the PR as ARM team has signed off the changes


[$1000] DEV: Console Error after changing language

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open Settings -> Preferences -> Language
Change the language

Expected Result:
No Console Errors
Actual Result:
Console Errors
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: Main
Reproducible in staging?: dev only
Reproducible in production?: dev only
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/0a50f33f-5ea3-4260-952c-b162925c4542
Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689622361234249
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019f609577c2c19546
Upwork Job ID:<PHONE_NUMBER>986031616
Last Price Increase: 2023-08-01
Automatic offers:

tienifr | Contributor | 26054368

@tienifr are you suggesting that we should consolidate this one into https://github.com/Expensify/App/issues/23208? Thanks for clarifying!

This is reported first we should handle it here!

@Santhosh-Sellavel are you still able to replicate the experience? I tested in Chrome and my Console returns a different number of errors when changing the language.

Yes, this still happens to me try refreshing the page and changing the language, thanks!

Ok, I'll need to test some more tomorrow.

@alexpensifyFYI This can be seen only on Dev

Hey this happens to me on first login in incognito window with a high traffic account. Also it happens after pressing sign out @alexpensify

@daordonez11 are you on dev too or in prod?

I'm on dev too, directly on localhost, since the console error is a props warning you can only see it on dev.

@yuwenmemon - I need help here to test on Dev since I can't replicate on prod/staging. Thanks!

@kaushiktd - this one is still under review. If it is confirmed, then a job will be created for it.

In that case here is my proposal if you guys decide to add bounty!
Please re-state the problem that we are trying to solve in this issue.
DEV: Console Error after changing language
What is the root cause of that problem?

ReactDOM.render is no longer supported in React 18.
This issue is related to core dependencies in the node_modules folder on below path after installing all dependencies.
node_modules/react-dom/cjs/react-dom.development.js line#86

Failed prop type: Invalid prop priorityMode of value gsd supplied to SidebarLinks, expected one of ["compact","default"].

Failed prop type: Invalid prop forwardedRef supplied to withOnyx(Component).

What changes do you think we should make in order to solve the problem?
For point 1, you need to comment out line#86 below file, or need to create a patch file.
node_modules/react-dom/cjs/react-dom.development.js line#86
Function.prototype.apply.call(console[level], console, argsWithFormat);
For Point 2, this error need to pass priorityMode value to be compact or default. You need to change in below file
https://github.com/Expensify/App/blob/main/src/pages/home/sidebar/SidebarLinksData.js#L93 replace with below code
priorityMode={priorityMode === CONST.PRIORITY_MODE.GSD ? CONST.OPTION_MODE.COMPACT : CONST.OPTION_MODE.DEFAULT} //code need to change
For Point 3, the issue occurs beacuse forwardedRef value is null to solve this issue you have create a variable and set it in ref in below file
https://github.com/Expensify/App/blob/main/src/components/withNavigationFocus.js
const ref = props.forwardedRef === null ? false : props.forwardedRef;
return (
<WrappedComponent
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
ref={props.ref}//add here
isFocused={isFocused}
/>
);

Video:
https://drive.google.com/file/d/1pVZy925RkNQrAwtO5MFpWTBA2KDkhGwD/view?usp=drive_link

@yuwenmemon - were you able to test this one on Dev? Thanks!

@MonilBhavsar - I need help testing on DEV. Yuwen is OOO until mid-August and don't want to delay this one. Thanks for helping test here!

Reproducible on dev. If this is recently introduced, then I think we can ask the author to make a follow up fix.

Thank you @MonilBhavsar for confirming! I've added the external label. @mananjadhav can you please review the proposals and identify if one will correct the issue here? Thank you!

Allow me a day to review. I'll reproduce, check the console errors and then review the proposals. Thanks for the patience here.

Thank you @mananjadhav for the update!

Was assigned only yesterday. I'll take a look at the issue tomorrow.

Okay so I tried reproduce this. I don't think we should be fixing Warning: ReactDOM.render is no longer supported in React 18. error.
I don't see the second console error about priorityMode.
But I see two errors forwardedRef for withOnyx and wihNavigation. @kaushiktd Could you explain why these references are null? and could've have updated references instead of handling these false?

Sure, @mananjadhav
const ref = props.forwardedRef === null ? false : props.forwardedRef;
return (
<WrappedComponent
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
ref={props.ref}//add here
isFocused={isFocused}
/>
);

We cannot give any other value than props to the ref variable, and it returns null by default. If we try to send a static value, we get issues, thus to address this problem, we need to set the value to false if the value is null, else the value of props.ref receives forwardedRef.

@mananjadhav when you get a chance, can you please review the updated proposals? Thanks!

Thanks for the proposal @tienifr. Your proposal looks good.
🎀 👀 🎀 C+ Reviewed.

@mananjadhav I recently tested the above proposal by tienifr. Changed the forwardedRef value in both withOnyx.js and withNavigation.js, it is not working and continues to produce the problem. See here,
https://drive.google.com/file/d/1MPDMGTqigiB-2ceXt9ECntNkgK0FymQt/view?usp=sharing
If you change the withNavigation.js file, you may get issues in other files.
In this case, the forwardedRef.current value is null and does not satisfy the criterion that PropTypes is any object or anything else, so we must check the condition listed below, as indicated in my proposal.
https://github.com/Expensify/App/issues/23201#issuecomment-1654939786

I've already check with re build dist folder. It didn't work still for me.

In your attached video files, you erased all console logs before changing languages to hide the error. You need to reload the page and check again without clearing any current errors. The error will be displayed.

@deetergp - can you please review the proposal and the feedback? Thanks!

I haven't read this issue so closely but seems like the fix for this issue might fix this one too

How about @kushu7 fixing react-native-onyx and @tienifr fixing app console errors?

@aimane-chnaif yes I agree we can do that

How about @kushu7 fixing react-native-onyx and @tienifr fixing app console errors?

I agree, that sounds like a good plan 👍

@mananjadhav, @deetergp, and @hayata-suenaga - please confirm who we are assigning this GH to or are we putting it on hold until https://github.com/Expensify/App/issues/22929 is in production? Thanks!

@aimane-chnaif so I should assign @tienifr in #22929 too with @kushu7 ?

thank you for the confirmation 🙂 are we closing this issue?

sorry wrong issue assigning Tienifr to the other issue https://github.com/Expensify/App/issues/22929

sorry sorry this is a mistake 🙇 @tienifr please go to https://github.com/Expensify/App/issues/22929 I assigned you there

@mananjadhav and @deetergp - it looks like the party is happening in https://github.com/Expensify/App/issues/22929, let me know if you agree with @aimane-chnaif and I'll close this one. Thanks!

Looks like yes it would be fixed with #22929.

Agreed! I think we can go ahead and close this one out.

I've closed the job in upwork too

Here is the payment summary:

External issue reporter - N/A
Contributor that fixed the issue - N/A
Contributor+ that helped on the issue and/or PR - @mananjadhav $500

Upwork Job: N/A
*If applicable, the bonuses will be applied on the final payment
Extra Notes regarding payment: There was a discussion here: https://expensify.slack.com/archives/C02NK2DQWUX/p1692376106935809. @mananjadhav was part of the review process and there should be a partial payment for the reviews.
cc: @JmillsExpensify and @anmurali

Reviewed the details for @mananjadhav. $500 approved for payment via NewDot.


OLS-757: Enable prefetch build for the service

Description
Enable prefetch build for the service
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue #OLS-757

/retest

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

Project coverage is 94.82%. Comparing base (d3076b3) to head (92d7642).
Report is 58 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1549      +/-   ##
==========================================
+ Coverage   94.75%   94.82%   +0.07%
==========================================
  Files          59       60       +1
  Lines        2631     2669      +38
==========================================
+ Hits         2493     2531      +38
  Misses        138      138

/retest

/retest

/retest

/lgtm

/approve

/override "Red Hat Konflux / lightspeed-service-on-pull-request"


Automated Email System added

Project-Guidance! 🎊🎈
Welcome! 🎉
Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[x] YES
[ ] NO

📝 Description
Added Automated Email Sending system
🔧 Fixes #1407  (Required)

🏷 Initiative Participation (Required)
This pull request is associated with the following initiative. Please choose the one you are contributing to:

[ ] 🌸 GSSoC (Girl Script Summer of Code)
[x] 🌼 GSSoC 2024 Extd.
[ ] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

ok I don't know what happened, but apparently it says I have changed 92 files...


Systemically download gene regions

Hi gnomAD browser support team,
Is there any way to Systemically download all the gene regions used in gnomAD platform? How gnomAD handle multiple transcripts for each gene?
Thanks.
Shicheng

Hi @Shicheng-Guo,
Those regions are taken from the start and end fields of gene features in GENCODE GTF files (GENCODE v35 for gnomAD v3.1 and GENCODE v19 for gnomAD v2.1).


Add search feature to SPCR

📝 Provide a description of the new feature
We need to port over the search function from the main branch
➕ Additional Information
Originally implemented in this PR: https://github.com/spicetify/spicetify-marketplace/pull/181

Fixed in 1332b9e1285a85556956658a64b163e70c420cc9


fixed a spelling error

Spelling error fixed in 1-Introduction/3-fairness/readme file
Stereotypying: betweem -> between

Vn V


Error message every time I drag and drop Pages in Tree view

Description
Every time I drag and drop Pages within the Tree View, I get an error message (but the change still happens).
Steps to reproduce

Create some pages
Drag and Drop the order of the page
See error

Details

Browser: Chrome
Operating system: Mac
Environment: Staging
Language: EN

Expected behaviour
Shouldn't be receiving an error message every time I move pages around in Tree View.
Screenshots or videos
Private Zenhub Video

Happens when I had Show/Hide rules across pages and attempted to move around pages.
When I removed the Show/Hide rules across pages, error didn't occur.

Actually closing this one out, going to test a bit more to understand that flow


PerformanceOverlay Engine on mojo shell is not accurate

Doesn't accurately reflect frame rate as defined by called to frameBegin.

Yeah, it's not clear how to measure this quantity accurately on Mozart.  We might be able to do something with MGLEcho that would be a good approximation.

I think this is obsolete.


Not possible to enter a extension manually.

Hi.
How can i enter a extension on a custom position? If i see it right, the extension get automatically added after 11 digits (german) of the main number. Is it possible to "start" the extension before?
For example i have a number for like +49 221 1234-0
-0 is the main incoming number for a company for example
-10 is staff member x
-20 is staff member y
it would be nice to declare the ext. by the user himself for shorter numbers.
For optical benefits inside of a contact form for example
+49 221 1234 ext. 0
+49 221 1234 ext. 10
+49 221 1234 ext. 20
The input field can react to an 'e' char or on a '#' like libphonenumber in e164 formattion do.
Thanks Rizzi

Hi there, it's an interesting idea. The way the current extension formatting is handled is: if allowExtensions option is enabled, and the user types a "full" number for the currently selected country, then the next character key they press will add the "ext." suffix, and then after that they can add as many numeric digits as they want.
The magic is in the way we determine if the number is "full", which is currently quite hacky: I use libphonenumber's AsYouTypeFormatter and add all the digits of the current number, and then: if adding one more digit would result in a string with all formatting removed, then I assume that means the current number is a "full" phone number (adding one more digit would result in an invalid number).
So if you can find a way to adapt this to allow an extension to be added at any point, then I'm open to pull requests, but I suspect it would be very difficult (esp. with the new proposal of allowing any extension suffix - how do you know which key to listen for to trigger the extension?). It may even be impossible without some changes to libphonenumber, but I'm sure they're open to suggestions that people would find useful.

Closing due to inactivity.


Add verify collection instruction

When we create a nft and add it to a collection , this instruction can verify the nft as the member of the collection.

thank you! do you mind add some tests for them and share the IDL that you're referring to?

Alright, will do.

@yihau The test case was added, pls review it.
The instruction I added has been test in my app, it can work smoothly.
This is the tx: https://solscan.io/tx/4SvvuBMxfcDo1hTYjxKy1ArJed5sEYQHydeLoZKVC7rqNUwjuFSYWgfWcuMKBdd17FVy1zLAnxG5dYWN3ypfkYFG?cluster=devnet

About the IDL, I don't know what is the format standard i should share.  I just read the code from mpl token ts code and the IDL definition is in this file:
https://github.com/metaplex-foundation/mpl-token-metadata/blob/main/idls/token_metadata.json
the Instruction is:     "VerifyCollection"
If there is any other requirement, pls feel free to let me know.

it looks like we lack an option account, collectionAuthorityRecord but I think we can have another PR to fix it. thank you for your contribution!


Fix: mxpc throws an error because parameter clustertag is unknown

Hi,
I could not connect my cluster to the Mendix for Private Cloud Platform when deploying this solution.
I did some research in the logs and found the root cause in the parameter clusterTag because it does not exist (anymore?) in mxpc-cli. After I removed the paramter I was able to connect to the Mendix platform as expected.
Therefore my suggestion would be to remote this parameter.
Best,
Hendrik

Hi @henobi. The clusterTag parameter was added to mxpc-cli starting from version 2.11.0 and is still present in the latest version. This parameter is hidden.
Is there a chance that you tried to use a version of mxpc-cli older than 2.11.0?
Also, is it possible to share the error log message?

Hello @walkline,
thank you for answer! I tried to reproduce the issue with version 2.14.0 and can confirm that it is working.
Initially, I used the code from the example folder with the default version in the code which is 2.10.0: https://github.com/aws-ia/terraform-aws-mendix-private-cloud/blob/main/examples/basic/variables.tf#L29
So that explains why it was not working.
What do you think about setting the version to 2.14.0 here?

https://github.com/aws-ia/terraform-aws-mendix-private-cloud/blob/main/examples/basic/variables.tf#L29
https://github.com/aws-ia/terraform-aws-mendix-private-cloud/blob/d299dfc2066e023dd2d76ee7f0942ec46e5b1797/variables.tf#L46
https://github.com/aws-ia/terraform-aws-mendix-private-cloud/blob/d299dfc2066e023dd2d76ee7f0942ec46e5b1797/test/examples_basic_test.go

Best regards,
Hendrik


fix #1912

By default the values are now hidden and you have to click on a "values" button so they are shown, see image below. This changed hit https://github.com/twbs/bootstrap/issues/12593 so had to upgrade bootstrap.

Coverage decreased (-0.06%) to 84.012% when pulling cb616de23fb7d40bf01c66728440ef48d1e648ef on antgonza:issue-1912 into 711ca78224960598498d183fc408a48ecfd7d323 on biocore:master.

I'm curious - what changed in the css files (the diff is too big to view).

@mortonjt, sorry, didn't see your comment while I was reviewing and merged. My bad! As @antgonza points out in his opening message, he updated bootstrap to deal with a bug that was introduced as part of these changes.

Oh ok.  I think it is good then.


target-device handset still has iPad enabled using ionic package

What version of the CLI are you using? Output of ionic --version
2.2.2
Short description of the problem:
Setting <preference name="target-device" value="handset"/> on config.xml and running ionic package build ios generates a binary with iPad enabled
What behavior are you expecting?
Setting target-device handset to only enable iPhone and iPod Touch, while iPad remains disabled
Steps to reproduce:

Add <preference name="target-device" value="handset"/> to config.xml
Build using ionic package build ios and the appropriate profile
Load generated .ipa to iTunes Connect
Try to publish the app to the App Store without iPad screenshots. The publish will fail.

Post the output of ionic info below please
Your system information:
ordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.2
Xcode version: Not installed
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Thanks for posting your issue. Unfortunately, this repo is reserved for bug reports and feature requests of the Ionic CLI. For Ionic Services support, please file a ticket here.


Enhancing typescript safety in model class by removing generic property declaration

Environment
No response
Reproduction
I don't think we need a reproduction link for this
Describe the bug
The Model class has this line [s: keyof ModelFields]: any;, which I think is problematic because it allows us to use any property of the model without typescript errors. I think we should remove this line. Is there a specific reason for keeping it?
For example for this Foo model, we should get this ts error: Property 'bar' does not exist on type 'Foo'..., while in the example, bar is typed as any
export class Foo extends Model {
  @Uid() id!: number;
}

const foo = new Foo();
foo.bar; //  typed as any

Current behavior

Expected behavior

Additional context
I'm putting this issue here for discussion, but I can tackle this task if needed 😁
Logs
No response

Good Question. I don't know yet. I am not a typescript pro. I try to play with your idea to see if maybe i get any caveats.

Thank you!
I've already quickly tested removing that line to see if there was anything blocking, and I didn't find anything special. If you need help with that, I'd be happy to offer a PR when I have some time 😁


Check if there is enough free space

hi,
i'am using your library to download some file( 5-10 MB) and i want to check if there is enough free space before starting download is this possible or i sould check this in progress
and how to stop a download in case there is no space

Year,  you don't need to check, but you will receive error call-back on FileDownloadListener when there is no enough free space to write buffers, on the current version(0.2.0).

Thanks for your reminder, On the next version, I will throw error call-back directly when checking out the free space is less than content-length before start fetch datum for NON 'Chunked transfer encoding' one.

it's useful.

Enhanced in v0.2.1.


chore: Pull noir

Please read contributing guidelines and remove this line.

superceded by https://github.com/AztecProtocol/aztec-packages/pull/4546


RStudio webserver security issue

Is it a potential security issue to run RStudio on a local port (which accidentally could be open in a LAN/WAN? Mention this issue? Or tell people not to use 8787 but a number they come up with?

That is indeed a critical security issue:
https://www.tripwire.com/state-of-security/devops/psa-beware-exposing-ports-docker/
So you are correct in your guess that this port is opened to the network of the user.
I think we can mitigate the issue with this answer:
https://superuser.com/questions/1171108/expose-docker-port-internally

@brandmaier do you think this is enough?

Could @brandmaier  you check that you can run
docker run -e PASSWORD=test -p <IP_ADDRESS>:8787:8787 reproducible-research
and then connect via web-browser?

Confirm that this works on macOS.


Device Request - [Zigbee MotionSensor] - [_TZE200_3towulqd] / [TS0601]

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device

Device Name: [Zigbee MotionSensor]
Device Model: [ZG-204ZL/ZG-204Z]
Device Description: [PIR sensor]
Link to device image: [https://www.aliexpress.com/item/1005006156805435.html?spm=a2g0o.order_list.order_list_main.47.632118022GGMQg]
Device Interview:
[
"ids": {
"modelId": "TS0601",
"manufacturerName": "_TZE200_3towulqd"
},
"endpoints": {
"ieeeAddress": "a4:c1:38:39:f3:df:15:a0",
"networkAddress": 26813,
"modelId": "TS0601",
"manufacturerName": "_TZE200_3towulqd",
"endpointDescriptors": [
{
"status": "SUCCESS",
"nwkAddrOfInterest": 26813,
"_reserved": 16,
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 1026,
"applicationDeviceVersion": 0,
"_reserved1": 1,
"inputClusters": [
0,
1280,
1,
1024
],
"outputClusters": []
}
],
"deviceType": "enddevice",
"receiveWhenIdle": false,
"swBuildId": "0122052017",
"capabilities": {
"alternatePANCoordinator": false,
"deviceType": false,
"powerSourceMains": false,
"receiveWhenIdle": false,
"security": false,
"allocateAddress": true
},
"extendedEndpointDescriptors": {
"1": {
"clusters": {
"basic": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "zclVersion"
},
{
"acl": [
"readable"
],
"id": 1,
"name": "appVersion"
},
{
"acl": [
"readable"
],
"id": 2,
"name": "stackVersion"
},
{
"acl": [
"readable"
],
"id": 3,
"name": "hwVersion"
},
{
"acl": [
"readable"
],
"id": 4,
"name": "manufacturerName"
},
{
"acl": [
"readable"
],
"id": 5,
"name": "modelId"
},
{
"acl": [
"readable"
],
"id": 7,
"name": "powerSource"
},
{
"acl": [
"readable",
"writable"
],
"id": 18,
"name": "deviceEnabled"
},
{
"acl": [
"readable"
],
"id": 16384,
"name": "swBuildId"
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision"
},
{
"acl": [
"readable"
],
"id": 65534,
"name": "attributeReportingStatus"
}
]
},
"iasZone": {
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"powerConfiguration": {
"attributes": [
{
"acl": [
"readable"
],
"id": 32,
"name": "batteryVoltage",
"value": 30
},
{
"acl": [
"readable"
],
"id": 33,
"name": "batteryPercentageRemaining",
"value": 200
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"illuminanceMeasurement": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "measuredValue",
"value": 1000
},
{
"acl": [
"readable"
],
"id": 1,
"name": "minMeasuredValue",
"value": 0
},
{
"acl": [
"readable"
],
"id": 2,
"name": "maxMeasuredValue",
"value": 4000
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {}
}
}
}]
Additional Comments:
[Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help]
How to interview a device:

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want added. Thank you for your contribution!

Added to next release, thanks to @demyvdj 😎


Support Mongodb v6

Mongodb v6 has been released (https://www.npmjs.com/package/mongodb) and the package.json here needs to be updated to allow it as a peerDependency

available in v2.5.5 https://github.com/cdimascio/uuid-mongodb/pull/87


Heatmap

Made a toggle for switching the map from heatmap style back to the default style and vice versa.
Signed-off-by: Thien Vo<EMAIL_ADDRESS>

Can you remove the .DS_Store files from this pull request? They are automatically generated files from a Mac, and they shouldn't be checked in to the repository.

@thv92 We can add .DS_Store to the root .gitignore.

I've alphabetized and added .DS_Store to the root .gitignore and also the .gitignore inside geomesa_ui.


PowerImage增加Kotlin和Swift工程的接入示例

1.工程侧增加Kotlin和Swift的Example。
2.ReadMe增加Kotlin和Swift的接入方式。

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: luckysmg:x: ksballetbaYou have signed the CLA already but the status is still pending? Let us recheck it.


Bake cast.ai in as an option to replace Karpenter and VPA, etc..

is already merged into the main.


Check failed: vm. Must be able to initialize the VM.

The ios simulator runs normally, and the Iphone runs with an error as follows:
2020-02-17 22:23:21.918725+0800 Runner[11391:3540391] [VERBOSE-2:dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings.
2020-02-17 22:23:21.918834+0800 Runner[11391:3540391] [VERBOSE-2:dart_vm.cc(241)] Could not setup VM data to bootstrap the VM from.
2020-02-17 22:23:21.918878+0800 Runner[11391:3540391] [VERBOSE-2:dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
2020-02-17 22:23:21.919438+0800 Runner[11391:3540391] [VERBOSE-3:shell.cc(234)] Check failed: vm. Must be able to initialize the VM.
 Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale zh-Hans-CN)
    • Flutter version 1.12.13+hotfix.8 at /Users/chenliangchenliang/Flutter/flutter
    • Framework revision 0b8abb4724 (6 days ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/chenliangchenliang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.7.0

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

Duplicate of #49286 Error Comment


New paper model release

Hi! I wonder if you have plan to share model weight of your new paper at huggingface?

Can you share the link?

The weights for DINOv2 w/ registers have been available (almost) since release in Hugging Face's TIMM library. As for DINOv2 weights published on the Hugging Face Hub, we (DINO) are not behind the ones that have previously been exposed through the facebook organization, I believe Hugging Face staff made them available.


Add provided scope dependency resolution

Is this something that's ok to do? It seems like people (myself included) really want this.

Bump :(


Hierarchical annotation behavior

Annotations such as null value (to be determined) may be specified at multiple levels of the catalog - schema - table - column hierarchy. We need a pattern for how we decide which annotation value is defined at the level of interest. I.e., clients wants to know if a column should be shown when its values are null, the annotation api should interpreted at the higher levels of the hierarchy and the api should decide which final value overrides upper levels.

Open question is whether we can apply the same logic across different annotations. E.g., can we handle the null/sparse annotation hierarchy in the same way as the ignore annotation?

Also consider the draft I just added to 2015:display where I discuss hierarchy.  I think what I specified is intuitive to a user but requires more complex processing support.  Rather than a whole annotation payload overriding a whole annotation payload, I'm suggesting field-by-field override in this case.
I think that implementation support for this would require an explicit policy table to define how to compute overrides for specific annotation URI keys.

I had been thinking about this too. We need to take a step back and decide whether its something that should be handled on a per-annotation basis. I’d rather not have a policy table have to describe this, and yet I agree and understand that whole annotation replacement (blindly) is not the right answer either. It could be this issue should be closed and handled per-annotation, if there’s no uniform way of doing it anyway.
From: Karl Czajkowski<EMAIL_ADDRESS>Reply-To: informatics-isi-edu/ermrestjs<EMAIL_ADDRESS>Date: Wednesday, June 22, 2016 at 6:37 PM
To: informatics-isi-edu/ermrestjs<EMAIL_ADDRESS>Cc: Robert Schuler<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [informatics-isi-edu/ermrestjs] Hierarchical annotation behavior (#53)
Also consider the draft I just added to 2015:display where I discuss hierarchy. I think what I specified is intuitive to a user but requires more complex processing support. Rather than a whole annotation payload overriding a whole annotation payload, I'm suggesting field-by-field override in this case.
I think that implementation support for this would require an explicit policy table to define how to compute overrides for specific annotation URI keys.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/informatics-isi-edu/ermrestjs/issues/53#issuecomment-227926595, or mute the threadhttps://github.com/notifications/unsubscribe/AEAhWvMn5MsiEx3zRL6DR82GLb297Rotks5qOeNBgaJpZM4I7Ag_.

I think this issue is subsumed by other things we are doing like the contextualize interface. And the 'hierarchical' logic is not necessarily a general thing but specific to the interpretation and heuristics of individual annotations.
But please re-open if you disagree.


about bugs:  0xA9FE0000

about bugs:  0xA9FE0000
xcode will show this error: Integer literal overflows when stored into 'Int'
fixed in this way:
change row 102
    localWifiAddress.sin_addr.s_addr = in_addr_t(Int64(0xA9FE0000).bigEndian)

to:
var iDef: __uint32_t = 0xA9FE0000
localWifiAddress.sin_addr.s_addr = in_addr_t(iDef)

I encountered this same problem when running the simulator for iPhone 4s.  This may be a 32-bit processor issue.  The workaround described above fixes it.

I have the same issue as well.  The solution from @WinEIM also worked for me.

Thanks all for the heads up. I've just pushed a change that should resolve this issue.


Made By, Made With and Found By element leaderboard

For funny

Added with f3674ac (NB made by is the same as found by 🤦♂)


Website Operational, Monitor Indicates DOWN

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
My websites, which are using Cloudflare DNS, appear as 'DOWN' on Uptime Kuma with a 'Request failed with status code 403' error, despite their operational status.
📝 Error Message(s) or Log
Request failed with status code 403
🐻 Uptime-Kuma Version
1.23.3
💻 Operating System and Arch
Debian 12
🌐 Browser
Google Chrome
🐋 Docker Version
Docker version 20.10.24+dfsg1, build 297e128
🟩 NodeJS Version
No response

Uptime Kuma Instance: https://status.polido.pt/status/services

I am using HTTPS monitors.

If it's relevant, all the websites under monitoring utilize Cloudflare Tunnels, so does the Uptime Kuma instance mentioned here: https://status.polido.pt/status/services

To address the issue, I resolved it by taking the following steps:
Identified the Issue: I noticed that the websites were showing as 'DOWN' due to Bot Fight Mode being enabled in Cloudflare. I found evidence of this in the firewall events, which indicated that the monitoring agent was being challenged.
Filtered User Agent and IP Address: To resolve the problem, I filtered the user agent 'Uptime-Kuma/1.23.3' and the IP address <IP_ADDRESS> in Cloudflare's firewall settings. This effectively whitelisted the monitoring agent, allowing it to access the websites without interference.
With the IP address and user agent filtered, I can now keep Bot Fight Mode enabled without any issues.
By implementing these changes, I successfully resolved the issue, and the websites now report their operational status accurately.
Firewall Events Activity logs:

I temporarily disabled Bot Fight Mode, which resolved the issue. However, I prefer to have it enabled for security reasons.
So i checked out my firewall logs and saw this:

I have created custom rules to allow the specific User-Agent and IP Address associated with Uptime Kuma, and re-enabled Bot Fight Mode. Oddly, the websites are once again inaccessible for monitoring purposes.
Am I missing something in my custom rule configuration? Are there additional User-Agents or IP addresses associated with Uptime Kuma that need to be whitelisted for successful monitoring without disabling Bot Fight Mode?

I temporarily disabled Bot Fight Mode, which resolved the issue. However, I prefer to have it enabled for security reasons. So what can i do to be able to use Uptime Kuma and have Bot Fight Mode enabled?

i already allowed my vps ip which my uptime kuma instance is behing hosted, but with Bot Fight Mode enabled, the monitors still show the Request failed with status code 403 error:

i already allowed my vps ip which my uptime kuma instance is behing hosted, but with Bot Fight Mode enabled, the monitors still show the Request failed with status code 403 error:

Skip all not only custom rules

same results

look at the rule that blocks uptime kuma requests in waf events, you may have other rules

which resolved the issue

I am going to close this issue as likely resolved


white-space issue when using PostgreSQL Wire Protocol

CrateDB version: 3.0.0
Environment description:

Problem description:

I found some difference between v2.3.x and v3.0.0
When using python with postgresql driver (not web API based driver), if there is some white-spaces after semi-colon, crate occurs error.

import psycopg2
conn = psycopg2.connect("dbname='mydb' host='<IP_ADDRESS>' port=5432")
cs = conn.cursor()
cs.execute('select * from table1 limit 1;  ')  # white-space after semi-colon

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
psycopg2.InternalError: SQLParseException: line 1:3: no viable alternative at input '<EOF>'

In 2.3.x version, It worked well.
Sometimes, some python user may use like this (me).
Following case also occurs error, cause new-line charater after semicolon.
if there is no semi-colon, error not occurs.
query = """
select * from table1
where 1=1
order by column1 asc;
"""
cursor.execute(query)

Of course, It's easy to fix in users code by removing white-space or semi-colon.
But I think ignoring white-space is more comfortable to use in this case (just tried single query).
Thanks.
Steps to reproduce:

Use case:
Feature description:

Fixed and will be part of 3.0.1. Thank you for the good description.


eng, update typespec-java to 0.8.9

include feature of "only generate protocol API, if that operation contains Union"

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run java - openai

/azp run java - openai

/azp run java - openai

/azp run java - openai

/azp run java - openai

Will wait for OpenAI to remove the @Generated annotation on convenient API.
    @Generated
    @ServiceMethod(returns = ReturnType.SINGLE)
    public ChatCompletions getChatCompletions(

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-openai

In future (maybe next month), this access PR would get into TCGC https://github.com/Azure/typespec-azure/issues/3322
After that (and the update in emitter), you can write access to some of the models that current skipped (due to Union in API) and have them generated. This should help keeping the model in TypeSpec and SDK in sync.


[BUG] Can't use my keyboard

I'm using a Yamaha Genos and I can chose it in the mod midi list but i can't play note with it.
I tested midi input and everything is working but not with the mod.
Environment :

OS: windows 11
Mod Version: latest
Minecraft Version: 1.20.1

Additional context
Can you add me on discord to see debug steps : @zurdioz

me too i can't play with my keyboard, i've nord electro 6d, in windows 11 OS in 1.20.1 in latest version

me too i can't play with my keyboard, i've nord electro 6d, in windows 11 OS in 1.20.1 in latest version

OK i'm just dumb i've forgot to set device in the device config !

me too i can't play with my keyboard, i've nord electro 6d, in windows 11 OS in 1.20.1 in latest version

OK i'm just dumb i've forgot to set device in the device config !

Does it work now ?

Hello! Apologies for the super late reply. Life got super crazy for awhile and I had pretty much no time for the mod. It sounds like you got things working but please let me know if you have any other issues!
I'm also definitely open to suggestions on ways to simplify or better explain the process of connecting a MIDI keyboard to the mod!

Hello, It’s fine I got things to do too. It’s not working for now but you can contact me on @zurdioz with discord so I can show you. Thx

Sounds good, I should have some time later today or tomorrow to reach out!
In the meantime I just added a new Wiki page for using MIDI Input Devices in version 4.0.0 so feel free to check it out and see if it provides any help:
https://github.com/tofodroid/mimi-mod/wiki/Using-a-MIDI-Device

Hello I don't understand why it doesn't work I did everything good. Can you still contact me on discord, what is yours?

Hello again!
I have just uploaded version 4.0.5 to CurseForge and Modrinth that should hopefully resolve this issue! I found what I think should be a much more reliable way for MIMI to determine the correct audio output device, so fingers crossed this resolves this issue for everyone!
I will also be uploading a 1.20.1-3.1.4 version to CurseForge which will contain this fix and be functionally closer to the version used on Craft2Exile and some other modpacks.
The CurseForge uploads are still processing (can take up to 24hours 😞) but the Modrinth versions are available now!
Let me know if you still have any issues!

Note: Closing as duplicate of https://github.com/tofodroid/mimi-mod/issues/119 . If you still have issues with your keyboard in the latest version please leave a comment on that issue. Thanks for reporting this issue!


Library deploy location is moving in 2019

Just a heads-up, I've received word from the WPILib devs that third-party libraries should be deployed to /usr/local/frc/third-party/lib for next season. This includes the WPILib libraries such as the HAL and wpiutil.

I'm not aware of any changes necessary to start scripts.

Thanks for the information!


Fix property.__set_name__ error message when arguments are invalid

@jopemachine is it still a draft or done?

this seems like its good to go, no?


Code review for LIST method

Unit test results are below

I mentioned this on Slack already, but I did not include code to return a list that filters on:

The type of item, I don't think the DB model has type anymore
Quantity. I realized that it may be better for us to specify a keyword like "RESTOCK" that will return a list of items where quantity < restock level. I can definitely add this in the next sprint if it's sort of too late now. What does everyone else think?

Looks good to me!
As for your point about RESTOCK levels, I think that's a good idea. Would be great to have in Sprint 2 potentially


Add openbsd to the release binaries

Background
I would love to be able to run easeprobe on my OpenBSD server which comes with go 1.17, however easeprobe requires go 1.18+ :sob:
Proposal and Expectation
I was able to cross compile the binary from one of my linux boxes with GOOS=openbsd GOARCH=amd64 but it would be really awesome if there was a release available to download directly from github instead.
Would it be possible to add an openbsd target to the releases of easeprobe  :pleading_face: :pray:
Thank you in advance

Hi Pantelis,
I've built the OpenBSD binaries for amd64/arm64 based on tag v1.3.0. You can download them on the release page now: https://github.com/megaease/easeprobe/releases/tag/v1.3.0
The binary direct link as below:

AMD64: https://github.com/megaease/easeprobe/releases/download/v1.3.0/easeprobe-v1.3.0-openbsd-amd64.tar.gz
ARM64: https://github.com/megaease/easeprobe/releases/download/v1.3.0/easeprobe-v1.3.0-openbsd-arm64.tar.gz

And PR #55 make sure the OpenBSD platform would be included in the next release.
Please have a test and let me know if anything is not expected.
Regards,
Hao

Hi Hao,
Thank you so much.
Just saw the PR :facepalm: sorry you had to go to this trouble to add a single word
In any case I have tested the binary for amd64 and works just fine :+1:
I dont have access to arm64 system at the moment to test but it should also be fine.
Again thank you for taking care of this.
Regards
Pantelis


Suport Bitconnect-QT Staking BCC

Dear Support team,
I have a question about Staking BCC.
Do we need to running the Bitconnect-QT application 24 hours a day?
Does the computer need to run continuously? Or will it automatically run?
Thank you very much

The longer the better.  If you don't leave it up too long, then you may not get most of your payments.  Some people have complained of this on YouTube videos.  If you don't want to do it 24/7, then just treat it like a job.  Open it in the morning like 8 am and close it at 6 pm if you want to save energy.  If it doesn't stay open and synchronized most of the day, it creates problems.

•	Staking doesn't work like mining, as such you are not required to keep your wallet open all the time during your ageing period.
•	The minimum ageing period is 15 days to qualify for staking reward. You will qualify for competing for block rewards after 15 day of ageing period.
•	It is not guaranteed that you will receive your reward after 15 days as it depend on how manycoins you are staking, the more coins the sooner the block is rewarded, less coins can take a longer time to mint but the interest will continue to accrue.


Private registry images are not pulled successully

Rancher versions:
rancher/server:master from Feb26 build
**Docker version: (docker version,docker info preferred)**1.12.6
Steps to Reproduce:

From the rancher UI, add quay private registry and docker registry
Deploy a workload and use an image from the private registry

Results:
The image is not pulled successfully and the workload is deployed

Tested with master. Private registry image is still not pulled. The pod is not deployed:
20m        21m         4         testquay-57d658f587-vzbqz     Pod          spec.containers{testquay}     Warning   Failed                  kubelet, soumyadotesting1   Failed to pull image "quay.io/xyz/testubuntu": rpc error: code = Unknown desc = Error: Status 403 trying to pull repository xyz/testubuntu: "{\"error\": \"Permission Denied\"}"
6m         21m         69        testquay-57d658f587-vzbqz     Pod                                        Warning   FailedSync              kubelet, soumyadotesting1   Error syncing pod
19m        21m         6         testquay-57d658f587-vzbqz     Pod          spec.containers{testquay}     Normal    BackOff                 kubelet, soumyadotesting1   Back-off pulling image "quay.io/xyz/testubuntu"

Tested with master from Feb 28.

Create a cluster
2.From the rancher UI, add quay private registry and docker registry
Deploy a workload and use an image from the private registry

The image is pulled successfully and the workload gets deployed.

Tested with master from Feb 28.

Create a cluster
2.From the rancher UI, add quay private registry and docker registry
Deploy a workload and use an image from the private registry

The image is pulled successfully and the workload gets deployed.

Hi @soumyalj,
can you put an example of the quay or private registry?
I have created a Registry Credential resource on my project namespace
let's say name XXX with address: reg.internal.mydomain.com username and password set,
then I try the pod with the following:
image: https://reg.internal.mydomain.com/myimagebasename/myimage-app-name:version (does not work)

image: reg.internal.mydomain.com/myimagebasename/myimage-app-name:version (does not work)

image: reg.internal.mydomain.com:443/myimagebasename/myimage-app-name:version (does not work)

image: my-regcred-name/my-namespace/myimagebasename/myimage-app-name:version (does not work)

so not sure what to do.. I am running tail on my docker registry pod. and there is no attempt to connect from rancher when deploying my pods.
if I issue the command  #docker login --username=myuser https://reg.internal.mydomain.com login happens and I see in the logs the corresponding logs


Can't load c11y in Docker compose setup after move

As reported here: https://travis-ci.org/semi-technologies/weaviate/builds/529309236#L3795
Seems that the loading of the C11y goes wrong somewhere. Maybe it is not collecting it from the server?

Also: https://travis-ci.org/semi-technologies/weaviate/builds/529289774#L3514

Resolved.


Optimizations to reloader.bash

Please refer to commit messages.
Please test this works as you desire, before merging.

Looking through all of your pending PRs, do you even accept any? Lol If not, let me know, so I can remove the fork. :)

Looking through all of your pending PRs, do you even accept any? Lol If not, let me know, so I can remove the fork. :)

No need to be mean, people contribute here out of their free time and the maintainers are no exception. You have to acknowledge that and to be patient.

Looking through all of your pending PRs, do you even accept any? Lol If not, let me know, so I can remove the fork. :)

No need to be mean, people contribute here out of their free time and the maintainers are no exception. You have to acknowledge that and to be patient.

Erm, I think you completely mis-read what I said. I contribute to projects myself, so I know how it goes. Lol I was just wanted to know whether PRs are even accepted so that I can know whether to clean up my repo list or not, that's all.

Looking through all of your pending PRs, do you even accept any? Lol If not, let me know, so I can remove the fork. :)

No need to be mean, people contribute here out of their free time and the maintainers are no exception. You have to acknowledge that and to be patient.

Erm, I think you completely mis-read or mis-interpreted what I said. I was just wanting to know whether PRs are even accepted so that I can know whether to clean up my repo list or not, that's all. In no way whatsoever was meanness intended.

Oh, sorry for misunderstanding. Of course we are accepting PRs! I think Bash-it is about community- sharing our aliases, plugins and improvements for everyone to use :smile:
You are more than welcome to open up new PRs, and we will take a look when we have the time

Thanks for the PR! As @NoahGorny said, we value contributors!
Out of curiosity, I'm wondering if there any verification of this as an optimization? AFAIK, bash's pattern matching is slower than regex, as it's meant for file globbing, not string matching.

Thanks for the PR! As @NoahGorny said, we value contributors!
Out of curiosity, I'm wondering if there any verification of this as an optimization? AFAIK, bash's pattern matching is slower than regex, as it's meant for file globbing, not string matching.

All I can offer is my observation over the years, in that using glob pattern matching has been faster; as a result, I only opt for REGEX when I'm actually needing it, otherwise I'll just use glob. The more data I've processed with each, the more apparent the difference seems.
As I understand it, there's glob pattern matching and glob filename pattern matching, where the latter is for matching filenames and the former is just simply matching patterns, such as in a case statement. I couldn't find a decent reference point in the BASH man page and I can't remember where the relevant info is.
If you are really curious, you could benchmark with each on a large amount of data to see which is more performant for you, using the time keyword.
To put it into different context: in Perl, using REGEX is often understood to be slower than if you were to use a simpler method of pattern matching, such as glob(). I fully expect the same concept in other languages, too.
I decided to time it again, as it's been a while. I processed a 6.1MB database (Linux Mint user-submitted package reviews) with over 57k (long) lines, using REGEX (=~) and the same thing with glob pattern matching (==). There was a difference of around 100ms. Obviously, this isn't going to be Earth-shattering in bash-it, but there you go.

well done @terminalforlife !
Looking forward for more contributions :smile:


WIP: New buffer allocation strategy for ResponseWriter that limits the amount of memory allocated

New buffer allocation strategy for ResponseWriter that limits the amount of memory allocated. If memory limit is reached, it uses an exponential backoff strategy to sleep (block) for a few millis to give Netty the chance to send/free some buffers. New test. PR based on some code from @danielkec.

@danielkec is working on an alternative approach. I will leave this PR open for now.


"Pruning" data for optimizing amount of FHIR resources on device

Is your feature request related to a problem? Please describe.
FHIR generates a lot of resources compared to more traditional digital health tools that have an entity-event data model.  To help support use cases where we want to store patient data for 1000's of patients on a device we will want to develop strategies for optimizing what resources should be stored on device and what resources can be kept in cloud.  Note: We have to work in contexts where devices may be offline for long periods of time and it won't be able to fetch patient data.
Describe the solution you'd like
The ability to configure logic for different strategies of what data should be kept on device in the long term.
For example, it would probably be possible to delete QRs off the device after a few days (edit data window) assuming the key data from that QR was extracted to patient resources.
I think how this is configured can depend on the connectivity and expected usage patterns.
For example, if the device is intended to support a large facility (lots of patients) but with good connectivity - we can take a strategy where we don't store data perhaps from prior care plans which can be fetched on demand.  In this case, only the most active data would be stored on device.  In some clinical work flows if you just need to look up a patient, potentially almost all data can be stored in the cloud outside of the patient data and potentially an observation or two representing the patients status.

this is handled in #1487 which is included in the next release
@mberg - i'm closing this because with the purge api this becomes an app decision. please feel free to reopen if the api doesn't meet you needs.


add option to unselect MSS images for LLR composite step

For those areas where MSS L1T images are not available, it will be helpful an option in the mixel function which permit to select that there is not a folder with MSS images.

Great idea! I've made the change in release 0.2.5-beta. To download and install please visit:
http://landsatlinkr.jdbcode.com/download.html
I did a small test and it worked, please help me test it further and send any errors messages you get.


Client Allocation Request for: renderhelp

Client Allocation Questions
Core Information

Name: renderhelp
Website / Social Media: http://www.renderhelp.com
Region: Greater China Region
DataCap Requested: 3TiB
Addresses to be Notarized: f17tfc4dkjfohvwwzlwnf5xuhqascym27puurrxea
Notary Requested: neogeweb3

@Cats-On-Mars Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@Cats-On-Mars Hi! Can you introduce your institution and project a little bit? Can't tell how you can apply the dataset from your website.

Hey, thanks for the request. I have some questions regarding your request. Please describe answers as much specificity as you can.

Can you introduce yourself? Where can I find you online? (Github, Twitter, Linkedin handle, Wechat, etc.)
If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?
In which region(s) do you intend to use the DataCap?
What is your use case for the DataCap being requested?
Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.
How many miners do you plan on allocating the DataCap? If you have a specific miner(s) you would like to allocate a DataCap, please specify.
Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair (20% of DataCap allocation) self-dealing?

Moreover, I encourage you to take a look of my allocation strategy  and flow which shows how I utilize the assessment. Thanks.

Hello, I'm so glad to receive your raply.

I'm a member representing the company Shanghai IThelp Network Technology Co.
My Wechat: qtum_rose
Shanghai IThelp Network Technology Co. is dedicated to integrating existing resources for users, from basic system
maintenance, system integration, rendering number crunching to development advancement, we have our own unique and perfect solutions.
IThelp Render Farm(http://www.renderhelp.com/index.html) is a platform with commercial cluster rendering capabilities, capable of developing specialized rendering solutions and writing special rendering control scripts according to the multiple rendering needs of different customers.
Registration country: China
Time since inception: 2004-02-16
Named officers: Du Haineng
I intend to use the DataCap in China, USA and Vietnam etc.
I will use datacap to store the rendered data

I won't.
I will allocate to as many miners as possible. I have the intention to allocate to specific miners, but it is not confirmed yet, which depends on how well the cooperation goes afterwards.
Yes, I can provide execution details if necessary.

@neogeweb3 Hello, I have submitted the detailed information, Please let me know as soon as you take the review. Thanks!

Hey @Cats-On-Mars, thanks for waiting.  Can you provide some proof that you are working for Shanghai IThelp Network Technology Co..? What is the best email I could reach out to you, I will need a work email under the domain http://www.renderhelp.com/

Sure. This is my email address<EMAIL_ADDRESS>

Do you own the domain ithelp.cn as well? The ithelp.cn says "The website has not obtained an ICP filing according to the law of the Ministry of Industry and Information Technology of the People's Republic of China." Is there another way I could verify your identity?


bug: Folds are not opening if caret is not moving.

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.1
Operating system/version
Linux Fedora
Describe the bug
When a fold is closed moving the caret left or right will open the fold which is good behavior but the fold won't open if l is pressed while the caret is already at the end of the line (similarly the fold won't open if h is pressed while the caret is at the beginning of the line) because it's not considered as a caret move, however this should be extended to simply h and l press, regardless the caret position (especially because when a fold is closed the caret is shown at the beginning of the line no matter what, which makes it difficult to determine which way to go to open the fold).
Here's a video of the current behavior:
https://github.com/user-attachments/assets/9fb5ea86-a915-471a-9ee6-62c5067ae812
(keystrokes can be seen in the bottom right corner of the video.)
Steps To Reproduce
Working steps:

go at the first line of any open fold
place the caret at the beggining of the line (0)
close the fold using zc
press l - this should open the fold again

Failing steps:

go at the first line of any open fold
place the caret at the end of the line ($)
close the fold using zc
press l - this should but doesn't open the fold again

Expected Behavior
Folds should open when h or l is pressed.
Repro
No response

That is default Neovim behavior, nothing to do with LazyVim. l and h are default Neovim mappings for folds.
Minimal repro without LazyVim
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
	vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
-- local lazypath = vim.fn.expand("~/projects/plugins/lazy.nvim/")
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

vim.opt.ignorecase = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.foldexpr = "v:lua.vim.treesitter.foldexpr()"
vim.opt.foldmethod = "expr"

vim.g.mapleader = " "

-- install plugins
local plugins = {
	{ "folke/tokyonight.nvim" },
	{
		"nvim-treesitter/nvim-treesitter",
		build = ":TSUpdate",
		opts = {
			ensure_installed = {
				"lua",
			},
		},
		config = function(_, opts)
			require("nvim-treesitter.configs").setup(opts)
		end,
	},
	-- add any other plugins here
}
require("lazy").setup(plugins, {
	root = root .. "/plugins",
	dev = {
		path = "~/projects/plugins/",
	},
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

If you wish for these mappings to behave like how you want, you'd better create a feature request in Neovim repo. LazyVim just uses the folds in its custom statuscolumn, but doesn't set any mappings for folds.

Maybe I should have used the tag feature request here. Why couldn't this just be an improvement from LazyVim over the default behavior?
I am not a configuration wizard but isn't it just a matter of adding two new maps in keymaps.lua? such as:
map("n", "h", "<Cmd>foldopen<Cr>")
map("n", "l", "<Cmd>foldopen<Cr>")

Of course the above will show an error message if there are no folds under the cursor but again I'm no wizard but there could be an easy way to check that.

Here's the code if anyone interested:
local function open_fold_if_exists(direction)
  if vim.fn.foldlevel(".") > 0 then
    return "zo" .. direction
  else
    return direction
  end
end

map("n", "h", function()
  return open_fold_if_exists("h")
end, { expr = true, silent = true })
map("n", "l", function()
  return open_fold_if_exists("l")
end, { expr = true, silent = true })

You can use foldclosed() instead of foldlevel(), which only returns a positive number when a fold is closed, whereas foldlevel() will still return the nested level even if a fold is open. This way you can also omit direction in the if branch.

@dpetka2001 Thanks, I made a PR, since this ticket was closed not sure if you guys are interested, but it's there.

@vdegenne I'm just a simple user like you who just tries to help people. It's up to the maintainer to review your PR. I have no say whatsoever.


Test for content in a custom table cell view

I am using a custom cell class in a table cell and passing it state.
Here is my table cell view:
class CustomCell < PM::TableViewCell
  def state=(state)
    build_initial_view unless view_built? # Lay out view unless already laid out
    find(contentView).tap do |c|
      c.find(:label).data(state[:key]) if state[:key] # Pass state to views
    end
  end

  def view_built?
    @view_built
  end

  def build_initial_view
    find(contentView).tap do |c|
      c.append(UILabel, :label)
    end
    @view_built = true
  end
end

In my spec I can then set my view's state by doing something like this:
describe CustomCell do
  def cell
    @cell ||= CustomCell.new
  end

  def default_state
    {  key: "value"  }
  end

  before do
    cell.state = default_state # Setting state
  end

  after do
    @cell = nil
  end
end

What I am trying to do is then test for content like this:
it "has content" do
  cell.find(:label).data.should == "value"
end

When I run my spec I get this error:
  CustomCell has content: FAILED - [].==("value") failed

Any other ways of trying to find the view have failed as well. I either get nil or an empty array as in the above error.
My question is, how can I check that my views have the correct data in my view spec?

I think @jamonholmgren mentioned this, I can poke around a bit at it when I get some free time.
you should be able to use rmq_build for the initial state stuff too - unless I am overlooking something.
In any event I plan to throw together a quick app and test this out, see if I can reproduce it, and then try and figure out whats going on here - thanks for reporting it @carlinisaacson

@carlinisaacson I can recreate the problem with a sample app - going to see if I can come up with a working solution.  I have a feeling this has something to do with the rmq context guessing the wrong parent - I've had discussions with @twerth about this kind of thing in the past, and that was the end result
if you do something like mp cell.find(:label).count in your test - I expect that you will get 0
If you are getting the same thing in your view in the state method (a zero count when selecting) then that could be why you are getting data back as nil as well.
I havent really dug into this far enough to give any insights yet - but this is some ideas to try and troubleshoot some.  I am going to try and look at this closer tonight if there is room on the train or possibly tomorrow.

Thanks @squidpunch. I tried what you suggested.
If I place the mp in my state method like this:
def state=(state)
  build_initial_view unless view_built? # Lay out view unless already laid out
  find(contentView).tap do |c|
    mp c.find(:label).count
    c.find(:label).data(state[:key]) if state[:key] # Pass state to views
  end
end

and run the simulator I get a count of 1 for each cell, but when I run my specs I get a count of 0.

yeah so its how we are interacting with the view outside in the specs.  Will let you know when i dig into it further and hopefully help get it sorted!

@carlinisaacson so I have quick fix, though I wonder if we could patch this to be smarter.  Its all about the RMQ context, and in the specs it attaches to the wrong things at times, and can cause confusion (I know it has for me in the past...)
In any event the quick solution is to put this in your spec instead...
rmq(cell).find(:label).data.should == "value"
I created a quick gist to show your starting point, the test fix, and the rmq build stuff I was talking about above: https://gist.github.com/squidpunch/0964cb329058d10c28d0
I'm going to look a little closer to see if we can get it work as expected in specs (cell.find should really already be in the right context...I thought)

think this exposes a bug - going to verify and PR a fix, but like I said the workaround should unblock you :+1:


Please provide a release (or tags).

It is hard to build images with this package because there are no releases or git tags.  Can we have such?
(I'd of course be happy to send PRs to do this -- just making sure you agree, checking if you have a preference for releasing or "just" tagging, and whether you have preference for an initial version number!)

Hey @arielshaqed, I'm happy to accept any PRs! I believe releasing is better? 0.1 could be a good starting version.


Support Python 3.7 and 3.8

Codecov Report
Base: 100.00% // Head: 99.55% // Decreases project coverage by -0.45% :warning:

Coverage data is based on head (e1ec7d0) compared to base (77aa07b).
Patch coverage: 80.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #19      +/-   ##
===========================================
- Coverage   100.00%   99.55%   -0.45%
===========================================
  Files            2        2
  Lines          222      226       +4
===========================================
+ Hits           222      225       +3
- Misses           0        1       +1

Flag
Coverage Δ

unittests
99.55% <80.00%> (-0.45%)
:arrow_down:

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

Impacted Files
Coverage Δ

richset/__init__.py
100.00% <ø> (ø)

richset/comparable.py
85.71% <80.00%> (-14.29%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Both HW and HW_emu failed to complete execution on certain MM scales

As described in the title, when using the AutoMM Python interface to generate projects for specific scales, such as $2048 \times 2048 \times 2048$ with the data type int16, we obtained the expected code, which compiled successfully on Vitis 2021.1. However, when we attempted to run this build in emulation or on the VCK190 board, the program became unresponsive and did not exit.
In contrast, other scales, such as $1024 \times 1024 \times 1024$ and $4096 \times 4096\times 4096$, the generated code executed as expected in both hardware emulation and on the board.
Below is the Python code used to generate the projects that get stuck during execution:
import os
import sys
import subprocess
import numpy as np
cur_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(cur_dir)
from charm import*

#Set the design project path
prj_dir= cur_dir + '/prj_try'
subprocess.run(['mkdir','-p' ,f'{prj_dir}'])

#Define the left-hand-side(A) and right-hide-side(B) operands
A=np.random.rand(2048, 2048).astype(np.int16) ################ The data type is int16
B=np.random.rand(2048, 2048).astype(np.int16)

#Create the object of the class charm
automm=charm(prj_dir)

#Launch charm dse to find optimized hardware configuration
Versal_config=automm.cdse(A,B)

#Launch charm automatic code generator to emit the code for AIE, PL and Host CPU
device='vck190' # Supported devices are vck190 and vck5000
automm.cacg(Versal_config,device)

# #Run Vitis Compilation Flow
# automm.build()

Here is a case for $256 \times 256 \times 256$ build running on board VCK190.

Hi,
The current CDSE is deterministic meaning the same settings in "project_setup.py" resulting in the same hardware configuration. However, the hardware configurable I generated is different than yours. I find this from your printing information where M=288, K=288, N=384. Could you please describe how this hardware design is generated?

Hi,
The current CDSE is deterministic meaning the same settings in "project_setup.py" resulting in the same hardware configuration. However, the hardware configurations I generated are different than yours. I find this from your printing information where M=288, K=288, N=384. Could you please describe how this hardware design is generated?

Hi~
I generated the project by manually setting params in line 14-15 of project_setup.py, and targetting the data type as np.int16:
A=np.random.rand(256, 256).astype(np.int16)
B=np.random.rand(256, 256).astype(np.int16)

As for the output information where M=288, K=288, N=384, this is a printf() added to host.cpp, which prints the value of M, K and N in line 129-131 from templates/host/kernel0/host.cpp:
int M =TX0 * M_ACC0;
int K =TY0 * K_ACC0;
int N =TZ0 * N_ACC0;

In the original sourcecode of CHARM, the host.cpp prints only the MM size of user's input, namely M1, K1 and N1. As far as I know, CHARM adds paddings to the original MM size from  M1, K1, N1 to  M, K, N to conduct MM operations. Both variable M and M1 are defined by CHARM, what I've done is adding a printf() sentence to output these values to stdout.

Hi,
I have set the matrix size as 256:
A=np.random.rand(256, 256).astype(np.int16)
B=np.random.rand(256, 256).astype(np.int16)

The generated parameters in the host are listed below:

I think all of M, K, and N should equal 288. Is this the same configuration on your end?

Hi,
I have set the matrix size to 256:
A=np.random.rand(256, 256).astype(np.int16)
B=np.random.rand(256, 256).astype(np.int16)

The generated parameters in the host are listed below:
I think all of M, K, and N should equal 288. Is this the same configuration on your end?

Sorry, I've uploaded the wrong screenshot. Below is the correct built for $256 \times 256 \times 256$, and all the $M$, $K$ and $N$ seems correct:

But the on board running still got stuck:

Hi,
The reason for the stuck is that the current code generator for INT16 data type in CHARM only supports A%2==0 to pack the AXI port width to 512 bits. I have cut the design space in the CDSE to fix the problem. Please use the latest version.
Best,


Typo in python cron snippet

on the section Cron and Run the @app.lib.cron() has a colon :
and i believe that will cause an error.
this PR removes it.

Thanks @lakuapik for the PR!


Incompatibility with numpy 2.x?

From https://github.com/biocore/empress/issues/567. Replicated this issue on Ubuntu.
$ # Pinning python = 3.10 to match the linked Empress issue.
$ mamba create -n iowtest20241210 python=3.10 "numpy >= 2" cython  # installs numpy 2.1.3
$ conda activate iowtest
$ pip install iow  # installs iow 1.0.7
$ python3
Python 3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcus/anaconda3/envs/iowtest20241210/lib/python3.10/site-packages/bp/__init__.py", line 8, in <module>
    from ._bp import BP
  File "bp/_bp.pyx", line 1, in init bp._bp
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

I verified that the problem persists with Python 3.9 and numpy 2.0.x:
$ conda deactivate
$ mamba create -n iowtest20241210-py39 python=3.9 "numpy >= 2" cython  # installs numpy 2.0.1
$ conda activate iowtest20241210-py39
$ pip install iow  # installs iow 1.0.7
$ python3
Python 3.9.20 (main, Oct  3 2024, 07:27:41)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcus/anaconda3/envs/iowtest20241210-py39/lib/python3.9/site-packages/bp/__init__.py", line 8, in <module>
    from ._bp import BP
  File "bp/_bp.pyx", line 1, in init bp._bp
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

The issue can be resolved by downgrading numpy to a version earlier than 2.x:
$ # Still in the iowtest20241210-py39 conda environment.
$ mamba install "numpy < 2"  # installs numpy 1.26.4
$ python3
Python 3.9.20 (main, Oct  3 2024, 07:27:41)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
>>> # no error!

... but from what I can tell, iow is intended to support numpy 2.x. Not sure if something has changed upstream recently that breaks things -- figured I should pass this on if you haven't already seen this problem. Thanks!

Mixing and matching where things are installed from could be a problem. Just using pip works fine:
$ conda create --name iowtest
Retrieving notices: ...working... done
Channels:
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Users/dtmcdonald/miniconda3/envs/iowtest

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate iowtest
#
# To deactivate an active environment, use
#
#     $ conda deactivate

$ conda activate iowtest
$ pip install iow
Collecting iow
  Using cached iow-1.0.7-cp312-cp312-macosx_11_0_arm64.whl
Collecting numpy>=1.9.2 (from iow)
  Downloading numpy-2.2.0-cp312-cp312-macosx_14_0_arm64.whl.metadata (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.0/62.0 kB 3.2 MB/s eta 0:00:00
Collecting nose>=1.3.7 (from iow)
  Using cached nose-1.3.7-py3-none-any.whl.metadata (1.7 kB)
Collecting cython<1.0.0,>=0.24.1 (from iow)
  Using cached Cython-0.29.37-py2.py3-none-any.whl.metadata (3.1 kB)
Collecting pandas (from iow)
  Using cached pandas-2.2.3-cp312-cp312-macosx_11_0_arm64.whl.metadata (89 kB)
Requirement already satisfied: click in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from iow) (8.1.7)
Collecting scikit-bio>=0.5.0 (from iow)
  Using cached scikit_bio-0.6.2-cp312-cp312-macosx_11_0_arm64.whl
Requirement already satisfied: requests>=2.20.0 in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from scikit-bio>=0.5.0->iow) (2.32.2)
Collecting decorator>=3.4.2 (from scikit-bio>=0.5.0->iow)
  Using cached decorator-5.1.1-py3-none-any.whl.metadata (4.0 kB)
Collecting natsort>=4.0.3 (from scikit-bio>=0.5.0->iow)
  Using cached natsort-8.4.0-py3-none-any.whl.metadata (21 kB)
Collecting scipy>=1.9.0 (from scikit-bio>=0.5.0->iow)
  Downloading scipy-1.14.1-cp312-cp312-macosx_14_0_arm64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 6.1 MB/s eta 0:00:00
Collecting h5py>=3.6.0 (from scikit-bio>=0.5.0->iow)
  Downloading h5py-3.12.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.5 kB)
Collecting biom-format>=2.1.16 (from scikit-bio>=0.5.0->iow)
  Using cached biom_format-2.1.16-cp312-cp312-macosx_11_0_arm64.whl
Collecting statsmodels>=0.14.0 (from scikit-bio>=0.5.0->iow)
  Downloading statsmodels-0.14.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting python-dateutil>=2.8.2 (from pandas->iow)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas->iow)
  Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas->iow)
  Using cached tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas->iow)
  Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from requests>=2.20.0->scikit-bio>=0.5.0->iow) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from requests>=2.20.0->scikit-bio>=0.5.0->iow) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from requests>=2.20.0->scikit-bio>=0.5.0->iow) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from requests>=2.20.0->scikit-bio>=0.5.0->iow) (2024.8.30)
Collecting patsy>=0.5.6 (from statsmodels>=0.14.0->scikit-bio>=0.5.0->iow)
  Downloading patsy-1.0.1-py2.py3-none-any.whl.metadata (3.3 kB)
Requirement already satisfied: packaging>=21.3 in /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages (from statsmodels>=0.14.0->scikit-bio>=0.5.0->iow) (23.2)
Using cached Cython-0.29.37-py2.py3-none-any.whl (989 kB)
Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Downloading numpy-2.2.0-cp312-cp312-macosx_14_0_arm64.whl (5.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 56.9 MB/s eta 0:00:00
Using cached pandas-2.2.3-cp312-cp312-macosx_11_0_arm64.whl (11.4 MB)
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Downloading h5py-3.12.1-cp312-cp312-macosx_11_0_arm64.whl (2.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 30.9 MB/s eta 0:00:00
Using cached natsort-8.4.0-py3-none-any.whl (38 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Downloading scipy-1.14.1-cp312-cp312-macosx_14_0_arm64.whl (23.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.1/23.1 MB 79.1 MB/s eta 0:00:00
Downloading statsmodels-0.14.4-cp312-cp312-macosx_11_0_arm64.whl (9.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 82.4 MB/s eta 0:00:00
Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Downloading patsy-1.0.1-py2.py3-none-any.whl (232 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.9/232.9 kB 22.5 MB/s eta 0:00:00
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pytz, nose, tzdata, six, numpy, natsort, decorator, cython, scipy, python-dateutil, patsy, h5py, pandas, statsmodels, biom-format, scikit-bio, iow
Successfully installed biom-format-2.1.16 cython-0.29.37 decorator-5.1.1 h5py-3.12.1 iow-1.0.7 natsort-8.4.0 nose-1.3.7 numpy-2.2.0 pandas-2.2.3 patsy-1.0.1 python-dateutil-2.9.0.post0 pytz-2024.2 scikit-bio-0.6.2 scipy-1.14.1 six-1.17.0 statsmodels-0.14.4 tzdata-2024.2
(iowtest) 14:02:16 (dtmcdonald@when):go2bank-images$ python
Python 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:54:21) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
>>>

Interesting! I am not sure about the conda environment shown in that log -- it looks like it does not contain an explicitly installed version of Python for this environment? (Since the Requirement already satisfied messages point to /Users/dtmcdonald/miniconda3/lib/python3.12/site-packages rather than ...miniconda3/envs/iowtest/lib/python3.12/site-packages, I think.)
I tried to reproduce a more "consistent" install than I had before (only installing Python using conda, and installing everything else using pip) and still ran into the problem:
$ mamba create -n iowtest-again
$ conda activate iowtest-again
$ mamba install python=3.10
$ which pip
/home/marcus/anaconda3/envs/iowtest-again/bin/pip
$ pip install iow  # installs iow 1.0.7, numpy 2.2.0, Cython 0.29.37, ...
$ python3
Python 3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcus/anaconda3/envs/iowtest-again/lib/python3.10/site-packages/bp/__init__.py", line 8, in <module>
    from ._bp import BP
  File "bp/_bp.pyx", line 1, in init bp._bp
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

(One terrifying idea I had was that this could be a mamba vs. conda issue, but I repeated the above steps using conda instead of mamba and again reproduced the error. So thankfully that's not it.)

Can you use CPython from conda-forge? Note:
$ python
Python 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:54:21) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

Got it. Tried three things -- strangely, none of them seemed to resolve the issue:
1. Installing python=3.10 from conda-forge (problem remains)
(I am not sure if the version of Python this installs is explicitly CPython. I just wanted to check to see if using conda-forge by itself would solve the problem. It didn't.)
$ mamba create -n iowtest-cf
$ conda activate iowtest-cf
$ mamba install -c conda-forge python=3.10
$ which pip
/home/marcus/anaconda3/envs/iowtest-cf/bin/pip
$ pip install iow  # installs iow 1.0.7, numpy 2.2.0, Cython 0.29.37, ...
$ python3
Python 3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcus/anaconda3/envs/iowtest-again/lib/python3.10/site-packages/bp/__init__.py", line 8, in <module>
    from ._bp import BP
  File "bp/_bp.pyx", line 1, in init bp._bp
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

2. Installing cpython=3.10 from conda-forge (problem remains)
As recommended by https://anaconda.org/conda-forge/python, I installed cpython specifically:
$ mamba create -n iowtest-cf-cpy
$ conda activate iowtest-cf-cpy
$ mamba install -c conda-forge cpython=3.10
$ which pip
/home/marcus/anaconda3/envs/iowtest-cf-cpy/bin/pip
$ pip install iow  # installs iow 1.0.7, numpy 2.2.0, Cython 0.29.37, ...
$ python3
Python 3.10.16 | packaged by conda-forge | (main, Dec  5 2024, 14:16:10) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcus/anaconda3/envs/iowtest-cf-cpy/lib/python3.10/site-packages/bp/__init__.py", line 8, in <module>
    from ._bp import BP
  File "bp/_bp.pyx", line 1, in init bp._bp
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

3. Installing the latest version of cpython from conda-forge (a different problem occurs?)
$ mamba create -n iowtest-cf-cpy-latest
$ conda activate iowtest-cf-cpy-latest
$ mamba install -c conda-forge cpython  # installs cpython 3.13.1
$ which pip
/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/bin/pip
$ pip install iow  # gives a long error, i assume due to no numpy being installed
Collecting iow
  Using cached iow-1.0.7.tar.gz (1.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      Traceback (most recent call last):
        File "/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-iop_i01p/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-iop_i01p/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-iop_i01p/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-iop_i01p/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 18, in <module>
      ModuleNotFoundError: No module named 'numpy'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
$ pip install numpy  # installs numpy 2.2.0
$ pip install cython  # installs Cython 3.0.11
$ pip install iow  # again gives an error:
Collecting iow
  Using cached iow-1.0.7.tar.gz (1.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      Traceback (most recent call last):
        File "/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/marcus/anaconda3/envs/iowtest-cf-cpy-latest/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-doi3pv6s/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-doi3pv6s/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-doi3pv6s/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-doi3pv6s/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 18, in <module>
      ModuleNotFoundError: No module named 'numpy'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I noticed that running pip install cython installed Cython 3.0.11, and I remembered you mentioned here that iow and Cython 3 were not compatible. So I ran pip install cython==0.29.37 (which succeeded), then reran pip install iow, and again got a long error message about No module named 'numpy'.

Thanks