I can't get an answer or solve the problem. I have to go to github

Pinterest:Ads->Catalogs:
https://www.pinterest.com/product-catalogs/data-source/?advertiserId=549764596187
I added a new datasource
but it error
I wanna to delete it ,but I can't
I want to edit it, but I can't
I submit a Issues,but no reply

403
https://www.pinterest.com/resource/ProductGroupsResource/get/
source_url:
{"options":{"advertiser":{"id":"549764596187","owner_user_id":"999658585946430453","owner_user":{"active":true,"image_medium_url":"https://i.pinimg.com/150x150_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","last_name":"","follower_count":3,"id":"999658585946430453","first_name":"Patternbuy","email":"contact@patternbuy.com","is_linked_business":false,"image_small_url":"https://i.pinimg.com/60x60_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","username":"Pattern_buy","full_name":"Patternbuy"},"name":"Patternbuy","country":1,"currency":1,"currency_code":"USD","created_time":1659954855,"accepted_tos":[8],"merchant_id":"1497427168197","has_valid_billing_profile":false,"has_business_address":null,"status":"ARCHIVED","segment_metadata":{"pod":"US-SMB-SSV","msc_across_family":"0 - 100","sales_channel":"UNMANAGED_SMB","sales_team":"SMB","monthly_spend_cohort":"0 - 100","pod_sector":"US SMB","is_managed":"false"},"is_impersonation":false,"inactive_advertisers":[],"actions":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,98,99,100,101,102,103,104],"is_sterling_prod":false,"ad_groups_enabled":true,"bulk_v2_shopping_enabled":true,"shopping_retargeting_eligibility":false,"ocpm_conversion_window_enabled":false,"offline_conversion_ga_enabled":true,"household_conversion_reporting_enabled":false,"modeled_conversion_reporting_enabled":false,"is_story_ads_product_tags_allowed":true,"shopify_organic_attribution_enabled":false,"enable_shopping_reporting":true,"enable_loi_sapin_modal":false,"is_story_ads_sponsor_allowed":true,"is_story_ads_standalone_allowed":true,"is_story_ads_mentions_allowed":true},"merchantId":"1497427168197","feedProfileId":"1537813575261"},"context":{}}
response:
{"resource_response":{"error":{"status":"failure","http_status":403,"code":2625,"message":"Sorry, you cannot perform this action","api_error_code":2625,"extra_data":{"message":"None"}},"data":null},"client_context":{"active_experiments":{},"advertiser":{"id":"549764596187","owner_user_id":"999658585946430453","owner_user":{"image_small_url":"https://i.pinimg.com/60x60_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","full_name":"Patternbuy","last_name":"","first_name":"Patternbuy","follower_count":3,"active":true,"image_medium_url":"https://i.pinimg.com/150x150_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","username":"Pattern_buy","email":"contact@patternbuy.com","is_linked_business":false,"id":"999658585946430453"},"name":"Patternbuy","country":1,"currency":1,"currency_code":"USD","created_time":1659954855,"accepted_tos":[8],"merchant_id":"1497427168197","has_valid_billing_profile":false,"has_business_address":null,"status":"ARCHIVED","segment_metadata":{"pod":"US-SMB-SSV","msc_across_family":"0 - 100","sales_channel":"UNMANAGED_SMB","sales_team":"SMB","monthly_spend_cohort":"0 - 100","pod_sector":"US SMB","is_managed":"false"},"is_impersonation":false,"inactive_advertisers":[],"actions":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,98,99,100,101,102,103,104],"is_sterling_prod":false,"ad_groups_enabled":true,"bulk_v2_shopping_enabled":true,"shopping_retargeting_eligibility":false,"ocpm_conversion_window_enabled":false,"offline_conversion_ga_enabled":true,"household_conversion_reporting_enabled":false,"modeled_conversion_reporting_enabled":false,"is_story_ads_product_tags_allowed":true,"shopify_organic_attribution_enabled":false,"enable_shopping_reporting":true,"enable_loi_sapin_modal":false,"is_story_ads_sponsor_allowed":true,"is_story_ads_standalone_allowed":true,"is_story_ads_mentions_allowed":true},"analysis_ua":{"app_type":5,"browser_name":"Chrome","browser_version":"107.0.5304","device_type":null,"device":"Other","os_name":"Mac OS 10.15.7","os_version":"10.15.7"},"app_type_detailed":5,"app_version":"83e0acd","batch_exp":true,"browser_locale":"zh-CN","browser_name":"Chrome","browser_type":1,"browser_version":"107.0.5304","country":"US","country_from_hostname":"US","country_from_ip":"HK","csp_nonce":"6db63ccc48a464966250065760006463","current_url":"https://www.pinterest.com/resource/ProductGroupsResource/get/","debug":false,"deep_link":"","enabled_advertiser_countries":["AR","AT","AU","BE","BR","CA","CH","CL","CO","CY","CZ","DE","DK","ES","FI","FR","GB","GR","HK","HU","IE","IL","IT","JP","KR","LU","MT","MX","NL","NO","NZ","PL","PT","RO","SE","SG","SK","US"],"experiment_hash":"5c1e5ef65fede3274c7fb4b62bc982c18477522222c5769378b4521d2ec6589628341240424d72de04fa556d85b6c7a828f4f131df0bc3e2318b416e3fdde777","facebook_token":null,"full_path":"/resource/ProductGroupsResource/get/","http_referrer":"https://www.pinterest.com/","impersonator_user_id":null,"invite_code":"","invite_sender_id":"","is_authenticated":true,"is_bot":"false","is_internal_ip":false,"is_full_page":false,"is_managed_advertiser":false,"is_mobile_agent":false,"is_shop_the_pin_campaign_whitelisted":true,"is_sterling_on_steroids":false,"is_tablet_agent":false,"language":"en","locale":"en-US","origin":"https://www.pinterest.com","path":"/resource/ProductGroupsResource/get/","placed_experiences":null,"referrer":null,"region_from_ip":"CA","request_host":"www.pinterest.com","request_identifier":"1533154164289065","social_bot":"","stage":"prod","sterling_on_steroids_ldap":null,"sterling_on_steroids_user_type":null,"unauth_id":"87c32aaaf0ab43dba6b1af377e0e38b3","seo_debug":false,"user_agent_can_use_native_app":false,"user_agent_platform":"other","user_agent_platform_version":null,"user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.5304.87 Safari/537.36","user":{"phone_number":null,"connected_to_etsy":false,"has_password":true,"listed_website_url":null,"is_matured_new_user":false,"personalize_from_offsite_browsing":true,"unverified_phone_country":null,"username":"Pattern_buy","connected_to_facebook":false,"nags":[],"gplus_url":null,"resurrection_info":null,"is_partner":true,"is_ads_only_profile":false,"verified_user_websites":["www.patternbuy.com"],"email":"contact@patternbuy.com","has_mfa_enabled":false,"ads_only_profile_site":null,"custom_gender":null,"country":"US","first_name":"Patternbuy","domain_verified":true,"allow_analytic_cookies":null,"verified_domains":["www.patternbuy.com"],"phone_number_end":"","allow_marketing_cookies":null,"push_package_user_id":"999658585946430453:VxicNNeB-kiuYTG1K_r2mKHWh9M","domain_url":"www.patternbuy.com","facebook_timeline_enabled":false,"is_high_risk":false,"connected_to_youtube":false,"full_name":"Patternbuy","twitter_url":null,"ip_region":null,"type":"user","id":"999658585946430453","image_medium_url":"https://i.pinimg.com/75x75_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","verified_identity":{},"created_at":"Mon, 08 Aug 2022 10:05:32 +0000","facebook_id":"","last_name":"","gender":"male","connected_to_microsoft":false,"age_in_years":null,"profile_discovered_public":true,"website_url":"http://www.patternbuy.com","facebook_publish_stream_enabled":false,"can_enable_mfa":true,"phone_country":null,"allow_personalization_cookies":null,"epik":"dj0yJnU9ZmVPLUkteXJwdTJKczdVZTNxblB4Qjg3X0N6bXhPa20mcD0yJm49QmFsMnF5V1N1ZE9mREs3US02ZVgtZyZ0PUFBQUFBR04zSEN3","twitter_publish_enabled":false,"unverified_phone_number":null,"unverified_phone_number_without_country":"","image_small_url":"https://i.pinimg.com/30x30_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","image_large_url":"https://i.pinimg.com/140x140_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","connected_to_instagram":false,"connected_to_google":false,"image_xlarge_url":"https://i.pinimg.com/280x280_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","is_any_website_verified":true,"third_party_marketing_tracking_enabled":true,"connected_to_dropbox":false,"is_write_banned":false,"is_employee":false,"login_state":1,"ip_country":"HK"},"utm_campaign":null,"visible_url":"/product-catalogs/data-source/?advertiserId=549764596187"},"resource":{"name":"ProductGroupsResource","options":{"bookmarks":["-end-"],"advertiser":{"id":"549764596187","owner_user_id":"999658585946430453","owner_user":{"active":true,"image_medium_url":"https://i.pinimg.com/150x150_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","last_name":"","follower_count":3,"id":"999658585946430453","first_name":"Patternbuy","email":"contact@patternbuy.com","is_linked_business":false,"image_small_url":"https://i.pinimg.com/60x60_RS/ec/aa/a6/ecaaa60a5ad4dfae9222436edea626af.jpg","username":"Pattern_buy","full_name":"Patternbuy"},"name":"Patternbuy","country":1,"currency":1,"currency_code":"USD","created_time":1659954855,"accepted_tos":[8],"merchant_id":"1497427168197","has_valid_billing_profile":false,"has_business_address":null,"status":"ARCHIVED","segment_metadata":{"pod":"US-SMB-SSV","msc_across_family":"0 - 100","sales_channel":"UNMANAGED_SMB","sales_team":"SMB","monthly_spend_cohort":"0 - 100","pod_sector":"US SMB","is_managed":"false"},"is_impersonation":false,"inactive_advertisers":[],"actions":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,98,99,100,101,102,103,104],"is_sterling_prod":false,"ad_groups_enabled":true,"bulk_v2_shopping_enabled":true,"shopping_retargeting_eligibility":false,"ocpm_conversion_window_enabled":false,"offline_conversion_ga_enabled":true,"household_conversion_reporting_enabled":false,"modeled_conversion_reporting_enabled":false,"is_story_ads_product_tags_allowed":true,"shopify_organic_attribution_enabled":false,"enable_shopping_reporting":true,"enable_loi_sapin_modal":false,"is_story_ads_sponsor_allowed":true,"is_story_ads_standalone_allowed":true,"is_story_ads_mentions_allowed":true},"merchantId":"1497427168197","feedProfileId":"1537813575261"}},"request_identifier":"1533154164289065"}

