[BUG] Favicon not loading on page load

Environment
Self-Hosted (Docker)
System
Dashy running in Docker container behind Nginx
Version
3.1.0
Describe the problem
Dashy favicon no longer loads after update.

Additional info
No response
Please tick the boxes

[X] You have explained the issue clearly, and included all relevant info
[X] You are using a supported version of Dashy
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Hi
It's really hard with such less details to diagnose this, for me it's working totally fine.
Please share your nginx conf.
You can try clearing all browser cache and cookies, and try another browser in the private window.

Hi, I'm running pretty much the same configuration and I'm having an issue with the favicon not showing in Firefox. This is using a fully cleared cache and also in a Private Window. I can't comment update breaking it, as I only switched back to Firefox from Brave a few hours ago. I get the same problem if I bypass the reverse proxy.
If I append the various /favicon.ico, /web-icons/favicon-32x32.png etc. listed in Firefox's inspector tab to the URL most of the icons are loading.
However, if I'm reading the Network Inspector tab correctly, then Firefox is trying to use https://home.mydomain.org/img/icons/favicon-16x16.png but favicon-16x16.png doesn't exist. It's showing 404 not found in Firefox's inspector and as a directly accessed URI.
I think there are 2 issues here: The missing favicon-16x16.png and Firefox seemingly being determined to use the missing image, rather than fallback to favicon-32x32.png or favicon.ico.
Cheers.

Yeah I've just looked into this and in firefox the favicon is not showing up at all.
Firefox still seems to have hardcoded a preferred size:
view-source:resource:///modules/FaviconLoader.sys.mjs
....
const FAVICON_PARSING_TIMEOUT = 100;
const FAVICON_RICH_ICON_MIN_WIDTH = 96;
const PREFERRED_WIDTH = 16;
....

I think  dashy is somewhat missing the correct variable to define the favicon for firefox, however I was not able to find any working variable. It seems that firefox has issues regarding favicon dating from a month ago to 20years back 😂
I tried adding the 16x16 pixel variant which was once included:
https://github.com/Lissy93/dashy/commit/7e4e2edc0cd494ce8c9e5126c5905e3879e2d9a3#diff-66c2900b7fcc62569ea372a2058eb4935e7559dcea7a3052b36d843a6e190734
But that did nothing, as firefox somehow expects a favicon on exactly this url:

Can confirm this bug, icon is not displaying on Firefox.
I'll submit a fix (by adding the appropriate icons in, and updating the paths in index.html) this weekend.

Any updates on this? Firefox still doesn't load the favicon correctly for me.

I'll submit a fix (by adding the appropriate icons in, and updating the paths in index.html) this weekend.

@Lissy93
Have you yet had time?

Same issue, and with the new firefox vertical sidebar this is becoming particularly annoying, the whitespace in screenshot is where the favicon ought to be...

@Lissy93 I'd like to bump this again. A fix would be highly appreciated. :)

Pinging someone 3 months after they said they were going to do something can hardly be described as random.

With today's image update, it's now working for me (Firefox). The favicon is back!

Yup got fixed by a PR here:
https://github.com/Lissy93/dashy/pull/1678

Thank you!

confirmed, thx for the merge !


dist: add tests for listing repos, tags

Added tests for listing existing repos and tags of a given manifest.

From now on, we should add code to https://github.com/opencontainers/distribution-spec.
So please look at https://github.com/opencontainers/distribution-spec/pull/39.
I will deal with open issues in the distribution-spec PR.


Fix pagination when search of filter parameters already exist

Using the link_to_next_page method solves the issues of ignoring other parameters when paginating

This works for the show but not history. Sorry - just realised the same bug exists for the updates page. Can we fix for that too?

Done @michaelabenyohai


Show all questions

Uses question_per_section to select how many questions to display at a time. Will page through questions, and disable previous and next buttons when next or previous questions are not available.

looks good


Bound RT #6: Session Key Storage and Cache Schema Extension

This PR:

Extends DatabaseStorage in msal-browser to support multiple IndexedDB tables to have separate storage for symmetric and asymmetric keys.
Adds RefreshToken_With_AuthScheme cache credential to support pop and Bearer refresh tokens side-by-side

Codecov Report

Merging #3734 (349a263) into bound-rt/decrypt-response (8938458) will decrease coverage by 13.65%.
The diff coverage is 76.00%.

Flag
Coverage Δ

*Carryforward flag

msal-angular
95.81% <ø> (ø)

Carriedforward from 9bc8a83

msal-browser
84.55% <60.00%> (?)

Carriedforward from 9bc8a83

msal-common
83.32% <86.66%> (?)

Carriedforward from 9bc8a83

msal-core
73.02% <ø> (?)

Carriedforward from 9bc8a83

msal-node
78.39% <ø> (?)

Carriedforward from 9bc8a83

msal-react
93.77% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-browser/src/utils/BrowserConstants.ts
100.00% <ø> (ø)

lib/msal-common/src/cache/CacheManager.ts
77.40% <ø> (ø)

lib/msal-node/src/cache/serializer/Deserializer.ts
82.81% <ø> (ø)

lib/msal-node/src/cache/serializer/Serializer.ts
100.00% <ø> (ø)

lib/msal-browser/src/cache/DatabaseStorage.ts
22.22% <50.00%> (ø)

lib/msal-common/src/response/ResponseHandler.ts
69.92% <66.66%> (ø)

...al-common/src/cache/entities/RefreshTokenEntity.ts
90.00% <87.50%> (ø)

lib/msal-browser/src/crypto/CryptoOps.ts
77.35% <100.00%> (ø)

lib/msal-browser/src/error/BrowserAuthError.ts
88.00% <100.00%> (ø)

...msal-common/src/cache/entities/CredentialEntity.ts
95.34% <100.00%> (ø)

... and 111 more


Questions about batch size

I get the following error:
~/w/sg2 ❯❯❯ python -m pytorch_fid --batch-size 1 ~/Documents/dataset/r-sample ~/Documents/dataset/g-sample/6/088000
100%|█████████████████████████████████████████████████████████████████| 2702/2702 [02:58<00:00, 15.17it/s]
Warning: batch size is bigger than the data size. Setting batch size to data size
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/udemegane/workspace/sg2/venv38sg2/lib/python3.8/site-packages/pytorch_fid/__main__.py", line 4, in <module>
    pytorch_fid.fid_score.main()
  File "/home/udemegane/workspace/sg2/venv38sg2/lib/python3.8/site-packages/pytorch_fid/fid_score.py", line 249, in main
    fid_value = calculate_fid_given_paths(args.path,
  File "/home/udemegane/workspace/sg2/venv38sg2/lib/python3.8/site-packages/pytorch_fid/fid_score.py", line 238, in calculate_fid_given_paths
    m2, s2 = _compute_statistics_of_path(paths[1], model, batch_size,
  File "/home/udemegane/workspace/sg2/venv38sg2/lib/python3.8/site-packages/pytorch_fid/fid_score.py", line 218, in _compute_statistics_of_path
    m, s = calculate_activation_statistics(files, model, batch_size,
  File "/home/udemegane/workspace/sg2/venv38sg2/lib/python3.8/site-packages/pytorch_fid/fid_score.py", line 204, in calculate_activation_statistics
    act = get_activations(files, model, batch_size, dims, cuda)
  File "/home/udemegane/workspace/sg2/venv38sg2/lib/python3.8/site-packages/pytorch_fid/fid_score.py", line 102, in get_activations
    for i in tqdm(range(0, len(files), batch_size)):
ValueError: range() arg 3 must not be zero

This error occurs despite a batch size that is clearly smaller than the dataset (eg 1).
I don't know the cause.
Thank you.

I suspect that no image files were found, hence the batch size was set to zero. Currently, only image files with the extensions .png and .jpg are recognized by default.

Oh, I found out why. It was quite simple. I had mistakenly thought that the contents of the directory would be loaded recursively.
Surely that doesn't recognize any images, lol.
Thanks!


called Option::unwrap() on a None value

schema and code.txt
Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions

Name
Version

Node
v18.18.0

OS
windows

Prisma Client
5.6.0

Query Engine
e95e739751f42d8ca026f6b910f5a2dc5adeaeee

Database
postgresql

Logs
prisma:client checkPlatformCaching:postinstall
prisma:client checkPlatformCaching:ciName
prisma:tryLoadEnv Environment variables loaded from C:\Users\Bash\Desktop\Online Exam System\online-exam-system\.env
prisma:client dirname C:\Users\Bash\Desktop\Online Exam System\online-exam-system\node_modules\.prisma\client
prisma:client relativePath ../../../prisma
prisma:client cwd C:\Users\Bash\Desktop\Online Exam System\online-exam-system\prisma
prisma:client clientVersion 5.6.0
prisma:client:libraryEngine internalSetup
prisma:client checkPlatformCaching:postinstall
prisma:client checkPlatformCaching:ciName
prisma:tryLoadEnv Environment variables loaded from C:\Users\Bash\Desktop\Online Exam System\online-exam-system\.env
prisma:client dirname C:\Users\Bash\Desktop\Online Exam System\online-exam-system\node_modules\.prisma\client
prisma:client relativePath ../../../prisma
prisma:client cwd C:\Users\Bash\Desktop\Online Exam System\online-exam-system\prisma
prisma:client clientVersion 5.6.0
prisma:client:libraryEngine internalSetup
prisma:client:engines:resolveEnginePath enginePath C:\Users\Bash\Desktop\Online Exam System\online-exam-system\node_modules\.prisma\client\query_engine-windows.dll.node
prisma:client:engines:resolveEnginePath enginePath C:\Users\Bash\Desktop\Online Exam System\online-exam-system\node_modules\.prisma\client\query_engine-windows.dll.node
prisma:client checkPlatformCaching:postinstall
prisma:client checkPlatformCaching:ciName
prisma:tryLoadEnv Environment variables loaded from C:\Users\Bash\Desktop\Online Exam System\online-exam-system\.env
prisma:client dirname C:\Users\Bash\Desktop\Online Exam System\online-exam-system\node_modules\.prisma\client
prisma:client relativePath ../../../prisma
prisma:client cwd C:\Users\Bash\Desktop\Online Exam System\online-exam-system\prisma
prisma:client clientVersion 5.6.0
prisma:client:libraryEngine internalSetup
prisma:client:libraryEngine sending request, this.libraryStarted: false
prisma:client:engines:resolveEnginePath enginePath C:\Users\Bash\Desktop\Online Exam System\online-exam-system\node_modules\.prisma\client\query_engine-windows.dll.node
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started

Client Snippet
// PLEASE FILL YOUR CODE SNIPPET HERE

Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE

Prisma Engine Query
{"X":true}}}}}}}

