Julia Registry PR for JLGame

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/96369
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.12.6 -m "<description of version>" 0cbf3f92749b1f6168805d91ee01e640e4579c42
git push origin v1.12.6

Also, note the warning: This looks like a new registration that registers version 1.12.6.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/96369
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.12.6 -m "<description of version>" 9ca6cdeffeb98de3dfbe3a133ab7d704545c75ab
git push origin v1.12.6

Also, note the warning: This looks like a new registration that registers version 1.12.6.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/96369
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.12.6 -m "<description of version>" da11e973a96bd65bb754b1b394afc5924535eda0
git push origin v1.12.6

Also, note the warning: This looks like a new registration that registers version 1.12.6.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/96369
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.12.6 -m "<description of version>" 19a05b17e3a49acd9ff6b24903f213e387c62a24
git push origin v1.12.6

Also, note the warning: This looks like a new registration that registers version 1.12.6.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Registration pull request updated: JuliaRegistries/General/96369
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.12.6 -m "<description of version>" 55aa13c08e6265a2f1192511489bd6eb8d582c23
git push origin v1.12.6

Also, note the warning: This looks like a new registration that registers version 1.12.6.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.


Fix: xDai -> Gnosis Chain

What it solves
Resolves #3200
How this PR fixes it

Renames XDAI to GNOSIS_CHAIN in the CHAIN_ID enum
Adds a redirect from /app/xdai:0x... to /app/gno:0x...
Adjusts setChainFromUrl so that any redirects happen only from the router
Updates /app/xdai to redirect to /app/gno
Adds all shortNames as 'root' routes that set the chainId on app load

How to test it

