Unable to handle errors when POST call to /oauth/token fails, when the call is made by @auth0/auth0-react SDK

Checklist

[X] The issue can be reproduced in the auth0-react sample app (or N/A).
[X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
I am using @auth0/auth0-react SDK v2 in my React application, when I login and keep my keep a page in my application open for a long time and when refresh token expires (I have reduced refresh_token expiry time to 2 mins to simulate this issue in local), if I reload my page, I believe a POST call to /oauth/token endpoint is made by the SDK, since the refresh token has expired, the call fails with a 403 and I am unable to catch / handle this error. I am trying to avoid using the Iframe fallback method (useRefreshTokensFallback={true}).
Also when this fails, I was expecting that the error object exported by useAuth0 hook will contain some details about the failure, but its always set to undefined.
I am able handle the same error when I call getAccessTokenSilently explicitly from my code using a try catch block, the only challenge is when the call is made implicitly / by the SDK.
For more details with screenshot: https://community.auth0.com/t/unable-to-handle-errors-when-post-call-to-oauth-token-fails-when-the-call-is-made-by-auth0-auth0-react-sdk/121768
Reproduction
Step 1: Setup auth0 in a React app, with @auth0/auth0-react SDK
Step 2: Keep refresh token expiry time to 2 mins
Step 3: Login and keep a page open for more than 2 mins so that the refresh token expires
Step 4: Reload the page
Since refresh token expires, POST call to /oauth/token fails and I am not able to catch and handle this error. Also the error object returned by useAuth0 hook is undefined.
Additional context
https://community.auth0.com/t/unable-to-handle-errors-when-post-call-to-oauth-token-fails-when-the-call-is-made-by-auth0-auth0-react-sdk/121768
auth0-react version
^2.2.1
React version
^18.2.0
Which browsers have you tested in?
Chrome

Thanks for reaching out. It looks I can reproduce this, but I will need to do a bit more investigation here. Will get back to you as soon as possible

Can you elaborate on the reasoning behind the fact that you want to avoid using the iframes fallback

Thank you @frederikprijck for a quick response.
My team raised a concern for using the iFrame fallback as in the migration document: https://github.com/auth0/auth0-spa-js/blob/main/MIGRATION_GUIDE.md#no-more-iframe-fallback-by-default-when-using-refresh-tokens, there is a mention that This has caused problems before in environments that do not support iframes and may be the reason auth0 team has decided to change the default value of useRefreshTokensFallback as false. Considering this we decided to handle token endpoint failures by ourself. Please let me know if I should add some more details. Thanks again.

Our iframes fallback does not work in situations that have third party cookies blocked, so we disable this by default.
However, using iframes is still the best solution for a lot of use-cases, including this. But you will need to mitigate the third party cookies issue by using custom domains.
So if you'd be using custom domains already, and the application shares the same domain as the IDP, it should work fine.

Additionally, can you elaborate a bit on why you'd want to be informed of the error at that particular time? It's by design that you are not informed in this case, but would love to learn about your use-case.

Our iframes fallback does not work in situations that have third party cookies blocked, so we disable this by default.
However, using iframes is still the best solution for a lot of use-cases, including this. But you will need to mitigate the third party cookies issue by using custom domains.
So if you'd be using custom domains already, and the application shares the same domain as the IDP, it should work fine.

@frederikprijck we are using custom domains, so for us iFrames fallback will work fine for us. Thanks again for a quick response. Please suggest if I should close this issue or keep it open if you want to track something with it.
Regarding the error object, since I was not able to catch the request failure on page reload, I was kind of hoping that I would get some details from that error object and may be use it to redirect users to login page.

If you use the iframe fallback, you can use isAuthenticated being false to redirect to login page.
Closing as it looks like to be answered.

If you use the iframe fallback, you can use isAuthenticated being false to redirect to login page.
Closing as it looks like to be answered.

@frederikprijck my observation was when /token fails on load, some how isAuthenticated flag was set to true instead of false

@frederikprijck That is my observation too. If /oauth/token returns 403 (Forbidden), isAuthenticated is set to true and error is null resulting in user getting stuck

@xtrinch do you mean the call to oauth/token using grant=refresh_token ?

Right, thanks @frederikprijck , that worked. Tbh it's pretty odd that the default behaviour is technically buggy, should the default value not be useRefreshTokensFallback=true then? Or at least a big disclaimer in the docs this took me a good while to figure out

The default used to be what you say, useRefreshTokensFallback was true by default in V1, false in V2.
If u use refresh tokens, you are using the offline_access scope, meaning you want to disconnect from auth0, meaning we cant know whether the user is or isnt authenticated, unless you fallback to iframes. What will happen is, if refresh token fails, it will do a regular authorization code flow. If the user isnt authenticated, auth0 will tell us.
But once you use refresh tokens, without the fallback, you essentially are moving "offline", where offline means disconnected from the authentication state at auth0.

@frederikprijck When you say custom domains solve this, what exactly do you mean by that? How would the naming scheme have to look like?

When i say custom domains, i refer to https://auth0.com/docs/customize/custom-domains.
Basically configuring auth0 with a custom domain, the same top level as your app, to avoid third-party cookies.


Question: can we animate programatic change of zoom/position?

Hey there,
I was wondering if it is possible to animate somehow the transition between whatever zoom and canvas position we currently have new values that I'd like to set?
I.e.: I want to reset the zoom to 100% and center canvas on some keyboard press, right now it immediately jumps to that setting, but I thought it would be nice to see even the quick transition in between. I could probably try to animate it with setTimout/raf but don't think it's gonna be a good result and maybe it wouldn't be too difficult to add some line in the code to have this functionality. 🤔

@bytasv
The viewer.setZoom method The viewer.scrollTo method and the viewer.scrollBy method exist.

I'm using these methods to set viewer position/zoom, however they just do it instantly, I was wondering if it would be possible to add an option to enable transition/animation to the new state?

@bytasv
Would it be ok to provide it as scrollTo(0, 0, duration), setZoom(1, duration)?
Instead, it can be difficult to determine the easing.

I think duration makes sense, I'd just pass options object like { duration } instead of adding more args to those methods. I'm not sure how are you thinking to implement it, but if you were to use CSS animations or same timing functions as CSS provides, maybe the full API could look like this:
interface Options {
	animate?: boolean,
	duration?: number // some sane default?
	timingFunction?: string // ease as default
}
//...
scrollTo(x, y, options: Options)

And then obviously if you decide to add more arguments, you can just use same options argument 🤔

@bytasv
I'll develop this week (or until next week)

@bytasv
infinite-viewer's new version is released.
setZoom, scrollTo, scrollBy have animation options added.
.setZoom(1.2, {
   easing: (x: number) => number,
   duration: 200,
});
.scrollTo(0, 0, {
   easing: (x: number) => number,
   duration: 200,
});
.scrollBy(0, 0, {
   easing: (x: number) => number,
   duration: 200,
});

Thanks a lot! I just tested it out, seems to be working, but now I realised that I might have an issue if I want to both re-center and reset zoom at the same time, i.e.:
viewerRef.current.setZoom(zoomValue, { duration: 5000 })
viewerRef.current.scrollCenter({ duration: 5000 })

This produces this really weird effect
https://user-images.githubusercontent.com/437214/193652900-025e75e4-de27-4b59-a1ac-a1467335936b.mov
I don't see a method that I could use to both zoom and scroll at the same time, am I missing something or it's not there? Wondering if it would be possible to add that? Or maybe extend scrollCenter so that it would also accept zoom level? 🤔

@bytasv
This is a phenomenon that occurs because the amount of scrolling moved through setZoom is greater than scrollCenter.
infinite-viewer's new version is released.
absolute property is added in ScrollOptions (default: false)
zoomBase property is added in ZoomOptions (default "screen")
viewer.scrollCenter({ duration: 5000, absolute: true });
viewer.setZoom(1.2, { duration: 5000, zoomBase: "viewport" });


Allow http write handler to decode gzipped body

Previously, we supported streaming out gzip'ed responses, but we had not implemented the ability to post gzipped json to our write endpoint.

Need to add an integration test, but we have a bash script for now to validate that it worked.  Will add an integration test in a future PR.  Need to get this merged for now.

+1


generate updated stampy-questions-encodings.json

Until we figure out what's going on with the GitHub Action on the main repo, I regenerated it from my forked repo. We should update the encodings & deploy since it looks like about a dozen or so questions have been added and maybe some renamed.
Would you like me to also turn off the triggers on schedule & pull requests in the meantime?

Anyway, I included an update to the GitHub Action turning off the triggers on schedule & pull requests in case you wanted to do that.

No opinion at the moment.


test(blockifier): l1 bounds -> all bounds in worker logic test

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1310
#1309  👈
#1308
#1307
#1306
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dorimedini-starkware and the rest of your teammates on  Graphite

Merge activity

Oct 15, 8:10 AM EDT: A user started a stack merge that includes this pull request via Graphite.


Add IPAddr type

Implements fmt.Stringer
Fixes #420
Review of colleague's PR #

@starfallz ah nice call! Will do this in my other labs as well.
Just a reminder to update the labels (under review / changes requested / approved by colleague) accordingly when you are reviewing!


Tiny fixes (rustfmt, clippy)

CI is failing.

CI is still failing on clippy.

CI is still failing on clippy.

Closing due to inactivity. Clippy is still failing.


force_push setting ignored

Using gitlab-mirrors 0.5.1 with GitLab CE 7.14.1 on Ubuntu 14.04.01 installed GitLab from the repo.
I have gitlab-mirrors setting to not force updates, but still it happens:
#Enable force fetching and pushing.  Will overwrite references if upstream
#forced pushed.  Applies to git projects only.
force_update=false

Looking at the cron.log (modified to hide actual names):
To git@my-gitlab.example.com:my-scope/my-project.git
 + 11d30b8...da80e38 my_branch -> my_branch (forced update)

In my setup I have a project at Bitbucket and I mirror that repository to my local GitLab instance using deployment key. Then I multiple people work against the GitLab instance that is sync'd to Bitbucket manually every now and then. This is not optimal situation, but we have to work this way for reasons beyond our control.
Now the problematic thing is that when ever I push changes to my branch at GitLab, mirrorer will do a force push on next scheduled mirror and resets the branch HEAD at GitLab to what ever is the HEAD at Bitbucket. As a side effect this will turn new commits into dangling commits. Additionally with GitLab (might be git feature) these commits becomes inaccessible using git fetch or pull (though you can find them with GitLab web interface if you know the commit IDs).

Update the refspec and remove the + from it.  That means editing .git/config to update the refspec of your cloned repository.  I'll have to update the default behavior of adding mirrors when force is disabled.
To learn more see git help push and view the docs about refspec.

I did some additional tests and my modified my gitlab-mirrors clone under repositories  so that I removed the + from config (/home/gitmirror/repositories/blaa/myproject/config), but it does not fix the situation.
When testing with a clone from on my laptop everything works as expected. When having + in .git/config push refspec and doing push, I can push even when my branch is behind its remote counterpart. When removing the +, push fails since the tip of my branch is behind its remote counterpart. This works as expected based on git documentation.
When using gitlab-mirrors this does not seem to work as expected. When I remove the +, it does the push even when the remote's tip of the branch is behind the gitlab's tip of the same branch.
Git version at the server is 1.9.1 and on my laptop it is 2.1.4.

Just tested by upgrading git to 2.5.0 at the server, but it had no effect.

Found now the reason and way to fix, but now sure if this is "the right way" to fix it.
Basically if config states mirror = true, then refspecs are ignored. Got hint of this by manually trying to pass refspecs to git push and I got error stating refspecs not allowed with --mirror.
Once I removed mirror = true from gitlab origin, then push started to fail as expected when removing the + from push config refspec. In other words, removing the + is not enough, also mirror = true needs to be removed and then push will fail when origin is behind gitlab.
I could write a patch doing the needed adjustments in add_mirror.sh and send a pull request if you agree this is right thing to do, though I'm not sure if there are any problematic side-effects from not mirroring. You can find me with nick "mikoni" from freenode and I'm hanging at #gitlab if you wish to have a chat.

Reading closer git push man page, --mirror should respect refspec from the config, but for some having mirror = true in the config changes this.

Git push man page description seems to be contradicting a bit with rest of the documentation and --mirror or "mirror = true" in config implies the + in refspec and cannot be overridden. So actually those push refspec lines in add_mirror.sh are unnecessary and dropping the + to prevent force push has no effect. Mirroring does always force push.

Thanks for your research.  Feel free to ope a pull request and we can comment in it on how best to support the force option.

After thinking a lot about it.  We can resolve this by pushing by refspec instead of depending on the git config.
e.g.
if ${force_enabled}; then
  forcespec='+'
else
  forcespec=''
fi
git push gitlab "${forcespec}refs/heads/*:refs/heads/*" "${forcespec}refs/tags/*:refs/tags/*"

We would have to remove the mirror option from existing gitlab git remotes for mirrors.  e.g.
git config --unset-all remote.gitlab.mirror

Hybrid option might be best
A hybrid option between an added setting and adhering to remote settings might be best.
Right now I'm thinking on whether or not it should be an option for repository creation.  Or an option during push.  The advantage of the former is per repository force setting.  It's possible to have a hybrid and make use of both methods at once.
if ${force_enabled}; then
  forcespec='+'
else
  forcespec=''
fi
git config --get-all remote.gitlab.push | while read refspec; do
  git push gitlab "${forcespec}${refspec#+}"
done

The hybrid option could check for git config --get gitlabmirrors.localonlyrefspec option and determine whether or not it uses the dynamic forcespec or just makes use of normal git push gitlab.
That would look something like this...
if ${force_enabled}; then
  forcespec='+'
else
  forcespec=''
fi
if [ "$(git config --get gitlabmirrors.localonlyrefspec)" = 'true' ]; then
  git push gitlab
else
  git config --get-all remote.gitlab.push | while read refspec; do
    git push gitlab "${forcespec}${refspec#+}"
  done
fi

I don't quite have decent settings and option terminology fleshed out but I think that would solve the issue.

I think this is now so outdated that this can be closed. Also, I realized after thinking different scenarios that what I was asking is wrong. So this issue is pretty much invalid.
I forgot to return to this issue and close it. Sorry.


Unicode operators

At the moment, Haddock doesn't link unicode identifiers. The sequence @('⊆')@ just renders as ('⊆').
However, when I looked in the source to hopefully fix it, I found a comment in the moduleName parser saying "But as we can't match on unicode characters, this is currently not possible." I couldn't find any mention anywhere of why unicode identifiers can't be matched, though. So I was hoping someone more familiar with the codebase could clarify.

@Fuuzetsu any idea why this might be the case?


Question remove supersedence/ dependency all?

I don't know it it's  a bug, which is gonna be fixed in 1.4.4 already, or "intended" behavier on ms site. if I want to remove supersedence/ dependency it only removes them from the actual app, not like every app with which this app is superseded/ dependent, right?
if it's the bug issue, then it can be closed. If it's the intended way of MS, is there a way to do it?
I build a script which packages and updates my apps in Intune and I want to clean up the old superseded versions if there are to many. in the GUI I need to delete the superseded app in the next one, do I need to do the same via my script? Or does Remove-IntuneWin32AppSupersedence works both ways?
Greetings
AlkHacNar

or should I get all app versions, remove all supersedences via Remove-IntuneWin32AppSupersedence from each and add the new version to all not deleted? Maybe it's not the module problem but my supersedence concept?^^

Maybe it's my supersedence setting/ concept problem and not he modules, cuase I add the supersedence on all old versions of the app and not only on the latest? maybe I need to chain it and not add it in every app? Soory if it's a dumb question and not for the module itself

This modules intention with the removal of "relationships" is to simply do that on a per app basis, meaning the one you specify.

Yeah I totally understand that. My "issue" was that I have a script for app updates and it should clean up intune when there are more the x versions of an app. And as I can't delete it, if there are relations with the app, parent or child, I can't do it. Be it gui or PS. That's why I asked. But now I found a Workaround for it as I rethought my supersedence concept.


MapControl: Scrolling isn't responsive

Describe the bug
When using the mouse wheel to scroll in or out of the MapControl there is delay before the zooming animation starts
Steps to reproduce the bug

Put MapControl in Page
Use mouse wheel to scroll in or out
3 Observe delay

The map only starts zooming after the scrolling action has completed.
Some mice have an "infinte scroll" (https://www.youtube.com/watch?v=5r5VRevVLJg) which makes the issue even more apparent - the zooming can delay multiple seconds
Expected behavior
The map reacts immediately and zooms in or out accordingly
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.1: 1.5.240311000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

@tipa thanks for the report. I don't see the delay in Gallery. I'm curious if this is a network issue. The infinite scroll wheel is interesting - the behavior you are going to get is what the underlying Azure maps behavior.

The Xaml MapControl is using WebView2 to show an Azure Maps web control. I can repro something similar to what you describe with a logitech mx master. If I spin the mouse wheel it starts to zoom in slowly and then suddenly zooms in very quickly. I can also reproduce the same behavior on this Azure Maps demo page: https://demo.azuremaps.com/
Since this is the behavior of the Azure Maps html control we cannot fix this in the Xaml Map control which wraps the web control.

The problem was not present on the UWP Maps control so I would argue you could fix it by not using the Azure Maps web control, but implement a native control. Please reopen this issue.

I will pass on the bug report about the scrolling behavior to the Azure Maps team.
Do you hit the same issue on that azure maps demo page, or is it only in the Xaml MapControl?

Yes it's clearly an Azure Maps problem, I also see it on https://www.bing.com/maps.
Please just make a native map control, similar to the one on UWP. The new one is so far from usable, I highly doubt it ever will be: https://github.com/microsoft/microsoft-ui-xaml/issues?q=is%3Aopen+is%3Aissue+mapcontrol+
iOS & macOS have a native map controls, Android has a native map control, this Azure Maps web wrapper thing has no future.

@kmahone What MapControl is the Microsoft Maps app using, which comes preinstalled on Windows? It does not show this horrible scrolling lag.
Is there now a bug report for the Azure Maps team that can be publicly tracked? I have the gut feeling that this won't be fixed anytime soon...

@kmahone What MapControl is the Microsoft Maps app using, which comes preinstalled on Windows? It does not show this horrible scrolling lag. Is there now a bug report for the Azure Maps team that can be publicly tracked? I have the gut feeling that this won't be fixed anytime soon...

The inbox Microsoft Maps app uses the UWP Maps control. We checked with the Azure Maps team and they don't track bugs publicly, but we did pass this along to them which is the best we can do for now. Thanks for your feedback!


fix: reproduction (#2406)

https://github.com/mikro-orm/mikro-orm/blob/a5fb40f62cbddfd051aebf0c1f4b52e671e7d006/packages/core/src/entity/EntityFactory.ts#L142-L152
adding logic here to flip initialized = false, solves my issue, though it is protected and hard to say if this issue can occur other places

Yes, that is the right place, and it should be fired only if newEntity flag is false.

i'm also finding the same problem happens in reverse and is related to #2408
if you do new Entity(), the collections are initialed = true, if you do em.create() and DO NOT pass the collections as an empty array, initialized = false and similar problems occur

Yes, that is the right place, and it should be fired only if newEntity flag is false.

you comfortable with a ts-ignore or is there a better way to do this?

https://github.com/mikro-orm/mikro-orm/blob/a5fb40f62cbddfd051aebf0c1f4b52e671e7d006/packages/core/src/EntityManager.ts#L513-L515
believe this PR would need the inverse here, loop through collections, always set initialized = true

if you do new Entity(), the collections are initialed = true, if you do em.create() and DO NOT pass the collections as an empty array, initialized = false and similar problems occur

That needs to be addressed here, as with the flag the value is there:
https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/hydration/ObjectHydrator.ts#L177

you comfortable with a ts-ignore or is there a better way to do this?

Can't say I like it, but it's not a big deal.

Actually even better way to make the behaviour same is just deleting the collections and let the hydrator create new instances, when it's not a new entity. This way it will be closer to how it works without forcing the constructor usage.


fix: regression set_subscribed request

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


Sessions POST being forwarded to GET and returning 405

When posting to sign_in, the SessionsController#new ends up handling the request and throwing an error with a 405 response. I've tried to put binding.pry statements in the SessionsController#create but it seems to never make it there. I've skimmed through the controller code but I'm not sure what would be causing the forwarding.

Version: Gem: 1.1.0, Client: Custom fetch from react-admin app
Request and response headers:
The POST request is turned into 4 requests:

Request URL: http://localhost:3001/api/v1/auth/sign_in/
Request Method: OPTIONS
Status Code: 200 OK
Remote Address: [::1]:3001
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Headers: content-type
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: access-token, expiry, token-type, uid, client
Access-Control-Max-Age: 0
Cache-Control: no-store, must-revalidate, private, max-age=0
Connection: Keep-Alive
Content-Length: 0
Date: Sat, 01 Jun 2019 21:55:36 GMT
Server: WEBrick/1.3.1 (Ruby/2.4.5/2018-10-18)
X-Miniprofiler-Ids: ["68m1ljg85tsd0xrzzmcc","j1r1eprbdi3557u8n9wx","qt8p97wcf4c5h2c843qe","mga8ke9kg7tazpykg189","9ofwsj7y8s2rbencil7w","4qzfcw9ffzrpdt286kln","2opxz8nfmgcy128jw1iw","dzquvys1vz3gwfqvzxrq","qnmqv8bryuszhdcx81ck","ka0z5wp5am4gqmjvg83r","p375w63rkvnjymyjs5y4","9bpw5xhsv5bdnswi6j04","4tv42067lbh9259zfizg","v8rmdrixi14mqv6jqna4","m0rlj6kc47iqk9922kjl","un61k4w2aetsb3lqjelr","7fy92psnxru0jdkrmnuz","9w9yqk31aico8rdrf4dp","9xwjo0s7xes9wv9fhaw0","h6xm3isj5xju2xnnqs9v"]
Provisional headers are shown
Access-Control-Request-Headers: content-type
Access-Control-Request-Method: POST
Origin: http://localhost:3000
Referer: http://localhost:3000/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Request URL: http://localhost:3001/api/v1/auth/sign_in/
Request Method: GET
Status Code: 301 Moved Permanently
Remote Address: [::1]:3001
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: access-token, expiry, token-type, uid, client
Access-Control-Max-Age: 0
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 111
Content-Type: text/html
Date: Sat, 01 Jun 2019 21:55:36 GMT
Location: http://www.localhost:3001/api/v1/auth/sign_in
Server: WEBrick/1.3.1 (Ruby/2.4.5/2018-10-18)
Vary: Origin
X-Request-Id: 900ce57c-6ca9-45b0-b5ba-9d51b552e8e9
X-Runtime: 0.159825
Provisional headers are shown
Referer: http://localhost:3000/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Request URL: http://www.localhost:3001/api/v1/auth/sign_in
Request Method: OPTIONS
Status Code: 200 OK
Remote Address: [::1]:3001
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Headers: content-type
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: access-token, expiry, token-type, uid, client
Access-Control-Max-Age: 0
Cache-Control: no-store, must-revalidate, private, max-age=0
Connection: Keep-Alive
Content-Length: 0
Date: Sat, 01 Jun 2019 21:55:36 GMT
Server: WEBrick/1.3.1 (Ruby/2.4.5/2018-10-18)
X-Miniprofiler-Ids: ["j1b0awwzflski3efghxv","68m1ljg85tsd0xrzzmcc","j1r1eprbdi3557u8n9wx","qt8p97wcf4c5h2c843qe","mga8ke9kg7tazpykg189","9ofwsj7y8s2rbencil7w","4qzfcw9ffzrpdt286kln","2opxz8nfmgcy128jw1iw","dzquvys1vz3gwfqvzxrq","qnmqv8bryuszhdcx81ck","ka0z5wp5am4gqmjvg83r","p375w63rkvnjymyjs5y4","9bpw5xhsv5bdnswi6j04","4tv42067lbh9259zfizg","v8rmdrixi14mqv6jqna4","m0rlj6kc47iqk9922kjl","un61k4w2aetsb3lqjelr","7fy92psnxru0jdkrmnuz","9w9yqk31aico8rdrf4dp","9xwjo0s7xes9wv9fhaw0"]
Provisional headers are shown
Access-Control-Request-Headers: content-type
Access-Control-Request-Method: GET
Origin: null
Referer: http://localhost:3000/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Request URL: http://www.localhost:3001/api/v1/auth/sign_in
Request Method: GET
Status Code: 405 Method Not Allowed
Remote Address: [::1]:3001
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: access-token, expiry, token-type, uid, client
Access-Control-Max-Age: 0
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 82
Content-Type: application/json; charset=utf-8
Date: Sat, 01 Jun 2019 21:55:49 GMT
Server: WEBrick/1.3.1 (Ruby/2.4.5/2018-10-18)
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: 7d0df751-c98f-41f2-967f-714078459948
X-Runtime: 12.819341
X-Xss-Protection: 1; mode=block
Provisional headers are shown
Content-Type: application/json
Origin: null
Referer: http://localhost:3000/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Rails Stacktrace:

Started POST "/api/v1/auth/sign_in/" for ::1 at 2019-06-01 17:55:36 -0400
Started GET "/api/v1/auth/sign_in" for ::1 at 2019-06-01 17:55:36 -0400
Processing by DeviseTokenAuth::SessionsController#new as */*
  Parameters: {"session"=>{}}
Completed 405 Method Not Allowed in 12763ms (Views: 1.5ms | ActiveRecord: 0.0ms)

Environmental Info:

Routes: Namespaced to api/v1/auth
Gems: Rails with new API controllers, basic existing Devise authentication configured outside of namespace.
Custom Frontend: Running a CRA with React-admin. Client running on localhost:3000, Rails app on 3001 with cors enabled. My request code:

fetch(`${process.env.REACT_APP_API}/auth/sign_in/`, {
        method: 'POST',
        mode: 'cors',
        headers: {
          'Content-Type': 'application/json',
        },
        body: JSON.stringify({ username, password }),
      })

Can you post your routes file in the DTA section (mount_devise_token_auth_for) ?

Here is the relevant section:
  devise_for :users

  authenticated :user do
    root to: 'dashboard#index', as: :authenticated_root
  end

  authenticated :user, -> user { user.admin? }  do
    mount DelayedJobWeb, at: "/delayed_job"
  end

  namespace :api do
    namespace :v1 do
      mount_devise_token_auth_for 'User', at: 'auth'
      resources :users
      resources :customers
      resources :items
    end
  end

I thought I had this fixed recently by updating this configuration line in the initializer.
config.enable_standard_devise_support = true

It was working for a while and seems to still be working in production but locally I'm back to the same 405 error.

@MaicolBen any thoughts on this? I'm still having the issue locally but it works in production.

This is weird, it seems that you are making the request with GET but in the logs you show that is a POST redirected to GET.
We don't redirect (as it's an API) except in the parts that are explicit with a configured redirect_url , can you disable CORS for a moment and see if it works?

@jackpope ☝

@MaicolBen my CORS configuration is here:
# /config/development.rb

# ...

config.middleware.insert_before 0, Rack::Cors do
    allow do
      origins '*'
      resource '*',
        headers: :any,
        methods: [:get, :post, :delete, :put, :options],
        expose: ['access-token', 'expiry', 'token-type', 'uid', 'client'],
        max_age: 0
    end
  end

@MaicolBen Any ideas here? I currently have to comment out my auth checks in development even though they work on production.

out my auth checks

Do you mean CORS? Did you check in another browser? I know Chrome had some weirds issues about that in the past, I used an extension to disable CORS (nothing to do with DTA).

It turned out to be an issue with the routing layer of my Rails application. I was applying 301 redirects dynamically based on the incoming host and these messed up POST requests. After I filtered it to only affect GETs, everything is working. Thanks for the help! This was a tough one to debug.


reduce qbuf expiry and total size defaults; use async eleveldb:put [JIRA: RIAK-3145]

This PR:

Suggests placing the query buffers root dir on /tmp (because this directory is commonly mounted on memory-backed tmpfs);
Lowers the watermark values limiting the max volume of data stored at any time in temp tables (from 4 to 1G);
Uses async eleveldb:put, to speed things up.

A corresponding PR in riak_test is https://github.com/basho/riak_test/pull/1252.

thumbot wait

create jira issue

Broken down into three independent PRs, for easier review: https://github.com/basho/riak_kv/pull/1584, https://github.com/basho/riak_kv/pull/1585 and https://github.com/basho/riak_kv/pull/1586.


IGRINS figure for paper

We mention IGRINS a bunch in the beginning and then haven't shown any figures for it yet.  We should!  Let's add a figure of IGRINS + Sonora Bobcat models.

We have this figure in our most recent version, just need to add some more prose, and revise the figure.  Maybe choose a wider bandwidth demo because the vsini is so large.

looks good, still a bit zoomed in, but it helps see the individual inferred native res lines.


Warning on installation

Possibly update draft js dependency from 0.5.0 to latest(0.7.0 as of today)?

+1

+1

+1

+1

+1 this is quite an issue here too, i cannot shrinkwrap :/
(same for draft-js-utils)

+1

Sorry for the delay on this. This is now fixed.


add file explorer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Is this asking to add the file explorer? I have created a simple file explorer before with python. I was wondering if I could contribute by making a file explorer(at least the basics of one) in react for this project?

@enriavil1 Of course you can, make sure to follow the project code structure.

Can you please guide me, how icons are rendering in code structure?
const wnapp = useSelector(state => state.apps.explorer);
icon = {wnapp.icon}

Moreover, VS code shows "Property 'apps' does not exist on type 'DefaultRootState'" state.apps.explorer

@MrSingh2000  I'm not sure about the missing vscode property, but for icons, if you investigate utils/apps.js, you can every application has a icon property which is the name of icon png file present in public/.../icons.
I use a custom built Icon component (check utils/general.js) that can render these icons, icons from external source or svg icons. It has several properties like widt, height, onclick, redux-action onclick etc


Title: KeyError: 'automation' after latest Dolphin Anty update

After updating to the latest version of Dolphin Anty, I encountered a KeyError: 'automation' when using pyanty to create profiles with a proxy. This error was not present before the update. Below is the traceback for the error:
Error Traceback:
Traceback (most recent call last):
  File "D:\Software\Projects\dolphin_project\main.py", line 24, in <module>
    main()
  File "D:\Software\Projects\dolphin_project\main.py", line 14, in main
    profile_id, port = create_profile_with_proxy(profile_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Software\Projects\dolphin_project\profile_manager.py", line 44, in create_profile_with_proxy
    port = profile_response['automation']['port']
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'automation'

This error started occurring immediately after updating to the latest Dolphin Anty version. The same code was working correctly before the update.

After the updates it really became more difficult to use it


Pie fixes

fixes #733

@rmenegaux, @kaiayoung, @maartenbreddels

The reported issue happens much less frequently with this PR, but still occasionally occurs with the example code in #733:

Looks like the same colors are being recycled for different pie slices. Will take a look.

@kaiayoung, @rmenegaux cleaned up and removed unnecessary commits. Please review/merge

I'm getting widget model creation errors when trying to test this:
kernel.js:1007 Couldn't process kernel message TypeError: Cannot read property 'hasOwnProperty' of null
    at child.get_typed_field (BaseModel.js:37)
    at child.update_data (PieModel.js:63)
    at child.initialize (PieModel.js:55)

I deleted the local branch, so I think I should be in sync, but can anyone else double check?
@ChakriCherukuri @rmenegaux


Fix calico-node service not starting on reboot

Fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/395

I gave this a quick test, no errors, and it does seem to fix the problem.


Lost all K9mail messages

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App
Thunderbird for Android
App version
8.0b5
Where did you get the app from?
F-Droid
Android version
10
Device model
No response
Steps to reproduce
Not applicable, my messages are lost!
F-Droid suggested me to upgrade from K9mail to the latest Thunderbird beta, the upgrade process repeatedly requested if I wanted to upgrade without losing anything, and when I accepted the message repeated itself. This happened several times so in the end I had to cancel. F-Droid allowed me to open the app anyway, but no icon anywhere. When went back to F-Droid to open it again it was no longer installed to I reinstalled Thunderbird. Thunderbird started as a new app, but allowed me to import my old K9mail settings. No messages though. As I had used K9mail with POP3 in the past, this means at least my sent messages are gone. Extremely annoying an disappointed for a Mozilla app.
Expected behavior
Being able to read my old messages
Actual behavior
All messages gone
Logs
No response

How did you import the settings from K-9 Mail? From a settings file that you have previously exported from K-9 Mail? Or did Thunderbird detect that K-9 Mail is already installed and allowed you to import the settings from the app? If it's the latter, K-9 Mail is still installed and your messages should still be there.


How do i hide the blockquote accent lines

I hate them, but the theme looks great. How can i do this

^ this is what i mean by the way. not sure if blockquote was the right word for it


Can Themis be used from a Swift project on Linux?

Hello,
Can anyone tried integrating Themis library in a Swift project on Linux?
Theoretically it should work by creating a module map around the C++ library but has anyone succeeded?
I want to exchange data securely between iOS and a Vapor backend deployed on Ubuntu.
Thank you!

Well, Themis works on Linux, and Themis works on iOS Swift via ObjC bridging headers. I believe there shouldn't be any issues that prevent Themis to work directly in Swift projects :)
If you have any experience in building module map around C core, could you help us? Our Linux-gur @mnaza can help with any core-related issues.

TR;DL; Yes. Themis can be used from a Swift project on Linux
I newer before use Swift, but decide to try:

create package for Themis (I call it CThemis):

mkdir CThemis
cd CThemis
echo "module CThemis [system] {
    header \"/usr/include/themis/themis.h\"
    link \"themis\"
    export *
}" > module.modulemap
cd -

for key pair generation with temis create file main.swift with next context:

import CThemis

var res: Int32
var private_key_length: Int = 0
var public_key_length: Int = 0

// private and public keys length determination
res = themis_gen_ec_key_pair(nil, &private_key_length, nil, &public_key_length)
if res != SOTER_BUFFER_TOO_SMALL {
    print("private & public keys length determination error")
    exit(-1)
}

// private and public key memory allocation
var private_key = [UInt8](repeating: 0, count: private_key_length)
var public_key = [UInt8](repeating: 0, count: public_key_length)

// private and public keys generation
res = themis_gen_ec_key_pair(UnsafeMutablePointer(mutating: private_key), &private_key_length, UnsafeMutablePointer(mutating: public_key), &public_key_length)
if res != SOTER_SUCCESS {
    print("private & public keys generation error")
    exit(-1)
}

//result output
print(private_key, private_key_length)
print(private_key, private_key_length)

build app with

swiftc -I ./CThemis main.swift

run:

./main

all other Themis functions can be imported to Swift by same way.

Thank you, @mnaza!
I think we should consider building "pure Swift" wrapper for those who use Swift on server.

Thank you, @mnaza Really appreciate your effort 👍

@mnaza, it feels like @popaaaandrei will need to know some internals to succeed in his goal (e.g. understanding the sequence of C Themis calls to get correct results). If you've went the most of the way already, maybe you can invest a few minutes to draft out the rest of the functions?
Style-inferiority and "Swift-ness" is something @vixentael and @popaaaandrei (if he wants to) can easily correct, but if @popaaaandrei's goal is to use "secure data exchange", that's Secure Session, and it may be not very trivial to write a wrapper for it without really good understanding of how it works.
Maybe you could invest some more time on this and push this to /wrappers/?

Thank you all for support!
I can help with Swift-ness :) My goal is to send encrypted data from the hospital (Swift on Ubuntu) to the patients (iOS and Android) based on public key crypto and I think Secure Message is would fit perfectly. Secure Session seems like too much for what I need.

@gene-eu @mnaza  I made a wrapper for Secure Message using your code and ObjC wrappers as a reference.

wow, can you share it please @popaaaandrei

CThemis.zip
test.zip
First is the C module required. Second is a test project with key generation and encryption + decryption.
Thank you all!

I didn't know how to suppress the ... was never mutated, consider changing to 'let'. I am a little concerned with changing to let while using UnsafeMutablePointer(mutating: ...)

I create Themis wrapper for Swift for Linux for all Themis primities (except Secure Comparator, for now):
modulemap
wrapper
@popaaaandrei , @vixentael , check it please.
Note: wrapper include examples folder with example project. Before use it, Themis must be installed with: make install

... it would be great when you finish polishing this, come up with distribution scheme that doesn't involve 3 repos, and document things properly ;)

I can only confirm that Secure Message (both modes encrypt/decrypt and sign/verify) works for me bi-directionally between an Ubuntu endpoint and an iOS app. Thank you @mnaza

I can only confirm that Secure Message (both modes encrypt/decrypt and sign/verify) works for me bi-directionally between an Ubuntu endpoint and an iOS app.

Great to hear!
(my inquiry above was obviously direted towards @mnaza :) )

