build: reverse buildlet failed to clean up removed file in $GOROOT?

After https://golang.org/cl/9461 is submitted, the new darwin/amd64 builder
starts to fail with multiple declaration erros, which doesn't make sense, as one
of the conflicting file is removed by that CL.
http://build.golang.org/log/fd15555a76804eb108e9458bbc253a7b6ebba7b3
/cc @crawshaw @bradfitz

git log --stat --follow src/net/external_test.go says:
src/net/{dialgoogle_test.go => external_test.go} | 0
1 file changed, 0 insertions(+), 0 deletions(-)

Yeah, I know. I think your commit is correct. Something is wrong with
that builder.

Fixed by https://golang.org/cl/9458.


Integrate project with CI to run tests on Pull Resquest

Everything is in the title

I agree, we don't have a setup for this right now but this would be a welcome addition 👍


Duplex 0.99.2+ - Mackie profile does not produce output

In recent Duplex versions (0.99.2+), running Mackie profile on a controller does not produce any output
To reproduce:
select mackie template > midi controller -> move pot/slider -> track changes in renoise but software mixer level is not updated.
The controller first sends a midi note command when touching a pot/slider and submits the pot value via pitchbend on midi channel 1-8 (AFAIR) so slider1 is midi channel 1 and so on.
In versions prior to 0.99.2, this worked
Another bug report (Renoise forum):
http://forum.renoise.com/index.php/topic/27886-duplex-beta-versions/?p=328960

Fixed by cb9729b309a3b79f3591abbe5335b5e9c0154693


Let players know their backpack ammo count

Players often struggle to understand if they have a certain type of ammo or not, and how to drop it (for example, trying to drop a type of ammo a player don't have can confuse him because there's no dropped ammo and there's no message that his attempt has failed because he has no ammo of that type)
My suggestions:
First, "consrvative" and "hardcore" one: show backpack ammo count in a printed message about switching the ammo type.
Second one, that can be considered "casual": Let players drop ammo using a menu, where items has ammo type and ammo count, for example:

Magnum [0/24]
Shotgun [12/36]
Rifle [0/240]
Pistol [14/21]
One less bind, and pressing items with 0 ammo can be blocked via callback, so less confusing.
Thanks!

Good enhancement, I partially implemented it in this commit:
https://github.com/Hedgefog/cs-zombie-panic/commit/44a7529de1f389e1bed8753f60ff04ee92f839f1
Players can no longer select ammo, that is not in the inventory, but for sure this is not the implementation. I'll add a HUD to display inventory ammo in the future. The main task is to find the best way to display it. I'm not sure I want to use HUD text, because 4 channels are not really enough and it would be better to have this channel for the notifications.
Thanks for your report.


[Potential Bug]: supply mules sometimes pickup unknow stations

supply mules sometimes pickup unknow stations, and hang up stop working .
the picked sector is detecked

Can you provide any steps to reproduce or a debug log?

found a error in debug log:
[General] 33658.67 ======================================
[=ERROR=] 33658.67 Error in AI script lib.request.orders on entity 0xd80: Property lookup failed: (1).id

Expression: global.$mwex_AllMulesCommandTags.indexof.{($object.defaultorder?).id}
Action: <do_if>, line 33

that's not an error, it's a check for whether you have civ fleets installed.

I mean, yes, it looks like an error, but it's intentional and harmless.

deleted previous comment while I check on something

that block of code is supposed to make it such that when the mule is assigned to a station, it retains it's mule orders, and should allow you to continue modifying the order. I don't believe I've tried to use that since 5.0 (as I don't usually assign the mules to stations since mimic fleets arrived).
I can't tell if this is related to your issue because I still don't understand exactly what your issue is.


Default values via DB link will not be recognized

System information:

Operating system (distribution) and version: Windows 10
DBeaver version : Community, Version <IP_ADDRESS>204170718
Additional extensions

Connection specification:

Database name and version: Oracle Database 11g Enterprise Edition Release <IP_ADDRESS>.0 - 64bit
Driver name: oracle.jdbc.OracleDriver
Do you use tunnels or proxies (SSH, SOCKS, etc)? : No

Describe the problem you're observing:
When generating the structure of a table in a remote database (connected via a DB link), the column constraints like NOT NULL will be generated correct, but default values seems to be ignored and not be fetched
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

Hello @tomtiger65,
Thanks for the bug report. We'll look into it.


SqlPackage: Add option to exclude or only include certain object types (to enable use with Fabric read only SQL endpoints)

Is your feature request related to a problem? Please describe.
In Fabric, a lakehouse automatically receives a read only SQL endpoint. In this SQL endpoint, the user can create non-table objects, such as views or functions. However, tables cannot be created. This is because the endpoint's tables are auto-managed by the lakehouse.
Problem I encountered was when I tried to use SqlPackage to move the objects I created between two endpoints. When assembling its output, SqlPackage wanted to include tables. However, in the context of a read-only endpoint, this is inappropriate because tables cannot be directly created by users (including user tools like SqlPackage).
Describe the solution you'd like
For SqlPackage to offer a command-line option that allows the user to specify which object types to include or to ignore. This way, when using SqlPackage with a read only endpoint, I could tell it to ignore all tables.
Example:

/ignoretype:table (would include all object types but table)
/includetype:view (would ignore all object types except for views)

First - acknowledging that "read only" endpoints are flawed in that they aren't actually read-only, since you can create views and functions on them.
Second - a suggested solution for you.  Use SqlPackage extract and publsh, never import/export. You can include data by using the property /p:ExtractAllTableData=true if you really want it.
Now for publishing, you can use the property /p:ExcludeObjectType multiple times or its cousin /p:ExcludeObjectTypes to specify which objects are in your dacpac that you don't want to deploy.
Reference properties: https://learn.microsoft.com/en-us/sql/tools/sqlpackage/sqlpackage-publish?view=sql-server-ver16

Sorry for the delay in response. Hope you all had a great Christmas!

Which sqlpackage action did you run? and which sqlpackage version?
<IP_ADDRESS>

Extract

Thanks, @dzsquared. That is a great idea. Didn't realize that option existed on publish.

In the big picture, given that Fabric's "read only" SQL endpoints have widespread use and probably won't be going anywhere anytime soon, would it be within scope to enhance SqlPackage to gracefully handle them?
@dzsquared points out that there is a way to get SqlPackage working with them, but the work around can take a little digging to figure out.


fix: "fix: dynamicImport svelte config #47"

I solved this bug #47 by refacting the project to esm.
This change must use tsup to build, esbuild cannot deal with some compatibility problems between cjs and esm, so I replace it.
you can verify it with running https://github.com/SOVLOOKUP/midway-svelte

can this PR be merged as it currently prevents anyone from using latest svelte-kit with windicss (using vite adapter) ? not want to be annoying, just asking...

Thank you for starting this, unfortunately it required additional changes for testing. I went ahead and implemented it here https://github.com/sveltejs/vite-plugin-svelte/pull/54  please let me know if that works for you.


Question: any consideration for HA(high availability) of ztunnel?

since ztunnel is running in standalone mode per node, any plan to support HA for it?

In theory we have the ability to do this (or plan to) since upgrades will probably involve surging. I hadn't expected demand for this long term though. Are there other examples of HA daemonsets?

In theory we have the ability to do this (or plan to) since upgrades will probably involve surging. I hadn't expected demand for this long term though. Are there other examples of HA daemonsets?

I have two options in my mind:

the hot standby mode like the telco routers, two instance share the same IP and mac address.
two active instances running at the same time, dynamically load balancing the traffic to two instances.

have any update about ztunnel HA ? such as hot restart.

This is not considered ATM, because ztunnel is now very simplified and only process L4, we are confident it can not crash.
In the long run, we may need to consider upgrade. During this procedure, we should guarantee at least one ztunnel is serving

This is not considered ATM, because ztunnel is now very simplified and only process L4, we are confident it can not crash.
In the long run, we may need to consider upgrade. During this procedure, we should guarantee at least one ztunnel is serving

Thank you for your reply. In the upgrade scenario, how can the existing L4 connections on the old ztunnel exit gracefully?

It doesnot, and i have read somewhere that in mosn you implemented connection unaffected during upgrade. Not sure that mechanism can be applied here?


useAction triggering stale callback functions unexpectedly due to outdated references

Refs in the following lines of code always reference the callback functions initially passed instead of those passed in the most recent call because they never get updated.
https://github.com/TheEdoRan/next-safe-action/blob/f6055fc066fc3ab1b39ec08c379f4318759e504c/packages/next-safe-action/src/hooks.ts#L79-L82
It this the expected behavior?

Callback functions don't change once you've passed them to useAction/useOptimisticAction hooks. If React.useRef is not used there, there is no guarantee that these callbacks will be executed only once. In fact, in my tests, they are executed multiple times. The arguments passed to the functions are updated in every call though, so if the action is re-executed, you'll get fresh data in callbacks. I'd say they work as expected. Did you find any bugs using them?


Add mock version of the check management api

Looks good, let's include the genrrated OpenAPI-spec in the repo for easy reference

The OpenAPI spec is now included, and is regenerated any time the api is launched.


prune vendor using pruning rules

Before prune:
$ du -sh vendor/
121M     vendor/

After prune:
$ du -sh vendor/
41M     vendor/

Thanks @jmrodri You're going to have to show me how to do this :)


GAM Create User with attributes

