bug fix: end function use Promise class from Sequelizejs that had bee…

bug fix: end function use Promise class from Sequelizejs that had been bind namespace.
We should use the Promise class the carry in with the db options. we shoud not import new Promise.
The Promise the come with sequelize db instance is shimmed by sequelize(in lib/Promise.js) and bind the namespace. so can support database transaction.

Sorry I some how missed this pull request  when it was submitted.
Do you still have use for it ?
I'm not sure I understand what which bug it solves

Not usr if it is a bug, but from "Upgrade to v4" section of Sequelize's doc (http://docs.sequelizejs.com/manual/tutorial/upgrade-to-v4.html):

Sequelize now uses an independent copy of bluebird library.

Promises returned by sequelize are now instances of Sequelize.Promise instead of global bluebird Promise.

IMHO, patch author think that we should use Sequelize.Promise instead of just bluebird. Not sure 100% if its true, but we already have Promise lib mounted as require('sequelize').Promise and did not need to require own bluebird module.

@deksden that's a valid point.
Are you using namespaces with sequelize ?

@yonjah : nope. You mean cls? No


WIP: Add support for the Workflow Execution Service (WES) API to the dockstore CLI

Add support for running workflows using WES to the Dockstore CLI

I am closing this pull request because I have created another feature branch and pull request where WES support code is integrated into the latest develop branch changes for supporting Cromwell as an option to run CWL which resulted in significant changes to the CLI code base.


Update manifests/a/AnyLogic/AnyLogic/University/8.8.1/AnyLogic.AnyLogic.University.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Labels


More Adjustments for the Low Energy MC production

New fhicls to accommodate the low energy production. It includes the adaptation of the radiological model (v3.5) to the HD v4 geo and also fixes to the VD photon simulation between the FC and cryo wall.

Wrong base. Issuing a new PR.


Center does not load because of Notifications

I went to load the Center and HUD on develop and neither would load any content.

Center is loading fine in staging.


Add FAQ page for OCP monitoring

List of things that we are often asked about on Slack, emails, ... which would need to be answered in the FAQ.
Feel free to add any suggestion in the comments :)

OCP support

Does Red Hat support Prometheus remote write to <insert 3rd party system>?

Red Hat supports only the remote write sender side (e.g. Prometheus). Issues on the receiving side need to be supported by the customer.

OCP developers

How do I push metrics to telemetry?

Link to existing doc

How do I delete a label value when it stops existing?

Link to the custom collector pattern

Why doesn't OCP monitoring support <tweaking the scrape interval/deploying custom exporters/...>?

OCP monitoring is primarily meant for monitoring the platform components. By controlling the configuration options, we limit the risk of users DoS-ing the monitoring stack.

What are the API endpoints avaiable? What are the required RBAC roles/cluster roles for each?

Explain how user-defined monitoring works in practice (namespace enforcement for metrics & rules).

What was X feature added or removed?
We often get questions of the form

Release  4.Y.Z removes/adds feature , what is the reason behind that?

We need a way to trace from Release Notes to Epic.

Explain why running another PO isn't a supported usecase.

Explain the use/abuse of "openshift.io/cluster-monitoring: "true".

Is it supported ?
What is the intended usecase ?

What is the supported way for installing Grafana and configuring to incluster prometheus as datasource?

Q. How to list all the available metrics in OCP
A, https://access.redhat.com/solutions/6984824


Improve user interface

Fixes #159.

Codecov Report
Attention: Patch coverage is 94.73684% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.15%. Comparing base (69932f1) to head (b488761).

Files
Patch %
Lines

autoemulate/compare.py
94.73%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
+ Coverage   88.09%   88.15%   +0.06%
==========================================
  Files          44       44
  Lines        2083     2102      +19
==========================================
+ Hits         1835     1853      +18
- Misses        248      249       +1

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

Two high level things:

Could we put this into a separate module to keep compare clean?
What would be great eventually (though no need for this now if you're tight on time) is to check whether autoemulate is run in a notebook and if so display the table with display(HTML(df.to_html())) from from IPython.display, which looks a bit nicer.

Do you mean to move it to, say, utils.py? I was thinking, as it pertains to the class specifically, it makes sense to have it as a method of the compare.AutoEmulate class?

This sounds like a great idea. I haven't found a super way of checking whether the script is run in a notebook or not..
I have seen two different versions of trying to resolve it (see this source for instance) -- any idea which ones is preferrable?

try:
    __IPYTHON__
    _in_ipython_session = True
except NameError:
    _in_ipython_session = False

try:
    from IPython import get_ipython
    ip = get_ipython()
    if ip is None:
            # we have IPython installed but not running from IPython
            return False
        else:
            from IPython.core.interactiveshell import InteractiveShell
            format = InteractiveShell.instance().display_formatter.format
            if len(format(_checkhtml, include="text/html")[0]):
                # TODO: need to check for qtconsole here!
                return True
            else:
                return False
    except:
        # We do not even have IPython installed
        return False

Two high level things:

Could we put this into a separate module to keep compare clean?
What would be great eventually (though no need for this now if you're tight on time) is to check whether autoemulate is run in a notebook and if so display the table with display(HTML(df.to_html())) from from IPython.display, which looks a bit nicer.

Do you mean to move it to, say, utils.py? I was thinking, as it pertains to the class specifically, it makes sense to have it as a method of the compare.AutoEmulate class?

This sounds like a great idea. I haven't found a super way of checking whether the script is run in a notebook or not..
I have seen two different versions of trying to resolve it (see this source for instance) -- any idea which ones is preferrable?
try:
    __IPYTHON__
    _in_ipython_session = True
except NameError:
    _in_ipython_session = False

try:
    from IPython import get_ipython
    ip = get_ipython()
    if ip is None:
            # we have IPython installed but not running from IPython
            return False
        else:
            from IPython.core.interactiveshell import InteractiveShell
            format = InteractiveShell.instance().display_formatter.format
            if len(format(_checkhtml, include="text/html")[0]):
                # TODO: need to check for qtconsole here!
                return True
            else:
                return False
    except:
        # We do not even have IPython installed
        return False

Ah sorry, I wasn't very clear. I think it's good to have it as a autoemulate.compare method, but I'd still put the majority of code in a separate module (say pretty_printing.py or so), and then import _print_setup for the autoemulate.compare print_setup method.
Good question with the checking for whether it's run in a notebook. I couldn't find a super clear answer either. I'll have a closer look tomorrow, but both versions seem to work.

Fixed the high-level (1) above in https://github.com/alan-turing-institute/autoemulate/pull/195/commits/6dab835c6bf949bfbe151adc305cdb10271be535

Fixed (2) in https://github.com/alan-turing-institute/autoemulate/pull/195/commits/daec70f5b742868c240c24424f3860c575101188

OK @mastoffel I think that's all the stuff addressed! Check out the branch now :)


Add realtime logging output to the website

We could do live streaming with websockets. But i think polling the rest api and delaying messages by their timestamp and the polling interval is a reasonable tradeoff.

Implemented polling - no scroll or time based offset yet.


Added cidr ips for gocache cdn

I added some CIDR ranges for the Brazilian CDN provider gocache, the ips are available at https://gocache.com.br/ips plus the <IP_ADDRESS>/22 range which is not in the list from the URL for some reason. I added them manually within the cidr list.

Thanks so much for your contribution @rrehlert ! :)
We also have a Discord server, which you’re more than welcome to join. It's a great place to connect with fellow contributors and stay updated with the latest developments!


Keep User-Defined Order of Callbacks

Proposed refactor
Provide a way to disable automatic reordering or completely remove it: https://github.com/Lightning-AI/lightning/blob/7fed7a12c56c6b0e08f0223f68d7d311ea7ac90f/src/pytorch_lightning/trainer/connectors/callback_connector.py#L88
Trainer could take an additional argument reorder_arguments=True.
Motivation
It is not always the case that ModelCheckpoint needs to be the last callback. For example, hyperparameter optimization libraries might externally trigger to kill a Python job based on a feedback before we can checkpoint.
Pitch
Let me use the exact same order of callbacks I've passed to the trainer.
Additional context
Related: #10260

wrt the motivation, is the hyperparameter optimization library integrated as a Callback? Why does it not save a checkpoint when it signals to kill the job?

Yes, the communication with the library works via callback. Please check this example from Ray Tune: https://docs.ray.io/en/latest/_modules/ray/tune/integration/pytorch_lightning.html
The callback simply reports the metric. The HPO library does not provide any signals to the Python code.
The library cannot checkpoint since it has no access to the model and might not even run on the same machine.

The TuneReportCheckpointCallback and  _TuneCheckpointCallback should subclass Checkpoint so that they get put last when re-ordered: https://pytorch-lightning.readthedocs.io/en/stable/common/checkpointing_expert.html#writing-your-own-checkpoint-class
This should solve your issue.

I see how this works and of course I could create something like
class KeepMyOrderPlease(Callback):
  def __init__(self, callbacks: List[Callback]):
    super().__init__()
    self._callbacks = callbacks

and then pass
callbacks = A(my_callbacks)

to the trainer class as a callback.
However, this issue was not created to find some solution to a problem but rather about making the use of callbacks more elegant. Why is there a need for reordering and why not leave the order to the user? It does not seem very OO to merge two callbacks into one even though they have nothing to do with each other.
Furthermore, even though the Ray Tune example adds checkpointing this wouldn't be my use case. I want to provide an HPO Callback class and leave it to the user how they checkpoint or if they want to. Again, not looking for a hack here.

The checkpointing callbacks need to go last because the rest of the callbacks can save state. If another kind of Callback was after, then it wouldn't get saved in the Checkpoint.
This is why we added the empty Checkpoint class, it's the one we use internally to know whether a Callback should go at the end.
For the other kinds of callbacks, the order passed to the Trainer is preserved.

Are you saying that if my callback extends Checkpoint it will not get reordered and can go last? It does not need to checkpoint and I can use another Checkpoint callback?

The checkpointing callbacks need to go last because the rest of the callbacks can save state. If another kind of Callback was after, then it wouldn't get saved with the checkpoints.
This is why we added the empty Checkpoint class, it's the one we use internally to know whether a Callback should go at the end.
For the other kinds of callbacks, the order passed to the Trainer is preserved.

There are many instances where you want a callback to occur after model checkpointing, for example a task that remotely executes that checkpoint on some other task, etc. The alternative is to place such calls in a different callback such as on_train_epoch_start but that is then breaking the paradigm of callbacks entirely. I would want there to be a way to define callbacks to occur in the order the user placed them in.

The Trainer needs a mechanism to force a hook order (opt-in). https://github.com/Lightning-AI/lightning/issues/17131 suggests this.
Feel free to leave your thoughts or proposal

We are going with a callback that extends the Checkpoint stub class. My recommendation to unblock this issue (which is going to remain a sticking point for the community IMO -- it's one of those "opaque magical things that frameworks do" that can piss off devs) is as follows:

keep whatever you have in place for 2.0 level workarounds
Implement a set of stub callbacks -- PreCheckpointCallback CheckpointingCallback PostCheckpointingCallback, PreLightningModuleCallback, PostLightningModuleCallback that operate with stricter guarantees.
In the next breaking release (i.e. 3.0) possibly adjust all callbacks in the standard library to subclass these stubs.

I am unfortunately unable to participate in the OSS code repo here, but I appreciate your work on this framework (which we use heavily)!


how to get _history from NavigatorState

example:
push page1 and push page2 and push page3.
i just want to close page2.
i look code the navigator.dart .I found _history to be private.
how to get _history from NavigatorState?

You can use pushAndRemoveUntil to remove page2 when you are pushing to page3

You can use pushAndRemoveUntil to remove page2 when you are pushing to page3

thank you!
i know pushAndRemoveUntil. but  i only remove page2.
change example:
push page1 and push page2 and push page3 and page4.
current page is page4.  i just want to close page2.

Hi @MrLiuYS
This functionality is planned to be included in an upcoming update to Navigator.
Please follow up on #45938 and feel free to comment there with your case, closing the current issue in order to track it in the mentioned one. You can comment here if you disagree and I'll reopen.
Thank you


App crash on start

Hi my friends,
My developed react native app crash on start after linking this package. When I saw the adb log I found out the problem is the NetInfo package.
The adb log says:
AndroidRuntime: FATAL EXCEPTION: ConnectivityManager AndroidRuntime: Process: com.ostadbankstudentapp, PID: 6236 AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/net/ConnectivityManagerCompat; AndroidRuntime: 	at com.reactnativecommunity.netinfo.ConnectivityReceiver.createConnectivityEventMap(ConnectivityReceiver.java:98) AndroidRuntime: 	at com.reactnativecommunity.netinfo.ConnectivityReceiver.sendConnectivityChangedEvent(ConnectivityReceiver.java:74) AndroidRuntime: 	at com.reactnativecommunity.netinfo.ConnectivityReceiver.updateConnectivity(ConnectivityReceiver.java:67) AndroidRuntime: 	at com.reactnativecommunity.netinfo.NetworkCallbackConnectivityReceiver.updateAndSend(NetworkCallbackConnectivityReceiver.java:92) AndroidRuntime: 	at com.reactnativecommunity.netinfo.NetworkCallbackConnectivityReceiver.access$300(NetworkCallbackConnectivityReceiver.java:27) AndroidRuntime: 	at com.reactnativecommunity.netinfo.NetworkCallbackConnectivityReceiver$ConnectivityNetworkCallback.onAvailable(NetworkCallbackConnectivityReceiver.java:100) AndroidRuntime: 	at android.net.ConnectivityManager$CallbackHandler.handleMessage(ConnectivityManager.java:2642) AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102) AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154) AndroidRuntime: 	at android.os.HandlerThread.run(HandlerThread.java:61) AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.net.ConnectivityManagerCompat" on path: DexPathList[[zip file "/data/app/com.ostadbankstudentapp-2/base.apk"],nativeLibraryDirectories=[/data/app/com.ostadbankstudentapp-2/lib/x86, /data/app/com.ostadbankstudentapp-2/base.apk!/lib/x86, /system/lib, /vendor/lib]] AndroidRuntime: 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:380) AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312) AndroidRuntime: 	... 10 more
Please help me, thanks

