Adding send raw tx

Hello, I'm currently working in a chain signatures library to create transaction payloads for multiple Blockchains (including Near itself).
As part of the omni library, I included a way to build a signed payload for Near transactions that can be propagated.

Source: https://github.com/EdsonAlcala/omni-transaction-rs/blob/master/src/near/near_transaction.rs#L37
In the image above, if you notice, the return type of build_with_signature is a Vec< u8 >. Then if I want to send it to a Near network using near-jsonrpc-client-rs, it won't be possible (or perhaps I'm missing something). But I saw that send_tx only accepts a SignedTransaction. However my transaction payload is already signed.
So I thought about adding a send_raw_tx, that only encodes to base 64 and send the payload to the network.

Source: https://github.com/near/near-jsonrpc-client-rs/commit/613a0b2fcb7667da4ab8a5eceb84dd6cc2e4386a
Notice the encode_signed_transaction function:

You can see how I used it here https://github.com/EdsonAlcala/omni-transaction-rs/blob/master/tests/near_integration_test.rs#L91.
So my goal with this issue is:

To check if maybe I missed something and there is a better way to do it
If there is no way to do it right now, would my solution be appropriate and I can open a PR in this repository?

Thanks

@EdsonAlcala I would suggest to just use any API in this case:
https://github.com/near/near-jsonrpc-client-rs/blob/d7ceafd0fcc36d8170ba4c730f071fb7dcbee7b5/src/methods/any/mod.rs#L39-L49
I don’t see value in adding a dedicated method for raw-transactions specifically. I believe any should cover it well, so I will close this issue, but if you disagree, please, reopen it


[CH-5411] Add support for Attributes/AttributesType for push-to-start live activities

As per https://developer.apple.com/documentation/activitykit/starting-and-updating-live-activities-with-activitykit-push-notifications#Construct-the-payload-that-starts-a-Live-Activity

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
504

Relevant Lines:
504

💛  - Coveralls


Make quick open optionally open file in real tab instead of preview

VSCode Version: 1.15.0
OS Version: Win 10

Sometimes it would be nice to be able to open a file in a real tab while having preview enabled. So quick open would still open in preview on enter, but on e.g. shift+enter or ctrl+enter it would open in a real tab.
How it could work:

ctrl+p, type filename
shift+enter to open in real tab, not preview (just enter would still open in preview)

/duplicate https://github.com/Microsoft/vscode/issues/30530


test(Tile): updates test structure into categories

Description
This PR refactors the Tile tests

breaks tests into categories ( for example Artwork, Metadata, ProgressBar)

The request on the ticket was to update tests so Tile wouldn't fail on a race condition in Marquee.
I've run the test multiple times and so far no failures.
References
LUI-904
Testing
run jest test specifically for Tile yarn run test Tile
run all jest tests yarn run test
run repeatedly, tests should run as expected
Automation
Checklist

[ ] all commented code has been removed
[ ] any new console issues have been resolved
[ ] code linter and formatter has been run
[ ] test coverage meets repo requirements
[ ] PR name matches the expected semantic-commit syntax

:tada: This PR is included in version @lightningjs/ui-components-v2.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix: detect when sort key added to primary key

Description of changes
We aren't currently detecting and warning users that a GraphQL schema change which adds a sort key to a primary key is a destructive update, or even performing the destructive update.
This adds the sanity check warning, and should go with a amplify-cli PR to actually perform the destructive update when --allow-destructive-graphql-schema-updates is provided

Issue #, if available
N/A

Description of how you validated changes
Debugged to see what a sort key addition looks like, ran amplify-dev against a project with a sort key change and without the change
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@308bc2a). Click here to learn what that means.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #714   +/-   ##
=======================================
  Coverage        ?   63.14%
=======================================
  Files           ?      278
  Lines           ?    18128
  Branches        ?     4377
=======================================
  Hits            ?    11447
  Misses          ?     6094
  Partials        ?      587

Impacted Files
Coverage Δ

.../graphql-transformer-core/src/util/sanity-check.ts
16.38% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Could you add some unit tests around this case as well?

We don't have any testing around this right now, I'll set up some E2E testing since this code is dependent on diffing between an updated project and its cloud backend


Not an issue but does this run once or does it auto run on IP change?

Just wondering if this script needs to be manually added to crontab or if it automatically sets itself up to run.

The former, it doesn't do anything fancy at all and should be run via cron or similar.


Problem: Project Problem: Parent POM file is not accessible. Project might be improperly setup., resolvable by: org.netbeans.modules.maven.problems.ProblemReporterImpl$MavenProblemResolver@475e5a82 unresolved

The parent POM with id org.sonatype.oss:oss-parent:9 was not found in sources or local repository. Please check that  tag is present and correct, the version of parent POM in sources matches the version defined.
If parent is only available through a remote repository, please check that the repository hosting it is defined in the current POM.

Hi there,
According to Maven that POM exists in the central repo: http://search.maven.org/#artifactdetails|org.sonatype.oss|oss-parent|9|pom
Is this still happening? Does it happen if you build via the command line as well, or just in Netbeans?
Cheers, James

No response, closing.


Want to add DefaultDeleteAt value for unique index

Playground
https://github.com/go-gorm/playground/pull/46
Describe the feature
I hope the framework can set a default value for delete_at and set a non-null value.
Although I can use like this, but query process will work wrong. So in v1 I wrote a hook: https://github.com/Aoi-hosizora/ahlib-web/blob/master/xgorm/hook.go#L65
DeletedAt gorm.DeletedAt `gorm:"default:'1999-01-01'"`

Motivation
I want to make a username field unique(exclude deleted items), so I have to use a composite indexes. But unique index don't support null value, so default value of delete_at must not be null.
type User struct {
	Id        uint64 `gorm:"primarykey"`
	Name      string `gorm:"type:varchar(255);uniqueIndex:uk_name_delete_at"`
	DeletedAt gorm.DeletedAt `gorm:"uniqueIndex:uk_name_delete_at;default:'1999-01-01'"`
	gorm.Model
}

If you are using postgres, you can check out how to use where with a unique index. http://v2.gorm.io/docs/indexes.html#Index-Tag
If you are using mysql, checkout Upsert http://v2.gorm.io/docs/create.html#Upsert-On-Conflict
Set default value for deleted at field doesn't seem right.

@jinzhu But how could I insert a record with a field (unique) value which is duplicated and has deleted? I only know this way (composite unique index).

Use Upsert when duplicate set deleted_at to NULL

@jinzhu Okay, Thx. Although my requirement is different with Upsert.

@jinzhu Okay, Thx. Although my requirement is different with Upsert.

I think too. I want make delete_at to like 1987-06-05 04-03-02 used as other system, but no config can change this.

@jinzhu Okay, Thx. Although my requirement is different with Upsert.

I think too. I want make delete_at to like 1987-06-05 04-03-02 used as other system, but no config can change this.

Just checkout how the soft deleted implemented, and wrap your own one.


Add drawtools support and improve portal list display.

I rewrote this code a long time ago but Jon had stopped maintaining IITC by then, so I closed out the pull requests.
If a polygon is in the display window, this code will limit the code under the portals list to just the portals in the polygon.  It also makes several improvements, including a .CSV export, of the data in question.  Originally I had submitted this as two pull requests in case the export thing was an issue, but honestly, it adds no additional load to the servers and at this point, it beats the alternative grey stuff that is floating around.  There are completely legitimate reasons for it.
If you have a major issue with it, you can just eliminate the exportCSV function and the call to it, it's obvious.

@dingram any thoughts?


Bug: BaseHandler.php error

PHP Version
8.0, 8.1
CodeIgniter4 Version
CodeIgniter 4.2.4
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
fpm-fcgi
Database
MySQL 5.7
What happened?
When trying to handle mysql session
An error occurred in BaseHandler.php file
ini_set function  Error correction is required.
Steps to Reproduce
App.php
public $sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler';
public $sessionSavePath = 'ci_sessions';
Expected Output
Fatal error
Uncaught ErrorException: ini_set(): Session ini settings cannot be changed when a session is active in /mnt/d/project/vendor/codeigniter4/framework/system/Session/Handlers/BaseHandler.php:162
Stack trace:
Anything else?
No response

Give your code controller

Give your code controller

Thanks for your reply.
The file session handler works, but the session database handling throws an error.
$sessionData = array(  'emp_id' => $row['emp_id'] ); $this->Session->set($sessionData );

@kseok2307
Share your code that is responsible to initialize the $this->Session.
And if possible share your whole controller code.

I got an error trying to handle the session database.
File handling works well in my code.

[app\Libraries\AuthLibrary.php]
=> It's a library file that I made.

[app\Controllers\LoginController.php]

[app\Services\AuthService.php]
=> It's a library file that I made.

[vendor\codeigniter4\framework\system\Session\BaseHandler.php]
=> error

@kseok2307 Please don't use screenshot for your code. We cannot copy & paste it.

Can you show the Stack trace?

Uncaught ErrorException: ini_set(): Session ini settings cannot be changed when a session is active in /mnt/d/project/vendor/codeigniter4/framework/system/Session/Handlers/BaseHandler.php:162
Stack trace:

@kseok2307 Please don't use screenshot for your code. We cannot copy & paste it.
I'm really sorry.
I made a mistake because I am a beginner in writing.
The source code is in the company, so screenshots are everything.

Can you show the Stack trace?

Uncaught ErrorException: ini_set(): Session ini settings cannot be changed when a session is active in /mnt/d/project/vendor/codeigniter4/framework/system/Session/Handlers/BaseHandler.php:162
Stack trace:

This is how it was solved.
@int_set('session.save_path',$this->savePath);

Can you show the Stack trace?

Uncaught ErrorException: ini_set(): Session ini settings cannot be changed when a session is active in /mnt/d/project/vendor/codeigniter4/framework/system/Session/Handlers/BaseHandler.php:162
Stack trace:

This is how it was solved.
@int_set('session.save_path',$this->savePath);

Thank you so much for your concern.


2/chat interface

Basic chat interface mostly for POC (lacking interaction)
Basic VueJS setup, there are more libraries need to be integrated

Do we want to commit to Webpack? I'm not very familiar with it. I know its powerful but it requires a lot of configuration. I defer to F.E. experts for their opinion.

@arekmano  Webpack is generic when you install VueJS. I do not think that using other build tools is a good idea.

Here is other build tool work with VueJS
https://github.com/sohelamin/vue-example

@arekmano this webpack config was mostly generated by vue-cli which manages everything you would need. Unless we need to change something drastically, we shouldn't have to ever change these webpack config files. I agree that Webpack is definitely unwieldy and config-heavy, but unfortunately it's the future of everything related to front-end development. On the bright side, everything reasonable that we would want to do is already existing as an npm script.