Hello there.
my company is using GAM to create Gmail accounts and i encounter the following problem in the console.
D:\GAM 3.5>gam create user testuser
Creating account for<EMAIL_ADDRESS>D:\GAM 3.5>firstname "Test"
'firstname' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>lastname "User"
'lastname' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>organization name 1WorldSync GmbH costcenter 9123
'organization' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>phonetype work value +42 221 32473 0 primary
'phonetype' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>address type work Streetaddress Maarweg 165 postalcode 50825 locality
User countrycode Germany
'address' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>gal off
'gal' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>password '1234gdgdb'
'password' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>changepassword off
'changepassword' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>phonetype mobile value +49 231 93653 157 not primary
'phonetype' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>gam update group<EMAIL_ADDRESS>add user user testuse
<EMAIL_ADDRESS>adding member<EMAIL_ADDRESS><EMAIL_ADDRESS>to group
D:\GAM 3.5>
the first & last command line works, everything else has a error inside because the programm doesnt understand the commands. any idea why this doesnt work? i followed the guideline on the main project
thanks for feedback in advance
Sebastian

Please post this to the GAM discussion group:
http://groups.google.com/group/google-apps-manager

how can i post there with a normal gmail account, cant find the option ;<


Add RQ

Description of change
Add RQ queues.

We should ignore code coverage warning here. We can’t test this line of code that performs forking without problems.

https://github.com/uktrade/data-hub-frontend/blob/master/codecov.yml This needs to be I. This repo too


[1.10.2] Zombie Generator unbreakable, breaking attempt causes client crash.

Issue Description & What happens:
The Zombie Generator can no longer be broken with a pickaxe or by hand, doing so will cause Minecraft to crash. Re-tested and persists after 3 tries. Currently the only way to reobtain a placed Zombie Generator is to shift-right-click it with a yeta wrench (or any bc compatible wrench).
If I recall correctly, problem did not occur back in EnderIO-1.10.2-<IP_ADDRESS>_beta
Steps to reproduce:

Place Zombie Generator down.
Break Zombie Generator using a tinkers pickaxe or hand.
Minecraft freezes for about a minute.
Minecraft crashes.

Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.10.2-<IP_ADDRESS>_beta
EnderCore: EnderCore-1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: forge-<IP_ADDRESS>3

Your most recent log file where the issue was present:
http://pastebin.com/b3HNMCNv

That's a problem with Forge. The fix is here: https://github.com/MinecraftForge/MinecraftForge/pull/3132


How to debug tensorflow swig shared library

I tired PyDev + CDT, and GDB, so Python file is easy to debugging . But swig generations *.so file can't debug into *.cc file side .
Could anybody tell me HOW TO debug swig?

This is best suited for StackOverflow, as it is not a bug nor feature request.


issue filtering not working correctly

Hi there,
We are currently running action-brakeman against our rails codebase, and sometime in the last couple of days we notice that it has started to report scanner issues outside of the PR diff, despite our configuration.
Our github action config for our rails repository:
on: [pull_request]
jobs:
  brakeman:
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v4
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
      - name: brakeman
        uses: reviewdog/action-brakeman@v2

Assumed default configuration of action should be filter_mode: added
Here's the action output, showing that filter_mode is set to added:
Run reviewdog/action-brakeman@v2
  with:
    github_token: ***
    tool_name: brakeman
    level: error
    reporter: github-pr-check
    filter_mode: added
    fail_on_error: false
    workdir: .
    skip_install: false
    use_bundler: false
Run $GITHUB_ACTION_PATH/script.sh
  $GITHUB_ACTION_PATH/script.sh
  shell: /usr/bin/sh -e {0}
  env:
    REVIEWDOG_VERSION: v0.20.0
    INPUT_GITHUB_TOKEN: ***
    INPUT_BRAKEMAN_VERSION:
    INPUT_BRAKEMAN_FLAGS:
    INPUT_TOOL_NAME: brakeman
    INPUT_LEVEL: error
    INPUT_REPORTER: github-pr-check
    INPUT_FILTER_MODE: added
    INPUT_FAIL_ON_ERROR: false
    INPUT_REVIEWDOG_FLAGS:
    INPUT_WORKDIR: .
    INPUT_SKIP_INSTALL: false
    INPUT_USE_BUNDLER: false

And in there we see the results from brakeman returning issues from outside of the diff, the check failing for the PR, and annotations being added in the PR under "Unchanged files with check annotations" in the "Files" tab of the PR.
I note that the brakeman version was bumped to 0.20 recently, anything in there that might have caused this issue we're seeing?

We're facing the same issue with reviewdog/action-yamllint and reviewdog/action-ansiblelint

It looks like a bug introduced by this breaking change @haya14busa
Same issue also found in action-flake8

I'm facing this issue with reviewdog/action-golangci-lint@v2 in this PR for Gorm. It was working fine until few days back (last checked on 5th July).
It looks like for some reason the -filter-mode flag is either not being respected or the filtering not being processed properly. I've tried out with -filter-mode=added (default one) as well as -filter-mode=file, both aren't working.
As @yuekui also highlighted above, one of the recent commits is causing this problem.
All the filter-mode related code reside in reviewdog core repo and all the action runners (action-brakeman, action-yamllint, action-golangci-lint, etc.) pull the latest reviewdog core repo master by default when the pipeline runs, so this problem will most likely occur in every reviewdog/action-*.

I'm taking a lookt at now ... :eyes:

-filter-mode didn't work properly with github-[-pr]-check reporter for PR from forked repo.
I created a PR to fix the issue.
Will merge the pr once it's reviewed and release a new version.

My bad. I didn't notice the issue since it happens only PR from forked repo.
Thank you for the report, everyone.


<Select> component does not properly reflect invalid state to assistive technology; consider adopting WAI recommended pattern

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example
This can be reproduced in MUI's Select doc's "Other props" section: https://mui.com/material-ui/react-select/#other-props
Steps:

Enable a screen reader
Focus the <Select/> with an active error
Listen to (or read) the description provided by the screen reader

Current behavior 😯
It simply reads that the field exists, without noting that it is in an invalid state.
Expected behavior 🤔
The screen reader (or any other AT) should provide feedback that reflects the invalid state of the control.
Context 🔦
In unit testing, I was trying to verify with Testing Library that the control was marked as invalid when expected.  <TextField/> elements properly reflected that they were invalid, but the <Select/> elements did not.
For what it is worth, in a related open issue it was noted this was due to the <Select/> using a role="button" under the hood, which cannot accept an aria-invalid attribute.  The WAI's ARIA Authoring Practices Guide has a "Select-only combox" pattern that may be salient to use here; if followed, it should display and behave like a styled <select/> while at the same time providing all the expected accessibility hooks for AT users.
Your environment 🌎
Using Chrome on MacOS

npx @mui/envinfo
  System:
    OS: macOS 12.6
  Binaries:
    Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.13.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
  Browsers:
    Chrome: 111.0.5563.110
    Edge: Not Found
    Firefox: 110.0
    Safari: 15.6.1
  npmPackages:
    @emotion/react: ^11.9.3 => 11.10.5
    @emotion/styled: ^11.9.3 => 11.10.5
    @mui/base:  5.0.0-alpha.113
    @mui/core-downloads-tracker:  5.11.4
    @mui/icons-material: ^5.8.3 => 5.11.0
    @mui/material: ^5.8.3 => 5.11.4
    @mui/private-theming:  5.11.2
    @mui/styled-engine:  5.11.0
    @mui/system:  5.11.4
    @mui/types:  7.2.3
    @mui/utils: ^5.10.3 => 5.11.2
    @mui/x-data-grid: ^5.12.2 => 5.17.18
    @mui/x-date-pickers: ^5.0.7 => 5.0.13
    @types/react: ^18.0.12 => 18.0.26
    react: ^18.1.0 => 18.2.0
    react-dom: ^18.1.0 => 18.2.0
    typescript: ^4.7.3 => 4.9.4

This is related to #35586.
Implementing the ARIA 1.2 spec should solve these issues.


Non-linear writes

The default behavior of the Guerilla classes write function creates many non-linear seeks and writes.
Work on making these linear to increase file operation performance.

Fixed this issue using the new GuerillaBlocks generated using the GuerillaCodeDom. New methods were written that takes advantage of linear writes using a Stack to delay writing until we arrive at the destination in the stream. Much much lower write times now.


Make it build with ghc-9.6

All the macOS builds are broken due to changes in GH Runners.  My suggestion is to use the iohk/devx actions instead. They support those runners just fine.

The Coding Standards check fails, but that can be fixed. Looks like mostly stylish issues.

TypeScript NPM Package failes due to: a missing /home/runner/work/cardano-addresses/cardano-addresses/default.nix, which I believe we want to adjust.

I notice that some of inputs are set to track 21.05 channel of nixpkgs, while others track 23.05
Should this be fixed?
https://github.com/IntersectMBO/cardano-addresses/blob/78be3215a1fd93567b481d91bdee8abd572952e5/nix/flake-compat.nix#L8-L12


Find a (clean & simple) way to manage pictures alignement

Maybe could remark-align be the solution?


Initial build from cloned repo fails to get 'chumsky' as a dependency

When cloning the repo directly into a new folder, cargo build fails because the Cargo.toml specifies that chumsky should be provided as a local file ("chumsky = { path = "chumsky" }"), but the local file for chumsky is not included in the repo. If the line is changed so that it pulls from chumsky 0.8.0, the build also fails.

Oh right, I was using a custom-patched chumsky, the feature was since implemented on master so I have now changed over using it as a git dependency, which should allow you to build Rotth without further issues.


Detailed instructions.

Can someone explain how to use this script? I am not a programmer at all and do not quite understand where to enter the line.


