Powershell5 install on Windows Server 2012 R2 returns exit code '5'

What does an exit code of '5' mean?
           ================================================================================
Error executing action install on resource 'windows_package[Windows Management Framework Core 5.0]'
================================================================================
       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       Expected process to exit with [0, 42, 127, 3010], but received '5'
       ---- Begin output of start "" /wait "C:\Users\ADMINI~1\AppData\Local\Temp\kitchen\cache\WindowsBlue-KB3037315

-x64.msu" /quiet /norestart & exit %%ERRORLEVEL%% ----
STDOUT:
STDERR:
---- End output of start "" /wait "C:\Users\ADMINI~1\AppData\Local\Temp\kitchen\cache\WindowsBlue-KB3037315-x
64.msu" /quiet /norestart & exit %%ERRORLEVEL%% ----
Ran start "" /wait "C:\Users\ADMINI~1\AppData\Local\Temp\kitchen\cache\WindowsBlue-KB3037315-x64.msu" /quiet
/norestart & exit %%ERRORLEVEL%% returned 5

The default test-kitchen runs invoke chef-client over WinRM.  The windows security model does not allow the installation of MSU packages over WinRM.
For more, see
https://github.com/test-kitchen/test-kitchen/issues/655#issuecomment-114921207

I've just been struggling with this, some background to the above statement.
https://support.microsoft.com/en-us/help/2773898/windows-update-standalone-installer-wusa-returns-0x5-error-access-deni
Having trawled through https://github.com/chef/chef/issues/1614, they mention there is msu_package since Chef Client 12.17 (https://docs.chef.io/resource_msu_package.html).
I tried modifying recipe/powershell5.rb to say (and the block for 6.1) and it worked for me.
  elsif ::Windows::VersionHelper.nt_version(node) > 6.1
    msu_package 'Windows Management Framework Core 5.1' do # ~FC009
      source node['powershell']['powershell5']['url']
      checksum node['powershell']['powershell5']['checksum']
      action :install
      notifies :reboot_now, 'reboot[powershell]', :immediately if node['powershell']['installation_reboot_mode'] != 'no_reboot'
      not_if { ::Powershell::VersionHelper.powershell_version?(node['powershell']['powershell5']['version']) }
    end


add GC9A01 driver file

Hey @lukunn, thanks for the PR, everything seems fine and didn't broke any other display controller, but I don't have the hardware to test it, we will assume that you got it tested on your hardware.


images: Fix init-container script for cilium-dbg

Commit 328a98f2bbae ("images: Switch CLI references to cilium-dbg")
started using the newly renamed cilium CLI name in images/ artifacts,
but that commit missed the update to the cleanup script. Fix it.
Fixes: 328a98f2bbae ("images: Switch CLI references to cilium-dbg")
Fixes: https://github.com/cilium/cilium/pull/28085

/test

ci-runtime jobs failed due to Quay.io outage. conformance-e2e failed on a service test, which must be unrelated to this change given the nature of the changes here. I filed https://github.com/cilium/cilium/issues/29468 to follow up on that issue.


Bring documentation, code and infrastructure back up to date

It's been a little while since this was last updated, so I've gone through the docs, CI infra and code doing some much needed maintenance and cleanup. Major things include

updating the README, fixing typos,
switching Dependabot to Go module duty, it is of no real use with GH Actions that have a major tag, and
switching to the latest release of rlespinasse/drawio-desktop-headless, which is going to help with avoiding some workarounds currently present in this code base in the future.

This should be enough for drafting a new release, and I'll do a similar cleanup over in https://github.com/racklet/render-plantuml-action next as well.

LGTM


PowerRename Window Size

Description of the new feature / enhancement
PowerRename always opens to the same window size, which is way to large (for me). It would be great if it opened to the last closed size and location.
Scenario when this would be used?
Eliminates having to resize the app window every time it is launched.
Supporting information
No response

At the moment, this is not built in for PowerRename. But, you can use FancyZones to achieve this! Check

[x] Move new;ly opened windows to their last known zone

/dup https://github.com/microsoft/PowerToys/issues/2152
found a much earlier version of this


[CT-3174] [Bug] Error in postgres materialized views

Is this a new bug in dbt-core?

[ ] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
My scenario is that I have multiple dbt models in postgres - and there is a materialized view that is failing with mysterious compilation error output.
First run works fine.
Subsequent run errors.
Model is just a basic materialized view with a unique index to support concurrent refresh.
There is a second view that depends on the materialized view.
Expected Behavior
This error should not happen, or if it is unrecoverable it should print a helpful debug message.
If it is a user error it should be explained to the user so they can fix their model.
Steps To Reproduce
I do not have a minimal test case available.
I believe the following will be the test case:
Create a  dbt-postgres view model that references a materialized view model.
Try to dbt run twice.
Relevant log output
unsupported operand type(s) for +: 'PostgresRelation' and 'str'

  > in macro materialized_view_get_build_sql (macros/materializations/models/materialized_view/materialized_view.sql)
  > called by macro materialization_materialized_view_default (macros/materializations/models/materialized_view/materialized_view.sql)
  > called by model ... (......sql)

Environment
- OS: macos ventura 13.6
- Python: 3.10.12
- dbt: 1.6.4

Which database adapter are you using with dbt?
dbt-postgres 1.6.4
Additional Context
No response

Update on this issue:
I happened to want to define a macro named refresh_materialized_view but so did macros/materializations/models/materialized_view/refresh_materialized_view.sql
This meant anytime the library wanted to invoke its macro it wound up invoking mine instead.
If there was any code fix to be applied it would be making the internal name something like __refresh_materialized_view.
Maybe there can be some sort of warning if you are overriding library macros?

@tomans-spirent thanks for the issue and followup! is my understanding that there isn't a bug in dbt-core, rather the issue had to do with a macro in your project that overrode dbt-core functionality?
the ability to override is a feature today not a bug, but can introduce situations like this

@dataders
Could you show me the docs for the macro overrides feature? Is it a secret feature? I couldn't find it. I was thinking "the docs could be updated to include a hazard label"

Could you show me the docs for the macro overrides feature? Is it a secret feature? I couldn't find it. I was thinking "the docs could be updated to include a hazard label"

Good callout. I went looking and couldn't find much on the topic beyond the specific example of overriding the generate_schema_name() macro.
We likely should do a better job at this.
That said, my feeling is that perhaps we call this ticket resolved and instead open a new issue that is more targeted. tell me if i'm offbase at understanding your request(s) as the following?
there should be

some warning alert to users when they have macros in their project that are actually "reserved" macros. this alert could be silenced if the users wishes
there should be a naming convention for these macros to prevent unintentional collision
there should be a docs page spelling out the current behavior clearly

if this is the case, i believe that 1 and 2 should be issues on this repo, and the 3rd would be a great candidate issue for the dbt-labs/docs.getdbt.com repo

@dataders thanks for your response and attention to this issue
I think your summary is good.
I am happy with documentation somewhere if it could prevent some UX suffering.
The ticket you opened seems nice. I think it could be an addendum in the main macro documentation if it is just part and parcel of how macros work in dbt.
Relevant tooling output is even nicer. I am not clear on the effort required (I had trouble even finding where the original refresh_materialized_view macro I was re-defining was originally defined) - I am happy to say it would be a "nice to have".
I will to close this ticket because there is a workaround for me and anyone else who runs into this issue.
Any future work as a result to improve the user experience is icing on the cake.
Thank you again @dataders

ok great. by all means open the other issues we discussed, if I haven't yet gotten the chance.
also wanted to mention that I remembered another post you might enjoy because it talks about macro-overriding, but also because it has to do with the global_project in general


[🐞] Error: Actions can not be invoked within the server during SSR.

Which component is affected?
Qwik Runtime
Describe the bug
When attempting to vitest a component that invokes a routeAction$ I'm getting the error:
Error: Actions can not be invoked within the server during SSR.
Action.run() can only be called on the browser, for example when a user clicks a button, or submits a form.
    at Proxy.routeActionQrl_action_submit_A5bZC7WO00A

I thought that vitest would render using the node environment and thus SSR and I could mock out the HTTP API call that my action is ultimately making.  This is not the case though and I can't find any good documentation on how to do this.
  test('Should successfully remove users', async () => {
    const Wrapper = component$(() => {
      const removeDialogRef = useSignal<HTMLElement>();
      const onClose$ = $(onCloseSpy);

      return (
        <QwikCityMockProvider>
          <RemoveUsers
            ref={removeDialogRef}
            selectedUsers={selectedUsers}
            close={onClose$}
          />
        </QwikCityMockProvider>
      );
    });

    const { render, userEvent } = await createDOM();
    await render(<Wrapper />);
    await userEvent('.vi-submit-remove', 'click');
  });

Where within the RemoveUsers component it calls action.submit(data as unknown as FormData) which ultimately makes an HTTP POST call.
Reproduction
http://no.repro.url
Steps to reproduce
No response
System Info
System:
    OS: macOS 14.3.1
    CPU: (20) arm64 Apple M1 Ultra
    Memory: 212.80 MB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    bun: 1.0.7 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 113.0.5672.126
    Safari: 17.3.1
  npmPackages:
    @builder.io/qwik: ^1.4.3 => 1.4.3
    @builder.io/qwik-auth: 0.1.3 => 0.1.3
    @builder.io/qwik-city: ^1.4.3 => 1.4.3
    @builder.io/qwik-react: 0.5.0 => 0.5.0
    undici: 5.28.2 => 5.28.2
    vite: 5.0.12 => 5.0.12

Additional Information
No response

Hmm, so the QwikCityMockProvider should somehow make it so that actions run locally? Or should they be mocked entirely?
Sounds feasible but needs a good think about the API. PRs very welcome.

That's correct, in this context I'd want to mock the fetch calls for testing, however that doesn't mean there isn't a scenario in which one would want the action to run as normal as well.

