Invalid JSON by using getAllAssets()

Invalid JSON by using getAllAssets() from rest client
Error:
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList<com.binance.api.client.domain.general.Asset> out of START_OBJECT token
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 1]

I have the same problem.

same issue

I have the same problem. Ist this Methode even supported by the Binance API anymore?
I can only find
GET /sapi/v1/margin/allAssets

It does not work for me either, though I get a different error:

com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 2]

Not working for 10 months? Seriously?!
@Adlbert
It seems to have been dropped indeed. I cannot find it in the docs either. However, there is an endpoint that is similar:

Get information of coins (available for deposit and withdraw) for user.
GET /sapi/v1/capital/config/getall

I'll try it  here tonight and tell you.
Wait a moment.


bug: panic when two sides of EqJoinPredicate have different types

Describe the bug
For a = b, we allow a and b to have different types, as long as they are castable to a more general type. This "cast" happens during evaluation of the Equal expression directly, without frontend binder inserting a cast expr.
However, this also makes HashJoin more complicated. It seems we have been assuming they are always the same type and may produce wrong result, runtime error, or even panic when they are not.
To Reproduce
-- batch: bigint works well
with a(a1) as (values (1)), b(b1) as (values (1::bigint)) select * from a, b where a1 = b1;
-- batch: decimal outputs wrong empty result
with a(a1) as (values (1)), b(b1) as (values (1::numeric)) select * from a, b where a1 = b1;
-- batch: smallint causes runtime error
with a(a1) as (values (1)), b(b1) as (values (1::numeric)) select * from a, b where a1 = b1;

-- streaming: panic
create table a(a1 int); create table b(b1 bigint); create table c(c1 smallint);
create materialized view big as select * from a, b where a1 = b1;
insert into a values (1);

Expected behavior
 a1 | b1
----+----
  1 |  1
(1 row)

Additional context

May also impact #3419. This is actually inspired by Question 2 in the issue.
PostgreSQL also allows direct cross-type comparison without cast exprs. And it is actually mixed style: sometimes it compares directly and sometimes it relies on implicit cast expr. In RW we always compare directly as of now.

Candidate solutions:

HashJoin and DynamicFilter also implement direct cross-type comparison.
Disallow direct cross-type comparison completely, and always insert implicit cast expr in frontend.
Disallow direct cross-type equality inside EqJoinPredicate. Implicit cast expr should be inserted when creating EqJoinPredicate. However, EqJoinPredicate only accepts InputRef and it would need an extra Project to do the casting. Extending EqJoinPredicate to accept ExprImpl may also complicate other things.
EqJoinPredicate (and DynamicFilter) carries the DataType that both sides should be casted to, and does the cast before using values. For example:

pub struct EqJoinPredicate {
    other_cond: Condition,

-   eq_keys: Vec<(InputRef, InputRef)>,
+   eq_keys: Vec<(InputRef, InputRef, DataType)>,

    left_cols_num: usize,
}

Seems also related: #3470

EqJoinPredicate (and DynamicFilter) carries the DataType that both sides should be casted to, and does the cast before using values.

This solution seems feasible to me for HashJoin, and we don't need to do much change.


[Feature] Support MultiSignature in default/schnorr crypto client

Description
Support MultiSignature in default/schnorr crypto client.
Using multisig, client generate only one signature for a group of users. This could improve the performance of signature validation for transactions need more than one auth_require accounts.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Brief of your solution

Modify data/acl/addrs to put all auth_require accounts in the file.
Modify data/acl/pubkeys to put all public keys of initiator + auth_require accounts in the same order as addrs file.
create multisig transation as following:

// generate transaction data
./xchain-cli multisig gen --to alice  --amount 10 --signtype multi

// sign data
./xchain-cli multisig sign --signtype multi --output my.sign
./xchain-cli multisig sign --signtype multi --keys data/testkeys/0 --output 0.sign
./xchain-cli multisig sign --signtype multi --keys data/testkeys/1 --output 1.sign

// post transaction
./xchain-cli multisig send my.sign,0.sign,1.sign --signtype multi

How Has This Been Tested?
multisig unit test and cli driven test

this PR resolves #305


Remove deb-src entry from crate-CHANNEL.list

We don't publish source packages.
Closes https://github.com/crate/crate/issues/10625

Just realized that there's also https://github.com/crate/crate-howtos/pull/253 which removes it as well. I guess this here could be closed then.


Itemset issue: tbd

Some thing related to #679 (#678) that causes an exception:

The issue occurs with validation in a radiobutton or checkbox question. The validate function takes the first radiobutton/checkbox to extract info from (path, logic), but while it's doing that the itemset is updated because the itemset query includes a reference to itself. Due to a bug, the itemset is actually changing, and if the first control disappears, this exception occurs (and validation fails).
It's likely this will never be an issue if #682 is fixed.

Bad issue report. How to reproduce. Tssk.


Simplify the tarball generating scripts

As per disscussed in issue 12364[1], since the format of git archive will
inferred from the output file and attributes are by default taken from the
.gitattributes files in the tree that is being archived, we can make the
release scripts simper by:

remove the pipe for gzip
remove the option "--worktree-attributes"

[1] https://github.com/openssl/openssl/issues/12364
Signed-off-by: Hu Keping<EMAIL_ADDRESS>
Checklist

[x] documentation is added or updated
[x] tests are added or updated

Close/reopen to kIck CLA bot

PTAL  @levitte

Updated.

Please let me know if there is anything I need to do on this PR @levitte

I'm assuming @levitte will fix up the commit message when merging ...

I'm assuming @levitte will fix up the commit message when merging ...

Yes

I'm assuming @levitte will fix up the commit message when merging ...

Yes, and thanks for pointing it out

I'll update the commit message and re-push

Commit message updated, PTAL.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged
3eb99601b148e0019905b660d344508cccfc6943 Simplify the tarball generating scripts


chore(ui): Skip ui-e2e test for Google Cloud SCC integration

Description
Problem
Test is failing on ocp-11 and ocp-13 although not gke after #9068
Solution
Temporarily skip over the weekend pending investigation about need to enter data in another field of the form.
Checklist

[ ] Investigated and inspected CI test results
[x] Edited regression tests

Testing Performed

gke-ui-e2e-tests failure

pod pending for more than 30m0s: containers have not started

/test gke-ui-e2e-tests

I will merge after retest and before Friday nightly.


Error when building examples

Error is:
could not determine kind of name for C.WasmEdge_Driver_UniTool
Was attempting to build the Fibonacci example:
https://github.com/second-state/WasmEdge-go-examples/tree/master
Running on MacOS with an ARM chip. Any thoughts on how to get the build to work?

Have you installed WasmEdge? If so, what's the version you use?

I just stumbled on the same issue.
MacOS Monterey 12.7
VERSION=0.13.4
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v $VERSION


Add grading controller

Fixes #67

Pull Request Test Coverage Report for Build 752

34 of 34 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 98.148%

Totals

Change from base Build 745:
0.5%

Covered Lines:
371

Relevant Lines:
378

💛  - Coveralls

@tuesmiddt Fixed my code according to your code review. I also re-wrote seeds.exs and seed_db/1 in my test to use list comprehension for better readibility


Fix Profile and Notifications Issue, retry unpausing if it failed.

The Profile and Notifications issue is due to removing the entire "ytd-popup-container" instead of just the adblock thing "tp-yt-paper-dialog". The unpausing retrying is because sometimes the adblock popup is removed before the video loads (and so video.paused returns false or null), by letting it retry unpausing it always ensure that the video is unpaused after removing the popup.

Oh and in some cases the path for the video is wrong (so it's also not unpaused), might be due to layout issues so it tries both paths to check if it should unpause the video


OCPBUGS-39298: manifests-gen: fix: readd missing metadata

The transport configMap metadata would get entirely overridden when setting components rather than it being additive.
This is a regression introduced by #170

cc @RadekManak

/cherry-pick release-4.17

/skip

This doesn't affect payload, only internal cli tooling, skip E2Es
/override ci/prow/e2e-aws-capi-techpreview ci/prow/e2e-aws-ovn ci/prow/e2e-aws-ovn-serial ci/prow/e2e-aws-ovn-techpreview ci/prow/e2e-azure-capi-techpreview ci/prow/e2e-gcp-capi-techpreview ci/prow/e2e-openstack-capi-techpreview ci/prow/e2e-vsphere-capi-techpreview

/lgtm

/assign @nrb

/approve


Use parent context's swagger_document

Fixes #43

Waiting on https://www.traviscistatus.com/incidents/lxq2zxskjyf1 to be resolved before merging this.


add the github button

for star/fork/contribute or simply check out the repo on github as in the nav bar before the How to use pop up

Hey Prat!  I am interested in working on this.

I am also interested in working on this :) @treblig-punisher do you mind if I take this as you just got assigned one haha? If not no problem

Hey, go ahead and tackle this Cal.  Np :D

so whom should I assign ? 🙄🤔

If Cal is still down for this, assign it to him.

Yes, thank you I would like to do it!

Okay and just to be clear, you would like the github icon on the nav bar, correct?

Okay and just to be clear, you would like the github icon on the nav bar, correct?

Yea you are right,but make sure while clicking the button it redirect to this repo as like other as 😅 also note use material style button and the GitHub icon within the button (refer for using materialized css - check out readme file )

Got it! Will get it done first thing tomorrow

please also add ur github profile into about us page | contributors for more info read the contributors.md file


Attaching navbuddy to LSP

Hello,
First of all thank you for the plugin, this is something I was looking for as it provides an excellent class and method file exploration.
I am struggling on attaching navbuddy to the LSP as whenever the file is sourced or :lua require("nvim-navbuddy").open() the following error is given:
E5108: Error executing lua ...ck/packer/start/nvim-navbuddy/lua/nvim-navbuddy/init.lua:203: attempt to get length of a nil value
stack traceback:
        ...ck/packer/start/nvim-navbuddy/lua/nvim-navbuddy/init.lua:203: in function 'request'
        ...ck/packer/start/nvim-navbuddy/lua/nvim-navbuddy/init.lua:267: in function 'open'
        [string ":lua"]:1: in main chunk

After some digging I came to realisation that this indicates that navbuddy is not attached to the LSP.
Attempts (no success):

Created navbuddy.lua file with code provided in README.md

local navbuddy = require("nvim-navbuddy")

require("lspconfig").clangd.setup {
    on_attach = function(client, bufnr)
        navbuddy.attach(client, bufnr)
    end
}

Attempted to insert navbuddy into lsp.lua config file

Following file: https://github.com/akmalsoliev/nvim/blob/main/after/plugin/lsp.lua
Line 38:
lsp.on_attach(function(client, bufnr)
  local navbuddy = require("nvim-navbuddy")
  navbuddy.attach(client, bufnr)

  local opts = {buffer = bufnr, remap = false}

  vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
  vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts)
  vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts)
  vim.keymap.set("n", "<leader>vd", function() vim.diagnostic.open_float() end, opts)
  vim.keymap.set("n", "[d", function() vim.diagnostic.goto_next() end, opts)
  vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts)
  vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts)
  vim.keymap.set("n", "<leader>vrr", function() vim.lsp.buf.references() end, opts)
  vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts)
  vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts)