Switch the CGW toggle to prod
Open some Gnosis Chain Safe
Try replacing gno with xdai in the URL – it should redirect back to gno

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 12 (75.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 32.447%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/index.tsx
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
3121

Relevant Lines:
8566

💛  - Coveralls

I've had a follow thought to this. We should probably also redirect /app/xdai to /app/gnosis-chain too. What do you think? @katspaugh

True dat.

The MM wallet is no longer the deafult in this PR. it has soemthing to do with the name change?

The loader doesn't accept an existing xDai safe
0xB8d760a90a5ed54D3c2b3EFC231277e99188642A

I'm getting these constantly as I try to load a recently created safe
Just create a safe, click "get started" and watch the console

@francovenica, in order to test this you should be using the production CGW

@iamacook yes, you were right, the issues loading an existing safe and loading a recently created safe don't happen with the CGW switch being on. So those are fine
I still have the issue with the modal, and is something that only happens with the Gnosis Chain. For the other networks MM is still the 1st option in the modal

I still have the issue with the modal, and is something that only happens with the Gnosis Chain. For the other networks MM is still the 1st option in the modal

I wouldn't be concerned about the order of wallets. I added a draft copy of Gnosis Change to the staging environment for testing. The most important thing is that the redirection works. All we now need to do is rename xDai on production and all should work as it does in production.

The renaming looks good to me.
Check the prefixes, copy paste, the going to the block explorer. Created new safes and loaded safes created while it was xdai.
Imported my local storages fully from prod to here and everything loaded fine (safes on the sidebar, AB, pinned apps)
Note: The issue 3305 is present here, doesn't have anything to do with the naming, but prevented me for executing some tx.


[Feature Request]: Add CMK implementation to SQL-MI

Description
Add CMK implementation to SQL-MI (ref Azure/bicep-registry-modules#2514)

Hey @maldineh,
please note that I just migrated this issue from its original CARML repository. Please take a look to triage the issue some time. Thank you :)

Hey @maldineh, please take a moment to triage this issue if you can 💪


Only run cluster tests on nightly tests, not nocluster tests

What type of PR is this:
/kind bug
/area testing
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #6812

/override kubernetes-infra-stage-test
/override ODO-PODMAN-TEST
2023-05-22T11:47:10.0054986Z   [odo]  ✗  unable to access podman. Do you have podman client installed and configured correctly? cause: timeout (10s) while waiting for Podman version: context deadline exceeded: signal: killed. Please check the output of the following command: [podman version --format json]

/override windows-integration-test/Windows-test


pruned yolov5 unchanged parameter count

Hi, I tried the yolov5 tutorials with --recipe = yolov5s.pruned_quantized.md
The QAT works as I can see fake quantized modules in netron but the number of parameters remain unchanged.
Are there any additional steps to take to remove the pruned parameters?
Thanks!

Hi @MrOCW, the type of pruning we are doing for the YOLOv5 models is unstructured. These parameters are removed by setting the value to 0. You should see during training in the PyTorch weights the 0's slowly introduced into the models with the recipes. On export to ONNX, you should additionally see the 0's in the weight matrices. If the model is quantized, the zeros will be set to the zero point -- 127 for example for some flows.

Hi @MrOCW, elaborating on @markurtz's explanation, for unstructured sparsity the number of parameters remains same only some percentage of them are made 0, to observe the advantage/speed-up from the 0's introduced you would need a runtime engine that can leverage sparsity in the weight matrices such as Neural Magic's DeepSparse engine. To answer your question, the zeros introduced are the "removed/pruned" parameters

Hi @MrOCW
It looks like there are no further questions on this topic so we'll close out this thread. Feel free to re-open if you do!
Best, Jeannie / Neural Magic


test functions

we need a separate directory that contains functions testing the code

these should be functions that simulate an NPIV model and then compare the output from the code with the truth

Several test do files are written.

Suggestions for tests:

simulate many MC samples
plot estimated function averaged over all MC samples, together with empirical standard deviation
compute mean integrated square error for estimator


[Feature Request] Support secretes stored in Kubernetes

In order to support the enterprise deployment, LangFlow should provide an option to store secret in Kubernetes secrets. The feature will be only supported when LangFlow is deployed in Kubernetes.

https://github.com/langflow-ai/langflow/pull/2231


New Crowdin translations

Enjoy!

Hey @teolemon,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 7853f360-c422-11e8-8e42-fbce93bf2ec8

Hey @teolemon,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 98bfb6b0-c432-11e8-8e42-fbce93bf2ec8

Hey @teolemon,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 8a9cace0-c433-11e8-8e42-fbce93bf2ec8


Use Placement Group in Dryrun

Signed-off-by: Sean Smith<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This config
[cluster test]
key_name = amzn
vpc_settings = public
placement_group = test

Results in
$ pcluster create test -nr
Beginning cluster creation for cluster: test
ERROR: Cluster placement groups are not supported by the 't2.micro' instance type. Specify a supported instance type or change the placement group strategy, and try again.


Make easier testing environment

Perhaps like all relative links within app, security not included? Could work for serving from localhost up to but not including reaching other apps. Consider testing with sample APIs and data?

Detect when api is not available b/c of cross-site scripting (and authentication) and fall back to no api functions or static-only or something
Make testing subdir or subdomain for live testing with same-site authentication

Or maybe triage this lower and just provide an error/warning if fetch doesn’t work?


Unable to find credential information on instance when impersonating service account using gcloud auth

When using service account impersonation locally, ErrorReporting throws the following error after init:
ERROR:@google-cloud/error-reporting: Unable to find credential information on instance. This library will be unable to communicate with the Google Cloud API to save errors.  Message: The incoming JSON object does not contain a client_email field
The error doesn't happen when using application default credentials without service account impersonation.
Environment details

OS: macOS
Node.js version: v14.18.1
npm version: yarn 1.22.18
@google-cloud/error-reporting version<EMAIL_ADDRESS>
Steps to reproduce

Run in terminal gcloud auth application-default login \<EMAIL_ADDRESS>Start service that initiates Error Reporting,

import { ErrorReporting } from '@google-cloud/error-reporting';
const errors = new ErrorReporting({ reportMode: 'always' });
…

There's a workaround using the following commands instead:
gcloud auth application-default login
export GOOGLE_OAUTH_ACCESS_TOKEN=$(gcloud auth print-access-token<EMAIL_ADDRESS>
Downside is that the token is only valid for one hour which is not ideal for local development.
While ErrorReporting is happy with that token @google-cloud/storage is not unfortunately.
error: Error: Cannot sign data without `client_email`.
    at GoogleAuth.sign (/Users/benedikt/vestico/preact-apps/node_modules/@google-cloud/storage/node_modules/google-auth-library/build/src/auth/googleauth.js:655:19)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async sign (/Users/benedikt/vestico/preact-apps/node_modules/@google-cloud/storage/build/src/signer.js:104:35)

It seems google auth is expecting the service account impersonation to be done in a different way.

This is [probably] not the right repository. Closing the issue.


Remove migrations folder

Since the migrations folder is not used in zos I would love to see it removed.
I have seen it there, assumed truffle is involved and attempted truffle migrate just to check that out only to then discover there is no migrations.sol present. Not a huge deal but it might save man-minutes** on the dev-end.
Is there a reason this should not be done?

Removed in d6ddc672836897ecde4c0e7167c4c5bb4e1a015c


[Shadowrun5thA] add bolt hole, traveler, commercial, hospitalized lif…

…e styles
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

@Stexinator Seems like there is some merge conflict on this PR. @me when you've resolved it and I'll get this merged ASAP.

@nmbradley done


Cross Origin Problem

I started your app on my server like that : wssh --address='<IP_ADDRESS>' --origin="*" --port=8888 --xsrf=False --debug
And i access it from my computer to the server with my custom address.
The problem is that it does not connect :(
E.G : It's working without problem from localhost to localhost.
But i need the access from * to my server

Do you see what's wrong ?

What error complained by your webssh server?

Hello, this is the error that appears on the server

It seems that the problem was on the nginx configuration ! Strange thing
I will close it, thanks for help


Museeks slogan

No dev here. The sentence a free, lightweight and cross-platform music player is great to describe shortly Museeks, but has no "personality". I'm thinking to change this to something that would sound a bit more like a slogan. ("the" instead of "a" is a great start).
e.g: Atom is called "The hackable text editor".

I've remove the lightweight keyword as it's missleading: it was about user interface, but technically, the whole app is not "that' lightweight. Replaced it with "A simple, clean and cross-platform music player" ftm.

Just for the record, from Gitter (both by me :smile:):

"You know, for music",
"The shortest path to your music"

"The shortest path to your music"

I like this one !

Came to me this morning: "Nothing but music"

I imagine you've already been through the usual propaganda patterns:

"Music done right"
"Your music's bright future"
"Forget your dream player -- museeks is better"
"Only for the MUSIC!"
"You've got music!" (Read by s/music/mail/ ^^)

Or a bit more high:
"The player that'll have you squ_eek_ of excitement!"

I like the idea of having a hackable music player.
Customise

Themes
Fonts

Packages

key analysis (similar to record box / mixed in key )

should also definitly make a reference to Rick & Morty
"meeseeks box" / "Mr meeseeks" etc
:)

If we decide to do #260, we should add "hackable" or "extensible" to the slogan.


Slack notification on star of repo

Verify that the Slack notifier still works. Fix, if broken.

@SudhanAruna interested in taking this on?

@leecalcote Sure I work on it


dep init and dep ensure hang for direct dependencies that aren't remotely available

The problem affects both dep ensure and dep init. The root cause seems to be that my project directly imports another project, github.com/jacobsimpson/gobfile, which does not yet exist as a Github repository. I have it locally in my $GOPATH so builds work. I was able to confirm that a direct dependency on a non-existent Github project will hang both dep init and dep ensure by removing all dependencies on github.com/jacobsimpson/gobfile from my project, at which time dep worked as expected.
What version of dep are you using (dep version)?
➜  dep version
dep:
 version     : v0.4.1
 build date  : 2018-01-27
 git hash    : 37d9ea0
 go version  : go1.9.3
 go compiler : gc
 platform    : darwin/amd64

What dep command did you run?
➜  dep ensure -v
Root project is "github.com/jacobsimpson/gob"
 5 transitively valid internal packages
 2 external packages imported from 2 projects
(0)   ✓ select (root)
(1)	? attempt github.com/spf13/pflag with 1 pkgs; at least 1 versions to try
(1)	    try<EMAIL_ADDRESS>(1)	✓ select<EMAIL_ADDRESS>w/1 pkgs

pstree for the hung process shows:
➜  pstree 30033
-+= 30033 jsimpson dep ensure -v
 \-+= 30065 jsimpson git ls-remote<EMAIL_ADDRESS>   \--- 30069 jsimpson /usr/bin/ssh<EMAIL_ADDRESS>git-upload-pack '/jacobsimpson/gobfile'

➜  rm -Rf Gopkg.* vendor
➜  dep init -v
Getting direct dependencies...
Checked 5 directories for packages.
Found 2 direct dependencies.

pstree for the hung process shows:
➜  pstree 31581
-+= 31581 jsimpson dep init -v
 \-+= 31592 jsimpson git ls-remote<EMAIL_ADDRESS>   \--- 31593 jsimpson /usr/bin/ssh<EMAIL_ADDRESS>git-upload-pack '/jacobsimpson/gobfile'

What did you expect to see?
Couple of things:

-v option should show the package that is currently in progress. The -v output I saw from dep ensure lead me to believe that dep was hanging trying to update github.com/spf13/pflag. It was the pstree output that showed me the root cause. Once I saw dep was trying to download github.com/jacobsimpson/gobfile I knew why it was failing.
Ideally dep would recognize a local package and let that substitute for trying to download something into vendor.
dep should recognize that the package github.com/jacobsimpson/gobfile doesn't exist and produce an error message to that effect rather than hang trying to get it.

What did you see instead?

Hanging

Came here to post this exact issue. Infinite hanging really caught me off guard. The dep documentation also (afaik) does not address this issue, so as a first time dep user you can waste a lot of time trying to understand why dep init isn't working.

@jacobsimpson I have been struggling to get dep init to work for three days now. I am grateful I stumbled on this.
Were you able to get it to work for you? If yes, can you share what you did?

I created my project as a Github repository.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


react native?

Hi, first thanks for useful library, do you support react native?

i think - not yet.

thanks you


Footer

Description
The footer is present on a website landing page but is not present on other pages.
###Screentshot
This is the landing page

This is the learn page

should i work on this @Mohak973 ?

I am working on this @ThotaRitikesh

@ThotaRitikesh @Mohak973 Please wait for the maintainers to assign the issues before working this can create unnecessary confusion among contributors and they might end up working on the same issue and making pr for the same

Since @Mohak973 is working on this i am assigning this to him but from next time please wait for the issue to get assigned

@Mohak973 Are you working on this?

This issue is solved, please close this.


PUT /organizations/{org}/datasets end points under API Directory does not update/create the dataset

PUT /organizations/{org}/datasets end points returns following message in the response

@nirajCITZ I see the 'isInCatalog' is set to TRUE.  This should be False.  Only records that have been imported into the Portal from the BC Data Catalog will have this set to True.  Can you try with it False and see if that resolves the issue?


Migrate to reflectable

The tests don't pass once transformed currently, but I wanted to send this out anyways to get feedback since the issues are most likely related to the reflectable transformer itself, not these changes.

cc @eernstg

fwiw, here are the logs from pub serve https://gist.github.com/jakemac53/1b3100373f1c4df18d05

@jakemac53 does anything like https://github.com/dart-lang/smoke/issues/21 need to be added to reflectable?

@donny-dont reflectable doesn't provide a way of querying for all declarations including super class declarations at all (that I know of at least). Since I we walking up the super chain manually anyways (see declarationsFor in declarations.dart), I went ahead and implemented the same semantics there.
It is possible that we would just re-implement smoke on top of reflectable since it does provide some nice abstractions, but that is a larger endeavor ;).

Okay cool I can try it out and make sure everythings working as advertised. Glad to see you back on it :+1:

@donny-dont fyi you will need to locally clone the reflectable package (https://github.com/dart-lang/reflectable) since its layout isn't currently compatible with a git dependency and its not  yet published to pub afaik. Also you will need to add the reflectable transformer, and the list of entry points it accepts should point to the .dart files, not the .html files like the old polymer transformer. I am also currently getting some errors in the transformer so its likely that you will have issues in pub serve/build, but a regular server should work fine.

this has been merged into the reflectable branch, closing.


broken link in article

in the article: 2011-05-31-dom-scripting-and-the-time-element.md (link) there's a reference to a demo (http://people.opera.com/miket/2011/5/time.html), but that one isn't available anymore.

@miketaylr, do you have a backup of your people.opera.com files by any chance?

Oh man... I might actually have that demo on my old airport HD. I'm in SF for a conference, but can check when I get home on Wednesday/Thursday.


Module documentation

All DNX OpenSource Modules needs a introduction / better documentation explaining why someone should use that module
File Readme.md updated.

Module updated. Pull Request done


Use django-guardian for all front end permissioning

Change all permissions to use django-guardian object level permissions on the front end.  Most everything (querysets and views) are now secured by the following permissions on PlanRepository:

run_plan
view_builds
rebuild_builds
qa_builds
view_builds_org

The migration scripts will create groups with global access to those permissions and convert all existing is_staff users to members of those groups to replicate the current functionality.  More granular control can then be done by changing group assignments for users.  You can use per PlanRepository permissions by creating Groups and granting the individual permissions to groups by going to the PlanRepository in admin and using the new Object Permissions button.
The migration will also grant AnonymousUser the view_builds perm on all PlanRepository objects on a public Plan of a public Repository to retain the current anonymous user access to builds.
Removed the fields Plan.public and Repository.public as they are no longer needed for permission enforcement.

I need to do a bit of work on the build/detail_layout.html view which is not showing the right tabs and buttons but think this is pretty much good to review beyond that.

Can we rename view_builds_org to something like org_login? "view" makes it sound more innocuous than it is.

@jlantz yeah I agree we're going to want the granularity, I just suspect we'll need a better way to manage it.


Possibility to provide asynchronous or reactive cache in future versions

There is no guidance for asynchronous or reactive cache in the existing JSR107 specification.  I'm wondering if there is a roadmap for Ehcache pointing to Async Cache? This would effectively benefit https://github.com/spring-projects/spring-framework/issues/17920 and steer clear of something Strange operations like https://www.baeldung.com/spring-webflux-cacheable  .

For JSR107 Spec, an issue that existed in the past refers to https://github.com/jsr107/jsr107spec/issues/415.  That issue eventually led the topic to the Jakarta community of Eclipse to continue the discussion, but the corresponding discussion thread has been silent for a long time, and the PMC of Jakarta EE proposed to open a new email at an online seminar this year to discuss the new Cache specification in Jakarta EE 10+ specification. The reason I'm not opening a new thread is that I'm not quite sure what I should do.

For Caffeine, there is an api for asynchronous cache itself.  For Cache2k, its author stated at https://github.com/jsr107/jsr107spec/issues/415#issuecomment-833764327 that its interface could serve as a starting point for a new spec, but everything is pending.  I wonder what Ehcache thinks about a possible asynchronous cache specification?

Right now there isn't the engineering capacity to take this on (given it's current priority). I'm going to leave this open as it is an interesting feature. To do this justice in Ehcache would take a fairly heavy re-engineering of the internal APIs (and how information flows). Wrt to the imminent release of Loom the timing is also terrible on this kind of thing. If this is going to happen it will probably happen after the landscape has settled around Reactive/Async code in the wake of Loom and its impacts on the overhead of heavy threading.


CI: update docker image and cleanup cmds

Nice cleanup, FWIW:
Reviewed-by: Sumit Garg<EMAIL_ADDRESS>


Can't install Tensorflow 2.x.x on Jetson boards with pip

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Jetson - Jp 4.6
TensorFlow installed from (source or binary): Binary
TensorFlow version: 2.x.x
Python version: 3.6/3.8
Installed using virtualenv? pip? conda?: Pip/virtualenv
CUDA/cuDNN version: 11.3
GPU model and memory: Jetson AGX/ 32GB

Describe the problem
Cannot install Tensorflow on Jetson boards with ease of pip.
pip install tensorflow

Hi @LITDataScience ! Did you try in a virtual environment after installing dependencies as this thread suggests? Thanks!

@LITDataScience - As suggested by @mohantym , please use the Nvidia Link to install TF on Jetson (https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html).  Nvidia has built a wheel file to work specifically for Jetson.  So please use that wheel file link in the docs to install in Jetson.  ARM builds can't be installed with pip install tensorflow.


Improving the record overview actions

At present, the record overview actions aren't as complete as they should be, they're lacking in a few areas. The following address these issues:

[x] insert multiple actions into a drop-down menu (provides better support for devices)
[x] allow an action to be disabled based on the record itself at runtime (the same as record actions work on the model index)
[x] provide the ability to insert a divider into the menu (also apply to model index record actions)
[x] provide the ability to insert a menu header (also apply to model index record actions)

DSL
The following DSL can be applied to both model index record actions, and model overview actions.
Standard menu item
{
	label: 'View raw data',
	action: 'dump'
}

Standard menu item with disabling capability
{
	label: 'View raw data',
	action: 'dump',
	disabled: function (record, callback) {
		if (record.allowInformationDump) {
			return callback(null, false);
		}
		return callback(null, true, 'You are not allowed to preview all information for this record.');
	}
}

Menu divider
{
	type: 'divider'
}

Menu header
{
	label: 'View raw data',
	type: 'header'
}

@smebberson All works really well together. Only thing I'm not too sure is the placement of the action button on the overview screen. When you have a group buttons, it shows a dropdown 'Actions' which makes sense for it to appear on the left hand side (next to Edit) but when you have only one action button e.g. 'Send welcome email' it doesn't look as great and for some models the actions will be different. It looks a bit inconsistent. What are your thoughts on this?

@sandytrinh, good point. I've moved the actions to go into between the Delete button (if it exists) and the View All button (if it exists). What do you think, ready to merge?

Great! Please merge!


Updating Service Registry name does not remove old json file

I have been testing some things with the Manage Services functionality with the cas-management webapp on the 4.2.x branch.  If we change the name of an existing service, a new JSON file is written using the new name.  The old file with the old file is still present and the Manage Services table does not reflect the new name of the service.
Looking at logs when services are reloaded there is entries that show that the new files are ignored because the url matches the url of old file.
So I am thinking the old file should be removed when a service name changes, or if detecting that is difficult, perhaps not allow a rename when editing a service
Travis

Probably should disallow.


Imagick on PHP 5.6 can't read PDF files

On PHP 5.6 Imagick can't read pdf files. It's not working with relative not even absolut path.
Example:
try {
	$im = new imagick();
	$im->setResolution(288,288);
	$im->readimage(realpath('test.pdf')); // relative path also doesn't works
} catch (Exception $e){
	echo $e->getMessage()."<br />\n"; // gets error "Failed to read the file"
}

test.pdf

@thomasA4N can you submit some example code, I will then add it as a regression test here: https://github.com/devilbox/docker-php-fpm

@cytopia i have updated my comment ...

Figured it already, it seems to be the lack of ghostscript. Once your stack is running, can you do the following in the PHP container:
sudo apt update
sudo apt install ghostscript -y

This should fix it for now. Will bundle it in the containers in the next release.

Thank you very much. I have tested that, and it's already works now.
Now, I will have to repeat that, after every restart of devilbox, didn't i?

Now, I will have to repeat that, after every restart of devilbox, didn't i?

No, when you stop the container, the state will be preserved across restarts until you remove it explicitly (via docker-compose rm or docker rm)

@thomasA4N will be fixed here: https://github.com/cytopia/devilbox/pull/711

Merged and available in v1.7.1


When some tasks finish there is no signal back that the job is done

Describe the bug
When creating a DB backup using the task drush sql-dump the task never reports as finished in the task overview. When clicking on the task, there are no logs available but the file to be downloaded is there. It appears as Active everywhere.
To Reproduce
Steps to reproduce the behavior:

Go to a project. Select prod environment.
Click on Tasks and select Generate database backup and click on Add task
Then wait, and wait... after a few minutes if you click on the task the file will be available for downloading, but the task will appear as active

Expected behavior
When the backup is done, the task appears as active.
Screenshots

This should no longer be an issue


[material-ui][docs] Fix broken links in the All components page

Fix #40298

Why did argos check failed earlier?

Thank you & Merry Christmas! 🎄 Missed these ones on my initial PR for the All Components page. 😬

Most Welcome. It was my first PR in MUI and my second open source contribution, so thank you for the opportunity. 🤓


Redirect tasks subcollection to request_tasks

This is a continuation of https://github.com/ManageIQ/manageiq/pull/15265 which resolves BZ https://bugzilla.redhat.com/show_bug.cgi?id=1442087
Taking Tim's suggestion, I thought it was best to implement a redirect which returns a 301 "Moved Permanently" and provides all the necessary information. A "Bad Request" response does not make as much sense in this case, and this will be a solid step before removing it.
thoughts @abellotti @imtayadeway ?
@miq-bot add_label api, bug
@miq-bot assign @abellotti

Nice PR# @jntullo (and @imtayadeway for the suggestion/help.  customers will get the 301 and their calls will continue to work. we'd still document the deprecation/redirect in 3.0.0.  Thanks!!

LGTM!! 😍


test  mapState failed.

Version
1.0.0-beta.29
Reproduction link
https://codepen.io/tolerious/pen/PowEEOO
Steps to reproduce
npm run test:unit
What is expected?
success
What is actually happening?
failed.
can not read 'submitLocationTotal' in  mapState.

Shouldn't it be
beforeEach(() => {
        store = new Vuex.Store({
            state: {
                claim: { submitLocationTotal: 123 }
            },
        })
    })

You forgot the claim field. I'm fairly sure this should work fine. The repro link is also not working; can you provide one that shows the error?

Shouldn't it be
beforeEach(() => {
        store = new Vuex.Store({
            state: {
                claim: { submitLocationTotal: 123 }
            },
        })
    })

You forgot the claim field. I'm fairly sure this should work fine. The repro link is also not working; can you provide one that shows the error?

Yeah, that's right , thank U ~

@lmiller1990  another question， if I use a third  part component library like vue-antdesign in my own component, how can I test my own component?

Same way you test any other component. If you have more questions, the best place to ask is https://vue.land/ in the #testing channel.

@tolerious like project's index.js file for example Vue.use(BootstrapVue), you should also put this line in jest setup file. it works for me


Wrap AgentScanByKey::TempStorage in cub::Uninitialized.

This fixes invalid memory accesses in two Thrust examples (scan_by_key and summed_area_table) on optimized nvc++ builds.

I don't know why this makes a difference.  But it doesn't look wrong.


What is a sparse representation looks like?

Hope you can give an example.
Thank you!
@hamed-zamani

A sparse representation is a N-dimensional vector (e.g., N=20000) in which only few of them (e.g., 10) are non-zero and the rest are zero.


Integration Test - Release - 2021/09/14 18:10:33

Auto create for integration test. IssueCommandFlow

Docs Build status updates of commit 6b69bec:
:warning: Validation status: warnings

File
Status
Preview URL
Details

csidevdocs-public/IntegrationTest/BuildIntegrationTestFiles/ChangeSentToAuthor.md
:warning:Warning

Details

csidevdocs-public/IntegrationTest/BuildIntegrationTestFiles/ChangeSentToAuthor.md

Line 4, Column 8: [Warning-duplicate-titles] Title 'VS Code Authoring Extension' is duplicated in: 'Demo/demo.md(4,8), Demo/v-caxian/auto-merge.md(4,8), Demo/v-caxian/auto-merger.md(4,8), IntegrationTest/BuildIntegrationTestFiles/ChangeSentToAuthor.md(4,8)'. Titles must be unique within a docset.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Stopped working with 0.115.0

`Logger: homeassistant.setup
Source: setup.py:280
First occurred: 8:56:38 PM (1 occurrences)
Last logged: 8:56:38 PM
Unable to prepare setup for platform jlrincontrol.sensor: Platform not found (cannot import name 'UNIT_PERCENTAGE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)).`

Updated version released v2.1.2 to fix change in HA constant name in v0.115.0.
Can you let me know if fixed once updated. Thx

Fixed. Thanks a lot.


[Security] Vulnerability found

I've found a "critical vulnerability" (in my opinion) on Flagr 1.1.12, who can I contact ?
Your Environment

Version used (flagr version): 1.1.12
Server type and version: any
Operating System and version (uname -a): any

It's been 90 days since my report and you successfully fix the issue. You may want to release v1.1.13 because I'll probably disclose the PoC in the following weeks, as agreed.
@zhouzhuojie

It's been 90 days since my report and you successfully fix the issue. You may want to release v1.1.13 because I'll probably disclose the PoC in the following weeks, as agreed.
@zhouzhuojie

Hey @nbeguier, thanks for reporting again. I don't have the write permission to this repo anymore, @marceloboeira and I are thinking of maintaining a new community version of flagr with strict API backward compatibility of course, see the new release cut there.
https://github.com/openflagr/flagr/releases/tag/1.1.13


[WIP] Optional intermediary bridge netdev

Modify the weave script to interpose an intermediary bridge netdev between application containers and the OVS datapath. Fixes #1577.

Hmmm need to think about plugin...

Tested the repro in #1577 against Scope 0.10.0 + this branch; as you can see short lived connections to port 80 are visible:

(note the spurious connection to port 4040 appears to be an instance of weaveworks/scope#520)

Very nice.


SGDOptimizer momentum

Hi,
I found logic differences between arrayfire-ml and arrayfire momentum
In arrayfire-ml the update code is
af::array &velocity = m_velocities[i];

// Regular momentum
velocity = m_mu * velocity - m_lr * grad;
 if (m_use_nesterov) {
 // Update for nesterov momentum
 data = data + velocity * m_mu  - m_lr * grad;
 } else {
data = data + velocity;
 }

but arrayfire change to
 af::array& velocity = velocities_[i];

 // Regular momentum
 velocity = mu_ * velocity + grad;
 af::eval(velocity);
 if (useNesterov_) {
 // Update for nesterov momentum
 grad += velocity * mu_;
 } else {
 grad = velocity;
 }
 }
 data = data - lr_ * grad;

without Nesterov, the update of data in arrayfire-ml is :
data + mu * velocity - lr * grad
but arrayfire is
data  - lr * mu * velocity - lr * grad
I think arrayfire-ml is correct, is herer any other consideration?
Thanks!

The equation used in flashlight matches PyTorch/TensorFlow behavior. The PyTorch source makes a comment about it: https://pytorch.org/docs/stable/_modules/torch/optim/sgd.html


Version 0.7.0 breaks ioc-spring plugin example - Error Message: java.lang.NoSuchMethodException: com.thoughtworks.gauge.example.java.PaymentService.()

I am facing issues regarding the latest 0.7.0 gauge-java together and the ioc-spring example:
https://github.com/getgauge-examples/ioc-spring
Checkout the example, update the gauge-java version to 0.7.0 and run mvn test
Expected behavior
The build should work complete without error
Actual behavior
The build fails, with this error message:

[INFO] --- gauge-maven-plugin:1.3.4:execute (default) @ gaugeWithSpring ---
Installing required plugins.
.....................
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/Users/travis/.m2/repository/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Using com.thoughtworks.gauge.example.java.RegisterIOC as class initializer
# Payment Service
  ## Successfull payment	 ✔WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
 ✘
        Failed Step: Pay amount "500" rupees
        Specification: specs/paymentService.spec:8
        Error Message: java.lang.NoSuchMethodException: com.thoughtworks.gauge.example.java.PaymentService.()
        Stacktrace:
        java.base/java.lang.Class.getConstructor0(Class.java:3302)
        java.base/java.lang.Class.newInstance(Class.java:532)
        com.thoughtworks.gauge.DefaultClassInitializer.initialize(DefaultClassInitializer.java:22)
        com.thoughtworks.gauge.ClassInstanceManager.get(ClassInstanceManager.java:39)
        com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:37)
        com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:76)
        com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:69)
        com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:51)
        com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
        com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
        com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
        com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:48)
        com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:93)
        com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:115)
        com.thoughtworks.gauge.GaugeRuntime.lambda$connectSynchronously$1(GaugeRuntime.java:98)
        java.base/java.lang.Thread.run(Thread.java:844)

  ## Unsuccessful payment	 ✔ ✘
        Failed Step: Fail to pay "2000" rupees
        Specification: specs/paymentService.spec:13
        Error Message: java.lang.NoSuchMethodException: com.thoughtworks.gauge.example.java.PaymentService.()
        Stacktrace:
        java.base/java.lang.Class.getConstructor0(Class.java:3302)
        java.base/java.lang.Class.newInstance(Class.java:532)
        com.thoughtworks.gauge.DefaultClassInitializer.initialize(DefaultClassInitializer.java:22)
        com.thoughtworks.gauge.ClassInstanceManager.get(ClassInstanceManager.java:39)
        com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:37)
        com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:76)
        com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:69)
        com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:51)
        com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
        com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
        com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
        com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:48)
        com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:93)
        com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:115)
        com.thoughtworks.gauge.GaugeRuntime.lambda$connectSynchronously$1(GaugeRuntime.java:98)
        java.base/java.lang.Thread.run(Thread.java:844)

