No valid crumb was included in the request

This seems broken, now. It was working prior to recent updates to VSCode and Jenkins. Turning CSRF protection on an off made no difference. Using useCrumbIssuer true or false made no difference. Password removed, re-entered, removed, re-entered, etc. No difference.  Builds that used to work now don't.
[2019-11-20 13:20:50.139] [Jenkins] [info] Creating Jenkins instance @url=http://XXXXXXXXXXX:8080, with user=XXXXXX, password=****
[2019-11-20 13:20:50.140] [Jenkins] [info] Creating pipeline build using job vscode @http://XXXXXXXXXXX:8080, with params [object Object]
[2019-11-20 13:20:50.140] [Jenkins] [info] Fetching remote XML config for job vscode @http://XXXXXXXXXXX:8080
[2019-11-20 13:20:50.288] [Jenkins] [info] Parsing and updating XML with new pipeline script
[2019-11-20 13:20:50.293] [Jenkins] [info] Pushing remote XML config for job vscode @http://XXXXXXXXXXX:8080
[2019-11-20 13:20:50.604] [Jenkins] [error] Error starting job vscode #undefined @http://XXXXXXXXXXX:8080}: Error: jenkins: job.config: forbidden
[2019-11-20 13:20:50.604] [Jenkins] [error]

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 403 No valid crumb was included in the request</title>

HTTP ERROR 403

Problem accessing /job/vscode/config.xml. Reason:

    No valid crumb was included in the request

Powered by Jetty:// 9.4.z-SNAPSHOT

[2019-11-20 13:20:53.580] [Jenkins] [info] Stopping job vscode #undefined @http://XXXXXXXXXXX:8080
[2019-11-20 13:20:53.581] [Jenkins] [info] Stopping job vscode #undefined @http://XXXXXXXXXXX:8080

Thanks.

I faced same issue today (
[2019-11-26 12:30:53.090] [Jenkins] [info] Creating Jenkins instance @url=https://XXXXXX.com, with user=XXXXXX, password=****
[2019-11-26 12:30:53.090] [Jenkins] [info] Creating pipeline build using job Common/Pipeline-Release-Candidate @https://XXXXXX.com, with params [object Object]
[2019-11-26 12:30:53.091] [Jenkins] [info] Fetching remote XML config for job Common/Pipeline-Release-Candidate @https://XXXXXX.com
[2019-11-26 12:30:53.795] [Jenkins] [info] Parsing and updating XML with new pipeline script
[2019-11-26 12:30:53.824] [Jenkins] [info] Pushing remote XML config for job Common/Pipeline-Release-Candidate @https://XXXXXX.com
[2019-11-26 12:30:54.895] [Jenkins] [error] Error starting job Common/Pipeline-Release-Candidate #undefined @https://XXXXXX.com}: Error: jenkins: job.config: forbidden
[2019-11-26 12:30:54.895] [Jenkins] [error]

Error 403 No valid crumb was included in the request

HTTP ERROR 403
Problem accessing /job/XXXX/job/XXXXXXXXXXXXXX/config.xml. Reason:
    No valid crumb was included in the requestPowered by Jetty:// 9.4.z-SNAPSHOT

[2019-11-26 12:31:25.669] [Jenkins] [info] Stopping job Common/Pipeline-Release-Candidate #undefined @https://XXXXXX.com
[2019-11-26 12:31:25.669] [Jenkins] [info] Stopping job Common/Pipeline-Release-Candidate #undefined @https://XXXXXX.com

我也是同样的问题......

I am seeing the same issue

How do I revert this to an eaerlier version? It was useful and I set myself up to use it and now it's a pain that it's broken.
What effort is being made to fix it?
What else can we provide to help?
Thanks.

Are you going to help your users or shall we just dump this thing and move on? At least let us know, please.
Thanks.

@g1ps I took a shot at fixing this, and it appears the issue is just a bug in the version of the Jenkins npm module that is being used.  I ran an npm update jenkins and it fixed the issue (it updated to version 0.27).
Granted, I had to build a new version of the extension locally, and it then install it.  But after that, the problem went away, and I could use this extension again as it fixed the crumbIssuer error.

@g1ps I took a shot at fixing this, and it appears the issue is just a bug in the version of the Jenkins npm module that is being used. I ran an npm update jenkins and it fixed the issue (it updated to version 0.27).

Well done, thanks @briceo. A pull request would be great, so we can get it published. I don't know what's required in order to rebuild it myself. I'll try and find out if I have time but as things are, it's probably unlikely. Any pointers would be appreciated.
Cheers.

@g1ps I am not able to make a PR for this issue.  It looks like the owner has this repository locked down so that nobody can contribute fixes.
Basically, I just updated package.json to depend on version 0.27.0 (instead of version 0.23.0) of the jenkins npm module (only relavent section shown below).
    "version": "1.2.3",
<snip>
    "dependencies": {
        "ajv": "6.9.1",
        "jenkins": "0.27.0",
        "object-assign-deep": "0.4.0",
        "xml2js": "0.4.19"
    }

To build this extension:
Make sure you have node.js installed (I used version 12.15.0)
switch to the root of the checked out repo from a terminal and run the following commands:
npm install (this installs all of the packaged dependencies)
npm install -g vsce (install the utility to build the VSCode extension)
vsce package (this builds the updated vsix package that you can then install from within VSCode Extension section)
NOTE: I bumped the extension version in package.json from 1.2.2 to 1.2.3 just so that I would remember (hopefully) that I had a custom build of this extension.
Once the new vsix has been build, you can install it from within VSCode.  Go to Extensions -> click the 3 dots in the upper right corner of the extension tab -> Install from VSIX (using the file you just built above).

Hi @briceo,
Oh dear. Not great. Many thanks for the details. I still haven't found time to try but I appreciate knowing. I just wanted to let you know that I had received your reply.
Cheers.

i've submitted https://github.com/dave-hagedorn/jenkins-runner/pull/20 for this. hopefully, it'll get picked up and released soon.
many thanks @briceo for the steps to build the plugin!

I have now upgraded and rebuilt the plugin and it's working again. Thanks again @briceo for the explanation. There were some tense moments at first when it still wasn't working after installing it with CSRF Protection on or off on the Jenkins server but after re-starting VSCode it now works with CSRF protection on and the Default Crumb Issuer selected.

@g1ps I am not able to make a PR for this issue. It looks like the owner has this repository locked down so that nobody can contribute fixes.
Basically, I just updated package.json to depend on version 0.27.0 (instead of version 0.23.0) of the jenkins npm module (only relavent section shown below).
    "version": "1.2.3",
<snip>
    "dependencies": {
        "ajv": "6.9.1",
        "jenkins": "0.27.0",
        "object-assign-deep": "0.4.0",
        "xml2js": "0.4.19"
    }

To build this extension:
Make sure you have node.js installed (I used version 12.15.0)
switch to the root of the checked out repo from a terminal and run the following commands:
npm install (this installs all of the packaged dependencies)
npm install -g vsce (install the utility to build the VSCode extension)
vsce package (this builds the updated vsix package that you can then install from within VSCode Extension section)
NOTE: I bumped the extension version in package.json from 1.2.2 to 1.2.3 just so that I would remember (hopefully) that I had a custom build of this extension.
Once the new vsix has been build, you can install it from within VSCode. Go to Extensions -> click the 3 dots in the upper right corner of the extension tab -> Install from VSIX (using the file you just built above).

@briceo - can you show the error you got when trying to make a PR?  I'm not seeing this on my end but want to make sure others can create PRs.  Thanks.

@dave-hagedorn , I believe the error was relating to the ability to push a branch to remote origin.  I could commit the change locally, but was not able to push the branch to GitHub (due to permission issues).  Once the branch was on the remote, I could have created the PR though (at least it appears that I could).

Ah - thanks for the update!  Thanks again @atiniir for the fix.


Unable to find customization file for some messages

Hey there! I'm a newbie at customizing this plugin (or any other, for this matter), and I am failing to find the .yml file that allows me to change some texts of this plugin.
More specifically, the texts I'm being unable to find are those related to spells leveling up.
I am unable to find those texts in any .yml config file or in "messages"...
The main purpose for this is I'm translating the whole plugin (or, at least, the parts of it I'm using) to Spanish :)
Thanks in advance for your time!

Well firstly you should try /mconfig language ES, there is a builtin translation file already :)
If you find anything missing still, you can use the editor to get all of the messages to edit, such as /meditor messages spells to edit all the spell text, including the level-up messages. Or just /meditor messages to edit all the text at once.

Thanks for your quick answer!
I tried configuring to "ES" but the translation to Spanish (at least from a Spaniard point of view, no intent to be rude) is not satisfactory.
I would love to translate the whole thing by myself. I believe it might be a bit too much of a work, so as for now I would like to translate only the most usual things to be read (such as the HUB in the enchanting table, etc).
Still I'd be interested, if considered useful, in traslating the whole plugin into a higher quality Spanish. What would be the easier/most feasible way to do that? :)
PS: Just for context: I have specific paths on my server and changed the names and categories of most spells, but I believe that has nothing to do with the overall language of the plugin, does it? I have changed no effects or properties of how the spells actually work.

Using /meditor messages is the best way- that'll get you all the default messages as well as the survival configs to edit. It'll also get you any additional examples you add in, if you wanted to translate potter, stars or bending for some reason :)
I completely understand what you mean about the translation, and no offense taken! I honestly should have done a better job asking the people who submitted these which region they are from, as I understand Spanish has a few very distinct dialects.
If you'd like, please take a look here:
https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/examples/localizations
There are actually 4 Spanish translations, and I have to admit I do not know the difference between them, other than that they have varying levels of completeness.
If you do translate anything, I would of course love to add it to the plugin so everyone can benefit!
Or even if you are able to categorize the translations I have in some way that'll be useful to future Spanish-speakers, e.g. Spain vs South America vs Central America or whatever.