@wmertens Help me understand the QwikCityMockProvider.  If I look at https://github.com/QwikDev/qwik/blob/main/packages/qwik-city/runtime/src/qwik-city-component.tsx#L130 and https://github.com/QwikDev/qwik/blob/main/packages/qwik-city/runtime/src/qwik-city-component.tsx#L578 the actionState is added as a context so theoretically actions should be able to be called.   If I look at the error itself it happens here: https://github.com/QwikDev/qwik/blob/main/packages/qwik-city/runtime/src/server-functions.ts#L90 and I assume the error is thrown because HTMLFormElement is not available from a SSR based action call.
Can you provide more thoughts on how this would be implemented?  I'm happy to do some work here but I need to understand what exactly is missing and what needs to be either mocked out or filled it, in isn't exactly clear.
The huge windfall here would be the ability to rapidly test one's app with mocked data.  The speed we could test if this was in place would be an order of magnitude faster vs cypress or playwright or any of the e2e testing libraries.


Downloading Dashboard Comprised of Google Charts extends past width of PDF

I have a simple div tag denoted with the id: dashboard and my code is as the following:
//Download PDF of Dashboard
$('#options-menu-download-as-pdf').on('click', function () {
    var dashboard = document.getElementById('dashboard');

    var options = {
        filename: 'Report.pdf',
        html2canvas: {
            scale: 2
        },
        pagebreak: {
            mode: ['avoid-all', 'css', 'legacy']
        },
        jsPDF: {
            format: [500, 200],
            unit: 'mm',
            orientation: 'landscape'
        }
    }
    html2pdf().from(dashboard).set(options).save();
});

This does everything I would like except I would like to be able to assign the width and height dynamically (I can do this already by window size or the current h/w of the dashboard in HTML but that could lead to poorly rendered PDFs if the user has their browser window not at full screen).
It appears as though the charts themselves cannot be manipulated to fit within the h/w of the pdf so the get cut off, whereas my grid styling actually fits to the dimensions of he document.
I looked at this thread: https://github.com/eKoopmans/html2pdf.js/issues/44 that discusses a 'fit-to-width' option. I am missing an example of that in documentation so I am not sure if that is an option with html2pdf, the underlying jsPDF, or even a CSS option.

How about: $("#Elementd).css("height", "297mm");
Or have you already found a solution?


[Snyk] Security upgrade node from 14.21.3 to 16.20

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

web-server/Dockerfile

We recommend upgrading to node:16.20, as this image has only 366 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

514
Improper Authentication SNYK-DEBIAN10-CURL-3366759
No Known Exploit

714
Improper Authentication SNYK-DEBIAN10-CURL-3366770
No Known Exploit

614
Arbitrary Code Injection SNYK-DEBIAN10-CURL-3366771
No Known Exploit

614
Improper Authentication SNYK-DEBIAN10-CURL-3366778
No Known Exploit

514
NULL Pointer Dereference SNYK-DEBIAN10-LIBXML2-5423818
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 NULL Pointer Dereference

Breaking, unable to push, reverting.


UCP: Import monospace font

Description
This task is to import a monospace font (likes "Source Code Pro") to show the code content (likes SQL statement) more beautiful.
Score

50

Mentor(s)

@baurine

Contact the mentors: #tidb-challenge-program channel in TiDB Community  Slack Workspace
Recommended Skills

HTML/CSS

/pick-up-challenge

/pick-up-challenge


feat: implement restore table to a different instance feature

[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

This PR proposes the following design

Introduce an additional function Backup#restoreTo(config, callback?) which accepts a config parameter of the typeexport interface RestoreTableConfig {
  tableId: string;
  instance?: Instance | string;
  gaxOptions?: CallOptions;
}

Backup#restore() delegates to Backup#restoreTo() with this.cluster.instance value for config.instance.
Instance#createTableFromBackup() now respects both

Backup object created on a different instance.
As well as a string of full backup name (path) that contains a different (form this.id) instanceId.

Other design options
!Breaking:

Replace Backup#restore() with the proposed Backup#restoreTo() implementation
Include the changes with current pending 4.0.0 release

Non Breaking:

Add an optional instance parameter to Backup#restore()

This design might be a bit messier than desiredrestore(
  tableId: string,
  instanceOrGaxOptionsOrCallback?:
    | Instance
    | string
    | CallOptions
    | RestoreTableCallback,
  gaxOptionsOrCallback?: CallOptions | RestoreTableCallback,
  cb?: RestoreTableCallback
): void | Promise<RestoreTableResponse> {...}

This design will diverge from the established pattern function(OneRequiredParamIfAny, optionsOrCallback?, callback?) {...}

#ToDo

[ ] Add System test
[ ] Add Samples for

[ ] Backup#restoreTo()
[ ] Instance#createTableFromBackup()

@AVaksman is there any additional context for the reasoning of this addition?

@AVaksman is there any additional context for the reasoning of this addition?

Hey @stephenplusplus! We will be working on this in all languages, here's the Java draft for reference: https://github.com/googleapis/java-bigtable/pull/515

@kolea2 thank you!

Looking good, merging into backup-different-instance as a WIP


does tutorialD has utf-8 support?

Hi, I just found this functional relational algebra database.  Math operators and functional pureness really helps me better understand database than sql syntax.  I can easily project what I want by group and sum() and ... etc...It feels like a great database choice. Great Work!
And this is not an issue, just a question.
After I type some traditional Chinese characters in a tutd file and import it, it says:
ERR: ImportError "scripts/ClassExamples.tutd: hGetContents: invalid argument (invalid byte sequence)"
and in tutorialD commandline, I insert some characters and it become:
│"\24278\20104\37528"│
Does it mean it does not support utf8 right now?

Hi @YuMingLiao, sorry about that. The intention was always to support UTF-8. I'll fix this right away.

@YuMingLiao, a new branch contains the fix for terminal display of mutlibyte characters.
However, I was not able to reproduce the tutd file import failure. Here is my test file in UTF-8:
x:=relation{tuple{a "于"}}
which imports without errors.
Could you provide your test file which fails?

I am not sure if my computer setting is related or not.
for reference:
I am using babun in windows 10.
my locale tried en.UTF-8, zh_TW.UTF-8, and get the same output error.
TutorialD (master/main): :importtutd "scripts/ClassExamples.tutd"
ERR: ImportError "scripts/ClassExamples.tutd: hGetContents: invalid argument (invalid byte sequence)"
I attached my test file here. It only has one utf8 character in a tuple in s relation variable.
(github didn't support tutd, so I add .txt extension to upload this file..)
ClassExamples.tutd.txt

I can't use stack or cabal to build new branch now. One is "Process exited with code: ExitFailure 1" and the other is "... trouble fulfilling ...". I am still trying to figuring out the setting.
Sorry about the inconvenience for checking on my side.
And glad to know it works for terminal display now! Thank you for the instant help!

I see- the wcwidth module doesn't work on Windows, so I'll need to do some work on it. You should stick to master for now.
I am able to import your sample file on Linux using the zh_TW.utf8 locale, so there must be going something wrong on Windows. I'll be able to take a closer look tomorrow. Sorry for the trouble- at least it works on Linux :-/
By the way, are you using MinGW bash or a different terminal?

No trouble at all. I am just glad I found a great, easy-to-understand database to learn. It is truly a great work!
I am using babun / cygwin.
Since there is nothing wrong on Linux, I guess it's something wrong on the windows part. I'll report here if I found something. Pardon me for lacking experience. And thank you for taking time verifying this.

@YuMingLiao, the 195_improve_utf8_support branch is now compiling on Windows with new UTF-8 tests passing. Please try this branch and let me know if it works for you.
The change I made was to unconditionally output UTF-8 on data export and import. This may make some Windows use-cases more difficult but will, in general, allow any tutd file to be shared without worrying about specific encodings.
I don't have plans to implement support for alternative encoding at this time, though I don't exclude the possibility that such a feature could be useful in the future.

I stack built the 195_improve_utf8_support branch. it works when importing a tutd with utf8, and it also works when inserting a tuple with utf8 in command-line mode. I can see utf8 in both situations now.  Confirmed. That's wonderful! Thanks a lot!

The branch has been merged to master.


[MRG] Add governance structure and update README

Hi, I create a new governance structure .rst file and updated the README.rst to point to where the gh page will be hosted once published... I rendered the html files locally and they look good to me. I'm unclear on the process for posting the .html files generated...is there an Action that makes them automatically? is that a separate PR under the gh-pages branch? thx :)

This is great @dylansdaniels! I believe all .rst files within the doc directory get compiled and pushed to the gh-pages branch automatically by CircleCI.
Looks like linkcheck is failing but I think that's because its testing the link to the governance.html webpage which doesn't exist yet.

Perhaps add the html link in a follow up PR so we keep the CIs happy?

Hi @dylansdaniels,
Following up on our meeting discussion, I wanted to suggest a small update to the README.md file. As we mentioned, updating the #Roadmap link would be helpful for users.

@jasmainak sounds good, I can remove the http link for now :-)
@samadpls I think we landed on removing the roadmap entirely since it's out of date. I think it makes sense to lump that in with the f/u PR since that will be changing the README anyway?

Shall I change prefix to [MRG]?

Thanks @dylansdaniels !!


Update user_data_deletion_requests.md

🚀 Deployed on https://637c045f2f08f416d56d0937--cozy-fox-0defec.netlify.app


Accessing EditorAppearance>Units

Has access to the "Editor Appearance"> "Units" properties been exposed in the API yet?
Scroll to the images in: https://answers.unrealengine.com/questions/303842/change-editor-units-from-centimeters-to-meters.html

Here it is: https://github.com/20tab/UnrealEnginePython/blob/master/docs/Settings.md


[Feature] Standard Deviation Calculator

Description
It calculates the standard deviation, variance based on the data given.
Screenshots
No response
Checklist

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

Code of Conduct

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

@Rakesh9100 I have request a PR for issues #1031 and #671 . Kindly assign this issue and #1120 to me.

@Rakesh9100 My all PRs are merged please assign issues to me

Proceed @Yuvraj960

We already have Statistics Calculator, pls work on other issues @Yuvraj960


Use Case Implementation of Egeria

Hello Team,
We started exploring Egeria project. I have gone in bit of details of Egeria like

Egeria Dojo
Egeria Jupyter Labs
Exploring different access services
Creating different type of Assets like SoftwareServer, Adding comments , adding Schema etc.

Next thing is we are trying to map our use case to Egeria.
Below is high level similar scenario we are trying to map to Egeria
Consider We are Financial Company 'A-FINTECH' (hypothetical) which provides financial services for Clients who want to invest money.
A-FINTECH company have multiple Agents (Employee) who can serve multiple clients at same time.
There are multiple departments in A-FINTECH company like Equity Management, Hedge Fund Management, Commission handling etc.
Every Department have multiple Agents working for it.
Single client can avail services from different departments (many to many relationship between client and Agent)
We can think to  create different department in A-FINTECH company as Databse Asset for each department.
We wanted to create Client and Agent in Egeria. We tried to find how we can map the Client and Agent (working in different department ) to existing assets types provided by Egeria.
As of now, logically we are not able to map the Client and Agent (basically Personas of different type ) in Egeria in logical way.
We also want to add more to Assets of type Client and Agent by adding relationship between them.
Our basic questions

Is it logical to put Personal profile like Client and Agent in Egeria is correct ? If there is sample use case where it is implemented for different Personas ?
If we can can implement personal profiles in Egeria, how to map it available open metadata asset types.
Can we please connect with you (admins/maintainers) directly, in order to explain our use case for more exploration of Egeria for our use case implementation and get your guidance ?
Thanks

Hello @chandaksagar ,
Egeria does support the modelling of organizations/teams and people with their roles and responsibilities.  This is describe in the Area 1 model and Area 4 model.
These are the links:

https://egeria.odpi.org/open-metadata-publication/website/open-metadata-types/0112-People.html - shows the model for a person
https://egeria.odpi.org/open-metadata-publication/website/open-metadata-types/0115-Teams.html - shows the model for a team (department)
https://egeria.odpi.org/open-metadata-publication/website/open-metadata-types/0440-Organizational-Controls.html - shows model for business capability

Egeria's main focus is to document the people, processes and technologies used to run an organization.  This does seem in line with your use case.  However, it would depend on the types of queries and processing that you need to build around the repository.

Is there any more help I can give you?

@chandaksagar I'm going to close now, but as per request above, if you need more help do join our slack or raise any issues on github


remove mass app generate

favoring mass app new

no more helm dependency
we get an app spec aka massdriver.yaml with mass app new

Merging, will resolve precommit checks in later PRs


HTML text in "title" will only render in "multiple" -mode

I would like to embed an image (glyphicon) for the "Custom button text". When I choose for "multiple" this works perfect, however, I want to select a single option and that will render the HTML as text...
See fiddle: https://jsfiddle.net/jefvhal/n1mv5jcy/

Here's my fix for title/placeholder issue ... did not test with a glyph.
Do a search for ...
if ($opt.attr('selected') === undefined && $opt.prop('selected') === false) {
  titleOption.selected = true;
}

change to ...
if ($opt.attr('selected') === undefined) {
  titleOption.selected = true;
}

+1

I've tested out this fix, and title will still only render in multiple mode

Can you link me to an example? It's working for me: https://plnkr.co/edit/TNBGUVxbimIwQUXXZ4fU?p=preview. Are you sure you're trying the latest version in master? This isn't part of an official release yet.


Reduce heap used by dependency resolution in composite builds

This PR moves the caching of resolution state and metadata for external components up from build scope to build tree scope, so that it is shared by all builds in the tree.

@bot-gradle test and merge

I've triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

I've triggered a build for you.


Major edits

Here's the new version of the paper/technical note. It's in the tex folder (Rmd file not used anymore). The whole thing is now less than 5 pages and links to the case study instead of including the SAR example in the paper.
@paul-buerkner @avehtari feel free to change whatever you want.

Thanks a lot, Jonah, for taking care of this!

Looks great! Just one thing

These equations were not traditionally intended to be used for LOO-CV of Gaussian

I think S&K really did intended them to be used, but they did not get popular.
I also made minor fixes for bib


Will it have better generation performance compared to triposr and instantmesh?

It may be hard now.  Our approach largely builds upon the existing multi-view diffusion model, which limits the quality we can generate.
However, we believe that with a superior base diffusion model, our zero-shot 3D generation technique has the potential to match, if not exceed, their results.


high_availability_mountpoint option fails on latest stable branch

Hello,
So I'm trying to use the latest stable branch of GitLab, 7-12-stable.
I'm also trying to use the high_availability_mountpoint option.
I receive the following error message:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: high_availability_mountpoint is only available in gitlab >= 7.2.0, found '7-12-stable' at /etc/puppet/modules/gitlab/manifests/init.pp:1010 on node gitlab.internal.alliancesoftware.com.au
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I believe the issue is that versions 7.10 and higher are considered to be lower version numbers than 7.9 and lower.
The naming convention of the branches differs from the versioning system used, and causes the versioncmp to behave differently to what we're expecting.

Gitlab changed their packages in gitlab 7.10 which completely breaks this module. The gitlab package is now hosted in package cloud, and has different names.
There is an overhaul in the works planned in #150 and #140

Thank you for that, I'd looked through some issues but hadn't noticed those.
If older releases still work, I'll use them for now and will keep an eye on the overhaul progress.
Cheers


Meteor.collection('users').find() or findOne() return null object

please help me?

It should be Meteor.users.find() or Meteor.users.findOne()
Refer: https://guide.meteor.com/accounts.html#meteor-users-collection

Are you have subscribition with users data ?

@suryaiiit this is not correct, because here with this package you need to use the Meteor.collection('CollectionNameHere').find or findOne method.
Accounts saved in users collection by default.

hm. i try with other collection ,but return NULL.
I connected and login with password.

@2ducanhpham you can show you server side code ?
because login use method via ddp, this is not what you will said.
To check you problem, create gist of:

Server side code with publish your data
Client side (react native)

Sever side nothing.
@noris666 . you can wirte example between server side and client side for Meteor.collection.
My English is not good.

@2ducanhpham you can take a look on the example https://github.com/inProgress-team/react-native-meteor/tree/master/example
Make sure that you run the meteor app along with the react-native app.

Hey @2ducanhpham !
@guilhermedecampo told good things for you.
Have you tried the examples for better understanding?
Your problem is solved ? Can i close this issue ?

thanks @guilhermedecampo , @noris666 . Its working


Issue with install commandline "go get github.com/denisenkom/go-mssqldb"

Hi,
This is probably not code related, but when trying to get go-mssqldb using the command "go get github.com/denisenkom/go-mssqldb" from the homepage, I receive a error message :
import cycle not allowed
package github.com/denisenkom/go-mssqldb
imports bytes
imports errors
imports runtime
imports unsafe
imports runtime
Documentation related to this issue are talking of deps issue within the code, which in my opinion is wrong. But I can't figure out of to fix this issue.
Best regards,
David

What is your GOPATH and GOROOT set to?

Thanks for replying.
David


Remove origin country and ID from the infection log

The new v2 API is based on the THL data which doesn't provide an origin country and the ID was changed from a running number to a combination of the fields. This PR removes those fields from the UI.
See https://github.com/HS-Datadesk/koronavirus-avoindata/pull/59
Before:

After:

Signed-off-by: petetnt<EMAIL_ADDRESS>

This is exactly what i was thinkkin!


Add support for request body

Adds support for HTTP request bodies (currently via a new --body argument) for both gohttp and rawhttp. Fixes #13.

Thank you so much! :)


