Is there any way to set the modal's position or offset of pageTop and pageLeft?

Version
vue-final-modal: 3.4.4
vue: 3.2.37
OS
Windows
What is Expected?
When I use the dynamic way to show up a modal , I want to custom the modal position where it show up . I try to read documentation and codes in lib file , but I cant figure it out .
sorry for my bad English and thanks for your hardwork in this project..

Hi @ChanXYan
I can checkout the Advance usage of dynamic modal
If you want to custom the modal position, you have to write the CSS your own because vue-final-modal is a styleless component.
You can also provide a codesandbox or jsfiddle.

feel free to reopen if your question is still exist


follow symbolic links

Pull request details
Adds -L option to find command to follow symbolic links, so it is also listing symlinked directories.
Issues fixed
I use WSL 2 for development on my Windows machine. With option -L, it lists the directories symlinked in Wsl from Windows.
Other relevant information
This change might not be beneficial for all users, maybe consider adding it as an option.

Nice, thansk for the PR. Also a WSL2 user here 👌🏼. I think it is a good idea to make -L optional. Could you add it as a command line option to the tmux-session command?

Looks good!

Thanks for the merge 💖 I just recently started using tmux and this tool is awesome. Thank your for making it 👏,


new structure instrumentation and logger (Heimdall)

Our WIP friendly fork over at ember-cli https://github.com/ember-cli/broccoli/pull/4 has added structured logging and instrumentation via heimdalljs.
I am opening this issue, so we remember this was another deviation.
I still hope to find some time to get to re-combine the fork. But iterating independently has let us address our issues quickly, and hopefully learn lessons the mainline can benefit from.

about to fork sane-watcher, another part of this fork

I was about to rewrite broccoli-sane-watcher to conform to the Broccoli 1.0 API. (It doesn't work with Broccoli 1.0 beta yet.) Should I coordinate with someone? I'm not completely sure what's going on.

@joliss I don't think it will matter for broccoli-sane-watcher.  Our changes there are minimal, and porting them to a 1.0 compliant broccoli-sane-watcher shouldn't be much effort for us.
The bigger effort is upgrading ember-cli & friends to be 1.0 compliant.
Our changes to broccoli-sane-watcher amount to:

Assume that we can pull a heimdalljs node off of a broccoli node (this is done by ember-cli/broccoli)
Update broccoli-slow-trees to '^3.0.0' so we get slow-trees output from heimdall nodes (rather than broccoli nodes).

Having said that I'd love to catch you up on the work @stefanpenner and I are doing and get your thoughts.  Happy to chat over slack, hangouts &c. whatever's convenient.

The tl;dr is making it easier to do performance analysis work

get a common format for instrumentation information, for times & counts

a js lib to make it easy to produce the format with PAYGO performance

visualization and query tools to make it easier to explore this data

https://github.com/heimdalljs/heimdalljs-lib

as a side bonus we have some configurable (not from CLI yet) context-aware logging that reports the path tail (across the broccoli tree ) when logging.  https://github.com/heimdalljs/heimdalljs-logger
So you'll get log entries like
// not a real log line, but more or less representative
fs-tree-diff: [TreeMerger(babel):2 -> Funnel:3 -> applyPatches:4] ...

complete


[BUG] EWW! I FOUND A BUG

Expected Behavior
Run task on Target, Best Buy, GameStop
Actual Behaviour
Target - status stuck on "Changing Value in Chromedriver"
PermissionError: [Errno 13] Permission denied: 'C:\...\PhoenixBot\env\lib\site-packages\chromedriver_py\chromedriver_win32.exe'
Not sure if I need to update requirements from 86.0.4240 to the new version?
Best Buy - status stuck on "Loading Product Page"
No updates in the terminal either
GameStop - status is "Stopped"
Opens up a new chrome window with data:, in the URL bar
[WDM] - Current google-chrome version is 86.0.4240
[WDM] - Get LATEST driver version for 86.0.4240
[WDM] - Driver [C:....wdm\drivers\chromedriver\win32\86.0.4240.22\chromedriver.exe] found in cache
DevTools listening on ws://<IP_ADDRESS>:59038/devtools/browser/343fc9a5-5e59-4867-bae4-d29fe535cd4e
[18784:12912:1128/155205.447:ERROR:browser_gpu_channel_host_factory.cc(167)] Failed to launch GPU process.
Screenshots
Place any informational screenshots here.
Repro Steps
Clicking the run button on tasks to those sites
I.E.

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

Desktop Configuration

OS: Win 10 pro
Browser Chrome 86.0.4240.198 (Official Build) (64-bit)
Version 49 I think? not sure how to check in visual studios but I recloned today

Additional Context
Add any other context about the problem here.

On the mac target app wont input username and password, but the program runs fine. On my windows I get the same problem

Yep you need to use sudo due the fact that we updated the chrome driver version.

@hardt0303

you need to git pull / redownload the repo and if you are still having an issue  please submit a new bug report with more information including your log.


Declare "Static Database Types" for Consumer from XML-File?

Hello,
is there a chance to automatically build a "Static Database Types" - Declaration with a kind of "Class-Builder" in the Ember-SDK? It would be nice in case of large trees to write manually instead :-)

At the moment no such a tool exists. While it would be a worthwhile addition, the implementation might be more difficult than what a casual observer might expect:

The user almost never needs to have access to all parameters in a tree. Generating classes for the full tree would therefore often lead to performance issues because the provider is queried for more data than necessary and the additional elements occupy more memory than necessary. The tool would therefore have to offer a way to only generate classes/properties for elements the user is interested in.
Different areas of Ember+ trees often contain identical data structures. A naïve implementation would generate multiple classes containing equally-named members. This is problematic if your application needs to apply general algorithms to such data structures. While it is possible to automate this process somewhat, it is certainly not trivial.
Ember+ does not distinguish between nodes that act as collections of identically structured elements and nodes that contain elements of differing structure. In a consumer implemented with Ember+ Sharp you'd use CollectionNode for the former and FieldNode for the latter. Again, a tool could detect this to a certain degree, but it's almost impossible to automate this perfectly.

TL;DR: Such a tool would certainly help, but it would have to offer many customization points, which is why no attempt has so far been made to implement it.


CI: create separate environment for testing

The CIs are happy (at least for the engine).

@jorisvandenbossche I think that it can be merged

python 2 is failing, that is a known problem?

Yes this is due to the ramp board.

Then merging


Add test cases for the triple based the partitioner

Essentially, create a small RDF file and corresponding TSV files for the expected content of the partitions.

I'm closing this issue for now since there is one example how to use the core partitioning on SANSA.
In case we need to describe the output of the partitioned data we could refer to this issue.


Integrate REST API request of YARN into DMON

Research the type of information that can be accessed at:
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/WebServicesIntro.html

Need also to update db schema.

Issue closed because of duplication with #95


Concerto

https://www.concertocard.com/

Fixed in https://github.com/jplock/awesome-fintech/commit/8abc238bbf2378cde9a322dc6ad164f0d5cbea70


Detect invalid characters when setting sheet name, if invalid, report an error

PR Details
Add the detection of invalid characters in the sheet name, and if it is invalid, it will report an error
Description
Add the detection of invalid characters in the sheet name, and if it is invalid, it will report an error
Related Issue
#1425
Motivation and Context

How Has This Been Tested
run test TestAddChartSheetWithInvalidSheetName
run test TestNewSheet
run test TestSheetName
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #1426 (c921575) into master (ce4f7a2) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1426      +/-   ##
==========================================
- Coverage   98.53%   98.52%   -0.01%
==========================================
  Files          31       31
  Lines       23948    23991      +43
==========================================
+ Hits        23597    23637      +40
- Misses        232      234       +2
- Partials      119      120       +1

Flag
Coverage Δ

unittests
98.52% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

errors.go
100.00% <ø> (ø)

styles.go
100.00% <ø> (ø)

calc.go
98.96% <100.00%> (+<0.01%)
:arrow_up:

chart.go
97.98% <100.00%> (+0.05%)
:arrow_up:

col.go
100.00% <100.00%> (ø)

comment.go
100.00% <100.00%> (ø)

excelize.go
99.68% <100.00%> (+<0.01%)
:arrow_up:

rows.go
97.28% <100.00%> (+0.01%)
:arrow_up:

sheet.go
100.00% <100.00%> (ø)

stream.go
92.40% <100.00%> (+0.04%)
:arrow_up:

... and 5 more

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


Added Radix Sort

Radix Sort using Counting Sort

Excellent work @PrakharPipersania Thanks a lot for making this PR.


adding api manager keycloak keymanager code

Purpose
Adding initial code base for api manager keycloak keymanager component.
Goals
Provision Keycloak as a third party key manager for WSO2 APIM 2.6
Approach
Keycloak Client is written extending the AbstractKeyManager class.
User stories
Adopting a third party key manager, Keycloak for API Manager 2.6.0
Release note
Third party keymanager implementation for API Manager and Keycloak.
Documentation
Will be added in the future.
Training
N/A
Certification
N/A. Does not lie on the major flaws in APIM since it is custom implementation.
Marketing
N/A
Automation tests
N/A
Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

Provide high-level details about the samples related to this feature

Related PRs
N/A
Migrations (if applicable)
N/A
Test environment
JDK 8
Learning
Keycloak official documentation
https://www.keycloak.org/docs-api/5.0/rest-api/index.html#_clients_resource

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