You must migration android library  to AndroidX via Android studio>Refactor>Migrate to AndroidX. Don't forgot to check "Backup project as Zip File" and then clean project.

@ebrahimirad 👋 Thanks for submitting this issue. As @Muratoter said, you need to migrate to AndroidX to use the latest version of this library. You should follow these steps:

Take a look at the official AndroidX Migration guide. It's a small change you need to make to you android/gradle.properties file.
If you are using a React Native version before 0.60.0, or any libraries which have not been migrated to AndroidX, you need to use the Jetifier tool to migrate them. Follow the informations in that project.

If none of that works, then please come back here and provide any further information that would help us diagnose the issue.

Hi. I am using react-native: 0.60.5 but still get this issue when I try to run the app after installing the package


ValueLifetimeAnalysis: fix the lifetime computation in case the value…

… definition is in a single-block loop.
This caused DeadObjectElimination to generate a memory leak in case a dead array is in a single-block loop.
rdar://problem/31420889

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 1fa025de26a8d1ba12d009bfafb59fc10cb646ce
Test requested by - @eeckstein

CI failure on Linux is an lldb test failure:
11:26:20 ======================================================================
11:26:20 FAIL: test_watch_val_dwarf (TestSetWatchpoint.SetWatchpointAPITestCase)
11:26:20    Exercise SBValue.Watch() API to set a watchpoint.
11:26:20 ----------------------------------------------------------------------

@eeckstein is this benign/unrelated to this change?

@tkremenek yes, it's unrelated


Three 124

Update to Three 124
Update to Webpack 5
Remove OBJLoader
Add GLTFLoader

Version 0.4.0

Version 0.4.0


Various grafana-bridge Dockerfile updates

Lock base UBI8.4 image to ubi8.4-206
Produce requirements.txt with versioned packages that can be used for python package installation during image build.
Copy apache2 license into grafana-bridge container

@maroche15 I'm not sure, I understand the requirement "Lock base UBI8.4 image to ubi8.4-206" correctly. You mean the Dockerfile from image should look like below?
FROM registry.access.redhat.com/ubi8.4-206/ubi

The image would look like:
registry.access.redhat.com/ubi8/ubi:8.4-206

@maroche15 the requested changes have been included in the release version v7.0.3


buildah[-remote|rhtap]: add BUILD_ARGS param

STONEBLD-2462
Add a BUILD_ARGS array parameter to allow users to pass build args
directly, not just via BUILD_ARGS_FILE.
This provides greater flexibility. Those who just need static build args
can commit a file into their repo and use BUILD_ARGS_FILE. Those who
need dynamic values can create a custom task and incorporate its return
value into the BUILD_ARGS array.

Also:

generate-readme: handle array param defaults
buildah: re-generate README

Tested in my acmiel-tenant namespace with
oc create -f test-pipelinerun.yaml

test-pipelinerun.yaml (click me)
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
  generateName: acmiel-test-
spec:
  pipelineSpec:
    tasks:
    - name: build-container
      params:
      - name: IMAGE
        value: quay.io/redhat-user-workloads/acmiel-tenant/build-service/build-service:test_buildah_build_args
      - name: DOCKERFILE
        value: https://gist.githubusercontent.com/chmeliik/920ee8dc43fd16927996f9f7c597fa56/raw/503729b236fd7ad1a2a97c5118e26016b46cd8af/Containerfile
      - name: CONTEXT
        value: .
      - name: BUILD_ARGS
        value:
          - "THIS_IS_A_LABEL_WITH_SOME_NEWLINES=Hello there!\nGeneral Kenobi."
          - |
            THIS_IS_A_WHOLE_PYTHON_SCRIPT=
            import this

            print()
            print("This was the Zen of Python, brought to you by a silly container build.")
          - |
            AND_THIS_IS_not_SHELL_INJECTION=
            for i in $(seq 1 10); do
              echo "Trying to come up with something funny, attempt $i"
            done
            echo "Failed"
      taskRef:
        params:
        - name: url
          value: https://github.com/chmeliik/build-definitions.git
        - name: revision
          value: build-args-param
        - name: pathInRepo
          value: task/buildah/0.1/buildah.yaml
        resolver: git
      workspaces:
      - name: source
        workspace: workspace

    workspaces:
    - name: workspace

  workspaces:
  - name: workspace
    volumeClaimTemplate:
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 1Gi

Relevant part of the logs (see that the build args got to the buildah build unscathed)
Fetch Dockerfile from https://gist.githubusercontent.com/chmeliik/920ee8dc43fd16927996f9f7c597fa56/raw/503729b236fd7ad1a2a97c5118e26016b46cd8af/Containerfile
Adding the entitlement to the build
STEP 1/9: FROM docker.io/library/python:3.12-alpine
Trying to pull docker.io/library/python:3.12-alpine...
Getting image source signatures
Copying blob sha256:c3cdf40b8bda8e4ca4be0f5fa7f1d128907271efcbc72cbfc7c8b0f939ec25ea
Copying blob sha256:60d2faee92e78fe7518f0ff1645cd7320bf6b140ff885fdec2a1ea1d878f0dca
Copying blob sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8
Copying blob sha256:b62713ed4827911d38bb5a9ac322efa0408b4bb135863b4b15c4bc383e59918b
Copying blob sha256:3a6cecfe70039fd21206783553d33ea4753700f031a2490428311619801d02f7
Copying config sha256:f44387b482817f41bdac1892c45711adaedb3a7dd381844cdc3f360e66314d7a
Writing manifest to image destination
STEP 2/9: ARG THIS_IS_A_LABEL_WITH_SOME_NEWLINES
STEP 3/9: ARG THIS_IS_A_WHOLE_PYTHON_SCRIPT
STEP 4/9: ARG AND_THIS_IS_not_SHELL_INJECTION
STEP 5/9: LABEL acmiel.test/foo=$THIS_IS_A_LABEL_WITH_SOME_NEWLINES
STEP 6/9: RUN python -c "$THIS_IS_A_WHOLE_PYTHON_SCRIPT"
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

