add simplified Chinese translation

these translation are sorted in translation keys' alphabetical order.
there might be some imperfect translation because I have no idea about noises.
I have tried my best to make it easy to undertand by users, as well as keep what original words express.

By the way, if you would like a language managing tool wirtten in python, I'm glad to commit it to the repo.
The script is just a part of my immature project. It's not stable enough and still being developed.
Now it could generate translation file from java source codes or other translation jsons and sort translation keys while generating if you need.

how are things going now?  :D


Remove added noise to signature values and fix calculations for prob_two_tailed

The added noise to the signature values is too large, and in our test case, it impacts enrichment score results greatly. Additionally, due to the way Numpy does calculations, -inf and inf enrichment scores are returned for some gene sets. It is hypothesized that this is due to the calculations becoming too close to 0 for prob_two_tailed. By rearranging the equation, this is prevented.
Please let me know if you have any questions!

Thank you for the feedback. This is very helpful. I will review the changes in detail and then merge the changes. The noise is something that ideally is not added on default. There have been some issues with numeric instability in one of the dependencies, and I hoped the noise would help.


[BUG] Azure.Identity.AuthenticationFailedException : AzurePowerShellCredential authentication failed: String '14-7-2021 06:36:10 +00:00' was not recognized as a valid DateTime

Describe the bug
I'm running some integration tests on Azure Pipelines, it was working fine until 13 of July (code was released at the beginning of July). These tests connect to an azure subscription to get some values from an Azure KeyVault. I don't send any datetime and I didn't see any way to send a date or a specific format. The issue happens running the tests in the  pipeline but it doesn't happen running the tests on a local machine.
I ran a Get-Culture command and the value is:
LCID             Name             DisplayName
1043             nl-NL            Dutch (Netherlands)
Expected behavior
Connect to key vault and retrieve the secrets.
Actual behavior (include Exception or Stack Trace)
From day 1 to day 12 of a month pipeline can connect to Azure keyvault and gets the secrets stored, from day 13 to 31 of a month pipelines throws and exception because the format of the date is dd-MM-yyyy.
Error Message:
Azure.Identity.AuthenticationFailedException : AzurePowerShellCredential authentication failed: String '14-7-2021 06:36:10 +00:00' was not recognized as a valid DateTime.
---- System.FormatException : String '14-7-2021 06:36:10 +00:00' was not recognized as a valid DateTime.
Stack Trace:
at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex)
at Azure.Identity.AzurePowerShellCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.AzurePowerShellCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex)
at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.GetHeaderValueFromCredentialAsync(TokenRequestContext context, Boolean async, CancellationToken cancellationToken)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.GetHeaderValueAsync(HttpMessage message, TokenRequestContext context, Boolean async)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.GetHeaderValueAsync(HttpMessage message, TokenRequestContext context, Boolean async)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AuthenticateAndAuthorizeRequestAsync(HttpMessage message, TokenRequestContext context)
at Azure.Security.KeyVault.ChallengeBasedAuthenticationPolicy.AuthorizeRequestOnChallengeAsyncInternal(HttpMessage message, Boolean async)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)    at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)
at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)    at Azure.Core.Pipeline.HttpPipeline.SendRequestAsync(Request request, CancellationToken cancellationToken)    at Azure.Security.KeyVault.KeyVaultPipeline.SendRequestAsync(Request request, CancellationToken cancellationToken)    at Azure.Security.KeyVault.KeyVaultPipeline.GetPageAsync[T](Uri firstPageUri, String nextLink, Func1 itemFactory, String operationName, CancellationToken cancellationToken)
at Azure.Core.PageResponseEnumerator.FuncAsyncPageable1.AsPages(String continuationToken, Nullable1 pageSizeHint)
at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)    at Azure.AsyncPageable1.GetAsyncEnumerator(CancellationToken cancellationToken)
at Azure.AsyncPageable1.GetAsyncEnumerator(CancellationToken cancellationToken)    at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)
at Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationProvider.LoadAsync()
at Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationProvider.LoadAsync()
at Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationProvider.Load()
at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
To Reproduce
Configuration :
            var configBuilder = new ConfigurationBuilder()
                .AddJsonFile("testsettings.json", true)
                .AddEnvironmentVariables();

            var builtConfig = configBuilder.Build();

            Configuration = configBuilder
                .AddAzureKeyVault(new Uri(builtConfig["key_vault_azure_uri"]), new DefaultAzureCredential())
                .Build();

To get a secret:
 var secret= Configuration["secret_key"]
Environment:

The project is on Net Core 2.2
Azure.Identity 1.4.0, Azure.Security.KeyVault.Secrets  4.2.0,
Pipelines run in a hosted agent with Windows Server 2019
Visual Studio PRO 2019 <IP_ADDRESS>

Thank you for your feedback.  Tagging and routing to the team members best able to assist.

@christothes this update was merged to identity 1.4.1 is that correct?
I seem to have some further reports of this when using:
get-culture

LCID             Name             DisplayName
----             ----             -----------
8192             en-DK            English (Denmark)

Unhandled exception: Azure.Identity.AuthenticationFailedException: The ChainedTokenCredential failed due to an unhandled exception: AzurePowerShellCredential authentication failed: String '13/10/2021 06.54.13 +00:00' was not recognized as a valid DateTime.
 ---> Azure.Identity.AuthenticationFailedException: AzurePowerShellCredential authentication failed: String '13/10/2021 06.54.13 +00:00' was not recognized as a valid DateTime.

Pretty sure  that this fix is what broke culture invariant mode in .NET apps.  Please address or revert as you broke a HUGE portion of  .net apps that use docker as a result of this.

Because the default for all .net containers is invariant culture only, and if you don't do this, you increase the size of your containers by 30-40%. (aside from breaking it)  And of course you then have to install the dependencies in your container which are intentionally left out by the .net containers for this very reason.

Hi @JohnGalt1717 -
The storage library you are referencing in the referenced issue doesn't appear to be the latest version (it mentions Microsoft.Azure.Storage.* rather than Azure.Storage.*). The Azure.Identity package is not a direct dependency for either package nor does the stack in that issue involve Azure.Identity.
However, You'll find references to Culture in many places besides this specific fix https://grep.app/search?q=CultureInfo.CurrentCulture&filter[repo][0]=Azure/azure-sdk-for-net&filter[path][0]=sdk/ so reverting this won't be of much help if your environment requires strict invariant culture.


NgxMatomo is not adding correct Matomo's script

I am encountering an issue with the @ngx-matomo/tracker library (version 1.3.6) in Angular 11, where the tracking code verification fails with the error message "Tracking code verification failed. Please verify that you have installed the code correctly."
Upon inspection, I observed that the script is attempting to load from the URL https://sitename.matomo.cloud/matomo.php/matomo.js. However, attempting to access this URL results in an Internal Server Error. This discrepancy raises concerns about the accuracy of the script addition.
Notably, when inspecting the tracking code on Matomo, the provided link is formatted as //cdn.matomo.cloud/sitename.matomo.cloud/matomo.js.
I would appreciate it if you could confirm whether the script added is correct. If it is not, kindly advise on the correct method for loading the script using the URL cdn.matomo.cloud, considering the package I am currently using.

Hi @tushar33
Can you please provide a reproduction code (or at least your configuration), so I can investigate further?

Service file
`import { Injectable } from '@angular/core';
import { MatomoTracker } from '@ngx-matomo/tracker';
@Injectable({
providedIn: 'root',
})
export class MatomoService {
constructor(private readonly tracker: MatomoTracker) {}
trackEvent(category: string, action: string, name?: string, value?: number): void {
// Call trackEvent method
this.tracker.trackEvent(category, action, name, value);
}
}`
app.module code
NgxMatomoTrackerModule.forRoot(environment?.matomoConfig)
I followed this doc https://github.com/EmmanuelRoux/ngx-matomo/blob/1.x/README.md
Screenshot of loading script

Please adde the content of the configuration (environment?.matomoConfig)

Configuration
matomoConfig: {
siteId: 1,
trackerUrl: 'https://sitename.matomo.cloud/matomo.php'
}

Thanks.
As explained in the docs, the trackerUrl must be

your matomo server root url

What if I want to use matomo URL as I am not setup matomo on server

I don't understand your question sorry.
How is your Matomo setup? It is necessarily deployed on some url, am I wrong?

Please try using following configuration properties:
trackerUrl: 'https://sitename.matomo.cloud',
siteId: 1,
scriptUrl: '//cdn.matomo.cloud/sitename.matomo.cloud/matomo.js'

Thanks for help
Now script loading correctly but still Test installation is failed. Please check the screenshots

Do you receive tracking data? (You can check for example if you receive realtime data)

Unable to check dashboard as tracking code verification failed not allowing to check data. Please suggest how to check

Can you please try using MANUAL installation mode?
To do so:

include the tracking code yourself (provided by Matomo)
set configuration property mode: MatomoInitializationMode.MANUAL
remove other properties (trackerUrl, etc.)

Hi @tushar33, is your issue solved?

Hi @EmmanuelRoux,
not checked and kept on hold due to issue. I will check and update you.


drivers: flash: nrfx: Modify flash address validation

Modifications in 'is_regular_addr_valid()' function which didn't work properly
when flash base address was different than 0x00000000.
Added calculating address bounds with respect to flash base address.
Signed-off-by: Adam Kondraciuk<EMAIL_ADDRESS>

@adamkondraciuk could you please rebase the PR onto zephyr/master?

Patch was already merged in #19796


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24974

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25320

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30065

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36009

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36034

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36038

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36059

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/41435

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101470


[Add] CtrlZ (undo) and CtrlG (redo) features

Simple undo and redo

Cursor position restored after CtrlA-CtrlE with undo and redo

Undo and redo with middle line changes

Relevant features tested (leave open if you did not consider those areas touched by your PR):

[x]  core editing and default Emacs
[ ]  keybindings
[ ]  history
[ ]  syntax highlighting
[ ]  completion/hinting

Build:

[x] debug
[x] release

Platform:
macOS 12.0 arm64
Terminal emulator:
Iterm2
Basics

[x] Typing of a short line containing both upper- and lowercase characters.

[x] Movement left/right using the arrow keys

[x] Word to the left with Ctrl-b and Ctrl-Left, Word to the right with Ctrl-f