Hello and sorry that catalogs aren't working out for you! The quickstart doesn't support this endpoint yet, so I don't have a whole lot of insight into what might be going wrong. Did you submit the issue at https://help.pinterest.com/en/contact?

Hello and sorry that catalogs aren't working out for you! The quickstart doesn't support this endpoint yet, so I don't have a whole lot of insight into what might be going wrong. Did you submit the issue at https://help.pinterest.com/en/contact?

抱歉,我再找找别的联系方式,解决问题

好的谢谢


Why NanoCount needs sorted alignments?

Out of interesting question because salmon actually recommends not having alignments sorted, so was wondering why the difference. Both are forms of maximizing expectations so is there ar reason having sorted alignments is better than unsorted?

From my understanding, it just speeds up the process. NanoCount will run on unsorted bam files it just takes a little longer. Unsure for salmon though, it might be required for it to run.

Thank you for the explanation


Clearer terminology for coordinate variables

[x] closes https://github.com/pydata/xarray/issues/1295

cc @rabernat @shoyer

After additional discussion in #1295, I guess this should be revised.

Yes. Let me know if you have a preference for the second coordinate type in https://github.com/pydata/xarray/issues/1295

OK, this is ready for review.


Warning: ignoring input sourcemap

After importing popper.js for ember-popper, a warning is printed when we run ember s for the addon's dummy app.
$: ember s
Livereload server on http://localhost:49153
Serving on http://localhost:4200/
Warning: ignoring input sourcemap for vendor/popper.js/popper.js because ENOENT: no such file or directory, open '/Users/kybishop/github/ember/ember-popper/tmp/source_map_concat-input_base_path-3H3vcPOT.tmp/vendor/popper.js/popper.js.map'

More than happy to help diagnose whether or not this issue stems from ember-cli-node-assets, or a misconfigured build in the popper.js project itself, but I might need a bit of a primer on what the general issue actually is ;)

I'd guess that error is being emitted by broccoli-sourcemap-concat when all the imported files are being concatenated together into your vendor.js. Probably popper.js has a sourcemap comment at the bottom of it, and the concat step is complaining because it can't find the sourcemap it references.
Total shot in the dark, but I'd try something like this:
'popper.js': {
  srcDir: 'dist/umd',
  import: ['popper.js'],
  vendor: ['popper.js.map']
}

Spot on about the sourcemap comment. Your fix was very close; turns out it needed to be thrown into the import array.
Going to close this out, but this exposes a separate issue:
I'm left in a small pickle where I either include a sourcemap in my final build, or live with the warning but enjoy a smaller final build size. It would be awesome if there were a way to optionally strip sourcemaps in prod via ember-cli-node-assets.
@dfreeman any thoughts on the above? We might be able to do this via a broccolli plugin if one doesn't already exist.

I'm left in a small pickle where I either include a sourcemap in my final build, or live with the warning but enjoy a smaller final build size.

I would expect importing the sourcemap only impacts the size of your vendor.js.map — are you seeing it bloat your actual vendor.js?


add jwt to header

Hello,
First, off thanks! The small amount of code to get a basic example going is refreshing compared with all the faff I've had in the past with using selenium directly.
I can't see an example of how to do this in the videos or the docs. If someone can point me in the right direction I'll get a working example going and add it in via a PR if that's helpful?
Looking to add E2E automated testing for a web application that uses firebase JWT in the header for auth. In my unit tests for the app, I have got a session scoped pytest fixture that logs in once via a request API call. I then pass this header around to the tests that need it.
I am currently looking for how I can do the same for a separate set of integration tests using pyleniumio. My thought process is that I could add the jwt into the py fixture so that it uses it in every header. Doing so via a session scoped pytest fixture so I only have to login once during a test run. Otherwise, firebase will naturally get upset that I am logging in separately for every test.
Any pointers would be appreciated.

Hi, @richard-ellison!
Thanks for using Pylenium and creating an Issue!
When you get the JWT token for the website, is it stored as a cookie? Or how does the website persist the auth for a session?

Hi @ElSnoMan
Thanks for your reply.
Unfortunately it's not a cookie but an added header called authorisation with the value of the JWT.
My current reading via selenium docs and stackoverflow is pointing me in the direction of browsermob. If I understand correctly the work around is to manipulate the requests headers coming from the web driver via a proxy.
The selenium core Devs don't appear to support this and are saying that they only want to mimic users. Going on to say that tests for headers like this should be done by other software.
So selenium and therefore pylenium wouldn't support adding in a header directly ?
github.com/lightbody/browsermob-proxy
I wonder if my testing approach is wroung, all I really want to do is login once and use that session for many seperate tests. Otherwise I think I am looking at one long test instead of many seperate ones.
If the "py" fixture was session scoped I could login there and pass that to each of my seperate tests. (Not saying it should be, just saying it would solve this case). What's the rational for py fixture being function scoped? is it worth me looking at a PR for making it and it's dependents session based or is that a design choice ?
Would very much appreciate your thoughts.

Answers

So Selenium and therefore Pylenium wouldn't support adding in a header directly?

I've never used something like browsermob-proxy before cuz I haven't had to, but if we could design a generalized solution for it, I wouldn't mind adding it as a feature to Pylenium.

What's the rationale for py fixture being function scoped?

It's best practice to have your tests modular and atomic. In Web Automation, you don't want to open one browser and run 10 test functions against it. Instead, each test focuses on specific behavior and gets its own browser. This is for a lot of reasons including:

run tests in parallel to reduce run times
tests are not dependent on each other (no shared test data, etc)
run tests separately for smarter executions
etc

💡 "best practice" is more of a guideline of course. Different contexts and scenarios may call for different approaches.

For example, let's say we have 5 tests [A, B, C, D, E]. If they were modular and atomic, I could run all 5 concurrently or only a subset of them.
A   B   C   D   E
^   ^   ^   ^   ^

If the tests share a single browser, then I must run them in the correct order meaning that I can no longer run them concurrently.
A -> B -> C -> D -> E

If test C fails, then tests D and E are not executed. If I want to rerun test C, then I have to run A and B first.
A Solution
With that said, the Pylenium class is just an object, so you can instantiate it and share between tests. You should make a custom fixture at the session scope. Something like this:
@pytest.fixture(scope='session')
def pys(py_config, request):
    py = Pylenium(py_config)
    yield py
    py.quit()

Then use the fixture in your tests:
def test_a(pys: Pylenium):
    ...

def test_b(pys: Pylenium):
    ...

Hi @ElSnoMan ,
Thanks for the detailed response,
I have worked with pytest-xdist (was very happy to see you supported it) before and created separate databases for each cpu. Now that I look back at my code I can see now that the fixture going into the tests is session scope to ensure the db session is clean for the next tests use.
So for the ideal test separation there would be a freshly logged in py as a function scoped fixture.
The session scoped method looks like the way forward at lest for now, however I understand that it removes an element of separation.
I did find a library called Selenium Wire which supports header manipulation so I might explore what they do to selenium to make it accept headers and see if a PR is appropriate for pylenium.io. This would then allow for a fresh py fixture to be used each time avoiding any cross contamination.
In the mean time once I have the session based option working do you want a PR for a Firebase auth example?
Kind Regards
Rich

I would love that! We welcome all ideas and PRs and I think a simple solution would go a long way for anyone else who needs this functionality.
Looking over the browsermob proxy repo, it seems like we may have to do some pylenium.json and webdriver_factory changes, but I'm interested to see how you solve it.
Thanks, @richard-ellison! I can't wait to see your auth example 😄