STEP 7/9: RUN sh -c "$AND_THIS_IS_not_SHELL_INJECTION"
Trying to come up with something funny, attempt 1
Trying to come up with something funny, attempt 2
Trying to come up with something funny, attempt 3
Trying to come up with something funny, attempt 4
Trying to come up with something funny, attempt 5
Trying to come up with something funny, attempt 6
Trying to come up with something funny, attempt 7
Trying to come up with something funny, attempt 8
Trying to come up with something funny, attempt 9
Trying to come up with something funny, attempt 10
Failed
STEP 8/9: CMD ["echo", "Hello there!"]
STEP 9/9: LABEL "build-date"="2024-05-17T10:43:45" "architecture"="x86_64" "vcs-type"="git"
COMMIT quay.io/redhat-user-workloads/acmiel-tenant/build-service/build-service:test_buildah_build_args

Also
$ skopeo inspect --config docker://quay.io/redhat-user-workloads/acmiel-tenant/build-service/build-service:test_buildah_build_args | jq .config.Labels
{
  "acmiel.test/foo": "Hello there!\nGeneral Kenobi.",
  "architecture": "x86_64",
  "build-date": "2024-05-17T10:43:45",
  "io.buildah.version": "1.31.0",
  "vcs-type": "git"
}

Should we expose this parameter in the pipeline definitions that we produce?

Added :+1:
Also required fixing the generate-pipelines-readme script to handle arrays

/retest
missed the failure

/retest

We had too many Secrets linked to the appstudio-pipeline SA in the build-templates-e2e namespace, causing extremely large Pod requests that got rejected by the etcd server. The Applications in the namespace were cleaned up by @psturc :pray:
CI should have a better chance of working now.

/retest


We need to do permission check in namespaced scope.  For example the user can upload/delete/list files in a dataset only when it can create/update/delete versioenddataset in that namesapce

          We need to do permission check in namespaced scope.  For example the user can upload/delete/list files in a dataset only when it can create/update/delete versioenddataset in that namesapce

Originally posted by @bjwswang in https://github.com/kubeagi/arcadia/pull/235#discussion_r1399995303

@dayuy pls add some comment, so that I can assign this issue to you.

Hi

In my opinion, uploading/deleting files is an independent function that can be conveniently utilized in any location. Can the permission check at the outer layer? @bjwswang  @0xff-dev

tracked at #242


Copyright symbol missing in the Footer

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There is always a copyright symbol near "Copyright" text in the websites which is missing here.

I want you to assign this issue to me under GSSOC'24.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I would like to work on this project. Please assign it to me.


mq(ticdc): fix mq close panic.

What problem does this PR solve?

Issue Number: close #7121
What is changed and how it works?
check the pointer before call it
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

Codecov Report

Merging #7122 (66d87fa) into master (2a4d28a) will decrease coverage by 0.0351%.
The diff coverage is 59.8885%.

Additional details and impacted files

Flag
Coverage Δ

cdc
67.0805% <68.5185%> (-0.0499%)
:arrow_down:

dm
51.8057% <45.2381%> (-0.0016%)
:arrow_down:

engine
62.8001% <58.8235%> (+0.0617%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #7122        +/-   ##
================================================
- Coverage   59.8189%   59.7838%   -0.0352%
================================================
  Files           793        791         -2
  Lines         90799      90655       -144
================================================
- Hits          54315      54197       -118
+ Misses        31710      31694        -16
+ Partials       4774       4764        -10

/run-all-tests

Manual test

How to reproduce and test it?

I'm curious as to why we wouldn't have encountered this problem originally.

Manual test

How to reproduce and test it?

Deploy 1 Kafka server, create a changefeed with replication-factor as 2, this failed and cause the server panic.

I'm curious as to why we wouldn't have encountered this problem originally.

it looks the problem introduced since v6.0.0. https://github.com/pingcap/tiflow/pull/5302/files#diff-55a9a4424fd834ec23f010504e478b5b98b36ad6c267c3807dbb36bd433fd3a5R496

I'm curious as to why we wouldn't have encountered this problem originally.

I guess it is cuz we have never met a new sink error in processor before, since we would check sink config and try to new it at the first place we creat a changefeed.

/merge

/merge

/run-all-tests

/run-kafka-integration-test


[ts] 5/n Add PaLM to Default Model registry

[ts] 5/n Add PaLM to Default Model registry
What
Add PaLM Text to default model list

Stack created with Sapling. Best reviewed with ReviewStack.

-> #396
#397
#394
#376
#375
#395

Yo let's add test plan in comments my dude...


add logo in readme

Codecov Report

Merging #38 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   91.69%   91.69%
=======================================
  Files          10       10
  Lines         349      349
=======================================
  Hits          320      320
  Misses         29       29

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdced19...fc536f9. Read the comment docs.


added isNew node property to add an extra class to new nodes

Hi! Thanks for contributing.
Can you give some information on the scenario where this is used? It looks interesting, but I don't think it's a common case that most people are likely to use this. I prefer a solution that is more universal & flexible. For instance: https://deploy-preview-2289--react-select.netlify.com/styles#base-and-state

The use case is when default values loaded and the user selects a new value from the dropdown. The new value gets a different color (green in this case), so the user can see which values are added.
I agree with you about the universal and flexible solution, but I can't see where I should implement the code you linked to.


Send via proxy

Hi! I haven't found any settings, that mkes enable FCM::sendTo via proxy. My server environment do not allow direct connection to any hosts, but makes it possibel only via proxy.
Can you tell me how can I set this up as an option? Thank you

same here, please provide proxy 😁


about us page updated

Description
made the page responsive and updated it with some new things
Checklist

[x] I am making a proper pull request, not spam.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
#315
Add relevant screenshot or video (if any)

Will do rest all the changes.. but I feel that animated about card was not looking good. That's why I just changed it

Will do rest all the changes.. but I feel that animated about card was not looking good. That's why I just changed it. Rest what ever you say. Just sharing my opinion

okay. remove the floating animation.

@khushimarothi all right. remove the floating animation.

Please check now


Visibility of roads/railway on zoom <11

Hey,
I read a lot about mapbox studio and i know that from default tiles on zooms like 10,11 are not displaying smaller roads.
But maybe you have some solutions that I could display roads on zooming out?

I have the same issue, it seems weird and counterintuitive.
This has been discussed in issue #1316.

If you want rail at higher zoom levels, you will need to create your own data source.

Bummer. Hope that helps :)


List new features from v1.8

Blocked until v1.8 is out.

https://opentofu.org/blog/opentofu-1-8-0/


GEODE-5487 Choice of detect read conflict on transaction commit on a …

…per-region basis.
Implemented
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

I like Darrel's idea of setting detectReadConflicts per transaction. I think It is much simpler for user to do it this way.
However, this could only be set in commit(boolean detectReadConflicts) not in begin() method, as we do not send message when transaction begin.
Please note use this approach, you may need to handle message sending between two different version servers (geode supports rolling upgrade).

@enedzvetsky, is work on this ongoing?  If you'd like to address the comments raised, we'd love to bring your work in.  Otherwise, we might want to close this PR for now and can reopen a new PR in the future.

Closing, presuming work has stalled.  Please open a new PR when the work is brought up-to-date.


Gh-3253 Fix custom types in gremlin

Fixes the usage of custom Gaffer types not being able to be handled by a Gremlin client.
Works by simply making sure whenever conversion from Gaffer element to Tinkerpop element any custom types are converted to string representation and vice versa so that results can be parsed fine by a Gremlin client or Gaffer. This does mean slight overhead as conversions will happen even if Gremlin does not return the step result to the client but there is no way round this as each Gremlin step in theory can be returned so always needs any custom types converted.
Main type that is always converted is the Gaffer TypeSubTypeValue but more could be added, the string format has also been changed to be the same as the .toString so can more easily pass back in results, but a slight short hand is also accepted in Gremlin queries like [type=thetype,subType=thesubtype,value=thevalue]
Related issue

Resolve #3253

All looks fine, just need to remember to update the docs with the new TSTV String format.
Am I right in thinking this means you can no longer get a TSTV object from a GafferPop graph, you'll only ever get the String in case you're querying from the server?
If so, assuming actual TSTV objects is something users would want, should we add a helper method to create a TSTV from the String representation to save them from parsing it themselves on the other end? e.g. a new constructor or a static TypeSubTypeValue.from(tstvString)

All looks fine, just need to remember to update the docs with the new TSTV String format.
Am I right in thinking this means you can no longer get a TSTV object from a GafferPop graph, you'll only ever get the String in case you're querying from the server? If so, assuming actual TSTV objects is something users would want, should we add a helper method to create a TSTV from the String representation to save them from parsing it themselves on the other end? e.g. a new constructor or a static TypeSubTypeValue.from(tstvString)

Ignore me, you can do that with the new custom types factory
I was thinking we could have something more concrete that would return a TSTV or throw if invalid or something but it would just be a duplication of this method and it's probably fine as is

All looks fine, just need to remember to update the docs with the new TSTV String format.
Am I right in thinking this means you can no longer get a TSTV object from a GafferPop graph, you'll only ever get the String in case you're querying from the server? If so, assuming actual TSTV objects is something users would want, should we add a helper method to create a TSTV from the String representation to save them from parsing it themselves on the other end? e.g. a new constructor or a static TypeSubTypeValue.from(tstvString)

You are right basically, if the results are returned as Tinkerpop a Vertex or Edge it will have any custom types made safe as strings, you can always pass these back through a Gaffer element generator to make them into a Gaffer Entity or Edge though which will convert the types back or use the static util method.


Update sbt-wartremover, wartremover to 2.4.19

Updates

org.wartremover:sbt-wartremover
org.wartremover:wartremover