end)

Neither of these changes had any effects, so I would like to ask for your guidance on what would be the way to attach navbuddy to LSP? @SmiteshP
Thanks

SOLVED:
If you're using lsp-zero as I am, then you would need to add the following code to either your init.lua or after/plugin/navbuddy.lua:
local lsp = require('lsp-zero')
local navbuddy = require("nvim-navbuddy")

lsp.preset().on_attach(
    function(client, bufnr)
        navbuddy.attach(client, bufnr)
    end
)
lsp.setup()


Commit for purchase and transfer orders

Hi, I was testing Purchase order receive and Transfer order operations yesterday (DEMO data, clear environment) - when I specified quantities and clicked Commit, D365 posted 'Product receipt' for purchase order; for transfer order - receiving document was posted.
Could you, please, check, if current article is still valid  - as it says about Ship now and Receive now quantities update only, that never happened in my testing.

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

ID: 14823d18-cf5f-6afb-4814-fa9e7fcea153
Version Independent ID: 131f4c26-346d-7052-7f9c-7a733f2047db
Content: Store inventory management - Retail | Dynamics 365
Content Source: articles/retail/work-with-store-inventory.md
Service: dynamics-365-retail
GitHub Login: @rubencdelgado
Microsoft Alias: rubendel

@OksanaKovaliova, thanks for the feedback.
@rubencdelgado, please review and update the documentation appropriately.

Previously, 'Ship now' and 'Receive now' quantities were updated and the related documents had to be posted as part of a separate process. This may have changed since I last owned this area. @hhainesms now owns the area and should confirm if current capabilities and if a change is needed to documentation.

The documentation is not accurate.  We will correct this.  When Transfer or Purchase Orders are "Committed" from POS, the receipt is posted immediately.  Receive now quantities entered in POS are used as receiving quantities in HQ as the receipt is posted.  The only area where we do not systematically post inventory processing in POS is the count journals.  Count journals are saved to HQ but require a secondary posting in HQ to finish the process.  Receipts do not require this.

@OksanaKovaliova, extensive updates have been made to this topic, which will be published on Wednesday.


TDD project

Created a class called Solver.
Create a method called factorial that takes one argument, an integer N, and returns the factorial for that number.
Factorial method only accepts 0 and positive integers, so if a negative integer is given it will raise an exception.
Create a method called reverse that takes one argument, a string word, and returns word reversed (e.g. if word is hello it returns olleh).
Create a method called fizzbuzz that takes one argument, an integer N, and returns a string. The returned string is constructed following these rules:

When N is divisible by 3, return fizz.
When N is divisible by 5, return buzz.
When N is divisible by 3 and 5, return fizzbuzz.
Any other case, return N as a string (e.g. say N is 7 then return "7").

First, we wrote tests for all of the methods described above.

@rloterh thank you so much 😄

Thank you @rloterh 👍


Symbols stop being returned if filename collides with function name

@aniljava commented on Thu Sep 06 2018
Environment data

VS Code version: 1.27.1-insider (commit: ....74cfdc)
Extension version (available under the Extensions sidebar): XXX
OS and version: 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: XXX

Actual behavior
If one of the method name in python file collides with python script file name, the intellisense stops working. Jedi works.
Expected  behavior
XXX
Steps to reproduce:

On a new install, try edit ANYNAME or ANYNAME.py file and create method ANYNAME

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
[Error - 6:25:59 PM] One or more errors occurred. (failed to parse file file:///xxxxxxx/test)

@d3r3kk commented on Tue Sep 11 2018
I cannot reproduce this issue on Ubuntu 18.04 on the latest extension/VSCode-Insiders/Language Server.
@aniljava could you please remove your language server and try again? Perhaps we've fixed it in a newer version.

Close all instances of VSCode-Insider.
Remove the Python Language Server by removing the languageServer folder from under the extensions directory.

This is located under your user home folder, here: ~/.vscode-insider/extensions/ms-python-[version]/languageServer

Restart VSCode-Insiders and wait until the Python Language Server re-downloads.
Retry your scenario.

If it still fails for you
Please send us a gif of what you are seeing, with the Terminal output window open so we can perhaps make more sense out of what is happening.

@aniljava commented on Mon Sep 17 2018
Followed the steps.
ENVIRNOMENT:

Intellisense ; jedi disabled

jedi enabled in user settings ("python.jediEnabled": true).

@aniljava commented on Mon Sep 17 2018
I realized the title is misleading, i assumed jedi turned off is intellisense in general.
Only the Code Outline feature fails only when jedi is turned off and the source file has an element (function name, top level variable name, class definition) with a name matching the file name.

@d3r3kk commented on Thu Sep 20 2018
Verified on Windows 10 using VSCode 1.27.2 with python extension 2018.8.0 and the latest Python Language Server installed.
Create a new workspace, add a folder 'follow' to the workspace, and a file to the 'follow' folder called anyname.py.
Content of anyname.py:
def anyname(name):
    print(f'Anyname = ''{name}''')

def some_other_name(other_name):
    print(other_name)

anyname('Inaura')
some_other_name('Ayode')

From Output -> Python window:
Starting Microsoft Python language server.
Initializing for C:\Program Files (x86)\Python36-32\python.exe
##########Linting Output - pylint##########

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

Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

[Error - 9:21:56 AM] One or more errors occurred. (failed to parse file file:///e:/dev/github/d3r3kk/test/2516_collisions_filename_fnname/anyname.py)

From developer console:
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1411  INFO no standard startup: not a new window
3/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1411   ERR Cannot read property 'map' of null: TypeError: Cannot read property 'map' of null
	at asCompletionResult (C:\Users\derek\.vscode\extensions\ms-python.python-2018.8.0\node_modules\vscode-languageclient\lib\protocolConverter.js:145:51)
	at <anonymous>

No symbols listed at all in the Outline view, and no symbols listed in the breadcrumb view either.

@brettcannon commented on Thu Sep 20 2018
@DonJayamanne is this our bug or something in the language server?

@BrentDickinson commented on Mon Dec 10 2018
Any update on this?  It also breaks Find symbol in file.  Find symbol in project does seem to work though.

Works in new LS. Will be released in beta in upcoming weeks.


Upgrade Maven API 3.8.5 -> 3.8.8

This PR contains the following updates:

Package
Type
Update
Change

Maven API
compile
patch
3.8.5 -> 3.8.8

Release Notes

apache/maven (Maven API)
v3.8.7: 3.8.7
Sub-task

[MNG-7019] - Notify also at start when profile is missing

Bug

[MNG-7106] - VersionRange.toString() produces a string that cannot be parsed with VersionRange.createFromVersionSpec() for same lower and upper bounds
[MNG-7316] - REGRESSION: MavenProject.getAttachedArtifacts() is read-only
[MNG-7352] - org.apache.maven.toolchain.java.JavaToolchainImpl should be public
[MNG-7529] - Maven resolver makes bad repository choices when resolving version ranges
[MNG-7563] - REGRESSION: User properties now override model properties in dependencies
[MNG-7568] - [WARNING] The requested profile "ABCDEF" could not be activated because it does not exist.
[MNG-7578] - Building Linux image on Windows impossible (patch incuded)
[MNG-7600] - LocalRepositoryManager is created too early
[MNG-7621] - Parameter '-f' causes ignoring any 'maven.config' (only on Windows)
[MNG-7637] - Possible NPE in MavenProject#hashCode()
[MNG-7644] - Fix version comparison where .X1 < -X2 for any string qualifier X

Improvement

[MNG-7590] - Allow configure resolver by properties in settings.xml
[MNG-7645] - Implement some #toString() methods

Task

[MNG-7513] - Address commons-io_commons-io vulnerability found in maven latest version
[MNG-7634] - Revert MNG-5982 and MNG-7417
[MNG-7636] - Partially revert MNG-5868 to restore backward compatibility (see MNG-7316)

Dependency upgrade

[MNG-7506] - Upgrade Maven Wagon to 3.5.2
[MNG-7641] - Upgrade Maven Wagon to 3.5.3

v3.8.6: 3.8.6
What's Changed

[MNG-7441] 3.8.x Update version of logback by @cstamas in https://github.com/apache/maven/pull/708
[MNG-7432] Resolver session contains non-MavenWorkspaceReader by @laeubi in https://github.com/apache/maven/pull/695
[MNG-7459] Revert "[3.8.x][MNG-7347] SessionScoped beans should be singletons for a given session" by @gnodet in https://github.com/apache/maven/pull/715
[3.8.x] [MNG-7476] Display a warning when an aggregator mojo locks other mojos executions by @gnodet in https://github.com/apache/maven/pull/736

Full Changelog: https://github.com/apache/maven/compare/maven-3.8.5...maven-3.8.6

[ ] If you want to rebase/retry this PR, check this box

Warning
Renovate's suggested commit message is being replaced with improved initial commits to enable automerging. As a side effect, these suggested commit messages might have changed. Consider comparing the initial commit message and this message to determine the most suitable one. Please leave feedback in #sys-renovate.

Suggested commit message:
Upgrade Maven API 3.8.5 -> 3.8.8

See:
- https://maven.apache.org/release-notes-all.html
- https://github.com/apache/maven/releases/tag/maven-3.8.6
- https://github.com/apache/maven/releases/tag/maven-3.8.7
- https://github.com/apache/maven/compare/maven-3.8.5...maven-3.8.7

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Base URL

So I am using ReactiveMoyaProvider and I am able to make calls with a base url and those paths. Everything works perfect so thank you. But my feed provides additional urls example:
"live-chat": "http://example-url-staging.herokuapp.com/plays.json/"
I want to be able to pass this string to the Provider and have it make my request.  I have looked around and I can't seem to find anything that points me in the right direction.  Any help would be much appreciated. So basically is there anyway to do a provider that takes both a baseURL and one that doesn't or some else.  Thanks

Hi here!
It's been a while since I don't play with Moya but just to try to help here, the issue seems related to what was discussed in https://github.com/Moya/Moya/issues/102
Hope it helps a little ;)

Thanks for the response.  I am not finding a solution with that link.  I figured that I will need to split the string and pass a base url and the path but I cant seem to figure out how to dynamically set the base url if thats even possible.  My major problem is that the base urls that I have are not always the same.

I actually figured out a way to do it in a simplified way using enums thanks for your help @alexito4

@thedevme can you provide an example of your solution?


Zurg config.yml overwritten

Describe the bug
Each time the docker container restarts it overwrites the ./RD/config.yml file.
To Reproduce
Change any value in it or add an additional filter for 4k (What I was doing for 4k movies). Then restart config resets
Expected behavior
Changes made to the config file should be maintained.
Screenshots
Nil
Please complete the following information:

OS: Ubuntu  Server
Version:  22.04
Supporting Applications: Docker Compose

Additional context
Thanks for putting this together

Thanks. This wasn't clear but copying the config file in RD into /config seems to have worked. Would this become a problem if you have both AD and RD active but with different settings (assuming they both use config.yml)


Cannot initiate eliza agent while using Supabase

Describe the bug
When trying to replace the default sqlite db with supabase, facing issues starting the Eliza agent
To Reproduce

Update the env file with the Supabase Url and key
Update the initializaDatabase function to use supabase db and return the db object to init
DB object is getting undefined
Hence the agent is not started and thus does not log in to twitter

Expected behavior
Agent should start and should post tweet and save it in supabase db correctly
Screenshots
my initializeDatabase function to use supabase db

Error while starting the server

Can you try generating a postgres connection url from your supabase dashboard and connecting to your supabase with the postgres adapter?  This worked a few weeks ago.


Add edit all children to the scene dock

Sponsored by IMVU.
Fixes https://github.com/godotengine/godot-proposals/issues/856
Edit:
video incoming.

Test project.
Test Project Project.zip

This is really useful for me and I would love to see this pushed through. Mostly because I suffer from sensory overload and the sheer amount of nodes overwhelms me. This would be a great help for me.

Would love this ❤

Functionality bug. Don't merge yet, will have fix soon.

Add test case.
New Game Project.zip

I am not against the idea and understand the feature, but if it's more usable in the general case to use the "Edit all children" instead of the "Edit children" option, wouldn't it make sense to instead make the "edit children" option display all the child nodes recursively.
I don't think there's a need to setting the property on all nodes but only to the one on the top, but then the editor would instead now display the whole hierarchy.

Aliasing "Edit children" to be using the code of "Edit all children" would be more usable. I don't mind this change, I had no feedback.
Will make the change in a bit but not right now.

Aliasing "Edit children" to be using the code of "Edit all children" would be more usable. I don't mind this change, I had no feedback.

This is not what I said. Only the flag would be set on the top node, exactly what is the current implementation of "Edit children" is doing.
The difference is that the flag on one node would trigger the expand of all nodes of its hierarchy, without the need to set the flag on them.

Is this what you mean?
https://imgur.com/a/kExKl8N

@groud Can you repeat your comment or make a pr to my branch?
https://github.com/godotengine/godot/pull/39306#issuecomment-726152913 I don't understand.

Sorry, I checked the gif this is not what I meant. To explain it point by point:

Don't add an "Edit all children" option,
Make it so that settings the flag on a scene expands all its children recursively. Only sub scenes would not be expanded (and thus require the flag for expansion too)

And optionally:

As the flag is useful only for scenes now, don't display the option on nodes that are not scenes.

This is salvagable.


allow put to try again if it fails due to too many open files

A small workaround to try and mitigate the 'too many open file descriptors' issues we are seeing.

One issue i have with this is that we dont get to see when these temporary failures occur. It might be okay, but i'm paranoid.

Log them?
(we should make the util.Logger thing its own package or something, so go-datastore and go-commands can import it)

(we should make the util.Logger thing its own package or something, so go-datastore and go-commands can import it)

I'll do that, its a good idea.

@whyrusleeping squash

squashed


Few issues,

One, Tazer is the ONLY way to really down me while in god mode. Anyway to fix this would be a huge upgrade.
Two, i would like to see the tazer and grenade launcher have the fully automatic super fire rate buff applied to them too.
and last but not least, add a way to bypass the kicks. or have the teamkilling kick pop ups not effect you, making u non kickable.
hope to see this release get the attention it needs, btw. i was the guy who blew this up and met you in the game at one point, i know ur name is JB. have a good day man, hope to see this get better with more features like flying. and even faster speed.

I plan on adding more features in the future possibly, btw the JB guy you supposedly met was not me, I hardly play onward, only for testing cheat. However I am the original creator, and maintainer of this cheat.

Huh, Weird, well i got a ban today after days of rage cheating in shooting range, fixing to just make a new account and get it again once a new update comes out, thanks!


feat(design): create skeleton mixin

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Part of: #763
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@xelaint minor linting issues, but otherwise, LGTM.

@xelaint minor linting issues, but otherwise, LGTM.

fixed linting


Closing this pr.


Fix Laravel 4 compatibility

Re-added missing package() call in Service Provider

Thanks :)