Steps to reproduce

Checkout the example, update the gauge-java version to 0.7.0 and run mvn test
alternative: https://github.com/getgauge-examples/ioc-spring/pull/2 (see Pull-Request)

Gauge version
gauge -v
Gauge version: 1.0.4
Commit Hash: 3a9a647

Plugins
-------
html-report (4.0.6)
java (0.7.0)
screenshot (0.0.1)
xml-report (0.2.1)

This issue has been fixed.
Version:
Gauge version: 1.0.5.nightly-2019-02-08
Commit Hash: 6971850

Plugins
-------
dotnet (0.1.1.nightly-2019-01-29)
html-report (4.0.7.nightly-2019-01-11)
java (0.7.1.nightly-2019-02-08)


prototype for issue2570

…pring framework is absent
What is the purpose of the change
a prototype for issue#2570
Brief changelog
dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/initializer/DubboContextListener.java
dubbo-config/dubbo-config-spring/src/main/resources/META-INF/web-fragment.xml
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Hi,
This will solve the specific problem, but will break on another scenario. If user already specified org.springframework.web.context.ContextLoaderListener in web.xml, this code will add another Listener, which will result in failure.

if user explicitly specify spring relevant listener, then it's user's responsibility to add spring dependency.

Codecov Report

Merging #2640 into master will increase coverage by 8.15%.
The diff coverage is 77.77%.

