Is Training API available in the new version of QnA?

Can I use the Training API for implement Active Learning.
https://www.qnamaker.ai/old/Documentation/ActiveLearning
Is this functionality deprecated in this new version?

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

ID: 537873ea-49b6-6bc6-4ef3-59393aa14397
Version Independent ID: f3ec02d2-3560-add5-0047-163e365af580
Content: FAQ - Microsoft Cognitive Services - Azure
Content Source: articles/cognitive-services/QnAMaker/FAQs.md
Service: cognitive-services
GitHub Login: @nstulasi
Microsoft Alias: saneppal

@Gustavo935 Thanks for the feedback! We are currently investigating and will update you shortly.

@Gustavo935 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@nstulasi Hi, this is a doc-question, can you please check it and update the document as necessary? Thanks a lot!

Please can we get an update on this issue - it's a significant barrier to use and a big step down in functionality vs the prerelease versions

Investigating. #in-progress

@PhantasmNZ
The training API that was available during Preview has been removed because the feature that needed training, Active Learning, was also removed. It is not obvious from the UX that the equivalent API of Train is not necessary and won't be necessary until actively learning is returned to the service. Please let me know what if you have any other questions.

@Gustavo935  We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

Are you taking the ****?
The whole point of this issue is that Active Learning is something that we need.  Just saying that the training API has been removed because the Active Learning feature has been mysteriously and unpopularly removed, without explanation, is ridiculous.
Please comment on when Active Learning/Training API will be available again please.


How complex is it to adapt the model to use sr/lst from sentinel-2?

Any guidance would be much appreciated.

Sentinel 2 does not collect LST, which is the main input to SSEBop.


More controls for configuration

Love this theme but there are a few more configurations I would like it to have:

would be good to have an option to change the window separator (the blue triangle in this image)
option to disable icons altogether (I personally just prefer text)
option to change the background colour of the current window, I'm sure I can get use to looking for the yellow to signify the current one but a different background colour or similar would make it super obvious to me

Love this theme but there are a few more configurations I would like it to have:
* would be good to have an option to change the window separator (the blue triangle in this image)

* option to disable icons altogether (I personally just prefer text)

* option to change the background colour of the current window, I'm sure I can get use to looking for the yellow to signify the current one but a different background colour or similar would make it super obvious to me

Happy that you like the theme / plugin :)
The features you are suggesting are easy to implement and useful. On it!

I am currently busy with life, so the current active window stuff will have to wait, as it doesn't seam to be very straightforward to create and expose for user choice :sweat_smile:. The other ones should work

I think this set of features is done, so closing for now :)
Be sure to comment if you think they aren't :wink:


Fix CCG name display

Fixes #2201.

I'm going to break convention and deploy this on @inglesp's behalf as it's a straightforward fix which it would be good to have done


add requirements.txt from office hours

@leevw @ryanapierce
This is just me adding the requirements.txt file that was shared in office hours. I included the yahoo finance package


Update F# Golden Path Article

The F# golden path article (https://github.com/dotnet/core-docs/blob/master/docs/scenarios/solution-authoring/f-golden-path.md) needs to be updated to use the correct version numbers/bits for .NET Core SDK Preview 2.  This is going to be dependent on https://github.com/Microsoft/visualfsharp/pull/1290.
It also needs an appropriate entry in the TOC.

I am relatively new to learning F# and I do not have VS or Windows. So I think one big issue right off that needs to be addressed is the need for making it a lot less impossible for people who are not on Windows that are trying to learn F#. When something works for a tutorial author who's on Windows using VS, the beginner struggling to learn is left unable to complete a tutorial if they're on Linux and having to use Monodevelop because things don't reference the same way (like F# script files, for example). Having enough knowledge or skill level to know how to translate everything to a different toolset than what a tutorial author has is something beyond the scope of beginners. Especially considering disadvantaged populations who didn't get to learn computers until MUCH older in life (not all of us had computers at age 10 or the opportunity to learn computer stuff until much later in life).


[Sticky] Cannot change data option after init

Hello guys
I've being searching a lot about this on the issues and tried many things (and also saw many bugs on sticky that are still open) and cannot figure out.
I have a side nav that is sticky to te top when I open the page that is initialized with [data-sticky] way and some data options, and it works fine.
The issue is that the side nav have many items and on laptops it will be longer than the viewport height.
So I build a simple function to check and if the nav.height() > viewport.height(), I simple want to change the data-stick-to from "top" to "bottom".
I was able to do it IF I check before .foundation() initializes, but I also want to change it on window resize of course, which I couldn't find a way to do it.
The problem is that I tried many ways to do that, but none worked:

$stickyNav.attr('data-stick-to', 'bottom') then Foundation.reInit('sticky');
$stickyNav.data('stick-to', 'bottom') then Foundation.reInit('sticky');
Tried both above with .foundation() and with $(window).trigger('load.zf.sticky');
Tried .foundation('destroy'), changing the data-stick-to then a .foundation();
Tried 'destroy' then var elem = new Foundation.Sticky($('#main-nav-wrapper')) then elem.options.stickTo = 'bottom' then .foundation()

So after so many hours and tries I need help. Is there a simple and correct way to do this? Is this not possible to some open bug (if yes, any workaround?)?
I'm on Foundation 6.2.3
Any tip is appreciated
Thanks!

Part of https://github.com/zurb/foundation-sites/issues/10900

To add more information, I was able to change from top to bottom like this:
$('#main-nav-wrapper').foundation('destroy')     .data('stickTo', 'bottom')     .attr('data-sticky','')     .foundation()     .foundation('_calc', true) ;
But not only this looks odd and ugly, when for example nav.height() < viewport.height() and I trie to restore to stickTo = top, it will ignore the "anchor" and will overlap my header.


PostgresStorage: Fix schema issue

See the commit messages for details.

Since you've approved, @oheger-bosch, were you already able to confirm that this fixes our issue, and we're able to undo the amendment of the query string to the URL in our config?

@sschuberth Yes, I could confirm that this fix is working for us. See also my comment on Slack.

@sschuberth Yes, I could confirm that this fix is working for us. See also my comment on Slack.

Thanks, I saw your comment over there shortly after looking here. Please prefer to comment here and refer to the comment from Slack instead of the other way around, as Slack is volatile and not a long-term storage for these kind of important comments.


update kyaml deps

This PR tries to update the kyaml dependencies for kpt CLI. I am running into an error that I am afraid requires updating the upstream k8s dependencies as well. So treat this as work in progress.
k8s.io/cli-runtime/pkg/resource
# k8s.io/cli-runtime/pkg/resource
../../../../../go/pkg/mod/k8s.io/cli-runtime@v0.25.3/pkg/resource/kustomizevisitor.go:41:8: kOpts.DoLegacyResourceSort undefined (type *krusty.Options has no field or method DoLegacyResourceSort)
make: *** [Makefile:46: build] Error 2

/lgtm
(Really testing if lgtm works!)

/lgtm cancel


CodeConfiguration() parameter

HI Team,
Looks like the highlighted parameter "code_local_path" is just "code".  Refer to attached screenshot
Please correct it.
blue_deployment = ManagedOnlineDeployment(name='blue',
endpoint_name='my-online-endpoint',
model=model,
code_configuration=CodeConfiguration(### code_local_path='./model-1/onlinescoring/',
scoring_script='score.py'),
environment=env,
instance_type='Standard_DS2_v2',
instance_count=1,
egress_public_network_access="disabled"
# egress_public_network_access="enabled"
)
ml_client.begin_create_or_update(blue_deployment)

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

ID: 07b567d2-c030-33ce-39c0-9982a46bec3b
Version Independent ID: 6ba64c81-49dd-ec8a-9b40-b745aa4e5aa6
Content: Network isolation of managed online endpoints - Azure Machine Learning
Content Source: articles/machine-learning/how-to-secure-online-endpoint.md
Service: machine-learning
Sub-service: enterprise-readiness
GitHub Login: @dem108
Microsoft Alias: sehan

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

@sunnybansalmsft
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.

#sign-off


Temperature module not working

Waybar version: 0.4.0
OS: Arch Linux (64-bit)
Desktop: Sway 1.0 (stable)
I tried adding the temperature module to my waybar:
 "temperature": {
    //"thermal-zone": 1,
    "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
    "critical-threshold": 80,
    "format-critical": "{temperatureC}°C ",
    "format": "{temperatureC}°C ",
    "interval": 2
  }

"modules-right": ["pulseaudio", "network", "cpu", "temperature", "memory", "backlight", "battery", "tray"],

But the temperature doesn't show up in my bar. I tried the default config suggested on github, but that doesn't work either.
The output of cat /sys/class/hwmon/hwmon2/temp1_input is "49000"
The same goes for the thermal zone temp suggested on the github modules page.

Are there any logs related to this problem?

Which logs do you need/how do I capture them?

Launch waybar from terminal and send me the output

I have the same issue on Arch. waybar returns Unknown module: temperature

Oh ok, it's the person who has packaged waybar who doesn't enabled optional modules but I don't know who it is, otherwise you can use waybar-git from the aur or compile it by hand

Oh, I see, the Arch package is outdated (0.4.0). Thanks for the explanation.


CalledProcessError : returned non-zero exit status 21.