Could you please also tag a new release? Thanks!

I did.  1.2.3 is up.

You did? I don't see it on the Releases page, and composer update doesn't see an available update.

https://github.com/syntaxerrors/Steam/releases/tag/1.2.3.  Packagist show it as well.

Fixed the release.  Should be able to grab it soon.

It worked now. Thanks again!
On Thu 7 May 2015 at 16:27, Stygian<EMAIL_ADDRESS>wrote:

Fixed the release. Should be able to grab it soon.
—
Reply to this email directly or view it on GitHub
https://github.com/syntaxerrors/Steam/pull/20#issuecomment-99864981.


PIP-13-2: support regex based subscription

This is tracking the sub task 2 for PIP 13:
PIP-13 has 3 sub-task:

TopicsConsumer which consume from several topics under same namespace.
support regex based subscription.
auto-discover topic addition/deletion

This issue track the second task:
support regex based subscription.

PR #1165 is for this.

merged by #1279


[feat]: Add ComposedChart

Feature description
Charts have just been added, and Recharts' library actually has a ComposedChart component to be able to merge charts on the same grid, it would be nice to implement it.
Affected component/components
No response
Additional Context
Additional details here...
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

I'm working on this. It's on the roadmap.

Adding a dot here to see when this is completed. Would love to switch over completely, but this is required for one of my clients dashboards.

Was there a reason this was closed. It still doesn't seem to work

Is there any updates to built native shadcn component instead of LineBarAreaComposedChart of Recharts ?


Perfect separation error for using SingleCrossfitTMLE

I am using the v0.9.0 version of SingleCrossfitTMLE.
When using TMLE, it works fine ...
ranger = RandomForestRegressor()
tmle = TMLE(df, a_var, y_var_bound)
tmle.exposure_model(g_formula)
tmle.outcome_model(q_formula, custom_model=ranger)
tmle.fit()

However, when using SingleCrossfitTMLE, it keeps saying Perfect separation detected, results not available
# SuperLearner set-up
g_labels = ["LogR"]
g_candidates = [GLMSL(sm.families.family.Binomial())]
Q_labels = ['RandomForest']
Q_candidates = [RandomForestRegressor(random_state=12345)]

# Single cross-fit TMLE
sctmle = SingleCrossfitTMLE(df, exposure=a_var, outcome=y_var)
sctmle.exposure_model(g_formula, SuperLearner(g_candidates, g_labels, folds=3, loss_function="nloglik"))
sctmle.outcome_model(q_formula, SuperLearner(Q_labels, Q_candidates, folds=3))
sctmle.fit(n_partitions=3, random_state=12345)
sctmle.summary()

I have checked all pairwise correlation between treated variables and all confounders and removed any category variable pairs with correlation above 0.2 but still seeing the same error. Could you share some way to resolve this issues?

Hi @miaow27 so the PerfectSeparation error comes up from the targeting step in TMLE. It's hard to tell exactly what is happening here. Can you copy the error here?
There are two possible causes: the random forest over-fitting or something in the g-model is highly correlated with the exposure (which ends up with a perfect separation when trying to fit that model in a split randomly).
Essentially in the cross-fit process, we break everything into two pieces then fit the algorithm (SL with one learner in the above). When the data gets split, sometimes the random forests have a tendency to over-fit (especially with a SL).

The easiest fix would be to tune the hyperparameters of the random forest. I would try changing min_samples_split to something like 5 or 10 (instead of 2).
Another potential fix would be to increase the folds in the SL (3 is pretty low, essentially it takes the split then splits it in 3 pieces. More pieces gives more data to fit with). You could also forgo SL (since it only have one model).
Lastly, you could instead add some 'smoother' learners to the Q SL. Something like a GAM or MARS would shrink the influence of the random forest (if the variance for the random forest is very high).

If it is the g-model correlation, then I would try a different seed. That might get the cross-fit to run. How to fix that issue is a little trickier to think through

@pzivich , Thanks so much for the suggestion. It ended up to be an issue for the exposure model (g model), where somehow 1 of the dataset only have 1 class. After I increase the fold in the SL to 10, it worked.
Also, Do you know the right syntax for force fitting a Logistic regression (without folds) for the exposure model?


'boost/pfr.hpp' file not found

new boost error?
[ 83%] Building LLVM bitcode simple.token.cpp.bc
In file included from /EOSIO/eos/contracts/eosio.bios/eosio.bios.cpp:6:
In file included from /EOSIO/eos/contracts/eosiolib/action.hpp:7:
/EOSIO/eos/contracts/eosiolib/datastream.hpp:18:10: fatal error: 'boost/pfr.hpp' file not found
#include <boost/pfr.hpp>
         ^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [contracts/eosio.bios/eosio.bios.cpp.bc] Error 1