Since this is all static content,it should probably be in a separate directory with something like nginx like web_client_proxy or something. At the moment there's a Dockerfile for a web backend in this directory also. Let's sort out directory structure / dockerization of front-end in a future issue (like #4 for example).


Timeline - Disable mousewheel

Is it possible to disable mousewheel functionality without disabling zoom in and zoom out?

There is no built-in support for that.


WIP: Feature upgrade aws sdk

Issue https://github.com/elastic/elasticsearch-cloud-aws/issues/301

Hey! As stated in the README, this project has moved.
It was up to version 1.x which is not maintained anymore.
But thanks for the effort of providing a fix.

Hi, thanks for the response but I need the solution anyways, since I'm using elasticsearch 1.7.


mtproxy support

pls add
mtproxy support
and options for binding the selected proxy to a specific account

pls add
mtproxy support
and options for binding the selected proxy to a specific account

Thx for suggestion, I'll add it soon

here's a look at the functions
https://github.com/redevil1/telegram-member-adder
https://github.com/saifalisew1508/TelegramAdderTool
some of them can be added
the most important random timeouts at work and circumvention of limits

here's a look at the functions
https://github.com/redevil1/telegram-member-adder
https://github.com/saifalisew1508/TelegramAdderTool
some of them can be added
the most important random timeouts at work and circumvention of limits

Random timeouts is already added

mtproxy support  // thx

for old version - secret must be a hex-string representing 16 bytes (may be fixed later / wait


Thumbnail is not hidden after a short swipe up gesture to recent apps

Issue
When the user swipes up the app to recent apps with a very short gesture, the thumbnail shows correctly.
However when the app is resumed, the thumbnail is still showing.
Expected
When the user swipes up the app to recent apps with a very short gesture, the thumbnail shows correctly.
However when the app is resumed, the thumbnail is hidden.
Steps to reproduce

Get a device or emulator with that supports gestures
Make sure gestures are enabled (no navigation bar)
Build and run the sample on this device
Swipe up with a very short gesture and let go (see video)

Tested on One Plus Nord - Android 11 (API 30)
https://user-images.githubusercontent.com/18277915/131291152-bde2b52f-3d66-46d7-9d16-9325cd8bcfa9.mp4

It's a known issue, thanks for reporting @Tuubz

@rojaslcc it's still under investigation, we don't have an official solution yet to apply for the fix.


About Magnet‘s performance

Why is the performance so poor? Is there a bug, or is the model itself just this poor in performance?

Do you mean sound quality or speed? If sound quality, yes I was expecting better too.

You can try changing the span arrangement from 'nonoverlap' to 'stride1' - should make audio quality better. This is not the default since it was introduced only recently.
The models are sensitive to the generation parameters - you can try playing with these. Especially max_cfg_coef, decoding steps and temperature.
There is some degradation in quality in the released checkpoints (trained on 16K hours of data) compared to the models reported in our paper (trained on 20K hours of data). In https://pages.cs.huji.ac.il/adiyoss-lab/MAGNeT/ you can hear samples from the original models.
In general, the quality extremely depends on the datasets, and we encourage the community to experiment with training MAGNeT on new datasets.
It is in our plan for the near future to release also the Hybrid-MAGNeT model and the code for model rescoring (see our paper for explanations on both), which should make the results more stable.
Non-autoregressive transformers are still under-researched compared to autoregressive transformer decoders. We encourage the community to devise improvements for both the method and the open-sourced code.

Thanks @lonzi for the answer! Will try out these tips tomorrow.

thanks for the answer~ Although I tried several parameters, I still feel the performance is not as good as the original model.

Can you @lonzi kindly provide us your sampling parameters or add a note in the readme with recommended paramteres?
Thank you so much!

For Music:
span_arrangement: 'stride1'
use_sampling: true
top-p: 0.9
temperature: 3.0
max_cfg_coef: 10.0
min_cfg_coef: 1.0
decoding_iterations (for 10 secs): [20, 10, 10, 10]
decoding_iterations (for 30 secs): [60, 10, 10, 10]
See our paper for the ablation studies.
For Sound [audio-magnet models]:
span_arrangement: 'stride1'
use_sampling: true
top-p: 0.8
temperature: 3.5
max_cfg_coef: 20.0
min_cfg_coef: 1.0
decoding_iterations: [20, 10, 10, 10]


Document proxy auth data forwarding

Added in #1169
Which auth providers does it work for? How does it interact with proxy roles?
Ensure that it is supported in both the binary and http protocols.
Would probably be best if this was picked up by someone who with with Athenz.

@rdhabalia @merlimat @maskit since you guys might be more familiar with Athenz, I am wondering if anyone of you can help with task. or even commenting it about how it works :)


method to list identifiers

I would like to list either the exported identifiers, or all identifier for a package. Is this possible with the RF package or tool?

https://github.com/golang/go/issues/60831

Context: https://github.com/golang/go/issues/60831


ResourceLoader.load_interactive(key) - does not return resource from cache

3.2.4-beta6
Even if the resource has already been loaded earlier by
ResourceLoader.load_interactive(key)

and there is a link to it somewhere, then
ResourceLoader.load_interactive(key)

will not take the resource from the cache. It just returns NULL and shows an error - Cyclic reference.
Expected behavior - the resource will be taken from the cache

See comments in loader/files.gd
#Uncomment this to get cache to works

Project files zip:
loader.zip

@MadDogMayCry0 Please upload a minimal reproduction project to make this easier to troubleshoot.

@MadDogMayCry0 Please upload a minimal reproduction project to make this easier to troubleshoot.

It still seems to be the case in 3.4 stable.

Still happening in 3.5 RC 7 for me Recently started migrating my project to godot and came across this.
I do threaded resource loading with load_interactive before transitioning to a new scene.

I have however noted it never seem to happen if I wait about 20-25 seconds after the very first load.
After that I'm able to load it as often and quickly as I want.

Duplicate of https://github.com/godotengine/godot/issues/33809.


[WIP] REST endpoint support for resource specific metadata editing

This work enables editing of resource specific metadata editing in addition to core metadata using REST API.

@pkdash There is a pep8 error to be fixed. Let me know when this PR is ready for review.

@hyi This PR probably will be ready for review by tomorrow. Will let you know. Thanks.

@hyi This is now ready for review.

@pkdash I am done with code review and left some comments for your consideration.


Error with example

Hi, I'm trying to run your application but I have some problems.
I execute this command (taken from examples):
node sc-wrapper.js --u "https://streamingcommunity.codes" --m "rick and morty" --s "1" --e "3" --o "movie.mp4"
And I retrieve this error:
/home/user/Projects/streamingcommunity-wrapper/sc-wrapper.js:405
    const response = await fetch(url, {
                     ^

ReferenceError: fetch is not defined
    at handled_get (/home/andreacocci/Projects/streamingcommunity-wrapper/sc-wrapper.js:405:22)
    at debug_get (/home/andreacocci/Projects/streamingcommunity-wrapper/sc-wrapper.js:421:26)
    at search_movie (/home/andreacocci/Projects/streamingcommunity-wrapper/sc-wrapper.js:565:31)
    at main (/home/andreacocci/Projects/streamingcommunity-wrapper/sc-wrapper.js:47:24)
    at Object.<anonymous> (/home/andreacocci/Projects/streamingcommunity-wrapper/sc-wrapper.js:880:1)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
    at Module.load (node:internal/modules/cjs/loader:1074:32)
    at Function.Module._load (node:internal/modules/cjs/loader:909:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

My version of node is 16.20.0.
How can I solve? Thanks!

It's strange, can you give me some more info? I'll see when I get back home.

I cloned your repository, and I run the above command. Nothing else. Maybe I have a wrong node version?

Are you on linux? It could be the problem but I'm not sure because I didn't test on it.

Yes I'm on linux.

Alright, I'll try to see later.

No problem, have you a Telegram account?

node 16 doesn't provide fetch api, you should need at least node 18


Convert plain text links to real links automatically

Some sites send links in HTML formatted mail without marking them as such.
Example :
Hello,

Here is the link.

https://www.example.com/interesting.html

Gmail detects and converts them automatically to clickable  links.
It would be great if ProtonMail could provide similar function.

It's done.


Upgrade webpack to vitejs

Due to laravel 9.19 release and replacement of Webpack by Vitejs, is there any update for Laravel modules?
And if there is any temporary solution I will be very grateful to check it out. Thanks

Requesting to replace Webpack to Vite compiler #

+1

Well I know it, but laravel is migrating to vite and this is not a good idea to downgrading it

see https://github.com/nWidart/laravel-modules/issues/1413#issuecomment-1208029864 The way it works I'm not sure if it can be loaded by modules directly.

yeah, I'm not sure of the right course of action on this, personally, I don't use any front-end assets from modules. But if you do maybe sticking with webpack may be better.
I'm open to suggestions

example admin module with vite:
vite.config.js:

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

const domain = 'mydomain.test';
export default defineConfig({
    envDir: '../../',
    build: {
        manifest: true,
        emptyOutDir: true,
        assetsDir:'',
    },
    server: {
        https: {
            key: "../../.docker/nginx/certs/app.key",
            cert: "../../.docker/nginx/certs/app.crt",
        },
        host: domain,
        hmr: {
            host: domain,
        },
    },
    plugins: [
        laravel({
            publicDirectory: '../../public',
            buildDirectory: "static/admin",
            input: [
                'Resources/assets/css/app.css',
                'Resources/assets/js/app.js',
            ],
            refresh: [
                'Resources/views/**/*.php',
            ],
        }),
    ],
});

in AdminServiceProvider:
    public function boot(Router $router)
    {
        ...
        Vite::useBuildDirectory('static/admin');

    }

in view:
    {{
        Vite::withEntryPoints(['Resources/assets/css/app.css', 'Resources/assets/js/app.js'])
    }}

{{ Vite::asset('Resources/assets/images/logo.png') }}

Closed without any solution? 🤕


make 'find type' more discoverable

It doesn't seem to be listed in any menu.
The 'Find' menu seems like a logical place?

👍


Gradle 7.2 Version Catalog Plugins gives an IDE error "'val Project.libs: LibrariesForLibs' can't be called in this context by implicit receiver. Use the explicit one if necessary"

Expected Behavior

Plugin libraries defined in a Version Catalog file should be accessible in the plugins block with no issues
Current Behavior

Plugin libraries are accessible in the plugins block (and the buildscript builds fine), but a red squiggly line can be seen on the libs part in the IDE with the error:

(Text version:)
'val Project.libs: LibrariesForLibs' can't be called in this context by implicit receiver. Use the explicit one if necessary

This Google IssueTracker comment about the same issue points out that:

That error comes from the Kotlin plugin. I think Kotlin wants you to refer to libs more explicitly using syntax like<EMAIL_ADDRESS>
However, this syntax doesn't appear to work no matter what I've tried.
Using either version of the classes that the IDE suggests:

plugins {
<EMAIL_ADDRESS>    // OR
<EMAIL_ADDRESS>}

Gives another error:
Function invocation 'this@<kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers.ImplicitReceiver>(...)' expected

Function invocation 'this@<org.jetbrains.kotlin.resolve.scopes.receivers.ImplicitReceiver>(...)' expected

Context

Trying to update defined build plugins to use the new Version Catalogs API for easier version management
Steps to Reproduce

gradle/lib.versions.toml
[plugins]
buildProperties = "com.novoda.build-properties:0.4.1"

app/build.gradle.kts
plugins {
    alias(libs.plugins.buildProperties)
}

(GitHub project)
Your Environment

IDE
Android Studio Bumblebee | 2021.1.1 Canary 9
Build #AI-211.7628.21.2111.7653804, built on August 19, 2021
Runtime version: 11.0.10+0-b96-7249189 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true, documentation.show.toolbar=true
Non-Bundled Plugins: org.toml.lang (<IP_ADDRESS>56-211), org.jetbrains.kotlin (211-1.5.21-release-328-AS7442.40)
Build scan
URL: https://gradle.com/s/ostfhaxrfyjna

Issue is tracked in IDEA here, https://youtrack.jetbrains.com/issue/KTIJ-19369

Looks like an IDEA/AS bug per the comment above.

Duplicate of https://github.com/gradle/gradle/issues/22797


Polygon contains is not working

The contains(Vector2) method of Polygons doesn't work correctly

Fixed with ray cast approach.


Running hp_search.py takes me 2 days and get the best eao=0.383. Can anyone get 0.41???

I use the config of "siamrpn_r50_l234_dwxcorr" and set batchsize to 28.  It takes me 3 days(almost 72 hours) to train with 2 2080ti ,and i just get the best eao=0.355 on epoch 18. I run hp_search.py with epoch13 and still can't achieve 0.41. Could anybody who achieve 0.41 tells me your hyperparameter and batchsize and num of gpus?
Here is the result after hp_search.py:
|                  Tracker Name                  | Accuracy | Robustness | Lost Number |  EAO  |
| checkpoint_e13_r255_pk-0.050_wi-0.300_lr-0.400 |  0.599   |   0.239    |    51.0     | 0.383 |
| checkpoint_e13_r255_pk-0.200_wi-0.350_lr-0.450 |  0.592   |   0.239    |    51.0     | 0.379 |
| checkpoint_e13_r255_pk-0.150_wi-0.350_lr-0.500 |  0.595   |   0.248    |    53.0     | 0.378 |
| checkpoint_e13_r255_pk-0.050_wi-0.350_lr-0.500 |  0.600   |   0.253    |    54.0     | 0.377 |
| checkpoint_e13_r255_pk-0.150_wi-0.300_lr-0.500 |  0.595   |   0.253    |    54.0     | 0.376 |
| checkpoint_e13_r255_pk-0.250_wi-0.350_lr-0.400 |  0.590   |   0.267    |    57.0     | 0.376 |
| checkpoint_e13_r255_pk-0.350_wi-0.300_lr-0.400 |  0.589   |   0.267    |    57.0     | 0.375 |
| checkpoint_e13_r255_pk-0.150_wi-0.250_lr-0.450 |  0.595   |   0.248    |    53.0     | 0.373 |
| checkpoint_e13_r255_pk-0.150_wi-0.250_lr-0.350 |  0.593   |   0.258    |    55.0     | 0.372 |
| checkpoint_e13_r255_pk-0.350_wi-0.400_lr-0.400 |  0.596   |   0.276    |    59.0     | 0.372 |
| checkpoint_e13_r255_pk-0.200_wi-0.350_lr-0.400 |  0.594   |   0.262    |    56.0     | 0.372 |
| checkpoint_e13_r255_pk-0.300_wi-0.350_lr-0.500 |  0.596   |   0.267    |    57.0     | 0.371 |
| checkpoint_e13_r255_pk-0.050_wi-0.300_lr-0.450 |  0.602   |   0.267    |    57.0     | 0.370 |
| checkpoint_e13_r255_pk-0.200_wi-0.400_lr-0.350 |  0.594   |   0.272    |    58.0     | 0.370 |
| checkpoint_e13_r255_pk-0.050_wi-0.350_lr-0.400 |  0.601   |   0.248    |    53.0     | 0.369 |
| checkpoint_e13_r255_pk-0.100_wi-0.300_lr-0.400 |  0.600   |   0.272    |    58.0     | 0.369 |
| checkpoint_e13_r255_pk-0.050_wi-0.250_lr-0.400 |  0.603   |   0.281    |    60.0     | 0.369 |
| checkpoint_e13_r255_pk-0.100_wi-0.350_lr-0.500 |  0.598   |   0.290    |    62.0     | 0.366 |
| checkpoint_e13_r255_pk-0.350_wi-0.350_lr-0.500 |  0.598   |   0.281    |    60.0     | 0.366 |
| checkpoint_e13_r255_pk-0.050_wi-0.300_lr-0.350 |  0.601   |   0.262    |    56.0     | 0.366 |

https://github.com/STVIR/pysot/issues/94


abstract api client

Not compiling, draft PR only. But it's little more work than anticipated

Closing this, has been replaced by several PRs.


getting 403 forbidden after cloning my own drupal on windows 10

Issue Type

Bug Report / Support Request
Feature Idea
Documentation Report

Your Environment

Your OS

macOS (version)
Windows (version)
Linux (version)

Full console output

Summary

There seems to be no data about what is going wrong, error messages, configuration changes, etc., so closing this ticket.


Both the pushState and replaceState methods are triggered!

Version
4.0.12
Reproduction link
stackblitz.com
Steps to reproduce
Click router-link to jump to the page
What is expected?
Only the pushState event is raised, not the replaceState event
What is actually happening?
Both pushState and replaceState events are raised

This is an implementation detail necessary to provide proper information like the navigation direction and other useful and widely requested features. Note replaceState() is the only way to modify the history state of the current entry

This is an implementation detail necessary to provide proper information like the navigation direction and other useful and widely requested features. Note replaceState() is the only way to modify the history state of the current entry (which is why it is called in this scenario in vue router)

This is normal in vue2 and will only trigger pushState() but not replaceState()


Custom collapse amount

As requested in #14, it'd be nice to be able to specify the collapse amount so it's not always 110% (e.g. showing a thin portion when "collapsed").

This would be amazing! Thank you!
As a quick note, I did try achieve something like this using CSS alone. But the sidebar becomes inactive when in a closed state, so even when a portion is visible, clicks will propagate through to the main template.
I haven't gone further that that initial test.

I might have to revert to using CSS transitions/animations until the ability to dynamically adjust animation states lands (https://github.com/angular/angular/issues/9668). 🤔

Will be in the upcoming v3 release.

Will be in the upcoming v3 release.

v3.0.0 has been released on NPM. Check out the changelog for more info.


[TASK] Multiselect should have indetermined value

Estimated story points: 3
Description

Acceptance criteria

time: 3h


bumping vendored code where applicable

updating vendored code as identified by dependabot
Signed-off-by: Brent Baude<EMAIL_ADDRESS>

LGTM


Bazel branch

- [ x] feature request

Desired functionality.
Can't we imagine (in a new branch) bazel build system with this cli config project?

There is a branch for experimenting with the usage of Bazel: https://github.com/angular/angular-cli/tree/bazel


A11y_Azure Data Studio extension 'Azure SQL Migration'_Assessment results and recommendations_ScreenReader: Narrator/NVDA is not announcing 'Choose your azure SQL target' label name when focus lands on Azure SQL managed instance/SQL server on AVM radio buttons

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
Github Tags:
#A11yMAS; #A11yTCS; #A11ySev2; #Benchmark; #SH-AzureSQLMigration-Win32-Jun2022; #DesktopApp; #Win32; #SQL Migration Control Plane; #WCAG2.1.1; #Keyboard;
Environment and OS details:
Azure Data Studio Version 1.37.0(User Setup)
Windows Version 21H2 (OS Build 22000.675)
Note:

This issue is observed for radio buttons and browse folder name fields in "Get Azure recommendation" dialog as well
This issue is observed for all form fields present in the app

Repro Steps:

Turn on Narrator/NVDA
Install Azure data studio app and install Azure SQL migration extension
Connect to SQL server, tab till respective server, right click and select manage
Tab till Azure SQL Migration in sitemap and press enter key
Tab till migrate to azure sql and press enter
Navigate to databases grid in "Databases for assessment" in step 1, select few databases and click on 'next' button
Navigate to Azure SQL managed instance/SQL server on AVM radio buttons in "Assessment results and recommendations" and verify screen reader is announcing corresponding 'Choose your azure SQL target' label name or not

Actual Result:
Narrator/NVDA is not announcing 'Choose your azure SQL target' label name when focus lands on Azure SQL managed instance/SQL server on AVM radio buttons
Expected Result:
Narrator/NVDA is not announcing 'Choose your azure SQL target' label name when focus lands on Azure SQL managed instance/SQL server on AVM radio buttons
Attachment:

@aasimkhan30
Verified the issue in below Environment:
Issue is Partially fixed could please Reactivate the bug
Version: 1.41.1 (user setup)

Adding a demo extension as an example of this bug:
Please install this extension using:

Once installed:

Press F1
Type Bug Dialog 19844 and select the first option

This should open a dialog with the example of the bug:

adsextensionzip.zip

@VijayaBharathyA This bug seems to be related to a narrator issue and not/no longer an ADS or SQL-Migration extension issue. I am closing this bug.  Please open a 3rd party issue with narrator using the sample above.

#closed;
Verified issue in Below environment :
Version: 1.44.0-insider (user setup)
Commit: 938a8bffbe2b9950e545f583a575f71c2caab08e
Date: 2023-04-18T05:29:43.917Z
VS Code: 1.67.0
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
NVDA is announcing select a folder on your local drive


STI swallows error messages from assemble script

I'm currently building sti-python image and found that STI swallows error messages from assemble script.
$ sti build 3.3/test/klein-test-app/ openshift/python-33-centos7 python-sample-app --forcePull=false
I0330 17:58:31.082271 19058 sti.go:371] ---> Installing application source
I0330 17:58:31.083148 19058 sti.go:371] ---> Building your Python application from source
I0330 17:58:31.083265 19058 sti.go:371] python setup.py install #develop

vs.
$ sti build 3.3/test/klein-test-app/ openshift/python-33-centos7 python-sample-app --forcePull=false --loglevel=1
I0330 17:58:46.910338 19213 sti.go:111] Building python-sample-app
I0330 17:58:46.916831 19213 sti.go:181] Using assemble from image:///usr/local/sti
I0330 17:58:46.916850 19213 sti.go:181] Using run from image:///usr/local/sti
I0330 17:58:46.916856 19213 sti.go:181] Using save-artifacts from image:///usr/local/sti
I0330 17:58:46.916862 19213 sti.go:119] Clean build will be performed
I0330 17:58:46.916867 19213 sti.go:130] Building python-sample-app
I0330 17:58:46.916877 19213 sti.go:313] No .sti/environment provided (no evironment file found in application sources)
I0330 17:58:47.090252 19213 sti.go:371] ---> Installing application source
I0330 17:58:47.091183 19213 sti.go:371] ---> Building your Python application from source
I0330 17:58:47.091352 19213 sti.go:371] python setup.py install #develop
E0330 17:58:47.193323 19213 sti.go:389] error in klein-test-app setup command: ('Invalid module name', 'klein-test-app')
I0330 17:58:47.351302 19213 main.go:202] An error occurred: non-zero (13) exit code from openshift/python-33-centos7

