Update message when insufficient funds for gas to send token in case the estimated fee is not obtained

Describe the task
Update message when insufficient funds for gas to send token in case the estimated fee is not obtained
To reproduce the behavior
Pre-condition: The account has insufficient funds for gas to send token and the estimated fee is not obtained

Check on address: 0x40a207109cf531024B55010A1e760199Df0d3a13

Steps:

Go to the Send token screen
Input valid data for all fields
Click on the Transfer button
Approve the transaction
Observe the transaction result

Actual: Show message "Transaction failed"

Expect: Show message "Unsuccessful.
Insufficient balance to cover (transaction) fee"

@S2kael please export for me list error/warning message.

Resolve in https://github.com/Koniverse/SubWallet-Extension/issues/1458


Recognize a subdirectory and remove them in Request::uri()

Issue: Path "/" not working in subfolder #73
Changed the uri() function in Request.php

I'm not going to merge this, for reasons explained in #73.


Makefile: Add a build-local target for building the OLM related images locally

Signed-off-by: timflannagan<EMAIL_ADDRESS>
Description of the change:
Update the Makefile and separate out the local container image building process from the run-local into it's own dedicated target. Add the build-local target as a prequisite target to the run-local target.
Motivation for the change:
Make it easier to quickly deploy changes to the OLM binaries locally when OLM is already installed on a dev cluster.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky
[ ] Tests that remove the [FLAKE] tag are no longer flaky

lol - I just ran make build-local assuming it would be there...=P
/lgtm


Enable Logging

Use this guide as reference https://github.com/Azure-Samples/azure-search-openai-demo#enabling-application-insights
Ensure that logging is enabled in the app. App Insights should already be deployed as part of azd
https://learn.microsoft.com/azure/azure-monitor/app/asp-net-core?tabs=netcorenew%2Cnetcore6

Marking issue as complete.


comment

Hey Suvanl,
Looking good so far!
quick question, what is the REST API port, REST API base URL, REST API login, and JWT secret for?

Hey!
delet3 uses MongoDB for storing two main types of data. These are:

guild data (such as custom settings configurations for each guild)
user data (such as the number of points each user has in a specific guild)

To access the MongoDB database, a REST API is used. This API's endpoint will be set up on the specified URL with a port appended to it (REST API base URL), e.g. in the format http://localhost:1234.
Technically, the REST API port environment variable is redundant as the port is already specified in the base URL. This redundancy will be rectified soon. For now, you just need to specify the same port number that's in the base URL.
To actually make requests via the API, an "API user" must log in with their username and password. This user will then receive an authentication token that they must pass in with each request to the API. This is a security measure to prevent any old person from requesting guild/user data from the database via the API. Sending a request without an auth token returns an error message.
Therefore, the REST API login is the aforementioned username and password, and the JWT secret is essentially a secure hash that's used in the generation of the auth token. JWT stands for JsonWebToken.
If there's anything that's still unclear, just let me know!

I think I understand now. thanks!

Awesome, glad to hear that!


alacritty: 0.12.1 -> 0.12.2

Description of changes

https://github.com/alacritty/alacritty/releases/tag/v0.12.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

sorry, messed up git


Automatically add a dependency to the godot-library in the gradle plugin

The version used should be similar to the gradle plugin. This can be achieved by embedding the project.version in a properties file bundled together with the artifact jar.The plugin read the version during runtime.

@raniejade Is this issue still necessary? We already implemented this in master-merge right?

I can't remember 😅 - I'll have to check again.

@raniejade still a thing or can i close it?

This is done.


fix(sequelize): properly freeze table names

According to http://docs.sequelizejs.com/manual/installation/getting-started.html#application-wide-model-options the property needs to be defined in the define block.

Thank you for the contributing this @oliversalzburg. I updated jsonapi-server dependencies today and I will need to update this package to the use latest jsonapi-server and make sure all the tests pass, which I should be able to do soon.

Any updates on this ?

@championswimmer: I'm doing work on the project tomorrow and should be able to merge this.

I'll merge this as soon as we've been able to fix the broken test when we update to the latest dependencies. Like I mentioned in your pull request @championswimmer, the reason for the test failing is no entirely trivial, since I don't think we have tested this handler with the new GraphQL support in the server. I'll com back to it tomorrow.


WSLg is required to use GUI apps.

WSLg is required to use GUI apps.
Please see https://github.com/microsoft/wslg.

after installation WSLg gedit is working but not teams .
Originally posted by @sefatanam in https://github.com/microsoft/WSL/issues/7097#issuecomment-866158077

Please fill out issue template.


Use human-readable names for inventory hosts

Don't know why I never started doing this for this project... but basically, see this slide from Timothy Appnel's presentation:

This would also provide consistency across different types of playbook runs (which often have different IPs), and for easier identification of hosts during playbook runs.

This was slightly more complicated by the fact that I use the variable groups.dramble[0] in a number of places, and changing it on an active cluster makes it so many thing which were pointed at a raw IP are now pointed at kube1 instead.
So I also had to update the networking setup playbook to make sure /etc/hosts has records for all the plain values (kube1, kube2, etc.). Seems to be working okay now, testing on the Pi Cluster then will test with Vagrant locally, and push up to Travis CI for a run here too.

Fixed; see above commit.


