Runtime Tokio no works in new project

Hi Guys
I have a new project and i'm tryign use tokio runtime but it not works
I have this error
thread 'main' panicked at 'must be called from the context of Tokio runtime configured with either basic_scheduler or threaded_scheduler
This is my dependencies in Cargo.toml
[dependencies]
sqlx = { version = "0.4.1", features = [ "runtime-tokio-rustls", "postgres" ] }
tokio = { version = "0.3.4", features = ["full"] }

And this is my main.rs
#[tokio::main]
async fn main() -> Result<(), sqlx::Error> {

    // Create a connection pool
    let pool = PgPoolOptions::new()
        .max_connections(5)
        .connect(&env::var("DATABASE_URL").unwrap())
        .await?;

    // Make a simple query to return the given parameter
    let row: (i64,) = sqlx::query_as("SELECT $1")
        .bind(150_i64)
        .fetch_one(&pool)
        .await?;

    assert_eq!(row.0, 150);
    Ok(())
}

If switch runtime-tokio-rustls for runtime-actix-rustls in dependencies and #[tokio::main] for #[actix_web::main] (adding actix web and removing tokio from Cargo.toml) it works but i want use Tokio
This is an issue o need some extra config?

Tokio 0.3 isn't compatible with Tokio 0.2 with is used in sqlx.
You can just switch you project to tokio 0.2 or use a compatibility layer but I can not find the doc about that at that moment.

sqlx still uses tokio 0.2, you can either change the tokio version you are depending on or use tokio-compat-02.

Thank you very much for your help, I switch to Tokio 0.2 and now works!!
P.S. for newbies like me, maybe it would be nice this would be specified in the repo readme.

For reference, a 0.3<->0.2 compat crate is here: https://crates.io/crates/tokio-compat-02.
Your code above would look something like:
use tokio_compat_02::FutureExt;

...

    let pool = PgPoolOptions::new()
        .max_connections(5)
        .connect(&env::var("DATABASE_URL").unwrap())
        .compat()  // <----------
        .await?;


Update Tooltips for ProjectsView, SamplesView, and ReportTable

Description

Update tooltips for column headers to display the descriptions found here
Tooltips that may require more information will also include a Learn More link to documentation found here

ProjectsView

SamplesView

ReportTable

Notes

The text for the tooltips taken nearly word-for-word from here. If you'd like to check the wording, the text can all be found in the constants.js files!

Other small changes made:

Column names will turn black when hovered over.

If the column is sortable, then the sortIcon ^ will now also be displayed on hover (in addition to when the table is actively being sorted by the column).

When hovered over, the icons used to toggle the filters and info sidebars will now turn light blue and display black tooltips saying Filters and Info, respectively.

When hovered over, the + icon used to select columns on the SamplesView table will now turn blue, and the tooltip will now display Add or Remove Columns rather than Select Columns.

Tests

Verified that all column headers (including ones hidden by default on the SamplesView) will display the updated ToolTip.
Verified that all Learn More links go to the proper documentation.

Also a question for @happyimadesignr: should we expect future popups to be on a white background? or only the longer ones?


Tree View is not getting updated to show the status

