Azure OpenAI On Your Data - Invalid field mapping in Open AI Studio Sandbox

I am setting up Azure OpenAI On Your Data and trying to connect my data via Azure AI Search index. I have a couple of issues with index configuration:

I cannot skip field mapping, otherwise I am getting following error in Sandbox chat:
Validation error at #/data_sources/0/AzureCognitiveSearch/parameters/fieldsMapping/contentFields/0: Input should be a valid string_
When I setup "Content" field mapping and add more than one field I am having following error in Sandbox chat:
An error occurred when calling Azure Cognitive Search: AzureSearch: Wrong content columns provided. Please ensure your content columns are retrievable.Cannot find the following columns in result set: field1,field2

I looked into request traces in a browser and looks like Completions API (2024-02-15-preview) expects array to be received, but Open AI Studio Sandbox pass it as plain string with comma delimiter. Tried to reproduce with valid value (array of two fields) in Postman and it worked. Looks like defect.
Similar issue posted here: https://techcommunity.microsoft.com/t5/ai-azure-ai-services/issue-with-multiple-index-data-field-mapping-in-azure-ai-studio/m-p/4157288/highlight/false#M831
Is it limitations of only single content field mapping and it should be listed in documentation or it is Azure Open AI defect?

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

ID: faad669f-1571-ab29-0a11-9e5156c98f85
Version Independent ID: 96132c07-1e59-35fc-1926-55432807f1eb
Content: Azure OpenAI On Your Data Python & REST API reference - Azure OpenAI
Content Source: articles/ai-services/openai/references/on-your-data.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

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

Thanks @TPavanBalaji!
A little bit extra context:
I can also confirm that I can use multiple content fields mapping in Azure.AI.OpenAI SDK for .NET (NuGet, 1.0.0-beta.17), in addition to successful test with Postman. Looks like issue only persist in Azure AI Studio Chat playground.

@stashinskii
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hey guys, i wanted to ask if there is any new insight that you can share? I am currently having the same issue as OP.
When i skip field mapping i get Validation error at #/data_sources/0/AzureCognitiveSearch/parameters/fieldsMapping/contentFields/0: Input should be a valid string_ and when i dont skip it, i get An error occurred when calling Azure Cognitive Search: AzureSearch: Wrong content columns provided. Please ensure your content columns are retrievable.Cannot find the following columns in result set: field1,field2

Thanks for reporting this. I have flagged this issue for the engineering team to take a look.

We are closing down GitHub Issues as feedback mechanism for Azure docs so we are closing out all open issues and shifting the tracking to other internal systems. I have flagged this issue for engineering and asked that they respond to this related item here which will remain open: https://techcommunity.microsoft.com/t5/ai-azure-ai-services/issue-with-multiple-index-data-field-mapping-in-azure-ai-studio/m-p/4157288/highlight/false#M831
For faster resolution you also can always open a support case.


Introduce an integration testing framework

Builds on https://github.com/AleoHQ/snarkOS/pull/1285, including further changes outlined in https://github.com/AleoHQ/snarkOS/pull/1285#issuecomment-968844926.
This PR proposes a basic framework for integration tests (concentrating on the network first), including a thin/synthetic node implementation the full snarkOS node can be tested with/against.
Even though the synthetic node already works and is able to communicate with the full snarkOS node, there are still some wrinkles around the test and node setup that need to be ironed out, so not all of the tests are enabled yet. It would be best to agree on the overall design before proceeding.

great points, @niklaslong

Rebased.

The new tests now pass when run individually; I detected some issue with task accounting, so I temporarily disabled it.

Can we keep block locators in its original place? Alternatively, I can move it to snarkVM so it is out of the way here.

I would prefer Environment remain in a primary crate here. It is not "external" to anything here

I would prefer Environment remain in a primary crate here. It is not "external" to anything here

I wanted to propose this "split" early on (as it might become more difficult with time), but in general, it's a matter of being able to build outside node (e.g. a dedicated crawler) and RPC implementations faster, without having to build entire snarkOS. The term "external" refers to the fact that these are (except for RPC, which I left for later) objects facing "the external world", i.e. exposed to the network.
I can revert these changes for now, but this is a feature that had been proposed before and which provides clear benefits for the ecosystem, so I would recommend considering it for the future.

Rebased and addressed most comments.

Rebased and ready for re-review.

Applied review suggestions by @niklaslong.

Superseded by https://github.com/AleoHQ/snarkOS/pull/1311.


Add NPF post creation method

Starting in 4.0, legacy post creation will be deprecated in favor of NPF post creation. We need to add support for NPF post creation.

It seems like media uploads via the NPF post creation endpoint don't currently work: https://github.com/tumblr/docs/issues/88
That's blocked on Tumblr API fixes. I suppose we can still introduce an NPF post creation method without any special handling for media.


Add support for --no-start push option

cf push supports a --no-start option. The CF Concourse Resource
should support this as well.
Unfortunately this option is unsupported by the zero-downtime-push
feature of autopilot, which complicates the implementation and tests a
bit.
Signed-off-by: Navdeep Pama<EMAIL_ADDRESS>

@klakin-pivotal Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@klakin-pivotal Thank you for signing the Contributor License Agreement!

Would you mind providing some context for this? What's the utility in pushing in CI without starting it? Is it started as part of some later step?

Is it started as part of some later step?

Yes. The use case is for manually-triggered failover as part of disaster recovery. The idea is that all you need to do to activate the failover instance is a cf start.

Another use case is pushing applications that only run as tasks.  There are other problems in CF around staging but in the future the hope would be you could push an application that would then be scheduled to run on a cron job but not be running all of the time.


Geometric zoom

Like the comparison series, components that draw zoomable elements should support geometric zooming.
See also #17

Superseded by #216


[Bug] Can't run as normal user

Microsoft PowerToys version
0.79.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
PowerToysReport_2024-03-28-18-34-54.zip
I AM NOT SELECT "Always run as administrator"

Use an account with administrator (including local user and Microsoft account)
Then install PowerToys as normal ways.
You can see the title "Administrator: PowerToys Settings"
Try to quit app and restart

✔ Expected Behavior
When quit the app, it can running as normal user
❌ Actual Behavior
App always running in administrator
Other Software
No response

Additionally, this is the screenshot of my app.

If you want more information or screen record, feel free to reply me.

Workaround posted here works for me:
https://github.com/microsoft/PowerToys/issues/14655#issuecomment-1040000527


trying to install zmq extension with no success.. can you please help?

Please let me know your OS version and what you tried.

mac os on the m1 processor.
I installed php using brew install<EMAIL_ADDRESS>and then for the extensions I used  brew tap shivammathur/extensions and in this case brew install<EMAIL_ADDRESS>and brew install<EMAIL_ADDRESS>thank you

ok, zmq is not in this tap. I will add it.

thank you! I appreciate

@george-gl Added zmq.

Please update the tap before installing

brew update

Install zmq

brew install<EMAIL_ADDRESS>

cheers mate! I appreciate! works like a charm 👍


"Access to the requested resource is denied," in some of the functions.

I am working with the API and it works for subscribe and receive notifications, inventory, catalog and orders. But when I try to work with the messages (for example getMessagingActionsForOrder), I get the error :
403 { "errors": [ { "message": "Access to requested resource is denied.", "code": "Unauthorized", "details": "" } ] }
where do I have to give permissions to be able to work with this feature, in AWS AIM or in Seller Central APP?
Thanks

I've got the same error message by a simple catalog item request:
$result = $catalogClient->getCatalogItem('B074Z9QH5F', ['marketplaceIds' => 'A1PA6795UKMFR9']);
$result = $catalogClient->searchCatalogItems(['marketplaceIds' => 'A1PA6795UKMFR9', 'identifiers' => 'B096Y75NSJ']);

Error:
"errors": [
   {
      "message": "Access to requested resource is denied.",
      "code": "Unauthorized",
      "details": ""
   }
]

Can someone help?

I found the solution here: https://stackoverflow.com/a/66860192/1259049


Add global border-box

i only coding with border-box, maybe a enhancement?
*, *:before, *:after {
  box-sizing: border-box;
}

source: https://css-tricks.com/box-sizing/

Outside the scope of the project.


Reminder: update README.rst to match the index page

We might have to modify the links a little

@Marius1311 can you please update the README.rst to match docs/index.rst?

Ah, I actually created a simplified version for the README.rst intentionally to keep the maintenance load low. It should mainly point people to our docs. Closing this.


chore(illustratedmessage)!: update colors, weights, sizes

BREAKING CHANGE: changes heading font size, body font-style, heading color, and heading font-weight. Also updates docs example to prefer sentence case over title case.
Closes #1399

Description
How and where has this been tested?

How this was tested:
Browser(s) and OS(s) this was tested with:

Screenshots

To-do list
For both Spectrum & CCX:

[x] Update font size from 700 light to 500 default
[x] Update body text style from italic to normal (no change needed—was already normal)
[x] Update text from title case to sentence case (not relevant to DSS. CSS-only change)
[x] Update heading text style from gray 700 to 800

For Spectrum only:

[x] Heading: Bold (Default) weight for reg spectrum

For CCX only:

[x] Heading: the Express theme will turn Bold text to Black (a thicker weight)

Misc.:

[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

[ ] This pull request is ready to merge.

LGTM! Also agreed that this is a breaking change due to the markup change (i.e. existing markup has to be manually updated for things to be correct).

Rename vars to have the same --spectrum-illustratedmessage-* prefix and this is good!

Done! Thanks :-)


FragPipe v22.0 Output File Throws KeyError

Throws key errors when trying to upload a FragPipe output file. The Key Error is being thrown for mods: 57. 0214 for example-an alkylation.
Desktop (please complete the following information):

Installation Type: One click installer
AlphaMap 0.1.10

Additional context
Seems like columns do not match the FragPip output peptide.tsv file?

I'm getting the same key error and number..

Hi - we just created a new alphamap release. could you please check again if your error still exists with the new version?


wire events to config observer functions

This is needed so we can wire events into https://github.com/openshift/cluster-kube-apiserver-operator/blob/master/pkg/operator/configobservation/etcd/observe_etcd.go#L17
/cc @deads2k
/cc @sttts

/approve

/lgtm


Allowing metrics and logs to be autoscaled and opening a port for aggregator so log-courier can talk to it

Both changes look good to me, but this is effectively two changes rolled into one. The port change would probably be an easy signoff, but the autoscaling one would likely invite further discussion. There's no reason the one should block the other.
That said, both changes seem reasonable to me.


[MD][WIP]Support CM configuration on osd.yml

Description

Move generate_crypto_materials to /script dir
Update readme to use yarn generate-crypto-materials
Support CM configurations on osd.yml

Issues Resolved
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1813
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1904
TODO:

Generate crypto materials during osd bootstrap

Generate crypto materials during osd bootstrap
why do we need to support this in boostrap?

Generate crypto materials during osd bootstrap
why do we need to support this in boostrap?

Updated the


Should be able to fetch the next page

It'd be great if it can fetch the next pages based on a regex or a css selector and put all of the content in just one big page, this would help a lot with reading online books.