Error refreshing page after nuxt build

I run node v7.1 and yarn 0.18.1 and I installed nuxt through the template running the following command:
$ vue init nuxt/starter <project-name>
and when inside I ran yarn to install the dependencies. However, when I do yarn dev and access the "about page" and refresh, I get an error that says the following:
Vue.js error: Error: render function or template not defined in component: anonymous
here is an image of the error
I did not edit any files or touch any configuration. Is there any reason why this is happening?

I think it's because the default about file doesn't have a template. For some reason it was never there. This is the generated about page:
<script>
export default {
  data ({ req }) {
    return {
      name: req ? 'server' : 'client'
    }
  },
  head () {
    return {
      title: `About Page (${this.name}-side)`
    }
  }
}
</script>

<style scoped>
.title
{
  margin-top: 50px;
}
.info
{
  font-weight: 300;
  color: #9aabb1;
  margin: 0;
  margin-top: 10px;
}
.button
{
  margin-top: 50px;
}
</style>

I also think it's because when I go about generating the project, it asks for four things:

name
description
author
raw

for raw I don't put anything, and that may be the reason, but I am not entirely sure.

Hi @swarajd
Thank you for spotting this issue, can you give me which version of vue-cli you're using vue -V?
I think this error is due to an update of the vue-cli.

I am using version 1.4.0. I think that's the issue as when I go to the repo for vue-cli it's version is indicated as 2.7.0

Yeah the vue-cli version was the issue once that was updated it ran perfectly!

I do think though that it would be wise to note that the latest version of vue-cli (i.e vue-cli >= 2) is required for the starter, as this issue is somewhat difficult to find without that knowledge.

Thank @swarajd it's updated on the starter.

I have a similar error only for the page using google maps (vue2-google-maps). The page works fine when I navigate from another page, but when I on the page and click on the refresh button, it fails and gives out the following error.


Update sbt to 1.6.1

Updates org.scala-sbt:sbt from 1.6.0 to 1.6.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

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

Codecov Report

Merging #338 (465816e) into main (8f0b4f1) will decrease coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #338      +/-   ##
==========================================
- Coverage   96.56%   96.37%   -0.20%
==========================================
  Files           9        9
  Lines        1049     1049
  Branches       94       94
==========================================
- Hits         1013     1011       -2
- Misses         36       38       +2

Impacted Files
Coverage Δ

core/shared/src/main/scala/cats/parse/Parser.scala
96.18% <0.00%> (-0.24%)
:arrow_down:

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 8f0b4f1...465816e. Read the comment docs.


Mauro User Categories

Currently, all DD users are set as administrators.
Can this be changed so there are other groups, such as author?
We don't want authors to be able to carry out specific tasks, e.g. move certain folders, publish releases, perform Ontoserver Integration.
Discussed with James 7/3/22 who says this is possible for the AWS instance.

Moved back to 'To Do' as not currently in progress and not part of S13.

Favourites are updated as per #443.  Final task is to restrict button presses in the orchestrator to only allow certain operations to be performed by particular users.