make[1]: *** [contracts/eosio.bios/CMakeFiles/eosio.bios.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /EOSIO/eos/contracts/simple.token/simple.token.cpp:1:
In file included from /EOSIO/eos/contracts/eosiolib/eosio.hpp:7:
In file included from /EOSIO/eos/contracts/eosiolib/action.hpp:7:
/EOSIO/eos/contracts/eosiolib/datastream.hpp:18:10: fatal error: 'boost/pfr.hpp' file not found
#include <boost/pfr.hpp>
         ^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [contracts/simple.token/simple.token.cpp.bc] Error 1
make[1]: *** [contracts/simple.token/CMakeFiles/simple.token.dir/all] Error 2
make: *** [all] Error 2

	>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

Update git submodules

git submodule update --init --recursive


adding knapsack

As a First-time contributors,can anyone tell me what to do?

Hi @Rratic, thanks for your contribution. I will review it soon and approve or is there is anything needed I will suggest edits. Will do it in a few hours. Thanks!

Thanks!

Sorry,I didn't notice it.
Now I force-pushed this.


 Rascil output pixel values that are 10x higher. We need to investigate where this comes from.

Can you add a minimal repro?


404 Not Found Error If App Service Is Idle

Details: Trying to activate a timer function running on a consumption plan
This method does not seem to work if running on a consumption plan. I tried for a few hours and double checked all paths and configurations.
I then added a HTTP trigger function called ping just to activate the app service, after I called that it started to work.
Maybe the App Service needs to be running before the timer function can be called?

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

ID: f538a557-7e88-e077-6a6f-6fb14d89dbf6
Version Independent ID: 84a1693b-2795-c865-35df-3ad3b9b61e2c
Content: Manually run a non HTTP-triggered Azure Functions
Content Source: articles/azure-functions/functions-manually-run-non-http.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@scotty-tarvan
Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @scotty-tarvan, Thank you for reaching out.
In Consumption mode Timer triggered Function App should be automatically woken up when a timer is due. Here are some additional troubleshooting steps which you can try when the timer triggered function app is not firing. If you have already followed the troubleshooting steps mentioned in the document and are still facing the issue. For quick resolution it will be very helpful if you could raise this issue here on the Function host repo or on Microsoft QnA by providing additional details about how the environment is set-up and the error faced.
As we maintain this channel for documentation improvements and as we did not determine any improvements. We will now proceed to close this issue out, please tag me in your response if there are any additional concerns. Thank you!


fix(models): grow tag index buffer if needed

closed #20136

circleci failure doesn't seem related to  this change...

circleci failure doesn't seem related to this change...

We've been hitting some flaky test failures, so it's probable. I'm going to keep the review focused on #20137 for now; we can cherry-pick any changes over to this branch after it's done.


Make Rxjs a peer dependency

This would allow users to bring their own RxJS, instead of locking them to whatever version comes with horizon

Is this as simple as moving rxjs to peer dependencies and adding some documentation?

Ok, I am confidently closing this one. My confusion was that the package.json's peerDependency had anything at all to do with how webpack decides whether to bundle a module or not. It doesn't, of course.
Making rxjs a peer dependency when it's actually a regular dependency is just a bad idea, since it means an extra manual step when installing on node etc.


CASMINST-5578: Linting

Description
Just linting. No content changes.
The changes to script files are only to comments or printed messages -- none to the code itself.
I don't know why the diff for operations/firmware/FASUpdate_Script.md shows so many changes, when only one string in the file was changed. It may be that it was checked in with weird line endings, and my PR stripped them. You can see that only one typoed string is actually changed.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.3


feat(chart): allow to customize the storageclass

This pull request aims to allow the customization of the storageClass created by the mayastor helm chart.
Description

The following capabilities are added for the storageClass:

Allow to disable the creation
Allow to set the storageClass as the default one
Allow to set the replication factor
Allow to set the name

Motivation and Context

The main motivation for those changes is to make the storageClass configurable and usable as default in a k8s cluster without the need to create a second one from a separate set of manifests.
Regression

No

How Has This Been Tested?

Tested by deploying Mayastor into a kubernetes cluster and validating that the template is rendered as valid k8s yaml.
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added unit tests to cover my changes.

Thanks @synthe102 :+1:
bors merge


Move packaging classes to own files

Many of the files have 5+ classes in them (and some have many more). This makes it very difficult to find classes and makes for very long, unmaintainable files. This is part of #315 and starts with bringing all the classes within the DocumentFormat.OpenXml.Packaging namespace into the folder, with each class being in their own file.

@tomjebo @tarunchopra  I've started classes into their own files based off of types and folders based off of namespace.


Change the value for mapping_key in MAPPING_ENTITY to be a hash

As a developer I want to have a key in the MAPPING_ENTITY table with a controlled length that is suitable for a varchar data type.
Problem
mapping_key field in the table MAPPING_ENTITY is currently a concatenation of several strings. For instance, for diagnosis entities, this value would be the concatenation of entityType, dataSource, originTissue and tumorType. That can lead to a long string so the mapping_key field was changed from varchar to clob in the database. This, however, creates an error in the h2 database as that field is indexed and h2 does not allow to create indexes in blob/clob fields.
Proposal
To change how the key is generated and, instead of a concatenation of several strings of variable length, to have a hash which is formed used those strings, keeping the uniqueness it provides, but with a size that is consistent and that does not require a clob to be stored, so we can use an index on it.
Acceptance criteria

[x] Field changed in database.
[x] Value correctly generated when database record is created.
[x] Methods in pdx-admin-backend who rely in the key continue being able to check if a record exists.

@zperova done


Docs workflow

Awesome...! Thank you : D...!
It seems like the formatting complains about the word consol.
Is it a language name...?


Need to create pull request template file for repository.

Need to create pull request template file.
I think it is not difficult for a beginner or not a beginner. I am too lazy to do this, so I hope someone takes this not a difficult task.
You can see the pull request template in other repositories (it is not in all repositories), or if you know how it should look, then go for it!
If there are questions related to this which I do not know, ask them here and we will discuss this.
Info about creation pull request file https://help.github.com/en/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository

✔ Resolved in #4


How to use lazypipe() with gulp-replace?

Hi.
I have the problem with one WP theme ('Sage') which use lazypipe.
Here is the root of problem (it isn't related with lazypipe).
But gulp-sass v.2.3.2 didn't install normal to my Windows10x64 PC, so I want to use the ugly hack: "I also replaced & with #{"&"} in the mixin and now it seems to work fine."
.pipe(replace, '&:', '#{&}:')
How to replace all '&:' '#{&}:' before running all others pipe() in this theme's gulp function?
var cssTasks = function (filename) {
    return lazypipe()
    .pipe(function () {
      return gulpif(!enabled.failStyleTask, plumber());
    })
    .pipe(function () {
      return gulpif(enabled.maps, sourcemaps.init());
    })
    .pipe(replace, '&:', '#{&}:') // (!) looks like don't work - the error is present
    .pipe(function () {
      return gulpif('*.scss', sass({
        outputStyle: 'nested', // libsass doesn't support expanded yet
        precision: 10,
        includePaths: ['.'],
        errLogToConsole: !enabled.failStyleTask
      }));
    })
    .pipe(concat, filename)
    .pipe(autoprefixer, {
      browsers: [
        'last 2 versions',
        'ie 9',
        'android 4'
      ]
    })
    .pipe(minifyCss, {
      advanced: false,
      rebase: false
    })
    .pipe(function () {
      return gulpif(enabled.rev, rev());
    })
    .pipe(function () {
      return gulpif(enabled.maps, sourcemaps.write('.'));
    })();
};

Context is:
  var merged = merge();
  manifest.forEachDependency('css', function (dep) {
    var cssTasksInstance = cssTasks(dep.name);
    if (!enabled.failStyleTask) {
      cssTasksInstance.on('error', function (err) {
        console.error(err.message);
        this.emit('end');
      });
    }
    merged.add(gulp.src(dep.globs, {base: 'styles'})
      .pipe(cssTasksInstance));
  });
  return merged
    .pipe(writeToManifest('styles'));
});