I have two Dags first dag is dependent on the Time sensor and the second dag is set to run after the task from the first dag is complete. I see that the tree view is not updating with status after the job is success.
default_args = {
    'owner': 'airflow',
    'depends_on_past': False,
    'start_date': datetime(2015, 9, 12),
    'email_on_failure': False,
    'email_on_retry': False,
    'retries': 1,
    'schedule_interval': timedelta(1),
    'retry_interval': timedelta(minutes=15)

task_start_job = TimeSensor(
    target_time=time(12,10),
    task_id='Initiating_Job',
    dag=dag)

Please find above the default arguments and the time sensor task that i am using.

Initially my start_date was set to  start_date: datetime.today() after changing it to as shown above code in my previous comment, the tree got updated to show the status of the tasks. I did the same changes to the dependent job as well and it started to work. Leaving the issue open until someone comments to make sure, if the issue was caused due to  start_date: datetime.today()

datetime.today() is a datetime.date type, not a datetime.datetime, this may create some problems. The docs specify clearly that start_date receives a datetime.datetime, but I can see how using a date could be a common pitfall. I just added a warning message on start_date's type, it will make the next version


Add Tu-Szu-Chi to Contributors list

@Tu-Szu-Chi, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?
We’ve added a tweet feature to our web app recently. Can you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


mysql container error, developing on M1 mac

Describe the bug
./gradlew quickstart leads to "container mysql error"
To Reproduce
Steps to reproduce the behavior:

finish ./gradlew build
./gradle quickstart
see such error

Expected behavior
run datahub locally
Desktop (please complete the following information):

OS: MacOS

I am unable to reproduce this error on an M1 mac. Can you include more information on why the mysql container fails?

Suggest reaching out on slack for debugging. Thanks!


Dynamic set height of Popover content area

I'm using the Popover React component to embed my Typeform forms. I was wonder what is the recommended way to make the content area of that component to take more of the height of the screen. CSS, Props, etc.
I can see that by default it has styles that sets the minHeight to 360px. I've tried using the height prop, but that takes a number. The net result that I'm looking for is to have the Content Area of the Popover default to larger height (if available), but also retain the minHeight setting. It seems that I need to be able to set some % value for be able to use calc.
Any help or pointers would be appreciated.

I investigating trying to set height prop dynamically and it causes the form to restart.

Unfortunately if you change props the container is re-rendered which means in case of iframe the content is reloaded (and form restarted).
however you should be able to set custom height. This seems to be a bug, thank you for raising this.

@mathio I was able to set height prop just fine. However, what I wanted to accomplish was to have the Popover take a percentage of the height, particularly in desktop mode. My current solution is to pass height=500 go give the Popover some room.

Sorry for misunderstanding this.
This could be accomplished by making a new pull request and updating the types and the method setElementSize to accept both integer and string.
Something like this:
if (typeof height === 'string' && (height.match(/^\d+(px|%)$/) || )) {
  element.style.height = height
} else {
    element.style.height = `${height}px`
}

I will push this to my team backlog, however I can not promise any deadline.
However feel free to open a PR if you'd like and I will do my best to review it ASAP.

:tada: This issue has been resolved in version @typeform/embed-v4.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to add eoscpp to the PATH?

What's the meaning of "${CMAKE_INSTALL_PREFIX}/bin is in your path."?
Does it means I can call eoscpp under any path, How to add to the path?

Move eoscpp to the /usr/local/bin/
/usr/local/bin is for normal user programs not managed by the distribution package manager, e.g. locally compiled packages. You should not install them into /usr/bin because future distribution upgrades may modify or delete them without warning.
/usr/bin is for distribution-managed normal user programs.
/sbin, as distinct from /bin, is for system management programs

I moved the eoscpp executable to /usr/local/bin/ and this didn't work for me.  I was getting errors about /share/skeleton not existing, so I created the directory and eoscpp -n hello worked for me, but there isn't anything in my hello/ directory.  Obviously something is supposed to be in the /share/skeleton/ directory, and obviously I'm not supposed to create it myself.  Any insight into how I can get this working?


Disable co_varnames identity check on Python 3.11

CPython no longer stores the varnames tuple. Instead it stores it
as part of a larger list of names and calculates it dynamically
on request.

Thanks


Features/support structured append

Dear @cozmo
jsQR has not supported "Structured Append QR Code" yet.
I implemented code about it.
Could you check my code and accept my pull request?

+1

I just noticed this after I implemented it from scratch myself in #132. Sorry @vertical-axis! It seems like the core of our patches are identical, but I'm going to leave mine open becaue it seems like yours has fallen behind the master branch.
We could merge our tests together: you wrote a unit test, I wrote an end-to-end test that uses structured append to reassemble fragments. I think they're both helpful :)


Dragging doesn't work

Current behavior
You can drag the header columns, but the body column stay untouched.
Expected behavior
After finishing the drag movement, body columns should be reodered if needed.
Reproduction of the problem
The bug is easily reproduciable on current master.
NOTES
After a bit of debugging, seems like the events from 'draggable' are not emitted into 'orderable' directive. this.drags is empty when it subscribes to the events. I tried using this.drags.changes.subscribe(() => { ... } instead, but it doesnt help at all.
Any ideas how to fix it?

Was this addressed in a PR?

No, I didnt make anything to fix it yet.

I found exactly the same problem, added a new issue in the issue queue as I missed this one from the issue list when I searched for existing issue regarding this, sorry about that.
My debugging took me to the exact same spot, this.drags is empty which makes the events from 'draggable' not emitted to 'orderable'. Any possible fix for this guys?
By the way, great work on the project.

This should be fixed in latest, I do not see it happening

This still happens if use custom template like

<i class="fa fa-filter clickable" (click)="showColFilter(col, $event)">
<span class="clickable col-title" (click)="sort()">{{column.name}}

If I remove this drag works !


Move ADRs to git directory

As a result of internal meeting we want to move ADRs for this repository from Issues labeled as decision to docs/contributor directory.
/area documentation
todo:

[x] Create docs/contributor/adr directory
[x] Port all ADR issues for project to files, starting incrementally from the oldest to the newest
[x] Follow naming format starting from0000-adr-title.md
[x] Use https://github.com/kyma-project/istio/blob/main/.github/ISSUE_TEMPLATE/adr.md as a default template

/close


Performance issue when first time execute the rule validation

I have integrated the RulesEngine in one of my projects. Each call will new a RulesEngine and a Workflow to do the rule validation.
However, I found the first rule execution always have lower performance (about 200 ~ 300 milliseconds) and the following executions comes to normal (10 ~ 30 milliseconds).
Since each execution is executed by new RulesEngine, I don't understand why the first execution always have lower performance? Any idea how can I improve it? Thanks.

Closing this isssue due to inactivity


Secondary pod memory reaching limit at off peak.

I have set a request of 4gb and limit of 8gb for my mongodb statefulset. Overnight the pod seems to be reaching the max limit until we start another environment on the same cluster at which the memory drops about 3gb. Not sure why the pod is using so much memory overnight off peak and dropping when another environment is started.

Hi,
Do the logs show any meaningful information? Did you perform any change in the configuration? Not sure if there is a maintenance setting/task that could explain that memory increase.


[v2] Added Azure Log Analytics scaler

Checklist

[X] Commits are signed with Developer Certificate of Origin (DCO)
[X] Tests have been added
[X] A PR 244 is opened to update the documentation on https://github.com/kedacore/keda-docs
[x] Changelog has been updated

This Scaler related to Feature Request 1061
It implements all features and use-cases described there.
Signed-off-by: Sergiy Poplavskyi<EMAIL_ADDRESS>

Can you update https://github.com/kedacore/keda/blob/v2/CHANGELOG.md as well please?

Can you update https://github.com/kedacore/keda/blob/v2/CHANGELOG.md as well please?

@tomkerkhove , thanks for pointing, added in last commit

@spoplavskiy thanks for the contribution! I don't feel confident enough to review Azure related scalers, will keep it for the others. But I wonder whether it is doable to add e2e test for this type of scaler?
https://github.com/kedacore/keda/tree/v2/tests

@zroubalik , yes, I can try. The thing is, that Log Analytics workspace should be created on Azure subscription, used by your build pipeline. Also, a Service Principal should have access to this workspace. I see in ".env", that there is variables, related to Service Principal. Can I introduce "TEST_LOG_ANALYTICS_WORKSPACE_ID" variable? I will commit empty value (same, as others), but it should be created and added in Build Pipeline.

Great! I think that @ahmelsayed or @jeffhollan could help you with that

Great! I think that @ahmelsayed or @jeffhollan could help you with that

@zroubalik , I have added E2E tests from Log Analytics scaler. Also, added support for 'FromEnv' definitions. I had a conversation with @ahmelsayed, provided him all required scripts to create LA workspace and grant access to Service Principal on subscription, used for tests.

Great! I think that @ahmelsayed or @jeffhollan could help you with that

@zroubalik , I have added E2E tests from Log Analytics scaler. Also, added support for 'FromEnv' definitions. I had a conversation with @ahmelsayed, provided him all required scripts to create LA workspace and grant access to Service Principal on subscription, used for tests.

Thanks @spoplavskiy!

@spoplavskiy this is great, e2e tests are really important, thanks! I'll keep the final review on @ahmelsayed
Just a minor nit, could you please rebase the PR, there's a conflict in the Changelog.

@spoplavskiy this is great, e2e tests are really important, thanks! I'll keep the final review on @ahmelsayed
Just a minor nit, could you please rebase the PR, there's a conflict in the Changelog.

@zroubalik , done. But now it looks like I break static check. For some reason "pre-commit" tool thinks, that I have changed test file fully, and fails on check. Is that OK in this case?

Minor nits on logging

@zroubalik , thanks for pointing. All your suggestions has been implemented in last commit.

I added the required secret to the pipeline. Just have a couple of minor comments on the PR.

I added the required secret to the pipeline. Just have a couple of minor comments on the PR.

@ahmelsayed , thanks!


When installing yay, makepkg asks questions

When:

Installing go
Installing yay

This still applies after switching to pikaur


Problem with crypto

Hey @mafintosh,
I am having a trouble using this module with crypto cipher/decipher.
Basically,
const crypto = require('crypto')
const lpstream = require('length-prefixed-stream')

const cipher = crypto.createCipher('aes192', 'a password')
const decipher = crypto.createDecipher('aes192', 'a password')

const encode = lpstream.encode() // create an encode stream to send data
const decode = lpstream.decode() // create an decode stream to receive data

encode.write('hello world')
encode.write('hello world_2')
encode.write('END_OF_STREAM')

decode.on('data', function(data) {
  console.log(data.toString())
})

encode.pipe(cipher).pipe(decipher).pipe(decode)

it only prints hello world. decode seems  not receiving the last two encode.write() operations.
Any idea?

is aes interactive? otherwise you might have to call encode.end() for it to flush

What aes interactive means? Anyway, if I call encode.end() works. Since I am going to use this with utp by the way, I cannot call encode.end() otherwise it will end the connection before that the data is fully transmitted. Need to find a workaround, probably sending END_OF_STREAM three times, or something like that, even if it's ugly. Do you have a better strategy?

Update my comment above. My bad. All good with it.

did you get it to work?

Calling encode.end() in my example definitely makes the job. But when I get in my real case, sometime works and sometimes it doesn't. I send you more details tomorrow, and let's see if you can help me out :-) Time to go to sleep for me. 2.15 am here in London.

@mafintosh if I flush the stream, yes it works. To flus by the way I have to call .end() method as you said. The problem, which I am not sure if it's a real problem, it's a problem for me because of Error: UTP_ECONNRESET (Remember?).

@mafintosh just found a workaround which seems a very clean solution btw.
   readableStream.on('data', chunk => {
      encoder.write(chunk)
    })

    readableStream.on('end', () => {
      encoder.write('END_OF_FILE')
      encoder.end()
    })

    encoder.on('data', chunk => {
      cipher.write(chunk)
    })

    encoder.on('end', () => {
      cipher.end()
    })

    cipher.on('readable', () => {
      const chunk = cipher.read()
      if (chunk) utpSocket.write(chunk)
    })

This works, and the uptSocket is closed server side once the server receive the END_OF_FILE. Does make sense to you?


Fix navbar alignment issues

Related Issue
None
Fixes:  #3358
Description
I fixed the alignment issues in navbar in About Us Page where the text overlaps the logo in the navbar and made the dropdown beautiful
#3358
Type of PR

[x] Bug fix
[x] Feature enhancement

Screenshots / videos (if applicable)
BEFORE

AFTER

BEFORE

AFTER

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

the dropdown change has not been done on the  logIn / sinUp page . Plz chk all pages .

changes were not resembling @Ashish-Patnaik

well i only fixed for the the about us page so should I change for all pages

I kept u screenshot of about us page only work with updated branch since I made many changes to website raise new PR


[* DateTimev2] Single quote before 2 digit year improvement

@tellarin Hi Borje, I'm having an issue with this fix and was wondering if you would be more familiar with .NET.
While the regexs I changed in https://github.com/microsoft/Recognizers-Text/pull/3057 are working for .NET and python, the changes in this PR to those same regexs don't seem to work for .NET.
Testing this on a .NET regex tester show they should be working.
Any suggestions or direction would be greatly appreciated - thanks!

Hello @tellarin, would you be able to review this pull request whenever suits? Thanks!

Hi @tellarin, would you be able to give this a review whenever possible please, thanks!


split eth comma separated address list only allows one name to resolve, forcing to copy paste a list from elsewhere

when attempting to write in more than one address or ens, the field becomes dead after one address resolves. forces users to copy and paste a list that they have to make elsewhere.
this should allow users to write in addresses and ens in many formats. comma, comma space, type and hit enter, etc.
maybe more like this and if the amounts are equal there is a little radio button at the top that makes them all the same?

added some delay on input , it will solve this issue.


feat(docs): import cheatcode tutorial

source: https://github.com/foundry-rs/foundry/commit/ddd6be4d8e25423a43d7a2c2af553e12a6e4d682

let's update this to use import forge-std/Test.sol and make the example work with contract FooTest is Test? And we can link to the cheatcodes reference instead of bringing in the entire interface Vm

ACK - closing and @sambacha if you want to add something, please extend q


Turn Logging off

Hello i will prevent my SD card from damage and will turn complete loggin off in HA-Bridge.
But i dont know how i can turn all logging off ....
Some message from java runns in my syslog ..

Same question here.
Also it's not clear for me, how the log level can be controlled.
I changed it to WARN, but this setting seems not to be persistent.
I still get a flooded log with:
" INFO | The requested route [/(null)] has not been mapped in Spark for Accept: [null] "
habridge 5.1.0
Thank you

I agree with this suggestion/question, for the same reasons, both having an SD-card as having the The "requested route [/(null)] has not been mapped in Spark for Accept: [null]" flooding my log on ha-brdige 5.1.0.

The /(null) will go away in the next release, so this won't be an issue.

how do you disable the log now?

Read the previous post on setting the program output on the command line with /dev/null


HEVC 10 bit decoder is broken with the latest driver

driver: e0227fae06ccf9aaadd16543fd84817b485e1986
msdk: b284aaf032d130256dd57301361aaa39208f5b0c

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC->Init failed at /localdisk/bb/worker/build-api-next/build_dir/repos/MediaSDK/samples/sample_decode/src/pipeline_decode.cpp:437

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), main, Pipeline.Init failed at /localdisk/bb/worker/build-api-next/build_dir/repos/MediaSDK/samples/sample_decode/src/sample_decode.cpp:666
plugin_loader.h :212 [INFO] MFXBaseUSER_UnLoad(session=0x0x55647effa1e0), sts=0

It's broken since this commit : https://github.com/intel/media-driver/commit/d40ce38d40da34e06fd2003d31b9be99d323046d

@XinfengZhang, + @xhaihao

@dmitryermilov I am still experiencing this issue with the latest media driver and msdk
media driver: e0227fae06ccf9aaadd16543fd84817b485e1986
msdk: 7ca2c5bf72eb822b0fe32b3a1680abbce1d8fe51

Hi @xhaihao ,
I'm sure it worked fine with the fix. Let me double check tomorrow.

@dmitryermilov yes, it works.
The install path for samples was changed from {prefix}/samples/ to {prefix}/share/mfx/samples, but I still used the stale one for testing, sorry for the noise.