Thanks again for your answer! I revised the Spanish translation and there are some classic "google translate" mistakes on each and every of them. Just FYI, it's not a thing about location or dialects :)
Consecuently, I would rather work on my own version.
I would want to start with the translation, but the option you gave me in using /meditor messages would not work for me, since the computer in which I am going to prepare this translation is not the same in which I play Minecraft -and there is no option whatsoever I can open Minecraft in said computer...-
Given all that, which is the file I should start editing, and where -in which folder- should I put it once I am finished with it? It'd be nice to directly work over the original English file so I can translate directly onto it.
Thanks for your time :)
PS: Also, another question that pops on my mind is the following: I understand I should avoid any signs of customization in the translation file, since I have renamed most of the spells? (not translated but given a different name completely)
If that's the case, how would the translation file and the customized file (let's say messages/spells.yml mainly) interact with each other?
Thanks for your time, given the fact I might be the most amateur code editor ever to exist :')

You can use the meditor command from the server console, if that helps- it takes you to a web page, there will be a “Download” button on that web page to download the file if you want.
Otherwise, you can look in plugins/Magic/defaults/messages.defaults.yml on your server. You can download this file, but it is not editable in-place, you’ll want to put the result in plugins/Magic/messages.yml
Customizing this plugin is a little different than most (for various reasons), there isn’t really a file I can tell you to edit, but I’m hoping one of those two options works for you.
If you want to share the result I would still appreciate it! Maybe just let me know any sections you think I should replace in my builtin ES translation (I’d love to get rid of Google translate mistakes…).

It's been working just fine! As I told you however, I am not directly translating things but also customizing to my own server's needs... As such, some spells and their "background" are being reinterpreted...
Your support has been of much use! Thanks for everything :)


Added neptune.ml and steppy to your awesome list

I just learned about your awesome list, so I would like to add some items :)

Thank you very much for the contribution @kamil-kaczmarek ! Neptune and Steppy look awesome!

@kamil-kaczmarek added small request to move steppy into the "Model Versioning" section (Which is now renamed to "Model and Pipeline Versioning")


Typo in code? client.js line 984

line 984 -  _syncMethods('mehods');
https://github.com/GroundMeteor/db/blob/connection-driver/groundDB.client.js

Thanks @satyavh it's a typo - but the argument is not needed/used for anything, should prop. be removed on next update,


pg_dump functionality

Hi!
one killer feature of this would be to provide dump functionality. it wouldn't (at first) need to output portable SQL, as there's really no such thing: Postgres and MySQL might have some common set (especially for INSERT) but it will break down for indexes, table creations, stored procedures and whatnot.
still it would be nice to have a way to export the content of a database, even if it means reusing db-specific instructions... in my use case, i'm working with an embedded device where usql is one of the very select few commandline clients that works at all (thanks to the excellent golang cross-compilation features), so it would allow me to export (sqlite) databases from those devices and make a/b comparisons.
thanks!

I completely agree.  There's a real need for a udump program or similar.  Or a --dump option for tools such as usql.  For each supported database.

The likely equivalent in usql would be some kind of \dump meta command. The databases that usql supports are vastly too different to simply support this in kind of consistent fashion, and thus is not currently a goal of this project. Please note that pg_dump is magic (I mean here the software/technical meaning of magic) in that it knows/understands the database and has full insight/knowledge/understanding of PostgreSQL's underlying data.
For illustration purposes, think of how pg_dump accurately dumps each and every database component -- indices, data, aggregates, types (the list goes on!). Expanding this to each and every major database (at minimum) would be beyond a herculean task.
Note that what's being requested here, is really a call for a separate command-line tool that would be at least equal in complexity (and thus required authorship time) as usql itself. Additionally, for something as sensitive as dumping/restoring all data, I believe that's best left to the native tools provided by each database.

I think implementing \copy is much more realistic, that is to focus only on exporting data and leave dumping the full schema to dedicated tools.
The original description does mention to focus on the contents of the db. I'd like to suggest changing the issue title.

I think implementing \copy is much more realistic, that is to focus only on exporting data and leave dumping the full schema to dedicated tools.
The original description does mention to focus on the contents of the db. I'd like to suggest changing the issue title.

@nineinchnick the \copy command really isn't directly applicable to other databases as well. usql would need to deviate from psql here, as I do believe some kind of table dumping / copying would be prudent. I had looked at creating a concept of named connections in usql, so that one could connect to multiple connections at a time, something like this:
(not connected)=> \connect @host1 postgres://host1
@host1=> \connect @host2 mysql://host2
@host2=> select a, b from mysql_table  \copy @host1 my_table

The idea here that \copy would be like a \g command. Open to some kind of syntax suggestion. As it is, psql defines \copy as:
\copy ...              perform SQL COPY with data stream to the client host

So anything is possible, essentially. the actual SQL COPY ... is a server side implementation that gets used by the psql client that streams the data. You can use various SQL statements with \copy as well, but I haven't used this feature much. I completely get how it'd be great to have some kind of cross database functionality, but I have limited time to implement these things.

@nineinchnick the \copy command really isn't directly applicable to other databases as well. usql would need to deviate from psql here, as I do believe some kind of table dumping / copying would be prudent. I had looked at creating a concept of named connections in usql, so that one could connect to multiple connections at a time, something like this:
(not connected)=> \connect @host1 postgres://host1
@host1=> \connect @host2 mysql://host2
@host2=> select a, b from mysql_table  \copy @host1 my_table

The idea here that \copy would be like a \g command. Open to some kind of syntax suggestion. As it is, psql defines \copy as:
\copy ...              perform SQL COPY with data stream to the client host

So anything is possible, essentially. the actual SQL COPY ... is a server side implementation that gets used by the psql client that streams the data. You can use various SQL statements with \copy as well, but I haven't used this feature much. I completely get how it'd be great to have some kind of cross database functionality, but I have limited time to implement these things.