Hi, everyday i use dataframe-image to process some images in my work. But today i started getting an error with all my codes using the module.
as an exemple, heres one of the codes i use:
def saldo_projetado(pasta_dos_dados):
    saldo_projetado_data = pd.read_excel(f"{pasta_dos_dados}Saldo_Projetado.xlsx", usecols=["Conta", "Assessor", "Total"])
    saldo_projetado_data["Assessor"] = saldo_projetado_data["Assessor"].apply(lambda x: "A" + str(x))
    saldo_projetado_data["Total"] = saldo_projetado_data["Total"].apply(lambda x: float(x.replace(",", '.')))
    saldo_projetado_data = saldo_projetado_data[saldo_projetado_data["Total"] < -50]
    saldo_projetado_formatado = saldo_projetado_data.reset_index(drop=True).style
    saldo_projetado_formatado = (saldo_projetado_formatado.set_properties(**{'text-align': 'left', 'border': '1px black solid !important'})
            .format({"Total": "R$ {:,.2f}"})
            .set_table_styles([dict(selector='th', props=[('text-align', 'center'), ('border', '1px black solid !important')])])
            .hide())
    dfi.export(saldo_projetado_formatado,f"{pasta_dos_dados}Saldo_projetado.png",chrome_path="C:\\Users\\eduar\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe")

But today, the code started giving me the following error:
CalledProcessError: Command '['--enable-logging', '--disable-gpu', '--headless', '--crash-dumps-dir=C:\\Users\\eduar\\.dataframe_image\\tmpg6tmi7oy', '--force-device-scale-factor=1', '--window-size=1400,900', '--hide-scrollbars', '--screenshot=C:\\Users\\eduar\\.dataframe_image\\tmpg6tmi7oy\\temp.png', 'C:\\Users\\eduar\\.dataframe_image\\tmpg6tmi7oy\\temp.html']' returned non-zero exit status 21.
The path to chrome is right;
Using dataframe-image-0.2.4
When i insert table_conversion='matplotlib', the error is gone. But i dont like the look of the image and i lose some settings in my image as well...

A strange solution
For my computer, I deal it just run the code with chrome is closing (without opening websites through the chrome).
However, I got issue #115. My picture got cutted nomatter the value of max_cols.
(Is that means it's to big to be created?)
The error of cutting image is solved after i insert table_conversion='matplotlib'.
#issue
import dataframe_image as dfi
import pandas as pd

df = pd.DataFrame({
    'a': [i for i in range(1,101)],
    'b': [i for i in range(1,101)],
    'c': [i for i in range(1,101)]
    })
dfi.export(df,'test.png',max_rows=100,fontsize=30)

I get the same error today.Yesterday dataframe-image worked perfectly fine.

Does table_conversion='playwright' works?
I can not track every Chrome change, if playwright works then I'll check if this error still exist in next chrome version.

Does table_conversion='playwright' works?
I can not track every Chrome change, if playwright works then I'll check if this error still exist in next chrome version.

It works perfectly.

hi I believe I have the same issue the fix for this is to change --headless to --headless=old in converter/browser/chrome_converter.py line 118
found out about the fix here: https://stackoverflow.com/a/78935135
I tested the change, which seemed to work

Can you test again with a long(more than 1 screen height) dataframe?

hi I believe I have the same issue the fix for this is to change --headless to --headless=old in converter/browser/chrome_converter.py line 118
found out about the fix here: https://stackoverflow.com/a/78935135
I tested the change, which seemed to work

Works like a charm

Fixed in https://github.com/dexplo/dataframe_image/releases/tag/v0.2.5


Bulk Property Change

After creating a model with dozens of tasks, I would like to select many tasks and edit common properties of all selected tasks in a bulk operation.

Sounds like a legitimate power user feature.
Any idea how that could look like from the users perspective?

Show all options that make sense for all the selected nodes in the property panel.

Copying some of my comments from #892 here for visibility:

Bulk property editing is equally in high demand, e.g. for setting the same job type on all service tasks in a model.

Let's start simple: As user, I must select elements of the same type, otherwise the bulk operation doesn't show up. Next level for properties, could be to only show/allow to edit the properties that the selected element have in common.

For example, I can select a Service Task and a Send Task and since they both have the property job type, the job type property shows up for bulk editing and allows me to set the same job type for both tasks. If the two tasks already have job types that are different, the bulk editing UI should show a warning that there are different values but still allow me to overwrite the value for both tasks with a new value.


Ignore the length of kern table sutable format 0

The "length" value of kern table subtable format 0 is ignored since some fonts (like OpenSans and Calibri) have a subtable larger than its value.
Fixes #314.

@moyogo are you sure that MS Calibri has such a kern subtable with more pairs than can fit the length field?
I just tried to dump one copy I found on my VM, Calibri 2.10, and it looks ok.

correction: I was testing Calibri Light, which doesn't have this kern overflowing issue. The Regular style does show this problem.


Add a description field to Graph

It would be useful to add a description to a Graph instance. This should also be exposed via the REST API.
If done after the GraphConfig issue: #1165 then the description should be added to the GraphConfig class.

Merged into develop.


RBS: Add User#organizer? manually

As a preparation of updating types to the app, this adds types for User#organizer? manually because current rbs_rails does not support Rails7 style enums. It should be removed if rbs_rails will support it in the future.

@tk0miya Could you also add User#participant? although it may not be used now?

@tk0miya Could you also add User#participant? although it may not be used now?

Added :-)


Order roughly by impact

Diff looks super weird so it's a bit hard to be 1000% confident that I didn't mangle this, but I did glance at the rendered output and verify that the same number of lines/headers are present.
There are many sections that seemed very unlikely to break user code or that I didn't really understand so it was a bit difficult.
Many sections are not actually breaking and should be deleted and I'll follow up with individual suggestions later.
Scene/reflect stuff maybe should be higher, but those sections are huge and they are at least grouped togetherish now.

oof, yeah, the diff is something else, I'll pull it locally and do quick run over before merging.

Is there any kind of heuristic for the ordering or is it purely by feeling? Just want to know if the generator could output something in a better order in the future. Maybe weight it based on the amount of reacts?

My only thought is "number of examples impacted" but that it would be a bit of a lift.
This effort was purely by feeling after migrating a couple personal projects and ecosystem crates.

This seems good to me
Notes for after the merge
Move impl bundle for components closer to spawn take bundle
Move the time scaling closer to bool argument on timer just because it's time related
Move the removal of watch_for_changes closer to new plugin settings just to keep similar changes close together
Remove bevy_pbr:/bevy_scene and other similar prefix for consistency
In the future, I think I'll generate the migration guide based on Area tag. It would probably be easier to follow.

Those tweaks all make sense to me.

I'll commit them in a few minutes


manifests: support installing on old Helm versions

Fixes https://github.com/istio/istio/issues/54389

FWIW Helm 3.6 (which we document as our min version) is from 2021, which makes it 3, nearly 4 years old.
We should probably stop suggesting we support a Helm version that old.

the only reason I did is it seems, for whatever reason, argo uses it. Maybe they are on old argo versions, not sure. Also not sure 3.6 is the newest version with the issue, just the one I tried.

docs bump: https://github.com/istio/istio.io/pull/16123


Issues with draft of api.md

There is a substantive issue at LN# 135:
"When using a client-server setup, do NOT send public keys over non-secure connections. The only time this is fine is during development when the keys are nothing but test data and does not protect anything of value. Normally they should either be kept locally and used to sign transactions locally, held on the server where the blockchain client is running, or be passed over secure channels."
I believe what is meant here is that 'private keys' should not be sent over non-secure connections. This is also indicted by the reference to signing transactions, as private keys are used to cryptographically sign data, transactions, etc.
There is another substantive issue at LN# 520:
The HTTP method indicated for GenPrivAccount is 'GET'; this is contradicted by its elaboration at LN# 1927 where the indicated method is 'POST'.
In addition, there are numerous cosmetic and grammatical changes that could be made to clean up this document--see LN#'s 21, 26, 73, 104, 113, 127, 257, 259, 261, 267, 269, 307, 309, 360, 362, 430, 446, 536, 538, 635, 642, 684, 951, 1170, 1213, 1235, 1621, 1692, 1812, 1961, 1980, 2033, and 2039.

If you would like, I could clean this up.

That would be super @smblucker !

I think this was handler in #746 - ping back if not


Bug/duplication of network

Coverage increased (+0.01%) to 43.22% when pulling ce6562aa69d4b5cdef4fa884fbf6170339d9b32b on hmunfru:bug/DuplicationOfNetwork into fd47e0d88264ea27b3b431ee292c531031045b99 on telefonicaid:develop.

LGTM

LGTM


New feature Request : Add a troubleshooting guide/list of useful commands in docs

There are lots of discussions happening in Discord regarding troubleshooting testnet installation. It is better to capture common issues that happen during installation(such as rust missing / seed is not properly set for a miner) in a doc.  Even useful commands such as the one listed in the doc link can be added as a separate official doc.
https://public.3.basecamp.com/p/5MqG1Vtpv16qPZ7XE7zCv4fM
This can help everyone. The example is given only with respect to the testnet doc as of now. But it's better to have such troubleshooting guide for all areas.

@agraebe Please have a look and if the basecamp doc looks good, I can add it as a separate section . We can ask community to help us add more details as well .  Thanks.

it's a great doc! we likely need to update a variety of pages inside the docs - and potentially add a new section to the testnet page itself. I feel like I might be best suited to do this given my awareness of the content across all pages. Let me add this to my backlog.
How was this document created in the first place (by whom for what goals)?

Sounds good, Alex! The troubleshooting guide will be really very useful. I created the doc . I compiled the list of commands/points I felt is good to refer for my understanding ,  based on the discussions I followed on Discord.

It is even good to have a best practices guide along with troubleshooting , especially for Clarity (list of some known good practices) will be really helpful for the newcomers.


About tiny imagenet training problem

I have modified the imagenet.py by adding the lines after the "create model" codes:
num_ftrs = model.fc.in_features
model.fc = nn.Linear(num_ftrs,200)
changing the net to train on tiny imagenet.
But it has a problem: training top1 accuracy is about 79.6110 and top5 accuracy is about 91.6950;
while validation accuracys are only 0.7(top1) and 1.47(top5). Do you have any ideas on this weird problem?