From looking at the readability.js file, it looks as though all the logic from Readability 1.7 is there (appendNextPage is called and also has a definition later in the file), but it seems clear that this script does not actually return html with those pages included.
To my (javascript-unfamiliar) eye, it looks as though this script should be getting the next pages and appending them.
Could arrix, perhaps, point out why this isn't happening / what part of the code I missed / whether this is even possible at all?


migrate more, fix y axis on monthy, tweaks

made all monthly graphs have a soft y = 0
center y axis for Grid Usage
migrated Wind, Pressure, and Precip to time series
changed Solar Energy Year to all line graphs with fill for consistency (and to overlap), adjusted solar to 40% opacity to better see home usage
removed invalid overrides for Self Powered pie chart

I have to confess, the new style is growing on me... but still stuck on a few things:  1) I can't get excited about the new pie-graph, just not loving the skinny donut.
old

new (skinny donut 😂 )

the Solar Energy Year home (blue) is too much clutter for the emphasis of the chart (solar) so I would turn the fill to Zero:

from

to

I agree about the pie chart. What do you think about the pie view instead of the donut?

I will create a new PR with the home usage line opacity + some other tweaks that I think make some improvements

Hum... I don't think the full pie chart looks as "high tech" as the donut.  The original pie-chart uses the plugin instead of the built-in pie-chart.  Is there a reason you wanted to move away from the prior one? I understand it requires the plug-in but we are doing that for the others (boom table for example).

I agree that it doesn't look as cool. The original pie chart plug in is marked as (Old) and grafana suggests migration to the new pie chart plugin. The reason I changed it was because I was migrating all of the old plugins to the new ones, pie chart included.

I fixed the line opacity in #307

Thanks @s-crypt - IMHO, the logic of replacing anything old is a good first step in an experiment, but ultimately we want to optimize for quality. The outcome (the look, features, function) of the dashboard is primary target. As I'm sure you have seen before, some updates are actually setbacks. I think the pie chart is one.  Sometimes you don't have a choice, other times you do.  In this case, I would prefer to keep the higher quality plugin, even if marked as old. I would also want to investigate forking the plugin code to see if we could contribute to the core to fix the built in grafana one... well, when we have time. :)
On the time series updates, thanks for all you work on this! Originally, many of the features in the old time series panels were not ported to the new one. Over time I see that they have been added and as you have proven.  It seems we are now able to replicate all the features in the old panel with the new ones. There is still as aesthetic difference but it is growing on me. 😁

Although I personally don't mind the new pie chart, you make some excellent points. Ill just use the new pie chart on my own dashboard and revert the template back to the old pie chart and merge that in to #307


Windows build requires external library libclang.dll