I vote to close this issue as a WONTDO. The existence of a dump command implies that there's a restore command, which in turn implies that the round trip would be lossless, that is it can be used for reliable backups. This requires A LOT of data conversion code. I believe it's unreasonable to try to maintain it in a tool like usql, and it would be best to leave this to either native tools provided with the databases or other products/project specializing in backups.
Also, we now have the \copy command (#238), which comes with no guarantess on correctness and performance.
@kenshaw your last comment is a great idea, maybe you can create a separate issue for it?

Agree; whatever form of "dumping" we do will be done through \copy in some kind of form.


Get rid of build-time conditions

Convert this:
 #if (DEBUG && NET45)
        private string PRODUCTION_ENDPOINT = ConfigurationManager.AppSettings["ProductionEndpoint"] ?? "https://deliver.kenticocloud.com/{0}";
        private string PREVIEW_ENDPOINT = ConfigurationManager.AppSettings["PreviewEndpoint"] ?? "https://preview-deliver.kenticocloud.com/{0}";
        #else
        private const string PRODUCTION_ENDPOINT = "https://deliver.kenticocloud.com/{0}";
        private const string PREVIEW_ENDPOINT = "https://preview-deliver.kenticocloud.com/{0}";
        #endif

in DeliveryEndpointUrlBuilder to use ASP.NET Core Configuration.
Custom class that can read appSettings from web.config needs to be implemented.

Hi Petr,
Please take a look at code below and let me know if this is what you want.
`public class ConfigManager
{
#if (!NET45)
static IConfigurationRoot configuration;
static ConfigManager()
{
    var builder = new ConfigurationBuilder()
         .SetBasePath(Directory.GetCurrentDirectory())
        .AddJsonFile("appsettings.json");

    configuration = builder.Build();
}
#endif

private static string GetProperty(string name)
{
    #if (NET45)
        return ConfigurationManager.AppSettings[name];
    #else
        return configuration[name];
    #endif
}

public static string PRODUCTION_ENDPOINT
{
    get
    {
        return GetProperty("ProductionEndpoint");
    }
}

public static string PREVIEW_ENDPOINT
{
    get
    {
        return GetProperty("PreviewEndpoint");
    }
}

}`
Thanks!

What I meant was:

PRODUCTION_ENDPOINT and PREVIEW_ENDPOINT should read from the Configuration object...e.g. using GetValue - see the docu: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration#getvalue -> Configuration.GetValue("PreviewEndpoint", "https://preview-deliver.kenticocloud.com/{0}")

the Configuration object should be filled with a custom configuration provider - see the implementation of LegacyConfigurationProvider in http://benfoster.io/blog/net-core-configuration-legacy-projects -> this is exactly what we want

This way:

the NET45-specific functionality would be isolated in a separate class
the code would rely on the new .net core configuration model

which means it could be easily extended by adding more providers etc.

which is btw exactly what we should do in a follow up story and let the deliveryclient read from the configuration object (the consumer then could just pass a configuration section and wouldn't have to provider projectid and preview api key) #54

Hi @petrsvihlik!
Can you please assign this issue to me.
I've got solution for this and want to create pull request.
Thanks!

Awesome! :) Item assigned...

Pull request created.
Thanks!


DCOS-14090: Allow menu tabbed content to shrink in IE11

This PR fixes a bug in IE11 where flex children don't shrink as they should. It's present anywhere we use .menu-tabbed, but most notably in the service create form:
Before:

After:

Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

Those selects are amazing! :D

unrelated, but unsure if it's Virtualbox acting up or IE

@nLight - could you please investigate the issue you observed above to see if it's a valid bug? 💯


typo

"The implicit grant presents more risks than other grants, and the areas you need to pay attention to are well documented. For example, Misuse of Access Token to Impersonate Resource Owner in Implicit Flow and OAuth 2.0 Threat Model and Security Considerations)."
Seems that the closing bracket has no matching opening bracket.
Same issue in the previous section with no closing bracket.

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

ID: 07eb21a8-9fd1-4cb6-3a08-c3fe6a6115ad
Version Independent ID: 24f74ebb-3559-006d-dbde-b18a8b9e28fe
Content: Understanding the OAuth2 implicit grant flow in Azure AD
Content Source: articles/active-directory/develop/v1-oauth2-implicit-grant-flow.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

@mguirao Thanks for the feedback! I have created a pull request to add the two missing parentheses. https://github.com/MicrosoftDocs/azure-docs-pr/pull/58531


Need an alterantion in forgetme.tool Document

Description:
Following Document in [1],
Under Running the tool in API Manager section -> Before you begin.. -> 1st point
Please alter the information as mentioned below.
Required Correction:
This DB lock will happen if at least one of your databases point to the H2.
Let's say you have User,REG and AM databases are pointed to Mysql but your carbon db is in
H2, Then also you can get this mentioned db lock error.
[1] https://docs.wso2.com/display/AM2xx/Removing+References+to+Deleted+User+Identities
Suggested Labels:
Type/Docs
Type/Bug
Priority/Normal
Affected/update 14

Fixed


What subscription level/license(s) are required for O365 Sensitivity Labels?

What subscription level/license(s) are required to leverage O365 Sensitivity Labels?  I cannot find any information in the relevant documentation for sensitivity labels.

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

ID: fb0c964d-2d1b-601a-c8a2-14378fc24fb8
Version Independent ID: ee549bd1-0652-2167-0f23-d22a58cf895b
Content: Overview of sensitivity labels
Content Source: microsoft-365/compliance/sensitivity-labels.md
Service: o365-seccomp
GitHub Login: @LauraWi
Microsoft Alias: laurawi

Hi @TracyGH You can find SKU/license info in the Service Descriptions. Sensitivity labels require E3 or E5: https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-securitycompliance-center

@TracyGH - From our understanding, the issue you raised has been answered by LauraWi. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

Hi there - it should be noted that if you don't have E3/E5 then you can just buy Azure Information Protection P1 or P2 which should also work.


Crashes Python on Windows

Trying to create a very basic game, and getting crashing on Windows 7 32-bit:
    import bacon

    class Game:
        def on_tick(self):
            bacon.clear(0, 0, 0, 1)
            bacon.set_color(128, 128, 128, 1)
            bacon.fill_rect(50, 50, 150, 150)

    bacon.window.width = 512
    bacon.window.height = 512
    bacon.run(Game())

    $ py34 test_bacon.py

Crashes the python interpreter:
    Problem signature:
      Problem Event Name:   APPCRASH
      Application Name: python.exe
      Application Version:  <IP_ADDRESS>
      Application Timestamp:    5325ec4b
      Fault Module Name:    Bacon.dll
      Fault Module Version: <IP_ADDRESS>
      Fault Module Timestamp:   5377c264
      Exception Code:   c0000005
      Exception Offset: 000798f3
      OS Version:   6.1.76<IP_ADDRESS>.256.4
      Locale ID:    1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Using python 3.4:
    $ py34 -m pip show bacon
    ---
    Name: bacon
    Version: 0.3.1
    Location: c:\python34\lib\site-packages
    Requires:

Please note that I did have to make some a couple to bacon code to be able to get this far:

Line 396 in native.py, removed levels = -1 parameter from call to __import__ .  Python 3 no longer supports a negative value for levels, and 0 is the default:

            _pkg_resources = __import__('pkg_resources', globals(), locals(), [])

Line 159 in core.py, changed import commands to relative import from . import commands.  Not sure if I need to add bacon to my PYTHONPATH to fix this without changing the code.

Have the same problem. When i install bacon the bacon.dll is missing. I get an Error when i try to import it:
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.`
>>> import bacon
WARNING: No logging configuration for "bacon" set; using default
WARNING: Unable to create log file at bacon.log
ERROR: dll_dir is G:\Python3.6\lib\site-packages\bacon\windows64
Traceback (most recent call last):
  File "G:\Python3.6\lib\site-packages\bacon\native.py", line 437, in get_lib
    return cdll.LoadLibrary(dll)
  File "G:\Python3.6\lib\ctypes\__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "G:\Python3.6\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden
Traceback (most recent call last):
  File "G:\Python3.6\lib\site-packages\bacon\native.py", line 437, in get_lib
    return cdll.LoadLibrary(dll)
  File "G:\Python3.6\lib\ctypes\__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "G:\Python3.6\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "G:\Python3.6\lib\site-packages\bacon\__init__.py", line 4, in <module>
    from bacon.all import *
  File "G:\Python3.6\lib\site-packages\bacon\all.py", line 1, in <module>
    from bacon.core import *
  File "G:\Python3.6\lib\site-packages\bacon\core.py", line 152, in <module>
    lib = native.load(function_wrapper = _error_wrapper)
  File "G:\Python3.6\lib\site-packages\bacon\native.py", line 493, in load
    _lib = _dll_path.get_lib()
  File "G:\Python3.6\lib\site-packages\bacon\native.py", line 440, in get_lib
    raise ImportError('Failed to load DLL %s' % dll)
ImportError: Failed to load DLL Bacon.dll

I hope it will get fixed, bacon looks promising!


How about sync bn performance in this repo compared with in pytorch1.1 ?

Sorry for the late reply.
The Apex SyncBN achieves the similar performance with pytorch1.1 official SyncBN.
However, both of them have some stability issues during training detection since the batch size is relatively small.
Please find more comparison results in the updated table


Users have to answer identity questions but they weren't sure they'd know the answers to those

Users were concerned they might fail the identity test despite being legitimate users [Medium]
“I can’t remember when I moved in”.
“I wouldn’t know when I last took out a mobile phone contract. I’d just have to guess”

@lizziebruce - this issue was raised by Camden. Do you think there's anything in the content we can add to reassure them they're likely to know the answers? Or is that overkill/ should be covered by the Verify journey?

@irinapencheva Hmm. I think this is an issue for Verity hub to resolve. We can't assure them they're likely to know the answers as they might not (especially given the demographic). But I know what you mean. However, the issue shouldn't come up IRL as, as far as I know, the Verify hub questions will be tailored to recent activity that the user should find easy to recall. So here it is better to do nothing – as we expect the problem won't actually arise.

@lizziebruce - cool, happy with it!


How can I remove waybar if I've installed manually?

I've allready download this respository and compile from zero to install waybar, now How can I uninstall it?

remove using your package manager
in arch: pacman -R waybar
remove auto init commands that calls waybar
then remove the config files, usually in .config/waybar

Should be similar to the install command, so, while inside the Waybar folder from the cloned repo, ninja -C build uninstall.

Thanks but when I execute the command ninja -C build uninstall, in the output I can see the message info:
Uninstall finished.

Deleted: 0
Failded: 63

So I dont know if my solution was the correct way, I've already remove the files /usr/local/bin/waybar and the service /usr/lib/systemd/user/waybar.service

Considering the Failded: 63, either there's some leftover files and it couldn't be removed due to lack of privileges (will need sudo, so `sudo ninja -C build uninstall), or they've already been deleted.

Thanks @tchofy :heart_decoration:


CMakeLists.txt: Fix linker command in generated .pc file

Signed-off-by: Andrew Andrianov<EMAIL_ADDRESS>

Nice catch, thanks!


Issue 1113 - fhir-ig-carin-bb search tests

Thank you merging, so i can get it in my postgres automation


Support remote pair programming out of the box

The perfect use case of a VSCode in browser is the ability to give a link to someone to pair program with.
It would be great to be able to support pair programming out of the box

Tracked in #33 - so this is a duplicate.

@nol166 please close issue and mark as duplicate


what are these columns used for?

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

TableColumn.is_active, filterable
SqlMetric.is_restricted,
SqlaTable.filter_select_enabled, default_endpoint
I don't find these columns are been used, for what?

On latest master, git grep founds users for all but TableColumn.is_active.

https://github.com/airbnb/superset/pull/2536 should clarify things somewhat.


Bungeecord 1.9 kick on join

What version of ViaVersion are you using? Type /ver viaversion
0.7.4
What version of Spigot are you using? Type /ver
git-PaperSpigot-60136e7-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
What plugins are you using? Type /plugins
Just Viaversion
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Yes --- git:BungeeCord-Bootstrap:1.9-SNAPSHOT:b6b015f:1142 by md_5
How does this error happen? login? Using an item?
Login
Is there an error in the console? Use pastebin.com. Is there a kick message?
http://hastebin.com/emuxehekiq.avrasm
I also get kicked.

seems to work some of the time let me look more into it


Logseq ecosystem conflicts: wrong CSS variable

Mia theme uses its own variable (https://github.com/search?q=repo%3Aplayerofgames%2Flogseq-mia-theme --content-font-family&type=code)
:root {
    --content-font-family:  "xxxxxxxxx";
}
...
font-family: var(--content-font-family);

To have compatibility with other plugins and follow Logseq CSS vars convention (https://github.com/logseq/logseq/blob/master/resources/css/common.css#L8) it should be dafault variable but overwritten:
/* long selector, not just ":root", cose same in Logseq css and should be overwritten */
.light-theme,
.dark-theme,
html[data-theme='light'],
html[data-theme='dark'] {
    --ls-font-family:  "xxxxxxxx";
}
...
`font-family: var(--ls-font-family);`;

It doesn't seem so simple; mia uses a mix of the system font and other fonts so has to override the font-family in certain elements, not just at the top. One could argue that the extension that overrides the font-family is also not doing things in a compatible way, because if two extensions had wanted to change the font list, they'd be incompatible.
Simply changing the variable at a point in the hierarchy does not work because of the way element attribute inheritance works (it is not recomputed per element based on css variable scope, unless the attribute is re-declared using the variable, which would not meet this need).
I'll ponder if there is an approach that achieves the theme's goals.
There is a workaround if you are keen to use the tabler icons. It looks like you are using miA Quattro based on the screen shot in the other issue. In that case, adding
:root {
	--content-font-family:  "iA Writer Quattro S", "tabler-icons";
}

to your custom.css appears to work.

as i see described things were not 100% clear...
is was not a full solution, but a small part of an example.... what i point is:

override Logseq war --ls-font-family

.light-theme,
.dark-theme,
html[data-theme='light'],
html[data-theme='dark'] {
    --ls-font-family:  var(--content-font-family);
}

reuse it "as yours" in some root elements or more narrow targeted selectors instead of --content-font-family
override one more time and reuse in some complicated cases

/* some UI, non-content zone elements, for example: /
#left-sidebar a {
  -ls-font-family:  var(--another-mia-UI-font-family);
}
#left-sidebar a {
  font-family: var(--ls-font-family); /* still "system" var, but new scoped value. own. ANY */
}

and depending on your CSS it needs fewer or more editions. this should be a good start and if we are lucky - even full ))

