Redirected needed for VC Issuance tut/blog post

Old link https://developer.tbd.website/docs/tutorials/issue-verifiable-credential-manually/
Needs to redirect to new link https://developer.tbd.website/blog/issue-verifiable-credential-manually

Proposed fix in #393 for @angiejones confirming this is the right fix, else need more context as to where the "old link" is located

Bumping to Phase 3

Reassigning to @angiejones for Q above, bumping from Phase 3


buildBazelPackage: autodetect nix toolchain instead of Xcode on Darwin

Motivation for this change
buildBazelPackage is autodetecting Xcode clang as opposed to using Nix's clang. This was originally submitted in #56033 by @uri-canva, and removed in #64904 by @abbradar.
closes #65268
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build bazel-watcher

Ah right, now I remember why this was necessary on darwin but not on Linux: the darwin derivations don't have the right hooks to set the environment variables (see https://github.com/NixOS/nixpkgs/pull/41914 for example), so the derivations that use them need to set the right flags.

So is this only required on Darwin? If yes, we should special-case.

@Profpatsch done! Although the PR should be rebased or squased-merged.
@GrahamcOfBorg build bazel-watcher


Add kill call for LuceneDocCollector in JobCollectCtx

changes entry is missing

a unit test that verifies that kill is called on the CrateCollectors if kill is called on the JobCollectContext would be nice

ack if travis passes


Small improvements

Added option to highlight the current input underline
Added implementation of optimal textContentType property so it can be set to iOS 12 enabled option UITextContentType.oneTimeCode

I like it, thanks! :)


[bug]: 2.3.1-post2 - VAE is not a valid JSON file

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6GB
What happened?
I'm having an issue with SAEs, it's giving this erro: vae-ft-mse-840000-ema-pruned.vae.pt' is not a valid JSON file
it's happening for any VAE I have, even .ckpt or .safetensors
Screenshots

Additional context
No response
Contact Details
<EMAIL_ADDRESS>

Download this vae https://drive.google.com/drive/folders/16fD4pU4dUPXktcSQt-uvxqyg1B401WB7?usp=share_link directory, place it in the models\ directory, then specify the VAE Location path: models\vae\vae-ft-mse-840000-ema-pruned
This is the original converted model vae-ft-mse-840000-ema-pruned.ckpt.

https://drive.google.com/drive/folders/16fD4pU4dUPXktcSQt-uvxqyg1B401WB7?usp=share_link

thx!


No smooth sliding of pictures if there are more than 30 pictures in carousel

Is this a bug report, a feature request, or a question?
question

Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an x character between the square brackets ([]).)

[x] I have read the guidelines regarding bug report.
[x] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
[x] I have searched for existing issues and made sure that the problem hasn't already been reported.
[x] I am using the latest plugin version.
[x] I am following the issue template closely in order to produce a useful bug report.

Have you made sure that it wasn't a React Native bug?
(yes.)

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
both
Is the bug reproductible in a production environment (not a debug one)?
both production and debug

Environment

(  Environment:
"react": "16.8.6",
"react-native": "^0.60.6",
"react-native-snap-carousel": "^3.8.4",
Target Platform:
Android (5.0).)
Expected Behavior

(smooth scrolling of pictures if the carousel contains more than 100 pictures)
Actual Behavior

1.slide moves to right, if I try to swipe left and vice versa.
Reproducible Demo
https://snack.expo.io/BkamVJ1z8

Steps to Reproduce

(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)
apiResponse:
[ {
"path": "file:///storage/emulated/0/SHAREit/pictures/Download/Hills.jpeg",
"metadata":["snow", "tree"]
},
]
my carousel renderItem has following components

array  of pictures : display pictures from path(getting from api
array that has metadata items(scroll items if it has more data)
When tapping on picture call modal and shows full picture

Here, touchable events are shows abnormal behaviour. If I want to scroll on metadata slider is scrolling and moves to next slide and delay of 10sec while sliding

@NeerajaaG Looking at your code, I'm positive the culprit is this: useScrollView={true}.
As stated in the doc, you should absolutely avoid setting that to true when not required as this will basically render all items at once.
Your Snack example is not working by the way (error Device: /module:/App.js: Unexpected token, expected "," (59:32)).


[CARBONDATA-1318]Fixed Concurrent table data loading unsafe memory issue

Fixed task cancellation leak issue
Fixed task cleanup issue in data loading
Fixed Concurrent table data loading unsafe memory issue

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3117/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/526/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/530/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3121/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3127/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/536/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3152/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/559/

LGTM


Varun plot bug fix

Hey Varun
thanks for the contribution. I will check it now.
Tell me if you are interested in joining the MZmine slack

Looks good to me overall. This one is connected to #887 and addresses my comments.


cleanup: Do not use import wildcards

Closing and re-opening so hopefully the semantic bot updates...

The list of commit types supported by the bot is available here.
I believe that the closest to "cleanup" would be "chore". Otherwise, we can always configure the bot the accept "cleanup".

@lionel-nj Ah, yes, you're right. I'll change this to "chore:".

I started integrating the new validator code at Google. Unfortunately, wildcard imports are forbidden by Google Java style guide. To be honest, sometimes I personally disagree with Google style guides, but I am forced to follow them.
Speaking of IDE: I configured IDEA to never use wildcard imports, so it will not collapse them. Actually, this commit was generated by IDEA automatically.

@lionel-nj Ah, yes, you're right. I'll change this to "chore:".

I think that refactor can be even more accurate in this case. Thanks for the link to the commit types list!


[Bug]: Run and Debug MSTest Playwright Test Project/NUnit Playwright Test Project failed

Version
Don't know
Steps to reproduce
1.Create a MSTest Playwright Test Project and add a NUnit Playwright Test Project to the solution.
2.Build the solution.
3.In the Activity bar, Run Test or Debug Test.
Expected behavior
Run and Debug normally.
Actual behavior
Run and Debug MSTest Playwright Test Project/NUnit Playwright Test Project failed.
Details in "Output -> C# Dev Kit - Test Explorer" pane:
Created Test Controller
Using vstest from dotnet sdk in [C:\Program Files\dotnet\sdk\8.0.203].
Initialized Test Explorer Server [9660]
Test Store Folder: c:\Users\v-arabellaqi\AppData\Roaming\Code - Insiders\User\workspaceStorage\112c82b1835acdda23a9dd3507e051ef\ms-dotnettools.csdevkit
Test data store opened in 0.019 sec.
Initialized project system provider.
1 projects added, 0 changed, 0 removed.
Scheduling discovery: C:\Users\v-arabellaqi\source\repos\1\TestProject1\bin\Debug\net8.0\TestProject1.dll [0]
Tests are available, running test discovery: C:\Users\v-arabellaqi\source\repos\1\TestProject1\bin\Debug\net8.0\TestProject1.dll
Scheduling discovery: C:\Users\v-arabellaqi\source\repos\1\TestProject1\bin\Debug\net8.0\TestProject1.dll [1712103303569]
========== Starting test discovery ==========
Tests changed, running test discovery: C:\Users\v-arabellaqi\source\repos\1\TestProject1\bin\Debug\net8.0\TestProject1.dll
Skipping discovery, already scheduled: C:\Users\v-arabellaqi\source\repos\1\TestProject1\bin\Debug\net8.0\TestProject1.dll [1712103303569]
========== Test discovery finished: 1 Tests found in 2.1 sec ==========
1 tests discovered from C:\Users\v-arabellaqi\source\repos\1\TestProject1\bin\Debug\net8.0\TestProject1.dll in 2113.2267 ms
========== Starting test run ==========
========== Test run finished: 1 Tests (0 Passed, 1 Failed, 0 Skipped) run in 5.9 sec ==========
Additional context
Issue image:

Issue record screen:

.NET SDKs Version:

Environment
Test Environment:
Platform: Windows, Mac ARM64, Linux
VSCode: VSCode Stable, VSCode Insider
Extensions:
.NET Install Tool Extension v2.0.3
C# Dev Kit Extension: v1.5.10
C# Extension: v2.24.17
Intellicode Extension: v0.1.56
.NET SDKs: 8.0.203

I see this error expanded, which is the standard "install driver" error.  Step 3. and 4. here https://playwright.dev/dotnet/docs/intro#introduction

Running the suggested command (in my case .\TestProject1\bin\Debug\net9.0\playwright.ps1 install) does install the driver and fixes the problem.
if you feel this is not ergonomic enough please upvote this issue: https://github.com/microsoft/playwright-dotnet/issues/2286

Closing as per above.


THRIFT-5564: setup example github action

setup a basic github action. this is part of THRIFT-5564 but does not completely close it yet.

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

cc @Jens-G i guess this needs to be enabled after the merge - for now i can't see from the actions tab whether it's working or not

cc @Jens-G i guess this needs to be enabled after the merge - for now i can't see from the actions tab whether it's working or not

You should be able to see if it's working in your fork.

cc @Jens-G i guess this needs to be enabled after the merge - for now i can't see from the actions tab whether it's working or not

You should be able to see if it's working in your fork.

thanks for the pointer - it's https://github.com/Jimexist/thrift/actions/runs/2237581561 and working for now

cc @Jens-G i guess this needs to be enabled after the merge - for now i can't see from the actions tab whether it's working or not

You should be able to see if it's working in your fork.

thanks for the pointer - it's https://github.com/Jimexist/thrift/actions/runs/2237581561 and working for now

with that passed i plan to leave this pull request as is and put future work in subsequent pull requests to make the change / shift incremental.
my current plan is to have several steps:

enable thrift compiler building in ubuntu (this PR)
enable thrift compiler building in macOS and windows
use artifact sharing to share the pre-built compiler, and create subsequent library building workflows per language - this is unlike the current setup in travis where a monolithic docker environment has to be setup
if that goes smoothly, have a final cross test runner that combines all the built cross test runners

@ctubbsii thanks for the review - i guess it's turned on now 🏁


Flaky test_jobqueue

test_jobqueue seems to be highly flaky. It failed twice in my latest CI run: https://github.com/coiled/coiled-runtime/actions/runs/3176035030/jobs/5174842859
CC @gjoseph92

@crusaderky is this still a problem? if not can we close it?

It looks stable now


Updating the Welsh individual census translations

What is the context of this PR?
I have downloaded the latest translations from Crowdin for the Welsh individual census.
Trello
How to review
Check that no translations are missing.

I noticed some instances where the Welsh translations have additional information in parentheses where the English versions do not - not quite sure what the reason is behind this?

 Download Welsh PO file (S)


Finger crossed monolog handling not working as expected

I'm using monolog (1.25) over the monolog-bundle(3.4) with the default configuration with finger_crossed.
It look like this:
monolog:
    handlers:
        main:
            type: fingers_crossed
            action_level: error
            handler: nested
        nested:
            type: stream
            path: "%kernel.logs_dir%/%kernel.environment%.log"
            level: debug
        sentry:
            type: service
            id: sentry.monolog.handler
            level: error

Sentry handler seems not to filter out the debug logs and create all as issues. Did I configure something wrong?

No unfortunately not. This has already been reported in https://github.com/getsentry/sentry-php/issues/856 (and #229), and closed as it seems to be an upstream issue with the MonologBundle.

Thx for the fast answer! I would then document the level argument in the readme.md like in #229:
https://github.com/getsentry/sentry-symfony/pull/241


Add shebang

Without it, script fails on systems that have a minimal shell in /bin/sh, like my Pop!_OS and probably Ubuntu too.

Hi @svenoaks ,
Yes, I forgot about shebang. Perhaps that is because I use ZSH on macOS and Windows (in MSYS2).
The thing is that Travis CI uses Ubuntu images with its standard bash. And it actually works there. So the shebang was never needed.
Can you tell me what is your current default shell and its version?
Also, what version of Pop!_OS do yo use?

It's PopOS 19.10 (PopOS is based on Ubuntu) and I use Zsh as well for my user shell, but I think when it runs scripts it uses the system shell. Here you can see same thing on Ubuntu at least a few years ago:
https://unix.stackexchange.com/questions/45781/shell-script-fails-syntax-error-unexpected
https://wiki.ubuntu.com/DashAsBinSh

I see. Thanks for pointing it out.
Do you think the same line should be added to all script files in this repository? Or just to the main one?
And by the way, what exact error did you have without that line?

I see the problem now.
The Dash doesn't support functions. That is a problem for me, so I do need to specify the shebang.
According to this link it has to be #!/usr/bin/env bash for portability. I'll add it to all shell scripts in the repo.
I'll decline your PR and do everything myself, since I have time right now.
Thanks again for rising this question.


[WIP] Switching all plugins to AndroidX

This pr switches this repo's plugins and related files to AndroidX.
These changes follow the 9.0.0 Maps SDK release, which introduced AndroidX in https://github.com/mapbox/mapbox-gl-native-android/pull/129/files and went out in https://github.com/mapbox/mapbox-gl-native-android/releases/tag/android-v9.0.0-alpha.1
The Java SDK switch to AndroidX happened at https://github.com/mapbox/mapbox-java/pull/1095 and went out in the 5.0.0 release: https://github.com/mapbox/mapbox-java/releases/tag/v5.0.0

Close to ✅
Current 💥 is about make generate-annotation-code

Running make generate-annotation-code on my local machine adjusts the files back to the support import lines.

Need to hunt down the right place to adjust the scripting so that AndroidX lines are used instead

CI is passing. Next step for me is to do manual QA of all plugins in this repo's test app.

All plugins are working as expected in the test app on this branch. We're good to go here @tobrun .


Upgrade postgres to 16.x

Done incrementally through https://github.com/opencollective/opencollective-api/pull/10528 then https://github.com/opencollective/opencollective-api/pull/10536 then https://github.com/opencollective/opencollective-api/pull/10534


V0.11.2.x fix toolbar styling

QT has a bug for toolbar styling so after https://github.com/darkcoin/darkcoin/pull/234 wallet looks strange on Mac OS. To solve this you need to create additional container for toolbar and walletFrame and make it the central widget. This is a workaround mostly for toolbar styling on Mac OS but should work fine for every other OSes too. Tested on Mac OS and Ubutntu. Would be nice if someone can test it on Windows too.
Before:

After:

Build and tested a Windows version, looks like your second screen-shot :thumbsup:

Thanks @crowning2 !


Cognito Configuration

Hello, first of all: congrats for the good job, its an awesome solution!
I´m trying to connect Kong to cognito, through this plugin but i have some questions. I did some plugin and Cognito setup and i´m stuck in this scenario:

Kong connects to plugin and get a Authorization code.
Cognito execute the call to kong with authorization code
https://localhost:8443/auth-sample?code=3107ccb1-837e-4bc3-ac9f-18fef551ed53

My cognito conf:

My plugin conf:
{"realm": "kong", "scope": "openid", "filters": null, "client_id": "123", "discovery": "https://cognito-idp.us-east-1.amazonaws.com/us-east-bla/.well-known/openid-configuration", "ssl_verify": "no", "bearer_only": "no", "logout_path": "/logout", "client_secret": "bla", "response_type": "code",  "session_secret": "bla", "redirect_uri_path": null, "recovery_page_path": null, "introspection_endpoint": null, "redirect_after_logout_uri": "/", "token_endpoint_auth_method": "client_secret_post"}
The questions are:

Who is supposed to be the authorization callback? Kong, cognito or other service.
My first impression is that kong should be the one, according the docs

But if kong should handle this callback, what is the endpoint/service? Should the oidc plugin be enabled for this service?

What does it mean this?

Should i call GET /API with the authorization code? How should i pass this, which header?

An update on this, now the error is
2020/09/21 15:46:17 [error] 22#0: *426 [lua] openidc.lua:1173: authenticate(): request to the redirect_uri_path but there's no session state found,
Tried to fix with the solutioin described at https://github.com/zmartzone/lua-resty-openidc/issues/231
/usr/local/kong # cat /tmp/custom_nginx.conf
set $session_secret bla;
set $session_cookie_samesite off;
The redirect from cognito to kong is si same-site=Lax

The result is

For some unknown reason, session is not correctly started. Disabling some verification on openidc.lua

Everything works well.. on a first sight :)