available in The LLVM Compiler Infrastructure (https://llvm.org/)

because rocksdb


[irods/irods#7265,irods/irods#7434] Minor reorganization + CMake TLC

Addresses irods/irods#7265
Addresses irods/irods#7434
I've reorganized the project to follow the conventions of the main irods repo. The individual endpoints seemed to be organized in such a way that they could be expanded into multiple source files. I have preserved this in the reorg.
Additionally, a lot of the CMake was re-written. I stuck with object libraries for everything in order to make it easier to set properties for groups of source files.
I'm not sure how to run tests for this project, but I would be surprised if this PR causes any test to fail, as there are no code changes aside from header paths.

Are there other benefits to reorganizing the project structure?

My main goal with the reorganization was to neaten up the project tree; separating header files from source files from cmake files, putting headers in subdirectories to eliminate potential issues with generic filenames, that sort of thing.

My main goal with the reorganization was to neaten up the project tree; separating header files from source files from cmake files, putting headers in subdirectories to eliminate potential issues with generic filenames, that sort of thing.

Makes sense.

To run the tests, you need an iRODS 4.3.1 server, the python requests module, and a valid config file for the HTTP API (see README) and a valid config file the test suite (i.e. test/config.py).
Then it's just a matter of running test_irods_http_api.py.
Testing OIDC shouldn't be necessary if the normal tests pass.

All normal tests pass!

Squashed!

Pound it.

#'d


Windows OS open folders don't get focus while Windows Terminal installed.

Windows Terminal version (or Windows build number)
1.6.10571.0
Other Software
Windows OS 10.0.19042.868
Steps to reproduce
Install Windows Terminal.
Expected Behavior
When selecting folder from Task Bar jump list, the folder opens and gets focus.
When selecting folder in Start Menu, the folder opens, gets focus, and the Start Menu closes.
Actual Behavior
It is not necessary that Windows Terminal be running. Whatever happens is because it is installed, not because it is running, and it infects the Windows system. In the Task Bar, right-click File Explorer to select a folder pinned (folder appearing in the 'jump list'). Folder opens but icon in Task Bar flashes because focus has not shifted to the newly opened folder. Click folder to get focus. Eventually worse symptoms develop. Most noticeable the Start Menu doesn't close when selecting a folder (Documents, Downloads, etc.), The folder opened using the Start Menu doesn't get focus, the Start Menu stays open, and again the icon in Task Bar flashes to alert user the folder needs attention. Uninstall Windows Terminal and all focus problems are gone. Reinstall Windows Terminal and problems return. There is a discussion in the Microsoft Community regarding this issue. Many users have confirmed the problem and that Windows Terminal is the cause. https://answers.microsoft.com/en-us/windows/forum/windows_10-start-win_menu/start-menu-not-closing-after-opening-anything-from/eaae4553-a746-47f8-ae6a-acd62bbf6187

The only thing I can think of here is that somehow the Open Terminal Here shell extension is upsetting explorer.exe and causing this weird behavior. We will have to look into it.

Thanks willcampbell7 for the bug report! I've been having this issue for a couple of months and it drives me mad! I never would have suspected Windows Terminal to be the reason for taht. I hope there'll be a fix soon - I removed Windows Terminal from all of my machines for the time being, and it's so refreshing not to struggle with folders opening in the background!
I just want to add that jumplists have always worked fine for me, it was just the search dialog and folders pinned to the start menu.

So, you'll both be surprised to learn that we already know about this one! Weirdly enough, it seems like a Windows bug that's related to us having (not even using! just having it will cause the bug!) a registration for a shell extension (the "Open Windows Terminal here") link.
Unfortunately, since it's a Windows bug, there's not much we can do about it on the Terminal team. Either we remove a very highly-trafficked and well-loved feature, or we live with a moderate annoyance :smile:
More info in the original bug, #7122. I'll make sure that we have an internal bug for the team who owns this, as well.
/dup #7122 (sorry to make you chase a line of duplicates!)

So, you'll both be surprised to learn that we already know about this one! Weirdly enough, it seems like a Windows bug that's related to us having (not even using! just having it will cause the bug!) a registration for a shell extension (the "Open Windows Terminal here" menu item).
Unfortunately, since it's a Windows bug, there's not much we can do about it on the Terminal team. Either we remove a very highly-trafficked and well-loved feature, or we live with a moderate annoyance 😄
More info in the original bug, #7122. I'll make sure that we have an internal bug for the team who owns this, as well.
/dup #7122 (sorry to make you chase a line of duplicates!)

You call this a "moderate annoyance"??? This must be a joke! Moreover, the "Open Windows Terminal here" menu doesn't even work for me when I use WSL2! It works in WSL1, though. When I use the feature in WSL2, I always end up in my home folder, no matter in what folder I press "open terminal here", so it's absolutely useless for me. But searching for folders is essential to me...

So, you'll both be surprised to learn that we already know about this one! Weirdly enough, it seems like a Windows bug that's related to us having (not even using! just having it will cause the bug!) a registration for a shell extension (the "Open Windows Terminal here" menu item).
Unfortunately, since it's a Windows bug, there's not much we can do about it on the Terminal team. Either we remove a very highly-trafficked and well-loved feature, or we live with a moderate annoyance
More info in the original bug, #7122. I'll make sure that we have an internal bug for the team who owns this, as well.
/dup #7122 (sorry to make you chase a line of duplicates!)

I have to admit, I'm speechless! I have to wrap my mind around this - so you've known about this problem since July 2020. A problem that is somehow caused by the "Open Windows Terminal here" extension which breaks a core functuality of Windows, and you think you should still keep this feature and put this app into the Microsoft Store for people to download and therefore unknowingly break their system?!?! Because you feel like it's just, as you call it, a "moderate annoyance", which is somehow made up for by the well-loved "open windows terminal here" feature?
Have you any idea how many people are annoyed by this, that have Windows Terminal installed but have no idea that it's this app that's causing that problem, and would gladly remove it in order to be able to properly conduct a simple search if they had any knowledge about it?
Me and my workgroup have to deal with hundreds of folders on a daily basis, and what you call a moderate annoyance becomes a not-so-moderate annoyance pretty fast. We have spent hours with clueless Microsoft support agents, that were stuck in a feedback loop between "have you tried updating your system" and "have you tried a fresh install", all the while a simple right-click on Windows Terminal and "uninstall" would have sufficed in order to get our workflow back, which we did yesterday. Ubuntu in WSL runs perfectly fine without the admittedly much better looking Windows Terminal...

Thank you for your response. I looked at the existing issue and yes it sounds the same. I see a workaround there that I will try tomorrow. I'll gladly give up the the context menu option if it solves the other problems. I hardly use that feature anyway, and if I might suggest, like many other programs, the user should have to the option to disable it anyway. An entry in the settings JSON would be perfect.
I suspected this problem came about in combination with a Windows update, because I'd been using Windows Terminal for some time without this problem, then the problem started a few months ago. Also, in the Microsoft Community thread there are users who don't use Windows Terminal, it's not installed, but say this happens in connection with using OneDrive. Perhaps it too has a context menu addition screwing up something the Windows team has overlooked in a recent update.
I want to be constructive here and offer any help making this issue less painful for us all. I can post more details at the other issue or here. What is the appropriate thing to do? By the way, before posting a new issue, I searched for a similar issue and nothing matched, even after myriad combination of phrases and keywords that should have easily matched. In fact, I can type into the search box the exact title of this thread -- result is no matches found. Someone might want to look into that.
Anyway, I'm not here to complain. I want to help solve issues. Anything I can do, let me know. Thanks. William

This still is not fixed...


Office Schema URI should be allowed in JSON formatting HREF

Enable Office URI Schemes in href formatting: https://docs.microsoft.com/en-us/office/client-developer/office-uri-schemes
For example to allow reformatting a file link that would open a Word document as a new document (on a template library)

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

ID: f60068c3-4534-a400-350b-fdbcefd684b6
Version Independent ID: 228accdb-a7de-0671-34ad-60a37866c380
Content: Use column formatting to customize SharePoint
Content Source: docs/declarative-customization/column-formatting.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Is your comment a feature request? It seems so... in that case, please follow the guidelines in our docs for submitting a feature request: https://docs.microsoft.com/en-us/sharepoint/dev/support-feedback


instruction manual required

I don't know how to make Parrot work on my Nokia8110.

I have granted permission to write into sd.
I can see the dictionaries.
I can access them, for example spanish_es.dic
I can add words, edit them and save them.
However, the predictive T9 does not suggest any of the new words to me when I type.

Do I have to do anything special like be root, turn off predictive, restart the phone or something?

If the focus is on an input field, you can longpress # change the languages you selected in the system settings. As far as I understand the behavior of KaiOS, the new words are added to the word memory at this point.

Once I have known that the dictionary is updated when #is pressed, I have
been able to find a problem.
The bug was to have an empty word at the beginning of the list. I deleted
it and the problem was solved. Once this is known, I have discovered that
adding words with special characters also breaks the functioning. For
example, adding a word like "https: //" makes all the words behind it in
the Array do not read.
Message ID: @.***>

Thanks for the bug report, I will have to add a regex to validate the user input.


Conditional execution managed by variables

It would be really great if I could specify what to run as a variable instead of as a tag. For example if I want to always run only audit tasks, I would specify:
rhel6stig_run:
  - audit

and if the task has the following tags:
  tags:
      - cat1
      - high
      - V-38701
      - patch
      - tftp
      - tftp-server
      - unsecure_services

the when: condition would look like this:
when: >
  rhel6stig_run | length == 0 or
  rhel6stig_run in ['cat1', 'high', 'V-38701', 'patch', 'tftp', 'tftp-server', 'unsecure_services']

The above could be extended by rhel6stig_ignore variable which would allow to ignore certain subset of the rhel6stig_run. For example if I would like to run all audit tasks but the V-38701, the rhel6stig_ignore variable would look like this:
rhel6stig_ignore:
  - V-38701

and the when: condition in the task like this:
when: >
  rhel6stig_run | length == 0 or (
    rhel6stig_run in ['cat1', 'high', 'V-38701', 'patch', 'tftp', 'tftp-server', 'unsecure_services'] and
    intersect(['cat1', 'high', 'V-38701', 'patch', 'tftp', 'tftp-server', 'unsecure_services'], rhel6stig_ignore) | len == 0
  )

Of course the rhel6stig_run as well as the rhel6stig_ignore can have more than one item:
# Expressing: 'audit' in tasks AND 'high' in tasks
rhel6stig_run:
  - audit
  - high

# Expressing: 'ssh' in tasks OR 'rlogin' in tasks OR ''v-38668' in tasks
rhel6stig_ignore:
  - ssh
  - rlogin
  - V-38668

That would run all tasks marked as audit AND high and ignore all tasks marked as ssh, rlogin and V-38668 tasks.

I think for this to work we would need a jinja2 filter that is the equivalent of the python all() and any() builtin methods. This is true for situations where rhel6stig_run/ignore have multiple elements.
For example
where a = [1,2] and b = [1,2,3]
a in b returns False

Such filters exist and I have used it in the example above.

I think this is mostly implemented in the RHEL7-STIG role...


Support for TextInput

Need to be able to edit the content.
Should be an easy fix. Just replace <View/> with <Text/>. This will allow nested text input rendering across both platforms. (And most importantly React-native-web so a full cross platform MD editor)
<TextInput
    multiline={true}
    style={{ flex: 1, alignSelf: 'stretch' }}
    onChange={(e) => this.onChange(e)}
    >
         <Markdown>{testMarkdown}</Markdown>
  </TextInput>

Any change on this? Sounds really exciting.


There are no Pages/_Host.cshtml files

I'm not finding any _Host.cshtml files in either client or server projects for a hosted webassembly app. Is this out of date?

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

ID: 49cfbe71-07d0-051f-37dc-b54f7125b4a2
Version Independent ID: 49cfbe71-07d0-051f-37dc-b54f7125b4a2
Content: Persist Component State Tag Helper in ASP.NET Core
Content Source: aspnetcore/mvc/views/tag-helpers/built-in/persist-component-state.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @chrisevich ... As this states in the Prerequisites section, you have to follow the guidance in ...
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/prerendering-and-integration?pivots=webassembly&view=aspnetcore-7.0
... first, which calls for adding a _Host.cshtml file to the Server project of the hosted WASM solution.


[stable/prometheus-operator] global.rbac.pspEnabled=false does not disable psp

Describe the bug
I'm trying to install it on a 1.9.x cluster, and psp api group is different there (see #8789).
So, I thought that disabling it would prevent the issue, but it doesn't.
Version of Helm and Kubernetes:
❯ helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}

Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-07T09:55:27Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.8", GitCommit:"c138b85178156011dc934c2c9f4837476876fb07", GitTreeState:"clean", BuildDate:"2018-05-21T18:53:18Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/prometheus-operator
What happened:
helm install -n foo stable/prometheus-operator --set global.rbac.pspEnabled=false fails with:
Error: validation failed: [unable to recognize "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1", unable to recognize "": no matches for kind "Alertmanager" in version "monitoring.coreos.com/v1"]

What you expected to happen:
Ignore pod security policies and install it normally.
How to reproduce it (as minimally and precisely as possible):
steps above...
Anything else we need to know:
I'm actually installing it through https://github.com/caarlos0/thanos-helm-chart , so I'm using --set prometheus-operator.global.rbac.pspEnabled=false

OK the alertmanager part was my fault, fixed the CRD creation, now I just get:
Error: validation failed: unable to recognize "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"

nevermind, found it!
--set kube-state-metrics.podSecurityPolicy.enabled=false


Remove overrides/overridables option for ModuleFederationPlugin

@sokra @ScriptedAlchemy

It looks like that ModuleFederationPlugin has options, overrides and overridables.
https://github.com/webpack/webpack/blob/master/types.d.ts#L3840-L3848
https://github.com/webpack/webpack/blob/master/lib/container/ModuleFederationPlugin.js#L79
https://github.com/webpack/webpack/blob/master/lib/container/ModuleFederationPlugin.js#L94
But shouldn't these options be removed for ModuleFederationPlugin (=high level API)?

We don't need these options anymore because we have the shared option already.
https://github.com/webpack/webpack/issues/10352#issuecomment-584822116
(This PR keeps low level API (like ContainerPlugin/ContainerReferencePlugin) have overrides/overridables internally)

What kind of change does this PR introduce?
refactoring

Did you add tests for your changes?
Existing & No need
(I don't see any tests for ModuleFederationPlugin with overrides/overridables option. So this PR should increase test coverage)

Does this PR introduce a breaking change?
Maybe yes, but I suppose we have never used overrides/overridables anywhere for ModuleFederationPlugin.

What needs to be documented once your changes are merged?
No need
https://webpack.js.org/concepts/module-federation/#building-blocks

These options were intended for finer control over shared modules. Like make some modules only overidable instead of shared because these container is always used within a shell which always provides these modules.

@sokra
Let me ask you one thing.

These options were intended for finer control over shared modules

The good thing about this is that we can explicitly represent how the module will be used by specifying overrides and overridables?
Using shared, is there any effect on security, compilation results, etc.?
If any, I'd love to learn about it!

Security: you should trust imported containers as they could execute any code.
It has influence on the compilation result. More chunks are created and the entrypoint to a shared module is less optimized.

Use the two independently if you want to separated overrides from overridables . Module Federation plugin should stay as is

Thank you for your answer.
Closing this PR


Reorg site structure

Manually generate sidebars for getting-started and ecosystem-guide;
Remove numbers from the folder names for the above two tabs, as it's much easier to maintain;
Move some pages from dev-resources to ecosystem-guide;
Move dev-tooling from dev-resources to getting-started;
Rename dev-sources to dev-advanced to reflect the purpose of this folder, compared to getting-started.
Temporarily disabled the dev-advanced main tab as it's empty for now.
Others...

The UI looks like this for now.

以前带序列号的 legacy 子目录需要删掉么，还是暂时还是留在一级文件夹里？

已经删掉了啊 https://github.com/ic123-xyz/ic123/tree/main/docusaurus/docs/getting-started ， 那个应该是你本地的，clean一下？


can i use it with v-for?

i use this editor with v-for, but all the editors under .jsoneditor-vue, how can i do

maybe i can modify container

@joaomede

How is this problem? already managed to solve? need help?

const instance = getCurrentInstance()?.proxy;
state.editor = new JsonEditor(
instance?.$el.querySelector(".jsoneditor-vue"),
options,
state.json
);
i resolved this problem by change the element which mounted
it will cause some bugs? i don't sure about that.

using the $ "el.querySelector" would be the choice of the original component, however, I noticed that this didn't work in vue3, so I'm using "document.querySelector", but I'll look at your suggestion.


InfernalRobotics 0.21.2

https://github.com/KSP-CKAN/CKAN-meta/tree/master/InfernalRobotics
0.21.2 is absent in CKAN app. Only 0.21. Something wrong.

May be CKAN thinks: "v0.21" > "0.21.2"

Duplicate of https://github.com/KSP-CKAN/CKAN-support/issues/133?


Compiled Copy?

I'm not sure how to compile this into a ASI lol.

Just open the solution file in VS and build like a normal DLL.

I already noticed an issue with this, I use a mod that let the game be borderless window mode + no pause when the games not focused. when I tab out the mouse is still usable does not do this without your mod!

I couldn't reproduce it - tried several edge cases with alt tabbing out of the game (with AllowAltTabbingWithoutPausing in the widescreen fix) and mouse behaviour was always the same with and without the mod.

are you playing SA-MP 0.3.7? because the widescreen fix mod your speaking of crashes with AllowAltTabbingWithoutPausing enabled, im using a combination of this http://gtaforums.com/topic/760017-relsa-samp-addon/ and also this, https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases

SA-MP seems to break the mods then.

I tweaked the behaviour in 0ebd270b8636b3b10917a7deb59b6b0f5989fa05 so now the mouse will not continue to spin if the app loses focus when moving the mouse.

thank you! i will test it in a bit.

Is this still an issue?

Yeah it is.


segment.wp: display active style outside toolbar

Short description of what this resolves:
Inconsistent styling in Windows Phone when an ion-segment is used outside of a toolbar
Changes proposed in this pull request:

Let active-segment styles outside of a toolbar work on Windows Phone.  Matches behavior of iOS and Android

Ionic Version: 2.x
Fixes: #5994
In the iOS and Android styles the segment-activated class lives directly under segment-button.  However in the Windows Phone version these styles live only under toolbar, causing the styles to not be applied properly if the ion-segment is used outside of a toolbar.

Thanks again for the PR! This will be in the beta.4 release! :smile:


This repo is out of date

Newer commits here: https://github.com/tobie/ua-parser/tree/master/haskell
Here because of: https://github.com/tobie/ua-parser/blob/master/CONTRIBUTING.md
/cc @tobie @ozataman
What's the current version of the Haskell library?

This is the new repo, however I have not had the chance to port to this new structure. The old repo has a few bugfixes/maintenance commits on it, which is what's on Hackage currently.

It's possible the adaptation is very minimal - haven't had much chance to investigate lately.

@ozataman I'm going to update it. Would you update the cabal file on Hackage or consent to it being updated so the solver doesn't revert to 0.3 of the library?

Sorry, I don't follow. The version I see on Hackage is 0.5; why would the
solver revert to 0.3? Is there an issue I am not aware of?
If the dependencies need updating, I'd be happy to do a 0.5.1 or similar
point release with the fix.
On Thu, Jun 11, 2015 at 11:39 AM, Chris Allen<EMAIL_ADDRESS>wrote:

@ozataman https://github.com/ozataman I'm going to update it. Would you
update the cabal file on Hackage or consent to it being updated so the
solver doesn't revert to 0.3 of the library?
—
Reply to this email directly or view it on GitHub
https://github.com/ua-parser/uap-haskell/issues/1#issuecomment-111176969
.

http://hackage.haskell.org/package/ua-parser-0.3
There's no bounding on aeson, constraints that do not set a lower bound on ua-parser will jump to this version. This can be fixed without pushing a release.
The things I am doing to get uap-haskell in sync with uap-core are separate.

@ozataman is this issue still valid? I see 0.7.1 version already


Memory growing exponentially

I am adding 18236 records to orbit from mongodb in Node A and replicating to Node B,C,D,E.. this records are CIDs string as you can see in the code below the thing is in the saving process and replicating process the memory is out of control..
Here my code:
await client.connect(async () => {
	const adminDb = client.db(DB_NAME).collection('...');
	const cursor = adminDb.find({}).limit(0).sort({year: 1}).addCursorFlag('noCursorTimeout', true);
	const size = await cursor.count();

	for await (const v of cursor) {
		let before = +new Date();
		index++;

		let cid = await last(ipfs.add(
			Buffer.from(JSON.stringify(v)),
			//{pin: true}
		));

		// console.log(cid);
		await db.add(cid.cid);
		let per = (index / size) * 100;
		console.log(per);
		console.log('Saving data..');
		console.log('Memory:', (process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2), 'Mb');
		console.log('Time Elapsed:', (+new Date() - before) / 1000 | 0);
		console.log('Created: ', cid.cid.toString());
	}
	await client.close();
	console.log('Closed db..');
});

Here the error after 30 minutes migrating:
<--- Last few GCs --->

[57107:0x1045bb000]  6004964 ms: Scavenge 1905.8 (2050.5) -> 1905.3 (2050.8) MB, 10.7 / 0.0 ms  (average mu = 0.375, current mu = 0.473) allocation failure
[57107:0x1045bb000]  6004981 ms: Scavenge 1906.0 (2050.8) -> 1905.5 (2050.8) MB, 11.7 / 0.0 ms  (average mu = 0.375, current mu = 0.473) allocation failure
[57107:0x1045bb000]  6004995 ms: Scavenge 1906.3 (2050.8) -> 1905.4 (2051.3) MB, 11.5 / 0.0 ms  (average mu = 0.375, current mu = 0.473) allocation failure

<--- JS stacktrace --->

==== JS stack trace =========================================

   0: ExitFrame [pc: 0x1009d4af9]
   1: StubFrame [pc: 0x10095d0e4]
   2: ConstructFrame [pc: 0x10095cc2f]
Security context: 0x3844756c0921 <JSObject>
   3: get [0x3844bb2733b1] [/node_modules/datastore-core/src/keytransform.js:~27] [pc=0x37501b77befd](this=0x3844e1494da9 <InterfaceDatastoreAdapter map = 0x38441c707a11>,0x38447184e101 <Key map = 0x384426c6bc31>,0x3844241004b9 <undefined>)
   ...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x1011c23b5 node::Abort() (.cold.1) [/.nvm/versions/node/v13.12.0/bin/node]
2: 0x10009c059 node::Abort() [/.nvm/versions/node/v13.12.0/bin/node]
3: 0x10009c1b8 node::OnFatalError(char const*, char const*) [/.nvm/versions/node/v13.12.0/bin/node]
4: 0x1001d6b47 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/.nvm/versions/node/v13.12.0/bin/node]
5: 0x1001d6ae7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/.nvm/versions/node/v13.12.0/bin/node]
6: 0x10035f8a5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/.nvm/versions/node/v13.12.0/bin/node]
7: 0x10036113a v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/.nvm/versions/node/v13.12.0/bin/node]
9: 0x10035b927 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/.nvm/versions/node/v13.12.0/bin/node]
10: 0x100367cda v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/.nvm/versions/node/v13.12.0/bin/node]
11: 0x100367d61 v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/.nvm/versions/node/v13.12.0/bin/node]
12: 0x100334c47 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/.nvm/versions/node/v13.12.0/bin/node]
13: 0x100691928 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/.nvm/versions/node/v13.12.0/bin/node]
14: 0x1009d4af9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/.nvm/versions/node/v13.12.0/bin/node]
Abort trap: 6