Favourites updated so that they can be expanded

User / Group permissions applied to certain items in the orchestrator so that only members of a particular user group can carry them out.  Otherwise, a warning message is shown:

To test this I removed myself from the Terminology Server Administrators group:

But when I go back in I am still in the group so am unable to test whether I would receive the error above:

@jamesrwelch - we asked Peter if we could remove the unnecessary groups and he wasn't sure so he will ask you.
We ideally only want the groups we need now and in the future.
We created the first two last time and would like to keep the Terminology one for post migration (renamed to say that)

25/06/24 - comments from Peter Monks:
Just checked, you can rename the "administrators" user group to whatever you want, everyone in that group will remain an administrator
The "Terminology Server Administrators" and "Website Preview Generators" user groups have been hard coded into the Mauro plugin you use, so if you want them removed I'll need to work on that at the same time as removing administrator restrictions to the orchestrator
Regarding the user groups in the style<EMAIL_ADDRESS>Group", when a user creates something and they aren’t in any group, one has to be created for the ‘readable by’ field, otherwise that user won’t be able to see it. So it's automatically happening. It's something James intends to change in the future but have no timeframe for that. I suppose for now you could create something e.g. a folder, then go back and assign a different user group to it, then remove the auto created one

We need all user groups be able to access the Orchestrator.
We don't need "Website Preview Generators" but would like to retain "Terminology Server Administrators" and rename it.
We can look at the groups again in Post Migration and use "Terminology Server Administrators". I have raised a new issue for Post Migration to consider this.

On accessing Mauro and selecting Browse I get a long loading time (rotating arrows), then:

No Model + Red Server Error message 'We're sorry but the server responded with an error message"
On clicking away to Search and back to Browse I can then see the model 'Data Dictionary & branches etc'

On attempting to access Orchestrator - the Sign in doesn't accept me as a user - Error message 'Unable to sign in.  Please try later'

My screen after logging in

Now can access what I need to

@pjmonks - This is Gouri's screen. He is an editor and can't access the Orchestrator.

Peter said that "The "Terminology Server Administrators" and "Website Preview Generators" user groups have been hard coded into the Mauro plugin you use, so if you want them removed I'll need to work on that at the same time as removing administrator restrictions to the orchestrator".
I believe that all groups should now be able to access the Orchestrator but "Terminology Server Administrators" and "Website Preview Generators" still exists.
Also, what is the group "administrators" for? We are using "administrators".

The user groups "Terminology Server Administrators" and "Website Preview Generators" are safe to delete now, this can be done by any administrator. System C have made sure that they have no bearing on actions done in Mauro or the Orchestrator.
The additional administrators group looks like a user group that has been automatically added back in by Mauro itself. My suspicion is that Mauro has "bootstrapped" this user group because it was not found - at startup of the web application, several automated actions happen to ensure the correct state of Mauro. If it did not find an "administrator" group (case sensitive), then it looks like it created one for you.
Both named administrator groups have the "Administrator" group role, so anyone in either group is considered an administrator. My suggestion is to either:

Delete the "Administrators" group and move all users to the "administrators" group, keeping that name for the future. Or
Raise an issue to @jamesrwelch to look into a possible bug to fix.

Closed and replaced with #485


Adding Live Image Plotting Functionality

Hi,
I've been working on adding live image plotting to PyMeasure. I now have a functional version that I think is ready to open up for other people's suggestions about and/or help in making this into something which is ready for a wider audience. I'm expecting that there is still a decent amount of work to be done before this should be merged with master. An example of the image plotting in action is shown at the bottom of this post.
I haven't added any documentation for the new changes (besides comments in the files I've changed), but I have included an example in the examples directory (in examples/Basic_Image_GUI/test_image_gui.py)  which showcases it's basic functionality. The list of added classes and their functions is described below. All of them have direct counterparts of the usual plotting classes (sorry, I don't know how to reference code files in a PR).
Added Classes:

display.curves.ResultsImage: inherits from PyQtGraph's ImageItem and takes the place of the ResultsCurve in the PlotWidget. This handles creating and updating the image displayed. Also, added a dependency to matplotlib.colormap here.
display.widgets.ImageFrame: Direct counterpart of PlotFrame which adds crosshairs to the image plot.
display.widgets.ImageWidget: Direct counterpart of PlotWidget which adds a z axis needed for the image plotting, and removes the option to change the X and Y axes.
display.windows.ManagedImageWindow: Counterpart of ManagedWindow adding a new tab for the results image plot and makes sure UI elements interact with the image properly.
display.manager.ImageExperiment: added storing the ResultsImage
display.manager.ImageExperimentQueue: modified to work with ImageExperiment
display.manager.ImageManager: modified to handle working with images

Now for the fun part: known bugs!

Images do not automatically display when queued. They need to be deselected and reselected in the browser to actually appear. I know that this has to do with the ResultsImage only being added to the ImageWidget in the ManagedImageWindow.browser_item_changed method. I looked around for where the regular ResultsCurve gets added to the PlotWidget, but couldn't find anywhere else. Hopefully this fix will be obvious to someone more familiar with PyMeasure's display stuff.
Haven't been able to reproduce this, but for a while deselecting the browser item of the first experiment queued would make the axes zoom out uncontrollably until it was re-checked.
After deselecting an image, the axes on the image revert to "pixel coordinates" instead of "data coordinates"

Needed Improvements:

In contrast to plots, where showing several makes sense, only one image should be shown at a time. Maybe adding radio buttons in the browser items to select which experiment has its image displayed would be nice. I'm not sure how that would deal with several queued experiments, though.
Currently, the axes on the image do not show the "data coordinates" well. This has to do with how they are set which currently happens in ManagedImageWindow.browser_item_changed. Part of the problem is that these axes are from a PyQtGraph PlotWidget which we are putting an image into. There may not be a great way of setting the axes in the PlotWidget
Options for changing the colormap, it is currently hard-coded to use viridis to appease @ndr37
Usually, there is an empty row of pixels at the end of the image. The user must decide which data columns of the procedure will end up being the X and Y axes of the image and create parameters to describe the start, stop and step expected values for these data columns (as shown in the example). If you specify the start, stop, step as (-2,2,1) respectively, usually something like range will be used to create the values which will end up being [-2,-1,0,1], but perhaps the user ensures that the actual range of values in the respective data column will be [-2,-1,0,1,2]. To account for this, we create a blank image to be filled with 5 pixels on that side, where there is a good possibility only the left or bottom four will actually be used, which results in an empty row/column of pixels.

Final Thoughts:
It would probably be more appropriate to have the image stored inside of a PyQtGraph ImageView or something similar. I believe these have much of the functionality needed with regards to converting between data and pixel coordinates for the image. I did not use them since they also came with a lot of functionality which I thought was unnecessary (like ROI selection, finding averages in the ROI etc.) but these can probably be stripped off. It also seems less straightforward to integrate these with the current GUI, and doing that integration seems like something that is above my head at the moment.
I look forward to all suggestions and improvements from others in the PyMeasure community.
Also, let me know if there is a better way to do this pull request, e.g. not requesting to pull to master since this may take a while to actually develop, don't request to pull a branch other than main of my fork, etc.
Example of the image plotting in action:

@jmittelstaedt, this is awesome! I especially liked your screenshot. Working with images has been a missing functionality that I am glad to see being worked on. As far as logistics, I think basing this branch on master is fine. I am interested to get a number of reviewers on this PR, and make sure that we have decent test coverage where possible. I will start going through these changes, and look forward to converging on a final solution.

I ran the image_gui.py example. I see the data plotted in the "Results Graph", but none of the data is shown in the "Results Image". I am using the conda-3.6.yml environment, with matplotlib installed as well.
I have not had time to do a debug.  Any ideas?

@cjermain one current "quirk" is that the image is only displayed if you un-check then re-check the item in the browser window. I mentioned this in the initial message in the pull request, but to reiterate here the only place where I could find that the plotItem is put into the plotWidget (or in this case where the ImageItem is put into the plotWidget) is when the browser was checked. If you know where this should be happening, I'd love to know.

@jmittelstaedt, Ok, I missed that originally. I am able to see the live image plotting now -- cool! This suggests that the initial construction is not working properly. Have you tried calling update or replicating the behavior in browser_item_changed?
I had a few ideas when running through the example:

How do you envision handling displaying images from multiple experiments (overlay or only allow one image at a time)?
Is this a feature to add to the Open file dialog (ResultsDialog)?

@cjermain With fresh eyes, I found what I had missed before. I needed to add the image item to the plot in display.manager.ImageManager.load which is eventually called when the Queue button is hit. I've tested the change and the image should display right when queued, without needing to de-select and re-select the browser item.

The best way to do this would probably be to have radio buttons on the browser items separate from the current check boxes which would allow the user to select which experiment has its image currently displayed. This would also fix some problems with how we set the "data coordinates" on the axes of the image. Currently, if you queue an experiment with e.g. x limits from -1 to 1 and then queue another with limits of -1 to 2, the x coordinate on the plot will go from -1 to 2 while the first experiment is still running meaning the "data coordinates" for that experiment's image are completely incorrect. This can be fixed by deselecting and then re-selecting the browser item, since doing that also resets the coordinates displayed on the axes. There are some other problems with the coordinates on the axes as currently implemented as well.

