Update zio, zio-streams, zio-test, ... to 2.1.3 in series/1.x

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-streams
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.18 to 2.1.3 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #53.


Strange performance counters after following Simple System guide

Hi, I closely followed the guide in https://github.com/lowRISC/ibex/blob/master/examples/simple_system/README.md to try and simulate Ibex to run some tests, but I get strange results from the performance counters no matter the test used (everything but cycles and instructions retired is 0).  I've attached the results of hello_test and dit_test respectively, can someone point me to where the simulation is going wrong?

My Environment

I'm running Ibex in Visual Studio Code using an Ubuntu wsl terminal.  All the pre-requisites in the simple_system guide were installed (along with RISC-V toolchain from https://github.com/lowRISC/lowrisc-toolchains/releases/tag/20230811-1), and the commands to build the simulation + software and run them are straight from the guide.
EDA tool and version:

N/A
Operating system:

Ubuntu 22.04.2 LTS
Version of the Ibex source code:

7aec1404f1d406ff9d3e68f9844387fc9f44c9ac

Hmm, this is a bug in our simple system guide. Kind of! The reason we're getting zeroes here is that the default configuration that you're picking has no performance counters. Unsurprisingly, this means that the counter numbers that are reported at the end of the simulation are all zero.
Fixes that we need to do:

Update the simple system documentation to use ibex_config.py. Something like this should work: fusesoc --cores-root=. run --target=sim --setup --build lowrisc:ibex:ibex_simple_system $(util/ibex_config.py opentitan fusesoc_opts)
Update the simple system wrapper C++ code not to report numbers that it doesn't know.


Add Enroll Edge Type to Path Finding

Description
Added the Enroll type to Edge Types as it was missing from Path Finding
Motivation and Context
This PR addresses: [GitHub issue]
Was not able to path find between node with enrollment rights to a Cert Template
How Has This Been Tested?
This has not been tested, I am hoping there is not more to fix this issue but hopefully you can confirm.
Screenshots (optional):
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have met the contributing prerequisites

Assigned myself to this PR
Added the appropriate labels
Associated an issue: https://github.com/SpecterOps/BloodHound/issues/672
Read the Contributing guide: https://github.com/SpecterOps/BloodHound/wiki/Contributing

[x] I have ensured that related documentation is up-to-date

Open API docs
Code comments (GoDocs / JSDocs)

[x] I have followed proper test practices

Added/updated tests to cover my changes
All new and existing tests passed

See conversation https://github.com/SpecterOps/BloodHound/issues/799


chore: recreate reverse proxy container on env / label change

this ensures that the relevant containers are recreated whenever an environment variable or label is added / changed / removed. By default, removed env vars / labels do not trigger a recreation

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


A request to create Concierge chat is always being made - reported by @kidroca

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

Action Performed:

Refresh page or login
Observe network request
See a request for CreateChatReport with a payload of your email and concierge

Expected Result:
CreateChatReport should not create if chat already exists
Actual Result:
Existing logic tries to skip this if the Concierge report already exists
The additional call is not causing any visible "damage" but adds latency
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
Desktop App

Version Number: 1.1.39-1
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @kidroca
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1644439784850249
View all open jobs on GitHub