Yesterday before the process failed again memory reached 1930MB
This is the exponential time between entry saved and memory growth pattern while running the code process:
0.005483658697082694
Saving data..
Memory: 26.41 Mb
Time Elapsed: 0
Created:  QmULHFYppBXvqSkjVXnDEGPhZ8q7TJYFbGi3CY8WeN7SLh
0.010967317394165389
Saving data..
Memory: 25.87 Mb
Time Elapsed: 0
Created:  QmckrDAVvSybQDxQCLPAKCcMEp5CMPe9vEHBnR5XJmq8x6
0.01645097609124808
Saving data..
Memory: 27.00 Mb
Time Elapsed: 0
Created:  QmQ2dsxkajJkNxjRH23JAneuiMinQwamRthdjDMEvY2nyS
0.021934634788330777
Saving data..
Memory: 27.28 Mb
Time Elapsed: 0
Created:  QmQU2bJkyXis5apYyb7xzQpnjp8S3zYnPUhEisyWkhuapS
0.02741829348541347
Saving data..
Memory: 27.41 Mb
Time Elapsed: 0
Created:  QmcpQpuMJskZ11Ucsb9VqTCyHs2MD7rngGM1m3xvGwaWtH
0.03290195218249616
Saving data..
Memory: 27.75 Mb
Time Elapsed: 0
Created:  Qmc9bFPYW5GjTBWo5bbiBWQFBqotiAWxBowR4tmQVE5Z15
0.038385610879578855
Saving data..
Memory: 28.14 Mb
Time Elapsed: 0
Created:  QmNVXtXpbApSTYRszTNv7xHnSzcvcuJw5n9SCtdyTHPQ9D
0.043869269576661554
Saving data..
Memory: 28.32 Mb
Time Elapsed: 0
Created:  QmZ6huqXwjRhZAeW5ChySedcCoFbjwjFnUBLjruCHHJAA2
0.04935292827374425
Saving data..
Memory: 28.42 Mb
Time Elapsed: 0
Created:  QmRFcVLne6MxRNgjjFDWRkSd8wsYq16BQ18ujA4rGhvwmA
0.05483658697082694
Saving data..
Memory: 27.07 Mb
Time Elapsed: 0
Created:  QmZN6mRmWjjoZ89tMUHDhFD9EkQXbfY7GzGiy5YpNLz7Y6
0.06032024566790963
Saving data..
Memory: 27.91 Mb
Time Elapsed: 0
Created:  QmdQ5HRB4aFD99F6uU6uNc8NwZCVZhdqv133k1hLWcHNte
0.06580390436499232
Saving data..
Memory: 28.73 Mb
Time Elapsed: 0
Created:  QmdZwP5nLmRrHQ5QTQwKbYUuKSY2xrrVYoBgkoGjfvDYTW
0.07128756306207501
Saving data..
Memory: 27.67 Mb
Time Elapsed: 0
Created:  Qmd9JtJXoTLaDt3n5Y1AJz6bMCDWAbTiKmUFf7ERpNPdsm
0.07677122175915771
Saving data..
Memory: 26.62 Mb
Time Elapsed: 0
Created:  QmTxhYRy6smhfddh9yEU4VmuUPBoGxdyMy6Wk7Pmzmxxpi
0.0822548804562404
Saving data..
Memory: 28.68 Mb
Time Elapsed: 0
Created:  QmWwgfnwQB9j4AwYgDSmArJVZkTwg5p1s2W62EZPrpcu3h
0.08773853915332311
Saving data..
Memory: 28.56 Mb
Time Elapsed: 0
Created:  QmZVSzwCLCNscUHi3veB2KGSkQkX2Jqvh6r5NFv1TT4pRc
0.0932221978504058
Saving data..
Memory: 27.27 Mb
Time Elapsed: 0
Created:  QmQmjpRqHxBaZbhNwAEi8f5jd9j6EH4H3pDigULDFnjQBp
0.0987058565474885
Saving data..
Memory: 29.94 Mb
Time Elapsed: 0
Created:  QmbWSvWLgcHJ16g8uSxBJ5PtDfkmYy1PQFJKvbgHcfAhvr
0.10418951524457118
Saving data..
Memory: 29.65 Mb
Time Elapsed: 0
Created:  QmR1gb2xRCC9bP2zYkinvoVYRvSzzW8qw5iUWpTEueL3os
0.10967317394165388
Saving data..
Memory: 28.56 Mb
Time Elapsed: 0
Created:  QmYRGHwpP7dXZY77wm2yHsP2kLnuF6cFew3i5NBhAKPv5r
0.11515683263873656
Saving data..
...
.....
Saving data..
Memory: 233.05 Mb
Time Elapsed: 1
Created:  QmcUCDKFqbLVxxmbmut5qAFdTVKHQv7vfXTApnd6BiaWjA
23.108137749506472
Saving data..
Memory: 243.17 Mb
Time Elapsed: 1
Created:  QmTiyZ9WsMbkd9BEYPe4SJoYaoqvdNXxQkQkUAz39zt5pi
23.113621408203553
Saving data..
Memory: 266.17 Mb
Time Elapsed: 1
Created:  QmeP2vLZpGRxHajUNL1Tw9WVqupBSTmQMTbdoEa3gfcFKV
23.119105066900637
Saving data..
Memory: 278.34 Mb
Time Elapsed: 1
Created:  QmR1LJsx25ADqrzivatT8jk2KeQ3aRyZH3gYgWbh9MjfWe
23.124588725597718
Saving data..
Memory: 291.41 Mb
Time Elapsed: 2
Created:  QmXtG7fWfkmgLr5hdMqhk5jkSUoU5ug4dh7qWVMGMzqG36
23.1300723842948
Saving data..
Memory: 299.96 Mb
Time Elapsed: 1
Created:  QmepeVf8VCNMSB37AdHW8YFiQZK1VteHJ8Km8JDDfU2vm2
23.135556042991883
Saving data..
Memory: 313.68 Mb
Time Elapsed: 1
Created:  QmPWqt4ozh5fYZFSjCHFVL4wJ3MwyCEFBctUbydv5dgKTj
23.141039701688968
Saving data..
Memory: 328.82 Mb
Time Elapsed: 1
Created:  QmdPujjnFsFRxnU5Zp14crkHhQHdyxjMK5tpbMzkimBUEk
23.14652336038605
Saving data..
Memory: 342.99 Mb
Time Elapsed: 1
Created:  Qmc8huqSkfbBZ5PxjRHR6HpWwZC8t96tFz531W1Umt6bGL
23.152007019083133
Saving data..
Memory: 357.25 Mb
Time Elapsed: 1
Created:  QmRcLZq2fGte4D3MTDozt8k3WJwXMqXSXhocRSu7kBfdv6
23.157490677780217
Saving data..
Memory: 105.63 Mb
Time Elapsed: 1
Created:  QmPKZQGnuw7j9FBoNvN4JYZxCyygczAXXRh5QtW47cUPxk
23.162974336477298
Saving data..
Memory: 118.27 Mb
Time Elapsed: 1
......
.....
Created:  QmVVspGFX8vNaaLC33rGFDCT9r3L6h6uA8EriUt8m7Ghuq
25.13160780872998
Saving data..
Memory: 366.71 Mb
Time Elapsed: 1
Created:  QmcYRxaoyFqJXy6EctskVPfnvqoct8obQ4JBd3Ttdsx8p5
25.13709146742707
Saving data..
Memory: 99.15 Mb
Time Elapsed: 1
Created:  QmYt3JLHcAGcJcojJ12gvK7281qePH72JRWkUNkRhhchVh