Ahh. I see. Thanks for confirmation!


[REF] Manually verify ID token using PyJWT instead of google_auth

Closes #385
Related to https://github.com/neurobagel/federation-api/pull/139

Changes proposed in this pull request:

Switch to using PyJWT library to 'manually' verify ID tokens based on provided IdP public keys, issuers, etc.
Switch to Auth0 as IdP

Checklist
This section is for the PR reviewer

[x] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[x] PR has a label for the release changelog or skip-release (to be applied by maintainers only)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass
[ ] If the PR changes the SPARQL query template, the default Neurobagel query file has also been regenerated

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

Summary by Sourcery
Replace Google ID token verification with manual verification using PyJWT, updating the security module to use PyJWT for token decoding and verification. Update the OAuth2 authorization URL to use Auth0 instead of Google. Modify the requirements to remove google-auth and add necessary dependencies for PyJWT.
Enhancements:

Replace Google ID token verification with manual verification using PyJWT.

Build:

Remove google-auth from requirements and add PyJWT, cffi, and cryptography packages.

https://github.com/neurobagel/query-tool/pull/380 is merged, @alyssadai you can merge this too


SvelteKit release candidate migration: blog

The acmcsuf.com blog is a collection of endpoints that represent a blog platform.

Migrated /blog.json and /blog/:id.json to /blog/:query.json endpoint
Migrated /blog page endpoint
Migrated /blog/:id.txt endpoint
Migrated /blog.xml to /feed.xml endpoint

Replaced by mega-PR #577.


Chore: add CEL and Tink to shared dependencies.

b/351904228

/gcbrun

downstream check failures in java-bigtable and java-spanner are known issues, unrelated to this pr.


Uninitialized constant

Following the instructions in the README for per-process stats:
after_fork do
  require 'prometheus_exporter/instrumentation'
  PrometheusExporter::Instrumentation::Process.start(type:"web")
end

I first received uninitialized constant PrometheusExporter (NameError)
And then once I added require 'prometheus_exporter'
I got uninitialized constant PrometheusExporter::Client (NameError)
So I could add  require 'prometheus_exporter/client'
But this seems silly. Should the files be updated to require their own dependencies or am I doing something totally wrong here?

I hear you, but I kind of resisted autoloading here and was trying to keep stuff as slim as possible. There is a balancing act here.

I wasn't thinking auto loading, just requiring client in process.rb and the root module in others. If you're meant to require things a la carte, then they should bring with them their own dependencies.
Again, or I'm missing something about how the library is intended to be loaded.

Any chance you can do a PR of your proposed change here?
On Wed, Jul 31, 2019 at 11:40 AM Zachary Belzer<EMAIL_ADDRESS>wrote:

I wasn't thinking auto loading, just requiring client in process.rb and
the root module in others. If you're meant to require things a la carte,
then they should bring with them their own dependencies.
Again, or I'm missing something about how the library is intended to be
loaded.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/discourse/prometheus_exporter/issues/81?email_source=notifications&email_token=AAABIXJBLI4H3M2ONTQLBQTQCDUP5A5CNFSM4IHX5ULKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FZKAQ#issuecomment-516658434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAABIXKQPQKMPIF22DUFOA3QCDUP5ANCNFSM4IHX5ULA
.

Clearly I got distracted, but this was it: https://github.com/discourse/prometheus_exporter/commit/3614e77f3b3a8039d6f46a440395911e3f6861dc


Custom Metadata Configuration

It would be great if we could configure these module services in metadata

We can have this feature, since the service registrations are built on class string names.


Winrar sometimes doesn't know if the file in the archive is compressed.

I have never seen such a problem on a clean Windows 11. I tried to find what was causing this problem, I thought that maybe disableLastAccess 1 is the cause . But setting it to 2 did not solve the problem. Most likely some parameter is setting something wrong, but I'm not smart enough to figure out the cause of my problem.

If necessary, I can install the English version of winrar to make it clearer for you.

Yes, please install English WinRAR and I will see if I can figure out where the issue might be.

Here is English version. This archive is different from the one above.

Although this is a minor problem that can be forgotten, it is still a problem. I use a slightly smaller autounattended file, which leaves some Windows applications and removes other tweaks, but even after checking it up and down, I still haven’t found the root of the problem. I'll leave this issue open for now, maybe someone will read it and understand why this is happening.

You live and learn. I asked the same question as here to the Winrar developer and there is his answer:
Some archive formats do not provide information about the packed size of a single file. In this case, WinRAR shows a question mark instead of the packed size. This does not mean that there is a problem with the archive.


Implement custom_window_frame resize support example

It includes a convenience helper Into to map ResizeDirection to CursorIcon in Egui crate.
This is tested on linux with glow and wgpu.
Glow has a render glich best show by a video.
Glow Screencast
Where wgpu works fine
Wgpu Screencast
Closes https://github.com/emilk/egui/issues/3761

On macOS, custom_window_frame is already resizable on master.
I suspect adding .with_resizable(true) to the ViewportBuilder is not enough on Linux?


chore: tidy services in project file

Remove the content of the removed wasabi service.

Could you link to the PR or commit we remove wasabi service?

Sure


Bring back holding down the Windows key for shortcut guide please

Description of the new feature / enhancement
The shortcut guide is now almost useless now that you have to set and remember some special shortcut for it. Originally it all you had to do was hold down the Windows key before clicking a shortcut and it would pop up with the shortcut options. Please change it back to just holding down the Windows key button.
Scenario when this would be used?
Anytime you are going to use a shortcut with the Windows key and hold it down to have the shortcut guide pull up.
Supporting information
No response

Closing as a duplicate of #11963


Add continous query(listener with predicate) to RawPointerMap.

Added continous query(listener with predicate) to RawPointerMap.