@richard-ellison SeleniumWire is integrated natively within Pylenium and we have another issue (#248) to create a session-based Pylenium instance and a class-based Pylenium instance.
I'm thinking of closing this Issue unless there's something specific you'd like to keep this open for. Let me know!
Thanks

Hi @ElSnoMan, thank you for taking the time to message me. I look forward to the new functionality.


Report is too large for any browser to render

Current Behaviour
After running the profiler on ~41k records with maybe 100 or so fields, it produces an HTML report so large that no browser can render it.  There was no error, and all the data is there, and all the SVGs are produced. Its just that the report tries to render as a single page.  Tested with Chrome, Firefox, Brave, Edge and a couple others. They all crash because they're trying to render something like 80Mb of HTML and SVG.  I would recommend breaking up the single page report into many documents that can be linked together, more like a website.  Or some other technique other than shoving 80Mb into a single page.  It doesnt work.
Expected Behaviour
the report is viewable
Data Description
41k records X 100 fields
Code that reproduces the bug
No response
pandas-profiling version
4.7.0
Dependencies
pandas==2.2.1

OS
macos and linux
Checklist

[X] There is not yet another bug report for this issue in the issue tracker
[X] The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
[X] The issue has not been resolved by the entries listed under Common Issues.

Hi @kstech-roadie ,
thank you for opening the issue. As you can imagine the generation of a static report using HTML does have its own limitations, being one of them the amount of data and variables that can be handled through your browser.
If you want to leverage a  dashboard experience that allows you to navigate bigger volumes of data, you need a different type of infrastructure and logic to support it. Give a go to YData Fabric where you can find that experience.


Bumping Makefile to v0.0.2 and minor hotfix on Kustomize

Closes #134

I think we should adhere to the pattern that Kubernetes is sharing, and, e.g., you can notice there's no latest on the API Server image hosted on gcr.io.

Do you mean something like v0.0.2-xyz?

We could do something as v0.0.3-qwerty where 0.0.3 is the patch release increased by one and qwerty the git commit SHA, but as I said, that's out of our control here: we could think something for it when releasing release candidate.

I think we should adhere to the pattern that Kubernetes is sharing, and, e.g., you can notice there's no latest on the API Server image hosted on gcr.io.

We do not have to push the tag latest on the official public repo and, yes, this is the anti-pattern you're referring to.
My point is that when you build from master branch, you're locally building on your workstation something that is the "state of the art" of the project in a given moment of the day and it can be different from the image released on the public repo. The image you build from master can be a different thing many times a day (depending on our commit rate on master branch) and I think it is not correct to label it as the same as the frozen release image on the public repo.
It's user's responsibility to avoid to deploy the tag latest in production avoiding the anti-pattern above.

I get your point, but we're hitting a real edge-case and I'd say it's safe enough, right now.

@prometherion ok let's to take the PR approach for now but I expect troubles in the future because of that.

Please @bsctl, take a review: we're getting some improvements here and there.
First, we're enhancing the version retrieval: according to the latest changes, we're going to have the following lines.
{"level":"info","ts":1605604746.9184825,"logger":"setup","msg":"Capsule Version v0.0.2 d533f66.dev.dirty"}
{"level":"info","ts":1605604746.9185152,"logger":"setup","msg":"Build from: git@github.com:clastix/capsule.git"}
{"level":"info","ts":1605604746.9185236,"logger":"setup","msg":"Build date: 2020-11-17T09:18:13"}
{"level":"info","ts":1605604746.9185975,"logger":"setup","msg":"Go Version: go1.13.14"}
{"level":"info","ts":1605604746.9186049,"logger":"setup","msg":"Go OS/Arch: linux/amd64"}

As you can see, we're getting the latest versioned tag (v0.0.2) along with the current commit sha (d533f66).
The dev part informs you're running outside the specified version with dirty changes, so uncommitted ones.
Regarding the tag name, I'd like to keep the latest tag: I understand your point of view but Capsule, from my perspective, should not be installed from source code.
We're providing the way to perform this also without the need of Helm or bare YAML files but it's more for development stuff, and developers are intended to know what they're doing.

@prometherion
btw, I had one thought about improving logging. This thing with ts is very hard to troubleshoot in logs

@MaxFedotov maybe let's raise this discussion in another issue so we can evaluate it?

@prometherion lgtm


npx react-native init AwesomeProject 项目创建出错

              Welcome to React Native!
             Learn once, write anywhere

✔ Downloading template
✔ Copying template
✔ Processing template
✖ Installing CocoaPods dependencies (this may take a few minutes)
✖ Installing CocoaPods dependencies (this may take a few minutes)
error Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template.
Please try again manually: "cd ./AwesomeProject/ios && pod install".
CocoaPods documentation: https://cocoapods.org/
这是什么原因？

1.你要有VPN
2.执行这句  cd ./AwesomeProject/ios && pod install
3.我也卡在这但我因为电脑的原因还没有VPN,这是我查询的,如果你弄好了你回复我一下,嘻嘻. @pythonName

Installing CocoaPods dependencies (this may take a few minutes)
error warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. Choosing ios/Podfile automatically. If you would like to select a different one, you can configure it via "project.ios.sourceDir". You can learn more about it here: https://github.com/react-native-community/cli/blob/master/docs/configuration.md

Installing CocoaPods dependencies (this may take a few minutes)
error Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
Error: Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
at createFromTemplate (/Users/manmacho/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:169:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.initialize [as func] (/Users/manmacho/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:222:3)
at async Command.handleAction (/Users/manmacho/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/index.js:140:9)
info Run CLI with --verbose flag for more details.

就一条：必须使用代理，且代理必须对命令行生效

就一条：必须使用代理，且代理必须对命令行生效

用啥代理

w我这里有个类似的错误  但是我的ruby版本已经是2.7.5 但是还是提示不匹配

你这是完全不同的错误，需要配置一些ruby环境管理器（例如rbenv，asdf等等，这部分英文文档有说明，中文的还没更新）


Getting Device not found when searching for Wave2

I have device connected to mobile app, it has been the only way the device shows up on Bluetooth network. When disconnected from mobile app device does not appear
EBUG:asyncio:Using proactor: IocpProactor
DEBUG:wave_reader.wave:Device: (F4:60:77:74:C6:2B) is a (WaveProduct.WAVE2) device.
INFO:wave_reader.wave:Device: (F4:60:77:74:C6:2B) connecting BLE client.
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received 55:8B:8D:EB:7D:92: .
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received 55:8B:8D:EB:7D:92: .
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received 55:8B:8D:EB:7D:92: .
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received 55:8B:8D:EB:7D:92: .
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received 55:8B:8D:EB:7D:92: .
DEBUG:bleak.backends.winrt.scanner:Received 55:8B:8D:EB:7D:92: .
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received 62:97:C5:3D:6D:68: .
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received F4:60:77:74:C6:2B: .
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received 62:97:C5:3D:6D:68: .
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received EC:81:93:2D:54:F5: .
DEBUG:bleak.backends.winrt.scanner:skipping callback, waiting for scan response
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received 7C:A6:B0:5F:67:38: GBK_H613D_6738.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received D1:39:32:37:0F:1E: Govee_H6051_0F1E.
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:Received 5C:60:BA:10:8A:F7: .
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received CC:32:38:31:6A:6C: Govee_H617A_6A6C.
DEBUG:bleak.backends.winrt.scanner:Received 62:97:C5:3D:6D:68: .
DEBUG:bleak.backends.winrt.scanner:Received C6:32:38:31:1F:37: Govee_H617A_1F37.
DEBUG:bleak.backends.winrt.scanner:7 devices found. Watcher status: 3.
Traceback (most recent call last):
File "C:\Users\ronro\OneDrive\Desktop\Github\PIPHI-CLI-v2\app\lib\airthings.py", line 24, in
loop.run_until_complete(run(args))
File "C:\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "C:\Users\ronro\OneDrive\Desktop\Github\PIPHI-CLI-v2\app\lib\airthings.py", line 13, in run
async with WaveDevice.create(args.address, args.serial) as conn:
File "C:\Users\ronro\OneDrive\Desktop\Github\PIPHI-CLI-v2\venv\lib\site-packages\wave_reader\wave.py", line 136, in aenter
await self.connect()
File "C:\Users\ronro\OneDrive\Desktop\Github\PIPHI-CLI-v2\venv\lib\site-packages\wave_reader\wave.py", line 164, in connect
return await self.client.connect()
File "C:\Users\ronro\OneDrive\Desktop\Github\PIPHI-CLI-v2\venv\lib\site-packages\bleak_init.py", line 471, in connect
return await self._backend.connect(**kwargs)
File "C:\Users\ronro\OneDrive\Desktop\Github\PIPHI-CLI-v2\venv\lib\site-packages\bleak\backends\winrt\client.py", line 244, in connect
raise BleakDeviceNotFoundError(
bleak.exc.BleakDeviceNotFoundError: Device with address F4:60:77:74:C6:2B was not found.

Thanks for the feedback! I'll take a look into this.

I spent a little time looking at the bluetooth client library, bleak and I see that we can modify the default timeout for scanning. I'll make a change in the library to make the timeout configurable.
It also looks like you're running on Windows, I'd be curious to see what the more verbose output (directly from bleak), try this! That might reveal more information as well if it's an issue beyond the timeout being too short for scanning.

Ok so will this fix the inconsistency of the device not showing up ? And yes I am running on windows @ztroop

Without more information, I can only assume by examining at the logs, it looks like scanning finishes before it can find the device. Increasing the scanning timeout may resolve your issue. You could try getting more logs from the suggestion I made above if you're still running into problems.
I should have the 1.0.0 release out before end of day.

You should be able to use version 1.0.0 now. You can use the timeout keyword argument. I'd recommend 10.0 or 15.0 and see if the scanning will pick up the device. A code example is available.

I think this is solved. If you are still experiencing the problem with the newest version, re-open the ticket.


router, factor: decouple factor with router

What problem does this PR solve?

Issue Number: close #517
Problem Summary:
There will be more logic in factor. This will make router too complicated to test, so it's better to decouple them.
What is changed and how it works:

Move factor-related files to a new package factor
Define an interface BalancePolicy and FactorMgr implements it.
Router creates FactorMgr to manage factors and get the backends to route or balance.
Router passes factor.Backend to FactorMgr. router.backendWrapper is an implementation of factor.Backend.

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Notable changes

[ ] Has configuration change
[ ] Has HTTP API interfaces change
[ ] Has tiproxyctl change
[ ] Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Codecov Report
Attention: Patch coverage is 79.75460% with 33 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@25937b6). Click here to learn what that means.

Files
Patch %
Lines

pkg/balance/factor/factor_mgr.go
79.04%
18 Missing and 4 partials :warning:

pkg/balance/factor/factor_conn.go
47.05%
9 Missing :warning:

pkg/balance/factor/factor_health.go
66.66%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #518   +/-   ##
=======================================
  Coverage        ?   65.26%
=======================================
  Files           ?       69
  Lines           ?     6221
  Branches        ?        0
=======================================
  Hits            ?     4060
  Misses          ?     1856
  Partials        ?      305

Flag
Coverage Δ

unit
65.26% <79.75%> (?)

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

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


build with intel fails

lib/gltf.hpp(109): error: the generated default constructor for "glTF_Builder::struct_pbrMetallicRoughness" cannot be used in an initializer for its own data member
{ false, "pbrMetallicRoughness", {} };
^
detected during implicit generation of "glTF_Builder::struct_texture_info::struct_texture_info()" at line 10222

Hi @jcwright77,
What was the platform and the version of icc?
Tzanio

2020 . The constructor args seem right, so not sure why it is choking

Bump, any ideas on this? We could use the new glvis soon.

Hi @jcwright77,
This error looks strange, and I can't reproduce it.
I just build the following with ICC 2021.6.0 20220226 without any issues:

mfem:master (with make CC=icc-2022.2 config)
glew and SDL2 following the instruction here, with an additional CC=icc-2022.2 flag
glvis:master  (with just make)

All of these worked fine for me.
Any chance you can use a newer icc and/or rebuild all of the above from scratch?

In @tzanio's instructions above there is an incorrect make flag: the MFEM GNU make build system does not use CC (which is typically the C compiler) but CXX which is typically the C++ compiler. Second, the Intel C++ compiler is icpc, whereas the C compiler is icc. The new OneAPI Intel compilers use icx and icpx for the C and the C++ compilers, respectively.
Thus, the compiler line for MFEM should be:
make serial CXX=icpc -j 16

The GLVis GNU make build system uses by default the compiler used for building MFEM, so there is no need to explicitly set that, unless one wants to use a different compiler.
That said, I tried building MFEM+GLVis with Intel <IP_ADDRESS> and 2021.2.0 (on Livermore machines I do not see 2020 version of the Intel compiler for some reason) and both versions worked fine.
For a parallel build, the MFEM GNU make build system expects one to set the MPI compiler wrapper through the variable MPICXX (default value is mpicxx), e.g.
make parallel MPICXX=mpic++ -j 16

With a parallel MFEM build, the GLVis build system will also pickup and use the MPI compiler used by MFEM, so again one does not need to specify a compiler explicitly.

I will try building again. I cannot really update to the latest intel very quickly. I will try the parallel build of mfem with the parallel flag in the glvis make, though it seemed to get the right compiler w/o that last time. Note that there is no mpic++ in my intel 2020 distribution, rather it seems I should use mpiicpc .

By the way, if the problem is in building GLVis with Intel then you can probably just use g++ to build a serial MFEM version just for use with GLVis that is also built with g++. Such a build of GLVis should still work fine with apps build with parallel MFEM builds with Intel compiler. The only requirement is that if you enable MFEM_USE_GNUTLS=YES in the parallel build, you should also enable it in the serial build.

Thanks I may try that. Most of our software stack is built with intel so if any of that is used the final link has to be with intel.

Sorry, copy+paste error -- it is indeed CXX for mfem (and CC for glew/SDL2).

I might try that. Of course glvis now has a few dependencies as well.
-john

On Sep 9, 2022, at 9:43 PM, Veselin Dobrev @.***> wrote:

By the way, if the problem is in building GLVis with Intel then you can probably just use g++ to build a serial MFEM version just for use with GLVis that is also built with g++. Such a build of GLVis should still work fine with apps build with parallel MFEM builds with Intel compiler. The only requirement is that if you enable MFEM_USE_GNUTLS=YES in the parallel build, you should also enable it in the serial build.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@jcwright77, were you able to resolve this?

Trying to get back to it. With each build taking to so it’s taking a while.
-john

On Sep 18, 2022, at 11:24 AM, Tzanio Kolev @.***> wrote:

@jcwright77, were you able to resolve this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

building plain serial mfem with g++ and glvis on top of that worked. May be a compiler bug in intel 2020.

when I  have time I'll try a few build with inte 2021


Water Polygons in openlayers are half filled in

Using openlayers 3 to display the pbf files has water tiles half filled in.  Is this a problem with the pbf files or with openlayers?  Its not a problem in mapbox gl
e.g.

That's very curious, are you only seeing that with your own mbtiles or is that visible on osm2vectortiles.org?
This repo is superceded by https://github.com/openmaptiles/openmaptiles due to https://github.com/osm2vectortiles/osm2vectortiles/issues/387 but I'm curious about this as it may popup elsewhere.

Maybe related to https://github.com/openlayers/openlayers/pull/6358

If I use http://osm2vectortiles-2.tileserver.com/v1/{z}/{x}/{y}.pbf I still see the issue, That openlayers bug looks like it could be the problem I'll get the fix, try again and report back.

Ok, yes it was https://github.com/openlayers/openlayers/pull/6358 I fixed it by giving the water a stroke.
Thank you for the quick reply.


support tabs

I do not want to use listchars method because then it will show up in non-indentation tabs too.

Any update on this feature ? I use spaces on a lot of projects but at work we use tabs and indentLine doesn't show anything.

If you use tab, you can try :set list lcs=tab:\|\ (here is a space).


Enable openjdk_regression tests with openjdk8 with hotspot  on s390x got jvm crashed

Using nightly build get failures:
20:29:49 #
20:29:49 # A fatal error has been detected by the Java Runtime Environment:
20:29:49 #
20:29:49 #  Internal Error (os_linux_zero.cpp:254), pid=51868, tid=0x000003ff874ff910
20:29:49 #  fatal error: caught unhandled signal 11
20:29:49 #
20:29:49 # JRE version:  (8.0) (build )
20:29:49 # Java VM: OpenJDK 64-Bit Zero VM (25.71-b00 interpreted mode linux-s390x )
20:29:49 # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
20:29:49 #
20:29:49 # An error report file with more information is saved as:
20:29:49 # /data/jenkins/workspace/openjdk8_hs_openjdktest_s390x_linux/openjdk-tests/TestConfig/hs_err_pid51868.log
20:29:49 #
20:29:49 # If you would like to submit a bug report, please visit:
20:29:49 #   http://bugreport.java.com/bugreport/crash.jsp
20:29:49 #
20:29:49 makefile:82: recipe for target 'compile' failed
20:29:49 make: *** [compile] Aborted (core dumped)
https://ci.adoptopenjdk.net/view/work in progress/job/openjdk8_hs_openjdktest_s390x_linux/1/console
Using release version got:
21:54:41 ant -f scripts/build_test.xml -DTEST_ROOT=/data/jenkins/workspace/openjdk8_hs_openjdktest_s390x_linux/openjdk-tests/TestConfig/.. -DBUILD_ROOT=/data/jenkins/workspace/openjdk8_hs_openjdktest_s390x_linux/openjdk-tests/TestConfig/../../jvmtest -DJAVA_BIN=/data/jenkins/workspace/openjdk8_hs_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/bin -DJAVA_VERSION=SE80 -DJCL_VERSION=current -DBUILD_LIST=openjdk_regression -DRESOURCES_DIR=/data/jenkins/workspace/openjdk8_hs_openjdktest_s390x_linux/openjdk-tests/TestConfig/../../jvmtest/TestConfig/resources -DJCK_ROOT= -DJVM_VERSION=openjdk8
21:54:41 Error: dl failure on line 893
21:54:41 Error: failed /data/jenkins/workspace/openjdk8_hs_openjdktest_s390x_linux/openjdkbinary/j2sdk-image/jre/lib/s390x/server/libjvm.so, because libffi.so.4: cannot open shared object file: No such file or directory
21:54:41 makefile:82: recipe for target 'compile' failed
21:54:41 make: *** [compile] Error 6
https://ci.adoptopenjdk.net/view/work in progress/job/openjdk8_hs_openjdktest_s390x_linux/2/console
Running java version locally got same behavior:
jenkins@build-marist-ubuntu1604-s390x-1:~/test/jdk8u172-b03/jre/bin$ ./java -version
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_linux_zero.cpp:254), pid=64869, tid=0x000003ffb2bff910
#  fatal error: caught unhandled signal 11
#
# JRE version:  (8.0) (build )
# Java VM: OpenJDK 64-Bit Zero VM (25.71-b00 interpreted mode linux-s390x )
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /data/home/jenkins/test/jdk8u172-b03/jre/bin/hs_err_pid64869.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)