In some cases the garbage collector manages to clean the memory in others I think that it cannot do it and a memory leak occurs...

Saving data..
Memory: 336.44 Mb
Time Elapsed: 1
Created:  QmVycovLmYw5YakttFikqajX6vGjBvSrN8W2KzEypLmq9w
26.338012722088177
Saving data..
Memory: 346.62 Mb
Time Elapsed: 3
Created:  QmWbfHV9btB6xUcLJQVaoKK7nzJRLjkkVZSrLeTrJVC7ki
26.343496380785258
Saving data..
Memory: 361.18 Mb
Time Elapsed: 6
Created:  QmXViK35V68NJjSvZQUMu74RmKVFntDuseksRuZV5HcZrz
26.348980039482345
Saving data..
Memory: 116.62 Mb
Time Elapsed: 4
Created:  QmUe1pNuqrtXYfvjzrB5oyGHZ2TRxjmupTrETEA7WgRebw
26.354463698179426
Saving data..
Memory: 131.95 Mb
Time Elapsed: 2
Created:  QmcXZEXPGMbaxw9jNsbRvzs8bUnBje4EWDiU63CH914MWg
26.359947356876507
Saving data..
Memory: 144.60 Mb
Time Elapsed: 2
Created:  QmRCZcsF1of4dHABhWeFmTZU9a5bDovY2p3iZZZZiqfEpU
26.36543101557359
Saving data..
Memory: 155.15 Mb
Time Elapsed: 2
Created:  QmY4GhPn7eF52sMy6kB7YcYSpBGXU2nCxc2q2d4gBPHH3M
26.370914674270672
Saving data..
Memory: 107.74 Mb
Time Elapsed: 4
Created:  QmUvi38VFWLzh4kWRp1darPACUvvZ1vLfTGDBsG9gxVmro
26.376398332967753
Saving data..
Memory: 118.58 Mb
Time Elapsed: 3
Created:  QmcQydJQEuSLvUPxqdYAHohbLsKFBbN6kBqyojpgHmQy9x
26.38188199166484
Saving data..
Memory: 129.51 Mb
Time Elapsed: 3
Created:  QmVir29QT3WXVZ1HMzs4QdfPwdYg5un7G1iUQ8cybH588P
26.38736565036192
Saving data..
Memory: 145.09 Mb
Time Elapsed: 3
Created:  Qmf1895MWCr7qWLyy1enRrZdXUx4EBzqbHAyX3id4DdUFP
26.392849309059002
Saving data..
Memory: 159.72 Mb
Time Elapsed: 3

In replication process with 28.9% my memory is 710 MB and is growing and growing
Note: I emphasize that my payload its CIDs string entries:
Memory: 710.08 Mb
28.9 %
Replicated /orbitdb/{hash}/db
.....
.....
Memory: 1146.23 Mb
32.5 %
Replicated /orbitdb/{hash}/db
18236
Memory: 1146.91 Mb
32.5 %
Replicated /orbitdb/{hash}/db
....
....
**After 20 minutes waiting replication just 6% up**
Replicated /orbitdb/{hash}/db
18236
Memory: 1306.84 Mb
38.8 %
Replicated /orbitdb/{hash}/db
18236
Memory: 1320.73 Mb
38.8 %
Replicated /orbitdb/{hash}/db

Which ipfs version? And how many db entries total?

Hi @phillmac 0.46.0 and i am adding 18000 CID entries..

Hmmm. I've tried 10K entries, So 18K should not be that much different. Most of the memory leaks in js-ipfs have been squashed by version 0.46.0. Is it possible to use js-ipfs or go-ipfs externaly in a seperate process e.g. using ipfsd-ctl to eleminate ipfs as the problem?

@phillmac the memory keeps growing even using go-ipfs or js-ipfs externaly. Looks like is related to ipfs-log store that is saving in memory replicated data..

Yes, the entire oplog is currently stored in memory which can put strain on RAM, especially in more memory-constrained devices like phones. We just published our Roadmap #819 and we plan on addressing this via async iterators / generators which will process the oplog and then discard each entry as it is processed

@aphelionz haha great news!! hopefully I can join the active development of the project, maybe I can understand it better as I read the code

Is there some guide to start with?

Looks like it solved!!

@geolffreym Connect with me on Gitter. We have an active need for help with the Field Manual which for all intents and purposes should be the reference you're after.
But to start, check out the arch diagram at https://github.com/orbitdb/welcome

msgpack + chunk restructure data (reduce CIDs entries to replicate) is helping for now


Fuzzing: Creduce driver and test predicate improvements

Notably, when compiling the native code with -m32, the error rate is low enough that a run of 10,000 tests yielded no failures. Yay!

@jedisct1 when you're available, could you look at the Dockerfile changes here and make sure it's not blowing up the size of the image too much? Docker Hub says our image is ~600MB but this image on my local machine is 2GB. Is that just because of how Docker Hub counts sizes of images vs. layers?

The Docker changes add 288 MB to the image, 147 MB to the compressed image.
That's quite a bit. Maybe these dependencies can be installed on demand?


Add a function to wrap NetMHC 3 vs 4

Currently uses the supported allele flag to distinguish the two.

LGTM


Best way to handle std::wstring/std::u16string/std::u32string

Hello consider this example:
void toUTF16(const std::string& f, std::reference_wrapper<std::wstring> t)
{
    // Implementation
}

int main()
{
    sol::state lua;

    lua.open_libraries(sol::lib::base,
                        sol::lib::math,
                        sol::lib::bit32,
                        sol::lib::package,
                        sol::lib::io,
                        sol::lib::string,
                        sol::lib::table);

    lua.new_usertype<std::wstring>("UTF16String");
    lua["toUTF16"] = &toUTF16;

    return 0;
}

Now running this script:
local utf8String = "TESTß€🌉"
local utf16String = UTF16String.new()
toUTF16(utf8String, utf16String)

gives:
stack index 2, expected string, received sol.std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
 >:
stack traceback:
        [C]: in function 'toUTF16'

I tried many ideas and got access violations many times.
Is there a way to disable treating std::wstring/std::u16string/std::u32string... as lua string (some flag/option)?
@ThePhD Any thoughts/workarounds without a drastic API changes (without extra wrappers everywhere)?
Buy the way I already have an idea on how much you hate the unicode/locale support in the standard library 😂
Thanks!

Using:
std::wstring toUTF16(const std::string& f)
{
    std::wstring temp;
    detail::toUTF16(f, temp);
    return temp;
}

returns apparently an UTF-8 string back to lua (maybe best way in most cases), but in my case it is like chasing ghosts lol.
I am trying to push a UTF-16 string but it is converted anyway to UTF-8!

After many tries, I think wrappers should be the way to go, unless I want to sacrifice richer options, for instance sol obviously can't have options about endianness during runtime, so specific conversions/error handling aren't available.


Make pysteps dependency optional

IMPROVER currently depends on pysteps - it is listed in the conda environment file and some unit tests will fail if it is not available.
It would be useful to make pysteps an optional dependency, so that tests which use pysteps functionality are skipped if it is not available.
Pysteps is only used by a subset of CLIs and these will fail with an ImportError if it is not available. I think the current behaviour here is OK, as the ImportError exception trace is clear enough at explaining what needs to be done to resolve the error.

Hi @tjtg (cc @cgsandford )
Please can you explain why is this wanted? Is Pysteps causing issues for you at BoM? As far as we are concerned, Pysteps (or at lest, bits of it) is now a compulsory module to allow us to run our nowcast methods.

As you've mentioned, pysteps is required by nowcasting code in IMPROVER. However, we're not currently using the nowcasting components of IMPROVER at BoM.
Pysteps is a moderately sized library, but it pulls in some larger dependencies such as OpenCV (eg. libopencv is about 30MB compressed or 110MB uncompressed). Making dependencies optional helps reduce the size of python environments (eg. pip or conda), associated network downloads and time taken for conda to do its dependency solving.
The intention here is that installation of pysteps shouldn't be required unless the nowcasting part of IMPROVER is being used. This would make pysteps similar to timezonefinder in IMPROVER such as https://github.com/metoppv/improver/blob/8da46d9acddcf1abf4ff32052797f367931847ce/improver_tests/generate_ancillaries/test_GenerateTimezoneMask.py#L45 and https://github.com/metoppv/improver/blob/8da46d9acddcf1abf4ff32052797f367931847ce/improver/generate_ancillaries/generate_timezone_mask.py#L94
With issue #1381, we should still make sure that at least one of the environment specifications continues to include pysteps so that all the code is still covered by the test suite on Github actions.

Closed by #1389


bdist_rpm: add option to force version

The RPM versioning guidelines are slightly at odds with PEP440.
For example, RPM considers 1.1a1 to be a higher version than 1.1
where as PEP440 shows 1.1a1 to be an alpha and 1.1 to be the
official release.
Permitting specific override of the RPM version will allow a
maintainer to explicitly correct the version to fit their needs.
Originally submitted as pypa/setuptools#2778

@jcpunk Can you investigate why the tests are failing?

This is very puzzling.... force_version is getting set in the test setup.py.  However, it doesn't seem like anything I set under the options: { 'bdist_rpm': section gets passed into the unit tests.
I tested a number of existing options and those also are ignored.  The most obvious are release or build_requires which don't propagate down...
I'll confess I'm not sure how to dig deeper into that....

I suggest to dive into the code and get more familiar with the architecture of distutils. I think the problem with the approach is you're creating a new option to the bdist_rpm command, but in the tests, you're supplying new keyword arguments to the distribution. Take a look at test_quiet to see how that test exercises the --quiet option to bdist_rpm.

Feel free to grab this branch into your own repo and iterate on it there. Since you'll probably need to create a new PR, I'll close this one.


The first release

What is left to do for the first release:

[ ] Build system (35% done)

[ ] Availability via an API (60% done)
[ ] Availability via a CLI
[ ] Documentation
[ ] Tests

[ ] Describe Query (75% done)

[ ] API (85% done)
[ ] Test (40% done)
[ ] Documentation

[ ] Node-postgres (85% done)

[ ] Define all types that are parsed by default (50% done)
[ ] Documentation