The branch incorrectly set under origin, Re-doing the PR (opened PR #126 ) using branch at ihsandemir.


Added gitter

added gitter link
scanpyhelp
I created a gitter.im scanpy community chat room for users to more rapidly ask questions that are more appropriate to ask in a forum-style rather than filing issues

We’re still waiting if we can get gitter.im/scanpy, see #542
If we can, I’d prefer to not make gitter.im/scanpyhelp a thing.
Let’s reopen this once we know how the gitter community will actually be called.


gnome-documents: 3.30.0 -> 3.30.1

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

News

Ping-- is this something we'd like to see merged soon, is it blocking on a discussion or solution?
No worries regardless just making sure it's handled accordingly :).

Updated to 3.32 in #57027.


v1.0.0 versions not pushed to Plugin and Content Manager

FYI the latest versions are not available in the Plugin and Content Manager. I guess you can somehow get this done by request.

Yes, I know, tnx.
The reason is that KiCad developers won't look at PR's if they do not pass the CI pipeline (even if you run the pipeline locally on your machine); And Gitlab requires a credit card to run pipelines. I am looking for someone with an verified Gitlab account to run the pipeline so the PR's would be accepted.

Thank you for asking.
I am happy to see that they are not requiring developers to run CI on Gitlab.
De facto, I think that is not the case. I am running their local package test they wrote on every release, and state in the PR I've done it. They do not address PR that are not flagged as passed the online CI pipeline unless you start a conversation on each PR.
I will make a new PR for the latest release and see how it will go.

https://gitlab.com/kicad/addons/metadata/-/merge_requests/113

Well, it worked.
It got merged by the developer your talked to.


Update Dockerfile

This commit updates the Dockerfile to use the new base Docker image, which contains Node 8.12.0

Already applied by #439


Added readme link to step-by-step instructions for local build

I added a link to some step-by-step instructions written here: https://github.com/brennan-v-/hello-elm-startapp
But maybe you'd rather it be forked into here? https://github.com/evancz/elm-examples

Sorry for the slow reply. Things are different with 0.17 now.


DX for typed events

Hey @devanshj, when using types events, I'm getting a confusing error message. Here's a sample case:
1 - I have a types "UPDATE" event that requires a string value
2 - When trying send({ type: "UPDATE" }) it gives me an error (right, it is missing the value)
3 - Problem is, the error says Type '"UPDATE"' is not assignable to type '"some other type"':
Here is an example (the examples/form with this added send on line 57:

I understand that TypeScript is showing one example of a correct possible value - but since you apparently can bend TypeScript to your will 🤪, can anything be done here?

you apparently can bend TypeScript to your will 🤪

HAHAHAHA this is 100% going to twitter xD
Could you send that code? I can't repro minimally.

This is most probably a bug, so i'll report it to typescript team, meanwhile let me see if I can send a workaround

The repro is simpler than I thought xD I was guessing it takes time to compute hence typescript was showing bad errors

you apparently can bend TypeScript to your will

Stands true ;)

sending a PR

I'll publish the beta after we merge this then.

For reference and reminder to revert overloads when #45217 gets fixed.


Include trimming in GalSim benchmark script

Part of the cause of the infamous "epsilon > 0 crashes" might be the fact that the benchmark images are large compared to the size of the galaxy (in some cases more than others) and therefore include pixels very far from the light source which usually would be trimmed out. In order to make the benchmarks more efficient, they should use the same trimming code that is ordinarily used.

I added a simple call to trim_source_tiles!(). Remains to investigate whether it is doing exactly what we want it to do.
https://github.com/gostevehoward/Celeste.jl/commit/0a6c87195db06fb6e61fbcbb93712be261e13db4

Can we close this issue @gostevehoward ? (Was it part of your recent PR?)

Sure. I added trimming but never checked whether it was working properly on these tests. But I think the original motivation for caring about this (the epsilon = 0 thingy) isn't bothering anyone now so let's not waste time on it unless something comes up again.


Getting Started With Debugging In Android Using Chucker

Article checklist
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

This closes #5579

Hello @Hepatrique,
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
Getting Started With Debugging In Android Using Chucker #6673 Copyleaks Report.pdf

@Kayere, can we run another plagiarism check, thanks.

Hello @WanjaMIKE, and @Dawe-7  I think the flags are raised on the code which I cannot change then it is also below 10% as per the rule.

Hello @WanjaMIKE, and @Dawe-7 I think the flags are raised on the code which I cannot change then it is also below 10% as per the rule.

@WanjaMIKE, is this article ready for review or do we need to run another plagiarism check?

@Hepatrique could you correct the few sentences showing some plagiarism. I shared the report. You can leave the boilerplate code. Thanks

Hello @WanjaMIKE , and @Dawe-7 , I have done the changes as suggested and I now hope the article is ready for review.

I think, they are enough. You can proceed with the review. Thanks

Hello @Dawe-7 , I have done the correction, it was a typo error and it ought to be invokes.

Hello @Dawe-7 , I have done the correction, it was a typo error and it ought to be invokes.

@Hepatrique

Hello @Dawe-7 , I have done the correction, it was a typo error and it ought to be invokes.

@Hepatrique, kindly ensure you effect all the changes requested.

@Dawe-7 , I have done the suggested changes

@Dawe-7, kindly proceed to the final review. I have tried resizing the images as suggested. Thank you!!!

@Hepatrique
@Dawe-7


Squash commits in branch gh-pages

To reduce repo size, the branch gh-pages should be squashed to a single commit.  This should be done once to remove the current history, and also done every time the branch is updated with new docs.
Here's the current size of the branch:
$ git clone https://github.com/azure/azure-sdk-for-js --branch gh-pages --single-branch js-gh-pages
Cloning into 'js-gh-pages'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1180597 (delta 0), reused 0 (delta 0), pack-reused 1180596
Receiving objects: 100% (1180597/1180597), 2.16 GiB | 26.47 MiB/s, done.
Resolving deltas: 100% (1137624/1137624), done.
Checking out files: 100% (29488/29488), done.

Here's the size after squashing to a single commit:
$ git clone https://github.com/mikeharder-org/azure-sdk-for-js --branch gh-pages --single-branch js-gh-pages-squash
Cloning into 'js-gh-pages-squash'...
remote: Enumerating objects: 10407, done.
remote: Counting objects: 100% (10407/10407), done.
remote: Compressing objects: 100% (937/937), done.
remote: Total 69653 (delta 10051), reused 9471 (delta 9470), pack-reused 59246R
Receiving objects: 100% (69653/69653), 75.96 MiB | 11.26 MiB/s, done.
Resolving deltas: 100% (57719/57719), done.
Checking out files: 100% (29488/29488), done.

Fixed the issue by rewriting history :

starting from a commit (moved to a fixed branch - gh-pages-root)
Making changes (copying the artifacts) to a local new branch (branched off of gh-pages-root branch which contain only 1 file - an empty .nojekyll file)
commit these changes
force pushing the changes from this branch (local) to gh-pages (upstream)

With these steps, changes are always force-pushed to gh-pages branch and it always contains only 1 commit in history => and that is the latest change in docs
These exact steps are reiterated each time the release pipeline is run.
An initial manual execution of these steps was required because the build pipelines couldn't run due to the enormous size of the repo + artifacts that it was running out of storage space of the agent allocated.
@weshaggard @mikeharder


[openssl] Fix OpenSSL version number

PR #1344 had a typo in the version number - 'two one' instead of 'two L'.  This fixes it.  I'm not sure what's the best way to handle this situation, but the issue should either be fixed quickly or have some more complicated solution.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Agreed, thanks for providing the quick fix!


Fix tox factor name to actually run tests.

While attempting to start work on #24, I've noticed that all tox envs are green but... tox doesn't actually run the tests. This PR fixes factor name in tox.ini so that the proper commands are executed.

Travis build failed due to hard dependency on RabbitMQ which doesn't seem to be set up in .travis.yml. But let me tackle that later.

Travis build failed due to inaccessible RabbitMQ management API.

😳
Thanks for fixing this! Looks like we're now being bitten by https://travis-ci.community/t/is-rabbitmq-service-down/4362/2
Adding dist: trusty to the travis conf should fix it.

Thanks Matt, I got the tests to run. Well, not on Python 3.4 as PyYAML doesn't support that version anymore. In other cases the tests run, but I'd argue that getting them to pass should happen in another issue/PR.

Closing thiis as Travis CI isn't relevant anymore. Will try to port CI for nameko-sentry to Github Actions in another PR.


Know posix path locator

Codecov Report

Merging #14184 into main will increase coverage by 0.01%.
The diff coverage is 88.70%.

@@            Coverage Diff             @@
##             main   #14184      +/-   ##
==========================================
+ Coverage   59.96%   59.97%   +0.01%
==========================================
  Files         706      709       +3
  Lines       39183    39240      +57
  Branches     5683     5687       +4
==========================================
+ Hits        23495    23536      +41
+ Misses      14465    14462       -3
- Partials     1223     1242      +19

Impacted Files
Coverage Δ

.../pythonEnvironments/common/externalDependencies.ts
53.33% <ø> (-7.28%)
:arrow_down:

...rc/client/pythonEnvironments/common/commonUtils.ts
80.00% <80.00%> (ø)

...covery/locators/services/posixKnownPathsLocator.ts
88.88% <88.88%> (ø)

src/client/pythonEnvironments/common/posixUtils.ts
93.33% <93.33%> (ø)

...discovery/locators/services/windowsStoreLocator.ts
100.00% <100.00%> (ø)

...very/locators/services/virtualenvwrapperLocator.ts
76.92% <0.00%> (-15.39%)
:arrow_down:

src/client/common/utils/platform.ts
60.00% <0.00%> (-12.00%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


raft: add RawNode test case for #6866

Hi,
This PR adds the test case in #6866 for RawNode.

Current coverage is 63.82% (diff: 100%)

No coverage report found for master at f99c76c.

Powered by Codecov. Last update f99c76c...aaa739a

I cannot open the link for details of jenkins-ci build failure. I don't know what is wrong there.

lgtm. The CI failure is irrelevant.


Support Cross-database references in views (#2899)

Description
Support execution of views which references objects (tables/views/functions) from across the databases. Here we are talking about Babelfish logical database (T-SQL database) which is different from a physical Postgres database. To support this, perform permission checks for cross database objects using session user (login) instead of current_user (user of current T-SQL database). The reason login can be used for permission check is since login is member of all it’s users, so it inherits all their permissions so it will be able execute any cross database objects owned by its users.
This commit handles functions and tables/views separately for cross database permission checks. For functions/procedures, a new hook ExecFuncProc_AclCheck_hook and for tables/views existing ExecutorStart_hook will be used to decide whether to use session user or current_user for permission check depending upon whether the object is from same or different database. We will be using is_schema_from_db function to identify if the object is from different database which performs a lookup into babelfish_namespace_ext catalog table which can be expensive as will be doing it pretty frequently. So, added this table into SYSCACHE for better performance. Tables/views permissions are handled slightly different than functions as we do not blindly want to check the permissions against session user (current login) since permissions of RTEs inside a view are checked against that view's owner which can very well be a user of some different database. So if we blindly check permission against session user instead of view's owner then it would break view's ownership chaining. Instead, we will replace checkAsUser with it's corresponding mapped login if present and only in cases where checkAsUser is not set, we will replace it with session user (login). We are using login to allow cross database queries since login can access all its objects across the databases. Getting mapped login to a user require lookup into sys.babelfish_authid_user_ext catalog table using its primary key column (rolname) so added this table is also into SYSCACHE.
Additionally, remove previous code to globally set current user to session user since newer logic takes care of the permission check now.
Task: BABEL-5206
Signed-off-by: Rishabh Tanwar<EMAIL_ADDRESS>Engine PR: https://github.com/babelfish-for-postgresql/postgresql_modified_for_babelfish/pull/443
Test Scenarios Covered

Use case based -

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

76 of 79 (96.2%)  changed or added relevant lines in 2 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.003%) to 73.706%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contrib/babelfishpg_tsql/src/catalog.c
44
45
97.78%

contrib/babelfishpg_tsql/src/hooks.c
32
34
94.12%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tsql/src/dbcmds.c
1
73.66%

contrib/babelfishpg_tsql/src/catalog.c
5
84.99%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.003%

Covered Lines:
42832

Relevant Lines:
58112

💛  - Coveralls


Constraint Name should be optional and generate a unique name

The documentation for constraints in dbt specifies that the name property is optional. If the name is left out of the definition dbt-fabric throws the following exception.
Database Error in model model1 (models\gold\datamart1\dimensions\table1.sql)
Constraint name cannot be empty. Provide constraint name  - column column1_hk and run the project again.
compiled Code at target\run\project1\models\gold\datamart1\dimensions\table1.sql

This was more of a problem when Fabric Data Warehouse prohibited using the same constraint name on multiple objects. This limitation appears to have been removed, at least in regard to tables in different schemas. However, it does not follow the standard and users changing platforms may have issue with this.

@bebemn , good point, let me take a look into this.

@bebemn , I am closing this issue because of DW limitation. This behavior is inherited from other Microsoft SQL engines, which won't be possible.
Please create a new issue to propose a good naming convention for a constraint.


Routing proto revision

Goal:

remove all mentions of clusters, tags, "source"
align with existing service model.

Responded to feedback from @rshriram:

not all destination policies can be applied to service versions; for now, we apply policies to all service instances
added fault injection policy back
renamed to service version, origin to source
clarified multi-port service situation; match attributes are specific to each protocol in the rule
added precedence field to rules

I have a question about ingress: are we planning to represent ingress resource as a routing rule or should we keep them separate?

An attempt to capture ingress routing as well:

add optional destination to destination-weight for ingress
add "cluster.local" destination option for the route rule
clarify that service names are fully qualified

Made up examples:
destination: svc.cluster.local
http:
  uri:
    prefix: /service/v1/
route:
  - destination: service.default.svc.cluster.local
     version:
     env: staging

destination: a.default.cluster.local
route:
  - version:
       env: staging
     weight: 5
  - version:
       env: prod
     weight: 95

Changes:

add CB policies
replace all uints with ints
qualify policies by HTTP prefix when they only apply to HTTP traffic
replace HTTP match attributes with just a map


Consider supporting libraries other than React

Vue, Solid, Svelte, Preact and Web Components.

Hey, I'd love to see a Svelte implementation. Is this in the pipeline? How could I help?

Hello.
It's not in progress yet due to priority, however we could maintain if someone contributed rough implementation.

For everyone interested in it:
This library is basically constructed with src/core (core logics, virtualization state, scroll handler and resize handler) and src/react (React components, including markup, styling and React specific implementation).
So we should create src/svelte and Svelte component in it if we need Svelte binding. And we have to replace React's APIs connecting to core (useState, useRef, useLayoutEffect...) with Svelte's similar in it. Of course this repo has no setup for typechecking, testing, building and publishing multiple frameworks but we can make it later...
And I think it's ok if VList for Svelte had different API or features from VList for React, because every frameworks expose different APIs and they may not be compatible.

Closing because Vue adapter was released in #282.
If anyone is interested in supporting other frameworks, please raise a independent issue.


broken links to notebooks on master page

If you look at the following simple example,
https://github.com/artiste-qb-net/quantum-fog/tree/master/jupyter-notebooks/nbrun-example
the links to the notebooks that are generated by running the master notebook are broken (the links don't normally work on github. You have to run the notebooks on your computer to see what I mean).
P.S. Thanks a lot for your very useful module.

Links work only under certain circumstances due to limitation of the notebook being a browser app.
In particular, I found that links work if:

path arguments for template notebook and output folder are:

in a subfolder of where jupyter notebook was started,
relative paths, starting from the master-notebook folder.

the current working directory in python is where the master notebook is.

Point 1 is needed because the ipython kernel can access the whole file system, while the notebook app can only see folders inside its startup folder. The notebook will consider its startup folder the "root" (thus the need to use relative paths).
For point 2,  seems like IPython.display.FileLink() creates a link relative to the current folder the calling notebook is in. So the link works only if the current working python path (pwd) is the folder containing the master notebook. I need to investigate if this is the expected behaviour or a bug in ipython.

Can you assemble the link yourself instead of using FileLink?
You can use getcwd() to get python cwd and ask for paths of master and template notebook relative to python cwd. I have noticed like you said that regardless of python cwd, the html part of a notebook thinks of itself as ./

I suspect that the issue is related to relative links in html&browser. A relative link seem to be relative to the page url. Even assembling the link by yourself, a relative url is resolved by the browser starting from the "folder" of the current page.
Afterall, the FileLink implementation is very simple:
https://github.com/ipython/ipython/blob/d1a99b1639f32fd45496baf5ebc2a557f8a665ed/IPython/lib/display.py#L299
I'll ask the ipython folks if they have any advice. But if you think about it, having relative links that are relative to the current page makes sense. Does not matter where nbrun is installed but the relative position of master, template and output notebooks need to be fixed (and within the jupyter notebook startup folder).

I found an old issue on ipython that confirms my explanation:
https://github.com/ipython/ipython/issues/8053

Gazie for thinking about it Antonino!
In the example that i linked to in my first post, if I add to
the master notebook a MARKDOWN cell as follows
link to out_0_a
It gives a link that works. Alternatively, a MARKDOWN cell
[link to out_0_a](./example-template-notebook-out_0_a.ipynb)
works too. This assumes that master and templates are in same directory. This is slightly different from generating a link as output, but close no?

Markdown or output cell should be the same. The nbrun links do not work in your example only because your python cwd is not the same as the master notebook folder. Change back your python dir to the master notebook folder and the issue is fixed.
I don't think that allowing arbitrary cwd in python can be easily fixed in nbrun. The kernel is not supposed to know about the frontend (i.e. if it is run through a notebook or a terminal) and so you can get the notebook path only through very hackish solutions.
It is much easier to just document that the user should not change the current python dir in the notebook otherwise the generated links will be broken.

Va Bene. However, one last comment. I can generate links myself as follows. So maybe you can add an option show_links=True which I could set to False if I wanted
from IPython.display import display, FileLink, HTML
def show_link(target, text):
    display(HTML('' + text + ''))

fname = 'example-template-notebook-out_0_a.ipynb'
text = 'look here'
show_link(fname, text)

Va Bene. I just realized that I can do an os.chdir() in order to import nbrun.py
BUT
I must also do a second os.chdir() immediately after importing nbrun.py
to go back to the directory of the master before calling run_notebook()
If I do this, links come out fine


Security: CI/CD pipeline query from Patrick

Ref Slack thread
Report: https://github.com/celo-org/safe-config-service/security/code-scanning?query=is%3Aopen+branch%3Afeat%2Fcelo
Low priority according to Patrick.
@nicolasbrugneaux:

Safe-config-service is only used internally is never exposed externally

Todo:

[ ] Merge upstream changes, then checking if this still applies
[ ] If yes, share report with SAFE team

Closing this issue because it's an upstream issue in the original SAFE repo.


rbac: make it clear that subjects are case sensitive

ref https://github.com/kubernetes/kubernetes/issues/61088

/approve

/lgtm


Macbook Pro 2020 M1, MacOS Monteray v12.6.3
Battery v1.0.4

I just pushed a update that should fix a few issues, could you try to run brew reinstall --cask battery and see if that fixes it?

 brew reinstall --cask battery

some other suggestion?
tnx
I tried as well v1.0.5  - same problem.

Ah yes that is a brew issue that they are trying to fix. Nothing we can do about that for now I'm afraid. Try it again tomorrow.

Ah yes that is a brew issue that they are trying to fix. Nothing we can do about that for now I'm afraid. Try it again tomorrow.

referenced issue is closed, @71m383nd3r try again with brew reinstall --force battery (https://github.com/Homebrew/brew/issues/14504#issuecomment-1417747268)

I tried;
brew reinstall --force battery
 brew install --force battery
still the same problem: Download failed on Cask 'battery' with message: Download failed: https://github.com/actuallymentor/battery/releases/download/v1.0.5/battery-1.0.5-arm64.dmg


UX: implements a dedicated mobile menu for messages

Co-Authored-By: Chapoi<EMAIL_ADDRESS>

![Uploading Screenshot 2022-03-23 at 17.27.08.png…]()


acade.overlap() not working with group children that extend Phaser.Sprite

physics.arcade.overlap() doesn't work between a sprite and a group if the group children extend Phaser.Sprite. It doesn't matter whether you add them to the group using group.add() or set the classType and then add them with group.create(). The sprite passes through the group without triggering the callback and without logging any errors to the console.
Overlap works fine with regular sprites added with group.create() and default classType.
This was introduced around commit 432516fa0ff99b3b6c4080f88ef273707b12c077 or a7db0e2c703fad95ea060d454b60dd4e5aac4ae3 . It works fine with 2.3.0

This should be fine now. Please see this test case here (uses assets from examples repo)
Vegetable = function (game, frame) {

    if (typeof frame === 'undefined') { frame = game.rnd.between(0, 35) };

    var x = game.rnd.between(100, 770);
    var y = game.rnd.between(0, 570);

    Phaser.Sprite.call(this, game, x, y, 'veggies', frame);

};

Vegetable.prototype = Object.create(Phaser.Sprite.prototype);
Vegetable.prototype.constructor = Vegetable;

var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update });

function preload() {

    game.load.image('phaser', 'assets/sprites/phaser-dude.png');
    game.load.spritesheet('veggies', 'assets/sprites/fruitnveg32wh37.png', 32, 32);

}

var sprite;
var group;
var cursors;

function create() {

    game.physics.startSystem(Phaser.Physics.ARCADE);

    game.stage.backgroundColor = '#2d2d2d';

    //  This example will check Sprite vs. Group collision

    group = game.add.physicsGroup();

    for (var i = 0; i < 50; i++)
    {
        var c = group.add(new Vegetable(game));
        c.name = 'veg' + i;
    }

    for (var i = 0; i < 20; i++)
    {
        //  Here we'll create some chillis which the player can pick-up. They are still part of the same Group.
        var c = group.add(new Vegetable(game, 17));
        c.name = 'chilli' + i;
    }

    sprite = game.add.sprite(32, 200, 'phaser');
    sprite.name = 'phaser-dude';

    game.physics.arcade.enable(sprite);

    cursors = game.input.keyboard.createCursorKeys();

}

function update() {

    game.physics.arcade.overlap(sprite, group, collisionHandler, null, this);

    sprite.body.velocity.x = 0;
    sprite.body.velocity.y = 0;

    if (cursors.left.isDown)
    {
        sprite.body.velocity.x = -200;
    }
    else if (cursors.right.isDown)
    {
        sprite.body.velocity.x = 200;
    }

    if (cursors.up.isDown)
    {
        sprite.body.velocity.y = -200;
    }
    else if (cursors.down.isDown)
    {
        sprite.body.velocity.y = 200;
    }

}

function collisionHandler (player, veg) {

    //  If the player collides with the chillis then they get eaten :)
    //  The chilli frame ID is 17

    if (veg.frame == 17)
    {
        veg.kill();
    }

}

Feel free to re-open if you have a test case showing otherwise.

@photonstorm this issue persists if the Vegetable prefab has a body enabled on it's own.
If you add the following line at the end of the Vegetable prefab constructor: game.physics.arcade.enable(this); overlapping or collision won't work
In 2.3 and previous versions this worked.

So basically if you want to init physics in a single entity, and later on add it to a group, collision won't work on a group-level.. Noticed this is also broken in 2.3.1. In 2.3 it works fine

@photonstorm any chance this issue can be re-opened? any idea how I could try to fix this issue?

Yes true, it wouldn't get added to the Group hash if it already had a body. There was no hash in 2.3 hence why it worked there.
However this is now fixed in the dev branch. Here is my updated example showing mixed game object types as well:
Vegetable = function (game) {

    frame = game.rnd.between(0, 35);

    //  Just because we don't want a false chilli (frame 17)
    if (frame === 17)
    {
        frame = 1;
    }

    var x = game.rnd.between(100, 770);
    var y = game.rnd.between(0, 570);

    Phaser.Image.call(this, game, x, y, 'veggies', frame);

};

Vegetable.prototype = Object.create(Phaser.Image.prototype);
Vegetable.prototype.constructor = Vegetable;

Chilli = function (game) {

    var x = game.rnd.between(100, 770);
    var y = game.rnd.between(0, 570);

    Phaser.Sprite.call(this, game, x, y, 'veggies', 17);

    game.physics.arcade.enable(this);

};

Chilli.prototype = Object.create(Phaser.Sprite.prototype);
Chilli.prototype.constructor = Chilli;

var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update });