mkreports serve malfunctions when thre is no project directory

Currently mkreports server raises errors infinitely when a project directory is not present. This should be checked and captured.

fixed in 026709fd


feat: add checkbox item type to ButtonDropdown component

Description
Currently, the ButtonDropdown component supports two types of items in this list, action items and link items. Action items allow users to invoke a callback on the item press and the link item takes the user to a URL.
This change adds a third item type which allows the users to toggle a setting on and off. When clicked it invokes the same callback as the base items with the checkbox state as an extra argument.
Related links, issue #, if available: n/a
How has this been tested?

A page was added to interact with the ButtonDropdown component with the new item types.
Unit tests were added or extended to test the new behavior and to test it doesn't change existing behavior.

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pan-kot thanks for your comments, updated the PR to address them 🙂


Ignore the ASP.NET Core meta packages

See here: https://www.youtube.com/watch?v=ttbLKrapCoY
In the video, this repo gets a good shoutout and a lot of love ❤
A suggestion was to ignore these packages, as the rules around how they are updated are complex, they aren't really normal PackageReferences.

Ouch, line endings look off

We have been having a lot of issues with line endings lately :(

I'm not sold on this one. If you're using the actual version, not a floating/open/SDK one, my assumption is that you want to update them. It works for us...

Hmmm, I'm trying to understand this. I was going by the conversation in the video that starts here and lasts about a minute. If you reference it the version-less manner, then upgrading to a version would be wrong, and possibly not run (even though it would build).
However if you are specifying versions anyway for .App/.All, then you are saying that you require that exact framework version (down to the patch level), so NuKeeper is basically also asking you to update your runtime, but that's a mess of your own choosing if that makes sense.

I think this might explain it better: https://natemcmaster.com/blog/2018/08/29/netcore-primitives-2/#confusing-project-settings

We are running into similar at work - we want to update the "package" Microsoft.AspNetCore.All to 2.1.4 but we must first apply a framework update to the machines that it runs on, or else it will fail to run.

I'd refer this also to #311 - new projects will be setup by VS to have a versionless reference, and that's preferred (you update by updating the SDK). Existing projects... My personal preference would be to keep updating the reference, with the (silent? perhaps documented? are the issues here documentation enough?) assumption that's this will fail unless your SDK has been also updated. So, to the best of my current understanding: I'm against applying this change. I'd wait and see how dotnet project decides to solve the problem with those framework packages.

@skolima I'm conflicted, ultimately there's merit in being intentionally ignorant about packages and treating them all consistently, but from my understanding this isn't a regular package and tools should not offer to upgrade it even if explicitly versioned.
@natemcmaster @DamianEdwards @shanselman Opinions welcome.
What would you expect tools like this (and dotnet outdated) do with Microsoft. AspNetCore.App if it's pinned to a version in csproj? This was the exact scenario during yesterdays community standup broadcast.

I'd first ask you all to forgive us for even putting you and the rest of the community in this situation in the first place.
Assuming we get past that, I think it would be useful if tools like this did acknowledge (i.e. special case) these two package names and provide concrete guidance that's inline with the way they're designed to be used (warts and all). We're planning to make specifying a version on these packages a suppressable warning in the 2.2 SDK, but more reinforcement of the guidance from other tools only helps I think.

So that's a vote for both ignoring the update and emitting some warning text about how the metapackage should not have a specified version.

Reference to the "epic" in aspnet repo: https://github.com/aspnet/Home/issues/3307


Workflow is on but No Pods

Hello I was following guide: https://deis.com/docs/workflow/installing-workflow/
I'am using:
CoreOS 1010.5.0 Stable
kubernetes:
Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.4",       GitCommit:"3eed1e3be6848b877ff80a93da3785d9034d0a4f", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.4+coreos.1", GitCommit:"7f80f816ee1a23c26647aee8aecd32f0b21df754", GitTreeState:"clean"}
helmc: helmc version 0.8.1+63c6d05
helmc target Kubernetes master is running at https://some_ip
And when I perform :
 helmc repo add deis https://github.com/deis/charts
 helmc fetch deis/workflow-v2.2.0
 helmc generate -x manifests workflow-v2.2.0
 helmc install workflow-v2.2.0
helm creates services,service account,  secrets  but  no pods

Did helmc create any ReplicationControllers? Could you post the log from your installation so we can see how far it got?
I recall seeing an issue like this when kubectl was mismatched (1.1.8 vs 1.2.5 I think), but that's not the case here.

helms output:
helmc install workflow-v2.2.0
---> Running kubectl create -f ...
namespace "deis" created
secret "builder-ssh-private-keys" created
secret "builder-key-auth" created
secret "django-secret-key" created
secret "database-creds" created
secret "logger-redis-creds" created
secret "objectstorage-keyfile" created
secret "deis-router-dhparam" created
serviceaccount "deis-builder" created
serviceaccount "deis-controller" created
serviceaccount "deis-database" created
serviceaccount "deis-logger-fluentd" created
serviceaccount "deis-logger" created
serviceaccount "deis-minio" created
serviceaccount "deis-monitor-telegraf" created
serviceaccount "deis-nsqd" created
serviceaccount "deis-registry" created
serviceaccount "deis-router" created
serviceaccount "deis-workflow-manager" created
service "deis-builder" created
service "deis-controller" created
service "deis-database" created
service "deis-logger-redis" created
service "deis-logger" created
service "deis-minio" created
service "deis-monitor-grafana" created
service "deis-monitor-influxapi" created
service "deis-monitor-influxui" created
service "deis-nsqd" created
service "deis-registry" created
service "deis-router" created
service "deis-workflow-manager" created
replicationcontroller "deis-builder" created
replicationcontroller "deis-controller" created
replicationcontroller "deis-database" created
replicationcontroller "deis-logger" created
replicationcontroller "deis-logger-redis" created
replicationcontroller "deis-minio" created
replicationcontroller "deis-monitor-grafana" created
replicationcontroller "deis-monitor-influxdb" created
replicationcontroller "deis-nsqd" created
replicationcontroller "deis-registry" created
replicationcontroller "deis-router" created
replicationcontroller "deis-workflow-manager" created
daemonset "deis-logger-fluentd" created
daemonset "deis-monitor-telegraf" created
---> Done
Workflow 2.2.0
Please report any issues you find in testing Workflow to the appropriate GitHub repository:

builder: https://github.com/deis/builder
chart: https://github.com/deis/charts
controller: https://github.com/deis/controller
database: https://github.com/deis/postgres
fluentd: https://github.com/deis/fluentd
helm classic: https://github.com/helm/helm-classic
logger: https://github.com/deis/logger
minio: https://github.com/deis/minio
monitor: https://github.com/deis/monitor
nsq: https://github.com/deis/nsq
registry: https://github.com/deis/registry
router: https://github.com/deis/router
workflow manager: https://github.com/deis/workflow-manager
========================================

@DavidSie can you please post the output of kubectl --namespace=deis get rc and kubectl --namespace=deis get po? Just want to confirm that those replication controllers were indeed installed, since from the log messages everything seems to have been installed.

kubectl --namespace=deis get rc
NAME                    DESIRED   CURRENT   AGE
deis-builder            1         0         5h
deis-controller         1         0         5h
deis-database           1         0         5h
deis-logger             1         0         5h
deis-logger-redis       1         0         5h
deis-minio              1         0         5h
deis-monitor-grafana    1         0         5h
deis-monitor-influxdb   1         0         5h
deis-nsqd               1         0         5h
deis-registry           1         0         5h
deis-router             1         0         5h
deis-workflow-manager   1         0         5h

     kubectl --namespace=deis get po

(no result)

Hmm, I wonder if there's something to do with no nodes being ready to pick up pods. How about kubectl get nodes?

kubectl  get  pods

no result
however:
 kubectl get pods --namespace=kube-system
NAME                         READY     STATUS    RESTARTS   AGE
kube-apiserver-<IP_ADDRESS>   1/1       Running   0          6h
kube-proxy-<IP_ADDRESS>       1/1       Running   0          6h
kube-proxy-<IP_ADDRESS>       1/1       Running   0          6h
kube-proxy-<IP_ADDRESS>       1/1       Running   0          6h
kube-scheduler-<IP_ADDRESS>   1/1       Running   0          6h

@DavidSie those pods are running on the master, so that's fine. What about kubectl get nodes, though?

kubectl get nodes
NAME          STATUS                     AGE
<IP_ADDRESS>   Ready                      8h
<IP_ADDRESS>   Ready                      8h
<IP_ADDRESS>   Ready                      8h
<IP_ADDRESS>   Ready,SchedulingDisabled   8h

So one of the nodes are disabled, but there are three available for scheduling. At this point I'd take a look at kubectl get events to take a look at the event stream and see why the scheduler is unable to deploy the pods to your nodes. You might also want to take a look at your kubelets and check the logs there for more information.

   kubectl get events

is not returning anything
logs from master
 sudo systemctl status kubelet -l
● kubelet.service
   Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2016-08-02 18:31:44 UTC; 13h ago
  Process: 1506 ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests (code=exited, status=0/SUCCESS)
 Main PID: 1513 (kubelet)
    Tasks: 12
   Memory: 234.3M
      CPU: 13min 16.068s
   CGroup: /system.slice/kubelet.service
           ├─1513 /kubelet --api-servers=http://<IP_ADDRESS>:8080 --network-plugin-dir=/etc/kubernetes/cni/net.d --network-plugin=cni --register-schedulable=false --allow-privileged=true --config=/etc/kubernetes/ma
           └─1634 journalctl -k -f