[ ] ReScript generator (60% done)

[ ] Apply formatter automatically
[ ] Add an options to detect non-nullable fields
[ ] Detect number of dimensions for arrays
[ ] Polish / finalize the output format
[ ] Tests

[ ] JSON generator (0% done)

Things that may or may not go into the first release:

https://github.com/rpominov/typesafe-sql/wiki/Ideas
Generate custom parsers for each query instead of using global / default ones
Flow generator
TypeScript generator

CLI documentation (TMP/WIP)
typesafesql --options input:output input:output ...

Where input is a glob*, and output is a path-rebuild pattern
* TODO: link to the glob format that we support
Example:
typesafesql --generator rescript ./src/*.sql:{0..-2}.res

options
--watch / -w
Self explanatory. No config alternative


Ionic Back Button Not appearing if clicked on a link same as current route.

Bug Report
Ionic version:
[x] 4.0.0
Current behavior:
I have a sidebar application. in the side menu i have router links like this
<ion-menu-toggle auto-hide="false" *ngFor="let p of appPages">
<ion-item [routerDirection]="'root'" [routerLink]="[p.url]" lines="none">
              <ion-icon slot="start" [name]="p.icon"></ion-icon>
              <ion-label>
                {{p.title}}
              </ion-label>
</ion-item>
</ion-menu-toggle>
// appPages -
appPages = [
    {
      title: 'Home',
      url: '/home',
      icon: 'home'
    },
    {
      title: 'Order History',
      url: '/myorders',
      icon: 'basket'
    }
]

I have pages like this -
Home Page
Order List Page
Order Detail Page
If i go from my orders list page to Order detail page by clicking an order it shows back button in order detail page. Thats expected behavior.  Now, if i am in order list page and from side menu i again clicked on order list page(/myorders), after that when i click on an order, i am navigated to order detail page but ion back button is not appearing in the order detail page now.
Expected behavior:
Ion back button should appear in the order detail page.
Steps to reproduce:
Above pasted code should be sufficient.
Other information:

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.10.1 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.10.7
   @angular-devkit/schematics    : 7.0.7
   @angular/cli                  : 7.0.7
   @ionic/angular-toolkit        : 1.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : android 7.1.4, browser 4.1.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 8 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/xman/Library/Android/sdk)
   NodeJS            : v10.15.1 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Hi there,
As of Ionic 4, the back button is not added by default to the navigation bar. Here is a link to the list of breaking changes, along with an example of how to include the back button: https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#back-button
You'll need to explicitly include the back button on every page that you want it to show up on. Let me know if you are still running into issues after trying that. Thanks!

I did include the  in the page. And then somewhere i read about the new back button that  is smart enough to know when to show the button or not based on location history. But if router direction is root - a.k.a. [routerDirection]="'root'" Then if we click the same link where we are right now, after that whatever page we navigateForward to , it doesnt show the back button in that next page, while it should have.

Thanks for the additional info! Would you be able to provide a repository that has the code necessary to reproduce this issue?
Thanks!

I'm having the same issue. I have a list of items that all have an href. I click on an item, navigate to the page, then hit the back button in the UI to go back to the list. If I click on the same item again the animation comes in from the left instead of the right and the back button is gone.

I got my back button to start showing again by ditching the href attribute and using routerLink and routerDirection="forward" (in this case I was going forwards and then backwards). This no longer removes my back button when revisiting a page.

Hi @juanparadox,
Are you able to provide a repository with the code required to reproduce this issue?
Thanks!


Meta tags doesn't work when i build my app.

Environment

Operating System: Windows 10

Node Version: v16.18.0

Nuxt Version: 2.16.3

Package Manager<EMAIL_ADDRESS>

Reproduction
head() {
    return {
      title: `My project / ${this.meta_data?.title}`,
      meta: [
        {
          name: 'Author',
          content: 'Project name'
        },
        {
          name: 'og:site_name',
          content: 'Project.com'
        },
        {
          name: 'og:title',
          content: this.meta_data?.title
        },
        {
          name: 'og:description',
          content: this.meta_data?.body
        },
        {
          name: 'og:type',
          content: 'article'
        },
        {
          name: 'og:url',
          content: `some link ${this.$route.params.id}`
        },
        {
          name: 'og:image',
          content: this.meta_data?.img ? this.meta_data?.img<EMAIL_ADDRESS>        },
      ]
    }
}

Describe the bug
I build my project to deploy then my meta tags doesn't work at deploy but it works when i run my project locally. I used this docs for adding meta tags and title.
Additional context
No response
Logs
No response

I have the same issue.

Render static pages (target: static)
Browsing sub page via internal links works as expected.
Load sub page directly (or reload) gives the standard index meta.

I guess this is why Google is nagging about double canonicals.

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏


Cannot load a trained model on generator.py

Some reason I cannot load the trained model on the generator.py to produce images.
It generates: the shape of the transformer has mismatch.  Is it possible at somepoint it added extra layer in the transformer or something, or I am just making a mistake on this.
I used DQVAE2014,
`load_obj = torch.load(str(dalle_path))
dalle_params, vae_params, weights = load_obj['hparams'], load_obj['vae_params'], load_obj['weights']
vae = VQGanVAE1024()

dalle = DALLE(vae=vae,  **dalle_params ).cuda()
dalle.load_state_dict(weights)`

thank you for your help

Hello! I did change the architecture recently, but did minor version bumps. If you remember which version of the library you used when starting training, you can do a pip install for that specific version first

I should save the lib version along with the model 🤔

@lucidrains, okay with right version it works.
Thank you for help as well your cool projects!


error: cannot communicate with server: Post http://localhost/v2/snaps/mattermost-desktop

https://docs.mattermost.com/install/desktop-app-install.html

sudo snap install mattermost-desktop --beta
[sudo] password for v:
error: cannot communicate with server: Post http://localhost/v2/snaps/mattermost-desktop: dial unix /run/snapd.socket: connect: connection refused

What Mattermost desktop app version are you on?

mattermost version 7.2.0

Looks like this is an issue with Snapcraft. We don't actually maintain the snap for mattermost, that happens here: https://github.com/snapcrafters/mattermost-desktop

Closing as per above.


merge package template from arlac77/npm-package-template

package.json

chore(engines): update<EMAIL_ADDRESS>from template

.travis.yml

chore(travis): merge from template .travis.yml

Coverage remained the same at 48.936% when pulling ea011bcc1d2f188f83fe13dec4992893b85c24e0 on template-sync-1 into 7198f5b2ecfa5a5391139e30caacb2b5fb76ca8e on master.

Codecov Report

Merging #140 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #140   +/-   ##
=======================================
  Coverage   48.83%   48.83%
=======================================
  Files           2        2
  Lines          43       43
=======================================
  Hits           21       21
  Misses         22       22

Continue to review full report at Codecov.

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


Improve Database creation page - needs screenshots and detailed steps

http://localhost:8080/docs/onsite-setup/crm-server/create-ms-sql-server-db.html

@pavlas77 Any progress updates on this issue?


Scale by the bay

| 2018.11.07 | 2018.10.27 | Rome, Italy | Linux Day Roma | here | Linux, WWW, IoT, Security, ... |

thank you, something went wrong with this PR content, so I have corrected it and commited directly to master https://github.com/softwaremill/it-cfp-list/commit/1d4faedaf62af9065e7c6e802c58df334ce95233 . thanks


Custom Function call when Loading Screen is about to end?

I'd like to call a function in my GameMode right before the loading/transition widget's unload. Is this possible?
I couldn't find in the source code where you unload the widgets when the new map is ready.

I don't think it's possible to access any game-play logic during the loading screen. I don't unload the widget, it's removed by the engine when the PostLoadMapWithWorld delegate triggers. You can check the MoviePlayer plugin's source code.

Thanks, I'll look into PostLoadMapWithWorld in the engine


MB211 services still show HTML markdown

When I go to Search, I expect to search for services and not see HTML markdown. Instead, I see HTML markdown in service description.

Acceptance Criteria

[ ]  Service description in English does not show HTML markdown

Steps for QA:

Example service to look up: MB > Education > Continuing Education for Adults > Find related services > Near Winnipeg > Adult Learning and Literacy.

Some notes on how this was QAed:
Ran the data processing pipeline (mongo) on the file before and after the html cleanup. Since this affects service data, compared the two algolia.json files generated with data before and after the html cleanup. The data needs to be sorted to run diff, did that as follows:
jq '.components.rows|=sort_by(._id)' algolia.json > algolia.sorted.json

then compared the files using diff:
diff -w algolia.sorted.json ../out-html-not-clean/algolia.sorted.json | less

Reviewed the changes to confirm that only HTML tags had been affected.

html markdown GONE in both fr and en


Add Chip8 Instructions

[x] 00E0 - CLS      | Clear the display.
[x] 00EE - RET      | Return from a subroutine.
[x] 1NNN - JMP      | Jump to location NNN.
[x] 2NNN - CALL     | Call subroutine at NNN.
[x] 3xkk - SE       | Skip next instruction if Vx == kk.
[x] 4xkk - SNE      | Skip next instruction if Vx != kk.
[x] 5xy0 - SEREG    | Skip next instruction if Vx == Vy.
[x] 6xkk - LDIMM    | Set Vx = kk.
[x] 7xkk - ADDIMM   | Set Vx = Vx + kk.
[x] 8xy0 - LDV      | Set Vx = Vy.
[x] 8xy1 - OR       | Set Vx = Vx OR Vy.
[x] 8xy2 - AND      | Set Vx = Vx AND Vy.
[x] 8xy3 - XOR      | Set Vx = Vx XOR Vy.
[x] 8xy4 - ADD      | Set Vx = Vx + Vy, set VF = carry.
[x] 8xy5 - SUB      | Set Vx = Vx - Vy, set VF = NOT borrow.
[x] 8xy6 - SHR      | Set Vx = Vx SHR 1.
[x] 8xy7 - SUBN     | Set Vx = Vy - Vx, set VF = NOT borrow.
[x] 8xyE - SHL      | Set Vx = Vx SHL 1.
[x] 9xy0 - SNEREG   | Skip next instruction if Vx != Vy.
[x] ANNN - LDI      | Set Index Register to NNN.
[x] BNNN - JMPREG   | Jump to location NNN + V0.
[x] Cxkk - RND      | Set Vx = random byte AND kk.
[x] DxyN - DRAW     | Display N-byte sprite starting at memory location I at (Vx, Vy), set VF = collision.
[x] Ex9E - SKEY     | Skip next instruction if key with the value of Vx is pressed.
[x] ExA1 - SNKEY    | Skip next instruction if key with the value of Vx is not pressed.
[x] Fx07 - RDELAY   | Set Vx = delay timer value.
[x] Fx0A - WAITKEY  | Wait for a key press, store the value of the key in Vx.
[x] Fx15 - WDELAY   | Set delay timer = Vx.
[x] Fx18 - WSOUND   | Set sound timer = Vx.
[x] Fx1E - ADDI     | Set I = I + Vx.
[x] Fx29 - LDSPRITE | Set I = location of sprite for digit Vx.
[x] Fx33 - STBCD    | Store BCD representation of Vx in memory locations I, I+1, and I+2.
[x] Fx55 - STREG    | Store registers V0 through Vx in memory starting at location I.
[x] Fx65 - LDREG    | Read registers V0 through Vx from memory starting at location I.

Closing issue.
Commit a5707ef added all remaining opcodes.


an abstraction layer of search service

#116

Codecov Report

Merging #119 (9939909) into main (f125829) will decrease coverage by 0.24%.
The diff coverage is 12.80%.

:exclamation: Current head 9939909 differs from pull request most recent head 4cc11ee. Consider uploading reports for the commit 4cc11ee to get more accurate results

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   27.09%   26.84%   -0.25%
==========================================
  Files          44       45       +1
  Lines        4027     4123      +96
==========================================
+ Hits         1091     1107      +16
- Misses       2838     2919      +81
+ Partials       98       97       -1

Impacted Files
Coverage Δ

pkg/config/config.go
51.78% <0.00%> (-1.92%)
:arrow_down:

pkg/resource/search/driver/es.go
8.88% <0.00%> (ø)

pkg/resource/search/service.go
18.91% <18.91%> (ø)

Continue to review full report at Codecov.

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


Fix: Arrayed Types

Codecov Report

Merging #12 (bac6d7c) into dev (d372ad4) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev      #12   +/-   ##
=======================================
  Coverage   90.10%   90.10%
=======================================
  Files          12       12
  Lines         192      192
=======================================
  Hits          173      173
  Misses         19       19

Impacted Files
Coverage Δ

src/parser/ast/returns_term.rs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Unable to get formatter options

I'm having an issue with the formatter not working in umbrellas anymore. I also tried with the latest master, specifically v0.5.0-75-gb39509a hoping that  #350 would fix it but with the same outcome.
Environment

Elixir & Erlang versions (elixir --version):

Erlang/OTP 22 [erts-<IP_ADDRESS>] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]

Elixir 1.10.4 (compiled with Erlang/OTP 21)

Operating system: macOS 10.15.6
Editor or IDE name (e.g. Emacs/VSCode): neovim
Editor Plugin/LSP Client name: coc.nvim

Troubleshooting

[x] Restart your editor (which will restart ElixirLS) sometimes fixes issues
[x] Stop your editor, remove the entire .elixir_ls directory, then restart your editor

NOTE: This will cause you to have to re-run the dialyzer build for your project

If you're experiencing high CPU usage, it is most likely Dialyzer building the PLTs; after it's done the CPU usage should go back to normal. You could also disable Dialyzer in the settings.
Logs
From :CocInfo within vim:
 │   77 ## Output channel: elixir
 │   78
 │   79 Started ElixirLS v0.5.0
 │   80 Elixir version: "1.10.4 (compiled with Erlang/OTP 21)"
 │   81 Erlang version: "22"
 │   82 ElixirLS compiled with Elixir 1.9.4 and erlang 21
 │   83 MIX_ENV: test
 │   84 MIX_TARGET: host
 │   85 [Warn  - 3:51:58 PM] warning: Unable to get formatter options for /Users/nd/src/foofus/apps/foofus/lib/foofus_web/live/user_profile_live.ex: Unknown dependency :phoenix given to :import_deps in the format
 │   86   (language_server 0.5.0) lib/language_server/source_file.ex:226: ElixirLS.LanguageServer.SourceFile.formatter_opts/1
 │   87   (language_server 0.5.0) lib/language_server/providers/formatting.ex:11: ElixirLS.LanguageServer.Providers.Formatting.format/3
 │   88   (language_server 0.5.0) lib/language_server/server.ex:568: anonymous fn/3 in ElixirLS.LanguageServer.Server.handle_request_async/2
 │   89
 │   90 [Error  - 3:51:58 PM] Request textDocument/formatting failed.
 │   91   Message: Unable to fetch formatter options
 │   92   Code: -32603

.formatter.exs in umbrella root:
# Used by "mix format"
[
  inputs: ["mix.exs", "config/*.exs"],
  subdirectories: ["apps/*"]
]

.formatter.exs in umbrella child foofus:
[
  import_deps: [:phoenix],
  inputs: ["*.{ex,exs}", "{config,lib,test}/**/*.{ex,exs}"]
]