One could argue that the extension that overrides the font-family is also not doing things in a compatible way

why? not agree.
Tabler picker just extends Logseq font-family 1-to-1 as Logseq does.
with the possibility to other themes still use their fonts (if CSS is done properly, which is not in a lot of themes) - https://github.com/yoyurec/logseq-tabler-picker/blob/main/src/tablerPicker.css#L6-L8

if two extensions had wanted to change the font list, they'd be incompatible.

of course - if it's a strict requirement of some plugins to ignore other plugins/themes font - it will be overwritten and ignored ))
but this is the area of developer responsibility...

I'm inclined to disagree with your attribution of "responsibility" to various developers; each of them, including me, is changing a moving platform in ways it was not explicitly designed to be changed. I am using two font families across the product, one for UI, and one for content. This is not supported by current Logseq css without very specific style overrides.
However, I do agree that since the introduction of the --ls-font-family variable, it is worth updating how miA changes the fonts. I've opted to go with using this for the content font, as content is most likely to be 'targeted' by plugins.


Flat =0 and RED =0 in Figure.png

Is it intentional that the flattening factor Flat and the depowering factor RED are = 0 in the generated polar graph which you can see here?

I've generated it by setting n=5 the line vpp.polar(5, True) in runVPP.py on the current branch master.
In the ORC PDF is written that Flat = 1 in the full power condition (original camber) and RED = 2 normally (no reefed sail).

If I remember correctly, they are not set in the store array, https://github.com/marinlauber/Python-VPP/blob/2fd978da46cfe58fb412ba127ea20e551d08a17a/src/VPPMod.py#L256C21-L256C114
so they take the default value of 0.
This is because the main optimization loop doesn't have yet a way to also optimize for these constraints, only the dev branch, which is unstable.

Okay, thank you very much!
I look forward to the merge of the dev branch then.


cf-cli version (version.go) implementation is not SemVer compliant

As statet in the last comment of https://github.com/cloudfoundry/cli/issues/992 already, it's not possible to have a SemVer compliant version for cf-cli reported, that differs from your preset.
This is because the implementation for version is split the wrong way:
cf-cli: [0.0.0+SHA]-[DATE]
SemVer: [0].[0].[0]+[SHA-DATE].[WHATEVER]
So you need to group your build meta-data (SHA-DATE) and optionally append it to the version with a "+", in order to allow e.g. the usage of version only.
See https://github.com/cloudfoundry/cli/issues/992 for more details, please.

Is your point that we have hyphens in our build metadata (e.g. c7866be-2016-12-22) while refering to SemVer point 10, metadata consists of a set of dot separated identifiers?
But identifiers can contain [0-9A-Za-z-] so we have one identifier and no need for dots:
cf version 6.23.0+c7866be-2016-12-22
cf version 6.23.0+c7866be-2016-12-22
Or are you concerned about the current implementation in version.go?
I'm not sure SemVer was a goal when that file was written, and as the end result looks fine I'm not concerned.
That said, my team is planning to change this stuff, hopefully addressing your request in #992, so this file may change soon.

I believe we have addressed this. Please check it out.


Replace Skopeo with composeapp

Updated, with link to the composeapp repo.
QA: ran build and checked output in browser. Ran linkcheck locally. No issues to report.
No related tasks, small fix mentioned via internal channel.
PR Template and Checklist
Please complete as much as possible to speed up the reviewing process.
Readiness and adding reviewers as appropriate is required.
All PRs should be reviewed by a technical writer/documentation team and a peer.
If effecting customers—which is a majority of content changes—a member of Customer Success must also review.
Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Why merge this PR? What does it solve?
Checklist

[x] Run spelling and grammar check, preferably with linter.
[x] Avoid changing any header associated with a link/reference.
[x] Step through instructions (or ask someone to do so).
[x] Review for wordiness
[x] Match tone and style of page/section.
[x] Run make linkcheck.
[x] View HTML in a browser to check rendering.
[x] Use semantic newlines.
[x] follow best practices for commits.

[x] Descriptive title written in the imperative.
[x] Include brief overview of QA steps taken.
[x] Mention any related issues numbers.
[x] End message with sign off/DCO line (-s, --signoff).
[x] Sign commit with your gpg key (-S, --gpg-sign).
[x] Squash commits if needed.

[x] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for 2e02c29654af5a6c09136cd4abb3c09293270a26 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2734/docs/artifacts/html/index.html

Docs for 80958c0deaef8689d6d00230e144f573fc5bc52c are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2735/docs/artifacts/html/index.html


Empty query message leads to API generation issue

When you have a query like this
#[cw_serde]
#[derive(QueryResponses)]
pub enum QueryMsg {}

the new API generator in 1.1 errors as follows:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidQueryMsgSchema', contracts/my-contract/examples/schema.rs:6:5

where contracts/my-contract/examples/schema.rs:6:5 is from
use cosmwasm_schema::write_api;

use nois_proxy::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};

fn main() {
    write_api! {
        instantiate: InstantiateMsg,
        query: QueryMsg,
        execute: ExecuteMsg,
    }
}

Done in e517a8e782aff11b588285e52948a9049fa9d758 and 0f3609c2e1c5c67c4e5cb7765ced2ee18f7953d2 on main. Thanks!


OnModelCreating is cached and filters params is set just once at the first request

The documentation is not clear, so I have configured Filters this way:
public CrudContext() : base("name=CrudContext")
{
        int? tenantId = AppManager.GetTenantId();
        if (tenantId.HasValue)
        {
            this.EnableFilter("Tenant").SetParameter("TenantId", tenantId.Value);
        }
}

protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
        modelBuilder.Conventions.Remove<OneToManyCascadeDeleteConvention>();
        modelBuilder.Conventions.Remove<ManyToManyCascadeDeleteConvention>();

        DbInterception.Add(new FilterInterceptor());

        modelBuilder.Conventions.Add(FilterConvention.Create<ITenantEntity, int>("Tenant", (e, TenantId) => e.TenantId == TenantId));
}

The first request tenantId is set to 1, the constructor CrudContext and OnModelCreating is called and the filter is applied. The second request tenantId is set to 2, the constructor CrudContext is called and filter value is set to 2, but OnModelCreating is not called, I think it was cached. The filter stay the same tenantId == 1. All next requests diferents value filters are set on constructor CrudContext but filter is never changed, stay the same way wich was already set on the first request.
How should configuration be set to get this working?

Same problem here :-(


js file can't be proxy

Expected behavior
Proxy the js file from web.
Actual behavior
it can't
Setup

http-proxy-middleware: 0.17.4
server: express  4.16.2
vue-template/webpack

proxy middleware configuration
var apiProxy = proxy('/a/**/*.js', {
  target: 'http://www.example.org',
  changeOrigin:true,
  onProxyReq: function () {
    console.log('it works')
  }
});

server mounting
var app = express();

app.use(apiProxy);
app.listen(3000);

import the js
let script = document.createElement('script');
script.src = 'http://www.example.org/a/test.js'
document.head.appendChild(script);
...

No log info in the terminal.
Let me know if you need more info.

Guess you're not using/hitting the proxy at all.
Should your script look more like:
script.src = 'http://localhost:3000/a/test.js'

or on you localhost:3000
script.src = '/a/test.js'

@SidKwok 现在 js 文件还能够代理吗？

Hi @cobish, please use stackoverflow to troubleshoot setup.

@chimurai OK, thank a lot.


Feature Request

Environment

Operating System: OSX
Python Version: 3.6+
How did you install Qgrid: conda
Python packages: -N/A-
Jupyter lab packages (if applicable): -N/A-

Description of Issue

What did you expect to happen?
Ability to configure visualization of df -- view only selected columns, and re-ordering preferences, resize over all widget and column width, save config to app/qgrid/config
What happened instead?

Reproduction Steps
What steps have you taken to resolve this already?
created a widget on top of qgrid with accordion (ipywidgets) with a tab for config.
Anything else?
In several cases there is no substitute for a table view. While the end users will accept our analyses, they want a particular preferred view of it.

Thanks for the suggestion.  Some of the things you're suggesting could be done in python code when you show the grid, and in that sense the "configuration" is persisted in the code of the notebook.  For example you can provide column widths via the column_definition argument when you call show_grid.  But it sounds like you want to be able to configure the grid using the GUI control and then click "save" to save the config.
That would be a cool feature to add...not sure exactly how it would work to be honest but maybe we could store it in the metadata of the cell somehow. It would have to be stored in the notebook file because otherwise the configuration would be lost when you re-run the notebook. I'll have to think about it some more but thanks for the suggestion.


Update ExceptionHandler to print message about requiring API AM

For orgs without this feature, this adds a more user friendly error to explain what happened.

Example output:
$okta start spring-boot

Your Okta Org is missing a feature required to use the Okta CLI: API Access Management
You can create a free Okta developer account that has this feature at: https://developer.okta.com/signup/

An error occurred if you need more detail use the '--verbose' option

HTTP 401, Okta E0000015 (You do not have permission to access the feature you are requesting), ErrorId oaeEflrfjwDS-eBtzeZruTspA


readme: bump rocket version to 0.3.1

This updates the recommended rocket install to the latest release.  Thanks!

Thank you!


guard / do used before monad?

Hi Phil
Thanks for writing the book!
I have been reading through for a while now and just thought I'd mention.  I had a bit of confusion with the introduction of do notation so early. The behavior is really pretty different from simple procedural statements.  At one point early in the book you use guard to "return" and from a block and it just really threw me as to how the language was enabling that.   Of course I wouldn't know until we got through Monads/Transformers, so it is ultimately resolved, but its a good few chapter in between and the confusion really burdened my learning for a while there.
Though you mention it repeatedly as optional, etc, I would also love to slow down on the $, <<<, etc. infix notations as long as humanly possible.  Using the infix forms map would be fine, but in trying to pick up new concepts, I already had enough on my plate. With no words for the symbols it made interpreting the code much harder.  No doubt it's preferable in production code, and I'm sure its utterly familiar to the experienced purescript coder, but remember that it is definitely part of what makes this harder for people to learn at no real value (IMO) at that point in their passage.
Thanks Again
Alex Mouton

Are you referring to section 4.11?

Hi Phil. Yes thats it. 4.10 and 4.11
I appreciate that these are very useful for writing real code, but that they operated by magic for me until somewhere between chapters 7 and 11.


PL <IP_ADDRESS> not signing in and not populating setting on screensettings

same thing still.

after deleting, reinstalling it is working. I hope I do not have to reinstall everytime.


[packagers] Migrate tap, bucket, and catalog to repository

Packagers such as Homebrew, Chocolatey, Scoop, and JBang use their own domain specific name (tap, bucket, catalog) for a repository that hosts their formulae/manifests. Other packagers use repository.
Let all packagers use the same term: repository.

🎉 This issue has been resolved in v1.8.0 (Release Notes)


Downloaded tooltipster did not contain /tooltipster.css

Downloaded tooltipster did not contain /tooltipster.css  or jquery.tooltipster.min.js
Ok, is not a problem to rename - but maybe i have rename wrong files - tooltipster leaves class .tolltip and add .toltipstered , so hides all content totally... Asp mvc .net core 6

solved - Asp mvc .net core 6 have class tooltip in his css. But u need to fix lib namings)