Aug 02 19:16:16 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:16:16.423823    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 19:18:52 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:18:52.954497    1513 kubelet.go:2745] Error updating node status, will retry: client: etcd cluster is una
Aug 02 19:19:17 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:19:17.986552    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 19:28:17 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:28:17.386025    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 19:29:32 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:29:32.843566    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 19:31:04 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:31:04.472829    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 19:32:08 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:32:08.092741    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 19:38:42 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 19:38:42.820935    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 02 21:46:47 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0802 21:46:47.489363    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
Aug 03 04:17:21 test-deis-stack2-kubernetes-master-cfhhg7dgeb3z.novalocal kubelet-wrapper[1513]: E0803 04:17:21.225077    1513 kubelet.go:2745] Error updating node status, will retry: nodes "<IP_ADDRESS>" cannot
lines 1-22/22 (END)

etcd viewed on master
etcdctl  cluster-health
member some_id is healthy: got healthy result from http://<IP_ADDRESS>:2379
member some_id is healthy: got healthy result from http://<IP_ADDRESS>:2379
member some_id is healthy: got healthy result from http://<IP_ADDRESS>:2379
member some_id  is healthy: got healthy result from http://<IP_ADDRESS>:2379
cluster is healthy

minion 1 was dead
after start:
 systemctl status kubelet
● kubelet.service
   Loaded: loaded (/etc/systemd/system/kubelet.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-08-03 07:37:20 UTC; 43s ago
  Process: 1487 ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests (code=exited, status=0/SUCCESS)
 Main PID: 1493 (kubelet)
    Tasks: 14
   Memory: 471.9M
      CPU: 6.177s
   CGroup: /system.slice/kubelet.service
           ├─1493 /kubelet --api-servers=https://<IP_ADDRESS> --network-plugin-dir=/etc/kubernetes/cni/net.d --network-plugin=cni --register-node=true --allow-privileged=true --config=/etc/kubernetes/manifests --
           └─1626 journalctl -k -f

Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.461620    1493 manager.go:123] Starting to sync pod status with apiserver
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.462660    1493 kubelet.go:2356] Starting kubelet main sync loop.
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.464344    1493 kubelet.go:2365] skipping pod synchronization - [container runtime is down]
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.597840    1493 factory.go:233] Registering Docker factory
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.598982    1493 factory.go:97] Registering Raw factory
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.623964    1493 kubelet.go:1150] Node <IP_ADDRESS> was previously registered
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.728240    1493 manager.go:1003] Started watching for new ooms in manager
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.729692    1493 oomparser.go:182] oomparser using systemd
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.730878    1493 manager.go:256] Starting recovery of all containers
Aug 03 07:37:51 test-deis-stack2-kubernetes-minion1-awjht3il5pw6.novalocal kubelet-wrapper[1493]: I0803 07:37:51.852285    1493 manager.go:261] Recovery completed

minion 2(was also dead):
systemctl status kubelet
● kubelet.service
   Loaded: loaded (/etc/systemd/system/kubelet.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-08-03 07:38:59 UTC; 46s ago
  Process: 1498 ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests (code=exited, status=0/SUCCESS)
 Main PID: 1505 (kubelet)
    Tasks: 13
   Memory: 475.8M
      CPU: 6.621s
   CGroup: /system.slice/kubelet.service
           ├─1505 /kubelet --api-servers=https://<IP_ADDRESS> --network-plugin-dir=/etc/kubernetes/cni/net.d --network-plugin=cni --register-node=true --allow-privileged=true --config=/etc/kubernetes/manifests --
           └─1560 journalctl -k -f

Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.134446    1505 kubelet.go:2356] Starting kubelet main sync loop.
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.134469    1505 kubelet.go:2365] skipping pod synchronization - [container runtime is down]
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.290318    1505 factory.go:233] Registering Docker factory
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.291037    1505 factory.go:97] Registering Raw factory
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.300563    1505 kubelet.go:1150] Node <IP_ADDRESS> was previously registered
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.432016    1505 manager.go:1003] Started watching for new ooms in manager
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.434208    1505 oomparser.go:182] oomparser using systemd
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.435531    1505 manager.go:256] Starting recovery of all containers
Aug 03 07:39:31 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: I0803 07:39:31.529716    1505 manager.go:261] Recovery completed
Aug 03 07:39:36 test-deis-stack2-kubernetes-minion2-lapgigoetbus.novalocal kubelet-wrapper[1505]: E0803 07:39:36.208578    1505 kubelet.go:1764] Failed creating a mirror pod for "kube-proxy-<IP_ADDRESS>_kube-syst

minion 3 (also was dead)