@ledbruno May I know if you are using the Nokia Kong OIDC plugin as a route plugin? I recently tried to set up a Kong with this custom plugin and found that config.redirect_uri_path may be affecting the behaviour.

@jacky96623 its applied on a Service not a route.
I've bypassed the problem with a source code customization and changing the redirect_uri_path and scheme attributes

I had the same problem and was able to fix it by setting the $session_name variable in the server block.
Why? I'm not sure. Example:
server {
  ...
  server_name proxy.localhost;
  #lua_code_cache off;
  set $session_name nginx_session;
  location / {
      	  access_by_lua_block {
            local opts = {
               redirect_uri = "http://proxy.localhost/cb",
               discovery = "http://<IP_ADDRESS>:9000/.well-known/openid-configuration",
               client_id = "proxyclient-id",
               client_secret = "secret",
               ssl_verify = "no",
               scope = "openid"
            }
            -- call authenticate for OpenID Connect user authentication
            local res, err = require("resty.openidc").authenticate(opts)

            if err then
              ngx.status = 500
              ngx.say(err)
              ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)
            end

            ngx.req.set_header("X-USER", res.id_token.sub)
          }

          proxy_pass http://localhost:8080/;
          proxy_set_header x-forwarded-proto $scheme;
        }
}

Another thing to pay attention to is the lua_code_cache off directive; It could break the session. See: https://github.com/bungle/lua-resty-session#notes-about-turning-lua-code-cache-off

I had the same problem and was able to fix it by setting the $session_name variable in the server block.
Why? I'm not sure. Example:
server {
  ...
  server_name proxy.localhost;
  #lua_code_cache off;
  set $session_name nginx_session;
  location / {
      	  access_by_lua_block {
            local opts = {
               redirect_uri = "http://proxy.localhost/cb",
               discovery = "http://<IP_ADDRESS>:9000/.well-known/openid-configuration",
               client_id = "proxyclient-id",
               client_secret = "secret",
               ssl_verify = "no",
               scope = "openid"
            }
            -- call authenticate for OpenID Connect user authentication
            local res, err = require("resty.openidc").authenticate(opts)

            if err then
              ngx.status = 500
              ngx.say(err)
              ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)
            end

            ngx.req.set_header("X-USER", res.id_token.sub)
          }

          proxy_pass http://localhost:8080/;
          proxy_set_header x-forwarded-proto $scheme;
        }
}

Another thing to pay attention to is the lua_code_cache off directive; It could break the session. See: https://github.com/bungle/lua-resty-session#notes-about-turning-lua-code-cache-off

@ledbruno what was the fix? i m having the same error request to the redirect_uri path but there's no session state found.
I m running NGINX on kubernetes.

The basic change was on other lib  https://github.com/zmartzone/lua-resty-openidc

We have a lot of unrelated changes, so that's why i didn't open a Pull request with the single fix. If you really need this, please let me know and we can work a separate branch just whis this.

This was resolved by setting set $session_secret 623q4hR325t36VsCD3g567922IC0073T; and set $session_name nginx_session;


Doco

Hello
I followed your docs on both OSX and Windows. Can't get CLK hash working. Here is an example of an error I am getting in Windows. No errors on the PIP install
I am interested in the code but wondering how ready it is for use. Not tried it on Linux yet.
Thanks Roger
C:\Windows\system32>anonlink
Traceback (most recent call last):
File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python39\Scripts\anonlink.exe_main.py", line 4, in
File "c:\python39\lib\site-packages\anonlinkclient\cli.py", line 4, in
import ijson
ModuleNotFoundError: No module named 'ijson'
C:\Windows\system32>pip ijson
ERROR: unknown command "ijson"

Hi Roger,
The setup.py file of the current anonlink-client does not list all required dependencies. This is a bug that we are currently fixing. Until we release a new version of anonlink-client you can fix the dependency issue by installing ijson manually.
pip install ijson

Thanks Mate
That's what I thought. I did try to install ijson but got an error message.
Now that I know that's definitely it I'll have another look. I may also run
it up on a Linux machine.
I am interested to try it. Is it being actively worked on and maintained. I
am interested in Bloom filters.
Thanks
Roger
On Thu, Dec 10, 2020 at 11:45 AM wilko77<EMAIL_ADDRESS>wrote:

Hi Roger,
The setup.py file of the current anonlink-client does not list all
required dependencies. This is a bug that we are currently fixing. Until we
release a new version of anonlink-client you can fix the dependency issue
by installing ijson manually.
pip install ijson
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/data61/clkhash/issues/407#issuecomment-742157741, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCAT5M5OHU6FCTZYJDJCLTSUAK4JANCNFSM4UUHKEXA
.