Thank you guys, I've separated issue about making Swift Themis better into separate issue (#226)


Poker Night and InfraSpace

Add three games from my spiffy new Surface: Poker Night at the Inventory, Poker Night 2 and InfraSpace.

Added games manually via other PR


Istio: Cannot schedule/delete pods when istio is deployed, istio-cni plugin not found

Environmental Info:
K3s Version:
root@k3s01:~# k3s -v
k3s version v1.30.5+k3s1 (9b586704)
go version go1.22.6
Node(s) CPU architecture, OS, and Version:
Linux k3s01 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
Cluster Configuration:
1 Master, 3 Workers
Describe the bug:
I try to run istio in k3s.
I followed the instructions on istio side to set cniConfDir and cniBinDir as suggested. When I try to scale any pod after istio is deployed I always get errors regarding the istio-cni plugin, for example:
2s          Warning   FailedKillPod      pod/sealed-secrets-controller-6d56c6b9d9-4z9c9    error killing pod: failed to "KillPodSandbox" for "075856a2-c6a5-4b78-b37f-0bf9e18cfa14" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to destroy network for sandbox \"800a6b83b2f3fb60236d4c213c05a89878f5e298df9257981af807c2818cc1c8\": plugin type=\"istio-cni\" name=\"istio-cni\" failed (delete): failed to find plugin \"istio-cni\" in path [/var/lib/rancher/k3s/data/6e93143ae43124867ba621eb24d033598be45e08808187400be7534906e8f180/bin]"