@devBash24 please take a look at my colleague's comment above, without an answer we would close this issue later.

Hey @devBash24 ,
With the lack of information and our inability to reproduce this issue, we're now closing it. Feel free to comment if you have any updates about it.
Thank you 🙏


Fonts source missing

Hey there, love your theme!
Could you add hyperlinks for the fonts used in your theme? (Terminus and Waffle)
Although I didn't have much of a problem with finding Terminus, I failed to find the proper Waffle font that your theme uses.
Therefore, is it possible for you to link to the fonts' source to make it easier for people to enjoy your theme?
I understand that you don't bundle fonts with your theme, but at least give us a link so that we can replicate your awesome look :)
This is where I downloaded Terminus from: https://files.ax86.net/terminus-ttf/

Hello, I'm glad that you like my configuration! I've already added the link to the fonts needed for the theme to work, It was a little oversight on my part lol. Cheers!


Flag diagnostic messages accordingly

ProgramContext::warn on opts.warning_as_error:

program.warn("this is an warning!");

<source>:n:m: error: this is an warning! [-Werror]

ProgramContext::pedantic on opts.pedantic_errors:

program.pedantic("this is pedantic!");

<source>:n:m: error: this is pedantic! [-pedantic-errors]

ProgramContext::pedantic on opts.pedantic:

program.pedantic("this is pedantic!");

<source>:n:m: warning: this is pedantic! [-pedantic]

ProgramContext::pedantic on opts.pedantic && opts.warning_as_error:

program.pedantic("this is pedantic!");

<source>:n:m: error: this is pedantic! [-Werror, -pedantic]

This could be supported through diagnostic definitions:
DIAG(code, severity, description, option, default_value)

Where option would be the diagnostic switch (on or off), and default_value obviously the default value (on/true or off/false) for the switch.

Let's just assume all diagnostics are errors, and ignore this issue for now.


Added Negative Axes support along with TCs.

Added the support for negative axes along with TCs

@renjie-liu , sorry for the oversight, i have updated the name of the TC, kindly check and approve.

@renjie-liu , thanks for the comments, i have updated as suggested by you.Kindly check and approve.
Regards
Amit

@rthadur , can you pls help to get this merged, as this is approved and all checks have passed  and i am afraid that if it stays longer again some merge conflicts might come.
Regards
Amit

@rthadur , this PR is approved, for long, can you please help me to get this merged.
Regards
Amit

@renjie-liu , thanks for approving the PR, this PR is not yet merge, can you please help me to get this merge.
Regards
Amit

@rthadur , can you please help to get this merged.
Regards
Amit

working on it, thank you for your patience.

@jianlijianli , thanks for approving the PR
@rthadur , can you please help to merge this PR.
Regards
Amit

@rthadur , can you please help to merge this PR.
Regards
Amit

@rthadur , can you please help to meger this PR.
Regards
Amit

@renjie-liu , @jianlijianli @rthadur , i have updated the code and now everything seems to be passing, kindly check and approve, hope to see this PR merge soon.
Regards
Amit

Can one of the admins verify this patch?

@amitsrivastava78 Can you please resolve conflicts? Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!


feat: Adding flexibility for RBACs definition.

What does this PR do?
🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation
This PR intends to remove the Kubernetes group system:masters from the module when using the variable enable_admin=true as a security recommendation. To replace it, the module will create a new clusterRoleBinding tied to the admin clusterRole to give administrator access (but not unrestricted access) to "Admin" teams.

Resolves #17
Resolves #18

More

[X] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[X] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

A lot of changes! Try my best to not break the interface. Ready for thoughts and comments.


correct enum usage and decide enum generation according to usage

Description
Fix https://github.com/Azure/autorest.csharp/issues/2832

correct usage of enum
Resolve enum type according to the usage

Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

I didn't see any tests updated, so we don't have any coverage for this part? Could you add tests to verify the behaviour?

Add extensible enum as response in FirstTest-Cadl project, and this method is not chosen to generate convenience method, so the enum will not be generated.


Getting System.Net.Http.HttpRequestException while accessing the DirectLine API

Hi Team,
I am facing this issue number of times.
When i trying to hit "https://directline.botframework.com/v3/directline/conversations/XXXXXXX/activities?watermark=0" API. Below error I am getting.
Error:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 502 (Bad Gateway).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   at ......................

What do you mean when you say you're trying to hit that URL? Are you trying to send a message? Is it bot-to-user or user-to-bot?

Yes,
I am creating bot-to-user or user-to-bot.
And I trying to call the DirectLine API using HTTPClient.
On Fri, 17 May 2019 at 03:51, Kyle Delaney<EMAIL_ADDRESS>wrote:

What do you mean when you say you're trying to hit that URL? Are you
trying to send a message? Is it bot-to-user or user-to-bot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/BotFramework-Services/issues/80?email_source=notifications&email_token=ADIMEN5X4NRVTZSTGO46PKTPVXM6PA5CNFSM4HNLHNYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVTGZNY#issuecomment-493251767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADIMEN2K6J45FEUERUUDOOLPVXM6PANCNFSM4HNLHNYA
.

--
Regards,
Raj Kushwaha
Mobile:<PHONE_NUMBER>

Yes I am sending message to BOT.
On Fri, 17 May 2019 at 10:26, Raj Kushwaha<EMAIL_ADDRESS>wrote:

Yes,
I am creating bot-to-user or user-to-bot.
And I trying to call the DirectLine API using HTTPClient.
On Fri, 17 May 2019 at 03:51, Kyle Delaney<EMAIL_ADDRESS>wrote:

What do you mean when you say you're trying to hit that URL? Are you
trying to send a message? Is it bot-to-user or user-to-bot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/BotFramework-Services/issues/80?email_source=notifications&email_token=ADIMEN5X4NRVTZSTGO46PKTPVXM6PA5CNFSM4HNLHNYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVTGZNY#issuecomment-493251767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADIMEN2K6J45FEUERUUDOOLPVXM6PANCNFSM4HNLHNYA
.

--
Regards,
Raj Kushwaha
Mobile:<PHONE_NUMBER>

--
Regards,
Raj Kushwaha
Mobile:<PHONE_NUMBER>

It's possible that there's something wrong with your bot code. Does your bot work in the Emulator and other channels? Are you running the bot locally or is it published?
To diagnose this problem, it would be helpful to see your bot code as well as the HTTP request you're sending to it.

@Rashree138 - Are you still working on this?

Closing due to inactivity


Ensuring that the directive @dsAutoClearOnPageReload is not shown in production

Hi Luan,
This PR Ensuring that the directive @dsAutoClearOnPageReload is not shown in production


Removing all actions

Description
This PR includes the following proposed change(s):
None
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
None
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

hmmm we shouldn't do that lol


Simplify CMake preset files

After #20 we have several CMake preset files. This is populating the root of the project. This should be simplified and these files should be merged into a single one. There's no need for this modularity especially because it makes the project look complex.

Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!

@ClausKlein Could you tackle this?

I simplified this a bit in #57


[Android] v2.0.0 seems to ignore onDeviceDisconnected callback

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[X] I am running the latest version
[X] I checked the documentation and found no answer
[X] I checked to make sure that this issue has not already been filed

Behavior
I decided to update my app to RN 0.62, and with that came the react-native-ble-plx update to 2.0.
However, after updating I noticed that the onDeviceDisconnected callback is getting ignored, no changes made to the actual code; with BLE-PLX v1.1.0 it was working fine. Changelog makes no mention of this behavior change, but it does mention changing the multiplatform ble adapter. Maybe there's something missing there?
I'm not sure how to help diagnose this behavior. To reproduce, try to disconnect an external BLE device after connecting (via BleManager#connectToDevice) and register said device with a onDisconnect callback (either via BleManager#onDeviceDisconnected or Device#onDisconnected).
I have not tested this on iOS.

for the record, I tried updating the com.github.Polidea:MultiPlatformBleAdapter dependency within ble-plx's build.gradle to the lastest commit (92233992ec1c1c7af43674b626c747dd7c9abfd9), however the problem remains.

@mikolak Do you have any thoughts about this?

There's a chance that name of the event might have changed somehow, since the callback itself is not passed down to MBA.

I've tried to monkey-patch the BleClientManager to see if I could fix it, like so:
                new OnSuccessCallback<Device>() {
                    @Override
                    public void onSuccess(Device data) {
                        safePromise.resolve(deviceConverter.toJSObject(data));
                    }
                },
                new OnEventCallback<ConnectionState>() {
                    @Override
                    public void onEvent(ConnectionState connectionState) {
                        Log.d("BleClientManager", "onEvent: " + connectionState.name());
                        if(connectionState == ConnectionState.DISCONNECTED) {
                            WritableArray event = Arguments.createArray();
                            event.pushNull();
                            event.pushString(deviceId); // This should actually be a "Device" object but this is just a test anyway

                            sendEvent(Event.DisconnectionEvent, event);
                        }
                    }
                },
                new OnErrorCallback() {
                    @Override
                    public void onError(BleError error) {
                        safePromise.reject(null, errorConverter.toJs(error));
                    }
                });