@@             Coverage Diff              @@
##             master    #2640      +/-   ##
============================================
+ Coverage     54.95%   63.11%   +8.15%
============================================
  Files           571      574       +3
  Lines         25510    25579      +69
  Branches       4532     4500      -32
============================================
+ Hits          14019    16144    +2125
+ Misses         9393     7284    -2109
- Partials       2098     2151      +53

Impacted Files
Coverage Δ
Complexity Δ

...onfig/spring/initializer/DubboContextListener.java
77.77% <77.77%> (ø)
0 <0> (?)

...che/dubbo/remoting/transport/mina/MinaChannel.java
42.25% <0%> (-11.27%)
0% <0%> (-16%)

...mmon/threadpool/support/fixed/FixedThreadPool.java
80% <0%> (-7.5%)
0% <0%> (-3%)

...he/dubbo/remoting/transport/netty/NettyClient.java
74.13% <0%> (-7.22%)
0% <0%> (-13%)

...apache/dubbo/rpc/protocol/dubbo/FutureAdapter.java
58.06% <0%> (-6.46%)
0% <0%> (-3%)

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0%> (-5.56%)
0% <0%> (-3%)

...org/apache/dubbo/rpc/filter/ActiveLimitFilter.java
83.33% <0%> (-5.56%)
0% <0%> (-7%)

...on/threadpool/support/cached/CachedThreadPool.java
85.71% <0%> (-4.29%)
0% <0%> (-3%)

...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java
41.66% <0%> (-4.17%)
0% <0%> (-3%)

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
54.21% <0%> (-3.62%)
0% <0%> (-15%)

... and 186 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 45b3ab4...ea9fa5a. Read the comment docs.

What's the initial order about DubboContextListener and spring ContextLoaderListener? ContextLoaderListener initializes first?

sorry for closing it by mistake.

according to servlet spec, the listeners configured in web.xml will be registered first, then other listeners from web-fragment.xml will be registered.

It looks good to me.

private boolean executed = false;
I have a question. Is volatile needed for this field like:
private volatile boolean executed = false;

I don't think it's necessary. Servlet container will guarantee the code will only be executed once and only once.


Compilation error: error: ‘CV_INTER_NN’ was not declared in this scope.