phoenix related deps in mix.exs of foofus:
   44       {:phoenix, "~> 1.5.1"},
   45       {:phoenix_html, "~> 2.11"},
   46       {:phoenix_live_view, "~> 0.14.4"},
   47       {:phoenix_live_reload, "~> 1.2", only: :dev},

If I understand it correctly, this issue happens because of ElixirLS aren't start to fetch dependencies into deps cache or are in fetching state. That's why it shows Unknown dependency :phoenix given to :import_deps in the format error message.

Thanks for the report! Do you have a sample app that reproduces this behavior? That would be helpful for testing it.

Meh, actually I don't at the moment. Now the indenting does not work but I do not see the error any more :-(
I'll close the issue for now and might reopen it, if I can reproduce the issue in a sample app.
Sorry for bothering you.

Okay, sounds good. FYI, indenting is usually handled by an editor plugin (although you can use ElixirLS to format the whole file which takes care of indentation after the fact)

I have the same issue right now in a project and am not sure what is producing this. Is there a way to debug this to get more information that is helpful here? Building a sample project sadly did not help. There is something wrong in my current project.

I have the same issue right now in a project and am not sure what is producing this. Is there a way to debug this to get more information that is helpful here? Building a sample project sadly did not help. There is something wrong in my current project.


How run flutter command if I removed all the git files

How run flutter command if I removed all the git files， I have customed the flutter sdk on a stable version and save it on my git repository, but the flutter needs itself git, two git will conflict when CI. How to fix the errors when I removed the flutter original git?

Hi @ping996
You need git files  The flutter tool requires Git in order to operate properly;
You can fork stable branch from stable branch and make your changes in your forked repository.
For questions like these
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


libman command error after installed the Microsoft.Web.LibraryManager.Cli

Describe the bug
libman command error
To Reproduce
Steps to reproduce the behavior:

dotnet tool install -g Microsoft.Web.LibraryManager.Cli
libman
See error

Expected behavior
show libman related info
Screenshots

Additional context
Visual Studio 2022 professional 17.9.1
Microsoft.Web.LibraryManager 2.1.175

hostfxr.dll not found indicates it can't find the correct runtime installed (the libman CLI tool is a framework dependent app, not self-contained).  However, libman has roll-forward enabled, so it should run with any installed runtime.
What output do you get with dotnet --list-runtimes?  And is it possible you've set the DOTNET_ROLL_FORWARD environment variable to disable the config setting?


Feature/initial sync with huge files

Context
Now that our dataset is getting bigger, the initial syncs start to suffer as well. JavaScript heap out of memory error are appearing.
This PR is an update to avoid having to load the entire file content into memory to be able to process it. Instead, we process it by batches and immediately store the batches in the DB before moving on to the next one.
Attention points
I was especially careful because if means that I now read the ttl files line by line, which can be an issue in case of triples speading over multiple lines or in case of broken ttl pieces. I tried to cover all the edge cases, but if you think at others please comment here.
To test : the dump file that made it crash is the decisions from the harvester. I tested by making an initial sync between Centrale Vindplaats and the Harvester, via the besluiten-consumer service. I took about 4h to complete on my local machine.

Note to myself : tag before resolving conflicts and merging to master

To ease testing, here is my config:
  besluiten-consumer:
    environment:
      SLEEP_BETWEEN_BATCHES: 10
      DCR_DISABLE_DELTA_INGEST: 'true'

With this, it takes about 15 min to execute.
Only for testing purposes, we'll let the sleep at 1000 for the real app not to overload the db if other processes are running.


[Bug] In this case, profiling tasks should not be created

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
During the creation of profiling task, a field called time_bucket will be generated,time_bucket is converted from the end time of task monitoring.For example, for Task A, the monitoring start time is 12:00:00, the monitoring time is 5 minutes, and the monitoring end time is 12:05:00, time_bucket is 12:05.Then create Task B, with the start time of 12:04:00 and the end time of 12:09:00, will go to the database to check whether there is a time_ Buckets in this range. If yes, throw "current service already has monitor task execute at this time".For example, start is 12:04:00, end is 12.09:00, and there is a time_bucket is 12:05, so Task B failed to be created.
But if you create a task with a monitoring time of 15 minutes at 12:00:00,  time_bucket is 12:15. At this time, a task with start is 12:04:00 and end is 12:09:00 can be created successfully. This should not be as expected.
There is also a UI problem. When the "current service already has monitor task execute at this time" is returned, the pop-up window will show that the creation was successful, but it was not actually created.

What you expected to happen
In this case, profiling tasks should not be created
How to reproduce
First create a profiling task with a monitoring duration of 15 minutes, and then create a profiling task with a monitoring duration of 5 minutes
Anything else
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

This seems a bug. Are you going to submit a pull request to fix?

Yes I am willing to submit a PR

Assigned to you. cc owner @mrproliu


Changing max_seqlen type to Tensor instead of int

Consider changing the max_seqlen type to Tensor instead of int. Otherwise, it will be converted to Python scalar leading to an incorrect trace in torch.jit.trace.
Related: https://github.com/Dao-AILab/flash-attention/issues/431

Any updates?


High cpu load on ng serve: webpack 2.1.0-beta.21

Just installed angular-cli webpack 2.1.0-beta.21 on my mac and started a new clean test project.
After 'ng serve' got message  "webpack: bundle is now VALID." but got a high (80-110%) cpu load.
OS: Mac OS X, El Capitan
Versions:

angular-cli: 1.0.0-beta.11-webpack.8
node: 6.2.1
os: darwin x64

Possibly related to #1956, but for me it happens only on ng test. ng serve is ok for me, no high CPU load.

I don't know how, but 'npm install' resolved the problem

install fsevent can solve the cpu problem even till the version 1.7.1


Add more error checks during the signing process

What this PR does / why we need it: Before this change, several of the potential errors during the process of signing a package were skipped.
Crucially, Close()ing the ReadCloser from the gpg clearsigner is the call which actually does the signing, and so has several points of failure which are ignored; for example, if there's a problem with the format of the key.
Also changes the error from messageBlock to be propagated rather than being swallowed, and adds a unit test which fails when run against the main branch currently.
Special notes for your reviewer: io.Copy is documented to not return EOF, so there's no need to check for that case when checking its error.
I guess returning these errors is, in a way, backwards-incompatible - a workflow today could be silently failing to sign and returning "", nil which wouldn't be reported as an error. I'm not sure how useful such a workflow would be though since the generated "signature" would be an empty file. In such a case I'd want helm to start loudly failing to sign.

Is there anything else needed on this PR? Let me know if so! :grin:


⚠ Bofrost.fr has degraded performance

In c88730c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1092 ms

Resolved: Bofrost.fr performance has improved in 2d885a7 after 11 minutes.


If Experiment 26 is a ghost/phantom then why the lab upgrades doesn't show ghosts option.