https://github.com/tjmoon0104/pytorch-tiny-imagenet/blob/master/val_format.py


Error while caliberating os1 64

Now i am able to extract the checkerboard but i am getting an error due to which i am not able to calibrate. I have attached the error screenshot. Kindly reply as soon as possible.

The issue here is that RANSAC is not able to find your chessboard. In the readme section 2.3.2 "Isolate the chessboard" I showed examples where the chessboard has to be the only visible object in the point cloud. The reason being that this tool has no "smart" identification of where the board is. You have to manually isolate the board. RANSAC will then take the left-most and right-most values of the entire isolated point cloud to estimate the board edges. If there is a lot of noise like 2.3.2 left image or your screenshot, then it'll give the error you are seeing there.

The board also has to be tilted as shown in the picture of 2.3.2 right image where it is tilted to look like a diamond. This is so that all the edges of the board can be captured. See Figure 2 in this paper to understand why we need to tilt the board. We recommend using some sort of mounting solution to suspend the board in the air at a 45 degree tilt so that the point cloud captures nothing else but the board.

Let me try these things.

I am running the two drivers of both lidar and camera. But when I start to launch the lidar cam calibration command. It is giving me an error and feature extraction dies just after launch. I am attaching the screenshot. i am trying to do live calibration.

@islamtalha01 Check  this comment. This might be the same reason for you.

Thanks, I'll check it out.
On Tue, Oct 5, 2021 at 9:46 PM Shreyash Palande @.***>
wrote:

@islamtalha01 https://github.com/islamtalha01 Check this comment
https://github.com/acfr/cam_lidar_calibration/issues/2#issuecomment-934577598.
This might be the same reason for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/acfr/cam_lidar_calibration/issues/6#issuecomment-934581085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT4S27DXRLF7SRNF32HT3OTUFMTVZANCNFSM5FBCFGJA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Can I ask how did you extract the checkerboard from ouster lidar pointcloud?
I'm using ouster 64ch lidar too, but It's point cloud dose not appear on rviz.
I already modified the ring field.
Help me please


Consider exposing Redwood version bi-directionally across Treehouse bridge

This will enable us to work around bugs in the host from the guest based on its version. Or vise versa.

We need this to stop sending removedIds from the guest to the host.


Fixing squid:S1155 - Collection.isEmpty() should be used to test for emptiness

This pull request is focused on resolving occurrences of Sonar rule
squid:S1155 - "Collection.isEmpty() should be used to test for emptiness".
You can find more information about the issue here:
https://sonarqube.com/coding_rules#q=squid:S1155
Please let me know if you have any questions.
Artyom Melnikov

Thanks Artyom


Update restful_api.md

fix ".generate" to ".chat_interactive_v1"

May update the english document as well.


Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/90037
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.0 -m "<description of version>" 3e5a4fc68b5ea2e096053723e3f63514ebe0f981
git push origin v1.1.0

@JuliaRegistrator register()


Strategy for defining connections between different types of metadata

As the MC2 data model becomes more complex and has more pieces, it will likely be important to define connections between different types of metadata/manifests. The solution to this type of work previously has been to use Syn IDs, which indicate which manifests files are connected.
Since MC2 uses schematic and has primary keys defined for upsert, all metadata for a given resource, assay type and level, etc. will be stored in a single manifest that gets updated over time. Using Syn IDs as references to different metadata manifests is not compatible with a single manifest that gets updated.
One potential solution is to use the '_id' primary key (integrated into all data models) to reference specific rows in separate manifests. This is something that we do in some contexts already, but I think it would be good to formalize the strategy and ensure we think about generalized implementations. This could be integrated into 1) resource-focused metadata templates or 2) we could define study or experimental models that help define all the connections. A high-level "study config" could also help centralize information about experiments that applies to multiple processing levels (similar, in principle, to the DatasetView manifest)

Relevant to #71

Addressed in Lucid charts as part of #54 and integrated into PR #107

Expect this work to be within the scope of work for #115


