Accounts app tweaking

[x] #64  Accounts app tweaking

Naming Conventions

The auth toggle is renamed with Enable protection

And AuthToggle object (12) to Options

Redirecting

I have revised the routing and redirecting, when the box is not checked, then it can't access the portal page, but the admin interface needs to be opened in another browser, as because we are using sessions, So, dijango may detect you, if you aceesing admin and user interface from a single browser.

Protection

I think, there is no need to disappear links, when enable protection is not checked, as because we are redirecting user back to home page and user can't access until enable protection is enable again.

That's all, I had done, thank you @enoren5
Best Regards,
Umar Ahmed

Hi Umar!
Thanks for your quality PR. You've completed the requirements laid out in Issue #64. However you re-implemented the previous sessions visitor tracking which I decided to deprecate after our last contract. I was happy with the feature but there was so much work that needed to be done that I decided it wasn't worth continuing. I should have clarified this earlier. I apologize. Would you be able to re-write this PR but without the visitor sessions tracking?

Hi Umar!
Thanks for your quality PR. You've completed the requirements laid out in Issue #64. However you re-implemented the previous sessions visitor tracking which I decided to deprecate after our last contract. I was happy with the feature but there was so much work that needed to be done that I decided it wasn't worth continuing. I should have clarified this earlier. I apologize. Would you be able to re-write this PR but without the visitor sessions tracking?

Issue #64 was first attempted in this PR #67 but which was re-written and resolved in the next PR #68.


TouchBehaviorBehaviorViewModel appears in code samples all over this page, but its not explained or where does it come from?

Type of issue
Typo
Description
TouchBehaviorBehaviorViewModel appears in code samples all over this page, but its not explained or where does it come from?
the compiler has no idea about TouchBehaviorBehaviorViewModel
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/behaviors/image-touch-behavior
Content source URL
https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/maui/behaviors/image-touch-behavior.md
Document Version Independent Id
ac9f0083-dc83-2b3d-8013-e06598ef15c8
Article author
@bijington
Metadata

ID: ac9f0083-dc83-2b3d-8013-e06598ef15c8
Service: dotnet-communitytoolkit
Sub-service: dotnet-maui-community-toolkit

Great thanks for the link!


add handling zero categories array in rest app

It should somehow indicates, that there is no any categories.

Mine


Review constness throughout. (15) - On going PR reviews

We've done several passes and PRs, const correctness will always be something we should keep on eye on. For future PRs, if you see incorrect const usage, fix in-place while you are looking at it.


v22.2.2 config cleanup

[Current coverage][cc-pull] is 100% (diff: 100%)