The swallowed line is:
E0330 17:58:47.193323 19213 sti.go:389] error in klein-test-app setup command: ('Invalid module name', 'klein-test-app')

seems like stderr is silenced for some reason. I will fix it.
On Mar 30, 2015 6:01 PM, "Maciej Szulik"<EMAIL_ADDRESS>wrote:

I'm currently building sti-python
https://github.com/openshift/sti-python image and found that STI
swallows error messages from assemble script.
$ sti build 3.3/test/klein-test-app/ openshift/python-33-centos7 python-sample-app --forcePull=false
I0330 17:58:31.082271 19058 sti.go:371] ---> Installing application source
I0330 17:58:31.083148 19058 sti.go:371] ---> Building your Python application from source
I0330 17:58:31.083265 19058 sti.go:371] python setup.py install #develop
vs.
$ sti build 3.3/test/klein-test-app/ openshift/python-33-centos7 python-sample-app --forcePull=false --loglevel=1
I0330 17:58:46.910338 19213 sti.go:111] Building python-sample-app
I0330 17:58:46.916831 19213 sti.go:181] Using assemble from image:///usr/local/sti
I0330 17:58:46.916850 19213 sti.go:181] Using run from image:///usr/local/sti
I0330 17:58:46.916856 19213 sti.go:181] Using save-artifacts from image:///usr/local/sti
I0330 17:58:46.916862 19213 sti.go:119] Clean build will be performed
I0330 17:58:46.916867 19213 sti.go:130] Building python-sample-app
I0330 17:58:46.916877 19213 sti.go:313] No .sti/environment provided (no evironment file found in application sources)
I0330 17:58:47.090252 19213 sti.go:371] ---> Installing application source
I0330 17:58:47.091183 19213 sti.go:371] ---> Building your Python application from source
I0330 17:58:47.091352 19213 sti.go:371] python setup.py install #develop
E0330 17:58:47.193323 19213 sti.go:389] error in klein-test-app setup command: ('Invalid module name', 'klein-test-app')
I0330 17:58:47.351302 19213 main.go:202] An error occurred: non-zero (13) exit code from openshift/python-33-centos7
The swallowed line is:
E0330 17:58:47.193323 19213 sti.go:389] error in klein-test-app setup command: ('Invalid module name', 'klein-test-app')
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/source-to-image/issues/163.