--
Regards
Roger Ward
Consultant - Health Information Systems
Secure Kloud
Middle Park VIC 3206 AUSTRALIA
ABN: 70 733 589 880
m       +61 434 315 611 <+61%20434%20315%20611>
w       www.securekloud.com.au
e<EMAIL_ADDRESS>http://www.securekloud.com.au/
t          @securekloud https://twitter.com/securekloud


[Request - Product] GitHub Enterprise Server

Full and short name of product
GitHub Enterprise / GitHub Enterprise Server
<EMAIL_ADDRESS>Does this product have LTS versions? What are the intervals between each LTS version?
No LTS releases.
What is the website for the product and for its version information?
<EMAIL_ADDRESS>Additional context
Add any other context or screenshots about the product which you want us to add endoflife.date

Automation Note
https://github.com/github/docs/tree/main/data/release-notes/enterprise-server seems to host the metadata for all versions, including the release date.
Supported releases are listed at https://github.com/github/docs/blob/main/src/versions/lib/enterprise-server-releases.js#L15
Release dates for each cycle is at https://github.com/github/docs/blob/main/src/ghes-releases/lib/enterprise-dates.json


Array splice does not work

🐛 Bug Report
It looks like [].splice does not work?
I couldn't find a reference list of supported array methods but since push/pop works I assumed other methods should too.
Link to repro
https://codesandbox.io/s/immer-splice-broken-2p4t6b?file=/src/index.js
To Reproduce
import { produce } from "immer";

const arr = () => [1, 2, 3, 4, 5];

console.log("case 1 array:", arr().splice(3));
console.log("case 1 immer:", produce((a) => void a.splice(3))(arr()));

console.log("case 2 array:", arr().splice(-2));
console.log("case 2 immer:", produce((a) => void a.splice(-2))(arr()));

Observed behavior
case 1 array:
(2) [4, 5]
case 1 immer:
(3) [1, 2, 3]
case 2 array:
(2) [4, 5]
case 2 immer:
(3) [1, 2, 3]

Expected behavior
No diff
Environment
We only accept bug reports against the latest Immer version.

Immer version:
[x] I filed this report against the latest version of Immer

Your base case prints what is being removed, while in the immer test case
you print what is remaining.
On Fri, 7 Oct 2022, 23:17 Marcin Wisnicki, @.***> wrote:

🐛 Bug Report
It looks like [].splice does not work?
I couldn't find a reference list of supported array methods but since
push/pop works I assumed other methods should too.
Link to repro
https://codesandbox.io/s/immer-splice-broken-2p4t6b?file=/src/index.js
To Reproduce
import { produce } from "immer";
const arr = () => [1, 2, 3, 4, 5];
console.log("case 1 array:", arr().splice(3));
console.log("case 1 immer:", produce((a) => void a.splice(3))(arr()));
console.log("case 2 array:", arr().splice(-2));
console.log("case 2 immer:", produce((a) => void a.splice(-2))(arr()));
Observed behavior
case 1 array:
(2) [4, 5]
case 1 immer:
(3) [1, 2, 3]
case 2 array:
(2) [4, 5]
case 2 immer:
(3) [1, 2, 3]
Expected behavior
No diff
Environment
We only accept bug reports against the latest Immer version.

Immer version:
I filed this report against the latest version of Immer

—
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/983, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBEPF2JOEXDNM6MDBP3WCCHOHANCNFSM6AAAAAAQ75SW5Q
.


Add a ddev remove ddev/my-add-on command, or document manual method

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
After installing an add-on, for example with ddev get ddev/ddev-drupal9-solr you might want to remove it again, but there is no ddev remove command or a documented method on how to remove an add-on manually.
Describe your solution
Add a ddev remove command for add-ons, or document how to do it manually.
Describe alternatives
In the meantime, is the best method to create another project, check it in with Git, ddev get the add-on, do a diff to spot the changes, and manually remove it from the project in question?
Additional context
No response

This is covered in #4891 which includes the new command ddev get --remove <addonname>.
I've been using this DDEV for the last month and its super useful.

Please close the issue if #4891 covers it, or add a comment expanding on the issue if not. 😄

Thanks for clearing that up @tyler36! That's exactly what I was looking for, so closing this issue as it is a duplicate.


Get system-probe profiles for flare over unix socket

What does this PR do?

Removes the requirement of setting system_probe_config.debug_port to get profiles from system-probe included in an agent flare
Makes available pprof handlers over system-probe's unix socket
system-probe profiles are now retrieved over unix socket and included in the flare if system_probe_config.enabled is true

Motivation
In flares received from customers, we would frequently see the system-probe profiles missing since the customer has not set system_probe_config.debug_port in the config; we would then have to ask the customer for another flare with this config set. This PR ensures the customer does not have to do any additional config changes to include system-probe profiles in their flare.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Ensure that system-probe is running. You can do this by enabling NPM: https://docs.datadoghq.com/network_monitoring/performance/setup/?tab=agentlinux#setup
run agent flare --profile --local --email foo
depending on which processes are running, there should be no errors getting profiles from that process. e.g., if process-agent is running, there should be no errors getting profiles for it. Same for system-probe
Say N to uploading the flare
Unzip the flare created (typically the flare zip file is in /tmp)
Verify that under the profiles folder you see the following files: system-probe-1st-heap.pprof  system-probe-block.pprof  system-probe-mutex.pprof system-probe-2nd-heap.pprof  system-probe-cpu.pprof

/merge


Preview of End User App

As an Org Admin, I will be able to preview how text and settings I choose in the Permission Portal will impact the End User app look and feel before move those changes into full production for all End Users in my organization, so that I can make sure it works and looks as expected.
This could be a feature within the Permission Portal or a slight extension on the "testing mode" concept.
https://www.notion.so/covidwatch/Permission-Portal-V3-Requirements-151b79bae1f846ae90155d5dcbb9f613#ea8eb866d0c6401c8a6b6ad1b6540cde

Moved it to Post v3- I think this is "nice to have" for v3, but not strictly required. Ian Brown noted that this sounded quite expensive and risky to build, which also argues for pushing to a later release.


Sidebar - bug fix

third party bug fix and source code improved!

Merged manually via 090f94c04ea6d0 -- thanks!


feat: add file folder cp

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

feat: add file folder cp

2. What is the scope of this PR (e.g. component or file name):

kclvm/runtime/src/file/mod.rs
kclvm/runtime/src/file/utils.rs
kclvm/sema/src/builtin/system_module.rs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

4 of 36 (11.11%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 71.363%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/runtime/src/file/mod.rs
0
16
0.0%

kclvm/runtime/src/file/utils.rs
0
16
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
52879

Relevant Lines:
74099

💛  - Coveralls


need long time to init efficient-KAN

When I initialize efficient KAN with a high number of nodes, I have to wait a long time
my test code is as follows：
from kan import KAN
import time

start_time=time.time()
model=KAN([1024,3584,3584])
print(f'Initialization time: {time.time()-start_time}')

and the output is：
Initialization time:<PHONE_NUMBER>341278

Why does it take so long to initialize

After a single step, I found that the problem came from the curve2coeff function's torch.linalg.lstsq(), which was taking an enormous amount of time

Do you have any ways to solve the issue of slow speed?

Not yet, I only found this problem on Ubuntu servers, not on windows laptops. Maybe it has something to do with cpu performance


Static functions are not registered before the first call to _post_import when first open a project

Tested versions
4.3 beta1
System information
Godot v4.3.beta1 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; <IP_ADDRESS>26) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads)
Issue description
I am working on an open-source Twin-Stick Shooter starter kit.
It works very well on my machine but I started to have users telling me they could not run the project on their machine.
After investigation I found that the issue is due to using a helper class CollisionTool in import_destructible.gd that is not recognised by Godot when it first try to run the _post_import() function.
Here the code:

Giving the error (see the two first red lines):

Note that this code works without any issue on my machine because CollisionTool.add_kinematic_body_to_mesh is static!
To me, it looks like a bug about timing. On a fresh start of the project, Godot seems to try importing the scenes/gltf before it has registered the static functions. Hence, it flags import_destructible.gd has containing a Parsing Error, because it references a non-existing CollisionTool class.
Note that if I reload the project and then select all my gltf files and rigth-click/reimport, the _post_import runs without any issue. Which means that Godot does register the static functions at some point. It just did not do it on time for the automatic import.
Note, for reference, a link to the issue on my repo.
Steps to reproduce

clone the project below and open it in Godot.
wait it loads
go in Output and scroll up to the 2 first errors

