use deglob to reconcile file list

Hello!
I extracted a new package, deglob, from the existing code in standard. Its goal is to take a list of glob patterns and return an array of file locations, while respecting .gitignore and allowing for ignore patterns via package.json.
I wanted to use the same ignore/gitignore behavior in standard-format and I also thought this behavior would be useful for other CLI tools.
To ensure no bottleneck, I have added all collaborators of standard to deglob (and gave them publish access in npm).
Feedback on deglob itself is welcome! :)

Comments are inline. Otherwise looks great~

Thanks! I've address the inline comments. Are the deglob options more clear now?

Looks good! Released as 4.5.4.
(Tests were failing because eslint got stricter and started catching more no-redeclare cases. Hopefully the packages in our tests will fix their code as they start to update standard)

:sparkles: :sparkles: woo :)
Yeah I noticed those failures as well... At least they failed the same way before/after :)


Unable to reproduce your result

I have used the following config to pre-train a model.
https://github.com/CVMI-Lab/ST3D/blob/73dda8c131b960f6970ffd49d44d0f15f6f60f00/tools/cfgs/da-waymo-kitti_models/secondiou/secondiou_old_anchor_sn.yaml
The best evaluation results of the pre-trained model on WOD (23th epoch) were as follows:
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/AP: 0.4767
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/APH: 0.4701
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/AP: 0.4155
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/APH: 0.4096
Then, I have used the following config to self-train the model.
https://github.com/CVMI-Lab/ST3D/blob/73dda8c131b960f6970ffd49d44d0f15f6f60f00/tools/cfgs/da-waymo-kitti_models/secondiou_st3d/secondiou_st3d.yaml
The best evaluation results of the self-trained model on KITTI (11th epoch) were as follows:
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:88.8405, 84.5192, 84.6117
bev  AP:87.7364, 78.1648, 77.4027
3d   AP:68.8041, 60.3439, 59.5532
aos  AP:88.73, 84.20, 84.05
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:93.6732, 85.0615, 84.7418
bev  AP:90.1386, 81.8106, 81.0929
3d   AP:68.9595, 59.3669, 57.4259
aos  AP:93.54, 84.74, 84.18
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.8405, 84.5192, 84.6117
bev  AP:95.3801, 88.1350, 87.7074
3d   AP:95.2582, 87.8998, 87.4439
aos  AP:88.73, 84.20, 84.05
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:93.6732, 85.0615, 84.7418
bev  AP:97.4356, 92.7666, 90.8911
3d   AP:97.2213, 90.8523, 90.5397
aos  AP:93.54, 84.74, 84.18