Actually I was planning to handle that tomorrow on the train :wink:
On Mon, Mar 30, 2015 at 8:16 PM Michal Fojtik<EMAIL_ADDRESS>wrote:

seems like stderr is silenced for some reason. I will fix it.
On Mar 30, 2015 6:01 PM, "Maciej Szulik"<EMAIL_ADDRESS>wrote:

I'm currently building sti-python
https://github.com/openshift/sti-python image and found that STI
swallows error messages from assemble script.
$ sti build 3.3/test/klein-test-app/ openshift/python-33-centos7
python-sample-app --forcePull=false
I0330 17:58:31.082271 19058 sti.go:371] ---> Installing application
source
I0330 17:58:31.083148 19058 sti.go:371] ---> Building your Python
application from source
I0330 17:58:31.083265 19058 sti.go:371] python setup.py install #develop
vs.
$ sti build 3.3/test/klein-test-app/ openshift/python-33-centos7
python-sample-app --forcePull=false --loglevel=1
I0330 17:58:46.910338 19213 sti.go:111] Building python-sample-app
I0330 17:58:46.916831 19213 sti.go:181] Using assemble from
image:///usr/local/sti
I0330 17:58:46.916850 19213 sti.go:181] Using run from
image:///usr/local/sti
I0330 17:58:46.916856 19213 sti.go:181] Using save-artifacts from
image:///usr/local/sti
I0330 17:58:46.916862 19213 sti.go:119] Clean build will be performed
I0330 17:58:46.916867 19213 sti.go:130] Building python-sample-app
I0330 17:58:46.916877 19213 sti.go:313] No .sti/environment provided (no
evironment file found in application sources)
I0330 17:58:47.090252 19213 sti.go:371] ---> Installing application
source
I0330 17:58:47.091183 19213 sti.go:371] ---> Building your Python
application from source
I0330 17:58:47.091352 19213 sti.go:371] python setup.py install #develop
E0330 17:58:47.193323 19213 sti.go:389] error in klein-test-app setup
command: ('Invalid module name', 'klein-test-app')
I0330 17:58:47.351302 19213 main.go:202] An error occurred: non-zero
(13) exit code from openshift/python-33-centos7
The swallowed line is:
E0330 17:58:47.193323 19213 sti.go:389] error in klein-test-app setup
command: ('Invalid module name', 'klein-test-app')
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/source-to-image/issues/163.

—
Reply to this email directly or view it on GitHub
https://github.com/openshift/source-to-image/issues/163#issuecomment-87778429
.


[DOC] - 404 Not found pages

Preliminary Checks