Open build issue:
https://github.com/AdoptOpenJDK/openjdk-build/issues/257

SDK build itself failed
https://ci.adoptopenjdk.net/job/openjdk8_build_s390x_linux/159/console
Wondered if build fails why it can still be accessed by https://github.com/AdoptOpenJDK/openjdk-api

Closing as now listed in summary issue #346


Feature: allow all commands to operate on alternate changelog file

Currently, other than the new command, all commands assume that the file being updated is CHANGELOG.md in the current working directory.
However, a number of projects will have different changelogs per major or minor version.
As such, we need some global option available that all commands can be aware of which will be used to indicate the specific file to work with, defaulting to CHANGELOG.md.

Fixed with #14; to release with 1.3.0.


CoAP Cancel Observe Option

Hi,
I am having problem in cancelling registered observe option, making use of this function MarkObserveCancel(), but i see multiple observe option is registered for the same resource  in wireshark.
How do I cancel these individually based on tokens ?
edwin

Hi~
Two approaches are available to cancel a observation.

Cancel the original register request.

// a new request
Request obs;

// mark as observer
obs.MarkObserve();

// issue the request
obs.Send();

// ...

// wanna cancel the observation now
request.IsCancelled = true;

// that's all. a RST will be sent on next notification to end this observation.

Send a new cancel request with same  token

// a new request
Request obs;

// mark as observer
obs.MarkObserve();

// issue the request
obs.Send();

// ...

// wanna cancel the observation now
Request cancel = Request.NewGet();
// copy options, but set Observe to cancel
cancel.SetOptions(obs.GetOptions());
cancel.MarkObserveCancel();
// same token
cancel.Token = obs.Token;
// same target
cancel.Destination = obs.Destination;
// and go!
cancel.Send();

The latter one may be what you want.
Please refer to CoapObserveRelation for more details.
You may also use the CoapClient  class for convenience.


Ruby API library dead?

Hey guys, do you have any plans to resurrect this library? It's very outdated

It is being resurrected now :slightly_smiling_face: There will be an update by the next few weeks


ruby-mqtt 2x slower than paho-mqtt

Hi there,
I'm comparing different ruby mqtt clients, I have this code:
client = MQTT::Client.new(username: 'testuser', password: 'testpasswd', client_id: "client_#{rand(1..1_000_000)}", host: '<IP_ADDRESS>', )
client.connect()

count = 0
loop do
  count += 1
  i = rand(1..10)

  topic = "to/timebox#{i}/cameras"
  msg = "message #{count} #{Time.now} for timebox#{i}"
  client.publish(topic, msg, true, 1)
end

Here is a version using paho-mqtt
$client = PahoMqtt::Client.new(username: 'testuser', password: 'testpasswd', client_id: "client_#{rand(1..1_000_000)}")
$client.connect('<IP_ADDRESS>', 1883)

$count = 0
def send_message
  $count += 1
  i = rand(1..$total)

  topic = "to/timebox#{i}/cameras"
  msg = "message #{$count} #{Time.now} for timebox#{i}"
  $client.publish(topic, msg, true, 1)
end

$client.on_puback { send_message } # QOS1
send_message
loop { sleep 1 } # to keep process running

I used pv to calculate how many messages are being received per second and I'm getting:

ruby-mqtt: 92 / sec
paho-mqtt: 180 /sec

I prefer the syntax of ruby-mqtt and it appears to be better maintained, but any ideas why ruby-mqtt is nearly 2x slower?

No sorry, I am not certain why there is such a different in publish speed - it must have something to do with ruby-mqtt being synchronous/using threads. paho-mqtt borrowed the packet parsing code from ruby-mqtt, so it is unlikely to be that.
Have you tested the speed different for QoS 0?

@rgaufman please can you test to see if @tenderlove's improvements fix your performance problems?

Maybe just close this issue seeing https://github.com/RubyDevInc/paho.mqtt.ruby hasn't had any updates in main since Oct 4, 2018?


feat/data: update HIFLD data to April 2022 version, refactor line assignment

Pull Request doc
Purpose