Hello, other researcher have reproduced this work with the release code (see #5). Notice that you are supposed to use kitti metric to evaluate models in the pretraining stage. Also, other factors like batch size per gpu are matters for the final results.


Cell ... actions should always be available on right click

Testing #103887
Right clicking a notebook cell does nothing. Can we just have the ... actions appear in the context menu for a cell? I feel my wrist in pain every time I have to go hunt for that ... box inside the invisible action box on the right.

@rebornix how about using our cool new submenus to add a "Notebook" submenu inside the editor in this case? Since merging the notebook and editor context menus would probably be too long. And right clicking outside the editor can give a flat context menu

@roblourens sounds good to me.


ios got -[NSTaggedPointerString stringValue]: unrecognized selector sent to instance 0x8b216251c40245f7

Hi, I use this plugin and it show -[NSTaggedPointerString stringValue]: unrecognized selector sent to instance 0x8b216251c40245f7 error when I sent data to TCP/IP
any idea hot to fix it?

Have same problem, any resolution?


iloc fails with ValueError: cannot reindex from a duplicate axis

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.14.2
Modin installed from (source or binary): source
Modin version: 0.4
Python version: 3.6.7
Exact command to reproduce:

Describe the problem
When there are duplicate index modin.dataframe.iloc fails with ValueError: cannot reindex from a duplicate axis while pandas works
Source code / logs
# works
import pandas as pd

samples = pd.DataFrame({'A': [1, 2, 3], 'B': [3, 4, 5]}, index=[0, 0, 1])
samples.iloc[0]

#does not work
import modin.pandas as pd

samples = pd.DataFrame({'A': [1, 2, 3], 'B': [3, 4, 5]}, index=[0, 0, 1])
samples.iloc[0]

Thanks @eavidan, great find!
The Indexing methods (loc/iloc) need to be updated a bit. They work, but they can be slow in some situations, and given the new additions we have been working on we should make sure that this isn't killing performance.
Since the whole module needs updating, I will take this as my next big undertaking after #522 is merged.


[BUG] [VSCode Extension] VectorDB Index Lookup doesn't take the config.json variables into consideration

Describe the bug
Vector DB index configuration is not taking into account the config.json values, you need to setup the subscription ID, AML resource name and resource group through az cli.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

Create an empty flow or a flow from a template
Configure the config.json file with the subscription id, workspace name and resource group name
Do pip install promptflow-vectordb
Add the Index Lookup activity to the canvas
Try to change the values of the mlindex_content field and you will get:

Screenshots

On the VSCode primary side bar > the Prompt flow pane > quick access section. Find the "install dependencies" action. Please it and attach the screenshots there.

Please provide other snapshots about the key steps to repro the issue.

Environment Information

Promptflow Package Version using pf -v: 1.9.0
Operating System: Windows 11
Python Version using python --version: 3.11.0
VS Code version: 1.88.1
Prompt Flow extension version: 1.16.1
Error: "Error when calling function promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping: tool_ui_callback. .wrapped() missing 3 required positional arguments: 'subscription_id', 'resource_group_name', and 'workspace_name". Please contact the tool author/support team for troubleshooting assistance."

Additional context
N/A

Adding the variables through cli manually works:
az login
az account set --subscription <subscription_id>
az configure --defaults group=<resource_group_name> workspace=<workspace_name>

However, after I do this, I get another error with the azure default credential which is not specified:

Hi @dans-msft , @Adarsh-Ramanathan , could you help to take a look? Thanks!

@pgr-lopes, for this error: However, after I do this, I get another error with the azure default credential which is not specified:, can you share the error message and a stack trace?
@D-W-, the issue in the main thread isn't an Index Lookup issue; it is that subscriptions/resourcegroups/workspaces configured in config.json are not taken into account by the runtime when invoking a dynamic list callback.
Assigning to @DaweiCai to take a look.

Sorry Adarsh, I missed this. The credential ended up being a problem with my system and the way the azcli communicates with the AD, it's not related to promptflow.


Model: H606A

Good morning.
Could you tell me if this model is compatible with your add-on.
Model H606A ?
Thanks.

??


Create CPI integration package for proUBC on-prem

Shuttle as a cloud based SaaS uses REST APIs to retrieve information about message schemas used in the SAP HANA system. As many SAP systems are on-premise, use of the SAP Cloud Connector & CPI/BTP integration suite is preferred for providing cloud-to-onprem connectivity.
Create an integration package that can be generically deployed to CPI Neo & CF that connects exposes the specific REST endpoints to be used by Shuttle. An openAPI definition of the proUBC REST APIs can be provided to enable this.

Alternately - pgrok could be used for this well. Would need to confirm with individual SAP users how that will conform to their enterprise architecture

We won't need CPI for this. Destination reuse within cloud foundry environment will be sufficient.


#history redirect does not work with pushstate

I'm creating a little login/registration form.
When using pushPath action creator it does in fact update the URL but react-router does not respond to  the url change.
Any idea how or why this happens?
https://github.com/JensDebergh/toggle-client/blob/j-toker-login/app/action-creators/user.js
I'm using hashtag history API.
Thanks

You don't pass history to your <Router> in https://github.com/JensDebergh/toggle-client/blob/j-toker-login/app/routes.js. See https://github.com/rackt/react-router/blob/latest/docs/guides/basics/Histories.md

Thanks for the quick answer !
My mistake :+1:


feat: vertical oriented button group

Description
This commit added a new prop(orientation) to the current OuiButtonGroup, the possible values are horizontal and vertical. The default value is horizontal which match the current UI behavior. With vertical prop, the button group will be oriented vertically.
Example:

Please NOTE:
vertical orientation doesn't work with button size compressed as compressed button group has a fixed height.
@KrooshalUX Could you team provide some advices from UX perspective?
Issues Resolved
#659
Check List

[x] New functionality includes testing.
[x] New functionality has been documented.
[x] All tests pass

[x] yarn lint
[x] yarn test-unit

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ruanyl great question re: compressed. I'm not entirely familiar with the implementation details so apologies if this is a bit naïve -  Is there an approach where we can expand compressed beyond just a boolean? So if orientation = vertical and compressed = true then fixed width and if orientation = horizontal and compressed = true then fixed height ?
I'm wondering if the way this was structured is why some of the other components have orientation split into different components all together.

@KrooshalUX

So if orientation = vertical and compressed = true then fixed width and if orientation = horizontal and compressed = true then fixed height

Technically it is doable, but if orientation = vertical with fixed width could potentially problematic as the button text might overflow.

I'm wondering if the way this was structured is  why some of the other components have orientation split into different components all together.

Do you have an example of this?

@ruanyl @KrooshalUX Is this a requirement for any 2.10 features?

@joshuarrrr No, this is just an improvement

@KrooshalUX This is not a blocker.

@ruanyl oh, no , to clarify - understood its not a blocker for 2.10, but where are we blocked on finishing the issue? I am not sure if there is any outstanding decisions / need from UX ?

I'm going to mark this as a draft for now, but @ruanyl feel free to take it out of draft status when you're able to make the updates.

@virajsanghvi @AMoo-Miki @ashwin-pc Finally get the PR updated, could you take another look please?

Can you add a changelog entry?
Curious, where would this be used in OSD? Is this part of any designs?

Can you add a changelog entry?
Curious, where would this be used in OSD? Is this part of any designs?

Sure, I will update the changelog.
This change was originally introduced for maps plugin, it currently uses two buttons vertically aligned, but would be better to use a button group.

@virajsanghvi PR updated, could you take another look please?


min cost flow loop forever

When i used the minimum cost flow solver to solve the assignment problem, it didn't return with a few cases. Has anyone met the same problem?

+1 The min cost flow has always returned for me but it may take awhile like 10 minutes long or so. At first, I thought it just did not return.
Following on this bug, if this is the intended behavior for more difficult graphs, is it possible to input a max time such that ortools returns null values if it is unable to finish in a set amount of time.

@jason5fd
If it loops forever for you, reading their docs it says:

// IMPORTANT:
// The algorithm is not able to detect the infeasibility of a problem (i.e.,
// when a bottleneck in the network prohibits sending all the supplies.)
// Worse, it could in some cases loop forever. This is why feasibility checking
// is enabled by default (FLAGS_min_cost_flow_check_feasibility=true.)
// Feasibility checking is implemented using a max-flow, which has a much lower
// complexity. The impact on performance is negligible, while the risk of being
// caught in an endless loop is removed. Note that using the feasibility checker
// roughly doubles the memory consumption.

More discussion here: https://developers.google.com/optimization/reference/graph/min_cost_flow/


Submit to ZenDesk Marketplace so this app can be used as a public app and not a private one

Since this is not in the Marketplace, the cheapest plan you can use this is the $59/pp/per month plan, if it were submitted it could be used on the $25/pp/per month plan which would certainly reach a lot more customers.
https://www.zendesk.com/apps/directory/?utm_medium=zendesk_support&utm_source=marketplace_directory_link

Seems like a duplicate of #40 and #27


Web - Fix unknown property error

Fix this eslint errors.

I'll close this issue after this PR is merged.


A failing render method

class Foo
  include React::Component
  def render
      div
  end
end

will raise error

This issue was moved to reactrb/reactrb#3


HTTP 403 when createing zone resource with sepcific plan

Terraform Version
Terraform v0.12.29

provider.cloudflare v2.11.0

Affected Resource(s)

cloudflare_zone

Terraform Configuration Files
resource "cloudflare_zone" "qa" {
  zone = var.cloudflare_zone_name
  plan = "free"
}

Debug Output
https://gist.github.com/ep4sh/b2c528997ea771920f0da735c23cb2ca
Panic Output
https://gist.github.com/ep4sh/b2c528997ea771920f0da735c23cb2ca
Expected Behavior
Zone resource is created with specific plan
Actual Behavior
HTTP 403
Steps to Reproduce

terraform apply

Can you please run the command again with TF_LOG=DEBUG and paste the output here (redacting any sensitive information)?

Hi @jacobbednarz
Sure, it's here:
https://gist.github.com/ep4sh/e4d1be2583403e174737d523cece3635
Let me know if I can help with something

Using the following test case, I'm unable to reproduce the issue you've raised.
variable "cloudflare_email" {}
variable "cloudflare_api_key" {}
variable "cloudflare_zone_id" {}
variable "cloudflare_account_id" {}
variable "cloudflare_zone" {}

provider "cloudflare" {
  email      = var.cloudflare_email
  api_key    = var.cloudflare_api_key
  account_id = var.cloudflare_account_id
}

resource "cloudflare_zone" "example" {
  zone = "gh-815.${var.cloudflare_zone}"
  plan = "free"
}

I see you're using API tokens. Do you have the permissions correctly setup? Do you have the same issues when using an API key?

Closing due to lack of information. If you're still experiencing issues, please see https://github.com/cloudflare/terraform-provider-cloudflare/issues/815#issuecomment-713174141 for the outstanding questions to continue this issue investigation.

Same error described, using a token on cloudflare provider.
First iteration error and zone resource ends as "tinted"
Second iteration tries to delete and create the zone with error too.

@agomezvidalee Could you please provide a minimal .tf config file and how your API Token you use is configured?


Importing OEM data message with long trajectory crashes due to unbounded memory usage of Regex

Describe the bug
When importing an OEM file in KVN format with a size of 450 MB which contains about 7 years of trajectory data the regex match statement in _from_kvm_oem() immediately hogs > 16GB RAM and gets killed. Maybe a transition to a slower, but more stable state machine processing line by line as in https://gitlab.com/jorispio/ccsds2czml. Although the parsing algorithm there is also behaving poorly with multiple segments.
I've tried to use google/re2 python wrappers for a more efficient processing of the file, but still fails.
I'll take a look on rewriting the parser.
Edit: only the match() call seems to create issues, find_all() and running the match for the header section separately works fine.

Hi @noc0lour, thanks for reporting this issue. I think I potentially have a fix for this (see the linked pull request). I'm going to try to reproduce the error on my end with some test cases, but could you also check to see if the changes address your problem?

I just tried from master branch and it works like a charm, I still need ~8GB of RAM to read everything in, but that's fine for reading almost 10 years of trajectory in.


authservice fails to exchange authorization code for access token with keycloak

We are trying to setup an oidc provider for authZ and authN with istio in our k8s cluster. We followed this example here: Bookinfo with Authservice Example for the integration.
Below are the details on the setup:
OIDC provider: Keycloak
Grant type: authorization_code
Istio version: 1.5
Authentication flow:

On first request, since there is no authentication, authservice successfully redirects to Keycloak, where we're able to login successfully.
Keycloak then redirects the request to the application on the redirect_uri. The authorization code is present in this uri now.
The redirect_uri is intercepted by the authservice again and it detects the url to be the filter url for oidc as defined in the configmap
Now it tries to call keycloak for exchanging the authorization code for the access token.

This is the step where authservice fails and gives the error IdP connection error. The log for the request is as follows:
Check: processing request ://microservice.url.com/appservice/oauth/callback?state=LeCNEqfwA6EUFGNGLt7JALx8jCWkPxjn7qCELbqkKrk&session_state=18f0e3b0-bee2-44a5-b049-6e349dbeda49&code=ddea1ea6-5616-416d-8291-c00bce6f2e9b.18f0e3b0-bee2-44a5-b049-6e349dbeda49.af7e7c31-fd4b-4a66-9856-25d1ac305d3f with filter chain idp_filter_chain
20/03/2020 17:27:48 [2020-03-20 11:57:48.546] [console] [trace] New
20/03/2020 17:27:48 [2020-03-20 11:57:48.547] [console] [trace] OidcFilter
20/03/2020 17:27:48 [2020-03-20 11:57:48.548] [console] [trace] Process
20/03/2020 17:27:48 [2020-03-20 11:57:48.548] [console] [debug] Call from @<IP_ADDRESS> to @<IP_ADDRESS>
20/03/2020 17:27:48 [2020-03-20 11:57:48.549] [console] [trace] MatchesCallbackRequest: checking handler for ://microservice.url.com/appservice/oauth/callback?state=LeCNEqfwA6EUFGNGLt7JALx8jCWkPxjn7qCELbqkKrk&session_state=18f0e3b0-bee2-44a5-b049-6e349dbeda49&code=ddea1ea6-5616-416d-8291-c00bce6f2e9b.18f0e3b0-bee2-44a5-b049-6e349dbeda49.af7e7c31-fd4b-4a66-9856-25d1ac305d3f
20/03/2020 17:27:48 [2020-03-20 11:57:48.549] [console] [trace] RetrieveToken
20/03/2020 17:27:48 [2020-03-20 11:57:48.550] [console] [trace] Post
20/03/2020 17:27:48 [2020-03-20 11:57:48.618] [console] [info] Post: HTTP error encountered: stream truncated
20/03/2020 17:27:48 [2020-03-20 11:57:48.618] [console] [info] RetrieveToken: HTTP error encountered: IdP connection error
20/03/2020 17:27:48 [2020-03-20 11:57:48.618] [console] [trace] Request processing complete
20/03/2020 17:27:48 [2020-03-20 11:57:48.619] [console] [trace] Processing completion and deleting state

On further checking the code, I found this error is triggered from here: Authservice oidc filter - Github
To rule out the issues with the configuration, I used OpenID Debugger to manually generate an authorization code and then called the api to exchange it for an api token. I was able to successfully retrieve it, there was no issue with that. But somehow it is failing with authservice.
Could there be something wrong on my end? Has anyone experienced this issue before? Any help appreciated. Let me know if any more details are needed.

Hi @snkshukla,
Thanks so much for your very detailed issue and your investigation.
Your log indicates that the request was successful right up until the end, when the Authservice tried to gracefully shutdown the TLS connection, and the server on the other side did not participate fully in the graceful shutdown. It sounds like the same problem as described in this issue: https://github.com/boostorg/beast/issues/824
We ran into a similar situation when we were implementing the trusted_certificate_authority configuration option. As a result, when that option is set the Authservice will always ignore boost::asio::ssl::error::stream_truncated errors during stream shutdown.
A possible fix for your issue might be for Authservice to always ignore the specific error boost::asio::ssl::error::stream_truncated during stream shutdown (both when trusted_certificate_authority is set and when it is not set). We pushed this implementation of this potential fix to a branch called issue79_always_ignore_stream_truncated.
Would you mind helping us to confirm that such a fix would solve your issue? To build the Authservice on that branch:

git clone git@github.com:istio-ecosystem/authservice.git
git checkout issue79_always_ignore_stream_truncated
make docker-from-scratch
docker tag <image_id_which_was_just_built> <your_image_repository>/<image_name>:<tag_name>
docker push <your_image_repository>/<image_name>:<tag_name>
Redeploy the authservice container on your k8s cluster and try again.

Best,
Ryan and Andrew (@Changdrew)

Hi @cfryanr, thank you so much for your quick reply. As you suggested, I deployed the image created from branch issue79_always_ignore_stream_truncated and it has fixed the issue for me. I was able to successfully authenticate my application.


Add WaitingForRelease feature flag

As of right now, when we are adding new tests to the repo we can't really release a new version of the certsuite until everything has been merged in.  This will allow us to set tests as disabled and they won't affect existing release version of the certsuite.
Changes:

Adds a WaitingForRelease tag similar to TagCommon, TagTelco, etc.
v1.6 tests that have been newly added have had WaitingFoRelease added to them.  This removes their entries from the CATALOG.md temporarily until we are ready to fully release them to partners.

To keep the tests enabled in our CI's we are setting an environment variable REDHAT_CI which will always set the test cases to enabled regardless of `waiting-for-release" tag.

This is probably going to fail DCI until they add the environment variable.  Right now I have it set as REDHAT_CI but I could be persuaded to use another variable or way to differentiate how to add the checks into the group that are waiting for release.

Just my two cents here: if a test case made it (after the review+approval process) to the main branch, it is then supposed to be fully functional and, at least, it should have been manually tested, so appearing in the catalog as a new official test case in the next release cut seems 100% legit to me in that case. Why should we hide them and wait for some X.Y.Z release to announce all of them at once?
In case we want/need to go with half-baked test cases, why not just flag them with some extra label like that "waiting-for-release" or similar ("release-pending", "not-released", "in-progress"...)? It should be sufficient to state in our official documentation that the results of those test cases, whether they pass or fail, should not be considered official, as they are not officially released/supported yet. Just removing that label when they're 100% ready or before the release cut should work. Adding extra env vars shouldn't be necessary.

That's fair.  There's nothing "wrong" with just releasing what we currently have merged into main other than just keeping it more organized for users.  I agree the environment variable makes it ugly.  I'll mark this as closed and we can discuss it more in the future if needed.
In the meantime, I think I will just release 5.4.x with the currently merged test cases.  That's how we've been doing it in the past if there are any new test cases by just bumping the minor version. (major.minor.patch).


Error after installing sg.nvim: uv_close: Assertion `!uv__is_closing(handle)' failed.

Since installing sg.nvim, I've had an error when using the command :wq - this is not consistent and does not happen every time the command is used.
This only happens if the file has changed, :wq is saving new data to the file, and :wq is closing the current Neovim instance - and even then does not happen all the time.

EDIT: This doesn't seem to be the case. Even if not saving new data, this error can happen.

Happens randomly with all filetypes.
Full error:
"filename.txt" 22L, 793B writtennvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.

Neovim still exits and sometimes the new data being saved is lost.
This bug never happens when using :w and :q separately.
I wouldn't mind just doing that but my :wq muscle memory is too strong.
Since the bug is hard to reproduce and happens at random, it's been very hard to troubleshoot. But this only started happening after installing sg.nvim.
I'm running the nightly build of Neovim.
System is running Ubuntu Server 24.04.3 LTS, x86_64 architecture.
I will provide any additional information you need from me to troubleshoot.

Do you currently have Cody set up? Are you getting auto completions for cody via nvim-cmp?

Do you currently have Cody set up? Are you getting auto completions for cody via nvim-cmp?

I do have Cody set up.
As for auto-completions I'm assuming you mean Cody integration with nvim-cmp, which I do not have set up. I have the basic Cody Ex commands and that's it.

After updating with PackerSync last week, the issue seems to be resolved.
I waited to see if it popped up again before closing this issue, but all seems to be working properly now.

Sorry to reopen, this issue popped up again after updating Neovim a few days ago.
I ran :PackerSync to check for updates from sg.nvim and there were none.
So it seems nothing has changed except updating Neovim (nightly).
I logged a few of the errors I got along with the commands I used to close Neovim.
Sat Dec  9 10:21:35 EST 2023
nvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.
Command: :qa!

Sat Dec  9 10:23:56 EST 2023
nvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.
Command: :q

Sat Dec  9 12:09:38 EST 2023
"/tmp/bash-fc.zckIlD" 2L, 37B writtennvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.
Command: :wq

Sun Dec 10 12:53:14 EST 2023
"main.c" 68L, 1908B writtennvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.
Command: :wq

Mon Dec 11 (14:48:02 - 15:08:09) EST 2023
"keybind_cheatsheet.md" 360L, 13828B writtennvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.
Command: :wq

nvim: ./.deps/build/src/libuv/src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle)' failed.
Commands: :q :q! :wq :wq! :wqa :qa! :wqa!

I was able to replicate the error several times today on primarily markdown files and C files.
The different states of the file (changed and not written, changed and written, etc) don't seem to be playing a role in what causes the error.
The error seems to happen more when closing files where I've made smaller edits compared to files in which I've made larger edits.
I uninstalled sg.nvim just to be doubly sure that this is what is causing the error, and it stopped after uninstalling.

What does :checkhealth sg show you? I'm wondering if it's something weird with a process not closing all the way before nvim is done. I could possibly try to make sure all of them are shut down before leaving with VimLeavePre or similar if that's the case.

What does :checkhealth sg show you? I'm wondering if it's something weird with a process not closing all the way before nvim is done. I could possibly try to make sure all of them are shut down before leaving with VimLeavePre or similar if that's the case.

Says everything is fine. About a week and a half ago I stopped getting the error again. I've only gotten it one time since then, like 3 or 4 days ago (though the same thing happened when I closed this issue the first time, and it came back).
I've set it up for autocompletions since I last posted here.
:checkhealth sg:

==============================================================================
sg: require("sg.health").check()

sg.nvim report ~
- Machine: x86_64, sysname: Linux
- OK Valid nvim version: 0.10.0-dev
- OK Found `cargo` (cargo 1.73.0 (9c4383fb5 2023-08-26)) is executable
-     Use `:SourcegraphDownloadBinaries` to avoid building locally.
- OK Found `sg-nvim-agent`: "/home/kolkhis/.local/share/nvim/site/pack/packer/start/sg.nvim/dist/sg-nvim-agent"
- OK Found `node` (config.node_executable) is executable.
      Version: '20.8.1'
- OK Found `cody-agent`: /home/kolkhis/.local/share/nvim/site/pack/packer/start/sg.nvim/dist/cody-agent.js
- OK   Authentication setup correctly
- OK     endpoint set to: https://sourcegraph.com
- OK Found correct binary versions: "1.0.5" = "1.0.5"
- OK   Sourcegraph Connection info: {
    access_token_set = true,
    endpoint = "https://sourcegraph.com",
    sg_nvim_version = "1.0.5",
    sourcegraph_version = {
      build = "256701_2024-01-05_5.2-2345ed8fc324",
      product = "256701_2024-01-05_5.2-2345ed8fc324"
    }
  }
- To manage your Cody Account, navigate to: https://sourcegraph.com/cody/manage
- OK Cody Account Information: {
 [Redacted cuz I doubt it's needed]
  }
- OK sg.nvim is ready to run

Hmm, ok I'm going to close for now. If you can consistently reproduce again let me know. I'm going to work a bit more on some of the process cleanup anyway at some point, so that may resolve any lingering issues.


Change IP mapping in logstash from IPv4 to IP

[ ] Change mapping in logstash
[ ] Change send format in applications

Changed in branch output-to-kafka
send format changed in ddos detection applications
mapping template changed, e.g.: dst_ipv4  => dst_ip
added dns_ip as type ip

Merged in #49


Adding Travis CI based continuos tests

First attempt at closing Add Travis CI based continuous tests

I have checked the following requirements before making this PR.

[x] The script is marked as executable (chmod +x).
[x] I have added/updated the README entry for the script (if applicable).
[x] I have mentioned any dependencies and OS requirements for the script in the README.

Wow, just noticed that this PR includes the README check also. Amazing work, @missingcharacter. Thank you for this PR.


Change pytest description from configuration menu

This is what is displayed currently:

We should change pytest description to "pytest framework"

The description has not changed.  It should have been changed to "pytest framework".

Are you checking the description in Python: Configure Tests ? Appears to have changed for me.


AAD SSO SAML setup not visible without changing app registration

When configuring AAD SSO for the SAML toolkit after adding it from the gallery, the Basic SAML Configuration is not visible in the enterprise application.
The platform configuration needs to be deleted on the corresponding app registration first in order for the SSO settings to be visible on the enterprise appliction. The statement there about not having enough permissions is misleading (even as Global Administrator, the SSO settings will still not show).
It would make sense to update the tutorial in the documentation.

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

ID: 0800632e-a9b3-5f96-f290-207c7ef6be88
Version Independent ID: eaa3c7a0-76d5-433f-9ac3-bc72638c0ff3
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with Azure AD SAML Toolkit
Content Source: articles/active-directory/saas-apps/saml-toolkit-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

Updating the document.
#please-close


JavaScript heap out of memory

i'm getting this error when trying to convert a PSD file to PNG on windows 10
FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory 1: node::DecodeWrite
 2: node_module_register
 3: v8::internal::FatalProcessOutOfMemory
 4: v8::internal::FatalProcessOutOfMemory
 5: v8::internal::Heap::CreateFillerObjectAt
 6: v8::internal::Factory::NewUninitializedFixedArray
 7: v8::internal::WasmDebugInfo::SetupForTesting
 8: v8::internal::interpreter::BytecodeArrayRandomIterator::UpdateOffsetFromIndex
 9: 0000007DB5F843C1

Hey @artmasterinc
Can you please provide some more info on the PSD you are using or maybe post the code you are using ?

I had the same error. The problem is that current implementation uses generic JS array that are very inefficeint for large binary data. Typed array slould be used instead.
I just created PR https://github.com/meltingice/psd.js/pull/139 that solve the issue

Hi,
I am having the same issue, is it possible to publish a new version of the npm package with this correction ?
Thank you very much.


<EMAIL_ADDRESS>

Coverage remained the same at 56.46% when pulling effa6f0e0037317a08d31bbd1878a14ee5964999 on<EMAIL_ADDRESS>into 855d7a243c06608164baf7c622e5ef776e19fb25 on master.


Fix guidance on bash flag-parsing example

From https://github.com/tiny-pilot/gatekeeper/pull/204, we realized the boilerplate has a bug in that it gives unclear an error message if the script receives no command line arguments.
This change fixes the bug and gives clearer guidance on how we should customize it when copying the boilerplate.

Actually, I misunderstood the note, and we can't fix it how I thought.


OutFox stepmania

https://www.reddit.com/r/Stepmania/comments/psd1hm/raspberry_pi_4_stepmania_outfox_53_guide/

Memh


How can I clone this project?

Hi guys,
I am sorry for being a noob at the moment. I tried to clone the whole project to try and test it out.
But when I tried to clone it using Android Studio 2.1.2 (Checkout From Version Control -> Github -> https://github.com/firebase/quickstart-android.git -> Create project from existing sources ), I just got a series of folders but couldn't run it.
I am having a problem with the Gradle if I chose

"Import project from external model"

saying

"The project is using an unsupported version of Gradle. Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.)"

So I am quite at a loss on how to try cloning the project and see how this works. Hope someone with a good soul can help out. Thanks!

@paragones no problem, newcomers welcome :+1:
Try this:

Run git clone https://github.com/firebase/quickstart-android to get the project on your machine. This will create a directory called quickstart-android wherever you run the command.
In Android Studio select File > Open

Find the quickstart-android folder on your machine
Select the subfolder of the quickstart app you'd like to open (for instance quickstart-android/database)
Select the build.gradle file in that subfolder and click OK to import the project.

Got it. Thanks!


[BUG] Enchantments on hover are completely different to what you get

Again, title says it all however i understand that why you are faking an ectable that there might be nothing you can do about it? Not sure if you can fix it with NMS?

This requires more information.
If you're opening the enchantment table with a changed max level it will unfortunately be different due to the way I'm forced to open an enchantment table with an alternate level.

Ah okay, had a bad feeling that's what you would say - sorry about that!

From: Kade @.>
Sent: Saturday, June 26, 2021 4:17:29 PM
To: ItsSchatten/PortableCraftingInvs @.>
Cc: Lewis Mercer @.>; Author @.>
Subject: Re: [ItsSchatten/PortableCraftingInvs] [BUG] Enchantments on hover are completely different to what you get (#23)
This requires more information.
If you're opening the enchantment table with a changed max level it will unfortunately be different due to the way I'm forced to open an enchantment table with an alternate level.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ItsSchatten/PortableCraftingInvs/issues/23#issuecomment-869017195, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF233VXYHDJFAR72JTV3XXLTUXVQTANCNFSM47LH2J4A.

See the newest update for this


GuiTextBox Line Highlight is offset wrong in different text alignment modes

In the gif you can see what happens when i switch modes. It also happens when the text box has a bigger width, so its not based on that.

Yes, this requires review...

@Skytrias Reviewed in commit https://github.com/raysan5/raygui/commit/b51ab5b0e7c2abf61fc2eeb568c773895b156f14. It should be ok now.


WIP - Support more stable canary deploys in Singularity

Current Mechanism:

New Deploy POSTed to API
Singularity sees this and creates new tasks for:

Incremental Deploy

incremental count of tasks spun up
wait for new tasks to pass health check
add new tasks to load balancer + take equivalent number of old tasks out
poll for lb completion
mark old tasks as cleaning + shut down
repeat above steps until all new tasks are launched (currently has an optional hook to wait for api call or wait set amount of time between 'steps' of the deploy)

Regular Deploy

All tasks spun up at once
Wait for all to pass health check
If load balanced add to load balancer (encompasses removal of old tasks as well in this lb update)
Poll for load balancer completion
Mark old tasks as cleaning + shut them down

New system:
Ideally we make the lb completion a bit more of a separate piece of state per task. Right now the fact that it can be encompassed by a deploy vs individual task update makes the state polling rather confusing. Individual state updates there would allow us to be a bit more granular or even operate on only the lb state for an individual task
Some new options I'd add to the deploy api:

canary count - similar to the incremental deploy step size. e.g. deploy 1 at a time, 2 at a time, etc. Except, this can be deploy {count}, accept -> deploy rest
canary acceptance trigger -> let the movement from canary be triggered by either an api call or just by a time
canary cycles - allows the canary phase to run for X tasks at a time for this many times. (e.g. replacing the existing incremental deploy function)

I see the deploy flow as follows:

New POST to API
If not atomic swap

spin up canary task
wait for health check pass
if load balanced add singular canary to lb
wait for time or api call or configured checks to proceed

spin up all new tasks
wait for health check pass
add to lb
poll for lb complete
wait for acceptance phase api call or time trigger

So overall, the phases of the deploy look like:
Launch -> Health check -> LB Update -> Acceptance ->Finish and Clean Up
with the option of running this for a canary set of tasks before running for all
Large-ish differences to call out:

This would deprecate the existing incrementalDeploy functionality, but allow things to specify a canary count + number of cycles to get similar behavior (backwards compatible via api)
Incremental deploy pause is made into a more formal acceptance phase, will plan to add an extendable interface here for checks to run during that phase possibly
atomic swap is now an option, but ideally eventually not the default. This could possibly have ramifications for other rollouts that include things like LB changes during deploy time (i.e. should we reject lb updates for things running a canary since we don'y know whether to use the old or new lb config?)

Progress so far:

New model for canary settings
extracted a bunch of SingularityDeployChecker out into other methods/helpers so that it's actually a bit more readable
Moved all of the SingularityDeploy object usages to not have to check optional as often, making all of the logic simpler
^ same for SingularityDeployProgress
moved to storing lb update progress and associated tasks in the SingularityDeployProgress object

Still TODO:

Actually use the new canary settings properly
make the difference in lb updates/health checks between atomicSwap vs not
implement extendable interface for checks that can run between deploy groups
Actually make all the tests pass...

Updates here:

Refactoring of deploy checker now includes:

Adding a spot for post-deploy-step hooks to run. This is the cause of all the extra deployChecker.checkDeploys() calls in the tests. It takes one additional cycle to complete the deploy based on the hooks. Might try to optimize that later
Uses new canary settings object instead of the old individual incremental deploy settings fields

Current functionality is an extension of the old version, default behavior is still the same

Next TODOs:

actually implement the extendable hooks and state management for each (failure messages, etc)
update to respect new canary cycle count field

Implementation of customizable hooks now added with a no-op implementation in tets. Still TODO tomorrow:

wiring in SingualrityService class for custom hooks
canary cycle count
unit tests for customizable hooks
wire acceptance results to failure messages

Working nicely in staging on first few runs. Still need to add docs on this new stuff here

Additional TODO on here:

[ ] Add unit test to ensure we can add old deploy tasks back to LB if acceptance checks fail for atomic style deploy

Other TODO, (maybe configurably?) disallow canary deploy when there is custom LB property change

🚢


PayPal Subscription Integration ?

Hi, could you please include PayPal Subscription ?
Include PayPal API Key & Token in .env file ?
Best regards and thanks in advance

@iDustbin I'll look into that. Thanks

Do you think you can integrate paypal subscriptions ? any idea ?

@iDustbin sure, not immediate but definitely.

@panshak i add you on skype

I don't have Skype ?

Is this issue still open ?


Segmentation fault (core dumped)  - Ubuntu

Hi ! :wave:
I have [1]    1427530 segmentation fault (core dumped)  computerassistant error while trying to interact with computerassistant.
When I ask a question, it answers well but crash just after.
Here is an example while asking "how are you ?"
~ computerassistant

[09:59:17] Upsonic active                                                                                on_prem.py:130
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting AppOpener==1.7
  Using cached appopener-1.7-py3-none-any.whl (12 kB)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from AppOpener==1.7) (0.37.1)
Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from AppOpener==1.7) (2024.5.15)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from AppOpener==1.7) (5.9.0)
ERROR: Could not find a version that satisfies the requirement pywin32 (from appopener) (from versions: none)
ERROR: No matching distribution found for pywin32
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting AppOpener==1.7
  Using cached appopener-1.7-py3-none-any.whl (12 kB)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from AppOpener==1.7) (0.37.1)
Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from AppOpener==1.7) (2024.5.15)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from AppOpener==1.7) (5.9.0)
ERROR: Could not find a version that satisfies the requirement pywin32 (from appopener) (from versions: none)
ERROR: No matching distribution found for pywin32
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Requirement already satisfied: duckduckgo-search==5.3.0 in /usr/local/lib/python3.10/dist-packages (5.3.0)
Requirement already satisfied: click>=8.1.7 in /usr/local/lib/python3.10/dist-packages (from duckduckgo-search==5.3.0) (8.1.7)
Requirement already satisfied: orjson>=3.10.0 in /usr/local/lib/python3.10/dist-packages (from duckduckgo-search==5.3.0) (3.10.3)
Requirement already satisfied: curl-cffi>=0.6.2 in /usr/local/lib/python3.10/dist-packages (from duckduckgo-search==5.3.0) (0.6.4)
Requirement already satisfied: cffi>=1.12.0 in ./.local/lib/python3.10/site-packages (from curl-cffi>=0.6.2->duckduckgo-search==5.3.0) (1.16.0)
Requirement already satisfied: certifi>=2024.2.2 in ./.local/lib/python3.10/site-packages (from curl-cffi>=0.6.2->duckduckgo-search==5.3.0) (2024.2.2)
Requirement already satisfied: pycparser in ./.local/lib/python3.10/site-packages (from cffi>=1.12.0->curl-cffi>=0.6.2->duckduckgo-search==5.3.0) (2.22)
Profile: None
pygame 2.5.2 (SDL 2.28.2, Python 3.10.12)
Hello from the pygame community. https://www.pygame.org/contribute.html
Imported all libraries
QWidget::setLayout: Attempting to set QLayout "" on MainWindow "", which already has a layout
Recording started...
State updated: talking
Recording stopped
Audio saved as voice_input.wav
ON RECORDING STOPPED
State updated: thinking
State updated: thinking
HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
HISTORY DB /home/lebaron/.local/lib/python3.10/site-packages/gpt_computer_assistant/utils/artifacts/history_default.db
LLM INPUT USER: How are you today?
HISTORY DB /home/lebaron/.local/lib/python3.10/site-packages/gpt_computer_assistant/utils/artifacts/history_default.db
HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
HISTORY DB /home/lebaron/.local/lib/python3.10/site-packages/gpt_computer_assistant/utils/artifacts/history_default.db
THE LAST MESSAGES I'm functioning perfectly, thank you! How can I help you today?
HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
State updated: talking
State updated: idle
[1]    1427530 segmentation fault (core dumped)  computerassistant

OS information :
~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

Python information :
~ python3 --version
Python 3.10.12

Openassistant version :
~ pip3 show gpt-computer-assistant
Name: gpt-computer-assistant
Version: 0.8.9
Summary: GPT

Thanks for the great project ! :smile:

Sorry for the late reply. We will have a new version soon


Verbose mode for Spice CLI

I am trying to perform the followig command from the spiceAI documentation:
spice add spiceai/quickstart
Getting Spicepod spiceai/quickstart ...
an error occurred fetching Spicepod 'spiceai/quickstart'

However, the information is not sufficient to perform any troubleshoot. I suspect it might be a proxy problem, but I cannot really investigate it easily. I noticed that the CLI commands do not have a -v flag that can be used to enable more verbose logging, for example here

For both -v and -vv flags to both spice and spiced.
For spiced, we will alter the EnvFilter. Will override environment variable SPICED_LOG.

-v: task_history=DEBUG,spiced=DEBUG,runtime=DEBUG,secrets=DEBUG,data_components=DEBUG,cache=DEBUG,extensions=DEBUG,spice_cloud=DEBUG,WARN
-vv: task_history=TRACE,spiced=TRACE,runtime=TRACE,secrets=TRACE,data_components=TRACE,cache=TRACE,extensions=TRACE,spice_cloud=TRACE,WARN

For spice, will only be used for spice run (pass through).

To increase verbosity of other spice ... commands, will require additional work to add underlying telemetry calls.

We decided on

-v -> --verbose
-vv -> --very-verbose

This is now supported. We will need continued effort to improve the amount of logging at these lower levels


Frambuffer capture in Ubuntu 24.04

First of all.  That being said ->
Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

https://pastebin.com/T64S08Kb
Steps to reproduce
Install by the repository method in Ubuntu 24.04
Check a error is raised when starting the service in the UI
Could not open the framebuffer device: '/dev/fb0'. Reason: Permission denied (13)"
Fix permissions with
"sudo adduser $USER video"
Start the service again
I can read some lines about X11 but I can confirm that I am running wayland with
echo $XDG_SESSION_TYPE
What is expected?
To work properly
What is actually happening?
Nothing. Plain black capture

System

HyperHDR Server:

Build:           (HEAD detached at v<IP_ADDRESS>beta1) (Awawa-44cfc99/b125da9-1733427229)
Build time:      Dec  5 2024 19:36:11
Git Remote:      https://github.com/awawa-dev/HyperHDR
Version:         <IP_ADDRESS>beta1
UI Lang:         auto (BrowserLang: es)
Avail Capt:      Linux (V4L2)
Database:        read/write

HyperHDR Server OS:

Distribution:   Ubuntu 24.04.1 LTS
Architecture:   x86_64
CPU Model:      12th Gen Intel(R) Core(TM) i5-1235U
CPU Type:       154
Kernel:         linux (6.8.0-50-generic (WS: 64))
Qt Version:     5.15.13
OpenSSL:        OpenSSL 3.0.13 30 Jan 2024
Browser:        Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Hi
You must start HyperHDR as an application, not as a service, to make a HyperHDR's Wayland grabber work.

Ok, that did it. Then, why after installing it tells you to start the service?
That lead me to the wrong path and I didn't even try to find if there was an application. I mean, I could get into the UI 🤷♀

Well, not every one needs Wayland grabber so it's possible run it as a service just as you did it. But the installer makes a suggestion not to enable it and it creates a Windows menu to start the application using it. Also you can add a shortcut to the autostart if you like.
From what I've heard, it's theoretically possible to run the Wayland grabber as a service (you need to add a switch to force the Wayland grabber to HyperHDR, run the app with /? and you'll see them) but then you need to configure permissions in Portal configuration file. I didn't manage to do that, maybe the documentation was poor or I couldn't find the right chapter. But of course experiments are always welcome as long as they lead in the right direction and users share the results ;-)


Unable to select the selector due to case sensitivity of withText method

What is your Test Scenario
hi, I am trying to select the item from the dropdown menu
What is the Current behavior?
selector cannot be selected due to case sensitivity of withText method
What is the Expected behavior?
should be able to select the selector even though letters represented in the dropdown is in different case format.
What is your web application and your TestCafe test code?
desktop web application

Your website URL (or attach your complete example):

Your complete test code (or attach your test files):

//page.js
export class AccountMenu{
constructor () {
this.accountLogo = Selector('md-icon').withAttribute('ng-click','triggerCrmSearch()');
this.accountHeaderSearchField = Selector('input').withAttribute('id','crmsearch');
this.virtualRepeatScroller = Selector('div').withAttribute('class','md-virtual-repeat-scroller');
this.autoCompleteAccInfo = Selector('ul li').find('md-autocomplete-parent-scope div').withAttribute('ng-class','statusClass(item.accountStatusName)').child('span');
}
async accountSearch (destinationAccNum, destinationAccName) {
await t.click(this.accountLogo);
await t.click(this.accountHeaderSearchField)
await t.typeText(this.accountHeaderSearchField,destinationAccNum, { paste:true, replace:true })
await t.expect(this.virtualRepeatScroller.visible).ok({ timeout:2000 });
await t.click(this.autoCompleteAccInfo.withText(destinationAccName))

}
}
//mainpage.js
await accountMenu.accountSearch(destinationAccNum,destinationAccName);
.
</details>
hi, I am trying to to search the destination account using its account number and trying to select by its name, but the name appeared in the drop down is in different case format than name i have passed ,so it could not be selected.
<details>

   1) The specified selector does not match any element in the DOM tree.

       > | Selector('ul li')
         |   .find('md-autocomplete-parent-scope div')
         |   .withAttribute('ng-class', 'statusClass(item.accountStatusName)')
         |   .child('span')
         |   .withText('Fusce Mi Lorem LLP')

I am getting this error coz, the accName i have passed appears like'Fusce Mi Lorem Llp' in the dropdown. what should i do to get my selector right.
</details>

<details>
<summary>Your complete test report:</summary>

Hello,
This behavior is correct - the ‘withText’ method is indeed case sensitive (documentation). To make it case insensitive, you can use the ‘withText’ method that accepts Regexp with ignore case modifier as param


Update only if new version is greater than current version

Closes https://github.com/espruino/BangleApps/issues/332

When I make a change in the core submodule VS Code shows me a "core" under the changes of Bangle Apps:

Should I commit it? Sorry but I never used submodules in my projects and I noticed that the last time you merged my branch here you manually fix some stuff. I'dlike to avoid messing up again :)

Thanks! I thought this had been fixed ages ago for some reason :)
Don't worry about the submodule update, it'll do it here.


Issue #2: Added project files

The project includes the bare-minimum of Dotkernel Frontend's functionalities:

Routing
Templating
Error handling
Tests and code quality checks

The following items have been removed:

Doctrine and all database related stuff
Sessions/Cookies/Flash messages
Authentication/Authorization
Dependency Injection
Mail related stuff
Navigation
CORS
Forms/Validators/InpufFilters
User module
Contact module
Plugin module
CSS/JS code that was no longer in use due to the above module removals
instructions from README.md that are no longer needed

The following packages have been removed:

dotkernel/dot-authorization
dotkernel/dot-data-fixtures
dotkernel/dot-dependency-injection
dotkernel/dot-flashmessenger
dotkernel/dot-mail
dotkernel/dot-navigation
dotkernel/dot-rbac-guard
dotkernel/dot-response-header
dotkernel/dot-session
laminas/laminas-form
laminas/laminas-i18n
mezzio/mezzio-authorization-rbac
mezzio/mezzio-cors
ramsey/uuid-doctrine
roave/psr-container-doctrine

The following DEV packages have been removed:

mezzio/mezzio-tooling
rector/rector

@arhimede please create project in Quodana/Packagist(? if we need badges)/SymfonyInsight.
After that, I will update README.md with the correct URLs and version references.


Docker container: Administrative port not working

I used this sample command from the Readme:
docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/traefik.toml emilevauge/traefik

Port 80 is reachable, I get a 404 from traefik.
However, on port 8080 I get the connection refused.
Docker lists both those ports as bound for traefik container:
CONTAINER ID        IMAGE                          COMMAND                  CREATED             STATUS                      PORTS                                                                                NAMES
8e493c548890        emilevauge/traefik             "/traefik"               14 seconds ago      Up 13 seconds               <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:8080->8080/tcp                                           boring_euclid

Thank you and
with best regards

Did you create your configuration file at the location where you are running this command? Because you're binding your current location as a docker volume (-v $PWD/traefik.toml:/traefik.toml)

As @PierreZ said, I assume that your configuration file $PWD/traefik.toml is empty.

I checked this and there is a traefik.toml (the example one) at $PWD/traefik.toml from where I run the docker container.
With best regards

@strarsis can you post the content of the traefik.toml ? the administrative/web part of traefik is commented out by default (and thus not enabled).

https://gist.github.com/strarsis/ab307a7c1efbae45bc45
Is there a way to definitely check whether traefik inside the container got the right config file?

@strarsis you need to uncomment # [web] too (line 67).
You could docker exec inside to check, something like :
$ docker exec 8e493c548890 cat /traefik.toml

I updated the gist, with [web] I can now reach the admin GUI.


Restricting sub-account instances

Number of instances per sub-accounts:

F&F - 20
Checking - 5
Savings - 5
Donation - 5
FBTC - 5

Restrictions implemented at the backend, would have to check the restriction logic at the UI.

Upgrade script would be required to change the instance counts for upgraded apps

is this still required?


WIP: Implement Add Command

Hi @cnpryer This is another Draft PR for review. What do you think is remaining

I'll close this out in favor of #227


BUG: Fix bad attribute lookup on session continuous future reader.

Use roll_style not roll.
Also, add test case to cover using the session bar reader get_value,
by adding a test which uses close, since only contract was being
exercised, which does not exercise the session daily bar reader.

Coverage decreased (-0.4%) to 86.621% when pulling 512e62b13e4bead95198fc14f73b8ac14577d58b on fix-continuous-future-daily-get-value into b5d4df6223f55bd06d639b2b6e99597794bb9f2c on master.


[Feature][Connector-V2][SFTP] Add SFTP file connector (read & write)

Purpose of this pull request
#3018 SFTP file connector

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

@CalvinKirs  PTAL


Nocode is working, but I don't want it to be working. Please fix.

Please, why this issue isn't fixed already ?

The solution I found on StackEchange is to hit the side of your monitor as hard as you can, repeatedly, while yelling at it until it stops working.
I have tested this solution and it checks out.

Obscenities. You'll want to yell obscenities.

That is a good idea. I combined both solutions and it worked. Using nocode's github API to close the issue.

You're better off NotUsing Github's API. I took precisely zero time yesterday to perform any benchmarking:

Payload
Requests
Responses
Result

Using Github API
8mb
15
15
27.0 ms

NotUsing API

0.00 ms

As you can see in the above table, comparing NotUsing  to using Github's API results in a statement which has zero meaning, logical or otherwise. Another unsurprising result is the level of regret at having expended the amount energy, time, and brain that I have on this post; something that is quite measurable.
So in conclusion. NotUsing NoCode has no linguistic meaning. This paragraph will not trail off int.....


[WFCORE-4075] Proper cleanup of InterdependentDeploymentTestCase

Proper cleanup of InterdependentDeploymentTestCase
If this test fails, test's deployments needs to be un-deployed.
Basically, this PR wraps deploy code to try and undeploy code to finally
Jira: https://issues.jboss.org/browse/WFCORE-4075

@jmesnil  / @kabir / @jamezp can you please review / merge?


Implement actions/workflow_jobs endpoints

https://developer.github.com/v3/actions/workflow_jobs/
Official implementation progres.
https://github.com/google/go-github/issues/1399#issuecomment-579554516

https://github.com/google/go-github/pull/1421/files/1bae46c43dbbe92f6fe443da0d72012779f23bad..016438dea3817a8547a3d4dedcb2bc024331488d
The library itself now has official support for workflow jobs


Change grid component to flexbox

Our grid component is currently using inline-block. It has various features and works well. However, there are a few issues like:

negative margins
'cells' don't fill full height

We should change to use flexbox now that flex (well, most of it) is supported in all our supported browsers. We should be able to create all the current grid features (direction, push pull etc) with flexbox.

@wa-rren-dev we discussed this the other day and I know it's a good idea but can't remember if there's anything more specific as to why we'd want to use flexbox?

This is why we're changing to flexbox:

The current inline-block based grid can't have equal height columns
There are hacks with the current grid like letter-spacing: -.31em; to account for inline block spacing
Browser flexbox debugging tools are great, especially now Chrome 89 has landed
The negative margings in tandem with paddings on the inline block grid items means you can't style grid items themselves (and the items are a bit lopsided so harder to visualise)
We couldn't middle-align (vertically) individuals items with inline block if we needed: we can only use .grid--middle for all cells. With flexbox we could use align-self on items.


Develop

Adds character creation and selection

Should merge and work correctly now

Fixed merge conflicts, merged in #25


[1.3.0] Nexus repo credentials not used when downloading dependencies/custom plugin

(issue exists since sbt 1.3.0-RC1)
switching from sbt 1.2.8 with sbt-coursier 1.0.2 to sbt 1.3.0 without sbt-coursier plugin
We have a custom sbt plugin that fails to download from nexus:
plugins.sbt
resolvers += "Company repository" at "https://nexus.company.com/repository/maven-releases"
credentials += Credentials("Sonatype Nexus Repository Manager", "nexus.company.com", "user", "pwd")

addSbtPlugin("com.company" % "our-sbt-plugin" % "1.2.0")

sbt.librarymanagement.ResolveException: Error downloading com.company:our-sbt-plugin;sbtVersion=1.0;scalaVersion=2.12:1.2.0
...
unauthorized: https://nexus.company.com/repository/maven-releases/com/company/our-sbt-plugin_2.12_1.0/1.2.0/our-sbt-plugin-1.2.0.pom

Same problem if credentials are added in ~/.sbt/1.0/global.sbt
Same problem happens with normal dependencies (not sbt plugins)
Same problem happens when using sbt 1.2.x with sbt-coursier 2.0.0-RC3-2
Is there a way to show what credentials sbt is using to go to that nexus?
workaround
Add this in plugins.sbt (meta buid) and build.sbt
ThisBuild / useCoursier := false

@francisdb Thanks for the report. I think it's a duplicate of https://github.com/sbt/sbt/issues/4802

@eed3si9n Since #4802 is closed but this issue is still there. I would like to see this re-opened.
Projects that work on 1.2.x (even without coursier) give unauthorized on 1.3.0-RC3 when downloading dependencies from nexus. Normal dependencies and plugin dependencies.

@sbrunk can you confirm this? Anything special about your setup?

In https://github.com/sbt/sbt/pull/4855 I added a task called allCredentials. If you run show allCredentials, does your credentials show up?

@francisdb I can confirm that downloading of a custom sbt plugin fails in the same way you've described above.
When adding the plugin manually to the coursier cache, downloading normal dependencies in the main build works fine in my case though.
show allCredentials shows credentials for our Nexus in the main build as well as in the meta build (reload plugins).

Looks like it does work now after clearing the cache rm -rf /~/.coursier/cache/v1/https/myuser%40my.nexus.server
So that indeed only leaves the downloading of custom sbt plugins failing on sbt startup, are the credentials registered at a later time?

Another datapoint for this under sbt1.3.0-RC3, though I think it merely confirms what has already been said here.
I have an addSbtPlugin(...) line in project/plugins.sbt which needs an authenticated resolver. Using ThisBuild / useCoursier := true in project/plugins.sbt (or just letting it default) I get an authentication error. But setting ThisBuild / useCoursier := false (i.e. reverting to ivy) it works fine. I have valid credentials := Seq(Credentials(...)) in project/plugins.sbt. The error happens just invoking interactive sbt in bash (i.e. no compile).
Removing the plugin directive allows it to continue (under useCoursier := true).  Doing that and running show allCredentials does list the valid credentials, but I think that is "too late" in the process, so that may be a red herring.

should this be on the 1.3 milestone?

@SethTisue I don't think it's a blocker to ship next RC4.

Just a small remark, I guess this can be used for testing these issues: https://github.com/features/package-registry (free for now)

It would be an awesome contribution if you or someone else could come up with a public repro :)

I'll have a look if I can come up with something

I've been testing sbt 1.3.0-RCs with Bintray's private repo that requires authentication, and it works fine, so maybe we need actual Nexus for testing.

Created https://issues.sonatype.org/browse/OSSRH-50975.

Setting up a Nexus with docker is quite trivial, might have a go at that
On Thu, Aug 22, 2019, 17:49 eugene yokota<EMAIL_ADDRESS>wrote:

Created https://issues.sonatype.org/browse/OSSRH-50975.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sbt/sbt/issues/4852?email_source=notifications&email_token=AABHMGPNCX5GUOWO2UVKFQLQF2YSBA5CNFSM4H7NAF2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45Q5BI#issuecomment-523964037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABHMGKWO7O3MFEVEXXP2HDQF2YSBANCNFSM4H7NAF2A
.

Ok, set up a nexus and a test project, see the instructions there
https://github.com/francisdb/sbt-plugin-test
but I have the impression sbt 1.3.0 just ignores http repos, even if it just logs a deprecation warning
[warn] insecure HTTP request is deprecated 'http://<IP_ADDRESS>:8081/repository/maven-snapshots'; switch to HTTPS

@eed3si9n have you been able to reproduce the issue using my private nexus mentioned above?

Yes, I get the unauthorized. I am guessing this is an upstream Coursier issue? https://github.com/coursier/coursier/issues/1319

[error]   unauthorized: http://<IP_ADDRESS>:8081/repository/maven-snapshots/com/example/sbt-plugin-test_2.12_1.0/0.1.0-SNAPSHOT/sbt-plugin-test-0.1.0-SNAPSHOT.pom

$ sbt
[info] Loading settings for project global-plugins from idea.sbt,vimquit.sbt,plugins.sbt,metals.sbt,pgp.sbt ...
[info] Loading global plugins from /Users/eed3si9n/.sbt/1.0/plugins
[info] Loading settings for project testproject-build from plugins.sbt ...
[warn] insecure HTTP request is deprecated 'http://<IP_ADDRESS>:8081/repository/maven-snapshots'; switch to HTTPS
[info] Loading project definition from /private/tmp/sbt-plugin-test/testproject/project
[info] Updating
[info] Resolved  dependencies
[warn]
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		com.example:sbt-plugin-test:0.1.0-SNAPSHOT (sbtVersion=1.0, scalaVersion=2.12)
[warn]
[warn] 	Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.example:sbt-plugin-test;sbtVersion=1.0;scalaVersion=2.12:0.1.0-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/example/sbt-plugin-test_2.12_1.0/0.1.0-SNAPSHOT/sbt-plugin-test-0.1.0-SNAPSHOT.pom
[error]   not found: /Users/eed3si9n/.ivy2/local/com.example/sbt-plugin-test/scala_2.12/sbt_1.0/0.1.0-SNAPSHOT/ivys/ivy.xml
[error]   unauthorized: http://<IP_ADDRESS>:8081/repository/maven-snapshots/com/example/sbt-plugin-test_2.12_1.0/0.1.0-SNAPSHOT/sbt-plugin-test-0.1.0-SNAPSHOT.pom
[error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.example/sbt-plugin-test/scala_2.12/sbt_1.0/0.1.0-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/com.example/sbt-plugin-test/scala_2.12/sbt_1.0/0.1.0-SNAPSHOT/ivys/ivy.xml
[error] 	at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:245)
[error] 	at lmcoursier.CoursierDependencyResolution.$anonfun$update$34(CoursierDependencyResolution.scala:214)
[error] 	at scala.util.Either$LeftProjection.map(Either.scala:573)
[error] 	at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:214)
[error] 	at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error] 	at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:52)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:102)
[error] 	at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:69)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:115)
[error] 	at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:115)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:96)
[error] 	at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:150)
[error] 	at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:129)
[error] 	at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:2877)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:280)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] 	at sbt.Execute.work(Execute.scala:289)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:280)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] 	at java.lang.Thread.run(Thread.java:748)
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.example:sbt-plugin-test;sbtVersion=1.0;scalaVersion=2.12:0.1.0-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/example/sbt-plugin-test_2.12_1.0/0.1.0-SNAPSHOT/sbt-plugin-test-0.1.0-SNAPSHOT.pom
[error]   not found: /Users/eed3si9n/.ivy2/local/com.example/sbt-plugin-test/scala_2.12/sbt_1.0/0.1.0-SNAPSHOT/ivys/ivy.xml
[error]   unauthorized: http://<IP_ADDRESS>:8081/repository/maven-snapshots/com/example/sbt-plugin-test_2.12_1.0/0.1.0-SNAPSHOT/sbt-plugin-test-0.1.0-SNAPSHOT.pom
[error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.example/sbt-plugin-test/scala_2.12/sbt_1.0/0.1.0-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/com.example/sbt-plugin-test/scala_2.12/sbt_1.0/0.1.0-SNAPSHOT/ivys/ivy.xml
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

With 1.3.0-RC4 I only have this issue for plugins, normal project dependencies seem work.

Workaround
Add this in plugins.sbt (meta buid) and build.sbt
ThisBuild / useCoursier := false

I added the credentials for all the subprojects in an AutoPlugin but that no longer works in 1.3.0.
As a workaround I moved the credentials code into plugins.sbt.
I guess doing
credentials in ThisBuild := ...

in build.sbt would also work.

Do we have any workaround that allows to keep using coursier? Like specifying credentials in some specific way?

@Krever a pull request that fixes this on the coursier side has been submitted at  so might be fixed soon in 1.3.1

@Krever: If you have a proxy that sits in front of nexus and can have it rewrite the www-authenticate: BASIC realm="..." header, that should work as a workaround.
I don't have the energy to do that today. We're using nginx, so I think we could simply (conditional on the presence of a first header) add a second www-authenticate: Basic realm="Sonatype Nexus Repository Manager" -- the www-authenticate header is special in that one is allowed to send multiple independent challenges and clients are welcome to pick one they can answer.

I have the same issue using 1.3.3. I've reverted to 1.2.8 and problem has gone. Was it actually fixed?

what exact issue do you have, for us all issues have been fixed in 1.3.1

Hi, I opened a new bug report for it with full description in #5200

This doesn't work for me.
Does the setup require more than this?
credentials += Credentials("nexus private", "repository.test.org", "21re-reader", "*****")
resolvers += "nexus private" at "https://repository.test.org/repository/private"

I still get unauthorized: https://...

The credentials need the correct realm: Sonatype Nexus Repository Manager instead of the name you gave the resolver. Matching is done by that and the domain.
If I remember correctly sbt 1.3.3 gives a warning about this during the build.

Looks like indeed the docs are a bit lacking here
https://www.scala-sbt.org/1.x/docs/Publishing.html#Credentials
(also does not mention the option to use ~/.sbt/1.0/global.sbt)
https://stackoverflow.com/a/4351222/42198

I'm having this issue still. Has it been fixed?


Error send some files in single chat Demos

Hi
When I send some files the demo fail, for example this file:
https://administracionelectronica.gob.es/pae_Home/dms/pae_Home/documentos/OBSAE/Informes/Informe_IRIA_2014.pdf
In some demos work and not in others, that thing happen to me with other files like audio, pictures or other pdfs.
Not Work
TextChat+FileSharing
Audio+Video+File+TextChat
Work
FileSharing
WebRTC Scalable File Sharing
Thank you

All demos worked for me; tested up to 130 MB files including your file.
You can reduce chunkSize as well.
connection.chunkSize = 10 * 1000; // 10 KB

I'm sorry I'm late,
It was my fault, I was trying in Chrome with one normal session, and other in Private.
When I try PC+Mobile everythings are OK.
Thank you, so much


When I open scrcpy the window closes before I get to write any command

So when I open up scrcpy the window closes right away and I don't get to start scrcpy but on my other pc it works fine without closing itself and it runs smoothly. any help is appreciated

So when I open up scrcpy the window closes right away and I don't get to start scrcpy

Run scrcpy-console.bat so that the console does not close immediately if there is an error. You'll have time to see the error.

So when I open up scrcpy the window closes right away and I don't get to start scrcpy

Run scrcpy-console.bat so that the console does not close immediately if there is an error. You'll have time to see the error.

So when I open up scrcpy the window closes right away and I don't get to start scrcpy

Run scrcpy-console.bat so that the console does not close immediately if there is an error. You'll have time to see the error.

this is what I got INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy
adb: error: failed to get feature set: no devices/emulators found
ERROR: "adb push" returned with value 1
Press any key to continue . . .

So when I open up scrcpy the window closes right away and I don't get to start scrcpy

Run scrcpy-console.bat so that the console does not close immediately if there is an error. You'll have time to see the error.

this is what I got INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy
adb: error: failed to get feature set: no devices/emulators found
ERROR: "adb push" returned with value 1
Press any key to continue . . .

The device is not detected by adb.
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#adb-issues

The device is not detected by adb.
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#adb-issues

The device is not detected by adb.
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#adb-issues

just saw that my pc doesn't recognize my device so I am trying to troubleshoot it (I have a Samsung a9 2018 )

The device is not detected by adb.
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#adb-issues

just saw that my pc doesn't recognize my device so I am trying to troubleshoot it (I have a Samsung a9 2018 )

Just downloaded Samsung Kies and now my phone is recognized by my pc thank god and everything works fine

Just downloaded Samsung Kies and now my phone is recognized by my pc thank god and everything works fine


Add parameter for custom encode function

When a cropped image is saved, it has always been encoded as a PNG using encodePng. This has the disadvantage of not being as compressible as for example JPG.
This pull request adds an encodeFunction parameter which by default is encodePng to avoid breaking changes. If a jpg output is preferred, this can instead be set to encodeJpg. Allowing passing the encode function as a parameter instead of just having a parameter for the file type has the advantage of also making it possible to set the quality parameter of encodeJpg for example.
Aditionally, having the function as a parameter allow the user to perform aditional processing, such as resizing:
encodeFunction: (croppedImage) => img.encodeJpg(
  img.copyResize(
    croppedImage,
    width: 500,
    height: 500,
  ),
  quality: 75,
),

A side effect of this change is that that there was a conflict with the image prefix of the package:image/image.dart import, since there is a parameter named image in Crop as well. I therefore had to rename the prefix to img.
This fixes https://github.com/chooyan-eng/crop_your_image/issues/48

@Hannnes1
Thank you for the idea!
I've just extended the idea and separate logic and widget as an architecture.
Can you check the branch release/1.0.0? and you will find formatDetector, imageParser and imageCropper arguments that allows us to orverride each backend logics.
https://github.com/chooyan-eng/crop_your_image/tree/release/1.0.0

@Hannnes1 Thank you for the idea! I've just extended the idea and separate logic and widget as an architecture.
Can you check the branch release/1.0.0? and you will find formatDetector, imageParser and imageCropper arguments that allows us to orverride each backend logics.
https://github.com/chooyan-eng/crop_your_image/tree/release/1.0.0

Great! That works


[idea] improve commit times

One thing that has bothered me while doing tests with 5k+ files is that git add would take a while, and then git commit (and sometimes status, it seems) would take just as long because it's also running the filters. We've already processed the file so we shouldn't need to process it again if it hasn't changed.
I thought about this over :hamburger: and spent a few minutes putting together a quick proof of concept. In this concept, the code will map sha256(file name + file mtime) to the content sha256 and write it to disk. Next time the filter runs it'll check for this mapping and if it's there it will avoid recalculating the content sha256 and just print out the pointer file.
In a repo of 5150 files totalling about 1.2G, the filter without any "caching" took 44.445 seconds on git add followed by 42.935 seconds for git commit. With the "caching" turned on it took 48.672 seconds for the git add and 32.525 seconds for the git commit.
The caching code in my proof is not robust or efficient, and I wouldn't recommend any method used in there, but I think the concept is worthy enough for someone to investigate a more thought out solution at some point in time. If a quick hack can improve it by 10 seconds for that case, proper code should be able to do better.

It's definitely a problem that I'd like to solve, if possible. Though, saving 6s (7% of the total) isn't a huge win. I wouldn't say this is a priority, but I'd like to stop unnecessarily running big files through the clean filter.

Added to the roadmpa in #1438


Posibility to add more serializable types to the SerializersModule that this library is using, which aren't necessary of the Destination type.

So I have this use case where I'd like to have my destinations to take in a list with type ImmutableList from kotlinx.collections.immutable.ImmutableList.
In order for this to work, it needs to know how to serialize this type, but I don't see an entry point from this library to add it to the SerializersModule that it's using.
Am I missing something perhaps? What would you suggest to do instead if this isn't something that could really work with how everything is setup?

Seems like this isn't something that can be fixed in this level in the first place.
Even if I have access to the SerializersModule and the builder, there doesn't seem to exist a way to make it be able to figure out how to serialize ImmutableList.
What I've done instead was that in the models themselves that are used in those destinations, I have added @Serializable(ImmutableListSerializer::class) where ImmutableListSerializer is
@Serializer(forClass = ImmutableList::class)
class ImmutableListSerializer<T>(private val dataSerializer: KSerializer<T>) : KSerializer<ImmutableList<T>> {
  private class PersistentListDescriptor : SerialDescriptor by serialDescriptor<List<String>>() {
    override val serialName: String = "kotlinx.serialization.immutable.ImmutableList"
  }

  override val descriptor: SerialDescriptor = PersistentListDescriptor()
  override fun serialize(encoder: Encoder, value: ImmutableList<T>) {
    return ListSerializer(dataSerializer).serialize(encoder, value.toList())
  }

  override fun deserialize(decoder: Decoder): ImmutableList<T> {
    return ListSerializer(dataSerializer).deserialize(decoder).toPersistentList()
  }
}

And that seems to work just fine.
A big shame I can't find a way not to have to define this in each property of all possible models that my destinations will use, but this isn't something for this library to solve as I see it. I am either missing something, or I can't do it anyway in the first place.
I think this can be just closed, just leaving it open so you take a look at it too. I wonder if you've though of (or tried to) doing something like this before and what approach you chose instead.

Seems like this isn't something that can be fixed in this level in the first place.
Even if I have access to the SerializersModule and the builder, there doesn't seem to exist a way to make it be able to figure out how to serialize ImmutableList.
What I've done instead was that in the models themselves that are used in those destinations, I have added @Serializable(ImmutableListSerializer::class) where ImmutableListSerializer is
@Serializer(forClass = ImmutableList::class)
class ImmutableListSerializer<T>(private val dataSerializer: KSerializer<T>) : KSerializer<ImmutableList<T>> {
  private class PersistentListDescriptor : SerialDescriptor by serialDescriptor<List<String>>() {
    override val serialName: String = "kotlinx.serialization.immutable.ImmutableList"
  }

  override val descriptor: SerialDescriptor = PersistentListDescriptor()
  override fun serialize(encoder: Encoder, value: ImmutableList<T>) {
    return ListSerializer(dataSerializer).serialize(encoder, value.toList())
  }

  override fun deserialize(decoder: Decoder): ImmutableList<T> {
    return ListSerializer(dataSerializer).deserialize(decoder).toPersistentList()
  }
}

And that seems to work just fine.
A big shame I can't find a way not to have to define this in each property of all possible models that my destinations will use, but this isn't something for this library to solve as I see it. I am either missing something, or I can't do it anyway in the first place.
I think this can be just closed, just leaving it open so you take a look at it too. I wonder if you've though of (or tried to) doing something like this before and what approach you chose instead.

There are these alternatives:

Specifying serializers for a file
Specifying serializer globally using typealias

I guess that's all what can be done here.


Fix type casting issue

due to #1975 , #1747
Instead of escaping all values of row we should escape only strings.

This looks like a better solution. Feedbacks & review would be appreciated from people on #1975 & #1747.

Released v9.10.1 thanks!


lint: remove unused variable

How has this been tested?

[ ] Unit tests
[x] Manually

Screenshots

Rebased


Ensure compatibility with Pydantic v2 and FastAPI > 0.100

Pydantic v2 introduces some breaking changes which could affect us, for example #36
FastAPI 0.100 which introduces support for pydantic v2 might have its own particularities to be checked.

Done with 0.5.0 release


Azure CLI commands for communication

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@ravithanneeru could you pull the latest code and commit again?

@ravithanneeru could you pull the latest code and commit again?

@kairu-ms latest code taken and all checks passing now.


Release to Preprod

Releasing dev changes since first run of MCI

Leaving this for Andy to merge tomorrow pending snapshot backup testing.


Update Article “the-afterlife”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
81c0f897a7e1fc61042d231a8ca26602f65d0490

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/63345154a820920008983731


[BUG] Misspelled "member" on login page

Describe the bug
The word "member" is misspelled
Severity
Minor. Visual only.
To Reproduce
Steps to reproduce the behavior:

Open login screen
Click login
Look with eyes

Expected behaviour
Spelled "member"
Actual behaviour
Spelled "memeber".
Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

OS: [e.g. Windows 10]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Possible solution:
Fix the spelling.
Additional context
Meme-ber

This is trivial so I'll just go ahead an fix it.


Not Showing in contributors lists

sorry for bothering,
one of my pull request in merge in v4-dev, but i am not seeing my self in contributors list.
is there any thing wrong i did?
this is my first contribution to community so it may sound fumy, but i just curious.

Is it already merged or still pending? If it's not merged, I guess that's the reason. It would make sense to only display contributors in the graph, when their changes have already applied.

My guess it's because you have 1 commit and there must be either a limit by GitHub (4 for this repo) since there are too many contributors, or a bug. I'd say it's the former but you can ask GitHub support for more info :)

@tomlutzenberger its already merged.
@XhmikosR i will ask in GitHub support, Thank for the help.


Document "msft-m365-groups" content under "Groups in Microsoft 365" not entirely correct

Under the section, "Groups in Microsoft 365" the document states that from Azure AD admin center you can "Manage all group types, except shared mailbox groups"  but that's not true, currently there is no possibility to manage Distribution and Mail enabled security groups from Azure AD admin center except deletion. Can you please check!

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

ID: ad3ad624-9792-91b7-c85f-09b839b1ea44
Version Independent ID: e8288f91-11bd-599b-8a88-074917b315a4
Content: Microsoft Teams IT architecture and telephony solutions posters - Microsoft Teams
Content Source: Teams/teams-architecture-solutions-posters.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

@SerdarSoysal , can you please help?
Thanks

@sahilPrashar90
Thank you for bringing this to our attention. We've forwarded the information to the documentation team. They will assess the information and update the posters, if needed.


✨[Feature Request]:  Update the overall layout and designo f the medicine use page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The medicine use page just contains one container that displays information. I would like to update the whole page to make it attarctive
Use Case
A better UI is good for a better user experienec
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign this issue to me @varshith257


I suggest you be more direct and say "we just want to kill Russia".

The recent double standards have really opened my eyes. No one can say who is wrong. You blame Russia, but no one dares to blame NATO countries. Standing with Ukraine? It's really ridiculous. You just stand with your own interests. Ukraine is just a pawn of NATO. Who do you stand with when NATO countries kill civilians in other countries? I suggest you be more direct and say "we just want to kill Russia".

I suggest you to take some time to document yourself on what is NATO before writing NATO countries kill civilians in other countries.

NATO bombed Yugoslavia in 1999. @gionn I suggest you document yourself about lives died in the bombing.

Is there any questions ? @gionn
https://www.nato.int/

@vshymanskyy So do the countries of NATO, who deliver so many wapons to Ukraine. Instead, Russia protectes civilians in Ukraine.

What are your sources?

I don't support war, or Russia or Ukraine.
Anybody who is against the war must get to know: what caused the war ?
For a long time, Ukraine has been living under the shadow of the Cold War.
Especially, as NATO’s relentless expansion eastward caused much anxiety to Russia; Once again, what has happened in Ukraine shows what happens to those that are misled by the US into being its pawns. The root cause of the deteriorating situation in Ukraine is the US.
No matter how the situation plays out, it is certain local people will suffer.
The head of the #Ukrainian Ministry of Digital Development, Mikhail Fedorov, called on global cryptocurrency exchanges to freeze the accounts of all #Russian and #Belarusian citizens

@gionn Avoid getting involved in disputes of big countries. It's not your way of ensuring peace.  Protect your woman from being a European womb.

@vshymanskyy  Avoid getting involved in disputes of big countries. It's not your way of ensuring peace.  Protect your woman from being a European womb.

Locking, as this is not productive.
Sources are not provided (and claims are presumably just Russia propaganda), etc.


feature: remove InstanceInfo from container env

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
remove InstanceInfo from container env since this part could be added in the plugin.
And this block of code is for special use, not so general.
@Ace-Tang
Ⅱ. Does this pull request fix one issue?

none
Ⅲ. Describe how you did it
none
Ⅳ. Describe how to verify it
none
Ⅴ. Special notes for reviews
none

Codecov Report

Merging #1738 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1738      +/-   ##
==========================================
+ Coverage   41.62%   41.67%   +0.04%
==========================================
  Files         278      278
  Lines       18225    18197      -28
==========================================
- Hits         7586     7583       -3
+ Misses       9709     9683      -26
- Partials      930      931       +1

Impacted Files
Coverage Δ

daemon/mgr/container_envs.go
68% <100%> (+23.12%)
:arrow_up:

apis/server/utils.go
61.9% <0%> (-4.77%)
:arrow_down:

daemon/logger/jsonfile/utils.go
71.54% <0%> (-1.63%)
:arrow_down:

daemon/mgr/container.go
52.61% <0%> (-0.17%)
:arrow_down:

ctrd/image.go
78.71% <0%> (+1.98%)
:arrow_up:

LGTM


Replace http-browserify with stream-http

stream-http uses new-style streams to provide true streaming or
pseudo-streaming in as many browsers as possible.
It uses the new fetch api with native browser streams where available
(currently only chrome supports this combination) and various
browser-specific xhr extensions to make binary-safe streaming
work where possible.
It is tested and working with at least basic functionality
back to IE8.

I am certainly willing to test it with some important modules that require('http') in browserify if anyone can suggest some good test cases.

cc @feross

This looks good from a once-over of the stream-http source.
It seems to work with the request module, but the 'end' event is firing twice somehow, possibly a request bug:
var request = require('request');

var r = request(location.protocol + '//' + location.host + '/x.txt');
var chunks = 0;
r.on('data', function () { chunks ++ });
r.on('end', function () { console.log('chunks=', chunks) });

$ browserify -r stream-http:http x.js > bundle.js

It looks like the double 'end' is coming from this (arguably wrong and no longer necessary) logic in request: https://github.com/request/request/blob/master/request.js#L931
However, I also don't think stream-http should be emitting 'close', since there is no real underlying socket and node (at least often?) doesn't emit it even if the connection definitely does close.
These should be fixed in v1.1.1

By the way, on the subject of warnings, I'd love to eliminate these in chrome:
The provided value 'ms-stream' is not a valid enum value of interface XMLHttpRequestResponseType.
The provided value 'moz-chunked-arraybuffer' is not a valid enum value of interface XMLHttpRequestResponseType.

I don't have any idea how to do this, however, while still doing the feature detection I'm trying to do.

@jhiesey The issue with the unhidable warning should probably be opened up as a bug on chromium: https://code.google.com/p/chromium/issues/list

@jhiesey If node emits 'close', which the docs say it does, then I think browserify should do the same. Users could be listening for that event. (It's weird that you're seeing node sometimes not emit the 'close' event.)
Also, I think the bug with request could be fixed by making sure that 'end' is emitted before 'close' is since they set self._ended = true on 'end' here: https://github.com/request/request/blob/master/request.js#L940

I would also implement request.destroy even though it's not documented, because people probably depend on it.

OK, I think I've addressed all of these issues.

If there are no other objections, I think this is ready to merge.
To be safe, I think this should be a major version bump. We did the same when we switched the buffer implementation in v3.
Let's wait a few days to give other people a chance to weigh in on this PR?


Ingesting the metadata of bigquery tables of different projects

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Hello team ,
I am looking to ingest the metadata of various gcp projects from the bigquery tables but as of now there is no way I can define the complete fully qualified name of the tables from various projects in big query connection config
Like projectname.datasetid.tablename
Can you please consider this as feature request as  the OM would be running on gcp Vm and it will have permission to various other projects

@ayush-shah you looked into this before right

@harshach we currently have multiple taxonomies policy tags from different project ids.
we will be able to ingest multiple project ids into one service using similar approach

Thanks a lot Ayush

Please let me know in which version this feature can be included

we should have this feature in the upcoming releases post 0.13,
Also, let us know if you want to contribute, i can assign this issue to you.


Dev org flow doesn't finish

@Nickers3 - The dev org flow is hitting an error in activating record types at the moment. (Error message below.) Looks like it has to do with adding in the automatic namespacing.
020-07-11 08:24:07: Running task: deploy_dev_config
2020-07-11 08:24:07: ------------------------------------------------------------
2020-07-11 08:24:07:
2020-07-11 08:24:07: Options:
2020-07-11 08:24:07:   path: unpackaged/config/dev
2020-07-11 08:24:07: Beginning task: Deploy
2020-07-11 08:24:07:
2020-07-11 08:24:07: Cleaning meta.xml files of packageVersion elements for deploy
2020-07-11 08:24:07: Payload size: 1188 bytes
2020-07-11 08:24:07: Pending
2020-07-11 08:24:08: [InProgress]: Processing Type: Profile
2020-07-11 08:24:09: [InProgress]: Processing Type: Profile
2020-07-11 08:24:11: [Done]
2020-07-11 08:24:12: [Failed]: Update of Profile Admin: Error on line 53, col 29: In field: recordType - no RecordType named Contact.%%%NAMESPACE%%%Family_Member found
2020-07-11 08:24:12: Exception in task config_dev.deploy_dev_config
Error: Could not process MDAPI response: Update of Profile Admin: Error on line 53, col 29: In field: recordType - no RecordType named Contact.%%%NAMESPACE%%%Family_Member found
Run this command for more information about debugging errors: cci error --help
Michaels-MacBook-Pro:OmbudsmanCloudCare michaelkolodner$

Closed with pull request - devconfignamespace.