or when scheduling a pod:
3m29s       Warning   FailedCreatePodSandBox   pod/argocd-dex-server-545985657c-dxx6m    Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3ff6cc434138ac433689a6d38490140e48d3b84bd9f30f0ff7c0e1c23ccd9596": plugin type="istio-cni" name="istio-cni" failed (add): failed to find plugin "istio-cni" in path [/var/lib/rancher/k3s/data/6e93143ae43124867ba621eb24d033598be45e08808187400be7534906e8f180/bin]

When I ssh into the corresponding node of the pod I see this (mind the path from the argocd-dex pod above):
ll /var/lib/rancher/k3s/data/6e93143ae43124867ba621eb24d033598be45e08808187400be7534906e8f180/bin | grep istio
-- nothing here --

if I look up the current symlink (after I deployed istio-cni):
root@k3s01:~# ll /var/lib/rancher/k3s/data/current/bin/ | grep istio
-rwxr-xr-x 1 root root  44M Oct 10 23:18 istio-cni

I can see the daemonset deployed istio-cni onto the node but the pods try to access istio-cni on the old path. Thus all pods I try to delete hang in Terminating state as long I force them to delete.
Any idea here?
Workaround: Good ol' cp :D :
cp /var/lib/rancher/k3s/data/current/bin/istio-cni /var/lib/rancher/k3s/data/6e93143ae43124867ba621eb24d033598be45e08808187400be7534906e8f180/bin