Cmake executes successfully.
After that I run make and get the following error (tail of logs, before that there's only warnings):
/home/algernone/git_projects/Objectness/Src/CmShow.cpp:65:39: error: ‘CV_INTER_NN’ was not declared in this scope
  resize(m, img, Size(), scale, scale, CV_INTER_NN);
                                       ^~~~~~~~~~~
/home/algernone/git_projects/Objectness/Src/CmShow.cpp:67:22: error: ‘CV_RGB2BGR’ was not declared in this scope
   cvtColor(img, img, CV_RGB2BGR);
                      ^~~~~~~~~~
CMakeFiles/BING.dir/build.make:86: recipe for target 'CMakeFiles/BING.dir/CmShow.cpp.o' failed
make[2]: *** [CMakeFiles/BING.dir/CmShow.cpp.o] Error 1
CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/BING.dir/all' failed
make[1]: *** [CMakeFiles/BING.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

And immediately additional question.
Is that possible to compile the project for python?

This is an old problem but I've still come across it with opencv4.2.
I fixed it by manually including opencv2/imgproc/types_c.h from kyheader.h:
#include <opencv2/imgproc/types_c.h>

Hope it helps.


Feature/redux fetch

Demonstrates how to perform simple datafetching using redux-fetcher. Populates component tree using this data.

This looks awesome, I love the refactoring that have been done on the code! Will merge when we have closed https://github.com/vgno/redux-fetcher/pull/1.

It has been published. The latest commit updates the example to use it. Works!


It's not possible to add classes in code view (or other HTML attributes for that matter)

If you have something like
foo
, and change it to
foo
, when you switch to WYSIWYG editor and then back to code view, you get
foo
 again, i.e. the class gets discarded.

Duplicated of https://github.com/Leecason/element-tiptap/issues/108


Annotations don't take into account horizontal layout

It appears as though Annotations don't take into account flipping the axes when a horizontal layout is used (RangeBarCharts for example). This can be demonstrated by adding the following code to the options in RangeBarCharts/Basic.razor:
Annotations = new Annotations
{
    Points = new()
    {
        new AnnotationsPoint
        {
            Label = new Label
            {
                Text = "This should work"
            },
            X = IncidentSource.Customer.ToString(),
            Y = 35
        }
    },
    Xaxis = new ()
    {
        new AnnotationsXAxis
        {
            Label = new Label
            {
                Text = "So should this"
            },
            X = IncidentSource.Internal.ToString()
        }
    },
    Yaxis = new()
    {
        new AnnotationsYAxis
        {
            Label = new Label
            {
                Text = "And this"
            },
            Y = 40
        }
    }
}

It seems like each of these should work (and their equivalents in ApexChart.AddPointAnnotationAsync, AddXAxisAnnotationAsync, and AddYAxisAnnotationAsync). You can see that the Annotations themselves are valid if you change the PlotOptionsBar.Horizontal value back to false.

Hello,
I think this is an issue in apexchart.js, https://github.com/apexcharts/apexcharts.js/issues/1920


Add Iron God Hell Yes RMX x Brighter than the stars by Polmateri

Song Name
Iron God Hell Yes RMX x Brighter than the stars
Artist Name
Polmateri
Source
Youtube
Youtube Link
https://youtu.be/w_jIx1QCLXs?si=Oeq9lwxlZLmZCkvF
Direct File Link
No response
Song ID
360804
Start Offset [ms]
1
Extra
Created from Auto Nong.
Created for level: 76962930
Downloaded: Yes

This is a remix of the Russian song)


Is it appropriate to return NoContent in case of DbConcurrencyException

If a DbUpdateException occurs, when the TodoItem exists the sample code returns NoContent.
It seems more appropriate to return an HTTP code indicating a server error (HTTP 503 ?) to inform the client.
try
           {
               await _context.SaveChangesAsync();
           }
           catch (DbUpdateConcurrencyException) when (!TodoItemExists(id))
           {
               return NotFound();
           }

           return NoContent();
       }

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

ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
Version Independent ID: 95f2549e-29f9-e31a-b4d0-432b971643ff
Content: Tutorial: Create a web API with ASP.NET Core
Content Source: aspnetcore/tutorials/first-web-api.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's template generated code. You open this issue in https://github.com/dotnet/aspnetcore/issues


CsvReader detecting new lines

Directive ini_set('auto_detect_line_endings', true); in CsvReader constructor does not work. The directive should be used before creation of \SplFileObject otherwise it detects nothing. I found this when trying to read a file with '\r' as a new line.

I also have issue with this also. My current solution is, to put code below before \SplFileObject initialized
ini_set('auto_detect_line_endings', true);
$file = new \SplFileObject($yourFilePath);

@kuzmamar - could you perhaps open a PR for your suggested change?


Opportunistic JSON detection and decoding of variables

Summary
JSON is often used for request bodies, and this is scanned properly. However, the use of JSON is quickly growing in the contents of variables such as:

cookies
query arguments (a single POST field)

The contents of a cookie or a query argument is currently treated by WAFs as a single string. The syntactical characters essential to JSON often lead to false positives in the Core Rule Set. (I estimate that about 50% of the rule exclusions I have to make are due to JSON in POST arguments.)
Therefore, I propose a feature where Coraza 'opportunistically' tries to perform JSON decoding on these variables. For instance:

read the variable until the first (non-whitespace*) character, is it [ or {
if so, send it to JSON decoder
if JSON decoder is successful, delete the original variable containing the full JSON, and walk the JSON object, creating sub variables for its values.

*Note: I didn't know from memory if valid JSON allows whitespace at the start, but I think this is valid: https://www.rfc-editor.org/rfc/rfc4627 under 2. Grammar: "Insignificant whitespace is allowed before or after any of the six structural characters."
Basic example
Let's say a client might want to send JSON in a POST parameter, such as: [{"foo": "bar"}, {"baz": "qux"}]
URL-encoded, this is: %5B%7B%22foo%22%3A%20%22bar%22%7D%2C%20%7B%22baz%22%3A%20%22qux%22%7D%5D
When I do a curl such as: curl --data 'param=%5B%7B%22foo%22%3A%20%22bar%22%7D%2C%20%7B%22baz%22%3A%20%22qux%22%7D%5D' https://lifeforms.nl/
This turns up false positives in Core Rule Set rules 942260 and 942370 (but there are often other rules that trigger also; I think there are about 5-10 rules which are notorious in this regard).
If instead, the param would not be scanned as whole, but be parsed as JSON, the CRS might end up with variables such as (for instance):
ARGS:param.foo = bar
ARGS:param.baz = qux

Most importantly, the FP is now gone. But we can still inspect the JSON contents specifically!
Another use case is cookies. Many trackers use JSON in cookies. What makes it worse is that their cookie names contain  dynamic parts (e.g. mixpanel_bacd4323434234, so it is hard to write rules against them. If the JSON string is parsed instead of doing 'dumb' string scans, these false positives would likely disappear.
Motivation

I expect a serious lowering of false positives when JSON is posted as a cookie or parameter
This would make Coraza a very attractive WAF for novice users who cannot write exclusion rules easily
It would seriously motivate me to switch to Coraza faster 😉

Possible drawbacks
We have to be careful to not introduce bypasses by this functionality. For instance, a malicious payload may be spread over multiple parts of a JSON object. But I think the requirement for it to be valid JSON is a serious roadblock for this technique; after all you cannot put a starting { or [ after comment characters. On first sight it seems to me not dangerous. But, let's at least think about this.
Finally
I have considered if this mechanism should be generic and could also used for XML, but I see XML in variables very rarely if at all. GraphQL could also be interesting to look at.

True, it's stale, but still cool. 😎

Totally
On Sun, 6 Nov 2022, 09:37 Walter Hop, @.***> wrote:

True, it's stale, but still cool. 😎
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/issues/456#issuecomment-1304747352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAWE5VWVSEGOACYESA3WG5U35ANCNFSM6AAAAAAQ62UUYQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

That's a great feature, I think we should consider it as it's a common issue. I also think we should extend this feature to all body processors (well, except multipart).

Because of its nature, we would have to create an operator because actions won't have access to the evaluated variables
The operator must take as parameters the parameter name, unless we provide a mechanism for the operator to know which variable is being evaluated
We will have to provide the body processor to be used, but body processors has response and request processors, which one should be used? Maybe we should refactor the body processor interface and create request body processors and response body processors
Same rules for the body processors should apply to avoid DDOS, and others
If we use the ARGS:param.param_name syntax, a user could just append a value by using: /url.php?param.param_name=hack. For that reason, this operator should also wipe all param.* variables.

CC @corazawaf/core-developers we should solve this before releasing v3.
Are we implementing this? If we are, are we recycling the body processors?
If we are recycling the body processors, should we split them into RequestBodyProcessor, ResponseBodyProcessor, ParameterBodyProcessor or should we extend our current interface and add a ProcessParameter method?

Now that v3 is almost released, I would like to start working on this. We could recycle the current bodyprocessors and implement a function that reads the body as text to find a regex, then uses the content set the content to be processed. Something like this:
<html>
...
<script>
...
var json= "{\"id\": 123}";
...

SecRule REQUEST_URL "/some/file.php" "...,phase:2,processRequestBody:'JSON:var json\s=\s"(.*)";'"

SecRule ARGS:json.id "123" "...."

We will have to run the bodyprocessor to make this work.
cc @corazawaf/core-developers


Blog post for KEP-2896 and KEP-2885

Placeholder blog post for https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/2896-openapi-v3/README.md and https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/2885-server-side-unknown-field-validation/README.md
We will be combining them into one blog post.

Hello, Comms Lead for the 1.27 release here. This feature blog is tracked for release, the deadline for submitting the draft is 4th of April- the sooner the better since there's still editing to be done afterwards. Any doubt, the Comms team is here to help.
Thank you!

Hello @Jefftree, we're doing a global reminder about submitting a draft for review for all opted-in feature blogs. If it's at all possible, it is very helpful for the release team to have drafts submitted for review before the hard deadline date, to better plan the release dates and avoid missing out. Thank you!

@Jefftree
Reminder: The feature blog ready to review deadline is tomorrow (April 4th)

@harshitasao Is there a guideline on how to set the date for the blog publishing date?

/assign @apelisse

Hello, Comms Lead for v1.27 here. The publication order and date for the Feature Blog series has been finalized and the tracking board is updated.
The publication date for this article is 24-04-2023 (April 24).
Thank you!

LGTM (after fixing comments), thanks for writing this!

/lgtm
Comms View

/retest

/lgtm


"FileSystemException: Failed to set file modification time, path = '/home/zhl/ai_listener/.packages' (OS Error: Operation not permitted, errno = 1)

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

@henry892 Can you please add the steps to reproduce this or at least a brief description of where you encountered such an error?
It looks like you are writing to a directory that the application does not have write access to. Have you tried writing to the temp directory?

I  am trying to build a flutter project for Adriod APP.  The environment is Ubuntu 20.04.4 LTS. I have tried to set "chmod 777" for all files. But it does not work.

zhl@DESKTOP-6APV0OP:~/ai_listener$ ../flutter_v1/flutter/bin/flutter  pub get
Running "flutter pub get" in ai_listener...                         0.5s
Failed to send crash report due to a network error: SocketException: OS Error: Connection timed out, errno = 110,
address = clients2.google.com, port = 59818
Oops; flutter has exited unexpectedly: "FileSystemException: Failed to set file modification time, path =
'/home/zhl/ai_listener/.packages' (OS Error: Operation not permitted, errno = 1)".
A crash report has been written to /home/zhl/ai_listener/flutter_08.log.

Hi @henry892, please provide the content of /home/zhl/ai_listener/flutter_08.log as well as your flutter doctor -v.
Thank you


Trace Access Denied - error 122

I cannot get BMTrace to work (Windows), I see the above error message.

According to winerror.h, code 122 is ERROR_INSUFFICIENT_BUFFER (a data buffer passed to a system call is too small). This might be caused by structure padding.
Has BMTrace worked before, or has it never worked? If it did work before, any idea what changed?

Yes, BMTrace has previously worked, I don't remember any changes, perhaps my target is sending larger amounts of data, perhaps 64 bytes each USB packet

In commit b37136ed5d3626d4fee467d4a519f895a5f02797 I added an extra code to the error message, to hopefully pinpoint the problem.

Unfortunately the mingw build fails, the file "usb-support.h" appears to be missing.

Oops, I forgot to add the files to the project before commit. Fixed in commit bbc60b4c72ac6e36c70f329779beec441c4abfd1.

Error when running BMTrace.

Hmmm... so now the "access denied" error is magically gone and another error pops up. It feels to me like a memory corruption bug.
You can comment out this particular assertion; it does no harm. However, the situation simply should not occur because it implies that time jumps backward...

I commented out the assertion and BMTrace now works

Commit ffc80c9d9ca124d696b43da388e0fed89f2aeab6 has a fix for the bug signalled by the assertion. When multiple trace messages arrive in a single USB packet, the timestamp on the 2nd (and further) was set incorrectly.


Issue #411 - tabs for generated code in umpleonline

The feature to output generated codes in separate code blocks for every file was requested. I have added a checkbox to UmpleOnline after the code is generated called "Show Files in Separate Tabs". Clicking this will bring up buttons with the corresponding file names, and clicking on one of these will show only the code that is found in that file. Unchecking this checkbox will revert to showing one code block with all the files glommed together.
Closes Issue #411

A test is failing in your PR.
You need to run a full build and then check for the word FAIL in the
build. Don't rely on 'BUILD SUCCESSFUL'.
You should also look in the dist/qa/index.php you will see there that is
says that PlaygroundMainTest is failing.
The test in quuestion, on line 93 asserts that the generated output should
start with
/PLEASE DO NOT EDIT THIS CODE/
In fact, your output now begins with
//%% NEW FILE One BEGINS HERE %%
/PLEASE DO NOT EDIT THIS CODE/
So you need to modify the test
There are additional issues.

The 'show files in separate tabs' checkbox continues to appear when
generating Java Api Doc, Ecore, and other outputs that don't require it.

When a tab is displayed, the first line should be the /*PLEASE DO NOT
... line or whatever would have come first before you added the feature.

If I show a tab, and then 'generate' again, the new stuff appears and
the previously displayed tab appears below.

I also think that if the 'show as tabs' is selected it should stay
selected when regenerating or generating some other output. In other
words it needs to be remembered as an option.

I think it might be preferable also to automatically display the
leftmost tab when switching to this mode.

I am glad to see this works nicely with Java, PhP, Ruby and C++ and indeed
in C++ it is properly showing the .h and .cpp suffixes. I note you took
the decision to hide the suffixes in the other languages. I suppose that
is acceptable, but I find it a little disconcerting to not see the
filename appear as x.java for example in the non-tabbed form. I think we
leave that as it is for now.

To clarify the above points:
Point 0: The test should pass. Your new combined output now has the extra lines that say  //%% NEW FILE One BEGINS HERE %%
The test needs to expect these.
When displaying combined output without tabs, the whole file appears, which would have
//%% NEW FILE xxx BEGINS HERE
/*PLEASE DO NOT EDIT ...
body of code for file xxx
//%% NEW FILE yay BEGINS HERE
/*PLEASE DO NOT EDIT ...
body of code for file YAY
etc.
Point 2: When displaying tabs, the //%% NEW FILE lines should be hidden. What appears in each would tab starts with the /*PLEASE DO NOT EDIT lines. The contents of each tab looks identical to what would appear if the zip file was unzipped, so the line numbers match.

Before I re-make the Pull Request, I just want to make sure of something.
For Point 0, I modified the test such that it looks for checks if the
source code begins with "//%% NEW FILE". Do you also want me to insert the
filename as a wildcard after NEW FILE, and looking for the "/* PLEASE DO
NOT EDIT" lines in this test as well?
On Wed, Oct 21, 2015 at 3:31 PM, TCLethbridge<EMAIL_ADDRESS>wrote:

To clarify the above points:
Point 0: The test should pass. Your new combined output now has the extra
lines that say //%% NEW FILE One BEGINS HERE %%
The test needs to expect these.
When displaying combined output without tabs, the whole file appears,
which would have
//%% NEW FILE xxx BEGINS HERE
/
*PLEASE DO NOT EDIT ... body of code for file xxx //%% NEW FILE yay BEGINS
HERE /*PLEASE DO NOT EDIT ...
body of code for file YAY
etc.
Point 2: When displaying tabs, the //%% NEW FILE lines should be hidden.
What appears in each would tab starts with the /*PLEASE DO NOT EDIT lines.
The contents of each tab looks identical to what would appear if the zip
file was unzipped, so the line numbers match.
—
Reply to this email directly or view it on GitHub
https://github.com/umple/umple/pull/636#issuecomment-150001902.

This is much better, but there are still some bugs.

The 'download zip' link is wrong when tabs are displayed.

If I do the normal 'generate code' in Java I see a download zip line that allows me to download the zip correctly.
But if I then click 'Show Files as Tabs' the link is then incorrect (it has the wrong tmpnnnnn directory number

SQL code doesn't split into tabs as it should

When splitting into tabs, there is a blank line 1 at the start of each file that needs to be removed.
So in the following, the 001 line should be the one that has the comment

/PLEASE DO NOT EDIT THIS CODE/


Advanced option: Update send funds with advanced option according to design

Title/Description
The send funds window looks different from the expected design

Different background for the text under advanced option
different view of the advanced option field
the Wrong size is used for the field names and values:

Recipient and amount fields title should be 12px
Addresses names, addresses - 14px
amount value, Advanced option title, the text under the advanced option, buttons name - 16px

ETH icon is wrong
Expand Advanced option has the wrong view: no borders for the advanced options box, wrong colours for the options

Environment

Browser: Chrome
Safe: 0x1230B3d59858296A31053C1b8562Ecf89A2f888b
Wallet: MM
App Version: 2.19.0
Environment:

PR # https://pr1828--safereact.review.gnosisdev.com/rinkeby/app/#/

Steps to reproduce

Go to Send funds
Enter valid information on the first step
Go to the step with advanced option
Current result: The issues are listed in the description

Expected result

https://app.zeplin.io/project/5b83b4fa75f90943c86ed14f/screen/5f5b85548dc46975fe432ae7
https://app.zeplin.io/project/5b83b4fa75f90943c86ed14f/screen/5fdcb7c14059e8aced603612

Screenshots

This is done. This is how it looks in prod today:


[JSON RPC] expose mempool status codes

Summary
Expose mempool error status codes as custom Libra server codes

@bors-libra r=davidiw

:pushpin: Commit f8e915c has been approved by davidiw

:hourglass: Testing commit f8e915caa171b5704e91f5369f758f1335ac07dc with merge 1a7c885c75fad975788b5fe26c8f1ef26c93c7e4...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing 1a7c885c75fad975788b5fe26c8f1ef26c93c7e4 to master...


on tap of marker

https://user-images.githubusercontent.com/64520575/165264795-69272738-904d-4847-a009-9b61e4520e9b.mov
hello
when I use a custom marker and. when I clicked on that particular market at that time my all markers a rebuilt. so how to solve this issue

Use one boolean make it false initially and while you tap on marker change that boolean to true.
Use that same boolean and show visibility of the result accordingly.
Eg.
RxBool showData = false.obs;
onTap: () {
showData.value = true;
}
showData.value == false
? const SizedBox()
:  Positioned(
bottom: 10,
left: 15,
right: 15,
child:   //show your result here
)
You can refer above image.

how did you put on tap on the markers? I really want that

I also want to know how can i put on tap on the markers.? :(

Hello @rlaheri99 @vivekdhameliya2
Can I know how were you able to show bottom sheet on click of a marker?

You can add onTap functionality by adding the below lines
MarkerData(                           marker: Marker(                               markerId: MarkerId(markerId),                               position: position,                               onTap: (){} // Here you can implement on marker tap                           ),                           child: Container() // You Custom Widget Here,                       )

same problem for me


1.6.9出现两个图标

Before Issue

Please search on the Issues
Please search on the wiki
Please set FileDownloadLog.NEED_LOG=true and review the Logcat output from main process and :filedownloader process ( pay attention to Warn and Error level logcat)

Issue

What problem do you get?
Which version of FileDownloader are you using when you produce such problem?
How to reproduce such problem?
Do you set FileDownloadLog.NEED_LOG=true?
Could you please reproduce this problem and provide all main process and :filedownloader process logcat
Can you fix it by yourself and request PR, if not, what's problem do you get when you try to fix it

P.S. If you don't know how to get :filedownloader process, it's recommended to using pidcat to just filter all your application logcat, or define process.non-separate=true on filedownloader.properties

请在Issue前认真的跟进上面提到的建议，这样将可以极大的加快你遇到问题的处理。

可否说具体些。

就是我集成了1.6.9之后，桌面出现了两个我的应用图标

桌面出现两个你应用的图标，应该不是FileDownloader的问题，有三种情况可能导致:

你修改了包名，导致系统认为是两个应用
你在AndroidManifest中定义了两个入口Activity，并且都提供了相同的icon
系统/你自己 多创建了一个桌面快捷方式


Debug NotePad popup -  Tracing causes memory issues

Debug NotePad popup -  Tracing causes memory issues
must make the notepad popup idea optional via a parameter to avoid 1000 notepads with lots of data making the server run out of memory

will also add in trace to file  in realtime by default

2<IP_ADDRESS> addresses this the notepad popup is off by default


TiledImage viewportToImageCoordinates seems to ignore position of image

This is an extension / update to the following question https://github.com/openseadragon/openseadragon/issues/776
I want to click on the image and get an image coordinate (in pixels of my largest zoom level) of the click location. I believe this is the same goal as the original question above.
I tried to loop through the tiles, but the lastDrawn doesn't seem to be accessible any more.
When I pull out the tiled image from the viewer with:
var tiledImage = viewer.world.getItemAt(0)
Everything in the tiledImage object seems to ignore the fact that I've zoomed and/or dragged the image around.
I will always get the following, no matter where the image is (zoomed, dragged around etc, but my project doesn't have rotation).
tiledImage.getBounds():
$.Rect
degrees: 0
height: 1
width: 1
x: 0
y: 0

tiledImage.getClippedBounds():
$.Rect
degrees: 0
height: 1
width: 1
x: 0
y: 0

The viewportToImageCoordinates function also gives me the image coordinates, but seemingly only scaled by the pixels in the largest zoom layer of the image, if it was all displayed in the viewport, rather than where the image currently is.

You'll want to use a click handler to get the position of the click relative to the viewer element (or, more specifically, the canvas element), and then convert the position of the click into to pixel coordinates of the base image. Something like this is probably a good starting point:
viewer.addHandler('canvas-click', ev => {
   ev.preventDefaultAction = true; // stop click-to-zoom
   console.log('Position of click on canvas', ev.position);
   console.log('Position in image coordinates', viewer.viewport.viewerElementToImageCoordinates(ev.position));
});

@pearcetm's example is correct. It works because the canvas-click event gives its position in web coordinates, which change with zoom and pan. The purpose of viewport coordinates is to be consistent regardless of zoom and pan (as you've discovered). You can learn more about the coordinate systems here:
https://openseadragon.github.io/examples/viewport-coordinates/
Note that @pearcetm's example assumes you have only one image in your viewer... viewer.viewport.viewerElementToImageCoordinates is a shortcut to viewer.world.getItemAt(0).viewerElementToImageCoordinates but it gives you a warning if there is more than one image.

I have reread #776 several times, and I am convinced this is the solution that author wanted as well. If not, I'm really curious what that use case was 😄

Thank you! The information that I was previously missing was that the web coordinates change with zoom & pan, and that viewerElementToImageCoordinates could directly take web coordinates as input. My initial tests seem to be working.


MAVLink GPS accuracy

This should enable anyone in need of these additional GPS fields. We had them all internally already but never exposed them.

Thank you!


[Event Request] Table 38 - Purchase Header - UpdateCurrencyFactor

We need to change the CurrencyDate just before the currency exchange rate is retrieved.
procedure UpdateCurrencyFactor()
var
    UpdateCurrencyExchangeRates: Codeunit "Update Currency Exchange Rates";
    Updated: Boolean;
begin
    OnBeforeUpdateCurrencyFactor(Rec, Updated, CurrExchRate);
    if Updated then
        exit;

    if "Currency Code" <> '' then begin
        if "Posting Date" <> 0D then
            CurrencyDate := "Posting Date"
        else
            CurrencyDate := WorkDate;
//-new
        OnUpdateCurrencyFactorAfterCurrencyDateSet(Rec, CurrencyDate, CurrFieldNo);
//+new
        if UpdateCurrencyExchangeRates.ExchangeRatesForCurrencyExist(CurrencyDate, "Currency Code") then begin
            "Currency Factor" := CurrExchRate.ExchangeRate(CurrencyDate, "Currency Code");
            if "Currency Code" <> xRec."Currency Code" then
                RecreatePurchLines(FieldCaption("Currency Code"));
        end else
            UpdateCurrencyExchangeRates.ShowMissingExchangeRatesNotification("Currency Code");
    end else begin
        "Currency Factor" := 0;
        if "Currency Code" <> xRec."Currency Code" then
            RecreatePurchLines(FieldCaption("Currency Code"));
    end;

    OnAfterUpdateCurrencyFactor(Rec, GetHideValidationDialog);
end;

[IntegrationEvent(false, false)]
local procedure OnUpdateCurrencyFactorAfterCurrencyDateSet(var PurchaseHeader: Record "Purchase Header"; var CurrencyDate : Date; CurrFieldNo: Integer)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


AP -> AT Some replies become post?

I just noticed this, but some of my replies became their own post. For ex:
https://social.atiusamy.com/notes/9vdetlseu2g408ox
https://bsky.app/profile/AmyIsCoolz.social.atiusamy.com.ap.brid.gy/post/3kwlyx3xhl7b2

Oops, yes! Thanks for reporting. Looks like we're not quite smart enough about self replies where the upstream thread isn't bridged. Will fix.

I think this was fixed by #1166; the fix there went out on 7/9, a few days after your example. But I'm also adding another layer that will help with snarfed/granary@9bf7cb7.


Index the title and content of URLs in page

想要解決的問題：

Retrieval 時遇到連結基本上就不能做任何事，即使連結背後的文章高度相關也無法找到。
Line bot 顯示找到的文章給使用者選時，對連結相當不友善
編輯要點進去看有點麻煩，而且 related article 對連結的效果不彰

如果可以記錄每個連結的

Title
Canonical URL (after redirect)
Content

一併加入 Full text search 的話會方便很多。

https://github.com/ageitgey/node-unfluff/blob/master/README.md
This definitely won't work yet for languages like Chinese / Arabic / Korean / etc that need smarter word tokenization.
https://github.com/craftzdog/extract-main-text-node 有網友說在 cjk 他會比 unfluff 穩定

https://github.com/inspiredjw/oembed-auto some media sites may support oembed

Webpage loading & rendering 可以直接用 headless chrome 來處理 SPA，還可以順便截張圖
https://github.com/GoogleChrome/puppeteer#readme

滿厲害的可以處理中文：
http://fivefilters.org/content-only/
處理方式：http://www.keyvan.net/2011/03/content-extraction/

Goose3 seems really promising!
We just need to provide URL. How neat!

As for URL normalization, we can rely on: https://github.com/g0v/url-normalizer.js
and canonical URL check

Pure goose3 test:
https://docs.google.com/spreadsheets/d/1y1GGc04HBhpU76D6LvX5hqt877X_Rfatc1vSQNJmZ6Q/edit#gid=0

Failed to resolve some of the url shortener. Maybe it contains multiple redirects?
Youtube contains no server rendered stuff (other than meta description). It contains no cleaned_text.

Another possible alternative is Boilerpipe in Java.
Although it's old, it do have an API, and supports Chinese.

Input: http://www.cna.com.tw/news/firstnews/201803180011-1.aspx
Result: https://boilerpipe-web.appspot.com/extract?url=http%3A%2F%2Fwww.cna.com.tw%2Fnews%2Ffirstnews%2F201803180011-1.aspx&extractor=ArticleExtractor&output=htmlFragment&extractImages=&token=

Here are the comparison between goose and boilerpipe:
https://gist.github.com/eldilibra/5637215
Ref:
https://news.ycombinator.com/item?id=2526127

Mozilla/Readability + Puppeteer test results:
https://docs.google.com/spreadsheets/d/1y1GGc04HBhpU76D6LvX5hqt877X_Rfatc1vSQNJmZ6Q/edit#gid=1885459841
Quote my feedback from slack:

雖然似乎是比 goose3 多抽出了一些垃圾來（首尾會多出一些日期之類的；mygopen的主文不知道為什麼重複了兩次 @@），但就 indexing 的需求來說我覺得可以接受耶。
這個 JS solution 我覺得夠好了，
現在沒有動力測其他 python based solution XD

Requirement
https://hackmd.io/s/SyqhWqLKz#Proposal
To be implemented

an utility function, given an URL, returns the fetched result and write new entries in urls index (or just return cached result; or check cache first before fetching)
a script that populates urls using article & replys, given
a mechanism to override / import urls index

CreateArticle, CreateReply:

Extract URLs from string fields
Invoke scrapUrls with cache turned on. After fetch, insert newly searched URL to the urls index.
write to hyperlinks when scrapUrls returned.

ListArticles + moreLikeList filter

Extract URLs from string fields
Invoke scrapUrls with cache turned on. After fetch, insert newly searched URL to the urls index.
perform search with summary returned by scrapUrls

1 and 2 are always used together, consider implementing them into scrapUrl
Migration script
For each article & reply, perform CreateArticle's 1~3.

With #97, #98 and #104 deployed to production, we can now close this.


Can't use with self signed certs on Ubuntu

I am trying to use the emulator on Ubuntu. I start restify with self signed certs. I can get this to work on Windows, but not Ubuntu.
The emulator doesn't give any error messages, but nothing happens in the logs; it's like the message is never sent to my bot. Do I need to enable something within Ubuntu to trust the self signed certs? Is there a way to get the emulator to trust the certs?
Thanks!

Should be possible in v4 if the self-signed certificate is trusted on the machine.
Closing for now, feel free to reopnen


:bug: Remote catalog continues to contain parquet files

Problem
Despite having merged a PR that removed Parquet from the catalog, we still see a ton of Parquet files in the data-catalog repo.
Todo

[x] https://github.com/owid/ops/pull/76
[x] https://github.com/owid/etl/pull/1262
[x] Confirm that the catalog is free from Parquet

It needed a manual prune of the last catalog files, but they're no longer being generated now.


[WIP] feat: Extensible Client + Options

This PR enables https://github.com/getsentry/sentry-laravel/pull/166 the Laravel SDK.
This PR also fixes in_app flag in frames.

Closing this since it seems unlikely that we ever merge this.


new(tests): EIP-7251: Increase the MAX_EFFECTIVE_BALANCE (EL Consolidations)

🗒 Description
Implements tests for EIP-7251
🔗 Related Issues
#606
✅ Checklist

[ ] All: Set appropriate labels for the changes.
[ ] All: Considered squashing commits to improve commit history.
[ ] All: Added an entry to CHANGELOG.md.
[ ] All: Considered updating the online docs in the ./docs/ directory.
[ ] Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
[ ] Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
[ ] Tests: Included the type and version of evm t8n tool used to locally execute test cases:  e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
[ ] Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

* These might exist here already but could we do recursive consolidation requests? My guess is where we use the same target public key.

I don't understand how could they be recursive since the contracts cannot do calls themselves to other contracts, do you mean on a loop?

Added a modification that ensures the test keeps producing blocks until the consolidation/withdrawal requests queues are exhausted, in order to properly validate that the invalid requests are not included in a future block. This is done to all test cases.

* These might exist here already but could we do recursive consolidation requests? My guess is where we use the same target public key.

I don't understand how could they be recursive since the contracts cannot do calls themselves to other contracts, do you mean on a loop?

Yeah you are right, they can't be recursive!


Support Kubernetes Lease as lock provider

This article https://www.acritelli.com/blog/kubernetes-leases/ made me wonder if it is possible to make this work.
Not expecting it to be done for me, just want to see if there is feedback/interest.

Hi, if it's useful for you, it may be useful for the others and I am happy for any PR. Just pick an existing LockProvider and copy it. The main thing, I insist on, is that all the tests from AbstractLockProviderIntegrationTest are passing in CI.
Thinking about it, it may be tricky to make the tests work in CI with K8S. If that's the case, you can always publish the LockProvider as an independent project/artifact. Or keep it for yourself.


Markdown documents from GitHub not rendering

Describe the bug
Some guidance and best practice documents have been linked using the raw markdown and set to render within modals on the web application. Unfortunately, these no longer function and the "click here" if not loading button has broken too.
To Reproduce
Go to https://public-health-scotland.github.io/knowledge-base/develop and try to view a guidance document, e.g. GitHub Guidance.
Expected behaviour
This should open a model and render the markdown from the original source on GitHub. Additionally, a link to the source should be present if loading issues occur. Neither of these things occur.
Screenshots

Added temporary fix to allow content to be found/opened in new tab by loading GitHub rich link page directly - https://github.com/Public-Health-Scotland/knowledge-base/commit/72cf42bc6ad1914b5376c194bfb498f52534c283

Resolved as part of #36 creating a new format for handling external docs


Checklist that separates automated and manual guidelines.

This will be a good starting point but it is NOT complete yet.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x ] The title of the PR is clear and informative.
[x ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

cc @veronicagg and @salameer

@vishrutshah @sarangan12 @amarzavery @dsgouda feel free to provide your thoughts.

@veronicagg - updated the PR. Please take a look

@veronicagg : Can you please merge it?

No modification for NodeJS

No modification for Python

No modification for Ruby


Updates from rspec-dev (2015-08-11)

These are some updates, generated from rspec-dev's rake tasks.

Seeing if rspec/rspec-dev#116 is fixed


option to filter to specific namespace

New arg option to generate API stub only for a specific name space and it's sub modules.

@pakrym @JoshLove-msft : Can you please have a look at this PR? I have updated npm version to 6.14.6 to resolve pipeline error when installing npm packages:
"npm ERR! cb.apply is not a function"


Enhancing the javadocs

As of this moment, some things are a bit unexplained in the documentation like, say, the way ClassInfo stores class names. Is it the whole name? Is it the simple name? What's the equivalent in the usual Java Class API?
Also making it clearer in the docs whether some method call results in using Reflection or not.
It's a very minor thing, of course, but it's an important one when developing without having yo switch to a browser window, etc.
I would do it for you and submit as a pull request, but since I'm waaaay too busy these days I'm submitting this. If I ever get the chance, I will help more.

@andrebrait You're totally right, the Javadocs need major polishing work. The library was not well documented in the beginning, and I went back a couple of times and added tons of Javadoc, but it really needs an end-to-end coverage, detail, and consistency check.
I'm going to be revamping the API in a major way soon, so I will hold off on redoing the Javadoc until then, because a large number of API methods will be going away and getting replaced by other methods of setting up scan criteria and reading the results.
I'll link this to the API rework bug, but will close it for now since that bug is tracking all the work that needs to be done on the API. Thanks for the suggestion! And thanks for the offer to help more when you have more time, that would be great!


[FLINK-33379][Backport v3.0] Add support for Flink 1.18

Backport of https://github.com/apache/flink-connector-elasticsearch/pull/78

Can't add support for 1.17 or higher to v3.0 so aborting this PR


Add 3.4 documentation

This PR adds the corresponding documentation changes to the 3.4 cloud updates

We still need to look at the extent to which documentation also needs to go into versioned_docs & old downloads need to be removed.


brew cask install existing-app uninstalls the app

5785f54f4bd48dca58a7550af48217d4c6372ad2 (part of #1620) causes brew cask install foo to delete the Foo app if it's already installed.
(Hbc::Artifact::Moved#preflight_checks raises CaskError which gets rescued by Hbc::Installer#install_artifacts, triggering an uninstall of already-installed artifacts. The artifact wasn't actually installed yet, though! So it gets uninstalled because it already exists which caused the install to fail.)
To reproduce, for example: Install the GitHub Desktop app, then
$ brew cask install --verbose github-desktop
==> Downloading https://mac-installer.github.com/mac/GitHub%20Desktop%20222.zip
Already downloaded: /Users/jeremy/Library/Caches/Homebrew/Cask/github-desktop--222.zip
==> Verifying checksum for Cask github-desktop
Error: It seems there is already an App at '/Applications/GitHub Desktop.app'.
==> Removing App: '/Applications/GitHub Desktop.app'
Error: An error occured during installation of Cask github-desktop: It seems there is already an App at '/Applications/GitHub Desktop.app'.
Error: nothing to install
Error: Kernel.exit

CC @reitermarkus and @jawshooah because this seems pretty bad.

Also https://github.com/caskroom/homebrew-cask/issues/28789.

@jeremy Thanks for opening this issue. I see that you've found the source of the bug, but I don't see a pull request. Were you planning on submitting one? If not, I was going to start working on it because I maintain a somewhat popular script that installs certain apps via Cask, and I'd hate for it to remove existing apps from people's machines.
I wanted to reach out first to make sure we're not duplicating efforts. Thanks!

Please do, @monfresh. Thank you! I didn't look into the test suite at all.
Here's the patch I expected would fix the problem:
diff --git a/Library/Homebrew/cask/lib/hbc/installer.rb b/Library/Homebrew/cask/lib/hbc/installer.rb
index 3875e1c8f..465011735 100644
--- a/Library/Homebrew/cask/lib/hbc/installer.rb
+++ b/Library/Homebrew/cask/lib/hbc/installer.rb
@@ -141,8 +141,8 @@ module Hbc

       artifacts.each do |artifact|
         odebug "Installing artifact of class #{artifact}"
-        already_installed_artifacts.unshift(artifact)
         artifact.new(@cask, options).install_phase
+        already_installed_artifacts.unshift(artifact)
       end
     rescue StandardError => e
       begin


behnaz/update-withdrawal-deriv-xfaq

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

Closing this as it is no longer relevant.