[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/nebari-dev/nebari/discussions

Summary
These pages are returning a 404 not found status code:
https://www.nebari.dev/docs/docs/troubleshooting#handle-access-to-restricted-namespaces
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry
https://www.nebari.dev/docs/how-tos/docs/troubleshooting
https://www.nebari.dev/how-tos/nebari-gcp#deploying-nebari
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari
https://www.nebari.dev/docs/how-tos/docs/tutorials
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-azure#nebari-initialize
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-do#nebari-initialize
https://www.nebari.dev/docs/get-started/docs/how-tos/nebari-local
https://www.nebari.dev/docs/get-started/docs/get-started/cloud-providers
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-aws#nebari-initialize
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-gcp#nebari-initialize
It seems something is adding a redundant /docs/ or /docs/how-tos/ folders somehow.
These pages are linked to from these pages:

url
not found links

0
https://www.nebari.dev/docs/troubleshooting/
https://www.nebari.dev/docs/docs/troubleshooting#handle-access-to-restricted-namespaces

1
https://www.nebari.dev/docs/how-tos/domain-registry/
https://www.nebari.dev/how-tos/nebari-gcp#deploying-nebari

2
https://www.nebari.dev/docs/how-tos/domain-registry/
https://www.nebari.dev/how-tos/nebari-gcp#deploying-nebari

3
https://www.nebari.dev/docs/how-tos/nebari-azure/
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari

4
https://www.nebari.dev/docs/how-tos/nebari-azure/
https://www.nebari.dev/docs/how-tos/docs/troubleshooting

5
https://www.nebari.dev/docs/how-tos/nebari-azure/
https://www.nebari.dev/docs/how-tos/docs/tutorials

6
https://www.nebari.dev/docs/how-tos/nebari-azure/
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-azure#nebari-initialize

7
https://www.nebari.dev/docs/how-tos/nebari-azure/
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry

8
https://www.nebari.dev/docs/how-tos/nebari-do/
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari

9
https://www.nebari.dev/docs/how-tos/nebari-do/
https://www.nebari.dev/docs/how-tos/docs/troubleshooting

10
https://www.nebari.dev/docs/how-tos/nebari-do/
https://www.nebari.dev/docs/how-tos/docs/tutorials

11
https://www.nebari.dev/docs/how-tos/nebari-do/
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-do#nebari-initialize

12
https://www.nebari.dev/docs/how-tos/nebari-do/
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry

13
https://www.nebari.dev/docs/get-started/deploy/
https://www.nebari.dev/docs/get-started/docs/get-started/cloud-providers

14
https://www.nebari.dev/docs/get-started/deploy/
https://www.nebari.dev/docs/get-started/docs/how-tos/nebari-local

15
https://www.nebari.dev/docs/how-tos/nebari-aws/
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari

16
https://www.nebari.dev/docs/how-tos/nebari-aws/
https://www.nebari.dev/docs/how-tos/docs/troubleshooting

17
https://www.nebari.dev/docs/how-tos/nebari-aws/
https://www.nebari.dev/docs/how-tos/docs/tutorials

18
https://www.nebari.dev/docs/how-tos/nebari-aws/
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-aws#nebari-initialize

19
https://www.nebari.dev/docs/how-tos/nebari-aws/
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry

20
https://www.nebari.dev/docs/how-tos/nebari-gcp/
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari

21
https://www.nebari.dev/docs/how-tos/nebari-gcp/
https://www.nebari.dev/docs/how-tos/docs/troubleshooting

22
https://www.nebari.dev/docs/how-tos/nebari-gcp/
https://www.nebari.dev/docs/how-tos/docs/tutorials

23
https://www.nebari.dev/docs/how-tos/nebari-gcp/
https://www.nebari.dev/docs/how-tos/docs/how-tos/nebari-gcp#nebari-initialize

24
https://www.nebari.dev/docs/how-tos/nebari-gcp/
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry

25
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry

26
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry
https://www.nebari.dev/docs/how-tos/docs/how-tos/domain-registry

27
https://www.nebari.dev/docs/how-tos/docs/troubleshooting
https://www.nebari.dev/docs/how-tos/docs/troubleshooting

28
https://www.nebari.dev/docs/how-tos/docs/troubleshooting
https://www.nebari.dev/docs/how-tos/docs/troubleshooting

29
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari

30
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari
https://www.nebari.dev/docs/how-tos/docs/get-started/installing-nebari

31
https://www.nebari.dev/docs/how-tos/docs/tutorials
https://www.nebari.dev/docs/how-tos/docs/tutorials

32
https://www.nebari.dev/docs/how-tos/docs/tutorials
https://www.nebari.dev/docs/how-tos/docs/tutorials

33
https://www.nebari.dev/docs/get-started/docs/how-tos/nebari-local
https://www.nebari.dev/docs/get-started/docs/how-tos/nebari-local

34
https://www.nebari.dev/docs/get-started/docs/how-tos/nebari-local
https://www.nebari.dev/docs/get-started/docs/how-tos/nebari-local

35
https://www.nebari.dev/docs/get-started/docs/get-started/cloud-providers
https://www.nebari.dev/docs/get-started/docs/get-started/cloud-providers

36
https://www.nebari.dev/docs/get-started/docs/get-started/cloud-providers
https://www.nebari.dev/docs/get-started/docs/get-started/cloud-providers

Steps to Resolve this Issue

Check how the wrong URL path parts are being added (script, manually, etc.)
Remove it

Hi @eliasdabbas, thanks for reporting this! We are still in the process of migrating our docs from qhub.dev to nebari.dev but it's great to know exactly where we need to focus our attention, much appreciated :)

Thanks for reporting this issue. Seems the recent changes made to add the landing page messed up internal cross-references.
Our current config should have caught broken links and thrown an error but it seems it needs debugging.
Will fix this straight away!


consumption SDK usage_details.list does not filter by date

Package Name: https://github.com/Azure/azure-sdk-for-python/tree/fd643a07a08f5ae912344c45f91ecd7278e9049b/sdk/consumption/azure-mgmt-consumption
Package Version: 3.0.0, 8.0.0b1, 8.0.0
Operating System: linux (ubuntu)
Python Version: 3.8.10

Describe the bug
We are developing a new feature and we use the Azure SDK Consumption client to fetch data from azure.
To Reproduce
Steps to reproduce the behavior:
from azure.mgmt.consumption import ConsumptionManagementClient

from azure.identity import ClientSecretCredential

credential = ClientSecretCredential(tenant_id=account_number, client_id=access_key, client_secret=secret)

subscription_id = "some_subscription_id"

consumption_client = ConsumptionManagementClient(credential, subscription_id)
date_filter = "properties/usageStart ge '2021-05-01' AND properties/usageStart lt '2021-02-27'"
data_list = consumption_client.usage_details.list(scope='/subscriptions/subscription_id', filter=date_filter)
data = [item.as_dict() for item in data_list]

print(data)

if we use the filter from the azure consumption SDK test:
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/consumption/azure-mgmt-consumption/tests/test_mgmt_consumption.py
for example:
endDate = '2021-05-28T00:00:00Z'
date_filter ='usageEnd le '+ str(endDate)
following this example:

and after that, the same thing, we don't get results for the required period, instead, we get everything for June.
These DateTime filters do not work on azure python SDK Consumption client and usage_details.list()
Expected behavior
I expected the results to only return usage items where date_property matched the date filter. Instead, I get everything for June
(I guess always returns everything for the current month, and the consumption client seems to simply ignore the DateTime range filters).
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Thanks for your feedback, we'll investigate asap.

Here is one way you can monkey patch the client to work around this omission in the SDK. Is there a better workaround?
  filter_date = "2021-08-01"

  # Monkey patch client to include startDate and endDate in URL

  url_parts = list(urlparse.urlparse(client.usage_details.list.metadata['url']))
  query = {"startDate": filter_date, "endDate": filter_date}
  url_parts[4] = urlencode(query)
  client.usage_details.list.metadata['url'] = urlparse.urlunparse(url_parts)

The above example will retrieve one day's worth of records for 2021-08-01.

Here is one way you can monkey patch the client to work around this omission in the SDK. Is there a better workaround?
  filter_date = "2021-08-01"

  # Monkey patch client to include startDate and endDate in URL

  url_parts = list(urlparse.urlparse(client.usage_details.list.metadata['url']))
  query = {"startDate": filter_date, "endDate": filter_date}
  url_parts[4] = urlencode(query)
  client.usage_details.list.metadata['url'] = urlparse.urlunparse(url_parts)

The above example will retrieve one day's worth of records for 2021-08-01.

Thanks for this monkey patch! With this at least we can use SDK instead of plain API.

Hi,
Is there any news?
Maybe there is one more problem here, on this Consumption client and also on this API,
https://management.azure.com/subscriptions/{}/providers/Microsoft.Consumption/usageDetails/download?startDate={}&endDate={}&api-version=2019-10-01,
I  get this error for "pay-as-you-go" azure account:
(400) Billing Period is not supported in (2019-10-01) API Version for Subscription Scope With Web Direct Offer. Please provide the UsageStart and UsageEnd dates in the $filter key as parameters. Code: 400 Billing Period is not supported in (2019-10-01) API Version for Subscription Scope With Web Direct Offer. Please provide the UsageStart and UsageEnd dates in the $filter key as parameters.
So the question is:

is this API and this consumption SDK doesn't work for pay-as-you-go accounts (right now there is BUG for pay-as-you-go accounts)?
or there is some API or SDK that is especially for billing costs for pay-as-you-go account types?
currently, there is no API/SDK for billing costs (like the above Consumption client) for this pay-as-you-go account type ?

The Azure documentation for pay-as-you-go is unclear, is there any API/SDK for pay-as-you-go account type, please help!


Choco Package Manager (offline installation)

Hello, not sure where to log this request. this is related to the offline package manager installation script located on this site: https://chocolatey.org/docs/installation#completely-offline-install
I have two requests - which I am sure it will help others.
#1- can you please add something in the script that checks for available disk space. Here is a sample
$disk = Get-WmiObject Win32_LogicalDisk -Filter "DeviceID='C:'" | Select-Object Size,FreeSpace
write "Disk Size:$([math]::round($disk.Size /1GB, 3).tostring("#,###")) GB"
write "Free Space Available:$([math]::round($disk.FreeSpace/1MB, 3).tostring("#,###")) MB"
$MBFreeSpace = $disk.FreeSpace/1MB
if($MBFreeSpace  -lt 100)
{
    throw "Not enough disk space available."
}

#2- For the variable $localChocolateyPackageFilePath can you please check if the path does not exist either create it or throw an error.
SAMPLE:
$LocalDirPath = split-path -Path $localChocolateyPackageFilePath
if(!(test-path $LocalDirPath))
{
    new-item -type directory $LocalDirPath -Force -Confirm:$false |Out-Null
}

Thank you!
H

I'm sorry, but this is the wrong repository for such requests.
This repository is only for issues/requests for the packages maintained in this repository.
I believe the repository you're looking for is: https://github.com/chocolatey/choco-wiki (I could be wrong though).


No auth token found when signing message

Issue started last week after a redeploy, useActiveAccount or any other ways to get to the signMessage() will throw this error for email logged wallets using In-App wallet with default settings. Weird thing, is not happening with metamask or other log in ways.
Looking into localstorage, i see that previous deploys of my app, using thirdweb sdk v5, had wallets as "sharded", now are "enclave" and methods from account objects from email logins fail with this.
Looking into localstorage, i see in my previous versions a lot of data populated, but in the new ones ( the ones that email fails ) never gets populated
Actual storage:

Previous:

Looking into .js bundled sources i see that the signMessage() fn looks for the auth token, like "authCookie" and is not defined.

Hey @LeonelSalvo, could you please provide the version of the SDK you're using

From 5.68 to 5.71.0 happening

Following through the sdk, seems like the postWalletSetUp() call is not saving the authCookie, the network request from email OTP process brings storedToken good thou:
    "storedToken": {
        "jwtToken": "BRINGS_THE_JWT",
        "authProvider": "Email",
        "developerClientId": "DEV_ID",
        "authDetails": {
            ... BRINGS_DETAILS
        },
        "cookieString": "BRINGS_THE_COOKIE_STRING",
        "isNewUser": false,
        "shouldStoreCookieString": true
    }

        this.wallet = await this.initializeWallet(
          authResult.storedToken.cookieString,
        );

        if (!this.wallet) {
          throw new Error("Failed to initialize wallet"); // Not triggerin, so its OK
        }

        const deviceShareStored =
          "deviceShareStored" in authResult.walletDetails
            ? authResult.walletDetails.deviceShareStored
            : undefined;

        // Here ? im not finding `${AUTH_TOKEN_LOCAL_STORAGE_PREFIX}-${key}`
        await this.wallet.postWalletSetUp({
          storedToken: authResult.storedToken,
          deviceShareStored,
        });

Hey @LeonelSalvo, thanks for the details on this. I can't seem to reproduce this by trying to replicate your setup. Could you please provide a minimal reproduction and I can look into it further? Also, I'm assuming you've tried clearing your local storage and refreshing already?

Hey @gregfromstl , yes already cleared and refreshed, even going back or moving between 5.68 and 5.72 im seeing this issue
Have been working past 8 months with same code, just this week started to happen after migration
Im working to create a small implementation with this

Doing the small repro, i reached old code where we need to clean user localstorage before the sign ( previously without problem, since embedded wallet relayed on cookies instead ) since authCookie is now on localstorage, not necessary a problem on your end then
We need to find a workaround for it on our side

Thanks, just for the record, I would like to suggest adding some kind of warning or alternative flow... to avoid this when the auth token not found error is triggered ( We had the localStorage to ourselves, not great to clear it, but still weird to have the auth token there )
Maybe:

To give feedback on cache clearing, because the user is still able to do this : 1.
Or to handle more gracefully the loss of token, getting it maybe in the future through your back ends again or make available a way to retrieve it for developers ( a refetch, or check )


Log the message payload before demultiplexing

/cc @heroku/api

/cc @heroku/api

LGTM, but I wonder about these CI failures. Were they caused by your change?

Unknown. I'll have to investigate.

:+1:

@jingweno Ready to deploy.


Nit: use smaller "initials circle" in dashboards

We have the perfect sized initials icon now in the helper list. We should use that also in:

top navbar user icon
leaders / organizers in dashboards
comment threads

The large initials circle icon should only be used in the hover over in order to showcase the helper photo.

Assigning to @kristysnet to take a look, should hopefully be small effort. Let me know if this is unclear in its specification.


Vitest hangs when describe is exported as then

Describe the bug
The following code makes vitest hang:
export { describe as then } from 'vitest';

Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-z9atdg?file=test%2Fbasic.test.ts
System Info
System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 5.81 GB / 7.60 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
    bun: 1.1.3 - ~/.bun/bin/bun

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Probably it's a same issue as https://github.com/vitest-dev/vitest/issues/5122#issuecomment-1931113238 where NodeJs cannot dynamic import modules with named export then.
If you have strong use cases with this, could you comment on the existing issue?


Roaming user licenses.

Tenant A has Azure P2 licenses
Tenant B has Azure P1 licenses
Does a user from tenant A still get to use their P2 license features if invited as a guest to Tentant B which only has P1 license?
This is the same question asked in https://github.com/MicrosoftDocs/azure-docs/issues/25261 and that was mistakenly closed in the unrelated cmdlet support issue https://github.com/MicrosoftDocs/azure-docs/issues/25621#issuecomment-469173802

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

ID: d9de7df3-1669-e58d-ae57-bdc8993ac35f
Version Independent ID: 3a1d7ec3-b46f-3c87-2dc6-846cc815a530
Content: B2B collaboration licensing guidance - Azure Active Directory
Content Source: articles/active-directory/b2b/licensing-guidance.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@Jared-Harrington-Gibbs
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we’ve created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Feature Request - Anilist sorting

Hi, I would like to request an option to rearrange the anilist based on "last updated".

Will add settings for it

Coukd the same be done with MAL?

Could the same be done with MAL?

yes it will

last updated sort is on nightly 4.1.9


Using HDFS location as a source to copy using azcopy copy command

Which version of the AzCopy was used?
10.4.3
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
azcopy copy
What problem was encountered?
I need to be able to copy data from HDFS to a container. Does the copy command use these as parameters for source (The HDFS file location) or I would have to get them on local and will have to then eventually move to a container?
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?
No

Hey @ankurgadgilwar ,
Thanks for reaching out!
You can copy your data from HDFS cluster to Azure storage container if URL is public as we don't handle authentication. Alternatively, as you mentioned, you can copy it to local and it definitely will work.


Unable to see it in the left menu categories

I dont see the filemin shortcuts in the left menu with the Authentic Theme 14.01 webmin theme. I tried to rename and relocate the entry but no clue.
Anyway after searching filemin I'm able to load the module, its a really great work, more reliable than the java explorer.

You need to make this module available for the current user. Click on your user (Near LogOut button), then in current user settings, go to Available Modules tab and after tick on Filemin. Click save and refresh the page. You will get it next to File Manager link.

Fine, strange it was ticked but didn't display when i wrote my message. But back after your tips it was ok, thanks. What are yur thoughts regarding the stared and favorites "modules/pages" feature I reported when donating to you for the authentic theme?

Be kind opening new issue on Authentic Theme with label improvement. Will talk there, ok? I will delete this message in a bit.

OK


Postgresql

We're using Postgres for our database. I installed Grafite and everything went well, but when I go to the admin dashboard, I get this error.
SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "LIKE" LINE 1: SHOW VARIABLES LIKE "%version%"; ^ (SQL: SHOW VARIABLES LIKE "%version%";) (View: /var/www/php/sites/kringloop-grafite/resources/views/admin/dashboard.blade.php)
For Postgress it should be like this:
@foreach (DB::select('SELECT version();') as $dbVar)

                    Version
                    {{$dbVar->version}}

@endforeach

We don't actively support Postgres, feel free to remove that and things should work fine. This issue has been reported once before, thanks.


Error upon generation from downloaded dev preview

I've installed PHP and composer on Windows10 and am attempting to get PHP v2 running.
I downloaded the dev release
C:\src\standard-edition-twig>php core/console --version
configuring pattern lab...
you're running v2.0.0-DP1 of the PHP version of Pattern Lab...
C:\src\standard-edition-twig>php core/console --generate
configuring pattern lab...
-colors wasn't found for loading. the given path: C:/src/standard-edition-twig\source/_patterns/C:/src/standard-edition-twig\source/_patterns\00-atoms\01-global\00-colors.twig
This error looks like a funny pathing problem.
I am now going to attempt to install via composer, which I suspect will load more recent code.

@bmuenzenmeyer -
Looks like this is fixed in dev but master is still showing non-Windows-friendly code. I'll see what I need to merge to get master up to speed and then I'll update the ZIP too. Thanks for the heads up.


Fix bug in log stream setup error reporting

Fixes #559
Tiny typo, but it results in an uncaught exception and no reported error for any failures in the initial logs subscription request.
Change-type: patch
Signed-off-by: Tim Perry<EMAIL_ADDRESS>

I feel like a primitive that the coffeescript linter didn't catch that...
After so much TS I'm used to taking for granted such checks...


Support HTML Tags with Optional Closing Tag

HTML5 has tags where the closing tag is optional. These are: html, head, body, p, dt, dd, li, option, thead, th, tbody, tr, td, tfoot, colgroup (source)
A
 tag automatically closes the one before, if there was one. So this:

Lorem

ipsum

dolor

sit

amet

is equivalent to this:

Lorem

ipsum

dolor

sit

amet

The breadcrumbs (and the document outline) do not seem to be aware of this semantic. Instead of treating both code samples equally, it treats the paragraphs as nested elements when the optional closing tag is omitted.

This behaviour is the same for all of the above mentioned tags.
Link to spec: https://html.spec.whatwg.org/multipage/syntax.html#optional-tags ("<IP_ADDRESS> Optional tags")
This also effects automatic indentation. VSCode formats the code as follows:

Lorem

ipsum

dolor

sit

amet

...which is unexpected.
The feature requested is that VSCode should detect HTML tags that get implicitly closed and treat them as if they were closed explicitly. This should be reflected in the document outline as well as in  code formatting.

duplicate of https://github.com/microsoft/vscode/issues/89850


Prevent ANSI from being stripped from checks

There is no color output in checks. For example this should print a green "hello", but does not:
.addCheck("hello")`echo -e '\\e[32mhello'`

For posterity: Note that nix does allow to output ANSI color codes. So the above check executed with e.g. nix flake check shows green output.


rsmeter: add centralized place to construct protobuf data

Signed-off-by: Zhenchi<EMAIL_ADDRESS>What is changed and how it works?
ref #11691
What's Changed:
Many datasinks will be interested in report data. It's wasted to convert them from the original shape to the protobuf shape multiple times.
Release note
None

/cc @breeswish @mornyx @andylokandy

LGTM

/merge

/run-test


[CT-1814] [CT-420] Make a GitHub Action that periodically installs dbt in all the supported ways.

Describe the Feature
As a followup to dbt-labs/dbt-core#4891, to reduce the amount of time it takes to recognize installation issues with dbt core, twice daily we should attempt to install dbt core in all the supported ways and alert on failures in slack.
All Available install methods:
Use Homebrew to install dbt
Use pip to install dbt
Use a Docker image to install dbt
Install dbt from source
Existing Install Testing
Scheduled testing of Homebrew install here
Expected Schedule (same as Homebrew)
cron: "0 9,13,18 * * *" # 9:00, 13:00, 18:00 UTC
Verify Install with command
dbt --version
Failures to Slack
Match pattern in Homebrew installation-tests.yml
General Design
We should be able to schedule a single workflow to run that calls then a reusable workflow for each test type in a matrix of adapters.  All workflows should also be able to be manually triggered.
Priority

pip
homebrew (done)
docker
source

Related issue
Docker Build Tests - https://github.com/dbt-labs/dbt-core/issues/5154

This is the issue specific to Docker: https://github.com/dbt-labs/dbt-core/issues/5154
Not much info in it but linking for complete picture

This is done!


Create starwarstheme.css

This is not how you get themes on the site (this would not pass verification anyway), also do not use vsthemes. They steal themes, and reupload them as their own and include malware ridden hosts for their files.

Saying the github group that spam alot while i never opted in to be on a spam list of betterdiscord:

Also please don't use Vs themes. They are literally just reposts of actual themes with random shit added to them, without any credit (most of the time) to the original theme author. Their whole operation makes me want to vomit and I think a lot of my colleagues would say the same.


workerPids broken on CentOS 6.6

The commit https://github.com/kamisama/php-resque-ex/commit/bc6b543b31770a05ee5e1ab262d133e7f45565fc breaks functionality on CentOS 6.6.
ps -A -o pid,comm | grep [r]esque doesn't return any resque processes on CentOS 6.6, however the previous code ps -A -o pid,command | grep [r]esque does work fine.

So it fix Solaris, but breaks CentOS ? What a pain ...T.T

@kamisama I have some other servers that are running CentOS 7 and the new command ps -A -o pid,comm | grep [r]esque works fine.  CentOS 6 is still widely used though, probably more than Solaris I would suspect.

I'll put an if/else to target CentOS < 7 then

Ah... on my dev virtual machines both CentOS 6.6 and CentOS 7.1.1503 needs command.
From ps man:
comm is just the "command name (only the executable name)"
command alias args: "command with all its arguments as a string"
so comm just returns php for the actual worker process (so grep doesn't find [r]esque), while command shows the entire arguments, therefore grep find the worker process as well as all the parent processes, making the list "dirty".
So I fixed it using both comm and command and then checking that the executable name is php: manierim/php-resque-ex@0d22a3729c87168c85a8a01477fef03fde9326ea
Maybe checking Solaris manual we might find a common way?
Or we have to use php_uname() to build the command conditionally (i.e. is there a ps equivalent under WIN systems)?

I'm not familiar with CentOS nor Solaris, but I think we should revert the commit, and make the patch only target Solaris system with a condition.


Update README.md to indicate this project is archived

Final PR before marking this repo as read-only.

@mikaelm12 😢

Hi, why is it being archived? (I subscribed a long time ago and still get watch notifications but haven't been following closely.)

We're consolidating repos. See https://github.com/aspnet/Announcements/issues/320. The code here has moved to https://github.com/aspnet/AspLabs.

While I am actually sad to see this the change on this repo, the change looks okay I guess... 😢

Got it. Thanks


el-row and el-col are not work well inside the el-header and el-main

Here is my template
<el-container>
    <el-header>
        <el-row>
            <el-col :span="24">
header line 1
</el-col>
        </el-row>
        <el-row>
            <el-col :span="24">
header line 2
</el-col>
        </el-row>
        <el-row>
            <el-col :span="24">
header line 3
</el-col>
        </el-row>
    </el-header>
    <el-main>
        <el-row>
            <el-col :span="24">
main line 1
</el-col>
        </el-row>
        <el-row>
            <el-col :span="24">
main line 2
</el-col>
        </el-row>
        <el-row>
            <el-col :span="24">
main line 3
</el-col>
        </el-row>
    </el-main>
</el-container>

But the result seems not so good...

If I wanna use h1~h5 in the el-head,what should I do?

Lol ^


HHH-12230_-_selectCase_in_select_and_group_by_section

Test case for bug HHH-12230.
PR created based on readme from hibernate-test-case-templates

Integrated in this PR which provides a fix as well.


Contribution1

Description : Frontend With Framework - What and Why React.js 📜
A Documentation and readme file has been added to a new branch called 'contribution1' of my the forked repository made with Google Colab
Fixes # <297> >

Type of change : A directory called 'First Contribution' has been added to the new branch 'contribution1' of the forked repository 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution  : Frontend_Web_Development_React_Angular_Vue.📊

[x] Frontend Dev (React, Angular, Vue)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
 Put everything inside week1 folder


Add File type in onImageUpload Callback

My server accepts an argument of File so i can't upload images as bytes from my editor

Is there any error you are encountering using bytes? An error report (or possibly even a test URL to your server) would be helpful, that way I can try and figure out why that is.
I tested using a pipedream test server and files uploaded via bytes work perfectly. Here's my test code using Dart http package:
import 'dart:convert';
import 'dart:typed_data';
import 'package:http/http.dart' as http;

and
onImageUpload: (FileUpload file) async {
   Uint8List bytes = base64.decode(file.base64!.split(",")[1]);
   var request = http.MultipartRequest('POST', Uri.parse("my_pipedream_test_server_url"));
   request.files.add(http.MultipartFile.fromBytes("file", bytes, filename: file.name));
   var response = await request.send();
   print(response.statusCode);
},

I get 200 status and when I download the file on my laptop it looks normal.
The reason I feel that it should work on your end is because any web-based upload is going to use bytes to upload, as I mentioned previously the file path is not exposed to any webviews. At its core, I'm fairly certain that is what File does as well. It opens the file as bytes and uploads it to the server, which then pieces it back into a file. Please respond though because I'd like to help you resolve this issue.

Thanks its working for me..But idk why my image gets automatically rotated when i upload from my app, but it works fine from postman.

Great!
Rotation is odd, base64 shouldn't affect that, maybe your server is doing it? I don't know much about how files are handled once received by the server so I can't help much with that.
Since the issue is solved is it ok to close this?

Sure.


Adds an integration test for checking process env.

Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

@mrunalp Nice! Also idea is always to have $HOME set, maybe makes sense to test it too.

@LK4D4 Sure, will add that.

@LK4D4 @avagin updated, thanks!

LGTM

LGTM


Create Header with basic links / pages for said links:

-Home
-Workshops
-Synth Library
-Membership
-About
-Login/Sign Up

The following pages have been created and are linked in the Header:

Home
Workshops
Library
Membership
About
Login / Register


Bug 1907785 - Support configurable rsync transfer image

Description
Supports downstream rsync transfer image
Check each of the following when appropriate to help reviewers verify work is complete.
Modifying an existing version

[ ] I modified operator permissions in the OLM CSV and operator.yml
[x] I modified the operator deployment in the OLM CSV and operator.yml
[ ] I modified operand permissions in the OLM CSV and ansible role
[ ] I modified CRDS in the OLM CSV and ansible role

Adding a new release version

[ ] I created a new z release directory in deploy/olm-catalog/konveyor-operator
[ ] I updated channels in the konveyor-operator.package.yaml
[ ] I created a new release directory in deploy/non-olm
[ ] I created or updated the major.minor link in deploy/non-olm
[ ] I updated the spec.skips parameter in the CSV

Thank you. I'll follow on with a PR to add this to deploy/downstream-prep.sh


Treat list custom json facebook

Hello, I am continuing the work that was previously being done here -> https://github.com/RasaHQ/rasa/pull/8332.
It solves #5657
Proposed changes:

use a Union for the json_message at send_custom_json, as suggested here #8332
delete some unused imports and invalid comments

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

I just realised I accidentally push some files from another issue I was working on, sorry!
I'll make the proper adjustments later.

Ok, ready for review.

@ancalita ok, I'm on it !

Closing this PR. The new one is https://github.com/RasaHQ/rasa/pull/9692, rebased to 2.8.x.


Git Unable to create .lock file on WINDOWS,Because branch name contains '>'

Branch api>18 wasn't deleted
cannot lock ref 'refs/heads/api>18': Unable to create 'C:/Users/Roxas/Documents/StudioProjects/ProjectName/.git/refs/heads/api>18.lock': Invalid argument
Error deleting branch 'api>18'
I can't rename or delete this branch, please help.

As you can see in the issue template, this repository issue tracker should only be used to report problems found on the git-scm website (https://git-scm.com/).
Git for windows problems should be raised in https://github.com/git-for-windows/git

okoko


Add option for accessible_by querying strategy

Inspired by this comment, let users choose the querying strategy cancan will use when calling accessible_by.
You can choose :subquery (the default since https://github.com/CanCanCommunity/cancancan/pull/619), or left_joins (how it worked before https://github.com/CanCanCommunity/cancancan/pull/619).
Most tests run exactly the same on both strategies. Where they differ I have split into two separate test contexts.
I have deliberately not added this to the README, because out of the box I don't think you should change this. I would like to add a mention to https://github.com/CanCanCommunity/cancancan/wiki/Fetching-Records if this is merged (I don't have edit access to that page).

@coorasse let me know your thoughts

@ghiculescu I think it will be god if we can decide by ability when using subquery and when left_joins not only globaly. Some queries will be better with joins some with subquery.

I looked into doing it that way @madmax but it added a fair bit more complexity. I'm keen to start with this, because it allows everyone to match pre-https://github.com/CanCanCommunity/cancancan/pull/619 behavior. We can always add more options later.

I love the effort you put in this PR! There is a lot of good work! I have to agree with @madmax . I strongly believe that this option could/should be also on a "per call" level. Because most of the times you might want to change it only in one specific place. Nevertheless: I am also in favour of a global configuration, so I am keen in merging after a review.

I love the effort you put in this PR! There is a lot of good work! I have to agree with @madmax . I strongly believe that this option could/should be also on a "per call" level. Because most of the times you might want to change it only in one specific place. Nevertheless: I am also in favour of a global configuration, so I am keen in merging after a review.

I thought of a way of making this work per-query without cluttering up the cancan API a lot.
CanCan.with_accessible_by_strategy(:left_joins) do
  User.accessible_by(current_ability)
end

Thoughts? Should be relatively easy to implement.

What about opening a discussion regarding this point? I just enabled the tab in the project. We can start from your proposal @ghiculescu . So we can proceed with this PR and merge it in the meantime and proceed elsewhere to decide how we want to implement the per-query API.

@coorasse happy to add docs, any suggestions on where? I was thinking https://github.com/CanCanCommunity/cancancan/blob/develop/docs/Defining-Abilities:-Best-Practices.md but I'm not sure any of the current docs feels right.
ps. I'm not sure what https://github.com/CanCanCommunity/cancancan/blob/develop/docs/mvc--deficiencies.md is but feel like it shouldn't be there.

Thanks for finding the irrelevant doc page, I removed it. The whole docs would need a bit of re-organisation. I'd definitely need some help there.
Probably here? https://github.com/CanCanCommunity/cancancan/blob/develop/docs/Fetching-Records.md


Remove branch restrictions

@hankxdev please remove the branch restrictions because it's impossible to get 2 reviews.
I'm pretty sure the restrictions also break the Publish workflow

just removed

Great! It seems that the release token is outdated. When you have 10 minutes, can you try generating a new one? I think I did it before, but now I don't have access to the options.
If you did it, then you can probably skip most steps:
https://github.com/fregante/chrome-webstore-upload/blob/main/How to generate Google API keys.md

It's an unrelated issue


Add KSPBurst

Hey, thanks for the submission. Can you give some more information on this mod? This seems to be a more complex topic.
From what I've heard, this tool will eventually be used by a few mods like FAR? Does this mod work completely on its own, or do users need to do and/or install anything else?

The Burst compiler is archived to prevent KSP from trying to load its dynamic libraries. The archive is extracted the first time the mod runs to /PluginData/KSPBurst@-.

CKAN won't remove those files when the mod is uninstalled or upgraded. Will the mod automatically clear out older compiler versions? Otherwise your disk fills up with another 700 MiB with every compiler update.
When the mod is uninstalled, it'll leave behind those 700 MiB of files. This applies to both CKAN users and manual installers. What happens if these files are still there with those from GameData having been removed? Can KSP handle this? Is there really no way this could be put into GameData instead?

plugins_only version does not contain the compiler, use it only if KSPBurst is a hard dependency and download size is an issue.

Does this mean that users can opt for that plugin_only zip, and everything will still work perfectly fine, just without the performance enhancements?
Should we index this plugins_only zip as an alternative, so users that don't have that much disk space available or don't want to clutter their KSP installation outside of GameData have another option?

The netkan currently uses a version_from_asset, but it doesn't look like this mod would need it, the regex only matches the big zip We should replace it with a asset_match and get the version from the Git release tag, which is usually safer than a filename that may change in format any time.

From what I've heard, this tool will eventually be used by a few mods like FAR?
Yeah, and RealAntennas

Does this mod work completely on its own, or do users need to do and/or install anything else?
Yeah but it doesn't do anything on its own, it's a resource for modders who want to use Burst jobs

CKAN won't remove those files when the mod is uninstalled or upgraded. Will the mod automatically clear out older compiler versions? Otherwise your disk fills up with another 700 MiB with every compiler update.
Every time an archive is extracted a hidden file is created with a list of files and directories extracted. Next time an archive is going to be extracted, the directory is globbed for the hidden files and everything in them is removed so there should only ever be 1 extracted compiler version. If extraction fails for whatever reason all extracted files and directories are immediately removed.

What happens if these files are still there with those from GameData having been removed? Can KSP handle this? Is there really no way this could be put into GameData instead?
The extracted compiler remains but KSP doesn't do anything with the files. GameData doesn't work since KSP wants to load all the files with .dll extension which are then passed to the compiler. The compiler itself contains a few managed assemblies and multiple native ones.

Does this mean that users can opt for that plugin_only zip, and everything will still work perfectly fine, just without the performance enhancements?
Yeah

Should we index this plugins_only zip as an alternative, so users that don't have that much disk space available or don't want to clutter their KSP installation outside of GameData have another option?
That would be great if someone could help with it

The netkan currently uses a version_from_asset, but it doesn't look like this mod would need it, the regex only matches the big zip We should replace it with a asset_match and get the version from the Git release tag, which is usually safer than a filename that may change in format any time.
Yeah, I just used what worked since I'm not that familiar with netkan spec

Thanks. Another question: there's a bcl.exe in the compiler zip, which seems to be important according to the README/forum post. Does this package also work on platforms other than Windows? CKAN currently doesn't support OS specific mods.

That would be great if someone could help with it

That's what we're here for :)

Thanks. Another question: there's a bcl.exe in the compiler zip, which seems to be important according to the README/forum post. Does this package also work on platforms other than Windows? CKAN currently doesn't support OS specific mods.

It's a managed executable, it at least definitely works on Windows and Ubuntu (WSL)

It's a managed executable, it at least definitely works on Windows and Ubuntu (WSL).

I think Windows does some magic so you can run exes inside WSL without having mono installed. Can we be sure that it also works in non-WSL environments that don't have an external Mono installed (i.e. just relying on the one KSP ships with)?
I have a system without Mono where I could test it. Does it try to run bcl.exe even without any mod installed that makes use of Burst? If not, is there a pre-release/nightly of FAR or RealAntennas available somewhere so that I can trigger it?

I have a system without Mono where I could test it. Does it try to run bcl.exe even without any mod installed that makes use of Burst? If not, is there a pre-release/nightly of FAR or RealAntennas available somewhere so that I can trigger it?

It just collects plugin paths and forwards them to the compiler. Alternatively, you could extract the archive and run bcl.exe --help

CKAN currently doesn't support OS specific mods.

Well, mostly...
But yes, it would be good to not have Mac and Linux users surprised if something doesn't work.

It will probably not run as it is right now, Unity uses ManagedProgram to run bcl.exe which executes mono (with profile = null and setMonoEnvironmentVariables = false)
https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/Utils/ManagedProgram.cs

So I just tested on a system without Mono installed, and it does not work unfortunately.
[ERR 17:02:18.109] [KSPBurst]: Burst compiler terminated in an error
[EXC 17:02:18.268] Win32Exception: ApplicationName='/NAS/games/KubuntuGames/steamapps/common/KSP_Testing/PluginData/KSPBurst<EMAIL_ADDRESS>CommandLine='...'
Native error= Cannot find the specified file
        System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <376e8c39bbab4f1193a569c8dbe4305c>:0)
        System.Diagnostics.Process.Start () (at <376e8c39bbab4f1193a569c8dbe4305c>:0)
        (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
        System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) (at <376e8c39bbab4f1193a569c8dbe4305c>:0)
        KSPBurst.KSPBurst.RunBurstCompiler (System.String directory) (at <510e80975a1d412aaad541e2c71d0e41>:0)
        KSPBurst.KSPBurst.Generate () (at <510e80975a1d412aaad541e2c71d0e41>:0)
        System.Threading.Tasks.Task`1[TResult].InnerInvoke () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
        System.Threading.Tasks.Task.Execute () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
        Rethrow as AggregateException: One or more errors occurred.
        UnityEngine.Debug:LogException(Exception)
        KSPBurst.<BurstCompile>d__15:MoveNext()
        UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Whereas running the same KSP installation from a system with Mono installed (thanks, NAS), the compiler runs successfully.
The file /NAS/games/KubuntuGames/steamapps/common/KSP_Testing/PluginData/KSPBurst<EMAIL_ADDRESS>itself does exist, so the extraction works (just to rule that out based on the exception message).
@HebaruSan proposed that you could try catching that exception and tell users to install Mono. Since this mod isn't essential and everything works just as fine without the compiler running (except the performance improvements), this should work.
I can send you the full log if you want, but that investigation shout be done outside of this issue.

9835081 added a log message about potentially missing mono, PopupDialog may be too annoying.

Uhhh, that close was not intended and automatically done by GitHub when pushing? Hang on...

And now it's not letting me force-push back to the previous commit because the PR is closed.
Sorry for that, working with multiple remote on GitHub repos can be tricky sometimes. Going to open a new PR replacing this one.


why angular dart is too slow in development?

tooooo slow, every time i change a page code , i have to wait at least 10 seconds.

Please provide more details. Dart version, Angular version, project structure, how do you build/serve, build configuration, ...
I have ~1 sec in a medium-sized Angular 5 project for reloads (initial load takes longer)

Unfortunately, as @zoechi mentioned, this isn't an actionable issue.
I would say the median reload time for most small to medium projects is somewhere between a second to seconds. 10 seconds might be totally reasonable for giant monolithic projects. There is a performance measuring guide over at build_runner.
If you follow the steps there and can give us a trace we'd be happy to investigate further.

name: untitled5
description: A web app that uses AngularDart Components
version: 0.0.1
#homepage: https://www.example.com
#author: hey jude<EMAIL_ADDRESS>
environment:
  sdk: '>=1.24.0 <2.0.0'

dependencies:
  angular: ^4.0.0
  angular_components: ^0.8.0
  english_words: "^3.1.0"

dev_dependencies:
  angular_test: ^1.0.0
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
  test: ^0.12.0

transformers:
- angular:
    entry_points:
      - web/main.dart
      - test/**_test.dart
- test/pub_serve:
    $include: test/**_test.dart
- dart_to_js_script_rewriter

# Uncomment the following in sdk 1.24+ to make pub serve
# use dartdevc (webdev.dartlang.org/tools/dartdevc).
web:
  compiler:
    debug: dartdevc

hi , this is my pub configuration, and i just generate app template by webstorm, thank you very much.

you are using angular4/dart1 which does not work well with dartdevc.
to get better build times with dart devc you should switch to angular5/dart2
as a starting point to do so you could use one of the examples in:
https://github.com/dart-lang/angular/tree/master/examples
the dart plugin for webstorm will be adapted to these new versions and build system the coming days.

thx alot

@matanlurey what can you say about this build process?

I'm closing this since @loveship00 has already been helped.
@Cododoc Please open a new bug with your particular issues (and details, like OS, SDK version, resources on the machine, etc). Thanks!

Is the command to track the performance like this?
pub run build runner_serve -o /tmp/my_project --live-reload --no-release --track-performance
I tried this and the I can't find the /$pref page.
Changing single line of code takes 10~20 sec and I am just starting the project.

I am also curious why a "hello world" AngularDart app takes so long to build. webdev build or webdev serve always seems to spend over 10 seconds "Creating build script". What on earth is it doing that can take so long?
There's even stuff like this:
[INFO] Cleaning up outputs from previous builds. completed, took 1.1s

How can it take an entire second to delete a few files?! Something is seriously wrong here. It's a shame because it's in complete contrast to the rest of the Dart experience which is nice and fast.

always seems to spend over 10 seconds "Creating build script". What on earth is it doing that can take so long?

Most of this is parsing the Dart source of the build script and all transitive builders. Since packages can provide source code used for building, we can't ship a precompiled binary to do the building. This is similar to the startup delay that you encounter when you try to run any script from source with the dart command and there are many transitive Dart source files imported.

How can it take an entire second to delete a few files?!

We delete the entire .dart_tool/build/generated directory which may have many files in it. It's possible that on windows this may be slower than other oses.

Specifically for dart with webdev/build_runner, this is just a slow process for development and doesn't impact launching a dart web app after it's been built for production?


Limit Soroban LedgerEntry size

Similar to what we do as a "catch all" to limit transaction size (done outside of env - https://github.com/stellar/stellar-core/issues/3672 ):  we need a limit (network setting) on how big any Soroban ledger entry can get:
while limits on SCVals , keys (#629) , etc should be enough, there is a possibility that we miss something (or a combination of things) and that can become a problem for the network over time.
It seems we should be able to enforce this within env, but if not, we should enforce this in the core bridge (when we convert entries into binary blobs when crossing back to C++).

Resolved by https://github.com/stellar/stellar-core/pull/3731.


26 - Create the global components and responsive UI rules of the application

Issue Number
#26
Purpose/Implementation Notes
(NOTE: This PR was created based on the branch nozomione/20-setup-storybook to use the latest docker setting etc.)
Defined the global components and responsive UI rules of the application.
Created the necessary global components and the basic responsive UI rules, which includes the following:
Components:

Layout
Header
Footer

(shared components)

Anchor
Fixed Container
SrOnly

Themes

breakpoints and some adjustments made in /themes/
styles/GlobalStyle  (added reset for a mobile)

Hook

hooks/useResponsive(to utilize the Grommet ResponsiveContext)

Stories

Header
Footer

(5 svg image files)

[ ] UI review w/ @dvenprasad - please review the UI here, thank you!

(After passing the UI review, @davidsmejia will be added to the reviewers.)
Types of changes

New feature (non-breaking change which adds functionality)

Functional tests
List out the functional tests you've completed to verify your changes work locally.
Checklist

[x] Lint and unit tests pass locally with my changes

@dvenprasad, the UI is ready for your review, thank you!

@davidsmejia, the following changes were made in the latest PRs (please reference #29/#30):

Optimized the Header/* components
Optimized the Footer/* component

Flatten the folder and deleted the config.js
Added src/config directory and created contributors.js and links.js (shared with other components, Home/About)

Updated the Anchor components to utilize the next Linkcomponent for routes
Removed styled-component and a wrapper from the following components:

Button, Col, Logo, SrOnly

Created a helper for edgeSize to auto-generate key/value pairs in themes/global.js
Remove themes/variables.js and updated the codebase accordingly.

Thank you, David!


[Java 21 runtime] Relaxed strong encapsulation to support java 21 runtime

Related Issue

https://github.com/wso2/product-is/issues/21158

Some non-critical JDK internals, which are strongly encapsulated, are accessed via reflection for audit purposes. There are two approaches to address this:

Eliminate the use of strongly encapsulated JDK internals accessed through reflection.
Opt for relaxed strong encapsulation.

The choice between these options should be made on a case-by-case basis.
After evaluating backward compatibility, impact areas, and implementation complexity, we have opted for relaxed strong encapsulation for the following modules:
For java.base:

sun.security.util
java.security
sun.security.rsa
java.security.cert

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11157320561

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11157320561
Status: success


Fix build dommand in book

Changing  meson setup --cross-file=gba.ini build  to meson setup --cross-file=meson/gba.ini build

Wrong repository, the book is located at https://github.com/lunarlambda/meson-gba-book


Optimized nested collections deletion in DocumentPersister

Implemented CollectionPersister::deleteAll method for simultaneous deletion of collections that is belong to one document.

Q
A

Type
improvement

BC Break
no

Fixed issues

Summary
Improved removal of scheduled for removal collections. Now all collections that is belong to one parent is deleted in one query.

Close this PR to 1.2.x since same PR is opened to master

Close this PR to 1.2.x since same PR is opened to master


[efr32] Typo in file name in BUILD.gn

Typo in filename,
PigWeedLoggerMutex.cpp -> PigweedLoggerMutex.cpp
no capital w
https://github.com/project-chip/connectedhomeip/blob/070a49ae2fa1b9f4b4a3448178bfba047b6035d6/examples/pigweed-app/efr32/BUILD.gn#L102

This issue can be close. the Typo go fix in the mentioned PR above (#5115)


The following constructor parameters did not have matching fixture data: ConsumerPactClassFixture fixture

Getting error when I try to run consumer test using "dotnet test" after Step 3.3.2
Appreciate any help to fix this issue-
\YourSolution\Consumer\tests> dotnet test
Build started, please wait...
Build completed.
Test run for C:\Users....\Source\Repos\Pactnet\pact-workshop-dotnet-core-v1\YourSolution\Consumer\tests\bin\Debug\netcoreapp2.1\tests.dll(.NETCoreApp,Version=v2.1)
Microsoft (R) Test Execution Command Line Tool Version 15.8.0
Copyright (c) Microsoft Corporation.  All rights reserved.
Starting test execution, please wait...
[xUnit.net 00:01:00.1009644]     tests.ConsumerPactTests.ItHandlesInvalidDateParam [FAIL]
Failed   tests.ConsumerPactTests.ItHandlesInvalidDateParam
Error Message:
System.AggregateException : One or more errors occurred. (One or more errors occurred. (No connection could be made because the target machine actively refused it)) (The following constructor parameters did not have matching fixture data: ConsumerPactClassFixture fixture)
---- System.AggregateException : One or more errors occurred. (No connection could be made because the target machine actively refused it)
-------- System.Net.Http.HttpRequestException : No connection could be made because the target machine actively refused it
------------ System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it
---- The following constructor parameters did not have matching fixture data: ConsumerPactClassFixture fixture

I'm also getting this issue - on both the /YourSolution code at this point in the walkthrough, and when running dotnet test from /CompletedSolution/tests

I'm also having the same issue. Did you guys find any way around this?

I am also getting the same error, in both MacOS and Linux version of pactnet. Any luck with the solution?

For me, it got solved by moving the project to a shallow path. Seems like ruby has a problem with the longer project path.

As suggested by @HelioVaGator, moving the repository to a shallow path also solved it for me. There's a bigger discussion about it here: https://github.com/pact-foundation/pact-net/issues/163