Pods getting scheduled and can be terminated. None of my workloads are istio-enabled right now but it seems that istio-cni plays a role already, not sure, pretty new to istio.
I am using dietpi as OS by the way, so kinda stripped-down debian.
Steps To Reproduce:

Installed K3s:
install istio in ambient mode
schedule/delete any pod
get error

Expected behavior:
Pods can be scheduled/terminated
Actual behavior:
see above
Additional context / logs:

Duplicate of https://github.com/k3s-io/k3s/issues/10869

This is not fixed for me with version 1.30.6
Issue persists:
4s          Normal    SuccessfulCreate                 replicaset/details-v1-65cfcf56f9      Created pod: details-v1-65cfcf56f9-lbtd9
4s          Normal    Killing                          pod/details-v1-65cfcf56f9-ks7jt       Stopping container details
3s          Normal    SandboxChanged                   pod/details-v1-65cfcf56f9-lbtd9       Pod sandbox changed, it will be killed and re-created.
3s          Warning   FailedCreatePodSandBox           pod/details-v1-65cfcf56f9-lbtd9       Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "bea8f47b430115ee8c30eaa8fe3e50e97243d6bf68d21bfe452ccd99d8a9494a": plugin type="istio-cni" name="istio-cni" failed (add): failed to find plugin "istio-cni" in path [/var/lib/rancher/k3s/data/cni]