[Fix Issue #15712] Add example of how to use grid system within a modal

[Fix Issue #15712] Add example of how to use grid system within a modal

Sorry about the other pull request. For whatever reason my forked master branch seems to have something left over from 2.3.2. Until all of my open PR's are merged or closed, I'm not sure how to fix that so I do have to initiate the branch from Github's page.

I can certainly add that, would you like it to show a static modal similar to http://getbootstrap.com/javascript/#modals-examples or is just the code OK?
I plan on adding a few rows of code from the grid offsetting section here which should show a more complete view of what is meant.
Thoughts?

There should probably be a live non-static example.

Hey @cvrebert that's been added, you may want to look at the tests for dc224d2 though, it failed for no reason related to my code but rather due to an issue with the box. Specifically it fails because it failed to install everything it needed to run it's tests.
Excerpt:
> grunt test
Loading "concat.js" tasks...ERROR
>> Error: Cannot find module 'strip-ansi'
...
Running "cssmin:minifyCore" (cssmin) task
Running "cssmin:minifyTheme" (cssmin) task
Warning: Task "concat" not found. Use --force to continue.
Aborted due to warnings.

FYI, you don't need to make a dummy commit in the future. The Core Team can force Travis to retry pull request builds.

Ah ok, I wasn't sure. Sorry about that.

Just wanted to follow up on this and see if anything was missing. I can rebase it if that's preferred also

Rebased this down to a single commit. Wanted to follow up about this and just check if anything else was necessary. Thanks for your time guys :+1:

It feels unnecessary to add, but I get it.
Perhaps, in addition to this, we clarify our grid docs (probably in v4) to reiterate the use of fluid containers and what not.

Anything I can do to help you with that?

Can someone please tell why when using the grid inside a modal it's mentioned to place it inside a .container-fluid? Shouldn't it work without it or are there some issues without it?

@julzmon The container provides necessary padding on the edges of rows to account for the negative margin/padding of grid columns.


integration testing (kademlia+retrieval+pushsync)

kademlia connectivity test

[x] verify that we don't have full connectivity
[x] verify healthy kademlia:

[x] check depth from debug api

[x] if depth == 0 - don't do any further checks (not healthy)

[x] verify at least 2 peers in each bin which is shallower than depth

[x] verify connected to all peers where po >= depth

retrieval test:

[x] bootstrap test in a way that 1 chunk is put on 1 node (or alternatively random set of unique chunks on each node)
[x] check that node is reachable and chunks are retrievable from all other nodes

push sync test:

[x] upload a chunk to each node
[x] verify that the chunk reaches the closest peer using debug api

https://github.com/ethersphere/beekeeper/pull/7

Hi @svetomir, related to https://github.com/ethersphere/bee/issues/220, could you update the check so that the point verify at least 2 peers in each bin which is shallower than depth is changed to verify at least 1 peer in each bin which is shallower than depth. Depth calculation is based on empty bins.


Avoid breaking native input placeholder

The ::-webkit-input-placeholder selector in input.less applies to all <input> elements with a placeholder.  The position: absolute !important; makes it so the placeholder isn't removed when the user enters text in the input element.
This may not be the correct fix, but the ::-webkit-input-placeholder selector is too broad, and without a change to input.less, anybody who imports components.less will have broken native <input> elements in their applications.

test this please

Thanks @tschaub


feat: support 'pull_request_target' trigger

pull_request_target trigger is needed to use emerge-upload-action in PRs from forked repositories.
Standard pull_request trigger does not allow access to secrets (EMERGE_API_TOKEN) when PR's head points to forked repo.
I tested this improvement on my repositories and got this output:
##[debug]requestBody: {"filename":"artifact.zip","prNumber":184,"branch":"test-gh-action","sha":"478e84922bf5f03047323d853ba006c13a39d5ea","baseSha":"2b993f7ec6e88206c682a4040fde6cecb684f64d","repoName":"rakutentech/ios-inappmessaging"}

Docs: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target

I'll create a new release once you merge @imaginaris !

@rbro112 Thanks!
But I don't have a merge option unfortunately 😞


Updated API syntax for MCMCPosterior.net?

Hello,
I am trying to learn to use your sbi package, and I am following a tutorial that has some outdated API: https://astroautomata.com/blog/simulation-based-inference/
In particular, in In[28] of the tutorial, it uses "posterior.net" which raises the following error:
"AttributeError: 'MCMCPosterior' object has no attribute 'net'"
What did MCMCPosterior.net get renamed to? Or is there an updated method I should use instead for calculating the log probability across a grid?
Thank you!
Lindsey

Hi! In case you are referring to in the tutorial is for SNLE or SNRE. In these cases, the posterior.net was a likelihood(-ratio) estimator. Thus, the line that you are referring to computes log_likelihood(theta) + log_prior(theta). In the new sbi syntax, you can compute this quantity with
posterior.potential(theta)

If you want to follow the syntax from the tutorial, you have to use the flexible interface and do the following:
inference = SNLE(prior)
likelihood_estimator = inference.append_simulations(theta, x).train()
-> `likelihood_estimator` is the `posterior.net`

Hope that helps!
Michael

Aside: there are a few minor mistakes and inaccuracies in the tutorial you linked (e.g. the description of the methods in the Methods available section is quite wrong), so I suggest you stick to the tutorial on the official website.

Thanks so much, this fixed my problem! I'll go through the tutorials on the official website as well, thanks!


how to adapt it to work with multiple arguments?

I'm creating a script that's supposed to manage a few files in the system. list them, create them, delete them.
I followed your bash completion guide but it does not mention working with arguments.
example: one of the commands of my script would be script remove <name>. name would be a file in a directory.
but other arguments would use the same completion, like script disable <name> and script enable <name>
how could I make it so that it works with multiple arguments?
thank you.

@NinoM4ster You can perform completion of the command name if "${#COMP_WORDS[@]}" == "2" and perform completion of its argument if "${#COMP_WORDS[@]}" == "3". Also, you should confirm that the command given was one of the three you mentioned (remove, disable, or enable) when you are checking for the argument.
If you want more general (command dependent) completion, then you can use shift to gobble the first argument, and defer the completion to respective command, i.e., you would create separate function to handle completion for remove, disable, etc.

@NinoM4ster Also a similar issue to your was solved here https://github.com/iridakos/goto/blob/master/goto.sh by the author of this tutorial.


Alert popup display continuously when turn on chain in earning pool

Describe the bug
Alert popup display continuously when turn on chain in earning pool
To reproduce the bug
Device test: IP 6s
Actual: Show alert pop-up continuously when turn on chain get fail in Earning Pool List and Earning Group List
https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/15f0dda2-a9ed-46cb-b244-2d6af46bcfeb

Follow-up on IP 6s

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-311-1441-merge-2024-02-03T09-31-05.apk
Device test: MI 8 Lite
Validation passed.


[FEATURE]Add node_id,latest_run_timestamp in workflow and monitor metadata.

Helps with better tracking of monitors and workflows executions and tracing the executions

sorry for newbie question but what is "node_id" in this context?


mFAST to decode SBE Fix Bin on CME data

Hello,
I'm wondering if it's possible to decode CME market data with mFAST. On CME they use Simple Binary Encoded messages over FIX Binary (template: ftp://ftp.cmegroup.com/SBEFix/Cert/Templates/templates_FixBinary.xml)?

https://github.com/real-logic/simple-binary-encoding your friend

Thanks!


Test data downloading

Hello.
I noticed that they had a manual step where they used data from the Our World in Data grapher to get data from tests performed.
I made a little routine that uses the test data from the OWID github repository to generate a csv with the same format from the original source.
I have been able to test the routine, but not the complete project.
I hope it will be you useful.
Regards
David

This part of the code is meant to replicate the figures in the paper. Currently we are not updating test data as it is not needed to compute Rt.
Thanks for the suggestion anyways.


[FT-Deploy] Setup Backend API (continuous) deployment

Is your feature request related to a problem? Please describe.

To ensure faster code release to production environment, we will adopt continuous deployment strategy

Describe the solution you'd like

Setup continuous deployment from GitHub to Vercel infrastructure

Describe alternatives you've considered

N/A

Additional context

N/A

This has been resolved


Logging.py utf8 error

Logging.py is giving a UTF8 error because of the bitcoin character. This can be resolved by adding ", encoding='utf-8'" to line 156, like below.
    # Log to file and rotate if needed
    file_handle = TimedRotatingFileHandler(
        filename=f"{self.datadir}/logs/{self.program}.log", backupCount=logstokeep, encoding='utf-8'
    )
    file_handle.setFormatter(formatter)
    self.my_logger.addHandler(file_handle)

Thanks @bramjekel, will add patches soon!

Added, maybe you can have a check? Thanks!

If still not ok, please (re)open


yed2kingly not working

I've installed yed2kingly with npm, run the command
node ${path to yed2kingly in node_modules}/index.js ${path to my graphml file}

But nothing happens, no error output of any kind.
Also in the Readme for yed2kingly it says you are supposed to run it with the 'mode' command, but I assumed this was a typo and you meant 'node'?
Thanks!
Just getting started with Kingly, if it does what I think it does its awesome and will surely become very popular!

Update: After looking at the source code I've modified the command to
node ${path to node_modules/yed2kingly/bin/yed2kingly} ${path to my graphml file}

However now I'm getting 'Error: Cannot find module './yedEdgeLabelGrammar.js'
I will keep looking through the source code to see if I can figure out what I'm doing wrong... but even if I end up figuring it out I would recommend updating the README so that others don't have the same issues as I do.

Update: As the error above suggested, it appears the yedEdgeLabelGrammer.js file is missing from the package...

Going to have a look today. Sorry for the inconvenience and thank you for reporting.


Fix swagger docs for /repos/issues

As title, add missing enum types to swagger for /repos/issues API

ping lgtm

:rocket:


Split off generic part of generated JSON Schema

Just include-ref that part

Generation of JSON Schema has been deprioritized quite a bit, so closing this one for now.


update a tag to 1.3.5

hi, would you please update the tags to the latest version so that we can add your lib to https://cdnjs.com with git auto-update.
thank you very much!
https://github.com/cdnjs/cdnjs/issues/6707

I honestly can't remember how to. I have to look up how to update the tags.

ok, take your time, please close this issue when you done it, thank you!

duplicate with https://github.com/mouse0270/bootstrap-notify/issues/127


Add attrs namespace

Summary
ROCK’N’ROLL
Fixes #487, fixes #705,
I don't think it's practical to already update all the docs to the new namespace. Especially since it's provisional for now.
Pull Request Check List

[x] Added tests for changed code.
[x] New features have been added to our Hypothesis testing strategy.
[x] Changes or additions to public APIs are reflected in our type stubs (files ending in .pyi).

[x] ...and used in the stub test file tests/typing_example.py.

[x] Updated documentation for changed code.

[x] New functions/classes have to be added to docs/api.rst by hand.
[x] Changes to the signature of @attr.s() have to be added by hand too.
[x] Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives.  Find the appropriate next version in our __init__.py file.

[x] Documentation in .rst files is written using semantic newlines.
[x] Changes (and possible deprecations) have news fragments in changelog.d.

If attrs is the future, shouldn't we move all the code over there and import it in attr?

If attrs is the future, shouldn't we move all the code over there and import it in attr?

Technically yes, but that would be a breaking change whose blast radius I can't fathom.
This way, even MyPy keeps working out of the box.

>>> from attrs.converters import optional
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'attrs.converters'

ugh crap, I guess we have to mirror all packages into the new namespace?

fe3c53e is ugly but should do the job?

fe3c53e is ugly but should do the job?

fwiw, mypy is generally (and rightfully) not happy about * imports

I played with reveal_type and it seems to work? Did they improve or am I missing something?

ah ok, i think the separate .pyi file makes it work in this case.
in general, i don't think it works well with (modern) embedded annotations directly in the source code.

I'm open to suggestions for improvement, but one more repetition would mean one more place we could forget about. :-/

Do you need the pyi file or would mypy pick up the types from the py file?

We need overloads, so I'm reasonably sure we need pyi files?

imho, as a mostly bystander and casual contributor (aka ignore me), doing these things at the same time would be perfect timing: 🙃

introducing new package name attrs
becoming py37+ only (only supported pythons from next week)

…but i suspect you may hold different opinions on that, based on py2 notes in the docs

While that would solve other pain points, overloads are AFAIK something that you need stub files for still. :)

We need overloads, so I'm reasonably sure we need pyi files?

overloads work fine in source code, see e.g.
https://github.com/wbolster/jsonlines/blob/master/jsonlines/jsonlines.py

Yeah. We could definitely move the stubs into the py files.  Though attrs has quite a bit of "fake" types that we wouldn't want mypy checking.  It could be an interesting project.

Is the expectation that import attr is frozen and will not be receiving any new features that import attrs might be?  Or is anything available in attrs gonna be available in attr?

Though attrs has quite a bit of "fake" types that we wouldn't want mypy checking.

@typing.type_check_only may help here: docs

This all sounds very promising, but this diff is already way too big. Can I somehow convince y'all to help me with inline types for the next release?
attrs 2.7 downloads seem to be down to 2.22% so I might change my mind soon-ish:

category
percent
downloads

3.7
40.10%
19,465,561

3.8
21.25%
10,315,653

3.6
12.75%
6,189,331

null
10.43%
5,063,048

3.9
9.15%
4,442,703

2.7
2.22%
1,079,185

3.10
2.06%
998,378

3.5
2.01%
974,174

3.4
0.03%
13,247

3.11
0.01%
3,357

2.6
0.00%
8

3.3
0.00%
6

3.2
0.00%
4

Total

48,544,655

Date range: 2021-12-01 - 2021-12-20

I'm going to follow attrs lead in cattrs (big surprise), and have a PR ready. What do I say in the changelog though? Are we recommending new code to import from attrs/cattrs instead? Do we ever plan on removing attr/cattr?

Well, you can see what I've said in https://github.com/python-attrs/attrs/pull/887/files#diff-826ab996c410e75f5930990d312d073db10300312fc9fabe2f01fb327a007bde
I'm leaving it provisional for one release, but I think changing the docs to primarily use the new APIs is a strong indicator. ;)
Since we had almost 90 million downloads per month with attr in Place, I don't remove it, ever. I think I'll eventually switch the import direction but that's it. 🤔

I don't think I can make anyone review a +830/-368 PR so here we go and let's hope for the best. Merry Xmas to me. 🤪


How to use Product Attributes on Order-Email

Is there any documentation or hint on how to include a product attribute (text) to the confirmation Email sent out?
Or send out a separate Email containing the attribute for each order?
To get something like this:
http://www.concrete5.org/marketplace/addons/ecommerce-special-instructions/
Thanks for hints!

In the both the new_order_notification and order_receipt emails you'll see it loop through the items returned from $order->getOrderItems(), that's the items in the order.
For each item in the order you can call $product = $item->getProductObject(), which returns a product object.
Then to fetch an attribute you should be able to just go $product->getAttribute('yourhandle') to fetch the attribute value, the same as you would if it was a page with attributes.
The emails can be easily overridden by copying them into /application/mail and editing them there.
If you are wanting to send up separate emails, you'll need to create a new package that responds to the community store events, probable the on_community_store_payment_complete event.
There is a package within the community store github organisation that shows how to respond to events - https://github.com/concrete5-community-store/community_store_event_example

I don't seem to get it running... that's what I put inside:
`getOrderItems();
        if ($pAttribs) {
            foreach ($pAttribs as $pAttrib) {
                ?>
getProductObject(); ?>
            <?php echo $productAttribute->getAttribute('infotext');

        }
    }
    ?>`

Am I messing up syntax somewhere?

Ok, here is the code that works:
getOrderItems();
    foreach($orderItems as $item){
        $pObj = $item->getProductObject();
        if(is_object($pObj)){
		echo $pObj->getAttribute('attribute_name');
            }
        } ?>

Ok, here is the code that did the job:
<?php $orderItems = $order->getOrderItems();     foreach($orderItems as $item){         $pObj = $item->getProductObject();         if(is_object($pObj)){ 		echo $pObj->getAttribute('product_info');             }         } ?>


Remove version: foxglove.studio version 1.39.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/foxglove/studio/releases/download/v1.39.0/foxglove-studio-1.39.0-win-arm64.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 720)


Warn on invalid # noqa rule codes

Summary
Today, we already warn if you do # ruff: noqa: F401F841... But not inline (e.g., import os  # noqa: F401F841).
This PR extends the warnings to the latter case.
It's not "breaking", but I'd suggest we ship it in a minor.

There's now a ruff-0.6 feature branch into which you can merge this change.

@charliermarsh do you plan on merging this for the 0.6 release?

@MichaReiser - No, I should address Dhruv’s concern first but don’t have time immediately.


Refactor Channel/Sender/Receiver poll methods

(Was "Expose poll_ready_to_{send,receive} in Sender/Receiver")
These are useful methods when manually writing Futures.
@lulf suggested on Matrix to also expose try_{recv,send}_with_context in Receiver and Sender, but those are private in Channel.

it would be better to return the Poll type than a bool IMHO

Agreed, I had to dive in the code to look what true and false meant here. Poll<()> would be better. Is that something we refactor in this PR?

the convention is frob, try_frob, poll_frob:
async fn frob(&mut self, arg: u32) {..}
fn try_frob(&mut self, arg: u32) -> Result<(), TryFrobError> {..}
fn poll_frob(&mut self, cx: &mut Context, arg: u32) -> Poll<()> {..}

where poll_frob will actually do the frobbing if ready.
Unless we have a good reason, these are the ones we should expose.

Makes sense to have poll_frob do the frobbing. That way you prevent a misuse of the API in the event some conditions changed between poll() and try().

If I interpret your frobbing correctly, this would require a refactoring to poll_recv(..) -> Poll<()>?

yes!

In case of send, there's a slight problem:
fn poll_send(&mut self, cx: &mut Context, message: T) -> Poll<()> {}

You move the message into the poll_send method, but the method may fail and have to move the message back. A poll_send method might not make sense in this context.

recv is still mentioned in DynamicReceiver, and in DynamicRecvFuture, and in some links in doc comments. Could you change these?
I'd outright do the rename, without adding deprecated aliases. It's less work removing the m later, and next embassy-sync is probably going to be 0.3 anyway.

Done, I think! :-) rg recv embassy-sync comes up empty now.