Update the data we're pulling to use the latest available (April 2022 for both transmission lines and substations)
Refactor the logic to account for the fact that many lines don't have substations at their endpoints
Update our set of line/substation interconnect assumptions in light of the above.

What the code is doing

In load.py, we're a bit more accommodating of the inconsistent naming of the Shape Length columns that we want to drop.
In topology.py, we make sure that we tag all of the separated/reconnected lines with their appropriate interconnects.
In transmission.py:

We modify the behavior of the map_lines_to_substations_using_coords function so that if there are no substations 'close' to a line's endpoint (as defined by our new optional parameter), we create a new proxy substation for it. We do the KDTree/query process twice, where the first time just collects a list of transmission line endpoints with no substation, then we add proxy substations, and the second time we actually re-map all the lines.
We avoid filtering out substations which are tagged as having LINES = 0, since this information seems to be very noisy.

Testing
Tested manually to generate static grid components. ~The resulting static grid components haven't been tested for network feasibility yet, so we may also need to update some of the line assumptions that were introduced in #276.~ EDIT: update: the results of this new code have been tested alongside the new code in #286 and new line/substation assumptions have been added which seem to ensure generator-side feasibility.
Usage Example/Visuals
The call signature to map_lines_to_substations_using_coords remains the same, we just add one more optional parameter that controls how far away from any substation a line's endpoint can be before we create a new proxy substation for it (instead of connecting it to an existing one).
Time estimate
30 minutes? The code changes are fairly light, most of the changes are in the constants which required a tedious guess-and-check process. ~This is a draft PR for now, since the functionality depends partially on #283, and since we may want to make some modifications to the underlying logic, but the code that's here creates the interconnections as we expect.~ EDIT: #283 is merged, so this is ready to go.

I'm going to wait to finish/merge this until #286 is merged, since the updates for feasibility don't work by themselves without the #286 logic.


Add an automated installation script and updated the README.md file

It would be good to have the option to set up cluster-insight on a specific cluster of the project.


Error when visiting someone's or my profile

Description
There is an error thrown whenever I visit my or someone's profile.
Steps to reproduce
Login in the dummygram website and then click on the menu near your profile pic and click on profile.. It throws an error and returns 404 not found page
Screenshots

Desktop (please complete the following information)
Windows 11.
Google Chrome
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I am a participant of a program
[X] I want to work on this issue

Optional information
No response

Description
There is an error thrown whenever I visit my or someone's profile.
Steps to reproduce
Login in the dummygram website and then click on the menu near your profile pic and click on profile.. It throws an error and returns 404 not found page
Screenshots

Desktop (please complete the following information)
Windows 11. Google Chrome
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I am a participant of a program
[x]  I want to work on this issue

Optional information
No response

Seems like there's an issue with your profile, can you please share your signup method?

I signed up using the default method.. and the error is only showing when the url has the username in it if it have the user id then the profile is shown

As per the implementation, we assign user id as the default username. There must be some error in between this conversion and accessing the profile information. Can you try to resolve it? Thanks a lot for raising the issue.


New App: ctis-taxii

Name of the app
ctis-taxii
(I have opted for hyphenating this app name to make it more readable. CTIS offer other protocols, so I wanted to be as specific as possible)
The name of app your are contributing. Please ensure the app name
follows our naming convention.
Integration
The technology that your app integrates with.
This app will integrate with the Australian ASD's CTIS program which exposes a TAXII v2.1 REST server to participating agencies.
This app is intended to provide similar functionality to the integration with MS Sentinel:
https://www.cyber.gov.au/about-us/view-all-content/news-and-media/join-the-cyber-threat-intelligence-sharing-service-through-sentinel
References:

https://splunk.atlassian.net/browse/FDSE-2250
https://www.oasis-open.org/standard/taxii-version-2-1/
https://www.cyber.gov.au/resources-business-and-government/maintaining-devices-and-systems/system-hardening-and-administration/gateway-hardening/gateway-security-guidance-package-executive-guidance

About
The app will provide actions to:

generate Indicator STIX JSON from SOAR artifacts or indicators
submit Indicators of Concern (IOC) to the TAXII server
potentially use on-poll to schedule submission in batches

Thanks @bliew-splunk
https://github.com/splunk-soar-connectors/ctis-taxii
If we are all set, please close out the issue. Thanks

Thanks @alexa-phantom


firebase setup

Hey Reese, I would suggest creating a new folder locally and cloning the current master branch then implementing your changes on the most updated branch. Also, I'd take a look at how I hid the other firebase/other credential keys so that they aren't public on the GitHub


fix for the MiqRequestWorkflow.descendants issue

Fix for the MiqRequestWorkflow.descendants issue
We rely on MiqRequestWorkflow descendants to be comprehensive as methods like all_encrypted_options_fields rely on that information.

@matthewd as discussed.  Thanks.

@gtanzillo updated PR as per discussion with Matthew.

:+1:


package.json: Remove engines to prevent warnings

Prevent npm from showing warning messages on systems that are not
running node 0.8.x (most at this point). engines isn't relevant for
browser packages.

+1

+1 any way to merge?

@timwis just a fork I guess


Question

Describe the bug
streamAvailable() is returning false , first time it work fine but i install wifimanager library and doesn't work with it , then i delete wifimanager library and write the example only but not work again
Expected behavior
get true when change in realtime database
IDE and its version:

Arduino
Version 1.8.13

ESP8266 Arduino Core SDK version

Version 2.7.4

When i downgrade to version 2.0.8 it work fine !

It's not related to the library version.
Set this to false when you want other library to control WiFi.
I'm not recommend to let other library to control the WiFi reconnection, this library has its proper way to reconnect the WiFi and the proper synchronization of operation.
When you use other library to control WiFi reconnection, it interfere this library to trying to reconnect WiFi and interrupt the stream.
I recommend use WiFi manager only for setup the WiFi credential once in the setup and disable it after that (don't let it polling in the loop).

It you have the issue or something that you want to ask, please use Discussions.

The library has non-blocking WiFi reconnection process.
It stops and re-connects the WiFi when WiFi is not ready every 10 seconds by using the WiFi function reconnect and this is the best solution that make the WiFi connection resuming 100% works in both ESP32 and ESP8266 instead of stop it and call the begin and wait for the connection state ready in the loop like other people do.

thank you for your replay , but i already do what you said to me and doesn't work in last version of your library. i am not professional in arduino but that what happened to me.

It's not related to this library.
If you get the conflicts when using the WiFiManager, contact the dev of that library or read its doc how to disable the WiFi status polling.

no sir i delete all library and let your library only and doesn't work in last version

There are no changes in the connection process between version 2.0.8 and the latest version of this library.

The library works as normally as I test it often everyday.

I don't know why it happened i will try to delete all thing and try from scratch , Thanks for your replays :D

You should check your router or WiFi AP instead if you have the internet connection problem.

If you use ESP32 avoid Sparkfun ESP32 Thing board.

If you use only this library and no WiFiManager and still get the internet connection problem in the stream resuming, check the WiFi AP as I said above.
The non standard x-tal of some board may cause the unstable WiFi connection and it usually disconnected.
In case of long USB cable between board and your PC, you also need to use large capacitor (>220 uF) connected between 3v3 and gnd on the board to prevent voltage drop during high inrush current occurred when WiFi is working (during data transmission).

Now i face other problem prevent me to solve first problem i get "max token generation retry reached" , i change all firebase and restart my router and get same error :(

That's because the internet connection failed.
Please try to change the WiFi hotspot or using your cell phone or PC as WiFi hot spot or reset the router.

You really save my day bro, now i will do what you said about first problem :)

I'm glad to know it works again.


THRIFT-5144: Fix memory leak when generate deserialize list element

Client: c_glib
Patch: wangyunjian
Signed-off-by: wangyunjian<EMAIL_ADDRESS>

I'd really love to have a test case I could use directly w/o spending much time finding one.

        /* iterate through list elements */
        for (i = 0; i < size; i++)
        {
          gint32* _elem44 = g_new (gint32, 1);
          if ((ret = thrift_protocol_read_i32 (protocol, &*_elem44, error)) < 0)
            return -1;
          xfer += ret;
          g_array_append_vals (this_object->big_numbers, _elem44, 1);     // (1)
          g_free (_elem44);                                                                            // (2)
        }

Given at (1) the allocated _elem44 is added to the list, why should we free it at (2)? What sense would that make? Are you trying to insert a use-after-free here?

        /* iterate through list elements */
        for (i = 0; i < size; i++)
        {
          gint32* _elem44 = g_new (gint32, 1);
          if ((ret = thrift_protocol_read_i32 (protocol, &*_elem44, error)) < 0)
            return -1;
          xfer += ret;
          g_array_append_vals (this_object->big_numbers, _elem44, 1);     // (1)
          g_free (_elem44);    // (2)
        }

Given at (1) the allocated _elem44 is added to the list, why should we free it at (2)? What sense would that make? Are you trying to insert a use-after-free here?

The g_array_append_vals() functions adds the value to the array with memory copy.
This will not cause a use-after-free.
Thanks.
GArray*
g_array_append_vals (GArray       *farray,
gconstpointer data,
guint         len)
{
GRealArray array = (GRealArray) farray;
g_return_val_if_fail (array, NULL);
if (len == 0)
return farray;
g_array_maybe_expand (array, len);
memcpy (g_array_elt_pos (array, array->len), data,
g_array_elt_len (array, len));
array->len += len;
g_array_zero_terminate (array);
return farray;
}

@allengeorge I leave this up to you

OK. Thank you.

It's been ages since I looked at C, but, looking at the underlying definition @wyjwang appears correct: g_array_append_vals does copy the object onto the end of the array via memcpy. (I guess intuitively that makes sense; arrays are contiguous access).

@Jens-G How would I retry the XCode 10.2 pdb job? It seems to have what's stopped the Travis CI job.

A test-case would be useful. Separately (and independent of this ticket) perhaps a ENABLE_MEM_CHECK gtk would allow us to catch problems in CI? Again, it's been ages since I worked in C.

Thanks!
TBH I just noticed that I did remember the wrong name (or the right name in the wrong context), so please forgve me :-)

No worries!
There are quite a few PRs related to c_glib. I wish I had the knowledge to properly review them.