Istio not enabled on that namespace.
k3s got updated as mentioned to 1.30.6 and the fix was merged into that release.

Please check the docs. You need to actually take advantage of the fix by installing istio to the new static bin directory.

For the record, I managed to get istio 1.24.1 (using the ambient umbrella chart) to run wit these values:
        global:
          variant: distroless
          platform: k3s
------
        cni:
          profile: ambient
          cni:
            cniConfDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
            cniBinDir: /var/lib/rancher/k3s/data/cni

The value for global.platform is new since 1.24 and must be set afaik, anyways setting k3s here without cni.cniBinDir explicitly istio-cni will be installed into the old directory structure which leads to the failures described in this issue.


Request: Prefix:

Is it possible with the last version to have something like described in the title?
Example:

If there is no value, the select keep the "Please select the object"
The select has a list of objects like: Pen, Book, Paper, Eraser
If an item is selected, the selected option in the select should be: [A default text]+[value]. Example: "The object is: Paper" or "The object is: Pen".

Thanks.

I use CSS to make this work:
    .btn-group.bootstrap-select > button > span:first-child::before {
        content: "Site: ";
        font-weight: bold;
    }


An error pops up when created an new project from existing.

Environment

Steps to Reproduce

Launch VS and select File > new > Project
In the New Project dialog, select "From Existing Python code" under Python node
Point to the generated project , and make sure to select "Customize Project Type: Django Web Project" on the last page
Click the "Finish" button

Expected behavior
The project is created successfully.
Actual behavior
An error pops up.

Log
ActivityLog.zip

Filed internal bug 1229481

This issue also occurred when create Machine Learning project.
Version 16.9.0 Preview 2.0 [30618.9.main]

Fix for 1229481 was checked into main branch last night, so next build of 16.9 Preview 2 will have it.

And the item related to this issue have creating classifier project, clustering project, regression project and new project from existing.


Allow .ts files to be found in DEFAULT_FILTER option

Hello ! I'm making a discord bot using discord.js-commando and i migrate my bot to a typescript project
I figure out an issue with<EMAIL_ADDRESS>that is used by discord.js-commando@latest doesn't allow .ts files to be found by default
Maybe you should change the DEFAULT_FILTER regex from /^([^\.].*)\.js(on)?$/ to /^([^\.].*)\.(?:j|t)s(on)?$/

Since the Node.js require() cannot load .ts files by default, it is not in the default filter.

Actually, maybe it is possible to tell somehow what extensions can be loaded by Node.js, so if .ts is there we can load me default, otherwise not 🤔


[DBZ-PGYB] Higher level retry for failures while starting PostgresConnectorTask

Let' add some description etc.


chore: publish 0.39.0

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

fix(组件名称): 处理问题或特性描述 ...

[ ] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[ ] 文档已补充或无须补充
[ ] 代码演示已提供或无须提供
[ ] TypeScript 定义已补充或无须补充
[ ] Changelog 已提供或无须提供

Codecov Report

Merging #1248 (3d50dd9) into develop (153e56e) will decrease coverage by 0.00%.
The diff coverage is 62.50%.

:exclamation: Current head 3d50dd9 differs from pull request most recent head 4868eee. Consider uploading reports for the commit 4868eee to get more accurate results

@@             Coverage Diff             @@
##           develop    #1248      +/-   ##
===========================================
- Coverage    59.87%   59.86%   -0.01%
===========================================
  Files          992      992
  Lines        17502    17503       +1
  Branches      4005     4005
===========================================
  Hits         10479    10479
- Misses        7023     7024       +1

Impacted Files
Coverage Δ

src/transfer/Transfer.tsx
51.92% <ø> (ø)

src/upload/upload.tsx
27.60% <0.00%> (-0.12%)
:arrow_down:

src/pagination/Pagination.tsx
96.36% <80.00%> (ø)

src/table/hooks/useEditableRow.ts
48.78% <100.00%> (ø)

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


Bump<EMAIL_ADDRESS>

@jmgiaever Suggest you to use squash and merge ionstad of merge to keep a better commit history on master :)

Just disabled merge commits on repo settings so it's the default acction now ;)


internal: Improve extract_function assist

fix: It doesn't try to overwrite parts of selected comments any longer
fix: It doesn't wrap tail expressions and return types in a result or option unnecessarily
feat?: It now adds a const modifier to the created function if extract somethings from a const context

Fixes #7840

bors r+


Last Updates Pr

Are you a current Fivetran customer?

What change(s) does this PR introduce?

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[ ] No  (please provide explanation how the change is non breaking below.)

Is this PR in response to a previously created Issue

[ ] Yes, Issue [link issue number here]
[ ] No

How did you test the PR changes?