Fix processing_type_facility_type_unmatched

Overview
The warning we set up in the processing_type_facility_type_unmatched
report to let us know about certain invalid values
in the system was triggering all the time, and not just when it should
be, due to an indentation issue.
Connects https://rollbar.com/OpenApparelRegistry/OpenApparelRegistry/items/1576/?item_page=0&#similar-items
Testing Instructions

On develop, add a debugger or a print statement at the Rollbar error in processing_type_facility_type_unmatched() and ensure you have at least one unmatched processing_type value. Ensure the unmatched value has been added to the system properly.
Open the processing_type_facility_type_unmatched report and see that the error is triggered incorrectly.
Repeat the above steps on this branch and see that the error is not triggered.

Checklist

[x] fixup! commits have been squashed
[ ] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
[x] This PR is targeted at the correct branch (develop vs. ogr/develop)
[x] If this PR applies to both OAR and OGR a companion PR has been created

Thank you for reviewing!
I had almost forgotten the new OGR workflow, but I've added a PR for the OGR branch. I'll hold off on merging this until that is reviewed, per the order of operations in the Readme.


add topic to service management cmdlets

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off


404 on /static/manifest.json

On the current Pulumi playpit deployment at https://container-app31319615.mangomeadow-c4965d06.eastus.azurecontainerapps.io/
The js console seems to be failing to load /static/manifest.json

and checking manually...

I am guessing this is a problem, manifest.json sounds important.

it's just a small file which gets generated by yarn build in the widget and has been forgotten
I've fixed it for local setups (see the PR) but someone should probably do it for the Azure one. Just copy the file.

thanks, PR Merged. @RamParameswaran can you please check this out (and close ticket if OK) on the next deployment

Confirmed that manifest.json is being served.

Closing


M3-1356 - Firefox & MS Edge E2E Fixes

Adds an additional timeout to the restricted users test (waiting for a new user to appear in the table before proceeding with the test)
Removes browser.keys() command in favor of clicking the body (which will dismiss an action menu the same as an escape key would).
Updates MS Edge browserstack capabilities to use the webdriver api compatible "MS Edge Insider" version.

PM me for test results from CI 😄

Coverage remained the same at 26.478% when pulling db55fa03fdf52f9254b92d50cd41a01e79b00d71 on patthiel:M3-1356 into fdbf714de9813b92fd312b92e66b36b981ca4106 on linode:develop.


fix issue #54

Add output rules for printing text to display:

Extension of sw functional : add output rules for printing coords


Added Card Example for products and profile

Added Bootstrap Card example for

E-commerce Products list with Add to cart button.
Users Profile

This example is incomplete and not up to the same standards as the rest of our examples. You're welcome to keep iterating and present your ideas again in the future, but for now, I'm going to close this.

@ruhulmus he tried told you: use placeholders like as <svg class="bd-placeholder-img ..." width="100%" height="..." xmlns="http://www.w3.org/2000/svg" role="img" aria-label="..." preserveAspectRatio="xMidYMid slice" focusable="false"><title>...</title><rect width="100%" height="100%" fill="#..."></rect></svg> instead img tags


An exception have been made named : Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'

Report

[ ] I have searched existing issues and this is not a duplicate

Issues and Steps to Reproduce
Replaces this with steps to repro your issue.
Expected Behavior
Describe what you expected would happen.
Actual Behavior
Describe what actually happened.
Link to Code
If you have some code that maintainers can clone/test for themselves, bugs can be resolved much faster. Please paste a link here.
The code to result in an exception is here:
   let containerSize = self.view.bounds.size

    let root = self.view!
    root.backgroundColor = .white
    root.configureLayout { (layout) in
        layout.isEnabled = true
        layout.width = YGValue(Float(containerSize.width))
        layout.height = YGValue(Float(containerSize.height - 64))
        layout.alignItems = .center
        layout.justifyContent = .center
    }

    let child1 = UIView()
    child1.backgroundColor = .blue
    child1.configureLayout { (layout) in
        layout.isEnabled = true
        layout.width = YGValue(Float(100))
        layout.height = YGValue(Float(10))
        layout.marginBottom = YGValue(Float(25))
    }
    root.addSubview(child1)

    root.yoga.applyLayout(preservingOrigin: true)

When applicable, use this fiddle to post a web repro.

@bajtyngier Thanks, it fix my issue


The Twitter Developers Page is Blank