Fix a bug in capture with match

When performing "EndText" matching, it is necessary to check whether
the current position matches the input text length.However, when
capturing a submatch using the matching result of DFA, "EndText" matching
wasn't actually performed correctly because the input text is sliced.
By applying this patch we specify the match end position by the argument "end",
not using slice when performing capture with the matching result of DFA.
Fixes rust-lang#557

I formatted the code.

Thank you for reviewing and merging!


How do I configure the backend to point to the frontend anywhere but Amazon?

 Issue by loque
Friday Aug 18, 2017 at 17:10 GMT
Originally opened as https://github.com/catalogueglobal/datatools-server/issues/31

Am I required to serve the frontend from Amazon's S3 Bucket?
I know I can avoid using S3 for the gtfs cache configuring application.data.use_s3_storage to false at datatools-server:server.yml. But when it comes to the assets I only found application.assets_bucket and no way to configure a local path instead.

 Comment by zbouziane
Tuesday Aug 22, 2017 at 12:42 GMT

This should be an enhancement:

In file datatools-server/src/main/resources/public/index.html :

replace "https://${S3BUCKET}.s3.amazonaws.com/dist/index.css"  by "${INDEX_CSS}"
and replace "https://${S3BUCKET}.s3.amazonaws.com/dist/index.js" by "${INDEX_JS}"

In file  datatools-server/src/main/java/com/conveyal/datatools/manager/DataManager.java replace
String  index = IOUtils.toString(stream).replace("${S3BUCKET}", getConfigPropertyAsText("application.assets_bucket"));
by
String index = IOUtils.toString(stream).replace("${INDEX_CSS}", getConfigPropertyAsText("application.index_css")).replace("${INDEX_JS}", getConfigPropertyAsText("application.index_js"));
in configuration file replace assets_bucket by index_css and index_js and give them the rigth values (resources for front end index.js and index.css generated in the frontend app datatools-ui)

 Comment by loque
Wednesday Aug 23, 2017 at 01:01 GMT

Excellent, that worked. Thank you!


Syntax highlighting example in Readme not working

Hello,
I'm trying to get syntax highlighting working, but I'm having trouble.
Here is my irb output:
› irb
>> require 'html/pipeline'
=> true
>> require 'linguist'
=> true
>> require 'pygments'
=> false
>> pipeline = HTML::Pipeline.new [
?>       HTML::Pipeline::MarkdownFilter,
?>       HTML::Pipeline::SyntaxHighlightFilter
>>   ]
=> #
>> result = pipeline.call <<-CODE
This is *great*:

    some_code(:first)