Triggered auto assignment to @roryabraham (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Problem
ReportUtils.isConciergeChatReport(report) used here expects a simplifiedReport object
https://github.com/Expensify/App/blob/58f0168373e022440a01a966a0bae772f01dda1e/src/libs/actions/Report.js#L1035-L1044
returnedReports are coming from fetchChatReportsByIDs
https://github.com/Expensify/App/blob/58f0168373e022440a01a966a0bae772f01dda1e/src/libs/actions/Report.js#L1029-L1031
Where we return the reports from the api response instead of the simplified reports
https://github.com/Expensify/App/blob/58f0168373e022440a01a966a0bae772f01dda1e/src/libs/actions/Report.js#L404-L406
Solution
We can make ReportUtils.isConciergeChatReport work with simplified or non-simplified reports, but it would be more straightforward to return the simplified reports list like so:
const simplifiedReportsList = _.values(simplifiedReports);

 // Fetch the personal details if there are any
 PersonalDetails.getFromReportParticipants(simplifiedReportsList);
 return simplifiedReportsList;

Hmmm looking at this code I think we might have to also make fetchOrCreateChatReport return a simplified report object if we were to make fetchChatReportsByIDs return a list of simplified report objects. So let's make ReportUtils.isConciergeChatReport work with simplified or non-simplified reports:
return lodashGet(report, 'participants', getParticipantEmailsFromReport(report)).length === 1
    && participants[0] === CONST.EMAIL.CONCIERGE;

So let's make ReportUtils.isConciergeChatReport work with simplified or non-simplified reports:

Isn't the idea of the simplified report object to save us from having additional logic on functions working with reports?
Having to deal with the same thing in 2 different ways is something that we can avoid
All the functions in ReportUtils are expecting simplified reports why change that now
We store simplified reports in Onyx
IMO we should create simplified reports as soon as we fetch data and from that point onward only use the simplified reports
And it's seems that what we originally tried to do, but drifted a bit along the way

I've investigated why we're not creating a simplified report object for fetchOrCreateChatReport
https://github.com/Expensify/App/blob/75c7986c1b3fcb1683c42adc2a0079ddc58e0b2d/src/libs/actions/Report.js#L931-L938
We're only saving the reportID to Onyx, because the returned structure does not match the one from GetReportSummaryList
https://github.com/Expensify/App/blob/75c7986c1b3fcb1683c42adc2a0079ddc58e0b2d/src/libs/actions/Report.js#L946-L947
And the one thing that causes us fetch actual data and create a simplified report is when we navigate to the report:
https://github.com/Expensify/App/blob/75c7986c1b3fcb1683c42adc2a0079ddc58e0b2d/src/pages/home/report/ReportActionsView.js#L134-L138

Network calls an initiators when new chat is created

So if we never navigate to the report, it's data won't be fetched and it'll probably look weird in LHN
IMO instead of relying that we'll be redirected to the created chat and this will fetch it's data, we should just call fetchChatReportsByIDs inside fetchOrCreateChatReport and create a simplified report
After all the shouldNavigate flag can be false

the returned data structure does not match the one from GetReportSummaryList

Ah yes, this is because we have separate entities in our back end for full Report and ReportSummary objects. So you're probably seeing a Report entity instead of a ReportSummary entity there.

IMO we should create simplified reports as soon as we fetch data and from that point onward only use the simplified reports

Okay, I'm fine with this approach – I was just trying to suggest the simplest way to solve the issue without introducing scope creep and risking breaking anything else. But if you feel strongly about this then it's fine with me.

IMO instead of relying that we'll be redirected to the created chat and this will fetch it's data, we should just call fetchChatReportsByIDs inside fetchOrCreateChatReport and create a simplified report

Hmmm ... why not just save the simplified report in fetchOrCreateChatReport using the response from API.createChatReport ? If we need to update getSimplifiedReportObject to accept a full Report or ReportSummary then we can do that.

Sorry there was a typo: we can't create a simplified report out of the data fetched in fetchOrCreateChatReport
It's neither a full report or a summary

I think we should either

receive a compatible report there
or fetch the full report using fetchChatReportsByIDs and the ID of the created/fetched report

Then convert that to simplified report and write it down in Onyx

Another simple way might be to resolve fetchOrCreateChatReport with participants
return [{
  participants, // <- passed as parameter to fetchOrCreateChatReport
  ...data,
}];

But I do think we have a problem not saving the full report to Onyx here and just it's ID

receive a compatible report there

You mean, return the full report object from the CreateChatReport endpoint? That makes sense to me and should be doable. I'll need to investigate the full scope of changes involved, but I can do that.
In the meantime, I'm going to set this as a weekly, I don't think it's quite urgent enough to be treated as a Daily.

You mean, return the full report object from the CreateChatReport endpoint? That makes sense to me and should be doable. I'll need to investigate the full scope of changes involved, but I can do that.

Yes

Internal PR deployed to staging. The staging API should now return a ReportSummary from the CreateChatReport endpoint.

Internal PR deployed to production. @kidroca this should be ready for an E/App PR

Yes, it's now possible to create and save simplified report here:
https://github.com/Expensify/App/blob/75c7986c1b3fcb1683c42adc2a0079ddc58e0b2d/src/libs/actions/Report.js#L946-L947
// Merge report into Onyx
const simplifiedReport = getSimplifiedReportObject(data);
Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT}${data.reportID}`, simplifiedReport);

Triggered auto assignment to @bfitzexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Got a draft PR but have to run for today, didn't fill out the checklist or screenshots

@roryabraham @bfitzexpensify
This ticket got closed. @roryabraham took care of it internally, but I reported it and helped a bit
I haven't tracked the time in my hourly contract, because I thought that I'd get the reporting bonus
Would you issue a reporting bonus for me, or maybe I can try to estimate how much time I've spent here and log in in my hourly work?

@bfitzexpensify I agree @kidroca should get a reporting bonus

Sounds fair to me — created https://www.upwork.com/jobs/~011dae88ac3ec087c5 and invited you to the job @kidroca

Thanks, I applied


Only allow a single swap fee and exit fee for new pools

I think this is a good simple first step in the process of re-imagining the Osmosis pool swap fees model.
I know we want more complex features going forward, but this is a good starting point to start building off of

I don't agree for swap fee:
https://github.com/osmosis-labs/osmosis/pull/702#issuecomment-1002859444

Closing for now, lets re-open discussion if this is something that wants to be revisited


NFT1155 Subscription contract should allow batch operations

NFT1155SubscriptionUpgradeable should support batch operations using the contract bespoke logic:

[ ] mintBatch
[ ] burnBatch
[ ] balanceOfBatch

This should be a new version of the contracts v3.5.3? that need to be upgraded in arbitrum-goerli, currently v3.5.2

https://github.com/dragonfly-xyz/useful-solidity-patterns/tree/main/patterns/eip712-signed-messages


Execute task hint #3: validate hash

Implemented a module that computes the hash of a Cairo program in Rust.
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.
[ ] CHANGELOG has been updated.

The majority of the PR can be reviewed but the hint is not finished as we don't know exactly where to store programs inside the Task struct. I added a fake implementation for now to make the PR compile.


Improve performance scaling

Brief Description
This PR improves the algorithm that determines each draw call's tile size. This ensures the renderer remains responsive while also rendering as quickly as possible.
TODO: Add PR comments clarifying design changes.
Pull Request Guidelines

[x] I have added pull requests labels which describe my contribution.
[x] All existing tests passed.

[ ] I have added tests to cover my changes, of which pass.

[x] I have compared the render output of my branch to master.
[x] My code has passed the ESLint configuration for this project.
[x] My change requires modifications to the documentation.

[ ] I have updated the documentation accordingly.

This PR brings a significant improvement for my laptop and desktop. We should test these changes on a few other devices too.

How low end?  Would a 13 inch mbp do the trick?
On Tue, Dec 10, 2019 at 1:18 PM Lucas Crane<EMAIL_ADDRESS>wrote:

@jaxry commented on this pull request.
In src/RayTracingRenderer.js
https://github.com/hoverinc/ray-tracing-renderer/pull/50#discussion_r356282082
:

@@ -106,17 +104,6 @@ export function RayTracingRenderer(params = {}) {

module.getPixelRatio = () => pixelRatio;

module.setRenderTime = (time) => {

My Macbook with an integrated Intel GPU (mid end), and my desktop with the
GTX 2080 (very high end) on both Linux and Windows (different drivers,
different results). Both devices had the performance issues we've noted,
and this PR fixes it for both. I think the most useful device to test at
this point would be a low-end one.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/hoverinc/ray-tracing-renderer/pull/50?email_source=notifications&email_token=AAFN2ZE673EDYVXJUZ37MVTQYABQVA5CNFSM4JWF6QYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCOW3IBQ#discussion_r356282082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFN2ZGUBXRCH5WU3YVGICLQYABQVANCNFSM4JWF6QYA
.

I think so. We should pay attention to whether the preview window lags when moving the camera, and whether the renderer remains responsive when the camera stays still.

Could you briefly explain how this works compared to before? It looks like expAvg is controlling convergence rate, similarly to the old convergenceStrength variable. Why did you choose 0.5?

Based on the current frame's performance, we calculate how long each pixel takes to compute, and from that derive the ideal resolution that takes the desired amount of time to sample (20 ms in this case).
The exponential averaging is not necessary, but what it does is smooth out performance differences between frames. The higher the expAvg, the more stable the fps becomes, but the slower it responds to changes in the scene or camera. 0.5 was a stable number for my hardware that still adjusted the framerate in about 1 second whenever I moved the camera to a more complex angle.
When your camera stays still, does your FPS do a good job hovering around 50 fps? If not, this number should be increased.


NotImplementedError: WebBaseLoader does not implement lazy_load()

Issue you'd like to raise.
when i use RecusiveUrlLoader ,
NotImplementedError: WebBaseLoader does not implement lazy_load()

Suggestion:
No response

I got this in a notebook when i upgraded langchain from 203. restarting the kernel seems to work


Can i use date field with int type not datetime?

Hi. It's me again. I have another question.
I usually save dates in database as timestamps. And i use INT data type not DATETIME like it's written in your usage instruction.
How can i use your extenstion with timestamps?
I would be very grateful if you could help me.

Hey,
update your release to v1.0.1, I added the option 'unixTimestamp' to indicate whether you are dealing with a text/date/datetime or a unix timestamp field to correctly determine the date of the model from the provider.
After you update, all you should need to do is too do a 'unixTimestamp' => true, in your widget config and thats it.
Cheers,
Marek

Thanks a lot. You are really helped me.

Not a problem @samatic , project you are working on is public? Would you mind sharing it?

I'm not sure about what do you men public. But i'm working on some little local goverment website. Your extension saved my time very much. Thank you again, you are very kind person ;)

Public, as in can I see the widget online somewhere? If so, can you send the url ?
You are very welcome.
Cheers,
Marek

Sure. I'll send you url when work will be done.


Feature Request: Converge/diverge several verticies to their center point

For example, If I select the top vertices on a cylinder, using the scroll wheel up should move them farther away from the center point (where the gizmo is) and using scroll wheel down should bring them closer to the central point. If I scroll down it would make a cone from the cylinder.
The direction that an individual vertex is to move is determined from the point in space that the individual vertex is on and the central point.

I don't think this would work.  The mouse wheel is already used for zooming the camera.  I do want to add a scaling gizmo eventually, but that will have to wait on a few other things.

The mouse wheel is already used for zooming the camera.

This shouldn't be a problem. You've already overloaded the functionality for the scroll wheel when it came to drawing cylinders so I see no reason why it can't be done again. Worst case it can be done in combination with holding a specific key that isn't used by Godot.

A command for merging vertices at their center has been added.

Does it allow you to partially merge them? I wanted to create an elevated control point

Not at the moment.  It will take a lot more dev work to get to the point where that is possible.


GCP doc on deployment UI should explain the "create permanent storage" option

https://www.kubeflow.org/docs/gke/deploy/deploy-ui/

/assign

Note that the above PR does NOT attempt to address this issue. It just references the issue.

@jay-saldanha is working on this issue.


Minimum Jerk Trajectory Update for Precision

Currently needs to be fine tuned (PID) to ensure accuracy of arrival at pose.

Updated on new master branch merge. The need to add PID values has been removed. The rationale here is that we shouldn't add control parameters to ARMer - these should be handled by the robot hardware (controller). ARMer simply provides the inputs to the controller.


Abstract authentication into plug

Abstracting the authentication is intended as a first step towards reusability and less logic built directly into the Router module. The one thing I'm not super happy with is the validate_request method at L#20. I'd like to implement. I'm going to remove the authorize-widgets branch because I managed to foobar it, merging master in.

Coverage increased (+0.4%) to 79.191% when pulling ae74b163efc932ebd283e42d27798665c819b02d on plugify-authentication into 4b5be7e3fba49b9dfa06a823c31cff0f9feecc2e on master.

I'd like to be able to change lib/kitto/plugs/authentication.ex#20 to be easier to reuse, but I don't know how. I want to be able to, in the router specify which routes need authentication by having something like:
@authenticated
post "widgets/:id" do
   ...
end

or
post "widgets/:id", authenticated: true do
  ...
end

If anyone else knows how to implement that.

Coverage increased (+0.3%) to 80.952% when pulling 87570eb2cf292b14a54aea51a47009cbe1f6446b on plugify-authentication into 5b58ed2bbf9de9b982584a0c227d229766aa0ebf on master.

The API has changed slightly after I figured out the purpose of Plug.Router's private options. To mark a route as authenticated after this PR, one would just set %{authenticated: true} on the private hash for the route:
post "/dashboards", private: %{authenticated: true} do
  ... successful authentication logic ...
end

Coverage increased (+0.3%) to 80.952% when pulling 73554bc5b0e379bb0be5a063269222ff533ad7e4 on plugify-authentication into 5b58ed2bbf9de9b982584a0c227d229766aa0ebf on master.

Coverage increased (+0.3%) to 80.952% when pulling 2335de3bac9c0ee0ce31a53608fb96c69f725a8a on plugify-authentication into 5b58ed2bbf9de9b982584a0c227d229766aa0ebf on master.

Coverage increased (+0.2%) to 80.851% when pulling adf3773bf26d72b36633115017b4dc385b24233d on plugify-authentication into 5b58ed2bbf9de9b982584a0c227d229766aa0ebf on master.

This PR came out really clean. :+1:

Coverage increased (+0.2%) to 80.851% when pulling 0a8042d0b3bdeb9d6078fb2cfb33776f1fd33235 on plugify-authentication into 5b58ed2bbf9de9b982584a0c227d229766aa0ebf on master.

Coverage increased (+0.2%) to 80.851% when pulling 284ef66798e1700592c764a6570d849465b19483 on plugify-authentication into 9d3f150bd0fbec64edde8d225e4f1510244e483e on master.


Improve spaCy checks

Motivation for this change
This PR combines two commits:

Add pythonImportsCheck to the spaCy models, for an extra sanity check (with the absense of upstream model tests).
Add a test to passthru.tests of the spaCy derivation that loads a model and verifies that it outputs the expected annotations. This should be able to catch regressions better than the import check of spaCy.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval


Add more load_direct implementations

Objective

Introduce variants of LoadContext::load_direct which allow picking asset type & configuring settings.
Fixes #12963.

Solution

Implements ErasedLoadedAsset::downcast and adds some accessors to LoadedAsset<A>.
Changes load_direct/load_direct_with_reader to be typed, and introduces load_direct_untyped/load_direct_untyped_with_reader.
Introduces load_direct_with_settings and load_direct_with_reader_and_settings.

Testing

I've run cargo test and played with the examples which use load_direct.
I also extended the asset_processing example to use the new typed version of load_direct and use load_direct_with_settings.

Changelog

Introduced new load_direct methods in LoadContext to allow specifying type & settings

Migration Guide

LoadContext::load_direct has been renamed to LoadContext::load_direct_untyped. You may find the new load_direct is more appropriate for your use case (and the migration may only be moving one type parameter).
LoadContext::load_direct_with_reader has been renamed to LoadContext::load_direct_untyped_with_reader.

This might not be an obvious win as a solution because it introduces quite a few new load_direct alternatives - but it does follow the existing pattern pretty well. I'm very open to alternatives. :sweat_smile:

@alice-i-cecile I've had a go at implementing a builder-style API. I suspect this is more open to bike-shedding (in particular .load_direct().load() isn't my favourite), and more likely to have other issues. However, I did the simpler tidy-up in the prior commits, in case this proves to be more controversial.

Hmm, I don't think that's an improvement 😅 Neat to see, but I would probably revert the builder experiment. I'll ask folks for more opinions / ideas.


Init flow fixes

Addressing GSD feedback:

Highlight the next-step command
Rename public mentions to i18n to markets

Yea I agree on @gfscott 's point. I think we should stick with "internationalization".
i18n is just an alias too. It is literally i + 18 characters + n.
And there is no association for Shopify Markets for internationalization.


javascript object initializers

Try this in Greed:
function makePoint (x,y) {
    return {x:x,y:y};
}

var p1 = makePoint(1,2);
p1.d = 3;

var p2 = {x:4,y:5};
p2.d = 6;

throw "p1="+JSON.stringify(p1)+" p2="+JSON.stringify(p2);

The output is:
p1={"x":1,"y":2} p2={"x":4,"y":5,"d":6}

The output should be:
p1={"x":1,"y":2,"d":3} p2={"x":4,"y":5,"d":6}

Should be fixed with @basicer's new Esper interpreter.


Definition revision GO:0043328 protein transport to vacuole involved in ubiquitin-dependent protein catabolic process via the multivesicular body sorting pathway

The def of GO:0043328 is incorrect
The process of directing proteins towards the vacuole using signals contained within the protein, occurring that contributes to protein catabolism via the multivesicular body (MVB) pathway.
PMID:11511343
because it doesn't depend on signals within the protein.....

Hi Val,
Updated the definition:
OLD def: "The process of directing proteins towards the vacuole using signals contained within the protein, occurring that contributes to protein catabolism via the multivesicular body (MVB) pathway." [GOC:jl, PMID:11511343]
NEW def: "The process of directing proteins towards the vacuole that contributes to protein catabolism via the multivesicular body (MVB) pathway." [GOC:jl, PMID:11511343]


Background opacity of View when AlertToast type hud

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I required to set my View should dim background when AlertToast type hud presented.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I want to achieve something like below

#41
You can use this repository for this feature.
alert-dismiss-mode-and-background

Hey @toseefkhilji ,
You can achieve this kind of design when adding the style parameter and changing the background color.
AlertToast(displayMode: .alert, type: .regular, title: "Hello World!", style: .style(backgroundColor: .white))


fix import schema yaml

Description
Schemas references by the import_schema_path are completely ignore by the current dlt version which is a bug. This PR makes sure these schemas get loaded if no other schema was discovered locally or in the destination.

@rudolfix i think this got lost during the contracts merge.

@sh-rp I'm almost 100% I've seen this code? is this restoring the old code somehow? this part is tricky but was working correctly before. we need to review this thing together

@rudolfix the import schema behavior broke with your changes in Rfix/load package extract (#790). I am looking to find the exact line or part of code that changed it.

Ok, what I think is going on is this:

In the code before the above pr, you are running the load_schema function of the SchemaStorage in def spool_files of the normalizer, which will use the import schema if no other schema is found
In the code after the above pr, you are running the self.normalize_storage.extracted_packages.load_schema(load_id) function to aquire the schema in the normalization step, but this will load the schema generated during the extraction which does not respect the import schema.

@rudolfix one additional comment, now the import schema only get used if there is no other schema present. I can change it to always be used which somehow makes sense to me, we should be getting an error when trying to merge it in and has a conflict with an existing schema, so that should be safe.


ES: Linebreaks in JSON of example 201, 202, 203

@TKlauenberg : The base64 for the CERTIFICATE in /ES/2DCode/raw/201.json  has \n by accident. A lot of parsers will error out with:
   parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 48, column 33

Related to #32

Closed - duplicate of #32


redesign RepositorySimulator

This is likely a meta-issue that will not be fixed with a single PR: We've discussed this already in chats  but I'm writing this down so I still remember when I get back from next weeks holiday.

I believe current RepositorySimulator design is not great: it promotes low level access to json and forces tests to do manual loading and saving of metadata: this has made tests very long, difficult to read and maintain

The number one goal should be that tests are easy to write and to understand: otherwise this test suite will die after the initial development is done: we should assume contributors who are not tuf-conformance experts
access to underlying json can be enabled if it does not conflict with the above: that should not be the main way of interacting with the metadata for either modifications or verifying things in a test

The RepositorySimulator implementation is a big mess currently: there are multiple ways of doing the same thing (some of them broken), there is unused code, basic TUF features (like delegated targets) are not supported even though they were previously, misleading comments and examples are everywhere, quality is variable: e.g. the manual JSON canonicalization seems very fishy

So let's redesign and refactor:

storing the underlying data as (json) bytes is fine by me: I originally used Metadata to avoid the constant de/serialization but I see the argument of allowing access to json in the few cases where it is necessary
I think it makes sense to store the underlying data in a hashtable with rolename as key: this way delegated targets are automatically supported, and the top-level roles can still have easy accessor properties if necessary
direct json editing should only be done when it's necessary -- it's error prone and a maintenance nightmare
the idea of allowing raw json access to "special" tests practically also requires redesigning the signing (to avoid the weird duplication of fetch_metadata and fetch_metadata_any): originally the signing was done at HTTP request time as this made the editing super easy (there was no "save" step required as "save" essentially happened at request time). IF we want to allow this json mangling, then this no longer makes sense: the signing should happen when json is "saved", not when it's requested by client
it should be easy for a test to modify a metadata object using the python-tuf API. Explicit loading and saving seems unnecessary in 99% of cases. Maybe a context manager could handle the loading and saving so test could do:    # the context manager yields signed here -- could yield metadata if that's more useful.
    # context manager handles saving the modified metadata as whatever the underlying storage format is
    with repo.edit("timestamp") as timestamp:
        timestamp.version = 9000

functionality used in a single test should stay in that test -- there is no reason to make RepositorySimulator as complex as it is. We can always move things to repositorysimulator when a feature is mature and is really needed in multiple places

Related items:

enable linting: this code would be better if we linted it
enable repository dumping for easier test debuggin: RepositorySimulator.write() sort of does this but it's likely not directly compatible with current implementation. I have a rough design for this, I just didn't want to complicate RepositorySimulator more in its current state.

this seems to be mostly done, I'll close this:

the json editing is toned down
there seems to be a new mechanism for avoiding some python-tuf validation that looks promising
repository dumping feature is in #90
I will file an issue on linting if we don't have one


Extract metadata in custom column

Hello,
I'm currently using CarrierWave and will very likely switch to Shrine soon, it just looks way better in pretty much every aspect, congratulations! (especially design-wise)
I store a lot of images, and I extracted the file size as a database column, which allows me to do things like Model.where(somecondition).sum(:file_size) at the DB level instead of the Ruby level (which would be slow).
I wondered if http://shrinerb.com/rdoc/classes/Shrine/Plugins/MetadataAttributes.html would help me there... from what I understand it's just a prettier delegate, am I correct? I mean by default metadata are stored in the foo_data column and nothing else, right? If I want to store some metadata in actual columns I need to do that in some before_save callback or whatever (I still use ActiveRecord, might switch to Sequel thanks to your blog post :wink:)

I'm currently using CarrierWave and will very likely switch to Shrine soon, it just looks way better in pretty much every aspect, congratulations! (especially design-wise)

Thank you!

I wondered if http://shrinerb.com/rdoc/classes/Shrine/Plugins/MetadataAttributes.html would help me there... from what I understand it's just a prettier delegate, am I correct? I mean by default metadata are stored in the foo_data column and nothing else, right? If I want to store some metadata in actual columns I need to do that in some before_save callback or whatever (I still use ActiveRecord, might switch to Sequel thanks to your blog post 😉)

It's not a delegate, it writes metadata values to the specified attributes/columns whenever a new file is assigned. Note that only the metadata values of the original file will be synced; if you do some file processing, after the record is saved the metadata columns will still contain metadata values from the original file (it's not updated). This decision was made to prevent ambiguity when processing multiple versions, because each version has its own metadata.

It's not like delegate, it writes metadata values to the specified attributes/columns whenever a new file is assigned. Note that only the metadata values of the original file will be synced; if you do some file processing, after the record is saved the metadata columns will still contain metadata values from the original file (it's not updated). This decision was made to prevent ambiguity when processing multiple versions, because each version has its own metadata.

Ah ok, so I would help in my case! Perfect then, thanks :+1:


Implement an Autorest client for Dynamics

Given the size of this review I suggest we do an in-person session to go over it.

Saving accounts and legal entities works great!
Sharepoint file upload doesn't work any more.
And I get a compile error on LegalEntityController (commented it out to test):
Controllers/AdoxioLegalEntityController.cs(258,35): error CS1061: 'List' does not contain a definition for 'Where' and no extension method 'Where' accepting a first argument of type 'List' could be found (are you missing a using directive or an assembly reference?) [/Users/icostanzo/Projects/ag-lclb-cllc-public/cllc-public-app/cllc-public-app.csproj]

The only failing test is the FileUpload test:
Total tests: 25. Passed: 24. Failed: 1. Skipped: 0.


talk widgets and talk archive are sorted/grouped by date (published) field instead of time_start

The overview page for the talks groups the talk by year. But this grouping depends by the field date but it should be time_start.

Edited the issue title as this issue also affects the sorting within the two talk widgets.


Activation maximum duration slider

Use the Activation maximum duration slider to set the maximum time, in hours, that a role stays active before it expires. This value can be from one to 24 hours.
Should be: "This value can be from 30mins to 24 hours."

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

ID: 791cb6b6-4733-1c1d-75c5-9318049163af
Version Independent ID: 4752b0bc-ab61-69e3-972f-80d6be2baa55
Content: Configure Azure AD role settings in PIM - Azure AD
Content Source: articles/active-directory/privileged-identity-management/pim-how-to-change-default-settings.md
Service: active-directory
Sub-service: pim
GitHub Login: @curtand
Microsoft Alias: curtand

@challengelogic
Thanks for your feedback! We will investigate and update as appropriate.

You're right. It's .5 hours. I'm making a pull request to update this doc.

Just made a pull request to update this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/110237
Thanks @challengelogic !


Sync connector table with auth params

When building the DexConfig in NewDexServerConfig, ensure that the connectors in the database are updated with the auth parameter configuration.
concourse/concourse#2556
Update:  I've updated the PR so that it now also syncs up the password table for local users.

Thanks, this looks good!
Geez, I guess we didn't notice this because it's not that often that you change a connector config - usually you're changing auth settings via set-team or --main-team-X, but not the entire connector itself. Good catch!


Namespace "DependencyPropertyGenerator" not found, in TargetFramework "net472"

Describe the bug
After updating to version 1.4.0 I got the error "Namespace 'DependencyPropertyGenerator'" not found for TargetFramework "net472".
Steps to reproduce the bug

Create Multi-Target project
Target "net472" and "net6.0-windows"
UseWPF true
Install Package "DependencyPropertyGenerator, 1.4.0"
create .cs file with "using DependencyPropertyGenerator"
Compile it.

net6.0-windows is compiled correctly, but net472 gets error.
Expected behavior
Expected behaviour: Compilation works.
Screenshots
No response
NuGet package version
1.4.0
IDE
Visual Studio 2022
Additional context
No response

Hmm, try completely removing it (so that there is no PackageReference in the project) and reinstalling it again. Older versions of the package had a different configuration and this could be a problem

I'm using net48 and it's still complaining that cannot find the type or namespace name DependencyPropertyGenerator.
I tried DependencyPropertyGenerator 1.5.0-beta.1 and 1.4.0 and neither of them worked.
I tried removing all packages from the project and then reinstalling them as described above, but it still didn't work.
I am using .net framework 4.8 with the new csproj format.


Gemeente Assen no longer uses Afvalwijzer after 01-01-2024

Request
Gemeente Assen stops using Afvalwijzer after 01-01-2024.
Seems like they will start using Burgerportaal, like BAR and RMN.
See: https://play.google.com/store/apps/details?id=nl.qubz21.burgerportaal.assen.prod
Maybe Assen can be implemented like this as well?
Want to help if need, but do have necessary coding skills myself.
Additional information
No response

I added new version for Gemeente Assen
#260

Thanks, that was fast.

Drafted release: 2023.12.01
Sorry for the delay. Forgot about it due to the holidays :)

Same issue overhere, fixed it with your update. Thanks a lot!

I added new version for Gemeente Assen #260

HI, first of all, thanx for the fast fix.  However I am struggeling to change myconfiguration.yaml file. What exactely has to be changed to retreive te right dates again? I changed the provider but it only gave me faults in return

You need to change the provider from "mijnafvalwijzer" to "assen" in your yaml config file:

Ues, i did just that, but it didn't seem to work. But I will retry now I am certain that it how it is done, thanks.

Thanks for this, works like a charm. I'm curious about the mechanics of it all, so will dive into the source just for fun.
I lost hope when they switched apps in Assen, but then I found out my fellow Home Assistant users in Assen already asked the question here! :smile:

Can someone guide us to do the same for Nijkerk? We have no clue how to find the id. See the issue https://github.com/xirixiz/homeassistant-afvalwijzer/issues/278


Compression is limited to current file only

@compiler-compress "true" should compress the output file not the current file.

Mind explaining it a bit more?

The @import files in .less and @compiler-include files are not compressed by declaring @compiler-compress "true" in the parent file

Closing as a less.js bug, should be opened in their repo

The correct way to compress imported css files is as following
import (less) "path/to/file.css"


Fix incorrect configuration file location

Resolves https://github.com/Islandora-CLAW/CLAW/issues/865
See https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/islandora-dev/VPC-xiCpo5A/1ItJPu2jBgAJ
What does this Pull Request do?
This fixes a typo in the configuration file location for houdini.
How should this be tested?
This can be tested by starting houdini in Karaf, changing the configuration file and seeing that the new config values are being used.
Interested parties
@Islandora-CLAW/committers, @seth-shaw-unlv

jjajaja. Ninjaed by @acoburn !

Thank you @DiegoPino and @acoburn!


helm: Fix envoy servicemonitor annotations

Currently does not use the annotations field and templating fails
Adding the missing serviceMonitor.annotations field for envoy
Fixes: #30015

/test


FOR REVIEW: RPIP-35: Committee Membership Record

Not a huge amount to say on this one. More or less self-explanatory.
I'm happy to modify structure / formatting if anyone makes a good argument for some improvement.

Note from Patrick: Add something re future committees. Intention is to have them in this RPIP. Editors can judge what a committee is, probably.

Update to RPIP-36 before commit

Note, now update with the latest GMC members.

Generally love it. Left some comments. Would also like to consider if this should be a superset to include RPIP Editors and the pDAO treasurer. They are not MC members, but tracking could be nice?

Updated re Val's comments.


Add codecov integration

Purpose
The goal of this PR is to add automated coverage reports via https://codecov.io/
Additional steps required

Needs repo owner to configure the integration at:  https://github.com/integration/codecov
Configure GitHub policy to allow or deny contributor ability to override the integration PR enforcement in the event of a decrease in coverage

Codecov Report

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

@@            Coverage Diff            @@
##             master     #687   +/-   ##
=========================================
  Coverage          ?   66.16%
=========================================
  Files             ?       16
  Lines             ?     1407
  Branches          ?      215
=========================================
  Hits              ?      931
  Misses            ?      429
  Partials          ?       47

Continue to review full report at Codecov.

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


Create allocation-failure.md

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

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

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

#sign-off

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

Microsoft authors of articles need to make updates through the private repository, so the updates can be staged and validated by current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
 Public repo URL: https://github.com/MicrosoftDocs/{docs-repo}
 Private repo URL: https://github.com/MicrosoftDocs/{docs-repo-pr}
We have closed this pull request. Please resubmit the updates through the private repo. For more information, see the contributor guide.


Attaching portmonitor scripts with specified parameters

Hi @apaikan
Do you know whether there's the possibility to specify a parameter in the syntax we use to attach a lua script to a connection?
@Tobias-Fischer is interested in this.

Passing the parameters to a portmonitor plugin (lua/C++) at the connection time is not supported yet due to the limitation imposed by YARP carrier syntax. However, the paramters can be set/configured after establishing the connection via yarp administrative commands:

See [An example which shows how to use a Lua script to modify image data] (http://www.yarp.it/image_modification.html)

There are also some predefined attributes which can be accessed from the plugin scripts such as

source : the source port name
destination: the destination port name
carrier: the full carrier string

These are formatted as the YARP property and given to the portmonitor create method:
-- create is called when the port monitor is created
PortMonitor.create = function(options)
    local sourcePort = options:find("source"):asString()
    print(sourcePort)
    return true;
end

Similarly the carrier attribute holds all complete carrier parameter used for connecting ports:
For example, if a lua plugin attached using the following command:
$ yarp connect /write /read tcp+recv.portmonitor+type.lua+file.codec+myparam.foo

Then the carrier attribute holds the  tcp+recv.portmonitor+type.lua+file.codec+myparam.foo string.  Therefore a workaround will be to pars this string within the lua code to extract the user-defined parameter (myparam = foo):
PortMonitor.create = function(options)
    local carrier = options:find("carrier"):asString()
    print(carrier)
    for attr in string.gmatch(carrier,'([^+]+)') do
        k, v = attr:match("([^.]+).([^.]+)")
        print(k,v)
    end
    return true
end

You will get:
t	p
recv	portmonitor
type	lua
file	codec
myparam	foo

Ignore the t    p ;)

Thanks @apaikan! That's great. I'll give it a go soon.

Thanks @apaikan for the suggestion!
Closing for now; @Tobias-Fischer feel free to post here again.


Any import from torch_geometric loads matplotlib (and a lot more)

🐛 Bug
Because torch_geometric imports * from .nn, which imports * from .models, which imports all of the models, a lot of unnecessary dependencies get loaded whenever anything is imported from torch_geometric.
I came across this behavior because it was filling my logging with matplotlib messages, but even with logging disabled it would be good for performance if heavy libraries that do file I/O like matplotlib are only loaded if they are needed. This can be particularly important for start-up performance on clusters with networked filesystems.
To Reproduce
import logging
logging.basicConfig(level=logging.DEBUG)

import torch
from torch_geometric.data import Data

d = Data(x=torch.zeros(10, 3))
print(d)

Gives many pages of matplotlib debug logging, followed by the expected
Data(x=[10, 3])

Expected behavior
That matplotlib (and other libraries that aren't necessary for basic functions) won't be loaded for any import from torch_geometric, giving an output of just
Data(x=[10, 3])

Environment

OS: Linux
Python version: 3.8.5 / Anaconda
PyTorch version: 1.7.1
CUDA/cuDNN version: N/A
GCC version: N/A
Any other relevant information: N/A

You are right! This should be fixed in master. Thanks!

Thanks @rusty1s !
When I run my test script, I no longer get matplotlib but still get some output (h5py from the datasets, I believe):
DEBUG:h5py._conv:Creating converter from 7 to 5
DEBUG:h5py._conv:Creating converter from 5 to 7
DEBUG:h5py._conv:Creating converter from 7 to 5
DEBUG:h5py._conv:Creating converter from 5 to 7
Data(x=[10, 3])

I realize it would be a breaking change and so would need to be considered quite carefully, but it seems to me that it might be worth not importing datasets and nn.models automatically, since many many programs that use torch_geometric to train their own models on their own datasets do not need the wide variety of models, datasets, and their dependencies to be loaded.
It may also be possible to make datasets and nn.models lazy-loaded, preventing a breaking change but preventing unnecessary loads — see, for example:

https://modutil.readthedocs.io/en/latest/#lazy_import
https://pypi.org/project/lazy-import/
https://github.com/mnmelo/lazy_import

(For what it's worth, this is motivated by a real performance issue for me: in general starting Python programs on our cluster is quite slow because of small-file access on the networked filesystem, but torch_geometric programs are particularly so — I believe now because of some of these unnecessary model loads/setups.)

Apparently this exists (if a bit unpleasant to use) in the stdlib for Python >=3.5:

https://docs.python.org/3/library/importlib.html#importlib.util.LazyLoader
https://stackoverflow.com/questions/42703908/how-do-i-use-importlib-lazyloader

Thanks for the pointers! This is something I'm definitely interested about. Are you interested in contributing this feature? Otherwise, I will look into it.

@rusty1s I've given it a shot in #2199 — let me know what you think.

Fully resolved in #2199.


x/tools/gopls: references regression when tests involved

Since #58506 was closed I'm having trouble with references for interface methods with implementations in tests. This test setup, when placed alongside the test added for #58506 seems to show it:
-- go.mod --
module example.com
go 1.12

-- a/a.go --
package a

type Aer interface {
	TheMethod()
}

-- a/a_test.go --
package a

type fakeAer struct {}

// marker.go:429: a/a_test.go:8:33 (references/issue58506_2.txt:20:33): refs(includeDeclaration=false) failed: package example.com/a does not contain "fakeAer"
// marker.go:429: a/a_test.go:8:33 (references/issue58506_2.txt:20:33): refs(includeDeclaration=true) failed: package example.com/a does not contain "fakeAer"

func (fakeAer) TheMethod() {} //@refs("TheMethod")

I verified with git bisect that this started as part of the change that closed #58506.

I started out calling the method A which does produce references, though might be some fuzz at work.

Thanks for reporting!
CC @adonovan

FWIW the reason the method name A didn't work is that it matches the letter A within fakeAer. You would need something like this to match only an A following a space:
func (fakeAer) A() {} //@loc(def, re" (A)"), refs(def, def)

I confirm the bug (two bugs actually). The first is that the references operation fails because it can't find object fakeAer in the ordinary (non-test-variant) package a. The second bug is that, if the first error is ignored, the algorithm returns too few references.
There are a number of problems in the references algorithm that I should probably fix together.
Thanks again for the very helpful bug report.

Tried out the CL above on the project that prompted this issue and it fixes things for me, thanks!


ARROW-5606: [Python] deal with deprecated RangeIndex._start/_stop/_step

https://issues.apache.org/jira/browse/ARROW-5606

I tested locally to ensure that the test actually fails with pandas master without the fix (as I am not sure we have a build with pandas master to catch that)

@jorisvandenbossche see https://github.com/apache/arrow/blob/master/docker-compose.yml#L410


[Bug Report]: AppConfiguration private endpoint recreated on each deploy causing a name conflict

Describe the bug
We're using microsoft.appconfiguration.configurationstores:v0.6.0 and adding a private endpoint. When we deploy it the first time, everything works as expected.  When deploying it the second time, we get a name conflict during the private endpoint deployment.  It appears to be while linking the private endpoint to the app config.
Are we missing something that we should be doing?
Thanks in advance
Michael
To reproduce
Deploy an App Configuration more than once with a private endpoint defined.  When it runs the second time it will try to create the link to the specified resource and get a name conflict.
Code snippet
module appConfig 'br/Sharred:bicep/modules/microsoft.appconfiguration.configurationstores:v0.6.0' = {
  name: 'deployment-${appConfigName}'
  params: {
    name: appConfigName
    location: location
    sku: 'Standard'
    systemAssignedIdentity: true
    publicNetworkAccess: 'Disabled'
    roleAssignments: [
      {
        roleDefinitionIdOrName: 'App Configuration Data Reader'
        principalIds: appConfigurationDataReaderPrincipalIds
      } ]
    privateEndpoints: [
      {
        privateDnsZoneGroups: [
          {
            privateDNSResourceIds: [
              '/subscriptions/${appConfigSubscriptionId}/resourceGroups/${privateDNSResourceGroupName}/providers/Microsoft.Network/privateDnsZones/privatelink.azconfig.io'
            ]
          }
        ]
        subnetResourceId: appConfigPrivateEndpointSubnetResourceId
        service: 'configurationStores'
      }
    ]
  }
  scope: acrg
}

Relevant log output
Operation ID
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/p-rg-01-rg/providers/Microsoft.Resources/deployments/fivpm7my7sgfi-configurationStore-PrivateEndpoint-0/operations/00000000

Provisioning operation
Create

Provisioning state
Failed

Duration
1 second
Status
Conflict
Status message
12345678
{
    "status": "Failed",
    "error": {
        "code": "NameUnavailable",
        "message": "Call to Microsoft.AppConfiguration/configurationStores failed. Error message: The specified name is already in use.",
        "details": []
    }
}
Type
Microsoft.Network/privateEndpoints
Resource ID
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/p-rg-01-rg/providers/Microsoft.Network/privateEndpoints/pe-p-service-ac-sdsv-configurationStores-0
Resource
pe-p-service-ac-sdsv-configurationStores-0

Hey @MichaelJRogersGM,
I just tested it with the default parameters.json with the following output:
PS CARML> . "c:\testLocal.ps1"
VERBOSE: Using local tokens [namePrefix]
VERBOSE: Deploy module [configurationStores] with parameter file [parameters.json]
VERBOSE: Performing the operation "Trigger" on target "Deployment for parameter file [C:\dev\ip\Azure-ResourceModules\ResourceModules\modules\Microsoft.AppConfiguration\configurationStores\.test\parameters.json]".
VERBOSE: Deploying with deployment name [configurationStores-20220716T2007038248Z]
VERBOSE: Determined deployment scope [resourcegroup]
VERBOSE: Setting context to subscription [<<subscriptionId>>]
WARNING: Unable to acquire token for tenant '2d5da5ce-3c47-497d-96d7-590011310484' with error 'You must use multi-factor authentication to access tenant 2d5da5ce-3c47-497d-96d7-590011310484, please rerun 'Connect-AzAccount' with additional parameter '-TenantId 2d5da5ce-3c47-497d-96d7-590011310484'.'
WARNING: Unable to acquire token for tenant '52290a28-dcec-4da1-9252-57f67fc9ba1b' with error 'SharedTokenCacheCredential authentication unavailable. Token acquisition failed for user<EMAIL_ADDRESS>Ensure that you have authenticated with a developer tool that supports Azure single sign on.'
VERBOSE: Using Bicep v0.8.9
VERBOSE: Performing the operation "Creating Deployment" on target "validation-rg".
VERBOSE: 20:51:22 - Template is valid.
VERBOSE: 20:51:24 - Create template deployment 'configurationStores-20220716T2007038248Z'
VERBOSE: 20:51:24 - Checking deployment status in 5 seconds
VERBOSE: 20:51:29 - Resource Microsoft.Resources/deployments 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-xmtg5ve5s3j7w' provisioning status is running
VERBOSE: 20:51:29 - Resource Microsoft.Network/virtualNetworks 'adp-carml-az-vnet-x-001' provisioning status is succeeded
VERBOSE: 20:51:29 - Checking deployment status in 13 seconds
VERBOSE: 20:51:42 - Resource Microsoft.AppConfiguration/configurationStores 'carml-az-appcs-x-002' provisioning status is running
VERBOSE: 20:51:42 - Resource Microsoft.Resources/deployments 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-xmtg5ve5s3j7w' provisioning status is succeeded
VERBOSE: 20:51:43 - Checking deployment status in 5 seconds
VERBOSE: 20:51:48 - Resource Microsoft.Authorization/locks 'carml-az-appcs-x-002-CanNotDelete-lock' provisioning status is succeeded
VERBOSE: 20:51:48 - Resource Microsoft.AppConfiguration/configurationStores 'carml-az-appcs-x-002' provisioning status is succeeded
VERBOSE: 20:51:48 - Resource Microsoft.AppConfiguration/configurationStores 'carml-az-appcs-x-002' provisioning status is succeeded
VERBOSE: 20:51:48 - Checking deployment status in 5 seconds
VERBOSE: 20:51:54 - Resource Microsoft.Insights/diagnosticSettings 'carml-az-appcs-x-002-diagnosticSettings' provisioning status is succeeded
VERBOSE: 20:51:54 - Resource Microsoft.Resources/deployments 'xmtg5ve5s3j7w-appConfig-KeyValues-0' provisioning status is running
VERBOSE: 20:51:54 - Resource Microsoft.AppConfiguration/configurationStores/keyValues 'carml-az-appcs-x-002/keyName' provisioning status is succeeded
VERBOSE: 20:51:54 - Resource Microsoft.Resources/deployments 'xmtg5ve5s3j7w-AppConfig-Rbac-0' provisioning status is running
VERBOSE: 20:51:54 - Resource Microsoft.Resources/deployments 'xmtg5ve5s3j7w-configurationStore-PrivateEndpoint-0' provisioning status is running
VERBOSE: 20:51:54 - Checking deployment status in 12 seconds
VERBOSE: 20:52:07 - Resource Microsoft.Resources/deployments 'xmtg5ve5s3j7w-appConfig-KeyValues-0' provisioning status is succeeded
VERBOSE: 20:52:07 - Resource Microsoft.Resources/deployments 'xmtg5ve5s3j7w-AppConfig-Rbac-0' provisioning status is succeeded
VERBOSE: 20:52:07 - Resource Microsoft.Authorization/roleAssignments 'de1fb33e-ddf7-5f81-9007-9b5f8a94921e' provisioning status is succeeded
VERBOSE: 20:52:07 - Resource Microsoft.Network/privateEndpoints 'pe-carml-az-appcs-x-002-configurationStores-0' provisioning status is running
VERBOSE: 20:52:07 - Checking deployment status in 14 seconds
VERBOSE: 20:52:22 - Resource Microsoft.Authorization/locks 'pe-carml-az-appcs-x-002-configurationStores-0-CanNotDelete-lock' provisioning status is succeeded
VERBOSE: 20:52:22 - Resource Microsoft.Network/privateEndpoints 'pe-carml-az-appcs-x-002-configurationStores-0' provisioning status is succeeded
VERBOSE: 20:52:22 - Resource Microsoft.Network/privateEndpoints 'pe-carml-az-appcs-x-002-configurationStores-0' provisioning status is succeeded
VERBOSE: 20:52:22 - Checking deployment status in 15 seconds
VERBOSE: 20:52:38 - Resource Microsoft.Resources/deployments 'xmtg5ve5s3j7w-configurationStore-PrivateEndpoint-0' provisioning status is succeeded
VERBOSE: Result
VERBOSE: ------
VERBOSE:
DeploymentName          : configurationStores-20220716T2007038248Z
ResourceGroupName       : validation-rg
ProvisioningState       : Succeeded
Timestamp               : 16.07.2022 18:52:35
Mode                    : Incremental
TemplateLink            :
Parameters              :
                          Name                                     Type                       Value
                          =======================================  =========================  ==========
                          name                                     String                     "carml-az-appcs-x-002"
                          location                                 String                     "westeurope"
                          systemAssignedIdentity                   Bool                       true
                          userAssignedIdentities                   Object                     {}
                          sku                                      String                     "Standard"
                          createMode                               String                     "Default"
                          disableLocalAuth                         Bool                       false
                          enablePurgeProtection                    Bool                       false
                          publicNetworkAccess                      String                     "Enabled"
                          softDeleteRetentionInDays                Int                        1
                          keyValues                                Array                      [{"name":"keyName","value":"valueName","contentType":"contentType","roleAssignments":[{"roleDefinitionIdOrName":"Reader","principalIds":["e58511af-4da2-449c-a5cd-6a10271cfb83"]}]}]
                          diagnosticLogsRetentionInDays            Int                        7
                          diagnosticStorageAccountId               String                     "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpcarmlazsax001"
                          diagnosticWorkspaceId                    String                     "/subscriptions/<<subscriptionId>>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-carml-az-law-x-001"
                          diagnosticEventHubAuthorizationRuleId    String                     "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-carml-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey"
                          diagnosticEventHubName                   String                     "adp-carml-az-evh-x-001"
                          lock                                     String                     "CanNotDelete"
                          roleAssignments                          Array                      [{"roleDefinitionIdOrName":"Reader","principalIds":["e58511af-4da2-449c-a5cd-6a10271cfb83"]}]
                          tags                                     Object                     {}
                          enableDefaultTelemetry                   Bool                       true
                          diagnosticLogCategoriesToEnable          Array                      ["HttpRequest","Audit"]
                          diagnosticMetricsToEnable                Array                      ["AllMetrics"]
                          diagnosticSettingsName                   String                     "carml-az-appcs-x-002-diagnosticSettings"
                          privateEndpoints                         Array                      [{"subnetResourceId":"/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-carml-az-vnet-x-001/subnets/carml-az-subnet-x-005-privateEndpoints","service":"configurationStores"}]

Outputs                 :
                          Name                         Type                       Value
                          ===========================  =========================  ==========
                          name                         String                     "carml-az-appcs-x-002"
                          resourceId                   String                     "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.AppConfiguration/configurationStores/carml-az-appcs-x-002"
                          resourceGroupName            String                     "validation-rg"
                          systemAssignedPrincipalId    String                     "9105c965-3fc6-4a92-b583-ebb423efc296"
                          location                     String                     "westeurope"

DeploymentDebugLogLevel :

Name                           Value
----                           -----
deploymentOutput               {[name, …
deploymentName                 configurationStores-20220716T2007038248Z

PS CARML> . "c:\testLocal.ps1"
VERBOSE: Using local tokens [namePrefix]
VERBOSE: Deploy module [configurationStores] with parameter file [parameters.json]
VERBOSE: Performing the operation "Trigger" on target "Deployment for parameter file [C:\dev\ip\Azure-ResourceModules\ResourceModules\modules\Microsoft.AppConfiguration\configurationStores\.test\parameters.json]".
VERBOSE: Deploying with deployment name [configurationStores-20220716T2007435576Z]
VERBOSE: Determined deployment scope [resourcegroup]
VERBOSE: Setting context to subscription [<<subscriptionId>>]
WARNING: Unable to acquire token for tenant '2d5da5ce-3c47-497d-96d7-590011310484' with error 'You must use multi-factor authentication to access tenant 2d5da5ce-3c47-497d-96d7-590011310484, please rerun 'Connect-AzAccount' with additional parameter '-TenantId 2d5da5ce-3c47-497d-96d7-590011310484'.'
WARNING: Unable to acquire token for tenant '52290a28-dcec-4da1-9252-57f67fc9ba1b' with error 'SharedTokenCacheCredential authentication unavailable. Token acquisition failed for user<EMAIL_ADDRESS>Ensure that you have authenticated with a developer tool that supports Azure single sign on.'
VERBOSE: Using Bicep v0.8.9
VERBOSE: Performing the operation "Creating Deployment" on target "validation-rg".
VERBOSE: 20:53:02 - Template is valid.
VERBOSE: 20:53:03 - Create template deployment 'configurationStores-20220716T2007435576Z'
VERBOSE: 20:53:03 - Checking deployment status in 5 seconds
VERBOSE: 20:53:09 - Resource Microsoft.Resources/deployments 'dgmji3j6ucg2o-configurationStore-PrivateEndpoint-0' provisioning status is running
VERBOSE: 20:53:09 - Resource Microsoft.Network/privateEndpoints 'pe-carml-az-appcs-x-002-configurationStores-0' provisioning status is succeeded
VERBOSE: 20:53:09 - Resource Microsoft.Resources/deployments 'dgmji3j6ucg2o-appConfig-KeyValues-0' provisioning status is running
VERBOSE: 20:53:09 - Resource Microsoft.AppConfiguration/configurationStores/keyValues 'carml-az-appcs-x-002/keyName' provisioning status is succeeded
VERBOSE: 20:53:09 - Resource Microsoft.Resources/deployments 'dgmji3j6ucg2o-AppConfig-Rbac-0' provisioning status is running
VERBOSE: 20:53:09 - Resource Microsoft.Resources/deployments 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-dgmji3j6ucg2o' provisioning status is running
VERBOSE: 20:53:09 - Resource Microsoft.Authorization/locks 'carml-az-appcs-x-002-CanNotDelete-lock' provisioning status is succeeded
VERBOSE: 20:53:09 - Resource Microsoft.AppConfiguration/configurationStores 'carml-az-appcs-x-002' provisioning status is succeeded
VERBOSE: 20:53:09 - Resource Microsoft.AppConfiguration/configurationStores 'carml-az-appcs-x-002' provisioning status is succeeded
VERBOSE: 20:53:09 - Resource Microsoft.Network/virtualNetworks 'adp-carml-az-vnet-x-001' provisioning status is succeeded
VERBOSE: 20:53:09 - Checking deployment status in 15 seconds
VERBOSE: 20:53:25 - Resource Microsoft.Insights/diagnosticSettings 'carml-az-appcs-x-002-diagnosticSettings' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Resources/deployments 'dgmji3j6ucg2o-configurationStore-PrivateEndpoint-0' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Authorization/locks 'pe-carml-az-appcs-x-002-configurationStores-0-CanNotDelete-lock' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Network/privateEndpoints 'pe-carml-az-appcs-x-002-configurationStores-0' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Resources/deployments 'dgmji3j6ucg2o-appConfig-KeyValues-0' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Resources/deployments 'dgmji3j6ucg2o-AppConfig-Rbac-0' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Authorization/roleAssignments 'de1fb33e-ddf7-5f81-9007-9b5f8a94921e' provisioning status is succeeded
VERBOSE: 20:53:25 - Resource Microsoft.Resources/deployments 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-dgmji3j6ucg2o' provisioning status is succeeded
VERBOSE: Result
VERBOSE: ------
VERBOSE:
DeploymentName          : configurationStores-20220716T2007435576Z
ResourceGroupName       : validation-rg
ProvisioningState       : Succeeded
Timestamp               : 16.07.2022 18:53:24
Mode                    : Incremental
TemplateLink            :
Parameters              :
                          Name                                     Type                       Value
                          =======================================  =========================  ==========
                          name                                     String                     "carml-az-appcs-x-002"
                          location                                 String                     "westeurope"
                          systemAssignedIdentity                   Bool                       true
                          userAssignedIdentities                   Object                     {}
                          sku                                      String                     "Standard"
                          createMode                               String                     "Default"
                          disableLocalAuth                         Bool                       false
                          enablePurgeProtection                    Bool                       false
                          publicNetworkAccess                      String                     "Enabled"
                          softDeleteRetentionInDays                Int                        1
                          keyValues                                Array                      [{"name":"keyName","value":"valueName","contentType":"contentType","roleAssignments":[{"roleDefinitionIdOrName":"Reader","principalIds":["e58511af-4da2-449c-a5cd-6a10271cfb83"]}]}]
                          diagnosticLogsRetentionInDays            Int                        7
                          diagnosticStorageAccountId               String                     "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpcarmlazsax001"
                          diagnosticWorkspaceId                    String                     "/subscriptions/<<subscriptionId>>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-carml-az-law-x-001"
                          diagnosticEventHubAuthorizationRuleId    String                     "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-carml-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey"
                          diagnosticEventHubName                   String                     "adp-carml-az-evh-x-001"
                          lock                                     String                     "CanNotDelete"
                          roleAssignments                          Array                      [{"roleDefinitionIdOrName":"Reader","principalIds":["e58511af-4da2-449c-a5cd-6a10271cfb83"]}]
                          tags                                     Object                     {}
                          enableDefaultTelemetry                   Bool                       true
                          diagnosticLogCategoriesToEnable          Array                      ["HttpRequest","Audit"]
                          diagnosticMetricsToEnable                Array                      ["AllMetrics"]
                          diagnosticSettingsName                   String                     "carml-az-appcs-x-002-diagnosticSettings"
                          privateEndpoints                         Array                      [{"subnetResourceId":"/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-carml-az-vnet-x-001/subnets/carml-az-subnet-x-005-privateEndpoints","service":"configurationStores"}]

Outputs                 :
                          Name                         Type                       Value
                          ===========================  =========================  ==========
                          name                         String                     "carml-az-appcs-x-002"
                          resourceId                   String                     "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.AppConfiguration/configurationStores/carml-az-appcs-x-002"
                          resourceGroupName            String                     "validation-rg"
                          systemAssignedPrincipalId    String                     "9105c965-3fc6-4a92-b583-ebb423efc296"
                          location                     String                     "westeurope"

DeploymentDebugLogLevel :

Name                           Value
----                           -----
deploymentOutput               {[name, …
deploymentName                 configurationStores-20220716T2007435576Z

It seems everything seems to work as expected. HOWEVER, upon my first test, I did get an error that the name was already taken. It seems somebody already deployed the parameters.json file with the namePrefix carml. Any chance you may also have a general naming conflict? From your description it sounds like you deployed the service successfully once - hence it's a bit odd that the above test worked.

I don't think it is a naming conflict.  I've created a new one that hasn't been used as a test, and it deploys the first time correctly.  Then the next run it starts getting the conflict.  The same code works fine for Key Vault.  In the activity log I'm seeing an error that is happening at the same time:
    "action": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/validate/action",

Operation name
Validate Private Endpoint Connection Proxy
Time stamp
Sun Jul 17 2022 21:45:47 GMT-0400 (Eastern Daylight Time)
Event initiated by
Azure Traffic Manager and DNS
Error code
NameUnavailable
Message
The specified name is already in use.
Thanks
Michael

I am experiencing exactly the same issue. It started last week. Before everything was working fine.
Thanks,
Alexander

Hey @MichaelJRogersGM, @alexanderogorodnikov,
Thanks for raising this issue.
I confirm I'm experiencing the same.
Also tried the following:

Deploy the configurationStore resource without private endpoints (OK)
Re-deployed the configurationStore resource without private endpoints (OK)
Used the private endpoint module to deploy private endpoint to the configurationStore resource (OK)
Re-deployed the private endpoint to the configurationStore resource (Failed with Status Message: Call to Microsoft.AppConfiguration/configurationStores failed. Error message: The specified name is already in use. (Code: NameUnavailable))

It looks indeed like applying private endpoints on the configurationStore resource is not idempotent.
We'll have the team look into this more thoroughly. Probably the first step would be to check if the issue relies on the service itself.

@eriqua Thanks for your response.
I was trying to narrow it down some more and went back to the base bicep modules, and am getting the same result.
As far as I can tell all of those are correct on how it should be done.
param peName string = 'p-1234567891-ac-sdsv-pe'
param csName string = 'p-1234567891-ac-sdsv'
param vnetIdWithSubnet string = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/apconfig-test/providers/Microsoft.Network/virtualNetworks/vn-appconfig-test/subnets/default'
param pDnsZoneId string = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/apconfig-test/providers/Microsoft.Network/privateDnsZones/privatelink.azconfig.io'
param location string = 'eastus2'

resource config_store_resource 'Microsoft.AppConfiguration/configurationStores@2022-05-01' = {
  name: csName
  location: location
  sku: {
    name: 'standard'
  }
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    encryption: {
    }
    publicNetworkAccess: 'Disabled'
    disableLocalAuth: false
    softDeleteRetentionInDays: 1
    enablePurgeProtection: false
  }
}
resource private_endpoint_resource 'Microsoft.Network/privateEndpoints@2020-11-01' = {
  name: peName
  location: location
  properties: {
    privateLinkServiceConnections: [
      {
        name: peName
        properties: {
          privateLinkServiceId: config_store_resource.id
          groupIds: [
            'configurationStores'
          ]
          privateLinkServiceConnectionState: {
            status: 'Approved'
            description: 'Auto-Approved'
            actionsRequired: 'None'
          }
        }
      }
    ]
    manualPrivateLinkServiceConnections: []
    subnet: {
      id: vnetIdWithSubnet
    }
    customDnsConfigs: []
  }
}
resource private_dns_zone_group_resource 'Microsoft.Network/privateEndpoints/privateDnsZoneGroups@2020-11-01' = {
  parent: private_endpoint_resource
  name: 'default'
  properties: {
    privateDnsZoneConfigs: [
      {
        name: 'privatelink.azconfig.io'
        properties: {
          privateDnsZoneId: pDnsZoneId
        }
      }
    ]
  }
}
resource config_store_private_endpoint_connection_resource 'Microsoft.AppConfiguration/configurationStores/privateEndpointConnections@2022-05-01' = {
  parent: config_store_resource
  name: '${csName}-pe'
  properties: {
    privateEndpoint: {
      id: private_endpoint_resource.id
    }
    privateLinkServiceConnectionState: {
      status: 'Approved'
      description: 'Auto-Approved'
    }
  }
}

Hi.  I just wanted to add that I'm hitting the same issue with ARM templates.  I don't think the issue is related to bicep.

Similar Discussion: https://docs.microsoft.com/en-us/answers/questions/928797/index.html

Thanks all for the updates. They are really helpful!
As per @MayankBargali-MSFT shared discussion, the resolution of this bug looks to be on the service side and planned to be solved on 1st Aug.
We're keeping the bug open and will retest after the fix will be implemented.

A service update was released today and re-deploying private endpoints should no longer cause a conflict. Please let us know if there are any further issues.

A service update was released today and re-deploying private endpoints should no longer cause a conflict. Please let us know if there are any further issues.

Thanks!  It is working now.

The service update release fixed the issue. Closing.


Revert "Revert "Revert "Revert "Create a resourcepool so that we do not need to reconnect to content …""""

Reverts vespa-engine/vespa#12258

@gjoranv PR


The build for the tests fails on clang-10, 9, ppc64le

On the master branch commit: 434b6272e1db863e743cc994f760274d2ecd1e8d applying this patch, the unit test's make after cmake .. fails on Fedora ppc64le, both clang-10 (10.0.0) and clang-9 (9.0.1).
This error happens on ppc64le, but does not happen on x86_64, and aarch64 clang-10 and clang-9.
All the log is here.
Do you have any idea to fix it? Thank you.
$ clang --version
clang version 10.0.0 (Fedora 10.0.0-0.11.rc6.fc33)
Target: armv7l-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin

$ clang++ --version
clang version 10.0.0 (Fedora 10.0.0-0.11.rc6.fc33)
Target: armv7l-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin

$ mkdir test/build-clang
$ cd test/build-clang
$ CC=clang CXX=clang++ cmake ..
$ make -O -j4 V=1 VERBOSE=1
...
...
/usr/lib64/clang/10.0.0/include/altivec.h:55:19: error: unknown type name 'vector'
static __inline__ vector bool char __ATTRS_o_ai
                  ^
...
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

It looks like the problem happens when you include stdbool.h (which defines bool to _Bool) before including altivec.h.  I can reproduce it with
#include <stdbool.h>
#include <altivec.h>

I filed bug #45365 against clang for this, but I wouldn't be surprised if it doesn't get fixed.  Either way, I think I need to try to get rid of <stdbool.h>… I can tweak µnit a bit to get rid of it, I'm just worried something else will pull it in, too.


Lower Bound Gas Price to 1 GWEI

It looks like we sometimes submit 0 gas price transactions on xDAI:

A simple fix would be to hardcode a lower bound for the gas price (e.g. 1GWEI) that we never go below regardless of what the estimator says.
Another fix could be to use the blockscout specific gas estimation service (https://www.xdaichain.com/for-developers/developer-resources/gas-price-oracle) however that seems to have a similar logic as the default OE implementation (look at the last k blocks and choose the p-th percentile).

This can be closed now that we use EIP-1559 gas estimate (since we should never encounter a 0 base fee).
Where this still might be a problem is that we may quote really bad priority fees. I think we can re-open this issue if we encounter that.


Request to Rename files the downloaded files as orginal file names instead of number

Rename file to original file name instead of numbers
"Of~Lux.jpg"
https://storage.googleapis.com/panels-api/data/20240916/media-1a-i-p~s#:~:text=content/a~justinmaller_81d8962f/-,Of~Lux.jpg,-%3Fcrop%3Dfaces%252Ccenter
"Airport.jpg"
https://storage.googleapis.com/panels-api/data/20240916/media-1a-i-p~s#:~:text=content/a~justinmaller_8267e364/-,Airport.jpg,-%3Fexpires%3D1728508444399%26fm

I opened a PR #57!:D Should fix that.

Hi, i want to know it fixed?

Hi, i want to know it fixed?

You may use my fork as long you are waiting for approval of my PR :)

U did a awesome job! But i'm facing some issues:

I think some files are missing total number of images are 377 and in the following repo total images are 380:
https://github.com/anthonywww/mksld

Some files are not renamed properly
For eg.
Saved image to /content/mkbsd/downloads/vasjenkatro/08.png
🔍 Found image URL!
🖼 Saved image to /content/mkbsd/downloads/vasjenkatro/03.png
🔍 Found image URL!
🖼 Saved image to /content/mkbsd/downloads/vasjenkatro/10.png
🔍 Found image URL!
🖼 Saved image to /content/mkbsd/downloads/vasjenkatro/06.png
🔍 Found image URL!
🖼 Saved image to /content/mkbsd/downloads/vasjenkatro/11.png
🔍 Found image URL!
🖼 Saved image to /content/mkbsd/downloads/vasjenkatro/07.png
🔍 Found image URL!

Thank you!
I'll check the scripts again to see what the problem is. Are you running the Python or the JS?
With the naming I'm actually not sure, if those are the actual names a that's why they are named eg. '1.png'. But let me check that. Thanks for your feedback.

@rsaurav12 you can check my issue here https://github.com/nadimkobeissi/mkbsd/issues/46
might be what you are looking for

Thank you!
I'll check the scripts again to see what the problem is. Are you running the Python or the JS?
With the naming I'm actually not sure, if those are the actual names and that's why they are named eg. "1.png". But let me check that. Thanks for your feedback.

Your welcome and i running python on google collab

@rsaurav12 you can check my issue here #46 might be what you are looking for

Can you create a python script pls

Thank you!
I'll check the scripts again to see what the problem is. Are you running the Python or the JS?
With the naming I'm actually not sure, if those are the actual names and that's why they are named eg. "1.png". But let me check that. Thanks for your feedback.

Your welcome and i'm running python on google collab

So I've just checked again. The images with the digits in their names are actually called like that in the source.
As for the number of images, it depends on what data you pull from the json. In my script, only the images marked dhd do get downloaded. If you want to load others, you would have to change the script, but I've not tested that yet.

Thank you!
I'll check the scripts again to see what the problem is. Are you running the Python or the JS?
With the naming I'm actually not sure, if those are the actual names and that's why they are named eg. "1.png". But let me check that. Thanks for your feedback.

Your welcome and i'm running python on google collab

So I've just checked again. The images with the digits in their names are actually called like that in the source.
As for the number of images, it depends on what data you pull from the json. In my script, only the images marked dhd do get downloaded. If you want to load others, you would have to change the script, but I've not tested that yet.

Yeah i understood , but acc. to this repo :
https://github.com/anthonywww/mksld/issues/3
This repo extract only dhd images , u can check its python script also .. idk why it's pulling more images


moment().utcOffet(-5 * 60).day(5) resulting in last Friday

I have the following code:
d = moment() // -> '2015-04-26T13:46:22+09:00' (this is a Sunday (JST))
d.utcOffet(-5 * 60) // -> '2015-04-25T23:46:22-05:00' (this is a Saturday (EST))
d.day() // -> 6 (as I said, Saturday)
d.day(5) // -> '2015-04-24T23:46:22-05:00' (this is *last* Friday)

I thought moment().day(5) was supposed to set the date to next Friday. If this is the case, then the above is exhibiting a bug.
If not, what is the correct way to go about this?
Cheers in advance!

moment().day(5) is supposed to set the date to the Friday of the current week, so starting from a Saturday it's the previous day.
I think you need to add a bit more logic to determine next Friday, because it could belong to the current week or the next week.

@Pumpuli is right: it takes you to the Friday of your current week, which you changed to last week. If you know you're in the previous week (or you find out that you are by comparing week()), then you can just use d.day(5 + 7)


SAA-874 start date of allocation cannot be before activity start date or after activity end date.

Test case
Activity starting and ending on 22 June 2023.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (3c3c716) 84.80% compared to head (170ee75) 84.80%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #408   +/-   ##
=========================================
  Coverage     84.80%   84.80%
- Complexity     2028     2030    +2
=========================================
  Files           278      278
  Lines          7738     7741    +3
  Branches        440      441    +1
=========================================
+ Hits           6562     6565    +3
  Misses          928      928
  Partials        248      248

Impacted Files
Coverage Δ

...activitiesmanagementapi/entity/ActivitySchedule.kt
93.47% <100.00%> (+0.09%)
:arrow_up:

...ivitiesmanagementapi/service/AllocationsService.kt
72.91% <100.00%> (+0.57%)
:arrow_up:

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


Update readme

Fix grammar
Use db:reset instead of create and migrate
Update instructions to make bowler the preferred method of running publisher

Nice improvement :+1:


Missing "Total" property in Bundle responses

Hi Team,
following issue detected by myself:
The "total" property is missing on the public R4 server http://hapi.fhir.org/baseR4/ for Resource Type patient. I know, this is a performance mechanism, but a server should return for the same request, the same result. So many applications have dependencies to the "total" property, like counters of resource entities.
Steps to reproduce the behavior:

Go to http://hapi.fhir.org/baseR4/Patient
No total property is placed in the bundle

Expected behavior
A server should return for the same request, the same result. So many applications have dependencies to the "total" property, like counters of resource entities.
Best Regards

The _total parameter can be used to force the total to be calculated, even for larger search results.
Be warned that this will impact performance though on larger search results, since the database has to perform an additional count(*) query.
E.g.
http://hapi.fhir.org/baseR4/Patient?_total=accurate

Is this supposed to be working with _summary too?
(this is internal, so no access from the outside)
https://test.fhir-stage.teamedio.com/fhir/Communication?_summary=count&_total=accurate
returns
{
	"resourceType": "Bundle",
	"id": "066ea719-93e5-425b-8385-a4d7f75a6083",
	"meta": {
		"lastUpdated": "2022-10-13T09:34:07.215+00:00",
		"tag": [
			{
				"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
				"code": "SUBSETTED",
				"display": "Resource encoded in summary mode"
			}
		]
	},
	"type": "searchset"
}

I'm missing a "_total": 0 at least (even though that's not the case)


chore(release): v0.10.12 🎉

:robot: I have created a release beep boop
0.10.12 (2023-05-22)
Bug Fixes

contains: remove the variant from the parseJSON function output (89069a1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/declapract/releases/tag/v0.10.12 :sunflower:


Hello, i keep running into the same problem when installing this plugin, ive updated autogpt and tried reinstalling it in a new directory, reintalled python. i have auto gpt working but i get this error when i add the alpacatrader ( error code in the comments) im still new to coding and autogpt but if you can help in any way that would be really appreciated

Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/app/autogpt/main.py", line 5, in
autogpt.cli.main()
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/app/autogpt/cli.py", line 96, in main
run_auto_gpt(
File "/app/autogpt/main.py", line 142, in run_auto_gpt
cfg.set_plugins(scan_plugins(cfg, cfg.debug_mode))
File "/app/autogpt/plugins.py", line 227, in scan_plugins
zipped_module = zipped_package.load_module(str(module.parent))
File "", line 284, in load_module
File "", line 779, in _get_module_code
zipimport.ZipImportError: can't find module '.'
PS C:\Users\alsad\Autogpt1\Auto-GPT-0.4.0\Auto-GPT-0.4.0>

just fixed thanks for the heads up


Show the Local Weather: Change challenge since codepen.io is not HTTPS

getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
Challenge Show the Local Weather has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

moreover, I changed to https://codepen.io, now I get this error Mixed Content: The page at 'https://codepen.io' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.openweathermap.org/data/2.5/weather?.... This request has been blocked; the content must be served over HTTPS.
and well openweathermap.org, doesn't work with https.

@miguel-orange thanks for the issue. This is a known issue https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9145. Take a look at the discussion there for some ideas how to work around it.
Here are a proposed change and additional work around for this challenge https://github.com/FreeCodeCamp/FreeCodeCamp/pull/10341.
Closing as duplicate issue. Happy coding!


store.dispatch() from Actions

I'm working on an example that makes use of async state updates. In that app I'm trying to find the best place for dispatch (e.g. as in redux-thunk), and it just happens to make sense to use it from Actions.
Here's a sample action just to illustrate.
import { RECEIVE_LOCATION } from '../constants/Types';
import { defaultPosition } from '../constants/Geo';
import store from '../stores';

function requestGeolocation() {
  return function(dispatch) {
    navigator.geolocation.getCurrentPosition(function(position) {
      dispatch({
        type: RECEIVE_LOCATION,
        coords: {
          latitude: position.coords.latitude,
          longitude: position.coords.longitude,
          inProgress: false,
        },
      });
    });
  };
}

export function getGeolocation() {
  if (!navigator.geolocation) {
    return store.dispatch({
      type: RECEIVE_LOCATION,
      ...defaultPosition,
    });
  }
  return store.dispatch(requestGeolocation());
}

Obviously dispatch didn't come from a view when firing getGeolocation(), which is why I'm looking to hear about your take on this approach. This kind of makes sense to me only for the agnostic components where I don't expect bound actions received through props (e.g. <GeoButton /> that cares less about anything other than triggering that action)
So my question is, would this pattern break the basic Redux principles?

Obviously dispatch didn't come from a view

If you're grabbing dispatch from a singleton store by exporting it from some module, you're making it hard to change your app to be universal (i.e. render on the server) later. Whether you care about this or not, is up to you, but we don't encourage this pattern.
Why not just use thunk middleware to change
export function getGeolocation() {
  if (!navigator.geolocation) {
    return store.dispatch({
      type: RECEIVE_LOCATION,
      ...defaultPosition,
    });
  }
  return store.dispatch(requestGeolocation());
}

into thunk:
export function getGeolocation() {
  return function (dispatch) {
    if (!navigator.geolocation) {
      return dispatch({
        type: RECEIVE_LOCATION,
        ...defaultPosition,
      });
    }
    return dispatch(requestGeolocation());
  }
}

Then you can dispatch it like this:
store.dispatch(getGeolocation());

and import store from your view, if that's what you prefer.
At this point, though, you should probably put connect() without arguments onto your view. Then you'll only get dispatch injected as a prop, which is all you need:
class GeoButton extends Component {
  componentDidMount() {
    this.props.dispatch(getGeolocation());
  }
}

export default connect()(GeoButton); // just gives it dispatch()

Another option is to keep your GeoButton “dumb”, that is, unaware of Redux.
class GeoButton extends Component {
  componentDidMount() {
    this.props.fetch();
  }
}

Then you can bind it somewhere else:
let GeoButtonThatKnowsWhatToDo = connect(null, { fetch: getGeolocation })(GeoButton);

Fantastic! Thanks @gaearon 👌


Use cadvisor docker API and not container API

This is to address container stats not working on RancherOS.  The real
issue is that Docker-in-Docker was not working as a result of the fact
that we were assuming a non-nested Docker cgroup path.  On Docker 1.7
the paths were always /docker/id, now they are /docker/id/docker/id if
nested.

https://github.com/rancher/rancher/issues/2510


Possibility to take advantange of dynamic config

First of I want to say thanks for your great work here @racc!
We're considering using the typesafeconfig-guice library in our projects. One thing that we're interested in though is the ability to update the typesafe conf file and reload it on runtime in the app (without having to restart it). I'm curious to know what's your take on this.
Something like:
https://github.com/Netflix/archaius/tree/master/archaius-typesafe/src

Hey @costimuraru, thanks for the feedback!
I guess this wasn't really a use-case I considered, because Guice is typically used to bootstrap an application once on load.
It looks like Netflix's Governator project might do what you want anyway:
https://github.com/Netflix/governator/wiki/Configuration-Mapping
See in particular section on Dynamic Configuration: https://github.com/Netflix/governator/wiki/Configuration-Mapping#dynamic-configuration
Hope this helps,
Jason

Thanks, Jason! This was a good tip :-). Although I'm liking your implementation best, I'm currently looking into archaius2. The limiting factor for not supporting dynamic configs here seems to be Guice though (unable to re-bind to the new config values).


Avoid requiring env variable when importing file

Description
This PR ensures that we don't load env variables when simply importing the file.

Risk

Deploy Plan

as per IRL not convinced by DFS :)

Thanks for changing @flvndvd  🙏


feat: add ortho control for camera

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Codecov Report

Merging #278 (557ee76) into dev/0.4 (ebaa542) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           dev/0.4     #278      +/-   ##
===========================================
- Coverage    40.47%   40.33%   -0.14%
===========================================
  Files          328      329       +1
  Lines        18283    18283
  Branches      2413     2403      -10
===========================================
- Hits          7400     7375      -25
- Misses       10882    10908      +26
+ Partials         1        0       -1

Impacted Files
Coverage Δ

packages/controls/src/OrthoControl.ts
0.00% <0.00%> (ø)

packages/controls/src/index.ts
0.00% <0.00%> (ø)

packages/loader/src/gltf/parser/MaterialParser.ts
0.00% <0.00%> (-16.00%)
:arrow_down:

packages/loader/src/gltf/parser/SceneParser.ts
0.00% <0.00%> (-12.95%)
:arrow_down:

...ader/src/scene-loader/resources/TextureResource.ts
0.00% <0.00%> (-6.90%)
:arrow_down:

packages/draco/src/decoder.ts
0.00% <0.00%> (ø)

packages/loader/src/scene-loader/Oasis.ts
0.00% <0.00%> (ø)

...ackages/loader/src/scene-loader/ResourceManager.ts
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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