[x] Enter to complete entry

[x] Clearing

[x] Type something and abort the entry with Ctrl-c, you should end up on an empty prompt below.

[x] Type something and press Ctrl-l to clear the screen. Your current entry should still be there and passed through when pressing Enter

Unicode and Emojis

[x] Paste the line Emoji test 😊 checks 🤦🏼♂ unicode and move the cursor over the emojis.
[x] Are you able to delete the smiley?
[x] Home/End at accurate positions
[x] Check that the emoji containing line can be entered

History
Enter a unique entry you can remember.

[ ] On the empty line press the up-arrow key to see if you can recall the previous entry
[ ] Press Enter to execute this line (it should not be duplicated in the history, after checking leave history recall by down-arrow)
[x] Leave the application with Ctrl-d on an empty line
[ ] After rerun you can get the last line back with up-arrow.
[ ] On an empty line start typing the beginning of a line in the history. Hit the up-arrow to find the matching entry.
[ ] After that run Ctrl-r to start traditional reverse search. Type your initial search. Can you find more hits by pressing Ctrl-r or up-arrow?
[x] Abort this search by pressing Ctrl-c

Syntax highlighting

[x] Upon entering test, this word is highlighted differently.

@mzanrosso - for undo and redo, I think we want to group together related actions. Let's say you type hello. If you do an undo, rather than removing a single character, I wonder if it should treat the whole edit as a single step

@mzanrosso - for undo and redo, I think we want to group together related actions. Let's say you type hello. If you do an undo, rather than removing a single character, I wonder if it should treat the whole edit as a single step

We can decide when insert the "previous state" now at every character it will insert a new state but we can make only with new words

@jntrnr - Now it should be fine, can you confirm ?

@mzanrosso I tried a few things, and I think the behaviour of undoing a word definitely does feel more natural.
Some things you should try for your tests that seem to be surprising:

type something like "this is a test", then do CTRL-A, CTRL-K, then try to paste the line with CTRL-Y. This works in main, but doesn't work in this branch
If you hit enter, you can type CTRL-Z to undo the line you're not on. We probably want to clear the undo history once the input has been submitted back to the user.

I noticed that you repeat the self.line_buffer.set_previous_lines(); line a lot. I think a better fix for that would be to check what command just ran after you run it and check to see if it's one of a set of commands.
Something like:
if [EditCommand::MoveToEnd, EditCommand::MoveToStart, ...].contains(command) {   self.line_buffer.set_previous_lines(); }

@jntrnr - Thanks for your accurate revision, I will improve as you suggested asap.

Cargo clippy + cargo test exceeded + introduced all pending improvements

@sherubthakur Thanks for the great test, in fact I have not considered this case where the number of words is the same but the content for some reason has changed

Thanks for the great test, in fact I have not considered this case where the number of words is the same but the middle content for some reason has changed

@sholderbach - In the end I found I missed a part of the logic when treating actions and char inserting

@sherubthakur Thanks for the great test, in fact I have not considered this case where the number of words is the same but the middle content for some reason has changed

I guess you tagged the wrong person with the name starting with sh 😝

@sherubthakur Thanks for the great test, in fact I have not considered this case where the number of words is the same but the middle content for some reason has changed

I guess you tagged the wrong person with the name starting with sh 😝

Oh yes, my fault; the comment was meant for @sholderbach

@jntrnr I removed the glob import as you and @sholderbach  suggested

Would you mind rebasing onto main so we can check the interactions with recalling entries from the history?

Awesome! Undoing a recalled history entry seems to work and the state of the history returns to default. Redoing did not register an entry previously entered via history.

I have some problem with the gpg signature right now, let me solve that before merge, thanks