CODE
=> {:output=>#<Nokogiri::HTML::DocumentFragment:0x3fc3958db18c name="#document-fragment" children=[#<Nokogiri::XML::Element:0x3fc3958dae1c name="p" children=[#<Nokogiri::XML::Text:0x3fc3958dff84 "This is ">, #<Nokogiri::XML::Element:0x3fc3958dfe94 name="em" children=[#<Nokogiri::XML::Text:0x3fc3958dfc00 "great">]>, #<Nokogiri::XML::Text:0x3fc3958dfa48 ":">]>, #<Nokogiri::XML::Text:0x3fc3958dada4 "\n\n">, #<Nokogiri::XML::Element:0x3fc3958dad2c name="pre" children=[#<Nokogiri::XML::Element:0x3fc3958df520 name="code" children=[#<Nokogiri::XML::Text:0x3fc3958df28c "some_code(:first)\n">]>]>]>}
>> result[:output].to_s
=> "
This is great:
\n\n
some_code(:first)\n
"

The Readme says this should output:

This is great:

some_code(:first)

This is probably me just not understanding how this works, but I can't figure it out. Any help would be greatly appreciated. Thanks!
Ruby version: 2.0.0
html-pipeline version: 1.9.0
github/linguist version: 2.10.15
pygments.rb version: 0.6.0

Hello @bradly!
Your setup is working. Just the example in README.md is stale. I am going to update it.
When you use fenced code blocks and specify a language then you will have a
 with class of highlight and many span elements wrap your code.
Thanks for reporting! :blush:


[iPhone 7]No sound on RTMP stream

I'm following the iOS example in your project and my streams don't have any audio. Should audio be working?

I tested now. Is your device iPhone7 (Plus) too?

MacbookPro 2016 -> works fine.
iPhone7 Plus (iOS10.1) -> no sound.
iPad pro 9.7 -> works fine.

@vantassell
Thank u. Feed back.

@shogo4405
iPhone7 Plus... mSampleRate: 16000.000000
CMSampleBuffer 0x10123f460 retainCount: 10 allocator: 0x1ab69ebb8
	invalid = NO
	dataReady = YES
	makeDataReadyCallback = 0x0
	makeDataReadyRefcon = 0x0
	formatDescription = <CMAudioFormatDescription 0x170114490 [0x1ab69ebb8]> {
	mediaType:'soun'
	mediaSubType:'lpcm'
	mediaSpecific: {
		ASBD: {
			mSampleRate: 16000.000000
			mFormatID: 'lpcm'
			mFormatFlags: 0xc
			mBytesPerPacket: 2
			mFramesPerPacket: 1
			mBytesPerFrame: 2
			mChannelsPerFrame: 1
			mBitsPerChannel: 16 	}
		cookie: {(null)}
		ACL: {(null)}
		FormatList Array: {(null)}
	}
	extensions: {(null)}
}
	sbufToTrackReadiness = 0x0
	numSamples = 372
	sampleTimingArray[1] = {
		{PTS = {99138762432791/1000000000 = 99138.762}, DTS = {INVALID}, duration = {1/16000 = 0.000}},
	}
	sampleSizeArray[1] = {
		sampleSize = 2,
	}
	dataBuffer = 0x1741158d0

I tested today(2017/01/16).
iPhone 7 Plus 10.1 works fine. Why? :(

I understand. In my case, iPhone 7 Plus 10.1 with Bluetooth Sound device(SONY/MDR-EX31BN)
AACEncoder
let status:OSStatus = AudioConverterFillComplexBuffer(
print(status) // 560226676 -> kAudioCodecUnsupportedFormatError

@vantassell
How about you? Are u using an AirPods or other bluetooth sound device?


DateTime Kind and PostgreSQL

Version
2.12.0
Details

When I send an http request with datetime filter in format 2023-11-14T14:36:15.615Z, Gridify parses this value into the Unspecified Kind format. To work with PostgresSQL.EFCore, I need use the UTC Kind format.
Let's say I wrote my own gridify mapper and am parsing values into the kind format I need (UTC). But if in the database model the datetime property is a nullable datetime, then it is converted in BaseQueryBuilder.cs into an unspecified datetime type. Because GetType from an object returns a nested type, and the type inside the expression is the property type from the database model. This is a big problem. I suggest adding custom processing on line 173 for Nullable<DateTime> properties.

Steps to reproduce

Add PostgreSQL Database Context
Create nullable DateTime property in database model
Send Gridify query with DateTime format Kind = UTC
LINQ query will be generated with another DateTime Kind

I don't believe your problem is particularly related to PostgreSQL or Nullable types. This behavior is consistent with regular expressions as well. However, without an example, I might be mistaken—if so, please let me know.
It appears you're using the DateTime class in your model. In this scenario, you need to convert the values manually because DateTime does not inherently support time zones. For instance, if you have a model with a NormalDateTime property like this:
class TestModel
{
	public DateTime? NormalDateTime { get; set; }
	public DateTimeOffset? DateTimeOffset { get; set; }
}

The generated expression for DateTime differs from DateTimeOffset because DateTime does not account for the time zone:
var dateTimeString = "2023-11-14T14:36:15.615Z";

new QueryBuilder<TestModel>()
	.AddCondition($"NormalDateTime={dateTimeString}")
	.BuildFilteringExpression()
	.ToString()
	.Dump();
// NormalDateTime expression:  __TestModel => (__TestModel.NormalDateTime == 14/11/2023 15:36:15)

new QueryBuilder<TestModel>()
	.AddCondition($"DateTimeOffset={dateTimeString}")
	.BuildFilteringExpression()
	.ToString()
	.Dump();
// DateTimeOffset expression: __TestModel => (__TestModel.DateTimeOffset == 14/11/2023 14:36:15 +00:00)

When DateTime is parsed from a string, it typically results in DateTimeKind.Unspecified unless explicitly set otherwise. If you're dealing with UTC dates, could updating your model to use DateTimeOffset be a solution?

@alirezanet Thank you for your response!
I changed the types in my models to DateTimeOffset and that really helped. I no longer get the error "Cannot write DateTime with Kind=Unspecified to PostgreSQL type 'timestamp with time zone',".
Now I will try to understand in my free time what needs to be used in the EFCore+NpgSql models - DateTime or DateTimeOffset. I always used the regular DateTime and didn’t think about DateTimeOffset.
But I want you to know that when the database model has the DateTime? property, then on line 180 in this file a type conversion occurs, in which the Kind indication is lost (Conversion from DateTime(parsed value from HTTP request) to DateTime? (because DB model is nullable DateTime) leads to DateTimeKind.Unspecified). Now I'm not sure if this is a problem because I think I've been using DateTime incorrectly in EFCore and Postgres my whole life.
Thanks for your help, your library is incredibly cool. I think that this issue can be closed.

It seems quite difficult to pass "plus" through the query parameter

So, DateTimeOffset didn't work for me, so I got out of the problem like this:
// type fixer, line 166, file BaseQueryBuilder.cs
if (value is not null && (body.Type != value.GetType() && Nullable.GetUnderlyingType(body.Type) != value.GetType()))

(file)
I have a custom mapping to parse and convert the datetime filter values to DateTimeKind.Utc:
private static IGridifyMapper<TItem> AddDatetimeMappings<TItem>(this IGridifyMapper<TItem> mappings)
{
    Type itemType = typeof(TItem);
    var props = itemType.GetProperties(BindingFlags.Public | BindingFlags.Instance)
        .Where(x => x.PropertyType == typeof(DateTime) || x.PropertyType == typeof(DateTime?));
    foreach (var property in props)
    {
        mappings.AddMap(property.Name, p => DateTimeHelpers.ParseDateTime(p));
    }
    return mappings;
}

But on the line 166, Gridify code converts DateTime to DateTime? and unfortunately, this is standard unpleasant behavior of .NET, which resets Kind to Unspecified upon conversion.
In this case, I skip the conversion from type T to type Nullable<T>. I don’t know if you need such a correction, but I’ll keep this edit in my code, it helped me.

@alirezanet Thank you for your response
Code sample:
// Source string
string dateTimeStringUtc = "2023-11-14T14:36:15.615Z";

// Like your mapping solution 'mappings.AddMap("dt", q => q.NormalDateTime, value => DateTime.Parse(value, null, DateTimeStyles.AdjustToUniversal))'
DateTime dt1 = DateTime.Parse(dateTimeStringUtc, null, DateTimeStyles.AdjustToUniversal);
Console.WriteLine("Parsed value: {0}, DateTimeKind: {1}", dt1.ToString("O"), dt1.Kind);

// It is the same action such as in https://github.com/alirezanet/Gridify/blob/a90ea4199100299164f34ac71ae49610509f2423/src/Gridify/QueryBuilders/BaseQueryBuilder.cs#L180
var converter = TypeDescriptor.GetConverter(dt1.GetType());
DateTime converted = (DateTime)converter.ConvertFromString(dateTimeStringUtc.ToString())!;
Console.WriteLine("Converted value: {0}, DateTimeKind: {1}", converted.ToString("O"), converted.Kind);

Output:
Parsed value: 2023-11-14T14:36:15.6150000Z, DateTimeKind: Utc
Converted value: 2023-11-14T08:36:15.6150000-06:00, DateTimeKind: Local

You can see that DateTimeKind.Utc was lost after convertation - it was UTC before

Hi @BigMakCode,
Thank you for the feedback, you were right. this issue led to a huge improvement to the type fixer in Gridify, from the next version if the types are the same (when we use a mapper convertor) we can safely skip the type fixer.
Soon, I'll release a new version including this fix.

Please try version v2.13.0, I believe this release can solve the issue

@alirezanet Hello! It works:

Thank you very much for this fix! 🎉 You are the best 😊


feat: module devEx improvements

Create init & deInit data.
Providing defaults
Don't make end user encode + decode
tsdoc examples

When a user calls:
nexusClient.extend(...),
Then under the hood of the relevant actions (smartSessionValidatorActions, ownableValidatorActions) we should set the activeModule on client.account under the hood.

You can check if the active module is not the correct address (as the user may have customised it), and if it is not then set it to the relevant module using defaults.

getters and setters aren’t necessary on objects because you can set them directly. They’re only relevant when private fields are involved (using classes)
instead of: nexusClient.setActiveValidation(module)  you can simply: nexusClient.activeValidationModule = module
And instead of nexuslient.getActiveValidationModule() you can simply call: nexusClient.activeValidationModule


Missing usage of az-cli

This page is missing a tutorial on how to create SQL VM by using az cli commands.

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

ID: 0bc65042-b759-8d79-dae9-1f519eb8c061
Version Independent ID: 1ef8390e-c73d-1ae1-a144-13d226de7e06
Content: Create SQL Server on a Windows virtual machine in the Azure portal - SQL Server on Azure VM
Content Source: articles/azure-sql/virtual-machines/windows/sql-vm-create-portal-quickstart.md
Service: virtual-machines-sql
Sub-service: deployment
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

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

@microkost Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@MashaMSFT Can you please check and add your comments on this doc update request as applicable

Hi @microkost , thanks for your feedback! I agree that is valuable content to add. I have created a back log item to add this information, and we're tracking it internally (1820636).
I'll close out this Git Issue for the time being but will update it once the content has been published. Please feel free to comment should you need anything further in the meantime.
Thanks again for reaching out and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


Removing Avatar is not possible

Please describe the problem you are having in as much detail as possible:
It is not possible to remove the bot's avatar with discord.js.
The Discord API technically allows that by sending just the username and an empty string as the avatar to /users/@me. Because of this line (in master) however, the avatar will always default to the set avatar when trying to use .setAvatar('').
I am willing to submit a PR request for this. Shall I create a new method .removeAvatar() or shall I modify the edit function to work properly with empty avatars? I'd like to see this functionality added in version 11.1.0 as well, so would it be ok if I submit a PR for master and one for 11.1-dev, or will you not add any new functionality there?
Further details:

discord.js version: 11.1.0
Priority this issue should have – please be realistic and elaborate if possible: (Very) Low

[ ] I have also tested the issue on latest master, commit hash:

I feel like this should behave the same way setGame does, when passing null it should reset your avatar.
Adding a new method for it seems pointless imo.


Next/latest non-vulnerable version entries are missing from the public Package details page

I've just begun exploring the updated public VCIO inter alia to see what the recently-deduped PURL data looks like, and I see that in the Package details page, there are no longer entries for Next non-vulnerable version or Latest non-vulnerable version.  No idea why or what happened.  Did we decide to remove those?  I did recently see a PR to do some sort of "fix" on the Package details UI -- is that related?  (https://github.com/nexB/vulnerablecode/pull/1384)
In a search for, e.g<EMAIL_ADDRESS>compare the current public UI

with my local version (using the 1079-create-suse-oval-importer branch for the recently completed SUSE OVAL Importer PR -- my local DB does not yet reflect the revised DB structure and content, which likely explains why there are many empty cells in the Fixed by column on my local instance):

@johnmhoran please check https://public.vulnerablecode.io/packages/pkg:composer/microweber/microweber<EMAIL_ADDRESS>and let us know

The next/latest non-vulnerable version entries are visible again; and the way we display the data when the Package has 0 affecting vulnerabilities looks great as well.  Thank you @TG1999 .  👍

Looks like this issue was resolved shortly after I opened it back in January, and I'm belatedly closing it now.  Thank you @TG1999 .


Need to work this Google Nearby Feature Without Internet and wifi

"react": "16.11.0",
"react-native": "0.62.2",
"react-native-google-nearby-messages": latest
My functionality is working when internet connection available, but without internet, it is not working.
I write down those codes in react native. Now I have two iPhones.
So please tell me how this SDK will be work without the internet.

@shankar101 could you provide more details? are you seeing any error messages?

I am using the example code, but nothing I found nearby devices. Anyone can help me with this.
Here is my code...
import React, { useState, useCallback, useEffect } from 'react';
import { StyleSheet, Text, View, Alert,TouchableOpacity } from 'react-native';
import {
connect,
publish,
subscribe,
checkBluetoothPermission,
checkBluetoothAvailability,
useNearbyErrorCallback,
disconnect,
} from 'react-native-google-nearby-messages';
import { getDeviceName } from 'react-native-device-info';
const API_KEY = 'AIzaSyDM3a74ijDL_rToQjd6uiT4C2K-NAFopmQ';
export default function LoginScreen() {
const [nearbyMessage, setNearbyMessage] = useState('');
useNearbyErrorCallback(
useCallback((kind, message) => {
Alert.alert(kind, message);
}, []),
);
const _connect = useCallback(async () => {
console.log('Connecting...');
await connect({
apiKey: API_KEY,
discoveryModes: ['broadcast', 'scan'],
discoveryMediums: ['ble'],
});
console.log('Connected!');
return () => disconnect();
}, []);
const _publish = useCallback(async () => {
//const deviceName = await getDeviceName();
console.log(Publishing Hello world...);
await publish("Hello World");
console.log(Published Hello world!);
}, []);
const _subscribe = useCallback(async () => {
alert('Subscribing........');
await subscribe(
(m) => {
//setNearbyMessage(m);
alert(Found: ${JSON.stringify(m)});
},
(m) => {
//setNearbyMessage('');
alert(Lost: ${JSON.stringify(m)});
},
alert('nnnnnn')
);
alert('Subscribed!');
}, []);
const _checkPermissions = useCallback(async () => {
const permission = await checkBluetoothPermission();
const available = await checkBluetoothAvailability();
Alert.alert(
'Bluetooth Permissions:',
Granted: ${permission}, Available: ${available},
);
}, []);
useEffect(() => {
const start = async () => {
try {
await _checkPermissions();
await _connect();
await _subscribe();
await _publish();

} catch (e) {
Alert.alert(
'Unknown error occured while connecting!',
JSON.stringify(e.message ?? e),
);
}
};
start();
return () => disconnect();
}, [_connect, _subscribe, _publish, _checkPermissions]);
const onPress = useCallback(async () => {
alert('h')
await _publish();
}, []);
//const onPress = () => setCount(prevCount => prevCount + 1);
return (
☆NewGoogleNearbyMessages example☆
Nearby Message:
{nearbyMessage}

);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
});
@mrousavy
that is my code.
I am able to send msg through google nearby. Problem is I want to send data without internet.

@mrousavy How will I send data without internet using google nearby, Please help me once

To send messages you need WiFi/Bluetooth. Please read this for more info: https://developers.google.com/nearby/messages/overview

So can I send msg-type of data using only Bluetooth and not internet connection?
Or the Internet is necessary for this.
My implementation complete, but when I have an internet connection then I rcv my sending data. But if in my mobile internet off and Bluetooth paired then no data coming.
So can you tell me clearly?
I am in big trouble.

My requirement is I want to send and rcv data in Flight. In-Flight there have no internet but Bluetooth present.
Please help me.

As far as I know, you don't need an internet connection. If you only need Android support, check out Google Nearby Connections instead of Google Nearby Messages.
If you tested your app and it always works with internet, and never works without, then I guess you're out of luck. Try some bluetooth only library

Actually I am trying to do this in iOS

Then look into the CoreBluetooth APIs, Google Nearby Messages requires an internet connection to work.


Only using half CPU

For some reason, this caps out at 50% CPU usage for me. Does anyone know what I can change so it uses my full CPU?

Can you provide more details about your environment, please?
Which HW, which OS, which version of OpenVINO are you using? Are you within a VM, a Docker container?
What do you mean with "half of the CPU"?
Do you count HyperThreading in? Or considering only physical CPU-cores?

I'm running on ArchLinux. Ryzen 5900X, 128GB DDR4, NVMe SSD. Honestly have no clue what version of OpenVINO, I just followed instructions from this repo.
When I say half of my CPU used, it seems to use exactly half of the cores. 12 cores are maxed to 100%, and the other 12 cores are idling. Overall CPU usage is at 50% only.
What's also weird is that even when I run 2 instances of the model at once, it still only uses about half my CPU.


Upgrade UI - Screen Confirmations

Design: https://www.figma.com/file/2nYhrm0rlJtfJoMwrT51Ep/SubWallet-Apps?node-id=1365-132089&t=NrJav8Bnxa3JrSBN-4

[x] Authorize
[x] Update metadata
[x] Add network
[x] Add token
[x] Sign message
[x] Send transaction from dApp
[ ] Send transaction from Extension

[ ] Send token
[ ] Send NFT
[ ] Staking

[ ] Stake
[ ] UnStake
[ ] Withdraw
[ ] Compound
[ ] Claim

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1044-merge-build-0.8.1-1676868246779.zip
Please check:

[ ] Incorrect padding

[ ] Disable button Connect if not select account

[ ] Incorrect logo's size

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-build-0.8.1-1677556157305.zip

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1087-merge-build-0.8.1-1678951713211.zip

[ ] Do not show the add network screen when add from dApp

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1090-merge-build-0.8.1-1679287685306.zip
Please check:

[ ] Add the "View detail" button & add the View detail screen
[ ] Add the Back button on the Screen Confirmation

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1092-merge-build-0.8.1-1679311924409.zip

[ ] Update UI in case Signature request in case account is not supported

Design: https://www.figma.com/file/2nYhrm0rlJtfJoMwrT51Ep/SubWallet-Apps?node-id=1331-155628&t=5WDOgvTuWg59SDI2-4


Networking no longer working

Rancher Version:
v0.56.1 and v0.59.1
Docker Version:
1.9.1 and 1.10.2
OS: Ubuntu
Cloud: AWS
Steps to Reproduce:
Create two hosts in rancher. And run a service such that a container exists on each host, with port forwarding on a specific port such as 30001.
Try to telnet to Container B (which lives on host B) from Container A (which lives on host A) by IP address.
Results:
Container B can not find Container A. IP isn't reachable. Usually, telnet just hangs on "trying "
I can however telnet from Container B to Host A, via the forwarded port. Therefor all connection seems to be fine. I even quadruple checked that the hosts can talk to eachother via ALL protocols and ports (via AWS Security Groups), so firewall shouldn't be an issue.
Expected:
Containers should be able to telnet eachother.
This is a regression. Everything was working correctly in v.0.56.1 then you guys released 0.59 and it continued to work for me because my network agents were still running 0.56.1 stuff. I never updated to 0.59 and as soon as I introduced a new host (thus a new network agent container) it all broke. My guess is that it downloaded the new network stuff for 0.59, even without me deciding to upgrade.
Out of desperation I updated to v0.59.1 and still things were not working. I also updated to the latest docker 1.10.2, and still not working. I have also tried to downgrade again and that doesn't work, so now I am stuck and none of my hosts can talk to eachother.

@nhumrich Correct me if I'm wrong but you are just saying that networking 100% doesn't work?  If you have a running multi host setup in which networking does not work can you please share the /var/log/rancher-net.log and /var/log/charon.log from the network agent running on both hosts.
If this is an upgraded setup I would recommend that you delete all network agents from all hosts and then deploy something (any container) and the network agents will recreate.
Finally, there is a known issue around GCM mode for ipsec encryption getting set wrong.  In the network agent can you do a ps -ef and see if rancher-net is launched with --gcm=false or --gcm-true.

Thanks for the followup. Looks like GCM is being used:
/var/lib/cattle/bin/rancher-net --log /var/log/rancher-net.log -f /var /lib/cattle/etc/cattle/ipsec/config.json -c /var/lib/cattle/etc/cattle/ipsec -i <IP_ADDRESS>/16 --pid-file /var/run/ranc her-net.pid --gcm=true
As far as the files, here are the file for hostA:
https://gist.github.com/nhumrich/e6188aca24b174b7e748
https://gist.github.com/nhumrich/93a3f2f0c101c2ad2182
And here are the ones for hostB:
https://gist.github.com/nhumrich/37e3eb0bbe88f7ae817b
https://gist.github.com/nhumrich/e8a698b3a63c657cf23a
Please note that I had HostA running by itself for a while, then I added host B. If I need to create both at the same time, I can.
As far as being an "upgraded setup", whenever I upgrade, I create brand new hosts, so that shouldn't be an issue. I upgraded to 59.1, then created two new hosts, and deleted the old ones.

Is there a workaround or anything I can do in the meantime to get rancher working again?

@nhumrich between hosts A and B I can see its sending packets to port 500 to start the IPSec handshake.  It doesn't appear that either host is receiving them though.  I will dig further into the logs but are you sure that your security group settings allow traffic in on udp ports 500 and 4500.
Also note that traffic is being sent to the public IP of the instances, not the private instance IP.

I am sure they should be able to access each other on every port.
One reason I know that is, everything was working OK before, and I haven't changed any firewall settings on aws.
Why would they use the public IP address instead of the private? Not sure how to change that, but it shouldn't matter.
I will try to open 500 and 4500 to the public and see if that helps.

Ok so I opened 500 and 4500 to the public, and everything worked. However this is not ideal. The issue is probably related to the fact that the public IP is being used.
Any idea why the public IP's are being used instead of the internal? How could I get the network agents to use the internal ip's?

What IPs are shown on the hosts within Rancher server?
If you want Rancher to use the private IP, you'd need to set it when launching your rancher/agent.
http://docs.rancher.com/rancher/rancher-ui/infrastructure/hosts/custom/#vms-with-private-and-public-ip-addresses

The public IP shows, but its always been that way. Is there anything that has changed that would change how the networking would work with public ip's and whatnot?

@nhumrich Can you please retest w/ 1.0 once released (in less than 24 hours).

@ibuildthecloud Same behaviour. Telling rancher to use the internal IP's seems to work. Just not sure why the public ip's were working before, or why they wouldn't work in general. Typically AWS doesn't block based on public/private ip's but maybe I have that wrong.

@nhumrich I just played with the security groups on AWS. The behavior I am seeing is it all traffic is blocked except those specified in the security group. To enable the private IP to work with I had to add the private IP subnet in the security group. You were able to see the hosts in the Rancher UI because you would have specified port 8080 in the security group and the initial connection from the agent to the server is on this port.
Solution for your problem: Add the ports 500/4500 or whatever you need to the security group and you don't have to specify <IP_ADDRESS> but just the subnet of your hosts.

I've just been using the private ip's when registering with rancher and that seams to work.


Latest lxml cannot retrieve AttributeValues

Latest lxml (4.9.2) seems to have broken iterchildren, and the iteration linked below receives an empty attributes list.
I downgraded to lxml==4.6.5 and it works. I suggest updating the setup install_requires
https://github.com/SAML-Toolkits/python3-saml/blob/538622df70b45520f60e7fb6b569aa00be54f504/src/onelogin/saml2/response.py#L597

I get
onelogin.saml2.errors.OneLogin_Saml2_Error: Invalid dict settings: sp_cert_not_found_and_required

when calling OneLogin_Saml2_Settings after updating from 1.14.0 to 1.15.0. Is it related?

I did not have any issues with certs or the actual OneLogin code, just that function call (iterchildren) that was broken by the lxml library and could not retrieve the attributes anymore. Same python3-saml library, older lxml library and everything works. There are other open issues on this project related to that broken library. Seems like 'lxml>=4.6.5, !=4.7.0' is not quite right.

@bitti you get that error when you are not providing a cert on the SP settings, but you enabled any flag related to sign AuthNrequest, LogoutRequest, LogoutResponse, Metadatra at the advanced settings.
@acrividenco what version of python3-saml are you using?
are you using encrypted SAML Assertions?

@pitbulk thanks for the hint. But why should this surface through an update to 1.15.0 then? I can't see changes in the corresponding code since years. I also don't see that we set any "advanced settings". Did some defaults change?

In the latest version of python3-saml I removed some restrictions on the version of the lxml dependence.
The previous version fixed lxml to an specific version, but it seems lxml was vulnersble flr such version.

I know, that's why I was wondering if it was related to the lxml update. Apparently not. The only other change which may be related seems to be #338, but that only seems to be related to IdP settings, not sp settings, so I'm at a loss here.

@bitti are you sure you get "Invalid dict settings: sp_cert_not_found_and_required" only on 1.15 and not in 1.14?
That error is raised here
Maybe you can compare the condition in one and the other version, to check if there are discrepancies.

@pitbulk: Ok, I just set a debug breakpoint at line 486, once for version 1.14.0 and once for 1.15.0. The decisive difference seems to be that the authn_sign flag is True in the newer version (all other flags are still False). When looking at the security dictionary, I can see that key 'authnRequestsSigned' is mapped to the string 'false':
(Pdb) security
{'wantAttributeStatement': True, 'authnRequestsSigned': 'false'}

It looks like this should be False instead, since any nonempty string evaluates to True. The same Dictionary doesn't have an entry for 'authnRequestsSigned' at all when using the old version:
(Pdb) security
{'wantAttributeStatement': True}

Should I open a separate ticket for this or do you already have an idea what the problem could be?

The culprit is indeed #338. The problem goes away when I revert line https://github.com/SAML-Toolkits/python3-saml/pull/338/files#diff-27e3b11cb40e52fdab3ec806451468c5d1d347b6d43d75ed55f08b15b6831ed2R151. entity_descriptor_node.get('WantAuthnRequestsSigned', None) evaluates to None and idp_descriptor_node.get('WantAuthnRequestsSigned') to 'false' in my case. Maybe the letter construct should be replaced by idp_descriptor_node.get('WantAuthnRequestsSigned') == 'true'?

@bitti , can you check https://github.com/SAML-Toolkits/python3-saml/pull/349?

I'm seeing cases where having a encrypted response is giving me empty attributes too - is that related ?
I notice the original issue was for attributes in saml response but the latest PR is in the IDP-metadata area and hence may not be related ?

I have created a reproducible test case to show this issue: https://github.com/SAML-Toolkits/python3-saml/pull/370
I can reproduce this even with latest master branch and latest lxml:
$ venv/bin/pip install lxml
...
Successfully installed lxml-4.9.3
$ venv/bin/pytest -k testGetEncryptedAttributes
...
FAILED tests/src/OneLogin/saml2_tests/response_test.py::OneLogin_Saml2_Response_Test::testGetEncryptedAttributes - AssertionError: {'uid': ['smartin'], 'mail'<EMAIL_ADDRESS>[87 chars]in']} != {'uid': []...

Trying with older lxml:
$ venv/bin/pip uninstall lxml -y
$ venv/bin/pip install 'lxml<4.7'
$ venv/bin/pytest -k testGetEncryptedAttributes
...
tests/src/OneLogin/saml2_tests/response_test.py::OneLogin_Saml2_Response_Test::testGetEncryptedAttributes PASSED [100%]
...

Yes, this is exactly the issue. The response I had was encrypted. I didn't pay too much attention lately because I used the workaround mentioned in the beginning.

I see @pitbulk would be great to get this fixed and merged !
As of now, I am doing:
from onelogin.saml2.response import OneLogin_Saml2_Response

class MyResponse(OneLogin_Saml2_Response):
    def _decrypt_assertion(self, xml):
        xml = super()._decrypt_assertion(xml)
        xml = copy.deepcopy(xml)
        return xml

auth = OneLogin_Saml2_Auth(request_data, settings['SAML_SETTINGS'])
auth.response_class = MyResponse


Limit exponent of intl mathematical value

In order to support implementations that limit the number of exponent digits or significant digits, we should put some limit on the intl mathematical values. Consider the ICU4X limits as a model.

My proposal is to limit the strings as follows:

Maximum number of significant digits: 100
Minimum exponent: -1000
Maximum exponent: 1000

Semantics for overflow:

If there are too many significant digits, truncate to 100 significant digits
If the number is greater than or equal to 100e1000, make it Infinity
If the number is less than or equal to -100e1000, make it -Infinity
If the number is smaller in magnitude than 1e-1000, make it 0 or -0 depending on the sign

This is intended to be consistent with Number semantics, but with larger limits.

Why would mathematical values have any limits? They're math values.

@sffc Could you offer the background of this issue?
My understanding is that ICU4C can have very large amount of exponent as a decimal by using string.
What is the reason of not doing it in ICU4X too?

CC @FrankYFTang
The V8 implementation requires an intermediate type to represent the intl mathematical value because it is used for certain operations such as < and == for the purposes of range formatting. There has been pushback to making it a string with unbounded length for both the mantissa and the exponent. There is a desire to use a more compact representation for one or both pieces.
The ICU4X intermediate representation, FixedDecimal, allows for values with up to u16::MAX significant digits and exponents ranging from i16::MIN to i16::MAX.

2022-05-19 discussion: https://github.com/tc39/ecma402/blob/master/meetings/notes-2022-05-19.md#limit-exponent-of-intl-mathematical-value-98
Conclusion: Proceed with adding a limit upon parsing the string. Internally we will still use a mathematical value; this is only on the string parsing step. The limit should be set in a way that is implementable to check.

@romulocintra Please see the meeting minutes. It looks like we agreed on +/- 10K.

@romulocintra Do you plan to write the spec for this? It would be nice to present it at this week's TC39 meeting so that we can have a clean Stage 4 in January.


As a designer I would like to see an example of what the menu should look like that appears below the accessibility icon

Especially the menu that appears below the accessibility icon (to show the users how they can access usability functionality (in the browser / switching between compact/comfortable or light/dark).)

This has was solved here


A word about short-circuit evaluation

A little about the stylistic usage of this functionality is mentioned in the official documentation, but I would like to see this guide's position on what and when is preferable:
if ! <cond> <statement> end

or
<cond> || <statement>

As a first pass I think:
<cond> || <statement>

is fine if it's within the line length and the statement isn't a compound statement (e.g. (...; ...; ...)). In all other scenarios:
if !<cond>
    <statement>
end

should be preferred.

Sometimes I think it is also fine for compoint statements if wraping them in an if would lead to long indent.
Mostly I am thinking of testsets.
Writing something like this testset with a giant if block around it would not be easier to read, it would just double the arond of indentation needed

That's a good counter example. There are always exceptions to rules and that would be one here. Generally though I think the first pass I outlined is what we should promote as that's generally what should be used.


CSI Support for Debian 11.3 / Kubetenes 1.24.4 & PowerFlex 4.0 / PowerStore 3.2 [FEATURE]:

Describe the solution you'd like
Would require support for Upstream k8s 1.24.4 and the Debian 11.3 Bullseye, running on the cluster / worker nodes, for the following Dell storage arrays:
Dell PowerFlex (4.0.1)
Dell PowerStore (<IP_ADDRESS>-1860013)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Done here https://github.com/dell/csm-docs/pull/942 & there https://github.com/dell/csm/issues/1079


Setup find_installed_packages to fix bootstrap instructions

Fix an issue from #449 - the bootstrap from source instructions are failing with the following error
[0.267s] ERROR:colcon.colcon_core.shell:Exception in shell extension 'sh': get_entry_points() not overridden for group 'colcon_core.shell.find_installed_packages'
Traceback (most recent call last):
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/shell/__init__.py", line 298, in get_command_environment
    return await extension.generate_command_environment(
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/shell/sh.py", line 137, in generate_command_environment
    check_dependency_availability(
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/shell/__init__.py", line 510, in check_dependency_availability
    packages_in_env = find_installed_packages_in_environment()
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/shell/__init__.py", line 552, in find_installed_packages_in_environment
    pkgs = find_installed_packages(prefix_path)
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/shell/__init__.py", line 621, in find_installed_packages
    prioritized_extensions = get_find_installed_packages_extensions()
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/shell/__init__.py", line 601, in get_find_installed_packages_extensions
    extensions = instantiate_extensions(__name__ + '.find_installed_packages')
  File "/home/sloretz/ws/colcon-from-source/src/colcon-core/colcon_core/plugin_system.py", line 36, in instantiate_extensions
    extension_types = load_entry_points(
  File "./src/colcon-core/bin/colcon", line 28, in custom_load_entry_points
    assert group_name in custom_entry_points, \
AssertionError: get_entry_points() not overridden for group 'colcon_core.shell.find_installed_packages'

I thought CI covered the bootstrap case, so I'm not sure why this wasn't caught.

@cottsay Oops, alphabetical order in c701499


Adding Admin and Score Table

Proof of admin and table creation

DB proof of admin and table creation

editing proof of table

db proof of editing


modeling a relationship between join tables

I'm not sure if the title adequately describes what I'm trying to accomplish, but here's the situation:
I have an Appointment model and an appointment has:

1 or more Pet(s)
1 or more Service(s)

I'm able to easily represent this using many to many relationships, which results in three tables:

appointment
appointment_pet (join table)
appointment_service (join table)

I now have a new requirement that requires the ability to retrieve the Service(s) that are associated with each Pet on a per-appointment basis. For example:
Appointment 1

Has 1 Pet
Has 2 Services (walk, water plants)

The Pet is associated with the walk service only. Getting all services for the Pet associated with Appointment 1 would only return walk.
My initial thought was to add a services column to the appointment_pet table that contains an array of service ids or somehow create a relationship between the two join tables, but I'm not sure this is the best approach.
Is there an optimal way to represent this sort of relationship with Bookshelf?
Appreciate the help!

@jamesdixon Is this issue obsolete?