amqp exchange and binding dynamic configuration (fixes #51)

Which problem is this PR solving?
Solves #51
Short description of the changes
A new struct Exchange containing the name and the kind of the exchange is introduced. Also, an additional parameter for the exchange-queue binding is introduced

I will update the consumer to accept a slice of bindings instead of a single one

@chpapadop could you rebase with master branch we have conflicts, thanks

FYI you have some conflicts

@cpapidas @sotirispl @mantzas
I have addressed the code review comments, please re-review


Unable to disable sourcemap generation when specify option is used

When I use specify option to exclude some sass files from processing, then sourcemaps are always generated. I try to specify sourcemap: false option and sourcemap=false in config.rb without effect.
When I remove specify option sporcemaps works as expected.

I'm experiencing the same issue. Is there a related issue or maybe a quick fix?

+1
This issue has been up for quite a while, without any resolution in sight. If you don't have enough time to look into it, please provide any pointers about where the issue could be. Thanks.

Continue below for a solution
I needed a fix to output a production-ready style.css, without it linking to the source map file, and all CSS minified. Passing just the options didn't make any different. Here's an excerpt from my Gruntfile.js:
compass: {
    prod: {
        options: {
            sassDir: ['src/stylesheets'],
            cssDir:  ['src'],
            sourcemap: false,
            environment: 'production'
        }
    }
}

And here's how to fix it:
In order for these options to execute, you need to run compass with --force parameter. As a temporary solution, open up file under node_modules/grunt-contrib-compass/tasks/compass.js in your project's directory, and the find line containing
compile(args, function () {
Then, create a new line just before it, and paste:
args.push('--force');
And, that's about it. Now run your grunt task and enjoy.

@vladikoff Has this issue been solved? Do you have a commit reference?


1 rem 0 is NaN

Just noticed this (with elm repl 0.16.0 - not sure if that's the relevant version information):
> 1 `rem` 0
NaN : Int

Issue elm-lang/elm-compiler#262 seems to say that NaN shouldn't be an Int, so I assume this is a bug. Relevant source.
(I originally opened this issue as elm-lang/elm-compiler#1338 but moved it here as per @mgold's suggestion.)

Fixing this in https://github.com/elm-lang/core/pull/564.

I've replaced #576 by the more comprehensive #590.
I'm closing this here, since I think any discussion of this should take the larger picture of other division operators in Elm into account, see #590.


Can't control shutters after power outage

Had a Power outage last night and my homeassistant went down for like 15 minutes.
When it rebooted it suddenly notified me of the system code not matching or something and shows me the current set and some other.
The integration doesn't load.
When I now edit the systemcode with ssh to the one specified by the notification the integration loads again but now the shutters won't react to input like down/up.
Is there anyway or do I have to pair them fresh?
A side note the shutters still accept commands from my old remote control

This sounds like the power outage caused some data corruption on your disk. Likely .storage/core.config_entries and duofern.json had different codes set.
It should work if you set the system code you have been using before the power outage (i can't tell which of the two files had the wrong code, but clearly one of the two must have deviated to give you this error message).
If you're doing backups before upgrades and haven't changed much you might wanna try replaying a backup.

Thank you that was the issue added the code from the duofern.json to the other and now I can control the shutters again.


Fixed Action event resource_type from page to post

refs https://github.com/TryGhost/Toolbox/issues/356
refs https://github.com/TryGhost/Ghost/commit/3a9016639cb58759bbe852859d64077414cc5a48

I misunderstood the purpose of a column, and changed the values that
are inserted into it, which broke relation includes in Bookshelf
I've since reverted that in the commit above but this migration is to
fixup the data that got stored in the DB
we want to replace resource_type = page back to post, but then
use the context column as described in the referenced commit to
store that the type is actually a page, so we can link to it
from the audit log accordingly
I'm overwriting the context column without taking into account the
current contents but that's ok because this bug existed before we
started using context

@allouis Yeah so we use Bookshelf's morphTo here: https://github.com/TryGhost/Ghost/blob/5934794d86303b7f64958582165471762929f131/ghost/core/core/server/models/action.js#L20-L22 and it does some auto-magical joining underneath
The way I am approaching this is that it used to work, then I broke it (doing include=resource causes the endpoint to 500), so now I need to fix it, especially so I can use it in the Audit Log project. Whether or not this is a good method is another question for when we consider our use of the ORM in general

Cool thanks!
Yeah fo' sure wasn't expecting any changes ☺


Settings: Black bar visible at bottom

Different background color bar at the bottom of the settings screen.

This should be the same color as the settings background.

This is a feature of the pop-over view in iOS - will need some investigation to see if it's actually possible

Closed in #499


Pin OpenAI package to 0.28 version or update codebase for openai>=1.0.0

Describe the bug
We need to either pin the openai python package to 0.28 or update the Python codebase to work with  openai>=1.0.0

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Great point @indcoder , before I change this, I wanted to see if you would like to create a PR for this yourself?

Hi @koreyspace . Perhaps we have to split this in two PRs:

Immediate PR so as to not disrupt any ongoing bootcamps: Pin the OpenAI dependency to 0.28 so that existing code does not break.
Detailed PR: Update the requirement to openai>=1.0.0 and verify all the Python across the 18 lessons work with this update. This will also have to be done in conjunction w/ #335


show Glyphs in ALTO 4

It's great that PageViewer already supports ALTO v4. But it seems that Glyph elements are not displayed yet (as they are for PAGE). Is it planned to add that anytime soon?
(I would like to help, but I cannot even find where ALTO gets imported. Is this actually in prima-core-libs or prima-page-converter?)

I'll have a look when I have time.
It's in core libs PrimaDla org.primaresearch.dla.page.io.xml.sax.SaxPageHandler_Alto_2_1
(it's ALTO 2.1 upwards)

Thanks!
SaxPageHandler_Alto_2_1 looks very promising, I'd like to try extending it, but I have trouble getting all the PRImA projects to build in the first place. I even got to manually import the various libraries and repos into Eclipse (as existing projects, sometimes removing fixed paths like for GWT, or as new Java projects where no .project was present). But alas, they give me tons of error messages when I try to build. Without instructions or documentation, this is just too much effort for me.

Sorry for that, I thought building would be easier. I'll remove the GWT stuff anyway soon I think. Hope that will improve things

I made an update, have a look if it works for you (I don't have proper examples for ALTO with glyphs)

It works – perfectly! Thanks!

(I don't have proper examples for ALTO with glyphs)

Above mentioned PR will add that functionality to Tesseract. (It's currently tesseract -l eng -c document_title=input.tif input.tif input.alto alto to arrive at a input.alto.xml file.)

@chris1010010 why you didn't merge the update at master?
I see it in release

It's a change in library code only! PrimaDla


Handle absolute paths for save_to_gguf using pathlib

Hi there,
I opened an issue earlier this morning and I have fixed it in my local version.
Let me know if this makes sense to you!
Fixes #1118.
Reviewer: @danielhanchen.
Best,
Giulia

Oh thanks tremendously! Will review this tomorrow - appreciate it :)


docs: change language to liberate ocm from oci specific statements

I read through all OCI / Docker references, and found only this one. I can't say I 'm 100% sure I found all of them, but the best I can do. All other references contain some degree of separation using words like "for example", or the section is already scoped to contexts/oci or repositories/ocireg.
Related to: https://github.com/open-component-model/ocm/issues/183

The webside can be updated with this job from the ocm repo: https://github.com/open-component-model/ocm-website/actions/workflows/update-cli-docs.yaml

Then as I write under the issue, it's the cli documentation and not ocm documentation. That's why it's under the cli scrope and nothing to change, the cli uses oci, yes ocm is not oci specific but the cli is right now. If it's not specific,we do not mention oci.


The Server SSL certificate failed to verify

Using Xcode 14.1 with a project set to target macOS 13.0, Xcode was unable to update Swift Package OrderedDictionary, displaying the error message "The Server SSL certificate failed to verify". This was not a problem when targeting macOS 10.15. It may also be a problem when targeting macOS 12.
Ultimately, Xcode seems to continue attempting to build the whole project without ever succeeding.

Hi Michael, this looks like an issue with your SPM configuration and shouldn’t be specific to this package. You might try fetching a different one to verify that. I’d suggest you to google the error message and look for possible causes.

I was able to recover by backing out changes from the project and deleting the relevant derived data folder for the project. It was very strange in that the build process would lock up after I just removed the derived data folder for the project. The changes I had to remove were made to target macOS 13 instead of macOS 10.15.
Thanks!
Regards,
-Mike

I’m glad you were able to resolve the issue!


use declarative setuptools config

Is setup.py required after these changes, or is it only left for compatibility?

it is still required
Thomas Grainger
On Wed, 15 Apr 2020 at 11:52, whitequark<EMAIL_ADDRESS>wrote:

Is setup.py required after these changes, or is it only left for
compatibility?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nmigen/nmigen/pull/358#issuecomment-613967437, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADFATG7QZLJYU4ZZX3PLXTRMWGXHANCNFSM4MIOT2UA
.

Looks like the setuptools_scm maintainer isn't planning to implement the necessary functionality himself (which is perfectly fine!); I don't have time to do that either. Unless someone wants to implement https://github.com/pypa/setuptools_scm/issues/419 I propose we postpone migration to declarative setuptools configuration indefinitely, since there is very little downside to that.

Turns out it's actually enough to have a minimal pyproject.toml alone to fix the original issue with the venv command. I've done that in 7fca037f9c14974f499195171bb84c38ebddc1e1.
@graingert Thank you for your effort, even if in the end it was not used. If setuptools_scm ever gains configurable version formats I'll resurrect this PR.


Modifies the error message to list the available starters

What type of PR is this?
/kind bug
What does this PR do / why we need it:
It modifies the error message to list the available starters.
Which issue(s) this PR fixes:
Fixes #4481
PR acceptance criteria:

[ ] Unit test

[X] Integration test

[ ] Documentation

[ ] Update changelog

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

Trigger odo create --starter=<invalid-starter-name> nodejs
The error message should show the names of the available starters.

/approve
small change
/lgtm


Nerdtree winSize auto

When I open nerdtree it opens exactly the half size of the terminal/gvim width.
It is standard NERDTree without any changes. (I have couple of mappings to open it). As far  as I remember it wasn't like this before. Is there any way to change it?

+1 After updating to VIM 8

Same issue with Version 7.4.52

Someone just posted this on the Vim users mailing list.  Can anyone here give a specific set of steps to follow so that I can replicate this bug.  I've never seen the NERDTree behave in this way.

I have steps to reproduce this - I just loaded the minibufexpl plugin and since then, nerdtree shows this issue.
let g:miniBufExplAutoStart = 1
let g:miniBufExplVSplit = 20
let g:miniBufExplBRSplit = 1
let g:miniBufExplBuffersNeeded = 0

iThis shows my buffers in a vertical split on the right. If I now open nerdtree, it takes up half the window. If minibufexpl doesn't load first (don't autostart and unset buffers needed) and you open nerdtree first and then minibufexpl, then nerdtree works correctly.
Also, once nerdtree is at half width and I pull it back to the right size, all toggles after that show the right width.
Hope this helps root cause this issue.

For me, it was winwidth being set in my vimrc that was being applied to my NERDTree window, causing it to be larger than it should be. This only started happening recently. Ideally I would like to keep my winwidth setting while not having it applied to the NERDTree window.


Update Vale at Red Hat for Vale 3.0.0

Test new features and updates with Vale at Red Hat configuration and packages. There is at least one breaking change.
https://github.com/errata-ai/vale/releases/tag/v3.0.0

https://github.com/errata-ai/vale/tree/v3/testdata/fixtures/pkg/style


Add lock-files script

Add a script to create and update the minimal and recent lock files. On the way create a stdlib.sh script to reduce code duplication and also a template.sh to make writing the next script easier.
Note I could not get flag_verbose to work with sourcing the stdlib script without exporting a global variable which I didn't do so as not to pollute the environment.
If this merges we can remove the update-lock-files.sh script from other repos and use this new script.

There is a fair bit of shell here, I geeked out a bit, might not be seen as useful.

If this goes through my next task will be try to bring the generate-fuzz.sh logic to this repo.


InvalidValueError: setZoom: not a number

When create the map like this with a fixed zoom level everything works.
<ng-map id="map" zoom="11" ... >...</ng-map>
But when i create a map with:
$scope.zoom = 11; //in main.js
<ng-map id="map" zoom="{{zoom}}" ... >...</ng-map> //in main.html

The first time it runs it will always return this error but the map works correctly.
InvalidValueError: setZoom: not a number
I noticed there was a previous issue (https://github.com/allenhwkim/angularjs-google-maps/issues/413) with this error but for some reason mine still persists.
I'm using v1.17.3
Am I doing something wrong?

It seems like there is racing condition.
zoom is recognized as changed, but the value is not a number initially then changed back to real number.
FYI, this example works fine. http://plnkr.co/edit/YUwNZN3iwmbEaIitlB77?p=preview


Makes Python PortableRunner usable via PipelineOptions

R: @robertwb @angoenka

Ugh, giving a name to the root transform broke a bunch of tests. I'll address this tomorrow.

OK, I made PipelineValidator accept empty unique_name instead (but of course only one of them) because this seems like an easier and a harmless route.

Run Python PreCommit

Thanks, renamed the argument. We don't need to pass it in the example yet - it uses the default one by default.

Run Python PreCommit

Run Python PreCommit

retest this please


Post-release task: update 'Special rules for referential actions' docs

Reorganise the 'Special rules for referential actions' section added in 4.7.0 as part of PR #4132. Would be nicer to have the footnotes immediately below the table, but have them link out to information in the special rules section below. Also can maybe order the information a bit better.
There's also a separate page on Special rules for referential actions in SQL Server and MongoDB - is this still relevant, and should it be linked to?

There's also an old issue, #2663, that could maybe be closed or done as part of this

I opened #4180 for the special rules page and will deal with that separately.


Update tdr-graphql-client to 0.0.36

Updates uk.gov.nationalarchives:tdr-graphql-client from 0.0.35 to 0.0.36.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.0.35).
You might want to review and update them manually.
notes/0.0.35.markdown

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "tdr-graphql-client" } ]

labels: library-update, early-semver-major, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #254.


Use CodeMirror API for simpler change detection

crypto.subtle in not available on Chrome if not using HTTPS.
Its make me confuse before realizing that fact. Its run flawless on Firefox, but not on Chrome.
I think its better to use available CodeMirror API for detecting unsaved file.

There is no need to replace fore-slash or back-slash in windows. DIRECTORY_SEPARATOR works well in OS.

Crypto tested on Chrome Version 73.0.3683.86 (Official Build) (64-bit). There is no problem with that.
Check this:
https://www.chromium.org/blink/webcrypto#TOC-Supported-algorithms-as-of-Chrome-53-

The problem is on client side, nothing happen when I click on file in subfolder.

Tree item can't be detected with this code: $("a[data-dir='/new-dir\index.php']")
The length is zero, so nothing happen when clicked.

Yes, it supported. But there's a note about HTTPS on that page:

Note: In the spec, crypto.subtle is supposed to be undefined in insecure contexts

It's not working if not using HTTPS on Chrome browser.


Revert Move identity into an Area in a library (using Razor Pages)

Revert https://github.com/aspnet/Identity/commit/2964515d8556e90fb88bcb6dcacc9f762965bba1 as it broke Univese-Coherence

Sorry @javiercn, but this broke signing builds.
:shipit:


Reintroduced Node 4 support

Fixes #70

Let’s wait for the CI 🙏

Seems fixed now, I'll merge and publish a new version.

I just published it as a patch released (v2.0.1) as it shouldn't be a breaking change.

Awesome, thanks! It works now 🍕

No problem, sorry for the inconvenience!


[Ionic 4] Block whitespace appear when call keyboard.hide in ionScroll event.

Bug Report
Ionic version:
Ionic:

   ionic (Ionic CLI)             : 4.6.0
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.2
   @angular-devkit/schematics    : 7.1.4
   @angular/cli                  : 7.1.4
   @ionic/angular-toolkit        : 1.2.2

Cordova:

   cordova (Cordova CLI) : not installed
   Cordova Platforms     : not available
   Cordova Plugins       : not available

System:

   Android SDK Tools : 26.1.1 (/Users/it02/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 7.0.0
   NodeJS            : v10.6.0 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Current behavior:
I'm working on a page that has a contenteditable div.  I want the keyboard to be hidden, when the user scrolls down while editing the div. To do that, I called this.keyboard.hide() in onScroll event of ion-content. The keyboard is hidden successfully, but it leaves a blank space behind for 0.5s or until the scrolling is completely finished.
Expected behavior:
The transition for hiding the keyboard should be smooth and no whitespace left behind.
Steps to reproduce:
The following images of a ionic page shows the behavior. The pink area is the contenteditable div.
Normal state:

When the contenteditable div is focus:

When I scroll down while the div is still in focus:

This image shows that there's a white blank space at the bottom of the app that takes up 30%-40% of the height.
A sample application via GitHub:
The HTML and TS are in home.page.html and home.page.ts on https://github.com/leopangchan/ionic-scroll-bug
Other Info:
I've found some related issues in ionic 1 on Google, but they involve changing ion-content to ion-scroll, which is not available in ionic 4 anymore.

I am also facing this issue in ionic 3.. Any solution???

any resolution on this, facing same issue

**
Choosing IONIC is a big problem in my case.
**

Thanks for the issue. I am going to close this as this is not a bug in Ionic Framework. The issue here is that the webview is getting resized when you open and close the keyboard. If you are using something like Capacitor, you can prevent this by changing the resize mode on the Keyboard plugin: https://capacitorjs.com/docs/apis/keyboard#keyboard-configuration-ios-only. For example, you could set the resize value to none which would turn off all webview resizing. Or you could set it to ionic which would cause only ion-app to be resized, not the entire webview. Thanks!


Restore option for cluster type

For restore, added a new option to restore on existing cluster with same token range or a completely new cluster bootstrapped from scratch. For same cluster, use nodetool refresh to restore data and for new cluster use sstableloader. Difference is due to the significant performance disparity.

Can one of the admins verify this patch?

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please


kScript is not defined

Describe the bug
Uncaught (in promise) ReferenceError: kScript is not defined
    at editor.js:315:37
    at String.replace (<anonymous>)
    at parseHTML (editor.js:313:15)
    at async main (editor.js:403:3)

Screenshots

Desktop

OS: MacOS Monterey
Browser Chrome
Version 99.0.4844.51 (Official Build) (x86_64)

Additional context
Pretty nice work by the way, thank you so much, i am learning a lot from this site. 👍🏻

thanks for the report.  It should be fixed. You probably need to clear your cache go maybe go here, refresh that, and then maybe the other pages will work.


victory-native is not compatible with react-native^0.56

2018-07-04 14:53:41.838 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating '_victoryContainer.default')
2018-07-04 14:53:41.844 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating '_victoryContainer.default')

trying to run sample charts inside existing project this is what i cat as soon as i import it

as i dig in think its babel 7 thing

I had the same issue a few hours ago. Which react-native version do you use?
In my case, I got the error with react-native 0.56. After the downgrade to version 0.55.x my project worked again.
I was happy and didn't do any further researches, but I think that victory-native is not compatible with react-native 0.56

yes i am using 0.56 and they switched to babel 7 there so thats must be a problem

have the same issue on RN 0.56

me too, Same Issue~!

Any ETA on a fix for this?

I tried cloning this project and upgrading the dependencies. Seems like the way the startup script is setup is dependent upon starting the packager in a way that does not exist anymore. I really need this.

Thank you all for identifying the cause of this issue. I updated the issue title to reflect the new information, but I won't be able to upgrade until next week. If anyone else would like to open a PR, I would greatly appreciate it.

I managed to clone the project, updated to<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>in devDependencies, and changed the start command to node node_modules/react-native/local-cli/cli.js start. I'm able to get the demo project running, but am still seeing the undefined is not an object (evaluating '_victoryContainer.default')`.

@sdroadie then... it sounds like the bigger issue is the babel 7 upgrade. All of the main victory repos build lib/ and es/ targets with babel 6, and victory-native requires components form the main repos  like:
import { VictoryContainer } from "victory-core/es";
I am in the middle of some major infrastructure work in the main repos. I will see if I can update our build infrastructure to use babel 7 while I'm at it. I expect all this work to land by Tuesday.

@boygirl, any update on this issue? thanks for your hard work.

Update:
After upgrading to Babel 7 in the main victory packages, I'm still hitting the same issue @sdroadie mentions in<EMAIL_ADDRESS>I'm afraid this is going to take a few more days to solve. Thanks for your patience, everyone.

Update 2:
The issue is confined to the native version of the createContainer helper. Since I've narrowed it down, I think I can have this fixed by Monday.

me too, Same Issue.

but I changed this code

to import VictoryContainer from "../components/victory-container";
It's running normally.

Update:
I have done some refactoring to solve the underlying import issue that was causing issues with babel 7 +<EMAIL_ADDRESS>With Victory's move to much more modular packages in v30.0.0, it was a bit more complex than changing import VictoryContainer from "../components/victory-container";
Demos are all running as expected, but<EMAIL_ADDRESS>has totally broken test infrastructure. https://github.com/FormidableLabs/victory-native/pull/347
I'm working on tracking that down, but I think this improvement will be further delayed by a day or two. In the meantime, if anyone has insight into the breaking changes in<EMAIL_ADDRESS>please let me know

thanks @boygirl, i will try on it.

Update!
Using metro-react-native-babel-preset for compiling code for testing only. New version will be published within the hour as<EMAIL_ADDRESS>The reason for this major version bump is to conform to other victory packages. You can read about the rationale here: https://formidable.com/blog/2018/victory-is-turning-thirty/

This work is published as<EMAIL_ADDRESS>Thank you to everyone in this thread for their help and patience!

@boygirl Excelent
This work for me. Thank you so much.

Excellent. Worked for me


bug with url bar + backspace

Operation System: Ubuntu 17.04
Beaker Version: 00113ba1
If I click in the url browser field and hit backspace I eventually end up with the same url I had and if I press backspace and hold it will loop forever:
Backspace until one character left:

Hit backspace again and the original url comes back:

Possibly related to #620
On Wed, Jul 26, 2017 at 07:30 Lars-Magnus Skog<EMAIL_ADDRESS>wrote:

Operation System: Ubuntu 17.04
Beaker Version: 00113ba
https://github.com/beakerbrowser/beaker/commit/00113ba1534d443b7a570e334efbdb29aa940594
If I click in the url browser field and hit backspace I eventually end up
with the same url I had and if I press backspace and hold it will loop
forever:
Backspace until one character left:
[image: beaker-url-backspace]
https://user-images.githubusercontent.com/308049/28620805-d9163076-720e-11e7-9834-594909770d63.png
Hit backspace again and the original url comes back:
[image: beaker-url-backspace2]
https://user-images.githubusercontent.com/308049/28620806-d919e608-720e-11e7-8f34-1b911100b8c3.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/626, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHO8QZBKiX9cBnqFY7Fn5XhBSb7VNHaCks5sRzFbgaJpZM4Oj2qL
.


keycloak: migrate cluster access documentation to external website

Description
This PR removes the documentation about how to access the CrownLabs cluster through kubectl, which has been moved to the CrownLabs website for increased clarity.

/merge


node 10 LTS support?

With node 10.13.0, v10 is now LTS.
Are there any plans up update pkg to support this?
Currently, if I build with node10-*, it uses 10.3.0/10.4.0

@ALangguth I believe you could remove those with the --no-warnings v8 flag.

I want to use work thread, but current node 10 used by pkg is node 10.4.1, it was added in 10.5.0 😞

That would also remove the nasty (node:15274) ExperimentalWarning: The http2 module is an experimental API. warning, as this was removed with 10.10

Exactly.

Support will be for Node 12 and 14 going forward. Thanks!
https://endoflife.date/nodejs


tf.data batching slows down on Windows

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.8
Custom Code
Yes
OS Platform and Distribution
Windows 10
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
CUDA 11.2 cuDNN 8.1.0
GPU model and memory
Nvidia A40 48GB, 128GB System RAM
Current Behaviour?
While training a keras model using a custom tensorflow dataset, the training steps slow down once the remaining sample count in the first epoch is smaller than the shuffle buffer size. The slowdown carries over to the following epochs and takes longer and longer.
I would expect the opposite behavior since all remaining samples should already be in the buffer and do not need to be loaded anymore. I have tested it on multiple Windows systems and this slowdown occurred on all of them. However, it does not happen on Linux-based systems.
I then used the tensorboard profiling plugin to investigate what is causing the slowdown. As you can see here, it seems to be an input-related problem:

From the input operations you can see that Iterator::Root::Prefetch::BatchV2 takes the most time (this is also the case when removing the prefetching):

The slowdown can also be seen in the trace viewer:

Here is a more detailed comparison of BatchV2 durations from different steps:

Here is the profiling_data.zip.
Standalone code to reproduce the issue
In order to reproduce and profile this issue the following code can be used. When running the main.py for the first time it will generate the dummy dataset which takes around 20 minutes to write 24GB of dummy data.
dummy_dataset.py
import numpy as np
import tensorflow as tf
import tensorflow_datasets as tfds

class DummyDataset(tfds.core.GeneratorBasedBuilder):
    VERSION = tfds.core.Version('1.0.0')
    RELEASE_NOTES = {
        '1.0.0': 'Initial release.',
    }

    def _info(self) -> tfds.core.DatasetInfo:
        return tfds.core.DatasetInfo(
            builder=self,
            features=tfds.features.FeaturesDict({
                'audio': tfds.features.Audio(shape=(16000,), dtype=tf.float32),
                'label': tfds.features.Tensor(shape=(2,), dtype=tf.float32),
            }),
            supervised_keys=('audio', 'label')
        )

    def _split_generators(self, dl_manager: tfds.download.DownloadManager):
        return {
            'train': self._generate_examples(),
        }

    def _generate_examples(self):
        for i in range(400000): # If sample count is increased, issue starts later (tested with 1M+)
            yield i, {
                'audio': np.random.sample(16000).astype(dtype=np.float32),
                'label': tf.one_hot(np.random.choice(2), depth=2).numpy()
            }

main.py
from dummy_dataset import DummyDataset
import tensorflow_datasets as tfds
import tensorflow as tf
import os
import datetime
from tensorflow import keras

# Configuration
shuffle_buffer = 300000 # Uses ~30GB RAM, can be lowered to 150000 if only 16GB RAM available
batch_size = 512
epochs = 3

optimizer = keras.optimizers.Adam(learning_rate=0.001)
losses = ['categorical_crossentropy']
metrics = [keras.metrics.CategoricalAccuracy()]

folder_name = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")

# Prepare dataset (takes ~20min for the first time to generate ~24GB of dummy data)
ds_train, ds_info = tfds.load(
    name='DummyDataset',
    split='train',
    as_supervised=True,
    with_info=True,
    shuffle_files=True,
)
ds_train = ds_train.shuffle(shuffle_buffer)
ds_train = ds_train.batch(batch_size)
ds_train = ds_train.prefetch(tf.data.AUTOTUNE)

# Configure profiling
sample_count = ds_info.splits['train'].num_examples
slowdown_start = int((sample_count - shuffle_buffer) / batch_size)
profile_stop = slowdown_start + 150

callbacks = [keras.callbacks.TensorBoard(
    log_dir=os.path.join(os.getcwd(), 'tensorboard', folder_name),
    profile_batch=[slowdown_start, profile_stop]
)]

# Build and train model
input_layer = keras.layers.Input(shape=(16000,), dtype=tf.float32, name='audio_input')
output_layer = keras.layers.Dense(2, activation='softmax', name='prediction')(input_layer)
model = keras.Model(inputs=input_layer, outputs=output_layer, name='dummy_model')

model.compile(optimizer=optimizer, loss=losses, metrics=metrics)
model.summary()

print(f'Expected slowdown to start at batch {slowdown_start}, profiling batches {slowdown_start}-{profile_stop}')

model.fit(x=ds_train, epochs=epochs, verbose=1, callbacks=callbacks)

requirements.txt
tensorflow==2.8.0
tensorflow-datasets==4.5.2
tensorboard-plugin-profile
numpy

Relevant log output
No response

@michaeldietz I tried to replicate the issue on colab and faced a different error. Could you please have a look at the gist here.Thanks!

@sushreebarsa The error in your gist happens because it uses an older version of tensorflow-datasets. I already tried to replicate the problem on colab with this gist but it does not happen there. As mentioned, it only happens on systems with a Windows operating system.

The difference may be in the malloc implementation. batch needs to allocate a large amount of memory to copy the batch data into. Linux and Windows have different malloc implementations, and it's possible that the Windows heap becomes increasingly fragmented, degrading malloc performance over time. To investigate further, I suggest profiling the malloc performance of the process.

@michaeldietz , Could you please respond to the above comment and provide your insights. Thanks!

Oh I thought the comment was meant for someone from the tensorflow team since the status was still on "awaiting tensorflower". I don't know how to profile the malloc performance. However, I did observe that the problem always occurred at the same time, regardless of the memory of the system (I tested it with 128GB and 256GB RAM).


Documentation issue: permission_id has wrong type

Prerequisites

[X] I have searched the repository’s issues and the Kinde community to ensure my documentation issue isn’t a duplicate
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

How can we improve the docs or what is missing?
Under List Permissions is states that permission_id is of type string but on Update Permission it is of type integer.
The other pages all seem to show the type of permission_id as a string.
Provide extra context, such as what you were trying to do and your requirements
Trying to add the day to day usage of Kinde directly into our SaaS product to save us having to do things directly within the management portal.
If the docs page already exists, please provide a link
https://kinde.com/api/docs/?http#update-permission

Hi @ABoyd002,
Thanks for pointing this out, I have raised a fix for the API docs.  Once deployed I will get this fixed up on this package.

Hey @DanielRivers,
Cheers for getting this looked at so quickly.

@ABoyd002, our main API schema has been updated, I will get this fixed up today, thank you for your patience.

@ABoyd002 Apologies for the delays getting this released. There was a change made to the API which would result in a breaking change in this package.  We are looking to mitigate that at the moment.


[v0.2] Performance PDT

[x] v0.2 performance PDT -  due by WW47

[x] RNNT small scale
[x]  ResNet wip software improvement ratio
[x] minigo refreshing with RedHat os on CLX
[x] Bert

[x] wait for PDT review

@Peach-He , please update here for latest status

now send to PDT review comittee

@Peach-He , please help to update PDT status in this issue

v0.2 workload training performance: 13.06x, 10.10x, 10.12x and 14.19x for MiniGo, BERT, ResNet and RNN-T. Waiting feedback from PDT reviewers

@Jian-Zhang , this issue is completed


Enchantments persisting from swords to hands

After tossing a sword around back and forth between two users and having them kill eachother (the sword is sharpness 255), after they both drop the sword if they have it, the effect sticks in the first slot. The death is instant with the first slot selected, while any other slot takes the same amount of damage that you would expect it to.
SpongeVanilla 1.12 288
Reproduction Steps:

Give player sword with instant kill enchantment, or really any enchant theroretically
Have player kill another player
Have player drop the sword or remove it from their inv
Have the player hit another player
As a result, the other player dies instantly or has whatever effect.

It also appears this behavior stops after a relog of the client. The in-game death message doesn't show the oddly stored weapon stats on kill either.

Thanks Minecrell. Never realized that air/emptyitem could be enchanted.

@ryantheleach It seems like (for some reason) Minecraft keeps the same ItemStack instance when you drop items, it just decreases the stack size to 0 (and maybe sets it to AIR not sure). That's why the enchantments from the sword were still present.

That's just lovely.


Get row object from customBodyRender

Sorry if this has been asked before..
I created a custom column definition below
{       name: "",       label: "Action",       options: {         filter: true,         sort: true,         customBodyRender: (value, tableMeta, updateValue) => {           return (             <Action_DataTable config={{ row: tableMeta, editHandler: editRow, deleteHandler: deleteRow, viewHandler: viewRow }}/>           );         }       }     }
Where Action_DataTable is a custom widget that provides the edit, view and delete button functionality for the application that we're building.. I've checked on the tableMeta.rowData, but the data provided was just array of values which basically can be extracted from the row object using Object.values(). Is there a way for me to get the original row object instead?
What i got was --> [ a, b, c, d ], but what i want is actually { propertyA: a, propertyB: b, propertyC: c, propertyD: d }
Thanks.

Not via the tableMeta, however, I can offer you a way to correlate your data to an action via the customBodyRender. Lets say your first column has a delete button, as in the custom-action-columns example. You can set the empty option to false and then supply a custom id in your data for every row. Then, value in customBodyRender for your delete button will be the unique id for a row of your data which you can use to grab your row data.
In my opinion, tableMeta is missing dataIndex which is like an internally supplied unique id that you could use for this purpose, and it would be much more convenient than my workaround. I'm open to PRs that would provide that.
I'm not sure about supplying the original data in the tableMeta as I don't think the table should be working to keep track of what the original data was that you passed in. I think it would be too costly and error-prone, and since you have access to all of your own data anyway, I think it makes more sense just to have a way to map functions back to your own data easily. Then the library doesn't have to worry about managing and maintaining what you sent in initially, and it can just evolve as you instruct it.
Does that make sense?

Yah i got what you mean there. I also had that similar kind of idea of pulling the row object straight from the store based on the ID using similar idea like yours @gabrielliwerant, though mine is just checking at index 0 of the rowData, which is essentially the object ID itself. I don't mind another workaround though for this.. thanks for the suggestion :+1:

@gabrielliwerant My problem with this approach is that I can't explicitly set a value that would be used in filters and sorts, and set a different render value so I can't do something like this:
const orders = [
  {
    id: 0,
    customer: {
      id: 1,
      fullName: "Garry Marishenko",
      email<EMAIL_ADDRESS>    }
  }
];

const columns = [
  {
    name: "customer",
    label: "Customer",
    options: {
      customDataValue: ({ fullName }) => fullName,
      customBodyRender: ({ id, fullName }) => (
        <a href={`/customers/${id}`}>{fullName}
      ),
      filterType: "textField"
    }
  },
  {
    name: "customer",
    label: "Customer Email",
    options: {
      customDataValue: ({ email }) => email,
      customBodyRender: ({ id, email }) => (
        <a href={`/customers/${id}`}>{email}
      ),
      filterType: "textField"
    }
  }
];

I could use the customer's ID for every column and look up additional properties, but if I return a component instead of a string, the table will use the original value and I can't search for fullName or email.
I had a similar problem with currencies: when I return a string, I lose the ability to work with the original number later, perhaps in a custom number filter.
{
  name: "Salary",
  options: {
    filter: true,
    customBodyRender: (value, tableMeta, updateValue) => {
      const nf = new Intl.NumberFormat("en-US", {
        style: "currency",
        currency: "USD",
        minimumFractionDigits: 2,
        maximumFractionDigits: 2
      });
      return nf.format(value);
    }
  }
};

To get around this I return nf.format(value) instead, but is there a simpler way to resolve this? I find it uncomfortable that customBodyRender implicitly pollutes the data depending on the return type, but maybe I'm just missing something.

@bkiac I don't know enough about what exactly you are trying to do to answer fully, and I don't want the main thrust of this issue to be lost, so this may need a new issue. To me, using separate filter names and separate data names is a different issue. What's under discussion here is about how to map back arbitrary data to a customRenderBody component, which is doable, but not as easy as it could be. You create your own mappings, transform your data accordingly, and use an id to retrieve whatever meta you want on your side (same with original data if you want to keep it around). However, that's not the same thing as using using different filter names, for which you'd have to lean heavily on the custom filter options.

@gabrielliwerant I wasn't talking about custom filter names exactly. I meant that I can't specify both a data value and a render value. So if I handle my mappings and transformations outside the table and want to display a customer's email and a customer's username with that mapping the custom render part would be solved, but for both columns, the actual data that I can sort and filter will be the same ID which I hand to my mapping.
But if I had access to the whole customer object instead of an ID this would be easier.
I agree that custom filter value may be worth a separate issue, but I felt it's related to this one because I tried to solve this for the first time how this issue's author tried. Thanks anyway!

@bkiac Ok, thanks, I have a clearer idea of what you want now. If you like, you can open a new issue for that request so that it's tracked somewhere and maybe someone will take it (or you could work on it), but it would be lower priority for me due to other more pressing issues.


Next.js 13 app directory support

With version v0.5.2 we've added a createServerComponentSupabaseClient which can be used server components to get an authenticated Supabase client. This is the PR which includes an example. Note that this needs to be used in combination with middleware as Next.js does not yet allow setting headers in server components.
Docs to follow soon.

E.g. currently it isn't clear how to access what used to be ctx.res in getServerSideProps

Seems like context was generally replaced in favor of the headers and cookies module as it stands now you can only read from both but according to Next.js they are planning on implementing a set function for cookies so you can set cookies.
"The Next.js team at Vercel is working on adding the ability to set cookies in addition to the cookies function. For now, if you need to set cookies, you can use Middleware."

I'm going to spend some time today to see if I can figure out a relatively straightforward way to get this working without too many drastic changes.

I spent some time yesterday and a bit today. Was able to use the existing withMiddlewareAuth function directly.
export const middleware = withMiddlewareAuth({
  redirectTo: "/login",
});

In order to get access to a supabase client that is authenticated on the server, I am doing something like this:
import { cookies } from "next/headers";
import { createClient } from "@supabase/supabase-js";

export const createSupabaseClient = () => {
  if (!process.env.NEXT_PUBLIC_SUPABASE_URL) {
    throw new Error(`Must define process.env.NEXT_PUBLIC_SUPABASE_URL`);
  }

  if (!process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY) {
    throw new Error(`Must define process.env.NEXT_PUBLIC_SUPABASE_URL`);
  }

  const cookie = JSON.parse(cookies().get("supabase-auth-token") || "{}");

  if (cookie?.access_token) {
    return createClient(
      process.env.NEXT_PUBLIC_SUPABASE_URL,
      process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
      {
        auth: {
          persistSession: false,
        },
        global: {
          headers: {
            Authorization: `Bearer ${cookie.access_token}`,
          },
        },
      }
    );
  }

  return createClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL,
    process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
    {
      auth: {
        persistSession: false,
      },
    }
  );
};

Which I'm calling in my server component.
import { createSupabaseClient } from "services/supabase";

const getCustomers = async () => {
  const supabase = createSupabaseClient();

  return (await supabase.from("customers").select()).data;
};

const Customers = async () => {
  const customers = await getCustomers();

  return <pre>{JSON.stringify(customers, null, 2)}</pre>;
};

export default Customers;

I don't expect this to be a long term solution, and it doesn't have the ability to set the cookies yet, but for authenticated requests I don't need to at this point. Just wanted to give a quick progress update. I'll be posting the repo once I do a bit more testing.

Thanks @jensen I actually think pairing it with middleware is the right approach because the middleware can modify the response to refresh the session and update the cookie if needed: https://github.com/supabase/auth-helpers/blob/main/packages/nextjs/src/middleware/withMiddlewareAuth.ts#L65-L72

Yeah, I was thinking the same thing. The only issue I'm finding with that at this moment is passing that supabase instance to the server component isn't straight forward. Right now we have access to cookies and headers, but not a context like object passed from middleware.
I'd like to look at the middleware in more detail. We need access to the request, and the response in order to create the storage callbacks, that part is reasonable. The part that I am unsure of is how we pass a supabase instance to a server component. We can access cookies and headers at this point but it seems like no complex types.
Would love to be wrong on this.

Has anyone worked out how to use withPageAuth yet? or is this still a work in progress.
Also how long util there is a supported solution @supabase

The withPageAuth API likely won't be as useful for server components as it is for the existing getServerSideProps API. I imagine a new hook could be used instead. Maybe named usePageAuth, but currently we cannot write the redirect headers from a server component.
We can currently only read cookies and headers from the request. This is documented by the vercel team at https://beta.nextjs.org/docs/api-reference/cookies and https://beta.nextjs.org/docs/api-reference/headers.

I agree with @jensen that a new hook is probably the way to go. Looking at the redirect example on the new Next docs it seems like something along the following lines is gonna suffice:
import { redirect } from 'next/navigation';
import { usePageAuth } from 'supabase/auth-helpers'; // This one would be new

export default async function PageUsingAuth() {
  const isAuthorized = usePageAuth();
  if (!isAuthorized) {
    redirect('https://...');
  }

  // ...
}

This would be done on a page level and then the child components are protected by default. I believe then using middleware to handle refreshing the session and cookie would be enough for this all to work. To me, this is a much nicer API than using withPageAuth().

Just a heads up for anyone working on Next 13. I found out the hard way that leaving out a pages folder will prevent middleware.ts from loading. I had to add a pages/.keep file for now, and it works. I was going to add an issue, but found this one https://github.com/vercel/next.js/issues/41995 was already submitted.

Can anyone provide with example how to implement SessionContextProvider with new app page structure?

Can anyone provide with example how to implement SessionContextProvider with new app page structure?

I posted an example repo in a message above.

You could also make a version that works on the layout that way you can have a whole subset without the middleware

Currently the middleware is needed because there is no other way to modify the response of a request.

Can anyone provide with example how to implement SessionContextProvider with new app page structure?

You have to implement it like normal the only thing thats different is that you have to put 'use client' at the top of the page that uses that component. as server components cannot use context. Which for me breaks every page as i use a Theme Context with styled components.

You could also make a version that works on the layout that way you can have a whole subset without the middleware

Currently the middleware is needed because there is no other way to modify the response of a request.

Is there an example of how to use the middleware with Next 13 and auth-helpers anywhere @Murkrage

You could also make a version that works on the layout that way you can have a whole subset without the middleware

Currently the middleware is needed because there is no other way to modify the response of a request.

Is there an example of how to use the middleware with Next 13 and auth-helpers anywhere @Murkrage

@jensen provided one that works fine in my project: https://github.com/supabase/auth-helpers/issues/341#issuecomment-1292658432
Code: https://github.com/jensen/supabase-nextjs/blob/main/middleware.ts
// middleware.ts
import { withMiddlewareAuth } from "@supabase/auth-helpers-nextjs";

export const middleware = withMiddlewareAuth({
  redirectTo: "/login",
});

export const config = {
  matcher: "/dashboard/:path*",
};

I have done this in mine. The app redirects to the login page but then when I fill in the form it submits the form the html way even though I've got e.preventDefault on it. If I move the login page back to pages it works but in app it doesn't. Super strange

If it is an existing project, have you followed the upgrade guide? https://beta.nextjs.org/docs/upgrade-guide

Yeah i've followed it all my pages and layouts are set up as 'use client' so nothing should have changed.

@kentare are you able to look and see if im doing anything wrong with my repo https://github.com/The-Code-Monkey/PaperCMS

https://github.com/nicolazj/nextjs13 here's a working example with nextjs13

If this PR gets merged and put into canary for the next version of next.js I think it would then enable setting cookies everywhere.

https://github.com/nicolazj/nextjs13 here's a working example with nextjs13

I couldn't get it working :(
I cloned the repo, did an npm install, put in an .env.local with my supabase url and anon_key, started the dev server.
Entered my username and password, hit sign in, was redirected to the Account page but the server shows "null from server" and the browser shows an alert with "Error loading user data!".
Am I missing a step somewhere for this to work?

https://github.com/nicolazj/nextjs13 here's a working example with nextjs13

@nicolazj I had success at first, but when moving from my Macbook to my Windows machine I keep getting "Cannot read properties of undefined (reading 'Provider')". Not sure if this is a windows issue however

From what I can tell, using supabase/ui fails with Next 13

Now that react & next can cache fetched data, would it be possible to remove the context provider when using Nextjs 13 since the session can be natively cached? Is the context provider only caching the session?
This currently doesn't work, but something to the effect of:
// utils/getSession.tsx
import { cache } from "react";
import { createServerSupabaseClient } from "@supabase/auth-helpers-nextjs";
import "server-only";

export const getSession = cache(async () => {
  const supabaseServerClient = createServerSupabaseClient();
  const { data: session } = await supabaseServerClient.auth.getSession();
  return session;
});

// app/user/page.tsx
import { getSession } from "@utils/getSession";

export default async function Page() {
  const session = await getSession();
  // ...
}

With version v0.5.2 we've added a createServerComponentSupabaseClient which can be used server components to get an authenticated Supabase client. This is the PR which includes an example. Note that this needs to be used in combination with middleware as Next.js does not yet allow setting headers in server components.
Docs to follow soon.

How do i call inner nextjs api with session? session object in middleware returns null.

How do i call inner nextjs api with session? session object in middleware returns null.

Same for me too.

Is there an ETA on the docs at all?

How do i call inner nextjs api with session? session object in middleware returns null.

Very strange. This should only happen if you are not signed in.
If you make your middleware something like this:
import { createMiddlewareSupabaseClient } from "@supabase/auth-helpers-nextjs";
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";

export async function middleware(req: NextRequest) {
  const res = NextResponse.next();
  const supabase = createMiddlewareSupabaseClient({ req, res });

  const {
    data: { session },
  } = await supabase.auth.getSession();

  console.log({ session });

  return res;
}

export const config = {
  matcher: ["/api/hello"],
};

And call one of the Supabase auth methods client-side, for example:
await supabase.auth.signInWithPassword({
      email<EMAIL_ADDRESS>      password: 'password'
    });

Do you still get a null session?

Is there an ETA on the docs at all?

Aiming to get these live today 👍

How do i call inner nextjs api with session? session object in middleware returns null.

Very strange. This should only happen if you are not signed in.
If you make your middleware something like this:
import { createMiddlewareSupabaseClient } from "@supabase/auth-helpers-nextjs";
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";

export async function middleware(req: NextRequest) {
  const res = NextResponse.next();
  const supabase = createMiddlewareSupabaseClient({ req, res });

  const {
    data: { session },
  } = await supabase.auth.getSession();

  console.log({ session });

  return res;
}

export const config = {
  matcher: ["/api/hello"],
};

And call one of the Supabase auth methods client-side, for example:
await supabase.auth.signInWithPassword({
      email<EMAIL_ADDRESS>      password: 'password'
    });

Do you still get a null session when navigating to your API route: /api/hello?

Yes - it happens on the first load after an auth.  The session doesn't get hydrated until the client interacts with it once - then a reload will show you it in the middleware.  But the first middleware hit after authentication always returns a null session for me.

But the first middleware hit after authentication always returns a null session for me.

Unfortunately that's to be expected for Oauth (redirect) based methods. The tokens are communicated via query fragments which cannot be accessed on the server. Therefore the client needs to render first, at which point supabase-js picks up the URL query fragments an creates the auth cookie. Once that has happened (which currently needs to happen client-side) the session will be accessible server-side via the auth cookie.
You can find more details on this here: https://supabase.com/docs/guides/auth/server-side-rendering#understanding-the-authentication-flow

Docs: https://github.com/supabase/supabase/pull/10396

Do you still get a null session when navigating to your API route: /api/hello?

Yes - it happens on the first load after an auth. The session doesn't get hydrated until the client interacts with it once - then a reload will show you it in the middleware. But the first middleware hit after authentication always returns a null session for me.

Not sure if this helps, but the way that I handle this is with an /authenticated route. https://github.com/jensen/supabase-nextjs/blob/main/app/(new)/authenticated/page.tsx
All it does is wait patiently for that session to be set. https://github.com/jensen/supabase-nextjs/blob/main/components/auth/check.tsx
I can tell the redirect to go to the /authenticated route using the supabase api. https://github.com/jensen/supabase-nextjs/blob/9cec28b5c48c16be7fd8487c586eadc90bfef401/components/auth/buttons/discord.tsx#L15

Unfortunately that's to be expected for Oauth (redirect) based methods.

I think a recommendation on how to handle this officially would make sense then - as it basically means auth will feel broken using the default implementation example.  I wonder if there's another way to recognizing the first hit after auth to let it through to the original return path

Unfortunately that's to be expected for Oauth (redirect) based methods.

I think a recommendation on how to handle this officially would make sense then - as it basically means auth will feel broken using the default implementation example. I wonder if there's another way to recognize the first hit after auth to let it through to the original return path

I've spent dozens of hours working with Supabase auth, and I can't get around this with the hash based access token (when we are dealing with email confirmation or provide redirects). The only alternative I have tried was to alter GoTrue to send the tokens to my server route instead of redirecting to the client. This is why I have had to do what I showed above.
When working with Remix, I went so far as to handle extracting the session from the URL directly without loading React etc.
https://github.com/jensen/supabooked/blob/main/src/routes/authenticated.tsx

How do i call inner nextjs api with session? session object in middleware returns null.

Very strange. This should only happen if you are not signed in.
If you make your middleware something like this:
import { createMiddlewareSupabaseClient } from "@supabase/auth-helpers-nextjs";
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";

export async function middleware(req: NextRequest) {
  const res = NextResponse.next();
  const supabase = createMiddlewareSupabaseClient({ req, res });

  const {
    data: { session },
  } = await supabase.auth.getSession();

  console.log({ session });

  return res;
}

export const config = {
  matcher: ["/api/hello"],
};

And call one of the Supabase auth methods client-side, for example:
await supabase.auth.signInWithPassword({
      email<EMAIL_ADDRESS>      password: 'password'
    });

Do you still get a null session when navigating to your API route: /api/hello?

I forgot to mention that I'm trying to access /api/hello from server side component using fetch API. In this case session returns null in middleware. How do i work with auth in this case?
Navigating to /api/hello works fine.

Wonderful docs @thorwebdev - especially going beyond and adding the data fetch + real-time updates pattern!

Having a trouble implementing it without redirect — i.e with phone based sign up. Page needs to be hard refreshed before user is authenticated. I set cookies manually and check them in middleware — it works for the server, but Supabase server client doesn't seem to catch it.
Middleware:
const supabase = createMiddlewareSupabaseClient({ req, res });

const {
  data: { session }
} = await supabase.auth.getSession();

let currentSession = session;

const refreshToken = req.cookies.get('my-refresh-token')?.value
const accessToken = req.cookies.get('my-access-token')?.value

if (refreshToken && accessToken && refreshToken !== "" && accessToken !== "") {
  const { data, error } = await supabase.auth.setSession({ access_token: accessToken, refresh_token: refreshToken })
  if (error) {
    res.cookies.delete('my-refresh-token')
    res.cookies.delete('my-access-token')
  } else {
    if (data.session?.user && data.session?.access_token && data.session?.refresh_token) {
      currentSession = data.session
    }
  }
}

And the page with the workaround
 const supabase = createServerComponentSupabaseClient<Database>({
    headers,
    cookies
  });
  let { data: { user } } = await supabase.auth.getUser();
  let { data: { session } } = await supabase.auth.getSession();

  if (!user) {
    const cookies_ = cookies();
    const refreshToken = cookies_.get('my-refresh-token')?.value
    const accessToken = cookies_.get('my-access-token')?.value
    if (refreshToken && accessToken) {
      const { data, error } = await supabase.auth.setSession({ access_token: accessToken, refresh_token: refreshToken })
      if (error) {
        redirect('/')
      } else {
        session = data.session
        let { data: { user: user_ } } = await supabase.auth.getUser();
        user = user_
      }
    } else {
      redirect('/')
    }
  }

Having a trouble implementing it without redirect — i.e with phone based sign up. Page needs to be hard refreshed before user is authenticated. I set cookies manually and check them in middleware — it works for the server, but Supabase server client doesn't seem to catch it.
Middleware:
const supabase = createMiddlewareSupabaseClient({ req, res });

const {
  data: { session }
} = await supabase.auth.getSession();

let currentSession = session;

const refreshToken = req.cookies.get('my-refresh-token')?.value
const accessToken = req.cookies.get('my-access-token')?.value

if (refreshToken && accessToken && refreshToken !== "" && accessToken !== "") {
  const { data, error } = await supabase.auth.setSession({ access_token: accessToken, refresh_token: refreshToken })
  if (error) {
    res.cookies.delete('my-refresh-token')
    res.cookies.delete('my-access-token')
  } else {
    if (data.session?.user && data.session?.access_token && data.session?.refresh_token) {
      currentSession = data.session
    }
  }
}

And the page with the workaround:
 const supabase = createServerComponentSupabaseClient<Database>({
    headers,
    cookies
  });
  let { data: { user } } = await supabase.auth.getUser();
  let { data: { session } } = await supabase.auth.getSession();

  // this works
  if (!user) {
    const cookies_ = cookies();
    const refreshToken = cookies_.get('my-refresh-token')?.value
    const accessToken = cookies_.get('my-access-token')?.value
    if (refreshToken && accessToken) {
      const { data, error } = await supabase.auth.setSession({ access_token: accessToken, refresh_token: refreshToken })
      if (error) {
        redirect('/')
      } else {
        session = data.session
        let { data: { user: user_ } } = await supabase.auth.getUser();
        user = user_
      }
    } else {
      redirect('/')
    }
  }

Not sure what I'm doing wrong, but session that was set in the middleware isn't visible on the client if the page wasn't refreshed. I have to duplicate the logic in the component.
@thorwebdev maybe you some ideas? 🥹

I have a similar issue relating to middleware rather than the server.
When following the official docs for auth helpers on server components/app directory, the supabase server client immediately updates based on the session cookies and functions appropriately.
But the middleware is out of sync with auth and requires the page to be refreshed before correctly identifying the current session.
As the cookies are correctly being updated, I believe this to be a nextjs issue and not a supabase issue.

It's not really an "issue" on either side unfortunately - a design decision on the supabase side makes it impossible to detect the authenticated state prior to the client side page load.  The server never sees the hash params, so it has no ability to handle the authentication.  I took a stab at handling this here: https://usebasejump.com/blog/supabase-oauth-with-nextjs-middleware

@tiniscule interesting, now I understand the issue better. Thanks for sharing!

It's not really an "issue" on either side unfortunately - a design decision on the supabase side makes it impossible to detect the authenticated state prior to the client side page load. The server never sees the hash params, so it has no ability to handle the authentication. I took a stab at explaining and showing a workaround here: https://usebasejump.com/blog/supabase-oauth-with-nextjs-middleware

I thought this was only true for Oauth (redirect) based methods?
I'm using signInWithPassword() and still unable to utilize middleware without a refresh while using the auth helpers server components/app implementation.

Yes - it happens on the first load after an auth. The session doesn't get hydrated until the client interacts with it once - then a reload will show you it in the middleware. But the first middleware hit after authentication always returns a null session for me.

Not sure if this helps, but the way that I handle this is with an /authenticated route. https://github.com/jensen/supabase-nextjs/blob/main/app/(new)/authenticated/page.tsx
All it does is wait patiently for that session to be set. https://github.com/jensen/supabase-nextjs/blob/main/components/auth/check.tsx
I can tell the redirect to go to the /authenticated route using the supabase api. https://github.com/jensen/supabase-nextjs/blob/9cec28b5c48c16be7fd8487c586eadc90bfef401/components/auth/buttons/discord.tsx#L15

Thans. This works for SignIn, but not for SignUp if there is no email verification :/

It's not really an "issue" on either side unfortunately - a design decision on the supabase side makes it impossible to detect the authenticated state prior to the client side page load. The server never sees the hash params, so it has no ability to handle the authentication. I took a stab at explaining and showing a workaround here: https://usebasejump.com/blog/supabase-oauth-with-nextjs-middleware

Thanks. This works for SignIn, but not for SignUp if there is no email verification. Any solution for that?

Yes - it happens on the first load after an auth. The session doesn't get hydrated until the client interacts with it once - then a reload will show you it in the middleware. But the first middleware hit after authentication always returns a null session for me.

Not sure if this helps, but the way that I handle this is with an /authenticated route. https://github.com/jensen/supabase-nextjs/blob/main/app/(new)/authenticated/page.tsx
All it does is wait patiently for that session to be set. https://github.com/jensen/supabase-nextjs/blob/main/components/auth/check.tsx
I can tell the redirect to go to the /authenticated route using the supabase api. https://github.com/jensen/supabase-nextjs/blob/9cec28b5c48c16be7fd8487c586eadc90bfef401/components/auth/buttons/discord.tsx#L15

I have followed @jensen's approach but using createBrowserClient instead which is taken from the NextJS Server Components example but unfortunately, the session still returns null using OAuth.
Still investigating why this might be but thought I would leave my experience here in case anyone else is trying the same approach.

@csalmeida for me I only had issues accidentally using both the supabasejs package and the auth helpers at the same time without noticing. Removing the main supabase package and making sure to only use auth helpers, everything worked perfectly fine.

I'm getting this error when using the createServerComponentSupabaseClient.
Error: The "host" request header is not available
Did anyone else run into this and have a workaround?


Two slightly different process for Deq

Hi Shaojie,
I found that there were two slightly different forward-backward process for Deq. One was in Chapter 4: Deep Equilibrium.
class DEQFixedPoint(nn.Module):
    def __init__(self, f, solver, **kwargs):
        super().__init__()
        self.f = f
        self.solver = solver
        self.kwargs = kwargs

    def forward(self, x):
        # compute forward pass and re-engage autograd tape
        with torch.no_grad():
            z, self.forward_res = self.solver(lambda z : self.f(z, x), torch.zeros_like(x), **self.kwargs)
        z = self.f(z,x)

        # set up Jacobian vector product (without additional forward calls)
        z0 = z.clone().detach().requires_grad_()
        f0 = self.f(z0,x)
        def backward_hook(grad):
            g, self.backward_res = self.solver(lambda y : autograd.grad(f0, z0, y, retain_graph=True)[0] + grad,
                                               grad, **self.kwargs)
            return g

        z.register_hook(backward_hook)
        return z

And, the second one was in this repo. https://github.com/locuslab/deq/blob/c1616441dd8343a05debfcf0b7984b9b94d9b39a/DEQ-Sequence/models/deq_transformer.py#L355-L380
I tried torch.autograd.gradcheck on both method using the exact same process from Chapter 4 on colab.
gradcheck(deq, torch.randn(1,2,3,3).cuda().double().requires_grad_(), check_undefined_grad=False)
Interestingly, only the method 1 works properly. The second method breaks my experiment session.
Here is my experiment code https://colab.research.google.com/drive/19vGpV16nbF5HRRKlFGScO-N1Js3NC4hj#scrollTo=kg2UmSW1x1R3
I also tried it on my workstation. I found that method 2 slowly ate all GPU memory and eventually return this message SystemError: <built-in method run_backward of torch._C._EngineBase object at 0x7f65d099e770> returned NULL without setting an error.
I think I triggered an infinite loop in backward solver although I already called torch.cuda.synchronize() in backward_hook function.
In this repo, I do not find similar code related to gradient checking. Moreover, method 2 is used in your Transformer-XL examples. I wander whether this means the memory hunger issue rarely happens in practical cases, like training a transformer.
Thanks :-)
My experiment environment:
workstation:

python: 3.8
pytorch: 1.9
cuda: 11.1
GPU: Nvidia3090

Google colab:
default environment with GPU.

Hi @SamChen ,
Thanks for the question. The gradcheck fails because gradcheck works by backpropagating through the same computation graph multiple times (e.g., by adding eps to each entry of the vector output, and then backprop); whereas the self.hook.remove() already removed the hook upon the first backward call. Therefore, the code is correct for DEQ-Transformer training (where each iteration has exactly ONE backward pass through the DEQ), but is incorrect for repetitive backward passes (which is what gradcheck does).
The memory leak, I believe, is a pytorch-related issue. I'm not entirely sure about the source of this problem but pytorch 1.6 and 1.7 should both work well (i.e., no memory leak). If you encounter the SystemError and do not want to downgrade pytorch, then you can also use the tutorial implementation--- basically replacing the current L372-380 with:
z1s_copy = z1s.clone().detach().requires_grad_()
new_z1s_copy = self.func(z1s_copy , *func_args)      # Spend one more NFE in training forward
def backward_hook(grad):
    new_grad = self.b_solver(lambda y: autograd.grad(new_z1s_copy , z1s_copy , y, retain_graph=True)[0] + grad, \
                                  torch.zeros_like(grad), threshold=b_thres)['result']
    return new_grad
new_z1s.register_hook(backward_hook)

Of course, this means you have to spend one more NFE in the forward pass of training, which means slightly more memory and computation (which is what the current implementation hoped to avoid). But this should help avoid the memory leak.
Let me know if this helps!

Thanks for the clear explanation. :-)
Your words about gradckeck explains why I saw it calls the DNN function over and over.  And, of course, it is not related to the infinite loop https://github.com/locuslab/deq/blob/c1616441dd8343a05debfcf0b7984b9b94d9b39a/DEQ-Sequence/models/deq_transformer.py#L374


release: v1.0.0a5

Signed-off-by: Jiri Kuncar<EMAIL_ADDRESS>

Coverage remained the same at 96.931% when pulling bc8e9cbfc836cf90674f7356e36478942414fe70 on jirikuncar:release-v1.0.0a5 into ce2cab964ac7ea7e2abc317c81d64c15b932d218 on inveniosoftware:master.


pybullet blocks with fetch failing on master

to reproduce: python predicators/main.py --env pybullet_blocks --approach oracle --seed 0

bisecting shows that this was broken by "set the joint state at the end of IK" (#1259)

specifically, the issue is the joint setting in create_move_end_effector_to_pose_option

the failures look like this
https://user-images.githubusercontent.com/2816502/201488710-3485c456-e2ca-45d9-a289-76503c94f323.mp4


Updated hello-world exercise

The problem specification has been updated to drop the optional name
argument. This resolves #34.

Please note that this is my first contribution to exercism, and I'm a noob with Scheme. I might have missed something very trivial ;)

Thanks for this. I’m not sure it’s the direction we want to go in, as I fundamentally changes the problem. If you want to implement Jason’s suggestion from #34. That would be great!

The change in behaviour is not my idea, but has been discussed "upstream", see https://github.com/exercism/problem-specifications/issues/290 and https://github.com/exercism/problem-specifications/issues/520 The main problem was that "Hello, World" was meant as an introductionary example, for which the variadic arguments are not really suitable in a number of languages. A new exercise has been added as a subsitute for the variadic case: https://github.com/exercism/problem-specifications/issues/548 I could try to add this to this PR

Circling back on this one, based on conversations had upstream, it looks like we can probably merge this, and implement the two-fer exercise for this track

Hmm. I guess this looks good to me then.


ValueError: Proxy dictionary is missing required fields.

from scrapegraphai.utils.proxy_rotation import search_proxy_servers
search_proxy_servers()
graph_config = {
"llm": {
"model": "gpt-4o",
},
"verbose": True,
"max_results": 1,
# "search_engine": "bing",
"headless": False,
"loader_kwargs": {
"proxy": {
"server": "here i put the server",
}
}
}
search_graph = SearchGraph(
prompt=PROMPTS.get("propmt_vvs")["prompt"].format(**data),
config=graph_config,
schema=model,
)
ValueError: Proxy dictionary is missing required fields.
version 1.31.
The thing is that I cannot manually specify the proxy. it says I am missing fields, but I have all the ones in the documentation

Hey, same issue. Is this resolved for you ?
Dont know what am I missing

@manu2022 and @obscuredotsh tried addressing your issue, but it seems that you guys have missed to add "username" and "password" in the proxy.
like
"proxy":{ "server": "server name", "username": "user name", "password": "password" }
Other than this if there is any issue, I request @VinciGit00 to provide me with some context about this issue and I will work on it.


[QoI] Add fixit for missing 'else' in guard statement

I always forget to type else here.
test.swift:2:19: error: expected 'else' after 'guard' condition
  guard let x = x {
                  ^
                  else

@swift-ci Please smoke test


Optimize unit test

reduce time to run virtualization connector util test from ~2 mins to ~2 secs.
Currently the unit test seems to wait for a timeout from openstack to continue

@sudhirappaji please merge once you review

@arvindn05 , I see needs to update the branch. will merge as soon as this is done.


How to split label (header name) of px-data-table-column

Hi,
I need to split the header name of a column in two rows because it is to long to show as a column header, i tried </br> but it is not working and showing </br> along with the header name.
Code example: <px-data-table-column type="string" name="strone" label="Strategic ERP </br> The Rule Lives On" ></px-data-table-column>
Please suggest a solution for this.
Thank You,
Rajiv

The tag is <br/>, but you can't pass HTML through a string in that way, it will always be interpreted literally by our code. In v1.12.7 I've added wrapping on column headers, but we would still probably advise against long column headers that could cause other display issues.

Hi Randy,
Thanks for your quick response. Can you please paste here a code example to wrap the header text.
Thank You,
Rajiv K

No code required from your side. The header will wrap if the name/label is longer than the space available.

@randyaskin is there any possibilities to align column headers. By default headers will be left aligned, how can i align it center?
I have one more question:
I know "max-column-character-width" attribute will be used set column max length. But how can i set column width? If text exceed cell width, how can i show tooltip onhover?
Note :

Column headers are always left aligned, we don't expose a way for you to center them today. And we don't currently have a way to specify column width either - they are sized automatically.

Hi,
I am looking for a solution to give column names with space in px-data table ex-Company Name, Company Id etc.
Really appreciate if any suggestion for the same!
Thank You!
Richa


Update Pages “WhatKindOfWoodDoTermitesLikePage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
d80637f82658cc0e9c52d7be840e5699b0af6cac

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/655fe57ce13ff60008bb76be


disable selection without key-modifiers

https://github.com/VioletGiraffe/file-commander/issues/212
With separate selection we shouldn't change selection on mouse button without key-modifiers. (The same in Total Commander and Midnight Commander)
With this approach it's hard to reset a selection. That's why I've added select/deselect all.

Great fix, thanks!

Did you test how single-click resets selection? It's erratic.

It's because of the selection on mouse move. I've added one more fix to select on the drag. But it has side effect - selection stays after drag attempt.
There is a lot of workarounds, that can be solved with custom selection model.


This superseed #4452 with addition commit of using builtin min function

What is "latest golang"? Or rather, when was the min builtin introduced? is it already there in 1.22/1.23, or will this cause issues with slightly older golangs?

This was added in golang 1.21<EMAIL_ADDRESS>

I've updated the commit log of the min commit, and push these changes back to https://github.com/crc-org/crc/pull/4452 to keep everything in a single place.


The problem of changing to the Google Play fake store

Hi, in version 2.0 of the plugin several times I encountered the problem of changing to the Google Play fake store. At the same time, purchases are successfully completed. Can this be somehow ruled out?

the problem of changing to the Google Play fake store

Can you clarify what you mean by this?

Attackers somehow use a fake Google Play store to make a purchase in the program. The idea here is to add a Google Play store domain certificate verification to exclude the use of a fake Google Play store.

You should use server side validation to verify the purchase on the server.

Yes, I do. But it would be correct to exclude this problem at the stage of purchase.


Can't move application around on Windows

The menu bar at the top can no longer be selected and dragged

This is related to this issue https://github.com/electron/electron/issues/30788

Might be able to solve this by setting the window to resizeable but setting the min and max width/height


fix(controller): fix panic when last promotion failed

Fixes crash by adding additional nil checks
Resolves #2361

@hiddeco thanks for reviewing, rebased to make sure DCO passes (signature)


[Bug] When calling mmdet3d in non mmdetection3d, many models are not registered.

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (dev) or latest version (1.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
1.1x branch https://github.com/open-mmlab/mmdetection3d/tree/1.1
Environment
System environment:
sys.platform: linux
Python: 3.7.13 (default, Mar 29 2022, 02:18:16) [GCC 7.5.0]
CUDA available: True
numpy_random_seed: 510644439
GPU 0: Quadro P5000
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.2, V10.2.8
GCC: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
PyTorch: 1.8.0
PyTorch compiling details: PyTorch built with:

GCC 7.3

C++ Version: 201402

Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications

Intel(R) MKL-DNN v1.7.0 (Git Hash 7aed236906b1f7a05c0917e5257a1af05e9ff683)

OpenMP 201511 (a.k.a. OpenMP 4.5)

NNPACK is enabled

CPU capability usage: AVX2

CUDA Runtime 10.2

NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37

CuDNN 7.6.5

Magma 2.5.2

Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=10.2, CUDNN_VERSION=7.6.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.8.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,
TorchVision: 0.9.0
OpenCV: 4.6.0
MMEngine: 0.1.0

Runtime environment:
cudnn_benchmark: False
mp_cfg: {'mp_start_method': 'fork', 'opencv_num_threads': 0}
dist_cfg: {'backend': 'nccl'}
seed: None
Distributed launcher: none
Distributed training: False
GPU number: 1
Reproduces the problem - code sample
from mmdet3d.utils import register_all_modules
register_all_modules(init_default_scope=False)

Reproduces the problem - command or script
from mmdet3d.utils import register_all_modules
register_all_modules(init_default_scope=False)

Reproduces the problem - error message
12/29/2022 17:51:58 - INFO - dair_v2x_for_detection -   VIC-Sync test_A dataset, overall 851 frames
12/29/2022 17:51:58 - INFO - main -   loading evaluator
12/29/2022 17:51:58 - INFO - main -   loading model
0%|                                                   | 0/851 [00:00<?, ?it/s]12/29/2022 17:52:17 - INFO - mmdet3d_anymodel_lidar_early -   building model
12/29/2022 17:52:17 - WARNING - trimesh -   No FCL -- collision checking will not work
/media/wangshuang/sdb/3d_new/mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:93: UserWarning: dir_offset and dir_limit_offset will be depressed and be incorporated into box coder in the future
'dir_offset and dir_limit_offset will be depressed and be '
local loads checkpoint from path: ../configs/vic3d/early-fusion-pointcloud/pointpillars/earlyfusion_veh_pointpillars.pth
0%|                                                   | 0/851 [00:22<?, ?it/s]
Traceback (most recent call last):
File "../v2x/models/detection_models/mmdet3d_anymodel_lidar_early.py", line 197, in forward
pred_dict, id = self.pred(data, trans, pred_filter)
File "../v2x/models/detection_models/mmdet3d_anymodel_lidar_early.py", line 144, in pred
raise Exception
Exception
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "eval.py", line 120, in
eval_vic(args, dataset, model, evaluator)
File "eval.py", line 40, in eval_vic
None if not hasattr(dataset, "prev_inf_frame") else dataset.prev_inf_frame,
File "/home/wangshuang/anaconda3/envs/mmlab/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "../v2x/models/detection_models/mmdet3d_anymodel_lidar_early.py", line 107, in forward
pred, id_veh = self.model(vic_frame.vehicle_frame(), None, filt)
File "/home/wangshuang/anaconda3/envs/mmlab/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "../v2x/models/detection_models/mmdet3d_anymodel_lidar_early.py", line 208, in forward
pred_dict, id = self.pred(data, trans, pred_filter)
File "../v2x/models/detection_models/mmdet3d_anymodel_lidar_early.py", line 147, in pred
result, _ = inference_detector(self.model, tmp)
File "../v2x/models/model_utils/mmdet3d_utils.py", line 139, in inference_detector
test_pipeline = Compose(test_pipeline)
File "/home/wangshuang/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmengine/dataset/base_dataset.py", line 36, in init
transform = TRANSFORMS.build(transform)
File "/home/wangshuang/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmengine/registry/registry.py", line 421, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/home/wangshuang/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmengine/registry/build_functions.py", line 101, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry. '
KeyError: 'LoadPointsFromFile is not in the transform registry. Please check whether the value of LoadPointsFromFile is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/tutorials/config.html#import-custom-python-modules'
Additional information
The registration model code has been added, but you still need to change the registry one by one.

It seems you did not directly use the official mmdet3d repo. Could you please provide a link to your original used repo (maybe it required the old version of mmdet3d)?

https://github.com/open-mmlab/mmdetection3d/blob/v0.17.1/mmdet3d/apis/inference.py

The error code is in the reasoning part, when the model configuration is initialized. The new version is on line 66.
https://github.com/open-mmlab/mmdetection3d/blob/v1.1.0rc2/mmdet3d/apis/inference.py

The part of the code call I run is in this link.
https://github.com/AIR-THU/DAIR-V2X/blob/main/v2x/models/detection_models/mmdet3d_anymodel_lidar_early.py

I found that the 1.1.0rc2 code built in this way can be tested successfully, but the model.test encapsulates a lot of things, and I can't get the return value I want.How can I be compatible with older versions of inference code inference?
`
register_all_modules(init_default_scope=False)
config.load_from = checkpoint
model = RUNNERS.build(config)
model.test()
model.to(device)
model.eval()
return model
`

I found that the 1.1.0rc2 code built in this way can be tested successfully, but the model.test encapsulates a lot of things, and I can't get the return value I want.How can I be compatible with older versions of inference code inference?
register_all_modules(init_default_scope=False)     config.load_from = checkpoint model = RUNNERS.build(config)   model.test() #model.to(device) #model.eval() return model

I found that the 1.1.0rc2 code built in this way can be tested successfully, but the model.test encapsulates a lot of things, and I can't get the return value I want.How can I be compatible with older versions of inference code inference?
register_all_modules(init_default_scope=False)
config.load_from = checkpoint
model = RUNNERS.build(config)
model.test()
#model.to(device)
#model.eval()
return model

I need the model to give me this value.
result, _ = inference_detector(model, tmp)

I added the registration code and changed some code in mmdet3d. Now it can be executed normally.