Here's an image showing that the Ghosts option in Lab Upgrades doesn't show while 26 is present.

Since that option requires LIST_CREW_GHOST and contains all the ghost races, So the solution is to append 26 to that requires list in autoBlueprint.xml.append.

Yeah, this just involves me going through and checking to make sure all the crew and weapons are in the right blueprint lists, It will definently be done before 1.0 releases.


A question ablout evaluation part

Hello, thank you for your contribution to the project. I performed evaluation using the provided weights (tuning_noact.pth), but I noticed that the results obtained differ significantly from those mentioned in the paper. May I ask what could be the reason for this discrepancy?
Here is the result:
scene_cap: {'target_metric': 0.5365393296813179, 'sentence_sim': 0.5365393296813179, 'cider': 0.0024425725349913894, 'bleu': 0.014988367548581037, 'meteor': 0.07814106941476615, 'rouge': 0.15854548302389063}

Thank you for the response. The example mentioned above is specifically illustrated in Table 4 of your paper regarding Scan2Cap. It seems that the Val values in the table are in the tens digit, such as C-72.4 M27.9. However, the results I obtained seem to be the small num (as the question I asked).

Thank you for the response.


Hide snapshot button on public page for services and workflows

Bug Report
It fails and gives an error, but the snapshot button should be hidden on the public page.
Steps to reproduce the behaviour
Go to any workflow or service's public page and click on the versions tab.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.7
┆Sprint: Seabright Sprint 18 Skipjack
┆Issue Number: DOCK-892

Wasn't reviewing this specifically, but this is actually viewable again
https://staging.dockstore.org/workflows/github.com/gatk-workflows/gatk4-somatic-snvs-indels/Mutect2:2.4.0?tab=versions

Fixed in
API - 1.7.0-rc.1
UI - 2.4.0-rc.1


OAuth2 Filter's [AuthorizationEndpointFormat]  state parameter could be configurable

OAuth2 Filter's [AuthorizationEndpointFormat]  state parameter could be configurable state could be configurable
OAuth2 Filter's [AuthorizationEndpointFormat]  state could be configurable which would save the cases where re-writing redirect URLs and instead always have a static state parameter URL value.
https://github.com/envoyproxy/envoy/blob/aa19a78404e285d5cd219c564a68e67c59484075/source/extensions/filters/http/oauth2/filter.cc#L58-L59
e.g. A web-app makes a gRPC request which responds with a redirect. The gRPC request is merely an XMLHttpRequest which needs to be intercepted and finally redirect the window.location.href to the SSO server's login page. After a successful authentication/authorization it is required to actually redirect to the web-app's URL and not to re-issue the gRPC initial request which was the state parameter's value.

Sorry I'm not sure what this is referring to. Please provide more information.

@mattklein123 I have updated the description. I hope it is all good now.
Thank you!

cc @rgs1

My envoy instance is reverse proxied behind nginx at https://$host/api/v3 and the state parameter takes the following value:
&state%3Dhttp%253A%252F%252F<IP_ADDRESS>%253A8085 => &state=http://<IP_ADDRESS>:8085
I believe that a good solution would be able to have the ability to define a static or dynamic value for the state parameter:

static:      state: "https://localhost/api/v3"
dynamic: state: "%REQ(:scheme)%://%REQ(:x-forwarded-for)%/api/v3"


SelectorDimFilter optimize() does not work correctly with LookupExtractionFn missing value handling

If optimize() is called on a ExtractionDimFilter/SelectorDimFilter with a LookupExtractionFn, an incorrect filter will be returned in some cases.
Suppose we have a single dimension, dimA, with rows:
{dimA = "a"}
{dimA = "b"}
{dimA = "c"}
{dimA = "d"}.

Suppose we define a LookupExtractionFn with the following underlying map, with retainMissingValues set to true:
{"a" -> "d"}.

If we define a selector/extraction filter that matches on "d" using the LookupExtractionFn above and call optimize() on the filter, the unapply() reverse-lookup will only pick up value "a". The optimize() step has no knowledge of the untransformed value "d", and the resulting InFilter will not match all the rows it needs to.

Similarly, if retainMissingValues is false, and replaceMissingValuesWith has the same value as the selector value, optimize() will not be aware of all the row values that it needs.
Using the same example rows, suppose we have the following selector filter and lookup extraction:
selector:
- value: "b"
lookup:
- map: "a" -> "b"
- replaceMissingValuesWith = "b"

This should match all rows, since "a" will be mapped to "b", and "b","c","d" are not in the lookup map and will be transformed to "b".
If we call optimize() on this filter, the resulting filter built from reverse-lookup will only select for value "a". It is not aware of all the other values that will be transformed to "b" via the replaceMissingValuesWith property.

Fixed in #2690


drop foreman-installer-pr-test

migrated to GHA
needs https://github.com/theforeman/foreman-installer/pull/944 and https://github.com/theforeman/foreman-installer/pull/943

I've even fixed the branch protection rules! :tada:


[bugfix] Handle super calls in CP - WIP

This PR fix the issue to handle _super calls in CP
For example in below code
const Foo = EmberObject.extend({
      first: "rob",
      last: "jackson",

      fullName: computed("first", "last", function() {
        return `${this.first} ${this.last}`;
      })
    });

    const Bar = Foo.extend({
      githubAlias: "rwjblue",
      fullName: computed("githubAlias", function() {
        const fullName = this._super();
        return `${fullName} [ ${this.githubAlias} ]`;
      })
    });

    let obj = Bar.create();
    const fullName = get(obj, "fullName");

The fullName is undefined [ rwjblue ] whereas it should be rob jackson [ rwjblue ]

This will fix the issue https://github.com/pzuraq/ember-decorators-polyfill/issues/15

Tests are passing but Travis never reported back, going to merge


pyproject.toml?

I hear this is the Modern(tm) way to define python projects and dependencies?
Seems more sensible than using a shell script to download random package versions o.o

Hello! I've stumbled upon your project while reading through MyPy release notes and checking out relater PRs.
I must tell, this python codebase is better than in 99% of python projects I'v seen written by people who don't use python professionally.
I'd like to give you some direction on this issue that you might consider useful.
You can start by checking out https://github.com/pypa/hatch
This wil also allow to just pip install . on the project.
And https://github.com/ofek/hatch-mypyc, a plugin for Hatch, will allow to compile the project with mypyc upon installation (btw, MyPy 1.0.0 with match statement support is out)
On top of that, you'll be able to hatch build && hatch publish it as a package to pypi.org.
Few things to note: you should rename package name from src to something more telling, e.g. rosettaboy.
If you'd like to keep src as a sources container, you can instead create a subdir with a package name. But imports should still start with the package name (so in both scenarious if you end up choosing rosettaboy as a package name, imports should look like from rosettaboy.cpu import CPU and so on, regardless of whether you end up with ./src/rosettaboy or just ./rosettaboy).

Oh, and I forgot to say thank you! ❤
I want to learn Rust for a long time and this project is definitelly going to be useful as a reference.

Thank you for the pointers, I will check out hatch now, and update mypy to 1.0 :D
The package directory being named src is mostly just for keeping in-line with the other implementations who all use eg src/cpu.cpp, src/cpu.rs, etc -- I know it's frowned upon (and might even cause problems if we ever wanted to publish as a package that other people can install), but I think if it's only ever going to be run locally from a git checkout, then it won't break anything? (I'm not opposed to changing it, but right now I appreciate being able to eg fix a bug across CPU implementations with vim */src/cpu.*  ^^)

Hmm, understood. Another option would be to use: https://hatch.pypa.io/latest/config/build/#rewriting-paths
However, it will still (probably) require to rename src to new package name in imports.


Brainstorm for New Survey: Contribution Experience

Thinking we should find out what folk's current experience is with contributing, this will let us know how we can make it better and help us recruit new members
Will fill out more details later

One area where this applies and is probably the lowest barrier to entry is docs, so I would love thoughts from @open-telemetry/docs-approvers on this!
We might want to tap some SIG maintainers here too. Are there any SIGs that we know of that need some extra contribution love? This may be a question for @open-telemetry/governance-committee?

Please take a look at https://github.com/open-telemetry/community/pull/2162 as well, since I suggested creating a SIG for contributor experience, so this could be a coordinated effort eventually. This should not stop you from creating such a survey and I agree (very selfishly) that docs is a good starting point

I agree -- the survey is a good idea to have, and we could even consider having it regularly. We have a list of contributors to the project via devstats, so we could target people from that list.

I like the idea of doing a survey regularly. Can you point me to how we can find the contributors via devstats?

This could be a good start:
https://opentelemetry.devstats.cncf.io/d/52/new-contributors-table?orgId=1

This is great! Thanks for sharing!!

Related PR: https://github.com/open-telemetry/community/pull/2162

A combined effort on this would be amazing. I think it's possible for organization admins to see emails of all members as well (thinking about automating this), although that will be a subset of contributors.
Would the intention be to have an "onboarding survey" to see how new contributors found their experience?

Would the intention be to have an "onboarding survey" to see how new contributors found their experience?

Yeah, exactly - onboarding specifically around OTel contributions.

Hey @open-telemetry/sig-contributor-experience-maintainers, the End-User SIG had brainstormed coming up with a survey to understand the contributor experience and ways to improve it. With the creation of the new SIG we feel like this fits your wheelhouse more and wanted to put it on your radar, we are happy to help in any way

should this issue be moved then? or should we have 2 of them? End User SIG has so much more experience in running those surveys and accomplishing reach, so I would prefer to collaborate on that still

A thought I wanted to have written down: it would be interesting to see if we can split this survey into two: a contributor experience survey and a non-contributor experience survey where the second is aimed towards people that wanted to contribute but failed to do so or stopped contributing. This would be helpful to identify some issues on how people get into our community

Regarding two surveys... I think we can get into survey fatigue (although I guess we wouldn't be targeting the same groups). I think it would be possible to create a survey with an initial condition (have you contributed before) and go to a different section as explained in https://www.howtogeek.com/437542/how-to-create-a-google-form-with-branching-logic/.
That way only one survey may come out, with a message like "have you contributed to OTel, or have thought about it didn't get to it". This may be easier to handle and aggregate responses (some of them may be similar questions for both groups)

I gave this a try here: https://docs.google.com/document/d/1YlwHJlJjuaR4i8VqWf1eIOpT158TOHdLii8iC0ndJXc/edit?tab=t.0#heading=h.wkyobsrv4abk My focus has been to also ask questions related to existing community contributors and not only newbies.
Note that we have a duplicate of this issue here: open-telemetry/sig-contributor-experience/issues/27. I like this one better, should we close the other one and transfer this one to the sig-contributor-experience repo?

@mx-psi Survey is looking good! Do yall need our help or would yall like to run it yourselves? We are super happy to help

I have turned the Google Doc into a Google Form and I am looking for volunteers to do a dry-run and give feedback about it. If you are interested please reach out to me in the CNCF Slack.
If all goes well, I would like to release this on the week of January 6th and use the help from the End-User SIG to share this :)

@mx-psi happy to take a look

@svrnm Great! Sent you a DM on the CNCF Slack