function preload() {

    game.load.image('phaser', 'assets/sprites/phaser-dude.png');
    game.load.spritesheet('veggies', 'assets/sprites/fruitnveg32wh37.png', 32, 32);

}

var sprite;
var group;
var cursors;

function create() {

    game.physics.startSystem(Phaser.Physics.ARCADE);

    game.stage.backgroundColor = '#2d2d2d';

    //  This example will check Sprite vs. Group collision

    group = game.add.group();

    for (var i = 0; i < 70; i++)
    {
        if (i < 50)
        {
            //  Vegetables don't have any physics bodies
            group.add(new Vegetable(game));
        }
        else
        {
            //  But a chilli has a physics body
            group.add(new Chilli(game));
        }
    }

    //  Our player
    sprite = game.add.sprite(32, 200, 'phaser');

    game.physics.arcade.enable(sprite);

    cursors = game.input.keyboard.createCursorKeys();

}

function update() {

    game.physics.arcade.overlap(sprite, group, collisionHandler, null, this);

    sprite.body.velocity.x = 0;
    sprite.body.velocity.y = 0;

    if (cursors.left.isDown)
    {
        sprite.body.velocity.x = -200;
    }
    else if (cursors.right.isDown)
    {
        sprite.body.velocity.x = 200;
    }

    if (cursors.up.isDown)
    {
        sprite.body.velocity.y = -200;
    }
    else if (cursors.down.isDown)
    {
        sprite.body.velocity.y = 200;
    }

}

