Xand y cdeline

I'm getting ready to merge this stuff into development.
At the moment, we have a lot going on in this branch:
-HPC options
-Fix <0 degree elevation error in gendaylit
-axis_tilt
-model chains
-import model parameters from file
-inclined sensors

Here's what happened with the elevation < 0 errors.  I think we have two options:

assume that our PVLib solar position is correct, and only populate our trackerdict when ghi >0 and solar elevation > 0

assume that the weather file is correct, and interpret NaN's as zero tilt, sun just above the horizon. We can take this a step further and calculate what the assumed solar elevation is based on the equation  GHI = DHI + DNI*cos(zenith).

I'm taking option #1 here - ignore any TMY points where pvlib says the sun is not up yet.  There's still a check inside gendaylit which re-creates elevation from dni ghi and dhi if you pass a negative value.  But set1axis should be filtering these values out before it hits gendaylit.

I hadn't seen there was an open pull request. are we ready to merge?

I think this needs to be more finalized before it can go into development.  We should at least have better pytest coverage for the new functions, and get the loading and moduleDict stuff in better shape.
Chris Deline
National Renewable Energy Laboratory
(303) 384-6359
From: Silvana Ayala<EMAIL_ADDRESS>Sent: Wednesday, April 24, 2019 2:42 PM
To: NREL/bifacial_radiance<EMAIL_ADDRESS>Cc: Deline, Chris<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NREL/bifacial_radiance] Xand y cdeline (#93)
I hadn't seen there was an open pull request. are we ready to merge?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NREL/bifacial_radiance/pull/93#issuecomment-486417421, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFRK2OABL3VAYSXB6YCCUVDPSDAY3ANCNFSM4HG6WS4Q.

Which development journals do you want to leave in the /docs/ folder?  Here's what I'm thinking of keeping:
(development) Axis_Tilt for Trackers .ipynb
(development) HPC Eval.ipynb
(development) Multiple SceneObjects .ipynb
bifacial_radiance examples.ipynb
1Axis_tracking_example.ipynb
Carport (Mesa) Example, with irradiance mapping of the modules.ipynb
Jan2019 New functionalities examples.ipynb

Yeah, I re-ran some of the notebooks and it gives the deprecation warning.

might be too late but the carport/mesa example would be useful too I think. I haven't seen how outdated it is though. I just have gotten a couple emails regaridng how to do those.

maybe just trim it to one example and comment it more. I can do that later.

Ok. Go ahead and update the carport example in Development directly. I think I left one in.

Next steps:

branch for GUI, model chain and input file loading

can we delete branch?


DB: Don't use query parameters with IN statement when loading instance config in InstanceList

There seems to be an issue with Dqlite that returns partial result sets (with no error) if using >255 query parameters.
Fixes #10705
This is safe because the inputs are int and not string so cannot be used to modify the query in a malicious way.
Tested with 512 containers.
Also :

Uses a standard way of generating IN statement argument placeholders and remove generateInClauseParams.
Removes the prepare() function as it was being used in an inefficient way.

Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

@stgraber once merged, this will be one to cherry-pick into the snap please.

@freeekanayaka @MathieuBordere is there any limitation in dqlite that you know of that could exhibit this behaviour?

@freeekanayaka @MathieuBordere is there any limitation in dqlite that you know of that could exhibit this behaviour?

Yes, the number of parameters to bind is currently encoded with 8 bits, so a protocol change would be needed to support more than 255 parameters. One solution would be that if those 8 bits are set to 255, then a larger block of bits will be used as parameters count. See also https://dqlite.io/docs/protocol Data Types -> Typle.

Thanks for confirming. I suppose we should also prevent/detect overflowing that size and make the query fail rather than start silently behaving in strange ways. Also we should aim to support the limits of sqlite:
https://www.sqlite.org/limits.html
See point 9:

the maximum value of a host parameter number is SQLITE_MAX_VARIABLE_NUMBER, which defaults to 999 for SQLite versions prior to 3.32.0 (2020-05-22) or 32766 for SQLite versions after 3.32.0.

@MathieuBordere we're going to want to prioritize a fix for this. Starting with failing when more params are passed than supported, but given our current DB query design, it'd be good to be able to match sqlite's own limits here, so should prioritize that too. We should be able to do it as a protocol extension similar to how we negotiate compression, right?

@MathieuBordere we're going to want to prioritize a fix for this. Starting with failing when more params are passed than supported, but given our current DB query design, it'd be good to be able to match sqlite's own limits here, so should prioritize that too. We should be able to do it as a protocol extension similar to how we negotiate compression, right?

We have support for bumping the schema version of individual messages (see https://dqlite.io/docs/protocol Definitions -> message), so that's an option. Otherwise, allowing for some form of variable-length encoding as mentioned above would probably allow to avoid the schema bump and/or retain wire-level efficiency at the same time.


Add OneFormer model

Describe the feature
Add support for OneFormer in mmdetection. It looks like there is one open PR for this (#10714), one closed PR for this (#10661) and it's referenced in (#10413).
Can someone with more knowledge of this summarize what the status of this is, and what would need to be done to formally support it? I'm not an "expert" but I've been working with mmdetection/mmyolo for about 6 months now so I'm relatively familiar with most components.
When I use Google translate for #10413 I see these notes. I assume some of these have been done in the PR but not others?

Question Challenge:

Data sets that need to support multiple tasks in the original architecture of MMDetection
The original data structure needs to be modified to support OneFormer training

Intended goals:

Complete the inference accuracy alignment of official ckpt on semantic segmentation tasks
Able to fully implement the training process
Complete the training accuracy alignment of at least one model

Any more information into the status of this, or whether someone would just need to start over at this point, would be much appreciated. Thank you.
Motivation
OneFormer Paper
Related resources
Detectron2 Code

Also paying attention to this issue, is there any solution now


Form Widget color

Hi there, i am now trying to plug form builder with dark theme.  Is there any way I can change widget color , e.g. raido button, checkbox, to white color?  I know I can use decoration to change underline color etc but still have no clue how to change checkbox and radio button.  Thanks for any help

Checkboxes and radio buttons have options to change colors such as activeColor, checkColor, focusColor, hoverColor; use these attributes to adjust colors as required.

Can be close this issue?


Rust and cargo manifests need updating

There are some issues with the rust-nightly and cargo-nightly manifests. Because they generate shim exes, the cargo build tool has trouble shelling out to the rustc compiler (see https://github.com/rust-lang/cargo/issues/1661). Also, cargo is no longer a separate component, it is generally packaged together with rust so having a separate manifest for it is confusing.
I'll be submitting a PR for this momentarily. It's fixed the issue in my environment, but I'll loop in the original submitters of the {rust,cargo}-nightly manifest so they can take a look too.
Scoop-Extras should (and my PR will):

Remove the cargo-nightly manifest, since rustc and cargo are generally installed together from a single MSI
Change from using shims to env_add_path because otherwise rust-lang/cargo#1661 gets in the way. I'd still like to track down why the shim isn't working, since I prefer the shim mechanism, but for now this will fix the issue.

Thanks for investigating this Andrew. I wonder if the shim could be fixed by switching shim.cs to use Environment.CommandLine instead of the parsed arguments.

Opened a new issue for this: lukesampson/scoop#382


added several tests that use real csv data

The following tests are failing:
it does not accept files with wrong column name (FAILED - 1)
it does not accept files with additional columns (FAILED - 2)
it does not accept files with wrong grade total (FAILED - 3)
Will create separate tickets for columns/grade totals (maybe one ticket for all of them?) to handle those cases. Right now upload_csv accepts an improper file and replaces original Simple Grade Spreadsheet with it.

Opened three tickets to resolve some of the issues with the current file upload:
Simple Grade Spreadsheet: uploaded file overrides column name #2101
Simple Grade Spreadsheet: uploaded file appends extra columns #2102
Simple Grade Spreadsheet: uploaded file overrides grade total #2103

@MatakuT Please remove the three commented out tests, and replace them with tests which check for the actual desired behaviour (overriding existing data).

I still think that overriding the template via file upload can be dangerous. What if TA by accident uploads wrong file which would pass username check. For example, upload lab spreadsheet into main course spreadsheet (the students taking lab will be also the students from the main course, so the username check would pass).
All the correct data will be replaced with the wrong data. Is there a backup copy of the previously uploaded csv stored on server? Or it's TA's responsibility to maintain up-to-date copies of the spreadsheet on their computers?

Yes, it is dangerous. If you feel strongly about it, you can put in a warning message.

@david-yz-liu, I can create a message saying "The uploaded file will change a column name/grade total. Do you wish to proceed?" I think it's best to extract the original column name/grade total and the one that will override it to put them in this warning message. So a user knows what triggers this warning. I will take a look at how easily this can be accomplished. If it's not very time consuming, I will proceed.


scripts/sanitycheck: optimize disk usage for --save-tests

If we are doing a nightly build we can utilize a large (over 50G) of
disk space just to generate the list of tests to build.  We need to
optimize this so as we finish building the initial pass we clean up
as we go and only keep around the files we need (like .config,
generated_dts_board.conf, CMakeCache.txt, etc).
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

@galak could you point at the CI code using this? Thx!

@galak could you point at the CI code using this? Thx!

Sure, for the nightly builds we start with a 'ci-test-prep' job:
https://github.com/zephyrproject-rtos/ci-pipelines/blob/master/shippable.jobs.yml#L146

So the on/off toggle for this feature is --save-tests, correct? If correct then it's quite cryptic... could you at least mention this in the --help?


Is it possible to play you tube video link & etc

Is it possiblet to play you tube video link & mp3 , mp4 etc....

If you get the link, of course.


Incompatible behavior of selecting many_to_many relation

Elixir version
1.14.4
Database and Version
PostgresSQL 15
Ecto Versions
3.10.3
Database Adapter and Versions (postgrex, myxql, etc)
postgrex 0.17.3
Current behavior
When defining many to many relations in Ecto, the relation is using module name of relations in join relation. For example, if i've these definitions:
defmodule EctoAssocRepro.UserSchema do
  alias EctoAssocRepro.OrganizationSchema
  alias EctoAssocRepro.UserOrganizationSchema
  use Ecto.Schema

  schema "users" do
    # many_to_many(:organizations, OrganizationSchema, join_through: UserOrganizationSchema, join_keys: [user_id: :id, organization_id: :id]) # IT WORKS
    many_to_many(:organizations, OrganizationSchema, join_through: UserOrganizationSchema)
    belongs_to :team, EctoAssocRepro.TeamSchema
  end
end

defmodule EctoAssocRepro.OrganizationSchema do
  alias EctoAssocRepro.UserSchema
  alias EctoAssocRepro.UserOrganizationSchema
  use Ecto.Schema

  schema "organizations" do
    many_to_many(:users, UserSchema, join_through: UserOrganizationSchema)
  end
end

defmodule EctoAssocRepro.UserOrganizationSchema do
  alias EctoAssocRepro.OrganizationSchema
  alias EctoAssocRepro.UserSchema
  use Ecto.Schema

  @primary_key false
  schema "users_organizations" do
    belongs_to(:user, UserSchema)
    belongs_to(:organization, OrganizationSchema)
    timestamps()
  end
end

and try to query relationship:
import Ecto.Query
EctoAssocRepro.Repo.all(from u in EctoAssocRepro.UserSchema, preload: [:organizations])

It gives me this error:
** (Ecto.QueryError) deps/ecto/lib/ecto/query/planner.ex:963: field `user_schema_id` in `select` does not exist in schema EctoAssocRepro.UserOrganizationSchema in query:

from o0 in EctoAssocRepro.OrganizationSchema,
  join: u1 in EctoAssocRepro.UserOrganizationSchema,
  on: o0.id == u1.organization_schema_id,
  where: u1.user_schema_id in ^[3, 2, 1],
  order_by: [asc: type(u1.user_schema_id, :id)],
  select: {type(u1.user_schema_id, :id), o0}

    (elixir 1.14.4) lib/enum.ex:1780: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir 1.14.4) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3

But, it doesn't seem to be the default behavior of using module name. When we have a simple one to many relation, it uses the name of the schema, not the module name.
Repro repo: https://github.com/v1d3rm3/ecto_assoc_repro
Expected behavior
I would expect that relationships in Ecto works the same way in different relationship kinds, and there's no need to use join_keys option.

This is expected and behaves the same as has_many: https://github.com/elixir-ecto/ecto/blob/8fac7068ed28cbb63c9844bb4cfba09fb48b9a09/lib/ecto/schema.ex#L1325
Basically, all many associations infer from the schema name.

This is expected and behaves the same as has_many:
https://github.com/elixir-ecto/ecto/blob/8fac7068ed28cbb63c9844bb4cfba09fb48b9a09/lib/ecto/schema.ex#L1325
Basically, all many associations infer from the schema name.

I may not have understood, or I may be wrong. But the keys are not being inflected from schema names.
As showed in my repro, it's using module name. For example, in the error shown, it generates 'user_schema_id', which is not the name of the schema ("users"). The same occurs with organizations.

The schema name in this case is the module (the one who calls schema "..." do). If you would like to send a PR to make it clear, it is welcome. :) Your Ecto.Schemas never query your database.

Ok. Soon i'll try something. Thanks @josevalim

@josevalim Dredging up an old issue here, but I was expecting the foreign keys to be inferred, not from the schema name, but from what is defined in the join table foreign_keys. Does not appear that way and this is definitely unexpected for me (I'm renaming a couple of foreign keys)


chore: fix migration version to actual release version

chore: fix migration version to actual release version
This PR

fixes migration and its tests' version to be 0.82.0, which is the actual version that it will be introduced for general release.
exposes latest migration in RunMigrationCommand quickpick (was omitted)
updates dendron.yml for test-workspace

Code
Basics

[x] code should follow Code Conventions
[x] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[x] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[x] check whether code be simplified
[x] check if similar function already exist in the codebase. if so, can it be re-used?
[x] check if this change adversely impact performance

Operations

[x] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[x] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[~] if you are adding analytics related changes, make sure the Telemetry docs are updated

Extended

[~] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[~] Write Tests
[x] Confirm existing tests pass
[x] Confirm manual testing
[~] Common cases tested
[~] 1-2 Edge cases tested
[~] If your tests changes an existing snapshot, snapshots have been updated

Extended

[~] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), an example is included in the test workspace

CSS

[~] display is correct for following dimensions

[~] sm: screen ≥ 576px, eg. iphonex, (375x812)
[~] lg: screen ≥ 992px
[~] xxl: screen ≥ 1600px eg. mac (1600x900)

[~] display is correct for following browsers (across the various dimensions)

[~] safari
[~] firefox
[~] chrome

Docs
Basics

[ ] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Basics

[~] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Basics
Extended

[~]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg. breaking dev change due to new dependency

note:

this is branched off of https://github.com/dendronhq/dendron/tree/chore/add-json-validation-for-v5-config
I will rebase to master once https://github.com/dendronhq/dendron/pull/2411 goes in
doc update pending

converting this to draft as config migration isn't actually going out with v82. I'll clean it up again and re-open.

docs: https://github.com/dendronhq/dendron-site/pull/406

write now, how do we manually test this? when I run this from the debugger, it doesn't migrate the configuration (presumably because the current release version is 0.82.0)

how do we manually test this? when I run this from the debugger, it doesn't migrate the configuration (presumably because the current release version is 0.82.0)

I tested with the current version temporarily hardcoded as 0.83.0 where the migration logic reads the current version
here if you want to test it migrates when you click on the toast message button

heads up that I wrote upgrade instructions from 11ty at [[Migration|dendron://dendron.dendron-site/dendron.topic.publish.migration]]. can you link to it from the modal?

heads up that I wrote upgrade instructions from 11ty at [[Migration|dendron://dendron.dendron-site/dendron.topic.publish.migration]]. can you link to it from the modal?

I was just reading through the changes :) I'll add it to the modal

update:

modal now links to [[Migration|dendron://dendron.dendron-site/dendron.topic.publish.migration]]

updated the docs here: https://github.com/dendronhq/dendron-site/pull/406/files#diff-1ba81a8459e10d85c4fcd0ee344746041d531f2eea7af49b4e3571b2f9c9972dR9

generateChangelog and enableContainers now deprecated and removed from migration logic

merging into release 83 branch + master


Add unit tests for GUID unmigration

Issue: https://github.com/rancher/rancher/issues/42328
Problem
When we originally merged in the uuid-unmigration, unit test writing was deferred so we could get the fix out to affected users more quickly. These are those tests.
Solution
Refactors
I realized that the *RTB functions were accepting the full shared context, making them reliant on Rancher infrastructure that is somewhat tricky to mock. I reworked these functions to accept the list of prefetched resources instead, making them stateless and simpler to test.
Since I wanted to test reporting logic related to missing and skipped users, I wrapped the LDAP retry logic into a small interface and reworked the migration code accordingly. This setup makes it simpler to mock for error injection.
Unit Tests Added
Within pkg/agent/clean/adunmigration the following functions are now covered by the new tests:
escapeUUID and isGUID
identifyCRTBs
identifyPRTBs
identifyGRBs
identifyTokens
workunitContainsName
identifyMigrationWorkUnits
For the most part, tests focus on business logic and do not simulate infrastructures, with the sole exception of LDAP connections, since these hav custom retry logic that affects reporting.
These tests were previously reviewd here:
https://github.com/rancher/rancher/pull/42929
https://github.com/rancher/rancher/pull/42911
https://github.com/rancher/rancher/pull/42881
This is a re-do of earlier draft PR https://github.com/rancher/rancher/pull/43088 with the commit log is rewritten for clarity.
Engineering Testing
Automated Testing

Test types added/modified:

Unit

QA Testing Considerations
The guid-unmigration behavior is expected to be identical to Rancher 2.7.6. If we want to run manual QA testing against the refactored logic, our original test plan should still be valid as written.

Rebased against v2.7/release to see if that pleases Drone. So sorry, will need re-review once that's figured out.


Redirect not logged in users to the login state?

I couldn't find on the docs how to redirect a user if they're not logged in and are trying to opening a state that requires it. I've set the emailSignInPath to my ui-router state, but I'm not sure if that's what I should do.
I've found on the docs this validation to check whether if a user is logged in before opening a state, should I add a manual $state.go() after the promise is returned?
.state('admin', {
        url: '/admin',
        abstract: true,
        template: '<ui-view/>',
        resolve: {
          auth: function($auth) {
            return $auth.validateUser();
          }
        }
      })

Thanks!

Found a solution here: https://github.com/lynndylanhurley/ng-token-auth/issues/10
Just added a catch function on the resolve
.state('admin', {
        url: '/admin',
        abstract: true,
        template: '<ui-view/>',
        resolve: {
          auth: function($auth, $state) {
            return $auth.validateUser().catch(function(){
              // redirect unauthorized users to the login page
              $state.go('login');
            });
          }
        }
      })

@brunomperes - you can also look at subscribing the auth:invalid event.

I have tried subscribing to the auth:invalid event, but it doesn't seem to do anything.  This is part of my run block:
.run(function($rootScope, $state, $log) {
  $rootScope.$on('auth:invalid', function(e) {
    $log.log('Inside the auth:invalid handler.');
    $state.go('login');
  });
});

It doesn't do anything though.  I have a resolve setup like in the docs.  It won't show the dashboard page, like it is supposed to, but I'm trying to redirect to the login here.

I have the same issue, 'auth:invalid' is never called
App.run(['$rootScope', '$location',
    function($rootScope, $location) {
        $rootScope.$on('auth:login-success', function() {
            $location.path('/movies');
        });
        $rootScope.$on('auth:invalid', function() {
            //never gets called
            $location.path('/');
        });
    }
]);

Instead I used $auth.validateToken() along with the auth:validation-error event.

is there a seperate ticket for the 'auth:invalid' issue? can we mark it here?

For me it's not dispatching the event in the run block.

dont close issues that are still around. Might make you feel better but its counter-productive, thnks.

This issue is still present for me.  $auth.validateUser().catch works, but auth:invalid is never called when the session expires or the token becomes invalid because it is out of state.  Is this seen as the correct behavior?

+1

Just some info from my own experience with this. To catch a session expiry, listen to the auth:session-expired event. Looking at the code, the auth:invalid event gets broadcast if there are no auth-headers at all in cookies/local storage. You can confirm this by manually deleting out that cookie while logged in and then try to move around your app. You can delete cookies manually in chrome by clicking on the lock or info icon at the left of the url in the omnibar.
I've checked that both manually deleting the cookie and logging out and trying to go to an in-app url both broadcast auth:invalid for me.
Here is my code to listen for those events :
        // Catch expired and invalid tokens and logout
        $rootScope.$on('auth:session-expired', function(event) {
            signOut(event);
        });
        $rootScope.$on('auth:invalid', function(event) {
            signOut(event);
        });

        function signOut(event){
            $auth.signOut();
            $state.go('signIn');
        }


Fix heading and case-sensitive rule for role-based access control (RBAC)

This PR makes a small correction to the style guidance rule for role-based access control (RBAC).
This security term should be all lowercase (no capital R in Role), unless at the start of a sentence, which is already detected and handled by vale-at-red-hat rules.

This PR makes a small correction to the style guidance rule for role-based access control (RBAC).
This security term should be all lowercase (no capital R in Role), unless at the start of a sentence, which is already detected and handled by vale-at-red-hat rules.

Just a question as it's something I encoutered in another PR. Do we have a rule that checks for an initial at the start of a sentence? I don't think we do actually.

@rohennes - https://github.com/redhat-documentation/vale-at-red-hat/pull/682#issuecomment-1780919641
I'm not aware of one. I fixed the items you mentioned and tested the associated initialisms in various content elements, like headings and paragraphs and I didn't see any errors so far.
Thanks so much for your review :tada:


ssh-agent is replaced when invoking a sudo shell

When invoking a shell as root using sudo -s, the ssh-agent plugin starts a new agent although it already exists.
The problem boils down to a check if ssh-agent is running using ps x. If that is extended to ps ax for root, then the existing ssh-agent will still work.

Close here, use the pull-request #3891 instead.

btw: you can convert issues to pull-requests: https://github.com/davidhalter/jedi/blob/master/CONTRIBUTING.md#changing-issues-to-pull-requests-github

Reopening until the pull request has been merged...

This should be fixed now. Reopen if not.


Communication with MS Exchange Server fails since installing Security Update For Exchange Server 2019 CU13

We communicate with MS Exchange Server by means of Exchange Web Services via https://github.com/miyako/4d-plugin-curl-v3 (latest release 4.6.2 ) to access calendar items.
Some customers installed the Security Update For Exchange Server 2019 CU13 and from that point on authentication (via NTLM) fails with http 401.
Is there anything you know about? Could you please build an updated version of the plugin with cURL 8.6.0 (in the hope it fixes the problem)?
THX
Ingo Wolf

Is there anything you know about?

no, I don't use this plugin myself and I don't use NTLM.

Could you please build an updated version of the plugin with cURL 8.6.0 (in the hope it fixes the problem)?

I need proof that a libcurl update indeeds addresses the issue.

https://learn.microsoft.com/en-us/answers/questions/1329551/outlook-login-issues-after-exchange-2019-cu13-and?cid=kerryherger

https://curl-library.cool.haxx.narkive.com/fEAbRLLQ/libcurl-with-ntlm-and-kerberos-authentication

just google top searches, no idea if the information is relevant or not.


What license is this released under

My company has a product which supports integration via ldap. We officially support AD (among others) as that supports ldap. I now have a need to test some issues with our integration and AD. I run my tests against an in memory server rather than any persistent server. I was looking for and AD schema which you seem to have created. However it doesn't seem to have any licence information attached. I was wondering under what licence your project is released. We don't package our tests in our binary but if I used this it would be available in our source which is available to users of our project. While some of our code is open source, this is part of our enterprise offering so it would only be available to customers.

Hi,
In this particular project, I have no concrete preference concerning the license.
Often I use GNU GENERAL PUBLIC LICENSE Version 2.
Would it work for you?
Thanks,
David.

Hi,
The GNU license isn't usable for us. Any of the following would work for us:
Apache License v2.0
Apache License v1.1
PHP 3.01
BSD-2 or BSD-3
DOM4J License
MIT / X11
ICU
W3C Software License
University of Illinois/NCSA
Academic Free License 3.0
Creative Commons Attribution (CC-A) 2.5/3.0
Creative Commons Copyright-Only Dedication
Python Software Foundation License
Eclipse Distribution License 1.0

It is incorporated in commit:
https://github.com/dkoudela/active-directory-to-openldap/commit/18f49d16605b9b297d341da87ad99a6c0c840081
Thanks,
David.


cursor: Rename set_callback() to set_fallback() to match intent

CC @Decodetalkers based on discussions in https://github.com/Smithay/wayland-rs/pull/680#discussion_r1592467187.
The intent of this function is to set a fallback that get_cursor() uses when no cursor can be loaded.  This fallback is a callback (or closure / Fn in Rust terms) that calculates an optional fallback value based on the given name and size of the requested cursor.
Also make sure this "fallback" setter is properly linked from get_cursor(), making it easier to find when users attempt to understand the docs.

LGTM, thanks


Add sch.txt

@burner4588 First stage of verification passed, official domain is sch.gr as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@burner4588 I am sorry, this domain seems to represent an umbrella institution, not a specific single university or a college. Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
I have to close the request without merging.
Thank you for your understanding!

@burner4588 I am sorry, this domain seems to represent an umbrella institution, not a specific single university or a college. Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
I have to close the request without merging.
Thank you for your understanding!

Would a public bus student pass with my name on it be enough? Also am I required to have a photo in the document too


Update documentation for Clock.triggered decorator

I think this is a more accurate description of trigger behavior

@bionoid thanks 👍


Option to use http for those running behind an https proxy

An option to use http instead of https would be nice for those of us that have an https proxy facing the internet.

I'm currently updating this node to use the version 2.0 API so I'll add the option.

cant waith for the option

I submitted a PR for adding HTTP support, would be great if @DeanCording  can take a look, and provide feedback.


Access Record Button outside video control

Description
I want to access start recording, stop recording button outside the video control. Is it possible to do so?

Use player.recorder.getDevice, player.recorder.stopDevice and player.recorder.start and player.recorder.stop.


Support for Bundles

Is there any plan to support tracking using Bundles?

hi @comann there is currently no plan to support both Bundles and JSONObject. If you want to go ahead and open a PR I'll be more than glad to review it. thanks for writing in! :)


Request with token bugfix

What?
Authorized requests now work correctly.
Authorized requests blew up when headers were not provided as part of RequestOptions

CC @pusher/sigsdk

My GET requests are still not calling the token provider :/

Readme was borked 😭


no module named builtins

Traceback (most recent call last):
File "tools.capture.py", line 9, in
from lib.tools.capture import ToolsCapture
File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-OCV3/lib/tools/capture.py", line 10, in
from   builtins import input
ImportError: No module named builtins
anyone can help?

I'm also having this problem. :-(

same here

i also have this problem, i get:

Traceback (most recent call last):
File "tools.capture.py", line 9, in
from lib.tools.capture import ToolsCapture
File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-OCV3/lib/tools/capture.py", line 10, in
from   builtins import input
ImportError: No module named builtins

Same here, but it started a little bit earlier when I tried to install the dependencies (following the manual here: https://github.com/normyx/MMM-Facial-Recognition-OCV3)
This part from above documentation worked nicely:
Go back to the MMM-Facial-Recognition-OCV3 modules directory :

cd ~/MagicMirror/modules/MMM-Facial-Recognition-OCV3
Install the need dependencies by running the command :

npm install
If you will run the different tools with Python 2.7, install the cross-compatible features with :

First issue came up here:
pip install future
When I tried to install builtins I recieved this error:
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/usr/local/lib/python3.5/dist-packages/future-0.17.1.dist-info'
Consider using the `--user` option or check the permissions.

I solved the missing permissions issue by running:
sudo pip install future
However, now when trying to execute the capturing training Python script, I get the same error as reported by the other users above:
pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-OCV3 $ python tools.capture.py
Traceback (most recent call last):
  File "tools.capture.py", line 9, in <module>
    from lib.tools.capture import ToolsCapture
  File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-OCV3/lib/tools/capture.py", line 10, in <module>
    from   builtins import input
ImportError: No module named builtins

Since this issue is on status "closed" I assume the error No module named builtins is solved and I am doing something wrong?
What could it be?

Found the solution here:
https://github.com/normyx/MMM-Facial-Recognition-OCV3/issues/29
Now it works  :-)


Newly created topics cannot be published to or subscribed to

After creation of a topic, publish or subscribe does not work. I believe subscribe not working is intentional because of half/full created, but publish should work to make the topic fully created.

Sub/unsub/create/publish work as intended when using correct datauri.


RF builder indicator management area: Different tool tip if program is using old levels

Issue
A couple of our bug hunters working on programs with already-saved indicators, reported confusion about how to assign those existing indicators to the RF. They assumed they could somehow do it from the RF builder and didn't realize they needed to go to the program page.
This is only an issue for pre-Satsuma existing programs, because for newly added programs going forward, it will not be possible to save indicators without a results level.
Acceptance criteria

[x] 1. When a program has the "Group indicators according to the results framework" box UNchecked...

... the indicator tool-tip has a paragraph about how to add existing indicators.

Here is the text to copy and paste:
To link an already saved indicator to your results framework: Open the indicator from the program page and use the “Result level” menu on the Summary tab.
To remove an indicator: Click “Settings”, where you can reassign the indicator to a different level or delete it.

[x] 2. If the box IS checked, then you only see the paragraph about removing an indicator.

Housekeeping (where applicable)

[ ] Unit test/s written
[ ] i18n strings included
[ ] Is accessible to people using screen readers

Oh shoot. I meant to say when that box is UNchecked. Ticket updated. Sorry about that!

Looks great, @KennyMonster -- thanks!


Add a Cloud Task which update exchange rates

Create a service which update exchange rates every 15 minutes.

For now, I am doing traditionally way.

I didn't add cloud task, stead I added a Async Schedule which will update the database after one day.


Windows Terminal not consistent to load fonts.

Environment
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Steps to reproduce

Expected behavior
When I open windows terminal, I expect my font "fontFace": "Cascadia Code PL"  to be loaded .

Actual behavior
Sometimes when I open windows terminal I don't have my font loaded but other time it's loaded normally.

This is my configuration
{
            "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
            "hidden": false,
            "name": "PowerShell Core",
            "source": "Windows.Terminal.PowershellCore",
	    "colorScheme": "Dracula",
	    "fontFace": "Cascadia Code PL",
	    "fontSize": 11,
	    "scrollbarState": "hidden"
}

I believe this is a /dupe of #3257, which we've as yet been unable to figure out.


logger: fix thread deadlock

Describe problem solved by this pull request
Logger sometimes doesn't create a log file.
If the logger gets stopped at an unfortunate time, the buffer.close_file() function can be skipped, in the log_writer_file run loop.
The lock gets unlocked here
https://github.com/PX4/Firmware/blob/master/src/modules/logger/log_writer_file.cpp#L274-L277
which allows for _buffers[0]._should_run to change to false. The file didn't close yet since the _buffers[0]._should_run was true when that check happened.
The logger now does't have new data so the notify() is not called, which results in:
https://github.com/PX4/Firmware/blob/master/src/modules/logger/log_writer_file.cpp#L299
waiting indefinitely.
When the logger is started again, this while loop runs infinitely, waiting for the file to get closed, which is blocked by the pthread_cond_wait(&_cv, &_mtx).
https://github.com/PX4/Firmware/blob/master/src/modules/logger/log_writer_file.cpp#L90-L95
and no new log file is created.
Describe your solution
Do not wait for new data if the logger is not running, instead run the loop once more and allow for the remaining data to be written and file closed.
Test data / coverage
Due to being a race condition, the problem can be reproduced at random times when stopping the logger. The problem occurs in SITL as well. I debugged the problem and tested a solution with various print statements. In order to test if the solution is valid since it occurs randomly, I caught situations when the loop would be stuck in a wait condition, but was "saved" by the fix instead, and  one more loop iteration was performed, and the file was closed.
Additional context
Our system basically never shuts down, which means that once this bug happens, we do not get the logs anymore until we notice we do not get them (usually already too late) and reboot the drone.

Out of curiosity, how long do you keep it running?

Its the Sunflower Labs security system, (Im working together with @ndepal ). In principle the system runs forever, its not supposed to be switched off (although we think that the estimator ekf2, sometimes breaks after the drone is running for a long time)

although we think that the estimator ekf2, sometimes breaks after the drone is running for a long time

Do you have a log you can share? Open a bug on ECL repo with the log and we can try to help.

unfortunately, not having a log is what motivated this PR :(


Notifications service fix

This issue was related to updated database. There should be no problem the server.


fix: duplicate team members

remove duplicate copies of the same team member on the "all locations" tab and concatenate titles.

:tada: This PR is included in version 0.0.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


libnd4j: Add new LSTM Op (+ add MKL-DNN support)

We need another LSTM op in libnd4j, suitable for:

MKL-DNN (and DL4J generally)
cuDNN
ONNX Import

Plus this will become the main LSTM layer in SameDiff - others will just be for TF import compatibility.
One we have the op, we can add MKL-DNN support to it soon after. And cuDNN also, once we get to that in libnd4j.
We can't use or modify the existing LSTM ops we have for this. Why? See this issue.
https://github.com/eclipse/deeplearning4j/issues/8051#issuecomment-516303018
The design / features it needs to support (based on the mkldnn/cudnn/onnx/dl4j requirements):
https://docs.google.com/spreadsheets/d/1RGaF1lmhiXDGvCWmUAe97WUFcHZSscFMpE3C6j6knS0/edit?usp=sharing
(Column G for supported features and formats for the new op)
The proposed op header and args is defined here:
https://gist.github.com/AlexDBlack/5a18b3b4c4c977ba5ddc22ff4abef4d1

https://github.com/KonduitAI/deeplearning4j/pull/4


<EMAIL_ADDRESS>install: prebuild-install || node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Administrator\Desktop\Moi\node_modules\leveldown
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>requires a peer of erlpack@hammerandchisel/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-07-06T22_47_11_763Z-debug.log

I have already installed windows-build-tools but I am still getting this same error again.

Closing this issue as it is a duplicate of #41.


Questions regarding backbone network

Hi! First of all thank you for the great quality of this work, both the paper and the code.
I have a couple of doubts regarding the backbone:

As mentioned in issue #24 the image features in the repo come from the concatenation of the output of the second layer and the upsampled output of the third layer. In the paper, it is instead stated that the features come from the concatenation of the output of the third layer with the upsampled output of the last layer, leading to feature maps of dimension C x H/8 x W/8, while the approach in the code will produce FM of dimension C x H/4 x W/4. From which of the two approaches come the results reported in the paper? Does this difference have significant effect on performance (if both have been tested)?
In the paper it is mentioned that the ResNet-101 backbone is initialized from COCO pretraining citing the DETR paper, while in the code the network is initialized from torchvision default weights (ImageNet pretraining). In the experiment sections of the paper, the effect of input resolution is discussed and it is hypothesised that the decreasing performance with higher resolution could be explained due to worse transfer from inconsistency with the pretraining scale.  Do the results in this section of the code come from the approach described in the paper (COCO-pretraining) or the one in the code? In case you have run experiments with both approaches, does this make any significant difference?
Thanks again.

Thanks for these questions.

The paper results come from this repo (or a slightly messier version of it). I will either update the dimension line in the paper, or add an experiment with H/8 x W/8. (Do you already know if H/8 x W/8 is much different?)
That's a great point. I need to think and check back to see why the paper says COCO while clearly the code indicates Imagenet. It could be that we used coco inits very early on, then switched to imagenet while simplifying the codebase.

Thanks for the quick answer, I do not know atm, I'm planning to run some experiments with the backbones and wanted to understand the departure point as well as possible.

@henriquepm I'm coming back to this to check the /4 and /8 stuff. I added a bunch of shape prints to the forward of Encoder_res101, and right now I'm not sure why you said "the approach in the code will produce FM of dimension C x H/4 x W/4".
def forward(self, x):
        print('x in', x.shape)
        x1 = self.backbone(x)
        print('x1', x1.shape)
        x2 = self.layer3(x1)
        print('x2', x2.shape)
        x = self.upsampling_layer(x2, x1)
        print('x up', x.shape)
        x = self.depth_layer(x)
        print('x d', x.shape)
        return x

The output is:
x in torch.Size([6, 3, 448, 800])
x1 torch.Size([6, 512, 56, 100])
x2 torch.Size([6, 1024, 28, 50])
x up torch.Size([6, 512, 56, 100])
x d torch.Size([6, 128, 56, 100])

which looks like H/8, W/8 like the paper said. I may easily have missed something because I haven't used the repo in a little bit, so please let me know if you see something wrong.

Hey, that looks totally right, sorry about that.
I took a look at the notebook where I was looking at the network and dissecting it. I was comparing the size against the output of the first conv layer of the resnet instead of the proper input so I was missing a 1/2 factor.

Perfect, no problem. Thanks for confirming so quickly!


Investigate possible impact of $shiftx vs. $shr

According to the Yosys documentation:

The $shift cell performs a right logical shift if the second operand is positive (or unsigned), and a left logical shift if it is negative. The $shiftx cell performs the same operation as the $shift cell, but the vacated bit positions are filled with undef (x) bits, and corresponds to the Verilog indexed part-select expression.

Because Churchroad doesn't support X bits, for now we'll encode both to a regular right shift, but this is something to potentially keep in mind.

This eventually came up. I posted a discussion question here:
https://github.com/YosysHQ/yosys/discussions/4342
Essentially, any time we have an indexing expression in Verilog (e.g. INIT[idx] in LUT6), we'll get $shiftx. I don't think we actually want $shiftx in Churchroad, because its semantics are more complicated than standard shifts. It's not that complicated, but I would still like to avoid it if possible.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.15 to before v4.4.293",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=08a9ff3264181986d1d692a4e6fce3669700c9f8",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bd660a20fea3ec60a49709ef5360f145ec0fe779"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "08a9ff3264181986d1d692a4e6fce3669700c9f8",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "bd660a20fea3ec60a49709ef5360f145ec0fe779",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "btrfs: fix memory ordering between normal and ordered work functions\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.293 by commit bd660a20fea3ec60a49709ef5360f145ec0fe779, it was introduced in version v3.15 by commit 08a9ff3264181986d1d692a4e6fce3669700c9f8. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002216


IE 11 "'Symbol' is undefined" exception

Describe the bug
After started using this library in production our error tracking system started reporting JS error that "'Symbol' is undefined".
To Reproduce
I tried loading IE11 on BrowserStack but the error cannot be reproduced that way.
Expected behavior
Since the documentation says that this lib is supposed to work on IE 11 and no errors reported.
LazyLoad version
Please report which version of LazyLoad you're using.

Version [12.4.0]

Desktop (please complete the following information):

OS: Window
Browser IE
Version 11

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Screenshots

Additional context
Do you know what may have been issue here, since I don't know what happens with users with this exception?

Hey @ninosaurus,
thank you for reporting.
We are using LazyLoad in production and we support IE 11, but no errors are thrown neither in the browser nor in our error reporting tools.
What do you use? Kibana, Raygun, others?

Hey @ninosaurus,
thank you for reporting.
We are using LazyLoad in production and we support IE 11, but no errors are thrown neither in the browser nor in our error reporting tools.
What do you use? Kibana, Raygun, others?

We're using NewRelic for browser error reports (screenshot above is from NewRelic).
When I take a look at lazyload.min.js I see there is the use of Symbol which as u can check on HERE and HERE is not supported on IE11.

Thanks for the fast response :)

Hey @ninosaurus ,
you're right... this must be an addition coming from the bundler I'm using.
I'll definitely look into that.
Thanks

I've found a reference in the babel documentation
https://github.com/babel/babel/issues/7597

I should've solved that.
No more Symbol in the dist folder.
Please check 12.5.1.
Thanks!

Thanks @verlok! 🙌

You're welcome.
(or update to 13.0.0 (just released) which is another little improvement)


Adding test folder to package for upload

I need to add some test files to the package now that README.py is completed so i can upload the package.

the package has been uploaded and the new package_info has the updated readme file in with the tests folder

The web address for the package is:
https://test.pypi.org/project/Solving-Schrodingers-equation-ZJAP
014/0.0.1/

https://test.pypi.org/project/Solving-Schrodingers-equation-ZJAP014/0.0.1/

Didint paste correctly tthe first time


feat: support declaring DTOField via Annotated

E.g.:
class A(Struct):
    a: Annotated[int, dto_field("read_only")]

For #2351
Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description

Close Issue(s)

@peterschutt this seems to be ready?

@peterschutt this seems to be ready?

Yeh close - no tests. I have some related changes to PR, however I'm AFK for the weekend.

If an argument to Annotated is not hashable, e.g., Annotated[int, {"set"}], then msgspec.inspect.type_info() throws a TypeError.
I created https://github.com/jcrist/msgspec/issues/565 for that, however, for the tests to pass we'd either need to wait for that to make a release, or make DTOField hashable. I've chosen to do the latter. Any objections @litestar-org/maintainers?

Is that unsafe_hash needed for msgpsec?

Is that unsafe_hash needed for msgpsec?

Yep. Msgspec passes the type into dict.get() which calls _AnnotatedAlias.__hash__() which in turn passes a tuple of the instance and its metadata to hash(). This means that for Annotated to be hashable, all of its metadata must be hashable, and DTOField isn't.
I ended up going with unsafe_hash=True as I figure it would be less imposing than making the type eq=True, frozen=True. Having said that though, these things are pretty much designed to be instantiated in the global namespace (i.e., at model definition time), and it would be weird to modify them after the fact (although we do modify them to mark read-only et al. based on the DTOConfig configuration). So, I'd prefer to make them truly immutable and safe hash, but not sure if that would be too backward incompatible.
The other option is to block this until msgspec cuts their next release and not modify the hashability of the types at all.

The other option is to block this until msgspec cuts their next release and not modify the hashability of the types at all.

FYI: waiting for this.

msgspec release is out - I'll pick this up again soon

@peterschutt Anything blocking this aside from time constraints?

@peterschutt Anything blocking this aside from time constraints?

Nothing - except that I keep getting distracted with work closer to the top of the pile.

Superseded by #3289 3289


1099 - Update Embedded Form Copy

🔗 Issue
https://github.com/rubyforgood/homeward-tails/issues/1099
✍ Description
We want to update copy to remind users to use their Homeward Tails email when filling out these embedded forms.
📷 Screenshots/Demos

@all-contributors
please add @wiliajc87  for code.


Please provide documentation for this cryptic lines

https://github.com/jackedgson/crunker/blob/ecaf6f8400c492d0d5c5c4401acc692b1897f8b9/src/crunker.js#L118

These lines are all setting the correct headers in the raw buffer to export properly to mp3. Without these headers being set it won't export.

But _writeHeaders() called always, even when we export Ogg?

Don't think it supports Ogg export, just WAVE(.wav) and derivatives like mp3 files.
I've never tested it though.


Support right-to-left languages

hi..
this project is cool and i want use it. but it does not support rtl language. could you pleas consider adding this  feature?
thanks a lot

Someone more familiar with right-to-left languages would need to submit a PR for this.

this project support rtl ...
it is very simple in html. just need a css code that make text-align=right and direction=rtl
....
thank for considering it as idea

I see. I've added this feature to the next milestone.

thanks again
it would be wonderful

Unfortunately, CodeMirror (the underlying project that powers SimpleMDE) does not support RTL languages. The developer doesn't have the time, but could possibly get it done if he was sponsored by a company to do so. Until CodeMirror supports RTL, SimpleMDE will not.
For reference: https://github.com/codemirror/CodeMirror/pull/3190

CodeMirror does now support bi-directional text:
https://codemirror.net/demo/bidi.html

Seems like this feature is old, not something that was released after the CodeMirror issue mentioned earlier.

This Project  support  right-to-left languages

@WesCossick  Can use this Support RTL : CodeMirror

@WesCossick Please look on this
https://github.com/kazzkiq/CodeFlask.js/pull/28
https://github.com/kazzkiq/CodeFlask.js
CodeFlask is awesome micro code-editor

okay, i have this project, i have turned off the spell checker and am using it for Persian(rtl) without problem. the only problem that i have now, is setting the dir=rtl for the text area! so that i can write right to left.
i set it, disable the simplemde, i have rtl and it is perfect. i enable simplemde, i losse the writing rtl, but still can paste the text and apply the styles (Header, bold etc.) to it.
is there a way to release the lock! on dir tag for the textarea?

Does SimpleMDE have support for rtl languages ?

@JalalSordo it doesn't. you should hack around it. the way i do it no is not using simplemd! i just use a normal rich text editor, and parse it's data into md.

@senaps What do you suggest ? something like ckeditor ?


fix rclone schema examples values

examples wasn't returned

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.04%) to 90.33%

Files with Coverage Reduction
New Missed Lines
%

components/renku_data_services/crc/blueprints.py
1
94.08%

components/renku_data_services/storage/rclone.py
1
91.98%

components/renku_data_services/crc/models.py
2
87.01%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
2625

Relevant Lines:
2906

💛  - Coveralls

@Panaetius I am not sure if this changed in this PR or not. But the generated code for the storage apispec does not match the current apispec yaml file. I.e. if I run make schemas then I get changes in the generated python code for the storage apispec.

for some reason I thought that CI creates those. I've updated them now

@Panaetius thanks for making the update. But the tests are failing now. Some endpoint is responding with a 422 whereas a 200 is expected. I think this is because of the apispec.py update.
And yeah we dont have a CI action that updates the code generated from the apispec.yaml file. We can add one that generates the code or one that simply checks that the generated code and the stuff in the yaml file match.

it was due to a change rok made a while ago that broke things, but we never updater the apispec.py file so it didn't have any effect. Would be nice to have a test that that is up to date in CI

@olevski I've added a test to ensure the schema is updated


Allow Sprig templates in static configuration (v2)

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
I am porting an nginx-based docker-compose stack to Traefik.
Both of these require a significant number of TCP and UDP ports to be opened (about 2 for every client).
In order for Traefik to be able to route these I require all these ports to be configured as entryPoints in the static configuration. The sprig templating available for the dynamic configuration would solve this. However, it is missing from the static configuration.
I'd like to ask for implementing templating in the static configuration.

The discussion at https://github.com/traefik/traefik/issues/1677 seems to have fizzled out in 2018

Hello @compiaffe,
Thanks for your interest in Traefik!
After analyzing your feature request, we think this is a duplicate.
Accordingly, we are closing it, but, please, do not hesitate to interact on #8438.
Duplicate of #8438

Hey @rtribotte,
Thanks for the quick response. The use case is similar. However, the feature request is a different one.
#8438 is asking for port ranges, while I'm asking explicitly for sprig templates to be supported in the static configuration.
Therefore, I kindly ask to reopen this issue.

Hello @compiaffe ,
Why are port ranges not a satisfactory solution to you?
Can you please give an example of the kind of configuration you're using, and why it is problematic for you?
And can you please explain why you think sprig would solve your problem better than port ranges?
thanks.

Hey, @mpl Port ranges are of course a fine solution. I'd be happy to use them if they were available.
Not much visible movement on that front though :)
However, for dynamic configs, Traefik suggests using sprig.
Wouldn't it make sense to align the tools for both types of configs?

Hello @compiaffe ,
Among other things, using sprig for the static config would not be as simple as it seems, because it would clash with the (Provider) DefaultRule static configuration option, whose value is a Go template in itself.
And given that using templates is not in itself a better solution for your issue (as far as we understand it) than port ranges for your issue, we don't see any reason to explore that avenue for now.
Please let us know if we missed something.

Thanks for the clarification @mpl Looking forward to seeing the port ranges implemented.


Refactoring gulp tasks

lgtm :+1: :ship:
Some minor issues found: mixed tabs and spaces, other issues which could be easily detected using jslint.
As an additional improvements (next steps):
Propose to add gulp-help.
Propose to move isRelease, noTSEmitOnError, other settings to some config file instead of having separate gulp tasks.
build:visuals should not build playground as playground depends on visuals (not visuals depends on playground)


[5.1] Added morph map

This is the same as #9839 but I couldn't reopen the pull request after force pushing

I haven't looked into the tests, so not sure if the morphMap method is really well tested/covered, but why does the $map is not casted to array? It seems that an array is expected all the times, when provided, so it should be casted, no?
But either way, i believe the method can be tweaked to be something like:
public static function morphMap(array $map = null, $merge = true)
{
    if (! is_null($map)) {
        if ($merge) {
            $map = array_merge(static::$morphMap, $map);
        }

        static::$morphMap = $map;
    }

    return static::$morphMap;
}

This way there's less repetition with the return static::$morphMap; and i noticed that when you're merging you're not storing the merge, you just return, is that the intended behavior?
Sorry if i've missed something.

@brunogaspar: thanks for the input, and especially for pointing out that I'm not setting it there! Anyway, the reason I'm checking !is_array is so that I can just return the map instead of throwing an error if an invalid value is passed in. Whether this should be the intended functionality is all up for discussion

You can use a ternary:
public static function morphMap(array $map = null, $merge = true)
{
    if (is_array($map)) {
        static::$morphMap = $merge ? array_merge(static::$morphMap, $map) : $map;
    }

    return static::$morphMap;
}

Thanks for the suggestion @JosephSilber, updated the method!

This is looking much better now. :)

Looks good to me! :+1:

:clap:

I'm not sure is this critical or not but if $morphMap is assigned - $this->getMorphClass() will ignore manually assigned $morphClass attributes (always return false), even in case when morph key is not found in $morphMap.


Callout Background color

Hello, I've been enjoying your theme, and I find its general design and direction amazing. I have a suggestion -- both aesthetic and functional -- though.
Callout generally tend to blend way too much with the rest of the background, and finding color shade (which could be based on the color of the callout itself -- for example, a callout about "information" having an extremely dark blue background that goes with the pitch black dark mode)  would greatly improve readability on some screens.
For example, I have a great gaming monitor on my main rig, and with its refresh rates and good color depth I can discern the callouts as they are. But on my medium range office laptop, the same doesn't happen and I have a hard time discerning callouts, especially where they end, given that there's only a thin border at the end.
All in all, a background color based on the callout color would improve things a lot. If you're in doubt, you could make it optional in the style settings menu. Thanks in advance!

I have made some updates based on your suggestion. Please ensure that you have the latest version installed.
Feel free to select the style that suits your preferences. If you have any further suggestions or feedback, please let me know.

In the style settings, you will now find four different callout styles to choose from. These options are:
Default

Static

Vibrant

One Color


Problem installing from Homebrew on Mac

I get the following error when installing kvm via Homebrew:
==> Installing kvm from aspnet/homebrew-k
==> Cloning https://github.com/aspnet/Home.git
Error: Failed to download resource "kvm"
Failure while executing: git clone --depth 1 --branch master https://github.com/aspnet/Home.git /Library/Caches/Homebrew/kvm--git

@csterwa Let us know if you are seeing issues with the latest formula

Seems to be working last few times I've done an update. Thanks!


! function is missing in this algorithm

can anyone help me to write the algorithm for middle node

umm i think ur middle node function is there

yeah thats the issue there can i write its algorithm /

ok sure let me contribute


🚀 Feature: ldapOrg - Add LLDAP settings/configuration information.

🔖 Feature description
After a bunch of testing I finally got backstage working locally with lldap
It seems the settings required were:
vendor:
  dnAttributeName: dn
  uuidAttributeName: entryuuid

Full Example Config:
catalog:
  providers:
    ldapOrg:
      default:
        target: ldap://lldap.mydomain.com.au:3890
        bind:
          dn: uid=admin,ou=people,dc=lldap,dc=mydomain,dc=com,dc=au
          secret: ${LDAP_SECRET}
        vendor:
          dnAttributeName: dn
          uuidAttributeName: entryuuid
        users:
          dn: ou=people,dc=lldap,dc=mydomain,dc=com,dc=au
          options:
            filter: (&(objectClass=inetOrgPerson)(!(uid=lldap*)))
            attributes: ['*', '+', 'memberOf', 'dn']
            paged: false
          map:
            rdn: uid
            name: uid
            description: description
            displayName: cn
            email: mail
            memberOf: memberOf
          set:
            metadata.ldap_vendor: 'lldap'
        groups:
          dn: ou=groups,dc=lldap,dc=mydomain,dc=com,dc=au
          options:
            filter: (&(objectClass=groupOfUniqueNames)(!(uid=lldap*)))
            attributes: ['*', '+', 'member', 'memberOf', 'dn']
            paged: false
          map:
            description: description
            rdn: uid
            name: cn
            displayName: cn
            members: member
          set:
            metadata.ldap_vendor: 'lldap'
        schedule:
          frequency: { minutes: 5 }
          timeout: { minutes: 5 }

Noting schedule can be changed, this was just set low for testing purposes.
🎤 Context
In my home testing use-case of using LLDAP as a group/user ingestion method.
✌ Possible Implementation
Add the vendor LLDAP to the common lists to detect.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

If that's truly the default field names for the vendor, then sure! Would be nice if you could double check, since many orgs seem to tweak these to custom names.

I've confirmed that the values are dn and uuid although entryuuid works ootb as well, however they preferred people to use uuid although this requires a specific attribute filter so also include so filters: [ '*', '+', 'uuid'].

Should we maybe add both a simple example an extended config to the docs then? :pray:

Yeah, I'll add it and docs, just waiting on my other ldap MR first.
I'm going to add a full example to the lldap GitHub as-well. Just away at the moment, this weekend should be able to finish off the ldap work.

Double checked with LLDAP, they're happy for the use of dn and entryuuid - This requires no extra 'filters' to be used on default configurations. @benjdlambert  - I'll be creating a 'how to config' guide on the LLDAP repository - not sure if you still want one somewhere on backstages?

catalog:
  providers:
    ldapOrg:
      default:
        target: ldap://lldap.mydomain.com.au:3890
        bind:
          dn: uid=admin,ou=people,dc=lldap,dc=mydomain,dc=com,dc=au
          secret: ${LDAP_SECRET}
        users:
          dn: ou=people,dc=lldap,dc=mydomain,dc=com,dc=au
          options:
            filter: (&(objectClass=inetOrgPerson)(!(uid=lldap*)))
          set:
            metadata.ldap_vendor: 'lldap'
        groups:
          dn: ou=groups,dc=lldap,dc=mydomain,dc=com,dc=au
          options:
            filter: (&(objectClass=groupOfUniqueNames)(!(uid=lldap*)))
          set:
            metadata.ldap_vendor: 'lldap'
        schedule:
          frequency: { minutes: 5 }
          timeout: { minutes: 5 }

Minimalist configuration shown above.

Closing this now that https://github.com/backstage/backstage/pull/27798 is merged?


Recommend dropping pyinotify as a dependency

st2 has a dependency on pyinotify, which is poorly maintained. Digging into it, it looks like no code in st2 references it, only the linux pack, which is no longer part of this code base.
Recommend moving to another, dropping it completely or using
https://github.com/chrisjbillington/inotify_simple
pyinotify is also a requirement in @Kami's custom build of logshipper git+https://github.com/Kami/logshipper.git@stackstorm_patched#egg=logshipper

@LindsayHill Yeah, I wish we could switch to using official / upstream version, but not all the changes we use have been merged yet (https://github.com/ondergetekende/logshipper/pull/11) and even though one of the PRs has been merged, new version hasn't been published to PyPi so we would still need to use version from git...

As far as actual pyinotify issue goes - what's the actual root problem?
Reliance on C extension and not supporting Python 3? If so, and the other inotify wrapper handles that better, we would need to modify logshipper to use that library.

The issue with relying on pyinotify is (in decreasing order of severity):

It refuses to even install on OS X. I understand it not working on OS X (because inotify is Linux-only), but it's got this in its setup.py:if not platform.startswith('linux') and not platform.startswith('freebsd'):
    sys.stderr.write("inotify is not available on %s\n" % platform)
    sys.exit(1)

which prevents it from even being installed on OS X (and therefore prevents ST2 from being "successfully" installed via pip)
It's not maintained anymore - the author hasn't done anything (no code, no issue responses/closes, no PRs - zero activity) since 2015. These PRs: seb-m/pyinotify#38, seb-m/pyinotify#63, seb-m/pyinotify#139, seb-m/pyinotify#153 are all stacked up and look ready to merge, but there's been zero movement or response from the author.
I emailed the author directly a few days ago inquiring if he is still interested in maintaining it and haven't gotten a response. Their blog hasn't been updated since 2014.

I think at this point we either need to remove it as a dependency of ST2 itself (should be fine as a dependency of the Linux contrib/packs though), or to fork it and start merging in PRs and try to maintain a fork of it ourselves. I'm not super happy about maintaining a fork, but ¯\(ツ)/¯. I suspect other people in the community would appreciate somebody forking it even if they only merge in existing PRs.
@Kami Let me know if you're okay with just dropping it or if you'd like me to fork it. I think I can take on maintaining it.

@blag I'm fine with dropping it, but we need to find a solution for the file watch sensor in linux pack. Linux pack is included / bundled with the default StackStorm distribution so if we simply drop that dependency it will break file watch sensor (it won't work out of the box anymore).
One solution is to move to a different library for file watching which is cross operating system compatible, but that means we will also need to update our logshipper fork so it uses that library, or ideally, we can find some other maintained replacement for logshipper which doesn't rely on pyinotify.

The proposed solution by @Kami sounds good to me too, keeping in mind concerns described in https://github.com/StackStorm/st2/pull/3942#issuecomment-360475286

A different PyInotify project looks promising - maybe we can migrate logshipper to that instead? That library also doesn't have anything in its setup.py that prevents it from being installed on OS X.

I'd be fine w/ removing/replacing the logshipper dep too. It brings in nice nuggets like the statsd collision I hit in the metrics PR.


Notebook Diff showing what appears to be wrong information and wrong comparisons in 1.61.0.

Example of Notebook showing what appears to be wrong information and wrong comparisons in 1.61.0...
https://user-images.githubusercontent.com/686963/132589930-81d79f63-1fcf-4194-9bd0-751289ec1b42.mp4
Originally posted by @burkeholland in https://github.com/microsoft/vscode/issues/121622#issuecomment-915595123

Fixed via 1ffb77b3ea814c7a1414d05087f3e6faddcba224


⚠ Bofrost.at has degraded performance

In 4eac709, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 807 ms

Resolved: Bofrost.at performance has improved in fb0955a after 21 minutes.


Provide a README

Provide a README that clearly states the following:

[ ] What the focus of the project is
[ ] What features it has
[ ] How to install it

Closed via #22 	where it is available on the documentation page


Add support for partial YES values

for example data can be stored as a percentage on the YES value
{
  "metadata": {
    "team": "Team A"
  },
  "activities": {
    "Governance": {
      "SM.1.1": "Yes:100",
      "SM.1.4": "Yes:30",
      "SM.2.2": "No",
      "SM.2.3": "Yes:60",
      "CP.1.1": "Maybe",

or as an object (which will allow the storage of proof, i.e. definition of yes)
{
  "metadata": {
    "team": "Team A"
  },
  "activities": {
    "Governance": {
      "SM.1.1": { "value", "Yes" , "percentage": "50", "proof" : [ "link to issue or wiki] }
      "SM.1.4": "Yes:30",
      "SM.2.2": "No",
      "SM.2.3": "Yes:60",
      "CP.1.1": "Maybe",

Now that #154 is implemented the way to do this is to just add the 'percentage' value to the activity object


Ubisoft connect

When I download the file and start the install Ubisoft connect is not an option in the menu where you can highlight what you want to install. Am I doing something wrong or is it really not there?

@Pakstyle I haven't changed the name "Uplay" to "Ubisoft Connect", it's a typo on my part. I'll change it in the next update. However as of right now the download link for Ubisoft Connect is broken. If you can find me a reliable alternative source for the Ubisoft Connect launcher I'll gladly swap out the link.

I think this URL should work?  https://ubi.li/4vxt9

@kevlav84 thats the one that is broken...it works manually, something has changed in the steam decks credentials or Ubisoft is having certtificate server issues because i cannot download from there anymore automatically. I use "wget" command to download the link automatically. this no longer works for some reason. Using that link manually will download it perfectly fine though.

@kevlav84 thats the one that is broken...it works manually, something has changed in the steam decks credentials or Ubisoft is having certtificate server issues because i cannot download from there anymore automatically. I use "wget" command to download the link automatically. this no longer works for some reason. Using that link manually will download it perfectly fine though.

is there or could there be a way to tell your program where the executable is on our machine? that way we download it and ur program then can be told where the file is (aka downloads folder) and ur program does the rest?
by the way amasing program thanks for making it

@kevlav84 thats the one that is broken...it works manually, something has changed in the steam decks credentials or Ubisoft is having certtificate server issues because i cannot download from there anymore automatically. I use "wget" command to download the link automatically. this no longer works for some reason. Using that link manually will download it perfectly fine though.

Gotcha.  I'm not sure if it's an awful idea, but could you use --no-check-certificate?  Maybe just for the ubisoft trainwreck?  That seems to ignore the cert issue on my linux box.

@kevlav84 @kurzonmorris @Pakstyle fixed!! i updated the script just now , i also fixed Uplay typo it now says Ubisoft Connect

@kevlav84 @kurzonmorris @Pakstyle fixed!! i updated the script just now , i also fixed Uplay typo it now says Ubisoft Connect

amazing thanks assassins creed is instslling as i type. ur amasing man. now onto a request so making a new issue hehe

Thanks!


What about inputs of type="file" to submit attachments?

have you planned it yet?

Hi @alsanan
Sure, in the future I'd like to integrate this feature with the cloud storage services and make ease to use.
Please, if you have any idea or some example for this implementation feel free to share with me.

Well. You don't need to upload the attachments somewhere. I think you can
attach them to the sent email. Isn't it?
El mié., 15 jul. 2020 23:46, CJ Patoilo -<EMAIL_ADDRESS><EMAIL_ADDRESS>escribió:

Hi @alsanan https://github.com/alsanan
Sure, in the future I'd like to integrate this feature with the cloud
storage services and make ease to use.
Please, if you have any idea or some example for this implementation feel
free to share with me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/airform/airform/issues/24#issuecomment-659029575, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABN6RVB2PNEGGNEO2Y52OLR3YPUDANCNFSM4O2WLP5A
.

@alsanan It's not easy how do you think.
For this feature, it works in the best possible way it is necessary to integrate with some image storage service. For now, I cannot be held responsible for the costs of these storage services.
The example you gave has some issues that need to be better defined: integration, security, privacy, storage limits ... and these are just a few examples.
Please feel free to share any ideas you have for improving Airform.
Thank you for your attention!


Create group with mail nickname other then null fails

Environment summary
Install Method: pip
Shell: bash
OS: OSx
azure-cli (2.0.18)

acr (2.0.12)
acs (2.0.16)
appservice (0.1.17)
backup (1.0.1)
batch (3.1.4)
billing (0.1.5)
cdn (0.0.9)
cloud (2.0.8)
cognitiveservices (0.1.8)
command-modules-nspkg (2.0.1)
component (2.0.7)
configure (2.0.11)
consumption (0.1.5)
container (0.1.11)
core (2.0.17)
cosmosdb (0.1.13)
dla (0.0.12)
dls (0.0.14)
eventgrid (0.1.4)
extension (0.0.3)
feedback (2.0.6)
find (0.2.7)
interactive (0.3.10)
iot (0.1.12)
keyvault (2.0.11)
lab (0.0.11)
monitor (0.0.10)
network (2.0.15)
nspkg (3.0.1)
profile (2.0.13)
rdbms (0.0.7)
redis (0.2.9)
resource (2.0.15)
role (2.0.12)
servicefabric (0.0.4)
sql (2.0.12)
storage (2.0.16)
vm (2.0.15)

Python (Darwin) 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

Does anybody have any idea why is this failing?
First command went through without problems:
(azure)$ az ad group create --display-name="_cli_group1" --mail-nickname="null"
{
  "displayName": "_cli_group1",
  "mail": null,
  "objectId": "6532bb66-a58a-4ac6-9de0-398eeea46400",
  "objectType": "Group",
  "securityEnabled": true
}

However second command gave me an exception:
(azure) $ az ad group create --display-name="_cli_group2"<EMAIL_ADDRESS>
Invalid value specified for property 'mailNickname' of resource 'Group'.
Traceback (most recent call last):
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/cli/main.py", line 36, in main
    cmd_result = APPLICATION.execute(args)
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/cli/core/application.py", line 212, in execute
    result = expanded_arg.func(params)
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 377, in __call__
    return self.handler(*args, **kwargs)
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 636, in _execute_command
    raise client_exception
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 626, in _execute_command
    reraise(*sys.exc_info())
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 603, in _execute_command
    result = op(client, **kwargs) if client else op(**kwargs)
  File "/Users/jangazda/.virtualenvs/jupyter/lib/python3.6/site-packages/azure/graphrbac/operations/groups_operations.py", line 333, in create
    raise models.GraphErrorException(self._deserialize, response)
azure.graphrbac.models.graph_error.GraphErrorException: Invalid value specified for property 'mailNickname' of resource 'Group'.

Looks like you can't have a nick name with @ or space

please reactivate if you are still blocked


Is there a paticular reason to use MSE loss rather than L1 loss?

Hi, I am wondering whether there is a particular reason to use MSE loss rather than L1 loss. It is widely discussed in pix2pix paper and Loss Functions for Image Restoration with Neural Networks that L1 seems to give a better result with less blurring. I am wondering whether there is a particular reason to use MSE loss rather than L1 loss?

Hmmm, I did not think too much at that time. Maybe because our goal is to reach the highest PSNR so I use the MSE loss rather than L1 Loss. Thanks.


Fix Bug on iOS Devices: "Ready to Start!" Screen Unresponsive

Fixes Issue #138 where the "Ready to Start!" screen is unresponsive on iOS devices. Updated the waiting loop in custom_site() in the template HTML files.
Changes Made:

Modified the waiting loop in custom_site() to improve event handling on iOS devices.

Testing:

Tested on one iOS device; further testing needed on other devices.

Thanks, fix indeed works for iOS but it relies on pygame, so it is only valid for "default.tmpl". For the other templates pygame is either not loaded, or must not init canvas contexts. So a javascript solution would have to be used there because browser don't allow to change contexts at runtime.
Also in its present form i fear it would defeat the chrome media-user-engagement learning process which allow often played games to start music automatically without a click. I would prefer is a way with  detection that device is iOS and apply the fix only in that case.


Azure 6.0

Prepare for the upcoming major version bump of the upstream terraform-provider-azurerm

Upstream announcement Azure Resource Manager: Upcoming Version 4.0 of the Azure Provider | Guides | hashicorp/azurerm | Terraform | Terraform Registry
Upgrade guide

Implementation Plan

[x] Review patches for breaking changes

[ ] Remove case insensitive enums patch or at least reduce the patch size (design doc).
[ ] Review docs patch for missed changes & move common patterns into docs replacement rules.

[ ] Upgrade tests

[x] Review, fix existing
[ ] add new ones for high impact breaking changes (e.g. renames)

[ ] Write release notes
[ ] Audit SDK changes - check alignment with upstream changes (no extra changes/missing resources)
[ ] Test renamed (superseded) resources (e.g. Dashboard) to see if we can add aliases.

6th Sept Status Update
What we got done this week

Completed migration to the new upgrade test framework which has given us much higher confidence in our changes.
Completed an audit of all possible high-impact breaking changes around the case-insensitive enums.
Completed proof of concepts of using TransformFromState to auto-fix casing when upgrading to avoid replacements.
Started writing tests for the most critical of resources affected. Found that a number of resources already fix their own state without us adding TransformFromState

What we’ll do next week

Complete case sensitive enum testing for 8 more resources.
Investigate the additional "superseded" resources to check if we can add additional aliases.
Write our release notes.

Upcoming deliverable

12th September: PR ready for review

13th Sept Status Update
What we got done this week

Implemented state fixes and tests for case insentitive enum changes.
Implemented aliases, state fixes and tests for renamed or superceded resources.
Added release verification tests - initially covering nodejs, dotnet and go SDKs and the provider acquisition.
Fixed mentions of terraform in the import docs which were causing a large number of build warnings.

What we’ll do next week

Complete the migration guide.
Invite wider team PR review.

Upcoming deliverable

Beta.1 release coming later today after team sync.
Final merge and release expected next week.

20th Sept Status Update
What we got done this week

Completed the migration guide
Added several more aliases to ease customer migration
Cut the first beta release which confirmed that the release was functional via the release verification tests

What we’ll do next week

Release
Blog post

Upcoming deliverable

Blog post

27th Sept Status Update
What we got done this week

Completed the release
Wrote and published the blog post

What we’ll do next week

Update examples and templates

Upcoming deliverable

Examples and Templates PRs


util/packer: Pin kernel version to work around Docker/AUFS bug

Ubuntu kernel 3.19.0-39 is does not trigger this bug: https://github.com/docker/docker/issues/18180
Verified with:
docker run -it --rm akihirosuda/test18180

Fixes #2365

LGTM

LGTM

Is there a good place to watch for the results of the AMI build process folding this in? This blocks me working https://github.com/flynn/flynn/issues/1535 (at long, long last), so I'd like to keep an eye on it without bugging y'all.

I'm just about to run the build. You can watch https://dl.flynn.io/ec2/images.json but I'll also post a comment when it is up.

The new AMI is up.


404 : Not Found when accessing Jupyter Lab

I get
404 : Not Found

You are requesting a page that does not exist!

when accessing jupyter lab.
Every other "app" is working, like vnc, the old jupyter lab and so on.
Ubuntu 18.04
Docker minimal Build
Version 0.13.2
docker logs
ml-workspace    | [W 19:38:29.116 NotebookApp] Error loading server extension jupyterlab
ml-workspace    |     Traceback (most recent call last):
ml-workspace    |       File "/opt/conda/lib/python3.8/site-packages/notebook/notebookapp.py", line 2030, in init_server_extensions
ml-workspace    |         func(self)
ml-workspace    |       File "/opt/conda/lib/python3.8/site-packages/jupyterlab/serverextension.py", line 13, in load_jupyter_server_extension
ml-workspace    |         extension.update_config(serverapp.config)
ml-workspace    |       File "/opt/conda/lib/python3.8/site-packages/nbclassic/shim.py", line 138, in update_config
ml-workspace    |         shimmed_config = self.shim_config_from_notebook_to_jupyter_server(config)
ml-workspace    |       File "/opt/conda/lib/python3.8/site-packages/nbclassic/shim.py", line 228, in shim_config_from_notebook_to_jupyter_server
ml-workspace    |         raise TraitError("Trait, {}, not found.".format(trait_name))
ml-workspace    |     traitlets.traitlets.TraitError: Trait, server_extensions, not found.
ml-workspace    | [W 19:38:29.118 NotebookApp] Error loading server extension jupyterlab_git
ml-workspace    |     Traceback (most recent call last):
ml-workspace    |       File "/opt/conda/lib/python3.8/site-packages/notebook/notebookapp.py", line 2027, in init_server_extensions
ml-workspace    |         mod = importlib.import_module(modulename)
ml-workspace    |       File "/opt/conda/lib/python3.8/importlib/__init__.py", line 127, in import_module
ml-workspace    |         return _bootstrap._gcd_import(name[level:], package, level)
ml-workspace    |       File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
ml-workspace    |       File "<frozen importlib._bootstrap>", line 991, in _find_and_load
ml-workspace    |       File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ml-workspace    |     ModuleNotFoundError: No module named 'jupyterlab_git'
ml-workspace    | /opt/conda/lib/python3.8/site-packages/jupyter_server/transutils.py:13: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
ml-workspace    |   warnings.warn(warn_msg, FutureWarning)
ml-workspace    | [W 19:38:29.369 NotebookApp] Error loading server extension nbresuse
ml-workspace    |     Traceback (most recent call last):
ml-workspace    |       File "/opt/conda/lib/python3.8/site-packages/notebook/notebookapp.py", line 2027, in init_server_extensions
ml-workspace    |         mod = importlib.import_module(modulename)
ml-workspace    |       File "/opt/conda/lib/python3.8/importlib/__init__.py", line 127, in import_module
ml-workspace    |         return _bootstrap._gcd_import(name[level:], package, level)
ml-workspace    |       File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
ml-workspace    |       File "<frozen importlib._bootstrap>", line 991, in _find_and_load
ml-workspace    |       File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ml-workspace    |     ModuleNotFoundError: No module named 'nbresuse'
ml-workspace    | [W 19:38:44.773 NotebookApp] 404 GET /lab (<IP_ADDRESS>) 7.340000ms referer=None

@Emporea Thanks for submitting the bug :) Did you update from a previous version of the workspace? There seems to be a problem involving the configuration backup functionality. Deleting the /workspace/.workspace/backup/.jupyter and /workspace/.workspace/backup/.config folders within the workspace and, subsequently, restarting the new workspace might solve this problem.

Yeah I came from 0.12.x. But you were right, deleting the .workspace folder and recreated the docker container fixed the problem. Forgot about these persistent config files inside the workspace.


AttributeError: 'EntryPoints' object has no attribute 'items'

I am trying to setup a dev environment but I do not really understand the install instructions. I think I did all the necessary stuff, but it does not explain how to actually start the master and minion.
I tried to start the minion like this:
salt-minion -c local/etc/salt
That gives a lot of errors:
[ERROR   ] 'EntryPoints' object has no attribute 'items'
Traceback (most recent call last):
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/parsers.py", line 212, in parse_args
    mixin_after_parsed_func(self)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/parsers.py", line 905, in __setup_logging
    salt._logging.setup_logging()
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/_logging/impl.py", line 971, in setup_logging
    setup_extended_logging(opts)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/_logging/impl.py", line 878, in setup_extended_logging
    providers = salt.loader.log_handlers(opts)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/loader/__init__.py", line 857, in log_handlers
    _module_dirs(
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/loader/__init__.py", line 153, in _module_dirs
    for entry_point in entrypoints.iter_entry_points("salt.loader"):
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/entrypoints.py", line 29, in _wrapped
    return f(*args, **kwargs)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/entrypoints.py", line 41, in iter_entry_points
    for entry_point_group, entry_points_list in entry_points.items():
AttributeError: 'EntryPoints' object has no attribute 'items'
Usage: salt-minion [options]

[ERROR   ] 'EntryPoints' object has no attribute 'items'
Traceback (most recent call last):
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/parsers.py", line 212, in parse_args
    mixin_after_parsed_func(self)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/parsers.py", line 905, in __setup_logging
    salt._logging.setup_logging()
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/_logging/impl.py", line 971, in setup_logging
    setup_extended_logging(opts)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/_logging/impl.py", line 878, in setup_extended_logging
    providers = salt.loader.log_handlers(opts)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/loader/__init__.py", line 857, in log_handlers
    _module_dirs(
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/loader/__init__.py", line 153, in _module_dirs
    for entry_point in entrypoints.iter_entry_points("salt.loader"):
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/entrypoints.py", line 29, in _wrapped
    return f(*args, **kwargs)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/entrypoints.py", line 41, in iter_entry_points
    for entry_point_group, entry_points_list in entry_points.items():
AttributeError: 'EntryPoints' object has no attribute 'items'
salt-minion: error: Error while processing <function LogLevelMixIn.__setup_logging at 0x7fe9ccc643a0>: Traceback (most recent call last):
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/parsers.py", line 212, in parse_args
    mixin_after_parsed_func(self)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/parsers.py", line 905, in __setup_logging
    salt._logging.setup_logging()
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/_logging/impl.py", line 971, in setup_logging
    setup_extended_logging(opts)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/_logging/impl.py", line 878, in setup_extended_logging
    providers = salt.loader.log_handlers(opts)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/loader/__init__.py", line 857, in log_handlers
    _module_dirs(
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/loader/__init__.py", line 153, in _module_dirs
    for entry_point in entrypoints.iter_entry_points("salt.loader"):
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/entrypoints.py", line 29, in _wrapped
    return f(*args, **kwargs)
  File "salt-ext-modules-vmware/venv/lib/python3.8/site-packages/salt/utils/entrypoints.py", line 41, in iter_entry_points
    for entry_point_group, entry_points_list in entry_points.items():
AttributeError: 'EntryPoints' object has no attribute 'items'

I have the same error with salt-ssh:
          File "/var/tmp/.root_66d4a9_salt/pyall/salt/utils/entrypoints.py", line 41, in iter_entry_points
            for entry_point_group, entry_points_list in entry_points.items():
        AttributeError: 'EntryPoints' object has no attribute 'items'

I ran into this issue as well, resolved it with
pip install "importlib-metadata<5.0"


Invalid byte sequence for encoding UTF8

Describe the bug
Demo analysis fails due to invalid byte sequence for encoding UTF8.
Demo links
https://drive.google.com/file/d/1sCuYFFnD6gWA0VNPnO-bBlAnMvVX_cdi/view?usp=sharing
Steps to reproduce

Download demo
Try to analyze
Fails

Expected behavior

Download demo
Try to analyze
Demo gets analyzed and added to the DB

How often does this bug happen?
Sometimes
Log file
{unknown event "player_activate" 0}
{unknown event "player_activate" 0}
Command failed: psql -c "\copy matches(checksum,game,demo_path,name,date,source,type,map_name,server_name,client_name,tick_count,tickrate,framerate,duration,network_protocol,build_number,game_type,game_mode,game_mode_str,is_ranked,kill_count,assist_count,death_count,shot_count,winner_name,winner_side,overtime_count,max_rounds,has_vac_live_ban) FROM 'C:\Users\jesse\AppData\Local\Temp\cs-demo-manager\64_xelectro-esports-inceptor-lrtsy_de_nuke_match.csv' CSV DELIMITER ','" "postgresql://:@*****:****/csdm"
ERROR:  invalid byte sequence for encoding "UTF8": 0xf6 0x72 0x74 0x73
CONTEXT:  COPY matches, line 1
Error: Command failed: psql -c "\copy matches(checksum,game,demo_path,name,date,source,type,map_name,server_name,client_name,tick_count,tickrate,framerate,duration,network_protocol,build_number,game_type,game_mode,game_mode_str,is_ranked,kill_count,assist_count,death_count,shot_count,winner_name,winner_side,overtime_count,max_rounds,has_vac_live_ban) FROM 'C:\Users\jesse\AppData\Local\Temp\cs-demo-manager\64_xelectro-esports-inceptor-lrtsy_de_nuke_match.csv' CSV DELIMITER ','" "postgresql://:@*****:****/csdm"
ERROR:  invalid byte sequence for encoding "UTF8": 0xf6 0x72 0x74 0x73
CONTEXT:  COPY matches, line 1
at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:303:5)

Environment information
Version: 3.1.0
OS: win32 x64 10.0.19045
Electron: 28.1.0
Chrome: 120.0.6099.109
Last database migrations:
v1 - 2023-12-11T16:05:19.302Z
Additional context
Downloaded a bunch of tournament demos from our Google Drive. A little over half of them analyzed with no issues, but 9 demos failed due to the same error. An example out of these 9 has been provided with logs.

Fixed in v3.2.0 - please note that you will have to clear the demos cache from the database optimization menu before analyzing the demo; otherwise, you will have a "Match not found" error.


Delete scripts/typespec_refresh_sdk directory

The script is outdated since we already have https://github.com/Azure/azure-sdk-for-python/wiki/Dataplane-Codegen-Quick-Start to show how to generate SDK from Typespec.

/check-enforcer override