However this doesn't seem to be enough to emit the onDeviceDisconnected event to JS.
Also I noticed that BleAdapter doesn't seem to have a way to get a Device by its ID in order to properly emit the event with a Device object like it was prior to 2.0.

By the way, as a workaround I succesfully managed to compile the 1.1.1 version by going to react-native-ble-plx/android/build.gradle and removing the following line:

 apply plugin: 'com.android.library'
-apply plugin: 'groovyx.android'

 android {

If fixing 2.0 will take too long I'll probably write a pre-build script to do that across my projects.
If there's anything I can do, I'll gladly help.
Thank you for the quick response!

For future reference, I wrote a postinstall script so that version 1.1.1 can build with most recent react-native. It's a super simple script and I'm not even sure if it'll work with a wide variety of projects.
#!/usr/bin/env node

/*
  Fixes<EMAIL_ADDRESS>build on android for RN 0.62
  See issue https://github.com/Polidea/react-native-ble-plx/issues/663
 */

const fs = require('fs')
const path = require('path')

const RN_BLEPLX_BUILDGRADLE = path.resolve(
  __dirname,
  'node_modules',
  'react-native-ble-plx',
  'android',
  'build.gradle',
)

if (!fs.existsSync(RN_BLEPLX_BUILDGRADLE)) {
  console.error('react-natibe-ble-plx not installed.')
  process.exit(1)
}

console.debug(
  'Updating file ' +
    path.relative(__dirname, RN_BLEPLX_BUILDGRADLE) +
    ' so it builds with RN 0.62',
)
const buildGradleText = fs.readFileSync(RN_BLEPLX_BUILDGRADLE, {
  encoding: 'utf8',
})
const fixedGradleText = buildGradleText.replace(
  "apply plugin: 'groovyx.android'",
  '',
)
fs.writeFileSync(RN_BLEPLX_BUILDGRADLE, fixedGradleText, { encoding: 'utf8' })
<EMAIL_ADDRESS>updated!')

Later, add the script to your package.json postinstall hook.

what changes do i expect if i downgrade to 1.1.1 ?

This is the 2.0.0 changelog (from https://github.com/Polidea/react-native-ble-plx/releases):

Update direct dependency to Multiplatform Ble Adapter
Remove support for RN version < 0.60
Fixed Typescript callbackType type definition.

So, as far as I can tell, a typescript issue with callbackType type definition. From my tests on my apps, everything is working fine.

thanks i got it to work with your script.
after connecting to a device i disabled the bluetooth it fire the onDisconnect event so it worked , but whene i tried closing  my device it outputs nothing .. is this intended  or should it also fire whenever my device is off or too far ?

@Barbiero @josef256 What platform have you tested on? iOS / Android?

I've since tested on iOS and it was working fine there. The issue affects Android only.
I'll test #679 out.

@dariuszseweryn #679 fixes the issue!


[Website] Paper with question marks on references

Hi,
This paper (https://www.aclweb.org/anthology/2020.acl-main.769.pdf) has question marks on references. The author Rabeeh Karimi Mahabadi (@rkarimi) is certain that uploaded the correct version.
Can anyone check on this? Thanks.
@dreasysnail @raosudha89 @hao-fang @tlikhit

The authors have reached out to program chairs to correct the Anthology PDF.


Fixes for peeros doco

In Using PeerOS section

PeerOS is a multiplatform software bundle
we need to clarify what we mean by multiplatform since it runs on linux os only

do we mean here virtual machines?

In Create your own templates section we have this text

Close the dialog upon template creation, and go to the Environment -> Environments section. You may have to refresh the page to see your template in the templates list on the right side bar under category "Own".

We removed section Own and owner can be viewed via tooltip

You will need a CDN token (link to instructions) to do that

here we need to put info how to view token via Bazaar UI as it is easier than following the mentioned instructions

In Manage peer section
POST /rest/v1/hub/register should be changed to POST /rest/v1/bazaar/register

for now, I'm removing the "multiplatform" part.
edited the part about users' own templates
where can I find more about how to view the token via Bazaar, @Dilshat ?
fixed the POST command


ida-free: Fix uninstaller script and installer script.

Also, made some changes to the URL, license, and autoupdate.
Closes #9421

[x] I have read the Contributing Guide.

/verify

/verify

I checked the related code(install, installer) of Scoop Core and seems unchanged but the handling for this manifest is different with before, I made another fix in #9603.


[DIG-105] Revamp 'About' Page with New UI

We are planning to update our existing 'About' page with a fresh and modern UI to align with our updated design standards.
DIG-105

Assign me

@pranshugupta54 if the work is not yet done, can you assign it to me

Hey @Siddharth1605, this is almost complete (as discussed on discord). You can pick up another issue :)


Fixing start/endpoints of chart

Currently the chart can be drawn from a point before the start date supplied to the chart/to a point after the end date supplied to the chart. This is done to ensure 'sensible' gridlines/axis labels are used but causes two issues:

People who are currently in post can appear to have finished in post because the axis continues beyond 'today' but the bar doesn't NB: We wouldn't want to extend the bar beyond 'today'

We append "(since XXXX)" to bar labels where a bar starts before the start date supplied to the chart, but this is made redundant in some cases because the chart axis range starts before the start date supplied to it This feels less of a big deal than the first one - it's not likely to crop up that often

I wonder - is it possible to use D3 to choose the gridlines and axis labels, but then revert to using the original start and end dates supplied to the chart? It's already the case that there isn't always a gridline at the point where the chart starts and ends. Would doing this introduce other problems?

There is a very simple fix to this: remove the call to the nice() method of the xScale. If you're happy that the bar start / end are provided by either the first start / last end of the timeline or explicitly provided I can make this fix.

@gilesdring Yes, the scripts that I've written will always return both a (finite) start/end date for all bars and a start/end date for the chart as a whole. Just to check we're on the same page - this won't affect the choice of gridlines? I.e. Gridlines would be October rather than 15 October, say?

It shouldn't do - all that will happen is that the range won't be rounded to a nice value - so if the earliest timestamp was 2:23 am on 15th Oct (for some reason) that's where the chart would start, unless manually overridden. I think the ticks will still fall on sensible points. Can run some testing to validate this assumption.

Confirmed, and removed in code. Will be in next release.

@gilesdring We've tested this and it's looking good, thanks - definitely preferable to what we had before. We wonder if a further refinement is possible:

For the page showing all roles held by an individual ('query 1'):

Rounding the axis start date down to where the next gridline would be before (or equal to) the start date provided by the Drupal code. So for Nigel Adams it would go to (1 Jan) 2010; for Lord Murray of Blidworth it would go to Oct 2022
Not doing anything further to the axis end date (your work above removing nice() has got this as we'd like it)

For the page showing all individuals who held a given role ('query 2'): keeping the current approach to axis range and gridlines

I could probably find the budget for another hour or two if you think a fix would be doable in that time. If it's a more complicated ask, I think we'd live with what we have.

@philipnye thinking about this in generic terms, as it would need to be based on flags passed to the library, which has no knowledge of what it is presenting (!), would something like this work...
round: none | start | end | both

If round=none, leave as is - this would be default
If round=start, apply the nice to just the start (I think there is a one-sided nice)
round end and round both would work similarly - I know you've not requested this, but it would seem logical to provide one option to cover all eventualities.

Let me know if this sounds workable. If so, it's a change to this codebase then further integration with Drupal, including setting the new property, which would likely need @graham73may to make some changes (I've no real insight to the database integration)

Hm. On second thoughts there, and having investigated, there does not seem to be a nice which only works on start or end. More digging required. I think the interface would have to be something like described.

@gilesdring Thanks for giving this some thought. Sounds like there not be a particularly quick solution out there.
Given the limited time we have available + the fact it'd need some work on the Drupal side too, I suggest we park this - the current solution works very well, and this was just striving for perfection. Shout if you think I'm being too pessimistic on timing though.
cc @graham73may


Auto vote when submission is made

When someone enters a submission she, is probably already interested in it.
So why not autovote?
We might have to adjust the "Thanks" text on the voting button, since it might not be clear, what we're thanking for when the app has automatically voted.

i am not a big fan of autovoting:
i don't vote for my own suggestions and i would really get curious if i would get a vote automatically after creation.
i can't really see a real benefit while it would also make our code quite more complex

I disagree, at least for interests. I think If you propose an interest you're most likely interested in it and that what's the button is for.
But yeah, it's just an idea and you're right it might seem a little bit odd for contributions.


feat: add wiki guide for API Catalog

Shall we consider also adding a 'learnApiCatalog' item in Tree View when it is empty in Tree View?
@formulahendry please help review again


Refine policies for issues, PRs, branching

Currently defined in README but needs some clarification:

Difference in process for those with and without write access - is this just a matter of cloning vs forking the repo?
Creating a PR vs creating a feature branch
Suggestion from @darrenleeweber: "Create a PR against an issue with the proposed changes in it.  Use labels or a title prefix to indicate that it is pending approval, e.g. [PENDING #xxx APPROVAL].  The branch used to create the PR can be checked out and used by tools to run reasoners etc. on it and also explore implications for conversions." This suggests the PR itself is merged to the remote / upstream repo, rather than creating a PR against develop and merging it directly there.
Pruning defunct branches. E.g., should a branch be deleted as soon as it is merged into develop?

Possibly useful references, again from @darrenleeweber:
For reference only, I’m not recommending anything in particular, only noting that this is a road that others have walked already and documented some helpful tips:

https://github.com/jamesaoverton/obo-tutorial/blob/master/docs/ontology-development.md

they point, at the bottom, to interesting project:  https://github.com/owlcollab/owltools

good use of a wiki:  https://github.com/nmrML/nmrML/wiki

has use-cases and contribution help: https://github.com/nmrML/nmrML/wiki/Contributing

vivo-isf also uses the wiki:  https://github.com/openrif/vivo-isf-ontology/wiki

Completed


"failed to determine package fingerprint for build script" caused by a symlink pointing to an unreadable directory

Problem
If a project with a build script has a symbolic link pointing to somewhere unreadable, cargo build fails.
Steps
$ git clone https://github.com/sharkdp/fd.git  # For example
$ cd fd
$ ln -s /root root  # Normal users can't read /root
$ cargo build
error: failed to determine package fingerprint for build script for fd-find v8.2.1 (/home/tavianator/code/sharkdp/fd)

Caused by:
  failed to determine the most recently modified file in /home/tavianator/code/sharkdp/fd

Caused by:
  failed to determine list of files in /home/tavianator/code/sharkdp/fd

Caused by:
  cannot read "/home/tavianator/code/sharkdp/fd/root"

Caused by:
  Permission denied (os error 13)

Possible Solution(s)
I suggest not following symbolic links when calculating the fingerprint.
I actually ran into this with a symlink to /, which caused
Caused by:
  cannot read "/home/tavianator/code/sharkdp/fd/why/dev/vboxusb"

meaning it was trying to recursively scan my whole file system.
Notes
Output of cargo version:

cargo 1.53.0 (4369396ce 2021-04-27)

Thanks for the report!  Cargo needs to follow symlinks, as what they point to may impact the build.  However, for the purpose here, I think it would be fine to ignore errors reading the contents of a symlink destination.
One suggestion I have for your fd project is to use rerun-if-changed in the build script.  This prevents cargo from scanning all files for possible changes (with one caveat described here, that the first build does a full scan, which it probably shouldn't).

I see there's a a test, build_script_scan_eaccess, that specifically checks that the build command errors when it does not have access to a particular path. I'm not sure of all the use cases, but is there a semantic difference between an access error on a path within the project versus one that is symlinked?

@rustbot claim

Oh whoops, a mistake on my side, going to unassign.

Hm, so PathSource::list_files is used for several different things, including fingerprints, packaging, and vendoring.  When packaging or vendoring, it is important to know about inaccessible files.  However, for fingerprinting it probably isn't too important (if cargo can't access it, neither can a build script or rustc).
I can't offhand think of a really clean way to deal with that. My only idea is to pass a flag into list_files whether or not to ignore access errors.  That seems a little awkward, though.
However, considering this more, maybe it is good to provide an error message early on, rather than later when publishing?  That is, maybe this should just be closed?
Another thought is that this is essentially the same as #9528.  I'm wondering if the suggestions there might be more in line?
Sorry, this may not have been as E-easy as I thought!  But if you want to dig in and consider what might be a good behavior, it would be appreciated.

However, considering this more, maybe it is good to provide an error message early on, rather than later when publishing? That is, maybe this should just be closed?

I'm not too familiar in the fingerprinting aspect of cargo, but I can't think of a scenario where we want to calculate the fingerprint of inaccessible files and later on not use the file for publishing? If there's no such scenario, I think it's better to improve the error message. If there is indeed some edge cases, we might want to consider changing the default behaviour for fingerprinting (i.e. ignore error when looking into inaccessible files, but provide an option not to)

Another thought is that this is essentially the same as #9528. I'm wondering if the suggestions there might be more in line?

I'd argue this is a different case. We want to limit the walker in #9528 rather than letting it running indefinitely, but here the we can't even walk in the first place.

Yea, improving the error message sounds good, though I'm uncertain of exactly how or what a better message would be.

@tavianator - facing the same issue on version 1.80.0, is there a fix found for the same issue?


InstallSSHKey does not handle paths with spaces when no passphrase is used

Required Information
Question, Bug, or Feature?
Type: Bug
Enter Task Name: InstallSSHKey
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/InstallSSHKeyV0
Environment

Server - Azure Pipelines or TFS on-premises? On-Premise

If using TFS on-premises, provide the version: Azure DevOps Server version Dev17.M153.5; Task v0.151.2

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private: Private

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version: Windows Server 2019, Agent v2.153.1

Issue Description
After setting up an InstallSSHKey task, the executed command does not properly quote the argument specifying the key file path. This only occurs if a private key passphrase is not set. Here is an excerpt from the pre-job Install SSH Key log:
[command]"C:\Azure Pipelines Agent\externals\Git\usr\bin\ssh-add.exe" C:\Azure Pipelines Agent\_work\_temp\TFS Key
C:\Azure: No such file or directory
Pipelines: No such file or directory
Agent\_work\_temp\TFS: No such file or directory
Key: No such file or directory

Task logs
Troubleshooting
Error logs
[command]"C:\Azure Pipelines Agent\externals\Git\usr\bin\ssh-add.exe" C:\Azure Pipelines Agent\_work\_temp\TFS Key
C:\Azure: No such file or directory
Pipelines: No such file or directory
Agent\_work\_temp\TFS: No such file or directory
Key: No such file or directory

Hi @js-hdl!
We've implemented a fix, but it might take a few weeks to roll out. I'll update you on the progress.

Hi @js-hdl we have rolled out the fix for this issue - let me close this since it was fixed, please feel free to reopen or ask any further questions if it's still actual for you.

Hi @js-hdl we have rolled out the fix for this issue - let me close this since it was fixed, please feel free to reopen or ask any further questions if it's still actual for you.


feat: add fprint and libcamera

We need this for at least Surface cameras + some others. fprint just makes sense.
Thank you for contributing to the Universal Blue project!
Please read the Contributor's Guide before submitting a pull request.

We need this for at least Surface cameras + some others. fprint just makes sense.

I don't see fprint in the changes?

Yeah it gets pulled in, no need to explicitly mention it.


R2

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: vijs:x: Zameerun Rasheed M SZameerun Rasheed M S seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


HTTP/HTTPS compatibility in css file

Hi !! I fixed the problem, thought you'd need it to.

Thanks!!!


⚠ Samsung has degraded performance

In 73e68ab, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2074 ms

Resolved: Samsung performance has improved in b000801.


Allow users to comment on our docs (e.g. vis Disqus)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/770
Originally created by @dmor on 2019-07-09 14:36:49

Capturing this as an idea that came out of the Meltano CEO sync

View 1 previous comment from the original issue on GitLab


Restore UI layout after Common Criteria confirmation (master)

Merge #8 from SP4 to master

BTW there seems to be no RPM for master, so there is no SR for OBS or IBS.
https://build.opensuse.org/search?search_text=system-role-common-criteria&search_for=0&name=1&attrib_type_id=


Issue 51 Unwind error if the Coroutine::yield_with is inlined

coroutine_unwind was doing undefined things.
I've replaced it with an AtomicBool flag triggering the same unwind code moved to yield_with.  This isn't optimal yet (I'll try to get it passing through the data field as zonyitoo suggests) but it does pass all tests even with #[inline(always)]
Still needs:

[ ] data field
[ ] decide on proper inline attribute
[ ] out-line the cold branch (probably)
[ ] delete commented-out code

I think we might have to check for the unwind flag here too and in that case directly proceed to here. Is that correct, @zonyitoo?

Theoretically, we don't need to check it here, because it is impossible to trigger any unwinding process before callback(), all codes are in spawn_opts.

I tried simply checking for data != 0 to trigger unwinding.
It breaks somewhere and I'd like to have the logger working to figure where.

@glasswings it does not work because you'd need to check for data == X where X must be some invalid address except for 0. The reason for this is that every Coroutine implementation needs a concept of "taking a coroutine out" of the run loop. In our case this happens using the Process::park_with() method, which uses the data field to pass a pointer. You thus need use a value which would be invalid as a pointer (like usize::max_value()) and check for exactly that value.

I see.  I misunderstood the topology.  It's not one Processor context which activates each Coroutine in turn; there's a ring of running Coroutines.  The data field is overloaded.
It (may?) also mean the Handle::drop event can happen in any of those contexts.

On master:
---dropping context---
Handle::drop sees !State::Finished
and continues on top to
---dropped context--- 1
coroutine_unwind unwinds through
...all callback code to...
coroutine_entry sets State::Finished
and continues to
---dropping context--- 2
Handle::drop sets State::Dropping
and continues to
---dropped context---  3
`coroutine_entry checks for State::Dropping
and continues on top to
---dropping context--- 4
`coroutine_exit` which manually drops Coroutine
which decreases a counter
then it returns the stack to the pool
and returns to
Handle::drop which
returns

The function of data passed to coroutine_unwind is to ensure that context-switch 2 happens.  coroutine_unwind needs to follow this pointer to get to the Coroutine struct living at the bottom of its stack.

I think you're saying, and I'll next try:
---dropping context---
Handle::drop sees !State::Finished
and passes usize::MAX continues to
---dropped context--- 1
yield_with, which sees usize::MAX and unwinds through
...all callback code to...
coroutine_entry sets State::Finished
and continues to
---dropping context--- 2
Handle::drop sets State::Dropping
and continues to
---dropped context---  3
coroutine_entry checks for State::Dropping  and continues on top to ---dropping context--- 4 coroutine_exit` which manually drops Coroutine
which decreases a counter
then it returns the stack to the pool
and returns to
Handle::drop which
returns

`yield_with` has a `self` pointer and doesn't need the pointer through `data`.

---

Maybe we can save the middle two context switches

---dropping context---
Handle::drop sees !State::Finished
sets State::Dropping
and passes data = MAX
and continues to
---dropped context--- 1
yield_with, which sees data = MAX and (debug State::Dropping) and unwinds through
...all callback code to...
coroutine_entry checks state and keeps Dropping (or sets State::Finished)
and continues on top to
---dropping context--- 4
`coroutine_exit` which manually drops Coroutine
which decreases a counter
then it returns the stack to the pool
and returns to
Handle::drop which
returns

yield_with shouldn't wait on a cache miss reading self.state when it's resuming normally.

@glasswings How's it going? Should one of us take a look? We could continue development of this as well. And if you want to: My offer of introducing you how all of this works is still there. :smile: I know that it might be a bit hard to understand, because it took myself at least 3-4 weeks to understand every detail and how they work together (since I've never worked on a coroutine implementation before).

I'm feeling pretty happy with the code as it is.  It would be nice to pass the network echo tests, too, but I don't think I broke them.  The added comments should definitely be reviewed to be sure they are not misleading.  They are a little too verbose and I wouldn't be offended if they're edited down.
All-in-all it's ready for a look.
I pushed the faster coroutine teardown (two fewer context switches) to my fork.  It seems to work just as well at first glance, but I'm not likely to mess around with it much further.
My roommate has expressed renewed interest in learning programming, and I'll be shifting my time to things we can work on together.
So I'm planning to see this issue through to resolution and, if it's not too frustrating, troubleshoot why the network echo tests aren't working on MSYS/Win10.  Then moving on to other things.  Thank you both very much for making me feel welcome.


Add Paper Weight Calculator

What would you like to share?
This paper weight calculator will help you determine the weight of a sheet of paper of any size, grammage, or basis weight. You can also use this calculator for paper weight conversion between grammage and basis weight and to find what the grammage of paper is.
In this calculator, you will learn about the measure of weight per unit area that is used to determine the weight of paper, as well as what the basis weight of paper is.
Additional information

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 Sir , Please assign this issue to me

Go ahead @Khushi-Pushkar


🐞 Bug (Simulator 500 error)

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I'm recieving a 500 error.
Steps To Reproduce

Click on simulator icon

Expected Behavior
Open the simulator.
Screenshots
No response
Device Information [optional]
- OS:
- Browser:
- version:

Additional context
No response
Are you working on this issue?
No

@zzz-creator can you pls. explain the issue more. Like which kind of bugs you are facing?

Hey @DhairyaMajmudar , I am new to open source can you please tell how can I contribute to this amazing repository.

Hey @DhairyaMajmudar , I am new to open source can you please tell how can I contribute to this amazing repository.

Hi @Mayank77maruti thanks for showing your interest. You can start contributing by solving good first issues also you can join the slack community to connect with other contributors and mentors.

It was a production issue and fixed !
If anyone facing the issue anymore, open the issue.


RazorEngine.Core.NetCore in a Linux docker container: 'COM Interop is not supported on this platform.' #539

RazorEngine.Core.NetCore in a Linux docker container: 'COM Interop is not supported on this platform.' #539

Is it fixed?

no fixed..


chore: use release please

#59
Standardise the release/development experience across the openfeature SDKs by using release-please.

Remove usage of minver
Remove dotnet releaser
Setup release please and use dotnet-yoshi type
Add action to lint commit messages

Codecov Report

Merging #61 (98f5448) into main (a6e5ccb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   94.44%   94.44%
=======================================
  Files          18       18
  Lines         432      432
  Branches       36       36
=======================================
  Hits          408      408
  Misses         13       13
  Partials       11       11

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for doing this @benjiro!
This makes sense to me. My initial ideas was to use the "simple" strategy and annotate versions in the .proj files like so, but if the dotnet-yoshi strategy works as it seems to, I think it's a good way to go.
Thanks again! Maybe we can do a fix release that updates something trivial (like a comment typo or something) and test all works as expected.

@toddbaert How does the simple strategy work? Is it up to the end user to increment it or does release-please know how to grep pom.xml and update it?

It looks for the <!--x-release-please-version --> (or // x-release-please-version, # release-please-version) in other file types, depending on the comment style for that language, and increments it. There's nothing manual. The release plz action already "knows" the version, the annotation just tells it what field to update. You can even update readmes that way: https://github.com/open-feature/java-sdk/blob/f8d62eea2f31ccf42bbafa3b591a83383bd6e10f/README.md?plain=1#L63-L72. The only other think you need to do is mention these files in the config.
I'm pretty sure you can use these annotations in any strategy though. The only difference with the more intelligent strategies is they "know" where to update in many cases.
I don't think one solution is better than the other, unless you can think of some reason way.


closing after saving the parameters

Describe the bug
after a modification of the parameters and a click on the button, the application is immediately closed with deletion of the download list
To Reproduce
Steps to reproduce the behavior:

completed tasks are present in the list

I modify a parameter to File/Preference

I click on:

then close the download manager, forced to reopen the application and I see that the tasks have been deleted

Environment (please complete the following information):

OS & Version: Windows 10 x64
Motrix Version: current version 1.1.3
Installation package type: Motrix-Setup-1.1.3.exe

It also occurs in the AppImage version (for Linux).

Motrix's built-in download engine is aria2 (it cleans up the completed downloads regularly), and the aria2 process is restarted after saving the settings, so the record is gone. It would be a bit cumbersome if Motrix itself maintains a list of completed tasks.

The new version of v1.4.x configuring preferences no longer needs to restart the app, you can update to the latest version.
https://github.com/agalwood/Motrix/releases


Remove TypeScript

By all accounts, TypeScript has been a big success for Microsoft. I've seen loads of people sparkle with joy from dousing JavaScript with explicit types that can be checked by a compiler. But I've never been a fan. Not after giving it five minutes, not after giving it five years. So it's with great pleasure that I can announce we're dropping TypeScript from the next big release of Turbo 8.
The fact is that I actually rather like JavaScript. I'd go so far as to say it's my second favorite language after Ruby. Yes, a distant second, but a second none the less. This wasn't always the case. But after we got proper classes in JavaScript, and all the other improvements that flowed since ES6, it's become a real joy to write.

Duplicate of #55655


fix(tile-gallery): fix styles, sizing on TileGalleryItem list

Closes #3196
Summary

Fixes some minor styling issues introduced in Carbon updates

Change List (commits, features, bugs, etc)

adds padding to the item
changes color of description
changes size of overflow menu in story

Acceptance Test (how to verify the PR)

confirm styles in preview match those originally intended here

Regression Test (how to make sure this PR doesn't break old functionality)

no adverse effects of these changes

Things to look for during review

[ ] Make sure all references to iot or bx class prefix is using the prefix variable
[ ] (React) All major areas have a data-testid attribute. New test ids should have test written to ensure they are not changed or removed.
[ ] UI should be checked in RTL mode to ensure the proper handling of layout and text.
[ ] All strings should be translatable.
[ ] The code should pass a11y scans (The storybook a11y knob should show no violations). New components should have a11y test written.
[ ] Unit test should be written and should have a coverage of 90% or higher in all areas.
[ ] All components should be passing visual regression test. For new styles or components either a visual regression test should be written for all permutations or the base image updated.
[ ] Changes or new components should either write new or update existing documentation.
[ ] PR should link and close out an existing issue

Story preview link is not working, assuming this this is the link
https://deploy-preview-3263--carbon-addons-iot-react.netlify.app/?path=/story/1-watson-iot-tilegallery--tile-gallery-item-list

When the menu is open but the mouse is not over the actual tile the menu options container gets slightly misaligned. This also happens in the old version though. I think this is because the whole content of the tile "jumps" on hover.

Code looks fine, the hover color of the button could probably be fixed for this PR but the jumping of content and misalignment perhaps deserves a separate issue.

@bjornalm Sorry, I missed this review somehow. I've fixed the content jumps and the overflow menu hover color with this latest push.


Dropdown value is setting key instead of text

Any tip on how i could change that?

it is already setting field as key, but if you want to set as text, you can find this file: https://github.com/kmees/formik-office-ui-fabric-react/blob/master/src/FormikDropdown.tsx
And change line 44 from "option!.key" to "option!.text" or implement your own on change function in your component

any idea on how to return both? {key and text} ?


LAB_09c-Implement_Azure_Kubernetes_Service.md.pdf

English:
Enabled
Current Translation:
Enabled
Suggested Translation:
Activé

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Run the bugfix tool and waiting for result. ICMS QUERY

This issue has been fixed, so I closed the PR.


docs: getting started guide 3rd party toolchains fixes

Using 3rd Party Toolchains page find out that warning message
can be moved to the top of the page.
Add Windows example in OneAPI.
Style fixing.
Signed-off-by: Maksim Masalski<EMAIL_ADDRESS>

@tejlmand please take another look

@tejlmand Torsten, I updated PR.


^bio @mention should get mentioned user's roles.

I tried to get another user's bio ^bio @mohit deshwal, but i got my roles instead.

My roles:

Mentioned user roles:

The issue is in /src/commandHandlers/bio.ts line 29: You always get author's roles.
https://github.com/EddieJaoudeCommunity/EddieBot/blob/e41438aa7a17dd0eceeab985957e2aafce3532da/src/commandHandlers/bio.ts#L29

Oh 🤦♂ , good spot. I will add a bug label. Thank you 👍


feat: add value attribute to gcds-button

Summary | Résumé
On user request: Add value attribute to gcds-button.
Zenhub ticket

Looking good! We will need to add one more thing to get this fully functional.
On line 187 we have some if (this.name) logic, we will need to add some additional logic for the new value property as well. This will make sure the value is on the submit button.

Looking good! We will need to add one more thing to get this fully functional.
On line 187 we have some if (this.name) logic, we will need to add some additional logic for the new value property as well. This will make sure the value is on the submit button.

Looking good! We will need to add one more thing to get this fully functional.
On line 187 we have some if (this.name) logic, we will need to add some additional logic for the new value property as well. This will make sure the value is on the submit button.

@ethanWallace good catch, thank you! Updated the PR.


Recognition of user's language issue

FIrst of all i have to tell that seems like there's an errors in sample localization project: https://github.com/aspnet/Docs/tree/master/aspnetcore/fundamentals/localization/sample/Localization, when trying convention resolving i found that InfoController localization not working until you place resources in Resources/StarterWeb/Controllers/…. Folder where it searching them for.
Now to my main issue: I’ve tried to add  all logic to my project from that sample project where everything’s seems working after fix I mentioned. Project is on net core 2.1 . I just copied all configuration stuff as it was. What is working: Configuring, injecting localization service to controller, finding resources. What’s not working: resolving locale is broken, setting locale in query string, setting locale in “Accept-Language” (haven’t tried cookies) – not working. Strange thing is that as result I’m always getting Russian locale – my pc is on Russian, but I’m not sending it in any place and not getting it in headers , can confirm that incoming request header is correct.
Some facts:

redefining providers didnt help:
options.RequestCultureProviders.Clear();
options.RequestCultureProviders.Insert(0, new AcceptLanguageHeaderRequestCultureProvider());
Custom provider also seems to be ignored, I believe lambda function should be called on each request and it’s not

Upgrading to 2.2 not helping, downgrading to 2.0 also.

Different types of naming “fr”, “fr-FR” , different type of resource naming not helping.

no errors in _missingManifestCache, seems like no problems with files itself and resolving them

Tried postman and fiddler

Please tell where to investigate. Also please tell how can I get more info on which exactly locale is chosen and how it happened.	Tell if I need to provide more info.

BTW I logged a Docs issue for the first item above: https://github.com/aspnet/Docs/issues/8323

@hishamco sorry, if this question addressed to me i didn't got it :(

Modified sample solution works fine - if i place all in correct folder resources/StarterWeb/controllers/InfoController.fr-FR.resx and if then i send Accept-Language = "fr-FR" it takes correct resource, also default locale is working. But in my solution all of this not working , it ignores my headers and always teking russian (wich especcially weird) localization.
I can see any difference in my setup code, here it is:
  services.AddLocalization(options => options.ResourcesPath = "Resources");
var supportedCultures = new[]             {                 new CultureInfo("en-US"),                 new CultureInfo("en-AU"),                 new CultureInfo("en-GB"),                 new CultureInfo("en"),                 new CultureInfo("es-ES"),                 new CultureInfo("es-MX"),                 new CultureInfo("es"),                 new CultureInfo("fr-FR"),                 new CultureInfo("fr"),                 new CultureInfo("ru-RU")             };             app.UseRequestLocalization(new RequestLocalizationOptions             {                 DefaultRequestCulture = new RequestCulture("en-US"),                 // Formatting numbers, dates, etc.                 SupportedCultures = supportedCultures,                 // UI strings that we have localized.                 SupportedUICultures = supportedCultures             });
my project name is AgriSync.Api, controller namespace is AgriSync.Api.Controllers, name is UserAccountController
and i have corresponding resources in folder Resources/Controllers/
UserAccountController.fr.resx, UserAccountController.ru-RU.resx, UserAccountController.en-US.resx
Im injecting localizer using ctor injection:
public UserAccountController(IUserAccountService accounts, IStringLocalizer<UserAccountController> localizer)         {             _accounts = accounts;             this.localizer = localizer;         }
and it also working fine.
But when i'm trying to send same header like in sample it just ignores it and gining me russian strings. And even default is not working (when i'm setting default to en-US and not sending a header.
I just wanted to know maybe i can debug it somehow and go step by step though this localization pipeline?
PS: sorry for formatting, i have no clue why it's not working.

As I mentioned above, share a minimal repo to reproduce your issue, so we can investigate what's going on

FYI @Unders0n I already updated the localization sample

@hishamco i've updated my solution and reconfigured localization part and it now working! Dunno what exactly helped but locale resolving correctly now, so issue can be closed, thanks.

Happy to hear that, regarding the locale name may it differ if you app support many French cultures fr-FR, fr-CA .. etc
FYI you can use fallback option, so all the sub cultures fr-FR and fr-CA will fallback into fr.resx

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.
Thanks @hishamco!


Scan worker dont finish successfully even with one picture

All detailed information are in the attached file to understand and to reproduce the issue (.env .yml and the whole librephotos directory). 2023/01/16 dev pull is used.
When I scan a picture, the worker "scan photo" ends without green tag but with red circle. The ownphotos log  terminates with
ERROR : An error occurred:  Traceback (most recent call last):   File "/code/api/directory_watcher.py", line 382, in scan_photos     existing_photo._check_files()   File "/code/api/models/photo.py", line 668, in _check_files     for file in self.files: TypeError: 'ManyRelatedManager' object is not iterable 2023-01-16 19:44:29,693 : directory_watcher.py : scan_photos : 390 : INFO : Added 1 photos 2023-01-16 19:44:29,835 : face_classify.py : train_faces : 243 : INFO : No labeled faces found
However, the picture looks to be correctly scanned.
Hope this helps.
LP issue.zip

Looks corrected with today pool... The only update seems to be redis...

Well, I close and will have a look if it comes again.


fix: support rhm and azure cloud providers and check quota on marketp…

Support rhm and azure cloud providers. Also check Quota for marketplace billing models.
Verification steps:

Additional unit tests should pass
Creation of rhm marketplace instances should succeed when using an organization that has a cloud account linked to it

ping @davidffrench

Left one minor comment but my knowledge in this are pretty basic so I'll let others review and approve the functionality.
Ping @miguelsorianod and @pawelpaszki as they worked on this recent.

one comment added. otherwise LGTM


Adds Intent property to Booking details to improve logging

Fixes #1346
Added Intent property to booking details and update LuisHelper code to populate the property with the intent name from LUIS.

@gabog can you also make the changes in:
generators/dotnet-templates/Microsoft.BotFramework.CSharp.CoreBot/content
generators/vsix-vs-win/BotBuilderVSIX-V4/UncompressedProjectTemplates/CoreBot/

@sgellock, done, let me know if I missed anything.

@gabog - per our discussion in the stand-up meeting today, we won't be taking this PR.


[ci skip] [cf admin skip] NO_CI Update dependencies using grayskull

Helps to automate the dependency pin updates. Xref https://github.com/conda-forge/conda-forge.github.io/blob/4eba0f0a24eb132163394fbf50c19224c503d657/src/maintainer/conda_forge_yml.rst?plain=1#L131

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Similar to https://github.com/conda-forge/dvc-feedstock/pull/378

Thank you!


Create self test for the data in db

#1118, #1549 and #1704 got me thinking that it would be good to set up some way to self test the data in the db.
If we do incremental updates in #1549 it would be good to run the rebuild from time to time to check if the incremental updates reflect correctly on all the situations. One special case of this is #1118.
The problem in #1704 could be checked for if we could encode application logic into the test like after user is orphaned/absorbed it takes part in no transactions. There may be others that cannot be expressed as a constraint in the db.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1337942-create-self-test-for-the-data-in-db?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

Closing. I had planned to add the extra checks, but we'd have to either rewrite history or hard code exceptions to prevent them from failing, and I don't like either of those solutions.


prevent scrollbar from flickering

animating a container and not the document body prevents that scrollbar flickering when the animation ends.

Thank you! Down with flickering!


Markdown is displayed differently in docs

I commented a method like such.
# - cat
# - dog
def animal
end

Using crystal docs, the docs generated shows that the markdown is displayed differently. This is how it looks like in the "Instance Method Summary".

However, it looks like this in the "Instance Method Detail".

$ crystal -v
Crystal 0.29.0 (2019-06-06)

LLVM: 6.0.1
Default target: x86_64-pc-linux-gnu

OS: Manjaro Linux x86_64
Kernel: 4.19.56-1-MANJARO

so the issue is basically markdown lists are not supported in    instance method summary section?
is this a bug or intended?

@cheeze2000 The summary only show the first line/sentence.  If anything I'd say this is an issue with the logic that does that.  However I don't think it should show the list, as the summary is only a single line.
If anything (and arguably better) can do something like
# Returns the animal associated with `self`.
#
# - cat
# - dog
def animal

You're right. There is a reason why it is called the summary. Thank you for the help.


Request error unhandled 500 - missing global references

Environment

Operating System: Darwin
Node Version:     v18.5.0
Nuxt Version:     3.3.1
Nitro Version:    2.3.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      typescript, debug, css, modules, build, vite, pwa, googleFonts
Runtime Modules:
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-kxynpm-jgrldv?file=package.json
Describe the bug
When upgrading from nuxt 3.3.1 to 3.3.2 my app using manaco-editor stopped working (it crashes before loading anything sensible).
[nuxt] [request error] [unhandled] [500] navigator is not defined                                 22:35:36
  at eval (./node_modules/monaco-editor/esm/vs/base/browser/browser.js:112:19)
  at async ViteNodeRunner.directRequest (file://./node_modules/vite-node/dist/client.mjs:332:5)
  at async ViteNodeRunner.cachedRequest (file://./node_modules/vite-node/dist/client.mjs:176:14)
  at async ViteNodeRunner.dependencyRequest (file://./node_modules/vite-node/dist/client.mjs:224:14)
  at async eval (./node_modules/monaco-editor/esm/vs/base/browser/dom.js:5:31)
  at async ViteNodeRunner.directRequest (file://./node_modules/vite-node/dist/client.mjs:332:5)
  at async ViteNodeRunner.cachedRequest (file://./node_modules/vite-node/dist/client.mjs:176:14)
  at async ViteNodeRunner.dependencyRequest (file://./node_modules/vite-node/dist/client.mjs:224:14)
  at async eval (./monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.js:16:31)
  at async ViteNodeRunner.directRequest (file://./node_modules/vite-node/dist/client.mjs:332:5)

I connected the node debugger to see what's happening behind the scenes but I have trouble understanding where the problem (navigator not being available) originates from. Here's a snippet of the code it breaks on. There's no window or navigator available when it breaks.
const userAgent = navigator.userAgent; // because of this
export const isFirefox = (userAgent.indexOf('Firefox') >= 0);
export const isWebKit = (userAgent.indexOf('AppleWebKit') >= 0);
export const isChrome = (userAgent.indexOf('Chrome') >= 0);
export const isSafari = (!isChrome && (userAgent.indexOf('Safari') >= 0));
export const isWebkitWebView = (!isChrome && !isSafari && isWebKit);
export const isElectron = (userAgent.indexOf('Electron/') >= 0); // It breaks here
export const isAndroid = (userAgent.indexOf('Android') >= 0);

I am at a loss to debug this down any further. I'm guessing either vite some something to the global scope of nuxt is doing something on the server side of things.
Additional context
In my app I have also tried surrounding the component with <ClientOnly> tags but that did not change anything.
Logs
No response

I think the issue is that you are importing code from monaco that relies on being run in a browser environment.  You can try this instead:
https://stackblitz.com/edit/github-kxynpm-svrafv


JSR 303 Validation for generated Models

It would be nice to have some validation for defined Models (Schema Objects). Swagger uses the JSON Schema Validation as Validation Specification.
This codegen Plugin cloud map the defined validation into JSR 303: Bean Validation. For example:

Swagger
JSR 303

required
@NotNull

maximum
@Max

minimum
@Min

pattern
@Pattern

It is implemented (without 'pattern'). Please try out. Use true in the pom.
0.4.9

Hi again!
Using version 0.4.12, still getting
'''
[INFO] Generate for language : jaxrsinterfaces
[INFO] JSR 303 enabled ...
[INFO] but not supported by jaxrsinterfaces
'''
because of this probles and issue related to swagger-codegen (you may see https://github.com/swagger-api/swagger-codegen/issues/443#issuecomment-124129718 ; guys advices to test their develop_2.0 branch to check if issue still exists; but even it not exists, it need to be released first and then i think version of codegen used by your plugin must also be updated as well...) 'contract validation' implemented as set of ugly if blocks

Is there a way yet to generate bean validation annotations on the generated pojos?

@jkerak I would say it is (without 'pattern'). See here for a configuration-example. Does not work for JAX-RS, only implemented for Spring-***-templates.
Let me know how it worked for you (or if not open an issue and paste some stacktraces if possible)

I ran that code sample and did not find it working. In the ApplicationDetails swagger definition, name is defined with minLength: 1. When I ran the integration tests and looked at the resulting ApplicationDetails.java, I expected to see an @Min annotation on the name property, but it is not there.


(Ansible) Running operator locally with generate-playbook flag fails with newly scaffolded project

Bug Report
See title. Thank you for your time.
/tmp
❯ operator-sdk new foo-operator --api-version=foo.bar.com/v1alpha1 --kind=Foo --type=ansible --generate-playbook
INFO[0000] Creating new Ansible operator 'foo-operator'.
INFO[0000] Created deploy/service_account.yaml
INFO[0000] Created deploy/role.yaml
INFO[0000] Created deploy/role_binding.yaml
INFO[0000] Created deploy/crds/foo.bar.com_v1alpha1_foo_cr.yaml
INFO[0000] Created build/Dockerfile
INFO[0000] Created roles/foo/README.md
INFO[0000] Created roles/foo/meta/main.yml
INFO[0000] Created roles/foo/files/.placeholder
INFO[0000] Created roles/foo/templates/.placeholder
INFO[0000] Created roles/foo/vars/main.yml
INFO[0000] Created molecule/test-local/playbook.yml
INFO[0000] Created roles/foo/defaults/main.yml
INFO[0000] Created roles/foo/tasks/main.yml
INFO[0000] Created molecule/default/molecule.yml
INFO[0000] Created build/test-framework/Dockerfile
INFO[0000] Created molecule/test-cluster/molecule.yml
INFO[0000] Created molecule/default/prepare.yml
INFO[0000] Created molecule/default/playbook.yml
INFO[0000] Created build/test-framework/ansible-test.sh
INFO[0000] Created molecule/default/asserts.yml
INFO[0000] Created molecule/test-cluster/playbook.yml
INFO[0000] Created roles/foo/handlers/main.yml
INFO[0000] Created watches.yaml
INFO[0000] Created deploy/operator.yaml
INFO[0000] Created .travis.yml
INFO[0000] Created molecule/test-local/molecule.yml
INFO[0000] Created molecule/test-local/prepare.yml
INFO[0000] Generated CustomResourceDefinition manifests.
INFO[0000] Generating Ansible playbook.
INFO[0000] Created playbook.yml
INFO[0000] Project creation complete.

/tmp
❯ cd foo-operator

/tmp/foo-operator
❯ operator-sdk run --local --verbose
DEBU[0000] Debug logging is set
INFO[0000] Running the operator locally in namespace default.
{"level":"info","ts":1583538187.728398,"logger":"cmd","msg":"Go Version: go1.13.3"}
{"level":"info","ts":1583538187.7284732,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1583538187.7284906,"logger":"cmd","msg":"Version of operator-sdk: v0.15.2"}
{"level":"info","ts":1583538187.7285728,"logger":"cmd","msg":"Watching namespace.","Namespace":"default"}
{"level":"info","ts":1583538189.508781,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"<IP_ADDRESS>:8383"}
{"level":"info","ts":1583538189.5094888,"logger":"watches","msg":"Environment variable not set; using default value","envVar":"WORKER_FOO_FOO_BAR_COM","default":1}
{"level":"info","ts":1583538189.509534,"logger":"watches","msg":"Environment variable not set; using default value","envVar":"ANSIBLE_VERBOSITY_FOO_FOO_BAR_COM","default":2}
{"level":"error","ts":1583538189.5095687,"logger":"watches","msg":"Invalid ansible path for GVK: foo.bar.com/v1alpha1, Kind=Foo","error":"playbook: /opt/ansible/playbook.yml was not found","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/ansible/watches.(*Watch).Validate\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/watches/watches.go:150\ngithub.com/operator-framework/operator-sdk/pkg/ansible/watches.Load\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/watches/watches.go:215\ngithub.com/operator-framework/operator-sdk/pkg/ansible.Run\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/run.go:104\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.runLocalArgs.runAnsible\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/local.go:131\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.runLocalArgs.run\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/local.go:67\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.NewCmd.func1\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/cmd.go:87\ngithub.com/spf13/cobra.(*Command).execute\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914\ngithub.com/spf13/cobra.(*Command).Execute\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864\nmain.main\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/main.go:39\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}
{"level":"error","ts":1583538189.5097592,"logger":"watches","msg":"Watch with GVK foo.bar.com/v1alpha1, Kind=Foo failed validation","error":"playbook: /opt/ansible/playbook.yml was not found","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/ansible/watches.Load\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/watches/watches.go:217\ngithub.com/operator-framework/operator-sdk/pkg/ansible.Run\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/run.go:104\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.runLocalArgs.runAnsible\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/local.go:131\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.runLocalArgs.run\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/local.go:67\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.NewCmd.func1\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/cmd.go:87\ngithub.com/spf13/cobra.(*Command).execute\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914\ngithub.com/spf13/cobra.(*Command).Execute\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864\nmain.main\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/main.go:39\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}
{"level":"error","ts":1583538189.5098624,"logger":"cmd","msg":"Failed to load watches.","Namespace":"default","error":"playbook: /opt/ansible/playbook.yml was not found","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/ansible.Run\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/run.go:106\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.runLocalArgs.runAnsible\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/local.go:131\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.runLocalArgs.run\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/local.go:67\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.NewCmd.func1\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/cmd.go:87\ngithub.com/spf13/cobra.(*Command).execute\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914\ngithub.com/spf13/cobra.(*Command).Execute\n\tpkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864\nmain.main\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/main.go:39\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}
FATA[0001] Failed to run operator locally: playbook: /opt/ansible/playbook.yml was not found

What did you expect to see?
N/A
What did you see instead? Under which circumstances?
See error above.
Environment
❯ operator-sdk version
operator-sdk version: "v0.15.2", commit: "ffaf278993c8fcb00c6f527c9f20091eb8dd3352", go version: "go1.13.3 linux/amd64"

Kubernetes version information:

❯ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.7-gke.29", GitCommit:"bc5d118f20de0a38882d83b51cebf42c8dee179f", GitTreeState:"clean", BuildDate:"2019-12-16T19:14:08Z", GoVersion:"go1.12.11b4", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

GKE on-prem

Are you writing your operator in ansible, helm, or go?

Ansible
Possible Solution
Update the playbook field when developing locally and undo the change before building/committing.
watches.yaml:
---
- version: v1alpha1
  group: foo.bar.com
  kind: Foo
  playbook: /my/local/absolute/path/to/the/playbook.yml

Additional context
PR #2273 appears to try to address this issue, but perhaps focused on the role field in watches. The docs seem to suggest that a relative playbook path is possible, I'm running into the error below:
FATA[0001] Failed to run operator locally: playbook path must be absolute

Thank you for raise that.
This scenario is solved in the master branch with :

Added support for relative Ansible roles and playbooks paths in the Ansible operator's file. (#2273)

Then, it will be available in the next release.
Note that until there to run locally you need have the /opt/ansbile/playbooks locally. Check its documentation for the tag used by yourself. For example: for 0.15.x here

Following the test performed with the master:

Create the project:

$ operator-sdk new foo-operator --api-version=foo.bar.com/v1alpha1 --kind=Foo --type=ansible --generate-playbook
INFO[0000] Creating new Ansible operator 'foo-operator'.
INFO[0000] Created deploy/service_account.yaml
INFO[0000] Created deploy/role.yaml
INFO[0000] Created deploy/role_binding.yaml
INFO[0000] Created deploy/crds/foo.bar.com_v1alpha1_foo_cr.yaml
INFO[0000] Created build/Dockerfile
INFO[0000] Created roles/foo/README.md
INFO[0000] Created roles/foo/meta/main.yml
INFO[0000] Created roles/foo/files/.placeholder
INFO[0000] Created roles/foo/templates/.placeholder
INFO[0000] Created roles/foo/vars/main.yml
INFO[0000] Created molecule/test-local/playbook.yml
INFO[0000] Created roles/foo/defaults/main.yml
INFO[0000] Created roles/foo/tasks/main.yml
INFO[0000] Created molecule/default/molecule.yml
INFO[0000] Created molecule/default/prepare.yml
INFO[0000] Created molecule/default/playbook.yml
INFO[0000] Created molecule/default/verify.yml
INFO[0000] Created roles/foo/handlers/main.yml
INFO[0000] Created watches.yaml
INFO[0000] Created deploy/operator.yaml
INFO[0000] Created .travis.yml
INFO[0000] Created molecule/test-local/molecule.yml
INFO[0000] Created molecule/test-local/prepare.yml
INFO[0000] Created molecule/test-local/verify.yml
INFO[0000] Created molecule/cluster/molecule.yml
INFO[0000] Created molecule/cluster/create.yml
INFO[0000] Created molecule/cluster/prepare.yml
INFO[0000] Created molecule/cluster/playbook.yml
INFO[0000] Created molecule/cluster/verify.yml
INFO[0000] Created molecule/cluster/destroy.yml
INFO[0000] Created molecule/templates/operator.yaml.j2
INFO[0000] Generated CustomResourceDefinition manifests.
INFO[0000] Generating Ansible playbook.
INFO[0000] Created playbook.yml
INFO[0000] Project creation complete.

Apply resources

$ kubectl apply -f deploy/role.yaml
role.rbac.authorization.k8s.io/foo-operator created
$ kubectl apply -f deploy/role_binding.yaml
rolebinding.rbac.authorization.k8s.io/foo-operator created
$ kubectl apply -f deploy/service_account.yaml
$ kubectl apply -f deploy/crds/foo.bar.com_foos_crd.yaml
customresourcedefinition.apiextensions.k8s.io/foos.foo.bar.com created

Running locally

 $ operator-sdk run --local --verbose
DEBU[0000] Debug logging is set
INFO[0000] Running the operator locally in namespace default.
{"level":"info","ts":1583764543.059444,"logger":"cmd","msg":"Go Version: go1.13.3"}
{"level":"info","ts":1583764543.059524,"logger":"cmd","msg":"Go OS/Arch: darwin/amd64"}
{"level":"info","ts":1583764543.059529,"logger":"cmd","msg":"Version of operator-sdk: v0.15.0+git"}
{"level":"info","ts":1583764543.06002,"logger":"cmd","msg":"Watching single namespace.","Namespace":"default"}
{"level":"info","ts":1583764543.370244,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"<IP_ADDRESS>:8383"}
{"level":"info","ts":1583764543.370497,"logger":"watches","msg":"Environment variable not set; using default value","envVar":"WORKER_FOO_FOO_BAR_COM","default":1}
{"level":"info","ts":1583764543.370528,"logger":"watches","msg":"Environment variable not set; using default value","envVar":"ANSIBLE_VERBOSITY_FOO_FOO_BAR_COM","default":2}
{"level":"info","ts":1583764543.370562,"logger":"cmd","msg":"Environment variable not set; using default value","Namespace":"default","envVar":"ANSIBLE_DEBUG_LOGS","ANSIBLE_DEBUG_LOGS":false}
{"level":"info","ts":1583764543.370569,"logger":"ansible-controller","msg":"Watching resource","Options.Group":"foo.bar.com","Options.Version":"v1alpha1","Options.Kind":"Foo"}
{"level":"info","ts":1583764543.370728,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1583764543.370778,"logger":"leader","msg":"Skipping leader election; not running in a cluster."}
{"level":"info","ts":1583764543.3708,"logger":"cmd","msg":"Could not generate and serve custom resource metrics","Namespace":"default","error":"namespace not found for current environment"}
{"level":"info","ts":1583764543.6735501,"logger":"metrics","msg":"Skipping metrics Service creation; not running in a cluster."}
{"level":"info","ts":1583764543.975488,"logger":"cmd","msg":"Could not create ServiceMonitor object","Namespace":"default","error":"no ServiceMonitor registered with the API"}
{"level":"info","ts":1583764543.9755142,"logger":"cmd","msg":"Install prometheus-operator in your cluster to create ServiceMonitor objects","Namespace":"default","error":"no ServiceMonitor registered with the API"}
{"level":"info","ts":1583764543.97665,"logger":"proxy","msg":"Starting to serve","Address":"<IP_ADDRESS>:8888"}
{"level":"info","ts":1583764543.976845,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
{"level":"info","ts":1583764543.9768891,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"foo-controller","source":"kind source: foo.bar.com/v1alpha1, Kind=Foo"}
{"level":"info","ts":1583764544.082061,"logger":"controller-runtime.controller","msg":"Starting Controller","controller":"foo-controller"}
{"level":"info","ts":1583764544.082103,"logger":"controller-runtime.controller","msg":"Starting workers","controller":"foo-controller","worker count":1}
{"level":"info","ts":1583764570.430589,"logger":"runner","msg":"Ansible-runner exited successfully","job":"8674665223082153551","name":"example-foo","namespace":"default"}

--------------------------- Ansible Task Status Event StdOut  -----------------

PLAY RECAP *********************************************************************

-------------------------------------------------------------------------------

Closing this one as sorted out. Please, let us know if you think that it should be re-opened for any reason.

Can a release be cut that includes #2273? Thanks for the thorough response.

HI @marcoderama,
The next release will include  #2273, however, before that you can do as described in the docs for the roles in order to run locally or use master if you wish.
We cannot give an ETA, however, the changelog shows have a lot of things done already in the Unreleased section so probably very soon a new release 0.16 will be done.


SCM example is missing data files

When running radiative_equilibrium_rrtmg.py in examples, I get this traceback:
Traceback (most recent call last):
  File "radiative_equilibrium_rrtmg.py", line 32, in <module>
    tp_profiles = np.loadtxt('tp_profiles').transpose()
  File "/home/disk/eos4/mcgibbon/anaconda/lib/python2.7/site-packages/numpy/lib/npyio.py", line 858, in loadtxt
    fh = iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: 'tp_profiles'

It seems the data files for this example are missing from the repo. This could be fixed alongside #2.

Fixed.


feat: add Gemma-2-9B-it reports

The reports are here. The JSON file is not because I am unsure what I need to run to generate it, since collect_scores.py is obsolete.
The model showed some refusal, mostly for the safety questions and for the conversion questions (SMILES to name and name to SMILES).

The JSON file is not because I am unsure what I need to run to generate it, since collect_scores.py is obsolete.
@MrtinoRG
combine_scores_for_model and load_all_reports needs fixes, to incorporate dropping of all_correctfrom the reports.

Let me try to fix them, and I'll incorporate them into a different PR

Let me try to fix them, and I'll incorporate them into a different PR

let me know if you need help with this

could you perhaps also add the runscript in gemma-2-9b-it?


Support for OAuth Authentication

Per this blog, EWS will EOL Basic Authentication. Before that, the OAuth support should be included:
https://blogs.technet.microsoft.com/exchange/2018/07/03/upcoming-changes-to-exchange-web-services-ews-api-for-office-365/

The CS sdk as per this path(https://docs.microsoft.com/en-us/outlook/add-ins/get-attachments-of-an-outlook-item) already has the Oauth service.
Would u confirm if it has been added to Java SDK?
If not, How as a client application would get username and password from a Microsoft outlook addin


Redux-form not working

Hello guys ! I'm currently implementing redux-form to manage my form states and looks like there are some conflicts with react-boilerplate.
Following their http://redux-form.com/6.0.1/docs/GettingStarted.md, here is my code:

import React, { Component } from 'react';
import { Field, reduxForm } from 'redux-form';

class ContactForm extends Component {
  render() {
    const { handleSubmit } = this.props;
    return (
      <form onSubmit={handleSubmit}>

          First Name
          <Field name="firstName" component="input" type="text"/>

          Last Name
          <Field name="lastName" component="input" type="text"/>

          Email
          <Field name="email" component="input" type="email"/>

        <button type="submit">Submit</button>
      </form>
    );
  }
}

// this lines breaks -> ERROR: TypeError: (0 , _toPath3.default) is not a function(…)
ContactForm = reduxForm({
  form: 'contact' // a unique name for this form
})(ContactForm);

export default ContactForm;

I have implemented the exact same code in a clean React redux project and didn't have this error.
Looks like it's related to this specific boilerplate setup.
Does anyone have an idea?
Best,

https://github.com/mxstbr/react-boilerplate/issues/868


About Me

About Me
User Story
AS AN employer looking for candidates with experience building single-page applications
I WANT to view a potential employee's deployed React portfolio of work samples
SO THAT I can assess whether they're a good candidate for an open position
Acceptance Criteria
GIVEN a single-page application portfolio for a web developer
WHEN I am presented with the About Me section
THEN I see a recent photo or avatar of the developer and a short bio about them

This has been completed


which types of images could be better recognised using KAN approach?

Hey guys, need your help. Do you have any ideas on it?

That is not a very well posed question 🤔 what do you mean?


Can't find where the  elements come from

Where is the DOCTYPE and header content generated from?

The index.html in build folder. npm run server or npm run build will just generate app.js and style.css.

app.js and style.css.