Describe the bug
When I go to the Twitter Developers page (https://developer.twitter.com/en/portal/petition/essential/basic-info), it's just blank.

This is possibly related to this current issue from the status page.
Please use our Developer Forums for questions like this, rather than GitHub Issues - this is not directly related to the code in this repository.


🌱 Add E2E test scenarios manipulating object label

Summary
This PR extends the ginkgo E2E test with a scenario that flaps the workload object label matched by the BindingPolicy, checking that the object is removed from and then restored to the WECs.
Related issue(s)
Fixes #

/cc @effi-ofer
/cc @pdettori
/cc @ezrasilvera
@cwiklik

/approve


Getting an error importing bootstrap.bundle.[min].js

Uncaught TypeError: Cannot read property 'fn' of undefined
    at setTransitionEndSupport (bootstrap.bundle.js:115)
    at bootstrap.bundle.js:190
    at bootstrap.bundle.js:192
    at bootstrap.bundle.js:9
    at bootstrap.bundle.js:10
favicon.png Failed to load resource: the server responded with a status of 404 (Not Found)
Navigated to http://localhost:45617/index.html
util.js:68 Uncaught TypeError: Cannot read property 'fn' of undefined
    at util.js:68
    at util.js:10
    at bootstrap.bundle.min.js:6
    at bootstrap.bundle.min.js:6

Are these the latest files?

Please follow this discussion. This repo is broken and I'm truly sorry for that. A rewrite of this package will come in the following days.

It seems that I needed jQuery to solve this one.
My requirements would be this:

for production projects meant for public usage: support CDN with the transformer
for production projects meant for private usage in intranets: make sure all necessary artifacts are in the repo


What Is The Difference Between This And B2C?

The linked sample says it is for AD and not AD B2C.
This information should really be at the top of this article.
However, I don't understand what the difference between what this article is describing and what B2C is.
would
Can you also add a section at the top explaining the difference between the two and why/when you would use one over the other?

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

ID: 326f7173-a654-fda7-2438-6905da3fdbef
Version Independent ID: 7dbc5a10-9d61-26e1-f532-973b4bdfae9a
Content: Build apps that sign in Azure AD users - Microsoft identity platform
Content Source: articles/active-directory/develop/howto-convert-app-to-be-multi-tenant.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@opticyclic Thank you for your feedback. We will have this reviewed and update you on the same.

@opticyclic While I understand that the article directly does not talk about B2C because its more about understanding how to build application on the Azure Active directory platform, we already have a completely different documentation for B2C . The first page about Microsoft identity platform documentation does provide the links to B2C documentation.

B2C is a Identity system based on Azure AD designed for use case when you are providing any SaaS service directly to the consumers. while Azure AD is an Identity solution which you would use for users in your own company. Azure AD is a way to manage internal oragnisational identities while Azure AD B2C is a way to provide access to external identities .
The B2C samples are listed on this page and they link to github. You can also check out the Azure AD B2C community organization page on GitHub for more samples. Hope this helps. We will now close this issue. If you still have any further queries , please do let us know and we will be happy to help .
Thank you.


removed unneccessary files

removed .gitignore's files
reference issue #12

will this also remove the files in my end?

yeah merging this would remove files on your end too.

is there a way to not do that?

yeah don't merge the PR :smiley:

But I don't want the project files to exist in the repo.

well you should not have pushed these files on Github in the first place. Even if you did that you should delete these since it is not required for VCS. Deleting these files would not affect your project

Merged, thanks.

you're welcome. My pleasure


Add support for azure.cosmos.database.v0 resource type

This PR in the Aspire repo is adding a new resource type for Aspire called azure.cosmosdb.database.v0.
We need this for Cosmos because the access token that the client code gets in an Aspire application is not scoped for database creation. You need to get a service management token to do that and use the Azure.ResourceManager APIs to create the database. For other resource types such as SQL Server and Postgres we are going to be creating the database instances as well so this just aligns the capabilities.

@vhvb1989 we just merged database resource types in the Aspire manifest. It would be great if we can get it in azd now so we can try and get a seamless end to end.

Addressed part of #3213


Error : no kernel image is available for execution on the device

I try to run the demo in in Google Colab but always get this error in the "Compute Flow" step.
How can I fix this?
The full log is:

Sampled 522 frame pairs.
Resizing flow to (224, 384)
Loading pretrained model from 'checkpoints/flownet2.pth'.
error in correlation_forward_cuda_kernel: no kernel image is available for execution on the device
Traceback (most recent call last):
File "main.py", line 13, in
dp.process(params)
File "/content/consistent_depth/process.py", line 117, in process
return self.pipeline(params)
File "/content/consistent_depth/process.py", line 71, in pipeline
self.flow.compute_flow(frame_pairs, params.flow_checkpoint)
File "/content/consistent_depth/flow.py", line 143, in compute_flow
optical_flow_flownet2_homography.process(args)
File "/content/consistent_depth/optical_flow_flownet2_homography.py", line 258, in process
flow = infer(args, Flownet, device, im1, im2)
File "/content/consistent_depth/optical_flow_flownet2_homography.py", line 199, in infer
flow = Flownet(inputs)[0].permute(1, 2, 0).data.cpu().numpy()
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/consistent_depth/third_party/flownet2/models.py", line 124, in forward
flownetc_flow2 = self.flownetc(x)[0]
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/consistent_depth/third_party/flownet2/networks/FlowNetC.py", line 86, in forward
out_corr = self.corr(out_conv3a, out_conv3b) # False
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/consistent_depth/third_party/flownet2/networks/correlation_package/correlation.py", line 67, in forward
result = CorrelationFunction(self.pad_size, self.kernel_size, self.max_displacement,self.stride1, self.stride2, self.corr_multiply)(input1, input2)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/consistent_depth/third_party/flownet2/networks/correlation_package/correlation.py", line 35, in forward
self.pad_size, self.kernel_size, self.max_displacement,self.stride1, self.stride2, self.corr_multiply)
RuntimeError: CUDA call failed (correlation_forward_cuda at correlation_cuda.cc:82)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7f3908df5193 in /usr/local/lib/python3.7/dist-packages/torch/lib/libc10.so)
frame #1: correlation_forward_cuda(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, int, int, int, int, int, int) + 0x628 (0x7f38e9a77b78 in /root/.local/lib/python3.7/site-packages/correlation_cuda-0.0.0-py3.7-linux-x86_64.egg/correlation_cuda.cpython-37m-x86_64-linux-gnu.so)
frame #2:  + 0x1bd9a (0x7f38e9a87d9a in /root/.local/lib/python3.7/site-packages/correlation_cuda-0.0.0-py3.7-linux-x86_64.egg/correlation_cuda.cpython-37m-x86_64-linux-gnu.so)
frame #3:  + 0x188e0 (0x7f38e9a848e0 in /root/.local/lib/python3.7/site-packages/correlation_cuda-0.0.0-py3.7-linux-x86_64.egg/correlation_cuda.cpython-37m-x86_64-linux-gnu.so)

frame #57: __libc_start_main + 0xe7 (0x7f3962ad6bf7 in /lib/x86_64-linux-gnu/libc.so.6)

hi @udomoody, have you solved this problem? Thank you.


Add Karma test suite for pui

This PR allows us to test our component code in PUI instead of doing it in
npm-website, which is super sloppy feeling
Problematic feelings:

We're using browserify for a devDependency here. This isn't something we worry about currently.

Nothign feels problematic about that. I like this! Can we get the tests auto-running in travis along with?


examples: zephyr: lightdb/get: configure PSK credentials in main()

This is just for testing authentication by tag.

@mniestroj Are we good to close this in favor of #434 ?

@mniestroj Are we good to close this in favor of #434 ?

Yes, that is fine with me!


Advanced Data Options graphics issue with dark theme

System Information (please complete the following information):

Model Builder Version: <IP_ADDRESS>5505
Visual Studio Version: 16.10.0 Preview 1

Describe the bug

On which step of the process did you run into an issue: Data
Clear description of the problem: The Data -> Advanced Data Options window does not display correctly when the Visual Studio color theme is set to Dark.

To Reproduce
Steps to reproduce the behavior:

Set Visual Studio theme to Dark
Choose e.g. Value prediction scenario
Go to the Data step
Click on Advanced Data Options
See screenshot

Expected behavior
All elements of the window should be visible and distinguishable.
Screenshots

Additional context
N/A

Hi @HaileyStorm
Thanks for filing this bug. We already fix that which should be released soon.
Regards

dup of #1264


Now Playing  cann't be pressed down

Device name:sony xperia 1IV
Rom name:  offical
Android version:13
Pixelify version: 2.2

Bug Description:

Now Playing  cann't be pressed down  in the system setting


[extractor/rai] fix #9154 and #887

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Fixes #9154 and #887
implemented a new method to fix the malformed m3u8 manifest used by the website and set properly audio-only or video-only streams and avoid download failures
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)

@bann0 @albino1 can you guys give it a test?

the merge commit seems to have reverted 2dec11baa05923af8c8dafc60b9974ed13fc2e48

rai-2024-fix-2 successfully passed all my tests; returning mp4(best), if exist, otherwise m3u8(bv+ba).
Thanks @nixxo

Looks good, thanks @nixxo!


invalid_client error returned while trying to sign in with web UI

Describe the bug
When trying to sign using web UI in Swift:
try await Amplify.Auth.signInWithWebUI(for: provider, presentationAnchor: window)
I always get an {"error":"invalid_client"} from Amplify SDK.
Seems like my amplify config json is just fine because this configuration currently works on Android and on iOS I'm able to open web UI, sign in with Apple or Google and go back to the app (web view closes). Then, an error mentioned above occurs on iOS. Email/Password login also works fine - "invalid_client" happens only with web UI.
I've spent some time investigating this issue and pinned a proxy to verify the requests. It seems that SDK does not add any Authorization header to the POST oauth2/token request so there is a 400 (Bad Request) in the response.
Steps To Reproduce
Steps to reproduce the behavior:
1. Use `signInWithWebUI` and set provider to Apple or Google.
2. Web view opens.
3. Authenticate with selected provider in web view.
4. Web view closes.
5. SDK returns 400 invalid_client error.

Expected behavior
I want to sign in successfully with web UI using Apple or Google providers. In other words, it's necessary to get a success response from oauth2/token endpoint triggered by the SDK.
Amplify Framework Version
2.3.2
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5
CLI version
aws-amplify-cli/2.0
Xcode version
14.2
Relevant log output
<details>
<summary>Log Messages</summary>

INSERT LOG MESSAGES HERE