function collisionHandler (player, chilli) {

    //  If the player collides with a chilli it gets eaten :)
    chilli.kill();

}

@photonstorm works like a charm! Thanks heaps!! that's great to be able to initiate physics properties in prefab constructors :)


iOS transparency issue

I'm having an issue with transparency on iOS 12.2. I see there are other issues on this topic, some old, some new, some open still, some closed. I didn't discover a solution that is working in my case, so I'm opening this issue.
I have a framework7 vue app running in UIWebView, and show the scanner in the page:afterin event. It works fine and renders fine as long as I don't have any <img> elements in the overlaying <div>. Once I add an <img> element, the screen is either white or black, depending on whether I set the div transparency before or after showing the scanner. If I open Safari Developer Tools on my Mac to inspect the application webview, it will then magically become transparent and everything looks great.
It seems like some iOS or Safari refresh bug. I tried all kinds hacks in setTimeouts to undo and redo styling changes, reorder the operations of showing the scanner and changing css, etc. But nothing helps. Any ideas???

After trying dozens of workarounds, running the following code after calling QRScanner.show() seems to work:
      document.body.style.display = 'none'
      setTimeout(() => { document.body.style.display = '' }, 1)

Is anyone able to articulate exactly why this is necessary? Is this a known Safari bug?
I was experiencing a very similar issue using ionic and tried every CSS hack I could think of. Also noticed when opening safari developer tools it magically became transparent as expected.
The problem only effects iOS 12.2. No issue on other versions or Android.
Would also love to know what changed.
I used your workaround for now. Thank you!

I found a track, under ionic 3, in the component , I have a tag  </ div>, when I apply to this tag visibility: hidden, I well my camera that appears, with my components that pile up, in short, it happens only in IOS, because with android no problem. Sorry for my English.

I found a track, under ionic 3, in the component <ion-nav> I have a tag <div nav-viewport> </ div> when I apply to this tag visibility: hidden, j I have my camera that appears, with my components that stack, in short, it happens only in IOS, because with android no problem. Sorry for my English.

There is a relationship with nav-viewport, ios.

Very perplexed. My ipad is black screen when i use this plugin, what i can do. android is fine.


Script failed to scan birthdays. Error message: eyJ0eXBlIjoiU0NBTl9FUlJPUl9USU1FT1VUIn0=

Script failed to scan birthdays.
Error message: eyJ0eXBlIjoiU0NBTl9FUlJPUl9USU1FT1VUIn0=

I am saying the same error

I am showing the same error. But changes each time I run it.

The issue is solved in https://github.com/zagushka/birthday-calendar-extractor/pull/94


Minio tests are flaky

The minio tests seem flaky, they should be more reliable.

Closing this, as the FS backend that was added is simpler, and hits most of the interesting things thy minio tests were supposed to give us.


Multiple dates in Date Picker

Is it possible to allow multiple date selections in Date Picker?

Not in the same field, you need separate inputs.


Bump kiali dependency to the latest possible version

Dear Tetratelabs Team,
Please up the kiali version in the go code. There is an existing dependency for version 1.43+, but it's being replaced with an older package here:
https://github.com/tetratelabs/getmesh/blob/6089ff183d8b81ac55c89502606347609d444b9b/go.mod#L101
Currently, getmesh version 1.1.5 vulnerability scan comes up with a CVE vulnerability, which is older than 1 year - CVE-2021-20278
https://nvd.nist.gov/vuln/detail/CVE-2021-20278
Please remove the replacement or replace it with a newer version and release it. Thank you!
azuterios

One other vulnerability "CVE-2021-3495" is reported by vulnerability scanner.
Reason : github.com/kiali/kiali
version : v1.29.1-0.20210125202741-72d2ce2fceb5
Fix is available in version : 1.33.0
Kindly update the "github.com/kiali/kiali" version to 1.33.0 to fix this vulnerability

Hello Team, Could you please help resolving this issue. It is impacting the projects that are using this tool , as the Vulnerability scanner are reporting these issues and it is blocking us from proceeding further.

Dear Tetratelabs Team,
This issue has been stale for some time now, could you be able to provide us with an estimate, when the change might happen and if it's possible to happen at all?
Thank you for the support on this!
azuterios


Source IP address for DHCP renewal messages is unset

The source address in unicast DHCPv4 Request packets was found out
to be all zeros address <IP_ADDRESS>. This address is only acceptable if
the destination is a multicast one, where the host in question is
acquiring a DHCP address lease. This is true for the DHCP Discover
and the initial DHCP Request message from the client towards the
server. As subsequent DHCP Request renewal messages are sent as
unicast to the server, the server will drop such packets. As Linux user space never sees the DHCP Request messages sent with source address <IP_ADDRESS>. It will eventually work, as the Zephyr DHCP client restarts the address acquisition procedure with a DHCP Discover, but depending on the situation and DHCP servers involved, Zephyr might loose its address in between or get a new one assigned due to restarting of the DHCP procedure

fix is merged


Analysis workflow erroring out

It looks like the analysis workflow has been failing for at least a few days now: https://github.com/pypa/advisory-database/runs/7316574285?check_suite_focus=true#step:4:10
@oliverchang, I noticed there have been quite a few changes in https://github.com/google/osv.dev recently, but I didn't see anything specific that stood out to me that would cause it.  Do you have any thoughts what might cause it?

Thanks for flagging! This should be fixed by https://github.com/google/osv.dev/pull/520

Looks like it's passing once more.


Support building project which use hs-boot files

Currently, gazelle_cabal doesn't support hs-boot files, but once it does himportscan will need to recognize SOURCE pragmas and gazelle_haskell_modules will need to generate rules that depend on hs-boot files.

The gazelle_cabal part is done

Hey @GuillaumeGen just as a heads up, I already did the Haskell part of this a while ago in https://github.com/tweag/gazelle_haskell_modules/tree/googleson78-support-hs-boot if you want to use that as a starting point or something like that.


MM-28365 Avoid crashing PostUtil.formatText invoked from plugin

Summary
Add existing check for emojiMap in formatText, because emojiMap never be set when invoked from plugins.
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/15365
https://mattermost.atlassian.net/browse/MM-28365

/update-branch

Cherry pick is scheduled.


Add Nong Song: 1985

Song Name
1985
Artist Name
boburham
Source
Youtube
Youtube Link
https://youtu.be/2rHRztFGOm8?si=BBCdaYlER9eeivRH
Direct File Link
No response
Song ID
1355712
Start Offset [ms]
180
Extra
1985 110723052

accept
ср, 23 окт. 2024 г., 15:55 auto-nong[bot] @.***>:

Thanks for contributing!
Someone will soon review your request.
Here is the JSON result for the reviewer:
{
"name": "1985",
"artist": "boburham",
"source": "youtube",
"startOffset": 180,
"yt-id": "2rHRztFGOm8",
"songs": [
1355712
]
}
To accept the request, a reviewer needs to write "accept".
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/5339#issuecomment-2432062594,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMLOLOVYLCOMK4DCX3TUGR3Z46MD7AVCNFSM6AAAAABQOYHFA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZSGA3DENJZGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


How to compile or build RPM of Souin for EL9