When typing something after the history recall (without the enter mentioned in #117), the redo seemed to work.

Looks good, and sounds like @sholderbach's tests went well. Let's land and keep improving this.


Remove deprecated copy method

I hope I didn't missed something while doing the refactor. Please review carefully.

Oh missed that one. :flushed:
Broken test in IE 11 is not related to my changes here, but I've investigated quickly and opened an upstream issue: https://github.com/simplabs/qunit-dom/issues/212


[Event Request Change] codeunit 905 "Assembly Line Management" event OnBeforeUpdateAssemblyLines()

Please could you add HideValidationDialog as a parameter to the above event. I would like to handle this event and need to know the value of this global variable.
The event publisher would be...
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAssemblyLines(var AsmHeader: Record "Assembly Header"; OldAsmHeader: Record "Assembly Header"; FieldNum: Integer; ReplaceLinesFromBOM: Boolean; CurrFieldNo: Integer; CurrentFieldNum: Integer; var IsHandled: Boolean; HideValidationDialog: Boolean);
begin
end;

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


How to get the location of the tray icon

Like the toolbox, I want to click on the tray icon to display my main interface, but I'm not finding any way to position the icon so that my interface stays below it? Is there an api for this?

Duplicate of #289

Is there an api for this?

Not in Compose, but you can use system API for that

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

I found a workaround like below.


Parser is particular about comment format

It seems that the Tonic parser is very particular about how comments are laid out. This may be something worth noting in the documentation because it can be confusing to a new user.
For example, this works fine:
/**
 * My Resource Implementation
 * ------------------------------------
 * @uri foobar
 */

but this does not:
/**************************************
 * My Resource Implementation
 * ------------------------------------
 * @uri foobar
 *************************************/

This can be really frustrating the first time you run into it - there's no error message generated that steers you to the root cause of the problem.

Thanks for reporting this.
Unfortunately due to the way the PHP reflection API works, it only treats comments starting /**<whitespace> as doccomments, every other type of comment it discarded and not available to the reflector.
I've added some code to the resource metadata class to look within the source file itself if the reflector cannot find a doccomment by working its way backwards from the class definition. This should cause anything that looks remotely like a doccomment to be found and used.


Unable to connect to the server: dial tcp <IP_ADDRESS>:8080: i/o timeout

Hi,
I tried to run vagrant up with virtualbox, however finally could not access to k8s. Issue below:
Unable to connect to the server: dial tcp <IP_ADDRESS>:8080: i/o timeout
Unable to connect to the server: dial tcp <IP_ADDRESS>:8080: i/o timeout
Unable to connect to the server: dial tcp <IP_ADDRESS>:8080: i/o timeout

$ ping <IP_ADDRESS>
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2

I noticed that both master and node were provisioned with vboxnet1 interface. Does it go wrong? Is it supposed to be vboxnet0 instead ?

My bad. It's running on 172.17.8.x


Fresh install fails with ArgoCD

Using ArgoCD (v2.8.6), the installation of the latest version fails with:
Error: execution error at (k8s-monitoring/templates/crds/check-for-crds.yaml:2:6):
This chart is attempting to deploy the Prometheus Operator CRDs, but they have already been installed on this cluster.
Please set: prometheus-operator-crds: enabled: false and re-deploy Use --debug flag to render out invalid YAM

k8s-monitoring-helm version: 0.3.1
Before installing k8s-monitoring-helm, I used to run the grafana agent with CRDs. After removing the old agent, I did clean the cluster from any leftover CRDs such as:
alias k=kubectl

k get crds | grep monitoring
# notice several CRDs leftovers

# proceed to clean them all
helm template prometheus-operator-crds prometheus-community/prometheus-operator-crds | kubectl delete -f -

k delete -f https://raw.githubusercontent.com/grafana/agent/main/production/operator/crds/monitoring.grafana.com_podlogs.yaml
k delete -f https://raw.githubusercontent.com/grafana/agent/main/production/operator/crds/monitoring.grafana.com_metricsinstances.yaml
k delete -f https://raw.githubusercontent.com/grafana/agent/main/production/operator/crds/monitoring.grafana.com_logsinstances.yaml
k delete -f https://raw.githubusercontent.com/grafana/agent/main/production/operator/crds/monitoring.grafana.com_integrations.yaml
k delete -f https://raw.githubusercontent.com/grafana/agent/main/production/operator/crds/monitoring.grafana.com_grafanaagents.yaml

k get crds | grep monitoring
# nothing shows

The install then cause the error with the CRD being already present... But the helm chart did install the CRD by itself! If I now run the previous commands, I get:
> k get crds | grep monitoring
alertmanagerconfigs.monitoring.coreos.com                        2023-11-04T22:39:29Z
alertmanagers.monitoring.coreos.com                              2023-11-04T22:39:29Z
podmonitors.monitoring.coreos.com                                2023-11-04T22:39:29Z
probes.monitoring.coreos.com                                     2023-11-04T22:39:29Z
prometheusagents.monitoring.coreos.com                           2023-11-04T22:39:30Z
prometheuses.monitoring.coreos.com                               2023-11-04T22:39:30Z
prometheusrules.monitoring.coreos.com                            2023-11-04T22:39:29Z
scrapeconfigs.monitoring.coreos.com                              2023-11-04T22:39:29Z
servicemonitors.monitoring.coreos.com                            2023-11-04T22:39:29Z
thanosrulers.monitoring.coreos.com                               2023-11-04T22:39:29Z

What I think happens, is: Argo templates the helm chart, starts to install the CRDs, then the check fails cause the CRD just got installed.
Could it be a possible issue?
I am not sure that checking if the CRDs are presents shouldn't be left to the user to decide, instead of forcing a helm install to fail 🤔
As a workaround, I am going to disable the prometheus-operator-crds, and install them using kustomize, but it would be more convenient to keep everything together.

If someone is looking for a quick fix, splitting the prometheus operator CRDs in another Application:
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: prometheus-operator-crds
  namespace: argocd
  annotations:
    argocd.argoproj.io/sync-wave: "-10"
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: infrastructure
  syncPolicy:
    syncOptions:
      - CreateNamespace=true
    automated:
      allowEmpty: true
      prune: true
      selfHeal: true
  destination:
    server: "https://kubernetes.default.svc"
    namespace: monitoring
  source:
    # https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/values.yaml
    chart: prometheus-operator-crds
    repoURL: https://prometheus-community.github.io/helm-charts
    targetRevision: 6.0.0

and install the k8s-monitoring-helm chart with prometheus-operator-crds.enabled: false

try including this:
# ...
syncPolicy:
    syncOptions:
      - ServerSideApply=true

Thanks @dmouse , I'll give a try :)

@dmouse Actually I had ServerSideApply=true in my grafana-k8s-monitoring application 🤔
This is how my Application looked like before I disabled the prom CRDs:
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: grafana-k8s-monitoring
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: infrastructure

  ignoreDifferences:
  - group: argoproj.io
    jsonPointers:
    - /status
    kind: Application

  syncPolicy:
    syncOptions:
      - CreateNamespace=true
      - ServerSideApply=true
    automated:
      allowEmpty: true
      prune: true
      selfHeal: true

  destination:
    server: "https://kubernetes.default.svc"
    namespace: monitoring

  source:
    # https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/values.yaml
    chart: k8s-monitoring
    repoURL: https://grafana.github.io/helm-charts
    targetRevision: 0.3.1
    helm:
      valuesObject:
        prometheus-operator-crds:
          enabled: true
        cluster:
          name: my-cluster # to be overriden

I remember that I did a Force apply in the UI becase two CRDS in prometheus never were imported. can you try @Lp-Francois ?

I could but then it is still an issue right? 😅  if an install requires a manual force apply I mean

I could but then it is still an issue right? 😅 if an install requires a manual force apply I mean
Ya, but not sure in what layer, argo or helm :P

haha fair, I will try soon and let you know :)

I also installed version 0.4.2, and now these Cilium resources have a conflict and they never get pruned.

and the argo controller start to be on fire:

FWIW, I have this PR which removes the check that breaks when prometheus-operator-crds: {enabled: true} is set (the default):
https://github.com/grafana/k8s-monitoring-helm/pull/253

It's been months and no new updates here. I'm going to close this. If you encounter new issues installing with ArgoCD, please open a new issue!


Connecting to database on the same machine fails

Connecting to database on a different machine is working with Tedious hack integration - https://github.com/tvrprasad/tedious/tree/windows-integrated-auth-draft
Connecting to the same machine seems to fail.
NTLM Login7: data
NTLM Login7: message
NTLM Login7: receivedChallenge
NTLM Reseponse: data
buffer.js:816
throw new RangeError('Index out of range');
^
RangeError: Index out of range
at checkOffset (buffer.js:816:11)
at Buffer.readInt16LE (buffer.js:951:5)
at parseChallenge (E:\src\tedious\src\token\sspi-token-parser.js:13:32)
at parser.readUsVarByte (E:\src\tedious\src\token\sspi-token-parser.js:27:19)
at awaitData (E:\src\tedious\src\token\stream-parser.js:316:7)
at Parser.awaitData (E:\src\tedious\src\token\stream-parser.js:100:7)
at Parser.readBuffer (E:\src\tedious\src\token\stream-parser.js:313:10)
at readUInt16LE (E:\src\tedious\src\token\stream-parser.js:348:12)
at awaitData (E:\src\tedious\src\token\stream-parser.js:144:7)
at Parser.awaitData (E:\src\tedious\src\token\stream-parser.js:100:7)
var config= {
  userName: 'venktam',
  domain: 'REDMOND',
  password: '',
  server: 'prasadtammana',
  options: { encrypt: false, database: 'AdventureWorks2016CTP3' }
};

var connection = new Connection(config);
connection.on('connect', function (err) {
  if (err) {
    console.log("Connection failed. Error details:");
    console.log(err);
  }
  else {
    console.log("Connected");
    connection.close();
  }
});

The failure above, on the same machine, happens only for 'negotiate' security package. Connection establishment succeeds for 'ntlm' and 'kerberos'.

Windows SSPI API design allows for arbitrary number of round trips to complete authentication where the Tedious code is currently written to handle only one-round trip. So far this worked on all cases except 'negotiate'
There is an extra round trip with the server when using the 'negotiate' securityPackage on the same machine. When this happens Tedious is processing the incoming stream while in a wrong state.


Seqr prop map v2

Also adds gt, gte, lt, lte filters
Rewrites the implementation to be cleaner in my opinion, remembering that you must include all the past to correctly know. There are still concessions, like if a value is changed, we're not looking for crams at specific points in time. But this is good enough and close enough.

No bumpversion commit required as the API doesn't change.

Codecov Report
Attention: 130 lines in your changes are missing coverage. Please review.

Comparison is base (91db84a) 71.43% compared to head (0cf0e4d) 70.61%.
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #598      +/-   ##
==========================================
- Coverage   71.43%   70.61%   -0.82%
==========================================
  Files         116      116
  Lines        9283     9310      +27
==========================================
- Hits         6631     6574      -57
- Misses       2652     2736      +84

Files
Coverage Δ

api/graphql/schema.py
76.97% <100.00%> (+0.07%)
:arrow_up:

db/python/layers/sequencing_group.py
56.29% <100.00%> (-0.75%)
:arrow_down:

db/python/tables/sequencing_group.py
62.93% <100.00%> (-2.80%)
:arrow_down:

models/models/sequencing_group.py
88.29% <100.00%> (+0.25%)
:arrow_up:

test/test_analysis.py
100.00% <ø> (ø)

models/models/analysis.py
95.58% <75.00%> (-1.48%)
:arrow_down:

api/graphql/filters.py
80.00% <61.53%> (-6.96%)
:arrow_down:

db/python/tables/analysis.py
39.25% <44.44%> (+0.01%)
:arrow_up:

db/python/utils.py
78.19% <48.00%> (-4.74%)
:arrow_down:

db/python/layers/analysis.py
25.00% <8.62%> (-22.96%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


index.js Rough Draft

This is the first draft of the index.js file...still learning how to use inquirer throughout the week, so this code may need to be changed later.

Complete!


By default, display table empty?

Greetings, I want to ask you about a behavior that they asked me exclusively to achieve with the DataTables that I do not find how to achieve it.
In my scenario, I retrieve data from a server (node js) that returns data in json format and I have it paged from the DataTables configuration.
But I was asked that the default listing does not show any rows unless a filter is written that has matching results. How I do this?
I'm not sure, but is it possible that the datatables have already downloaded all the records before showing them?

Hi,
Note that question should be asked on stackoverflow (tagged with yadcf)
It is possible, all you need to do is send empty data to datatables and send the yadcf filter data yadcf_data_0 /  yadcf_data_1 / etc... with columns distinct values


Use 3 zones in sap-converged-cloud plan

Description
Changes proposed in this pull request:
Related issue(s)

/test pull-keb-build

/kind enhancement

/hold

/cla

/unhold

/cla


Data Updater Plant crashes with value_change/value_change_applied triggers on a datastream

This is caused by the fact that DUP assumes the target value is a property and tries to fetch it as such

Closed by #517


nested environments

When there are nested environments then the filter might be unable to process/ignore correctly. Here is an example, where \eqref must be ignored, but not table:
---
filters:
  - parse-latex
parse-latex:
  eqref: backslash
  ref: backslash
  equation: begin
format:
  html:
    toc: true
    include-in-header: mathjax.html
  pdf:
    fontsize: 12pt
    mathspec: true
    include-in-header:
      - text: |
          \usepackage{booktabs}
---

Hello World! See \eqref{eq::test}
\begin{equation} \label{eq::test}
  x = 2
\end{equation}

::: {#tbl-methods_notations}

`{=latex}
\begin{tabular}{@{}rp{10cm}l@{}}
	\toprule
	\multicolumn{1}{c}{\textbf{Symbol}} & \multicolumn{1}{c}{\textbf{Definition}} & \multicolumn{1}{c}{\textbf{Unit}} \\
  \( x \) & defined by equation \eqref{eq::test}) & - \\
  \end{tabular}
`

Used notations, sorted by alphabetical order with Latin symbols first. The parameters of the gamma distribution priors
:::

The pdf output is correct (makes sense, it is not processed by the filter), but in the html output, the table is missing

The table is missing because, with my code, when \eqref{eq::test} is detected in the table, then it returns TRUE to the question 'should this be ignored' for the whole block (i..e, for the table, and not only for eqref).


"DARN DRAKE" anagram clue not implemented

Apparently, there is a new hard clue anagram step "DARN DRAKE". The solution is, Daer Krand, upstairs in the eastern wing of the Sisterhood Sanctuary, just north of the the Nightmare's arena.
Perhaps there are more new clue steps with the addition of Nightmare, I have not checked.

Duplicate of #10747


fix: properly distinguish between internal and public linker flags

Should fix #1130

I copied the leanc from this PR over the leanc.orig of the broken nightly and it fixed lake build, so looks good.


I'm confused when using TiSpark(master branch) on Spark3.1.3

General Question
The userguide.md said use spark.sql("use tidb_catalog.tpch") to select a tidb database, and it really works.
But then when i tried to query tables in hive, i have to execute spark.sql("use spark_catalog"), so here is the question:
What should i do if i want to execute a join query of table  "hive_table" and table  "tidb_table" ?
I know that maybe i could use select xxx from spark_catalog.hive_db.hive_table join tidb_catalog.tidb_db.tidb_table on xxx, it does work indeed, but that's really not user friendly and too much sql-jobs need to be modified.
There's no such problems in TiSpark-2.1.8( on Spark2.4)

Yes. The catalog will be necessary for the future TiSpark version.

In my view, this usage is most likely going to become the key way to interact with different datasources after Spark 3


Bug 2079783: Actions are broken in topology view

📝 Description
Bug 2079783: Actions are broken in topology view
🎥 Demo

/hold
the bug is not fixed.

/unhold

/lgtm


[BUG] No Default k3s image tag (for go install)

Installed k3d using go get -u and go install ...
OS: macOS 10.14.4
Running k3d create results in the following error
2019/05/02 20:52:20 Created cluster network with ID fc9c4b9946bf9774421f68b90d04f461a29f969b7d375c99c5890566307bc9ba
2019/05/02 20:52:20 Creating cluster [k3s_default]
2019/05/02 20:52:20 Creating server using docker.io/rancher/k3s:...
2019/05/02 20:52:20 ERROR: failed to create cluster
ERROR: couldn't pull image docker.io/rancher/k3s:
invalid reference format

Running k3d c --version v0.4.0 results in a successful cluster creation.
k3d c --version v0.4.0
2019/05/02 20:53:51 Created cluster network with ID bfe00611154ed7a9884b14a85c5b772dbaac5e020da41322765114bcb6692f40
2019/05/02 20:53:51 Creating cluster [k3s_default]
2019/05/02 20:53:51 Creating server using docker.io/rancher/k3s:v0.4.0...
2019/05/02 20:53:53 SUCCESS: created cluster [k3s_default]
2019/05/02 20:53:53 You can now use the cluster with:

export KUBECONFIG="$(k3d get-kubeconfig --name='k3s_default')"
kubectl cluster-info

Took a look at the source looks like it's expecting c.string("version") to be populated. Looks like there is no default set.
Awesome job getting this up and running, looking forward to playing with it more.

Thanks for your feedback, we're checking the PR :)

Yep, I ran into the same issue. Version 0.4.0 worked as recommended above.

Merged #24 by @cartyc which introduces using the latest tag by default. Thank you!


Biceps data

Hello! Sorry in advance if the question is silly.
About me: I have tiny project with simple biceps model, and my scientific director requested to compare geometry parameters of my model with real muscle (but I didn't find data for real biceps) or another biceps model (which gives information about it's geometry parameters)
Question: Do you have any data to construct biceps model? I can't understand it from your datasets names and can't check it in opensim, cause I just requested access to installer today, and need to wait 72 hours.
Thank you in advance!

Hi @Justarone I don't have any data for biceps muscle, I suggest you to look for this information on the OpenSim model library, the datasets here included are all of the lower limb.
The OpenSim installer is freely available here (needs registration).
I hope this helps.

Thank you for your answer!
I am a little bit confused: I read your README and some parts of doc, and didn't understand 2 moments:
Is there only moment arm as geometry characteristic?
Can I import data for my models (if I get freely available biceps) with your matlab script (in readme you use your files(?), can I generate them somehow(?))?

Hi, this repository has the only to allow researchers to reproduce the results of the listed publication, for which the models are provided. The software to generate the lines of action from the muscle surfaces is still under development and will be released in the future.


DebugConfiguration.noDebug is sticky

Version: 1.46.0-insider
Commit: b1ef2bf05f90dd0e6438782411ab84756f97d8f1
Date: 2020-06-05T12:27:56.662Z (2 days ago)
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0
Running "Run > Start Debugging" after running "Run > Start Without Debugging" does not start debugging. Close inspection revealed that noDebug of the DebugConfiguration passed to DebugConfigurationProvider's resolveDebugConfiguration remains true.
Steps to Reproduce:

Clone the vscode debug adapter sample
git clone https://github.com/microsoft/vscode-mock-debug

Build the mock extension npm install.

Create a breakpoint at extension.ts:105

Launch the extension (F5)

Open a readme.md in the extension development host.

"Run > Start Without Debugging" (Ctrl+F5) from the extension development host, and select Mock Debug.

See the breakpoint hit, and evaluate config.

Go back to the extension development host, and stop the task.

"Run > Start Debugging" (F5) from the extension development host this time, and select Mock Debug.

See the breakpoint hit, and evaluate 'config'.

You can see noDebug (the second row) is set true even though it's requested to debug.
Actually, I see that if I start with F5 first, and try Ctrl+F5 later, the second run receives DebugConfiguration without noDebug property. So, it seems like the value chosen in the very first run remains unchanged in the subsequent task runs.

@hyangah great catch!
I have pushed a fix for this which will be available in vscode insiders tomorrow.

The fix works for me in Insiders when using node-debug2. The new js-debug seems to ignore the noDebug property in launch configs.


Negative Mean CarryOver

Project Robyn
Describe issue
Hi!
I was checking my resulting models and noticed that the mean_carryover for channel PAID_4 is negative for all the model solutions available in the pareto_aggregated  CSV. Below you can see an example I took from one model:

For a specific model I tried to replicate the mean_carryover using the Robyn_Response function, but I failed.
I think it is a bug in the code, could you please help me?
Thanks in advanced :)
Provide reproducible example
Here is an example date set and how I ran the code
DATA_BUG_GITHUB.csv

robyn_object <- "~/Desktop/MyRobyn.RDS"

###################################################################################################################

InputCollect <- robyn_inputs(
  dt_input = base_final,
  dt_holidays = dt_prophet_holidays,
  date_var = "DATE", # date format must be "2020-01-01"
  dep_var = "REVENUE", # there should be only one dependent variable
  dep_var_type = "revenue", # "revenue" (ROI) or "conversion" (CPA)
  #Modulos en los que queremos que Prophet nos descomponga la serie
  prophet_vars = c("trend", "season", "holiday"), # "trend","season", "weekday" & "holiday"
  prophet_country = "MX", # input one country. dt_prophet_holidays includes 59 countries by default
  context_vars = c("CONTEXT_1",'CONTEXT_2','CONTEXT_3','CONTEXT_4','CONTEXT_5','CONTEXT_6'
                   ,'CONTEXT_7'), # e.g. competitors, discount, unemployment etc
  paid_media_spends = c("PAID_1_S","PAID_2_S","PAID_3_S","PAID_4_S"),  # mandatory input
  #OJO, cambiaste el siguiente renglón
  paid_media_vars = c("PAID_1_I","PAID_2_I","PAID_3_I","PAID_4_I"),  # mandatory.
  # paid_media_vars must have same order as paid_media_spends. Use media exposure metrics like
  # impressions, GRP etc. If not applicable, use spend instead.
  #organic_vars = "newsletter", # marketing activity without media spend
  factor_vars = c("CONTEXT_1"), # force variables in context_vars or organic_vars to be categorical
  window_start = "2018-12-31",
  window_end = "2023-01-23",
  adstock = "weibull_pdf" # geometric, weibull_cdf or weibull_pdf.
)
print(InputCollect)

###########################################################################################################

hyperparameters <- list(
  ######### PAID_1 ###########
  PAID_1_S_alphas = c(0.7, 1)
  ,PAID_1_S_gammas = c(0.3, 1)
  # ADSTOCK
  ,PAID_1_S_scales = c(0.00441,0.023)
  ,PAID_1_S_shapes = c(2.0001, 10)

  ######### PAID_2 ############
  ,PAID_2_S_alphas = c(1, 1.3)
  ,PAID_2_S_gammas = c(0.3, 1)
  # ADSTOCK
  ,PAID_2_S_scales = c(0.00018,0.001)
  ,PAID_2_S_shapes = c(2.0001, 10)

  ######### PAID_3 ###########
  ,PAID_3_S_alphas = c(1, 1.6)
  ,PAID_3_S_gammas = c(0.3, 1)
  # ADSTOCK
  ,PAID_3_S_scales = c(0.00018,0.001)
  ,PAID_3_S_shapes = c(2.0001, 10)

  ######### PAID_4 ###########
  ,PAID_4_S_alphas = c(0.6, 1)
  ,PAID_4_S_gammas = c(0.3, 1)
  # ADSTOCK
  ,PAID_4_S_scales = c(0.00441,0.02509)
  ,PAID_4_S_shapes = c(2.0001, 10)

  #,train_size = c(0.7, 0.8)

)

###################################################################################################################

InputCollect <- robyn_inputs(InputCollect = InputCollect, hyperparameters = hyperparameters)
print(InputCollect)

###################################################################################################################

OutputModels <- robyn_run(
  InputCollect = InputCollect, # feed in all model specification
  cores = NULL, # NULL defaults to max available - 1
  iterations = 7000, # 2000 recommended for the dummy dataset with no calibration
  trials = 10, # 5 recommended for the dummy dataset
  #Nuevo feature
  ts_validation = FALSE, # 3-way-split time series for NRMSE validation.
  add_penalty_factor = FALSE, # Experimental feature. Use with caution.
  #outputs = FALSE # outputs = FALSE disables direct model output - robyn_outputs()
)
print(OutputModels)

####################################################################################################################

## Calculate Pareto optimality, cluster and export results and plots. See ?robyn_outputs
OutputCollect <- robyn_outputs(
  InputCollect, OutputModels,
  pareto_fronts = "auto", # automatically pick how many pareto-fronts to fill min_candidates
  # min_candidates = 100, # top pareto models for clustering. Default to 100
  # calibration_constraint = 0.1, # range c(0.01, 0.1) & default at 0.1
  csv_out = "pareto", # "pareto", "all", or NULL (for none)
  clusters = TRUE, # Set to TRUE to cluster similar models by ROAS. See ?robyn_clusters
  plot_pareto = FALSE, # Set to FALSE to deactivate plotting and saving model one-pagers
  plot_folder = robyn_object, # path for plots export
  export = TRUE # this will create files locally
)
print(OutputCollect)

Environment & Robyn version
Make sure you're using the latest Robyn version before you post an issue.

Check and share Robyn version: packageVersion("Robyn")
I´m using version ‘<IP_ADDRESS>00’

R version (Please, check and share: sessionInfo() or R.version$version.string)

Reference: https://www.facebook.com/groups/robynmmm/posts/1423503721751090/

After digging into the issue, I can confirm that it's not a bug. This happens only when using weibull_pdf and the shape > 1, meaning the peak is lagged. Look at this plot, we can clearly see the lag effect: there're days where the adstocked spend < raw spend. Because the carryover spend = adstocked spend - raw spend, therefore the carryover might end up negative for these days.
I agree that it's very unintuitive. But the math is right. I don't see the necessity to change it now. Or are you running into problems with this?

Hi Gufeng!
Thanks for the reply, we do see the lag. The only thing that we still don´t understand is why the mean carryover is negative. From your graph we can see that at certain points the carryover spend will be negative, and if we run the Robyn Response function
Response <- robyn_response(
  InputCollect = InputCollectX,
  OutputCollect = OutputCollectX,
  select_model = OutputCollectX$selectID,
  metric_name = "PAID_4_S"
)

in the Response$input_carryover vector we do see some negative entries. But when we calculate mean(Response$input_carryover) the result is positive. Do you know why ? How do you calculate the mean carryover?

Hi, I've just pushed a commit to return the partial immediate & carryover effect for lagged adstock (weibull_pdf). Can you please update and check? There should be no negative value any more.

Hi, I've just pushed a commit to return the partial immediate & carryover effect for lagged adstock (weibull_pdf). Can you please update and check? There should be no negative value any more.

Hi Gufeng!
We reran the model, but continue to see the negative mean_carryover

We used the Robyn::robyn_update() line to update Robyn. Is it correct? Are we missing something?

We used the Robyn::robyn_update() line to update Robyn. Is it correct? Are we missing something?

Yes, that's fine. That updates Robyn to latest dev version. Did you refresh your R session so that you load the latest updated version before retrying?

Hi Bernardo,
Yes, we refreshed the R session. We also restarted the computer, but keep getting a negative carryover

Though something did change, because we are getting different results for the same data with the same restrictions. Not crazy different results, but they do differ.

Hi Gufeng!
You made it, we don´t see the negative mean carryover anymore :)

We just have a couple of questions with this change

The channel that presented the negative mean carryover is in the fourth line. Although the carryover is no longer negative, the mean spend adstocked is not equal to the sum of mean carryover + mean spend, but just the mean carryover again.  Why is that?

In the first row the mean carryover + mean spend is not equal to the mean spend adstocked , there is a difference of 236K. Is that correct? Maybe it is, but we just want to understand the logic behind this change.

Continuing with the idea of point 2, we would like to understand if there has been a substantial change in the way the mean carryover  is calculated or if you are just splitting it up or something similar. This, because we want to understand the difference between this new model and the one with the negative carryover. The one with the negative carryover has a bug? Or the old model is fine and now we are just using another interpretation of the mean_carryover.

Thanks a lot, really!!

Sorry, Gufeng. It´s us again.
We made the last questions because while using the robyn_recreated function the negative mean_carryover remains and the ROIs change (very similar to the original model with negative mean carryover).

We just wanted to understand the change in the ROI.
Thanks!

I can't reproduce this issue. I'd need your dataset and your script for debugging.


Last Controller Code

This should resolve #6.

Just some code climate issues to fix in the pdf file

This should be all good to go, however, I have some final code refactoring I want to do when it comes to the methods I made for survey and the ones that I can put into the pdf file.

This should be all ready to go @bgregg. Please go ahead and review the code of this pull request.


Circular dependency version issues between agency-swarm, instructor/pydantic and openai

CodeSolutionsAgency requires the python Instructor package to run. If I install the Instructor package:
agency-swarm 0.3.0 requires openai==1.41.0, but you have openai 1.47.0 which is incompatible
If I try to force install the versions I end up breaking dependencies with other packages, like pydantic. If I ignore the error and run the program, the agents get stuck in a loop with a consistent error: "completions.create() got an unexpected keyword argument response_model"
I'm fairly new but will try to dig a bit deeper to resolve this. Perhaps the correct version of Instructor should be added to the requirements.txt of the CodeSolutionsAgency

Opened in the wrong repo. Moving to agency-swarm-lab


Forwarding requests to a 'next hop' SOCKS server

Greetings!
I was wandering if it were possible to have a server built using this library, which listens to connections, and forwards them to another proxy server?
(e.g. a modification of the accept function handler).
Thanks! Regards.

Bumping, would really love to see this fixed.


Available digital inputs

Hello,
Because some digital inputs are set to high (P8_7 P8_9) and some others (like P8_23 P8_25 P8_27) cannot be red from bonescript... i would like to know if there is a list of available digital inputs for the BBB.
Thank you in advance
(BeagleBone Black rev 000B with Amstrong running BoneScript 0.2.2)

http://beagleboard.org/support/bone101/#headers should be a good resource as well.

thanks
On Sun, Jan 18, 2015 at 8:18 PM, Jason Kridner<EMAIL_ADDRESS>wrote:

Closed #87 https://github.com/jadonk/bonescript/issues/87.
—
Reply to this email directly or view it on GitHub
https://github.com/jadonk/bonescript/issues/87#event-220726962.


ServiceUnavailable Defunct Connection Address - after a certain period of time

The neo4j driver will give the error neobolt.exceptions.ServiceUnavailable: Failed to read from defunct connection Address(host='<remote neo4j bolt>', port=7687) if certain amount of time spent between the creation of neo4j client and creation of the session. However, if I start the session the second time, the error is gone.
from neo4j import GraphDatabase
import time

neo4j_url = "bolt://<remote_neo4j_url>:7687"
user_name = "neo4j"
password = ""
neo4j_client = GraphDatabase.driver(neo4j_url, auth=(user_name, password))

time.sleep(300) # 5 minutes
query = '''MATCH (n) RETURN n LIMIT 1'''

# with error
try:
    with neo4j_client.session() as session:
        query_result = session.run(query)
except Exception as e:
    print(str(e))

# no error
with neo4j_client.session() as session:
    query_result = session.run(query)

Environment:
python 3.6
neo4j==1.7.2
neobolt==1.7.4
neotime==1.7.4
mac 10.14.4

with the help from this issue, the problem is solved: #205
The problem is due that the load balancer in the remote server will kill the idle connections after a while. In my case, it is 4 mins.
By setting up max_connection_lifetime=200 it solved my problem:
driver = GraphDatabase.driver(uri, auth=(user, password), max_connection_lifetime=200) # 3.33 mins

I am having a similar error, but I could not resolve it with the suggested solution.
I posted the problem here.
I have a server in which the connection is opened (python):
`self._driver: Driver = GraphDatabase.driver(credentials["uri"], auth=(credentials["user"], credentials["password"]), max_connection_lifetime=3600*24*30, keep_alive=True)`

I run some requests and it works all perfectly. The requests are run by using the function:
def __exe_query(self, query: str):
    with self._driver.session() as session:
        session.run(query).consume()

Despite these queries do not return anything relevant I added .consume() based on this post https://community.neo4j.com/t/error-while-loading-data-in-neo4j-python-driver/7413/7.
I wait 4-5 minutes (while the server is running waiting for other requests), I run the exact same requests, and I get the error:
Failed to read from defunct connection Address(host='****', port=**)
I also tried with max_connection_lifetime=-1.
I am working with python 3.7.0 with these libraries versions: neo4j==1.7.2 neobolt==1.7.9 neotime==1.7.4 as suggested by https://github.com/neo4j/neo4j-python-driver/issues/293. It does not work in Win10 and Linux Ubuntu 18.04.3 LTS.
Thanks for your help and attention, Vittorio

Did you guys found the cause of this message ? I have the same.
(Sorry to revive the old thread)

@JnMik My solution was to use the library of nodejs to connect to the DB and query it from python using gRPC. I do not know if this problem does not exist anymore with more recent updates.

The problem still exists am on python 3.6, and neo4j drive neo4j==4.1.1.
Failed to read from defunct connection IPv4Address(('localhost', 7687)) (IPv4Address(('<IP_ADDRESS>', 7687)))
Transaction failed and will be retried in 1.9554626137792632s (Failed to read from defunct connection IPv4Address(('localhost', 7687)) (IPv4Address(('<IP_ADDRESS>', 7687))))

I have my connection configured as below :
    def __init__(self):
        self.uri = "neo4j://localhost:7687"
        self.neo_con = GraphDatabase.driver(self.uri, auth=("neo4j", "test"), max_connection_lifetime=200)

Please let me know if anyone finds the solution to problem, cause exception handling is tricky because of this.
Thanks a lot

The problem still exists am on python 3.6, and neo4j drive neo4j==4.1.1.
Failed to read from defunct connection IPv4Address(('localhost', 7687)) (IPv4Address(('<IP_ADDRESS>', 7687)))
Transaction failed and will be retried in 1.9554626137792632s (Failed to read from defunct connection IPv4Address(('localhost', 7687)) (IPv4Address(('<IP_ADDRESS>', 7687))))

I have my connection configured as below :
    def __init__(self):
        self.uri = "neo4j://localhost:7687"
        self.neo_con = GraphDatabase.driver(self.uri, auth=("neo4j", "test"), max_connection_lifetime=200)

Please let me know if anyone finds the solution to problem, cause exception handling is tricky because of this.
Thanks a lot

I Retried with the new version of neo4j python library but I still have the same problem.

The very same problem as others with 4.1.1 driver

Same problem in 4.2.0

Same in 4.2.1


please create sd for recovery

hello and congratulations for your work, I can not create a sd to restore many drones, many users have this problem and we do not know how to solve. I would ask you if you can create a file so we put it in the sd card to restore the drone. Thank you
P.S. I inserted in the root of the sd of the drone fr_firmware.bin without any benefit .. surely we miss some steps

@maxbit-me have you got such a firmware file? or why is this topic closed?


lcd: querying the supply for specific denoms

Querying the total supply of a given asset via the REST API endpoint /cosmos/bank/v1beta1/supply/{denom} does not work.

works as: /cosmos/bank/v1beta1/supply/by_denom?denom=unls


sorry but request steps help

There are a lot of jupyter notebooks here, and I'm not very clear what the steps to train a model are...

Hey, yeah, sorry about that. There were a lot of experiments which I wanted to preserve for posterity (so people don't repeat my mistakes) but they did obscure the "happy path" a lot.
I am in the process of cleaning up the code and turning a lot of it into modular libraries (separate training and models, integrating PyTorch Lightning support for multiGPU training) which should help navigate it a lot. I will finish it this week.

thank you!!!

The refactoring is now mostly complete (apart from the semantic token extraction model which we plan to refactor soon) and we prepared an inference notebook which shows how the pipeline works.
I'll close this issue but if you still have question I am happy to reopen and discuss them further.


Finder::call_on_name() with mut access to Cursive instance?

A suggestion / Asking for help
Problem description
So I have the problem that I need to create a View and put it into Cursive in call_on_name(). For that, though, I need &mut Cursive, which I cannot have in the closure passed to call_on_name().
Conceptually, I have a "Sidebar" that is a list of directories. As soon as one is selected, I want to open a view in the "main" window (with cursive-tabs) that loads the selected directory (async via cursive-async-view, but that shouldn't matter for this issue).
Is there a pattern to use here, or is it simply not possible with the current API?
Related: https://github.com/deinstapel/cursive-async-view/issues/6
My code (WIP):

https://git.sr.ht/~matthiasbeyer/muar/tree/async-view/src/sidebar.rs#L57
https://git.sr.ht/~matthiasbeyer/muar/tree/async-view/src/main_view.rs#L71

Hi, and thanks for the report!
Usually you would return something from call_on_name and add it to Cursive outside of the function.

Awesome, that worked!


New package: lostindark.DriverStoreExplorer version 0.11.92

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #191494

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.
Manual validation

Microsoft Reviewers: Open in CodeFlow

Verify:

This shell was opened by my automation, after the package install and scan step were completed. To get the application to launch, I had to open yet another shell window.

Manual validation

I saw the same output.


Fix Google Drive copy and adding test

What are the relevant tickets?
Closes https://github.com/mitodl/ocw-studio/issues/2126.
Description (What does it do?)
This PR fixes the Google Drive copy functionality of the copy_videos management command to properly copy Google Drives files as well, if present. It also adds a test that the copied resource is created with the correct attributes.
How can this be tested?
Testing is similar to https://github.com/mitodl/ocw-studio/pull/2120, but first make sure that (at least) the transcripts/captions in the course have associated files in Google Drive. This would be either a newer course authored through OCW Studio or a legacy course with Google Drive backfilled. To backfill Google Drive for a course, first run through the testing instructions for https://github.com/mitodl/ocw-studio/pull/2081 and then run docker compose exec web ./manage.py backfill_gdrive_folder --filter <course name or short-id>.  Note that Google Drive backfill only backfills non-video resources (in this case, captions and transcripts).
At this point, run the management command docker compose exec web ./manage.py copy_videos --source_course <source_course> --destination_course <destination course> --video_uuids <optional; comma-separated list of video-uuids>, and now verify that any of the Google Drive files have also been copied from the source course to the destination course.

@pt2302 I was able to run this locally and confirm that the transcript files were copied across to the proper gdrive folder. Reading this over again though, I find myself wondering if the code in move_videos.py should be moved out into a Celery task. Copying videos around could take a decent amount of time depending on the amount of videos and where they are stored / where they are being copied to. S3 could be a lot slower in a real environment that Minio is locally. Running this code directly on the command as opposed to running it in celery could stall the web server in a scenario where the command was being run directly on the machine running the web server. In theory firing up a Heroku runner through the CLI to do this wouldn't have any adverse effects, but still I think it's probably better to run this code in a Celery task.


Search for and provide domain in horizon check

In multi-domain deployments of RPC OpenStack, Horizon will require the
user to enter a domain name. As such, we need to provide that
information when posting our login request to Horizon in our MaaS check
plugin.
To detect the multi-domain case, we search for an input field named
"domain" and only then do we provide it. To make the check slightly more
efficient we also refactor it to just parse the HTML once instead of 2
or 3 times.
Connects #1262
(cherry picked from commit b87c025c4befa6242daf70d79bf793f6fc76dcf7)

recheck_all

recheck_upgrade

recheck_ceph - No maas entity for host
04:00:07 failed: [jrpcaioiad-f07] => {"failed": true}
04:00:07 msg: Zero entities with the label jrpcaioiad-f07 exist. Entities should be created as part of the hardware provisioning process, if missing, please consult the internal documentation for associating one with the device.

I'm only restarting ceph because it looks as though swift and upgrade failed for the same reason. Want to see if this is resolved before causing extra load on Jenkins by restarting all jobs.

recheck_swift
recheck_upgrade

I tested and reviewed the PR. The code looks good and it works as expected.
My testing included:

Deploying an AIO from this branch with horizon_keystone_multidomain_support: True
Ensuring the dashboard showed an input box for Domain
Deploy MaaS using my cloud10 subaccount
Verify changes are in place
Ensure the horizon check is healthy

root@cantu-test1476:/usr/lib/rackspace-monitoring-agent/plugins# ./run_plugin_in_venv.sh horizon_check.py <IP_ADDRESS> "openstack dashboard"
status okay
metric horizon_local_status uint32 1
metric splash_status_code uint32 200 http_code
metric splash_milliseconds double 31.005 ms
metric login_status_code uint32 200 http_code
metric login_milliseconds double 665.071 ms

I know this is only a backport, but It was a good learning op for me :)
:+1:

Backport 👍


Devs SBAT reference installation docs for different operating systems

Expected Behavior
Documentation should have installation instructions for other operating systems (eg Ubuntu, Arch).
Current Behavior
Engineering setup only has macOS installation steps.

Duplicate of #16


Restrict movements while dead

Only allow a movement that causes the player to jump back, potentially undoing their death

Can this currently be abused in some way?
Doesn't the !this.dead check inside Player.loop() prevent the player from moving forward?

Doesn't the !this.dead check inside Player.loop() prevent the player from moving forward?

There is this.#drainMovementQueue() inside Player.clientPosUpdateRequested, allowing to make movements in between loops

Right, but doesn't the lack of the changing Player.#nextTileProgress prevent future positions from being handled?

Right, but doesn't the lack of the changing Player.#nextTileProgress prevent future positions from being handled?

It allows changing direction on the current block and triggering actions which can be abused, as well as a visual bug with the trail becoming partially visible again for a moment.

@splixcord I opened #126, but I'm not really seeing any functional difference. I wasn't able to reproduce the trail becoming visible. Could you tell me if I missed anything?


SR-13822: FileHandle closeOnDealloc causes a Stack Overflow on Windows

Setting closeOnDealloc to false seems to cause a stack Overflow on
Windows so disable the functionality of NOT closing the file, but only
on Windows.

#2932 Causes a stack overflow on windows so disable the  functionality and tests on Windows

@swift-ci test

@swift-ci test linux

https://dev.azure.com/compnerd/swift-build/_build/results?buildId=44597&view=results shows that this does repair the test suite.


visibility:hidden causes delay before rendering

Describe the bug
When using the following CSS:
img.lazyload:not([src]) {
    visibility: hidden;
}

There is a noticeable delay before the image gets loaded. I’m not sure why - Chrome’s JS profiler suggests it’s not actually doing anything at all (“idle frame” for a second or so before it attempts loading). It also happens in Safari and Firefox (MacOS 10.14.5 here). It doesn’t happen when using opacity:
img.lazyload:not([src]) {
   opacity: 0.001;
}

To Reproduce
https://jsbin.com/zecodopaqo/edit?html,css,output

Thank you. That was quite a bug!!!


How can I use Kotlinx Serialization instead of Jackson?

Firstly, congratulations for the awesome project. I started using it two days ago and it is very fast and simple.
I would like to use kotlinx.serialization instead of Jackson. How can I do it?

@wellingtoncosta Have you finally achieved kotlinx serializer replacement ?
I'm stuck here:
val kotlinx = Json { coerceInputValues = true }

JavalinJson.toJsonMapper = object : ToJsonMapper {
    override fun map(obj: Any): String = kotlinx.encodeToString(obj)
}

JavalinJson.fromJsonMapper = object : FromJsonMapper {
    override fun <T> map(json: String, targetClass: Class<T>): T = kotlinx.decodeFromString(json)
}

The decodeFromString part is not working. I also tried:
JavalinJson.fromJsonMapper = object : FromJsonMapper {
    override inline fun <reified T> map(json: String, targetClass: Class<T>): T = kotlinx.decodeFromString(json)
}

but I get a warning: Override by an inline function and an error: Override by a function with reified type parameter.
I can't figure out how to implement this override.

@Freezystem I am trying too as well! Have you/someone found a solution yet?

Hi @Welcius, actually no. As of today I couldn't figure it out yet.
There was a proposal for using extension function but I didn't succeed implementing it.
Hence I resort using explicit serialization/deserialization in my endpoints like so:
// first I'm declaring a serializer/deserializer config on top of my file
val kotlinx = Json {
    ignoreUnknownKeys = true
    coerceInputValues = true
    encodeDefaults = false
}
// then later in the handler I do
fun someHandler(ctx: Context): Context {
    kotlinx.decodeFromString<MyDataClass>(ctx.body())
    // do some stuff..
    // and finally
    return ctx.status(200)
            .result(kotlinx.encodeToString(res))
            .contentType("application/json")
}

It's cumbersome but it works as expected.
Once I get a little bit more time I'll eventually try to make it works properly but I'm too busy for the moment. :disappointed:
If you ever find something interesting feel free to share here or on the other issue, I'd be glad to review it with you.


Detection Zone

Is possibile to set detection Zone from yi app and then use them on home assistant sensor?

I pick up the motion message from the yi processes.
Probably, if you set detection zone in the app, the message is sent only if the motion is inside the zone.
But I didn't test it.


Is there a Docker image for running SegClr?

Well, I am a torch user and recently felt that your SegClr is very good and I would like to follow your tutorials to run it. Is there a Docker image for running it?

Glad you find it useful! The demo notebooks should run directly on Google Colab; does that work for you?


Adds a validator check when creating a field

When doing *Field(*args, validators=[DummyValidator]), there is no check
on the callable received (DummyValidator). For builtin validators, if
this is not an instance, you get an incomprehensible error from
_run_validation_chain. This commit adds a check at field's
initialization time to ensure either a callable instance object or a
function has been given as a validator by raising a meaningful error
message.

I like this idea, if you can fix the merge conflict and match the project code style (i.e. use check_validators not checkValidators) I'm up for merging it

I've completed the requested changes in a new PR #410 which I've merged


feat: add thanks for the feed back

Description

add thanks for the feed back when submit feed back is pressed

Related Issues
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]

Closes #942

Type of PR

[X] Feature enhancement

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/4b34af15-f050-4869-9310-77e8dcdf5670
Checklist

[X] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@varshith257 PLEASE REVIEW ONCE AND MERGE MY PR

Fix conflicts

@varshith257 done


merge from arlac77/template-arlac77-github,arlac77/template-esm-only

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 14.3.0 remove 14.2.0 (jobs.include.node_js)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add upgraded org regression flow

Roughly, the existing regression_org flow includes these steps:
  1. installs beta dependencies
  2. installs managed release
  3. upgrades to latest beta
  4. deploys config_regression in the current directory

While this confirms that the last managed release can be upgraded, it doesn't reflect what customers will see in their org after a push upgrade (as it includes updates to unmanaged metadata that existing customers wouldn't receive). This PR adds a new flow, upgraded_org, that includes unmanaged metadata from the last managed release, then upgrades to the latest beta release to cover this use case.
In addition, the automation docs have been rewritten in the new style and moved to a new top-level directory, documentation/.

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Testing Notes
cci flow run upgraded_org --org release

@jstvz I see you have Kim & Dina as reviewers -- did you want @kdy618 to review this before Dina QA's it? (Just wondering if it should be assigned to somebody and what next steps are)

@jstvz , this looks great! Super excited about it as well as the notes on the document for testing. Will this be mimic for K12's regression testing for existing customers as well?
Lastly, I wanted to ask what latest_release does? I tried to look for where it is but had no luck. I'm wondering what's the difference between latest_release : config_regression vs. config_regression.

@kdy618 I'll let James chime in if I'm wrong, but I think after reading through this, latest_release grabs the latest version from the repo (https://github.com/SalesforceFoundation/EDA/pull/1012/files#diff-b0e88920e25a1ba7fb4868790bbe6be8R18) and configures the org based on the latest release. The upgraded_org flow then installs the latest beta on top of that. This simulates an existing customer being upgraded to the latest release.
The config_regression flow performs similar setup, but it includes all of our unmanaged metadata, even changes we've made in the upcoming release. Since existing customers will not receive unmanaged metadata changes when they are upgraded, this does not correctly simulate an existing customer upgrade which is why we're introducing a new upgraded_org flow.
I'm not sure about your K-12 question. We may need to make additional changes in that repo to cover all upgrade scenarios.

Spot on, Bobby.
On Wed, Nov 27, 2019, 12:15 Robert Watson<EMAIL_ADDRESS>wrote:

@jstvz https://github.com/jstvz , this looks great! Super excited about
it as well as the notes on the document for testing. Will this be mimic for
K12's regression testing for existing customers as well?
Lastly, I wanted to ask what latest_release does? I tried to look for
where it is but had no luck. I'm wondering what's the difference between
latest_release : config_regression vs. config_regression.
@kdy618 https://github.com/kdy618 I'll let James chime in if I'm wrong,
but I think after reading through this, latest_release grabs the latest
version from the repo (
https://github.com/SalesforceFoundation/EDA/pull/1012/files#diff-b0e88920e25a1ba7fb4868790bbe6be8R18)
and configures the org based on the latest release. The upgraded_org flow
then installs the latest beta on top of that. This simulates an existing
customer being upgraded to the latest release.
The config_regression flow performs similar setup, but it includes all of
our unmanaged metadata, even changes we've made in the upcoming release.
Since existing customers will not receive unmanaged metadata changes
when they are upgraded, this does not correctly simulate an existing
customer upgrade which is why we're introducing a new upgraded_org flow.
I'm not sure about your K-12 question. We may need to make additional
changes in that repo to cover all upgrade scenarios.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SalesforceFoundation/EDA/pull/1012?email_source=notifications&email_token=AAFWX5GM2C6OQTZIODNDBS3QV3INPA5CNFSM4JRPUZGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKUMZI#issuecomment-559236709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFWX5F5JNFCL6D5IXH2P33QV3INPANCNFSM4JRPUZGA
.

@jstvz Does this mean we will have 2 "top-level" flows to run regression?
regression_org for new customers
upgraded_org for existing customers


Show PICA data with syntax highlighting

Possible with PicaEditor or prism but it makes more sense to first discuss how results of coli-ana should become part of the K10plus catalog.

Just fetch the PICA Plain data (format=pp) and display between analysis and list of download formats. Syntax highlighting can be added afterwards.

Only problem I see is that for PICA Plain, we need one request per notation. Maybe we could only load it when necessary? Or add some way to either

load PICA Plain data for multiple notations, or
include PICA data in the JSKOS result

?

You can convert to PICA in the browser with serializePica(picaFromDDC(jskosConcept)).

That's even better! But where do those methods come from? They aren't used in coli-ana. 🤔

I've added them in lib/pica.js

Now implemented (without syntax highlighting though).

Syntax highlighting should be easy to implement by (re-)implementing it in a few lines of code instead of using e syntax highlighting library.


CLI: read version from document if not provided

Currently it defaults to "SPDX-2.3" and raises a validation error if the document is of another version.

fixed by #442


Add CDNJS version badge in readme

This will add the badge to show its version on CDNJS and also link to its page on CDNJS!

(Finally) merged as 5d76420


reqwest examples are outdated

Since reqwest 0.10.1, it uses async by default, making most examples in the cookbook outdated.
I'll try and make a PR, but I do not think that have sufficient experience with the crate. I will also try to contact the project maintainers.

Good point.  We really ought to do some async stuff now that crates are starting to apply the core implementation.

I suggest migrating the old examples to reqwest::blocking as soon as possible. It is an optional feature so it requires this line in the toml:
reqwest = { version = "*", features = ["blocking"] }
I can prepare a pull request if you would like.

Yeah, the example here is outdated as Responses can no longer be std::io::copyd: https://github.com/rust-lang-nursery/rust-cookbook/blob/master/src/web/clients/download/basic.md


(#268) Change shell from PowerShell to cmd

Close #268

@kolumb looks good to me! :+1: Thank you for your contribution!


Wait(n=1) would exceed context deadline

Describe the bug
My solution consist of 36 containers when i preform Helm upgrade of the solution I get rpc error: code = Unknown desc = us-west-2: client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline"
To Reproduce
Deploy many constrainers at once (above 15 at least) at same time in AWS EKS
Steps to reproduce the behavior:
Install AWS EKS 1.28, 1.29
Install the latest CIS drivers and run mega deployment
Run mega deployment with many containers at once - each container has at least 10 mounts from different secret manager secrets
Do you also notice this bug when using a different secrets store provider (Vault/Azure/GCP...)? Yes/No
Yes
If yes, the issue is likely with the k8s Secrets Store CSI driver, not the AWS provider. Open an issue in that repo.
Expected behavior
Volumes should mount
Environment:
EKS 1.29
Additional context
Full error : Warning  FailedMount  2m8s (x2 over 4m)     kubelet            MountVolume.SetUp failed for volume "secrets-store-inline" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod production/helm-maste │ │ r-chart-services-576d879f7d-b7692, err: rpc error: code = Unknown desc = us-west-2: client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline

Hi @gfrid. This is related to kubernetes client throttling that occurs in the Go libraries. See https://github.com/aws/secrets-store-csi-driver-provider-aws/issues/136 for example. To address parts of this, we've added the ability to configure qps and burst limits in our provider, but you may be throttled by the upper-level driver as well. Since this is occurring with other vendors, you may want to create an enhancement with them.


linux: explicitly enable RAS

Motivation for this change
This is needed for EDAC support.
I'm not familiar with how common-config.nix is structured, so placed the entry near MCE as it is somewhat related.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

ping @lheckemann

@ofborg build linux linux_latest

As a sidenote, this should probably be backported to 20.09 if EDAC's missing there as well. Not supporting reporting of low level hardware errors is a bit unfortunate.

I don't think we want EDAC to be built-in to the kernel though — I'd say either go back to enabling only RAS (which can't be modularised), or set EDAC to build as a module explicitly. I think I prefer enabling only RAS.

Seems it can't be modularised if EDAC_GHES is enabled.
Looking at some other distros:

Debian explicitly enables EDAC, but leaves EDAC_GHES unset.
Arch, Fedora, and OpenSUSE enable both.

@lheckemann I'm leaving EDAC et al. out of this so at least RAS = yes; can be merged. EDAC and whatnot can always be done separately if it turns out to be needed.


Creation of monitoring resources fail in a new GKE cluster

I have a brand new GKE cluster, with almost nothing in it besides the resource Google Cloud creates:

I have the following kamel install script that I am trying to install my operator with:
kamel install \
--global \
--registry gcr.io \
--build-publish-strategy=Kaniko \
--organization mert-personal-cluster \
--registry-secret kaniko-secret \
--maven-repository https://repo1.maven.org/maven2/ \
--operator-resources requests.memory=4096Mi \
--operator-resources limits.memory=4096Mi \
--monitoring=true \
--monitoring-port=8888 \
--force \
--namespace camel

This is the output I get when I run my command:
OLM is not available in the cluster. Fallback to regular installation.
Warning: the creation of the monitoring resources failed:  could not create or replace monitoring.coreos.com/v1, Kind=PodMonitor camel-k-operator: no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1"
Camel K installed in namespace camel  (global mode)

I tried a clean install without the --force flag, still the same issue.
Any help is appreciated! 🙏🏻

This was due to the misconfigured and non-functional Prometheus resource. Fixing it resolved the issue.


make frontend dev server available to windows. fix collection view search doesn't allow Ctrl + A

Scope & Purpose

make frontend dev server available to windows.

fix collection view search doesn't allow Ctrl + A

[x] :hankey: Bugfix

[x] :pizza: New feature

[ ] :fire: Performance improvement

[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.10: (Please link PR)
[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)

@mpoeter These are my first fixes! Thanks :)

Merged via #17961. Thanks a lot @konsultaner!


Update AHK to v2

Here is the AHK updated to version v2.
current_scale := 100 ; scale value you are currently in
next_scale := 150 ; scale value you want to switch to next
is_scaled := 0

; Ctrl + Win + F1 toggles main monitor between 2 scale values
^#F1::
{
    global is_scaled
    global next_scale
    global current_scale

    if(is_scaled == 0)
    {
        Run "SetDpi.exe " next_scale
    }
    else
    {
        Run "SetDpi.exe " current_scale
    }
    is_scaled := !is_scaled
}

; Ctrl + Win + F2 sets 2nd monitor to a scale of 150
^#F2::
{
    Run "SetDpi.exe 2 150"
}

Forgot to mention, your script was added to version 1.0 release.


[swift-inspect] Fix integer type mismatch on watchOS build.

Convert integers to to swift_reflection_ptr_t instead of UInt64 since watchOS uses UInt as its pointer type.
rdar://118458631

@swift-ci please smoke test

It doesn't build on watchOS otherwise (because we messed up the pointer type there and now we're stuck with it), so, yeah. 😄


dpdk: 16.04 -> 16.07, fix build against linux 4.7

Tested build against linux_latest and linux_grsec_nixos.
cc @domenkozar

Ach, this breaks odp-dpdk. Bumping odp-dpdk to latest HEAD fixes it.


Notifications on foreground

Does this package support notifications on foreground when the app is running on foreground?

Of course. This is one of the major functionalities.

Thanks for the reply.
I was trying to test the example app, i tried all the notifications but none of them did display on foreground.

This is what i mean as foreground notification (when the app is running)

Yes. I found same issue. It is not displaying as headsup notification. Coming notification in system tray, but when we swipe down notification bar, it is appearing. FYI attached screenshots.

Im not understanding the problem. This is not the expected behavior? First, the notification appears as pop up (depending of his priority) and after ti stills on notification bar?

It is not showing as pop up. Directly appearing in system tray like silent notification with sound. When we swipe down notification bar only we can see it.

I tried all the priority levels and still the heads-up notifications doesn't appear. All the time it stays on the tray.

I am using Android 10 OS, the same problem occurs.
Samsung Galaxy M30S
Android 10
One UI core 2.0

I am using Android 10 OS, the same problem occurs.
Samsung Galaxy M30S
Android 10
One UI core 2.0

Yeah, i was wrong in fact, because to make it work you should go to notification settings and choose the options to change the notification priority from 'Sound' to 'Sound & pop up' after you change this on the phone it seems to work. But the Importance parameter seems to not make its work with this. Maybe the problem is with the importance or priority level.

https://github.com/rafaelsetragni/awesome_notifications/issues/35

Closing issue since it is a duplicate.

https://github.com/rafaelsetragni/awesome_notifications/issues/35


chore(main): release 0.22.2

:robot: I have created a release beep boop
0.22.2 (2023-04-12)
Reverts

Revert "fix(TOC): add colons after 摘要 & ABSTRACT (#41)" (#132) (b43d2e1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/CCXXXI/thesis/releases/tag/v0.22.2 :sunflower:


Manage placeholder

Show the placeholder only if there is no input and no tags.
Closes #855.

Coverage increased (+0.0004%) to 99.801% when pulling e12430027a673afe27b3f285bf81ed38cf63e246 on conraddamon:fix/placeholder into 87d0e6b695fd53d21f73357a1d3377ab569a78d0 on mbenford:master.


SW-5323 Updated types with new endpoints and updated module props

This branch depends on https://github.com/terraware/terraware-server/pull/2336
Hoping to merge them together as well.

#3106  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Lot of changes!
I'm not seeing the timeline in the terraware home page anymore. And then in the console side, in the project view only the phase is display but not the modules. (It used to display the modules there) Same for cohort and participant view.

Lot of changes!
I'm not seeing the timeline in the terraware home page anymore. And then in the console side, in the project view only the phase is display but not the modules. (It used to display the modules there) Same for cohort and participant view.

This will depend on the BE changes going through first, since it is reacting to the API changes that are occuring.

Merge activity

Aug 30, 3:31 PM EDT: @tommylau523 merged this pull request with Graphite.


Website doesn't allow to overwrite boards of Mario Party 1

I have a problem with the PartyPlanner64 website. Because when I try to overwrite boards of MP1, a message appears saying "Error overwriting the board". But when I try to overwrite boards of MP1 in the   PartyPlanner64 Setup.exe, that doesn't happen.

Fixed this in the latest publish. Also made it so that errors like this will show the actual error text on screen, instead of only in the browser console.


spiral/http ResponseWrapper problem

Description
When you return data from controller method - you can suddenly get an exception
[InvalidArgumentException]
Status code has to be an integer between 100 and 599. A status code of 0 was given

How To Reproduce
Case 1:
/**
     * @Route(
     *     route="api/v2/test,
     *     group="api",
     *     name="api.test",
     *     methods="GET"
     * )
     */
    public function airportRawList(ResponseWrapper $responseWrapper): \Psr\Http\Message\ResponseInterface
    {
        return $responseWrapper->json(
            [
                'status' => 'text',
                'data' => 'data',
            ]
        )->withStatus(200);
    }

In this case 200 is ignored, and 'text' is set as http code ((int)'text' === 0) and we get the exception again.
Expected behavior is when you set ->withStatus(200) - you just get {"status": "text", "data": "data"} as a response with HTTP code 200
Case 2:
Same happens with array returned:
/**
     * @Route(
     *     route="api/v2/test,
     *     group="api",
     *     name="api.test",
     *     methods="GET"
     * )
     */
    public function airportRawList(ResponseWrapper $responseWrapper): array
    {
        return [
            'status' => 'text',
            'data' => 'text'
        ];
    }

If this is expected (which makes sense) this aspect should be added to documentation.
Additional Info

Q
A

Framework Version
v2.7.8

PHP version
PHP 7.4.19 (cli)

Operating system
Linux alpine:3.13

Has been fixed in 2.7.9 https://github.com/spiral/framework/releases/tag/v2.7.9


Model Icon Prettyfication

Some follow-ups to #26:
Add a helper to the edit plugin to get images via properties file text
For the icons related to container elements (i.e. Applications), create "multi" static versions
For the multi ones, and the ones below, also add the green "+" to them:

Account
Controller
Http
Resource
Task

This issue was moved to CoastalHacking/semiotics-main#17


Create React App Not Working? WSL2 - [workaround avaliable]

Describe the bug
On WSL 2 when I create an app using create-react-app and use npm start the app doesn't reload when I edited and saved file.
i.e. Hot Reloading doesn't work
Which terms did you search for in User Guide?
I refer all the official guides and Stackoverflow.
I found a workaround - by shifting my Project folder to Linux File System i.e.
\\wsl$\DISTRO_NAME , it works. ( workaround but not a solution )
Refer this if anyone haven't yet found the workaround,
https://prajjwaldatir.medium.com/create-react-app-not-working-62fc9fc4368b
Environment
Windows 10
WSL2
Steps to reproduce
Create an App using npx create-react-app test1 on windows file system.
Run following commands through WSL2
cd test1
npm start
Expected behavior

locahost 3000 running perfectly with Hot Reloading working for my projects located in Windows File System.
Actual behavior

locahost 3000 running perfectly with Hot Reloading NOT working for my projects located in Windows File System.

I just updated to 4.0.1 and am getting some weird behaviour with hot reloading/caching.  Don't have time to create a reproduction atm, but running into the following issues (on Ubuntu):

page does not refresh on hot reload (thought this was a feature at first lol).
Something goes awfully wrong on failed compile and the browser gets stuck logging infinite errors and has to be force closed (only occasionally)
Some file gets cached in an error state and changes don't apply, even restarting npm start or running npm run build.  I guess this could be a webpack issue, and again don't have a ton of time to figure out what is going on, but came here to see if anyone else was having issues like this because it reeally sucks when it happens.  Removing and replacing files seems to fix it.

Issue got solved via #10253

Issue got solved via #10253


Classroom sync won't work in bulk mode

I'm facing the problem that syncing classroom students doesn't work properly in bulk mode (csv file with 2 rows):
> gam csv export.csv gam course ~alias sync students group ~student_group
Using 2 processes...
Got 22 Students...

Getting all members of<EMAIL_ADDRESS>(may take some time for large groups)...
Got 25 Students...

Getting all members of<EMAIL_ADDRESS>(may take some time for large groups)...
Got 22 all members...

Got 25 all members...

Group members are fetched but no addition/removal happens after that. Although it works when single sync is run (group members fetched then list updated in parallel).
Is the problem in parallel-fashion update step in sync? When running in bulk mode it starts to run parallel syncs then each sync turns to run its parallel update (parallelization squared).

This is not supported in Standard GAM.
Ross
On Fri, Sep 4, 2020 at 8:33 AM aglim<EMAIL_ADDRESS>wrote:

I'm facing the problem that syncing classroom students doesn't work
properly in bulk mode (csv file with 2 rows):

gam csv export.csv gam course ~alias sync students group ~student_group
Using 2 processes...
Got 22 Students...

Getting all members of<EMAIL_ADDRESS>(may take some time for large groups)...
Got 25 Students...
Getting all members of<EMAIL_ADDRESS>(may take some time for large groups)...
Got 22 all members...
Got 25 all members...
Group members are fetched but no addition/removal happens after that.
Although it works when single sync is run (group members fetched then list
updated in parallel).
Is the problem in parallel-fashion update step in sync? When running in
bulk mode it starts to run parallel syncs then each sync turns to run its
parallel update (parallelization squared).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1231, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL2AEH2EGCBYQ37WENLSEECDTANCNFSM4QYVFURQ
.

--
Ross Scroggs
<EMAIL_ADDRESS>

Workaround: use batch file method
gam batch commands.txt
Generate commands using excel. The syntax for me:
="gam course "&J2&" sync students group "&K2&CHAR(10)&"commit-batch"
"Commit-batch" should definitely there to be separate the classes.
also, you can increase your speed by "set gam_threads=10" (Do not set over 15-20, the API will throw errors, that you have to find and correct manually)

This does not work in any reasonably current version of GAM for the same reason that
gam csv filename.csv gam course ~id sync students group ~student_group
doesn't work.
Gam uses Python processes (as opposed to Python threads in old versions) to execute gam batch and gam csv and also uses Python processes to execute gam course sync students.
But a Python process can not have a sub process, thus the sync doesn't do anything.
$ gam version
GAM 5.11 - https://git.io/gam - pythonsource
---

$ gam print courses teacher testuser1 show students fields id,name,ownerid owneremail
Getting all Courses in G Suite account (may take some time on a large account)...
Got 1 Courses...
Got 0 Students for course<PHONE_NUMBER>1 (1/1)
id,name,ownerEmail,ownerId,students
47491913641,Test,uid118080758787650801331@domain.com,118080758787650801331,0

$ more coursesync.bat
gam course<PHONE_NUMBER>1 sync students group<EMAIL_ADDRESS>commit-batch

$ gam batch coursesync.bat
Using 1 processes...
Got 0 Students...

Getting all members of<EMAIL_ADDRESS>(may take some time for large groups)...
Got 2 all members...

$ gam print courses teacher testuser1 show students fields id,name,ownerid owneremail
Getting all Courses in G Suite account (may take some time on a large account)...
Got 1 Courses...
Got 0 Students for course<PHONE_NUMBER>1 (1/1)
id,name,ownerEmail,ownerId,students
47491913641,Test,uid118080758787650801331@domain.com,118080758787650801331,0

Ross

Well, batch worked for me. With commit-batch ofc.

What is you Gam version?

GAM 5.11
gam course courseID sync students group groupName
commit-batch
gam course courseID sync students group groupName
commit-batch
...

Can you contact me via Google Hangouts/Meet or Zoom?
<EMAIL_ADDRESS>


got my account locked

due to this?

i dont care, i mentioned that your account may be blocked due to using this.