```
Is this a regression?
No
Regression additional context
No response
Device
iPhone 14
iOS Version
iOS 16
Specific to simulators
No response
Additional context
No response

Hi @marcinax , thanks for opening this issue.
invalid_client usually means some sort of client authentication failure. In the past, we've seen it happening when there is a mismatch in what's defined in the configuration file and what's present in the Cognito User Pools console, for example:

An "AppClientSecret" key present in the configuration file with no client secret is defined for that app client in the console.
The "Scopes" listed under "OAuth" contains scopes are not enabled for that app client in the console.

Could you please validate that those values match and try again?
If all looks good or that does not fix your issue, would you mind sharing your configuration file with all sensitive information removed? That could help us investigate further.
Thanks!

Thank you for the answer @ruisebas,
We made sure that configuration is ok. To prove that I've switched back to 1.29.0 (last version before v2) and sign in with Apple and Google worked as expected.
Then, switched again to 2.4.1 and problem still occurs. Tried also with the newest (2.5.0) - still doesn't work as expected. Also, with 2.5.0 I can successfully login with email/password but the problem is with web UI methods.
Can you make sure that there is no issue/error in the SDK v2+?

Thanks for your answer, we will attempt to reproduce this issue locally and provide any updates in here.
In the meantime and to help us debug further, would you be able to share the verbose logs you get when this issue happens for you?
You can enable verbose logging with
Amplify.Logging.logLevel = .verbose

Be sure to remove any sensitive information before posting them.
Thanks!

Attaching logs:
2023-03-10 08:10:26.119469+0100 AppName[47849:14227233] [AWSAuthWebUISignInTask] Starting execution
2023-03-10 08:10:26.119551+0100 AppName[47849:14227233] [AWSAuthTaskHelper] Check if authstate configured
2023-03-10 08:10:26.119705+0100 AppName[47849:14227233] [AWSAuthTaskHelper] Auth state configured
2023-03-10 08:10:26.122378+0100 AppName[47849:14227233] [HostedUISignInHelper] Wait for a valid state
2023-03-10 08:10:26.122463+0100 AppName[47849:14227233] [HostedUISignInHelper] Start signIn flow
2023-03-10 08:10:26.122811+0100 AppName[47849:14227233] [HostedUISignInHelper] Wait for signIn to complete
2023-03-10 08:10:26.122889+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] Auth state change:

{
    "AuthState.configured" =     {
        "AuthenticationState.signingIn" =         {
            "SignInState.notStarted" =             {
            };
        };
        "AuthorizationState.configured" =         {
        };
    };
}
2023-03-10 08:10:26.123350+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/IntializeSignInFlow.swift Starting execution
2023-03-10 08:10:26.123404+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/IntializeSignInFlow.swift Sending event SignInEvent.initiateHostedUISignIn
2023-03-10 08:10:26.127010+0100 AppName[47849:14227233] [UserPoolSignInHelper] Checking next step for: notStarted
2023-03-10 08:10:26.127190+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/InitializeHostedUISignIn.swift Starting execution
2023-03-10 08:10:26.127193+0100 AppName[47849:14227233] [AWSCognitoAuthPlugin] Auth state change:

{
    "AuthState.configured" =     {
        "AuthenticationState.signingIn" =         {
            "SignInState.signingInWithHostedUI" =             {
                "HostedUISignInState.notStarted" =                 {
                };
            };
        };
        "AuthorizationState.configured" =         {
        };
    };
}
2023-03-10 08:10:26.128200+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] Credential Store state change:

loadingStoredCredentials
2023-03-10 08:10:26.128258+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/LoadCredentialStore.swift Starting execution
2023-03-10 08:10:26.129430+0100 AppName[47849:14227225] [UserPoolSignInHelper] Checking next step for: signingInWithHostedUI(AWSCognitoAuthPlugin.HostedUISignInState.notStarted)
2023-03-10 08:10:26.130357+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/LoadCredentialStore.swift Retreiving credential deviceMetadata(username: "unknown")
2023-03-10 08:10:26.148758+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/LoadCredentialStore.swift Sending event CredentialStoreEvent.throwError
2023-03-10 08:10:26.148893+0100 AppName[47849:14227225] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/IdleCredentialStore.swift Starting execution
2023-03-10 08:10:26.148915+0100 AppName[47849:14227225] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/IdleCredentialStore.swift Sending event CredentialStoreEvent.moveToIdleState
2023-03-10 08:10:26.148948+0100 AppName[47849:14227233] [AWSCognitoAuthPlugin] Credential Store state change:

error(KeychainStoreError: Unable to find the keychain item
Recovery suggestion: This should not happen. There is a possibility that there is a bug if this error persists. Please take a look at https://github.com/aws-amplify/amplify-ios/issues to see if there are any existing issues that match your scenario, and file an issue with the details of the bug if there isn't. Issue encountered at:
file: /Users/username/Library/Developer/Xcode/DerivedData/AppName-alpbkvcwukblukfnyozemhopxmnh/SourcePackages/checkouts/amplify-ios/AmplifyPlugins/Core/AWSPluginsCore/Keychain/KeychainStoreError.swift
function: recoverySuggestion
line: 69)
2023-03-10 08:10:26.148994+0100 AppName[47849:14227233] [AWSCognitoAuthPlugin] Credential Store state change:

idle
2023-03-10 08:10:26.149011+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/LoadCredentialStore.swift Starting execution
2023-03-10 08:10:26.149016+0100 AppName[47849:14227233] [AWSCognitoAuthPlugin] Credential Store state change:

loadingStoredCredentials
2023-03-10 08:10:26.149092+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/LoadCredentialStore.swift Retreiving credential asfDeviceId(username: "unknown")
2023-03-10 08:10:26.153166+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/LoadCredentialStore.swift Sending event CredentialStoreEvent.completedOperation
2023-03-10 08:10:26.153255+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/IdleCredentialStore.swift Starting execution
2023-03-10 08:10:26.153271+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/IdleCredentialStore.swift Sending event CredentialStoreEvent.moveToIdleState
2023-03-10 08:10:26.155505+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] Credential Store state change:

success(AWSCognitoAuthPlugin.CredentialStoreData.asfDeviceId("{HIDDEN DATA}", "unknown"))
2023-03-10 08:10:26.155544+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] Credential Store state change:

idle
2023-03-10 08:10:26.156136+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/InitializeHostedUISignIn.swift Sending event HostedUIEvent.showHostedUI
2023-03-10 08:10:26.156298+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/ShowHostedUISignIn.swift Starting execution
2023-03-10 08:10:26.156335+0100 AppName[47849:14227230] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/ShowHostedUISignIn.swift Showing url https://AppName-dev.auth.us-east-1.amazoncognito.com/oauth2/authorize?response_type=code&code_challenge_method=S256&client_id={HIDDEN DATA}&state={HIDDEN DATA}&redirect_uri=AppName://&scope=aws.cognito.signin.user.admin%20email%20openid%20phone%20profile&code_challenge={HIDDEN DATA}&userContextData={HIDDEN DATA}
08:10:26.156354+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] Auth state change:

{
    "AuthState.configured" =     {
        "AuthenticationState.signingIn" =         {
            "SignInState.signingInWithHostedUI" =             {
                "HostedUISignInState.showingUI" =                 {
                };
            };
        };
        "AuthorizationState.configured" =         {
        };
    };
}
{HIDDEN DATA}%3D&identity_provider=SignInWithApple
2023-03-10 08:10:26.160920+0100 AppName[47849:14227233] [UserPoolSignInHelper] Checking next step for: signingInWithHostedUI(AWSCognitoAuthPlugin.HostedUISignInState.showingUI(AWSCognitoAuthPlugin.HostedUISigningInState(signInURL: https://AppName-dev.auth.us-east-1.amazoncognito.com/oauth2/authorize?response_type=code&code_challenge_method=S256&client_id={HIDDEN DATA}&state={HIDDEN DATA}9&redirect_uri=AppName://&scope=aws.cognito.signin.user.admin%20email%20openid%20phone%20profile&code_challenge={HIDDEN DATA}&userContextData={HIDDEN DATA}%3D&identity_provider=SignInWithApple, state: "{HIDDEN DATA}", codeChallenge: "{HIDDEN DATA}", presentationAnchor: Optional(<UIWindow: 0x106e18680; frame = (0 0; 393 852); gestureRecognizers = <NSArray: 0x282a1b180>; layer = <UIWindowLayer: 0x282a1b000>>), options: AWSCognitoAuthPlugin.HostedUIOptions(scopes: ["aws.cognito.signin.user.admin", "email", "openid", "phone", "profile"], providerInfo: AWSCognitoAuthPlugin.HostedUIProviderInfo(authProvider: Optional(Amplify.AuthProvider.apple), idpIdentifier: nil), presentationAnchor: Optional(<UIWindow: 0x106e18680; frame = (0 0; 393 852); gestureRecognizers = <NSArray: 0x282a1b180>; layer = <UIWindowLayer: 0x282a1b000>>), preferPrivateSession: false))))
2023-03-10 08:10:50.162460+0100 AppName[47849:14227532] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/ShowHostedUISignIn.swift Sending event HostedUIEvent.fetchToken
2023-03-10 08:10:50.169081+0100 AppName[47849:14227532] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/FetchHostedUISignInToken.swift Starting execution
2023-03-10 08:10:50.169275+0100 AppName[47849:14227225] [AWSCognitoAuthPlugin] Auth state change:

{
    "AuthState.configured" =     {
        "AuthenticationState.signingIn" =         {
            "SignInState.signingInWithHostedUI" =             {
                "HostedUISignInState.fetchingToken" =                 {
                };
            };
        };
        "AuthorizationState.configured" =         {
        };
    };
}
2023-03-10 08:10:50.173542+0100 AppName[47849:14227391] [UserPoolSignInHelper] Checking next step for: signingInWithHostedUI(AWSCognitoAuthPlugin.HostedUISignInState.fetchingToken)
2023-03-10 08:10:50.857750+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/FetchHostedUISignInToken.swift Sending event HostedUIEvent.throwError
2023-03-10 08:10:50.858267+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/CancelSignIn.swift Starting execution
2023-03-10 08:10:50.866469+0100 AppName[47849:14227391] [AWSCognitoAuthPlugin] AWSCognitoAuthPlugin/CancelSignIn.swift Sending event AuthenticationEvent(id: "774CA84F-ABF9-4126-9112-BB11E3766472", eventType: AWSCognitoAuthPlugin.AuthenticationEvent.EventType.cancelSignIn, time: nil)
2023-03-10 08:10:50.867274+0100 AppName[47849:14227545] [UserPoolSignInHelper] Checking next step for: signingInWithHostedUI(AWSCognitoAuthPlugin.HostedUISignInState.error(AWSCognitoAuthPlugin.SignInError.hostedUI(AWSCognitoAuthPlugin.HostedUIError.serviceMessage("invalid_client "))))
2023-03-10 08:10:50.867391+0100 AppName[47849:14227532] [AWSCognitoAuthPlugin] Auth state change:

{
    "AuthState.configured" =     {
        "AuthenticationState.signingIn" =         {
            "SignInState.signingInWithHostedUI" =             {
                "HostedUISignInState.error" =                 {
                    error = "AWSCognitoAuthPlugin.SignInError.hostedUI(AWSCognitoAuthPlugin.HostedUIError.serviceMessage(\"invalid_client \"))";
                };
            };
        };
        "AuthorizationState.configured" =         {
        };
    };
}
2023-03-10 08:10:50.867584+0100 AppName[47849:14227532] [AWSCognitoAuthPlugin] Auth state change:

{
    "AuthState.configured" =     {
        "AuthenticationState.signedOut" =         {
            lastKnownUserName = "(nil)";
        };
        "AuthorizationState.configured" =         {
        };
    };
}
2023-03-10 08:10:50.869834+0100 AppName[47849:14227545] [HostedUISignInHelper] Sending cancel signIn
2023-03-10 08:10:50.869953+0100 AppName[47849:14227545] [HostedUISignInHelper] Wait for signIn to cancel

I am also experiencing the same issue. Is there any solution to this problem?

@marcinax @aryakrishn thanks for the details.
We've just released Amplify 2.6.0, which includes a fix for this issue.  Please let us know if you're still facing the issue after updating your dependencies.
We apologize for the inconveniences this caused.


Feature Request - DVD mode - Add a sanity or safe check mode that dumps the same sector or block twice for unreported error prevention

Version
20220909T220450
Describe the bug
Sometimes when dumping DVDs, there's a chance of unreported errors. The command line window doesn't report anything from at the time, and there are no instances in the log that mention anything wrong for this sector in two separate dumps.
For this example, I have two dumps of a DVD-R that contains a prototype for an Xbox game. This disc contains an XBOX file system partition with no DVD-Video partition. This is common for many Xbox prototypes and DIC can handle these discs fine. So this isn't an issue. Both dumps were done with different versions of DIC but with the same drive (a Plextor PX-708UF), but the issue might still be occurring. Other discs have been dumped fine with this drive.
In Dump 2, an error occurred at LBA 1789120.
LBA[1789120, 0x1b4cc0]: [F:ReadDVD][L:331]
	Opcode: 0xa8
	ScsiStatus: 0x02 = CHECK_CONDITION
	SenseData Key-Asc-Ascq: 03-11-05 = MEDIUM_ERROR - L-EC UNCORRECTABLE ERROR

In Dump 3, /rr was used to retry sectors that returned an error. LBA 1789120 was dumped correctly this time, but the drive got stuck at LBA 1895680 and couldn't read it at all after 1000 times.
LBA[1895680, 0x1ced00]: [F:ReadDVD][L:331]
	Opcode: 0xa8
	ScsiStatus: 0x02 = CHECK_CONDITION
	SenseData Key-Asc-Ascq: 02-04-01 = NOT_READY - LUN_NOT_READY - BECOMING_READY
Read retry from 1895680 (Pass 1000/1000)

LBA[1895680, 0x1ced00]: [F:ReadDVD][L:331]
	Opcode: 0xa8
	ScsiStatus: 0x02 = CHECK_CONDITION
	SenseData Key-Asc-Ascq: 02-04-01 = NOT_READY - LUN_NOT_READY - BECOMING_READY

However, the issue is that when the two ISOs are compared side by side, there is a difference in the data at an LBA much earlier than any reported sector in the mainError log. See the image below under screenshots, but there is an error at around LBA 833494 in Dump 3 (Dump 2 is correct at this sector since it matches the data in the final retail release). 833494 wasn't reported as having any issue in any log, which is frightening.
Maybe /f needs to be used in instances where /rr is used? This was a bug reported in #117, but might be the same issue here. The problem is this case, however, is that DIC didn't report anything for this affected sector. I don't know if it could be the drive or the usb enclosure itself. But still, regardless, shouldn't DIC report something occurring around the time this sector was being read? I'm not exactly sure what the issue was that made this happen in the first place, and how to prevent it...
Screenshots

Disc title
Dragon's Lair 3D: Return to the Lair
Disc ringcode
Not sure
URL
Prototype, so not obtainable. But this could in theory happen to any (faulty?) disc or drive.
Log file
Xbox.zip

DVD (also XBOX and BD) is dumped using READ12(Opcode: 0xa8). This fetches only user data, thus app can't detect these sectors are correct or not.

That's what I suspect. But shouldn't the drive have thrown an error that something happened when reading that sector? Not that the sector itself has errors in it, but that at the time of reading the sector the drive experienced a reportable issue? In other words, at read time the drive should've sent an alert of something irregular happening when this sector was being read initially.
Although, I wonder if this could be a Plextor DVD specific issue, or some kind of cache issue perhaps? My worry is that there are dumps that have been made with nothing printed in the mainerror log, but there were problems while it was dumping the disc that never got recorded.
Is there a safe way to dump a DVD besides dumping it twice and comparing the iso hash?

The only thing I can think of aside from just dumping the disc twice is - would it be possible to have a "safe" mode where DIC dumps each sector a few times, calculates and compares the hash on the 2048 byte user block, and only takes the result of reading the sector that returns the same hash on the 2048 bytes consecutively 3 or 4 times? No idea if this is doable. If so, it'd probably be slow, but if it works I suppose it is one way to ensure this doesn't happen...

Is there a safe way to dump a DVD besides dumping it twice and comparing the iso hash?
Yes, at this time.

"Raw dumping" exists. http://forum.redump.org/topic/3808/raw-dvd-dumping-discussion/
It's fetches 2064 bytes / sector. Ecc exists in 1st 16 bytes. WII/GC disc is dumped by raw firstly, then unscrambler (https://github.com/saramibreak/unscrambler) unscrambles to 2048 bytes / sector using Ecc.
Theoretically, normal DVD can apply this method and I researched the supported drive in the past (see https://github.com/saramibreak/DiscImageCreator/blob/master/DiscImageCreator/execScsiCmdforDVD.cpp#L719), but it's not established as dumping.

I looked into raw dumping a little bit. It sounds interesting. :) But the reading speed can be an issue as its very slow pretty much no matter what method you use...
I saw that DIC implemented a few types of 0xE7 methods in the source code depending on the drive that you use. Is this similar to the four methods Friidump uses for Wii/GC?
https://github.com/saramibreak/DiscImageCreator/blob/ff8e775dca78eaf94877f152fca53db1da037109/DiscImageCreator/execScsiCmdforDVD.cpp#L504
https://github.com/saramibreak/DiscImageCreator/blob/ff8e775dca78eaf94877f152fca53db1da037109/DiscImageCreator/execScsiCmdforDVD.cpp#L675
https://github.com/bradenmcd/friidump/tree/master/docs
https://github.com/bradenmcd/friidump/blob/master/docs/options#L45
Did you ever look into why rawdump was faster than DIC? Ironically we have plans to decompile and take a look at it more closely to know more, if that helps. I know from looking at a disassembly that it uses the 0xE7 Hitachi memory read command just like everything else does. I just don't know why exactly its so much faster, I think it's even faster than friidump too...

Is this similar to the four methods Friidump uses for Wii/GC?

Similar, but it's not completely same.

why rawdump was faster than DIC?

Yes. I want speed up to dump, but I have no idea about it now...

Bumping this issue and changing it to a feature request.
I think DIC should have an optional flag (like /safe or something, with adjustable levels of safety) that dumps the same sector (or range of sectors) two or more times to ensure that no unreported errors sneak into the dump. This is a very real issue that plagues any DVD dump and I think DIC should have an option that does this.
With the flag enabled, DIC dumps the same sector or a 16 sector block twice and calculates the checksum of each read attempt. If the sums match, the sector should be good. If it doesn't and the drive never reported a SCSI error, then DIC has to keep retrying until it gets two or more successive reads that return the same checksum.
This is a major issue with DVD since everything is masked away by the drive itself. I've seen this happen on any program that dumps DVDs into .iso where there is a chance a byte or two will differ between successive dumps that was never reported by the drive to the user. This could affect any dump made by any drive, and so this is extremely important to prevent.

I recommend raw dumping.

If the sums match, the sector should be good.

No one can guarantee that it is correct. Drive may returns the same hash.

Wouldn't that be preventable if you always clear the drive's cache each time you read a sector? I do know some drives don't actually clear the cache if you read the same sector in succession automatically, but if you issue the command to clear the cache each time I don't see why not?
There are also instances where if a drive reports an error for a specific LBA, sometimes the sector immediately before (not sure if after) the reported LBA can often be corrupt. Like take this for example:

Two separate dumps made from the same disc and with the same drive. DIC filled in the reported LBA with $AA, but the sector before the reported LBA is different and definitely has errors. This sector was never reported by the drive as having an issue. Is there something DIC could do to prevent this?


ol3 overwrites WMS format_options instead of extending them.

I am working on an ol3 application that sends a WMS getMap request with the FORMAT_OPTIONS parameter set. If I run this application on a high-resolution display, the value of FORMAT_OPTIONS is overwritten by FORMAT_OPTIONS=dpi%3A180.

sounds like a legitimate issue I'll have a look at this one

PR attached TIA for any review.

Doesn't this append the dpi string with every call so you'll end up with ,dpi:180,dpi:180,dpi:180...?

good point, will fix

I'm actually unable to get into the situation you describe @ahocevar even after clearing the tile cache, but maybe I'm missing a possible code path here.

You're right @bartvde. I just verified by adding another source.getImage() call to the tests. Thanks for fixing this. Please merge.

LGTM too. Thanks Bart.