from 2.4.13 to 2.4.19.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.wartremover" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #143.


Addition of a Postgres Source

For my project, I implemented a PG based source. It assumes the existence of a kafka_acl table with the same format as the CSV.
Would the inclusion of such a module be appreciated/wanted in this library?

Hi
I think this would be a great addition!
Cheers
Stephane


loongarch64-3C5000-version-ttyd

Describe your problem or question here.
CPU Arch: loongarch64
CPU: 3C5000
OS: Loongnix-Server-8.3
Support: ttyd.longarch64

It will be available when the cross toolchain for this arch is out.
or you can compile it on a longarch bard yourself, if you own a hardware.

I have compiled it on a longarch64 machine，but there is a problem with the output file(ttyd)
Summary：
1、ttyd -p 14377 bash    #can input and run bash environment
2、ttyd -p 14377 login    #cannot input anything（black screen lock）,No account and password input prompt
Compilation process：
wget https://codeload.github.com/warmcat/libwebsockets/zip/refs/heads/v3.2-stable
unzip 3.2-stable.zip
cd libwebsockets-3.2-stable
mkdir build
cd build
cmake .. -DLWS_WITH_LIBUV=ON -DBUILD_SHARED_LIBS=OFF
make
make install
dnf install json-c-devel libwebsockets-devel libuv-devel zlib-devel -y
git clone https://github.com/tsl0922/ttyd.git
cd ttyd
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=OFF
make
make install
@tsl0922

login command is platform specific, it's not ttyd's issue if bash works.