[ ] CircleCi
[ ] Other (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[ ] BigQuery
[ ] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

No Necessary!


fix: correct contactId explorer link

fixes #2565,
missed in https://github.com/superhero-com/superhero-wallet/pull/2237

LGTM


Fixed project name in fork instructions

The file currently says to fork the meilisearch-js repository.

bors merge


Less restrictive license

The project has a lot of great solutions that can be reused in many products - would you maybe consider switching to some less restrictive license (maybe MIT?), so commercial, non-opensource projects can use it too?
And if you don't want to do that for the whole project for some reason - maybe it's possible for some smaller, reusable parts? (See e.g. https://github.com/nossas/slate-editor/issues/62).

Not affiliated to the project but in case other people are wondering(as I was): unless you are building a commercial closed-source software product that you are then selling, the GPL3 does not require you to do anything, as far as I can tell.
See also discussion at https://stackoverflow.com/a/2280784/1908371
So for instance using and modifying this software in a SaaS context doesn't require you to do anything. Particularly since your Javascript code is open-source(ish) by default anyway.
If you were packaging it inside a proprietary Javascript library that you then sold that would be different.
I am not a lawyer yada yada

@sebastianiorga thanks for the input.
You're probably right - but still the licence will scare a lot of people/companies off, or require consulting the lawyers, etc. Why make it difficult?

@tomasz-sodzawiczny, @sebastianiorga, thanks for expressing your opinions and for the concern about the restrictions of the license adopted in the package today. We discussed about it and, we come to the conclusion that it makes sense switching to the MIT... I will make this change but, I believe @sebastianiorga is right... to avoid generating more doubts, I think the MIT is the solution 😛


Add CPU test cases to continuous integration

Trying to install only CPU mode fails due to

chex is only installed in requirements_ipu.txt. Installing for CPU thus casts import chex; not found
direct.py sets the number of tiles using NUM_TILES = jax.devices("ipu")[0].num_tiles which fails in CPU mode.

We should add the CPU installation to CLI backend so these type of things doesn't block potential CPU users.

We should support different ways of installing pyscf-ipu e.g. for ourselves we will probably want to do:
pip install -e ".[ipu,test]"

but could also support a cpu argument to the package setup.

No need, current readme says default installation is CPU. We should just make sure that works.
To run this package on a standard CPU machine (laptop or server), install the base Python requirements:

pip install -r requirements.txt

I think we should lean on the standard feature for managing optional dependencies:
https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies
We can sort out the readme to match this too.


Log metrics as bar charts

since we may have dozens of categories we only log the overall category in Neptune/Tensorboard as a graph
the task is to log the rest of the metrics as a bar chart
tip: use vertical names for the x-axis

Hi @AlekseySh
This is my first time contributing to open source. I wanted to work on this. Can you give me a brief on what needs to be done?

@Rei-Moriaty Yes, sure. If you run one of the examples (for instance, training model on INSHOP dataset) you will see a lot of graphs with metrics by different categories on Neptune.
The problem now is that it's hard to find the best/worst category based on these graphs. So, if we can log them as barplot images, it would be easier to navigate, where the x-axis is the category and the y-axis is the metric. And we need a series of these images with respect to epoch number.
PS. Probably Neptune provides a way of working with bar plots, so we can avoid using images.
Some random image from the internet:

@AlekseySh im happy to work on this if its still an active problem
but before I started was playing around on colab and ran into a problem with adding from oml.lightning.entrypoints.train import pl_train I get ModuleNotFoundError
I checked out #146  and was able to run visualization.ipynb  just fine am i missing a step for oml.lightning.entrypoints.train or is that no accessible via pip install git+

@isehmi Hi, it would be fine, because it's still an active problem
As for imports, ideally, all of the have to be accessible in collab env

Do other imports work in collab?
Can you do this import locally without collab?

@AlekseySh sorry for taking so long to get back to you
when i install locally i have the same problem when i just use pip install -U open-metric-learning but i found that installing pytorch and pytorch lightning works. if this is a step that the users needs to do i recommend its added somewhere in the installation guide.
i still can't get it to work on google colab even with installing the extra modules
note this problem only exist with lightning  modules from what i can tell everything else works without installing those modules

@isehmi Hm, after what you said, I created an empty docker container with python and successfully installed the library from PIP. Which OS do you have?

Windows 10

I opened the dedicated issue regarding this: https://github.com/OML-Team/open-metric-learning/issues/222

@isehmi But I guess, it's not a blocker for you If you want to work on this issue. Because you will install the repo via git clone from your fork, not from the PIP index. I hope, in this setup, you will be able to contribute. But yep, we need to figure out what is wrong with Windows.

@AlekseySh as I'm still working on windows I found another small bug that effects windows users should i be making issue for these or will this all be done when testing on windows systems starts

@isehmi I think after we start testing on windows we find more, so, the creating one particular issue is not needed now

thats what i was thinking a bit pointless adding issue one at a time. when the time comes we will need to build a robust system to catch all possible issue. i will still keep track of any problems i encounter as it might come in handy

@isehmi that's right! thank you

We are still looking for someone who can take care of this issue :)


Add mousescroll

I'm not up to date on the latest changes but I think mouse scrolling should be integrated into Ascensor. At the moment I use a plugin to call the Ascensor next()/previous() method depending on the direction one is scrolling in.
It is the natural way in which people expect to interact with the website. A lot of users get confused with the layout especially if it's a simple vertical layout.

Anyone solved the scroll problem? Thanks.

Hello dear friend.
It is a good decision.
Does Firefox have been fixed?
It's great that you are attempting to update it.
Thank you very much.
I'm testing soon.

Wow this is great.
It is compatible with all devices.
Thank you.


Wrapper for time.clock/time.perf_counter, PEP-8

Switch from time.time to time.clock on Py2 and time.perf_counter on Py3
PEP-8 fixes
Unit tests stabilization

Codecov Report

Merging #377 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #377      +/-   ##
=========================================
+ Coverage    94.5%   94.5%   +<.01%
=========================================
  Files          49      49
  Lines       19743   19749       +6
=========================================
+ Hits        18658   18664       +6
  Misses       1085    1085

Codecov Report

Merging #377 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #377      +/-   ##
=========================================
+ Coverage    94.5%   94.5%   +<.01%
=========================================
  Files          49      49
  Lines       19743   19749       +6
=========================================
+ Hits        18658   18664       +6
  Misses       1085    1085


Disable mint functionalities until Sigma is activated

please provide result image.

@a-bezrukov okay good idea. I agree.


Incosistent configuration saving/loading

Describe the bug
Panku Console seems to be inconsistently loading and saving its configuration. For example, enable_os_window can be set in the settings window, but its value is ignored if set in panku_config.cfg. Also, some of the names shown in the settings window are not the same in the configuration file. For example, window_blur_effect is stored as lynx_window_blur_effect, and common_settings is stored as general_settings
Expected behavior
Consistent label/configuration key names, all changes made in the configuration window should cause the configuration to be saved to the file.
Desktop (please complete the following information):

OS: Arch Linux
Godot version 4.1.1

Thank you for reporting this issue. I appreciate you taking the time to provide these details.
Regarding the inconsistent configuration loading/saving, I tested the latest commit and was able to successfully change 'enable_os_window' both through the settings UI and by editing 'lynx_window_enable_os_window' in the config file. Can you confirm you are testing with the latest commit? If so, the related loading/saving logic is in 'panku_console/modules/general_settings/module.gd'. Please let me know if you have any other de
tails that could help me reproduce or debug this.
As for the naming inconsistencies between the UI and config file, I agree this could be improved. I plan to align these names in a future update. If you would like to submit a pull request to address this, I would welcome it.
Please let me know if you have any other questions! I appreciate you taking the time to report these issues as it will help improve the project.

Oh, I think I see what's going on. This line
https://github.com/Ark2000/PankuConsole/blob/7e2cb1c285ed6ad6519535cd46a010133e2d3728/addons/panku_console/console.gd#L69
Is called if the main OS window is closed by clicking on the close button or pressing Alt+F4, but not if the project using PankuConsole calls get_tree().quit() or Godot crashes. I forked the project and can work on the labels, and if it's alright with you, I'll see if I can get it to auto-save whenever a setting is changed. That way, changes are saved whether the game is exited via get_tree().quit() being called, the window being closed, or Godot crashing


Investigate issues w/ next-auth with @web3auth

[ ] https://github.com/Web3Auth/mpc-core-kit/issues/17
[ ] https://github.com/orgs/Web3Auth/discussions/1199

https://github.com/justYu2001/bei-ke-box/blob/46b58974deb0fe11f2208198db982f750a11f74b/src/server/auth.ts

https://github.com/MorphisWallet/creator/blob/60ce4642e1b0b69bb5b6e9b58e0f2c3189d2d95a/src/server/auth.ts#L2

MPC:
https://web3auth.io/docs/content-hub/guides/mpc


feat[HACBS-463]-adding unit tests

Adding unit tests covering new functionality added in HACBS-463
Output after running make test
KUBEBUILDER_ASSETS="/home/jsztuka/.local/share/kubebuilder-envtest/k8s/1.23.5-linux-amd64" go test ./... -coverprofile cover.out
?       github.com/redhat-appstudio/integration-service [no test files]
?       github.com/redhat-appstudio/integration-service/api/v1alpha1    [no test files]
ok      github.com/redhat-appstudio/integration-service/controllers     5.292s  coverage: 0.0% of statements
?       github.com/redhat-appstudio/integration-service/controllers/pipeline    [no test files]
?       github.com/redhat-appstudio/integration-service/controllers/results     [no test files]
ok      github.com/redhat-appstudio/integration-service/controllers/snapshot    9.487s  coverage: 69.6% of statements
ok      github.com/redhat-appstudio/integration-service/gitops  7.895s  coverage: 62.1% of statements
ok      github.com/redhat-appstudio/integration-service/helpers 0.026s  coverage: 18.5% of statements
?       github.com/redhat-appstudio/integration-service/release [no test files]
ok      github.com/redhat-appstudio/integration-service/tekton  8.010s  coverage: 72.4% of statements

/retest


Detect class_variable_set in Style/ClassVars

class_variable_set(:@@name, 2) has the same effect as @@name = 2
This variation can be within the class definition:
class A
  class_variable_set(:@@name, 2)
end

Or it could be called elsewhere, with the class as receiver:
class A; end

class B
  def change(name, value)
    A.class_variable_set(":@@#{name}", value)
  end
end

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Can you add this bad case to the example code?

Thanks for the review @koic. Rebased from master now. Looks like the Changelog has somehow ended up with two Changes sections in the unreleased part. Would you like me to merge those together?

Yeah, "Changes" section has been merged on the master branch.
https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#master-unreleased

Ah thanks. Now I see why it didn't get thrown up as a conflict. That changelog entry should be right now.

Thanks 👍


correct_for_drag_min_distance not working as I would expect when multiple different gestures are performed in one touch sequence

This drag offset correction seams to be only applied to the first time that dragstart is fired in a selection of gestures.
For example when dragging then pinching then dragging again. The deltaX/deltaY values in the second drag are calculated from the position of dragstart for the first event. This causes unwanted jumping when navigating my graphic.
Is there are way to change this or is it deliberate?

Closing this due to age and inactivity this is from V1 and drag was removed


Review implementation of DeterministicProcess

I'd also suggest reviewing the implementation here. I think given some other choices we've made we'll perhaps want to modify it. Out of scope for this PR, however.

Originally posted by @dylanhmorris in https://github.com/CDCgov/multisignal-epi-inference/pull/262#discussion_r1690473342

Closing in favor of https://github.com/CDCgov/multisignal-epi-inference/issues/335

Closing in favor of https://github.com/CDCgov/multisignal-epi-inference/issues/335


[Feature Request] mobile version of the app

Pretty much the same app but for people that are unable to use a computer, for mobile, or lets say u cant go to Ur pc to check something, a phone version will be very useful ik vrchat has now aobilr version but likenthe normal pc version it doesn't give that much detail like vrcx! That's why I believe a mobile version would be neat!

Someone else is actively working on a mobile app, you can check it out here https://github.com/Nyabsi/VRCAA


Convert an Audio Call to Video Call (Update SDP / Re-invite)

Hey, I hope you are doing good.
I am trying to Convert an already Established Audio call to Video Call but getting error on Ice-Candicate
I am using SIPJS : 0.21.2
Error

I can't identify why it's not working.
I also tried Simple Audio Call , Audio and Video call and even screen share they are working Just fine, error occurs when I try to update SDP.
CODE
userAgentOptions = {
  authorizationPassword: userPassword.value,
  authorizationUsername: userID.value,
  transportOptions : transportOptionss,
  uri: uriUserAgent,
  delegate: userDelegate,
  contactName: userID.value,
  displayName: userID.value,
  viaHost: viaHost,
  userAgentString: userID.value,
  sessionDescriptionHandlerFactoryOptions: {
    iceCheckingTimeout : 50,
    peerConnectionConfiguration : {
      iceServers: [
        // {
        //   urls: "stun:stun.l.google.com:19302"
        // },
        {
          urls: "stun:stun.relay.metered.ca:80",
        }
      ],
      // iceTransportPolicy : "all",
      // bundlePolicy : "max-compat"
      alwaysAcquireMediaFirst : true,

      iceCandidatePoolSize:0,
    },
    constraints: {
      audio: true,
      video: true
    },
  },
  logLevel: 'debug'
};

userAgent = new UserAgent(userAgentOptions);
inviter = new Inviter(userAgent, destination, {
  sessionDescriptionHandlerOptions: {
    constraints: { audio: true, video: false }
  }
});
outgoingSession = inviter;
outgoingSession.invite({requestDelegate : OutgoingRequestDelegate})
//FOR Re-Invite after call state. = Established
outgoingSession.invite({
    sessionDescriptionHandlerOptions: {
      constraints: {
        // audio: true,
        video: true
      }
    },
    requestDelegate: OutgoingRequestDelegate
  })

Nevermind Solved it myself, Just needed to add offerOptions.iceRestart : true.
This option is not available by default so I have to manually add it
export interface SessionDescriptionHandlerOptions {
constraints?: object;
offerOptions?: RTCOfferOptions;  // added this manually
}
sessionDescriptionHandlerOptions: {
constraints: {
audio: true,
video: true
},
offerOptions : {
iceRestart : true
}
},
Rest of code is same as above mentioned in question


Add nested option and ide helper service annotator. Fix tests.

also added demo images.

would be nice to have travis instead of scrut working here to have test matrix and prefer lowest quality checks etc

@dereuromark you can test as many different environments as you want with Scrutinizer as well. Read their docs, it's called a "node" there. I prefer Scrutinizer over Travis.

Interesting, well whatever works. For now it seems to be red there, even though locally it was green.


citreproc ref not found

At the end of the build:
Citeproc: citation LindgrenEtAl2011 not found
@kellijohnson-NOAA Looks like it is referenced in a section you edited 3 days ago in 008-data.rmd

I added it in the main text because @andrew-edwards will be adding that reference to the .bib file when he integrates the citations from Eric's maturity analysis into an appendix.

Yes, this will get done when I do the appendix, so closing


Create a flowchart of the userflow

From #9 we have some text based overview of user flow through our app:

categorization page
annotation page

We should make a visual representation this (with edits / changes if needed) on miro.com.
The flowchart should clarify what a "normal" user path through the app would look like. We don't need to start out with all possible paths and errors, the main goal is to have something we can all refer to to see the functionality.

We can use the user stories from #23

Now that we have a wiki, we should put this information in there. Maybe under a "Design" section?


The engine notify twice for the same value when use numeric keyboard input

[✓] Flutter (Channel stable, 3.7.12, on macOS 13.1 22C65 darwin-arm64, locale ru-RU)
• Flutter version 3.7.12 on channel stable at /Users/a.kotkov/Develop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4d9e56e694 (10 days ago), 2023-04-17 21:47:46 -0400
• Engine revision 1a65d409c7
• Dart version 2.19.6
• DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at /Users/a.kotkov/Library/Android/sdk
• Platform android-33, build-tools 33.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
[✓] Connected device (3 available)
• iPhone 14 Pro (mobile) • 706C80D4-58D6-4210-8D81-04BDB180283E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
• macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
• Chrome (web)           • chrome                               • web-javascript • Google Chrome 112.0.5615.137
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Problem Not Fixed

https://github.com/flutter/flutter/issues/65811#issuecomment-1376703308
Hello, Problem not Fixed

@1AlexFix1
Per most recent comment from linked issue, it was verified on master version as fixed. Have you already verified on latest master to see if you still get same behavior or not ?
If the issue still persists on latest master too, is it only occuring with specific numeric keyboard or with default soft keyboard also ?
flutter channel master
flutter upgrade


cli/named_args: don't convert to taps.

Fixes https://github.com/Homebrew/brew/issues/8966

Thanks, @MikeMcQuaid!

Thanks for the approval and merge @reitermarkus!


"find in selection" for notebook

Issue Type: Feature Request
Hope to use "find in selection" function in notebooks.
Extension version: 2021.5.743038836-dev
VS Code version: Code - Insiders 1.56.0-insider (48387dfc3d691558404cff1ea2582e3862a40080, 2021-04-13T05:15:44.407Z)
OS version: Linux x64 5.11.0-13-generic

I do repro this as well. However with the new Native Notebook UI this search / find UI is controlled by core VS Code, not the Jupyter extension. I'm going to transfer this issue to their repo.

Issue moved to microsoft/vscode #121218 via ZenHub


Practice Exam 2 Question 48

The answer should be C.

https://aws.amazon.com/partners/programs/solution-provider/
Correct answer is A


note: only bundle exec ... uses local fastlane

Highlight that you have to use bundle exec ... for your local fastlane code checkout to be used.

Great to see that I am not the only one confused by the review interface. I always open reviews without wanting it and submit my comments to early. Strange.

Yeah I was just confused because I typed in the comment above, and then wanted to submit it right away with the Request Changes button. Turns out it doesn't work that way 😅


Update README and DG

Codecov Report

Merging #180 (9b0d0af) into master (d115cc9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #180   +/-   ##
=========================================
  Coverage     60.94%   60.94%
  Complexity      712      712
=========================================
  Files           145      145
  Lines          2727     2727
  Branches        361      361
=========================================
  Hits           1662     1662
  Misses          933      933
  Partials        132      132

Continue to review full report at Codecov.

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


feat: sequencer checks list of allowed FPCs

The sequencer now checks the FPC being used by a tx is on its allowlist. This can be specified either by whitelisting contract classes or individual instances.
Fix #5000

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 92.6 (+117%)
note_trial_decrypting_time_in_ms (64): 98.4 (+76%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 640c89a0 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,668
18,820
36,356

l1_rollup_calldata_gas
66,340
239,152
469,928

l1_rollup_execution_gas
647,438
929,510
1,306,108

l2_block_processing_time_in_ms
1,261 (-5%)
4,469 (-6%)
9,012 (-1%)

note_successful_decrypting_time_in_ms
187 (-21%)
499 (-10%)
967 (-5%)

note_trial_decrypting_time_in_ms
:warning: 92.6 (+117%)
116 (+61%)
:warning: 98.4 (+76%)

l2_block_building_time_in_ms
18,011 (-3%)
68,030 (-2%)
134,999 (-2%)

l2_block_rollup_simulation_time_in_ms
8,020 (-2%)
28,424 (-2%)
55,981 (-2%)

l2_block_public_tx_process_time_in_ms
9,972 (-4%)
39,552 (-2%)
78,923 (-2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,831 (+4%)
27,380

note_history_successful_decrypting_time_in_ms
1,208 (-4%)
2,578

note_history_trial_decrypting_time_in_ms
63.6 (-36%)
133 (+4%)

node_database_size_in_bytes
18,661,456
34,893,904

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
283
44,366
28,244

private-kernel-ordering
216 (-1%)
52,868
14,326

base-parity
1,879 (+1%)
128
311

base-rollup
721
165,787
925

root-parity
1,498 (-4%)
1,244
311

root-rollup
52.2 (+1%)
4,487
725

private-kernel-inner
642 (-1%)
73,771
28,244

public-kernel-app-logic
446 (-1%)
35,260
28,215

public-kernel-tail
173 (-1%)
40,926
28,215

merge-rollup
8.78 (+4%)
2,696
925

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.0 (-1%)
16.2 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.585
0.500 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
47.4 (+3%)
72.0 (-1%)
229 (-2%)
445
865 (-3%)
1,718 (-1%)
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.486 (+3%)
0.445 (-1%)
0.419 (-2%)
0.416
0.412 (-2%)
0.413 (-1%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
55.1 (+2%)
106 (-3%)
333 (-2%)
663
1,301 (-2%)
2,587 (-2%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
104
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.492 (+3%)
0.479 (-1%)
0.455 (-1%)
0.456
0.452 (-1%)
0.450 (-1%)
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
61.8 (+1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.540 (+1%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes

tx_size_in_bytes
22,012

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
3,162 (-6%)
1,753 (-1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
13.7 (+28%)
1,241 (-2%)


Image remains when switch window in monocle mode, no matter turn on/off the animation

https://user-images.githubusercontent.com/39454079/233519241-3a17dbf1-7014-422e-975b-b94e1ed0c961.mp4
As the video shown here, how to avoid this?

dupe of #683


Xcode 8 and ENABLE_BITCODE error when building using Carthage

Can anyone help with this?

Xcode 8
Carthage

When I do an update it falls over when building Dobby. Other projects are fine.
*** Building scheme "Dobby-iOS" in Dobby.xcworkspace
** BUILD FAILED **
The following build commands failed:
Ld /Users/scott/Library/Developer/Xcode/DerivedData/Dobby-ecuwfbyesepmhtfviqolgxllubry/Build/Intermediates/Dobby.build/Release-iphoneos/Dobby-iOS.build/Objects-normal/arm64/Dobby normal arm64
Ld /Users/scott/Library/Developer/Xcode/DerivedData/Dobby-ecuwfbyesepmhtfviqolgxllubry/Build/Intermediates/Dobby.build/Release-iphoneos/Dobby-iOS.build/Objects-normal/armv7/Dobby normal armv7
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd', bitcode bundle could not be generated because '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/iphoneos/libswiftXCTest.dylib', '/Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/iphoneos/libswiftXCTest.dylib' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd', bitcode bundle could not be generated because '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/iphoneos/libswiftXCTest.dylib', '/Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/iphoneos/libswiftXCTest.dylib' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Volumes/Mobi/Mobi2GoInStoreManager/Carthage/Checkouts/Dobby/Dobby.xcworkspace -scheme Dobby-iOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

hello @trustyfrog could you please provide us a sample project with the error your getting. Thanks :)

I experienced this issue a few weeks back, before our team had converted over to Swift 3 and Dobby 0.7.0. Today I went back to see if we still had an issue using Dobby as a framework. Now that our project is Swift 3 and Dobby 0.7.0 It worked aside from the following warning (which I can file a different issue for):
ld: warning: linking against a dylib which is not safe for use in application extensions: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd
ld: warning: linking against a dylib which is not safe for use in application extensions: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libswiftXCTest.dylib

For curiosity sake I wanted to see if the original issue here was gone. It does seem to still be an issue for users of Swift 2.3 and Dobby 0.6.0.
I've created a simple Xcode project that targets swift 2.3 and Dobby 0.6.0 to illustrate the issue and attached it here along with Xcode build output. I'm going to see if there is something obvious to "fix" to solve it.
carthage-xcodebuild.imDO6H copy.txt
Simple-Xcode-Project-master.zip

Ok here is what I found In 0.6.0 where SWIFT_VERSION = 2.3:
Xcode will fail to build Dobby for a device (xcodebuild -sdk iphoneos  or "Generic iOS Device in Xcode") because it links against XCTest which seems to have been built without bitcode in the Swift 2.3 toolchain.
Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/iphoneos/libswiftXCTest.dylib', '/Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/iphoneos/libswiftXCTest.dylib' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.

So I believe the "right" fix for 0.6.0 is to explicitly disable bitcode from the Dobby-iOS target all together. By doing so xcodebuild/Xcode/carthage can successfully build a framework targeted for a physical device.
Here is the change: https://github.com/trivago/Dobby/compare/0.6.0...mdarnall:no-bitcode-swift23
I'd think this would need to go into a patched 0.6.1 branch/tag/release.

Fixed by #42.

Released as 0.6.2 (it was supposed to be 0.6.1, but I rushed the tagging and forgot to actually bump the version). Anyways 🚀


Missing three end backticks of the code block

The julia code (or dev version) doesn't present properly due to the missing three end backticks of the code block.

Thank you again! As you might have noticed the master branch has now been updated to v5.0.0. I'll hold of a bit more to see if Stan 2.19 is released today. I also notice a few more places where I need back-ticks.


MQTT Topic depth?

Hey friends,
i got a problem with my MQTT connection. I sent a message through MQTT.fx (desktop client) a message to the topic /network/mode (message: 1). On the Arduino i only get this:
TCP: data received 18 bytes

nothing more... my callback method isnt called by espduino. In my desktop client I get the message normaly. If i try to sent a message to /mode then I get a message and my callback method working normaly...
TCP: data received 11 bytes
Callback method
Received: topic=/mode..
data=1...

I think there is a problem with multiple level in topics?
Does someone has the same problem?
As mqtt broker I use mosquitto (on a unix system).

I had a similar problem with very long topics (i.e. /home/firstfloor/livingroom/windows/left/down etc.), especially when I had many of them (states/commands/sensors, so on). At first I tried shortening the topics, but I still had problems. Apparently you might have lots of SRAM when compiling, but when your program runs on the Arduino, it consumes more SRAM than that and runs out of memory, causing all sorts of problems.
So I decided to put everything in PROGMEM like so:
const char PROGMEM superLongTopic[] = "/super/long/topic/that/goes/on/and/on/and/on/and/on";
(add a bunch of those)
and then you need some function to bring them back from PROGMEM:
#define MAX_STRING 65 //your longest possible topic. Careful, this is actually consuming SRAM
char stringBuffer[MAX_STRING];
char* getString(const char* str) {
strcpy_P(stringBuffer, (char*)str);
return stringBuffer;
}
So, when you need your topic, you call getString(superLongTopic)

Hello,
When I upload software to esp8266 I get an error that is below. Please help me !!!.
pi@raspberrypi /usr/share/arduino/libraries/espduino $ sudo esp8266/tools/esptool.py -p /dev/ttyUSB0 write_flash 0x00000 esp8266/release/0x00000.bin 0x40000 esp8266/release/0x40000.bin
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
Traceback (most recent call last):
File "esp8266/tools/esptool.py", line 22, in
import serial
ImportError: No module named serial

Hey  ymaglaras,
thanks for your response and you're right. I tried your snippet and it works :)
I still need to learn alot about the arduino first I think...
So my problem is not a ESPduino problem but my (arduino) problem... :)


CLI feature: list available and installed JDKs

Maybe cjdk ls and cjdk ls --installed.

Also should have a way to list cached non-JDK files and packages.

Also should have a way to list cached non-JDK files and packages.

See https://github.com/cachedjdk/cjdk/issues/6#issuecomment-1406655247


Misleading message in logs: error getting the cluster info configmap

In the service catalog logs, we are logging an error when we can't read the configmap to retrieve the cluster info. I think that is a misleading log message because it's just a warning, not an error, correct? Or do we now require different rbac permissions?
controller.go:293] error getting the cluster info configmap: "configmaps \"cluster-info\" is forbidden: User \"system:serviceaccount:svc-cat:service-catalog-controller-manager\" cannot get configmaps in the namespace \"default\""

Originally reported in https://github.com/osbkit/minibroker/issues/1

must have forgot that in #1658

closed by #1974, hopefully

still seeing this issue


Telemetry Opt-out?

Is it possible to opt-out of build telemetry?
I set up mitmproxy to debug an Android application I am creating with Avalonia. It happened to catch some Avalonia telemetry. They all return HTTP 500. But anyway, I'd like to opt out of telemetry. I didn't know any was happening. I am sure you disclosed this somewhere (who actually reads Terms and Conditions?) but I think many would want telemetry on an open-source project to be opt-in.

Set AVALONIA_TELEMETRY_OPTOUT environment variable


Prevent snapshots from persisting.

@tpodom can you take a look?

@jnfeinstein I want to take a second look at the snapshot extension.  I think we could just explicitly exclude $snapshot to avoid breaking use of the $snapshots variable.

Sure.  You can scrub it from the data using the beforeRequestWrapping interceptor.  I coded that initially and discovered the discrepancy in toJson while testing.  My test case passed with and without the fix when testing against angular 1.2 and failed against 1.3+.
Philosophically, I would not be concerned with this as a breaking change.  It's coded as an internal API (using $ as a prefix).  It will also be straightforward to find instances of this variable to update to the newer version, $snapshots is fairly unique.
What's the use case for operating on the internal $snapshots variable directly?

I agree, I don't see any particular harm in renaming it.


Spring - Remove all configuration unnecessary for spring-aad-webapi when preview new spring-aad implementations

Now in our two webapi auto-configuration classes, we include some properties, such as allowed-groups and session-stateless, which are not required in our web API implementation. But without them, the auto-configuration will not work together with the old implementation of aad starter.

user-group.allowed-groups
https://github.com/Azure/azure-sdk-for-java/blob/ef58b3fac0c1260c3851dca399c17c989ddd35bc/sdk/spring/azure-spring-boot/src/test/java/com/azure/spring/aad/webapi/AADOAuth2OboAuthorizedClientRepositoryTest.java#L42
session-stateless:
https://github.com/Azure/azure-sdk-for-java/blob/98be46bc6846f9c98aa8755d9ee71eb6b596e4dd/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-spring-security-resource-server/src/main/resources/application.properties#L3
https://github.com/Azure/azure-sdk-for-java/blob/98be46bc6846f9c98aa8755d9ee71eb6b596e4dd/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-spring-security-resource-server/README.md#configure-applicationproperties

This issue is to track that we should remove these when we preview our new webapi features.

Closing this for https://github.com/Azure/azure-sdk-for-java/pull/18373/files

Closing this for https://github.com/Azure/azure-sdk-for-java/pull/18373/files


[DOC] Typo in documentation

Documentation issue
https://refine.dev/docs/examples/tutorial/antd-tutorial/

Describe the thing to improve
Fix typo
Describe the solution (optional)
No response

Hey @dzcpy ,
Thank you for contacting us. Would you like to create a PR? ⚡

Hey @dzcpy , Thank you for contacting us. Would you like to create a PR? ⚡

Done!


 Awesome work. :)
Some thoughts:
I'd like to have one dedicated openbsd host running letskencrypt and let it handle certificates for all my mail and ubuntu web servers. Since the challenge is directly confirmed to LE as being ready right after it is written to disk, it is currently impossible to scp the challenge files to the ubuntu webhost before LE checks it and fails (although I love -t in the meantime ;)
If it would be possible to run an arbitrary shell command in between or maybe let -C support arguments like ssh://user@webserver:/srv/www/example.com/.well-known/acme-challenge, this setup would be possible. Another route might be to support dns-01.
These are just some first thoughts. I'm new to Let's Encrypt and I'd like to help with a patch if one of these features would make a chance on being incorporated.
Related to #14. (something different)

Can you try the new, documented -t?  It should solve this problem by letting the shell (or whatever caller) process the thumbprint and token itself:

An alternate challenge type, however, may be specified with -t, in which case the caller must create the challenge environment.  This may be used for implementing "dns-01" and other system-specific challenges.  To use -t, the caller invoking letskencrypt must wait for the system to print the thumbprint and token as "token.thumbprint\n" (note the a trailing newline) for each domain on standard output.  After each line, the caller must implement the challenge.  Following that, the caller must write the same exact string (along with the newline) as standard input to letskencrypt.  When letskencrypt exits, there are no more domains.

(From the manpage)

awesome! I was able to refresh the domain as follows:
# letskencrypt -Fv -t http-01 example.com by manually copy pasting the printed challenge from stdout back to stdin. This allows for some nice scripting :)


No Mail attachment with picture

I pick picture format Email.It's all OK in my local windows environment.But When it is deployed to the linux server，I can't see the picture attachment in my email.
Excel format is OK...

ref:
https://edp963.github.io/davinci/docs/zh/1.1-deployment#244-截图配置

ref:
https://edp963.github.io/davinci/docs/zh/1.1-deployment#244-截图配置

Following the doc,problem still exist!I got the error message:
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for at least one condition to be valid: presence of element located by: By.id: headlessBrowserRenderSign || presence of element located by: By.id: width || presence of element located by: By.id: height (tried for 600 second(s) with 500 MILLISECONDS interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
at aii.aboard.service.screenshot.ScreenshotUtil.doScreenshot(ScreenshotUtil.java:98)
at aii.aboard.service.screenshot.ScreenshotUtil.lambda$null$0(ScreenshotUtil.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.id: height
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'Web02', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-957.10.1.el7.x86_64', java.version: '1.8.0_162'
Driver info: driver.version: unknown
at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:896)
at java.util.Optional.orElseThrow(Optional.java:290)
at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:895)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:44)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:183)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:180)
at org.openqa.selenium.support.ui.ExpectedConditions$47.apply(ExpectedConditions.java:1427)
at org.openqa.selenium.support.ui.ExpectedConditions$47.apply(ExpectedConditions.java:1421)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
... 7 common frames omitted

@AndyFong @MountHuang This is weird,I have never encountered this kind of error.Please help me.

you can check two things in server  :1、 LANG env ；2、the fonts you need. Help it can help you.