Forbid macro att on function rules

Fixes: #1852
I'm assuming all of these attributes are not allowed on function rules: macro|macro-rec|alias|alias-rec
How about claims. What attributes are not allowed?

This is failing: https://github.com/kframework/k/blob/master/k-distribution/tests/regression-new/proof-tests/deposit/spec/deposit-symbolic.k#L8
Are we sure we want to enforce this restriction?

Claims can't be macros so you can forbid all of those attributes on claims.

@dwightguth I added more tests.
I also added the check to context and context alias. Please confirm which attributes are allowed because I couldn't find hard evidence of what is allowed where.


Auto show JS/TS suggestions after extends / implements

Feature request
In a JavaScript or TypeScript file, type out:
class Foo {}

class Bar extends |

Where you have just finished typing extends followed by a space. At this point we should automatically show suggestions. You currently have to trigger them manually
The same applies for implements

Closing as JS is more flexible than C# in this regard. Any expression can appear in this position


Change clean-submodules to clean in build-source-tarball.sh.

Clean-submodules.sh has been replaced by clean.sh

cc @dseefeld

test RHEL7.2 Release - want to see the current state of the repo

test RHEL7.2 Release - want to see the current state of the repo

test RHEL7.2 Release - want to see the current state of the repo
Last one I promise.  😄


Parse error when I'm not using an inline field

What happened?
The following literal text, which was part of a task, and not intended to be an inline field:
the `=` instead of `:` problem

Produces a parsing error:
the Dataview (inline field "): Error:
-- PARSING FAILED - - -.

Got the end of the input
Expected one of the following:
"(' 'null', boolean, date, duration, file link, list ('[1, 2, 3]'), negated field, number,
object ('{ a: 1, b: 2 }'), string, variable
or: choice

DQL
No response
JS
No response
Dataview Version
0.5.47
Obsidian Version
1.0.3
OS
MacOS

Yeah regex based parsing tends to do that, I suppose. For now, you can get around it by changing the character used to prefix inline queries in the plugin settings.

This still occurs with '=', I get around it by using lateX $=$ for in-line rendering


feat: bumping plate to v30 [TOL-1834]

Bumping the plate plugin dependencies for rich text to v30

Wonder, how we're gonna merge these 🫠
https://github.com/contentful/field-editors/pull/1565


Ensure ManePlusClinical is properly recognized/annotated

Describe the bug
I have the impression that the MANE Plus Clinical Transcripts are not properly recognized/built for mehari-data-tx. Review for GRCh37 and GRCh38.
We should probably write out some summary statistics how many MANE Select / Plus Clinical Transcripts have been written out for easier introspection.
Additional context
N/A

Plus Clinical is missing even in mehari builds for GRCh38.

It turns out that this is missing from the cdot-0.2.22.GCF_000001405.40_GRCh38.p14_genomic.110.gff.json.gz files in CDOT.

Re-assigning priority and size. When fixed upstream, this can be a simple fix by creating a new release based on an updated CDOT release.


Radial Bar chart height change on all legend click

Description
Radial Bar chart updates height on legend click, and also resize it. Please follow steps to reproduce the issues.

Steps to Reproduce

Go to https://apexcharts.com/javascript-chart-demos/radialbar-charts/custom-angle-circle/
Click on All the legends on by one that will hide radial from chart. So click on Vimeo, Messenger, Facebook, Linkedin
When you click the last legend, chart card height increases.
Not Done Yet... Now again click on all the legends to show chart bars.
Now remove any one of it by clicking the legends that will again resize card to small / actual size it was

Any suggestions, how to solve this height issue ??

defining height inside legend options to a certain size fixed for me


generate package.json from build.gradle definition

As both build.gradle and package.json wants version and project name, declaring the contents of package.json within build.gradle would be nice. Also makes the use of the typescript gradle plugin more coherent as the typescript dependency installed via npm would be declared in build.gradle. This is pretty much identical to what the bower plugin does, example as follows:
plugins {
    id 'com.craigburke.bower-installer' version '2.5.1'
}

bower {
    installBase = 'src/assets/bower' // <1>

    'angular'('1.3.x') {
        source 'angular.js' // <2>
    }

    'angular-animate'('1.3.x') {
        source 'angular-animate.js' >> '/angular/modules/' // <3>
    }

    'ui-router'('0.2.x') // <4>

    'bootstrap'('3.3.x') {
        source 'dist/css/*.min.css' >> 'styles/'
        source 'dist/fonts/**' >> 'fonts/'

        excludes 'jquery' // <5>
    }

    'animate.css'('https://github.com/daneden/animate.css.git') // <6>
}

The way bower plugin does it looks pretty cool. Will investgate how we can do it in the node plugin. If you have any experimental code around this I will be happy to look at it.

Nopes, none, unfortunately. Realized I forgot to link to the bower gradle project, so here comes if you haven't found it already:
https://github.com/craigburke/bower-installer-gradle

No worries, found it :-)


Stuck setting up: "Temporary error: backendError"

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Full steps to reproduce the issue:

Run command to install GAM
Enter admin account and authorize GAM
Fails after "checking project status..."

Expected outcome (what are you trying to do?): Set up GAM on macOS
Actual outcome (what errors or bad behavior do you see instead?): I get the following output before setup fails entirely:

Creating project "GAM Project"...
Checking project status...
  Project: gam-project-4hf-v4p-4hc, Enable 16 APIs
Temporary error: backendError, Backing off: 16 seconds, Retry: 4/10
Temporary error: backendError, Backing off: 32 seconds, Retry: 5/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 6/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 7/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 8/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 9/10

ERROR: 503: The service is currently unavailable. - backendError

Any ideas here?
Thanks!

See: https://status.cloud.google.com/ https://status.cloud.google.com/
<EMAIL_ADDRESS>
On Jul 25, 2019, at 12:38 PM, 0scubasteve0<EMAIL_ADDRESS>wrote:
The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Full steps to reproduce the issue:
Run command to install GAM
Enter admin account and authorize GAM
Fails after "checking project status..."
Expected outcome (what are you trying to do?): Set up GAM on macOS
Actual outcome (what errors or bad behavior do you see instead?): I get the following output before setup fails entirely:
Creating project "GAM Project"...
Checking project status...
Project: gam-project-4hf-v4p-4hc, Enable 16 APIs
Temporary error: backendError, Backing off: 16 seconds, Retry: 4/10
Temporary error: backendError, Backing off: 32 seconds, Retry: 5/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 6/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 7/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 8/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 9/10
ERROR: 503: The service is currently unavailable. - backendError
Any ideas here?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/978?email_source=notifications&email_token=ACCTYL6R6OFYJDLTWH6KALLQBH6KHA5CNFSM4IG52EDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBR6Y6A, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCTYLZCJKWTDV5YJG3HSXTQBH6KHANCNFSM4IG52EDA.

Ah, should have checked there. Thank you!
--
Ray Lyon
<EMAIL_ADDRESS>On Thu, Jul 25, 2019, at 3:46 PM, Ross Scroggs wrote:

See: https://status.cloud.google.com/ https://status.cloud.google.com/
<EMAIL_ADDRESS>
On Jul 25, 2019, at 12:38 PM, 0scubasteve0<EMAIL_ADDRESS>wrote:
The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Full steps to reproduce the issue:
Run command to install GAM
Enter admin account and authorize GAM
Fails after "checking project status..."
Expected outcome (what are you trying to do?): Set up GAM on macOS
Actual outcome (what errors or bad behavior do you see instead?): I get the following output before setup fails entirely:
Creating project "GAM Project"...
Checking project status...
Project: gam-project-4hf-v4p-4hc, Enable 16 APIs
Temporary error: backendError, Backing off: 16 seconds, Retry: 4/10
Temporary error: backendError, Backing off: 32 seconds, Retry: 5/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 6/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 7/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 8/10
Temporary error: backendError, Backing off: 60 seconds, Retry: 9/10
ERROR: 503: The service is currently unavailable. - backendError
Any ideas here?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/978?email_source=notifications&email_token=ACCTYL6R6OFYJDLTWH6KALLQBH6KHA5CNFSM4IG52EDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBR6Y6A, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCTYLZCJKWTDV5YJG3HSXTQBH6KHANCNFSM4IG52EDA.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/978?email_source=notifications&email_token=AI2IZFAZVRDNA5FHNH33XOLQBH7IZA5CNFSM4IG52EDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22SH2A#issuecomment-515187688, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2IZFDJFBNAPWX5QGH37OLQBH7IZANCNFSM4IG52EDA.


fix: setting chainId onChanChanged

name: "Pull request"
about: A new pull request
New Pull Request
Checklist

[x] I am not disclosing a vulnerability.
[x] My code is conform the code style
[x] I have made corresponding changes to the documentation
[x] I have updated Typescript definitions when needed

Issue Description
Chain id does not get updated onChain change
Solution Description
Fixed argument

:tada: This PR is included in version 1.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Current window icon cut off on right side

Hello everyone,
How do I lengthen the lower left side status bar. I'm using this theme without any mods, however the current folder icon is cut off.

It does that in both Gnome-Terminal and Alacritty. Using Bash or ZSH.

This looks to be an issue with the font that you are using. Can you try with Nerd font FiraCode and tell me if the issue is still there?
Font Link: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/FiraCode.zip


[bug] Ignores qt styles