It feels good for me to see that Souin cache is trending because of Caddy! I see that Caddy 2 is available to install on Enterprise Linux distros, and for WordPress it would be best to use Caddy along with Souin.
Caddy has a plugin available to integrate to the Souin cache. However, how do we compile darkweak Souin to use it in EL9?
Is it possible for you to keep .spec file at-least so we can compile easily?

Hello @skrlance to be honest I don't know how to do that. If you can use xcaddy, you can run xcaddy build --with github.com/darkweak/souin/plugins/caddy and it will create a caddy binary that you can run and you don't have to compile Souin itself.


Integrate drf-yasg for doc ui and document existing apis

This pr integrates with https://github.com/axnsan12/drf-yasg which will provide a nice UI to interact with all the APIs that we have.
Most of the information which one needs to interact with the APIs are automatically generated by drf-yasg and additional information can also be added inform of a doc string to the views.
This UI is currently available at /api/doc/ endpoint.

This looks nice!

What happens one day when we have "api/v2"? How will this documentation handle that?

@frjo, thanks for noticing that, made the current doc path to api/v1/doc. So when we support v2, we would just have to define api/v2/doc including v2 url patterns.

Merging this in to master, nice work!


_frozen_importlib._DeadlockError: deadlock detected by _ModuleLock('django.test.signals')