systemctl status kubelet
● kubelet.service
   Loaded: loaded (/etc/systemd/system/kubelet.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-08-03 07:41:16 UTC; 14s ago
  Process: 1442 ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests (code=exited, status=0/SUCCESS)
 Main PID: 1447 (rkt)
    Tasks: 7
   Memory: 318.6M
      CPU: 2.845s
   CGroup: /system.slice/kubelet.service
           └─1447 /usr/bin/rkt run --volume etc-kubernetes,kind=host,source=/etc/kubernetes --volume etc-ssl-certs,kind=host,source=/usr/share/ca-certificates --volume var-lib-docker,kind=host,source=/var/lib/do

Aug 03 07:41:16 test-deis-stack2-kubernetes-minion3-vejtj5xchorz.novalocal systemd[1]: Starting kubelet.service...
Aug 03 07:41:16 test-deis-stack2-kubernetes-minion3-vejtj5xchorz.novalocal systemd[1]: Started kubelet.service.
Aug 03 07:41:16 test-deis-stack2-kubernetes-minion3-vejtj5xchorz.novalocal kubelet-wrapper[1447]: image: using image from file /usr/lib64/rkt/stage1-images/stage1-fly.aci
Aug 03 07:41:19 test-deis-stack2-kubernetes-minion3-vejtj5xchorz.novalocal kubelet-wrapper[1447]: image: using image from local store for image name quay.io/coreos/hyperkube:v1.2.4_coreos.cni.1

but  kubectl get nodes all the time showed status READY :/
after those restarts
kubectl get events
FIRSTSEEN   LASTSEEN   COUNT     NAME          KIND      SUBOBJECT   TYPE      REASON                  SOURCE                  MESSAGE
1m          1m         1         <IP_ADDRESS>   Node                  Normal    Starting                {kubelet <IP_ADDRESS>}   Starting kubelet.
1m          1m         1         <IP_ADDRESS>   Node                  Normal    NodeHasSufficientDisk   {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeHasSufficientDisk
1m          1m         1         <IP_ADDRESS>   Node                  Warning   Rebooted                {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> has been rebooted, boot id: a3aa32de-1bef-46f6-9d73-1cc49e4d36cd
3m          3m         1         <IP_ADDRESS>   Node                  Normal    Starting                {kubelet <IP_ADDRESS>}   Starting kubelet.
3m          3m         1         <IP_ADDRESS>   Node                  Normal    NodeHasSufficientDisk   {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeHasSufficientDisk
3m          3m         1         <IP_ADDRESS>   Node                  Warning   Rebooted                {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> has been rebooted, boot id: 55755b8f-9cc1-4865-90b7-eeb770c68a24
3m          3m         1         <IP_ADDRESS>   Node                  Normal    NodeNotReady            {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeNotReady
3m          3m         1         <IP_ADDRESS>   Node                  Normal    NodeReady               {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeReady
5m          5m         1         <IP_ADDRESS>   Node                  Normal    Starting                {kubelet <IP_ADDRESS>}   Starting kubelet.
5m          5m         1         <IP_ADDRESS>   Node                  Normal    NodeHasSufficientDisk   {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeHasSufficientDisk
5m          5m         1         <IP_ADDRESS>   Node                  Warning   Rebooted                {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> has been rebooted, boot id: d9610c97-ce57-48df-b1d7-992211fd6514
5m          5m         1         <IP_ADDRESS>   Node                  Normal    NodeNotReady            {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeNotReady
5m          5m         1         <IP_ADDRESS>   Node                  Normal    NodeReady               {kubelet <IP_ADDRESS>}   Node <IP_ADDRESS> status is now: NodeReady

but status of deis is still unchanged I can see services but no pods

I cannot fix it but I'm pretty sure It something between helmc and kubernetes because I installed nginx-alpine and end up with the same result :/

Yes this is something related to kubernetes itself, not Workflow. Sorry I couldn't provide much assistance in determining the issue!


Added models x tasks which haven't yet been run

Some results that should already have been there for models but are somehow not recognized by the script:

PAWSX (Maybe due to confusion with PawsX?)
SemRel24STS

All others should have either been added now or I opened an issue for them (the dialogue ones) 👍 Lmk if there's more I should run?

Will take a look at this

Ahh so it turns out that the macOS file system is case-incensitive (by default) so the PAWSX and PawsX get merged automatically... A bit frustrating, we should probably rename one of them (I would suggest changing PawsX to PAWSXPairClassification). Sadly both of them are used in a benchmark (is it possible to fix this on the french bechmark?)

Agree that we should fix this! Also ran into that problem a few times

@Muennighoff figured out that this happens due to some models being run on the "dev" split of the SemRel24STS. This makes it seems like other models don't have it (but it is not specified as required in the task). I have updated the list now to fix these cases.
Note that this required a lot of fixes to the results repo (due to adding the older files)

Amazing! I put the new results here: https://github.com/embeddings-benchmark/results/pull/6 except for the failures here: https://github.com/embeddings-benchmark/mteb/issues/1064

Merging this PR as well @Muennighoff the FP16 case should have been fixes if you want to rerun that one


fixed scripting agent/tile

In the new vec obs env, the scripted agents were jumping to lava and chose targets that were out of range.
This was because the retrieved agent and tiles from nmmo.scripting.Observation, thus the coordinate information, were incorrect.
This PR includes new tests for checking correctness of the retrieved agent and tile coordinates and fixes.

The test_api using scripted agents produced the below error.
======================================================================
FAIL: test_observations (__main__.TestApi)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/kywch/detenv4/tests/test_api.py", line 63, in test_observations
    self._validate_items(player_id, player_obs, self.env.realm)
  File "/home/kywch/detenv4/tests/test_api.py", line 126, in _validate_items
    self.assertListEqual(list(ob), [
AssertionError: Lists differ: [98.0, 13.0, 1.0, 0.0, 2.0, 1.0, 30.0, 0.0, [34 chars] 0.0] != [98, 13, 1, 0, 1, True, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0]

First differing element 4:
2.0
1

+ [98, 13, 1, 0, 1, True, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0]
- [98.0,
-  13.0,
-  1.0,
-  0.0,
-  2.0,
-  1.0,
-  30.0,
-  0.0,
-  0.0,
-  0.0,
-  0.0,
-  0.0,
-  0.0,
-  0.0,
-  0.0,
-  0.0] : Mismatch for Player 61, Item 98

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

The test code compares realm.players[player_id].inventory (which is item_refs) vs. realm.dataframe.data['Item'] (which is item_obs). It seems that the value in inventory (= 1) is correct since the player 61 collected 2 scraps and put 1 on the market. data['Item'] was 2, suggesting that the value was not reduced when the scrap was put on market.
The env is deterministic, so the above error is reproduced with the random seed 342.

The original v1.6 env doesn't have the same problem, so the link between realm.players[player_id].inventory and realm.dataframe.data['Item'] must have been affected by the vec-obs change.

Note: the self agent is no longer the first agent in the obs tensor under this scheme


feat: calculate default no_proxy values based on cluster

Implements https://github.com/d2iq-labs/capi-runtime-extensions/issues/30
Example of generated values:
          [Service]
          Environment="HTTP_PROXY=http://example.com"
          Environment="http_proxy=http://example.com"
          Environment="NO_PROXY=localhost,<IP_ADDRESS>,<IP_ADDRESS>/16,<IP_ADDRESS>/12,kubernetes,kubernetes.default,.svc,.svc,.svc.cluster,.svc.cluster.
local,http://no-1.example.com"
          Environment="no_proxy=localhost,<IP_ADDRESS>,<IP_ADDRESS>/16,<IP_ADDRESS>/12,kubernetes,kubernetes.default,.svc,.svc,.svc.cluster,.svc.cluster.
local,http://no-1.example.com"

No proxy shouldn't have values with scheme should it?

No proxy shouldn't have values with scheme should it?

@jimmidyson yes, we should add validation to additionalNo value. The values at the end are coming from the user input config.

Looks good!
Clusters in some infrastructures will need additional values to NO_PROXY.
For example, in AWS, the metadata service IP (<IP_ADDRESS>), and the load-balancer subdomain (.elb.amazonaws.com).
I think we determine the infrastructure by
(a)  checking the Kind of the infrastructure reference in the Cluster spec to determine the infrastructure, OR
(b) reading the konvoy.d2iq.io/provider label
Would be a good follow-up. WDYT?


Alien RPG: possible fix for sheet not associating with compendium

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[ ] The pull request makes changes to files in only one sub-folder.
[ ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Bug Fixes

Updated sheet JSON to possible fix for compendium connection

Character Sheet Info Roll20 Internal Use only.


Inception for unity

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):  1.13.1

I wanted to use Tensorflow Inception in Unity with reference to this link.
https://github.com/chen0040/unity-tensorflow-samples
Below is the code I used, but I do not see any errors, but I can not discriminate the image. In other words, nothing is displayed in the concole window. Do you know the solution?
first code,
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TensorFlow;
public class InceptionTest
{
private TFGraph graph;
private TFSession session;

private static string[] labels = new string[] {
        "Linear type",
        "point type",
        "sidewalk block",

};

public void LoadModel(string your_name_graph)
{
    if (graph == null)
    {
        Debug.Log("Loading tensor graph " + your_name_graph);
        TextAsset graphModel = Resources.Load<TextAsset>(your_name_graph);

        if (graphModel == null)
        {
            Debug.LogError("Failed to load tensor graph " + your_name_graph);
        }

        graph = new TFGraph();
        graph.Import(graphModel.bytes);
        session = new TFSession(graph);
    }
}

public int PredictClass(Texture2D image)
{
    Debug.Log(image);

    float[] imageBytes = new float[image.width * image.height * 3];

    int idx = 0;
    for (int i = 0; i < image.width; i++)
    {
        for (int j = 0; j < image.height; j++)
        {
            Color pixel = image.GetPixel(i, j);

            imageBytes[idx++] = pixel.r / 255.0f;
            imageBytes[idx++] = pixel.g / 255.0f;
            imageBytes[idx++] = pixel.b / 255.0f;
        }
    }

    var runner = session.GetRunner();
    runner
        .AddInput(graph["conv2d_1_input"][0], TFTensor.FromBuffer(new TFShape(new long[] { 1, 32, 32, 3 }), imageBytes, 0, 3072))
        .AddInput(graph["dropout_1/keras_learning_phase"][0], new TFTensor(TFDataType.Bool, new long[0], 1));

    runner.Fetch(graph["output_node0"][0]);
    float[,] recurrent_tensor = runner.Run()[0].GetValue() as float[,];

    float maxVal = float.MinValue;
    int bestIdx = -1;
    for (int i = 0; i < recurrent_tensor.GetUpperBound(1); ++i)
    {
        float val = recurrent_tensor[0, i];
        if (val > maxVal)
        {
            maxVal = val;
            bestIdx = i;
        }
    }

    return bestIdx;
}

public string PredictLabel(Texture2D image)
{
    int classId = PredictClass(image);
    if (classId >= 0 && classId < labels.Length)
    {
        return labels[classId];
    }
    return "unknown";
}

}
second,
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cshInceptionTest : MonoBehaviour
{
private InceptionTest classifier = new InceptionTest();
// Start is called before the first frame update
void Start()
{
    Debug.Log(TensorFlow.TFCore.Version);
    classifier.LoadModel("tf_models/output_graph");

    string[] image_names = new string[9];
    int index = 0;
    for (int i = 1; i <= 3; ++i)
    {
        image_names[index++] = "Linear type" + i;
        image_names[index++] = "Point type" + i;
        image_names[index++] = "sidewalk block" + i;
    }
    foreach (string image_name in image_names)
    {
        Debug.Log(image_name);
        Texture2D img = Resources.Load<Texture2D>("images/inception/" + image_name);
        Debug.Log("Predicted: " + classifier.PredictLabel(img));
    }

}

// Update is called once per frame
void Update()
{

}

}
First, I try to determine the image of the folder by inserting the second code into any object.
Please Help me T_T

GitHub [unity-tensorflow-samples] (https://github.com/chen0040/unity-tensorflow-samples/issues) can be good platform to raise this question. Please post it on unity-tensorflow-samples. Thanks!


Change Minute Intervals

How would I modify this to only select 15 (or any integer) minute intervals?
i.e. I would like to only allow the following:
hh:00
hh:15
hh:30
hh:45
I think this would be a useful feature to add for initialisation options.
Many thanks,

What you need to do is just add one line of code in the js file. Find the following snippet first:
_td_rotation = function(deg) {
var t = _td_c.find('.td-time span.on');
var value = t.attr('data-id');
if (!value) value = 0;
var h = Math.round((deg * 23 / 360));
var m = Math.round((deg * 59 / 360));

Then add one line of code after the above code:
m = m - m % 5;// where "5" is the interval you want to set

Thank you @sapphirew - Was about to have to bail on this plugin until I found this!

@runyourgym No problem, good to know it's helpful :)


fix: registration via code and verification/recovery card stretches

Verification and recovery would stretch after submitting the email.
Related Issue or Design Document
https://github.com/ory-corp/cloud/issues/5336
The registration via code changes were done in accordance to the API changes here https://github.com/ory/kratos/pull/3505.
Previous Ory elements versions won't be affected by this change since they would still just display the nodes according to the default group - they supported both code and default group. This is more of a readability improvement of the code-section component.

Checklist

[ ] I have read the contributing guidelines and signed the CLA.
[ ] I have referenced an issue containing the design document if my change introduces a new feature.
[ ] I have read the security policy.
[ ] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact<EMAIL_ADDRESS>from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added the necessary documentation within the code base (if appropriate).

Further comments

Adding stricter eslint rules into the project now.

Please see this PR regarding stricter type checking through eslint https://github.com/ory/elements/pull/148


Infinite loading in Nuxt in SSR (Universal) mode

What problem does this feature solve?
I am trying to implement infinite loading in Nuxt in SSR mode. How can this be implemented, is there an example of this?
To see this in action on dev.to:

Go to https://dev.to/
By default, the page should about 45 posts in the news feed.
Scroll down on the infinite-loaded page so that new posts are loaded in the news feed.
Click on the title of any post to go to that post view page.
Click the browser's back button so you go back to https://dev.to/
Notice that you are taken back to the news feed in the EXACT same state you left it in:

The page is NOT re-painted or re-rendered
All the posts that were loaded by scrolling down the page (part of the infinite scroll) are preserved.
If you view the source of the page, ALL of the content is visible in the source, including the content that was loaded as part of the infinite scroll.

This is my (failed) attempt at getting this to work: https://codesandbox.io/s/codesandbox-nuxt-uusli?fontsize=14
How can this be implemented using Nuxt.js in Universal mode (SSR enabled)?

This feature request is available on Nuxt community (#c9808)

you can store the posts and pagination data in the store. In fetch don't download data if the store has any posts. when the user reach the bottom of the page use the pagination data from the store to download new posts.
if posts are added frequently you may want to store the date as well so you can update the data when it's obsolete.
// store/index.js
posts: {
 data: [],
 pagination: [],
 last_updated: null
}

// posts/index.vue
fetch() {
 if (posts.data.length) return
 // get posts here and update the store
}

This is not a Nuxt.js core feature request.
Please post your questions not on the issue tracker directly as it's only for bug reports or feature requests. Instead, you could try out our Discord, StackOverflow or another platform.

@manniL the Discord channel has very little activity, but ok...I hear you.
@noureddinenoureddine thanks for the tip.

I heard of something called the IntersectionObserver but frankly that went over my head.

the Discord channel has very little activity, but ok...I hear you.

I strongly disagree with that. :sweat_smile:


Ignore Rust's Cargo.lock

tried to add changes to this branch and cargo.lock is ignored. So the function is working! I'm fine merge this pull request. not sure should "squash and merge" or "rebase and merge". will let Steve decide!


First Submission of Problem Set 5. Bayu Wilson.

You can run the code by typing "./[name-of-script].py" or check problem 5.1 using "pylint --disable=R,C power_specs.py"

Thank you, looks fine.
The only problem is that the integration is off. I also think you forgot to run pylint on the final version of power_specs.py


CI/CD - Build, Package release the application for macOS

[x] Create build Github Actions workflows

[x] ARM64
[x] Intel x64

[x] Package the application for macOS
[x] Publish package as a Github release
[ ] #33

Can then feed into https://github.com/ai-qol-things/rusty-ollama/issues/13

it worken! 🕺


Prl 594 draft template generation

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-594
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ X ] No

Closing this PR due to too many PRs

Closing this as there are issues with aks preview deploy

new PR https://github.com/hmcts/prl-ccd-definitions/pull/108


Release the latest storage driver to npm

See https://github.com/cyclejs/storage/issues/19
The diversity-compatible (v3) version of the storage driver is not the official version on npm, it's only avail as an RC version which specifically must be targeted...  Please merge the diversity changes to master and publish...

I added a PR to this v3 release converting it to typescript, this might be good to integrate too

Done


Undeprecate JDBC module

Purpose
$subject as the experimental feature ballerina/java.jdbc is still not complete
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing as this is addressed in https://github.com/ballerina-platform/ballerina-lang/pull/23889


no format on paste/save on v 1.50.0

VSCode Version: 1.50.0
OS Version:Mas 10.15.7

Steps to Reproduce:

save or paste unformatted code

Does this issue occur when all extensions are disabled?: Yes/No Not applicable as the issue is related to extensions ESLint or Prettier
This was working properly prior to latest update. Both ESLint and Prettier are shown as active
Note that is does show the errors as you can see on the enclosed image.
This is eslinrc.json
   {
"env": {
    "browser": true,
    "es2020": true
},
"extends": [
    //"plugin:react/recommended",
    "airbnb",
    // "prettier",
    "plugin:prettier/recommended",
    "prettier/react"
],
"parser": "babel-eslint",
"parserOptions": {
    "ecmaFeatures": {
        "jsx": true
    },
    "ecmaVersion": 11,
    "sourceType": "module"
},
"plugins": ["react", "react-hooks", "jsx-a11y", "import", "prettier"],
"rules": {
     ......
    "no-unused-expressions": [
        "error",
        {
            "allowShortCircuit": true
        }
    ],
    "quotes": [
        2,
        "single",
        {
            "avoidEscape": true,
            "allowTemplateLiterals": true
        }
    ]
},
"globals": {
    "React": "writable"
}
}

And prettier.rc
 {
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 90
}

I get the same issue

got the same issue
resolved by adding "editor.defaultFormatter": "esbenp.prettier-vscode" to settings.json

same problem since updating vscode, RanSatious solution worked for me!

got the same issue
resolved by adding "editor.defaultFormatter": "esbenp.prettier-vscode" to settings.json

Thanks! It works fine.

It works thank you. But some autoformat cases that used to be formatted automatically are now just underlined by eslint. Do I have to update settings in .prettierrc too ? Or somewhere else ?

Bonjour,
Meme soucis sur la 1.50 c'est possible de le fix avec cette manipulation indiquez plus haut

got the same issue
resolved by adding "editor.defaultFormatter": "esbenp.prettier-vscode" to settings.json

This solution only solved the problem temporarily for me, on subsequent reload I'm seeing the failure to format issue resurface even though editor.defaultFormatter is set to esbenp.prettier-vscode.

I was running into the same issue. I can confirm @RanSatious and @ZnK88 solutions together worked like a charm.

Maybe the same as https://github.com/microsoft/vscode/issues/108447

adding "editor.defaultFormatter": "esbenp.prettier-vscode" to settings.json seems to have resolved the format on save issue.
Format on paste still does not work though.
Note that in previous versions, "editor.defaultFormatter" was set to null and both format on save and paste worked fine.

Was having issue with SCSS and JS files formatting but was not having the same luck with PHP files being ignored.
Solution for me was to remove the previous settings I had assigned in settings.json and reset by making the same selections through the newer settings interface.

/duplicate of https://github.com/microsoft/vscode/issues/108447


Test UV performance

Uv, a new tool by the creators of ruff could speed up the pre-commit step considerably

@SchrodingersGat yes—around 20 seconds on the pipeline and 15 on my device. The pre-commit hooks become nearly unnoticable.

We can not merge right now though as there are still some unresolved issues upstream due to it being this new

OK with 0.1.8 uv is functionally the same as pip tools. I think this could be reviewed/merged.
Changes:

Switches internal and invoke install commands to use uv (there is a new optional switch --nouv that disables that)
The pre-commit compile hook is very fast now ;-)
The pre-commit compile hook now has a target Python version set - ie. you can run your dev setup on a newer, faster version of Python than 3.9 and will not get different requirements due to different standard libraries etc.

There are 3 changes in the requirement files as visible in this diff:

the tool header changes to uv
there are no via .... references anymore - they are observed, just not listed
extras (ie toml in this sample coverage[toml])  are not listed but observed (there seems to be some discussions with pip-tools too if those should be in the lockfile)

All of those are cosmetic

@matmair looks good to me - thanks for putting the time into this!


Environment variable interpolation

I'm configuring a project containing the following file structure:
- src
    - httpyac.config.js
    - Authentication
        - auth.http
    - env
        - .env.hmg
        - .env.prod

.env.hmg
username=hmg
password=xxx

.env.prod
username=prod
password=xxx

I have also a validation pipeline where I run the httpyac CLI to execute the authentication process on hmg env. So the code is:
$ httpyac send --env hmg --all src/Authentication/auth.http

The problem here is the password is configured through a real environment variable with the same name (lowercase too), but when I use it in auth.http with {{ password }}, httpyac's CLI always evaluate the .env.hmg file. When I comment or remove the variable from the file, the variable isn't populated with the environment variable as well (ReferenceError: password is not defined). The only solution that I found was forcing the variable as password = {{ $processEnv password }} in .env.hmg.
Is this a bug or should I take another approach to use real environment variables instead of normal {{}} interpolation?

If I understand you correctly, you are trying to access the environment variable with password. This is not possible in NodeJS, you have to access it with process.env.password (see https://nodejs.dev/en/learn/how-to-read-environment-variables-from-nodejs/). I have intentionally not provided any special mechanism to make them easily accessible. The way is either via process.env.xxx or via the rest-client replica $processEnv.
GET http://auth.secure.net
Authorization: Bearer {{process.env.password}}

Re-opening this as this is a feature that can be found in http-rest-client throught the use of %. See example:
 {{$processEnv [%]envVarName}}

I  have intentionally not provided any special mechanism to make them easily accessible.
Is there any reason for this?

Doing this is quiet useful where auth requires different secrets in different environments that are accessed indirectly through environment variables. For example:
{
  "prod": {
     "client_secret": "PROD_SECRET"
  },
  "uat": {
     "client_secret": "UAT_SECRET"
   }
}

@wray27 Access to environment variables is possible, only the syntax is different: {{process.env.BLA}} instead of {{$processEnv BLA}}. My statement is intended to mean that you cannot simply write `BLA? . Support for rest-client syntax is possible, I could also parse the syntax, but I would also welcome an MR for this feature (see restClientVariableReplacer.ts).


CSV to JSON script [GSSoC'23]

Aim
The aim of the script is to convert CSV files to JSON format. It provides a convenient way to transform data stored in CSV files into the JSON data structure.
Details
The script has the following features:
CSV to JSON Conversion: The main functionality of the script is to convert a CSV file into JSON format. It reads the data from the CSV file, converts it into a JSON object, and writes it to a JSON file.
Input and Output Files: The script allows you to specify the input CSV file path and the output JSON file path. You can customize these file paths according to your needs.
CSV Parsing: The script uses the csv.DictReader class from the csv module to parse the CSV data. It treats the first row of the CSV file as column headers and maps each subsequent row to a dictionary where the keys are the column headers and the values are the corresponding row values.
JSON Formatting: The converted JSON data is formatted with an indentation of 4 spaces for improved readability. The json.dumps() function is used to convert the CSV data dictionary into a JSON string.
Error Handling: The script handles potential errors such as file not found or invalid file formats. It uses the with statement to automatically close the file handles, ensuring proper resource management.

Request @avinashkranjan @Yashbhadiyadra , to kindly assign this task to me, to contribute under GSSoC'23. Thanks!

Go Ahead @prernamittal


top-1000 train set contains ~5 retrieved passages on average

Lets count the number of retrieved passages in top1000.train.tar.gz:
train_qids = []
with(open(PATH_PREFIX + 'queries.train.tsv')) as qcollection:
    for l in qcollection:
        qid, qtxt = l.strip().split('\t')
        train_qids.append(int(qid))

print('Number of train queries: %s' % (format(len(qids), ',')))

qid_serp = dict()
# top-1k train set
with tarfile.open(PATH_PREFIX + 'top1000.train.tar.gz', "r:gz") as top1k:
    for member in top1k.getmembers():
        f = top1k.extractfile(member)
        if f is not None:
            try:
                for l in f:
                    qid, did = l.decode('utf-8').strip().split('\t')[:2]
                    qid, did = map(int, [qid, did])
                    qid_serp.setdefault(qid, 0)
                    qid_serp[qid] += 1
            except:
                print('mis-format train doc: ', l)

print('Total queries presented in top-1000: %d' %(len(qid_serp.keys())))
print('Min number of retrieved passages: %d' %(min(qid_serp.values())))
print('Max number of retrieved passages: %d' %(max(qid_serp.values())))

This is the output:
Number of train queries: 808,731

mis-format train doc:  b' Your computer may display a reverse image if certain keys are pressed at the same time. Depending on your configuration, it may be black and white or inverted color, as shown below.\n'

Total queries presented in top-1000: 481780
Min number of retrieved passages: 1
Max number of retrieved passages: 19

Why only 481K out of 808K train queries are presented in top1000.train.tar.gz?
and more importantly, why each presented query at most contains only 19 retrieved passages?!

Why only 481K out of 808K train queries are presented in top1000.train.tar.gz?
I believe only ~550K queries had any positively labeled passages. We should have removed the other queries from queries.train.tsv to avoid confusion. Some queries then got dropped in the candidate generation stage (using BM25 without any stopword removal or stemming) because zero passages were retrieved. That brings the number down to ~481K that you are observing.

why each presented query at most contains only 19 retrieved passages?!
This is definitely weird and shouldn't be the case. I quickly checked my local copy of the top1000.train.txt file and it contains 478,002,393 lines and is 175 GB (uncompressed) / 10.7 GB (compressed). Can you please  verify if these match up with your local copy of the file?

Thanks for your reply.
My local copy "top1000.train.gz" (downloaded from here) is<PHONE_NUMBER>3 bytes and md5sum is 4dc7b43b94c8bd64c630da9a06043cae which is compatible with the website (see "Dataset files: Size on disk and md5sum" section). Therefore, my local copy should be exactly as the remote file.

Hi Amir,
Thanks again for reporting this issue. I investigated this thoroughly last night and found issues with line endings in at least couple of data files (top1000.train.tar.gz and triples.train.small.tsv.tar.gz). The issue has been fixed and the files have been updated. Can you please re-download and verify if you are still noticing any errors?
Some historical context: we inadvertently introduced some line ending related bugs in few of the data files some time ago. It was a human error that should never have happened. We thought we had reverted all the impacted files but clearly we missed some. Sincere apologies for the inconvenience. Please continue to report any other issues you spot with the data.
Best regards,
Bhaskar

Hi Amir,
Just making sure you saw the announcement: https://microsoft.github.io/TREC-2019-Deep-Learning/Updated-Deadline-Announcement.
Thanks again for bringing these issues to our notice and sorry for the inconvenience.
Best regards,
Bhaskar

Dear Bhaskar,
I do appreciate your effort on this issue.
It seems that the problem has been solved, here is the output of the above investigation code:
Number of train queries: 808,731
Total lines in top-1000: 478,002,392
Total queries presented in top-1000: 501233
Min number of retrieved passages: 1
Max number of retrieved passages: 1001
Average number of retrieved passages: 953.65

Thank you very much.


CertificateCredential for AzureUSGovernment cloud

Package Name: azure-identity
Package Version: 1.10.0 / 1.11 (see description)
Operating System: Linux Debian
Python Version: 3.7

Describe the bug
Unable to get access token via CertificateCredential from service principal in the AzureUSGovernment cloud.
To Reproduce
from azure.identity import CertificateCredential
from azure.mgmt.resource.subscriptions import SubscriptionClient

tenant_id =
client_id =
spn_cert_path =
arm_endpoint = "https://management.usgovcloudapi.net/"
authority=

credential = CertificateCredential(
    tenant_id, client_id, spn_cert_path, send_certificate_chain=True, authority=authority
)
subscription_client = SubscriptionClient(
    credential, api_version=None, base_url=arm_endpoint
)
subscriptions = subscription_client.subscriptions.list()
for subscription in subscriptions:
    print(subscription) # placeholder

# attempts
authority unset
"""
Code: InvalidAuthenticationTokenAudience
Message: The access token has been obtained for wrong audience or resource 'https://management.azure.com'. It should exactly match with one of the allowed audiences 'https://management.core.usgovcloudapi.net/','https://management.core.usgovcloudapi.net','https://management.usgovcloudapi.net/','https://management.usgovcloudapi.net'.
"""

authority = f'https://login.microsoftonline.us/{tenant_id}'
"""
azure.core.exceptions.ClientAuthenticationError: Authentication failed: Unable to get authority configuration for https://login.microsoftonline.us/<REDACTED_TENANT_ID>/<REDACTED-TENANT-ID>. Authority would typically be in a format of https://login.microsoftonline.com/your_tenant Also please double check your tenant name or GUID is correct.
"""

authority = 'https://login.microsoftonline.us'
"""
Code: InvalidAuthenticationTokenAudience
Message: The access token has been obtained for wrong audience or resource 'https://management.azure.com'. It should exactly match with one of the allowed audiences 'https://management.core.usgovcloudapi.net/','https://management.core.usgovcloudapi.net','https://management.usgovcloudapi.net/','https://management.usgovcloudapi.net'.
"""

authority = "https://management.core.usgovcloudapi.net/"
"""
azure.core.exceptions.ClientAuthenticationError: Authentication failed: invalid_instance: The authority you provided, https://management.core.usgovcloudapi.net/<REDACTED_TENANT_ID>, is not whitelisted. If it is indeed your legit customized domain name, you can turn off this check by passing in validate_authority=False
"""

authority = 'https://management.core.usgovcloudapi.net/' # CertificateCredential constructor now has kwarg validate_authority=False
"""
azure.core.exceptions.ClientAuthenticationError: Authentication failed: Unable to get authority configuration for https://management.core.usgovcloudapi.net/<REDACTED_TENANT_ID>. Authority would typically be in a format of https://login.microsoftonline.com/your_tenant Also please double check your tenant name or GUID is correct.
"""

authority = 'https://management.usgovcloudapi.net/'
"""
azure.core.exceptions.ClientAuthenticationError: Authentication failed: invalid_instance: The authority you provided, https://management.usgovcloudapi.net/<REDACTED_TENANT_ID>, is not whitelisted. If it is indeed your legit customized domain name, you can turn off this check by passing in validate_authority=False
"""

authority = 'https://management.usgovcloudapi.net/' # CertificateCredential constructor now has kwarg validate_authority=False
"""
azure.core.exceptions.ClientAuthenticationError: Authentication failed: Unable to get authority configuration for https://management.usgovcloudapi.net/<REDACTED_TENANT_ID>. Authority would typically be in a format of https://login.microsoftonline.com/your_tenant Also please double check your tenant name or GUID is correct.
"""

Expected behavior
Access token acquisition.
Additional context
I applied the patch from PR #24232 (validate_authority support) during testing but this did not resolve the problem.

Did you have a chance to look at https://docs.microsoft.com/en-us/azure/developer/python/sdk/azure-sdk-sovereign-domain?
Does this work?

Did you specify the credential_scopes when you create the client?
e.g.
resource_client = ResourceManagementClient(
    credential, subscription_id,
    base_url=CLOUD.endpoints.resource_manager,
    credential_scopes=[CLOUD.endpoints.resource_manager + "/.default"])

subscription_client = SubscriptionClient(
    credential,
    base_url=CLOUD.endpoints.resource_manager,
    credential_scopes=[CLOUD.endpoints.resource_manager + "/.default"])

Thanks! This worked for us. Couple questions:

Could we improve the error message, either by propagating down or by saying something along the lines of "failed to set credential_scopes"?
Are there any plans to expand the AzureAuthorityHosts enum set?

@msyyc, A possible way to improve the error message in https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-mgmt-core/azure/mgmt/core/policies/_authentication.py. How do you think?

Hi @xiangyan99 Good point! There were customers who met similar problems. I think we could add domain doc link, possible solution or sample to customers.

hi @BigCat20196, is this being tracked?


Quantization in UI

Hi,
Quantization is not available in the UI, could you provide an approximate ETA? is there a recommended course of action for performing pruning with UI and quantization by other means?
Thanks!

Hi @IdoZach, thank you for the question. Quantization support is currently planned to go into our beta version of Sparsify slated for roughly 2 months out right now. We are looking for active user design testing for Sparsify beta, so let us know if you would be interested in running through the current designs and giving any feedback!
In the interim, the current workarounds would be one of the following:

Take a current recipe for one of our pretrained models in SparseZoo and use that on your own data
Modify the Sparsify recipe to include a quantization modifier after pruning completes
Create a new recipe in YAML using

We are quickly adding to the functionality in SparseML, though, to make this more streamlined over the next few weeks including APIs for creating recipes. In addition, we will be releasing tutorials on how to do all three of these steps and use the APIs in the next two weeks. I'll update here once those are launched and please let us know if you have any other feedback on them!
Thanks,
Mark

Thanks. If I have a custom recipe, prepared through Sparsify, with a final pruning epoch of 50 and overall 100 final epochs, then I would add the following?
 - !QuantizationModifier
        start_epoch: 50.0

and then after 50 pruning epochs, it would start to quantize the model for the rest? or are there more options needed?

Correct, you'll also want to set the submodules that should be quantized in your model. Additionally, setting disable_quantization_observer_epoch and freeze_bn_stats_epoch can help recovery as well. disable_quantization_observer_epoch freezes the observer params and generally should be done after your last or second to last LR step so you can continue to train without variable quantization statistics. freeze_bn_stats_epoch is along the same vein in that it will freeze the batch norm stats to allow for better recovery when quantizing and should be set to just after what disable_quantization_observer_epoch is set to. An example implementation from our ResNet-50 recipe looks like this:
`

!QuantizationModifier
start_epoch: 100
submodules:
- input
- sections
disable_quantization_observer_epoch: 115
freeze_bn_stats_epoch: 116
`
Where the total epochs are 135 and pruning stopped at epoch 60.

Note that we let it recover for roughly 40 epochs in the pruning stage before beginning quantization. We do have a few experiments to show that the pruning fine-tuning phase is unnecessary and can be replaced purely with quantization; however, not enough to say definitively. So, if there are issues with recovery during quantization, you may want to train for a bit after pruning before starting quantization.
For your example, I would recommend:
`

!QuantizationModifier
start_epoch: 50
submodules:
- fill in based on your model
disable_quantization_observer_epoch: 90
freeze_bn_stats_epoch: 91
`

You will also need to add the following to the pruning modifier if you are planning to run in the DeepSparse engine on Intel VNNI CPUs:
mask_type: [1, 4]
This will set it so that it prunes in blocks of 4 which is a requirement for speedup with sparse quantization on Intel CPUs.
Let me know if you have any further issues and happy to help more!

Hi, after training finishes, how can I verify that my model is indeed quantized?
Similarly, when converting to onnx via ModuleExporter, should I set convert_qat?
Thanks.

Hello @IdoZach
As it's been sometime with no response, I am going to go ahead and close this comment. Please re-open if you have a follow-up. Also, I invite you to "start" our Sparsify repo if you like!
https://github.com/neuralmagic/sparsify/
Thank you!
Jeannie / Neural Magic


Added Contributor Button

issue 75, Contributor Button
Closes: # (issue number)
Proposed changes
Brief description of what is fixed or changed
HTML changes added.
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request

Hi @umar07 , This is not the way you solve #75 . Can you please checkout properly and make changes.
Do join our IRC channel (mentioned in the README.md file) if you have any issues.
Thanks for your contribution :)

Hi @umar07 , This is not the way you solve #75 . Can you please checkout properly and make changes.
Do join our IRC channel (mentioned in the README.md file) if you have any issues.
Thanks for your contribution :)

Hey @goliakshay357   Sorry I misunderstood the issue the first time.
I have made another PR to the issue.Hope that fixes it this time!

Closing this as the new PR has been merged #101


Bind Volumes mess up with users and groups...

When I mount a volume in docker-swarm as bind mounts, I get weired uid and gid diplayed on the data...on one container it is 999:root, on the other I bind-mounted a cifs share, which results into xfs:xfs.
I don't know how to resolve this, but it's a really severe problem, because I can't access the data inside a bind volume, without beeing root...so I cant't use nextcloud-docker etc....please help! I tried this many days now, and didn't find a solution or docs how to change this...

Ownership on Linux is based on the numeric uid/gid, and the names you'll see are taken from the /etc/passwd file. When using bind-mounts, there no "translation" of files created in the container (or, vice-versa, on the host); they're the same files, with the same permissions. If, for example, a file is created by the container with uid/gid 1000:1000, and the /etc/passwd file on your host has an entry for those ID's, it will show the user/group name matching tnt entry.
This answer on stackoverflow might provide some more details; https://stackoverflow.com/a/29251160/1811501
Please keep in mind that the GitHub issue tracker is not intended as a general support forum,
but for reporting bugs and feature requests. For other type of questions, consider using one of;

the Docker Support Forums - https://forums.docker.com
the Docker community Slack channel

I'm closing this issue because this is not a bug, but feel free to continue the conversation

Thanks but if I understand that right, that is exactly the bug I have...because on the docker-host the permissions are shown right...only inside the container the permissions are shown wrong...for example:
I mounted a smb-directory on the host with uid and gid 33. On the host it correctly shows www-data:www-data -> than I mounted this inside a nextcloud-container -> inside the nextcloud-container it shows xfs:xfs...but only in docker swarm! If I try the same with compose volume, everything is all right...

Are you running on Docker Desktop? (Docker for Mac / Windows)? When deploying on Swarm; do you have a single mode (local) or multiple nodes?
Docker Desktop strips ownership information when using bind-mounts; in that case, the owner inside the container will always appear to be "current user".

ahhh okay I found it out! I use rancheros and it was an issue from there =) thank you =) [I had to switch to persistent console to make it working] thank you =)

I still doing something wrong =(. I try to use nextcloud docker with bind-mounted volume for data...this is mounted samba-shara EXACTLY THE SAME WAY like on the old machine where it is working...but as soon as I try it with docker-swarm/rancheros, the datadir is not readable for the container user www-data....even the permissions (33:33 www-data:www-data 770) are displayed colpletely right, but the permission of www-data inside the container is denied...you have an Idea how to resolve this?

outside the container everything works fine

no; no direct ideas; could be something in how rancher os is set up; not familiar enough with it to tell for sure

Has anyone an Idea, what I could do wrong? Really geeting desperate about this XD. And I don't want to switch os, till I know why this happens....because possibly it's not a rancher-os problem, and then the problem occurs on the new server also...


Reduce the janino logging

Pull Request Description
This pull request closes #https://github.com/strongbox/strongbox/issues/1603
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[x] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[x] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

I thought we could just set the level in the logback.xml file... Is this not the case?

@carlspring no, that won't work (not sure exactly why, but it doesn't). However, @anki2189 's changes have greatly reduced the Jenkins log size from ~50MB to ~24MB!

I thought we could just set the level in the logback.xml file... Is this not the case?

Changing log level in logback-spring.xml will not work as logback configuration gets loaded after JaninoClasses @steve-todorov Am i right?

Yeah, that's my understanding as well at least from what I've seen. :)

I see! Thank you very much and thanks for the clarification! :)

Good job @anki2189 :)


[$500] Web - Getting ERR_FILE_NOT_FOUND error messages when refreshing the page

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

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to a chat
From the composers + button start a manual request
Attach a receipt from the "three dots" button (don't submit)
Refresh the page

Expected Result:
There shouldn't be any error messages.
Actual Result:
Getting ERR_FILE_NOT_FOUND error messages when refreshing the page.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/963d0d18-47a2-4925-904f-35f1d38508b0
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01eb262444834c29d7
Upwork Job ID:<PHONE_NUMBER>957616640
Last Price Increase: 2024-01-10

Proposal
Please re-state the problem that we are trying to solve in this issue.
Getting ERR_FILE_NOT_FOUND error messages when refreshing the page
What is the root cause of that problem?
We are navigating the user to start step when we can't find the receipt after the page is reloaded
https://github.com/Expensify/App/blob/55746c78a6ef59d9ad636eda8c610023c3cd62ac/src/pages/iou/request/step/IOURequestStepConfirmation.js#L148-L149
What changes do you think we should make in order to solve the problem?

we should only do that if the tranaction amount is 0
        if (transaction.amount !== 0) return;

What alternative solutions did you explore? (Optional)

I'm not sure if this is a bug

Yes I think that too as well, because of browser's limitations

@kbecciv did this come up from an explicit test? I can imagine it's a browser limitation vs. something that worked previously and the specific test would help me check.

@garrettmknight Issue found when executing PR  https://github.com/Expensify/App/pull/33562

Reopening for me to look into the PR


Request for a simple method to test readium on an existing webserver

Hello Daniel,
Following up on existing issues
#266 #268
I'm in the same boat as the OP, i.e. difficulties with the developer oriented install procedure.
Like the OP I'd just like to be able to upload the cloudReader(lite) to my webserver and publish a single ebook for test.
From the comments on the issues #266 #268 I still don't see a pre-built version of the cloudReader(lite) than can be easily installed without having to go through the steps that require dev knowledge.
Best regards,
Colm OGAIRBHITH

Hello,
could you please try the Readium_cloud-reader-lite.zip download link from the "release" GitHub page, and report back?
https://github.com/readium/readium-js-viewer/releases
I am closing this issue for now, but feel free to re-open if I misunderstood your query. Thanks!

That's brilliant Daniel, thanks for the extremely rapid response. It does exactly what I want and I can now publish my ebooks on my webserver
Best regards / Colm

@carbontracking good to hear. Do not hesitate to post your feedback on this issue tracker. Dan