Ah, that is tied to the Open button on the browser widget correct? Whenever I've clicked that, PyMeasure immediately crashes and I end up with an AttributeError: 'NoneType' object has no attribute 'addWidget' error. What is the intended functionality of that button?
The full traceback for the error is:
Traceback (most recent call last): File "C:\Users\Joseph\Anaconda3\lib\site-packages\pymeasure-0.5.1-py3.6.egg\pymeasure\display\windows.py", line 709, in open_experiment
dialog = ResultsDialog(self.procedure_class.DATA_COLUMNS, self.x_axis, self.y_axis)
File "C:\Users\Joseph\Anaconda3\lib\site-packages\pymeasure-0.5.1-py3.6.egg\pymeasure\display\widgets.py", line 545, in __init__
self._setup_ui()
File "C:\Users\Joseph\Anaconda3\lib\site-packages\pymeasure-0.5.1-py3.6.egg\pymeasure\display\widgets.py", line 568, in _setup_ui
self.layout().addWidget(preview_tab, 0, 5, 4, 1)
AttributeError: 'NoneType' object has no attribute 'addWidget'`

@jmittelstaedt, thanks for the update. It looks like this feature is getting really close. I agree with using radio buttons as a solution for only displaying a single image at a time. I think if we can resolve that, this PR will be ready to merge.
As for the "Open" button, it should provide an open file window with a plot preview. It sounds like there are additional issues. Can you raise this as a separate issue? While it would be nice, I don't think the open file preview is necessary for this initial PR.
I'm interested to hear reviews and comments from other PyMeasure users. @bilderbuchi, any further review comments?

No comments, but I don't have the time for reviewing this unfortunately. :-\

@jmittelstaedt, I would love to get this merged in for PyMeasure 0.6. What is the status?

I've been pretty busy with other stuff recently so I haven't had much chance to work on it. After this weekend I should have more time. Just adding radio buttons will hopefully not be too difficult and won't take much time after that.

@jmittelstaedt, sorry for the slow response -- I have not had much bandwidth for PyMeasure recently.
I have seen the zooming issue in the past, and it was reported in #54. I'm not sure if this is an implementation issue in PyMeasure or it is upstream in pyqtgraph. I appreciate your suggestions on where to diagnose. I will make some time to review the issue.

I've done some profiling on the zooming issue. I can reproduce it, and am working on a solution.

I've done some profiling on the zooming issue. I can reproduce it, and am working on a solution.

I think this feature would be great to get across the finish line. I don't have the bandwidth to diagnose the zooming issue. @jmittelstaedt, any luck on your end?

@cjermain I have not been able to figure this out yet. However, this bug was only introduced after changing how the images were displayed, after I made it possible to only show one image at a time.
What I've been doing locally is using commit 02904fc where, if there is more than one image, they are superimposed on top of one another. I think there are actually cases where this behavior could be considered desirable. The pixels rendered have the right "units" so if you do a coarse scan from X=0-100, Y=0-100 to find some feature and then a finer scan from X=20-50, Y=20-50, the finer scan will be superimposed on top of the coarser scan. Users still have the option to hide any superfluous images, and there are no zooming issues when images are hidden/shown. What do you think about using this commit instead?

@jmittelstaedt, I think that it is a reasonable approach to revert the PR to 02904fc. I agree that multiple regions on the same plot can be an advantage. Can you create a separate issue to track the findings, and provide a place for discussing future improvements after this is merged?

Hi @cjermain I believe I have made the necessary rollbacks in the code and fixed the one merge issue which needed to be taken care of. I've also created issue #261 to track bugs and improvements in the future.

Great work @jmittelstaedt! This is a major new feature, and I think people will find it very useful.

i am using live plotting with managed window. i wonder where are the input parameters updated when a new experiment is queued? I am trying to use one of the input to name a file. when saved in the data file i do see the inputs updated but when i call it in queue for filename i only get the initial default value.


Ruby cloud to prod test failure: empty_unary

https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/11060/testReport/junit/(root)/tests/cloud_to_prod_default_ruby_empty_unary/
It's a connectivity failure, so it may not be ruby-specific

I think this is just dupe of https://github.com/grpc/grpc/issues/10763.


removing the jquery and making the request with pure JS

This PR, was made for better performance, I removed the Jquery and added the IIFE structure, and directive 'use strict', for better safety of global variables.

Just started reviewing :) :octocat: Sent from GH.

Thanks @lucasmaiaesilva

Always, thank you for the great guide. Helped me a lot.


Add new raylib-beef binding

New beef bindings, auto generated and updated to work with v5.0.

@Starpelly nice! thanks for your contribution!


Registering blueprint fails on windows

The flask run fails with error:
  File "...\python3.11\latest\Lib\site-packages\werkzeug\routing\rules.py", line 457, in __init__
    raise ValueError(f"URL rule '{string}' must start with a slash.")
ValueError: URL rule '\v1\docs/static/<path:filename>' must start with a slash.

Note how the url is started with "/" (backslash) instead of "" (slash).
In the middleware.py on line 231 full_url_prefix is created using Path(). I am not sure why pathlib.Path is used in url construction there, but on Windows str(Path("/")) is resolved to "\" (backslash) which later fails in flask.
Can this please be fixed?

You are absolutely correct. Thnx for reporting this.
I believe Path was used for convenience of initial implementation and I latter forgot to do this correctly.
Fixed in latest version.

Thanks for the quick fix, but with the new version (0.6.2) the interpreter fails on import:
  File "...\flask_marshmallow_openapi\middleware.py", line 312, in OpenAPI
    def collect_static(self, destination_dir: str | Path):
                                                    ^^^^
NameError: name 'Path' is not defined

Type checking doc says that the first type annotation for module hidden behind the TYPE_CHECKING flag must be enclosed in quotes. E.g:
def collect_static(self, destination_dir: 'str | Path'):

Should this be applied in this case as well?

Ugh :man_facepalming: ... let me fix this really quickly...

Done, fixed in new v0.6.3.
thnx for reporting this!


Cannot change the layout of User Settings to rows

VSCode Version: 1.20.0
OS Version: NixOS 17.09.2731.92d088e891e

Steps to Reproduce:

Open user settings
Toggle Editor Group Layout

The layout is still in column. I would like to edit setting in rows. (I have a vertical screen, so not a lot of width).

I was about to file a ticket for this until I found this issue, and noticed it's been a while since this has been reported.
Is it possible that I could make a solution for this? I prefer having my panels as rows and I'd like to help push this into a real feature in any way I can.

I do not think this feature will be implemented in near future and we have built a new richer settings UI. So closing this in favour of the new UI.


There is no min version of query-string

The readme states that the inclusion of query-string.min.js is required, yet there is no such thing.

had the same problem, so I installed through Bower and the query-string.js appeared

Right! There's no minified version of query-string.
All the dependencies can be installed thought bower or downloaded if you don't want to use bower.
We should update the README.


Meeting agenda for Milestone 3

Divide the issues of Milestone 3 amongst the team.

Python package checklist:
-- Documentation : James
-- Github Action Workflow : Sukhleen, Kristin
-- Submission and proof reading : Luming

Meeting on Friday (10 am)

Edited the meeting notes. Please feel free to add anything that might be missed here.


Having trouble loading from CDN

Just started having this problem today. Following documentation I linked
 in my html header, but it's been timing out every single time I try to load. Even directly visiting the cdn site results in a connection error.

I had some bad nginx config that I fixed today. Is it working fine now? If not, what link do you use?


Recording screenshots does not work on emulator API 30

Expected behaviour
Recording screenshot should work on emulator with API 30
Actual behaviour
Using version 5.8.0 of a lib. When running recording screenshot task ./gradlew executeScreenshotTests -Precord you get error that screenshots can not be pulled from the directory. Directory simply does not exist.
>Task :app:debugDownloadScreenshots
Pulling screenshots from your connected devices:
Shot ADB warning: We could not pull screenshots from folder: /storage/emulated/0/Download/screenshots/myapp.com.test/screenshots-default
Shot ADB warning: rm: /storage/emulated/0/Download/screenshots/myapp.com.test/screenshots-default/: No such file or directory

Steps to reproduce
Run with emulator with API 30 task:
./gradlew executeScreenshotTests -Precord
Version of the library
5.8.0

Having the same issue here

Hey @darek-nowak could you please upload a reproducible sample? I've checked it out and it works. Maybe there's something wrong with your project configuration. Could you review the config and also check if it works with an older emulator API?

I've merged and released a PR by @mariuszmarzec that tentatively fixes this issue. Could you please guys check if 5.12.2 version and reopen this issue if it doesn't work?

@akshay-at-yml
org.apache.commons.io.FileExistsException: Destination 'C:\Users\LATITUDE\AndroidStudioProjects\LiveProjects\HealthCare\app\s
creenshots\debug\screenshots-compose-default\metadata_compose.json_RZ8M32BQJRM' already exists

Looks like this temporary dir C:\Users\LATITUDE\AndroidStudioProjects\LiveProjects\HealthCare\app\s creenshots\debug\screenshots-compose-default wasn't removed from some reason. Remove it manually and other dirs under debug dir, should help.


cmd/compile: recognize map-copy with range idiom

As @mvdan notes on the map clearing idiom issue #20138 there are more cases of the map copying pattern than there are cases of the map clearing pattern in the std library:
gogrep '~ $m2 = $_; $*_; for $k, $v := range $(m1 is(map)) { $m2[$k] = $v }' std cmd

map copy pattern:
m2 := make(map[K]V)
for k, v := range m1 {
    m2[k] = v
}

This pattern and variations of it could be detected and made more efficient by avoiding (some) iteration overhead and allocating the new map to a sufficient size.
Implementation Notes
Copying the backing array directly with memcpy (as analog to memclr in the map clearing pattern optimization) however would need to keep the internal hash seed of the two maps equal.  Given that there are no guarantees what the iteration order over maps is (not even that it can not be the same) from a language spec perspective that change seems backwards compatible. There is the possibility of leaking state (the seed) to other parts of a go implemented system and by learning something about collisions in the copied map now being able to infer collisions in the original map.
Another implementation caveat is that any values in overflow buckets will need to be copied too. In the map clear case they are currently ignored for clearing as the pointers to them will be removed and the overflow buckets are garbage collected. For a map copy however all overflow buckets will need to be processed too. The new overflow buckets could be bulk allocated. Depending on the complexity and performance gain the backing array and overflow buckets could be allocated in one allocation together.
A further aspect is that if the map is growing that growth would either need to finish first before copying the new bucket array (could be a lot of work) or the state of map growth with old and new bucket array would have to be copied too.
Note that map make + map copy issue is similar to slice make + slice copy/append #26252 and some of the infrastructure to detect the patterns could be reused for both optimizations. There is the possibility to make even more general compiler pass that detects making and overwriting more complex structures (that can not already be easily handled in ssa phase) to avoid unneeded memclr in the future. Slices and Maps directly seem like common enough and requested cases to specialize first in absence of a more general and likely more complex solution.
Map Copying A Special Case Of Map Merging
A more general optimization to map patterns could be to detect any merge (where copy is a special case of m2 being empty):
for k, v := range m1 {
    m2[k] = v
}

While this is easier to detect as a pattern (no compile time reasoning that m2 is empty needed) it is unclear if there are large performance gains that could be made in the non-copy case.
@josharian @khr @mvdan

Thanks for working this through. Given the complexity of implementation (as you note), I'm inclined to say we shouldn't do this, at least not with our current map implementation.

A further aspect is that if the map is growing that growth would either need to finish first before copying the new bucket array (could be a lot of work)

Map copying loop already performs comparable amount of work to map growth, so it should be OK to finish map growth before map copying. This should be simpler than trying to copy map growth state.


Outlined Chip theming

As discussed with Jan, implementing theming capabilities for some chip styles, basically outlined for assist, suggestion and input chips.
Additionally cleanup the IDE directory and updated the editor-config

before
after

Might be useful for thr Notes Android app too. It uses chips when grid view is enabled for categories.


TextArea totalLines not working anymore

Description
TextArea's totalLines is not effecting the size of the text area field
CodeSandbox/Snack link
https://snack.expo.dev/@ricohumme/textarea-example
Steps to reproduce
See snack to view a reproducable case
NativeBase Version
3.4.25
Platform

[ ] Android
[ ] CRA
[X] Expo
[ ] iOS
[ ] Next

Other Platform
web
Additional Information
No response

I also this to be working in 3.4.1 but broke in 3.4.2

I'm feeling no work is being done at the moment on this project...

Also found this issue in my project. I would submit a PR but I'm not entirely confident with the inner workings.  I can see that totalLines is passed to numberOfLines here, multiline={true} and totalLines (sometimes) are set in the theme.  However, it looks like none of these are passed to the underlying Input primitive.


de-couple schema type and type attribute

Currently, the "type" property for a field schema is defined for schema type use.
While at the same time, TextField uses that property to determine the "type" attribute it has.
Case in point, the SearchForm in asset-admin uses DateField type = date and that uses the TextField component.
This could lead to inconsistencies later down the line, such as if you want a "tel" type for the TextField it would require asking Injector to use the TextField for the type of define a custom component name to use.
Tasks

[x] Add schemeType and map the front end component
[x] Update unit tests
[x] Check that fields which require a type is still functioning (e.g. TextField, DateField)

Pull requests

[x] https://github.com/silverstripe/silverstripe-framework/pull/6894
[x] https://github.com/silverstripe/silverstripe-admin/pull/59

https://github.com/silverstripe/silverstripe-asset-admin/blob/master/tests/php/Forms/UploadFieldTest.php#L60 will need to be updated for this too


Burrego: implement missing Debugging builtins

Epic: https://github.com/kubewarden/policy-evaluator/issues/56
These are the builtins that burrego has to provide that belong to the Debugging area:

[ ] trace

Done


Show progress for match cloning repo

Hello) It' would be very nice if you add a progress notification while match is cloning the existing repo. Like git do.
My repo is 600mb size and it takes near 10 minutes to clone it.
[12:53:57]: Cloning remote git repo...
[12:53:57]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
Also there is a case when it clones the whole repo, when (i think) shouldn't.
Exists: Repo 600mb. No branches for match.

Nuked distribution and development certs.
match(type: "appstore"). It clones the whole repo.
match(type: "development"). It clones whole repo again. shallow_clone and clone_branch_directly options enabled. Should it do that again?

Hey @NikKovIos, that would be sweet. Is there any chance you would want to submit a PR adding progress UI? We would love to review it! 🚀

@ohayon maybe we could just add the "--progress" param to the git command? Have ideas on making that as "default" or being optional?

I think I would favor this to be optional if possible.


Update Inform6Lexer to Inform 6.36

Inform 6.36 was just released. It expands the syntax of the Property directive.

Thanks!


Join the nf-core community and add the workflows there as high quality seed examples

Feature Request
Desired behaviour
Join https://github.com/nf-core and add the workflows to Dockstore (ask for permission of course) as high quality examples of nextflow workflows.

Pending release to staging and/or adding as a script?

In discussion: some of these workflows have a config structure that might break parsing and can be ignored
https://github.com/nf-core/chipseq/blob/master/nextflow.config#L107

It seems like the issue is that these configs have some nextflow packages used in them (nextflow.util.MemoryUnit) which will fail parsing for the DAG because we do not have these packages loaded.
You are still able to register these tools and view their files, you just can't take advantage of the tool/dag tabs.

Looks like this is how the nextflow.config files are generate.
Now that we have fixed the DAG endpoint to be authenticated this seems to be working.

I have been added as a member.

I think it's worthwhile working with them to grant permission to our production and staging sites.
Worst case, we can fork a few to experiment with on staging. But long term, I think we want to get things done on the up and up so that others can help maintain those entries too

They seem to have accepted staging, I can now fetch the nf-core workflows on staging.

All of the workflows fully work on staging, except for RNASeq and Eager. For those RNASeq tool and dag tab sort of work, but Eager doesn't seem to work.

These already existed in production


add stop method

What does this PR do?
Adds a state.stop_training() method for algorithms and callbacks to gracefully stop training (finishing the rest of the events in the current batch and any scheduled evals and epoch ends). The EarlyStopping and MLPerf callback now uses this interface instead of setting the max duration itself.
Before submitting

[x] Have you read the contributor guidelines?
[ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[ ] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[x] Did you update any related docs and document your change?
[x] Did you update any related tests and add any new tests related to your change? (see testing)
[x] Did you run the tests locally to make sure they pass?
[x] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

I agree having it in state is a little weird. Its the indirection --> a method on state stops training but only when coupled with the trainer. trainer.stop() is most intutitive, but not accessible from our callbacks and algorithms, so at a bit of loss there.
I could rename it from state.stop_training() to state.set_duration_to_now or something but that's pretty verbose.

I could rename it from state.stop_training() to state.set_duration_to_now or something but that's pretty verbose.
Let's leave as is. I don't love it, but its good enough imo. A bit weird, but I'd rather make it easy to use


data.body("...").xpos does not match data.qpos

Hi,
I'm a maintainer of Gymnasium-Robotics and I'm trying to use MuJoCo to develop the v5 revision of the Gymansium/mujoco RL environments https://github.com/Farama-Foundation/Gymnasium-Robotics/pull/104.
I'm looking for some help with understanding why the following unit test fails.
data.qpos[0] == data.body("torso").xpos[0] is true
but after steeping the MuJoCo model
data.qpos[0] == data.body("torso").xpos[0] is False
Here is a model which explains my question:
The Ant.xml in Gymnasium/MuJoCo/Ant environment
https://github.com/Farama-Foundation/Gymnasium/blob/main/gymnasium/envs/mujoco/assets/ant.xml
Here is a unit test illustrating my question:
def test_ant_com():
    env = gym.make('Ant-v4')  # `env` contains `data : MjData` and `model : MjModel`
    env.reset()  # randomly initlizies the `data.qpos` and `data.qvel`

    x_position_before = env.unwrapped.data.qpos[0]
    x_position_before_com = env.unwrapped.data.body("torso").xpos[0]
    assert(x_position_before == x_position_before_com)  # This succeeds

    random_control = env.action_space.sample()
    _, _, _, _, info = env.step(random_control)  # This calls mujoco.mj_step(env.model, env.data, nstep=env.frame_skip)

    x_position_after = env.unwrapped.data.qpos[0]
    x_position_after_com = env.unwrapped.data.body("torso").xpos[0]
    assert(x_position_after == x_position_after_com)  # This fails

Note: this is the case for other body.xpos & body.xquat
Is this normal/expected?
$ pip list | grep mujoco
mujoco                        2.3.3

Hi!
Some clarifications are in order.

A clarification for future readers: This model's DoFs start with a body-centered free joint, therefore the first 3 elements of qpos have the same semantics as the first 3 elements of xpos. They are generally not the same thing.
A clarification for us: is this an old test that is newly breaking or a new test?
Regarding the test: It should fail. If it ever passed that is surprising.

Explanation: The purpose ofmj_step is to advance the state (qpos and qvel, in this case). It does this and nothing more. xpos is a derived quantity that is computed from qpos during mj_step (step 2 in the first link above), but at the end of mj_step, qpos gets updated. The only reason it passes after your Reset call is that (presumably) mj_forward or something similar was called at the end of the Reset. So your options are:

Compare the current qpos to the xpos measured after the previous step.
Call mj_kinematics (or the full mj_forward) after the step, and then compare.

Does this make sense?

this is a new test
reset() does call mj_forward
calling mj_forward after step() does indeed resolve the issue

def test_ant_com():
    env = gym.make('Ant-v5', frame_skip=5)  # `env` contains `data : MjData` and `model : MjModel`
    env.reset()  # randomly initlizies the `data.qpos` and `data.qvel`, calls mujoco.mj_forward(env.model, env.data)

    x_position_before = env.unwrapped.data.qpos[0]
    x_position_before_com = env.unwrapped.data.body("torso").xpos[0]
    assert(x_position_before == x_position_before_com), "before failed"  # This succeeds

    random_control = env.action_space.sample()
    _, _, _, _, info = env.step(random_control)  # This calls mujoco.mj_step(env.model, env.data, nstep=env.frame_skip)
    mujoco.mj_forward(env.unwrapped.model, env.unwrapped.data)  # <-- This is new

    x_position_after = env.unwrapped.data.qpos[0]
    x_position_after_com = env.unwrapped.data.body("torso").xpos[0]
    assert(x_position_after == x_position_after_com), "after failed"  # This succeeds now

can you explain the difference of xpos and qpos
my current understanding:
qpos is part of the state (https://mujoco.readthedocs.io/en/latest/computation.html#physics-state)
and xpos is from what I can tell the kinematic approximation of the body frames positions

Thanks!

fyi mj_kinematics is enough, but other than performance no harm in mj_forward.
Yes qpos is the joint configuration. xpos is the global Cartesian position of the body frames.

One last thing (and the reason I created the unit test, in the first place)
If you wanted to calculate the displacement of the torso body after mj_step would you do
Option A:
# note `env` holds `data` and `model`
x_position_before = env.data.body("torso").xpos[0]
mujoco.mj_step(env.model, env.data, nstep=env.frame_skip)
# Note: we do not call `mj_kinematics`
x_position_after = env.data.body("torso").xpos[0]
dx = x_position_after - x_position_before  # displacement

Option B:
# note `env` holds `data` and `model`
x_position_before = env.data.qpos[0]
mujoco.mj_step(env.model, env.data, nstep=env.frame_skip)
x_position_after = env.data.qpos[0]
dx = x_position_after - x_position_before  # displacement

We currently use option A for Ant-v2, Ant-v3, Ant-v4,
Could you confirm that option B is a more accurate way of getting dx (displacement) (I am considering of updating it to use option B on Ant-v5)
Thanks!

Both options are equally accurate, but the second one is more up to date (by 1 timestep).
You might legitimately now ask "why would I want a delayed measurement if I can get one that is more up to date?" There are sometimes good reasons for this. For example imagine that you want to compute some value that is a function of your dx and some contact force. Forces are only determined during the step and could not be computed now since they depend on the controls. I.e. contact forces are inherently linked not to a state but a state transition. So while it possible to get some values (i.e. functions only of position and velocity) w.r.t to the current timestep, if you want all your measurements (including force/acc related quantities) to be correctly "synced", you have to pay the price of a delay of 1 timestep. In your case you may not care, but in general this can be important.
Hope this makes sense.


CI: Automate release workflow

[why]
Releasing is too hard.
[how]
The maintainer needs to set a new version in the package.json. Afterwards the release draft creator can be manually triggered on the Actions tab of the Github repo.
This will draft a release with a new font generated from the current vectors. And the current commit will be git tagged with the release version.
Fixes: #29

I imitated the contents of the release v1.0.1 files. Not sure that all that files are really useful. Otoh do not know if this npm thing need it.

Just noticed that the files are not automagically compressed.
I'm always confused, sometimes they are, sometimes not.
I think the normal action artifacts are always packed, and the release artifacts not... :thinking: :grimacing:

Ok, this seems ready. I tested everything except the final publish-to-npm.
Will try to use the workflow to get v1.0.1 published, this will involve some tricks, though.

Test on v1.0.1, success:

https://www.npmjs.com/package/font-logos

Actual assets missing?? Working on it...

Fixed via the following commits. Needed to increase version because NPM does not allow any other change

881cc5e  Rerelase fixed NPM package, no change
8d6d767  CI: Fix missing assets in npm

Sorry :unamused:


frontend should call backend

Perhaps I am missing something. I can't see the frontend ever actually hitting the backend service.
I would think that a point of a combined application like this would be that the frontend presents data that's from the backend. Getting this set up in a relocatable way is a bit of a nuisance. So, a clear example would be great.

Added link to the application that shows the complete example https://github.com/shekhargulati/spring-boot-maven-angular-starter#example-application


CCR-41: Make Chart container's Select searchable

changes: rev
Proposed Changes

CCR-41

Limited Select's max-height to 10 lines
Added isSearchable prop to Chart container's Select component for it's Story

Checklist

[x] I have added or updated unit tests
[ ] I have added or updated integration tests (if appropriate)
[ ] I have added or updated documentation / readme (if appropriate)
[x] I have verified that my changes have not introduced new lint errors
[ ] I have updated the change log

Testing Instructions

:rocket: PR was released in v1.16.0 :rocket:

:rocket: PR was released in v1.16.0 :rocket:


A question of speed with Response Compression Middleware

I just performed a little benchmarking here for Response Compression middleware vs. IIS's compression module. I hope I screwed up the test or my testing on my dev box explains this, because I'm not feel'in these figures.
App 1
Self-contained .NET Core Kestrel/MVC/Razor app (1.1)
IIS configured with Dynamic Compression enabled
App 2
Exact copy of App 1 with Response Compression middleware
IIS configured with Dynamic Compression disabled
I confirmed both working by hitting their endpoints with Fiddler and an Accept-Encoding: gzip header. Both returned gzipped responses. IIS had the additional feature of auto-adding the Vary: Accept-Encoding header to the response. I didn't bother adding that to App 2. This was just meant to be a little quick-n-dirty test.
Result
Using JMeter on my dev machine where the apps were hosted in IIS local. I took (32 threads, 500 loops) ~20K samples on each and found ...

App 1 (IIS)
App 2 (Middleware)

28.22 KB/s
21.28 KB/s

... a large-ish ~33% diff.
I'm look'in down the road to the wonderful concept of ditching IIS totally when Kestrel can run as a public-facing server. If Kestrel doesn't offer compression, then the middleware will be the way to go. However, it seems slow. Can you comment on these figures? Do you think that's expected, or do you think my test is whacked?

I suggest also testing kestrel+middleware without IIS.

Honestly we haven't compared the two. For this version we were more concerned about providing the basic functionality for non-IIS scenarios (e.g. direct WebListener and Kestrel). We did do a basic profile and identified a few issues with the GZipStream that the CLR team has started to address (https://github.com/dotnet/corefx/issues/12549).

I slimmed down the test app. For example, I dropped logging and static file middleware. The results are more consistent between App 2 on IIS and App 2 on Kestrel than I imagined. I thought IIS would add some noticeable latency. Anyway ...
Overall, it looks like middleware is a bit slower. The difference here is ~28%, similar to my OP.
KB/s

Run
App 1 (IIS)
App 2 (MW on IIS)
App 2 (MW on Kestrel)

1
392
305
304

2
324
252
251

3
315
245
245

4
311
242
242

5
314
244
244

Avg
331
258
257

SD
34
27
26

Re-opening this.
/cc @mikeharder Another middleware to add to the benchmarks.

@sebastienros is this something in your queue already?

@muratg Was not aware of this issue. Do we need to track the results or just have a a new snapshot?

Tracking is optional, most of the perf is controlled by IIS and corefx. We primarily want to know how the perf of corefx compares to that of IIS/Express for dynamic compression.

+1

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


G2N Misses some dependencies

nix build:
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.springframework.boot:spring-boot-dependencies:2.7.3.
Searched in the following locations:
  - file:/nix/store/kj591xwjry51hinx5x51c6ssmipkr6fr-rest-api-gradle-project-env/org/springframework/boot/spring-boot-dependencies/2.7.3/spring-boot-dependencies-2.7.3.module
  - file:/nix/store/kj591xwjry51hinx5x51c6ssmipkr6fr-rest-api-gradle-project-env/org/springframework/boot/spring-boot-dependencies/2.7.3/spring-boot-dependencies-2.7.3.pom
  - file:/nix/store/kj591xwjry51hinx5x51c6ssmipkr6fr-rest-api-gradle-project-env/org/springframework/boot/spring-boot-dependencies/2.7.3/ivy-2.7.3.xml

build.gradle:
plugins {
  id 'org.springframework.boot' version '2.7.3'
  id 'io.spring.dependency-management' version '1.0.13.RELEASE'
  id 'java'
  id "com.diffplug.spotless" version "6.10.0"
  id "application"
}

gradle-env.json attached

Specifically when pom only?


Is there a file missing or am I doing something wrong? FileNotFoundError: [Errno 2] No such file or directory: '/home/Project/musicautobot/data/numpy/musicitem_data_save.pkl'

I am trying to start the Flask server. This results in the following error message:
(base) felix@LAPTOP:~/Project/musicautobot/serve$ python run.py
Traceback (most recent call last):
  File "/home/felix/Project/musicautobot/serve/run.py", line 2, in <module>
    from api import app
  File "/home/felix/Project/musicautobot/serve/api/__init__.py", line 38, in <module>
    from .predict_multitask import *
  File "/home/felix/Project/musicautobot/serve/api/predict_multitask.py", line 16, in <module>
    data = load_data(app.config['DATA_PATH'], app.config['DATA_SAVE_NAME'], num_workers=1)
  File "/home/felix/anaconda3/lib/python3.9/site-packages/fastai/basic_data.py", line 281, in load_data
    ll = torch.load(source, map_location='cpu') if defaults.device == torch.device('cpu') else torch.load(source)
  File "/home/felix/anaconda3/lib/python3.9/site-packages/torch/serialization.py", line 699, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "/home/felix/anaconda3/lib/python3.9/site-packages/torch/serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "/home/felix/anaconda3/lib/python3.9/site-packages/torch/serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/home/felix/Project/musicautobot/data/numpy/musicitem_data_save.pkl'

Since I didn't find a matching file in the repository, I just created an empty file, which doesn't do much either:
> (base) felix@LAPTOP:~/Project/musicautobot/serve$ python run.py
Traceback (most recent call last):
  File "/home/felix/Project/musicautobot/serve/run.py", line 2, in <module>
    from api import app
  File "/home/felix/Project/musicautobot/serve/api/__init__.py", line 38, in <module>
    from .predict_multitask import *
  File "/home/felix/Project/musicautobot/serve/api/predict_multitask.py", line 16, in <module>
    data = load_data(app.config['DATA_PATH'], app.config['DATA_SAVE_NAME'], num_workers=1)
  File "/home/felix/anaconda3/lib/python3.9/site-packages/fastai/basic_data.py", line 281, in load_data
    ll = torch.load(source, map_location='cpu') if defaults.device == torch.device('cpu') else torch.load(source)
  File "/home/felix/anaconda3/lib/python3.9/site-packages/torch/serialization.py", line 713, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/home/felix/anaconda3/lib/python3.9/site-packages/torch/serialization.py", line 920, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
EOFError: Ran out of input

I only edited the api.cfg file as follows, nothing more:
# Input bucket name only. Not the whole s3 URL
S3_BUCKET_NAME = 'MultitaskLarge'

How can I solve the problem? I followed the instructions in the readme file during the installation. Where is the error?

I have also run into this error.
I will update here if I'm able to find a solution.  Please do the same if you find something also.  Thanks!


add interest groups and tags to new users

Overview
This adds an "interest" (also known as "group") to users upon signup, the id of which is gotten through an environment variable. In the case of BGA, this interest will sign them up to receive The Answer newsletter.
This also adds a tag to users that signup through the Pension and Payroll sites, marking them as a "Database Sign-up"
Notes
If approved, we'll of course have to add MAILCHIMP_INTEREST_ID to pension and payroll. I can absolutely change their repos to expect this, and add a config var to ia-pensions on heroku. Though I'm unsure of how to add that for payroll since I'm not seeing that on heroku.
Testing Instructions

Add this branch to the requirements.txt for your local payroll or pension repo and build
Slot in the secrets found on heroku for the api key, server, and list id
Add an environment variable MAILCHIMP_INTEREST_ID and bring up your payroll/pension container
Sign up with a new email

Fun fact: You can insert a dot into your gmail username and have different emails that refer to the same inbox. So you can use<EMAIL_ADDRESS>and<EMAIL_ADDRESS>as different emails and not have to create new accounts for testing.

Check your inbox for a confirmation email from The Answer

@fgregg I have a feeling that bringing this in before getting payroll and pension sorted out will break some things. So I'll wait for your go ahead on those before merging this.


java.lang.NullPointerException while scanning a dependency with org.owasp.dependencycheck 6.1.4

Still getting the NPE for pitest (0.14) as reported earlier even after updating dependencycheck to 6.1.4.
Link to previous issue reported:
https://github.com/jeremylong/DependencyCheck/issues/3235

Fixed per #3246. I will release 6.1.5 shortly.


Enable function usage

If you want to call a function, you can write
function name of function parameter string something
and have the following result
name_of_function(str(something))

To define and declare functions, we can:
define name of function parameter string something
to have:
def name_of_function(something: str):

In progress

Closed on #5


remove centos_stream_8_x86_64 from our platforms list since it's gone

ah looks like Tim's doing it in #236 (and he caught one that I forgot about).


Problem when running the project

I clone the app on my computer, and after installing the dependencies by using 'npm install' and running the project by using 'npm run dev-server', i end up with the logs above :

html-dom@ dev-server C:\laragon\www\github-projects\html-dom
npm run copy && webpack-dev-server

html-dom@ copy C:\laragon\www\github-projects\html-dom
npm run copy:public && npm run copy:demo

html-dom@ copy:public C:\laragon\www\github-projects\html-dom
rimraf dist && mkdir dist && cp -rf public/* dist

html-dom@ copy:demo C:\laragon\www\github-projects\html-dom
cp -rf demo dist && NODE_ENV=production postcss<EMAIL_ADDRESS>-o dist/demo/styles.css

'NODE_ENV' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! html-dom@ copy:demo: cp -rf demo dist && NODE_ENV=production postcss<EMAIL_ADDRESS>-o dist/demo/styles.css
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the html-dom@ copy:demo script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the html-dom@ copy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\KDragon\AppData\Roaming\npm-cache_logs\2020-04-02T13_20_53_307Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! html-dom@ dev-server: npm run copy && webpack-dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the html-dom@ dev-server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\KDragon\AppData\Roaming\npm-cache_logs\2020-04-02T13_20_53_435Z-debug.log
Is there any problem here because its said that the problem not in my npm ?

I'll fix it. The problem coming from the copy command.


Sketch structure of the application

Context
In https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/210, we chose to use a monolith for the application. One of the risks associated with that is that big applications can become a large entangled mess that is hard to navigate.
Changes proposed in this pull request
This PR splits up the app into 3 namespaces, and adds an ADR to describe why:
👉 Rendered ADR
It also adds a /ping endpoint to illustrate the vendor API, and an empty homepage for the provider UI.
Guidance to review

Does the structure make sense?
Does the naming make sense? (hint: no, there's a naming collision). What should we name the namespaces?

Link to Trello card
https://trello.com/c/VEdNe7Zf/1018-design-the-initial-architecture-for-the-application

Very happy with the namespaces :+1:


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_0861173a-0790-49f3-ac64-b70da3894edc/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_0861173a-0790-49f3-ac64-b70da3894edc.git

Docs Build status updates of commit 750a1a3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archiveSourceFolder/TOC.yml
:white_check_mark:Succeeded

archiveSourceFolder/content/someContent.md
:white_check_mark:Succeeded

archiveSourceFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

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


Allow exporting of private key / root password for auto-generated TLS certificate bundle

Describe the proposal
In order to avoid downtime per #807 we need to be able to export the private key / root password for the auto-generated TLS certificate bundle. In the future this password needs to be specified or used when generated new certificates. Only certificates signed with the same private key can be used in a zero downtime upgrade.

/assign

I think the idea is that the CLI generates the private root key locally already. So what this is asking is to make that available to you for reuse later - and if you do have it already you should be able to specify it to sign new certificates in the future. Does that make sense?
I'm not sure whether in the kubernetes case the certificates are generated on the server / within the sentry service instead, but perhaps there could be an option for this to be done locally and then passed to the helmchart (I know this is possible). If done locally it could make the private key available (or again allow you to specify the private key to use)

Summary based on the discussion -

It would make more sense to provide a way to save the private key while doing dapr init itself.
a.  Need to explore the feasibility with current dapr init behavior.
In case of external certificates, it is up to operator/user to save the private key. We can document about this.

After exploring current dapr init implementation, following is my observation -

dapr init completely depends on sentry service for generating private key and certificates. So, the private key is not available locally for it be saved for later use(exported).
Helm parameter options does not support private key(see supported options). So it does not seem feasible to create a private key and then pass it to helm install during dapr init.

@pravinpushkar Is the conclusion that this feature is not feasible with the current implementation? Or is it that it is not feasible at all?

@mukundansundar
With the current design it is not feasible to store the private key  -

In dapr init, private key is generated in sentry service, so we need a way to store the private key- May be recent Volume mount feature could be useful here (?)
If we want to create private key in cli and then pass it along to helm install, then we need to make change in cli and helm charts. IMO it will make the init process complex in cli.

From the discussions above it is clear that storing private key can be tricky and may involve lot more changes which might complicate the current init behaviour in CLI.
So, I am closing this for now. Please let me know and feel free to re-open if you think otherwise.
@mukundansundar @berndverst @yaron2 @ItalyPaleAle

I agree. I think this needs to be fixed in the runtime and not the CLI


Application graph node styling and positioning

Relates to #876

Each node should have a more subtle drop shadow, more of an outline like drop-shadow(rgb(189,189,189) 0px 0px 1px).

Each circle should also be larger to be able to display more text and to improve #899

Nodes should be radially distributed to save space and to be less similar to Argo. Weave Scope's radial rendering on focus, but was built in d3.
Maybe we can use d3 for npm to build something similar to the following design

When I scroll down on the page, I am most often accidentally zooming out the graph instead. The graph should be completely zoomed out (such that all nodes are visible) on page load.

@bia is it possible for me to have the concentric circles relate to their actual depth in the hierarchal tree? That way I can just distribute all the nodes at that depth evenly across the circle. My pod-info repo has six direct children right now in the graph, and I'm just thinking about how to space them all in a way that looks right - the three children of the root in your pic have three different edge lengths, and I'm not sure how to code that in a way that will look correct for any number of children besides dividing up those cool circles you have.  Am I making any sense at all?

You mean something like this? Sounds like a good start!

Nodes should be radially distributed to save space and to be less similar to Argo. Weave Scope's radial rendering on focus, but was built in d3.
Maybe we can use d3 for npm to build something similar to the following design

Let's split this into a separate ticket. I will create it. Let's leave it out of scope for now.


Alarm doesn't ring when phone is off

Before you ask yes I gave it the permission.
The phone does start but the actual alarm never rings.

Which phone do you have?  Which processor and which operating system?
On miui doesn't work, but it's miui's fault.

Ok, I will see if I can solve it, even if it is very difficult

Good luck and thanks


The app fails after a few seconds of background audio collection (Android 14)

In the Android 14 version, the app paused audio collection in the background and returned to the foreground before the audio was available again. How to handle this situation?

On Android 14, a foreground service is required to use the microphone in the background. You can read up about it here:
https://developer.android.com/about/versions/14/changes/fgs-types-required#microphone
You can refer to our example code which has a simple implementation that has all you need to deal with this:

Declare your foreground service with the appropriate service types and permissions:

https://github.com/livekit/client-sdk-android/blob/main/sample-app-common/src/main/AndroidManifest.xml

Implement your foreground service:

https://github.com/livekit/client-sdk-android/blob/main/sample-app-common/src/main/java/io/livekit/android/sample/service/ForegroundService.kt

Start/stop your foreground service as needed:

https://github.com/livekit/client-sdk-android/blob/bcb54c68f23bf268e71ff3edf59c62b5a74bdc7b/sample-app-common/src/main/java/io/livekit/android/sample/CallViewModel.kt#L201-L206
https://github.com/livekit/client-sdk-android/blob/bcb54c68f23bf268e71ff3edf59c62b5a74bdc7b/sample-app-common/src/main/java/io/livekit/android/sample/CallViewModel.kt#L337-L338


VkSubpassDescription does not autosize colorAttachementCount

Environment

LWJGL version: 3.2.3
LWJGL build #: 13
Java version: 13.0.2
Platform: Linux
Module: vulkan

Description
VkSubpassDescription's colorAttachmentCount field does not have its size determined by pColorAttachments. I think this is a bug in the generator, because the definition (properly?) references two fields, but neither contribute to the count in colorAttachmentCount:
AutoSize("pColorAttachments", "pResolveAttachments", optional = true)..uint32_t("colorAttachmentCount", ...

I'm afraid this is not a bug. The auto-size functionality on input is disabled when the count member references more than one other struct member. We explored different options for this a few years ago, but couldn't figure out something satisfying.
So, you have to set colorAttachmentCount explicitly, but it is still used automatically when you read pColorAttachments or pResolveAttachments.


How to run two copies of your code at the same time?

I have duplicated two copies of your code and made small changes in the duplicated code respectively. When one is being trained, the other one cannot be trained. If the two codes are trained at the same time, what parameters need to be changed?One of my computers has 4 2080ti, the memory is enough.

Change the port number in --master_port 9842. They cannot use the same port.

Change the port number in --master_port 9842. They cannot use the same port.

OK,thanks. Can I change 9842 to any number?What does 9842 mean?

It is a port number. As long as that port is not used.

It is a port number. As long as that port is not used.

Ok, I got it, thanks!