Can you please reformat your comment using triple backticks (```), so I can read the pipes.

Sorry. I edited my question.

Are you trying to replace something before or after Sass? Because you have the replace happening before, which means you could just change your source files.

Before any tasks related to *.scss files. Source files are the whole sass bootstrap & all custom scss files. I don't want to have #{&} in source files. Just replace '&' to '#{&}' in files on the fly (on the gulp pipe). In the future, when the bug will be fixed, I could delete this pipe-fix.

Given that, this doesn't seem to have anything to do with lazypipe—I'm not even sure lazypipe is necessary in this setup, since the pipe could just be a normal Gulp pipe (it's even already wrapped in a function).
If you want to try to figure it out, I'd say make minimal example case to see if it works:

Without lazypipe. Just feed your source file in, then through your replacement, then view the output. Assuming this works, then
Try the same thing wrapped in a lazypipe.

The only reason you might have an issue is with Streams2, which has sometimes caused issues before.

Closing as there's been no feedback in a long while.


[C++] Add example of an ArrayVisitor or TypeVisitor

Should demo using the visitor pattern for some simple conversion. Could be as simple as "walk a schema and count how many primitive and how many nested fields there are".

Closed by #166.


ESM -> Failing to load remoteImages

Hey,
Quick note (appriciate the libray, was exactly what i needed!).
Having problems where i have a project based on ESM; and having a remoteOptimizedImages.js file is failing due to being required in via the library.
Would it be possible to make it a customisable option (maybe via package.json argument) to be able to set the filename / extension.
As in a quick fork I made just to unblock myself, if i set it to remoteOptimizedImages.cjs everything goes through fine.
Thought id get thoughts before i make a proper PR to move it upstream via config when i get a momento
Thanks!

same here!


Logs showing event queue error

I've got the operator deployed to a cluster, but the logs are only showing the following:
2022-11-15T02:49:22.271300Z ERROR eip_operator_shared::controller: Node reconciliation error. err=event queue error
2022-11-15T02:49:56.158271Z ERROR eip_operator_shared::controller: Eip reconciliation error. err=event queue error
2022-11-15T02:50:00.847691Z ERROR eip_operator_shared::controller: Node reconciliation error. err=event queue error
2022-11-15T02:50:31.597168Z ERROR eip_operator_shared::controller: Node reconciliation error. err=event queue error

Since I had to add more permissions to the ClusterRole than were documented, I figure this means I'm missing a permission or something, but I'm not sure where.  Any ideas what would cause this issue?
EKS Cluster running K8s v1.21
Cilium masquerade is disabled globally
AWS role was copied from readme

I was able to get around this issue by opening up the k8s permissions.


Polish the README & example-mapping.yaml and MIT license

Changes to README.md

Add Commands and options table to the Usage section
Add Last Commit and Release Workflow badges
Added macOS vs Windows Keyboard key sections
Added Supported Macro Keyboards section
Added Table of Contents
Clarify the Supported keyboards section
Polished overall writing
Fix up Photos
Mentioned about turning off the LED
Improved USB device listing section
Markdown Fix - Header & bullet points
Markdown format code blocks
Polish Diagnostics section
Polished Automation section
Polished Installation section
Polished the "What is this?" section
Polished Usage section

Added MIT License

In response to the issue #45
Referenced Cargo.toml

Changes to example-mapping.yaml

Consistent formatting
Improved readability of documentation

Thank you for building this tool! It was exactly what I needed and hope I can help your project in a small way.

Wow, great work!


chore(master): release 1.1.243

:robot: I have created a release beep boop
1.1.243 (2023-11-13)
Miscellaneous

deps: lock file maintenance (66ae3a7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.243 :sunflower:


120 accessibility labels

To fix #120
Accessibility labels added on surrounding elements should override problem of android treating the chevron as a separate element in terms of text to speech.
Tester check-list

[ ] Tested on multiple devices / OS versions (Test on the physical device(s) you have access to, otherwise use BrowserStack):

[ ] Galaxy S8 (Android 7.0/8.0)
[ ] Galaxy S7 (Android 6.0)
[ ] iPhone X (iOS 11.x)
[ ] iPhone 8 (11.x)
[ ] iPhone 7 (iOS 10.x)

Optional:

[ ] Google Pixel 2
[ ] Galaxy S8 Plus
[ ] Galaxy S7 Edge
[ ] Galaxy S6
[ ] iPhone 7+
[ ] iPhone 6

Accessibility Testing

[ ] Text-to-Voice (Android: Voice Assistant / iOS: Speak Selection)
[ ] Large Text (=<200%)
[ ] Landscape Screen orientation

Tested on Galaxy S8 and iPhone 7+, looks good!


Add a set of content to help translate compose workflows to k8s

This is a Feature Request
What would you like to be added
I would like to see a set of guidelines and methodology to convert docker-compose-based workflows to Kubernetes objects.
Why is this needed
It can be quite intimidating for beginners to understand how to migrate from docker-compose to k8s. service in docker-compose does not mean the same thing in K8S and can be quite confusing to know the differences between the two.

[ ] Overview https://github.com/kubernetes/website/pull/27270
[ ] Secrets
[ ] Services
[ ] Config
[ ] Networks
[ ] Volumes

/language en
/triage accepted
/priority important-longterm
Thanks for logging this @remyleone


Installing MarkupSafe 2.0.0 on Ubuntu 18.04 fails

How to replicate:
Run pip3 install -U MarkupSafe on Ubuntu 18.04
Environment:

Python version: 3.6.9
MarkupSafe version: 2.0.0
OS: Ubuntu 18.04 (aarch64)

Log:
pip3 install -U MarkupSafe
Collecting MarkupSafe
  Using cached https://files.pythonhosted.org/packages/67/6a/5b3ed5c122e20c33d2562df06faf895a6b91b0a6b96a4626440ffe1d5c8e/MarkupSafe-2.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-628gt7q8/MarkupSafe/setup.py", line 61, in <module>
        run_setup(True)
      File "/tmp/pip-build-628gt7q8/MarkupSafe/setup.py", line 44, in run_setup
        ext_modules=ext_modules if with_binary else [],
      File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.6/distutils/core.py", line 121, in setup
        dist.parse_config_files()
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 494, in parse_config_files
        ignore_option_errors=ignore_option_errors)
      File "/usr/lib/python3/dist-packages/setuptools/config.py", line 106, in parse_configuration
        meta.parse()
      File "/usr/lib/python3/dist-packages/setuptools/config.py", line 382, in parse
        section_parser_method(section_options)
      File "/usr/lib/python3/dist-packages/setuptools/config.py", line 355, in parse_section
        self[name] = value
      File "/usr/lib/python3/dist-packages/setuptools/config.py", line 173, in __setitem__
        value = parser(value)
      File "/usr/lib/python3/dist-packages/setuptools/config.py", line 430, in _parse_version
        version = self._parse_attr(value)
      File "/usr/lib/python3/dist-packages/setuptools/config.py", line 305, in _parse_attr
        module = import_module(module_name)
      File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
    ModuleNotFoundError: No module named 'markupsafe'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-628gt7q8/MarkupSafe/

You'll need to upgrade pip. It looks like you might be using the system python. You should use a virtualenv to pip install packages separate from the system. Use apt to install system packages.


Format code with Black

See if this project is worth it: https://github.com/ambv/black

this looks pretty neat. I can give this a try next week maybe along with some long overdo code refactoring (driver.py)


Blank output

I have encountered a PDF file from which pdfium-cli renders a blank jpg.
pdftocairo manages to peel out the correct jpg from the same file.
The file shows up correctly when previewed with Chrome. Chrome uses pdfium, doesn't it?
Any clue of what the problem might be?
The pdf is attached here.
testfile.pdf

I was able to reproduce this, it has to do with annotations. If I add the flag FPDF_RENDER_FLAG_ANNOT to the render instruction then everything shows up. Kinda odd that this was added as annotation.
I can add a CLI option to enable the rendering of annotations, but I'm not sure if you always want to render annotations?

I almost never want the annotations, but if it's easy to add an option I think it might be handy sometimes.

The --render-annotations flag has been added in v0.6.0.


Calrify docs about how rtd select the stable version

We don't take into account if the version is active. And we can't do that, this would break existing projects that only have stable and latest activated.
Closes #4305

👍


wiimote/esc error/calibration?

Hi! I was inspired by your build and attempted to recreate it (with slightly different specs), i loaded your code on to my pi (with the led parts erased as i didn't use them) but the esc doesn't seem to respond. it didn't have the initial beeps after powering on. I believe there are no errors in the code as Python2 was able to run it. Did you run into similar problems during your build?? Thank you for your help!

Hey!
Awesome that you were inspired! What ESC do you have? All of them are different models and so, while their general principle is the same, they'll all behave slightly differently. You control them using a PWM signal (which I do in Python), but you might find that the PWM signals you have to send yours are a little bit different.
You should consult the documentation for your ESC. There was hardly any documentation for mine - so I found mine out through a combination of guesswork and trying values!
Thanks

I'm using a HobbyKing 120a X-beast series ESC. I was able find a manual but it lacked information on PWM signals. I'll try various signals! Thanks again! :) :) :)

Let me know how it goes! I'll close this issue now. Thanks


Allow custom HttpClientParser and HttpServerParser

Working on https://github.com/spring-cloud/spring-cloud-gcp/pull/438 to provide auto-configuration to propagate trace data to Stackdriver Trace.
Sleuth 2.0.0.M6+ is now using Brave. The default configuration doesn't provide the same information as Sleuth 1.x.  A couple of tags are missing and would be beneficial to Stackdriver Trace.  Namely, http/host and http/url.
Upon inspecting the Sleuth legacy implementation, we may also want to not use it but use custom parsers to produce spans with name and tags that's better suited for Stackdriver Trace.
However, there is currently no way to produce HttpTracing bean to override the Sleuth auto-configuration, because several SkipPatternProvider, SleuthHttpClientParser, SleuthHttpServerParser, and SleuthHttpSampler are all package protected.  Even if we produce the HttpClientParser and HttpServerParser, there is still no way to create SleuthHttpSampler nor injecting existing SkipPatternProvider.
After discussing w/ @marcingrzejszczak, it would be beneficial to be able to take custom HttpClientParser and HttpServerParser beans and adding/appending them to the existing auto-configured HttpTracing configuration.

sounds fine. just if someone overrides all of HttpTracing, they'll also override these parsers, which is probably fine (more a documentation thing). FWIW exactly the same issue for x-ray


Zombie SW Across Projects

The persistence of service workers can lead to frustration as developers switch between projects on localhost that use the same port.

Could we introduce some notion of a reliable project name / ID what get's included in a known location and we use this to remedy / propose remedies:
Possible ways to get project ID:

Magic string in SW. As we load up, look for the same service worker file 'sw.js' and check if it can be fetched and if it can, check it's the same project
Look for a custom JS file that we can request and validate project ID's
Get the web app manifest and use that as the custom file to parse and validate.

Remedies

Unregister the service worker
Unregister the service worker and force clients to refresh (if we can)
Log message to console with a link to a page, which if directed to, will unregister the service (offers some control)

Cache naming is a little easier here - hopefully more obvious docs will encourage usage and prevent this issue.


Unable to use acquireTokenSilent() method for Live Accounts via Azure B2C

It seems that the Out of Box experience for using MS Live as a Identity Provider isn't working properly.  I'm able to log in correctly.  However, the acquireTokenSilent() method forces a redirect in my Angular application.  The problem is, MSAL 0.1.5 doesn't set a 'msal.state.acquireToken' entry to the Sesson or Local storage cache, thus causing the URL hash and subsequently the newly acquired access token to be systematically disregarded.  I have included a really nasty hack that seems to address this issue from the client's perspective, but I'd image there must be a much better solution that can be implemented from within the MSAL code base:
const hackToSupportLive = 'Renew token Expected state:';
const storage = new Storage('localStorage');
        const logger = new Msal.Logger(
            (level: Msal.LogLevel, message: string, containsPii: boolean) => {
                const index = message.indexOf(AuthenticationService.hackToSupportLive);
                if (index > -1) {
                    const neededState = message.substring(index + 28);
                    storage.setItem(Constants.stateAcquireToken, neededState.trim());
                }
            },
            { level: Msal.LogLevel.Verbose, piiLoggingEnabled: true });

        this.authClient$ = new Msal.UserAgentApplication(
            this.appConfig$.clientID,
            this.appConfig$.authority,
            (errorDesc, token, error, tokenType) => {
                if (!error && token) {
                    console.log(`Token: ${token} - ${tokenType}`);
                } else {
                    console.log(`Error: ${error} - ${errorDesc}`);
                }
            },
            { cacheLocation: 'localStorage', loadFrameTimeout: 20000, navigateToLoginRequestUrl: false, logger: logger });

My questions are

What's causing MSAL to force a redirect whenever an attempt to acquire an access token from a Live account?
Why doesn't this occur whenever other 3rd party identification providers are used (i.e. Facebook)?
Though the acquireTokenSilent apparently sets a new randomized State ID, why is it not being stored in the Local or Session storage areas so that it can be properly processed during the next callback?

@tvperez76 For acquireTokenSilent , Msal JS saves the state in the parent window and when you receive the response in the iframe, we match the state from the parent windon using window.parent as the parent window state stays unaffected. We save the state in the browser storage only in the case of loginRedirect/acquireTokenRedirect. You might be facing a different issue. Can you please provide logs or a code repro for this issue?

Certainly.  Here's a log trace from MSAL, Chrome and Angular:
Contains: PII: true; Message: Fri, 09 Mar 2018 20:37:05 GMT:0.1.5-Info Navigate to:https://login.microsoftonline.com/te/mlpexpress.onmicrosoft.com/b2c_1_mlpexpressloginpolicies/oauth2/v2.0/authorize?response_type=id_token&scope=https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fcommon%20https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fuser_impersonation%20openid%20profile&client_id=a663f6ae-7de9-4bd9-be48-9709add850ac&redirect_uri=http%3A%2F%2Flocalhost%3A32897%2F&state=497836d4-33aa-49c1-bbe6-1e6d16680105&nonce=f4d410d2-0c78-418c-94a9-56d781793b26&client_info=1&x-client-SKU=MSAL.JS&x-client-Ver=0.1.5&client-request-id=3059f809-c187-4556-86ed-9964c053bf43&prompt=select_account&response_mode=fragment

Navigated to https://login.microsoftonline.com/te/mlpexpress.onmicrosoft.com/b2c_1_mlpexpressloginpolicies/oauth2/v2.0/authorize?response_type=id_token&scope=https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fcommon%20https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fuser_impersonation%20openid%20profile&client_id=a663f6ae-7de9-4bd9-be48-9709add850ac&redirect_uri=http%3A%2F%2Flocalhost%3A32897%2F&state=497836d4-33aa-49c1-bbe6-1e6d16680105&nonce=f4d410d2-0c78-418c-94a9-56d781793b26&client_info=1&x-client-SKU=MSAL.JS&x-client-Ver=0.1.5&client-request-id=3059f809-c187-4556-86ed-9964c053bf43&prompt=select_account&response_mode=fragment
authorize?response_type=id_token&scope=https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fcommon https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fuser_impersonation openid profile&client_id=a663f6ae-7de9-4bd9-be48-9709add850ac&redirect_uri=http%3A%2F%2Flocalhost%3A32897%2F&state=497836d4-33aa-49c1-bbe6-1e6d16680105&nonce=f4d410d2-0c78-418c-94a9-56d781793b26&client_info=1&x-client-SKU=MSAL.JS&x-client-Ver=0.1.5&client-request-id=3059f809-c187-4556-86ed-9964c053bf43&prompt=select_account&response_mode=fragment:1 [DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) <input type="password" id="password" name="Password" placeholder="Password" tabindex="1">
oauth20_authorize.srf?client_id=ffb2788c-8dd8-45e6-9213-b9ba9e692f8f&redirect_uri=https%3a%2f%2flogin.microsoftonline.com%2fte%2fmlpexpress.onmicrosoft.com%2foauth2%2fauthresp&response_type=code&scope=openid+profile+email&response_mode=form_post&nonce=e82cTg7AZEHPAvRGYnwIdg%3d%3d&state=StateProperties%3deyJTSUQiOiJ4LW1zLWNwaW0tcmM6ZDg4ODlmNzAtNDgyMi00MmY5LTllMmItNTIxYzZhNDE0NmY4IiwiVElEIjoiYjhkYzc5MTEtMzA0Yy00OWFiLWFhZmEtZDRmZjY0ZDc5MmM1In0:1 [Violation] Avoid using document.write().
(anonymous) @ oauth20_authorize.srf?client_id=ffb2788c-8dd8-45e6-9213-b9ba9e692f8f&redirect_uri=https%3a%2f%2flogin.microsoftonline.com%2fte%2fmlpexpress.onmicrosoft.com%2foauth2%2fauthresp&response_type=code&scope=openid+profile+email&response_mode=form_post&nonce=e82cTg7AZEHPAvRGYnwIdg%3d%3d&state=StateProperties%3deyJTSUQiOiJ4LW1zLWNwaW0tcmM6ZDg4ODlmNzAtNDgyMi00MmY5LTllMmItNTIxYzZhNDE0NmY4IiwiVElEIjoiYjhkYzc5MTEtMzA0Yy00OWFiLWFhZmEtZDRmZjY0ZDc5MmM1In0:1

Navigated to https://login.live.com/oauth20_authorize.srf?client_id=ffb2788c-8dd8-45e6-9213-b9ba9e692f8f&redirect_uri=https%3a%2f%2flogin.microsoftonline.com%2fte%2fmlpexpress.onmicrosoft.com%2foauth2%2fauthresp&response_type=code&scope=openid+profile+email&response_mode=form_post&nonce=e82cTg7AZEHPAvRGYnwIdg%3d%3d&state=StateProperties%3deyJTSUQiOiJ4LW1zLWNwaW0tcmM6ZDg4ODlmNzAtNDgyMi00MmY5LTllMmItNTIxYzZhNDE0NmY4IiwiVElEIjoiYjhkYzc5MTEtMzA0Yy00OWFiLWFhZmEtZDRmZjY0ZDc5MmM1In0

Navigated to https://login.live.com/ppsecure/post.srf?client_id=ffb2788c-8dd8-45e6-9213-b9ba9e692f8f&redirect_uri=https%3a%2f%2flogin.microsoftonline.com%2fte%2fmlpexpress.onmicrosoft.com%2foauth2%2fauthresp&response_type=code&scope=openid+profile+email&response_mode=form_post&nonce=e82cTg7AZEHPAvRGYnwIdg%3d%3d&state=StateProperties%3deyJTSUQiOiJ4LW1zLWNwaW0tcmM6ZDg4ODlmNzAtNDgyMi00MmY5LTllMmItNTIxYzZhNDE0NmY4IiwiVElEIjoiYjhkYzc5MTEtMzA0Yy00OWFiLWFhZmEtZDRmZjY0ZDc5MmM1In0&contextid=0702AF4C511DF596&bk=1520627827&uaid=5094cf185aaa4e05ba3e68ac9e0a4f9c&pid=15216

Navigated to http://localhost:32897/
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:14 GMT:0.1.5-Info Returned from redirect url
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:14 GMT:0.1.5-Info State status:true; Request type:LOGIN
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:14 GMT:0.1.5-Info State is right
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:14 GMT:0.1.5-Info Fragment has id token
VM590 main.bundle.js:740 Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ilg1ZVhrNHh5b2pORnVtMWtsMll0djhkbE5QNC1jNTdkTzZRR1RWQndhTmsifQ.eyJleHAiOjE1MjA2MzE0MzIsIm5iZiI6MTUyMDYyNzgzMiwidmVyIjoiMS4wIiwiaXNzIjoiaHR0cHM6Ly9sb2dpbi5taWNyb3NvZnRvbmxpbmUuY29tL2Y1NjA4YzlkLWUyMzgtNDdmOS04ZTkxLTBkY2U0YTcwMDNjYy92Mi4wLyIsInN1YiI6IjE5YjMwNDA4LTU4NTMtNDBlMi1iZDNjLTZhZDJmN2E1YzEyYiIsImF1ZCI6ImE2NjNmNmFlLTdkZTktNGJkOS1iZTQ4LTk3MDlhZGQ4NTBhYyIsIm5vbmNlIjoiZjRkNDEwZDItMGM3OC00MThjLTk0YTktNTZkNzgxNzkzYjI2IiwiaWF0IjoxNTIwNjI3ODMyLCJhdXRoX3RpbWUiOjE1MjA2Mjc4MzIsImlkcCI6ImxpdmUuY29tIiwibmFtZSI6IlRvbnkgUGVyZXoiLCJvaWQiOiIxOWIzMDQwOC01ODUzLTQwZTItYmQzYy02YWQyZjdhNWMxMmIiLCJnaXZlbl9uYW1lIjoiVG9ueSIsImZhbWlseV9uYW1lIjoiUGVyZXoiLCJzdHJlZXRBZGRyZXNzIjoiMjkwMyBDb25ub3JzIFJkIiwiY2l0eSI6IlNub2hvbWlzaCIsInN0YXRlIjoiV0EiLCJwb3N0YWxDb2RlIjoiOTgyOTAiLCJjb3VudHJ5IjoiVW5pdGVkIFN0YXRlcyIsImVtYWlscyI6WyJ0dnBlcmV6NzZAaG90bWFpbC5jb20iXSwidGZwIjoiQjJDXzFfTUxQRXhwcmVzc0xvZ2luUG9saWNpZXMifQ.Vfzo5NhAD-sTSe5_0EsjpkXx4zhpJY75UhLjUTM9QzI1M-6V_5UulOEFVZxDwydGqsn-_C8AmnlAtgu2wM5CNUB7sFg5MG559SwxZbHy3075L06FBCreO4TkXIURq7ACGvKmLqrtq6hdQYzzCub4pp4BKkBEchIy3IQ0WPjOy4N1R_jBodb-FJ90KDRt9DDzahEYVkRqRCAQcoZCnLEW67XkhcK0p0J5sv9iPKoT5aLjbWoA1lSnXFE0gTaXRuQ7y-QGsF1XV6zNSs2GVTiUylXH0UlRnUH7xoWbLUhv403WcQLO2wUkkhDBzarQhJNp7u6Uj95pkruk9_2Xr5p5YQ - id_token
VM589 vendor.bundle.js:21192 Angular is running in the development mode. Call enableProdMode() to enable the production mode.
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Verbose renewing accesstoken
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Verbose renewToken is called for scope:https://mlpexpress.onmicrosoft.com/webapi/common https://mlpexpress.onmicrosoft.com/webapi/user_impersonation
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Info Add msal frame to document:msalRenewFramehttps://mlpexpress.onmicrosoft.com/webapi/common https://mlpexpress.onmicrosoft.com/webapi/user_impersonation
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Verbose Renew token Expected state: 0d4071b9-866a-4c17-b60f-9a59ae94f6c7
VM590 main.bundle.js:729 Contains: PII: true; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Info Navigate to:https://login.microsoftonline.com/te/mlpexpress.onmicrosoft.com/b2c_1_mlpexpressloginpolicies/oauth2/v2.0/authorize?response_type=token&scope=https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fcommon%20https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fuser_impersonation%20openid%20profile&client_id=a663f6ae-7de9-4bd9-be48-9709add850ac&redirect_uri=http%3A%2F%2Flocalhost%3A32897%2F&state=0d4071b9-866a-4c17-b60f-9a59ae94f6c7&nonce=aaf6c5f1-4988-4bce-b206-32a550b88f4e&client_info=1&x-client-SKU=MSAL.JS&x-client-Ver=0.1.5&client-request-id=3bf9f817-4ddf-4885-bc1b-3d0a0fba7f83&prompt=none&domain_req=f5608c9d-e238-47f9-8e91-0dce4a7003cc&login_req=19b30408-5853-40e2-bd3c-6ad2f7a5c12b-b2c_1_mlpexpressloginpolicies&domain_hint=organizations
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Verbose Set loading state to pending for: https://mlpexpress.onmicrosoft.com/webapi/common https://mlpexpress.onmicrosoft.com/webapi/user_impersonation
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Info LoadFrame: msalRenewFramehttps://mlpexpress.onmicrosoft.com/webapi/common https://mlpexpress.onmicrosoft.com/webapi/user_impersonation
VM590 main.bundle.js:729 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Info Add msal frame to document:msalRenewFramehttps://mlpexpress.onmicrosoft.com/webapi/common https://mlpexpress.onmicrosoft.com/webapi/user_impersonation
VM590 main.bundle.js:729 Contains: PII: true; Message: Fri, 09 Mar 2018 20:37:20 GMT:0.1.5-Info Frame Name : msalRenewFramehttps://mlpexpress.onmicrosoft.com/webapi/common https://mlpexpress.onmicrosoft.com/webapi/user_impersonation Navigated to: https://login.microsoftonline.com/te/mlpexpress.onmicrosoft.com/b2c_1_mlpexpressloginpolicies/oauth2/v2.0/authorize?response_type=token&scope=https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fcommon%20https%3A%2F%2Fmlpexpress.onmicrosoft.com%2Fwebapi%2Fuser_impersonation%20openid%20profile&client_id=a663f6ae-7de9-4bd9-be48-9709add850ac&redirect_uri=http%3A%2F%2Flocalhost%3A32897%2F&state=0d4071b9-866a-4c17-b60f-9a59ae94f6c7&nonce=aaf6c5f1-4988-4bce-b206-32a550b88f4e&client_info=1&x-client-SKU=MSAL.JS&x-client-Ver=0.1.5&client-request-id=3bf9f817-4ddf-4885-bc1b-3d0a0fba7f83&prompt=none&domain_req=f5608c9d-e238-47f9-8e91-0dce4a7003cc&login_req=19b30408-5853-40e2-bd3c-6ad2f7a5c12b-b2c_1_mlpexpressloginpolicies&domain_hint=organizations

Navigated to http://localhost:32897/
authentication.service.ts:30 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:22 GMT:0.1.5-Info Returned from redirect url
authentication.service.ts:30 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:22 GMT:0.1.5-Info State status:false; Request type:undefined
authentication.service.ts:30 Contains: PII: false; Message: Fri, 09 Mar 2018 20:37:22 GMT:0.1.5-Error State Mismatch.Expected State: 497836d4-33aa-49c1-bbe6-1e6d16680105,Actual State: 0d4071b9-866a-4c17-b60f-9a59ae94f6c7
authentication.service.ts:48 Error: undefined - undefined

Though the new state value was identified, 0d4071b9-866a-4c17-b60f-9a59ae94f6c7, it was never stored which ultimately causes MSAL JS to ignore the newly acquired access token.

Is this resolved? The version 0.1.1 works for me, but not 0.1.5. The response comes back, but does not store the state.
export class MsalService extends BaseAuthService  implements IAuthService{
public access_token: string;
public user: string;
private authority: string=AppSettings.authority;
private tenantConfig:any = {
tenant: AppSettings.tenant,
clientID: AppSettings.clientId,
    signUpSignInPolicy:AppSettings.signUpSignInPolicy,
    b2cScopes: AppSettings.b2cScopes
};
private clientApplication: any;

constructor() {
    super();
    debugger;
    this.initAuthApp();

}

public authCallback(errorDesc, token, error, tokenType) {
    if (token) {
       // console.log(token + ":" + token);
        alert(token);
    }
    else {
        //console.log(error + ":" + errorDesc);
        alert(errorDesc);
    }
}

protected initAuthApp() {
            this.clientApplication = new Msal.UserAgentApplication(
        this.tenantConfig.clientID, this.authority,this.authCallback
    );
    this.clientApplication.redirectUri = AppSettings.B2C_AD_RedirectUri;
}
public login(): void {
    debugger;
    this.clientApplication.loginRedirect(AppSettings.b2cScopes);
}

public  acquireTokenSilent():Promise<any>
{

debugger;
return this.clientApplication.acquireTokenSilent(AppSettings.b2cScopes)
.then(token => {
return token;
}).catch(error => {
console.error('error getting accees token: ' + error);
return Promise.resolve('');
});
}
public  createUser(rawIdToken) {
}

logout(): void {
    this.clientApplication.logout();
};

isOnline(): boolean {
    debugger;
    return this.clientApplication.getUser() != null;
};
getUser(): AuthUser {
    debugger;
    var decodedIdToken = this.clientApplication.getUser().idToken;
    //v 0.1.1 Msal.Storage._instance.getItem(Msal.Constants.idTokenKey)
    var email: string ="", lastName:string ="", firstName:string ="", objectId:string = "", phoneNumber:number, idp:string="";
    email =   decodedIdToken.emails[0];
    lastName = decodedIdToken.family_name;
    firstName = decodedIdToken.given_name;
    objectId = decodedIdToken.oid;
    idp = decodedIdToken.idp;
    if(idp=='undefined' || idp==null|| idp==""|| idp=="0"){
        idp='EmailAndPassword';
    }
    return AuthUser.createUser(objectId, firstName, lastName,  email , phoneNumber, idp )
};

getToken():string {return this.clientApplication.getUser().rawIdToken;
}

So, is there any word on getting this resolved?

Hi folks.
The problem is not MSAL.js but https://login.live.com/oauth20_authorize.srf. Here is what I found out when I was debugging the entire acquireTokenSilent process:
When the iframe (msalRenewFrame…) tries to authenticate at https://login.live.com/oauth20_authorize.srf, https://login.live.com/oauth20_authorize.srf attempts to ‘framebust’ (navigate the parent of the iframe which is the main site). Chrome shows this warning:

Frame with URL 'https://login.live.com/oauth20_authorize.srf?client_id=… attempted to navigate its top-level window with URL 'http://localhost:4200/#/dashboard'. Navigating the top-level window from a cross-origin iframe will soon require that the iframe has received a user gesture. See https://www.chromestatus.com/features/5851021045661696. DoSubmit @ oauth20_authorize… onload @ oauth20_authorize…
This causes the main site to redirect, which turns acquireTokenSilent into acquireTokenBoisterous. Just kidding.
I tried to sandbox the msalRenewFrame… with ifr.setAttribute("sandbox", "allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts") according to https://www.w3schools.com/tags/att_iframe_sandbox.asp. Now the main site does not redirect away, but now Chrome shows an error:

Unsafe JavaScript attempt to initiate navigation for frame with URL 'http://localhost:4200/#/dashboard' from frame with URL 'https://login.live.com/oauth20_authorize.srf?client_id=… The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.
I assume this framebusting happens for compatibility reasons (we all know how redirect heavy logging in into Microsoft services is). I am afraid this is no easy fix. But Chrome will break it soon anyway so maybe the team behind https://login.live.com/oauth20_authorize.srf is already on it. Until then Azure AD B2C in combination with Live Accounts and MSAL.js is broken and cannot be used.

I'm seeing exactly the same issue so it's good to see that the bug tag has been applied. In my scenario login to my website works for MS Accounts and Google accounts however if you then hit a page which makes a call to an API secured using B2C the above issue occurs.
My error on Google accounts is slightly different but i'll include it below in-case the two are somehow linked.
Refused to display 'https://accounts.google.com/o/oauth2/auth.....' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

@navyasric, what can we do to workaround this issue ? It is a blocking issue since we cannot get access tokens for all MS accounts from MSAL.js. (We also have a different issue for Twitter accounts #349)
The README reads

This library is suitable for use in a production environment.

Please do something...

any updates?  still encountering this issue

In my Angular/MSAL testing, I have found that this error occurs frequently when users with multiple accounts attempt to login to the application.

@andyamacdonald @drocm @aloene @mdressman  To confirm, are you are experiencing the iframe related errors in Angular apps using msal-angular? Can you let us know if your app is creating nested iframes due to the way msal is loading? Please check this FAQ topic to see how to load the msal module and let us know if it helps with x-frame issue.

For NPM users attempting to implement @navyasric above suggestion. Note that "msal-angular" is NOT the correct package (this caused me some headaches).
The correct NPM package is "@azure/msal-angular".

Hello,
I am not sure if this is related but I'm also having the same issue getting the user information via the MSAL Library after the user has authenticated fine. It seems to detect the #id_token just fine but nothing else.
Every time it does the process, I noticed that on the Microsoft site (in Google Developer Tools) it says the cookie couldn't be stored because it was too large and it was ignored.
Could it simple be that, because the cookie isn't getting stored on aadcdn.msftauth.net and when the MSAL Library checks it's environment on a recall, it has no cookie to refer to?
Only a thought, I'm reporting it as anything saying it ignored cookies can't be good.
GOOGLE DEVELOPER TOOLS - COPY/PASTE
"Cookie length should be less than or equal to 4096 characters."
Set-Cookie header is ignored in response from url: https://login.microsoftonline.com/common/reprocess?ctx=XXX&sessionid=XXXX.  Please let us know if so.
You may find the B2C demo helpful: https://github.com/Azure-Samples/active-directory-b2c-javascript-msal-singlepageapp

Please raise a new issue if it is not resolved with the above information. Closing this ticket as there is no response from the user.


Fix strip whitespace ordering

Moved the if self.strip_whitespace {} code to before the minimum and maximum length checks.
Changed the logic of string length test's expected value from Err('String should have at most 5 characters') to '1234' for input '1234  ', since the strip_whitespace code will now remove the spaces before the input gets to the length checks, changing the input string to 4 characters instead of 6 characters. Therefore, the input should now pass the length validation instead of throwing an error.
Changed the expected value of pattern test ({'strip_whitespace': True, 'pattern': r'\d+$'}, 'foobar 123 ', Err("String should match pattern '\\d+$'")) to 'foobar 123' since the strip_whitespace now removes the trailing ' ', so the input should pass the pattern validation since a digit will be the last character in the string.

Codecov Report

Merging #264 (457fbfc) into main (feac27e) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #264      +/-   ##
==========================================
- Coverage   98.60%   98.53%   -0.07%
==========================================
  Files          51       51
  Lines        5226     5273      +47
  Branches       37       39       +2
==========================================
+ Hits         5153     5196      +43
- Misses         73       76       +3
- Partials        0        1       +1

Impacted Files
Coverage Δ

src/validators/string.rs
100.00% <100.00%> (ø)

pydantic_core/core_schema.py
99.05% <0.00%> (-0.95%)
:arrow_down:

src/validators/union.rs
98.80% <0.00%> (-0.31%)
:arrow_down:

src/input/input_python.rs
98.14% <0.00%> (-0.26%)
:arrow_down:

src/validators/typed_dict.rs
99.08% <0.00%> (-0.02%)
:arrow_down:

src/lib.rs
100.00% <0.00%> (ø)

src/errors/value_exception.rs
100.00% <0.00%> (ø)

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 feac27e...457fbfc. Read the comment docs.

great, thanks so much.


feat(version): Pass --match option to checkWorkingTree

 ✅  Status: Passed!

 :stopwatch: Run time: 2.3 min
 🏷  Commit: 67cb560
 Full Report
 Deploy Previews
 View Tests


Implement function date

https://www.php.net/manual/en/function.date.php

94dba28dbf25f704c1e5b02bbfc05163bc76da77 Started implementation of related date time functions like checkdate, getdate, localtime, microtime, mktime and time

https://github.com/MasterZydra/GoPHP/commit/42dab03341e787561fd530d57415b31063ee0704


refactor(behavior_velocity_no_drivable_lane_module): relocate README file

Description
To be able to sync the README file under behavior_velocity_no_drivable_lane_module with github.io, this PR renames and relocates the README file for behavior_velocity_no_drivable_lane_module
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@xmfcx : may you please approve this PR ?
It is just for reflecting the recent refactoring changes regarding README.md (name and location) in behavior_velocity_planning modules into no_drivable_lane module.

@ahmeddesokyebrahim you seem to be a code owner for this package, your approval should be enough.

https://github.com/autowarefoundation/autoware.universe/blob/main/planning/behavior_velocity_no_drivable_lane_module/package.xml#L8
https://github.com/autowarefoundation/autoware.universe/blob/main/.github/CODEOWNERS#L132

Can you make sure that you have<EMAIL_ADDRESS>under emails section in Github settings? https://github.com/settings/emails

@xmfcx : Thanks for this great advice!
It is working now :+1:


feat: Add XAML Fundamentals section with pages and examples

Description
This pull request introduces the "XAML Fundamentals" section, including pages and examples for XAML Resources, Binding, and Templates, main changes are:

Added sample code files for XAML Resources, XAML Styles, Binding, and Templates.
Added new assets for theme resource examples and updated control images.
Updated ControlInfoData.json to include the new "XAML Fundamentals" section.
Added pages for XAML Resources, XAML Styles, Binding, and Templates, each with practical examples.
Updated navigation to include the new section and handle its items programmatically.

Motivation and Context
I noticed that many learners, especially those new to WinUI 3, often turn to the WinUI 3 Gallery application as their starting point. While the app provides excellent explanations of controls and code samples, it sometimes introduces concepts that may be unfamiliar to beginners.
To address this, I had created a dedicated section in the application called XAML Fundamentals. This section is organized into key topics, including:  XAML Resources, XAML Styles, Binding, and Templates.
The goal is to help learners better understand these foundational concepts by providing clear explanations, practical examples, and links to relevant documentation.
How Has This Been Tested?
This code was tested manually, and no issues were encountered during the testing. The changes are isolated to the new section and do not affect other areas of the app.
Screenshots:
XAML Resouces Page

XAML Styles

Binding

Templates

Types of changes

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

Nit: note the unnecessary use of Capital letters for a number of Words.

Adjusted as suggested.

In the XAML, I see a couple of different values, based on 5 or 10. This doesn't fit within the general recommendation to use multiples of four. Is there a reason for this? Also, something like a CornerRadius can be set with ControlCornerRadius, right?
Examples:
CornerRadius="5"
Padding="10"
Margin="5"

Did you know?

[!NOTE]
Starting in Windows 10, version 1607, the XAML framework provides a built in Boolean to Visibility converter. The converter maps true to the Visible enumeration value and false to Collapsed so you can bind a Visibility property to a Boolean without creating a converter. Note that this is not a feature of function binding, only property binding. To use the built in converter, your app's minimum target SDK version must be 14393 or later. You can't use it when your app targets earlier versions of Windows 10. For more info about target versions, see Version adaptive code.

https://learn.microsoft.com/windows/uwp/xaml-platform/x-bind-markup-extension#remarks

Few more things. Still think both the amount of bold text - and the formatting - can be significantly reduced, but again, opinion from a developer is welcome here!

Besides: semibold must be used. This is used on all other pages, and also in the Type Ramp. (Bold is a bit hard on the eyes)
Example: <Paragraph FontWeight="SemiBold">Text</> is also valid (omits the Run)
Check consistency in the lists: sometimes the number is bold, sometimes it's not; sometimes there's a dash, sometimes a bullet...

I used bold to highlight the important points, it seems a good idea if we replace it with semibold.
I agree with the other points you mentioned.
I'll work on it, thank you for your effort :)

In order to not spam the PR with suggestions, I thought I'd give you some of my ideas via these files, for example:
ThemeResourcesPage.zip

In order to not spam the PR with suggestions, I thought I'd give you some of my ideas via these files, for example: ThemeResourcesPage.zip

I’ve granted you write access.
The remaining changes are minor, so feel free to apply them directly if you prefer.

I think we should remove or change the "Binding to resources" example, because this is simply a Static/Theme resource, covered in the other page. And "Binding to a property in code-behind" is not using any C# at all, it is actually binding properties between two controls.

@zakariathr22 Thanks for the PR. Great to see the community putting in the effort to make onboarding to WinUI easier :-)!
Some high-level thoughts I'd love to get input on before I do a more detailed review:

Can we add the documentation inline vs. an expander? I think the Expander hides the information and you might miss it. Also the expanders kind of suggest that there's code (as they are prominently used in each code sample)

Would it make sense to combine these 3 pages? All of this content is very much related, and as a new developer I'd rather have a single page that introduces these concepts vs 3 separate pages? I might read the first one and then miss the others.

We need to make sure our samples meet a11y requirements.

Hey Niels, thanks for your message. My quick thoughts:

Sure, it's a possibility. We also used this on the Iconography page, and the fact that somebody chose this design too now, does mean something, I think.
Difficult. Theme resources and Styles are also related. Page(s) would become very long, especially considering point 1
The font color is always white on my end. Let's se if we should update Zakaria's repo... ⌛

I used the expander to keep explanations brief and focus more on examples and code. It also worked well on the icons page.

I might combine "Resources" and "ResourceDictionary" into one page, but I prefer keeping "Theme Resources" separate since it's an important topic.

@Jay-o-Way Thanks for fixing that!

Resources
Do we need 3 samples here? It's pretty verbose for only small differences.
`xml

<Application ...>
<Application.Resources>
#FF5733
</Application.Resources>

<Page ...>
<Page.Resources>
<x:String x:Key="WelcomeString">Welcome to "WinUI 3 Gallery!</x:String>
</Page.Resources>
<Grid>
  <Grid.Resources> <!-- Control level resources -->
       <x:Double x:Key="ButtonFontSize">24</x:Double>
   </Grid.Resources>

    <Button FontSize="{StaticResource ButtonFontSize}" Content="{StaticResource WelcomeString}" Foreground="{StaticResource AppLevelColor}" />

</Grid>

Resources Do we need 3 samples here? It's pretty verbose for only small differences.
Something like this would show the same thing, right?
 <!-- App.xaml -->
<Application ...>
    <Application.Resources>
        <Color x:Key="AppLevelColor">#FF5733</Color>
    </Application.Resources>
</Application>

<!-- YourPage.xaml -->
<Page ...>
    <Page.Resources> <!-- Page level resources -->
        <x:String x:Key="WelcomeString">Welcome to "WinUI 3 Gallery!</x:String>
    </Page.Resources>

    <Grid>
        <Grid.Resources> <!-- Control level resources -->
            <x:Double x:Key="ButtonFontSize">24</x:Double>
     </Grid.Resources>

        <Button FontSize="{StaticResource ButtonFontSize}" Content="{StaticResource WelcomeString}" Foreground="{StaticResource AppLevelColor}" />

    </Grid>
</Page>

Actually.. would a single resources page like this work:
Structure:
Resources
Explanation on resources
Single resource sample
ResourceDictionary
Explanation on resources
Single ResourceDictionary sample
ThemeResources
Explanation on staticresource vs. themeresource
Single ThemeResource sample with colors, string and image?
That would keep everything on a single page.. and as a user you have one stop for all of your resourcing needs?

I agree with combining the Resources + Dictionary with that simpler example. About the Expander - both is fine for me.

Actually.. would a single resources page like this work:
Structure:
Resources Explanation on resources Single resource sample
ResourceDictionary Explanation on resources Single ResourceDictionary sample
ThemeResources Explanation on staticresource vs. themeresource Single ThemeResource sample with colors, string and image?
That would keep everything on a single page.. and as a user you have one stop for all of your resourcing needs?

How about organizing it like this:

Expander: Highlight the key points
Single Resources example
Single ResourceDictionary example
StaticResource vs. ThemeResource example
Additional ThemeResource example with colors, strings, and images

I'd maybe remove the Expanders on these pages. https://github.com/microsoft/WinUI-Gallery/pull/1679 will declutter the header a bit and give back some vertical space.
I think the info in those expanders are pretty important looking at the goal of the page? I wouldn't hide the information then. Also, it's not too much information.
To @jay-o-way 's point on using the Expander on the Icons page; it's not really relevant information, and this page more of a tool.. scrolling every time is annoying there as developers might go to this page a couple of times a day. I agree it's not a perfect solution, but it does serve a different purpose.

I'd maybe remove the Expanders on these pages.
I think the info in those expanders are pretty important looking at the goal of the page? I wouldn't hide the information then. Also, it's not too much information.

I will work on it

@niels9001 any other suggestions?
@Jay-o-Way, your suggestions and adjustments are always appreciated!

Ah yes, I don't mind this change. All I think now is that the three "headers" are very redundant. "Creating and using (...) in WinUI 3" is more than a user needs.
Now, go have a nice weekend @Zakariathr22 it's late! 😉

@niels9001
Thank you for your help and reviews; they made a significant difference.

@Zakariathr22 We've reviewed the PR and saw some (minor) improvements we could make.
Would you mind getting the latest changes from main and can I PR against your branch? It's probably faster that way :)!

Would you mind getting the latest changes from main and can I PR against your branch? It's probably faster that way :)!

@niels9001 Sure, feel free to go ahead, thanks for helping out!

@niels9001
I can also grant you a write access if you like :)