(Note: the other errors are also some sort of bug, but let's ignore them for now).
Minimal reproduction project (MRP)
link to project: https://github.com/Nodragem/twin-stick-shooter-starter-kit

Looks like that the issue is fixed in 4.3 😃 no idea why.

Closing as fixed, if you or anyone can replicate this please comment


Make tools/* executeable for easier use

just a simple chmod u+x *.

These tools shouldn't be used directly. Instead, use upgrade_oh_my_zsh and uninstall_oh_my_zsh.


pinch zoom not working on Android devices

On Android devices you can't pinch zoom on the slider. Is it possible to enable zooming?

note that this seems not to be an issue.
see slick.scss row 14 and15:
-ms-touch-action: pan-y;
touch-action: pan-y;

remove this lines if you want to enable zooming on mobile devices.


Execution of cell being sent to terminal

I have been having many problems with this extension
I am using this Jupyter notebook as an extension to run my Python ipynb files but every time I go to run it it runs in the console instead of the notebook
It is reset to Python instead of Jupyter every time I try to run it. How do I get them to stop returning to Python and stay on the Jupyter setting?
I want to be able to use Python extension without this Jupyter notebook extension as the previous version was much more friendly, how do I do that?

b files but every time I go to run it it runs in the console instead of the notebook

I'm assuming you are using ctrl+enter in the editor.
This is a known bug and we're looking into this.

How do I get them to stop returning to Python and stay on the Jupyter setting?
I want to be able to use Python extension without this Jupyter notebook extension as the previous version was much more friendly, how do I do that?

If you prefer the old Notebook editor (which will eventually be deprecated in favor of the new editor, which is wha tyou are using), then please add the following setting into your settings.json file
	"jupyter.experiments.optOutFrom": [
		"NativeNotebookEditor"
	],

I cannot replicate this on  my mac.

Changing the setting "jupyter.sendSelectionToInteractiveWindow" to true worked for me

@jejsemin, from what I'm reading above, it sounds like your original issue would be addressed if you opt out from the NativeNotebookEditor experiment or switch to VS Code stable. This experiment is responsible for turning on the new notebook experience. In VS Code insiders it's active by default. In VS Code stable it's not.
@emmanoni, I assume that you were trying to run cells from a python script (rather than a notebook) and that's why the setting you changed allowed code to be executed in the interactive window instead. If this isn't the case, and you were executing cells from an ipynb file that were originally going to the terminal, please enter a separate issue.
Thank you both!


…

For multiline events, if the first line doesn't match the prescribed pattern, we should still store the unmatched lines in the line buffer so that plugins such as fluent-plugin-grok-parser can report the log event as a grok parse error, see: https://github.com/fluent/fluent-plugin-grok-parser/issues/25
Example:
input:
abcd efgh
asdfadsasda

output:
{"message":"abcd efgh\nasdfadsasda","grokfailure":"No grok pattern matched","server":"tranj-fluentd-s3b","stack":"my-app-pdev-01","application":"my-app","log_type":"filter.test","time":"2017-01-11T04:19:56Z"}

in_tail tests are broken. It means this patch breaks multiline mode result.
So I'm not sure this is proper patch for multiline_grok.

i wonder if the wider fluentd community are interested in being able to capture unmatched multiline events? currently the only way is through the td-agent. In logstash it is stored in the output tagged with grokparsefailure

Hi @repeatedly, I've redone the implementation so that the multiline-logstash behaviour is turned on  when enable_multiline_catch_all is set to true. I'm not sure why some of the tests are failing though. Are they existing test failures?

Another idea is adding emit feature for unmatched logs instead of logging here:
https://github.com/fluent/fluentd/blob/48526e49391822a967a3d22681243efc104c0721/lib/fluent/plugin/in_tail.rb#L390

I'm not sure if emitting the event from parse_multilines() is the right way to go about it, I rather have them handled in flush_buffer()
Here's another implementation of handling unmatched lines: https://github.com/jitran/fluentd/commit/86d188f33f7b8c33ef5831e6c925d748242dbbcc
Essentially all unmatched lines will be placed inside the parse_fail attribute, i.e.
{"parse_fail":"unmatched line....rest of the line","server":"myserver","stack":"my-app-dev-01","application":"my-app","log_type":"apache.access","time":"2017-01-16T23:06:49Z"}

Please let me know which implementation you prefer. Thanks

Closing this PR in favour of this https://github.com/fluent/fluentd/pull/1421


Documentation mismatch between repository README and Docker Hub page

Not a bug per se, but it might lead to incorrect configurations: the usage documentation in the README.md file of this repository is not in line with the one on the Docker Hub page of the image. I assume that the repository documentation is the right way of configuring the service, meaning that the guide on Docker Hub should be updated.

Thanks, looks like there was a broken link. I have updated the documentation to direct the user to this repository.


CNV-41403: resolve disk list flickering loading

📝 Description
WIndowsDrivers component is showing loading state intermittently as it get mounted and unmounted firing effects
We have this issue during VM starting or stopping
🎥 Demo
Before
https://github.com/user-attachments/assets/3eb40c6c-1c16-4f17-bbb1-2e38def4171a
After
https://github.com/user-attachments/assets/ef979efa-b0ea-4406-a37f-49a02fbda3d5

those rerender comes from loading or driversLoading , which one is it? I'm guessing we have a nicer way to solve it then to just memo the component

@metalice The component gets created and destroyed frequently.
The useDriversImage hook gets created and destroyed too. The loading state is reset and the useEffect hook in useDriversImage gets fired multiple times. This is why I switched to signals. So the request gets fired only if the signal is not set . The memo with the signals make things work smoother


Swift 3 Access Control

Short description
Updating access levels to make some classes and methods open instead of public.
GIF

          1 Error

  :no_entry_sign:
  Please include a CHANGELOG entry.

when I have to edit a piece of code that I have not seen in 3 months

  Generated by :no_entry_sign: danger

Current coverage is 84.53% (diff: 50.00%)

No coverage report found for master at 315df43.

Powered by Codecov. Last update 315df43...0f34e57


Can't work on android emulator x86

I use newest frida (16.1.7)
Tried on LDPlayer Android 7 32 bit, LdPlayer Android 9 64 bit, and Mumu Player Android 12 64bit
None of them work
It show:

frida -U -f com.monster.pocket.ultimate -l dist/hello.js
____
/ _  |   Frida 16.1.7 - A world-class dynamic instrumentation toolkit
| (| |
> _  |   Commands:
// |_|       help      -> Displays the help system
. . . .       object?   -> Display information about 'object'
. . . .       exit/quit -> Exit
. . . .
. . . .      Connected to Android Emulator 5554 (id=emulator-5554)
Spawned com.monster.pocket.ultimate. Resuming main thread!
[Android Emulator 5554::com.monster.pocket.ultimate ]-> il2cpp: 10 seconds have passed and libil2cpp.so has not been loaded yet, is the app running?

My app is started and running, but frida cant read libil2cpp.so.
I tried use --realm=emulated, but it show:

Failed to attach: process is not using emulation

--realm=emulated  is not needed if there's no instruction set emulation (i.e. the instruction set of the Android emulator matches the one the game is using).
What happens if you eval:
Process.getModuleByName("libil2cpp.so")

throught the Frida REPL?

Process.getModuleByName("libil2cpp.so")

I tried, it show:
Error: unable to find module 'libil2cpp.so'
My game package only has 2 lib folders: arm64-v8a, armeabi-v7a
not have x86
maybe it's frida's problem
My file only:
Process.getModuleByName("libil2cpp.so")

I have had a lot of success with the android emulator that comes with android studio. Maybe try that one. I can't find an app with the bundle identifier com.monster.pocket.ultimate on the playstore though, so I won't be able to test it for you

Uhm, there's nothing I can do about it, it looks like a Frida/emulator thing... I've had some success using the Android X86 emulator that comes with ARM translation (ref) in the past 😄

Can I manually specify the base address of libil2cpp.so?


[stable/coredns] use .name in app label, not fullname

What this PR does / why we need it:
Follow conventions in other charts, labeling best practices where the deployment name is not part of app label. Result: app: coredns, not app: mydeployment-coredns.
cc @ShashidharaTD

Please fix this in all resources. Note that you will also have to add the releaselabel to selectors. Would you mind fixing labels as well to comply with our best practices? Thanks.

/assign

@unguiculus sorry for the delay. Applied the labels consistently across objects now, I believe.

/ok-to-test


Refactor code accordence to PEP8 and use newer str.format method

I replaced all % formats with newer str.format method as is supported since python2.6+
___________________________________ summary ____________________________________
py27: commands succeeded
SKIPPED:  py34: InterpreterNotFound: python3.4
py35: commands succeeded
py36: commands succeeded
py37: commands succeeded
pypy: commands succeeded
pypy3: commands succeeded
congratulations :)

Sorry,  but I don't really see the point..

If you are asking for string formatting, I would use it because it is newer, more capable than % formatting and less probable to be deprecated in future versions of python. Other than that the only difference is adding/removing newlines to follow the guideline as explained here https://www.python.org/dev/peps/pep-0008/#blank-lines

@erezsh What's your thoughts about this PR? Are you planning to merge this?

Sorry, this doesn't seem like a valuable change. I hope you'll find a way to contribute that improves the functionality or accessibility of the library.

OK, thanks


[ACM-9642] Updated validating webhook to only ensure MCH components

Description
Updating the validating webhook for MCH to validate and compare entries only against valid MCH components. This will prevent users from adding MCE component names to the MCH CR resource.
Related Issue
https://issues.redhat.com/browse/ACM-9642
Changes Made
Updated MCH validating webhook to validate and accept components, only if they are valid MCH components.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
/cc @cameronmwall @ngraham20
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/cherry-pick release-2.9


Implement and use a standard, cross-platform open command

This PR implements an oh-my-zsh standard open function that is cross-platform and easy to use for all plugins and users as well to create their aliases.
The function is called open_command and it uses the $OSTYPE value to decide which command to run.
This PR also changes those plugins that used old logic so that we have consistent, non-duplicate code throughout the project codebase. Plugins changed: fasd, frontend-search, jira, lighthouse, node and web-search.
These other plugins also have open commands but are OSX specific, so there's no need to use a cross-platform open command: atom, bwana, marked2, osx, textmate and xcode.
Fixes #1478.
Fixes #2988.
Fixes #3920.

/cc @robbyrussell

I'm pretty late to this party but bravo @mcornella thanks!

Thanks @mattkatz! You reminded me of this comic :smile:


Cannot install core-plugins

Trying to heroku login results in  toolbelt update, but the update fails on a checksum issue:
heroku-cli: Installing core plugins (retrying)... !
 ▸    Error installing package.
 ▸    npm ERR! Linux 3.13.0-83-generic
 ▸    npm ERR! argv "/home/ma/.heroku/node-5.10.1-linux-amd64/node" "/home/ma/.heroku/npm-3.8.5/cli.js" "install" "heroku-apps" "heroku-cli-addons" "heroku-fork" "heroku-git" "heroku-local" "heroku-orgs" "heroku-pipelines" "heroku-run" "heroku-spaces" "heroku-status"
 ▸    npm ERR! node v5.10.1
 ▸    npm ERR! npm  v3.8.5
 ▸
 ▸    npm ERR! shasum check failed for /tmp/npm-4982-01098438/cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz
 ▸    npm ERR! Expected: 1915dc888751e2a6bf3c2abfcb1808fa86c72353
 ▸    npm ERR! Actual:   da39a3ee5e6b4b0d3255bfef95601890afd80709
 ▸    npm ERR! From:     https://cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz
 ▸    npm ERR!
 ▸    npm ERR! If you need help, you may report this error at:
 ▸    npm ERR!     <https://github.com/npm/npm/issues>
 ▸
 ▸    npm ERR! Please include the following file with any support request:
 ▸    npm ERR!     /home/ma/.heroku/npm-debug.log
 ▸
 ▸    Try running again with GODE_DEBUG=info to see more output.
 !    error getting commands pid 4946 exit 1

This issue is similar to https://github.com/npm/npm/issues/12457

Mind trying out the beta that doesn't require npm? Run 'heroku update beta'
On Wed, Apr 27, 2016 at 2:52 PM pazams<EMAIL_ADDRESS>wrote:

Trying to heroku login results in toolbelt update, but the update fails
on a checksum issue:
heroku-cli: Installing core plugins (retrying)... !
▸    Error installing package.
▸    npm ERR! Linux 3.13.0-83-generic
▸    npm ERR! argv "/home/ma/.heroku/node-5.10.1-linux-amd64/node" "/home/ma/.heroku/npm-3.8.5/cli.js" "install" "heroku-apps" "heroku-cli-addons" "heroku-fork" "heroku-git" "heroku-local" "heroku-orgs" "heroku-pipelines" "heroku-run" "heroku-spaces" "heroku-status"
▸    npm ERR! node v5.10.1
▸    npm ERR! npm  v3.8.5
▸
▸    npm ERR! shasum check failed for /tmp/npm-4982-01098438/cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz
▸    npm ERR! Expected: 1915dc888751e2a6bf3c2abfcb1808fa86c72353
▸    npm ERR! Actual:   da39a3ee5e6b4b0d3255bfef95601890afd80709
▸    npm ERR! From:     https://cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz
▸    npm ERR!
▸    npm ERR! If you need help, you may report this error at:
▸    npm ERR!     https://github.com/npm/npm/issues
▸
▸    npm ERR! Please include the following file with any support request:
▸    npm ERR!     /home/ma/.heroku/npm-debug.log
▸
▸    Try running again with GODE_DEBUG=info to see more output.
!    error getting commands pid 4946 exit 1
This issue is similar to npm/npm#12457
https://github.com/npm/npm/issues/12457
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/heroku/heroku/issues/1938

Beta works.
though I find it odd npm fails only me?! I use npm daily to develop and also publish packages.
Thanks.

It seems to fail for a lot of people, I don't know why. I've tried to fix it, but since it continues to fail for some users we decided to drop it.


[BUG] Harvester reports ready status shortly after booting, but user gets 503 errors when visiting VIP.  Harvester then shows not ready status for a time, until finally getting to a real ready state.

Describe the bug

When booting harvester, it reaches a ready state. However it quickly goes back to a not ready state. This entire time, the cluster is not reachable through the UI (user gets 503 errors). After some time harvester eventually gets to a ready state where the user can access harvester UI through the URL.
To Reproduce
Steps to reproduce the behavior:

Install harvester on a machine
wait for it to show the 1st ready status
try to access harvester via the URL

Expected behavior

harvester should only show ready status once it is fully ready.
Support bundle

supportbundle_ef00de77-99f1-4876-a619-0b061548de01_2022-03-17T00-58-27Z.zip
Environment:

Harvester ISO version:  v1.0.1-rc1
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): baremetal with dell poweredge r510

We need to add a better condition to check the cluster is really ready for service:
https://github.com/harvester/harvester-installer/blob/ededb753e24b2b345c7643da2a66b9912cbbf5c8/pkg/console/dashboard_panels.go#L372-L376

I can confirm the same happens for me on every harvester machine I've added, v1.0 release

I also noticed this scenario.
In the Console, the management IP/port will be  NODE_IP:6443 at beginning.  The VIP will replace NODE_IP:6443 later.
When it shows "Ready", ping the VIP, which is not reachable, nearly until the second time of "Ready", the VIP is pingable.

Verified fixed master-9285ca26-head (03/25). Close this issue.
Result
Now once Harvester console UI display Ready status, we can directly visit Harvester VIP to enter the bootstrap mode.
It did not go through ready -> no ready -> ready status nor gets 503 nginx error.

Test Information

Test Environment: 1 node1 harvester on local kvm machine
Harvester version: master-9285ca26-head (03/25)

Verify Steps

ISO install one node harvester
Wait for harvester installer boot up
Monitor the console UI
Wait the console display Ready status and show VIP
Open browser and visit Harvester by VIP
Check can directly display bootstrap page without showing nginx 503 error


Must Restart XBMC

I have a windows pc with Kodi installed. After auto-updating, pulsar stopped working.
Everytime i try to use, it says must restart xbmc.
I have cleared the addons folder, and reinstalled kodi, and the problem persists.

Delete userdata/addons_data/pulsar (something like that). Cache is a problem.

I have the same problem and I've tried uninstall, remove  ~/.kodi/userdata/addon_data/plugin.video.pulsar, one thing that seemed a bit strange to me was that ~/.kodi/userdata/addon_data/plugin.video.pulsar/bin was empty, using raspberry 2, xbian

Instead of cloning the git itself, use the download to zip, the zip in the git is broken.

hey guys I been looking all over internet to fix this problem...no luck, I have windows 8(its a gamer pc) a month a go pulsar was working, now just appears restart xbmc,

I try a couple times to uninstall kodi, I mean start from scratch but I still having the same problem...I have a laptop with windows 7 no problems there...I need help guys!!!!

Hi
I have the same problem , Do you found the solution

Have you try to dl it from https://github.com/steeve/plugin.video.pulsar/releases ? Because i had the same issue when i cloned the git and used the zip inside.

I was able to resolve this issue by disabling the HTTP sever. Not sure if this will work for anyone else; however, there seems to be a conflict between the two in my case.

Hello all!
My  Solution!!!
I had same issue after installing for first time version 0.6.1, saying reboot needed for XBMC.
After a few tries, suddenly a windows firewall windows appears to allow "pulsar.exe" (for the second time, first one was inmediatle open the app after installation)
By now, problem is solved. Hope it helps for you. Good luck

Hello!
I am stuck with the same problem.
I run a Fire Amazon Fire TV. I could install Pulse but I got the same message: XBMC must restart. Of course I did that but nothing seems to change. As it is Android, I don't know where to find the firewall issue as cofre mentions.
Any clue? Thank you MB

Same here with Nvidia Shield Kodi 16.0

022-09-01 02:24:48.081 T:3534680960  NOTICE: [plugin.video.pulsar] pulsard: starting pulsard
2022-09-01 02:24:48.491 T:3534680960  NOTICE: [plugin.video.pulsar] Deleting stale files set([])
2022-09-01 02:24:49.068 T:3534680960   ERROR: Exception in thread Thread-2:
                                            Traceback (most recent call last):
                                              File "/usr/lib/python2.7/threading.py", line 801, in
__bootstrap_inner
                                              File "/usr/lib/python2.7/threading.py", line 754, in
run
                                              File "/storage/.kodi/addons/plugin.video.pulsar/resou
rces/site-packages/pulsar/daemon.py", line 129, in pulsard_thread
                                                proc = start_pulsard(stdout=subprocess.PIPE, stderr
=subprocess.STDOUT)
                                              File "/storage/.kodi/addons/plugin.video.pulsar/resou
rces/site-packages/pulsar/daemon.py", line 114, in start_pulsard
                                                return subprocess.Popen(args, **kwargs)
                                              File "/usr/lib/python2.7/subprocess.py", line 394, in
 __init__
                                              File "/usr/lib/python2.7/subprocess.py", line 1047, i
n _execute_child
                                            OSError: [Errno 8] Exec format error

2022-09-01 02:42:58.314 T:3553432448  NOTICE: [plugin.video.pulsar] pulsar: starting jsonrpc service
2022-09-01 02:42:58.347 T:3545039744  NOTICE: [plugin.video.pulsar] pulsard: starting pulsard
2022-09-01 02:43:01.445 T:3545039744  NOTICE: [plugin.video.pulsar] Deleting stale files set([])
2022-09-01 02:43:01.762 T:3545039744   ERROR: Exception in thread Thread-2:
                                            Traceback (most recent call last):
                                              File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
                                              File "/usr/lib/python2.7/threading.py", line 754, in run
                                              File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 129, in pulsard_thread
                                                proc = start_pulsard(stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
                                              File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 114, in start_pulsard
                                                return subprocess.Popen(args, **kwargs)
                                              File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
                                              File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
                                            OSError: [Errno 8] Exec format error
2022-09-01 02:43:04.323 T:3484324736   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [Errno 111] Connection refused>
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.pulsar/navigation.py", line 6, in <module>
                                                navigation.run()
                                              File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/navigation.py", line 64, in run
                                                data = _json(url)
                                              File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/navigation.py", line 43, in _json
                                                with closing(urllib2.urlopen(url)) as response:
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/usr/lib/python2.7/urllib2.py", line 429, in open
                                              File "/usr/lib/python2.7/urllib2.py", line 447, in _open
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
                                              File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
                                              File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
                                            URLError: <urlopen error [Errno 111] Connection refused>
                                            -->End of Python script error report<--
2022-09-01 02:43:04.494 T:3505386368   ERROR: GetDirectory - Error getting plugin://plugin.video.pulsar/
2022-09-01 02:43:04.498 T:4058398144   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pulsar/) failed


Implement static validation of event_hook

Implement static validation that does argument implement aggregate trait

As it happens, it is rather a runtime check as opposed to compile one.
Plus, attaching this hook on a non-aggregate-accepting method will have no effect.


Update changelog

@jrief: I think we forgot to write a changelog section for 0.9.1? Not a big issue, I guess.

@jrief: Never mind, I got confused. Sorry :)


fix: misspelled variable names across the AzureStealth script

What does this PR do?
This PR fixes misspelled variable names across the AzureStealth script, both involving directory misspelled as direcotry

Looks good, thanks.


Rename near-bindgen to near-sdk

The version incorrect. It should be 0.7.0 since it's a breaking API change.

The version incorrect. It should be 0.7.0 since it's a breaking API change.

Yeah, technically it would've been the right thing to do, but I treated near-sdk as a new package rather than an evolution of near-bindgen. Since the name of the package changed we won't be breaking anyone using the old package.


validate-git fails in local environmnt due to empty COMMIT_RANGE value

On running make validate-git
On my local mac cloned from the main brunch
Seems the default for the variable at "docker-bake.hcl"
COMMIT_RANGE = ""
Is causing the make command to exit with error:
COMMIT_RANGE required
This is set with correct values in the git actions process, and passes.
But as far as I understand should also be executed and pass in local env.
Solution:
Seems that it can be resolved by setting variable locally or changing the default.
I used export COMMIT_RANGE=HEAD..HEAD to get the latest commit message tested.
But maybe export COMMIT_RANGE=$(git reflog show --no-abbrev --format='%h')..HEAD would be more appropriate.

Closing as agreed in https://github.com/distribution/distribution/pull/4094


Added Support for Msg91 phone provider

What kind of change does this PR introduce?
This PR adds support for Msg91.com , One of the best highly reliable Indian SMS provider rates even lesser than textlocal.
What is the current behavior?
Actually currently present textlocal integration for Indian audience highly unreliable not from the integration point, its from the textlocal servers and  my company is currently developing an huge artist centric platform using supabase during our testing we had lot of issues due to textlocal. So today i have added Msg91 support
Additional context
The implementation is loosely based on textlocal implementation.
And due to Indian Government mandate, the message template, header has to be registered before sending any sms.
Also my implementation takes 3 params

Msg91 authkey
DLT template Id
Sender Id

For above this i will add documentation for obtain each of the params

Hey @MeetChaudhari MeetChaudhari, thanks for the contribution! Unfortunately, i don't think we plan to merge this in since the team has decided to go with webhooks in the future for custom sms providers which would be more scalable in terms of maintaining the codebase. However, if you need this feature urgently, we recommend that you fork the codebase to include your changes in it.

@kangmingtay, I understand and agree with your decision, but the thing is, we do not want to self-host the platform, as such we have a lot of microservices to deal with and as founder, I need a bit of stability in the signup process that's the reason I added this like if it is possible to please help me out I would be very grateful to your team and whenever you guys switch to webhooks I'll do all the necessary changes required for my contribution.
Like till you guys implement the webhook solution, it would very helpful for me to get started for me with my pr.

Hey @MeetChaudhari - thanks for the additional context.
it's a tricky balance we need to strike between accepting a lot of PRs now (delaying the webhooks implementation) and commiting to the webhook approach.
I understand that textlocal might not be as cheap as Msg91, but it's already implemented and available. Is there any reason that you can't use it, beyond cost?

hey @kiwicopple , actually it's not about the cost it is about the reliability as a textlocal customer I have already purchased a good number of sms credits on their platform the problem is sometimes it works flawlessly sometimes it just gives random errors on very frequent basis and this is not an issue with the supabase textlocal integration authored by devkiran, it's from textlocal end. I even had a discussion with devkiran about the issue with textlocal.
And just think if I want to get my dream project into production I seriously need to have the reliability of a service.

Hey @MeetChaudhari, if cost is not an issue and you're looking for reliability, will it be possible to use one of the other providers instead? We also support using Twilio, Messagebird and Vonage on Supabase. Is there a particular reason why you are choosing Msg91 over these other providers?

Cause that becomes comparatively too expensive for us, as our platform is situated in India for comparison
This are rates for sending one message in India in USD. (All prices are taken from their respective brand sites.)

Vonage               $0.0436

MessageBird      $0.0420

Twilio                  $0.0490

TextLocal.          $0.0036    29.5 paisa (INR)

Msg91                $0.0030    25.0 paisa (INR)

so its pretty obvious for us to use Indian providers

problem is sometimes it works flawlessly sometimes it just gives random errors on very frequent basis

I guess the challenge for us here - how do we know that it's not just the same problem with msg91? From a quick search, there are quite a few SMS providers in India. If we keep merging new providers and each of them is buggy, it creates more delays for the Auth team to implement the "right" solution (webhooks).
Have you raised a ticket with the textlocal team to help solve any issues?

Hey @kiwicopple i agree with you, the problem was i tried everything possible even my textlocal logs, i agree did not raise any tickets with textlocal team, but not in case of this integration, i signed up as startup on msg91, i have prior experience with msg91, this company serves for multiple unicorn companies in india and my prior experience is flawless with them, supabase textlocal Integration made me switch to textlocal.
And as i signed up as startup which is what i have, i have a contact/ direct support of developer form msg91 to mitigate any issues, like even while making integration i had some doubts which was instantly solved by msg91 team.

https://www.fonada.com/blog/top-10-bulk-sms-service-providers-in-india/
Check this recent article. For more reference

@MeetChaudhari We see where you're coming from but we are still hesitant to push forward on this for now because providing top-notch support for this feature could be challenging given the issues we've experienced with sending SMSes from other service providers (TextLocal). For example, it was impossible for our support team to debug issues with TextLocal since there's a requirement for one to own a SIM card from India, which requires one to be a citizen of India. Additionally, if we merge in this PR, it could make it harder to turn down future SMS providers since there may always be a case for another one being more reliable or cost-effective. We also haven't received any other request to add Msg91 as an SMS provider and we don't add integrations based on one-off requests. For example, we keep a list of external OAuth provider requests here and we only accept contributions for those that are deemed as "in-demand" from our community.
Our goal is to make gotrue more flexible by introducing features like webhooks, which will allow developers to integrate any third-party software they choose, instead of building a customised solution for every auth flow.
One alternative that you can consider here will be to host a fork of GoTrue on providers like Fly, which have a free tier, until we've worked out the webhook implementation.

Yes i completely understand, but as i have talked with msg91 team personally for your problems, they have responded me this
"We can even help their team in testing and resolving any bugs and I can personally be in touch with them for that.
They will not have to get an indian number to debug and do the testing, we'll assist them in that dedicatedly."
And i will take care of documentation and maintenance of the integration till you guys implement the webhook solution with being in direct contact with msg91 team. They will help your team to test out integration perfectly. As mentioned above.
MSG91 team provides three channels for support to all their customers -

Email -<EMAIL_ADDRESS>Phone - +918818888733
Chat - Available on Website

Specifically for Supabase team, they have agreed to assign a dedicated partner manager which can
help you in debugging all issues pertaining to this integration. Details of the Partner Manager is mentioned below along with their direct email and number.
Hardik Menghani
<EMAIL_ADDRESS>/<EMAIL_ADDRESS>+918889500122
Hardik can help you in all challenges - may it be with regards to tech/business/regulation.
They can also assist you in debugging issues without getting an Indian Mobile number and for any other queries which may arise in the future.
No other SMS provider in India can offer you services at such a cost-effective pricing with multi-channel support like what MSG91 is offering.

Thanks for the work on the PR thus far! Gentle reminder to file a PR to the phone-login guide with setup instructions once done so that we can try to test it. It'll also be really helpful in helping other developers figure out how to use the integration.

any update on this?

@MeetChaudhari I've forked this #1018 and fixed it up. I'll close this PR as it's quite out of date.
Do you think it's possible for you to contribute some docs for Msg91 similar to these here: https://supabase.com/docs/guides/auth/phone-login/twilio

@MeetChaudhari I've forked this #1018 and fixed it up. I'll close this PR as it's quite out of date.
Do you think it's possible for you to contribute some docs for Msg91 similar to these here: https://supabase.com/docs/guides/auth/phone-login/twilio

Yes i can do it, actually I was waiting for pr to get merged


No support to simulate up and down arrow keys

Left and right arrow keys can be simulated using {leftarrow} and {rightarrow}, but not up and down arrow keys.
I have tried to extend the script with {downarrow} by sending keycode 40, but it doesn't work.
Is this a browser issue ?
Thanks

Sorry for the late reply.
I assume that "it doesn't work" means moving the text cursor up and down does not work.
The {leftarrow} and {rightarrow} sequences use the browsers selection API to manipulate the selection. Unfortunately, the selection API is based on characters and does not respect the representation of the text. So word wrapping due to the size of the box is not respected in the selection API and hence it is not reliably possible to move the cursor up and down.


feat(frontend): introduce the skeleton of schema change

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.

Warning
Although ALTER_TABLE is supposed to run after this PR, this feature may not be user-facing, as the current implementation of ALTER TABLE is totally wrong and will let the user lose all data in that table!
This functionality is also disabled for production (release) builds.

What's changed and what's your intention?

Introduce the version field in table catalog, and a ColumnIdGenerator for maintaining column IDs between different versions.
Skeleton of the ALTER TABLE ADD COLUMN handler, which is able to correctly manipulate the table catalog. As the meta-service part of replacing table plan is not implemented at all, the current approach is to drop the original table and create a new one (🤣), which is dangerous and is disabled in production.
RPC interface of ReplaceTablePlan.

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)

#6903
#7087
#7088

This PR is ready for review. PTAL. 🥰


[firebase_auth]: User is not loaded on secondary app launch

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
We just updated to firebase_auth: 5.2.0 and started seeing this error on app launch for iOS. Because of this every fresh app start does not load user session and loads as if there was never logged in user.
[[FirebaseAuth]] 11.0.0 - [FirebaseAuth][I-AUT000001] Error loading saved user when starting up: Error Domain=FIRAuthErrorDomain Code=17072 "The provided user's tenant ID does not match the Auth instance's tenant ID." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_TENANT_ID_MISMATCH, NSLocalizedDescription=The provided user's tenant ID does not match the Auth instance's tenant ID.}
As I understand we could set the tennatID somewhere in the swift code for iOS but the problem is that we do not want it hardcoded.
We do have a backend that return as the tenantID after we get custom JWT from a custom auth provider.
Reproducing the issue

Run the app using firebase_auth iOS SDK 11.0.0
Login into the app.
Kill the app.
Launch app again.
Observe user is logged out

Firebase Core version
3.4.0
Flutter Version
3.24.1
Relevant Log Output
[[FirebaseAuth]] 11.0.0 - [FirebaseAuth][I-AUT000001] Error loading saved user when starting up: Error Domain=FIRAuthErrorDomain Code=17072 "The provided user's tenant ID does not match the Auth instance's tenant ID." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_TENANT_ID_MISMATCH, NSLocalizedDescription=The provided user's tenant ID does not match the Auth instance's tenant ID.}

Flutter dependencies
No response
Additional context and comments
No response

Hi @KestasVenslauskas , Kindly provide a sample code reproducing this issue.

@SelaseKay I'm sorry but we do have basic integration. There is nothing in native code apart FirebaseApp.configure().
Only thing is that our project uses multi-tenant approach but that's not code setup it's GCP config.

I'd need a sample code to be able to reproduce this issue. This on the other hand seems to be an IOS native SDK issue which is out of scope for this repo. Is the project a flutter project?

@SelaseKay yes this is a flutter project, but issues seems to be on IOS native SDK version 11.0.0. I will forward this issue.


fix: always fetch rackspace token and tenant

Description
When executing the script, it should always fetch new temporary rackspace credentials. This fixes an error message indicating unused local variables.
Checklist

[x] My code follows the style guidelines of the project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation

Closed because functionality included in https://github.com/Hapag-Lloyd/rackspace-aws-login/pull/16


Doesn't NPM install with node v0.10.36

Failed to install with v0.10.36, I moved back to v0.10.0 and installed fine.

Update: this might just be my computer.


md-menu template parsing fail while unit testing

Hi I get following errors when run unit tests over my app.

Failed: Uncaught (in promise): Error: Template parse errors:
There is no directive with "exportAs" set to "mdMenu" ("
more_vert

<md-menu [ERROR ->]#menu="mdMenu">

<md"): ng:///DynamicTestModule/UserCardComponent.html@16:15
Error: Template parse errors:
There is no directive with "exportAs" set to "mdMenu" ("
more_vert

<md-menu [ERROR ->]#menu="mdMenu">

<md"): ng:///DynamicTestModule/UserCardComponent.html@16:15
at syntaxError (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:70128:34) [ProxyZone]
at TemplateParser.Array.concat.TemplateParser.parse (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:80137:19) [ProxyZone]
at JitCompiler.Array.concat.JitCompiler._compileTemplate (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:93855:39) [ProxyZone]
at http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:93779:62 [ProxyZone]
at Set.forEach (native) [ProxyZone]
at JitCompiler.Array.concat.JitCompiler._compileComponents (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:93779:19) [ProxyZone]
at createResult (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:93685:19) [ProxyZone]
at AsyncTestZoneSpec.Array.concat.AsyncTestZoneSpec.onInvoke (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:109785:39) [ProxyZone]
at ProxyZoneSpec.Array.concat.ProxyZoneSpec.onInvoke (http://localhost:9876/base/src/test.ts?8d1ba52812650382cd7f0349bc1feca9cb737803:110473:39) [ProxyZone]
at Zone.run (http://localhost:9876/base/src/polyfills.ts?6dd69ab1084abad31e0abe73491868deaff381a9:1280:43) [ProxyZone => ProxyZone]
at http://localhost:9876/base/src/polyfills.ts?6dd69ab1084abad31e0abe73491868deaff381a9:1915:57 [ProxyZone]

Angular: 4.0.1
Angular Material: 2.0.0-beta.3
OS: Win7 x64
Browser: latest stable Chrome

Can you post the unit test? This seems like you might have a syntax error in your own code.

It fail in - on create test so if it is syntax error something must change in beta3 cause before my test passing  without any problems.
My menu which I'm creating:
      <button md-icon-button [mdMenuTriggerFor]="menu">         <md-icon>more_vert</md-icon>       </button>       <md-menu #menu="mdMenu">         <button id="edit" md-menu-item routerLink="edit/{{user.id}}">           <md-icon>edit</md-icon>           Edit         </button>         <button id="account" md-menu-item routerLink="/accounts/{{user.id}}">           <md-icon>account_balance_wallet</md-icon>           Account         </button>       </md-menu>
Failing unit test(btw it's from parent component):
  it('should create', () => {     expect(component).toBeTruthy();   });
In regards thanks for help!

The menu hasn't really changed in beta 3. My guess is that it might be down to the update to Angular 4. I tried out your template and it seems fine, though.

Closing this since we can't reproduce it; feel free to re-open if you have more information.

@jelbourn, I want to confirm:
should imports be done like this:
import { MaterialModule} from '@angular/material';

beforeEach(async(() => {
  TestBed.configureTestingModule({
    imports: [
        MaterialModule
    ]
  })
}));

or do all components need to be imported like this:
import { MdProgressSpinnerModule} from '@angular/material';

beforeEach(async(() => {
  TestBed.configureTestingModule({
    imports: [
        MdProgressSpinnerModule
    ]
  })
}));

Either case all my test seem to fail when they use material components.

@tmburnell the second option.

Hi I get following error
There is no directive with "exportAs" set to "mdMenu"
2.0.0-beta.11

@danieldflrss updating the angular version to 4.4.3 solved the issue for me.

tanks @raghavendar-ts

which angular package did you update to 4.4.3? angular/core, angular/common, or?

I get the same error with angular CLI 1.4.3 (latest version). After I removed MaterialModule, it's happened.
How to solve it?

@sdanieru npm update -D && npm update -S solve my problems

I updated the following angular modules to 4.4.3 which solved the issue.
"@angular/animations": "4.4.3",
"@angular/common": "4.4.3",
"@angular/compiler": "4.4.3",
"@angular/core": "4.4.3",
"@angular/forms": "4.4.3",
"@angular/http": "4.4.3",
"@angular/platform-browser": "4.4.3",
"@angular/platform-browser-dynamic": "4.4.3",
"@angular/router": "4.4.3",
"@angular/upgrade": "4.4.3"
Checkout the change log
https://github.com/angular/material2/blob/master/CHANGELOG.md

Angular Material now requires Angular 4.4.3 or greater

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Sep 28, 2017 at 8:48 PM, Franck<EMAIL_ADDRESS>wrote:

@sdanieru https://github.com/sdanieru npm update -D && npm update -S
solve my problems
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/material2/issues/4050#issuecomment-332869906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE3YQxF4a09eQwZ0WIW5RXn4yrzdvizjks5sm7jbgaJpZM4M7Jc5
.

--
Raghavendar T S
www.teknosrc.com


phpcs fails on latest version

phpcs --standard=PSR2 --extensions=php --ignore=".(blade.php)" app
/bin/bash: line 78: phpcs: command not found

I saw that codesniffer is now installed using composer, but changing the line to
./vendor/bin/phpcs --standard=PSR2 --extensions=php --ignore=".(blade.php)" app
/bin/bash: line 78: ./vendor/bin/phpcs: No such file or directory

did not fix the issue.
Is there something I'm missing?

Seems the new path should be
~/.composer/vendor/bin/phpcs --standard=PSR2 --extensions=php --ignore=".(blade.php)" app

Thanks for raising this! I've add to change the way PHPCS is installed and I didn't think about this consequence. Let me know if you can think of a way to set it up back to the way it was.

Oh crap didn't think about this when making the change. @lorisleiva time you update your post? 😅

Here I am with the very same error!
phpcs --standard=PSR2 --extensions=php --ignore=app/Console/*,app/Support/helpers.php app
/bin/bash: line 66: phpcs: command not found

So what's the best way to set it back properly?

Until this is properly fixed in the image, @pixelplant solution should work ~/.composer/vendor/bin/phpcs. And it should continue working when the image is fixed

@fgilio Amazing, thanks for sharing this piece of code. I'll update the dockerfiles to make the composer directory explicit.
I'm going to reopen this until it works.

@AngeloAvv @pixelplant have you had a chance to test with the latest version? I don't have any project with the CI running the phpcs job

@fgilio Yes, it works now without specifying the complete path to phpcs, like before.

Awesome! Thanks for the update

Perfect. Thanks everyone for your help in this issue.

I'm still having issues after clearing all cache and rebuilding the composer package....
None of the applicaitons in vendor/bin are not accasible.
I'm using the latest image

I've added back the ./vendor/bin path in the $PATH variable.
Please let me know if it works once the new images have been built. 🤞

No image fixed this as well..
Thanks!

@HighCoData Is your issue fixed by the latest image?

yes it is, thanks

@lorisleiva seems like the issue is back again with the following image:
lorisleiva/laravel-docker:7.4


Hackathon starter using Python

What an awesome project you guys have!!! I have been using it for a while and this suddenly popped up in my mind. What if someone wants to use Python instead of JavaScript for all backend stuff. Do you guys have a Python version of hackathon starter that uses Django or Flask? Any ideas on building one? If no, any projects that you guys are aware of

Have you looked at https://github.com/DrkSephy/django-hackathon-starter


Handle -- to stop parsing following arguments as flags

You can now specify a trailing -- to specify arguments that are passed to the exec command. Does this solve this issue?

I think so, thank you!


Reduction of supported OS

@hendrikhalkow and I restructure the setup for docker-compose and kubernetes.
We recognized that it is hard to support container and manual setup together.
We recommend to remove support for everything other than docker-compose and helm for setup. We will be happy to create a PR. A forecast is available at https://github.com/hendrikhalkow/django-DefectDojo/tree/k8s.
It uses the docker one process pattern. Due to that, we need to create multiple image for celery, database, django, message broker, ...
Therefore, we state that the best way is to support docker-compose and helm only. Specially the change from python2 to python3 might be challenging for some administrators.
@devGregA @mtesauro @aaronweaver do you agree?

@wurstbrot nice timing. Last month I was looking at a few other popular opensource projects and saw that a few of them are doing exactly as you stated. What I'm thinking is that we move to docker-compose as the officially supported install but perhaps keep the legacy install for a few months and then officially remove it from the repo. Let me chat with the others and get their thoughts.
Thanks!

I agree @wurstbrot . It would be great if you support docker in the first place instead of a manual setup.

That would be awesome. I recommend supporting both a Kubernetes installation via Helm and a Docker Compose installation.
I just added the Helm charts to the branch mentioned above, Docker Compose will be updated next.

There is now the k8s branch where we work on that topic.

I recommend to use owasp/defectdojo-* on hub.docker.com and not defectdojo. I guess only the projectleader, e.g. @aaronweaver  has the right to do that.

We can also use the owasp prefix, whichever you prefer. I chose defectdojo so that it is the same as on GitHub.
As we introduced these new images, should we remove the old docker image stuff from the source code? Or would you like to keep that for a while and remove it later?

https://github.com/DefectDojo/django-DefectDojo/pull/927/files

The changes to make DefectDojo run on Kubernetes and Docker Compose have been integrated into the dev branch. Now we can discuss how long the non-container setup should be supported. What do you think?


[Refactor]: Incorporate OpenHands resolver

The OpenHands resolver evolved as a separate project from OpenHands, but now it has become a somewhat integral form factor for using OpenHands. Because of this, we would like to incorporate the resolver into OpenHands itself. This has a number of benefits:

Preventing updates to OpenHands from breaking the resolver because all the code will be in one place and we can run CI
Allowing for us to incorporate the resolver's actions into OpenHands's listen.py server, which will make it easier logistically to solve https://github.com/All-Hands-AI/openhands-resolver/issues/155 without spinning up a separate server

To solve this issue, we should:

Move all code from the openhands-resolver repo's openhands_resolver into the openhands/resolver directory of the OpenHands repo
Move all tests from the openhands-resolver repo into tests/unit/ in the OpenHands repo
Replace the .github/workflows/openhands-resolver.yml in the OpenHands repo with .github/workflows/openhands-resolver.yml, then make any adjustments to reflect that the resolver will directly use the OpenHands repo
Move documentation from the openhands-resolver repo's README.md into the OpenHands repo's openhands/resolver/README.md.
Adjust the links in the OpenHands documentation web site in the docs directory to point to the OpenHands repo

Excellent!

Done


implement yubikey SetKey similar to SetCertificate?

If I managed to get the APDU commands working for yubikeys to import their private key, would you accept a PR for that functionality?

Been a while Cole 😀 hope you're doing well!
The reason I've omitted this feature is because I think it's a bit of an anti-pattern. You should be able to attest a key is in hardware, or there's not a huge benefit in having hardware backed keys.
So, I don't understand the use case of importing a key. If you've gotten some ideas happy to hear them, but otherwise I'd like to avoid implementing loading private keys.

Closed by #83


Doesn't work :(

Tried on windows 10 with pip version 9.0.1, used "py -m pip install gitgud", which said it installed correctly. Typing "git gud" yielded:

git: 'gud' is not a git command. See 'git --help'.
Did you mean this?
gui

Pls help this is essential to my workflow thanks.

Is your Python's built bin/ dir on your PATH? Any git <stuff> command actually just runs git-<stuff>, so how gitgud works is it creates a command called git-gud.  If that command isn't placed somewhere where your CLI can run it, then git won't find it.


JSLint upgrade

upgrade of the embedded JSLint from 1.4.6 to 2.0.1
fixed deprecated code warnings
fixed version qualifier typo

Thanks hugely for doing this!


Update readme.md

Typo fixed

@wi5nia,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Fixed missing reason of rollback

Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):

[x] I have read and understood the contributing guidelines?
[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.
[ ] Do the TravisCI tests pass?
[ ] Does the StyleCI test pass?

NOTE: The last 2 are not required to open a PR and can be done afterwards /
while the PR is open.

Description of change
Please provide a description of the change here.

Thanks, I shall take a look at this later


Is it possible to not show the session name in the bottom-left of the status bar?

Is it possible to not show the session name in the bottom-left of the status bar?
For example, the session name of hello-tmuxinator is highlighted in red below, is it possible to remove that?

This is really a tmux config concern (see status-left in man tmux) and there's currently no way to control this via tmuxinator config.
However, you could use tmuxinator hooks to manually change that value if you don't want to set it in your tmux.conf (i.e. you want it to only apply to your tmuxinator project and not all tmux sessions).
# foo.yml
...
on_project_start: tmux set -g status-left ""
...


Generate a component with --module app-routing.module.ts fails

Bug Report or Feature Request (mark with an x)
- [x] bug report
- [ ] feature request

Versions.
@angular/cli: 1.4.3
node: v6.11.1
npm: 3.10.10
tested on ubuntu and macos
Repro steps.
ng new my-test --routing
cd my-test
ng generate component my-comp --module app-routing.module.ts
if I do --module app.module.ts, it works. This bug is only related with routing modules.
The error is not related with ng new my-test --routing because the routing module was created.
The log given by the failure.
Error: File /src/app/app-routing.module.ts does not exist.
File /src/app/app-routing.module.ts does not exist.

Desired functionality.
It was working on @angular/cli version 1.3.2, not working after 1.4.0

@filipesilva @Brocco, I was debugging the @angular/cli and the problem is in this line:
https://github.com/angular/devkit/blob/da8c3ab822ae85a01b8d157a4605c19b9cec5836/packages/schematics/angular/component/index.ts#L129
If I remove && !path.endsWith('-routing.module.ts') everything works like in the past, but I bet that you have that check for some reason, that's why I'm not doing a PR with that "fix"...

@bmvantunes Thanks for reporting and FYI, you were correct on the line needing fixed, but the same issue was also occurring with pipes, both are fixed in the referenced PR to devkit.

Thank you very much 👍
Sorry for not catching the Pipe error.
Next time that I find something I will try to do a pull request to help you guys!


SCIM sync with Entra leads to user being marked as deleted when changing email (userName)

We're currently implementing SCIM sync and have noticed users being marked as deleted in SSOReady when you change the user's email address in Entra.
I've looked through the code and it seems in #157 this functionality was introduced. However, the AuthUpdateSCIMUserEmail method in /internal/store/auth_scim.go seems to always mark the user as deleted.
https://github.com/ssoready/ssoready/blob/8e5c61d53835cd1bd01181db120500be96c2788c/internal/store/auth_scim.go#L313-L315)
Is there a reason why this happens or is this a bug?

Thanks for the report, sorry you ran into this. This was a straightforward oversight in QA.

Thanks for fixing this so quick.
Now, we have a user in SSOReady that is marked as deleted which should not be the case as only the email should have been changed.
Can you suggest a way to clear the scim users / reprovision the users?

Yeah, sadly with Entra in particular they don't have a way to do a full resync, to my knowledge. So your steps will be to:

From the SSOReady side, create a new SCIM directory and bearer token.
In Entra, disable user provisioning over SCIM.
In Entra, configure user provisioning using the new SCIM directory's SCIM Base URL and bearer token
In Entra, reenable user provisioning over SCIM -- now Entra is syncing to the new SCIM directory
In SSOReady, mark the new SCIM directory as primary

Sorry this is so complicated. I'm not aware of Entra having drift prevention / "full" resyncing. I wish I had a better answer.


[Bug report]rendering exceptions when using teleport

Bug report
Description
I have a <Wrapper /> component, which is used in every layout component. If I use <teleport/> in <Wrapper/>, something weird will happen. When I navigate to /about, everything is gone and the whole Vue App is destroyed.
Steps to reproduce
Reproduction link / repo: https://github.com/yyyang1996/for-vuepress-issue-1

Clone this repo.
Build and serve.

yarn install
yarn build
yarn serve

Open http://localhost:5050

Click the button then you link to /about.

The content lost and the whole Vue App is destroyed.

Screenshots

Expected behavior

Environment info

Browser: Microsoft Edge 90.0.818.46
Vuepress version: 2.0.0-beta.12

And the behavior is different in dev and build:

🤔 Need some investigation

A known issue is that we need to handle teleport SSR first:
https://github.com/vuejs/vue-next/blob/201060717d4498b4b7933bf8a8513866ab9347e4/packages/server-renderer/__tests__/ssrTeleport.spec.ts#L28-L29
But it's strange that the <div id="app"> was disappeared.


goanimate rerainbowed had errors on heroku.

when i try to use goanimate rerainbowed on heroku, it just gives you an application error when you click on something in the homepage. Please fix it or fork my cloned repository out of your LVM clone.

Thanks for letting me know. I tried lots of times and it worked. I'm getting tired from all this now. I'll fork your clone now.


BLE HID Keyboard with Bleno

I have been attempting to write (started anyhow) a BLE HID Keyboard using Bleno.  I think I have stuff set ok but the problem I seem to have is when I connect to IOS or Android for example, I can get Bleno to connect seemingly fine, but no key events seem to transmit.  I have setup the necessary HID service, Battery Service, and Device Information Service required for a HID Keyboard.  In addition I have setup a GAP Service as well to try to coax Bleno in telling IOS or Android this is a keyboard and use the proper icon/appearance - that is not working either but not the biggest problem.
The real problem is, since the keyboard is a peripheral  and IOS or Android device (phone/tablet/tv, whatever) is the central, how does the notification get enabled by the central.  I know normally the client (central) would subscribe but since this is HID over GATT is there something else that sets that up?  There isn't anything to say "setup subscription for this keyboard" in settings or anything nutty like that.   In short, how do I emit keypress events to the client if the client is not subscribed?  (yeah, I know, that sounds stupid, but seriously - this is convoluted)  help! please

So to update, I can connect to the "bleno emulated keyboard device".  I have defined the following routines:
hid_keyboard_in.onSubscribe = function(maxValueSize, updateValueCallback) {
console.log('hid_keyboard_in->subscribed')
this._updateValueCallback = updateValueCallback;
}
hid_keyboard_in.onUnsubscribe = function () {
console.log('hid_keyboard_in->unsubscribed')
this._updateValueCallback = null;
}
hid_keyboard_in.update = function(value) {
this._value = value;
console.log('hid_keyboard_in->about to send', this._value)
if (this._updateValueCallback) {
console.log('hid_keyboard_in->sending', this._value)
this._updateValueCallback(this._value);
}
}
The subscribe will never get invoked when connected to it.  Shouldn't that be happening?  btw - I have tried using iPhone, iPad and multiple Android devices.  They will connect, but that is all that occurs.  Any advice is much appreciated.

Also, what is the best practice for the device (bleno) to send the key events?  Do I need to merely set the value and bleno will take care of sending through the subscription or do I need to manually invoke the callback that is set in the subscribe event?

@alanw9876 I suggest you post on stack overflow.
You might find some relevant code on HID over GAT here, that should be possible to convert to run on bleno: https://github.com/sandeepmistry/arduino-BLEPeripheral/tree/master/src


test: mgen: use %u format specifier for unsigned int s_randseed

Use the correct printf %u format specifier for the s_randseed
unsigned int variable.
Signed-off-by: Colin Ian King<EMAIL_ADDRESS>

Minor fix on getopt, please merge.


Streaming Enhancement: read title of twitch stream when announcing stream

Instead of just saying "{{.User.Username}} is currently streaming! Check it out: {{.URL}}" the bot should read the title of the stream and post it in the announcement.

https://github.com/jonas747/yagpdb/issues/121

Maybe as a {{.Title}} arg?

Ah yeah could add it


Formly slider throwing error when sliding

Minimal Reproduction
https://stackblitz.com/edit/ngx-formly-ui-material-wf1q4j?file=package.json
Your Environment

Angular version: 18.Y.Z
Formly version: 6.3.10

Additional context
When using the slider I get the following error:
zone.js:159 Uncaught TypeError: Cannot read properties of undefined (reading 'set') at _MatSlider._updateValueIndicatorUI (slider.mjs:892:50) at _MatSlider._onValueChange (slider.mjs:798:10) at MatSliderThumb._fixValue (ngx-formly-material-slider.mjs:432:20) at ngx-formly-material-slider.mjs:413:12 at timer (zone.js:1702:27) at _ZoneDelegate.invokeTask (zone.js:353:171) at _ZoneImpl.runTask (zone.js:156:37) at invokeTask (zone.js:430:26) at ZoneTask.invoke (zone.js:419:38) at data.args.<computed> (zone.js:1684:26)</computed>

This issue has been fixed and released as part of v6.3.11 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!