refactor: remove flyway (#4353)

What's the purpose of this PR
Related #4353
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Read the Contributing Guide before making this pull request.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit tests to verify the code.
[x] Run mvn clean test to make sure this pull request doesn't break anything.
[ ] Update the CHANGES log.

@nisiyong As this is a breaking change for flyway users, I think it's better to update the CHANGES.md to reflect this change.

Okay


[Diagram] Foreach may show what it's looping through

Issue is no longer valid for Swan Lake release. Hence, closing it.

Issue is no longer valid for Swan Lake release. Hence, closing it.


Add separate site with better docs

Is your feature request related to a problem? Please describe.
The docs for both ActiveLogin.Authentication and ActiveLogin.Identity starts to grow. We should create a common docs site (suggestion https://docs.activelogin.net/) that covers them both in a more proper way. In addition to the written docs, now available as markdown files here, were should auto generate documentation out of the code documentation available (as we have been quite good at filling those out).
What area is it related to
Docs
Describe the solution you'd like
I notice that projects like ghostly uses Statiq, could that be an option?
https://github.com/patriksvensson/ghostly/tree/main/docs

Just found this. Very relevant.


for loop fix to follow math formula

for loop not following mathematical formula

Hi @elfelround ,
thanks for the suggestion. I agree with your suggestion, it is more general. However, I think the division by s should be (len(x_padded) - len(w_rot) ) / s so in the suggested change, one parentheses is missing.
In this function, the assumption is that we are using "same" padding, that's why we also compare with np.convolve(x, w, mode='same'). The current formulation in this function would work for any combination of kernel-size and padding-size that results in "same"-padding, for example if kernel has size 3, and padding p=1, the function would still work.
I will discuss it with Sebastian for this change. I appreciate your suggestion. 👍 :

yes, the missing parenthesis is true, i changed the code on my own code but forgot it in here
I wouldnt say it is the assumption of same padding, it is more like a hardcoded magic number, if it was an assumption of same padding it wouldnt allow for padding to be passed upon call but calculate itself

Hello @elfelround! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file ch15/ch15_part1.py:

Line 83:69: E701 multiple statements on one line (colon)

@pep8speaks fixed

@pep8speaks now

Thanks a lot for the PR. I agree with Vahid, your suggestions is closer to the math formula in the book and the more general solution. While the current one (for i in range(0, int(len(x)/s), s)) works here, it wouldn't work for settings where p=0, for example. Thanks for correcting that!

submitted a packt digital credit request for a pdf upon this and the pickle issue today as erick lestrange. cheers

Just wanted to say thanks again for all the feedback. You have a great eye for detail. We really appreciate it!

@rasbt i have more errata but they are mainly irrelevant typos. crushing on you and your book was really good, enjoyed every bit of it, ure welcome to add me on linkedin if in the future or not both are fine
linkedin.com/in/ericklestrange/
xx

Thanks so much for the kind words! And I am glad to hear that you have a good experience with the book overall! If it is not too much effort to type them up, I'd be great to get a list of these typos. With traditional publishing, it's hard to get things updated retrospectively, but it would be useful in case we are planning a 4th edition one day.


Javascript -- v1.2.0: Reimplement ems transpilation, and swap to it as the default.

What issue is this addressing?
It would seem that previously setting the esm tsconfig's module to nodenext replaced the previously existing ems output and replaced it with two copies of the cjs output.
What type of issue is this addressing?
bug
What this PR does | solves

set "type": "module" and swap default main and types to the esm build.
Updates all actions/setup-node
Tightens up the .demo's npm run everything to actually test both cjs and esm instances against "CommonJS" and "ESNext" generated demo code.
Add loader and es-module args to mocha's rc, and added a mocha tsconfig to extend esm's with allowImportingTsExtensions
All tests/**.spec.ts now refer to their imports with the appropriate .ts extension.
All src/**.ts now refer to their imports with the appropriate .js extension (as this will be what the transpiled file's extensions will be besides the index.[c,m]js)
Left build:esm:ftype::wip and build:cjs:ftype::wip incase the next iteration requires automating having all .cjs files import from other .cjs files and likewise for .mjs files importing from other .mjs files. But we've got around it for now by having a package.json that specifies its type in the root of the lib/cjs and /lib/ems..

This solved the issue that was blocking chai from updating the v5; see https://github.com/chaijs/chai/issues/1597
Also see https://github.com/mochajs/mocha/issues/4900 as this solved the issue regarding esm testing with mocha, by extending the esm tsconfig to make a mocha tsconfig with the required allowImportingTsExtensions option set. Also related was this https://github.com/mochajs/mocha-examples/issues/47 set of suggested config.


Add ZIO style System core effect.

I'm coming from ZIO and was looking to the equivalent of what I would do in ZIO with kyo, and noticed that kyo currently doesn't have a core System effect/service.
I would expect this to provide the same functionality as ZIO's.
In summary:

[ ] Access the environment using env
[ ] Access properties via properties
[ ] Access lineSeparator

I may also suggest providing support for providing the User's home directory in a platform agnostic manner, but this is admittedly beyond the scope of what ZIO's System service provides.

providing the User's home directory in a platform agnostic manner

Maybe something based on https://github.com/dirs-dev/directories-jvm ?


Ollie: Watch 99944 81342

Ollie requests the watch of the watch_number 99944 81342. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Makyen in Charcoal HQ


Manage resource table broken after uploading zipped resource folder

As per title. Likely result of importing without having made subsequent modifications immediately afterwards such as editing the metadata.
The following fix can be applied in the meantime, until v2.4 is released including the fix:

Manually add the following line to the resource.xml of the resource that was just uploaded:
<modified>2016-12-23 10:43:51.975 UTC</modified>
Restart Tomcat

Not applicable for the datatables backend processing


Typo in method name: Lantency -should be latency

https://github.com/neo-ngd/Happynodes/blob/4306071dc73b85be118ea7b92560b960ee4e1912/neo-collector/insert/insertData.py#L74
get_lantency -> get_latency

fixed by #28


Hide the hero picture, on the homepage only with the code injection page

Hi, is it possible to hide the hero picture, tittle and description on the homepage only with the code injection page which is included in Ghost??
Best regards!

If I understand correctly, then something like this might do the trick:
<style>
body[class~="home-template"] > main > section.m-hero { display: none; }
</style>

That will hide the header section completely, and only on the home page.

Thank you!


How do I swap the positions of the characters and their strumlines and icons from the beginning of a song.

Describe your problem here.
Hi. I'm making a spamton mod and I want to have bf and his icon and strumline on the left and spamton and his icon and strumline on the right, since thats the way you would face in deltarune if you were following the story. Heres an example: https://www.youtube.com/watch?v=ntIQxCxTP_g . I'd prefer to do this in lua if possible but if I have to do it in the actual source code then that works too. I don't want it to effect every song, just one.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Make another character json of spamton and bf with spamton having "Playable character" checked and "Flip X" for bf. About the noteswap just give me a second.

What about the icons though

switch.zip

What about the icons though

If you want I could flip.

I can flip the x but I’m talking about having them switch sides

be sure to put the script in the song folder, for example: mods/data/song-name

Alr thx

Make another .json using the same characters and put them where the you want them to be.


Add option to ignore certain files

I have a single file that works as an index to almost all other files. In Obsidian I also use a graph, where I can ignore this index.md file.
Omitting my index will give clearer results as I won't see all notes, but just the ones that are linked to each other directly, not just by both being present in my index file. Of course, other usecases could be thought of, so please add something where a pattern can be given for filenames to ignore.

Came here to request the same feature for the same purpose!

I would still really like this feature :)


Add helper to scan the I2C bus for devices

The idea is to have something similar to i2cdump to help debug why a device isn't working. This would be nice to have when running on Nerves which doesn't include the i2c tools by default.

Added I2c.detect_devices/1


flyctl: 0.470 -> 0.473

Description of changes
https://github.com/superfly/flyctl/releases/tag/v0.0.473
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 218978 run on x86_64-linux 1

1 package built:

flyctl


Issues connecting through proxy

Does portalpy implement any more robust handshaking protocols to connect to ArcGIS Online through a proxy?  Attempts to use urllib2 have failed.  Only pycurl seems to be robust enough.  Any suggestions on how to work around this issue are welcome.  The base error thrown when trying to connect is, "URLError: <urlopen error [Errno 11004] getaddrinfo failed>".

@gpalovchik I think you'll find a lot of additional options and some enhanced support for connecting through a proxy here: https://github.com/Esri/ArcREST
@achapkowski will have further ideas.

ArcRest supports proxys in its security handler, you just need to provide it with your username and password.  For portalpy, you may have to set up the proxy in the https environment variable, or manually set it on the urlib2 using proxy handlers, but this takes some work.


Device is getting activated( Provisioning) with the new AMT password given at the time of profile creation.

1.Device is getting activated( Provisioning) with the new AMT password given at the time of profile creation. Tried to login to MEBX screen with the new password, unable to login with the new password but accepting old password.
2.Also if we have MEBX and using that in BIOS and at config creations then why do we need AMT password.

Closing issue as resolved in 1.1


Setting Port Number

Is your feature request related to a problem? Please describe.
When someone has several instances of tgcf running on the same machine the instances grab the next free port, beginning with 8501.
Describe the solution you'd like
I'd like to have the option to set the port number that tgcf binds to.
Describe alternatives you've considered
Starting several instances with one script is not practial. Using Docker for several instances is also not practical because every instance has more than 2 GB data.
Additional context
Running several instances on the same machine is most practial from the point of ressources, but not predictable in relation of the port number a tgcf instance is using.

I run three instances of TGCF on the same machine, each with a different port and using a different Python virtual environment without any issues. TGCF 1 runs on the default Streamlit port, 8501, while TGCF 2 and 3 run on my chosen ports, which i configured by changing the default Streamlit port in the Streamlit configuration.

Where in the configuration?
What parameters to provide?

Why do you run 3 instances? Do you use 3 different api_id and api_hash?

@uwedisch
Find the streamlit configuration on
/your-TGCF-directory/.venv/lib/python3.~/site-packages/streamlit/config.py

Change the default value to any port of your choice and restart your TGCF
@poliandro
Yes, i run three different TGCF instances, each serving a different purpose, on the same machine/VPS with three different TG APIs and hashes

@uwedisch Find the streamlit configuration on /your-TGCF-directory/.venv/lib/python3.~/site-packages/streamlit/config.py

Change the default value to any port of your choice and restart your TGCF

What is about updates when config.py receiving changes because of changed package? Are getting these changes and my changes merged?

Anyone get this to work using docker images?

i was manage to make it work but now i have built my own because it's more reliable and act more like human

I'm also using Docker with my own image for two containers.


Domain Events

First of all, thank you for this great repo.
When you talk about domain events, you note that you have implemented your own version because NestJS CQRS lacks await. Maybe I’m misunderstanding, but I think the events are now reactive, so you can await them and even get a result https://docs.nestjs.com/recipes/cqrs#events

I mean when publishing events with eventBus.publish(new Event()) there is no option to await for all events to finish.
So, imagine that you have a situation like this:
const user = new User();
this.eventBus.publish(new UserCreatedEvent()); //  <- this will not wait for events to finish
await this.repository.save(user);
return user; // <- consumer of your api will get a user before published events are executed

Now lets say that you have event handlers somewhere listening for a UserCreatedEvent, for example you need to create a wallet for a user when a user is created, and save it to the db.
If you don't await for the publisher to finish executing all the events your function will return right after user is saved to the database, without waiting for a wallet creation.
It is reactive sure, but what if after saving a user your api/database crashes? Your wallet will never be created. Reactive events are good when you have a mechanism to retry sending an event in case of a failure (for example if you use message brokers like RabbitMQ), but NestJS CQRS event bus is in-memory, so in case of a crash/restart it will just lose all the events. Some events will be executed, some not. This means you will have inconsistent data everywhere.
On the other hand, when a publisher lets you await for all domain events to finish (which NestJS CQRS doesn't) you can include all those events in a single transaction and if one event fails none of the data gets persisted. Its all or nothing.
I hope this answers your question


Add AuditLog component

@mareklibra can you provide more details what is it about?

The idea was about rendering audit log messages from oVirt

which logs though? users are not administrators

Right, it would be rendered for admins only.
But this is just nice-to-have.

It's just an idea, planed for "Future release"

I don't think this fits the scope of the product. Closing


PowerISO 6.7 fails to install

FYI: I'm getting a checksum error:
ERROR: Checksum for 'C:\Users\bcurran\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.exe' did not meet 'b8c6a05c6322d1884f0c5347dfde9d1f95ab58218a20b9c884d3a5e78b315d8d' for checksum type 'sha256'. Consider passing --ignore-checksums if necessary.
The install of poweriso was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\poweriso\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

poweriso (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\poweriso\tools\chocolateyInstall.ps1'.
See log for details.

thanks for creating the issue, I'm about to head for bed, but I'll take a look at fixing this tomorrow

hmm, looks like the checksum changed again before it was done testing on chocolatey.

Thats phantom package. You can force update on remote hashsum change:
https://github.com/majkinetor/au-packages/blob/master/cpu-z.install/update.ps1#L18-L39

@majkinetor I did push that package today, if this happens every day an alternative needs to be found

It was happeneing quite often with cpu-z too, and then it stopped.
Embedding is alternative, somebody could write them, if they don't respond, I would unlist it because they don't know what they are doing or they are hacked.

I'm trying something out, as far as I could tell the url changes on each request so it could potentially be
that the previous url is redirected to a somewhat changed installer.

https://github.com/chocolatey/chocolatey-coreteampackages/pull/478

Still does this for me
>choco install -y poweriso
Installing the following packages:
poweriso
By installing you accept licenses for the packages.

poweriso v6.7
 Error - hashes do not match. Actual value was '71A34162D772048B24753AF8B170CF708E25A25C756E6D892C5A5AB1ABCA503E'.
 Checksum for 'C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.exe' did not meet 'b8c6a05c6322
 d1884f0c5347dfde9d1f95ab58218a20b9c884d3a5e78b315d8d' for checksum type 'sha256'.
 At C:\ProgramData\chocolatey\helpers\functions\Get-CheckSumValid.ps1:59 char:5
 +     throw "Checksum for `'$file'` did not meet `'$checksum`' for chec ...
 +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : OperationStopped: (Checksum for 'C... type 'sha256'.:String) [], RuntimeException
     + FullyQualifiedErrorId : Checksum for 'C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.
    exe' did not meet 'b8c6a05c6322d1884f0c5347dfde9d1f95ab58218a20b9c884d3a5e78b315d8d' for checksum type 'sha256'.
The install of poweriso was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\poweriso\tools\chocolateyInstall.ps1'.
 See log for details.

Also fails with --ignore-checksums
>choco install -y --ignore-checksums poweriso
Installing the following packages:
poweriso
By installing you accept licenses for the packages.

poweriso v6.7
 WARNING: Ignoring checksums due to feature checksumFiles = false or config ignoreChecksums = true.
 Installing poweriso...
 Exception calling "Start" with "1" argument(s): "The file or directory is corrupted and unreadable"
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:76 char:3
 +   $s = [System.Diagnostics.Process]::Start($psi)
 +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
     + FullyQualifiedErrorId : Win32Exception
 You cannot call a method on a null-valued expression.
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:81 char:3
 +   $s.StandardError.ReadToEnd() | Out-File $errorFile
 +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
     + FullyQualifiedErrorId : InvokeMethodOnNull
 You cannot call a method on a null-valued expression.
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:82 char:3
 +   $s.WaitForExit()
 +   ~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
     + FullyQualifiedErrorId : InvokeMethodOnNull
 Get-Content : Cannot find path 'C:\Users\zachu\AppData\Local\Temp\chocolatey\-error.stream' because it does not exist.
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:88 char:21
 +       $innerError = Get-Content $errorFile | Out-String
 +                     ~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : ObjectNotFound: (C:\Users\zachu\...y\-error.stream:String) [Get-Content], ItemNotFoundEx
    ception
     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
 [ERROR] Running C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.exe with /S  was not successf
 ul. Exit code was '' Error Message: .
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:92 char:5
 +     throw $errorMessage
 +     ~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : OperationStopped: ([ERROR] Running...rror Message: .:String) [], RuntimeException
     + FullyQualifiedErrorId : [ERROR] Running C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstal
    l.exe with /S  was not successful. Exit code was '' Error Message: .
The install of poweriso was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\poweriso\tools\chocolateyInstall.ps1'.
 See log for details.```

Still does this for me
>choco install -y poweriso
Installing the following packages:
poweriso
By installing you accept licenses for the packages.

poweriso v6.7
 Error - hashes do not match. Actual value was '71A34162D772048B24753AF8B170CF708E25A25C756E6D892C5A5AB1ABCA503E'.
 Checksum for 'C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.exe' did not meet 'b8c6a05c6322
 d1884f0c5347dfde9d1f95ab58218a20b9c884d3a5e78b315d8d' for checksum type 'sha256'.
 At C:\ProgramData\chocolatey\helpers\functions\Get-CheckSumValid.ps1:59 char:5
 +     throw "Checksum for `'$file'` did not meet `'$checksum`' for chec ...
 +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : OperationStopped: (Checksum for 'C... type 'sha256'.:String) [], RuntimeException
     + FullyQualifiedErrorId : Checksum for 'C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.
    exe' did not meet 'b8c6a05c6322d1884f0c5347dfde9d1f95ab58218a20b9c884d3a5e78b315d8d' for checksum type 'sha256'.
The install of poweriso was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\poweriso\tools\chocolateyInstall.ps1'.
 See log for details.

Also fails with --ignore-checksums
>choco install -y --ignore-checksums poweriso
Installing the following packages:
poweriso
By installing you accept licenses for the packages.

poweriso v6.7
 WARNING: Ignoring checksums due to feature checksumFiles = false or config ignoreChecksums = true.
 Installing poweriso...
 Exception calling "Start" with "1" argument(s): "The file or directory is corrupted and unreadable"
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:76 char:3
 +   $s = [System.Diagnostics.Process]::Start($psi)
 +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
     + FullyQualifiedErrorId : Win32Exception
 You cannot call a method on a null-valued expression.
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:81 char:3
 +   $s.StandardError.ReadToEnd() | Out-File $errorFile
 +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
     + FullyQualifiedErrorId : InvokeMethodOnNull
 You cannot call a method on a null-valued expression.
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:82 char:3
 +   $s.WaitForExit()
 +   ~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
     + FullyQualifiedErrorId : InvokeMethodOnNull
 Get-Content : Cannot find path 'C:\Users\zachu\AppData\Local\Temp\chocolatey\-error.stream' because it does not exist.
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:88 char:21
 +       $innerError = Get-Content $errorFile | Out-String
 +                     ~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : ObjectNotFound: (C:\Users\zachu\...y\-error.stream:String) [Get-Content], ItemNotFoundEx
    ception
     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
 [ERROR] Running C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstall.exe with /S  was not successf
 ul. Exit code was '' Error Message: .
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:92 char:5
 +     throw $errorMessage
 +     ~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : OperationStopped: ([ERROR] Running...rror Message: .:String) [], RuntimeException
     + FullyQualifiedErrorId : [ERROR] Running C:\Users\zachu\AppData\Local\Temp\chocolatey\poweriso\6.7\powerisoInstal
    l.exe with /S  was not successful. Exit code was '' Error Message: .
The install of poweriso was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\poweriso\tools\chocolateyInstall.ps1'.
 See log for details.```

@Zachu looks like the fix was never pushed to chocolatey when it was merged.
I'll get around to pushing it later today, sorry about the delay.


FancyZones crashes Microsoft Photos when maximizing window.

Microsoft PowerToys version
0.58.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Windows 11, 21H2 (22000.675)
Microsoft.Photos.exe, version: 2021.21120.8011.0
Used to happen every time i viewed a photo from Explorer. I repaired and reset the windows app via settings. Now it only happens when i maximized the Microsoft.Photos.exe window. No snapping to zones or moving of window needed.
Something is wrong in connection to Windows.UI.Xaml.dll
Solution: Added app to FancyZones exclusion list and it fixed the problem.
✔ Expected Behavior
No response
❌ Actual Behavior
Faulting application name: Microsoft.Photos.exe, version: 2021.21120.8011.0, time stamp: 0x61b15fec
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.22000.675, time stamp: 0x16f23f36
Exception code: 0xc000027b
Fault offset: 0x0000000000834980
Faulting process ID: 0xc38
Faulting application start time: 0x01d86939c29941d2
Faulting application path: C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2021.21120.8011.0_x64__8wekyb3d8bbwe\Microsoft.Photos.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report ID: bafe7ff9-5e6f-4313-81b1-1afd6df1bb8e
Faulting package full name: Microsoft.Windows.Photos_2021.21120.8011.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Other Software
No response

Disabled FancyZones in settings and it still crashed  Microsoft.Photos.exe
I then re-eanbled and added to exclusions, but now it crashes even after that. What?
Killed powertoys, check again. Photos.exe still crashes.
Hmm, confused.

Since it's crashing when FancyZones isn't even running, the problem is with Microsoft.Photos app itself.

Confirmed its a problem with Photos.exe.
Uninstalling Microsoft.Windows.Photos and Microsoft.UI.Xaml.2.0, then reinstalling Photos via MS Store fixes most of the problems. Still crashes sometimes, but not all the time.


Fix fuzz go.sum issue

Doesn't seem to have worked...

Doesn't seem to have worked...

It is this go bug which is causing this issue https://github.com/golang/go/issues/44129

@dlorenc Hopefully this should have fixed the problem. It is a hack until we move to go 1.17.


Don't pass meter descriptions as units

Description
When publishing as prometheus metrics the kafka gauge metrics are exported as
# TYPE messaging_kafka_consumer_queue_message_count_Number of ops (callbacks, events, etc) waiting in queue for application to serve with rd_kafka_poll() gauge
# UNIT messaging_kafka_consumer_queue_message_count_Number of ops (callbacks, events, etc) waiting in queue for application to serve with rd_kafka_poll() Number of ops (callbacks, events, etc) waiting in queue for application to serve with rd_kafka_poll()
messaging_kafka_consumer_queue_message_count_Number of ops (callbacks, events, etc) waiting in queue for application to serve with rd_kafka_poll()

This may be because the description is passed as a unit.
Fixes #6447
Checklist

Is this feature complete?

[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[ ] Yes
[x] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[ ] Yes
[ ] No

[x] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[x] No

Does the change require an update in our Aspire docs?

[ ] Yes

Link to aspire-docs issue:

[x] No

Microsoft Reviewers: Open in CodeFlow

@dotnet-policy-service agree

@samsp-msft @JamesNK

Looks like a cut and dried bug. Second argument is unit, not description.
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics.meter.createcounter?view=net-8.0#system-diagnostics-metrics-meter-createcounter-1(system-string-system-string-system-string)

Does this need to be backported?

@gansb Thanks for the fix!
@eerhardt Can you manage getting this backported to 9.0?

/backport to release/9.0


h2quic.RoundTripper reusing dead Session / Connection

h2quic.RoundTripper keeps a cached session to every host in a map.
However, if i understand correctly from the source code, if there is any connectivity problem to a host, qerr.NetworkIdleTimeout is returned as an error from the runLoop, causing the client connection to be closed. Even when the client connection has been closed, h2quic.RoundTripper still keeps the dead client with the stale connection it has in its map, and tries to reuse the dead client/session on the next RoundTrip() to the same host. This causes third-party libraries that uses h2quic.RoundTripper like Caddy to not be able to recover on failed connectivity.
I thought a better idea would be to automatically detect and flush stale sessions/clients from h2quic.RoundTripper. This could be done via client.session.Context or some sort of client.isConnClosed()?
Is this bug valid? If so I would like to attempt a fix on this and submit a PR.

Duplicate of #765.


[compactor] Downsampling error when downsampling deduped block

Thanos, Prometheus and Golang version used: 0.32.2

Object Storage Provider: Azure
What happened: Compactor fails to downsample a block with the following error:
ts=2023-09-04T08:56:35.688668329Z caller=intrumentation.go:67 level=warn msg="changing probe status" status=not-ready reason="error executing compaction: first pass of downsampling failed: downsampling to 60 min: downsample block 01H9FB4YMTT0BNKVRVQKHNRXDF to window 3600000: downsample aggregate block, series: 1899: invalid size"

What you expected to happen: The block can be downsampled from 5m to 60m resolution
How to reproduce it (as minimally and precisely as possible): This is quite complicated. I will try and describe what happened as precisely as possible:

run Thanos for > 1 year without deduping in the compactors -> many individual streams in bucket with receive_replica external labels and same tenant_id external label
enable compactor deduplication by setting --deduplication.replica-label=receive_replica
enable penalty algorithm (----deduplication.func=penalty), as compaction of already downsampled blocks was failing, presumably due to failing assumptions of one-to-one dedupe algorithm
leave to run for 2 days -> all seemed to be working
downsampling of the first 5m block that was formed from already downsampled blocks fails with the given error

Full logs to relevant components:
Logs

ts=2023-09-04T08:56:33.626230473Z caller=compact.go:1419 level=info msg="start of GC"
ts=2023-09-04T08:56:33.626417909Z caller=compact.go:1442 level=info msg="start of compactions"
ts=2023-09-04T08:56:33.626660602Z caller=compact.go:1478 level=info msg="compaction iterations done"
ts=2023-09-04T08:56:33.626689005Z caller=compact.go:434 level=info msg="start first pass of downsampling"
ts=2023-09-04T08:56:33.729098296Z caller=fetcher.go:487 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=102.795866ms duration_ms=102 cached=146 returned=35 partial=0
ts=2023-09-04T08:56:33.829870428Z caller=fetcher.go:487 level=info component=block.BaseFetcher msg="successfully synchronized block metadata" duration=100.653163ms duration_ms=100 cached=146 returned=35 partial=0
ts=2023-09-04T08:56:35.016484486Z caller=downsample.go:362 level=info msg="downloaded block" id=01H9FB4YMTT0BNKVRVQKHNRXDF duration=1.185885634s duration_ms=1185
ts=2023-09-04T08:56:35.688252109Z caller=streamed_block_writer.go:178 level=info msg="finalized downsampled block" mint=1692230401392 maxt=1693440000000 ulid=01H9FPGWFVHQE2CXF8G5DHCFNP resolution=3600000
ts=2023-09-04T08:56:35.688668329Z caller=intrumentation.go:67 level=warn msg="changing probe status" status=not-ready reason="error executing compaction: first pass of downsampling failed: downsampling to 60 min: downsample block 01H9FB4YMTT0BNKVRVQKHNRXDF to window 3600000: downsample aggregate block, series: 1899: invalid size"
ts=2023-09-04T08:56:35.688691523Z caller=http.go:91 level=info service=http/server component=compact msg="internal server is shutting down" err="error executing compaction: first pass of downsampling failed: downsampling to 60 min: downsample block 01H9FB4YMTT0BNKVRVQKHNRXDF to window 3600000: downsample aggregate block, series: 1899: invalid size"
ts=2023-09-04T08:56:35.688735665Z caller=http.go:110 level=info service=http/server component=compact msg="internal server is shutdown gracefully" err="error executing compaction: first pass of downsampling failed: downsampling to 60 min: downsample block 01H9FB4YMTT0BNKVRVQKHNRXDF to window 3600000: downsample aggregate block, series: 1899: invalid size"
ts=2023-09-04T08:56:35.688751953Z caller=intrumentation.go:81 level=info msg="changing probe status" status=not-healthy reason="error executing compaction: first pass of downsampling failed: downsampling to 60 min: downsample block 01H9FB4YMTT0BNKVRVQKHNRXDF to window 3600000: downsample aggregate block, series: 1899: invalid size"
ts=2023-09-04T08:56:35.688861491Z caller=main.go:161 level=error err="downsampling to 60 min: downsample block 01H9FB4YMTT0BNKVRVQKHNRXDF to window 3600000: downsample aggregate block, series: 1899: invalid size\nfirst pass of downsampling failed\nmain.runCompact.func7\n\t/app/cmd/thanos/compact.go:445\nmain.runCompact.func8.1\n\t/app/cmd/thanos/compact.go:481\ngithub.com/thanos-io/thanos/pkg/runutil.Repeat\n\t/app/pkg/runutil/runutil.go:74\nmain.runCompact.func8\n\t/app/cmd/thanos/compact.go:480\ngithub.com/oklog/run.(*Group).Run.func1\n\t/go/pkg/mod/github.com/oklog/run@v1.1.0/group.go:38\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598\nerror executing compaction\nmain.runCompact.func8.1\n\t/app/cmd/thanos/compact.go:508\ngithub.com/thanos-io/thanos/pkg/runutil.Repeat\n\t/app/pkg/runutil/runutil.go:74\nmain.runCompact.func8\n\t/app/cmd/thanos/compact.go:480\ngithub.com/oklog/run.(*Group).Run.func1\n\t/go/pkg/mod/github.com/oklog/run@v1.1.0/group.go:38\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598\ncompact command failed\nmain.main\n\t/app/cmd/thanos/main.go:161\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598"

Anything else we need to know:

Yes looks to be, vertical compaction was also recently enabled there.
I have some example blocks that fail, what would be the best place to upload them?

Also facing this issue.

Hey, it would be great to have the block and debug the problem locally. I feel like https://github.com/thanos-io/thanos/pull/6598 might be related.
If you are willing to share one of the problematic block, feel free to ping me on Slack.


Championship driver name changed back to steam name (on result import?)

Description
During out last race, i noticed many driver names where reverted (and updated back to) their steam name instead of the name registered in the championship. I think this happened after I created a race weekend OR because I imported race result.
[UPDATE]: it seems names were already reverted in the first race (before import) so likely the entry-list was generated with Steam Names rather than championship names, or championship names were already wrong "because of reasons".
Will try and investigate further.
To Reproduce
I am not fully sure what happened, but here was my scenario:

I created a quick race with PQR1R2 reverted
I added it to all 3 of my championships
during R1 of 1st championship, server went offline
I quickly recreated a "Race Weekend" with Q and R
I used Q results from original quick race in the race weekend Q
noticed after that during Race that many names (including mine) where reverted back to Steam name rather than originally entered name in championship.
so race results were also based on same championship. I am therefore not fully sure where this went wrong, but I think importing results should never update driver names in a championship.

Expected behaviour
importing race result does not change driver names in the championship.

Just kept the original description, but i think I figured what the actual issue is:
my championship was in open mode. So when entering a race, drivers got registered again (because I asked to add new entrants to the championship), but for existing entrants, that means updating the name with the connecting name (steam / CM name).
I think when a championship driver is updated through API (not via webform) then name should not be updated.


SQLAlchemy port

Main changes:
SQLAlchemy performs all CRUD operations and handles sessions.
Two model files are involved verifier_db.sql and registrar_db.sql
A keylime_database.sql file handles sessions, it also uses as_future to provide asynchronous calls to the database when running under the verifiers async decorated functions.
Two config sections are now present in keylime.conf to allow database URL / string setting.
For example with postgresql:
drivername = postgres
username = keylime
password = allyourbase
host = localhost
port = 5432
database = keylime_db
query = ''

and the default using sqlite
drivername = sqlite
username = ''
password = ''
host = ''
port = ''
database = reg_data.sqlite
query = ''

The only manual sets ups are installing the database software (for everything outside of sqlite) and creating a user and database. SQLAlcemy will create all of the tables based on the model files verifier_db.sql and registrar_db.sql .
SQL calls are situated in cloud_verifier_tornado.py and registrar_common.py if someone is strongly convinced they need to be set within functions in keylime_database.py I can make that change.
metadata has been renamed to meta_data as its a reserved row name in SQLAlchemy
You will also see some stuff using ast - this is to reformat lists into dicts as that is how SQLAlchemy is returning them. It works! But if someone smarter than me works out how to not require ast,  a patch is happily accepted.

This is a bit of a mess, but it works. It is now being refactored to be less of a mess, so please no need to review just yet.

silly me, unit test amendments incoming

@jetwhiz @nabilschear @amylily1011 @rajdroid
This is complete now with added testing, please test locally and review.

Just found an issue with delete and multiple agents, ready for review still, but not ready for merging.

@jetwhiz
[working[(https://i.imgur.com/S1y0jpr.png)

@jetwhiz

Yep, this seems to be provisioning on my Ubuntu VM as well now, nice work!

actually there is an issue I just found testing revocation:
!()[blob:https://imgur.com/63379636-e2bb-423b-935d-3c3c43f8cc6d]
can you spot any type issues that are making this fail @jetwhiz ?

actually there is an issue I just found testing revocation:

can you spot any type issues that are making this fail @jetwhiz ?

Ah, good catch ... I think it's because you renamed metadata to meta_data, so now this line is failing:
https://github.com/keylime/keylime/blob/9db670e2d1e6a34cd3679253ae66e46d2ccf6bb1/keylime/ca_util.py#L394

I think SQLAlchemy is changing types on me again. For some reason is see's meta_data as a str.
This is the result using this branch:
2020-04-03 11:05:56.501 - keylime.revocation_notifier - INFO - Lazy loading the revocation certificate from /var/lib/keylime/ca//RevocationNotifier-cert.crt
revocation: <class 'dict'>
revocation: {'type': 'revocation', 'ip': '<IP_ADDRESS>', 'agent_id': 'D432FBB3-D2F1-4A97-9EF7-75BD81C00000', 'port': 9002, 'tpm_policy': '{"22": ["0000000000000000000000000000000000000001", "0000000000000000000000000000000000000000000000000000000000000001", "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", "ffffffffffffffffffffffffffffffffffffffff", "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"], "15": ["0000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], "mask": "0x408400"}', 'vtpm_policy': '{"23": ["ffffffffffffffffffffffffffffffffffffffff", "0000000000000000000000000000000000000000"], "15": ["0000000000000000000000000000000000000000"], "mask": "0x808000"}', 'meta_data': '{"cert_serial":<PHONE_NUMBER>86569297595124572146091421805223588446, "subject": "/C=US/ST=MA/L=Lexington/O=MITLL/OU=53/CN=D432FBB3-D2F1-4A97-9EF7-75BD81C00000"}', 'event_time': 'Fri Apr  3 11:05:56 2020'}
2020-04-03 11:05:56.504 - keylime.ca-util - ERROR - 'str' object has no attribute 'get'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/keylime-1.2-py3.7.egg/keylime/ca_util.py", line 406, in cmd_listen
    revocation_notifier.await_notifications(revoke_callback,revocation_cert_path=cert_path)
  File "/usr/local/lib/python3.7/site-packages/keylime-1.2-py3.7.egg/keylime/revocation_notifier.py", line 140, in await_notifications
    callback(message)
  File "/usr/local/lib/python3.7/site-packages/keylime-1.2-py3.7.egg/keylime/ca_util.py", line 396, in revoke_callback
    serial = revocation.get("meta_data",{}).get("cert_serial",None)
AttributeError: 'str' object has no attribute 'get'

And master (without this branch merged):
020-04-03 10:39:46.205 - keylime.revocation_notifier - INFO - Lazy loading the revocation certificate from /var/lib/keylime/ca//RevocationNotifier-cert.crt
revocation: <class 'dict'>
revocation: {'type': 'revocation', 'ip': '<IP_ADDRESS>', 'agent_id': 'D432FBB3-D2F1-4A97-9EF7-75BD81C00000', 'port': 9002, 'tpm_policy': {'22': ['0000000000000000000000000000000000000001', '0000000000000000000000000000000000000000000000000000000000000001', '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001', 'ffffffffffffffffffffffffffffffffffffffff', 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'], '15': ['0000000000000000000000000000000000000000', '0000000000000000000000000000000000000000000000000000000000000000', '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'], 'mask': '0x408400'}, 'vtpm_policy': {'23': ['ffffffffffffffffffffffffffffffffffffffff', '0000000000000000000000000000000000000000'], '15': ['0000000000000000000000000000000000000000'], 'mask': '0x808000'}, 'metadata': {'cert_serial':<PHONE_NUMBER>87536534434898758038109642423527305509, 'subject': '/C=US/ST=MA/L=Lexington/O=MITLL/OU=53/CN=D432FBB3-D2F1-4A97-9EF7-75BD81C00000'}, 'event_time': 'Fri Apr  3 10:39:45 2020'}
2020-04-03 10:39:46.206 - keylime.ca-util - INFO - Revoking certificate:<PHONE_NUMBER>87536534434898758038109642423527305509

@jetwhiz https://github.com/keylime/keylime/pull/255/commits/8477c37ed3d21464025272e50afb8b790fd3135f shown working here:
https://www.youtube.com/watch?v=B_44uP_J850


Add a check for ensuring the changelog is updated

I wanted to ask if we should fail the build… because the error annotation isn't visible from the GitHub pull request commit statuses? Or if we should fail the build only on a tag release? But in that case, we'd need to force push the tag to fix? Hrmmm…

Yeah, I reckon fail the build.

Actually, how will this work, given that we bump the version to the next version?

That’s kinda why I didnt. Maybe we need the click to unblock step to actually ask “Have you updated the Changelog? Yes no”?


Added a upperCase property

Instead of always having uppercase titles, by default there is no uppercase only if you pass the uppercase property.

You can use the getLabel prop like getLabel = ({ route }) => route.title

There is no such thing as getLabel in the properties that I have. I don't see any kind of properties or a way to set it without the uppercase (Without the use of a custom component of some sort). If you find me an alternative, sure. Otherwise I don't see a reason for not putting it in such a way like I already did.

https://github.com/react-native-community/react-native-tab-view#tabbar-

thats {{ route }} means, point to the array from the tab?
state = {
index: 0,
routes: [
//key & title dari tabnya...
{ key: '1', title: '1' },
{ key: '2', title: '2' },
{ key: '3', title: '3' },
{ key: '4', title: '4' },
{ key: '5', title: '5' },
],
};


Update RxJava2 to 2.2.21 and RxJava to 3.0.13

i would like to add samples

@moljac @mattleibow can we merge this PR and add RxKotlin to nuget.org

@moljac PR is ready for review.


feat(setwarning): add setWarning method

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[HUDI-735] Fixing error messages on record key field not found in schema

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
If record key does not exists in table schema , then current error messaging was not clear for user to understand.
Added exception if record key does not exist
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

1 minor comment on code style. LGTM.

Done

@harsh1231 : there are some test failures. you may want to check them out.

Moving this back to discussion since we need to have some discussion on how to go about this.

I will take this up and put up a new PR.


Documentation has some holes

Does the ViewModel need to have a default constructor?  All the examples seem to point to that, but it isn't explicitly stated.  Nor is it stated that the viewItems and viewBinding must be public fields.  Is it possible to have non-default constructors or to reference accessors instead of fields for binding?  Maybe this is somewhere buried in Android's binding documentation and I haven't found it yet.

Note: you are more likely to get a response for general databinding questions on somewhere like StackOverflow


🐛 Bug Report: Source selector extends more than width of sidebar

📜 Description
On upload file with long name select extends over the width of sidebar, and upload button appear over chat. Same on mobile and desktop
👟 Reproduction steps

Go to Main Page
Upload any document with long name

👍 Expected behavior
Width of select should be static, and not expand or collapse depending on length of the name
👎 Actual Behavior with Screenshots
Select expands, and upload icon leaves the sidebar

💻 Operating system
MacOS
What browsers are you seeing the problem on?
Chrome, Something else
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?
Yes, I am willing to submit a PR!
🧑⚖ Code of Conduct

[X] I agree to follow this project's Code of Conduct

sorry, duplication of https://github.com/arc53/DocsGPT/issues/571


Obsolete URL for libvpx build > Bootstrapping and Building Dependencies on OS X Fail

Mac OS: 10.10.1 Build 14B25 (Yosemite)
Xcode (w/Tools): 6.1.1 (6A2008a)
Git: 2.2.2
Build error:
Cloning into 'libvpx'...
fatal: unable to access 'http://git.chromium.org/webm/libvpx.git/': Illegal or missing hexadecimal sequence in chunked-encoding
./build-libvpx.sh: line 16: pushd: libvpx: No such file or directory
fatal: ambiguous argument 'v1.3.0': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git  [...] -- [...]'
fatal: bad object 33df6d1fc1d268b4901b74b4141f83594266f041
Failed to cherry-pick patch
Issue: URL "http://git.chromium.org/webm/libvpx.git/" is obsolete (9 days).
Fix: New URL for libvpx: https://git.chromium.org/git/webm/libvpx.git

Would you mind submitting a Pull Request? Otherwise we will fix it on Monday. Thanks

We've neither had the time to study the code in any appreciable depth nor locally modify, much less commit, our own local fork.
We can assure, however, that the current libvpx URL clones successfully and the old one is indeed obsolete.

Ok, thanks!

build-libvpx.sh contains the command git clone http://git.chromium.org/webm/libvpx.git. I tested that and:
$ git clone http://git.chromium.org/webm/libvpx.git
Cloning into 'libvpx'...
remote: Counting objects: 85811, done.
remote: Compressing objects: 100% (34532/34532), done.
remote: Total 85811 (delta 69608), reused 65923 (delta 50762)
Receiving objects: 100% (85811/85811), 32.62 MiB | 1.61 MiB/s, done.
Resolving deltas: 100% (69608/69608), done.
Checking connectivity... done.

Works for me with current scripts. Maybe it was a temporary issue? Closing.

It’s not temporary. I don’t know why it’s working with your current scripts but coming fresh to this project, I had to insert the new URL into the libvpx build script — once I did, all went well.
Once again, the new URL:
https://git.chromium.org/git/webm/libvpx.git https://git.chromium.org/git/webm/libvpx.git
Regards

On 18 Jan 2015, at 9:11 pm, Robert Swain<EMAIL_ADDRESS>wrote:
build-libvpx.sh contains the command git clone http://git.chromium.org/webm/libvpx.git. I tested that and:
$ git clone http://git.chromium.org/webm/libvpx.git
Cloning into 'libvpx'...
remote: Counting objects: 85811, done.
remote: Compressing objects: 100% (34532/34532), done.
remote: Total 85811 (delta 69608), reused 65923 (delta 50762)
Receiving objects: 100% (85811/85811), 32.62 MiB | 1.61 MiB/s, done.
Resolving deltas: 100% (69608/69608), done.
Checking connectivity... done.
Works for me with current scripts. Maybe it was a temporary issue? Closing.
—
Reply to this email directly or view it on GitHub https://github.com/EricssonResearch/openwebrtc/issues/120#issuecomment-70402635.

It also works for me, even outside the scripts, e.g.: git clone http://git.chromium.org/webm/libvpx.git
Not sure what the problem here is for you.


python311Packages.dnf-plugins-core: 4.4.4 -> 4.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.dnf-plugins-core is: Core plugins to use with DNF package manager
meta.homepage for python311Packages.dnf-plugins-core is: https://github.com/rpm-software-management/dnf-plugins-core
meta.changelog for python311Packages.dnf-plugins-core is: https://github.com/rpm-software-management/dnf-plugins-core/releases/tag/4.5.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.5.0 in filename of file in /nix/store/jm0wgzrm92lraw0ci91zc7i8l16lq5na-python3.11-dnf-plugins-core-4.5.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
dnf-plugins-core
dnf4
python311Packages.dnf-plugins-core

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jm0wgzrm92lraw0ci91zc7i8l16lq5na-python3.11-dnf-plugins-core-4.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.dnf-plugins-core https://github.com/r-ryantm/nixpkgs/archive/bd8b764e070007ea8655f7f7d27eb0d96d91482e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/bd8b764e070007ea8655f7f7d27eb0d96d91482e#python311Packages.dnf-plugins-core

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jm0wgzrm92lraw0ci91zc7i8l16lq5na-python3.11-dnf-plugins-core-4.5.0
ls -la /nix/store/jm0wgzrm92lraw0ci91zc7i8l16lq5na-python3.11-dnf-plugins-core-4.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

dnf-plugins-core (python311Packages.dnf-plugins-core)
dnf4

Maintainer pings
cc @katexochen for testing.

Duplicate od https://github.com/NixOS/nixpkgs/pull/287421


realm: AMD HIP future work

This issue tracks the future work of AMD HIP support.

being able to use .cu files directly instead of needing a .cpp clone
realm support for device-side reductions (this'll require the cudareduce branch to merge in first)
regent support
kokkos support
CI for HIP

What's the blocker for (1) here? I've compiled .cu files many times with hipcc.


授权失败

这是首次安装运行...
vultr的日本服务器,按理来说不应该有墙的问题啊...
 [05:04:42] Fatal: All server authorizations failed.
 [05:04:42] ----------------------------------------------------------------
 [05:04:42] This is most likely caused by authorization errors.
Possible causes:

You didn't run this program for a long time (more than a month).
You changed your Baidu password after authorizing this program.
You didn't give this program the 'netdisk' access while authorizing.
...
Possible fixes:

Remove the authorization token by running with the parameter '-c', and then re-run this program.
If (1) still doesn't solve the problem, you may have to go to:
https://passport.baidu.com/accountbind
and remove the authorization of this program, and then re-run this program.
 [05:04:42] Program authorization FAILED.
You need to authorize this program before using any PCS functions.
Quitting...

重试了n遍终于授权成功了....


Error: 'Uint8List' isn't a type.

SDK Flutter 3.0.5
SDK Dart 2.0.6
I have this problem when trying to run the application.
Uint8List' isn't a type
mobile_scanner_controller.dart:344
mobile_scanner_controller.dart:369
By removing the cast, the application works normally.

Update,
The error was caused by not importing the dart:typed_data library


Expected a string (for built-in components) or a class/function (for composite components) but got: object

I am unable to use an external module I installed and I did exactly what was instructed in the documentation. It works when i run it in codesandbox but it doesn't run in my own dev environment.
Here's my code:
import React from "react";
import { Treebeard } from "react-treebeard";
import "./custom.css";

const data = {
  name: "root",
  toggled: true,
  children: [
    {
      name: "parent",
      children: [{ name: "child1" }, { name: "child2" }]
    },
    {
      name: "loading parent",
      loading: true,
      children: []
    },
    {
      name: "parent",
      children: [
        {
          name: "nested parent",
          children: [{ name: "nested child 1" }, { name: "nested child 2" }]
        }
      ]
    }
  ]
};

export default class Dialog extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      access_token: ""
    };
  }

  componentWillMount() {
    const access_token = sessionStorage.getItem("access_token")
      ? sessionStorage.getItem("access_token")
      : "";

    this.setState({ access_token });
  }

  onToggle = (node, toggled) => {
    if (this.state.cursor) {
      this.setState({ cursor: { active: false } });
    }
    node.active = true;
    if (node.children) {
      node.toggled = toggled;
    }
    this.setState({ cursor: node });
  };

  render() {
    return <Treebeard data={data} onToggle={this.onToggle} />;
  }
}

I'm running into this as well. Any assistance would be greatly appreciated.

Super simple repro https://github.com/shilman/cra-treebeard-error

I'm also able to repro this inside the repo's tests if I clear the yarn.lock file and upgrade react to 16.8.5.
The error goes away if I remove velocity-react. Therefore I believe it's an incompatibility between the latest version of React and<EMAIL_ADDRESS>which is the latest version as of this posting.

As a workaround, disable animations and the problem goes away:
<Treebeard animations={false} [...other options] />

Since we're no longer using treebeard in Storybook 5, I'm not going to fix this. The above workaround of turning off animations is a good start.
If anybody wants to dig in and figure out what's wrong with velocity-react, this issue contains a nice way to reproduce the problem in the repo's tests. 🙏

@shilman Is there a similar tree library being used in Storybook 5? And can this project be updated with the information that it is no longer being maintained?