[docs][base] Add return type for useFormControlUnstyledContext hook

Adds useFormControlUnstyledContext hook return value interface for #35933.
PR is a draft because I'm unable to generate any docs at the moment just by using FormControlUnstyledState | undefined as the return value for the hook and wanted to clarify next steps. Should I simply deconstruct FormControlUnstyledState and enter each of its properties separately into UseFormControlUnstyledContextReturnValue so that docs can be generated?

[ ] I have followed (at least) the PR section of the contributing guide.

Thanks for making the changes @ZeeshanTamboli! Was very busy lately so couldn't address those comments so really appreciate the help.


Ramsey\Uuid\Uuid::uuid6() is not an instance of Ramsey\Uuid\Nonstandard\UuidV6 anymore

hello
as said in the title, this :
$uuid = Ramsey\Uuid\Uuid::uuid6() ;    $uuid instanceof Ramsey\Uuid\Nonstandard\UuidV6 now returns false...
if i do
get_class($uuid),
i'll get : Ramsey\Uuid\Lazy\LazyUuidFromString object...
since i would prefer to be sure to have the time ordered Uuid, is it something i still can check somehow ?

Note to me, so that these get linked together: this is related to #327.

following this topic as well, I really want to be able to verify that a Uuid::uuid6 is an instance of Ramsey\Uuid\Nonstandard\Uuidv6 otherwise i have no of knowing that the uuid being passed is a uuid type6.