Hey all.
From what the patch author has submitted to THRIFT-5144 Jira, it's pretty clear that to reproduce the issue, you must build with -fsanitize=address and just run the existing tests. They'll fail with tons of ASAN reports; most of which are related to the bison or whatever parsing code (and I really hope that's a false positive).
ASAN reports mention g_malloc too on master; no mention of g_malloc with the patch applied:
$ make -sC BUILD test
$ grep g_malloc BUILD/Testing/Temporary/LastTest.log
$
$ # no output with the patch

but like this on master:
$ grep -C2 g_malloc BUILD/Testing/Temporary/LastTest.log
Direct leak of 184 byte(s) in 53 object(s) allocated from:
    #0 0x7f32f8f63b3a in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x7f32f8d35ce9 in g_malloc (/usr/lib/libglib-2.0.so.0+0x65ce9)
    #2 0x563ddfb090f3 in struct_constants_read_write /home/ulidtko/src/thrift/lib/c_glib/test/testserialization.c:49
    #3 0x7f32f8d19dee  (/usr/lib/libglib-2.0.so.0+0x49dee)
--
Direct leak of 28 byte(s) in 7 object(s) allocated from:
    #0 0x7f32f8f63b3a in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x7f32f8d35ce9 in g_malloc (/usr/lib/libglib-2.0.so.0+0x65ce9)
    #2 0x563ddfb08c8a in enum_constants_read_write /home/ulidtko/src/thrift/lib/c_glib/test/testserialization.c:24
    #3 0x7f32f8d19dee  (/usr/lib/libglib-2.0.so.0+0x49dee)
--
Direct leak of 17 byte(s) in 2 object(s) allocated from:
    #0 0x7f3e80d9ab3a in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x7f3e80b6cce9 in g_malloc (/usr/lib/libglib-2.0.so.0+0x65ce9)

SUMMARY: AddressSanitizer: 17 byte(s) leaked in 2 allocation(s).
--
Direct leak of 32 byte(s) in 4 object(s) allocated from:
    #0 0x7f7cc9d9fb3a in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x7f7cc9b71ce9 in g_malloc (/usr/lib/libglib-2.0.so.0+0x65ce9)

SUMMARY: AddressSanitizer: 32 byte(s) leaked in 4 allocation(s).

The problem of incomplete display of g_malloc can be solved by configuring this parameter.
export G_DEBUG=gc-friendly
export G_SLICE=always-malloc
export ASAN_OPTIONS=halt_on_error=1:detect_leaks=1:log_path=/home/ubuntu/asan:fast_unwind_on_malloc=0:log_exe_name=true

@stale no bot, don't do it yet.


Add build, image scanning and tests

I've got a test script.  This could run as part of a Github Action.
Also run a grype scan of the image, using this action here.
Use Github Action badge instead of Docker Hub badge.

I've got this running in a branch, ghactions-testing.

Done, and there's a publish workflow too now, when a tag is created


Netopeer2-server aborts with validate RPC.

netopeer2-cli RPC call
validate --source candidate
nc ERROR: Session 2: SSH channel poll error (Socket error: disconnected).
cli_send_recv: Failed to receive a reply.

netopeer2-server -d -v2 Logs
[INF]: SR: Published event "rpc" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf:validate" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
netopeer2-server: /home/govind/NETCONF/sysrepo/src/modinfo.c:160: sr_modinfo_next_mod: Assertion `data' failed.
Aborted

Version
netopeer2-server 1.1.1
Netopeer2 CLI 2.0.55

Hi,
please try the latest sysrepo, should work now.
Regards,
Michal


Group could have wrong path name

Didn't know that there couldn't be any slashes in the group path, so being extra explicit about it. Don't know if this belongs to this module or is just something I didn't know about Django Channels.

I'd prefer the check be "/" not in group, since it's a bit easier to read, but I can do that rather than making you redo the PR if you want.

Maybe it is just that it took me a while to figure out what names can and cannot be used.
Not really necessary to add the assert, I agree.

It's given in the ASGI spec what names are valid: http://channels.readthedocs.io/en/latest/asgi.html
I'll modify the base asgiref class to have a validator subclasses can call that checks all those conditions.

Yes, thanks! Probably just a matter of too much information at the moment :)
Nice work overall! Really useful


Support for grafana 8?

I am wondering if there is any support for grafana 8 or if i just have done something wrong. Adding the weathermap panel i can add queries but nothing shows up and there are no settings to customize the display/visualization

Hi,
the available plug in is compatible with Grafana 6
Porting and compatibility with Grafana 8.x is in progress
We contribute to the maintenance of the plugin and to its follow-up according to the priorities.
If you want to see the next version quickly, we can exchange in private message
Thanks


Offline playback of already stored content

I have been checking the code for offline playback and what I understood is that we need to store the content first and then play it. Is it possible to play locally stored content directly without going through the storing process? I have a Widevine encrypted mp4 video file on the sd card of an android phone, is it possible to decrypt/play it using Shaka?
Thank you

To play Widevine encrypted content, you still need a license to decrypt it.  Licenses are requested through the CDM and issued by the content provider.
It doesn't sound like your use-case is what Shaka was designed for.  You can't just grab a copy of an encrypted MP4 and play it back in a browser without considering the rest of the infrastructure that makes DRM work.
Does that answer your question?

Thank you for your reply.
Indeed a license is needed and will be provided through a licensing server, and then the video will be decrypted and played offline.
As you mentioned, Shaka does not seem to be the appropriate solution for my use-case.

If you're planning to fetch a temporary license for playback, but the content is stored offline, then it's not "offline" in the sense that Shaka uses the term.  For us, that would be a streaming or VOD playback.
The issues then become: can you access the content via a URL, and do you have a manifest for the video?  If both answers are "yes", then Shaka should be able to do this.


Sync eng/common directory

Sync eng/common directory with azure-sdk-tools for PR

Can one of the admins verify this patch?


fix(webpack): remove public path from webpack-hot-middleware config

Current coverage is 72.72% (diff: 100%)

Merging #1124 into master will not change coverage

@@             master      #1124   diff @@
==========================================
  Files            12         12
  Lines            66         66
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             48         48
  Misses           18         18
  Partials          0          0

Powered by Codecov. Last update bc75f92...14513b0

I love you. :) Seeing you commited this 3 hours ago you just gave me one good night sleep.

Can confirm this fix also addresses issues I was having with HMR not updating

Ah crap, sorry about that. Thank you for the fix!

Sweet thanks for merging!


Fix MLTensorUsage is undefined issue

Chromium has removed MLTensorUsage at https://chromium-review.googlesource.com/c/chromium/src/+/6015318, this would cause the MLTensorUsage is undefined issue in latest Chrome Canary. If we remove it directly the old version of Chrome will fail.
So in the PR we polyfill the MLTensorUsage to make it compatible.

@huningxin, @ibelem, PTAL, thanks!


Add Desktops To Apps (Xfce4, Mate And Lxde)

Adds:

Mate Desktop
Xfce4 Desktop
Lxde Desktop

I added lxde and xfce apps.  I am not going to add the others right now, as I am getting closer to changing how distro are built and how people can choose a different default desktop.

Ok... Good to hear from you.


Add a section in the README for Vim Plug users

I use https://github.com/junegunn/vim-plug as a plugin manager. It would be nice if we had a section on how to install and configure persistence.nvim for users not familiar with packer or lua.
Thank you for all your contributions for the community!

added...


[cherry-pick] chore: bump otelcontribcol to 0.103.0-gke.4 (#1422)

This addresses CVEs in the previous image

/lgtm


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2448

Questions ?
Please refer to the Backport tool documentation


CI TEST - DO NOT MERGE

PR is added to the queue for testing as 2. task. (bb0815b)

Test (Success) 51986340 build is completed (bb0815b)
See https://github.com/ThaliTester/TestResults/tree/51986340bb0815b_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test 51986340bb0815b(bb0815b) has failed
See https://github.com/ThaliTester/TestResults/tree/51986340bb0815b_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (a77003b)

Test (Success) 51986340 build is completed (a77003b)
See https://github.com/ThaliTester/TestResults/tree/51986340a77003b_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test 51986340a77003b(a77003b) has failed
See https://github.com/ThaliTester/TestResults/tree/51986340a77003b_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (9bc5c94)

Test (Success) 51986340 build is completed (9bc5c94)
See https://github.com/ThaliTester/TestResults/tree/519863409bc5c94_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test 519863409bc5c94(9bc5c94) has failed
See https://github.com/ThaliTester/TestResults/tree/519863409bc5c94_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (8c638e9)

Test (Success) 51986340 build is completed (8c638e9)
See https://github.com/ThaliTester/TestResults/tree/519863408c638e9_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test 519863408c638e9(8c638e9) has failed
See https://github.com/ThaliTester/TestResults/tree/519863408c638e9_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (75bb434)

Test (Success) 51986340 build is completed (75bb434)
See https://github.com/ThaliTester/TestResults/tree/5198634075bb434_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test<PHONE_NUMBER>bb434(75bb434) has failed
See https://github.com/ThaliTester/TestResults/tree/5198634075bb434_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 3. task. (441e256)

Test (Success) 51986340 build is completed (441e256)
See https://github.com/ThaliTester/TestResults/tree/51986340441e256_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test<PHONE_NUMBER>1e256(441e256) has failed
See https://github.com/ThaliTester/TestResults/tree/51986340441e256_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (4492c11)

Test (Success) 51986340 build is completed (4492c11)
See https://github.com/ThaliTester/TestResults/tree/519863404492c11_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test<PHONE_NUMBER>92c11(4492c11) has failed
See https://github.com/ThaliTester/TestResults/tree/519863404492c11_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (f53c66f)

Test (Fail) 51986340 build is completed (f53c66f)
See https://github.com/ThaliTester/TestResults/tree/51986340f53c66f_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

PR is added to the queue for testing as 1. task. (b14f258)

Test (Fail) 51986340 build is completed (b14f258)
See https://github.com/ThaliTester/TestResults/tree/51986340b14f258_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

PR is added to the queue for testing as 1. task. (4161ea3)

Test (Fail) 51986340 build is completed (4161ea3)
See https://github.com/ThaliTester/TestResults/tree/519863404161ea3_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

PR is added to the queue for testing as 1. task. (afa1391)

Test (Success) 51986340 build is completed (afa1391)
See https://github.com/ThaliTester/TestResults/tree/51986340afa1391_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the logs

Test 51986340afa1391(afa1391) has failed
See https://github.com/ThaliTester/TestResults/tree/51986340afa1391_CI_TEST_-_DO_NOT_MERGE_vjrantal/ for the fail logs


Compiling with xcode and --enable-amd64-51-30k has invalid .section in consts.S

Hi,
I think that there should be some ifdef for compiling with xcode and ./configure --enable-amd64-51-30k, as it gives:
ed25519/amd64-51-30k/consts.S:1:17: error: unexpected token in '.section' directive
.section .rodata

make: *** [ed25519/amd64-51-30k/consts.S.o] Error 1

I fixed it on my end with:
.text

.global .rodata

.globl CRYPTO_NAMESPACE(batch_REDMASK51)
...

Instead of the .section that's there.
Thanks.

have you tried substituting .section .rodata with .const or .data instead?
it seems that it changed when i ported this to new SUPERCOP, at https://github.com/cathugger/mkp224o/commit/f374555fd4d2d8b28bff3e7e98c362073f173038
used to be .data, i can't really find whether linux supports this but .const seems like it would be MacOS  equivalent to what .section .rodata should do on linux.
i guess i could either do conditional compile to use .const for macos, or .data for all targets.

i don't have a mac to test with

Let me check.

That gives me:
ed25519/amd64-51-30k/consts.S:1:8: error: unexpected token in section switching directive
.const .rodata
       ^
make: *** [ed25519/amd64-51-30k/consts.S.o] Error 1

Did I get you right on .const .rodata?

no, just .const, not .const .rodata

That works.

could you try replacing it with
#ifndef __APPLE__
.section .rodata
#else
.const
#endif

and tell if that works

Works well. Thank you.

Guess this should be applied to  amd64-64-24k etc., as well.

yeah.

https://github.com/cathugger/mkp224o/commit/68928c49849170e06f3c1f6c01ef0a12cd2385c2 should probably be good.

I'll re-clone and compile, just for good measure.

Compiled with four different flags on latest and all pass. Thank you!


docs: add quickstart

SUMMARY
As per Discussion #25976 and [DISCUSS] sent over the Apache dev mailing list, this PR creates a quickstart page, simplifying the installation process, and providing:

Simplifying the installation method.
Allowing users to get up and running a Superset instance faster.

While allowing us to:

Split installation and configuration topics.
Provide a stable playground for users to explore (by making the user to install a stable release of Superset).

Sorry I didn't get my review in earlier - but it's okay because it looks great!  Fantastic work @artofcomputing !!  And thanks @michael-s-molina and @john-bodley for the feedback.  I like having the users check the latest and specify that version manually.


Running netopeer2-cli as a single command

I'd like to run an edit-config using netopeer2-cli but as a single command.
I.e., currently one must:
$ netopeer2-cli
> connect
> edit-config --target=running --file=..

But is there a mode where I can run netopeer2-cli all in one line in my shell? I.e.,
$ netopeer2-cli --run-command 'edit-config --target=running --file=...' --user root --pass root

When I look for the netopeer2-cli --help nothing comes up in that form.
Env:

libyang1-1.0.184-7.2.x86_64.rpm
sysrepo-1.4.70-2.3.x86_64.rpm
libnetconf2-1.1.26-2.3.x86_64.rpm
netopeer2-1.1.39-2.3.x86_64.rpm

Look into netopeer2/cli/sample_script.sh. It is possible to write a script that will perform whatever commands you want.

Look into netopeer2/cli/sample_script.sh. It is possible to write a script that will perform whatever commands you want.

Look into netopeer2/cli/sample_script.sh. It is possible to write a script that will perform whatever commands you want.

This looks promising, however I'll need to programmatically get around the interactivity of the connect command. Looks like my options are:
connect [--help] [--ssh] [--host <hostname>] [--port <num>] [--login <username>]
connect [--help] --tls [--host <hostname>] [--port <num>] [--cert <cert_path> [--key <key_path>]] [--trusted <trusted_CA_store.pem>]
connect [--help] --unix [--socket <path>]

Look into netopeer2/cli/sample_script.sh. It is possible to write a script that will perform whatever commands you want.

This looks promising, however I'll need to programmatically get around the interactivity of the connect command. Looks like my options are:
connect [--help] [--ssh] [--host <hostname>] [--port <num>] [--login <username>]
connect [--help] --tls [--host <hostname>] [--port <num>] [--cert <cert_path> [--key <key_path>]] [--trusted <trusted_CA_store.pem>]
connect [--help] --unix [--socket <path>]

Hello,
To remove interactivity at connect level, key authentication is a good solution.
Also, in such study, Python module ncclient needs to be assessed as well.
Regards.
Christian.

Hello,
To remove interactivity at connect level, key authentication is a good solution.
Also, in such study, Python module ncclient needs to be assessed as well.
Regards.
Christian.

Yeah, what @robbynet says, SSH keys avoid all interactivity. Also, netopeer2-cli is mostly an example client that should work well but with only basic functionality. So if you require more, you should probably look for some other client.

Yeah, what @robbynet says, SSH keys avoid all interactivity. Also, netopeer2-cli is mostly an example client that should work well but with only basic functionality. So if you require more, you should probably look for some other client.

@michalvasko / @robbynet - is there documentation on how to generate keys for netopeer2-server/client?
I'm not sure if I can just use ssh-keygen and copy the id_rsa files to certain locations or not, thought I would ask you first.

@michalvasko / @robbynet - is there documentation on how to generate keys for netopeer2-server/client?
I'm not sure if I can just use ssh-keygen and copy the id_rsa files to certain locations or not, thought I would ask you first.

From my simple End User view, via "auth" cmd, CLI is flexible enough to avoid any constraint on keys installation. In my env to avoid having to enter pwd, CLI has been configured as follow :

auth keys
The keys used for SSH authentication:
#0: /home/netconf/.ssh/id_dsa.pub (private /home/netconf/.ssh/id_dsa)
auth pref
The SSH authentication method preferences:
'publickey':   3
'password':    1
'interactive': 2

From my simple End User view, via "auth" cmd, CLI is flexible enough to avoid any constraint on keys installation. In my env to avoid having to enter pwd, CLI has been configured as follow :

auth keys
The keys used for SSH authentication:
#0: /home/netconf/.ssh/id_dsa.pub (private /home/netconf/.ssh/id_dsa)
auth pref
The SSH authentication method preferences:
'publickey':   3
'password':    1
'interactive': 2

@esend7881 You can generate the keys using ssh-keygen but you must set them using CLI command auth. No need to copy them anywhere, this command takes care of that.
As for RPMs, no, we do not provide separate packages of individual netopeer2 binaries.

@esend7881 You can generate the keys using ssh-keygen but you must set them using CLI command auth. No need to copy them anywhere, this command takes care of that.
As for RPMs, no, we do not provide separate packages of individual netopeer2 binaries.


Adding Social icons to the footer

Is your feature request related to a problem? Please describe.
Adding Social icons to the footer.
Assign this to me!!
Describe the solution you'd like
Adding Social icons to the footer.
Describe alternatives you've considered
Adding Social icons to the footer.
Additional context
No response

make changes in hacktoberfest branch

Hey,can you please assign me this

make changes in hacktoberfest branch

okay


One strange message & One IMHO

1) Strange message again during launching *.bat commands (on English):
There are no elements in the list.
Last time it was my fault, I've forgot put the *.txt file where it should be (custom path).
This time I've rechecked all settings (as always), files and pathes.
If I'm using your pack as it is, I have the same error.
May be it is problem with spaces in the path again or so?
But dnscrypt-proxy works, I don't see other issues.
2) Small advise
IMHO, the name of this parameter and description is very unclear:
ignore_system_dns = false
Because, when I see "system", I think about traditional meaning - Windows Network adapter settings.
Better should be like this:
# Switch to common non-encrypted DNS resolver. Fallback resolver will be used.
# All bennefits of the DNS encryption technology will be eliminated.

non_encrypted_dns = false

May be new option [schedules] don't understand, where is my custom blocking file and cusom path?
(I don't use schedules), this lines are commented #

ignore_system_dns means exactly that: Windows Network adapter settings (on Windows).
In order to load https://example.com/resolvers.md, should it try the system DNS settings to resolve example.com (and fallback to the fallback resolver if that fails), or should it assume that the current settings don't work, and go straight to the fallback resolver?
There's no encryption here. Setting this to "true" just eliminates a 30 second delay, only the first time the service is launched, and only if even that first time, you have a system with a DNS configuration that doesn't work.
I suspect that some people on some routers may want that.

As a side note, people with the same issues as yours will never ever find them.
In order to avoid this, it would be nice to give issues a more relevant title (here: the exact error message you saw), and to dedicate one issue to one topic instead of mixing unrelated subjects. Thanks!

Thanks for the explanation. This time I understand the meaning.
Anyway, I think, the info in the *.toml is very unsatisfactory.
Your new good explanation + info about 30 sec. may become useful (user will understand what waiting for from this mode).

ignore_system_dns means exactly that: Windows Network adapter settings (on Windows).

My disagrees:

ignore_system_dns = false [ Q: Are you "ignore_system_dns" using DNSCrypt normally? A: (?) ]
Yes? So, why you have "false" here? Misunderstood.

ignore_system_dns will have no luck on Windows Network adapter, because 127.0.0.XX1, 127.0.0.XX2 are already set in this place (if you already had dnscrypt-proxy installed). The very new customer will read the wiki or short manual on 3-rd party forum and will set the same 127.0.0.XX1, 127.0.0.XX2 on the adapter before starting dnscrypt-proxy first time)   :))))

ignore_system_dns = (unlucky) system DNS = fallback_resolver for 30 sec. OK? fallback_resolver comes from *.toml, isn't it? Yep, this is not Windows Network adapter settings again.

fallback_resolver is not ISP DNS also, because you recommend DNSSEC support for it (or external IBM Quad9 - <IP_ADDRESS> as example). Internal ISP DNS don't have such support in most cases. So, it is not ISP, so it's not relevant to settings from Windows Network adapter again.

(I don't know how this work in routers yet, but soon I will. Very nice, you care about routers!)
So, I'm propose clear and short variant:
# Temporary switch to common non-encrypted DNS resolver.
# Fallback resolver will be used for 30 seconds to load resolvers list.

30sec_fallback_dns = false

http://halmanbitter7moh.wordpress.com

Since it's confusing, this flag will be removed from the example configuration file, and just be left in the documentation, when there will be a documentation.


Update Cato SCIM Provisioning Document for Updated UI

In the section Step 2. Configure Cato Networks to support provisioning with Azure AD, steps 1, 2, and 3 are incorrect and show the old UI.
Here are the correct steps:

Log in to your account in the Cato Management Application.
From the navigation menu select Access > Directory Services and click the SCIM section/tab.
Select Enable SCIM Provisioning to set your account to connect to the SCIM app.
Click Save.

Let me know if I can help with updated screenshots - thanks!

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

ID: 4f44cb9a-4579-e54e-9b13-9a2f2c1ed625
Version Independent ID: 308401db-1778-d4b0-8370-9a2f8f97c09d
Content: Tutorial: Configure Cato Networks for automatic user provisioning with Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/saas-apps/cato-networks-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @twimmers
Microsoft Alias: thwimmer

@yaakov-simon Thanks for your feedback. We will investigate and update the thread.

@yaakov-simon
I am PM from Azure AD Provisioning Integrations. Do mind sharing the updated Step 2 along with new pictures or any other changes you want to<EMAIL_ADDRESS>I review it and update the Doc.

@udhaymahajan - Are there any updates? Did you receive the email that I sent with the changes for this article?

Thanks @yaakov-simon  for the feedback. I have made a doc change to address this issue. The change should be live by 10/17.
#please-close


Create UX/UI login form

Including

Username:

Type: text
Component: input
Validator: 8-16 characters, not include special character.

Password:

Type: password
Component: input
Validator: 8-32 characters, must include at least 1 uppercase letter, 1 special character, 1 number.

@tan-qui For username what if I chose foo_bar or foo.bar? how about number? and case sensitive?

So tan-qui is now out of the team now, I'm gonna handle this one.


Qiscus Comment Delegate

QiscusRoomDelegate {
    public func gotNewComment(_ comments:QiscusComment) {
        print("new \(comments.commentText)")
    }

Qiscus 2.4.1
sender gotNewComment twice with same comment text. But receiver gotNewComment 1

solved in the next release 2.5.0


Coverage on non-built VS Code only covers *.js files

Build VS Code locally
Run test.[sh|bat] --coverage (note that this is currently broken, see https://github.com/microsoft/vscode/issues/145593 for workaround)

The coverage files are generated, but they only show coverage for the *.js files.

This was broken with https://github.com/Microsoft/vscode/commit/43552705438d57a706cba465ee3a2c354124a082 - since we inline the source maps for non-built compiles now the .js.map files aren't generated which means that https://github.com/Microsoft/vscode/blob/ca5144362b0d8a8908127c99f942d69f86d4933e/test/unit/coverage.js#L27 fails to find it.
If I comment that line out then the source map files are generated and coverage works as expected.

@connor4312 I'm not sure the context of the change you made - was that fixing some other issue?

We may fix this eventually, perhaps for self-hosting purposes when I add code coverage to built-in VS Code testing. But right now code coverage is not something that we have great interest in.


Parse error in Zend Tool

Small syntax error fixed in Zend_Tool

Somebody else has caught this since -- fix is in master.


Make it easier for CiviForm admins to see if a program is fully translated into a certain language

The rules for whether or not a program counts as "translated" into a given language are a bit complex:

The program itself needs to have its name and description translated, and
Each question in the program needs to be translated

Right now, the only way to see if a program is fully translated is to log in as an applicant, set your language to a given language, pull up the program, and see if you get the "sorry, this program isn't fully translated" toast. It's not very easy or intuitive for the CiviForm admin to do this.
Can we add a page where the admin can see their progress toward getting a program translated into any given language? Perhaps with a checklist that tells them everything they need to do: translate the program's name and description, translate question 1, translate question 2, etc.

I made the “manage translations” page into a separate page for both program and question in order to meet system context. So now the admin can see which language has been translated from that page. I am going to make some more push to add the questions translations part into the program manage translations page.
This is something right now:

Just an FYI that there ProgramDefinition#getSupportedLocales exists and correctly returns only those locales for which there are translations for publicly-visible program details and all program questions are translated

Not visible in UI yet, but back-end works; moving to Q3 for now.

Some answers from City via Neel:
For the questions themselves, the program admins usually send a PDF of their forms to a 3rd party translation company, who translates it and sends it back.
Alternatively, they sometimes copy all the questions into an Excel/CSV file and send it to the company, who will translate the questions and send back a new Excel/CSV file. Then the program admin copies that new text into their forms and websites.
Translating the application UI is similar.
One interesting insight is that the translation companies sometimes offer "backtesting" -- once the translations are in the app, the company goes to test the product to see if the translations make sense in context. For instance, "open" could mean different things in different contexts (open a menu vs. an application is open). If they notice they chose the wrong translation, they'll modify it.
I think translation of the programs and questions is the place where we'll want to have some new features. Initial thoughts are letting the CiviForm admin download a CSV of all questions (or at least the questions in a particular program), which they can then send to the translation company. Maybe we want to let them import a new CSV too, but getting the formatting right is probably pretty hard. Might be  better to just make them manually copy-paste the translations into the GUI.


Erroneous errors with tailwind-style @ rules

Plugin version: 0.9.1
I'm trying to use Tailwindcss '@apply' directives in a svelte

Quick follow-up. I was able to get rid of the second and third of these issues by disabling cc diagnostics
"svelte.plugin.css.diagnostics.enable": false
However, no clue how to get rid of the first one
Cannot read property 'push' of undefined svelte [1, 1]

To avoid the error create svelte.config.js with the following stub:
module.exports = {
  preprocess: {
    style: async ({ content, attributes }) => {
      if (attributes.type !== "text/postcss") return
      return new Promise((resolve, reject) => {
        resolve({ code: "", map: "" })
      })
    }
  }
}

Do not forget to add type="text/postcss" to a component:
<style type="text/postcss">
  .btn {
    @apply font-bold py-2 px-4 rounded;
  }
</style>

Awesome, that's sorted it - thanks 👍
Have I failed to read the appropriate docs somehow or is this a bit under-documented?

Thank you for the fix, I added it to the template to get rid of the problems.
https://github.com/marcograhl/tailwindcss-svelte-starter/

Looks like it doesn't work for me. Anyone else still facing the issue?

I just cloned your repo @marcograhl . I got this

Set svelte.plugin.css.diagnostics.enable": false

To avoid the error create svelte.config.js with the following stub:

where this file should be placed?

In the root of your project:
bash-3.2$ ls -1a
.
..
.gitignore
.prettierrc
.vscode
README.md
dist
docs
jsconfig.json
node_modules
package.json
postcss.config.js
rollup.config.js
samples
src
svelte.config.js
tailwind.config.js
yarn.lock

Just putting svelte.plugin.css.diagnostics.enable": false is working.

Just putting svelte.plugin.css.diagnostics.enable": false is working. No svelte.config.js is required.

i am sorry but where is this? i cannot seem to find it?

In VS Code, Click the Cog -> Settings -> Extensions -> Svelte


Pull assets in FromWorld?

Is it possible to pull the loaded assets/fonts when constructing FromWorld for structs?
struct MenuMaterials {
    background: Handle<ColorMaterial>,
    normal: Handle<ColorMaterial>,
    hovered: Handle<ColorMaterial>,
    pressed: Handle<ColorMaterial>,
    font: Handle<Font>,
    font_color: Color,
}

impl FromWorld for MenuMaterials {
    fn from_world(world: &mut World) -> Self {
        // access fonts here??
    }
}

AppBuilder::init_resource will invoke from_world very early and not wait for any specific App state. So if you want to use init_resource it will not work.
But if you need the resources only after everything got loaded, you can add an on_exit exclusive system to the loading App state and insert your resources there. At that point, you are able to access the AssetCollections through the ECS world in from_world.
impl FromWorld for MenuMaterials {
    fn from_world(world: &mut World) -> Self {
        let fonts = world.get_resource::<FontAssets>().expect("Font assets not loaded");
        // use your loaded asset collection here
    }
}

fn prepare_resources(world: &mut World) {
    let menu_materials = MenuMaterials::from_world(world);
    world.insert_resource(menu_materials);
}

// register system on exit of loading app state
app.add_system_set(
        SystemSet::on_exit(AppState::Loading).with_system(prepare_resources.exclusive_system()),
)

Great stuff! Thank you

FYI version 0.3.0 added build-in support for this pattern. You can now let the AssetLoader initialize your FromWorld resource for you.
    AssetLoader::new(MyStates::AssetLoading, MyStates::Next)
        .with_collection::<SpriteSheet>()
        .post_process::<MyTextureAtlas>()
        .build(&mut app);

See the atlas_from_grid example for the complete code.


🐛 BUG: wrangler d1 export writes ERROR near... to output file

Which Cloudflare product(s) does this pertain to?
D1
What version(s) of the tool(s) are you using?
3.57.1 [Wrangler]
What version of Node are you using?
v21.6.1
What operating system and version are you using?
macOS Sonoma 14.4.1
Describe the Bug
Observed behavior
When running npx wrangler d1 export my-db --remote --output myfile.sql, I get some tables, but then ERROR near "default": syntax error at offset 39. Here's the end of the file:
[ here are some CREATE TABLE IF NOT EXISTS and INSERT INTO queries ]
CREATE TABLE IF NOT EXISTS "Layout" (
    "id" TEXT NOT NULL PRIMARY KEY,
    "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" DATETIME NOT NULL,
    "name" TEXT NOT NULL,
    "default" BOOLEAN NOT NULL DEFAULT false,
    "active" BOOLEAN NOT NULL DEFAULT false,
    "media" TEXT NOT NULL,
    "objects" TEXT NOT NULL,
    "a4Options" TEXT NOT NULL,
    "ticketOptions" TEXT NOT NULL,
    "walletOptions" TEXT NOT NULL,
    "plasticCardOptions" TEXT NOT NULL,
    "receiptOptions" TEXT NOT NULL,
    "organizationId" TEXT,
    CONSTRAINT "Layout_organizationId_fkey" FOREIGN KEY ("organizationId") REFERENCES "Organization" ("id") ON DELETE SET NULL ON UPDATE CASCADE
);
ERROR near "default": syntax error at offset 39

Expected behavior
It exports correctly.
Steps to reproduce
To be honest, I don't know. The Layout table contains some entries with JSON strings, but those are just {}. Maybe the column called default is the problem?
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Yes, the default column is indeed the culprit. I renamed it to isDefault and it worked just fine.