Google Docs/Sheets/Slides not working in the V2 SDK Google Drive source connector

Describe the bug
Google Docs/Sheets/Slides not working in the V2 SDK Google Drive source connector
To Reproduce
Ingesting from Google Drive, partitioning via Unstructured API, embedding via OpenAI,and writing to AstraDB
runner = GoogleDriveRunner(
processor_config=ProcessorConfig(
verbose=True,
output_dir=os.environ['GOOGLE_DRIVE_OUTPUT'],
num_processes=2,
),
read_config=ReadConfig(),
partition_config=PartitionConfig(
partition_by_api=True,
api_key=os.getenv("UNSTRUCTURED_API_KEY")
),
connector_config=SimpleGoogleDriveConfig(
access_config=GoogleDriveAccessConfig(
service_account_key=os.getenv("GOOGLE_DRIVE_ACCOUNT_KEY")
),
recursive=True,
drive_id=os.getenv("GOOGLE_DRIVE_FOLDER_ID"),
),
chunking_config=ChunkingConfig(chunk_elements=True),
embedding_config=EmbeddingConfig(
provider="langchain-openai",
api_key=os.getenv("OPENAI_API_KEY"),
),
writer=get_writer(),
writer_kwargs={},
)
Expected behavior
As in V1, I expect the file to be parsed
Screenshots
KeyError                                  Traceback (most recent call last)
 in <cell line: 1>()
33     stager_config=WeaviateUploadStagerConfig(),
34     uploader_config=WeaviateUploaderConfig(),
---> 35 ).run()
7 frames
/usr/local/lib/python3.10/dist-packages/unstructured/ingest/v2/processes/connectors/google_drive.py in map_file_data(f)
131         file_id = f["id"]
132         filename = f.pop("name")
--> 133         url = f.pop("webContentLink")
134         version = f.pop("version", None)
135         permissions = f.pop("permissions", None)
KeyError: 'webContentLink'
Environment Info
This doesn't only happen in my env but also for anyone else that tries this snippet
Additional context
Add any other context about the problem here.

is anyone getting this issue in v2 ?
2024-11-19 22:12:47,003 SpawnProcess-18 ERROR
C:\Users\SANTHOSH.cache\unstructured\ingest\pipeline\index\34b4026053f1.json: [download] 'GoogleDriveDownloader' object has no attribute 'meta'

Thanks for reporting that @SantoshKumarRavi! It's a bug (see this line). We need to prepare a fix for that.


I encountered an issue during the installation of HapHic

I encountered an HTTP 000 error repeatedly when installing the software.Executive command "conda env create -HapHiC/conda_env/environment_py310.yml"

It could be a network issue. You may need to check whether the Conda server is accessible in your network. You could also try using a mirror, such as https://mirrors4.tuna.tsinghua.edu.cn/help/anaconda/?eqid=d6e48d3c0005a83700000006646e291f.

Close this issue as there has been no response for two weeks.


Deserialization when using Address type

I am trying to insert a new Person Account. The insertion works except for the Mailing Address field (PersonMailingAddress), which generates the following exception:
{"Cannot deserialize instance of PersonMailingAddress from VALUE_STRING value Royal Oak at [line:1, column:113]"}
PersonMailingAddress is a property on my model that I'm inserting. "Royal Oak" is the value of the city field. I've tried it with various different values, with/without spaces, all generate this same error. Since this is a compound field, I created a separate class for it, called Address:
public class Address
{
    [JsonProperty(PropertyName = "City")]
    public string MailingCity { get; set; }

    [JsonProperty(PropertyName = "Country")]
    public string MailingCountry { get; set; }

    [JsonProperty(PropertyName = "PostalCode")]
    public string MailingPostalCode { get; set; }

    [JsonProperty(PropertyName = "State")]
    public string MailingState { get; set; }

    [JsonProperty(PropertyName = "Street")]
    public string MailingStreet { get; set; }
}

The values are set then pushed up using CreateAsync and that's when this error returns. If I leave the PersonMailingAddress field off my model it inserts just fine. (As a side note, this Address object works when inserting a Contact, it seems to just be the Account/Person Account that it has trouble with.)
Any thoughts as to how I should get this to insert properly?

Found my answer in a SFDC forum. Thanks!
http://salesforce.stackexchange.com/a/89565/24243

I had an inkling there was some special handling on the SFDC side for
person acccounts.
:-)
On Thu, Aug 27, 2015 at 12:41 PM, Nathan Loding<EMAIL_ADDRESS>wrote:

Closed #138
https://github.com/developerforce/Force.com-Toolkit-for-NET/issues/138.
—
Reply to this email directly or view it on GitHub
https://github.com/developerforce/Force.com-Toolkit-for-NET/issues/138#event-394389643
.

--
Thanks,
Dave


Provider Fails to Withdraw Funds from Lease

Provider version - v0.2.1
Summary
Providers failing to initiate wihdraw lease transaction on small percentage of active leases.
Example of Issue

Provider - akash18ga02jzaq8cw52anyhzkwta5wygufgu6zsz6xc
DSEQ - 10561974
Owner - akash1qyfg4zl2dku8ry7gjkhf88vnc3zrn6vmnzlvr9

When the lease state of this example, problem deployment is queried the escrow_payment > withdrawn > amount field is 0 despite the lease being active for several months.
provider-services query market lease get --dseq 10561974 --provider akash18ga02jzaq8cw52anyhzkwta5wygufgu6zsz6xc --owner akash1qyfg4zl2dku8ry7gjkhf88vnc3zrn6vmnzlvr9
escrow_payment:
  account_id:
    scope: deployment
    xid: akash1qyfg4zl2dku8ry7gjkhf88vnc3zrn6vmnzlvr9/10561974
  balance:
    amount: "0.000000000000000000"
    denom: uakt
  owner: akash18ga02jzaq8cw52anyhzkwta5wygufgu6zsz6xc
  payment_id: 1/1/akash18ga02jzaq8cw52anyhzkwta5wygufgu6zsz6xc
  rate:
    amount: "17.000000000000000000"
    denom: uakt
  state: open
  withdrawn:
    amount: "0"
    denom: uakt
lease:
  closed_on: "0"
  created_at: "10561981"
  lease_id:
    dseq: "10561974"
    gseq: 1
    oseq: 1
    owner: akash1qyfg4zl2dku8ry7gjkhf88vnc3zrn6vmnzlvr9
    provider: akash18ga02jzaq8cw52anyhzkwta5wygufgu6zsz6xc
  price:
    amount: "17.000000000000000000"
    denom: uakt
  state: active

Majority of leases on this example provider are being withdrawn from properly and this issue only appears to occur on a very small subset of active leases.
Have asked provider to collect logs from time period in which lease withdraws occur daily and will attach to issue once available.
Additional Examples

Additional examples of zero withdraw issue can be found via:

provider-services query market lease list --provider akash1p5vh8dsck7mnvc5zha6u3aes0fya3lq4ec9dpy --state active
provider-services query market lease get --dseq 12305281 --provider akash1lwzjtsqkuytusa98py77cflhqxl3z7v7ur5632 --owner akash1722lgxkjze280zv2gvhr05as9vsfm704yswj2l
provider-services query market lease get --dseq 11447603 --provider akash1tweev0k42guyv3a2jtgphmgfrl2h5y2884vh9d --owner akash1srujzhj2v9fkzhnn635udlczyhdpetuh34mhad

europlots_08172023_logs_1.txt
europlots_08172023_logs_2.txt


Range configuration

I realize this is preview, and it's definitely headed in the right direction, but please tell me this isn't how it's going to work post-preview...
"Containers can then scale instantly based on the workload needs within the 0.1*Tmax < T < Tmax range. "
As it stands, developers will still need to write cost saving logic to throttle databases all the way back down to 4000 RU/s (the min) during off peak hours. I have bulk insert operations, where 500,000RU will be awesome, but I'll have to write code to scale up, and then scale down. I realize you're going to lose some money on this, but please just give us a range selector, so we can set it to, 400RU <-> 500,000RU, and forget this .1Tmax nonsense.

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

ID: c5b2be67-25e0-a558-dae2-5fa149df2d96
Version Independent ID: e95519f3-80f7-37bf-e3fc-9ebbf5081f17
Content: Create Azure Cosmos containers and databases in autopilot mode.
Content Source: articles/cosmos-db/provision-throughput-autopilot.md
Service: cosmos-db
GitHub Login: @kirillg
Microsoft Alias: kirillg

@jackbond Thank you for the detailed feedback.
When containers are configured in autopilot mode, they scale down to minimum throughput when not in use without additional work from the developer.
I believe you are requesting for a feature to configure the lower bound value to be .05 or 0.025 instead of  0.1*Tmax.
Tagging @markjbrown for info.
We actively listen to customer feedback and prioritize new features accordingly.
Please post this idea on UserVoice for other community members to vote and contribute as well.
You will also be notified when your feedback is triaged and implemented.
We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Actually, I don't want the lower bound to be a ratio at all. Ideally, we could set the lower bound to 100, and an upper bound to 500,000. I have lots of test databases that sit idle for weeks, perhaps even months. If the cloud is pay as you go (think functions), why isn't Cosmos? I understand paying some sort of minimum, but even the existing 400RU seems a bit pricey.

The minimum bound should never be 400 or 2000 or X.
It should simply be 1 to Max. Why should anyone have to pay for something they are not using?

Agree on all points. Keep an eye on us towards Summer. Might have something in the works for you.
Thanks.


chore: bump to php 8 to allow laravel 9

Laravel 9 requires php ^8.0.2

Any plan to release?

= 7.2 already supports PHP 8. Does it not work?

= 7.2 already supports PHP 8. Does it not work?

No, because 9 only supports ^8.0.2 https://github.com/laravel/framework/blob/9.x/composer.json#L18
So ^7.2.0|^8.0.2 will keep the support for both <= L8 and L9

Hi! Please explain like I'm five why >=7.2 is worse than ^7.2.0|^8.0.2 besides the risk that it's unbound? The versions we currently have in composer.json seem to work fine for Laravel 9 and PHP 8 for me.

Require all the below repos on your latest versions in a Laravel 9 project. Nothing will install without explicit declaration of major php version that L9 uses. With >= the accepted versions stops at 7.x.x, with the PR both major versions are supported.
On 7 Mar 2022 06:46 -0300, Tarvo R. @.***>, wrote:

Hi! Please explain like I'm five why >=7.2 is worse than ^7.2.0|^8.0.2 besides the risk that it's unbound? The versions we currently have in composer.json seem to work fine for Laravel 9 and PHP 8 for me.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

Well, you're right, just got time to retry it today and now everything works normally pointing to the latest versions.


Gradient matching (Witches' Brew) for Tensorflow

Description
This branch adds Gradient Matching (Witches' Brew) poisoning attack. This attack computes the clean label noise by setting the training gradient of poisoned samples towards the poisoning target class. This PR is for a TF version. The current commit is work in progress, and the follow up will come with a test and an example notebook.
Fixes #1386
Type of change
Please check all relevant options.

[ ] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[x] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

[ ] Test A
[ ] Test B

Test Configuration:

OS: Ubuntu 18.02
Python version: 3.8
ART version or commit number: dev_1.9.0
TensorFlow / Keras / PyTorch / MXNet version: Tensorflow 2.4.1.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Codecov Report

Merging #1587 (5134aed) into dev_1.10.0 (9b92130) will decrease coverage by 66.22%.
The diff coverage is 8.95%.

@@               Coverage Diff               @@
##           dev_1.10.0    #1587       +/-   ##
===============================================
- Coverage       88.73%   22.50%   -66.23%
===============================================
  Files             249      250        +1
  Lines           20427    20677      +250
  Branches         3648     3415      -233
===============================================
- Hits            18126     4654    -13472
- Misses           1410    15968    +14558
+ Partials          891       55      -836

Impacted Files
Coverage Δ

art/attacks/poisoning/gradient_matching_attack.py
8.61% <8.61%> (ø)

art/attacks/poisoning/__init__.py
100.00% <100.00%> (ø)

art/evaluations/evaluation.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/estimators/object_detection/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/evaluations/security_curve/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/attacks/poisoning/perturbations/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...essing/expectation_over_transformation/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...rmation/natural_corruptions/contrast/tensorflow.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...formation/natural_corruptions/zoom_blur/pytorch.py
0.00% <0.00%> (-93.94%)
:arrow_down:

...mation/natural_corruptions/zoom_blur/tensorflow.py
0.00% <0.00%> (-93.55%)
:arrow_down:

... and 188 more


Appending Documentation for Alertmanager and PagerDuty + Default Config File

As per our discussion yesterday. There is a much easier way of doing this via the values.yaml in the stable/coreos manifest. A lot of this is now redundant.

Are we closing this one then? @ollieanwyll @jasonBirchall

I'll look through stable/coreos manifest and just remove the redundant parts?


Adding support for policyExemptions

Overview/Summary
Adding discovery support for Microsoft.Authorization/policyExemptions. Closing #407
Breaking Changes
N/A
Testing Evidence

Microsoft.Authorization/policyExemption resources are discovered at relevant scopes and template files are generated with correct schema.

Example from test repo

Auto Generated template files deploy successfully - test deployment.

As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located in the Enterprise-Scale repo in the directory: /docs/wiki/whats-new.md)

/azp run


Default to python when uv run does not recieve a command

This means that a bare uv run invocation drops you into a REPL.
This behavior is internally controversial, and may best be served by a dedicated uv repl command. I would imagine it's important to fail if no command is given in some circumstances, but those may be resolved by not doing this if we do not detect a TTY.
Regardless, I'm interested in giving this a try for a bit during this experimental phase.

The alternative is adding a tool.uv.default-run and use this instead of repl, with the python shim from rye creating a repl instead.


Docs - README.md community channels removal + link

I spotted that the Slack registration links here didn't have the ?v=1 trick - but thought it might just be better to propose a leaner approach: link directly to the community page itself (which contains the necessary links to lots of stuff) instead of the separate heading here.

Removed explicit links to project channels in favour of a link direct to the Community page on druid.apache.org.
Updated nav to match remaining headings in the README.

This PR has:

[X] been self-reviewed.

@paul-rogers I did some faffing.  How's this look...
@2bethere thought you might have have a valuable opinion, too

@petermarshallio, thanks for the improvements!
LGTM (non-binding)


cfg.pi not found, AttributeError: pi

Hi,
In your sound_residual_train.py, line 207, "performance_indicator=cfg.pi,", but pi is not found in your config. Could you please help me out?
Thanks!

Hi,
It is a redundant code I forgot to remove. Feel free to delete it.


[PDI-11888] Row denormaliser step: Null if field doesn't work

:white_check_mark: Build finished in 31m 23s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:ok_hand: All tests passed!
Tests run: 3925, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


firebase hosting issues

deploying the project to firebase hosting all the menus and the menu bar is disabled because of the multilingual nature of the project.
example link here: https://testi18n-c3dab.firebaseapp.com
any trick to make it work properly?
thanks in advance

Sure, you have to adjust prod build script which is adjusted to work with GitHub Pages... The current urls look like https://testi18n-c3dab.firebaseapp.com/angular-ngrx-material-starter/assets/i18n/en.json but in your case the real url looks more like https://testi18n-c3dab.firebaseapp.com/assets/i18n/en.json
You can adjust build script in package.json by removing  -- --deploy-url /angular-ngrx-material-starter/ --base-href /angular-ngrx-material-starter part and rebuilding the project.
Hope this helps!

@taleos please check the previous comment, and also I added bullet point into README.md "Make it your own" section which explain this for the new users, thank you very much for  your feedback!


ionic 2.3.0 cordova_not_available error

I created new project with ionic 2.3.0 and tried implementing the geolocation background as said in ionic 2 documentation. But when I tried access the code in chrome, I am getting cordova_not_available error.
Your Environment

Plugin version: 2.2.5
Platform: Android
OS version: Ubuntu 14.04 LTS
Device manufacturer and model:
Cordova version (cordova -v): 6.5.0
Cordova platform version (cordova platform ls):
Plugin configuration options:
Link to your project:

Context

Ionic info
Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.13
Node Version: v6.6.0
Xcode version: Not installed

Actual Behavior
Debug logs
Error: Error in ./HomePage class HomePage - inline template:14:0 caused by: cordova_not_available
    at new Error (native)
    at Error.v (http://localhost:8100/build/polyfills.js:3:4864)
    at ViewWrappedError.BaseError [as constructor] (http://localhost:8100/build/main.js:36370:27)
    at ViewWrappedError.WrappedError [as constructor] (http://localhost:8100/build/main.js:36430:16)
    at new ViewWrappedError (http://localhost:8100/build/main.js:77612:16)
    at DebugAppView._rethrowWithContext (http://localhost:8100/build/main.js:133307:23)
    at DebugAppView.<anonymous> (http://localhost:8100/build/main.js:133324:23)
    at HTMLElement.<anonymous> (http://localhost:8100/build/main.js:57680:53)
    at t.invokeTask (http://localhost:8100/build/polyfills.js:3:10284)
    at Object.onInvokeTask (http://localhost:8100/build/main.js:38018:37)
    at t.invokeTask (http://localhost:8100/build/polyfills.js:3:10220)
    at e.runTask (http://localhost:8100/build/polyfills.js:3:7637)
    at HTMLElement.invoke (http://localhost:8100/build/polyfills.js:3:11397)

I think issue is caused because this plugin is not updated for while. So it's not compatible to https://learnionic2.com/2017/03/24/whats-new-ionic-2-3-0-update/

You're getting the error because Cordova isn't available.
Cordova only loads on device. You need to add a check that cordova is loaded to run that code.
if (this.platform.is('cordova')) { code }

Thanks for the tips, but all other plugins handles this infernally. Example camera plugin

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


[T3A2][T15-A1] Leow Zheng Yu

Ready for review

Apologies for the labelling, bot having some issue on this PR.

@zhengyu92 Some comments added. Please close the PR after reading comments.

Good job in encapsulating the variable.
Keep it up.


Importing save files (Steam)

Maybe this seems out of left field, but I've played Baba is you via Steam the most but not finished it. It seems like the perfect fit on a Vita! So I was looking for a way to move my save file over.
I've found the following files in my Steam account (https://store.steampowered.com/account/remotestorageapp/?appid=736260)
Baba Is You/Oba.ba
Baba Is _You/Oba.ba.tmp
Baba Is You/ba.ba
Baba Is You/ba.ba.tmp
Baba_Is_You/SettingsC.txt
Baba_Is_You/SettingsC.txt.tmp
If this is not the place to ask, just close this issue.

You can try to remove the following files (if they exist): ux0:data/baba/assets/0ba.ba, ux0:data/baba/assets/2ba.ba, ux0:data/baba/assets/ba.ba, ux0:data/baba/assets/SettingsC.txt (don't forget to backup if you still need them) and place the ones you found on your PC in that directory instead.
But I'm 85% sure it won't work, afaik Baba Is You has different set of levels on PC and Android.


The Tousou Highway Full Boost [PCSG00329]

Game summary

Game name: @SIMPLE Vシリーズ Vol.2 THE 逃走ハイウェイ フルブースト ～名古屋-東京 激走4時間～
Game serial: PCSG00329

Vita3K summary

Version: v0.1
Build number: 311-e4d7a67
Commit hash: https://github.com/vita3k/vita3k/commit/e4d7a67

Test environment summary

Tested by: HorrorTroll
OS: Windows 8.1
CPU: Intel Core i5-4200H
GPU: Nvidia Geforce GTX 950M
RAM: 6 GB DDR3

Issues

Crash
Screenshots
Not for moment
Log
vita3k.log
Recommended labels

Crash

can the title be changed to
@Simple V Series Vol.2: The Tousou Highway Full Boost: Nagoya-Tokyo Gekisou 4-Jikan
Vita3K v0.1.5 2579-2791bc3e
goes ingame but goes really slow
few graphic glitches ingame aswell
vita3k.log

@othmanead
why was the title of this changed ???
Macdu had it right in the first place

as of https://github.com/Vita3K/Vita3K/commit/5bd8b3b6aa3f86d6d38cbd0b7a66a852b1bdf17f, i think the game doesn't crash anymore and it's playable except while driving, a man appears in some frames in a driving pose.
Screenshots

Log
vita3k.log
Recommended Labels

Playable
graphics bug


Add zesty support

Please attach the output of following command when open a new support request.
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 17.04
Release:	17.04
Codename:	zesty

EasyEngine supports only the LTS releases for Ubuntu.

So no way to setup all the things on modern hostings? I like zesty for newer kernel, which docker support is better… Is there I can build packages myself?

In future, there may be a time where EE will use docker images for all required software. If that happens, we will be able to support every OS that supports docker. But for now, I am sorry to say we can't help.
Would you be interested in building and maintaining the packages for zesty?

Yes, I am interested, but I need instructions.

Awesome.
This is the our nginx build's repository - Nginx-build. The actual steps are mentioned in the wiki.
It would be great if you can join the EasyEngine Slack Channel for further discussion.

@mbtamuli nobody answers my question in slack…

If you don’t know what you are doing really well just stick to what is supported.  16.04 works great.
Ryan Smith
https://www.ryansmithphotography.com
On May 27, 2017, 8:49 AM -0400, Paul<EMAIL_ADDRESS>wrote:

@mbtamuli nobody answers my question in slack…
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@rsmith4321 well, everything is fine, but I've never deployed anything to opensuse build system, that's the only problem.

Sorry for a delayed reply.
This will be handled automatically in v4. We have no plan to work on this in v3.

@rahul286 any estimates on when will it be released?

@asm0dey Sorry I cant give you a solid ETA.
You may keep an eye on https://github.com/EasyEngine/easyengine/milestones?direction=asc&sort=title&state=open
By the way, we added Ubuntu 18.04 LTS support recently in v3 - https://easyengine.io/blog/easyengine-v3-8/


use 'dsse' as the default rekor type when signing

Fixes #526
Replaces https://github.com/sigstore/sigstore-js/pull/552
Summary
Updates @sigstore/sign to use "dsse" as the default Rekor type when submitting DSSE-wrapped payloads. This replaces the current "intoto" type currently in use.
NOTE: Do not merge until the necessary support has been added to the rest of the stack accepting npm provenance statements.

Hey! Just wanted to check if you know when this can be merged.

@haydentherapper I don't think we're quite ready to make the dsse Rekor type the default just yet -- this has implications for some of the older versions of npm which have versions of this library bundled (don't want to get in a position where older clients aren't able to verify newly signed packages). I'm not sure what the exact trigger will be, but when the usage numbers for some of those older npm versions start to dip we will consider switching the default.
That said, GH is about to deploy a new usage of this library where we will be using the dsse Rekor type exclusively.

Closing in favor of https://github.com/sigstore/sigstore-js/pull/1270


Update SSDPBridgeLocator.cs

If computer language is Turkish, "LOCATION" is converted to "locatıon" instead of "location". Thus, not matching Substring() function.
The same problem may exist also for some other languages too. Please see http://www.fileformat.info/info/unicode/char/0049/index.htm
Better not convert to lower case
Or use System.StringComparison.InvariantCultureIgnoreCase.

Thanks!


How to update game files?

Server shows up "this server is on an older version than you and cannot connect";

Server shows up "this server is on an older version than you and cannot connect";

How do you launch the game container? Do you have the --update=game or --update=all flags

We should probably document it better.

Yep, probably. But we must be sure that the image on docker hub is the newest version too. So we can just say: docker-compose pull.

Feel free to reply if you have further questions regarding this.


issue with closues messing up contains

Fixes #276

@shacharPash - can one of you have a look when you have a chance?


About DIAG metric

Sorry to bother you.
I am  a researcher in SRIBD.I want to know why the diagnostic F1 score which i test by myself is different form the result tested by alue.org?But  I got same XNLI metrics tested by myself and alue.org  Are XNLI and DIAG tested in the same way?

Hello, and thanks for your interest in ALUE. For the DIAG task we are using the matthews_corrcoef metric from sklearn. Would you please retry with said metric and let us know if you achieve agreement with the leaderboard?

Thanks for your help!I have achieved agreement with the leaderabord.

Great. Thanks for reporting back. I am going to close this issue now. If face any others, please let us know.


update gisce/react-formiga-table to v1.3.1

Automated changes by create-pull-request GitHub action

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Any docs page planned?

I feel that this add-on has a lot of potential, but it lacks a good and more non-linear docs than just the README.
If you guys do not have anyone working on the documentation, I would be pleased to be the first one to take that seat :)

The README has headers, so you can use table of contents to navigate.
I remember someone on Reddit mentioned a wiki (it's a GitHub feature). Maybe I'll look into that.

The documentation is available in Godot itself. It's generated from the GDScript files using the built-in documentation system.

I'm in the process of moving the README to wiki: https://github.com/KoBeWi/Metroidvania-System/wiki
Once I finish, I will remove the duplicate content from README and close this issue. You can give some feedback in the meantime (and afterwards).

The docs seems pretty fine so far, congrats!
What I would add is a API reference with simples methods explanation, nohing fancy, just pure function calls and explanations, i.e:
MetSys class
MetSys.get_current_room_instance()

The docs seems pretty fine so far, congrats!
What I would add is a API reference with simples methods explanation, nohing fancy, just pure function calls and explanations, i.e:
MetSys class

var metsys : MetSys = MetSys.new() # Instantiates/Initialize a new MetSys

MetSys.get_current_room_instance() # Returns the current map scene

I was thinking of forking the repo and creating a fanmade docs, and if you like it, maybe you can incorporate on the current docs

Well as I said before, the documentation is already available inside the editor:

It's briefly mentioned in the README, but maybe I should make it more prominent and list available classes. I don't know any tool that would turn GDScript documentation into something you can put on GitHub, and I'm not doing it manually, so the class docs won't be available on the wiki.

fair enough, maybe I'm just dumb, couldn't find the docs inside Godot

Press F1 and search for MetroidvaniaSystem class.

The wiki is finished and the documentation is mentioned here: https://github.com/KoBeWi/Metroidvania-System/wiki/General-Information#code-documentation


fixed error when empty query is provided

Description

Fixed error when empty query is provided
Motivation and Context

E.g. when user performed search using Product::search() the query is built wrongly and caused the following error:
Elasticsearch/Common/Exceptions/BadRequest400Exception with message '{"error":{"root_cause":[{"type":"parsing_exception","reason":"no [query] registered for [must]","line":1,"col":56}],"type":"parsing_exception","reason":"no [query] registered for [must]","line":1,"col":56},"status":400}'

How Has This Been Tested?

Screenshots (if appropriate):
Types of Changes

[x] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Thanks @aungkoko96 @webcrazy !


While following official documentation, CocoaPods refuses to fetch version 0.5 even when specifying explicitly master branch

Greetings.
I cannot get version 0.5 into my project by following the official documentation for your library.
This piece specifically:
CocoaPods
Add to your Podfile:
Swift 3.0:
use_frameworks!
pod 'SwiftCharts', :git => 'https://github.com/i-schuetz/SwiftCharts.git'

Note: To use Swift 3.x / master, you need Xcode 8+
I have tried both of the following combinations in my podfile to fetch version 0.5:
pod 'SwiftCharts', :git => 'https://github.com/i-schuetz/SwiftCharts.git'

pod 'SwiftCharts', :git => 'https://github.com/i-schuetz/SwiftCharts.git', :branch => 'master'

Both result in the following. What am I missing?

Try with pod update SwiftCharts in the command line.

Had a similar issue.
Using the Swift 3 instructions, the code that came down was Swift <2.3 and the auto-conversion doesn't work.
Am keen to use this lib again, but not keen to convert another codebase to Swift 3.  Can you double check the Cocoapods & git issue?

@simonstewart master is 3.0 and if you use the master as described in the readme you should get this. Do not use 0.5 because this tag doesn't exist in pods. If you continue having issues please verify the version / commit hash in your lock file. If nothing helps, try to clean your pod cache
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"

And after it pod install or pod update

0.5(.1) is now available in Pods, sorry for the delay!

@i-schuetz thanks!  Will give it a try in a couple days on one of my apps.


add discord

How do I join? :)
When I click on this link, I get the message "You find yourself in a strange place. You don't have access to any text channels, or there are none in this server."
I haven't used Discord much but I do have the Rust Programming Language server.

Ah. Guess o need to provide the invite link. Try this: https://discord.gg/y7ZvY5p


Add missing test for GCD/LCM functions.

add test for gcd/lcm
add docs
fix result type cast to prevent overflow

👍


simple traversal of workflow items

Hi Nolan, I'm writing down my feedback. The changes look pretty cool! 🙂
I have some thoughts about the code. I commented out about them on the specific lines. Besides that, I have also some doubts in regards the implementation and the workflow model that is defined in this branch. For example, as far as I know, from the frontend perspective an item doesn't point to any other item and the workflow doesn't know in advance which are all the items in it. My mental model about the workflow in terms of contracts and relationships (based on the current workflow logic) would be something like this:
enum Role {
  ADVISOR = 'advisor',
  INVESTOR = 'investor',
}

interface Workflow {
  /**
   * The workflow type
   *
   * e.g: RetirementGoalWorkflowType
   */
  type: string;
  role: Role;
  currentItem: WorkflowItem;
  items: WorkflowItem[];
  /**
   * This could be used as the top-left title of the opened modal
   *
   * e.g: PLAN FOR RETIREMENT
   */
  title: string;
  /**
   * This could be used as the top-left sub-title of the opened modal
   *
   * e.g: (name of the goal)
   */
  subtitle: string;
}

interface WorkflowItem {
  /**
   * The id of the workflow item
   *
   * e.g: GoalNameWorkflowItem
   */
  id: string;
  /**
   * Could be used for the breadcrumb. e.g: Goal Info
   */
  title: string;
  /**
   * Items can have a url, that must be showed in teh browser url bar
   */
  url?: string;
  /**
   * Currently, in the frontend, each item is represented as plain html (returned from the server) that is injected in the
   * correponding slot. In the future this can be replaced with some other type/model, the problem is that every item can
   * have different types of content (inputs, radios, custom components) and we would need a good abstraction to repŕesent the
   * variant. I think it would easier to work as it is for the moment (and inject the server rendered item where where appropriate)
   */
  content: HTML;
}

/**
 * An object representing a redirection
 */
interface Redirect {
  url: string;
}

/**
 * This type acts as a proxy to the underlying WorkflowController methods
 */
interface WorkflowAPI {
  /**
   * The /workflow/{role}/start returns a server rendered modal (html), which could be parsed
   * to extract the workflow. The parsing proccess, i.e, extracting the data from the html can add a bit of overhead
   * but we would have like a json API response when, which would help us to decouple a bit more our frontend from the server.
   */
  start: (params: WorkflowStartParams) => Promise<Workflow>;
  /**
   * In order to get the next or previous item we have to call next and back endpoints respectively passing
   * the id of the current workflow item. Give the current item id, the backend can infer what's the next (or previous) thing
   * in the worflow flow. The current item doesn't have information about what's after (it is not a linked list, from the frontend point of view).
   * The "next thing" in the workflow is up to the backend and it can be another workflow item, a new workflow or a redirection.
   */
  next: (
    params: WorkflowNextBackParams
  ) => Promise<Workflow | WorkflowItem | Redirect>;
  /**
   * In practical terms, the back action always returns a workflow item though.
   */
  back: (
    params: WorkflowNextBackParams
  ) => Promise<Workflow | WorkflowItem | Redirect>;
  /**
   * This action is callled when modal is closed and maybe in some other cases.
   */
  saveAndExit: (params: WorkflowNextBackParams) => Promise<void>;
  /**
   * There is also a getById action that I think should be analog to next or back.
   **/
  // getById: ?;
}

interface WorkflowAPIBaseParams {
  env: Env;
  workflowType: string;
  role: Role;
}

interface WorkflowStartParams extends WorkflowAPIBaseParams {
  env: Env;
  workflowType: string;
  /**
   * Maybe modalId and statiModal shouln't be part of this because this concern
   * owned by the frontend.
   */
  modalId: string;
  staticModal: string;
}

interface WorkflowNextBackParams extends WorkflowAPIBaseParams {
  /**
   * The API expects the current workflow item id as the context to get the next or previous item (if it exists)
   */
  workflowItemId: string;
  /**
   * Data for being updated in the backend underlined models
   */
  pageData: AnyObject;
}

/**
 * The Env object is a key/value map that carries information that is particular to a workflow.
 */
interface Env {
  [key: string]: string | number;
}

interface AnyObject {
  [key: string]: string | number | boolean | AnyObject;
}

/**
 * Just a semantic type alias
 */
type HTML = string;

Given that constraints I will propose to have the business logic separated from the view as shown in the illustration and the types definitions below:
/**
 * Container component which encapsulates business logic and state using hooks. This component also interacts
 * with WorkflowAPI and update the internal state accordingly. Maybe this should receive some props (such as workflow type and env as initial state)
 */
type WorkflowContainer = React.FunctionComponent<{}>;

/**
 * This is a dumb component. This just renders according to its props and maybe could have some view state.
 */
type WorkflowView = React.FunctionComponent<WorkflowViewProps>;

/**
 * The WorkflowView's props. Maybe there exists more props.
 */
interface WorkflowViewProps {
  workflow: Workflow;
}

@pedrosimonbonzzu that is a great description of the workflow, how it works now, and a possible approach to implementation using typescript and react 👍 My changes look at the workflow as the simplest possible component that could traverses a list of items. As you correctly pointed out, the current implementation of the workflow on the front end does not know about all the items in advance. I would like to use this opportunity to go back and revisit some of the design choices for the existing workflow, and improve on them. We don't have to throw away all of the ideas in the existing workflow, but we don't have to follow all of them either. This is definitely a discussion that we should have in public. One of the biggest mistakes on the old workflow is that not enough people had eyes on it during development, and the end result was this black box that no one knew how to work with when changes were required 👍


Update return type of contentMatchAt

Dependent on the index this sometimes return null.

This will only return null if the node contains content that's not valid for its type, which I consider to be a precondition. As such, maybe adding a check that raises an exception when no match is found would be reasonable, but the type should stay the way it is.

I was actually seeing this behaviour on paste from (what seemed to be) a
big in an old version of prosemirror-model that affected document parsing.
Your comment makes sense and I think perhaps an error would be nice as it
would probably have helped to debug it a bit quicker, but having found the
issue and subsequently upgraded prosemirror-model. The type makes more
sense despite the precondition not actually throwing an error if it isn’t
met.
On Sun, 12 Aug 2018 at 10:46, Marijn Haverbeke<EMAIL_ADDRESS>wrote:

This will only return null if the node contains content that's not valid
for its type, which I consider to be a precondition. As such, maybe adding
a check that raises an exception when no match is found would be
reasonable, but the type should stay the way it is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ProseMirror/prosemirror-model/pull/27#issuecomment-412331029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABk12wDju3S5lx6bJrkQbAYLUd0OL6wnks5uP_mAgaJpZM4VyU52
.

Thanks for this 👍


(self-contained build) Remove unused css styles

Expected Behavior
When analyzing the code coverage (e.g. by Chrome Dev Tools --> Coverage) of an UI5 app that has been bundled by the ui5-tooling / self-contained build, a lot of unused styles can be found that add to the size of a build result. Such styles could be omitted by matching the styles with selectors that are actually used in an app, in a similar way how tools like purgecss work.
Current Behavior
All styles will be part of a self-contained build result.
Affected components

[x] ui5-builder
[ ] ui5-server
[ ] ui5-cli
[ ] ui5-fs
[ ] ui5-project
[ ] ui5-logger

A little bit related to https://github.com/SAP/ui5-builder/issues/160


⚠ ClamAV has degraded performance

In 74e4d3a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 98bb8e7.


Additional Redirects

Adding these after reviewing the site's logs. Only one missing is Fluid Simulation as referenced in #558

This along with #560 closes out #558


Check for presence of key

Would it be possible to add a function to check if a key is present without resetting the idle timer?
Pretty much exactly like
https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.contains_key

Thanks for posting the request. It would be a nice addition to the cache. I am working on it via #110.

I just published Moka v0.8.1 to crates.io. It has contains_key method in all cache flavors.

very nice, thanks alot!


🐛 [firebase_messaging] FirebaseMessaging.onMessageOpenedApp.listen((message){} triggering more than once

FirebaseMessaging.onMessageOpenedApp.listen((message){} triggering more than once for a single notification

I don't know if related. I get onMessageOpenedApp called on app start from terminated state.

Faced the same issue.
Thing is there should be overlapping of getInitialMessage and onMessageOpenedApp stream due documentation. But it happens when app is opened from terminated state.
From messaging.dart:
`
/// Returns a [Stream] that is called when a user presses a notification message displayed
/// via FCM.
///
/// A Stream event will be sent if the app has opened from a background state
/// (not terminated).
///
/// If your app is opened via a notification whilst the app is terminated,
/// see [getInitialMessage].
static Stream get onMessageOpenedApp =>
FirebaseMessagingPlatform.onMessageOpenedApp.stream;
`

I had the same problem, also with FirebaseMessaging.onMessage.listen.
I fixed it by putting the StreamSubscription return by the listen function in a variable. Then, before I call FirebaseMessaging.onMessage.listen, I check if the subscription already has been set, if yes, I don't make the call.
if(_onMessageSub == null) {
_onMessageSub = FirebaseMessaging.onMessage.listen((RemoteMessage message) {
print("Notification received when app is in the foreground");
_handlePushNotificationPayload(message);
});
}
Otherwise, it seems that the call to .listen creates multiple subscriptions and in my case it was triggered up to 6 times.
I'm not sure if it's the right way to go about it, but it seems to solve the problem. Maybe the example on pub.dev should be updated?

I had the same problem, also with FirebaseMessaging.onMessage.listen.
I fixed it by putting the StreamSubscription return by the listen function in a variable. Then, before I call FirebaseMessaging.onMessage.listen, I check if the subscription already has been set, if yes, I don't make the call.
if(_onMessageSub == null) { _onMessageSub = FirebaseMessaging.onMessage.listen((RemoteMessage message) { print("Notification received when app is in the foreground"); _handlePushNotificationPayload(message); }); }
Otherwise, it seems that the call to .listen creates multiple subscriptions and in my case it was triggered up to 6 times. I'm not sure if it's the right way to go about it, but it seems to solve the problem. Maybe the example on pub.dev should be updated?

@vincepunkrock Could you please share a bit more code? Does the subscription prevent multiple calls?

@abigotado Here how I have fixed this issue for me

@Bhagat8533 Thank you very much!

Hey @pranav-asthi, which platform are you experiencing this on?

i fixed it a long time ago and i forgot to close this issue


test(all): Add 3.12 to the test suite on github

coverage: 100.0%. remained the same when pulling 472b823ad91d1c333f9f4857219f25d2792c1259 on terjekv/Add-python-312-to-the-github-test-suite into 3d19aa06a64b83b712b85c7ecfb1bc119a88bc6f on main.


feat: support the pagination at GetAllCloudProviderSnapshots

Proposed changes
https://github.com/mongodb/go-client-mongodb-atlas/issues/95
Support the pagination of CloudProviderSnapshotsService.GetAllCloudProviderSnapshots and CloudProviderSnapshotsServiceOp.GetAllCloudProviderSnapshots.
Checklist

[x] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments
Breaking change
The signature of CloudProviderSnapshotsService.GetAllCloudProviderSnapshots and CloudProviderSnapshotsServiceOp.GetAllCloudProviderSnapshots are changed.
The parameter listOptions is added.

Verified CA signed. Approving and downstream Terraform work scheduled to adjust code for these changes.


Intellisense Suggestions Ignoring LocalityBonus

Issue Type: Bug

As seen in the image attached, the option of 'await' is suggested before 'i'.
This makes no sense. Even with editor.suggest.localityBonus set to true, there seems to be no sorting applied.
The issue has only appeared in the last 24 hours.
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:55.248Z)
OS version: Windows_NT x64 10.0.18362
Restricted Mode: No
Extensions (2)

Extension
Author (truncated)
Version

csharp
ms-
1.24.1

unity-debug
Uni
2.7.5

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc009:30452663
pythonvsnew555:30457759
vscscmwlcmt:30438805
vscgsvidc:30447482
vscaat:30438848
pynewfile477:30450038

The issue has only appeared in the last 24 hours.

VS Code 1.65.2 won't have changed so maybe an extension or a setting did.
Do you get any extra diagnostic information if you press Ctrl+Space while the suggestion list is displayed?

My extensions are listed in the issue above and they haven't updated recently and I haven't deliberately changed any settings - is there perhaps some keyboard shortcut that I hit which changed a setting which controlls the order the suggestions are provided in? I installed previous versions of VSCode, and it's happening in all versions back to 1.60 - in this version the intellisense behavior goes back to 'normal' (providing the local variable 'i' as the first suggestion).
Below is the only information provided with Ctrl+Space while the suggestion list is displayed.

Interestingly, if I don't remove async from the function declaration (it is added to the function automatically if you select 'await' from the suggestion list), I get the behavior that I've come to expect (pictured below)

I know there are solutions like adding a delay to the suggestion list appearing so that I can press the spacebar and not have 'await' populate into my for loop and add async to the function declaration, or I could disable the spacebar as the suggestion confirmation button, but I don't like changing my process for some issue that could just propagate into further issues down the line.

/extC#
It's from OmniSharp.

https://github.com/OmniSharp/omnisharp-vscode/issues/5096

/extC# - thanks @Lemmingh


Fix error in view

Fix error in view:
"json_decode() expects parameter 1 to be string, object given (View: /var/www/html/vendor/pvtl/voyager-page-blocks/resources/views/vendor/voyager/pages/browse.blade.php)"

Has been fixed in https://github.com/pvtl/voyager-page-blocks/commit/8c3cf886db3161fecc0f3dbd6f18d5b801fbd179.


Change in cast syntax

I'm just about to make a change to the cast syntax. The reason for this is that with the current type(var) syntax, if the identifier before the brackets has not been resolved when the cast is being parsed, then we don't know if it's a type name or a function name. It is possible to work around this, but it would be a lot harder.
Right now I'm changing it to cast(type, var) because this means there is no ambiguity.

How about (type)var ?

Now that I think about it, it may be quite easy to have typecasts represented as CallExpr, so then we can keep the original syntax.

@SamTebbs33 That causes all sorts of precedence issues.

@MovingtoMars Yeah, that's how I implemented typecasting originally in the C version. I'll close the issue.


closestBed returns downstream overlapping feature when giving -id

Hello,
I am using bedtools v2.27.1, and noticed the following behaviour of closestBed shown here with a minimum example:
$cat foo.bed
chr	10	30	g1	.	+
$ cat fooA.bed
chr	1	9	A1	.	+
chr	9	20	A2	.	+
chr	13	40	A3	.	+
chr	50	60	A4	.	+
$ closestBed -a foo.bed -b fooA.bed -iu -D ref
chr	10	30	g1	.	+	chr	9	20	A2	.	+	0
chr	10	30	g1	.	+	chr	13	40	A3	.	+	0
$ closestBed -a foo.bed -b fooA.bed -id -D ref
chr	10	30	g1	.	+	chr	9	20	A2	.	+	0
chr	10	30	g1	.	+	chr	13	40	A3	.	+	0
According with Bedtools documentation "B features with lower start/stop coordinates are considered to be upstream." Thus, feature A3 in fooA.bed is downstream from feature g1 and should not be reported by closestBed -id, and feature A2 is upstream of g1 and should not be reported by closestBed -iu . Is this a bug?
The option -io would not give the desired output either as overlaps are removed.
$closestBed -a foo.bed -b fooA.bed -iu -io -D ref
chr	10	30	g1	.	+	chr	50	60	A4	.	+	21
$ closestBed -a foo.bed -b fooA.bed -id -io -D ref
chr	10	30	g1	.	+	chr	1	9	A1	.	+	-2
This behaviour is also present in bedtools v2.26.
Cheers,
Lourdes

It seems the docs are not clear enough. Upstream is interpreted as an entire  interval that is "left" of the interval in question and downstream is interpreted as an entire  interval that is "right" of the interval in question. If just the start or the end is left or right, then closest interprets it as overlapping and not up- or downstream.


SCB-851 BUG: Can not get providers if consumer have * dependency rule

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run go build go test go fmt go vet to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.1%) to 76.043% when pulling 17ba06e97515c6e62dec6a93ca672a7b715c4a58 on little-cui:provider into c3a1e76fa21f2d2f8dabaa783fad7a7543de9282 on apache:master.

Codecov Report

Merging #421 into master will decrease coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #421     +/-   ##
=========================================
- Coverage   73.01%   72.92%   -0.1%
=========================================
  Files         128      128
  Lines        9976     9976
=========================================
- Hits         7284     7275      -9
- Misses       2217     2224      +7
- Partials      475      477      +2

Impacted Files
Coverage Δ

server/service/util/dependency_query.go
51.9% <100%> (ø)
:arrow_up:

server/service/notification/listwatcher.go
69.01% <0%> (-9.86%)
:arrow_down:

pkg/util/util.go
61.11% <0%> (-1.39%)
:arrow_down:

server/service/tag.go
68.32% <0%> (-0.63%)
:arrow_down:

server/broker/service.go
57.78% <0%> (-0.16%)
:arrow_down:

server/plugin/infra/registry/etcd/tracing.go
81.81% <0%> (+9.09%)
:arrow_up:

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 c3a1e76...17ba06e. Read the comment docs.


Appending to array doesn't seem to work for me

Hi, thanks for such a great library :)
I have tried
bdd.push('/comments/244[]', data, true)
But it create that entry in db : "244[]":{"nom":"anon","content":"blah"}}...
I have tried with a non-numeric index and it works just fine...
bdd.push('/comments/aa[]', data, true) => OK
Sorry, havent made a pull request cause I don't understand exactly how you process the  []
Thanks ;)

Hello,
The lib only recognize array name that are following the javascript pattern for variable. In other words, it needs to start with a letter, a underscore or $.


The request was aborted: Could not create SSL/TLS secure channel

From the application I am able to get this target to work over HTTP but over HTTPS it fails.  Enabled nlog internal logging and I'm given this error:
Error SplunkHttpEventCollector(Name=Splunk): Failed to send LogEvents Exception: Splunk.Logging.HttpEventCollectorException: Failed to send request: InternalServerError ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)

Tried looking into it. Elimated TLS mismatch of servers, I have the cert that splunk originally sets up.  I have a service running on the splunk server that will generate the logs that i want, pass it over to my app server and the app server uses the nlog target to send to the HEC.  Looked into cipher suites but I dont think that's the issue and now drawing a blank.

@ekalkst Have you tried to configure the setting IgnoreSslErrors=true on the SplunkHttpEventCollector ?

Hello, yes I've tried adding that and I ge the same error

Tried to google Could not create SSL/TLS secure channel for you, and found this:
https://stackoverflow.com/questions/32994464/could-not-create-ssl-tls-secure-channel-despite-setting-servercertificatevalida
Saying that:

if your server offers only SSLv3 and TLSv10 and your client needs TLSv12 then you will receive this error message

And you should try and change the global behavior, to see if it fixes.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

Maybe the SplunkHttpEventCollector should have an option to configure its local accepted SecurityProtocol. But I guess the correct thing is to enable Tls12 on the server.

Hi again.
Both machines are running on Win Server 2016, where I believe Schannel is using tls1.2
I'll preface that my background is not programming, more infrastructure so sorry for any invalid/silly questions.  The Global behavior change you suggested, I imagine is modifying the program code.  The application that runs I wouldn't have the ability to modify outside of Nlog/Web.config.
Application is .net framework with IIS frontend SQL server backend.  Logs get sent by a client machine to the application server  and then passed with Nlog to the target(in this attempt splunk HEC)

Think you can also configure the global ssl-config for the application using web.config app.config. Try to Google it. Not expert myself.
Sent from my Samsung device
-------- Original message --------
From: ekalkst<EMAIL_ADDRESS>Date: 13/08/2018 19:18 (GMT+01:00)
To: "AlanBarber/NLog.Targets.Splunk"<EMAIL_ADDRESS>Cc: Rolf Kristensen<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [AlanBarber/NLog.Targets.Splunk] The request was aborted: Could   not create SSL/TLS secure channel (#18)
Hi again.
Both machines are running on Win Server 2016, where I believe Schannel is using tls1.2
I'll preface that my background is not programming, more infrastructure so sorry for any invalid/silly questions. The Global behavior change you suggested, I imagine is modifying the program code. The application that runs I wouldn't have the ability to modify outside of Nlog/Web.config.
Application is .net framework with IIS frontend SQL server backend. Logs get sent by a client machine to the application server and then passed with Nlog to the target(in this attempt splunk HEC)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/AlanBarber/NLog.Targets.Splunk/issues/18#issuecomment-412595112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK-fnNYlEk1Dib8VbvOrYedQgcIr4gcqks5uQbTKgaJpZM4V5Qln.

Sorry been out for a while with personal issues.
I'll work in adding a new option to define which SSL/TLS settings to permit for usage with the ServicePointManager.SecurityProtocol. We can see if that will allow you to bypass the error.

@ekalkst I've created a new version v2.2.0-rc01 that includes a new config property
ServicePointManagerProtocols="Ssl3,Tls,Tls11,Tls12"
You can provide any option of comma separated values
give that a try to see if you can get it to work around the error you are seeing.
https://www.nuget.org/packages/NLog.Targets.Splunk/2.2.0-rc01
https://github.com/AlanBarber/NLog.Targets.Splunk/releases/tag/v2.2.0-rc01

@AlanBarber Think it is a bad idea to modify the global ServicePointManager. It will bring unwanted surprises all other doing web-requests.

@snakefoot Yeah, not a big fan of the idea but i'd like to see if it helps with the issue then I can decided on viability of the option and how to deal with the unwanted side effects.

Hi guys,
I was able to get it to work by forcing strong crypto (based on the google)
Two powershell entries:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

To check versions
[Net.ServicePointManager]::SecurityProtocol

Might also be relevant: https://support.microsoft.com/help/4458166/applications-that-rely-on-tls-1-2-strong-encryption-experience-connect failures after a Windows upgrade.

i'm going to close this out since a workaround was found.
thanks!


Does HtmlAgilityPack work on Xamarin.Forms?

Does HtmlAgilityPack work on Xamarin.Forms?

Hello @nguyenthanhliemfc ,
I believe it works but partially. Not all features will be here.
The best is to try it on your side.
Best Regards,
Jonathan

I Intall it on PCL project or all Project?
Can you suggest me some sample code!

Thank you!

Please find it from www.bsubramanyamraju.blogspot.com/2019/03/htmlagilitypack-html-parsing-in.html

Thank you, SubramanymBajuB!


Allow using a meson executable not in path

If CMake is run with -DMESON_EXECUTABLE=/path/to/meson then that path should be used.

It looks as if this also fixes the case in which find_program returned a pathname that was not the same one you'd get by searching $PATH for meson? (Can it do that?)

That's true. find_program does do more than simply looking through PATH


Update JavaParser

Professor,
This is the PR to use the newest version of JavaParser.
The type variables collision test is failing. Here is the input file:
package org;

// This import isn't used.
import com.T;

public class Foo<T> {
    T useT(T t) {
        return t;
    }
}

It turns out that this new version of JavaParser confuses the T in useT to be com.T. I don't think this is a serious bug, since we will only end up with an extra file in the final output of Specimin. I am thinking of removing the type variables collision test since the new version of JavaParser can not discern those collisions properly anymore. Let me know what you think.

I don't think this is a serious bug, since we will only end up with an extra file in the final output of Specimin.

I agree that this is acceptable imprecision.

I  am thinking of removing the type variables collision test

Rather than removing the test, I would prefer that we keep the test but change the expected output to the new behavior. We should add a comment indicating that the com.T usage isn't accurate, but that it's a limitation of JavaParser.

Professor,
I have added the explanations for the safety of casting ClassOrInterfaceType to ReferenceType and updated the test output for typevar-collision.
Please take a look. Thank you.


Feature/music generation

Add generation of music based on the description using MusicGen model.

Looking good 🥰
Please add also a small usage example in the generation section of our README

While trying to add some usage example I realised that we cannot add audio directly to the video. We can add it only from file. I've created an issue for that.


Removed remote http device code.

Can we pull the HTTP scout into another module before removing the code?  I'm fine with removing the action from the server API response in the meantime.

@kevinswiber is it possible to update argo resources dynamically? Or would the new http device scout and module create a new resource to have registrations to happen?


Update kubejob for fixing copy process

FYI: https://github.com/goccy/kubejob/pull/33

Codecov Report

Merging #68 (399a548) into master (29326e4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #68   +/-   ##
=======================================
  Coverage   62.03%   62.03%
=======================================
  Files          15       15
  Lines        2639     2639
=======================================
  Hits         1637     1637
  Misses        735      735
  Partials      267      267


Hello,
The question is asking for the code or command that will provide the version information, not the result.
Regards,
Jamie


operator percona-postgresql-operator-certified (2.5.0-cw)

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-release-pipeline


The "Become Volunteer" button is only showing in dark mode

Describe the bug
The "Become Volunteer" button on the about us section on the home page is only showing in dark mode
To Reproduce
Steps to reproduce the behaviour:

Go to home page
Scroll down to the About us section
Hover on the Become volunteer button
Click on Light mode
See error

Expected behaviour
Users should be able to see the "Become Volunteer" button in light mode even without hovering over it.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop :

OS: windows
Browser  chrome

hey @favy-codez , checked this part in About Us section, it is showing correctly.


Registering My Custom Filters

Hi
Im new to express js and liquid.
Im using this express liquid node to write a simple app in express using liquid as its template.
But Im very struggle on creating my own custom filters
I saw one of your explanations of liquid-node
engine.registerFilters({
  myFilter: function(input) {
    return String(input).toUpperCase()
  }
});

But I dont have any idea yet, on how I can implement it inside my express js codes.
Do you have any clues?
Thanks anyway. This library is very helpful I think :clap:

Up


Support exotic DNS class names

Will be fixed once tailhook/dns-parser#19 lands.

I've fixed the issue upstream.


Need to remove attribute with namespace prefix

<xsd:import xmlns:xsd="http://www.w3.org/2001/XMLSchema"  otherattr="abc"/>
I want  to remove the "xmlns:xsd" attribute from the above element.
Not able to figure out a way to do it.

Wow, I think you're right. I can't believe this has never come up before. @shtylman is this a regression? I don't think the last version did this before your changes. We're not taking a namespace for looking up attributes, and we're not using the appropriate native method that take ns into account.
We'll get this fixed. My feeling is that if we wanna stick with the current api, we need to take a second argument after name. If it's a string then create a new attribute with the name and value. If it's an object, try to treat it as a Namespace object, or a plain object with a prefix/href pair. Try to be consistent with how we're treating namespaces in other places.

Meanwhile @butu5 you can find your attribute by calling node.attrs() and iterating through the list. That sucks, but it'll do the job.

@polotek It may be a regression, not sure. In either case, I will add a test for it and come up with a fix in a pull request for review. How are other attributes removed currently?

@polotek I am not able to find the attribute as well using node.attrs(). It will only find the attribute without having namespace prefix.

this library is a :hankey:

xmlns:xsd isn't an attribute.  It's a namespace declaration.

A work-around for real attributes:
var d = xml.parseXml('<xsd:import xmlns:xsd="http://www.w3.org/2001/XMLSchema" otherattr="abc" xsd:otherattr="abc"/>');
var r = d.root();
var a = r.get('@xsd:otherattr', {xsd: "http://www.w3.org/2001/XMLSchema"});
a.remove();


Issue with pagination

I'm using code from your example:
$client = new Client(RegionEnum::UNITED_STATES, new HTTPClient(['base_uri' => env('PSN_API_URL'), 'timeout' => 5]));
$result = $client->get(
    RequestProductList::createFromCategory(CategoryEnum::OFFERS)
);

$products_list = $result['data']['categoryGridRetrieve']['products'];

And I can see you are using some custom pagination in RequestProductList.php:
public static function createFromCategory(CategoryEnum $categoryEnum): RequestProductList
{
    return new self(
        $categoryEnum->value,
        new Pagination(10),
        Sorting::createFromCatalogSorting(CatalogSortingEnum::RELEASE_DATE)
    );
}

Is there a way to change pages or is it just stuck on first page? If there is, could you update example files, and documentation?

I hope these examples can help you

examples/get_catalog_pagination_last_page.php
examples/get_catalog_pagination_next_page.php


[improve][broker][PIP-149]make examineMessage method async

Master Issue: #14013
Motivation
See #14365
Verifying this change
Make sure that the change passes the CI checks.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] doc-not-needed

/pulsarbot rerun-failure-checks

@Technoboy- PTAL again, changes made.


Automate coverage collection

Currently, the workspaces for coverage are manually defined. This PR automates the selection of the workspaces for coverage collection.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.915%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1525

Relevant Lines:
3012

💛  - Coveralls


BUG: KDTree weighted count_neighbors doesn't work between two trees

Reference issue
Fixes gh-13465
What does this implement/fix?
count_neighbors is using the self tree's indices to index into other. So, if the trees are the same size, we get the wrong weights. Or if they are different sizes, it accesses invalid memory.

Good catch. LGTM

I guess we need to check the testsuite as well. We should have a testcase that traps this kind of bug.

Well, we do now.

Right. Somehow I did not see that 😅

Haha, fair enough.
I'll go ahead and merge. Obvious typo and tests shows the segfault is fixed. Thanks for the review @sturlamolden.


tonic-build: Allow setting skip_protoc_run on the prost Builder

Motivation
prost-build has a configuration option called skip_protoc_run that prevents running protoc. This option is not exposed in tonic-build. The option can be used to run protoc externally or to use an alternative like protox.
Solution
This PR adds the option to set skip_protoc_run which is passed on to the prost-build configuration.

https://github.com/hyperium/tonic/pull/1326 will fix CI for you, so once that is merged should be able to rebase and get green ci

Its been merged you can reabase and CI should work.


Chia-anime.tv feature request

I want to request for a script/windows binary that can download anime from chia-anime.tv which we'll provide the URLs to which the anime episodes are listed
The Features that I'll love to be present in the script are:

Searching for a particular anime instead of having to open the browser to get the link
Select the video quality i.e 1080p, 720p, 480p or 360p
Storing the download links to a .txt file so that they can be added through batch download on IDM
Episode Range if one chooses not to download the whole episodes

Hello @Xonshiz, any update on this?

No. I'm super busy this whole month and cannot look into anything else. I still have comic-dl to tend to and then this. It'll take time, sorry.


Systematic error of ~0.4 hartree in CASCI calculations using fix_spin_

When I perform CASCI calculations for excited states using the fix_spin_ method, I always get a systematic error of about 0.4 hartree in all energies. Also, this only happens with quintet (S=2) states, I also tried S = 1 and S = 0, but those are fine.
I will show two examples. First, the benzene molecule:
from pyscf import gto, scf, mcscf
from pyscf.tools import mo_mapping

mol = gto.M(atom='''\
C   -1.2131   -0.6884    0.0000
C   -1.2028    0.7064    0.0000
C   -0.0103   -1.3948    0.0000
C    0.0104    1.3948    0.0000
C    1.2028   -0.7063    0.0000
C    1.2131    0.6884    0.0000
H   -2.1577   -1.2244    0.0000
H   -2.1393    1.2564    0.0000
H   -0.0184   -2.4809    0.0000
H    0.0184    2.4808    0.0000
H    2.1394   -1.2563    0.0000
H    2.1577    1.2245    0.0000''', basis='ccpvdz')

mf = scf.RHF(mol)
mf.kernel()
pz_pop = mo_mapping.mo_comps('C 2pz', mol, mf.mo_coeff)
cas_list = pz_pop.argsort()[-6:]

mycas = mcscf.CASCI(mf, 6, (5,1)) # quintet state
mo = mycas.sort_mo(cas_list, base=0)
mycas.fcisolver.nroots = 10
mycas.fcisolver.spin = 4
mycas.kernel(mo)

For this input I have got this:
CASCI converged
CASCI state   0  E = -230.449789575849  E(CI) = -6.10698904551344  S^2 = 6.0000000
CASCI state   1  E = -230.362043913085  E(CI) = -6.01924338274961  S^2 = 6.0000000
CASCI state   2  E = -230.362019506396  E(CI) = -6.01921897606030  S^2 = 6.0000000
CASCI state   3  E = -230.220021905087  E(CI) = -5.87722137475160  S^2 = 6.0000000
CASCI state   4  E = -230.220010150093  E(CI) = -5.87720961975782  S^2 = 6.0000000
CASCI state   5  E = -230.184717849278  E(CI) = -5.84191731894282  S^2 = 6.0000000
CASCI state   6  E = -230.184699899023  E(CI) = -5.84189936868762  S^2 = 6.0000000
CASCI state   7  E = -230.115346921931  E(CI) = -5.77254639159611  S^2 = 12.0000000
CASCI state   8  E = -230.107452498904  E(CI) = -5.76465196856893  S^2 = 6.0000000
CASCI state   9  E = -230.079031990318  E(CI) = -5.73623145998235  S^2 = 6.0000000

With one spin-contaminated state. If I add the line mycas.fix_spin_(ss=4) before the last one, then I get this:
CASCI converged
CASCI state   0  E = -230.049789575847  E(CI) = -5.70698904551350  S^2 = 6.0000000
CASCI state   1  E = -229.962043913083  E(CI) = -5.61924338274966  S^2 = 6.0000000
CASCI state   2  E = -229.962019506394  E(CI) = -5.61921897606035  S^2 = 6.0000000
CASCI state   3  E = -229.820021905085  E(CI) = -5.47722137475162  S^2 = 6.0000000
CASCI state   4  E = -229.820010150091  E(CI) = -5.47720961975779  S^2 = 6.0000000
CASCI state   5  E = -229.784717849277  E(CI) = -5.44191731894287  S^2 = 6.0000000
CASCI state   6  E = -229.784699899021  E(CI) = -5.44189936868767  S^2 = 6.0000000
CASCI state   7  E = -229.707452498903  E(CI) = -5.36465196856898  S^2 = 6.0000000
CASCI state   8  E = -229.679031990316  E(CI) = -5.33623145998237  S^2 = 6.0000000
CASCI state   9  E = -229.619880137340  E(CI) = -5.27707960700593  S^2 = 6.0000000

Observe that all CI roots are approximately 0.4 hartree higher in energy than the previous result.
Second  example, the FeS molecule:
from pyscf import gto, scf, mcscf
from pyscf.mcscf import avas

mol = gto.M(atom='Fe 0 0 0; S 0 0 2.2', basis='def2svp')

mf = scf.RKS(mol)
mf.xc = 'b3lyp'
mf.init_guess = 'vsap'
mf = scf.newton(mf)
mf.kernel()

ncas, nelecas, mo = avas.avas(mf, ['Fe 3d', 'Fe 4s', 'S 3p'])

mycas = mcscf.CASCI(mf, 9, (8,4))
mycas.fcisolver.spin = 4
mycas.fcisolver.nroots = 10
mycas.kernel(mo)

Output:
CASCI converged
CASCI state   0  E = -1659.60516133215  E(CI) = -33.8497464760744  S^2 = 6.0000002
CASCI state   1  E = -1659.60145486696  E(CI) = -33.8460400108820  S^2 = 6.0000000
CASCI state   2  E = -1659.60085206017  E(CI) = -33.8454372040926  S^2 = 6.0000000
CASCI state   3  E = -1659.58776168083  E(CI) = -33.8323468247509  S^2 = 6.0000000
CASCI state   4  E = -1659.58320808504  E(CI) = -33.8277932289698  S^2 = 11.9999972
CASCI state   5  E = -1659.58014959787  E(CI) = -33.8247347417946  S^2 = 6.0000000
CASCI state   6  E = -1659.57970207742  E(CI) = -33.8242872213496  S^2 = 6.0000006
CASCI state   7  E = -1659.57899951599  E(CI) = -33.8235846599157  S^2 = 6.0000025
CASCI state   8  E = -1659.57775096572  E(CI) = -33.8223361096409  S^2 = 6.0000322
CASCI state   9  E = -1659.57742159117  E(CI) = -33.8220067350985  S^2 = 6.0000308

Output including the line mycas.fix_spin_(ss=4) before the last line:
CASCI state   0  E = -1659.14425888025  E(CI) = -33.3934550353911  S^2 = 6.0027054
CASCI state   1  E = -1659.14270690341  E(CI) = -33.3919030585500  S^2 = 6.0004231
CASCI state   2  E = -1659.13336736205  E(CI) = -33.3825635171859  S^2 = 6.0015445
CASCI state   3  E = -1659.12177097241  E(CI) = -33.3709671275476  S^2 = 6.0023713
CASCI state   4  E = -1659.11612669673  E(CI) = -33.3653228518651  S^2 = 6.0016389
CASCI state   5  E = -1659.11582721048  E(CI) = -33.3650233656233  S^2 = 6.0016158
CASCI state   6  E = -1659.10106133918  E(CI) = -33.3502574943163  S^2 = 6.0004013
CASCI state   7  E = -1659.09970039070  E(CI) = -33.3488965458391  S^2 = 6.0004424
CASCI state   8  E = -1659.07274171709  E(CI) = -33.3219378722335  S^2 = 6.0358458
CASCI state   9  E = -1659.07003304579  E(CI) = -33.3192292009251  S^2 = 6.0388188

For this one there is a systematic error of 0.4-0.5 hartree for each state.
It seems that fix_spin_ is not a reliable method to avoid spin contamination. My solution for now is using DMRG (Block2) as FCISolver, which has spin-adapted algorithm and therefore avoids spin contamination.

This is not unreasonable since in a basis of determinants to fix the spin one usually uses a spin purification method.
From the documentation:

fix_spin_() is an energy-penalty method. It may affect the efficiency and accuracy of the CASCI and CASSCF algorithms. It should not be used unless the MCSCF program has difficulties in finding the wanted spin state.

Without reading the code, PySCF must use a spin purification method like this or this
PySCF experts feel free to weigh in if this is incorrect

Yup sorry wasn't trying to re-explain the method, I misunderstood the issue! In that case shouldn't the argument to fix_spin_ be the target $S^2$ not the target $S$

@shivupa now that I look with attention, yes, the argument in fix_spin_ should be $S^2$. I have redone the calculations with mycas.fix_spin_(ss=6) and now the results seem correct.
I thought that it followed the same convention to define mol.spin, which requires $2S$ as argument. This is not clear in the documentation. Also, I did not even suspect that this is the cause of the error because the calculations converge to the right spin states, $S = 2$ and $S^2 = 6$.

I suggest to the developers that if the user input a ss value in fix_spin that did not correspond to a integer or half-integer value of S, at least a warning should be shown, so the user do not confuse $S^2$ and $2S$ in the input.
For example, if the input is mycas.fix_spin_(ss=4), as was mine, it outputs:
"Warning: S**2 = 4 means S = 1.5616, inconsistent spin value" or something like that.

A even user-friendlier suggestion would be allowing the user to input $S$ or $S^2$, as they wish. Then the function internally converts to the desired value.
For example, input mycas.fix_spin_(s=2) and the function internally converts ss=s*(s+1), or
mycas.fix_spin_(ss=6), in that case s=(sqrt(4*ss+1)-1)/2.


feat: Expose project description in API response

This PR includes a project’s description in the /api/v1/projects API response.
I made an Alfred Workflow to list projects and thought it would be nice to have these—I imagine there are plenty of other reasons to have them as well! It also makes project responses slightly more consistent with servers, which already include their descriptions.
Before:
[
  {
    "id": 1,
    "uuid": "jooog48kokckw0g4sgwcgsow",
    "name": "My first project"
  },
  {
    "id": 2,
    "uuid": "fw0o8s4ocwcco8s44c8gkskw",
    "name": "A Second Project"
  }
]

After:
[
  {
    "id": 1,
    "uuid": "jooog48kokckw0g4sgwcgsow",
    "description": "This is a test project in development",
    "name": "My first project"
  },
  {
    "id": 2,
    "uuid": "fw0o8s4ocwcco8s44c8gkskw",
    "description": "This is my second project\u2019s description. I want it to show up in the API.",
    "name": "A Second Project"
  }
]

I also capitalized a few user-facing strings while I was in there for consistency! One beginning of a sentence, and the rest Uuid → UUID since it’s an acronym. (I can submit that separately if it was annoying or problematic to add here.)

Everything you did make sense, so thanks for the PR!


Suspend with Ctrl-Z

$ gore --version
gore 0.5.0 (rev: HEAD/go1.14.3)

$ uname -a
Linux fedora32 5.7.8-200.fc32.x86_64 #1 SMP Thu Jul 9 14:34:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Normally when I run any program from the terminal, I can suspend it with C-z. But it does not seem to work with gore. Is it possible to implement this?

gore depends on liner package, and it seems it is impossible for now https://github.com/peterh/liner/issues/131.


ci: release trigger

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[HOLD for payment 2024-09-23] [Search v2.3] - List scrolls back to the top after selecting saved search at the bottom of list

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.35-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:
Precondition:

There is a long list of saved search until the saved search list is scrollable.

Scroll the saved search list to the bottom.
Note that the Saved title is also scrolled and hidden.
Select a search from the bottom of the list.
Note that the list scrolls up and the selected search is hidden.

Expected Result:
In Step 4, the Saved title should remain on top when the list is scrolled down.
In Step 6, the list will not scroll up after selecting the search at the bottom of the list, or the selected search will move to the top.
Actual Result:
In Step 4, the Saved title is also scrolled and hidden.
In Step 6, the list scrolls up and the selected search is hidden.
Workaround:
Unknown
Platforms:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/b735f25e-a562-4cba-b558-682b0b7c26cf

View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @anmurali

@lakchote will address this as a follow up to his PR

@dominictb are you available to work on a fix?

@dominictb how's the PR coming along?

@lakchote PR is ready for review.

Thank you, I've assigned a C+ available for review.

Fix has been deployed to staging.
https://github.com/user-attachments/assets/b360b81f-bbfd-45b4-8607-32aa430deb01
Demoting from blocker.

Not overdue. Waiting for payment.

Bump for payment @anmurali

@dominictb - I need your Upwork profile
@luacmartins - Do we need to pay $250?

@luacmartins @dominictb bump on ^^

Yes, that's $250 for @dominictb and @rushatgabhane for writing the PR and reviewing, respectively

$250 approved for @rushatgabhane

Waiting on @dominictb

Waiting on payment

@dominictb could you please give us your Upwork profile in order to pay you?

bump @dominictb for your Upwork profile.

@dominictb - offer is here

Not overdue. Should we close this?

Seems like we're all set. Gonna close the issue, please reopen if needed.

Sorry, I thought that had been handled based on this comment. My bad 😅

friendly bump @anmurali ^

Paid. Sorry, I thought I already did that as well.


Error mounting state file due to size.

While using the kit to migrate we encountered the following error on several of our state files.
This was from running the apply on the manager-stack
│ Error: could not create stack mounted file: validation failed: file is too large, max size is 2MB
The state files we have failing to mount range anywhere from 1.2M to 7.4M.
I attempted to mount them in the UI and that also failed, which leads me to believe this is an api constraint with mounted files and not one specific to the migration kit.
In any case, 2MB seems like a very tight constraint considering the potential size of a terraform state file. Can that limit be bumped? Can the migration kit use another method?

Thanks for reporting this. We will look into it.

@roccato Thanks for your patience.
This limitation will be removed in an upcoming release, but until then, we documented the workaround: https://github.com/spacelift-io/spacelift-migration-kit#state-files-bigger-than-2mb.
Hope it helps.


Consider setting Pound Averaging feature for Position Sizer in both MT4 & MT5 versions?

Hi. Great work as always... I hv been a huge fan and user of Position Size Calculator since few years ago with the one using PSC Script to quickly put in a trade. This new Position Sizer is amazing. Kudos to the Team in its further development.
I have a suggestion... One which I believe if can be implemented will be a game changer for Position Sizer EA. I have been trading lately using the Pound Averaging Strategy used by big boys taught by my mentor. What this does is to open multiple PO POS (position) at various prices but all with the same SL. So, e.g. if I decided to execute a netting strategy with 5 Sell Limit POS because price is playing out based on my strategy parameters. The very 1st POS I set either an instant or Sell Stop to trigger the 1st order for me to be in play. As I believe there would be a retrace before moving forward to my intended analysis, I will then set Sell Limit orders. So, the next 5 Sell Limit POs I would like to input POS 1 at 1.0000, POS 2 at 1.0010, POS 3 at 1.0020, POS 4 at 1.0030 and POS 5 at 1.0040 with all these 5 Pending Orders are with the same SL value. However, with the TP I would like to have options to have all TP value of each POS the same price value (OR)..., manually/by pulling the line on the chart to set each POS differently. Meaning e.g. POS 1 the TP set at 0.9980, POS 2 the TP set at 0.9980, POS 3 the TP set at 0.9960, POS 4 the TP set at 0.9940 and POS 5 the TP set at 0.9940
Pound averaging strategy ensures that I have a better price when price goes against initially but still keeping the same SL value of each POS. So, on the last POS essentially I'm risking a smaller SL amt but when price goes in favour, my 5th, 4th and 3rd POS will start amassing more pips and better returns than the 2nd and 1st POS. If for whatever reasons price stalls and doesn't go beyond my 1st POS I can close all the POS' with still a sizeable +ve TP amount. This is in itself controlling my risk management with a smarter approach. But if price does go in my favour puncturing through POS 1 then I'm in good profit for all 6 POS' and just wait till price hits the already set individual TP values for each of the 5 POS'.
So..., that's what I see can be a wonderful feature if the Pound Averaging feature can be coded into Position Sizer EA. I'm not sure if it could be done (as I'm a noob in coding, and thus I leave it to you to see if it can be done?) but if it can..., this definitely is a game changer in my eyes as I've learnt this from my mentor and it's a wonderful strategy that has shown superb results. We're all trading using this strategy to maximise profits when it works out and if it doesn't by going against, we're still able to manage our funds at the end, coming out with +ve returns.
I hope you see the value in such a feature and if this could be done and added into Position Sizer EA in the next update I am sure it will be a biggie for everyone to enjoy :)  Anyway, you're the expert and let me know how this goes... Can it be done and is it useful... Cheers

I'm not sure it's good idea to try to implement something like this into the Position Sizer.


Highlight filter is interfering with white balance filter

when I apply highlight filter and white balance filter they cancel each other, any help please?

Please paste your rule string


docs: theme switcher in the storybook

We want to implement here the same functionality we have in monday-ui-react-core storybook - theme switching
https://github.com/mondaycom/monday-ui-react-core
https://style.monday.com/?path=/story/welcome--page

There we are using storybook 6 and we are using storybook-addon-themes for this - it just adds a classname somewhere to the body level and our components tokens know how to adapt to it + it also sets the background color for the whole page.

Here we are using storybook 7 and this addon is not supporting it, so we need to find some other solution for it
UPD: new theme-switcher addon was released https://storybook.js.org/blog/introducing-theme-switcher-addon

I would like to take this please

Thanks, @pedaars! It's yours
Good luck with that!
Feel free to ask any questions if needed :)

@SergeyRoyt Well that was interesting I think I have it working using a new addon released for v7 of storybook but I need a component story that is available in both this storybook and https://style.monday.com/?path=/story/welcome--page so I can compare.
Is anyone working on any?

@SergeyRoyt Well that was interesting I think I have it working using a new addon released for v7 of storybook but I need a component story that is available in both this storybook and https://style.monday.com/?path=/story/welcome--page so I can compare.
Is anyone working on any?

Hey @pedaars !
Let's try to compare e.g. Tip component from vibe-storybook-components and AttentionBox from monday-ui-react-core - https://style.monday.com/?path=/story/feedback-attentionbox--states. It's not 100% exactly the same component, but in terms of colors should behave the same
Here is how it should look e.g. in a Dark theme

For test I've applied dark-app-theme in vibe-storybook-components storybook to the outer div, here is what I've achieved

Colors doesn't look too good, but good news they've changed - so you should get smth similar if the theme-switcher is working fine

Thanks for that. Ok so my solution is working and I have raised a pr

Closed thanks to @pedaars!


Random blue screen appears when you connect via remoetapp

Describe the bug
Random blue screen appears when you connect via remoteapp.
To Reproduce
Steps to reproduce the behavior:
Launch remoteapp
See image:

Expected behavior
Show remoteapp properly
Application details
This is FreeRDP version 3.0.0-dev (d31a98336)
/u:test /app:"||native_users_manage" /title:"Test" /d:test.test /smartcard /p:"test" /v:localhost:3389 /size:100% /log-level:TRACE /cert-ignore
Output of xfreerdp /buildconfig
This is FreeRDP version 3.0.0-dev (d31a98336)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=OFF WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=OFF WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PCSC=ON WITH_PROFILER=OFF WITH_PULSE=OFF WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=OFF WITH_THIRD_PARTY=OFF WITH_VAAPI=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=OFF WITH_ZLIB=ON
Build type: Debug
CFLAGS: -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -DWINPR_DLL
Compiler: GNU, 8.3.0
Target architecture: x64
OS version connecting to (server side)
Windows Server 2008 R2
Environment (please complete the following information):
OS: Debian
Version/Distribution: 10 with XFCE
Architecture: amd64

@FutureKidBuu that is not our doing, but is requested from the server.
You might complain about not redrawing the dialog (or whatever that is) in the middle but that is more a duplicate of #6015 (drawing issues)


How to catch fatal disconnect?

It's a little bit strange, but I do not catch anything from BLE if I disconnect it hardly. For example, if I switch the device off. Or if I turn off Bluetooth on my phone. I do catch everything if I disconnect from phone "properly".
So for example, if I connect the phone to the device and then reset the device - nothing will happen until I'll try to send something.

Another simple case: connect to ble, and then just switch Bluetooth off.

It looks like I don't set timeout. Is it possible?

It looks like I don't set timeout. Is it possible?
I'm not sure what you mean here. Only you can know if you set timeout or not. Also, it's unclear to me what you're talking about when you ask if it is possible.

Fixed formatting of my comment above.
Is there a reason why you closed it without telling why?

Sorry, I was a little bit busy. To be honest, I don't even remember exactly the point of this issue, I'm not working with the library and the project anymore, so I'm not sure did I solve it by myself or not. Sorry again!


Background scrolls when trying to scroll popup content

Hi, great plugin! I am having an issue though and was wondering if you could help. What is happening is when a popup is open the background content scrolls when trying to scroll the popup content. Ideally the background would remain still and the popup content would be scrollable. I have tried quite a few approaches but nothing seems to work. This is the last one I have tried:
callbacks: {
open: function() {
document.body.style.overflow = "hidden";
},
close: function() {
document.body.style.overflow = "visible";
}
}
The background remains still but so does the popup content.. Any idea of how I could achieve this?
Thank you very much

Hello,
did you found any solution for that ?


Removed context property desc column of TeamsJS v1 to v2 mapping table

Column wasn't needed for purpose of understanding v1 to v2 context property mappings and was out of sync with API descriptions in code/reference docs.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/access-teams-context.md
94
14
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/access-teams-context.md
94
14
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/access-teams-context.md
95
13
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


UI language

I am asking this for my friend.
Is the UI language Chinese only? If not, how to change the UI language?

Yes. Chinese only.
You can use the web application while translating using the browser's translation function.
I used Chrome to translate it into Japanese.


0.18 doesn't properly set the server name

Describe the bug
With the 0.18 update, it seems like the server name is no longer set correctly. For example, my server name is Frag End, but in the game's server browser, it now shows up as "Frag. This only started happening with today's update.
To Reproduce
Steps to reproduce the behavior:

Update to 0.18
Set the server name to something with multiple words
Go into the in-game server list and browse by Recent.
Notice that the server name begins with opening double quotes and is truncated.

Expected behavior
Server name is properly set
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS: [e.g. Windows 10, Ubuntu, Debian]: Arch Linux

docker-compose.yml contents
services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest
      restart: always
      container_name: palworld-server
      ports:
        - 8211:8211/udp
        - 27015:27015/udp
      environment:
         - PUID=1000
         - PGID=1000
         - PORT=8211 # Optional but recommended
         - PLAYERS=16 # Optional but recommended
         - MULTITHREADING=true
         - RCON_ENABLED=true
         - RCON_PORT=25575
         - ADMIN_PASSWORD="redacted"
         - COMMUNITY=false  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         # Enable the environment variables below if you have COMMUNITY=true
         - SERVER_PASSWORD="redacted"
         - SERVER_NAME="Frag End"
      volumes:
         - ./palworld:/palworld/

Container/Host Logs
Additional context
Add any other context about the problem here.

@urbenlegend I'll check it later tonight, thanks for the report

As a troubleshooting step, what happens when you remove the quotes from the ENV var?

SERVER_NAME=Frag End

and does the SERVER_DESCRIPTION honor spaces?

Having a similar issue, tried changing the server name to a different one.
Original Server name: "Test Server"
What it shows in Game: "Test
Tried to change it to different ones but it hasn't changed. Did not have a server description when I launched the server and I added one later but it hasn't added anything.

@urbenlegend I can 100% recreate this error, and found a possible fix, will open a PR and release fix later tonight.
Sorry for the inconvenience caused.

@thijsvanloef Thanks for the quick debug and fix!