I'm using adwaita-qt5 for qt applications. And most of qt apps uses this theme (i've set it with qt5ct), but hyprpolkitagent ignores it and tries to use it's default value (org.kde.desktop). I've tried setting QT_QUICK_CONTROLS_STYLE to 'Adwaita-Dark' and Adwait-dark but it just says:
qrc:/qt/qml/hpa/qml/main.qml: module "Adwaita-Dark" is not installed.
But if i set it to some default qt style, Material for example, it runs flawlessly.

QT_QUICK_CONTROLS_STYLE is not a theme. It's a theme provider. Install qqc2-desktop-style.


Not able to use OpenAI for Chat and Toolbox when self-hosting

I'm self-hosting Refact, went and created an API key for OpenAI, and enabled the checkbox for enabling it in the dashboard:

When I try to open the chat, I can't do anything and I'm unable to select a model to chat with:

I've tried selecting Enterprise and Self-Hosting. Both behave the same way. Is there something I missed on setup?

It's possible you just need to restart IDE. That's https://github.com/smallcloudai/refact/issues/158 we really need to fix 😅  Pls report if restarting helped or not.

That doesn't seem to work. I am getting a TON of these every few seconds in the log though:
20231222 09:41:38 CVD= starting python -m refact_scratchpads_no_gpu.infserver_no_gpu longthink/stable --workers 2 --openai_key sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 -> pid 118
--<PHONE_NUMBER>2 09:41:38 NOGPU infmod_guid: longthink/stable_c3d11bd17d34_0000
--<PHONE_NUMBER>2 09:41:38 NOGPU infmod_guid: longthink/stable_c3d11bd17d34_0001
-- 118 -- Traceback (most recent call last):
-- 118 --   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
-- 118 --     return _run_code(code, main_globals, None,
-- 118 --   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
-- 118 --     exec(code, run_globals)
-- 118 --   File "/usr/local/lib/python3.10/dist-packages/refact_scratchpads_no_gpu/infserver_no_gpu.py", line 239, in <module>
-- 118 --     main()
-- 118 --   File "/usr/local/lib/python3.10/dist-packages/refact_scratchpads_no_gpu/infserver_no_gpu.py", line 232, in main
-- 118 --     asyncio.get_event_loop().run_until_complete(asyncio.gather(*[
-- 118 --   File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
-- 118 --     return future.result()
-- 118 --   File "/usr/local/lib/python3.10/dist-packages/refact_scratchpads_no_gpu/infserver_no_gpu.py", line 194, in do_the_serving
-- 118 --     retcode, calls_unfiltered = await stream_results_async.completions_wait_batch(aio_session, my_desc)
-- 118 --   File "/usr/local/lib/python3.10/dist-packages/refact_scratchpads_no_gpu/stream_results_async.py", line 35, in completions_wait_batch
-- 118 --     async with aio_session.post(url, json=my_desc, timeout=WAIT_TIMEOUT, proxies={"http": "", "https": ""}) as resp:
-- 118 --   File "/usr/local/lib/python3.10/dist-packages/aiohttp/client.py", line 976, in post
-- 118 --     self._request(hdrs.METH_POST, url, data=data, **kwargs)
-- 118 -- TypeError: ClientSession._request() got an unexpected keyword argument 'proxies'
--<PHONE_NUMBER>2 09:41:38 NOGPU Unclosed client session
-- 118 -- client_session: <aiohttp.client.ClientSession object at 0x147422e90130>
--<PHONE_NUMBER>2 09:41:38 NOGPU Unclosed client session
-- 118 -- client_session: <aiohttp.client.ClientSession object at 0x147422e900d0>```

Could this have something to do with it?

I know this one!
Hey @m0ngr31 sorry you ran into this, it was a "thing to fix" some time ago, and now it works using a different mechanism -- we use litellm now that has integrations with a lot of model providers (still one provider for now, we'll expand from there). You just need to upgrade to the latest version, and HUGE thanks for reporting!

Hey @olegklimov, as far as I can tell I'm on the latest extension and Docker versions and it's doing the same thing as before. I have also restarted VSCode and the container.

Disregard my last message - the docker didn't update like I thought it did. It seems to be working now. Thanks @olegklimov!


clean src element wrongly

Hi,
I've developed a UGC service with laravel that users can publish posts.
I've used this package to prevent xss, and used xss_clean method in validation before post can published.
But sometimes there are some issues that clean wrong contents.
For example:
before xss_clean:
after xss_clean:
in this post there are 4 img tags but xss_clean cleaned only this one !!
Or in another post:
before:
after:

Can you provide the complete html example maybe in a single html file, thanks?

Sure.
xss_issue_sample_post.zip

I have added a test case here https://github.com/voku/anti-xss/commit/985b47f7c414190e9097585981d4337965956b8b ... but I can't see the problem in the test? Do you use the latest version? v4.1.4

Yes, I use v4.1.4
I've attached a sample post before and after using xss_clean.
sample post before and after using xss_clean.zip

I don't think that this is a before - after dump of the effected html, because e.g. the css and the font are different in this files?
Can you provide the html complete example as minimal as possible, so that I can test it?

Heres three minimal samples
minimal samples.zip
And these are screenshots from diffchcker shows changes before and after using xss_clean
sample 2:

sample 3:

Thanks for the bug report and thanks for the screenshot :+1: I tested it first with your html encoded sample files :man_facepalming: ... so the problem was a regex (?:\(.+([^\)]*?)(?:\)|$) where I checked not only the content from "src=.*".
PS: fixed in version 4.1.5


Improve code quality and administration

Pull Request Test Coverage Report for Build 545

3 of 5 (60.0%) changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.09%) to 80.938%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/ui/InfoPanel.java
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/storage/StorageManager.java
1
72.97%

src/main/java/seedu/address/ui/InfoPanel.java
4
74.0%

Totals

Change from base Build 541:
-0.09%

Covered Lines:
2951

Relevant Lines:
3646

💛  - Coveralls


error with catkin_make

Hey I wanted to try out your planer as an alternative to the teb_local.
I installed all the named dependencies and double checked that.
but when I try to catkin_make, I do now get the error, that there is a header.h missing:
In file included from /home/linus/catkin_ws/src/rsband_local_planner/src/fuzzy_ptc.cpp:38:0:
/home/linus/catkin_ws/src/rsband_local_planner/include/rsband_local_planner/fuzzy_ptc.h:52:10: fatal error: fl/Headers.h: File or directory not found
#include <fl/Headers.h>
^~~~~~~~~~~~~~
compilation terminated.
could deal with fuzzylite, but as I mentioned, I installed and also updated it.

Make sure you installed the right version of fuzziness.
On Wed, Sep 29, 2021, 14:05 offtaste @.***> wrote:

Hey I wanted to try out your planer as an alternative to the teb_local.
I installed all the named dependencies and double checked that.
but when I try to catkin_make, I do now get the error, that there is a
header.h missing:
In file included from
/home/linus/catkin_ws/src/rsband_local_planner/src/fuzzy_ptc.cpp:38:0:
/home/linus/catkin_ws/src/rsband_local_planner/include/rsband_local_planner/fuzzy_ptc.h:52:10:
fatal error: fl/Headers.h: Datei oder Verzeichnis nicht gefunden
#include <fl/Headers.h>
^~~~~~~~~~~~~~
compilation terminated.
could deal with fuzzylite, but as I mentioned, I installed and also
updated it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gkouros/rsband_local_planner/issues/19, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGX3WYWZ2VZJJJEQTU4RKTUEL6IPANCNFSM5E7WVPPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I took it directly with sudo apt-get
How to get a more actual version?

Look in my README.md. There are instructions to install fuzzylite-6 from source.

now I feel dumb. Was a big hustle to do it according to that instruction (SSH struggle) but at the end, it did work. THX!!


Codeceptjs V3 - Allure Report for Gherkin is broken after<EMAIL_ADDRESS>

What are you trying to achieve?
Create Allure Report for Gherkin but it is broken
What do you get instead?
Allure report for Gherkin (Given, When, Then) is broken with V3 of CodeceptJS

Reproduce
git clone git@github.com:salesforce/codeceptjs-bdd.git
cd codeceptjs-bdd/packages/create-codeceptjs-bdd-tests/acceptance
yarn

yarn acceptance --features
yarn acceptance:report

Details

CodeceptJS version<EMAIL_ADDRESS>NodeJS Version: v12.19.0
Operating System: Mac
puppeteer || webdriverio || protractor || testcafe version (if related) ALL
Configuration file: https://github.com/salesforce/codeceptjs-bdd/blob/develop/examples/webcomponents-playwright-webdriver-example/codecept.conf.js

I got the same problem with:
<EMAIL_ADDRESS><EMAIL_ADDRESS>Ran a few test cases then run this command >allure serve output
the html page has no content:

I got the same problem with:
<EMAIL_ADDRESS><EMAIL_ADDRESS>Ran a few test cases then run this command >allure serve output
the html page has no content:

I also see, the Steps under Before hooks does not display in the Allure report

I also see, the Steps under Before hooks does not display in the Allure report

It is so bad that this problem is still not solved. It is blocking us from using the codeceptjs with bdd in a proper way.

It is so bad that this problem is still not solved. It is blocking us from using the codeceptjs with bdd in a proper way.

I got the same problem with:
<EMAIL_ADDRESS><EMAIL_ADDRESS>Ran a few test cases then run this command >allure serve output
the html page has no content:

It means that your test results can't be discovered, check that you indicate correct directory with allure results

I got the same problem with:
<EMAIL_ADDRESS><EMAIL_ADDRESS>Ran a few test cases then run this command >allure serve output
the html page has no content:

It means that your test results can't be discovered, check that you indicate correct directory with allure results


fix: remove job_options when using bulk_enqueue

bulk_enqueue was added with Que version 2.1.0 and it requires job_options to be passed to bulk_enqueue itself rather than enqueue.
Here, however, job_options is forcibly passed to enqueue containing injected tags, which means that the following error is raised:
When using .bulk_enqueue, job_options must be passed to that method rather than .enqueue

This commit adds a workaround to be able to use bulk_enqueue without forcing the library users to upgrade que to 2.1.0.
Que changelog
bulk_enqueue docs

@indrekj Since you are a major contributor to this instrumentation and user of this gem I would appreciate a review from you on this.

I fixed Ruby requirement in Que 2.1 appraisal, it should pass in CI now.
Que dropped support for Ruby < 2.7 but they also introduced support for Ruby 3 so ~> 2.7 was not necessary.
https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/205/commits/5d80527d9e261767061898f73e3f9b79704a571e

@ahayworth can you confirm that tests in CI are passing now, please?

@msalei apologies, I was on an extended leave. However, the PR was merged! Yay! 🎉


Add improved hardFlush and softFlush methods

What does this PR do?

softFlush()

Waits until all pending events have been processed
Performs a synced_flush on the gzip buffer and flushes all buffers to the network
Keeps the HTTP request alive
Returns immediately if the connection to APM Server is unhealthy (when there's a backoff)
Allocation free

Intended for serverless instrumentations

Avoids that every lambda invocation results in a separate HTTP request, repeating the metadata
Ensures that the data is written out to APM Server before the lambda returns
As the lambda may stay frozen for some time, non-flushed events may get lost.
Reduces the blocking time at the end of the lambda compared to a hardFlush() as we don't need to wait for the HTTP response from APM Server.

Testing TODOs

APM Server receives events after calling softFlush (so far only verified in unit tests)
APM Server behavior when HTTP connection gets frozen for a short time
APM Server behavior when HTTP connection gets frozen for a long time so that the request timeout elapses.

Are the events received so far sent to ES?
Does the cloud proxy buffer or stream events to APM Server? If it buffers, do the events get lost?
How would the logs look like? Can we indicate that that's expected behavior?

Agent behavior after lambda thaws and the connection has been closed by APM Server in the meantime.

Does this trigger a backoff?
How would the logs look like? Can we indicate that that's expected behavior?

It seems easier to test these things after merging this PR. As we don't expose any public API, we can remove things if they don't work out.
Relates to https://github.com/elastic/apm-agent-java/issues/712
Checklist

[x] This is an enhancement of existing features, or a new feature in existing plugins

~[ ] I have updated CHANGELOG.asciidoc~
[x] I have added tests that prove my fix is effective or that my feature works
~[ ] Added an API method or config option? Document in which version this will be introduced~
~[ ] I have made corresponding changes to the documentation~

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1897 opened

Start Time: 2021-07-05T07:25:21.544+0000

Duration: 51 min 28 sec

Commit: a59a34e386e86948da11b3601b1de33cdaf21e7c

Test stats :test_tube:

Test
Results

Failed
0

Passed
2286

Skipped
19

Total
2305

Trends :test_tube:

:green_heart: Flaky test report
Tests succeeded.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
0

Passed
2286

Skipped
19

Total
2305

Is it possible to test through the existing integration test by setting a short timeout on the handler and waiting for longer within the test?

I tried that using Undertow.builder().setServerOption(UndertowOptions.REQUEST_PARSE_TIMEOUT, 500) but it didn't seem to have any effect. I suppose it's best to test that with a real APM Server deployed on ESS.

I tried that using Undertow.builder().setServerOption(UndertowOptions.REQUEST_PARSE_TIMEOUT, 500) but it didn't seem to have any effect. I suppose it's best to test that with a real APM Server deployed on ESS.

When you call endExchange in the test handler, doesn't it close the connection already? If the test does a softFlush, waits a bit (preferably until the reporter confirms that the connection was closed), then reports an additional transaction and invokes another softFlush - would that mock what we want?

I don't think so because it would just send a 200 response back instead of aborting the request.

And what about explicitly closing the exchange, or the ServerConnection you can get from it?

Closing the ServerConnection worked!
The issue now is that the next END_REQUEST event will trigger a SocketException and thus a backoff.
I think what we'll want to do is to have a mode where we can ignore non-HTTP errors on endRequest():
In other words, conditionally execute the onRequestError(-1, connection.getErrorStream(), e); path.
https://github.com/elastic/apm-agent-java/blob/d0e00baf62f7443efa533ee9542c7f55a8c8dcb4/apm-agent-core/src/main/java/co/elastic/apm/agent/report/AbstractIntakeApiHandler.java#L155-L161
That is because, on Lambda, it's expected that the request may be ended by APM Server. We'd still catch SocketExceptions and the like and trigger a backoff when failing to start a request.
I'm not yet sure if a config option is a good option. Maybe the Lambda instrumentation should switch that flag on the reporter when it initalizes.

Awesome, so that already proved useful.
Not sure it should be a configuration, maybe enough as a reporter flag/state that should certainly be set automatically by the Lambda instrumentation

@felixbarny what do you say we revive this PR, removing the softFlush? The hardFlush is a big improvement from the current flush, but it should just replace the current implementation without changing the API.

SGTM


Semantics of modify/delete conflict

On the heels of #1433, here is an execution whose equivalent behaviour using Git would trigger a modify/delete conflict. More seriously, Irmin merge here is not commutative.
The idea here is that there is a file in LCA which is deleted in master branch and modified in wip branch. This represents concurrent modify and delete operation. Git reports a conflict as there cannot be an automated resolution procedure that favours one of the operations over the other.
(* git_test2.ml *)
#require "digestif.c"
#require "checkseum.c"
#require "irmin-unix"

open Lwt.Syntax

(* Irmin store with string contents *)
module Store = Irmin_unix.Git.FS.KV(Irmin.Contents.String)

(* Database configuration *)
let config = Irmin_git.config ~bare:false "/tmp/irmin/test"

(* Commit author *)
let author = "Example<EMAIL_ADDRESS>
(* Commit information *)
let info fmt = Irmin_unix.info ~author fmt

let main =
  (* Open the repo *)
  let* repo = Store.Repo.v config in

  (* Load the master branch *)
  let* master = Store.master repo in

  (* Set key "a" to "a" in "master" *)
  let* () = Store.set_exn master ~info:(info "Updating a") ["a"] "a" in

  (* Get key "a" and print it to stdout *)
  let* x = Store.get master ["a"] in
  Printf.printf "master: before remove, before merge -- a => '%s'\n" x;

  (* Create the "wip" branch *)
  let* wip = Store.clone ~src:master ~dst:"wip" in

  (* Set key "a" to "a modified" in "wip" *)
  let* () = Store.set_exn wip ~info:(info "modifying a") ["a"] "a modified" in

  (* Get key "a" and print it to stdout *)
  let* x = Store.get wip ["a"] in
  Printf.printf "wip: after modify, before merge -- a => '%s'\n" x;

  (* Remove the key "a" from "master" *)
  let* _ = Store.remove master ~info:(info "Remove a") ["a"] in

  Printf.printf "Merging master into wip\n%!";
  let* _ =
    Store.merge_into ~info:(info "Merging master into wip") master ~into:wip
  in

  (* Get key "a" and print it to stdout *)
  let* x = Store.get wip ["a"] in
  Printf.printf "wip: after modify, after merge -- a => '%s'\n" x;

  Printf.printf "Merging wip into master\n%!";
  let* _ =
    Store.merge_into ~info:(info "Merging wip into master") wip ~into:master
  in

  (* Get key "a" and print it to stdout *)
  let* x = Store.get master ["a"] in
  Printf.printf "master: after remove, after merge -- a => '%s'\n" x;

  Lwt.return ()

(* Run the program *)
let () = Lwt_main.run main

$ utop
utop # #use "git_test2.ml"
...
master: before remove, before merge -- a => 'a'
wip: after modify, before merge -- a => 'a modified'
Merging master into wip
wip: after modify, after merge -- a => 'a modified'
Merging wip into master
Exception: (Invalid_argument "Irmin.Tree.get: /a not found")
Raised at file "stdlib.ml", line 30, characters 25-45
Called from file "src/core/lwt.ml", line 1867, characters 23-26
Re-raised at file "src/core/lwt.ml", line 3027, characters 28-29
Called from file "src/unix/lwt_main.ml", line 27, characters 10-20
Called from file "src/unix/lwt_main.ml", line 114, characters 8-13
Re-raised at file "src/unix/lwt_main.ml", line 120, characters 10-13
Called from unknown location
Called from file "toplevel/toploop.ml", line 208, characters 17-27

While merging master branch into wip seems to prefer modify over delete (the read after merge returns the modified value), merging wip into master seems to prefer the delete over modify (the key is not found). This makes the Irmin merge non-commutative.
I guess the fundamental issue here is that Irmin tries to treat the tree nodes as a mergeable replicated data type (MRDT), while Git does not. This makes Irmin diverge from Git semantics. Independently, the merge on trees has bugs (merge not being commutative). One option is to actually report both #1433 and this as a merge conflict, and leave it to the user code to fix the conflicts (by ensuring that the problematic keys are updated).

This is odd -- Merge.alist (used by Node.merge) indeed prefers modify over delete (as it iterates on the existing filenames in the 3 values to merge). I don't understand why merging wip into master seems to prefer the delete over modify. I'll try to investigate this further.
Note: we could probably change this to something a bit more consistent (especially if it simplifies the semantics) - but I'd like to avoid looking at the filenames in the LCA if it is not necessary (as it's a costly operation).

Note: we could probably change this to something a bit more consistent (especially if it simplifies the semantics) - but I'd like to avoid looking at the filenames in the LCA if it is not necessary (as it's a costly operation).

The question is whether Irmin wants to mirror Git semantics for merging trees. We can choose a different semantics than Git, but we should be clear about what the new semantics is.

I think it's fine to not keep the same semantic as Git - as long as the new semantics is clear, consistent and easy to explain (which I don't think the Git semantics particularly is).

Also: Node.merge and Tree.merge do no currently behave the same; Tree.merge seems to handle modify/delete conflicts better, but we need to make all of this much more consistent.

What is the Node.merge and Tree.merge mentioned here? If we choose to go for a semantics that diverges from Git, we should probably write down our motivations for doing it.
Is it for explainability?
Given that we now have the formal operational semantics for merging trees that correspond to Git behaviour, I don't find it complicated :-) Perhaps a little bit of work is necessary to explain the semantics to non-PL-researchers. This can certainly be done with the help of exhaustive examples + intuition behind the choice.
I should mention that I do find Git's semantics intuitive if you start from the idea that Git doesn't want to enforce a particular merge policy when there is conflicting intent. For example, if concurrent branches modify and delete the same file (this issue), there is no automatic merge that doesn't enforce a policy -- whether modify survives or delete survives. Git tries to avoid making that decision, leaving it to the user code to fix the conflict.
Also, it is unclear that if we do go for a semantics that is not Git, it would be more explainable. In the case of concurrent modify and delete, you could prioritise modify. This choice is reminiscent of the add-wins CRDT set semantics [1]. Now, this choice certainly is automatic, but is this more explainable or intuitive? Why did we not choose delete-wins semantics? Given that we enforce a policy here, there is no way to encode the delete-wins semantics, unlike Git which leave it to the user to decide what to do.
Is it for performance?
What are the performance metrics that we are optimising for? You mention that you want to avoid looking at filenames in the LCA. Are we certain that the costs are unacceptable for real programs? Are there benchmarks where we can evaluate the costs. What other constraints should we care about? These constraints will influence the design of the merge.
Happy to modify the formal semantics to capture the intended behaviour. CC @ssdubey.
[1] https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type#OR-Set_(Observed-Remove_Set)


fips: use memory ordering rather than locks

The FIPS provider accesses it's current state under lock. This is overkill, little or no synchronisation is actually required in practice (because it's essentially a read only setting).  Switch to using TSAN operations in preference.
Fixes #21179

[ ] documentation is added or updated
[ ] tests are added or updated

OTC: back-port or not to back-port?

OTC: back-port or not to back-port?
Using @slontis's benchmark:
Build 	Time
Default 	0.003700
FIPS (before) 	0.010500
FIPS (after) 	0.002400
So five fold reduction in time by not using locking, which is impressive since PBKDF2 is doing lots of crypto operations.

And I only chose the default iteration count of 2048 for the test.. Larger iteration counts will be affected by this change for the better.

I would like it to go back to 3.0 if possible.

OTC: OK to backport in 3.1, 3.0.

Merged.  Had to resolve some trivial conflicts for 3.0.
(different location for e_os.h and no tsan_add call).


2845 Link to build instructions broken

fix #2845

Fixed in https://github.com/input-output-hk/cardano-node/pull/2860.
Thanks!


Add Sentry component

Description:
Add a component to register a Sentry error handler plus logging integration. This will pipe uncaught exceptions as well as error-level logs up to a Sentry instance of your choice.
Example entry for configuration.yaml:
sentry:
  dsn<EMAIL_ADDRESS>  environment: "development" # optional

New to contributing to home assistant, so I'd appreciate any feedback. The sensor seemed like the right approach here, but it also feels a little odd. Given I created it, I figured I'd at least try to make use of it (with the latest_event_id).

Aside, one improvement that might be more difficult would be to automatically embed the @sentry/browser SDK in the frontend when configured.

I wonder if you even need the entity at all, and just call sentry_sdk.init in your main async_setup_entry?
I guess it would be good to support async_unload_entry if thats possible.

You can add sentry here, so it's loaded prior to any other integrations https://github.com/home-assistant/home-assistant/blob/df6c7b97f5a6df962114ef1a07676ef11d8757cd/homeassistant/bootstrap.py#L34

I guess it would be good to support async_unload_entry if thats possible.

No way to unload Sentry right now. Its technically possible but we don't provide any native hooks to "unpatch the world".

Also if anyones curious, here's what it ends up looking like:
https://sentry.io/share/issue/734ef4655f88491a847748eb89de6e69/
(there's more detail when you're authenticated/have access to the event)

Do ya'll need docs bundled in a PR while this one is pending or can I follow up on that after?
We may also add this to the official Sentry docs, though I imagine people wouldn't really look for it there.

Docs PR has to be made against home-assistant.io repository

Thanks! Excellent first contribution 👍


Optimize applyHeaders by removing the closure

The PR improves the performance for the CORS middleware:

Remove Array.forEach() to avoid creation of closures
Refactor applyHeaders to a standalone function for better reuse

@troygoode Any chance to review the PR?

That looks good @raymondfeng. I'll merge & release on npm.

@raymondfeng This has been released to npm as version 2.5.3. I've also added you as a collaborator. Thank you for the contribution!

@troygoode Thank you for the trust!

No problem @raymondfeng. I love the work you guys at doing at StrongLoop. Sorry I didn't see the PR last week - somehow slipped through my inbox!


The ending value may not be exact due to floating point arithmetic.

In many cases in this library we use the interpolated value
a + (b - a) * t

This can return a value not equal to b when t = 1. If we want to guarantee that the exact value b is returned for t = 1, we should instead use the formula
a * (1 - t) + b * t

@fil Should we take a crack at this?

I was under the impression that this was a kind of optimisation (doing substractions once—probably ultra negligible). Also, the substraction was a nuisance when working with Uint32 numbers…
In any case, I think having exact ends is desirable.


login/logout pages working and users authenticating

password verification working for plain text passwords and django hashed passwords


🔥 Delete duplicated tests

I've read the tests and found duplicated code.
Lines 359~364 are exactly the same as the lines 353~358.
And I can't guess why.

Ha! Good catch, thank you @raccoonyy! :fire: :cake:


packer-shell: replace semicolon separators with double ampersand

As part of investigating another issue (missing linux-azure-lts package) I found out that the update-kernel shell commands are set with semicolon separators which means all commands will run regardless of the results of previous commands,
This commits change it to be separated by double ampersand to make sure commands will be run only if the previous command is done successfully

Verified with 3 different https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/azure-image builds and 2 different https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/next-machine-image/ builds (which for some reason didn't fail on the other issue of missing linux-azure-lts)


Code completion flags unavailable functions

int type should show sum

str should not show sum

Reproduce

install pyiter
pip install pyiter

code
from pyiter import iterate as it

class Student:
    def __init__(self, name: str, age: int, score: int):
        self.name = name
        self.age = age
        self.score = score

    def __str__(self):
        return "Student(name={}, age={}, score={})".format(self.name, self.age, self.score)

    def __repr__(self):
        return self.__str__()

lst = [Student("Tom", 20, 80), Student("Jerry", 20, 90), Student("Mike", 19, 100)]

sum_age = it(lst).map(lambda x: x.age).sum()
sum_name = it(lst).map(lambda x: x.name).

print(lst)

Actually, can you please follow the instructions at https://aka.ms/pvsc-bug and open a new issue? That would answer the question above and make it easier to diagnose what's going on.


Revert "Export resize and support batch size (#14014)"

Reverts #14014
It is probably causing the recent CI failure #11592
I am still investigating the root cause but raise this PR first to see if it passes the CI
Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
Comments

centos-gpu failed with the same error. So close the pr


[Discussion] - Does ipcRenderer.invoke() provide any way to avoid ipc.sendSync()?

Electron@7 includes a new method ipcRenderer.invoke()
I doubt this opens any possibility to avoid reliance on sendSync which is currently used, but I wanted to mention this new method to be sure that there wasn't some cool, higher performance method that could be devised with this.
@hardchor, am I right to think think this will not provide any way to boost the performance of electron-redux? Performance is quite good, but I imagine that if there were a way to ditch sendSync that performance could be boosted quite a lot. I don't imagine that there's a way though.

Hey @Slapbox :)
The good news is we're not using sendSync (but send), so we're not blocking the renderer process.
I can't see any immediate advantage to using invoke (unless maybe for the initial renderer store setup), since all our actions are being fanned out by the main process to the renderer processes and the renderer itself wouldn't need an immediate response from the main store in a normal scenario (see https://cloud.githubusercontent.com/assets/307162/20675737/385ce59e-b585-11e6-947e-3867e77c783d.png).
Happy to discuss if you can think of another scenario!

Just for reference: https://github.com/hardchor/electron-redux/blob/master/packages/electron-redux/src/middleware/forwardToMain.js#L16

@hardchor thanks for the update! I had really thought this was using sendSync, but apparently it never has. I don't know why I thought that, but I appreciate your response!
I didn't anticipate any benefit to invoke in any event, but I figured I'd bring it up for discussion just to be sure.
Thank you for sharing Electron Redux, it's really phenomenal!


important fix for broadcast

this makes it so that if the key isn't set in the output map in a kernel, then we don't broadcast a message. Setting the key to nil was making it so that the Latch simply broadcasted NIL, not no message.

ooh nice
:ocean: :octopus:


Build error: Failed to build GodotSharp solution

Godot version: 3.0.6
PC System: Windows 7 x64.
PC Language: China Chinese.
Mono from: https://www.mono-project.com/download/stable/#download-win.
Mono Installation:

Visual Studio Installer:

But godot engine build error, error image:

I do not know, This what bug ?

I've seen  people have discuss this "D:\Release" error message before.  For them the error only occured when running Godot from a drive other than C: drive.
Can you please try running from C: to see if it helps on your PC too?

@KellyThomas, In C: drive run godot engine, not success, result: Failed to build GodotSharp solution.

Thanks for testing!

@KellyThomas, so this is bug?

It looks like it.  It also looks like it might have a different cause for you, not the same as the other cases I was reading about.

@KellyThomas, Oh my God, Move godot engine to C: drive and move game project to C: drive, success, is success !!! But have one problem, my game project very big, my C: drive capacity very little.

@neikeq why does it seem to require both project and engine on c: ?

I've had the same issue as well, but I'm going to assume moving Godot and the project to the main drive would work properly.

So this bug only happen when the project is located on a drive other than C:?

@neikeq, yes, only happen when the project is located on a drive other than C: drive.

Hopefully this gets changed. Really hurt trying to get a project started from D: lol
Limit C: space also.

I have Godot engine and project folders in my D drive, and creating a "release" folder in D like "D:\release" fixed the problem.


Add Min annotation to intermediaryPartitionXxx configs in WorkerConfig

Fixes https://github.com/apache/incubator-druid/issues/8135.
Looks like adding another annotation could avoid the wrong Spotbugs warning.

This PR has:

[x] been self-reviewed.

Hmm, this looks not working. Not sure why it worked before.

Hmm, this looks not working. Not sure why it worked before.

@jihoonson Adding @SuppressFBWarnings(value = "SS_SHOULD_BE_STATIC") annotations to WorkerConfig can pass the CI test. I think it worked before because missed the spotbugs:check parameter.


Multiple custom edges between nodes should be curved

Edges are sitting on top of each other. The connection mapper for user-defined connections needs to consider this when setting the style on the edge.

Evaluate this code found in several MediaLive connection mappers for handling multiple pipelines.
https://github.com/awslabs/aws-media-services-application-mapper/blob/master/source/html/js/app/mappers/connections/medialive_channel_mediapackage_channel.js#L26


[Table of contents] horizontal TOC overlapping content - DDS consulting - AEM dev to fix

Horizontal TOC is overlapping content
Detailed description
We're seeing that the horizontal TOC properly attaches to the masthead as you scroll down the page but it the height of the masthead and the TOC navigation causes it to overlap the content within the page.

Steps to reproduce the issue

Create a page with a masthead and a horizontal table of contents.
Click on the items of the TOC to scroll down the page

Hi @iwhitcomb, a few follow up questions:
The masthead should scroll out of view so the TOC is the only sticky element on scroll down.
Are you using the dotcom shell? I believe the dotcom shell has that logic built in so the content doesn't overlap, see below:

I am seeing an issue on the scroll up logic, the masthead is meant to come back into view on scroll up for the user, but because of the double stack the content is overlapping when the user interacts with a previous TOC item.
I'm chatting with the team now to come up with a solution for scroll up fix.

If you could provide any info on upcoming release dates for your experience, that would be great, thanks!

@RobertaJHahn per slack today, HC engineer will be picking up this bug to work on this sprint (Jul 7). I asked them to let us know who.

@huntermacd is the HC engineer that's assigned to this ticket. Hunter, please reach out to @iwhitcomb or @ariellalgilmore if you have any questions about this bug ticket.
HC JIRA ticket: https://jsw.ibm.com/browse/HC-2078

Disregard my message above. This issue has been reassigned to @andy-blum, a new FE dev from the HC team.


Refactor the lexer code to bring some more sanity and reduce function…

… size.

Please my name is BRIAN J ZIMMER im in toano virgina and someone is useing
your app project with lyrica to mess with my mind and life so can use
please discontinue this project related to<EMAIL_ADDRESS>and
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>please im have been putting up
with this for almost a year and i am not happy at all i cant go anywhere or
do anything i cant deal with it anymore
On Sun, Jul 21, 2019, 9:55 AM Noah<EMAIL_ADDRESS>wrote:

@coolreader18 approved this pull request.
I'm not all that familiar with the lexer, but this definitely looks a lot
cleaner!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RustPython/RustPython/pull/1163?email_source=notifications&email_token=AMLSORSWPE6I366QFU5DISTQARTGJA5CNFSM4IFR4FAKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB7CISEI#pullrequestreview-264538385,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMLSORUW3H3S4UOTDEGHNPTQARTGJANCNFSM4IFR4FAA
.

Sir, could you give us more details about how someone is using our project to harass you? We may be able to help you.


gdal: 2.0.2 -> 2.1.1

Please keep the file python.patch, as gdal-1.11 still needs it.

Thanks for the hint. Just restored the file.

Tested locally. Some packages don't build but those were broken already.


Unable to define custom mutation to override default mutation

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.17.1
Amplify CLI Version
10.3.1
What operating system are you using?
M1 Mac w/ rosetta terminal
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Amplify Categories
custom, api
Amplify Commands
add
Describe the bug
I'd like to override a default "create" mutation in order to use a different signature.  However, when I attempt to just create a new mutation like so:
type Mutation {
  createFoo(input: CreateFooInput!): Foo
}

I get a "Error, object type Mutation cannot redeclare field createFoo".  I'm assuming this is because there's already a createFoo mutation that gets automatically generated. If I try to prevent the mutation from being auto generated with mutations: { create: null } it then doesn't use any of the custom pipeline resolvers that I created.  If I try setting mutations: { create: "createFoo" } in order to be explicit about overriding the default mutation I get the same "cannot redeclare field createFoo" again.
I'm not sure if this is a bug, a feature request, or if it's a question but it would be great to be able to override the default Mutation.
Expected behavior
I'd like to be able to create a custom mutation in my .graghql file and have it override the default mutation of the same name.
Reproduction steps

create a model in your graphql using @model
create a custom "create" mutation with the same name as the default "create" mutation
note the "cannot redeclare field" error

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Hi @ykethan, I have the following tables:
type User @model(subscriptions: { level: off }) {
   ...
   createdTacos: [Taco!]! @hasMany
}

type Taco {
   ...
}

This results in a required field on the createTaco mutation, "userCreatedTacosID", which I don't need because I automatically set the user in the resolver using $ctx.identity.  I can manually override most fields within the auto generated CreateTacoInput type by explicitly redefining it in my own graphql file, however, "userCreatedTacosID" still ends up as required.
Specifically, say the autogenerated CreatedTacoInput type is:
type CreatedTacoInput {
   ID: ID!
   propA: String
   propB: String
   userCreatedTacosId: ID!
}

and I override it with:
type CreatedTacoInput {
   propA: String
}

I still end up with:
type CreatedTacoInput {
   propA: String
   userCreatedTacosID: ID!
}

Just adding another use case that I just ran into:
I'm building a messaging feature into my app and after creating a new message, I want the graphql mutation to return the parent object (which contains the message thread as well as some related metadata) as apposed to the message itself.


Bump max room FAQ length to 8KB

Bot Development needs a much longer max room FAQ length limit because of its bot list in /rfaq bots. Even when excluding the formatting in the length limit, it's simply too short.

I forgot I tried bumping it to 2500 characters in the past and got turned down. Would 1KB be more acceptable?

I feel @bumbadadabum would be pretty hypocritical to suggest 500 characters is enough for room faqs.

Shit yeah I missed all of these tags horrible dev yeah


A static product info or launch website for the app

Is your feature request related to a problem? Please describe.
I'd like to pitch the idea of a static website that showcases the app and all it's features, as well as other information, with an eventual download link.
Describe the solution you'd like
The website can be created using simple JS, HTML5 and CSS and hosted on Github.
Describe alternatives you've considered
We could first make a figma prototype/design and then turn it into an actual webpage(s).

Sounds interesting :D

Sounds Like a Great Idea.. Looking for people to work on it


Azure IoT hybrid issue w on-prem network reroute - for TRAN public based IoT devices

Describe the issue
TRAN IoT devices are public based and TRAN having difficulty getting resolution of re-route via Networks
Additional context
Crux of issues has to do with how TRAN will enable a re-route of their public based IoT device data streams to their PoC Azure IoT solution.  Effect of constantly streaming IoT device data up the Azure-to-onprem gateway is still to be measure but may present issues - to be reviewed, and whether public Azure entry may be a solution for this type of service in the future.
Solution may also want to see if its streaming could by-pass the onprem security scanning stack so as to not unnecessarily overload the service considering the volume of data potential here and the non-human device-to-device nature of the data itself.

different from the thread about the permanent connections (we did not proceed further on that avenue)

Definition of done

Review of proposed IoT solution & current iStore details - for discussion
Review TRAN's updated solution networking documentation from original onboarding docs that were incorrect
Verify if public IoT streaming data can bypass the SIS security scanning\staff on-prem and route directly to BC Gov Azure VPN gateway
Work with Networks to see what can be done for now (non-prod) and what will have to wait for anything to do with prod level services in this area
Confirm that the onprem based VIP's requested in the IoT project iStore orders function for what they need with Azure IoT and the gateway networking

Way was found to have TRAN IoT devices to directly to the IoT service for now.  This method will be used until they can prove out the service and whether it will work.  They were to update if any further issue on this, but can close if hearing nothing soon

The Azure AVA fix from MS product group was received and recommended config done - waiting on result from TRAN IoT.  They are not using AVA at this point due to this deploy issue but may return to it later

Tested fix and TRAN said not working so will discuss with MS on results

TRAN IoT team person is retiring


OAuth2 Server - SAML2 token support

As per http://tools.ietf.org/html/draft-ietf-oauth-saml2-bearer-13.

This RFC has been accepted and finalized very recently so this issue is actionable.
It will probably require lxml in order to serialize or deserialize the token while keeping high performance.
See https://tools.ietf.org/html/rfc7522 for details.

I'm particularly interested in "Using SAML Assertions as Authorization Grants" part of this spec. would be very nice to see it implemented in oauthlib and I might even do it myself.

@IvanAnishchuk PRs are welcome :)


Code review comments

Also address https://github.com/rancher/rancher/issues/8860

Code looks good but you might want to investigate the test failure

https://github.com/rancher/rancher/issues/8470

https://github.com/rancher/rancher/issues/8706

There are still some racy conditions that still need to be resolved, but I will merge as is.


Ads API status?

Do you have any update on when Ads API will be supported?

Not at the current time. I am currently struggling to try and find some time to get back and work on Tweetinvi.
The Tweetinvi library should provide most of the code required to support the ads api, so if you would be willing to try and extend it this would be great.


Event-Type Counts fix - lock event-counts mutex and return a map copy, to avoid panics

For the InMemoryEventRepository.Counts() func, lock the internal mutex, then construct a copy of the event-counts map and return the copy - to avoid Golang "concurrent map read/write" panics.
Fixes https://github.com/G-Research/yunikorn-history-server/issues/171

Nice catch! 🚀 Is it possible to implement a unit test for this case? We first saw this problem in ci but it was not deterministic. Is there a reliable way to test this function?

@sudiptob2 It's basically a race-condition situation, so there's no way (that I know of) to enforce a constant deterministic way to provoke the bug. However, I just added a unit-test (as usual, the unit-test is about 3x as long as the original fix 😅 ) that fires off 10 goroutines, each one calls EventRepository.Record(eventObject, EventType), then sleeps for a random few milliseconds, then does it again, for a few hundred times in each goroutine. Meanwhile, there is a assert.Eventually() test check that runs every 5 ms and just calls the EventRepository.Counts() function to get its map (it actually gets a copy, for safety) - in the main branch, when I make test-go-unit 100 times, it now fails approximately 17 times (a 17% failure rate on the unit-tests overall), on this branch, it never fails.


this project need update

Hello i wonder if we can connect to who made this project and ask for update or also we try to update it together .  i would like to support this project . but i dont know much about programming so will need guide . it is really nice project
is it possible to update it or the team who make it did drooped it from their plans?

It could be forked.
Much of the code is on google drive as binary however, so one'd have to salvage that first


Update README.md

updated code example to include  the following device [..,.simulator(.iPhone8),.simulator(.iPhone8Plus),.simulator(.iPhoneX),.simulator(.iPhoneXs),.simulator(.iPhoneXsMax),.simulator(.iPhoneXr)]

you are welcome ;)


Customizing tinyMce under Voyager 1.x

Laravel Version: 5.5.1
Voyager Version: 1.1.0
PHP Version: 7.1.9
Database Driver & Version:

Description:
I am trying to change the tinyMce init settings as I need some stuff added to it.
I've copied the voyager_tinymce.js from the vendor folder to: public/vendor/tcg/voyager/assets/js/voyager_tinymce.js
I've applied changes and cleared the cache+views yet I'm not seeing any change in the actual text editor on the admin.
I even tried editing the original file location under /vendor/tcg/voyager.... with no effect.
Do I need to run/clear something else to see the changes?
How do I apply my own init settings to the Voyager rich text editor?
(read the docs but found no information on how to do this).

Did you try running composer dump-autoload ?

Hi, thanks for helping.
Yes - I just gave it a try now but it still fails to show the changes.
Maybe I'm not doing them in the right file location?

When I did this last week, I edited the original file (which is causing issues with my versioning deployments, but that's a different issue)
/vendor/tcg/voyager/publishable/assets/js/voyager_tinymce.js

I added paste to the plugins line 19 like this:
plugins: 'link, paste, image, code, youtube, giphy, table, textcolor',

I added paste to the toolbar line
toolbar: 'styleselect paste bold italic underline | forecolor backcolor | alignleft aligncenter alignright | bullist numlist outdent indent | link image table youtube giphy | code',

at the bottom I added a , after the image_title setting and then added paste_word_valied_elements
    image_title: true,
    paste_word_valid_elements: "p,b,strong,i,em,u,h1,h2,h3,h4,ol,ul,li"

to keep some Word formatting
If any of the syntax is incorrect it won't work.
To check to see if its actually updated the file and isn't cached, view the script source on the page it should be working on -
view-source:http://[yourdoman]/vendor/tcg/voyager/assets/js/voyager_tinymce.js
You should see your changes.

Thanks!
So I took a look and it seems there's no such js under: /vendor/tcg/voyager/publishable/assets/js/voyager_tinymce.js in laravel 5.5
Your advice did help as I did find out that the editor loads /vendor/tcg/voyager/js/app.js which holds the compressed init call.
What I did is I switch the compressed init call with my own custom one (not compressed) and now it seems to be loading it.
A bit of a strange solution but seems to work (for now).

Thanks back @sysmesh!
I didn't realize I could place the changes in public/vendor/tcg/voyager/assets/js/voyager_tinymce.js, so I did and now my versioned deploy works every time.
I'll have to update eventually to 5.5 and latest Voyager, but for the time being its all working quite well.

@sysmesh / @jwheat.  Is this issue resolved? Can we close it?

On Laravel 5.5 it's still not resolved (for me anyway) as placing a modified file under: /vendor/tcg/voyager/publishable/assets/js/voyager_tinymce.js  does NOT seem to do the trick.
I am forced to edit the app.js file (which is uglified) manually.
I'd love to know the formal way of doing it properly.

Any solution to above issue ? i need to add quite a few plugins to TinyMCE editor.

@fletch3555 any progress on this issue?

You can try this. Its exactly what I did with my project:

open voyager vendor folder /vendor/tcg/voyager & run npm update
change tinyMCE settings in /vendor/tcg/voyager/resources/assets/js/voyager_tinymce.js
run npm run production

After compiling everything into /publishable folder you have to vendor:publish this.

so just open the root folder of your laravel application and run php artisan vendor:publish

Hope this will help you.

I also changed made the changes inside the compressed code of the app.js file but its really tricky and annoying to make changes:

Also I have another problem, that he cannot find the initial plugin.js if I add something:

This is because he is looking for plugin.js but in the folder in only plugin_min.js so I have to rename it aswell in order to get it working.. A bit strange

@iwasherefirst2 I had similar problem - you need to navigate to the directory and change the plugin's filename from plugin.min.js to plugin.js.
But still, it's not the elegant solution

Could someone make TinyMCE editor configurable directly from Voyager config file, please? :) There seem to be many people needing this.
It's a real problem with sites that are having many people as editors, that these text processor apps like Word paste ugly code which breaks content styling.

I agree, it should be great to customize that (maybe in Parameters front)?
On my side, I look to change the space &nbsp with  to not have empty paragraph and also margins on that.
Params like this I mean: https://www.tinymce.com/docs-3x/reference/configuration/Configuration3x@force_br_newlines/
I thought to a json possibility too (on bread json | on Rich Text Box), but we will have to repeat this parameters every time.
I hope some news here :)

I tried this: php artisan vendor:publish --tag=voyager_assets --force but it is only doing this: Copied Directory [\vendor\tcg\voyager\publishable\assets] To [\public\vendor\tcg \voyager\assets] But I have made changes in this:\vendor\tcg\voyager\resources\assets\js\voyager_tinymce.js
How do we publish and minify resources\assets to publishable\assets ?

Don't change files under vendor...

yes this is quite a pain, adding bootstrap class to img in edit screen has to happen manually.
Cant be fixed by tinymice.init to add/pick class on element creation.
Only with dirty tricks, like changing compiled app.js file....
Did any one has a solution for this ?
if so please share.

It is now possible to customize TinyMCE with Voyager 1.1.x
https://voyager.readme.io/docs/tinymce

Hello, great news to see we can customize that, thanks! I am looking the way to customize the "tinymce.init" things adding browser_spellcheck option for example or remove empty  can someone help me please?
I had a look on the [doc]https://www.tinymce.com/docs/api/tinymce/tinymce.editor/ and I can use this for example:
tinymce.activeEditor.dom.addClass(tinymce.activeEditor.dom.select('p'), 'someclass');
but I didnt find a way to customize the init part.
Cheers!

@juliencap I had the same issue. I tried to use tinymce_init_callback function and all the methods available for tinymce.Editor but hasn't found any good solution to change init settings.
You can try another way I did. I needed to customize init settings for textarea on Posts page. I did following:

I created (overrided view) resources/views/vendor/voyager/posts/edit-add.blade.php file and copied code from here: edit-add.blade.php
At the bottom inside <script></script> section you can call tinymce.init({ //your custom settings }); (copy the original tinymce.init() tinyMCE voyager settings and edit in the way you need)

I am not sure how accurate my way is, but it worked for me.

@heyhihellobro thanks, I will try that solution, good way until new updates here!

@emptynick should this issue maybe get reopend? As far as I see it, its not possible to add a plugin with tinymce_init_callback. So if you want to add a plugin to TinyMCE, and I guess thats what most people here want to do, then you still have to modify the minified app.js.

This is my solution:
function tinymce_init_callback(editor)
{
      editor.remove();
      editor = null;

      tinymce.init({
        selector: 'textarea.richTextBox',
        skin: 'voyager',
        min_height: 600,
        resize: 'vertical',
        plugins: 'print preview fullpage searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern',
        extended_valid_elements: 'input[id|name|value|type|class|style|required|placeholder|autocomplete|onclick]',
        file_browser_callback: function (field_name, url, type, win) {
            if (type == 'image') {
                $('#upload_file').trigger('click');
            }
        },
        toolbar: 'styleselect bold italic underline | forecolor backcolor | alignleft aligncenter alignright | bullist numlist outdent indent | link image table youtube giphy | codesample code',
        convert_urls: false,
        image_caption: true,
        image_title: true
    });
}

First I remove the existing instance of TinyMce editor, created by Voyager and later I create a new one with the plugins and parameters I want.
When the page loads and the new instance is created, TinyMce searches for plugins in 'public/vendor/tcg/voyager/assets/js/plugins'. TinyMce searches plugin js file by name 'plugin.js' but many of these plugin files are named 'plugin.min.js', this causes many error that disables the editor. One solution for this inconvenience is to rename all the plugin files to 'plugin.js'.

Thanks decimvs - this is the only thing that helped

The onchange_callback setting (3.x branch) seems to have been removed.
This is my solution:
override view https://voyager.readme.io/docs/overriding-views
formfields\rich_text_box.blade.php change class name example:  from richTextBox to richTextBoxCustom.
add you custom js to config:
https://voyager.readme.io/docs/additional-css-and-js-theming
example:  richTextBoxCustom.js
end in your js file init TinyMCE as you with.
https://www.tiny.cloud/docs/configure/editor-appearance/
example:
$(document).ready(function () {     tinymce.init({         selector: 'textarea.richTextBoxCustom',         skin: 'voyager',         min_height: 600,         resize: 'vertical',         plugins: 'link, image, code, youtube, giphy, table, textcolor, lists',         extended_valid_elements: 'input[id|name|value|type|class|style|required|placeholder|autocomplete|onclick]',         file_browser_callback: function (field_name, url, type, win) {             if (type === 'image') {                 $('#upload_file').trigger('click');             }         },         toolbar: 'styleselect bold italic underline | forecolor backcolor | alignleft aligncenter alignright | bullist numlist outdent indent | link image table youtube giphy | code | fontsizeselect | fontselect',         convert_urls: false,         image_caption: true,         image_title: true     }); });

You can also include the plugins urls on voyager additional_js


Provide Pagination Controls to Visualise Table and Column lists

Is your feature request related to a problem? Please describe.
In database schemas with a high number of tables, and tables with a great number or columns I have to scroll down my screen continuously
https://files.slack.com/files-pri/T02BVTLN3G8-F043XRN9550/image.png
https://files.slack.com/files-pri/T02BVTLN3G8-F043XMZPZCK/image.png
Describe the solution you'd like
To enable pagination controls, to view the list of tables sequentially. For tables with a high number of columns this functionality is also desirable
https://files.slack.com/files-pri/T02BVTLN3G8-F04400CD16G/image.png
https://files.slack.com/files-pri/T02BVTLN3G8-F044A5TQRND/image.png
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

https://www.figma.com/file/VaeQD2fIhQVDCvqBHyEv7J/Open-Metadata?node-id=19271%3A22329&t=dsKa2WXtNm8G7FzY-1
@chirag-madlani


GPLayer's prediction seems to be too confident

Looking at the "Hybrid Deep GP models: ..." tutorial, the GPLayer's prediction seems to be too confident, i.e. its uncertainty estimate (95% confidence level) does not cover the training data spread. Its prediction accuracy (mean), however, is very good, nearly identical to that of the neural network model obtained by removing the GPLayer.
When I replace the GPLayer with a TFP DenseVariational layer using Gaussin priors, the prediction accuracy is not as good. However, importantly, the uncertainty estimate is very good, covering the training data spread well.
Without good uncertainty estimate, the GPLayer seems to add little value over the neural network model, which already provides good prediction accuracy.

Hi @dtchang, I had another look at the notebook and I think the fit is actually pretty good. In this PR, I updated the notebook so that it plots the mean and variance of y instead of f. In the figure below, you can see that the fit now encloses the data. You can also observe the increased uncertainty on f in the far left and right of the domain.

Vincent,
If so, that will be great. I can’t find the updated notebook in the GitHub. Please send it to me or update the GitHub asap. Thanks.
Regards,
Dan
Sent from Mail for Windows 10
From: Vincent Dutordoir
Sent: Tuesday, August 3, 2021 6:23 AM
To: secondmind-labs/GPflux
Cc: dtchang; Mention
Subject: Re: [secondmind-labs/GPflux] GPLayer's prediction seems to be tooconfident (#37)
Hi @dtchang, I had another look at the notebook and I think the fit is actually pretty good. In this PR, I updated the notebook so that it plots the mean and variance of y instead of f. In the figure below, you can see that the fit now encloses the data. You can also observe the increased uncertainty on f in the far left and right of the domain.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I still can't find the updated notebook in the GitHub. But, I think this issue should be re-opened because it is not a plotting problem, but a prediction problem. f is the prediction, whereas y is the target. So, it seems to me the plot should be based on the mean and variance of f, not y, as in the published tutorial. BTW, the issue of poor uncertainty estimation exists not just in this tutorial, but also in other tutorials (e.g., "Introduction to GPflux" and "Why GPflux is a modern (deep) GP library").


False negative for Physics Today (AIP)

Articles and obituaries like https://doi.org/10.1063/PT.5.8185 (https://physicstoday.scitation.org/do/10.1063/PT.5.8185/full/ ) and https://doi.org/10.1063/PT.5.6059 are accessible from the publisher (although they require cookies and some JavaScript to be loaded).
API:
{
  "best_oa_location": null,
  "data_standard": 2,
  "doi": "10.1063/pt.5.8185",
  "doi_url": "https://doi.org/10.1063/pt.5.8185",
  "genre": "journal-article",
  "is_oa": false,
  "journal_is_in_doaj": false,
  "journal_is_oa": false,
  "journal_issns": "1945-0699",
  "journal_name": "Physics Today",
  "oa_locations": [],
  "published_date": "2016-01-01",
  "publisher": "AIP Publishing",
  "title": "Media coverage thin for presidential candidates\u2019 science awareness and views",
  "updated": "2018-07-14T19:01:05.183096",
  "year": 2016,
  "z_authors": null
}

https://support.unpaywall.org/public/tickets/d8cb35de60c27e43963e401fc9ed370bedff0de36fbb3412761c8c35ec7434a7


Avoid picking up users retrieved from SSSD or other domain services.

When using this module with my SSSD configuration, the fact took a really long time to resolve. Excluding users with @ in their name fixed this, as those users can't be managed by Puppet anyway.

Forgot to mention -- this also fixes an error caused by domain users not always having assigned UIDs:
Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/retrieve_system_users.rb: undefined method `to_i' for :absent:Symbol

@mcgege @bitvijays as it goes into the deep of puppet, may I ask you to review it?

@tprobinson many thanks for this PR!

Looks good for me ... also verified the patch in my environment

@tprobinson many thanks!
@mcgege thanks for reviewing!


Currency image bug?

When you have too many files or too large file in currency image folder,
The bot will throw a timeout error and crash before ever starting up.
Not sure on what update this happened since i only just updated from 1.x to 2.x
https://media.discordapp.net/attachments/117523346618318850/381065963434672128/unknown.png
The error I get.
When i delete the larger files and keep below 49 images it works

How much memory does your computer/server have? Images are cached to Redis, which is a fully memory based key-value store. That makes things faster, but there are also inherent limits to a memory based cache.

16gig ram.
Never had this problem before, on the older version.
It also used Redis at that point.

Yes, but the cache for images (including currency) was not introduced until later -- I believe version 2.2.x or so.

Any way to increase the ram usage limitation then?
I doubt its bottle-necking 16gig right after a reboot..

Not entirely sure. There may be a way for @Kwoth to add something like throwOnError="true" retryTimeoutInMilliseconds="500" to the connection string of the provider to retry on timeout for Redis, but will leave it for him to check.

Aight. Will wait for a possible future update.
keeping the folder a bit smaller till then.

have you tried to increase your redis memory limit? its 100mb by default

@Nihagi it's what coconut said, you need to increase your redis memory limit. I can't change that for you.