Merging [#587][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #587   diff @@
====================================
  Files          28     28
  Lines         439    439
  Methods       111    111
  Messages        0      0
  Branches        0      0
====================================
  Hits          439    439
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update [d5b0348...9053550][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/d5b03480b998eb5d0ef4267ada5eebe2f6abffe0...90535502a7335fa87459303b32ad03ee662584fa?src=pr
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/587?src=pr


Ensure behavioral parity with Azure Storage if creating storage container policy with invalid XML

Based on the test case for issue #12 we should ensure that Azurite properly responds to cases where an invalid XML is submitted,
i.e. AcessPolicy tag is missing.

Close this as this has been supported in V3.


Create version of boilerplate that the PSE team can use for surveys (?)

Can i get permission to update issues? I can't add labels or anything

this seems like something that the team wants to use the boilerplate for but I feel like the current boilerplate was designed for a different use case: educating devs who are learning about Semaphore. What do you think of creating a specific survey tool for the team?

Can i get permission to update issues? I can't add labels or anything

You should be able to update it now! Let me know.

this seems like something that the team wants to use the boilerplate for but I feel like the current boilerplate was designed for a different use case: educating devs who are learning about Semaphore. What do you think of creating a specific survey tool for the team?

I really like the idea! I added a new board with some tasks (https://github.com/orgs/semaphore-protocol/projects/10/views/8) for a boilerplate v3, which can easily be extended and used to create other PSE apps with Semaphore.


Petrel mailing list

Hi all,
In my honest opinion, the big gap on this project is a mailing list.
Is that possible?

I don't think GitHub supports it, so it'd have to be hosted somewhere else. Got any suggestions?


fix typo in performance mark name

Housekeeping typo fix.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: brandonmbanks sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@rbuckton will this break anything?

Nope.

Thakns!


Make slurm package optional, dependent on galaxy_slurm_drm var

Split out the SLURM DRMAA lib requirement, made its installation dependent on galaxy_slurm_drm var which is, by default, true.

I like the change, just the one variable seems off to me - if you change that I'll be happy to merge this.

Ping @pvanheus this has stalled a bit and there was a requested change. Any interest in touching up the original PR or have you moved on - if you don't have time or inclination to work on it I will close the PR but create and issue to come back and fix it up and merge in an updated branch in the future.


Fix some issues in generated OpenAPI spec

Please see the commit messages for details.

@mmurto I have verified that this fixes the issues in #797.


No notification when DatabaseCheck fails

By default, the package is configured to store results into a database. Which is unavailable. And it is impossible to know that something went wrong due to missing notification ¯_(ツ)_/¯
RunHealthChecksCommand.php file:
        if (! $this->option('do-not-store-results')) {
->            $this->storeResults($results);
        }

        if (! $this->option('no-notification')) {
->            $this->sendNotification($results);
        }

This has been fixed in the latest release.


Snowflake creation flow: step 1 basic form + post credentials to oauth

Description
First PR of the Snowflake connector creation flow. In the end, the flow will be:
1/  User fills the form with credentials.
2/ We post credentials to OAuth service and get the cred_id.
3/ We post to create the connector with cred_id: connector is checking the connection to see if valid, if not it displays the error on the form without creating the connector. If valid we create the connector.
4/ If connector was created, we display the permission tree to select nodes.
On this PR I focus on 1/ and 2/ :

Introduce a new modal with a specific form for the setup of Snowflake. The form validation is quite basic at the moment, we only check that all fields are set.
Introduce a new route with associated business logic to post credentials from front (/w/[wId]/credentials with expected role admin).
Form posts the credentials and displays an alert if successful.

Risk
This flow is only available if the feature flag for snowflake is available.
Deploy Plan
Deploy front.

3/ We post to create the connector with cred_id: connector is checking the connection to see if valid, if not it displays the error on the form without creating the connector. If valid we create the connector.

I actually wanted to talk about this flow. Don't you think we should be able to delete the credentials if invalid ?

I actually wanted to talk about this flow. Don't you think we should be able to delete the credentials if invalid ?

agree it's something we should think about, but not an immediate concern / not critical for release.


Test case for #306

Here is the test case for the issue that described in #306

@yfei-z, many thanks for coming up with a reproducer! I've added a commit with a solution.

I have updated the test, check my comment. Because the timeout might not short enough so although not every time but it can be failed this time.

I have updated the test, check my comments.

@yfei-z I've added a commit with the changes I had in mind. We only interrupt the voting thread in case the majority is lost. Otherwise, we allow it to stop eventually.

Seems all good!

Glad to hear it, many thanks, @yfei-z!


feat: add C ndarray interface and refactor implementation for stats/base/dnanmin

Resolves None
Description

What is the purpose of this pull request?

This pull request:

adds C ndarray intreface for stats/base/dnamin
refactors JavaScript implementation
refactors tests, docs, benchmarks and examples.

Related Issues

Does this pull request have any related issues?

This pull request:

resolves None

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Same question here as #4206, What to use for generating random arrays with NaN values, left the JS examples and benchmarks untouched for now

@aayush0325
We have done things like this:
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
var bernoulli = require( '@stdlib/random/base/bernoulli' );
var filledarrayBy = require( '@stdlib/array/filled-by' );

function rand() {
        if ( bernoulli( 0.2 ) ) {
                return NaN;
        }
        return discreteUniform( 0, 100 );
}

var x = filledarrayBy( 10, 'float64', rand );

@aayush0325
We have done things like this:
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
var bernoulli = require( '@stdlib/random/base/bernoulli' );
var filledarrayBy = require( '@stdlib/array/filled-by' );

function rand() {
        if ( bernoulli( 0.2 ) ) {
                return NaN;
        }
        return discreteUniform( 0, 100 );
}

var x = filledarrayBy( 10, 'float64', rand );

I'll push the required changes here and everywhere else, Thanks @Planeshifter!

I've pushed a fix, let me know if there's anything to be changed here @Planeshifter.

ah, my bad i'll revert the commit just a sec

please give this a final look @Planeshifter!

@aayush0325 Just pushed a commit with what I envisioned: Basically updating the benchmarks to avoid the for-loops while not changing the distribution from which the values are drawn. Does that make sense?
Thanks for the PR and your proactive approach in updating open ones, which makes life as a reviewer much easier!
I can merge this PR shortly after CI once all checks are green.

Basically updating the benchmarks to avoid the for-loops while not changing the distribution from which the values are drawn. Does that make sense?

got it, updating all other similar PRs like this soon, thanks for all your help!


Suggestion: Riscognition

Company: Riscognition GmbH
Office Size: S
Country: Germany
Category: EO
Focus: Earth Observation Services for Developers
Website: https://riscognition.com
City: München
Address: Bahnhofstr. 120, 82269 Geltendorf

Added, thanks!


Release 1.6.0

avoid misleading CORS error message
added 'progress' event on file/form upload in Node (Olivier Lalonde)
return raw response if the response parsing fails (Rei Colina)
parse content-types ending with +json as JSON (Eiryyy)
fix to avoid throwing errors on aborted requests (gjurgens)
retain cookies on redirect when hosts match (Tom Conroy)
added Bower manifest (Johnny Freeman)
upgrade to latest cookiejar (Andy Burke)

OK?

:shipit:

Done, ekhm, twice :)
https://github.com/visionmedia/superagent/blob/master/package.json#L6
Thanks everyone!


dashboard: allow using repo alias as an argument to #syz test

Currently syzbot reports on the upstream tree include:
git tree:       upstream

But then using #syz test: upstream 4d02da97 isn't acceptable and leads to an error.

Specifically, the suggestion is to define it as an alias for https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git or wherever mainline moves to in the future.

The feature was requested once more (now by Alan Stern<EMAIL_ADDRESS>


created a basic class to test points

PR Details
I was looking through places to add testing in the game engine and found that there were no tests for the Point class in Stride.Mathematics. In order to add completeness and increase code coverage of the system, I figured I would add a couple simple tests just to make sure that the points are working as they are supposed to.
Description
I added a couple simple tests for the Point class in Stride.Mathematics. They are very basic and can be added to or modified if desired.
Related Issue
There is no issue related to this pull request.
Motivation and Context
This change is not required. I simply added a couple tests to increase code coverage of the project.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[x ] All new and existing tests passed.
[x ] I have built and run the editor to try this change out.

@dotnet-policy-service agree

Hey, thanks a bunch for contributing ! Just a note, since those tests expect those 3 points to be constant I think it would be more appropriate to mark them as readonly or you could instead move them inside the scope of each function, as you want. That way there is no ambiguity as to their usage.

Sure, I will do that right now. Thank you for the feedback!

Looks good, thanks !


Frame selection keyboard shortcuts

Resolves #1134

In Chrome, ctrl-<number> switches tabs (I had never used that before).  We either need to suppress that or do something different.


More options for panel positioning.

This PR allows more fine-grained control of panels postion.
See the updated demo and manual for details.

That looks useful. Merged as 79e162b51c1, and tweaked in e0cf6f8d3854. If you are contributing to a project it is generally a good idea to look at the code style it uses, and conform to that.

If you are contributing to a project it is generally a good idea to look at the code style it uses, and conform to that.

Sorry for that. I did read CONTRIBUTING.md, but the "double-equal", "double-quotes", "multiple-vars" et al. weren't mentioned. Maybe the contributing notes should be a little more specific about this ?
Thanks for your time !


soroban-rpc: Use External Soroban Crates

What
Rather than building crates locally, this PR fetches published versions from crates.io instead.
Why
The soroban-tools repository should be responsible for building & publishing these crates.

it's not in this change set, but the refs to rpc and cli repos in e2e.yml needs to now be udpated to ref this repo and wherever cli resides now(still soroban-tools?)
https://github.com/stellar/soroban-rpc/blob/rpc-prune/.github/workflows/e2e.yml#L93-L94
otherwise based on current e2e.yml config, it's passing based off code in soroban-tools not this repo

it's not in this change set, but the refs to rpc and cli repos in e2e.yml needs to now be udpated to ref this repo and wherever cli resides now(still soroban-tools?)
https://github.com/stellar/soroban-rpc/blob/rpc-prune/.github/workflows/e2e.yml#L93-L94
otherwise based on current e2e.yml config, it's passing based off code in soroban-tools not this repo

Thanks for the reminder!
Please reference this PR moving forward. Closing this one as it's stale.


Create dashboards in kibana for autodiscovered modules

Describe the feature:
I'm trying to use the autodiscovery feature for the logs. It work's as advertised, which is great, but the problem is that filebeat is not creating dashboards for autodiscovered logs.
Describe a specific use case for the feature:
Set co.elastic.logs/module: mysql on the mysql pod and have the dashboard created in kibana.

Hi Calin!
I haven't tested it out yet, but I think this should already be possible. It looks like you should just be able to configure the Kibana endpoint and enable dashboard management from beats.
Something like this: (not tested)
filebeatConfig:
  filebeat.yml: |
    setup.kibana.host: "helm-kibana-default-kibana:5601"
    setup.dashboards.enabled: true

Could you give this a go and see if it works for you?

Could this be reopened?
setup.dashboards.enabled: true

Loads dashboards for all modules when it would be nice if it just loaded them for the modules found.

Could this be reopened?
setup.dashboards.enabled: true

Loads dashboards for all modules when it would be nice if it just loaded them for the modules found.

Could this be reopened?
setup.dashboards.enabled: true

Loads dashboards for all modules when it would be nice if it just loaded them for the modules found.

Hi @OultimoCoder,
setup.dashboards.enabled: true is an option coming from Filebeat and isn't something that we could change in the Helm charts. FYI, it seems that https://github.com/elastic/beats/issues/23651 track this request in Beats repository.


adding filters does not work on Android

In the current f-droid version adding filters does not work. It's saying thata filter with the same name already exists.
It does work with the web client.

Hello @hakaishi . Work on the fix of the issue is already completed. In addition, the revision of this feature is almost completed, which will expand its functionality. All changes will be available in the new version. Thank you for reporting the issue!


yt-dlp automatically puts 'eng' in Language field even for non-english music.

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
S
Provide a description that is worded well enough to be understood
Example German - https://www.youtube.com/watch?v=yAKhzYT7K_U
It must be related to yt-dlp automatically parsing metadata from description.
My config file
-f 251
--audio-format "opus" -x

--output "Downloads/Music/%(title)s.%(ext)s"

--write-sub --write-auto-sub --sub-lang en --convert-subs lrc

--embed-sub
--embed-thumbnail

--embed-metadata
--xattrs
--embed-chapters
--parse-metadata "webpage_url:%(meta_SOURCE)s"
--parse-metadata ":(?P<meta_purl>)"

--geo-bypass-country US

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
NA

You seem to be using some other program and not yt-dlp since the verbose log came out as NA

Why do you think yt-dlp is setting language? It doesnt look like it from the log


make Model methods orthogonal

This is a simple patch to make the names of the Model methods more orthagonal, but also leaving in some stubs in case old code still uses it.

This is not semantically correct (e.g. fit isn't the same as train), but even if it were, we would not be changing this API.


Update df contracts for ve

Fixes #235
Changes proposed in this PR:

Added claim and stake for veOCEAN.
Removed deprecated pool functions.
Updated tests.

@trizin is this working now?
@mihaisc @alexcos20

I believe I have reviewed this before.


Opengraph tags are not correctly recognized

Description
Opengraph template moved to the top instead of the bottom.
This helps services like Telegram and WhatsApp to recognize the OpenGraph tags and correctly preview pages.
Before almost every time I tried to send a link on Telegram or any other platform, the preview wasn't generated.
Close #46

Closing as #46 seems to be resolved


Create new BB: Polls

This is a Building Block for our upcoming News/Magazine Kit. For anyone who wants to contribute some building blocks to the site, feel free to comment below to let us know you're taking this one on!
Description/Interaction: A simple poll area that asks readers for their opinion on something. The poll should include at least: a header (to ask a question), radio buttons / checkboxes (a variation for both would be great), submit button. Use the category "media" in the YML file.
Example:

PR is up #107


Error: Can not find asset 'angular-bootstrap/bower.json'

Hi, I am getting the error Can not find asset 'angular-bootstrap/bower.json' when compiling ( i.e. manifest.compile) assets in directory pulled by bower.
In Base.prototype.resolve, I can see that mincer does find the bower.json which is
{ author: { name: 'https://github.com/angular-ui/bootstrap/graphs/contributors' },
  name: 'angular-bootstrap',
  keywords: [ 'angular', 'angular-ui', 'bootstrap' ],
  license: 'MIT',
  ignore: [],
  description: 'Native AngularJS (Angular) directives for Bootstrap.',
  version: '0.13.0',
  main: [ './ui-bootstrap-tpls.js' ],
  dependencies: { angular: '>=1.3.0' } }

But the following code seems to expect that the extension for bower.main is empty or .json as the bower.json file.
      if (_.isArray(bower.main)) {
        extname = path.extname(logicalPath);

        _.forEach(bower.main, function (mainfile) {
          if (extname === '' || extname === path.extname(mainfile)) {
            return fn(path.join(path.dirname(pathname), mainfile));
          }
        });
      }

It'd be great if mincer could handle compiling assets pulled by bower as indicated in "main" in "bower.json".

Can you please provide an example, as I'm not quite uniderstand what exactly are you trying to achieve.

I'm trying to compile the assets in directories:
var environment = new Mincer.Environment('./');

  environment.registerHelper('version', function() {
    return require(__dirname + './package.json').version;
  });

  environment.registerHelper('asset_path', function(name, opts) {
    var asset = environment.findAsset(name, opts);
    if (!asset){
      throw new Error("File [" + name + "] not found");
    }

    return mountPoint + '/' + asset.digestPath;
  });

  environment.jsCompressor = 'uglify';
  environment.cssCompressor = 'csso';

  [
    'assets/'
  ].forEach(function(path) {
      environment.appendPath(path);
    });

  [
    'assets/vendor'
  ].forEach(function(path) {
      environment.prependPath(path);
    });

  var manifest = new Mincer.Manifest(environment, './public/assets');

  console.info('Starting asset compilation');

  var manifestData = manifest.compile(['*', '*/**']);

But it chokes when it encounters a bower.json file. Ideally mincer would be smart enough to only compile the assets indicated in bower.json when there is one, but that's probably very complicated so at least it should not choke and just process everything like it used to do. That used to work until I upgraded mincer to 1.3.

Hm. Well, it's kinda expected behavior.
When bower manifest is being processed it spits out "main" asset depending on context of current execution (e.g. when it require from JS asset, then we will use .js from main, for css - css). If you want to compile with manifest using wildcards specify extensions you care of then:
manifest.compile(['*', '**.js', '**.css', '**.png', ...]);

In any case compiling by wildcard sometimes lead to pretty unpredictable results.
I see what you want to achieve, but current code that handles bower is not capable of this.
If you will provide a PR - we can discuss it.


AvroUnion serialization does not work for properties with explicit type

eg. When attempting to serialize an object of following type
[DataContract]
public class TestSample
{
    [DataMember]
    [AvroUnion(typeof(AvroNull), typeof(System.String))]
    public string TestProp { get; set; }
}

it fails, with the error message "No coercion operator is defined between types 'System.String' and 'Microsoft.Hadoop.Avro.AvroNull'"
Excerpt of serialization code :
        var testProp = new TestSample
        {
            TestProp = "main"
        };
        var serializer = AvroSerializer.Create<TestSample>();
        using (MemoryStream ms = new MemoryStream())
        {
            serializer.Serialize(ms, testProp);
        }

If the TestProp is of type object, then the serialization works fine.
Another problem noticed in the same area,
When trying to serialize the following property, received an error "Expression of type 'System.Int64' cannot be used for parameter of type 'System.Object'"
    [DataMember]
    [AvroUnion(typeof(AvroNull), typeof(long))]
    public long StartIndex { get; set; }

When the type of StartIndex property is object, then following error was thrown "The type used in TypeAs Expression must be of reference or nullable type, System.Int64 is neither"
    [DataMember]
    [AvroUnion(typeof(AvroNull), typeof(long))]
    public object StartIndex { get; set; }

If you want strong typing for properties you need to use NullableSchemaAttribute instead of AvroUnionAttribute.
This will tell the reflection schema builder to use an union type with the first type being null and the second being your property's type.

The Avro SDK is no longer supported by Microsoft.


[ISSUE #8885] Resolve the issue of inaccurate CK number statistics

Which Issue(s) This PR Fixes

Fixes #8885
Brief Description

Resolve the issue of inaccurate CK number statistics
How Did You Test This Change?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.53%. Comparing base (5600684) to head (22f4f90).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8886      +/-   ##
=============================================
- Coverage      47.63%   47.53%   -0.10%
+ Complexity     11742    11727      -15
=============================================
  Files           1304     1304
  Lines          91051    91053       +2
  Branches       11675    11675
=============================================
- Hits           43370    43285      -85
- Misses         42338    42421      +83
- Partials        5343     5347       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Convert Module Name to AdcsDeploymentDsc

As per recent DSC Resource Naming guidelines changes:
https://github.com/PowerShell/DscResources/blob/master/Naming.md

@PlagueHO FYI. I seem to have a problem with CodeCov after rename (I think), see comment https://github.com/PowerShell/SqlServerDsc/issues/943#issuecomment-354131050.

Thanks for the heads up @johlju . Thinking about it, I'm not surprised codecov isn't aware of the rename. I'll take a look at some of my other projects that have cc support and see if I can manually rename them.

Maybe it probably lost the connection since the project doesn’t exist anymore, and a new project must created again against the “new” repo.


Feature Flag Documentation

Echoing the feature flag documenttion for the edx mobile applications, we would like to incorporate feature flag documentation fo rthe new apps.
https://openedx.atlassian.net/wiki/spaces/LEARNER/pages/48792067/App+Configuration+Flags
Options to explore include having the documentation be in the openedx-app-* repos, or potentially other documentation site / tools? Not up to date on the latest best practices re: documentation for repositories.

Note - this came up in today's weekly meeting, fyi @volodymyr-chekyrta  if you have input on how to get this done for the new applications.
Starting with a Confluence page for this, can then review documentation options in the future.

Here is the page @miankhalid - https://openedx.atlassian.net/wiki/spaces/OEPM/pages/4016177159/Mobile+Feature+Flag+Documentation


Different result via browsermob-proxy

I  visit a  url by selenium web driver and it returns success in seconds, but when I add browsermob-proxy , it hungs allways and will not end.  There is a request have no response, please see the attachment. But I think it should not cause the different results and keep hanging.

Are you using trustAllServers or MIMT technique in your test suite?

yes, I used trustAllServers.  Is that will affect the result?

But will it affect the result?

I think yes, but I'm not sure. Your test suite may be contains some requests to https resources. If it is true, a browser sometimes can't finish loading page, without set ting trustAllServers in true (it will disables upstream server certificate verification).

And what is MIMT, I think I am not using it.

Sorry, it is typo here. MITM

I did not use MITM.
I have tried set and not set trustAllServer, but the result is the same, the firefox still hangs there.

Can you show a public url?

http://www-01.ibm.com/support/docview.wss?uid=swg21025267
But my env can't visit google so there is some request have no response, if you use this url , I think it will succeed. Below is the no response request, you can also see it in my first upload pic, it always waiting
{
"pageref": "1",
"startedDateTime": "2016-08-10T11:09:08.948+08:00",
"request": {
"method": "GET",
"url": "http://referrer.disqus.com/sync.gif?object_id=ibm",
"httpVersion": "HTTP/1.1",
"cookies": [
      ],
      "headers": [

      ],
      "queryString": [
        {
          "name": "object_id",
          "value": "ibm"
        }
      ],
      "headersSize": 381,
      "bodySize": 0,
      "comment": ""
    },
    "response": {
      "status": 0,
      "statusText": "",
      "httpVersion": "unknown",
      "cookies": [

      ],
      "headers": [

      ],
      "content": {
        "size": 0,
        "mimeType": "",
        "comment": ""
      },
      "redirectURL": "",
      "headersSize": -1,
      "bodySize": -1,
      "comment": "",
      "_error": "No response received"
    },
    "cache": {

    },
    "timings": {
      "comment": "",
      "blocked": 0,
      "dns": 222,
      "connect": 222,
      "send": 2,
      "wait": 0,
      "receive": 0,
      "ssl": -1
    },
    "serverIPAddress": "<IP_ADDRESS>",
    "comment": "",
    "time": 447
  },

So, how you expected my result was successful. As you wrote above, your environment has some limits. But if it works in selenium wd, it must work with browsermob proxy too.

@leoforever what about other ulrs? Is it working as expected?

I think the result should be same as selenium without bmp. But whatever the result is, the browser should not hang there. I run some scripts and meet this issue first time.

@leoforever

I think the result should be same as selenium without bmp

Not sure about that. Your url contains websocket, which may cause some errors #408, #415, #522. May be you are using old version of FireFox driver.

I use selenium 2.52.
And I find 2 method
bmpProxy.setRequestTimeout
bmpProxy.setConnectTimeout
Do they all affect each request or just affect contecting  to the host? Can you tell me what they will affect exactly?  Thanks a lot.

I use selenium 2.52.

In start, you must make sure that your FireFox Driver is compatible with Selenium 2.52. I think version of FireFox must be lower than 45. I am recommending read this CHANGELOG before choosing  version of FireFox.

bmpProxy.setRequestTimeout

Did you use disable LittleProxy impelentation in BrowserMob Proxy? (by setting --use-littleproxy=false). As you can see here setRequestTimeout is at the planning stage.

setConnectTimeout

Must be enabled before start().

Do they all affect each request or just affect contecting to the host?

all request through the proxy, i think.

Can you tell me what they will affect exactly?

Just read this and this

I have noticed that setRequestTimeout  calls setIdleConnectionTimeout right now.
I  use setConnectTimeout(10, TimeUnit.SECONDS) before bmpproxyserver start but it does not work, firefox still hangs.(it is strange to your comments)
But if I  setRequestTimeout(10, TimeUnit.SECONDS) , firefox can stop hanging.


【BUG】The collision position does not change when the drop container's position changes during dragging.

https://codesandbox.io/s/affectionate-sunset-cwopv3?file=/src/App.js
As in the demo above, I think this should be a bug because in my scenario, the drop container does change its position during the dragging process.
Looking forward to your reply , and thank you for contributing such a great project.

solved:
<DndContext
        collisionDetection={pointerWithin}
        onDragStart={handleGridItemDragStart}
        onDragMove={handleGridItemDragMove}
        onDragEnd={handleGridItemDragEnd}
        measuring={{ droppable: { strategy: MeasuringStrategy.Always } }}
      >

set measuring strategy always


WELD-2352 Enhance ExecutorServices with ScheduledExecutor.

Needed upgrade for WELD-2352. Provides a default ScheduledExecutorService.

Looks good.


Merge symfony-3-apache into symfony-nginx work

Using template variables to control the base image and etc directory to use
Note this changes the registry push location to match the format of the symfony-nginx repositories.
It also brings in PHP 7.1 and 5.6 versions of Symfony for Apache

@sroze I did add them already in the first commit


Add patch support with JAVA 8

@mmazi Please review changes

Great, thanks!
I'll release this in rescu 2.0.1 shortly.

I know this is an old and merged PR, but is HTTP method PATCH working for anybody with Java 8?
I have a system running OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu<IP_ADDRESS>-b12).
When using the @PATCH annotation, I get an exception: Invalid HTTP method: PATCH (see below)
This seems to be reasonable as in HttpTemplate.java:160 a java.net.HttpURLConnection is used to create the connection which seems not to support PATCH.
See in openjdk HttpURLConnection:360.
So I am wondering, how could this be working for anybody running Java 8?
Or am I missing something? (Please correct me, if so.)
java.net.ProtocolException: Invalid HTTP method: PATCH
	at java.net.HttpURLConnection.setRequestMethod(HttpURLConnection.java:440)
	at sun.net.www.protocol.http.HttpURLConnection.setRequestMethod(HttpURLConnection.java:552)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.setRequestMethod(HttpsURLConnectionImpl.java:383)
	at si.mazi.rescu.HttpTemplate.configureURLConnection(HttpTemplate.java:160)
	at si.mazi.rescu.HttpTemplate.send(HttpTemplate.java:100)
	at si.mazi.rescu.RestInvocationHandler.invokeHttp(RestInvocationHandler.java:158)
	at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:117)
	at com.sun.proxy.$Proxy4.patchApiMethod(Unknown Source)
	at com......patchApiMethod(xxxxx.java:98)
	...


After RN update, Initial index must always be 0 when using TabViewPagerScroll

After updating from react native 0.46 to 0.48
Expected behaviour
Prior to updating, if I set my initial state as
{
  index: 2,
  routes: ...
}

the component would mount with the 3rd tab active.
Actual behaviour
After mounting, the 1st tab is active.
What have you tried

Setting the initial index to 0 and then setting it to the desired index on componentDidMount or with setTimeout. This delay in showing the desired tab is very unsightly and sometimes prone to failing if the content of a scene takes time to load.
Using TabViewPagerPan on iOS. Solves active tab issue but does not provide smooth paging.

Removing
const initialLayout = {
  height: 0,
  width: Dimensions.get('window').width,
};

id the trick... guess I can't avoid that one frame delay in this case.
Closing since this is now a different issue.

your post saved my life. How do you find it the initialLayout causes the issue? @Palisand
Thanks a lot!

@wangghon I don't recall, which means it probably was a lot of trial and error.

I have tried removing initialLayout, but no luck. I am only facing this issue in Android. If I remove renderPager prop which has PagerScroll, it works fine.
I am using "react-native": "0.59.9" and "react-native-tab-view": "^1.0.2".
Can we reopen this issue, so we have an exact solution?

@anagar23 upgrade


fix(staking): clicking on drift warning not working (popup) LW-9438

Checklist

[ ] JIRA - [https://input-output.atlassian.net/browse/LW-9438]
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Fixing a bug where popupView param wasn't passed on StakingNotificationBanners for OverviewPopup
Affected banners that reads popupView: boolean are:

banner for case pendingPortfolioModification
PortfolioDriftBanner

After fixing it when you click on the drift banner on popup, expaned view has been loaded for Staking page.
It's different than the AC on Jira ticket, but discussed with @mchappell and we think that the probably expected result. (TBD)
Testing
test both for expanded and popup views
Screenshots
After clicking on:

Expanded view has been loaded:

Changes unknown
when pulling f1f19fbdb2d871b9eeeb8bec8ccd7eb32f1a20e0 on fix/LW-9438-staking-drift-warning-popup
into ** on main**.


Cut 1.16.15 release (+k3s2)

Upstream: NONE - Special release for CVE-2021-21334 related to https://github.com/k3s-io/k3s/issues/3077
Summary:
Task covering patch release work.
Dev Complete: 3/12/2021
List of required releases:
To release as soon as able for QA:

v1.16.15-rc1+k3s2

To release once have approval from QA:

v1.16.15+k3s2

Prep work:

PM: Dev and QA team to be notified of the incoming releases - send calendar invite
PM: Dev and QA team to be notified of the date we will mark the latest release as stable - send calendar invite
QA: Review changes and understand testing efforts
[ ] Release Captain: Prepare release notes in our private release-notes repo (submit PR for changes taking care to carefully check links and the components, once merged, create the release in GitHub and mark as a draft and check the pre-release box, fill in title, set target release branch, leave tag version blank for now until we are ready to release)
[ ] QA: Validate and close out all issues in the release milestone.

Vendor and release work:
~Release Captain: Vendor in the new patch version and release rancher/kubernetes~

[ ] Release Captain: Tag and release any necessary RCs for QA to test KDM
[ ] Release Captain: Tag and release when have QA approval

Post-Release work:

[ ] Release Captain: Once release is fully complete (CI is all green and all release artifacts exist), edit the release, uncheck "Pre-release", and save.
[ ] PM: Close the milestone in GitHub.

Not needed (no release).


feat: add generate from latest tag

This allows DETACHED HEAD tags to properly generate the RELEASE notes.
Otherwise it will always try to generate the full release notes from multiple tags

Is there a voting mechanism here? 👍 would also love this feature.

for now I've ended up using https://github.com/mikepenz/release-changelog-builder-action to generate the proper changelogs. it's a really nice action.
this is how my steps looks like if somebody just wants to copy paste it and don't spend too much time on it 😂
jobs:
    deploy:
        name: Create release

        runs-on: ubuntu-latest

        permissions:
            contents: write
            deployments: write
            pull-requests: read

        steps:
            - name: 'Build Changelog'
              id: build_changelog
              uses: mikepenz/release-changelog-builder-action@v4
              with:
                  token: '${{ github.token }}'

            - name: Create GitHub release
              uses: softprops/action-gh-release@v1
              with:
                  body: ${{steps.build_changelog.outputs.changelog}}

@pocesar can you fix the merge conflict for the PR, I can include this feature for the next release.

@softprops could we get this merged, since it appears to bring great value to all users with little to none added effort? 🙏🏼

@fdventura there is merge conflict needs to be addressed first.

Paging @pocesar

my PR is 81 commits behind main, maybe it won't be a simple rebase 😬


[BUG]: AzureCliCredential does not work when proxy is running

Description
It seems that the AzureCliCredential in the Azure.Identity nuget package. No longer works when the proxy is running.
here is the code to validate.
Expected behaviour
I expected the proxy to only change http requests that are in the list and not http requests to other services, but is seems to somehow intercept all https requests.
Actual behaviour
It refuses to give me a token
Steps to reproduce

Check out this code
Run az login if not logged in with the Azure CLI already
Change the tenantId in the code the the actual tenant ID
Start the proxy
Validate that you're getting an error when starting the program
Stop the proxy
Validate that it now works
Try out to figure a solution 🎉

Microsoft 365 Developer Proxy Version
0.11.1
Operating system (environment)
Windows
Shell
PowerShell
Additional Info
My best guess is that the Azure CLI is doing some sort of certificate pinning on the login.microsoftonline.com endpoint but this is pure me guessing what the issue might be.

Sorry to hear that you've had an issue @svrooij however thank you for reporting, lets see what the issue might be.
Does the proxy show any output related to the request made to login.microsoftonline.com?
If you want to ensure that a URL is ignored you can prepend a URL with an exclamation mark in the urlsToWatch array in the m365proxyrc file to tell proxy to ignore requests made to it. See https://github.com/microsoft/m365-developer-proxy/wiki/Exclude-a-URL

It displays nothing....

I had a hard time reproducing the issue at first. It seems that the Azure CLI does some caching, so once it has successfully got a token, it will provide that token for roughly 50 minutes. Hence the reason why you should first check that it does not work by running the proxy while running the code and then retry without the proxy running.
The second time it works with and without the proxy running

Thanks for the extra info.
I wonder if you need to also configure the Azure CLI to use the proxy, similar to how we need state the proxy when you send a request via PowerShell.
Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/me" -Proxy "http://localhost:8000"

You can configure the Azure CLI to use a proxy by settings the below environment variables
$env:HTTP_PROXY="http://localhost:8000"
$env:HTTPS_PROXY="http://localhost:8000"

Thanks for the update @svrooij 👍
Looks like I've just had a similar issue with Teams Toolkit (see https://github.com/OfficeDev/TeamsFx/issues/10109) which might be related. When proxy is running (m365proxy -f 0), I can't start a debug session due to a failing task and there is nothing logged in the console output. Without proxy running it works fine.
I'll continue to investigate.

@garrytrinder I suspect that it has something to do with certificate pinning.
According to SSLLabs https://www.ssllabs.com/ssltest/analyze.html?d=login.microsoftonline.com&s=<IP_ADDRESS>&hideResults=on&ignoreMismatch=on
they have setup which certificate authorities are allowed to serve those domains through DNS CAA.
Any decent client (which I expect the actual httpclient those authentication code things are using) WILL terminate the request if they spot a different CA then those defined. Security wise, this is a smart move, as it's an additional step that helps prevent men in the middle attacks.
And because the proxy tries to intercept all https requests, anything talking to login.microsoftonline.com will fail no matter what.
Would it be possible to not touch some requests by hostname? In that case it should be configurable and the  login urls should be excluded by default.

Dev Proxy is built on top of Titanium Web Proxy. That component should, at least as I understand it, be passing through the cert information for any domain that is not explicitly included in the set of hosts for which we're examining traffic.
Here in the titanium code our OnBeforeTunnelConnectRequest implementation is being invoked.
I'll take a deeper look at this case when I wrap up another set of work to see if I can find out any more.

I just had a look at it, and what I've seen:

following the steps you described @svrooij I can repro the failure on the first run of your app. However, if I run your app again (with Dev Proxy running all the time), it gets the token just fine
the GetTokenAsync method in your app seems to be failing before the request arrives to Dev Proxy

I'll dig some more into it. It's certainly intriguing

It's certainly intriguing
@waldekmastykarz

🤣
Not only that it's in code that we both cannot control.

If anything else, I'm interested if it's physics and we're stuck or if there's anything we can do about it


[Feat]: Add Brave search engine for both Brave and Chrome browsers

app
joplin-search-integration
Is your feature request related to a problem? Please describe.
joplin-search-integration works in Brave if I use Google search but not if I use Brave search.
Describe the solution you'd like
Just add support for Brave search.
Describe alternatives you've considered
I saw the suggestion for adding the code myself but I'm not familiar with the code or language.
Additional context
Very useful feature for Joplin users with hundreds of notes like myself.

The latest version 0.6.0 is supported. If you have any questions, please report them in time.

release: https://github.com/rxliuli/joplin-utils/releases/tag/joplin-search-integration%400.6.0


pip install bootstrap4 error.

command in virtual environment - 'pip install django-bootstrap4'
Error
ImportError: cannot import name 'SCHEME_KEYS' from 'pip._internal.models.scheme' (c:\users\chawa\onedrive\desktop\learning_log\ll_env\lib\site-packages\pip_internal\models\scheme.py)
Python version - 3.8.5
Django version - 3.2.4
Not sure how to handle this error, trying to install bootstrap4

This is a pip issue, not a django-bootstrap4 issue. Also see https://stackoverflow.com/questions/68221302/receiving-an-error-when-installing-bootstrap4


Compatibility with LethalConfig

For whatever reason, the config file doesn't show up in the LethalConfig menu. If I had to guess, it might be that the config is named SpectateEnemy while the mod is named SpectateEnemies. That's just a guess though, it might have nothing to do with the config name.

I actually think it's because SpectateEnemies loads its config during runtime instead of when the game launches, so that it can dynamically pull all of the possible enemies from memory (I could also be wrong but this is my theory). I can look into using the LethalConfig API to force it to recognize the mod's config.


Camera Pan

Describe your problem here.
Now I know its possible as I've seen it done in other mods and don't imagine it being too hard but what I was after was how to adjust or modify the pan that happens between camera movement. As an example the current version (PE 0.6.3) takes time to get to the final position being a bit smooth and bouncy, where as mods I've seen have changed the camera Pan so that its quick snappy. If anyone could direct me to where I should be looking and even give me an example of how its done that would be great, Thanks in advance!
Note: I imagine it would only be possible in Source but if you can work it in Lua either works fine whatever is easier for you to explain it to me :)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Nevermind I figured it out 👍


Can I include LGPL code in Nuitka, e.g. PySide6?

I would like to inquire regarding how Nuitka compiles a Python script with PySide6.
This is something related to licensing.  Is it ok to use the LGPL side of PySide6 when the Python script is compiled with Nuitka?  Or does Nuitka statically compile (some parts) of Pyside6 with the Python scripts?
Kind regards.

Legal questions are best answered by lawers.

Hi

Legal questions are best answered by lawyers.

Hi kayhayen,
Thank you for the answer.
I already discussed it with our lawyer.  She mentioned that as long as there is no static linking of the PySide6 when Nuitka compiled the apps then there is no issue.
I did check the compiled version of my apps and there are those PySide6 .pyd included on the folder.
I asked this because I am not sure if Nuitka compiles (some part) of PySide6 and links it with the final binary on Windows.
Anyways, thanks!
Kind regards.

By default Nuitka does not statically link any libraries.

By default Nuitka does not statically link any libraries.

Thanks for the confirmation Maxwell175, I appreciate it very much.
Kind regards


Add simple CLI Kythe tool for xrefs/filetree services [phab:D37]

Created by schroederc at 2015-02-10 21:24:01:
Fixes #216

fromberger commented inline (context lost during migration) at 2015-02-10 21:40:05:
Why the aliases?

fromberger commented inline (context lost during migration) at 2015-02-10 21:40:05:
proto.Int(start) ≣ proto.Int32(int32(start))

fromberger commented inline (context lost during migration) at 2015-02-10 21:40:05:
Please document this.

fromberger commented inline (context lost during migration) at 2015-02-10 21:40:05:
These cases should be better reflected in the docstring somehow. Maybe:
[directory-uri [root path]]

fromberger commented inline (context lost during migration) at 2015-02-10 21:40:05:
[[ http://godoc.org/log#Fatal | log.Fatal ]] doesn't produce the stack-trace spam we're accustomed to here, and has the same effect

fromberger commented inline (context lost during migration) at 2015-02-10 21:40:05:
Please document this and its relatives—I expect we and others are going to want to add to this later.
(I expect at some point we may want to switch to a subcommands package; I need to hassle tbushnell to get his version OSS-approved)

schroederc wrote at 2015-02-10 23:03:49:
Review changes

schroederc commented inline (context lost during migration) at 2015-02-10 23:03:54:
Happened before I split the binary.

schroederc commented inline (context lost during migration) at 2015-02-10 23:03:54:
Done

schroederc commented inline (context lost during migration) at 2015-02-10 23:03:54:
I'm unconvinced about the utility of the second version so I'm leaving it undocumented.

schroederc commented inline (context lost during migration) at 2015-02-10 23:03:54:
Done

schroederc commented inline (context lost during migration) at 2015-02-10 23:03:54:
Done

schroederc commented inline (context lost during migration) at 2015-02-10 23:03:54:
Done

fromberger commented inline (context lost during migration) at 2015-02-10 23:09:18:
In that case, why not just take it out for now? (Assuming you mean the three-argument case)

fromberger accepted this revision at 2015-02-10 23:09:18

schroederc wrote at 2015-02-10 23:37:30:
Remove extra ls 3-args case

schroederc closed via commit d21edb747add3f155877dc60248c0703342a86d4 at 2015-02-10 23:39:55

schroederc closed via commit 3fb2081a0adf412316302b344276c17c0b9a3b88 at 2015-02-10 23:39:56


Add very simple "type mappings" for non-relational providers

This came out of the discussion of type mappings (#7434) and of issue #7960. The in-memory provider doesn't really need to do type mapping, but if does have a list of "known types" that it will map. It could be useful for applications to be able to add new entries to the list, which for some subset of types would then "just work" with the in-memory database. For other types it may still be necessary to do a type conversion (#242) which is the general solution for supporting types in providers where they are not natively supported.
All this implies that maybe IRelationalTypeMapper and related classes should have very simple non-relational base types to support this.

@anpete This is something we would like to get in for preview2. Discussed this with @divega and to free up @lajones so he can focus on #7434 could you try to get this in by this week or early next week?


List for Adguard Windows?

Great this list and effort appears! I tried to import the "adguard" list to adguard windows and while it does import successfully, the entries count = 0 (so, empty list). Any chance you could provide an adguard windows version link (i.e. not for adguard home, not for a browser extension)? For some reason, lists for adguard home often do not work in adguard windows.

So, the problem is solved. Turns out, in adguard home, one adds URL lists as "custom". BUT, in adguard windows, one adds URL lists via the "import" option, NOT the "add custom" option.
So this one can be closed.


Account creation: focusing the interactive elements

Safari/ Keyboard navigation > Account creation flow:
Once you go to the "Your detail" page, the "Full name" filed automatically gets the focus. This is a great experience, however, that doesn't happen in the other pages of account creation. On other pages you have to tab through many other elements to get to the filed or element that you need to make a selection.

Verify that this is the best practice


Create alert email for leaders if someone signs up within 50 miles

Description of changes

This should send an email to leaders if a new user signs up within 50 miles of the leader
Issue Resolved

Fixes #37

@nagano564 I rewrote the test because I discovered that running a .count on the ActiveRecord relation after the geo-query causes the query to break (appeared to be a table alias related to the Geocoder gem).
Before we reconvene, make sure you git pull the last commit I pushed and then 'git fetch upstream' and rebase it with master. @hpjaj added a constant for the 'community leader' tag and a has_tag? method on User model.

Also looks like CI turned up a couple errors.  You can click the Travis CI link above, and search for "errors" to see the issues.
You can also run make test locally, to see the errors.

@hpjaj We were just checkpointing it earlier today since we had to work on other things. Currently pairing on slack's screenhero right now, adding more tests for UserMailer right now.

Should we send each leader a email individually
Or have one email sent to all leaders in the area
if we send it this way should we worry about having all the emails on the BCC line so other leaders can't see each others email addresses in the to line.

This looks good!

Should we send each leader a email individually

Yes.
We need a rake task to initially tag the appropriate users in prod with the community leader tag.  This would involve:

Collaborating with @hollomancer (or whomever he deems appropriate) to determine what prod users should be tagged
Creating the rake task

Would you like to include that as part of this PR and issue?  Or create a new issue and PR for it?

Creating a separate issue for the rake task.


bcm2835: add spi1 & change up the format a bit

This new format allows registers to be named "start" and it allows sets of
registers to be shared (e.g., spi0 and spi1).
Any thoughts about this new organization?  This is the first time I've actually used YAML, FWIW.

So, this pr is ancient and we probably talked a bit on IRC at the time, but the repo has been swapped back into my brain since @timofonic forked it.
the trouble with using references is that some libraries don't really expose the fact that the data structure is circular. I think probably the right approach here is to have a mechanism for defining types, rather than having to inline the definition of an SPI everywhere. That way we can just do:
...
spi0:
  start: 0x80
  type: spi
spi1:
  start: 0xc0
  type: spi

or such.

Well, I think it depends on the exact goal here. What you suggest would work. At the same time, it's essentially ignoring all the useful features of yaml. I can't really think of a reason to worry about truly recursive definitions (that is a dictionary that directly or indirectly refers to itself) since we are describing hardware registers that are only nested. So, the only concern here is that some parsers fully expand the tree instead of using references.
I suppose that it would be nice to have "types" so that in addition to specific register layouts (e.g., bcm2835 spi1) we could use the data for generic "this is what generic spi register map looks like". (In my head I'm considering the case of using this data to generate HTML docs.)
FWIW, every time I consulted these, I was happy that python "auto expanded" the definitions for me.

On Jun 6, 2016, at 18:10, Ian Denhardt<EMAIL_ADDRESS>wrote:
So, this pr is ancient and we probably talked a bit on IRC at the time, but the repo has been swapped back into my brain since @timofonic forked it.
the trouble with using references is that some libraries don't really expose the fact that the data structure is circular. I think probably the right approach here is to have a mechanism for defining types, rather than having to inline the definition of an SPI everywhere. That way we can just do:
...
spi0:
start: 0x80
type: spi
spi1:
start: 0xc0
type: spi
or such.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Quoting jeffpc (2016-06-06 21:34:16)

Well, I think it depends on the exact goal here. What you suggest would
work. At the same time, it's essentially ignoring all the useful
features of yaml. I can't really think of a reason to worry about truly

I mainly went with yaml because JSON doesn't do comments.

recursive definitions (that is a dictionary that directly or indirectly
refers to itself) since we are describing hardware registers that are
only nested. So, the only concern here is that some parsers fully
expand the tree instead of using references.

You're right, circular data structures aren't really a big worry.

I suppose that it would be nice to have "types" so that in addition to
specific register layouts (e.g., bcm2835 spi1) we could use the data
for generic "this is what generic spi register map looks like". (In my

This is the big thing I had in mind. It also might be nice to be able to
write tools that spit out struct definitions, and by splitting things up
you get a few nice things. The other awkwardness in the current rpi
memory map is that it defines things at the granularity of the entire
thing, so it's got a fixed address for the start of various memory
mapped devices. It might be nice to have a general definition of a
structure that you could use to address the thing even if you've mapped
it somewhere else.


Render each model

Hi nathanvda, I'm trying to show a modal all afternoon.
Not sure if I should ask this question here,
I would like to show an entire modal in my page
Using the example on the main page, I would like to do the following:
projects/_form
= semantic_form_for @project do |f|
  = f.inputs do
    = f.input :name
    = f.input :description
    %h3 Tasks
    #tasks
      = f.semantic_fields_for :tasks do |task|
        = render 'task_fields', f: task
      .links
        = link_to_add_association 'add task', f, :tasks
    = f.actions do
      = f.action :submit

_task_fields
.nested-fields

  That's what i want to do, task should show all attributes of model
  = task

  = f.inputs do
    = f.input :description
    = f.input :done, as: :boolean
    = link_to_remove_association "remove task", f

Sorry for my bad english.

Hi, I edited your question a little to make the code a little more clear.
It is unclear to me 1) what is working, 2) what you are trying to achieve and 3) what is precisely going wrong?
Are you trying to show a modal (pop-up window containing the form? I see no modal/js code?) or a model ?
Does it show the form for @project  but clicking the Add task does not work?
Did you check out the demo project https://github.com/nathanvda/cocoon_simple_form_demo

Thanks for the edit.
My problem is that I don't know how to show a model/record (I don't know exactly how to call it) on the _task_fields page.
Imagine that I would use this page only in editing action, so their fields of model/record would already be defined.
I would like to show <% = task.description %> and below the edit input <% = f.input: description %>
`.nested-fields
That's what i want to do, task should show all attributes of model
= task.description
= f.inputs do
= f.input :description
= f.input :done, as: :boolean
= link_to_remove_association "remove task", f `
Thansk.

This looks fine. So to make it clear: you are editing an existing project, with existing tasks, and you do not see the tasks? Is that the case?
Instead of me editing the code: can you actually try and make sure the code in the question looks like the code in your editor? Just mark the parts of text that are code as code (look at the icons at the top when editing) and make sure it looks correct.

Exactly, I'm editing an existing project, with existing tasks. I see the tasks in f.input, but would like to see them as = task, like:
= task.description
When i try to display = task.description I get the error:
undefined local variable or method `task' for #<#Class:0x00007feda16db0a0:0x00007feda48e5870>
Did you mean?  task_url

Ah now I get it. Step by step, first you write:
 = render 'task_fields', f: task

So in the partial _task_fields the task is known as f (so the error is very right: task is undefined at that stage), however ... this is a special object, created while iterating over the nested-items, so to actually reach the nested object itself, you have to write f.object. In your case you would want to write:
  = f.object.description

Thank you very much.
I realized that f was a simpleForm class, but couldn't find the .object
You are amazing.


Add support for text and HTML reports - without webserver

Thank you for creating this tool.
I would like to run the analyzer, and upon completion, have a text and/or html report of the findings. I do not want the webserver running as I'd like to run this as a GitHub Action. Upon writing the report, the analyzer should exit(0).

Hi @stevespringett ! Thank you for the feedback - we had just added a flag to disable spinning up the server (in this PR), in which case all outputs would be emitted as raw JSONs for now. However we can also export the html as a standalone output for better readability. Regarding a text format, is JSON ok or you had something else in mind?

Great. Thank you. I've verified that the webserver no longer starts up with the --disableServer parameter. Much appreciated. What are the paths/filenames to the HTML and JSON files?
BTW, JSON is fine for a text format.

There should be json files emitted directly under whatever directory is specified in output (by default an output directory is created and it contains subdirectories for issues/metadata etc.


Add tests and missing marginal rules Categorical and Dirichlet

Closes #270

Codecov Report
Base: 62.18% // Head: 61.50% // Decreases project coverage by -0.68% :warning:

Coverage data is based on head (48f3d04) compared to base (6adf08e).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   62.18%   61.50%   -0.68%
==========================================
  Files         195      199       +4
  Lines        7299     7243      -56
==========================================
- Hits         4539     4455      -84
- Misses       2760     2788      +28

Impacted Files
Coverage Δ

src/rules/bernoulli/marginals.jl
100.00% <100.00%> (ø)

src/rules/categorical/marginals.jl
100.00% <100.00%> (ø)

src/score/score.jl
25.00% <0.00%> (-36.54%)
:arrow_down:

src/nodes/gcv.jl
0.00% <0.00%> (-33.34%)
:arrow_down:

src/helpers/macrohelpers.jl
64.70% <0.00%> (-11.66%)
:arrow_down:

src/constraints/specifications/constraints.jl
0.00% <0.00%> (-10.35%)
:arrow_down:

src/addons.jl
61.90% <0.00%> (-8.47%)
:arrow_down:

src/rule.jl
56.66% <0.00%> (-7.98%)
:arrow_down:

src/constraints/specifications/form.jl
0.00% <0.00%> (-6.67%)
:arrow_down:

src/addons/logscale.jl
48.00% <0.00%> (-5.58%)
:arrow_down:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


SDK not found

Hi Everyone!
I have a problem importing the exercises in A.S 3.0.
The app throws me a gradle problem, and it says that SDK has not been found, but it is installed,
i'd be so much grateful if anyone could help me.

I am having the same problem, but the sdk file are where they should be.

thanks.

Closing this issue as it is not related to the repo's code.


Feature: Exclude Highlight.js

This PR allows to disable/exclude highlight.js using a configuration option in config/environment.js:
remarkable: {
   excludeHighlightJs: true
}

When HighlightJs is excluded, the component falls back to the default highlighting, and the dependency is no longer included in the vendor.js file. This fixes #30.
As an additional benefit, this PR allows to easily override the highlight(str, lang) function used by remarkable.

Why do we want this? It reduces the initial page load with ±500 kb.

@denniss17 don't forget to bump the version number. Probably to 3.5.0, but we can leave that to @johnotander 's wishes

@johnotander Any comments?

Still nothing?

Hey @denniss17, my apologies for the delay in reviewing your PR. I've been bogged down with other work this month. Thank you for taking the time to add this functionality, it looks great.

Published to npm as<EMAIL_ADDRESS>


Fixed STM32H735 demo

Fixed audio bug (CRC)
Removed pv_data section from the linker scripts
changed tabs -> spaces
updated .gitignore
added readme for PDM2PCM
merged Error_handler and pv_error_handler


soft teacher for rtm det for instance segmentation tasks?

Does the semi-supervised method soft teacher support RTMDet for instance segmentation tasks?

I got the error AttributeError: 'RTMDet' object has no attribute 'rpn_head'  . It seems the current soft teacher does not support RTMDet. Do you have any suggestions for making soft teacher work with RTMDet?

Did you solve that? How?


[SPARK-48510][2/2] Support UDAF toColumn API in Spark Connect

What changes were proposed in this pull request?
This PR follows https://github.com/apache/spark/pull/46245 to add support udaf.toColumn API in Spark Connect.
Here we introduce a new Protobuf message, proto.TypedAggregateExpression, that includes a serialized UDF packet. On the server, we unpack it into an Aggregator object and generate a real TypedAggregateExpression instance with the encoder information passed along with the UDF.
Why are the changes needed?
Because the toColumn API is not supported in the previous PR.
Does this PR introduce any user-facing change?
Yes, from now on users could create typed UDAF using udaf.toColumn API/.
How was this patch tested?
New tests.
Was this patch authored or co-authored using generative AI tooling?
Nope.

@HyukjinKwon Hey Hyukjin, could you review this PR?

Will review. mind resolving conflicts?

@xupefei mind resolving conflcits? I will merge this in

@xupefei mind resolving conflcits? I will merge this in

Done!

Merged to master.

Hi, @xupefei , @hvanhovell and @HyukjinKwon .
Could you double-check all Maven build status and recover them, please?

https://github.com/apache/spark/actions/workflows/build_maven.yml (Java 17)
https://github.com/apache/spark/actions/workflows/build_maven_java21.yml (Java 21)

Although I re-triggered Today's run first, I expect it to fail.

@xupefei mind taking a look ASAP? Seems like it broke JDK 17/21 builds


KeyPerFileProvider errors

I have this code:
 public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
            .ConfigureAppConfiguration(c => c.AddKeyPerFile("nonexistant", true))
                .UseStartup<Startup>();

If the nonexistent directory doesn't exist then I get this:

If I create a directory in the location given in the error I get this:

At which point I copy and paste the path from the first error into my code and everything works as expected. So:

Can optional mean that we don't care if the directory exists or not? I know this is problematic with file systemwatchers and such but we've dealt with it before IIRC. We have probably talked about this in the past, it seems familiar.
Does the path have to be absolute? I think we could safely say that if it's not an absolute path passed in then it means it is based on the WebRoot. Right?

@shirhatti @HaoK

I'm on board for doing the first ask. Contingent of course of not breaking other scenarios like file watchers.
I'm not sold on the second ask. Realistically, how likely are you to mount your secrets in relative to your web root? Unless I'm missing some scenario here?

@glennc @shirhatti So do 1. for RTM?
@HaoK Is this reasonable?

Yes this shouldn't be hard I don't think, I'll work on the PR now just to make sure

Yeah this was just a flat out bug in optional, since its a new codepath that isn't sharing the common code that the other file based providers are using

@glennc @shirhatti Until I hear otherwise, I'm going to assume this is not for RTM. If it is, then someone needs to prep it for shiproom.


[Event Hubs] Changes to rely on operation timeout handling in core-amqp

For more context refer to #4206

@ramya-rao-a
I've made changes I believe are sufficient and triggered the live tests on this at - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=63632 Please take a look.

Closing as we no longer are taking this approach. Details in https://github.com/Azure/azure-sdk-for-js/issues/4206#issuecomment-510343465


Latest release?

Sorry, I know about "releases" tab. However, the last version was released more than a year ago. A little confused. Is "master" branch stable?

Hello! Yes, master branch should be stable. I will draft a new release these days.
E.

Thanks. Good project BTW. First time I was trying to find a way to import/export SSL context in 2008. Now I really needed this. I'm surprised OpenSSL still does not have anything like this.


NEXT-00000 - Add options argument to recalculate order

1. Why is this change necessary?
Because it should be possible to add options to the \Shopware\Core\Checkout\Cart\Order\RecalculationService::recalculateOrder function so you can modify the options used to create its sales channel context (in the \Shopware\Core\Checkout\Cart\Order\OrderConverter::assembleSalesChannelContext method).
The recalculateOrder method does not allows options on the sales channel context. This means that it is currently impossible to add permissions like for example the \Shopware\Core\Content\Product\Cart\ProductCartProcessor::ALLOW_PRODUCT_LABEL_OVERWRITES permission on the sales channel context that is used to recalculate the order. So recalculating an order with overwritten labels will now be rewritten to the default product translation.
2. What does this change do, exactly?
It allows you to modify the options that are used to create the sales channel context when recalculating an order.
3. Describe each step to reproduce the issue or behaviour.
/
4. Please link to the relevant issues (if any).
/
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hey @jasperP98 , we have merged your PR, thank you for your contribution 💙 🎉
Sorry for the long delay, we aim for much better reaction times 🙈

@mstegmeyer no problem! thanks for the merge


crashed on to send if not ready

The workaround PostConnect works nice.
But there should not be crashed, if connect is not already established.
https://github.com/FluuxIO/go-xmpp/blob/7a386ec8d04c376aecd99d4cc109e934693005f6/client.go#L181

Maybe use channels for message to send (and recv) ...

It does not happen on startup only - a daemon crashed 8 times in the night with a nil there:
Jun 26 08:21:33 apus logmania[11512]: fmt.Fprintf(0x0, 0x0, 0xc0003a7a40, 0x94, 0x0, 0x0, 0x0, 0xc0003f3990, 0xc0000a3938, 0x415175)
Jun 26 08:21:33 apus logmania[11512]:         /usr/lib/go/src/fmt/print.go:200 +0x77
Jun 26 08:21:33 apus logmania[11512]: gosrc.io/xmpp.(*Client).Send(0xc0001d8320, 0x9ce580, 0xc00057afc0, 0xc00057afc0, 0x1)
Jun 26 08:21:33 apus logmania[11512]:         /home/genofire/projects/src/gosrc.io/xmpp/client.go:181 +0x1fa

Where do you use Session.In and Session.Out is it possible to use them?

I used channel before and this makes the code more complex. One options would be to have a custom queue and send the packet later if they are messages. Probably IQ and presence, should not be resent. The send would return an error for iqs, presence and, if queue is full only, for messages.

jep, you need only to query Message, maybe design it that it will drop messages if query is full.
(If you do not handle something, somebody else need to write such thinks in his code)

But the man problem is, that it client.Send should not crash, it should return with an error like xmpp connection not established

Yes, sure, I will first prevent the crash, no problem.

The crash should be fixed. Please, let know if this is not the case.
Addition of the queue is a larger feature request. It is tracked on #77.

 Let's reopen it. I will try to reproduce it on my own client to fix it for good.

I am not sure how you are using it. Error on line 159 implies that the Client would be nil inside its own receiver ?
Are you passing the client to several go routines ?

Do you have in your trace which call to client.Send is crashing ?
For example here, you are refering to a global variable client: https://dev.sum7.eu/genofire/hook2xmpp/blob/2435b9b73b366fa07c10a164a0c126b55192fd03/xmpp.go#L20

It seems that those reference to client in xmpp.go are indeed triggered through postStartup method.
They are referring to a global client pointer, but it is never set anywhere.
Here, you are using operator := so your should be creating a local client variable:
https://dev.sum7.eu/genofire/hook2xmpp/blob/2435b9b73b366fa07c10a164a0c126b55192fd03/main.go#L36
Could it be that the crash is triggered because you are calling client.Send on a nil pointer ?
This is just an alias for Send(*Client, ...) so it would explain the crash when using client.conn.
However, a method receiver is not supposed to check for nil pointer on its own receiver.

sorry for this late answer - look like it works (in hook2xmpp) -> need to check it again in logmania ;)

okay hook2xmpp runs now for 1d and 10h without panic.
I think i found also the problems logmania.
I thought it was just my foul - looking on own code with some time going helps


STAAABmons: Tourcode shouldn't add duplicate clauses

STABmons now uses Sleep moves Clause instead of Sleep Clause Mod: https://www.smogon.com/forums/threads/stabmons.3656429/post-8945308
As such, there's no longer any need to have "!Sleep Clause Mod, Sleep Moves Clause" in the tour code.

I'll merge this once PS main is hotpatched to reflect the STABmons changes.


Roll Engine from 4dc866283d13 to 38a302960fc4 (8 revisions)

https://github.com/flutter/engine/compare/4dc866283d13...38a302960fc4
2020-08-20<EMAIL_ADDRESS>All shape related structs are together (flutter/engine#20665)
2020-08-20<EMAIL_ADDRESS>Roll Skia from e1e240804211 to 3dc0da6c6d7e (4 revisions) (flutter/engine#20661)
2020-08-20<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from 57GPNeoZ7... to LhYt1i9FP... (flutter/engine#20658)
2020-08-20<EMAIL_ADDRESS>Use references for C++ MethodResult and EventSink (flutter/engine#20651)
2020-08-20<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from NqQtPDAdO... to BH-k5YzBV... (flutter/engine#20657)
2020-08-20<EMAIL_ADDRESS>Revert "account for inline placeholders in longest line calculation (#20370)" (flutter/engine#20669)
2020-08-20<EMAIL_ADDRESS>Roll Skia from 17c5b7024297 to e1e240804211 (20 revisions) (flutter/engine#20656)
2020-08-20<EMAIL_ADDRESS>Clean up scenario app scripts (flutter/engine#20641)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from 57GPNeoZ7U4p to LhYt1i9FPQeI
fuchsia/sdk/core/mac-amd64 from NqQtPDAdOhg9 to BH-k5YzBV5NL
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


err "FTL Error obtaining device code"

Describe the bug
A clear and concise description of what the bug is.
loophole login answers with an error like this:
localhost:~/loophole-cli_1.0.0-beta.15_linux_32bit# ./loophole account login
1:16AM FTL Error obtaining device code: There was a problem executing request for device code
localhost:~/loophole-cli_1.0.0-beta.15_linux_32bit# ls
LICENSE    README.md  loophole
localhost:~/loophole-cli_1.0.0-beta.15_linux_32bit# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.12.0
PRETTY_NAME="Alpine Linux v3.12"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
localhost:~/loophole-cli_1.0.0-beta.15_linux_32bit# date
Fri Feb  2 02:17:30 UTC 2024
localhost:~/loophole-cli_1.0.0-beta.15_linux_32bit#

To Reproduce
Steps to reproduce the behavior:

operate CLI with  ./loophole account login
See error 1:16AM FTL Error obtaining device code: There was a problem executing request for device code

Expected behavior
A clear and concise description of what you expected to happen.
The login dialog ...
Screenshots
If applicable, add screenshots to help explain your problem.
see above.
Environment
localhost:~/loophole-cli_1.0.0-beta.15_linux_32bit# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.12.0
PRETTY_NAME="Alpine Linux v3.12"

Additional context
Add any other context about the problem here.
😃

same issue and don't know how to fix it

mee too


Maintenance: remove legacy SQS Batch Processor

Summary
We kept the first implementation of the SQS Batch Processor for historical reasons. As of November 2021, it was no longer needed because native support was added to the services.
Why is this needed?
We've been recommending the native solution since we launched it. It's not worth to maintain two code paths to achieve the same functionality.
Which area does this relate to?
Batch processing
Solution

Immediately deprecate the feature with a warning (both for the sqs_batch_processor decorator and PartialSQSProcessor classes.
Completely remove the code on the next major version of Powertools

Acknowledgment

[X] This request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript

Closing as we're wrap to launch V2


#2476  Clojure require configuration

added the require configuration
needs the issue  #2477  Clojure classpath and imports

:+1:


wip: more tests

Codecov Report

Merging #217 into master will increase coverage by 3.61%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
+ Coverage   74.05%   77.66%   +3.61%
==========================================
  Files         104      103       -1
  Lines        1237     1209      -28
  Branches       23       23
==========================================
+ Hits          916      939      +23
+ Misses        321      270      -51

Impacted Files
Coverage Δ

...s/example/src/main/scala/NatchezHttp4sModule.scala

...dules/core/src/main/scala/net/protocol/Parse.scala
100.00% <0.00%> (+9.09%)
:arrow_up:

modules/core/src/main/scala/Encoder.scala
96.66% <0.00%> (+26.66%)
:arrow_up:

modules/core/src/main/scala/Decoder.scala
100.00% <0.00%> (+44.44%)
:arrow_up:

...rc/main/scala/exception/UnknownTypeException.scala
75.00% <0.00%> (+75.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Removed Apache Stombol dependencies

this eliminates 10+ jar dependencies. Could not figure out how to bump up the jsoup version though?

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

ok to test


check if data is returned from query in notebooks

fixes #261

Statement I used to test this:
create table qtemp.x (a int, b int, c int);


Import multiple JDL model files into another one ?

I'm working on a model that is becoming a bit bigger.
Would be possible to split that model into many files and then "import" then into others?

Here, read this

@MathieuAA , thanks !
Nice to have the possibility to use multiple jdl files while generating code. ? :)
But what I'm missing is the possibility to "crtl-space" while creating relationships in the  Eclipse editor and to refer to entities that was created in another file.

This isn't the project for this. Check the JHipster-IDE project for that


Label Name

If bar is small then how to show full label name inside that bar. Like there are 2 bars first datanumber is 90 and second bar data number is 10 then second bar will be too small and it will not contain full label name

Agree, the same is happening to me, what to do in that case ?

I hack the js and change
from f = Math.round(e / b * 100) + "%";
to f = Math.round(e / b * 70) + "%";
So you can have more space for more text...
Though that's not the correct way, hope there's another way to fix this
Best regards


AddVisualStudio BuildTools

Description
Add new Visual Studio workloads:
Visual Studio Tools for Office (VSTO) build tools
Office/SharePoint development build tools
Windows Workflow Foundation Build Tools
The installed workloads contain components for the development of Office, SharePoint and Workflow foundation application with Visual Studio
total size.
200Mb
installation time
less than 30sec
Related issue: https://github.com/actions/virtual-environments/issues/541
Check list

[x] Related issue / work item is attached
[x] Changes are tested and related VM images are successfully generated

/azp run windows2016, windows2019


React Datepicker with format mm/yyyy css is breaking, Instead of grid, it is coming as list

Thanks for help

Hi I have the same issue. Any solution for this?

I tried to import the scss and now it's working fine. Have you tried?
import 'react-datepicker/src/stylesheets/datepicker.scss'


[Feature] Magic UI Cli

have no clue what happened but this entire branch was written by @rajatsandeepsen here https://github.com/magicuidesign/magicui/pull/85
when i tried rebasing and merging the PR auto-closed and wasn't able to recover
opened a new PR again which is able to merge directly to main

well... someone cooked 🔥🔥🔥


WES Kubernetes deployment

Details
Add a new deployment directory that contains YAML files for deploying
WES on Kubernetes/OpenShift. Separate deployments are created for the
WES Flask server and the Celery worker. These can then be independently
scaled up or down. A shared volume is created for the Flask app and the
Celery worker to exchange data between each other.
Add a Route object under deploymen/ingress for creating a Route to
expose WES in OpenShift. The Route is set to use TLS and to redirect
HTTP traffic to HTTPS. It is assumed that a default wildcard certificate
is available.
Add documentation for setting up WES in Kubernetes under
deployment/README.md and reference this file in the main README.md file.
Documentation
Documentation added under deployment/README.md. The documentation is also referenced from the main README.md file.
Closing issues
Addresses #81 .

I'll still need to add an initContainer setup for the Celery worked and Flask deployments to create the wanted directory structure under /data. Let's do that before merging this.

The initContainer is now there and working, too.

Tested with https://wes-route-wes-test.c03.k8s-popup.csc.fi/


Font Crash

Release Type: GitHub
Version: master
Platform(s): Windows 10
Describe the bug
To Reproduce
Steps to reproduce the behavior:

seleted Assets/SpriteFont
modify the FontSource to System Font

Expected behavior
A crash happened.
Screenshots

Log and callstacks
Additional context
The Button's TextBlock  shrunked;
my repo:https://github.com/ly3027929699/TestStride

This problem occurred last night and was not solved until I switched to the release version. I recompiled it today and still have the problem. it's all right with the release version.

I think this was fixed by PR #1999 , but I might try to reproduce this on the latest release too just to be sure.

Could not repro on latest, likely fixed by #1999 as @NicusorN5 pointed out


Not able to find the code

my org want's to use the livekit for the form's for that we were testing but we were not be able to find the update code for the frontend to see the implementaion
https://kitt.livekit.io/
thank you

https://github.com/livekit/agents-playground


Update tableau-desktop-driver-setup.md

Summary
Update the links to download the DocumentDB JDBC driver JAR file and DocumentDB Tableau connector (a TACO file) to the GitHub link with the newest release tag.

Description
Changed the links to download .jar and .taco file in the tableau-desktop-driver-setup.md and the microstrategy-developer-driver-setup.md file

Related Issue
The old links were outdated

Additional Reviewers
@affonsoBQ
@andiem-bq
@alexey-temnikov
@birschick-bq

Notes:

Title of PR should include either the JIRA issue number or the GitHub issue number.
Description should include link to issue (above).

Notes:

Title of PR should include either the JIRA issue number or the GitHub issue number.
Description should include link to issue (above).

oh yea thanks for the reminder! Will do that now.


VS403093: Team Services currently does not support changes to 'Completed' category. Choose a different category.

Getting "Unable to create/hide/update state 'Completed' in 'Process_name.WorkITeamType' work item type" , Seems to be due to Completed Category. To get this error is very repeatable, by adding a state to 'Completed'.
Suggestions: Could we ignore / skip the states in 'Completed' Category?
Seen others with this issue, but no response or fixes.
Thanks

We're currently working on various extensions, but we've already added this issue to our backlog. Thank you for reporting it. We'll investigate further and provide an update soon.

Any updates on this?  Running to the same issue.
Thanks!

I'm running into this issue also, any update?
Is it possible to skip and continue the import?

I will start working on it as soon as possible.


Attribute for not allowed on element ul at this point

The Menu component gives a validation error.

Technically invalid markup yes, but browsers do just fine with it. Nothing we should do about this until 2.x, if anything. Adding to the milestone for that as something to look into.

@Garbee @addyosmani @sgomes Is it worth our time to add additional support for data-for to allow strictly valid markup for the 1.x timeline?

Sgtm for a 1.1 addition.
On Sep 7, 2015 9:06 AM, "Surma"<EMAIL_ADDRESS>wrote:

@Garbee https://github.com/Garbee @addyosmani
https://github.com/addyosmani @sgomes https://github.com/sgomes Is it
worth our time to add additional support for data-for to allow strictly
valid markup for the 1.x timeline?
—
Reply to this email directly or view it on GitHub
https://github.com/google/material-design-lite/issues/1556#issuecomment-138292858
.

SGTM for 1.1 too.

:+1:

FYI in #1734 we are updating the data-for here to data-mdl-for. This will namespace out our bindings to cause the least amount of conflict with existing third party and userland code.


Possible code conflict?

Using tex-svg.js and tex-mml-chtml.js on the same page it seems to cause a conflict and this error appears
"Uncaught TypeError: MathJax.tex2svgPromise is not a function"

The combined components, like tex-mml-chtml.js and tex-svg.js are not designed to be used in combination, since they both include copies of the startup code that does things like setup the tex2svgPromise() routines, and one will wipe out the work of the other.
You can, however load one of them and configure it to load the pieces you need from the other.  For example
<script>
MathJax = {
  loader: {load: ['output/svg']}
};
</script>
<script id="MathJax-script"<EMAIL_ADDRESS>
would let you have both SVG- and CHTML-based typeset functions.


Question 98 little mistake corrected

@jakeherp would this be more appropriate?
const getList = ([x, ...y]) => [x, y]

const list = [1, 2, 3, 4]
console.log(getList(list))

const getUser = user => { name: user.name, age: user.age }

const user = { name: "Lydia", age: 21 }
console.log(getUser(user))

Answer A:  [1, [2, 3, 4]] and SyntaxError

@jakeherp would this be more appropriate?
const getList = ([x, ...y]) => [x, y]

const list = [1, 2, 3, 4]
console.log(getList(list))

const getUser = user => { name: user.name, age: user.age }

const user = { name: "Lydia", age: 21 }
console.log(getUser(user))

Answer A:  [1, [2, 3, 4]] and SyntaxError

Is this supposed to be in ‘coding’ language? That would severely limit my ability to communicate

Closing as outdated


Feature/bill 729

Required Sections

Description

Issue Link
 Added stupidedi gem.
This PR comments out dependencies that cause conflicts with Onelife code
The blank? method is monkeypatched, which can cause spec failures in onelife. This code comments out a requirement
The specs still pass locally, though the gem is not setup for CI
Screenshots

Regression Testing Notes

Any change to part of a complex system includes the risk of regression in other parts of the system that use the same underlying code. Please make a note of any functionality that may change as a side-effect of this PR. This will help the QE team make sure that no new regressions have been introduced

[x] No expected regression risk
[ ] Possible regression risks

Insert details here

Qual Environment

Risky Changes Check

Definition Of Risky Changes

Changes that cannot be tested in an environment outside of production

Examples:

Changes to the configuration for the production environment like domain names
Data that is unique to production
Networking configurations in production

Anything that requires downtime

Verify If These Are Risky Changes

[x] These are not risky changes as defined above

OR

[ ] These are risky changes

Risky Changes Checklist

[ ] Alert Infra and SRE along with relevant metrics to watch to ensure the changes are functional
[ ] Determine if the changes can be released in a regularly scheduled maintenance window.

Generally this will be possible
There is a process document: link to document

[ ] Follow the process for maintenance window changes
[ ] In the instance it is not possible to release the changes in a maintenance window, follow the normal release process. Monitor the release with infra and SRE’s help to ensure that a rapid rollback is possible.

Optional sections

Dependencies

Database Impact
Diligence

[ ] I have read https://github.com/onemedical/onelife/wiki/Database-Migrations-v2
[ ] My migrations are safe, as per the above document

Details on the database impact of the change

Scope of the migration:
Expected time to complete:

Elasticsearch Impact
Diligence

[ ] My Elasticsearch index changes are in accordance with the Elasticsearch zero-downtime reindexing process
[ ] My Elasticsearch index changes will cause downtime

Index being modified:
Downtime justification:

Cache Impact
Diligence

[ ] I have not modified the value of a cache entry such that it would become backwards incompatible
[ ] I've ensured my new key is tested to the same degree that the old key was

Details on cache changes

Old key:
New key:
Places in use:
Reason for change:

Post Deploy Tasks

rake tasks

[ ] I have notified DL-Engineers and #pd-engineers of any environment-breaking tasks that need to be run

seed data

Hi @gusIreland, I know you opened this by mistake, but I noticed the issue you're having regarding blannk?. This library no longer uses monkey patching, and those customizations are implemented using refinements that only take effect when brought into scope with using Stupidedi::Refinements.
So the definitions of blank? used by Stupidedi should not ever be invoked directly by your client code, unless you write using Stupidedi::Refinements from the caller's scope. The other way those definitions could be called is indirectly, by calling something in Stupidedi that calls blank?.
Your change to comment out the import of blank.rb might fix the rest of your specs. But it might also cause unexpected behavior in stupidedi itself, which relies on that particular definition. So here's some debugging code to help narrow down who/what exactly is calling the blank? method defined in stupidedi. Let me know if you run this and see something unexpected, like somehow your code, which doesn't have the refinements brought into scope, is calling String#blank? and it's somehow invoking stupidedi's definition. Hopefully you will find nothing besides stupidedi itself is calling that method, though.
# lib/ruby/blank.rb
refine XYZ do
  def blank?
    require "thread"
    $BLANK ||= Thread::Queue.new
    $BLANK << caller

    # original method body resumes here
    ...
  end
end

Then to print out the callers after your test suite finishes, you will need to add this:
# spec/spec_helper.rb

RSpec.configure do |config|
  config.after(:suite) do
    File.open("blank.txt", "w") do |io|
      if defined? $BLANK
        while xs = $BLANK.pop
          io.puts xs[0]
          io.puts xs[1..-1].grep_v(%r{/(?:gems|bin)/}).map{|x| "  #{x}"}
          io.puts
        end
      else
        io.puts "No callers"
      end
    end
  end
end

After running rspec you should see the output in a file named "blank.txt" in the working directory. You may need to change the regular expression given to grep_v if you want to see where blank? is being called within stupidedi, if you've installed it as a gem.

@kputnam Thanks for reaching out! The PR was pointed at the wrong repo, thanks for the debugging advice
I've tried using the debugging code, but haven't found any callers - the output in blank.txt is just No callers
The specific spec failure is
NameError:
       undefined method `blank?' for class `#<Class:0x00007feb96ae5810>'

so I can see how the sample debugging code would never actually find the caller
I'm not quite sure how to debug from here. I'm not familiar with refinements, and I can't see how the refinement would be brought into scope in our own code.
The specs still pass in stupidedi with the blank import removed, but I'd prefer to find a more longterm fix, any ideas?

That's strange. Just to be sure, when you add the debug code and un-comment require "lib/stupidedi/blank" your specs fail and the debug file says "No callers". But when you comment out that require, your specs pass?
Also double checking, there are a few definitions of blank? in lib/stupidedi/blank.rb. Could you try un-commenting the require line and then commenting one definition of blank? at a time until your tests pass? When you narrow it down to which ones seem to be causing your specs to fail, then be sure you copy and paste the same debug code into each definition.
Refinements are a feature added to Ruby around version 2.0, and it's a way to redefine methods in a way that is limited to certain call sites (monkey patching changed a method definition globally). Quick example:
# patches.rb

module Patches
  refine Array do
    def size
      "hello"
    end
  end
end

# isolated.rb

def isolated(xs)
  xs.size
end

def isolated1(xs)
  refined(xs)
end

# refined.rb

using Patches
def refined(xs)
  xs.size
end

def refined1(xs)
  isolated(xs)
end

# main.rb

require_relative "patches"
require_relative "isolated"
require_relative "refined"

xs = [1, 2, 3]
puts isolated(xs) #=> 3
puts refined(xs)  #=> "hello"
puts
puts isolated1(xs) #=> "hello"
puts refined1(xs)  #=> 3

Hopefully that illustrates the idea. The scope of a refinement can be narrowed down smaller than the entire file (in refined.rb), by writing the using statement inside the method definition, or inside a class or module, etc. Most importantly, the widest scope that a using statement can alter is at the file level. That's why "isolated.rb" doesn't use the refinement, even though the using statement was written at the top of "refined.rb".
So with all that explained, it seems unlikely that your code is directly calling the patched definitions of size? unless you wrote using Stupidedi::Refinements above the call site somewhere. Also unlikely your code is calling some other gem which is in-turn affected by those refinements of size?, as they would have had to write using Stupidedi::Refinements above the call size.
One important thing though: you can see in the example that the isolated1 method indirectly uses the overridden definition of Array#size because it calls a method which imported the refinement. So I suspect somehow, your specs are calling a method in stupidedi, which in-turn calls the refined definition of size?. Maybe you're extracting a value from an X12 element and checking if it's empty, eg Stupidedi::Versions::Common::ElementTypes::AN#empty?, which calls the refined definition of size?. Hard to say though without more debugging info.