I've been writing some signals for a Django project
Django==2.2
Python==3.6.8
PostgreSQL==11.3
After writing and testing some pre_save and post_save signals which update product cart totals based on products inputted, I sometimes get a frozen import DeadLockError (terminal readout below'. Tracing it back, it seems to be occurring with swagger urls. I commented out the swagger urls in my project urls file and the error disappears.
The signals are not a part of any models currently serialized by Django-Restful-Framework. I'll be developing the API at a later stage.
Any ideas what may be causing this?
`Watching for file changes with StatReloader
Performing system checks...
Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 60, in execute
super().execute(*args, **options)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 95, in handle
self.run(**options)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 102, in run
autoreload.run_with_reloader(self.inner_run, **options)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/utils/autoreload.py", line 579, in run_with_reloader
start_django(reloader, main_func, *args, **kwargs)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/utils/autoreload.py", line 564, in start_django
reloader.run(django_main_thread)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/utils/autoreload.py", line 272, in run
get_resolver().urlconf_module
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/utils/functional.py", line 80, in get
res = instance.dict[self.name] = self.func(instance)
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/urls/resolvers.py", line 564, in urlconf_module
return import_module(self.urlconf_name)
File "/Users/username/.pyenv/versions/project/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/Users/username/workspace/project/backend/src/project/urls.py", line 6, in
from rest_framework_swagger.views import get_swagger_view
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/rest_framework_swagger/views.py", line 3, in
from rest_framework.renderers import CoreJSONRenderer
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/rest_framework/renderers.py", line 20, in
from django.test.client import encode_multipart
File "/Users/username/.pyenv/versions/project/lib/python3.6/site-packages/django/test/client.py", line 23, in
from django.test import signals
File "", line 968, in _find_and_load
File "", line 149, in enter
File "", line 94, in acquire
_frozen_importlib._DeadlockError: deadlock detected by _ModuleLock('django.test.signals') at<PHONE_NUMBER>`

Try remove pycache folders in all directories and restart virtualenv. It worked for me.

@FeruzOripov this is not a solution.

I have the same error. may be some object get the threading locker but dont release.
In my project, I use apscheduler to run interval job (interval 30s), use SQLAchemy as the jobstore. when shutdown the server for a moment(>60s,a job should run if not shutdown),then restart appear that error. I delete that cron job info in database, its ok.
I dont konw how to solve it.


Url generation from parameters

For some integration like Magento, to load the instant search page with good params, the easiest way is to generate the (url) hash of the query and redirect to it. That way instantsearch will load on it's on.
Right now the url is hardcoded in the code which is not the cleaner way to do it.
A solution can be to instantiate a helper but that's not perfect to.
Adding this function to instantsearch could be useful
For a set of refinements like {query: "madison} or [{query: "", refinements: ["category:Shirt"]} the idea would be to generate something like #q=madison&idx=...
Also if this could be done without instantiating instantsearch it would be even better

Yes, the widgets are already using a createURL method to handle such use-case. @bobylito any chance we could expose it in the instantsearch object we're returning?

So the resulting instantsearch instance has already a createURL method; the only limitation is that it takes a SearchParameters (state) instance in argument. I'll propose something.

So you can do something like:
// with an instantsearch instance:
var search = instantsearch(....);
search.createURL({facetsRefinements: {category: 'Home'}});

// or by just calling the static method:
window.location.href = '....' + instantsearch.createQueryString({facetsRefinements: {category: 'Home'}});


renaming parameter to avoid confusion with driver executable

Hi @skaarthik, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Kaarthik Sivashanmugam). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

replacing with another PR


doc: Adding Additional Cases

adding additional cases

Co-authored-by: @ibrokethecloud
Resolves: #533

@ibrokethecloud - still working on this, but let me know if you think there's some big things missing up front :smile:
Haven't began looking into vSphere.


How add custom-js to my obsidian?

I added the folder with custom.js, but the plugin did not detect it.
https://share.cleanshot.com/CcYFj7q1
You can find the file structure of a .js file by referring to its format.
How should I correctly add the .js file?

Hi, I have a similar problem:

I have defined the folder within the settings of the plugin (9 setup/Javascript) but none of the scripts are being loaded
when I execute customJS from the console they are also not visible
only when I add them individually in the "individual Files" option of the settings they are loaded and work

@mnaoumov

It is not detectable.
Can you explain? This is my example script. What should I rewrite? https://dsh.re/824459
@svenschuldt
Which OS are you using?
In my case, that is not working.

@mxcdh , I am using macOS Ventura 13.5.2 (22G91)

@mxcdh have you tried removing the ./ from the start of your path?

@mxcdh current plugin has a few use-cases

customJS global variable, which you can use in Developer Tools Console, dataviewjs, Templater scripts etc. To check if it works you should open Developer Tools Console (via Command + Shift + I) and type customJS.dvTasks. If it doesn't show an error, then your config is working properly.

Invocable scripts. dvTasks.js is not an invocable script, that's why you don't see it in the list on step 4 on your screenshot

I'm having this issue too

@YousufSSyed what happens if you go to the developer console and type window.forceLoadCustomJS()?

I have a file script.js inside the Scripts folder and this is the result:

@YousufSSyed that's because of your Individual files setting

I changed the file to Scripts/script.js and this is the script:
class Script {
    getQuoteOfTheday() {
        let file = this.app.workspace.getActiveFile();
        let currentTime = moment().format('YYYY-MM-DD HH-h:mm:ssA');
        let quote = await fetch("https://api.quotable.io/random").then(response => response.json());
        app.vault.append(file, `\n- **${currentTime}, ${quote["author"]}:** ${quote["content"]}`)
    }
}

@YousufSSyed

Remove the Individual files completely
Add word async before the name of your function

Like this?
class Script {
    aync getQuoteOfTheday() {
        let file = this.app.workspace.getActiveFile();
        let currentTime = moment().format('YYYY-MM-DD HH-h:mm:ssA');
        let quote = await fetch("https://api.quotable.io/random").then(response => response.json());
        app.vault.append(file, `\n- **${currentTime}, ${quote["author"]}:** ${quote["content"]}`)
    }
}

@YousufSSyed yes, but you made a typo

Oh I made that typo while pasting it in the comment. I wrote async in the script and it still doesn't show up when trying to add an invocable script.

@YousufSSyed you didn't make it invocable
https://github.com/saml-dev/obsidian-custom-js#invocable-scripts

My Individual scripts is blank and I wrote Scripts for the folder. When I press "Register invocable script" nothing shows up.

@YousufSSyed you didn't read properly what invocable script is

I'll admit, I didn't realize "Invocable Script is the class with the defined method" meant async invoke() specifically, and I thought you would've pointed that out if I asked if it looked right.
But now that i registered the script I'm wondering what this plugin can or can't do, because now I have this error TypeError: Cannot read properties of undefined (reading 'workspace'), when running let file = this.app.workspace.getActiveFile();. The code works fine when I paste it into the console.

@YousufSSyed Here are all the steps in order:

In the CustomJS settings, you can set individual files as a script, or you can set a folder that contains several JS files. It is seperate—you don't need both for the same file. (Note: If you use an individual file, make sure to add the path as well.)
Then, open your script file and make it fit this template:

class getFonts {  // you can change the name of the class
  async invoke() {  // you cannot change the name of this
    console.log("Hello World")  // you write your code here, inside "invoke"
  }
}

Go back to CustomJS settings, and add click on the button "Register invocable script". You should see your script there.
(optional) To make your script run at startup, click on the button "Add startup script", and you should see your script there.

I think the documentation could be clearer.

@thelegend09 if you have suggestion how to make the suffering documentation clearer, please make a PR


NG17-RC0:  Next8->RC0 changed angular.json

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
It looks like going from Next8 -> RC0 broke our development build, as it appears to have modified angular.json, clearing out the serve->configurations values
When starting our application in development mode, we now get the following error:
ng serve --host=<IP_ADDRESS> --port=4000  --configuration=local
Error: Schema validation failed with the following errors:
  Data path "" must have required property 'buildTarget'.
  Data path "" must have required property 'browserTarget'.
  Data path "" must match a schema in anyOf.
/Users/spock/projects/fresto/apps/totti/node_modules/@angular-devkit/architect/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js:13
            throw err;
            ^

SchemaValidationException [Error]: Schema validation failed with the following errors:
  Data path "" must have required property 'buildTarget'.
  Data path "" must have required property 'browserTarget'.
  Data path "" must match a schema in anyOf.
    at /Users/spock/projects/fresto/apps/totti/node_modules/@angular-devkit/architect/src/architect.js:40:27 {
  errors: [
    {
      instancePath: '',
      schemaPath: '#/anyOf/0/required',
      keyword: 'required',
      params: { missingProperty: 'buildTarget' },
      message: "must have required property 'buildTarget'"
    },
    {
      instancePath: '',
      schemaPath: '#/anyOf/1/required',
      keyword: 'required',
      params: { missingProperty: 'browserTarget' },
      message: "must have required property 'browserTarget'"
    },
    {
      instancePath: '',
      schemaPath: '#/anyOf',
      keyword: 'anyOf',
      params: {},
      message: 'must match a schema in anyOf'
    }
  ]
}

Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
It's apparently complaining about a syntax issue in angular.json but this has worked in every 17-next-X version. The error only started occurring after upgrading to RC0.
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 17.0.0-next.9
Node: 18.18.1
Package Manager: npm 9.8.1
OS: darwin arm64

Angular: 17.0.0-rc.0
... animations, cdk, common, compiler, compiler-cli, core, forms
... localize, material, material-date-fns-adapter
... platform-browser, platform-browser-dynamic, router
... service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.0-next.9
@angular-devkit/build-angular   17.0.0-next.9
@angular-devkit/core            17.0.0-next.9
@angular-devkit/schematics      17.0.0-next.9
@angular/cli                    17.0.0-next.9
@angular/fire                   7.5.0
@angular/ssr                    17.0.0-next.1
@schematics/angular             17.0.0-next.9
rxjs                            7.5.7
typescript                      5.2.2
zone.js                         0.14.0

Anything else?
Angular.json:

{
    "$schema"<EMAIL_ADDRESS>    "version": 1,
    "cli": {
        "packageManager": "npm",
        "analytics": "ac59db6d-a680-408f-af50-2623fb62aeae"
    },
    "newProjectRoot": "projects",
    "projects": {
        "totti": {
            "projectType": "application",
            "schematics": {
                "@schematics/angular:component": {
                    "style": "scss",
                    "skipTests": true,
                    "standalone": true,
                    "changeDetection": "OnPush"
                },
                "@schematics/angular:class": {
                    "skipTests": true
                },
                "@schematics/angular:directive": {
                    "skipTests": true,
                    "standalone": true
                },
                "@schematics/angular:guard": {
                    "skipTests": true
                },
                "@schematics/angular:interceptor": {
                    "skipTests": true
                },
                "@schematics/angular:pipe": {
                    "skipTests": true,
                    "standalone": true
                },
                "@schematics/angular:resolver": {
                    "skipTests": true
                },
                "@schematics/angular:service": {
                    "skipTests": true
                }
            },
            "root": "",
            "sourceRoot": "src",
            "prefix": "app",
            "i18n": {
                "sourceLocale": "en-US",
                "locales": {
                    "da": {
                        "translation": "src/locale/messages.da.json"
                    },
                    "en": {
                        "translation": "src/locale/messages.en.json"
                    }
                }
            },
            "architect": {
                "build": {
                    "builder": "@angular-devkit/build-angular:browser",
                    "options": {
                        "allowedCommonJsDependencies": [],
                        "outputPath": "dist/totti/",
                        "index": "src/index.html",
                        "main": "src/main.ts",
                        "polyfills": ["zone.js"],
                        "tsConfig": "tsconfig.app.json",
                        "inlineStyleLanguage": "scss",
                        "styles": ["src/styles/index.scss"],
                        "assets": ["src/assets", "src/robots.txt", "src/manifest.json"],
                        "scripts": [],
                        "serviceWorker": true,
                        "ngswConfigPath": "ngsw-config.json",
                        "localize": true,
                        "i18nDuplicateTranslation": "ignore"
                    },
                    "configurations": {
                        "production": {
                            "fileReplacements": [
                                {
                                    "replace": "src/environments/environment.ts",
                                    "with": "src/environments/environment.prod.ts"
                                },
                                {
                                    "replace": "src/app/shared/store/build-specifics/index.ts",
                                    "with": "src/app/shared/store/build-specifics/index.prod.ts"
                                }
                            ],
                            "outputHashing": "all",
                            "vendorChunk": false,
                            "buildOptimizer": true,
                            "serviceWorker": true,
                            "namedChunks": false
                        },
                        "localprod": {
                            "fileReplacements": [
                                {
                                    "replace": "src/environments/environment.ts",
                                    "with": "src/environments/environment.localprod.ts"
                                }
                            ],
                            "outputHashing": "all"
                        },
                        "test": {
                            "fileReplacements": [
                                {
                                    "replace": "src/environments/environment.ts",
                                    "with": "src/environments/environment.test.ts"
                                },
                                {
                                    "replace": "src/app/shared/store/build-specifics/index.ts",
                                    "with": "src/app/shared/store/build-specifics/index.prod.ts"
                                }
                            ],
                            "outputHashing": "all",
                            "vendorChunk": false,
                            "buildOptimizer": true,
                            "serviceWorker": true,
                            "namedChunks": false
                        },
                        "localtest": {
                            "fileReplacements": [
                                {
                                    "replace": "src/environments/environment.ts",
                                    "with": "src/environments/environment.test.ts"
                                }
                            ],
                            "outputHashing": "all"
                        },
                        "development": {
                            "fileReplacements": [
                                {
                                    "replace": "src/environments/environment.ts",
                                    "with": "src/environments/environment.dev.ts"
                                },
                                {
                                    "replace": "src/app/shared/store/build-specifics/index.ts",
                                    "with": "src/app/shared/store/build-specifics/index.prod.ts"
                                }
                            ],
                            "outputHashing": "all",
                            "sourceMap": true,
                            "vendorChunk": false,
                            "buildOptimizer": false,
                            "serviceWorker": true,
                            "namedChunks": false
                        },
                        "local": {
                            "buildOptimizer": false,
                            "optimization": false,
                            "sourceMap": true
                        },
                        "da": {
                            "localize": ["da"]
                        },
                        "en": {
                            "localize": ["en"]
                        }
                    },
                    "defaultConfiguration": "production"
                },
                "serve": {
                    "builder": "@angular-devkit/build-angular:dev-server",
                    "configurations": {
                        "production": {
                        },
                        "localprod": {
                        },
                        "localtest": {
                        },
                        "test": {
                        },
                        "development": {
                        },
                        "local": {
                        },

                        "da": {
                        },
                        "en": {
                        }
                    },
                    "defaultConfiguration": "local"
                },
                "extract-i18n": {
                    "builder": "@angular-devkit/build-angular:extract-i18n",
                    "options": {
                    }
                },
                "test": {
                    "builder": "@angular-devkit/build-angular:karma",
                    "options": {
                        "polyfills": ["zone.js", "zone.js/testing"],
                        "tsConfig": "tsconfig.spec.json",
                        "inlineStyleLanguage": "scss",
                        "assets": ["src/favicon.ico", "src/assets", "src/manifest.json"],
                        "styles": ["src/styles/index.scss"],
                        "scripts": []
                    }
                },
                "deploy": {
                    "builder": "@angular/fire:deploy",
                    "options": {
                        "prerender": false,
                        "ssr": false,
                        "browserTarget": "totti:build:production",
                        "firebaseProject": "fastorder-dev",
                        "firebaseHostingSite": "fresto-totti-dev"
                    }
                }
            }
        }
    }
}

Looks like in the previous config didn't config the dev-server correctly. As there is no browserTarget nor buildTarget configured.
"serve": {
    "builder": "@angular-devkit/build-angular:dev-server",
    "configurations": {
        "production": {
        },
        "localprod": {
        },
        "localtest": {
        },
        "test": {
        },
        "development": {
        },
        "local": {
        },
        "da": {
        },
        "en": {
        }
    },
    "defaultConfiguration": "local"
},

Thanks for reporting the issue. I have a opened a PR to address this.


feat(regex-mutator): smart regex mutations

This PR adds support for smart regex mutations to Stryker. 👽
Some examples:
/\d{4}\s[a-Z]{2}/;
// Mutates to:
/\d\s[a-Z]{2}/; // => Quantifier removal
/\D{4}\s[a-Z]{2}/; // => Predefined Character Class Negation
/\d{4}\S[a-Z]{2}/; // => Predefined Character Class Negation
/\d{4}\s[a-Z]/; // => Quantifier removal
/\d{4}\s[^a-Z]{2}/; // => Character Class Negation

Stryker will identify regex literals: /\d{4}\s[a-Z]{2}/ as well as clear regex string literals in a RegExp constructor: new RegExp('\\d{4}\\s[a-Z]{2}'). After that it uses the awesome Weapon-regeX library to generate mutants based on the regex pattern. These mutants are then placed inside the code with regular mutation switching practises.
Weapon regex supports mutation levels. Currently, Stryker only introduces regex mutants of mutation level 1 in your code. We might be making this configurable in the future.
Note: this mutator might have a significant impact on your mutation score, depend on whether or not you use regexes a lot and how well you've been testing them 😉.
You can opt-out of using this mutator by excluding it via stryker.conf.json:
{
  "mutator": {
    "excludedMutations": ["Regex"]
  }
}

Looks very clean! Nice to see Weapon regeX found a home in stryker 😄. I am a little sad that you mutate only on level 1, but I guess users otherwise drown in mutants by default.

Looks very clean! Nice to see Weapon regeX found a home in stryker 😄. I am a little sad that you mutate only on level 1, but I guess users otherwise drown in mutants by default.


ci: retest only one pr at a time & rebase if necessary

This commit improves retest action by rebasing the pr
if it behind devel branch and adding retests to only one
pr at a time.
refer:
https://docs.github.com/en/graphql/reference/enums#mergestatestatus
Signed-off-by: Rakshith R<EMAIL_ADDRESS>

@mergifyio rebase