Generate graph of analyses from analyses present in the viz.json

@xavijam can you please take a look? Thanks!

:clap: :clap:


fix: escape square

When having params like
[number, number] throws error as below

This PR is will fix the problem

@h13i32maru Can we merge this?

soft reminder


Add GraphQL API

As follow up to #185 and in context of https://media.ccc.de/v/geekend2018-5-graphql – what are your options on adding a GraphQL API to the tracker?
It looks like there exist the corresponding libraries for PHP (e.g.
https://github.com/webonyx/graphql-php ) and here is an example GraphQL server implementation https://github.com/benawad/php-graphql-example ( explained in https://www.youtube.com/watch?v=jRuSicPIeUY )

Yes, I've already thought about GraphQL. It requires more implementation work on the server, but seems very flexible.


Support coffeescript 2 (in Meteor 1.6.1)

Meteor 1.6.1 ships with an updated Babel compile, which means that the coffeescript package must be updated to version 2, whereas blaze-components depends on coffeescript 1. Would it be possible to also support coffeescript 2?

Are there any workarounds for this? I'm assuming I'm running into this problem … Upgraded to 1.6.1. and all my peerlibrary packages downgraded a few version (peerdb dropped from 0.24 to 0.20). So I've seen most peerlibrary packages got upgraded to Coffeescript 2 and so I've pinned the versions to the newest ones (in an attempt to fix my downgraded dependencies), only to run into conflicting versions:
Conflict: Constraint<EMAIL_ADDRESS>is not satisfied by coffeescript 2.0.3_4.

For now, I'm just sticking with Meteor 1.6.0. I've not tested what would be required to fix this package, it might be just increasing package versions, but that has to be tested.

Pinging @mitar to see if there's any hope now that he's using Vue. 😁

Yea, I have this on my radar. I have many packages in CoffeeScript and this is on top of the tree, I had first to port all other packages.

@steventebrinke @MatejJan In the meantime, as a workaround, you can clone my forks into your packages directory:
cd packages

git clone git@github.com:maxfi/meteor-blaze-components.git
(cd meteor-blaze-components && git checkout ca6d1d4334d915bd855963b9b1dee0022be0f3e5)

git clone git@github.com:maxfi/meteor-base-component.git
(cd meteor-base-component && git checkout e0bf4850b7f3bf1eb989a38e83be76ee5a85ad73)

Upgrading to 1.6.1 really is a nightmare

@mitar any chance of making peerlibrary compatible? Its a shame for all those projects out there still depending on it.

Published a version for CoffeeScript2 as<EMAIL_ADDRESS>Sorry that it took so long.


Update index.html to include reveal library

index.html in
<link rel="stylesheet" type='text/css' href="revealjs/dist/reset.css">
<link rel="stylesheet" type='text/css' href="revealjs/dist/reveal.css">
<link rel="stylesheet" type='text/css' href="revealjs/dist/theme/simple.css" id="theme">

as the 2nd to last entry in

js/script.js
// Also available as an ES module, see:
// https://revealjs.com/initialization/
Reveal.initialize({
});

Completed.