Protected constructor access?

Hey
I'm trying to play around with sqldelight but cannot make it run.

@AutoValue
public abstract class CategoryEntity implements CategoryEntityModel {

    public static final Mapper<CategoryEntity> MAPPER = new Mapper<>(new Mapper.Creator<CategoryEntity>() {
        @Override public CategoryEntity create(long _id, String name) {
            return new AutoValue_CategoryEntity(_id, name);
        }
    });

    public static final class Marshal extends CategoryEntityMarshal<Marshal> { }
}

I'm getting compile error:
Error:(10, 57) error: <T>Mapper(Creator<T>) has protected access in Mapper
where T is a type-variable:
T extends CategoryEntityModel declared in class Mapper

Maybe I'm using smth in a wrong way?
Version 0.2.2

Ohh so seems *.sq files were not in a same package as *.java ones
Closing issue


New images

[ ] New photos
[ ] Batman outline

[ ] New about me image
[ ] New Home page header image (?)
[ ] New Home page secondary image (Technologies I work with)


subscribing to clusters/bounding boxes

Thanks for creating this awesome tool!
I noticed that it can subscribe to ros topics to obtain pointclouds to cluster, but was wondering if there are any ways to subscribe to the bounding boxes or clusters as well.
If not, how would you recommend going about doing this?
Thanks,
Banti

Hello @bgheneti and thanks!
I don't fully understand what you mean by "subscribing to the bounding boxes and clusters as well". You mean that somebody would send them and this code would subscribe? Or do you mean that some other code would subscribe to the ones produces by this code?
I don't really see the reason for the first use case, but the second should be relatively easy to implement by introducing some publisher class that would receive the clusters and send their bounding boxes to somebody else.

I mean the second use case. Thanks! Will look into it.

@bgheneti Hello, I have the same confusion with you. Have you found a good way to publish the bounding boxes or clusters as a ROS topic? Thanks for your help :)

Hi @PanZhicken. I added a publisher under ros_bridge that sends out a pointcloud2 with associated cluster labels on the points. This is on a local computer and I can share that as a fork in the next day or two if that would be helpful.

@PanZhichen here is my updated fork: https://github.com/bgheneti/depth_clustering. Lmk if you have any questions. @niosus I can also merge some portion of the changes into the main branch if that would be helpful.

@bgheneti sure, just throw in some PRs and we'll see how it goes :)

As everyone is saying, thanks a lot for your awesome work!
@PanZhichen Can you explain how to use your modifications? I run first a .bag with /velodyne_points and rosrun depth_clustering show_objects_node --n_beams 32 is working fine without your modifications. If I use your fork I get this output:
 rosrun depth_clustering show_objects_node --num_beams 32

 ===================== Setting Connection =====================
|| Sender: CloudOdomRosSubscriber (id: 1)
|| Type:   STREAMER
|| 				|
|| 				V
|| Client: DepthGroundRemover (id: 4)
 ==============================================================

 ===================== Setting Connection =====================
|| Sender: DepthGroundRemover (id: 4)
|| Type:   STREAMER
|| 				|
|| 				V
|| Client: ImageBasedClustere<(short)1, (short)1> > (id: 6)
 ==============================================================

 ===================== Setting Connection =====================
|| Sender: ImageBasedClustere<(short)1, (short)1> > (id: 6)
|| Type:   STREAMER
|| 				|
|| 				V
|| Client: ObjectPtrStorer (id: 3)
 ==============================================================

 ===================== Setting Connection =====================
|| Sender: CloudOdomRosSubscriber (id: 1)
|| Type:   STREAMER
|| 				|
|| 				V
|| Client: Visualizer (id: 2)
 ==============================================================
INFO: Running with angle tollerance: 5,000000 degrees
[ERROR] [1524486854.347886270]: FUDGE

@hecperleo fixed

@bgheneti @niosus Sorry for asking here, but I have a small question related. It is possible to point to a cluster? I want to calculate distance to one or more clusters, but I dont know how to point to them or if it is possible. Thanks.

Hello @bgheneti , thanks for your help:-), and other questions need your help:

I used 'git clone' to download your modified code and changed 'sub_topic_clouds' to '/velodyne_points' in 'publish_clusters_node.cpp'.  Then used ‘catkin build depth_cluster’ to compile the project.
Then I rosrun depth_clustering publish_clusters_node, and start replaying a bag file which contains /velodyne_points topic.

BUT the visualization window didn't appear, and nothing was output when I 'rostopic echo /depth_clusterer/segmented_cloud'
@bgheneti @hecperleo Could you me give me some suggestions about what should I do? Thanks very much!

Hi @hecperleo you can calculate cluster centroid from the PointCloud2 message using PCL. The distance to this in the boat reference frame should be what you want.

@firesnow1234 I have the same here! could you able to solve it?
@hecperleo @bgheneti  ? could you please help to check, PLEASE?


Save 1 char for arrow functions without arguments

Input
console.log(()=>'foo')

Output
console.log(_=>'foo')

This one should be pretty easy to implement, we just need a variable name that is not used in the same context (and of only 1 char)

Couple things come to mind:

We need to check how this affects code performance (parse & runtime)
We can only do this if there's a 1-char name available in the current scope
We need to check how this affects gzip compression ("()=>" should be compressable better than varying chars, unless the char is always the same)

Annoyingly, if your input uses a one character identifier that isn't used in the body, babel-minify will change it to use () instead (which is strictly more characters): example.
I understand that the implementation concerns are the same (since you're already rewriting variable names), but it's annoying that it's working as an unminifier in this case.

This change is unsafe since (() => {}).length is changed.

Ah, yeah. Just to be clear, that makes sense as a reason you can't fix the issue as initially requested (it would change semantics), but it also is a reason that the current behavior (when it removes the argument) is a bug.


Error: failed to renew lease

I encountered this message while looking in Karpenter logs:
2022-02-06T17:26:05.226Z	ERROR	controller.controller.counter	Reconciler error	{"commit": "2346ed5", "reconciler group": "karpenter.sh", "reconciler kind": "Provisioner", "name": "integration-provisioner", "namespace": "", "error": "patching provisioner, Internal error occurred: failed calling webhook \"validation.webhook.provisioners.karpenter.sh\": Post \"https://karpenter-webhook.karpenter.svc:443/validate-resource?timeout=10s\": x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"karpenter-webhook.karpenter.svc\")"}
E0206 17:26:20.694975       1 leaderelection.go:361] Failed to update lock: Put "[https://<IP_ADDRESS>:443/apis/coordination.k8s.io/v1/namespaces/karpenter/leases/karpenter-leader-election](https://<IP_ADDRESS>/apis/coordination.k8s.io/v1/namespaces/karpenter/leases/karpenter-leader-election)": context deadline exceeded
I0206 17:26:20.695030       1 leaderelection.go:278] failed to renew lease karpenter/karpenter-leader-election: timed out waiting for the condition
panic: Unable to start manager, leader election lost

goroutine 1 [running]:
main.main()
github.com/aws/karpenter/cmd/controller/main.go:99 +0xed9

Can you guys please explain the cause and the meaning of this Error?
After I manually deleted the secret (it was recreated automatically of course), this Error did not appear anymore.

This is an interesting one. Can you share a little bit more about the steps that you went through before you see this error?
I would like to see if I can recreate it.

@felix-zhe-huang I am not sure this is the cause but... I am working GitOps-wise using ArgoCD.
When I deployed Karpenter, ArgoCD did not like the idea of an empty data in a secret. It won't load the whole application if there's an empty secret.
The situation was that k8s has a secret with data (injected by the webhook) but the helm chart in git had an empty data. ArgoCD is gitOps, hence takes whatever he sees in git.
So, I copied the data from K8S and pasted in the helm chart so ArgoCD will successfully load Karpenter.
In case that the webhook would need to inject new values to the secret, the secret in k8s will include these new values together with the old values that I put in the helm chart.
Karpenter worked perfectly but suddenly stopped creating nodes. Then I saw the error mentioned above.
I deleted the secret, a new one was generated and everything worked fine again.
Can you just explain what update lock and renew lease are? how often Karpenter renews lease?

Karpenter is developed using sigs.k8s.io/controller-runtime. It has a manager that manages all the k8s controllers lifecycles. This manager is designed using active-passive HA pattern. it uses the built-in Kubernetes leader election APIs to create a leader. The update lock is when the controller-runtime is calling the k8s leader election API and got a timeout.
Therefore, the controller-runtime failed to renew the lease for the leader. No leader is declared in this case. Usually this only happens when Karpenter is launched.
You can find more info here:  https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/leaderelection

It looks to me like a problem caused by misconfigured secret after seeing the timeout while calling the k8s API.
Is that secret for k8s api credential?

Misconfigured secret may be the issue but it's not due to something I did wrong. Or did I?
Adding data to the secret in the helm chart isn't overwriting the secret in k8s..

Is it possible that this is also caused by the networking issue as in #1313 ? The error shows that API calls time out.

@felix-zhe-huang #1313 looks like a timeout to sts, while the timeout in the description of this issue is to the kubernetes leases api.  I've see the same leases timeout in v0.13.2.


Full memory usage

Hello,
I was trying the source from the updates branch, and got full memory usage.

Or is this a known issue?
Happens when I eat someone at 10k mass.

Did the process get terminated for memory allocation failure?

Seems like the update branch does not work anymore for older node.js versions.
The master branch works just fine at node 4.6.0.

Hmm, how old that node version was?

master and Update branch works fine for me on Node 4, 5, 6, 7 and 8-NIGHTLY

Same here ^^

@Megabyte918
It works just fine after installing ws again, ignore this issue.

Maybe because they stopped using options module?


Create a new release to allow telemetry 1.0 or even 1.1

Hey, is it possible to tag a new release and push it to hex.pm that includes the change to allow the usage of telemetry 1.0?
Or maybe even change the mix.exs to allow telemetry 1.1? Currently, telemetry gets downgraded to 1.0 when including regulator.
Pulling it in over git works fine, but a release on hex that works with new phoenix apps would be nice :)

Sure @hdahlheim. I'll do this once I'm sitting at a real computer.

Done.


Fix some quality issues, add .deepsource.toml file

Summary
Hi! It was great meeting the team at the booth in PyCon this morning!
I've added a customized .deepsource.toml as part of the PR that you can start using directly to run DeepSource analysis. I've also fixed some issues flagged by our analyzers while I was at it 😄
To continue running analysis on every PR, just follow these simple steps:

Merge this PR.
Sign up on DeepSource and grant access to this repository here.
Activate analysis on this repo here.

Tip: You can also take a look at the docs.
Please let me know if you have any questions! :)
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

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

Hi @sanketsaurav, Thanks for the PR. Once I get signed up on DeepSource I'll merge these changes.

@RodneyU215 Awesome! Do let me know if you have any questions, or if there's anything I can help with :)

Hey @RodneyU215 -- Just wanted to see if there's anything I can help with here: would love to get your team onboard. Let me know!


Out of memory

Hello, I have solved the problem about pycolmap, but when I run the code ”bash scripts/train.sh,“ I get a new error again, as follows
jaxlib.xla_extension.XlaRuntimeError: RESOURCE_EXHAUSTED: Out of memory allocating<PHONE_NUMBER>4 bytes.
Thank you so much for the reademe and code, if you can give me a little hint that would be really appreciated！

Seems like an env error. Could you please try running the original multinerf repo, and see if it will raise errors? This will help in locating the problem.


Validation of Chaos Target via AdmissionWebhook while creating ChaosEngine CR

Use-case of Validating webhook:

While applying this ChaosEngine, the following things can be validated.

Sample ChaosEngine:

apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
  name: pool-chaos
  namespace: default
spec:
  # It can be true/false
  annotationCheck: 'false'
  # It can be active/stop
  engineState: 'active'
  #ex. values: ns1:name=percona,ns2:run=busybox
  auxiliaryAppInfo: ''
  appinfo:
    appns: 'default'
    applabel: 'app=nginx'
    appkind: 'deployment'
  chaosServiceAccount: pool-disk-loss-sa
  monitoring: false
  # It can be delete/retain
  jobCleanUpPolicy: 'delete'
  experiments:
    - name: openebs-pool-disk-loss
      spec:
        components:
          env:
            - name: APP_PVC
              value: 'demo-nginx-claim'

            # This is a chaos namespace which will create all infra chaos resources in that namespace
            - name: CHAOS_NAMESPACE
              value: ''

            # GKE and AWS supported
            - name: CLOUD_PLATFORM
              value: 'GKE'

            # Enter the time duration in sec after the disk is dettached
            - name: TOTAL_CHAOS_DURATION
              value: '60'

            # Period to wait before injection of chaos in sec
            - name: RAMP_TIME
              value: ''

            # Enter the project id for gcp only
            - name: PROJECT_ID
              value: 'litmus-demo-123'

            # Enter the node name
            - name: NODE_NAME
              value: 'demo-node-123'

            # Enter the disk name
            - name: DISK_NAME
              value: 'demo-disk-123 '

            # Enter the device name
            - name: DEVICE_NAME
              value: '/dev/sdb'

            # Enter the zone name
            - name: ZONE_NAME
              value: 'us-central1-a'

            - name: OPENEBS_NAMESPACE
              value: 'openebs'

What can we validate before, creating the chaosEngine, while the user is applying the chaosEngine YAML.
    - Validate the application.
    - Validate the annotation
    - Validate ChaosExperiment Existence
    - Understand experiment ENV, and validate resources for per experiment such as configmaps, secrets, and others.

What we can further do:
    - Validation of RBAC to and validating the permissions to run the experiment stated in the ChaosEngine. (eg: pod-delete without pod permission, should fail while creating the CR)
    - Validations of all the fields in the ChaosEngine, for invalided values.

Validation Webhook would help us to directly inform the user about what went wrong while validation of the chaos target.
- Like in case of chaos target is not annotated, we can simply state, please add this annotation to inject chaos.

cc: @ksatchit @ajeshbaby

Introduced here: https://github.com/litmuschaos/admission-controllers


Unable to add queries to Altair

I am no longer able to add a new query to Altair. This started today. I am able to perform queries if I have the query already written, but when I go to the docs section and click Add Query, nothing happens. No errors are displayed, it just doesn't do anything. I've tried on both the Altair Chrome extension, and the Altair client, same results. I tried adding a new connection and get the error below.
{
"errors": [
{
"message": "Invalid Syntax : offending token '' at line 4 column 33",
"locations": [
{
"line": 4,
"column": 33
}
],
"extensions": {
"classification": "InvalidSyntax"
}
}
],
"data": null
}

If someone else finds their way here because "ADD QUERY" stopped working after an update, go to the Staging link above and you should be able to use the "Preview" link they have there.


Update GreetingController.java

@chanmi910: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
f9069e4f47f9d5f30c23d08d5947a1f4c85a782b
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Incomplete libPusher installation

mac os x 10.6.8
After installing macruby-nightly, upgrading to ruby 1.9.7, installing cocoapods, the build.sh failed with syntax errors. I completely expect I'm doing something silly. Please see https://gist.github.com/1860638. Thanks.

I assume you meant to say ruby 1.8.7 above - to use the build scripts you'll need to be running a version of ruby 1.9 (I use 1.9.3-p125).

Thanks for the reply. Actually, no, I meant ruby 1.9.3-p125. Check out the gist post for details: https://gist.github.com/1868531
Again, thanks,
Eric
On Feb 29, 2012, at 5:52 AM, Luke Redpath wrote:

I assume you meant to say ruby 1.8.7 above - to use the build scripts you'll need to be running a version of ruby 1.9 (I use 1.9.3-p125).

Reply to this email directly or view it on GitHub:
https://github.com/lukeredpath/libPusher/issues/24#issuecomment-4237705

Looks like the problems in your first gist is because you have a system bundle in /usr/bin that uses the system Ruby (1.8) in your load path before 1.9.3 and it's gem bin path. You might want to remove the system bundler (funnily enough I had this very same problem on my CI machine).
For the second issue, it looks like you haven't created a config/database.yml file.


go logs extension api

We are trying to use external extension to send our logs directly to S3 from our lambdas to step away from the pain of managing log groups when trying to send logs to a third party vendor.
I tried the python zip file approach first ( [s3-logs-extension-demo-zip-archive] ) but I soon realized that we need to package up the python interpreter along with this extension since our main function runs on .net 6.   When i tried following the docs and I uploaded the lambda layer to our .net 6 functions, i would get an error indication "python not found"
then i tried the go-example-logs-api-extension since its cross platform binary and should run on any lambda runtime.  The logs indicate the extension started up successfully, registered correctly, created the lambda bucket but no logs were ever written to s3. I checked the cloudtrail logs and permissions look good but it seems to me like the "logs data buffer might be empty even though there are logs." Any suggestion here?
are there any working extensions that i can take from here and run it on my lambdas that have different runtimes?

@julianwood  btw thank you for your hard work with all this content, its is greatly appreciated.

The go extensions should be working. Have you tried this one: https://github.com/aws-samples/aws-lambda-extensions/tree/main/go-example-telemetry-api-extension which pushes to a generic URL target or this one with adaptive batching for S3: https://github.com/aws-samples/aws-lambda-extensions/tree/main/go-example-adaptive-batching-extension

The go extensions should be working. Have you tried this one: https://github.com/aws-samples/aws-lambda-extensions/tree/main/go-example-telemetry-api-extension which pushes to a generic URL target or this one with adaptive batching for S3: https://github.com/aws-samples/aws-lambda-extensions/tree/main/go-example-adaptive-batching-extension

unfortunately we went with another route as extensions were leading to all sorts of issues for me and slowness. thanks


t/ssl_verify_modes.t fails when tests are run in parallel

As suggested at https://github.com/memcached/memcached/pull/653#issuecomment-622555648 I've tried PARALLEL=... on the VMs I use for testing Memcached.
===(   81975;131  18088/?  24/?   28/130  4/?  1/? )====================
#   Failed test 'client cert is verified'
#   at t/ssl_verify_modes.t line 20.
#          got: undef
#     expected: '1'
# Looks like you failed 1 test of 1.
t/ssl_verify_modes.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

On the ARM4 VM it fails for parallelism>4.
On the x86_64 VM it fails for parallelism>3

fwiw I only use parallel for non-tls... which should be obvious because it doesn't work otherwise :) if you set parallel for normal tests, it runs a few basic TLS tests sequentially then does the rest in parallel.

OK. I see!
Closing ...

#670 PR fixed this issue.

Thanks for letting me know!
I just confirmed that all tests pass with PARALLEL=5 now!
Awesome!

I thought the parallel breakage was at least partly to do with t/ssl_cert_refresh.t, which actually overwrites/shuffles the test certs around. So if another test runs at the same time it might fail to validate.
That test should probably be fixed to copy into temp files and then swap those around first.


DWH Enable flag not correct in case thermostat flag overridden through OTGW config

Setup:

Thermostat always sets DHW_ENABLE =1 within msgID = 0
Through HW=0 configuration within OTGW, this behaviour is overridden towards the boiler.

Outcome:

DHW_ENABLE = 1 published through mqtt.

Expected:

DHW_ENABLE = 0 published through mqtt.

I suppose reason is that the overridden DHW_ENABLE BIT is never read from the transformed message (R00000000) from the OTGW towards the boiler, hence the 'not processed, received from OTGW' message.
OTGW log:
23:58:08 (  17184| 15376) processOTGW (1225): Thermostat       T80000200 (9)[80000200][MsgID=  0][READ_DATA       ][Status                        ]	Status = Master [-D---S--]
23:58:08 (  15816| 14728) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/status_master] --> Message [-D---S--]
23:58:08 (  15168| 14080) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/ch_enable] --> Message [OFF]
23:58:08 (  14496| 13432) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/dhw_enable] --> Message [ON]
23:58:08 (  13800| 12784) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/cooling_enable] --> Message [OFF]
23:58:08 (  13824| 12784) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/otc_active] --> Message [OFF]
23:58:08 (  13824| 12784) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/ch2_enable] --> Message [OFF]
23:58:08 (  15128| 12784) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/summerwintertime] --> Message [OFF]
23:58:08 (  15144| 12784) sendMQTTData( 301): Sending MQTT: server <IP_ADDRESS>:1883 => TopicId [OTGW/value/otgw-A848FACEAA9B/dhw_blocking] --> Message [OFF]
23:58:08 (  15168| 12784) print_status( 566): Status u16 [0200] _value [0200] hb [02] lb [00]
23:58:08 (  15168| 12784) processOTGW (1426): Not processed, received from OTGW => [0000] [4]
23:58:09 (  17184| 15376) processOTGW (1221): Boiler           BC0000000 (9)[c0000000][MsgID=  0][READ_ACK        ][Status                        ]	Status = Slave [--------]

OTMonitor log:
23:56:28.971511	T80000200	Read-Data 	Status (MsgID=0): 00000010 00000000
		   - CH enable: disabled (0)
		   - DHW enable: enabled (1)
		   - Cooling enable: disabled (0)
		   - OTC active: not active (0)
		   - CH2 enable: disabled (0)
		   - Summer/winter mode: winter (0)
		   - DHW blocking: unblocked (0)
23:56:29.022648	R00000000	Read-Data 	Status (MsgID=0): 00000000 00000000
		   - CH enable: disabled (0)
		   - DHW enable: disabled (0)
		   - Cooling enable: disabled (0)
		   - OTC active: not active (0)
		   - CH2 enable: disabled (0)
		   - Summer/winter mode: winter (0)
		   - DHW blocking: unblocked (0)
23:56:29.088313	BC0000000	Read-Ack  	Status (MsgID=0): 00000000 00000000
		   - Fault indication: no fault (0)
		   - CH mode: not active (0)
		   - DHW mode: not active (0)
		   - Flame status: flame off (0)
		   - Cooling status: not active (0)
		   - CH2 mode: not active (0)
		   - Diagnostic indication: no diagnostics (0)
		   - Electricity production: not active (0)
23:56:29.170815	A40000200	Read-Ack  	Status (MsgID=0): 00000010 00000000
		   - Fault indication: no fault (0)
		   - CH mode: not active (0)
		   - DHW mode: not active (0)
		   - Flame status: flame off (0)
		   - Cooling status: not active (0)
		   - CH2 mode: not active (0)
		   - Diagnostic indication: no diagnostics (0)
		   - Electricity production: not active (0)

Hi @binsentsu thanks for finding an analyzing this issue. I published a build of beta 0.9.1 in the discord last night. Did you capture using this firmware?
In other words what version of the firmware did you use to capture this log. Btw. this is an override issue for mqtt, and I was already trying to fix that, but as I did not have this configuration I had nog seen the logs yet myself. So this helps.
If you have not used the build from last night (9/12) then please do and let me know what you find now.
Thanks
Robert

Hi. Didn't check discord last night. Will do this evening. This log is captured through the latest released firmware version: 0.9.0+21bea01

@binsentsu I think we solved the issue with the latest release v0.9.1. If not then please reopen this issue with new logs to show me.


feat: Remove CODEOWNERS

Closes #254
Changes

Deletes CODEOWNERS file

I can disable the codeowners requirement, then it'll just be that codeowners get added to reviews and are not required for reviews.

I can disable the codeowners requirement, then it'll just be that codeowners get added to reviews and are not required for approval/merging.

@billhimmelsbach I think that would work. Then this setting should prevent non-CFPB affiliated users from approving/merging changes, so we still have the protection without the hinderance.

Closing this in favor of alternative configuration.


Formatting Not Showing in Excel

Hello, I generate a workbook from your library with the following JSON object structure, but when Excel opens the resulting file, the numbers are no longer formatted as shown.
Any ideas?
{
    "SheetNames": ["Analysis"],
    "Sheets": {
        "Analysis": {
            "A1": {
                "v": "Investment Decision",
                "t": "s",
                "z": "[Blue]General",
                "w": "Investment Decision"
            },
            "B1": {"v": "Analysis One", "t": "s", "z": "[Blue]General", "w": "Analysis One"},
            "C1": {"v": "Total Cost", "t": "s", "z": "[Blue]General", "w": "Total Cost"},
            "A2": {"v": "In Home", "t": "s", "z": "[Blue]General", "w": "In Home"},
            "B2": {
                "v": "   Fred in presence of Lucy",
                "t": "s",
                "z": "[Blue]General",
                "w": "   Fred in presence of Lucy"
            },
            "C2": {"v": 21945000, "t": "n", "z": "\"$\"#,##0;[Red](\"$\"#,##0)", "w": "$21,945,000"},
            "A3": {"v": "In Home", "t": "s", "z": "[Blue]General", "w": "In Home"},
            "B3": {"v": "Lucy only (Housewife)", "t": "s", "z": "[Blue]General", "w": "Lucy only (Housewife)"},
            "C3": {"v": 9817500, "t": "n", "z": "\"$\"#,##0;[Red](\"$\"#,##0)", "w": "$9,817,500"},
            "!ref": "A1:C3"
        }
    }
}

That is to say, the numbers are shown as:

Thx!

@webbbaron The format may need to be loaded explicitly.  Can you check if the following works:
/* XLSX is the required module and wb is the workbook object */
XLSX.SSF.load("\"$\"#,##0;[Red](\"$\"#,##0)", 165);
wb.SSF = XLSX.SSF.get_table();
XLSX.writeFile(wb, "test.xlsx");

Thanks for the speedy answer. That was exactly what I needed and I was able to get the item I needed done. Thanks!


TinDog Project SignUp Button Hover Effect

Describe the Feature you want to end
Addition of hover effect on button.
Expected behavior
Minimal hover effect addition on button 'SignUp'.
Screenshots (optional)
Button Design

Expected Hover Effect

Additional context (optional )
N/A

@MohitGupta121


repr for operators

repr method for operators - still WIP - to close #330

FourierOp for spiral traj:

FourierOp for cartesian:

Need some help for a good repr method for cartesian sampling op please. Not sure how to write it in a sensible fashion.

Looks like this atm:


Proposal: Add version comment field to Composer form

There's Version Comments textarea field on Check-in panel, but Composer form doesn't have it.
So users can publish new version without Version Comments,  If administrator set concrete.misc.require_version_comments to true.
My proposal is add version comment field also in Composer form. I think there are two way.

Add version comment field directory in Composer form, if concrete.misc.require_version_comments set to true
Add version comment field as composer form control. Users can add Version Comment field via Compose Form dashboard page.

I just checked it, and the save operation is working for me: the version comment is automatically set to New Version x.
BTW such comment is not much informative, so I think that we could always add a comments textarea field to the composer form (and mark it as required if concrete.misc.require_version_comments is true).

@mlabrum Thanks, I mean "New Version X" is same as empty.

@hissy - makes sense – I think I'd opt for the second option since there are some sites where people might not want to require the comments but might want the version description to appear on some page types in composer but not all.

I'd like to re-try this interface change in version 9.


Include "name" parameter in tf.keras.models.clone_model() function to give a new name to the clone.

Click to expand!
Issue Type
Feature Request
Source
source
Tensorflow Version
2.8.2
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
When using the `tf.keras.models.clone_model(previous_model)` function, it assigns the same name as "previous_model" to the created clone. I want to assign a new name to the created clone. This can probably be done by passing a name parameter to the `clone_model()` function.

Standalone code to reproduce the issue
`pre_m1 = tf.keras.Sequential([
    sentence_encoder_layer,
    layers.Dense(64,activation="relu"),
    layers.Dense(1,activation="sigmoid")
],name="pre_trained_m1")

pre_m2 = tf.keras.models.clone_model(pre_m1)

# In the summary, the name of pre_m2 is printed as "pre_trained_m1" i.e. same as pre_m1.
print(pre_m2.summary())
`

Relevant log output
No response

@sky-2002
This issue seems to be Keras issue.  Please post this issue on keras-team/keras repo. as Keras development is fully moving to github.com/keras-team/keras. All issues and PRs related to keras will be addressed in that repo.
To know more see this TF forum discussion ;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!

@sushreebarsa , ok, I will post it on keras repo. Thank you !

@sky-2002 Thank you for the update!
Could you please move this issue to closed status if you have reported the same issue in keras-team/keras repo?
Thank you!

Ok, I have put it on keras repo. I will close this one. Thank you !


Improvements to the Omaha Windows installer.

The installer should update the metadata scripts executable during a running
startup script.

LGTM


Period at the end of the token prevents users from visiting token page

Feature or problem description
Period at the end of the token prevents users from visiting token page.
Should we enable opening browser window automatically with the token page?

Feedback from tooling team

Should we enable opening browser window automatically with the token page?

The user could be in a headless environment so we would need to cater for that. We could auto-open the browser but I feel that there should also be an option to not do this.

Also - if the user is using console.redhat.com in a private window, or their non-default browser then I think the default browser will always open, which is a slight nuisance.

The user could be in a headless environment so we would need to cater for that.

Headless environments use --token. This problem happens in interactive mode that will not be enabled in headles mode.


cannot ignore file with noparse

cmd :

configrations :
var webpack = require('webpack');
var path = require('path');

var BUILD_DIR = path.resolve(__dirname, 'dist');
var APP_DIR = path.resolve(__dirname, '.');
var plugins = [];
var filename = '[name].js';
var PROD = JSON.parse(process.env.BUILD_PROD || false);
if(PROD) {
  plugins.push(new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production') } }));
  plugins.push(new webpack.optimize.UglifyJsPlugin({ compress:{ warnings: true } }));
  filename = '[name].min.js';
}

module.exports = {
  entry: [path.join(__dirname, 'app.jsx')],
  output: {
    path: BUILD_DIR,
    filename: 'bundle.js'
  },
  node: {fs: "empty"},
  plugins: plugins,
  resolve: {
    extensions: ['', '.js', '.jsx','.css']
  },
	module: {
		loaders: [
      {
        test: /\.(js|jsx)$/,
        loader: 'babel-loader',
        exclude: /node_modules/
      }, {
        test: /\.css$/,
        loader: "style-loader!css-loader"
      }, {
        test: /\.json$/,
        loader: "json-loader"
      }, {
        test: /\.(png|gif|jpg|jpeg|svg|otf|ttf|eot|woff)$/,
        loader: 'file-loader'
      }
    ],
    noParse: [/dist\/ol.js/, /dist\/jspdf.debug.js/]
  }
};

app structure :

Could you try to use a backslash instead of forward slash in the regex? Also, you could try to see if it does work if you only do /ol\.js$/ (temporarily of course). If that works, it's an error in your configuration.
Sidenote: you forgot to escape dots in your regex.

ERROR in multi main
Module not found: Error: Cannot resolve 'file' or 'directory' C:\Users\CartoLogic\Desktop\cartoview_dev\New folder\cartoview\apps\cartoview_geonode_viewer\static\cartoview_geonode_viewer\app.jsx in C:\Users\CartoLogic\Desktop\cartoview_dev\New folder\cartoview\apps\cartoview_geonode_viewer\static\cartoview_geonode_viewer
 @ multi main

Ah, I think you need to use webpack.IgnorePlugin. Something like this (note: untested, you might have to play with it a bit):
plugins: [
    new webpack.IgnorePlugin(/(ol|jspdf\.debug)\.js$/, [/openlayers$/])
]

wow working fine now thank you very much. 👍 @SpaceK33z

@SpaceK33z Failed to load resource: the server responded with a status of 404 (NOT FOUND)

This seem to a another issue.


Downloading image

Hello! :)
I have a question. Can I download and paste downloaded image in image view using Moya?
P.S. Thanks for your awesome library! 👍

Hi @KompoD — you can! In the README there is an example of an endpoint that returns Data for an image which you can then use to initialize a UIImage.

Hey @KompoD I have an example project that downloads and displays images, it may be helpful: https://github.com/pedrovereza/quote

@BasThomas and @pedrovereza, thanks for your answers! :)


[FLINK-34493][table] Migrate ReplaceMinusWithAntiJoinRule to java.

What is the purpose of the change
The PR migrates ReplaceMinusWithAntiJoinRule to java
it doesn't touch ReplaceMinusWithAntiJoinRuleTest to be sure that java version continues passing it
Verifying this change
This change is already covered by existing tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

hi @dawidwys will you have time to help review this?


[treewide] Zig: update packages for Zig hook framework

Description of changes

It basically removes a lot of repeating code!
A companion for https://github.com/NixOS/nixpkgs/pull/242397
Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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.

With this experiment, I declare this finished!

@ofborg eval zls

[ ] zls
[ ] zf (bugged)
[ ] waylock
[ ] river
[ ] mepo
[ ] blackshades
[ ] linuxwave
[ ] clipbuzz
[ ] findup
[ ] ncdu
[ ] bmake

@ofborg build waylock river mepo blackshades linuxwave clipbuzz findup bmake colorstorm

@ofborg build colorstorm

@ofborg build river river.man

@ofborg build river river.man

@ofborg build river.man rivercarro

@ofborg build rivercarro colorstorm river ncdu

@ofborg build colorstorm ncdu river rivercarro

@ofborg build colorstorm ncdu river rivercarro

It's incredible that it didn't clash.

@ofborg build pkgs.colorstorm


Incorrect URL mapping

the URL mentioned under "Next Steps" points back to the same page

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

ID: a509189a-4c43-fc57-c207-4e5d521b9fb5
Version Independent ID: ffe0e79d-77df-18b4-cdbd-c223c1130684
Content: Monitoring of SAP HANA on Azure (Large Instances)
Content Source: articles/virtual-machines/workloads/sap/troubleshooting-monitoring.md
Service: virtual-machines-linux
GitHub Login: @RicksterCDN
Microsoft Alias: rclaus

Thanks for the feedback! We are currently investigating and will update you shortly.

@RicksterCDN Should this link be pointing to Monitoring and troubleshooting from HANA side instead.

Please confirm and I will update the doc. Thanks :)

PR submitted. Once it merges the changes will go live after a few hours.


chore: dropped sync on focus

Summary
Some of the funnels didn't work properly in the past and the app crashes if for example a token vanished from the wallet while the user was inside the funnel
Most of these crashes was handled and nothing new is showing up on Sentry
Community constantly complains about the spinning spinning while landing on tx history
To do

[ ] Enable buttons while syncing
[ ] Lock Screen when the first sync is happening (UI rebuild, restore/create wallet)
[x] Remove refresh on focus since it happens every 20s and the user can pull to refresh

will be refactored along with WalletManager module.


feat: Guard BotController with schema check

closes #5172

Coverage increased (+0.003%) to 55.446% when pulling c50599d7c1a160eb4eb118710b0f6c483e113d79 on cwhitten/pva-schemas into f93ae24ce1a95abb3d925290721160b5fb6bb142 on main.


Parity: NSDictionary: Non-keyed archiving marked as NSUnimplemented()

Implement it. Fixes https://bugs.swift.org/browse/SR-10396

@swift-ci please test and merge

@swift-ci please test and merge


[FEATURE REQUEST] Bad words list

I don't have access to the GPT-3 API yet (A guy can dream, eh?), but I have been reading through the docs and it seems like the completion module would be perfect for my use case except for the exclusion of a "bad words list" feature.
This feature would not allow certain words to be generated in the completion output. I am aware of the logit_bias argument, but this only stops individual tokens from being generated.
My idea would take an arbitrary string (Or list of token IDs) as input, and then not allow the completion of this string given the words before it.
I have successfully asked for this feature from the Huggingface .generate API many moons ago. Please see my feature request for a fuller run-down of how it could be implemented (link: https://github.com/huggingface/transformers/issues/3061).
It would be a useful feature for customers because it could give peace of mind that the models that they are serving are not going to output any unsavoury language. I can see that an alternative to this feature would just be to train the model not to output generally bad language (E.g. overly aggressive or xenophobic language) through thoughtful use of training data, but since everyone's definition of bad language is different, it would be nice to customise the model accordingly.
Thanks!

Bump. Another way to think about it is conditional token biasing; e.g. sometimes you want to disallow "on" but only after a specific word. There doesn't seem to be a way to do this currently.

Thanks for the suggestion!
This sounds like a feature request for the underlying OpenAI API and not the Python library, so I'm going to go ahead and close this issue.
Would you mind reposting at community.openai.com?


UI to Delete Scales

Want to add a UI component so users can delete scales

Fwiw, scales that Lyra automatically creates (e.g., during bindChannel) are also automatically deleted when they are no longer being used. Probably makes sense to offer a delete UI for all scales (e.g., a delete button on the scale inspector?).


Improve Examples

this is one of the greatest libraries ever, yet it was bit tricky to do actual dynamic work with it due to lack of prober example that support what to do, so when i figured out what to do I though you could add it to the examples :
var imageSource : [AlamofireSource] = AlamofireSource
for item in selectedDevice.deviceImages {
imageSource.append(AlamofireSource(urlString: item.stringByAddingPercentEncodingWithAllowedCharacters( NSCharacterSet.URLQueryAllowedCharacterSet())!)!)
}
this might not be the most advanced code ever, but it may be useful for many cases... hopefully you add this to the examples.
best regards.

Hi! I'm definitely planning to improve examples. Not sure if your case fits there, but will think about it.


How to search a user's follower list?

General Question
Read the Notes and fill out the form.
Switch to Preview for reading.
Form
Put an [x] if you meet the condition, else leave [ ].

[x] I've searched the Issues
[x] I've read the basic concepts
[x] I'm using the latest version

Question
I want to find a specific user from a user's follower list.
I can search from the iphone app. Is this possible?

@sunmasters
Thanks for the reply.
I read the source code but could not find an API that allows user search.
Which API is it?

In the app, Instagram app first loads users then filter as you search


Speed-up look-up operation

This change speeds-up the lookup if the dataset has a large numer of samples.
For 350'000 samples and 100 features the time is reduced from approx 30mins to 1s.
from mudata import MuData
import numpy as np
import pandas as pd

# Create random data
N = 350000
G = 110
X = np.random.rand(N, G)
obs = pd.DataFrame({'cell_type': np.random.choice(['A', 'B', 'C'], N)})
var = pd.DataFrame({'gene': [f'gene_{i}' for i in range(G)]})
adata = sc.AnnData(X=X, obs=obs, var=var)
mdata = MuData({"test": adata})
mdata

model = cellij.FactorModel(n_factors=10)
model.add_data(mdata)

Tests are failing because the codecov cannot be run

Maybe add a comment stating that from there on the order is random, just in case we have a weird bug at one point. Can be merged then

But the sets are used nowhere else?

*not yet ☝

Wasted a day debugging a month ago on something that probably started like this, so I have PTSD for this set-shuffling now 😅


Fix: throw auth-failed exception

What this PR changes/adds
AuthenticationRequestFilter now throws an AuthenticationFailedException instead of a NotAuthorizedException, as this will trigger returning a HTTP 401 instead of a 403.
Why it does that
To return the correct HTTP status code
Further notes
.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1536 (fdaaaa4) into main (3584c73) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1536   +/-   ##
=======================================
  Coverage   67.37%   67.37%
=======================================
  Files         735      735
  Lines       16198    16198
  Branches     1058     1058
=======================================
  Hits        10913    10913
  Misses       4803     4803
  Partials      482      482

Impacted Files
Coverage Δ

...onnector/api/auth/AuthenticationRequestFilter.java
100.00% <100.00%> (ø)

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 3584c73...fdaaaa4. Read the comment docs.


Asynchronously stop snark worker

Quick fix to stop the flaking tests for bootstrapping.
Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #0000
Closes #0000

@cmr The bug caused no-recent blocks to occur for bootstrap integration tests. This is mainly because one of the daemons did not die on time during the integration tests. When replace_snark_worker_key is set to None, it waits for the snark worker process to die. This can take a significant amount of time, leading the test to fail unintentionally. So, I made this dying feature, asynchronous.


As a student who has a lot of ideas, I want to note down my random ideas

so that I can keep track of them.

Decided not useful for the application.


Can't see any graph/scalar in tensorboard

@HudsonHuang can you have a look at this pls?

It doesn't occur to me.
I suppose there might be 2 reasons:

In this repo, logging files will only be generated after training progress.
So,  firstly, you have to run
python train.py for training.
And then you can run
tensorboard --logdir=./logdir
to glace the scalar.

The parameter  "--logdir" of tensorborad might be wrong.
When you run :
tensorboard --logdir=./logdir
It set the path of logging files to "./logdir" , so you must run this command under the same folder of  "train.py".

I would be happy to help you if you gave me more information.

Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention (master) $ python train.py Start learning... epoch: 0        C:\Users\Administrator\Anaconda3\lib\site-packages\h5py\__init__                                                  .py:36: FutureWarning: Conversion of the second argument of issubdtype from flo                                                  attonp.floatingis deprecated. In future, it will be treated asnp.float64                                                   == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 97/97 [04:01<00:00,  2.49s/it]
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 97/97 [02:20<00:00,  1.45s/it]
loss: 0.456, val_loss: 0.443, acc: 0.702, val_acc: 0.796
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 97/97 [04:24<00:00,  2.72s/it]
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 97/97 [02:21<00:00,  1.46s/it]
loss: 0.306, val_loss: 0.349, acc: 0.843, val_acc: 0.846
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 97/97 [04:31<00:00,  2.80s/it]
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 97/97 [02:21<00:00,  1.46s/it]
loss: 0.259, val_loss: 0.319, acc: 0.888, val_acc: 0.862
Run 'tensorboard --logdir=./logdir' to checkout tensorboard logs.
2018-04-18 12:35:50.441207: I C:\tf_jenkins\workspace\rel-win\M\windows\PY\36\te                                                  nsorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions                                                   that this TensorFlow binary was not compiled to use: AVX2
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention (master)
$ ls
pycache/  logdir/                    README.md visualize.py*
attention.py  model.data-00000-of-00001  train.py*
checkpoint    model.index                utils.py
LICENSE       model.meta                 visualization.html
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention (master)
$ cd ./logdir
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention/logdir (master)
$ ls
test/  train/
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention/logdir (master)
$ cd ./train
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention/logdir/train (master                                                  )
$ ls
events.out.tfevents.1524026150.YYINC
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention/logdir/train (master                                                  )
$ cd ../..
Administrator MINGW64 ~/Desktop/temp/tf-rnn-attention (master)
$ tensorboard --logdir=./logdir
c:\users\administrator\anaconda3\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
TensorBoard 1.6.0 at http://YYINC:6006 (Press CTRL+C to quit)
`

Provide us with your tensorflow & tensorboard versions
Ensure that ./logdir/train folder contains a logging file. If it does, reload the tensorboard page.
What do you mean 'There is no scalar tab'? All the tabs must be in a drop-down list next to the 'Projector' tab even if logdir is empty

If I click on the scalar tab no data is shown.
My tensorflow version is 1.70
This are the events i am getting.
Processing event files... (this can take a few minutes)
Found event files in:
logdir/test
logdir/train
These tags are in logdir/test:
audio -
histograms
Attention_layer/alphas_1
Embedding_layer/embeddings_var
Fully_connected_layer/W
RNN_outputs
images -
scalars
Metrics/accuracy
Metrics/loss
accuracy
loss
tensor -
Event statistics for logdir/test:
audio -
graph
first_step           0
last_step            0
max_step             0
min_step             0
num_steps            1
outoforder_steps     []
histograms
first_step           0
last_step            96
max_step             290
min_step             0
num_steps            291
outoforder_steps     [(290L, 0L), (290L, 0L)]
images -
scalars
first_step           0
last_step            96
max_step             290
min_step             0
num_steps            291
outoforder_steps     [(290L, 0L), (290L, 0L)]
sessionlog:checkpoint -
sessionlog:start -
sessionlog:stop -
tensor -
These tags are in logdir/train:
audio -
histograms
Attention_layer/alphas_1
Embedding_layer/embeddings_var
Fully_connected_layer/W
RNN_outputs
images -
scalars
Metrics/accuracy
Metrics/loss
accuracy
loss
tensor -
Event statistics for logdir/train:
audio -
graph
first_step           0
last_step            0
max_step             0
min_step             0
num_steps            1
outoforder_steps     []
histograms
first_step           0
last_step            31
max_step             290
min_step             0
num_steps            291
outoforder_steps     [(290L, 0L), (290L, 0L), (290L, 0L), (102L, 0L)]
images -
scalars
first_step           0
last_step            31
max_step             290
min_step             0
num_steps            291
outoforder_steps     [(290L, 0L), (290L, 0L), (290L, 0L), (102L, 0L)]
sessionlog:checkpoint -
sessionlog:start -
sessionlog:stop -
tensor -

So expected tags are in the directory indeed. And I successfully used this code with TF 1.7 as well as @HudsonHuang, so the problem is probably with how you use tensorboard. I don't think we can help here.
Have a look at this issue https://github.com/tensorflow/tensorboard/issues/456, not sure though this is your case if you followed the steps @HudsonHuang mentioned.
I would suggest you to ask the question at StackOverflow or TF repo with all the details provided.


Refactor eth_getStorageAt

Problem
Currently eth_getStorageAt retrieves the slot value from /api/v1/contracts/{evmAddress}/results endpoint, which only contains state_changes. If the slot was not changed in the ContractResult the returned value would be 0x00000....0, although it may have an actual value.
Solution
Implement the mirror node method /contracts/{evmAddress}/state.
Alternatives
No response

Also if the slots are zero padded in the mirror-node, we should check the padding and add the missing zeros. E.g. eth_getStorageAt accepts 0x1, 0x00001 and so on, which should be resolved to format that is returned by the mirror node.

We need to verify this use case:

contact x slot y is updated in block b
blocks c, d, e don't change contract x's state
block f updates contract x slot y again
we make a query to eth_getStorageAt asking for contract x's state in block d
verify the returned value is the latest slot value updated in block b

Verify if /contracts/{evmAddress}/state supports providing the blocknumber or timestamp as argument.


dateutil parser return tzlocal instead of tzutc

When  GitActions runs the test there is a bug that dateutil.parser.parse returns a datetime.datetime object with a time zone of tzlocal instead of the correct tzutc.
This issue has been reported here.

Should use the suggestion to use dateutil.parser.isoparser for datetime strings that can be parsed that way.  If that fails then use the general parser for weird dates.

Should use the suggestion to use dateutil.parser.isoparser for datetime strings that can be parsed that way.  If that fails then use the general parser for weird dates.


AuthenticationRequestFilter must define a jarkarta priority

Bug Report
Describe the Bug
Currently, the AuthenticationRequestFilter does not defined priority. This makes adding another filter in the chain difficult.
Expected Behavior
The filter should define the @Priority(Priorities.AUTHENTICATION) to be in the correct place into the Jersey filter chain.
Observed Behavior
When I add another filter via a new Extension, the filter with @Priority(Priorities.AUTHORISATION) is trigger before the AuthenticationRequestFilter.
Steps to Reproduce
Steps to reproduce the behavior:

Create a new ServiceExtension like this :

@Extension(ManagementApiAuthzConfigurationExtension.NAME)
public class ManagementApiAuthzConfigurationExtension implements ServiceExtension {

    public static final String NAME = "Authorization Extension for Management Api";

    @Inject
    private WebService webService;

    @Override
    public String name() {
        return NAME;
    }

    @Override
    public void initialize(ServiceExtensionContext context) {
        var monitor = context.getMonitor();
        var authorizationFilter = new AuthorizationRequestFilter(monitor);
        webService.registerResource(ApiContext.MANAGEMENT, authorizationFilter);
    }
}

Create a AuthorizationRequestFilter :

@Priority(Priorities.AUTHORIZATION)
public class AuthorizationRequestFilter implements ContainerRequestFilter {

    private final Monitor monitor;

    public AuthorizationRequestFilter(Monitor monitor) {
        this.monitor = monitor;
    }

    @Override
    public void filter(ContainerRequestContext requestContext) throws IOException {
        // OPTIONS requests don't have credentials - do not authenticate
        if (!OPTIONS.equalsIgnoreCase(requestContext.getMethod())) {
            // todo handle oauth token verification.
            monitor.info("Checking authorization... ");
        }
    }
}

When accessing the management API, AuthorizationFilter is called first.

Context Information
Add any other context about the problem here.

Used version EDC 0.9.1

Detailed Description
If applicable, add screenshots and logs to help explain your problem.
Possible Implementation
Adding @Priority(Priorities.AUTHENTICATION) should fix the problem.

note that this will pull in the jakarta.annotation:jakarta.annotation-api (for just one annotation!).
By default, all filters and interceptors have the USER priority, so it should be easy to simply assign a higher priority to your interceptor?

Yes, I can do that and I will if its not possible to add this annotation, but it's strange to mark a Authorization filter that have a specific category into another one.

actually, if you assign the AUTHORIZATION priority to your authz filter you should be good.

Yes, That the problem. I don't want my authorizationFilter to be trigger before the Authentication one

Yes, That the problem. I don't want my authorizationFilter to be trigger before the Authentication one

ah, i thought it was the other way round :) ok that makes more sense then. In that case, feel free to create a PR that sets the priority.


Update MD file on new branch 2017-19-19_03-11-01

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


self hosted etcd: remove boot etcd manifest after migration

We create the boot etcd static pod manifest for creating the initial out-cluster etcd. After we successfully migrate etcd into Kubernetes cluster, we should remove that static manifest.
Or the kubelet will try to start the boot etcd again when it restarts (even if the restart policy is Never).
One thing I do not understand is that the boot etcd will be started as expected by Kubelet after a reboot, but it is always pending.

It doesn't need to wait after migration.
We can just remove it once kubelet starts boot etcd.

@hongchaodeng sure. we just need to remove it at some point. after migration seems a good point.

@hongchaodeng Can you fix this?


Possible typo in heatCoolService.ts

Describe Your Problem:
Found what might be a typo that's generating errors in the Homebridge logs. I don't have zones enabled, but the only reference to "lenth" in the code that I can find is in the test for whether zones are enabled - line 83 of heatCoolService.ts:
if (b.zones.lenth || b.zones.length >=2)
Should this be..?:
if (b.zones.length && b.zones.length >=2)
Logs:
[30/07/2023, 11:36:45 am] [homebridge-mitsubishi-aircon-au-nz] This plugin threw an error from the characteristic 'Active': Unhandled error thrown inside write handler for characteristic: Cannot read properties of undefined (reading 'lenth'). See https://homebridge.io/w/JtMGR for more info.

Plugin Config:
        {
            "user": "{{username}}",
            "password": "{{password}}",
            "dry": true,
            "zones": false,
            "zonetype": "none",
            "platform": "MitsubishiAUNZ"
        }

Environment:

Plugin Version: 1.0.3
Homebridge Version: 1.6.1
Node.js Version: 18.16.0
NPM Version: 8.19.4
Operating System: Raspian

I can reproduce with this same version of the plugin and Homebridge 1.7.


[wperf] Fix: The field samples_generated is always 0 (SPE)

Description
This PR enhances the wperf tool with several updates:

Update test_cpython_bench_spe_consistency to include 'samples_generated' and 'samples_dropped'.
Add spe_print_core_stats() function.
Remove TS metrics printout.
Populate 'samples_dropped' and 'samples_generated'.
Add missing 'samples_generated' in JSON output.
Update pmu_events_get_event_index() function.
Minor code style and typo fixes.

Related Issue
Closes #12
Commits
How Has This Been Tested?
>pytest -v wperf_cli_cpython_dep_record_spe_test.py
=============================================================================================================== test session starts ===============================================================================================================
cachedir: .pytest_cache
configfile: pytest.ini
collected 49 items

wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[x] PASSED                                                                                [  2%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[_] PASSED                                                                                [  4%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[asdasd] PASSED                                                                                [  6%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[b] PASSED                                                                                [  8%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[ld] PASSED                                                                                [ 10%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[st] PASSED                                                                                [ 12%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter] PASSED                                                                                [ 14%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[store_filter] PASSED                                                                                [ 16%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[branch_filter] PASSED                                                                                [ 18%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,x] PASSED                                                                                [ 20%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,_] PASSED                                                                                [ 22%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,asdasd] PASSED                                                                                [ 24%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,b] PASSED                                                                                [ 26%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,ld] PASSED                                                                                [ 28%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,st] PASSED                                                                                [ 30%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,load_filter] PASSED                                                                                [ 32%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,store_filter] PASSED                                                                                [ 34%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter[load_filter=0,branch_filter] PASSED                                                                                [ 36%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_name[=0] PASSED                                                                                [ 38%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_name[=1] PASSED                                                                                [ 40%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_name[load_filter=0,=0] PASSED                                                                                [ 42%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_name[load_filter=0,=1] PASSED                                                                                [ 44%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=] PASSED                                                                                [ 46%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[store_filter=] PASSED                                                                                [ 48%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[branch_filter=] PASSED                                                                                [ 51%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[ld=] PASSED                                                                                [ 53%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[st=] PASSED                                                                                [ 55%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[b=] PASSED                                                                                [ 57%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=3] PASSED                                                                                [ 59%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=a] PASSED                                                                                [ 61%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=one] PASSED                                                                                [ 63%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,load_filter=] PASSED                                                                                [ 65%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,store_filter=] PASSED                                                                                [ 67%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,branch_filter=] PASSED                                                                                [ 69%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,ld=] PASSED                                                                                [ 71%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,st=] PASSED                                                                                [ 73%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,b=] PASSED                                                                                [ 75%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,load_filter=3] PASSED                                                                                [ 77%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,load_filter=a] PASSED                                                                                [ 79%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_cli_incorrect_filter_value[load_filter=0,load_filter=one] PASSED                                                                                [ 81%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_hotspot[arm_spe_0--x_mul:python312_d.dll-65-10**10**100] PASSED                                                                                [ 83%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_hotspot[arm_spe_0-load_filter=1-x_mul:python312_d.dll-65-10**10**100] PASSED                                                                                [ 85%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_json_schema[arm_spe_0--10**10**100] PASSED                                                                                [ 87%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_json_schema[arm_spe_0-load_filter=1-10**10**100] PASSED                                                                                [ 89%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_json_stdout_schema[arm_spe_0--10**10**100] PASSED                                                                                [ 91%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_json_stdout_schema[arm_spe_0-load_filter=1-10**10**100] PASSED                                                                                [ 93%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_consistency[arm_spe_0--10**10**100] PASSED                                                                                [ 95%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_consistency[arm_spe_0-load_filter=1-10**10**100] PASSED                                                                                [ 97%]
wperf_cli_cpython_dep_record_spe_test.py::test_cpython_bench_spe_consistency[arm_spe_0-load_filter=1,st=1-10**10**100] PASSED                                                                                [100%]
========================================================================================================= WindowsPerf Test Configuration ==========================================================================================================
OS: Windows-11-10.0.26100-SP0, ARM64
CPU: 80 x ARMv8 (64-bit) Family 8 Model D0C Revision 301, Ampere(R)
Python: 3.12.3 (tags/v3.12.3:f6650f9, Apr  9 2024, 14:18:48) [MSC v.1938 64 bit (ARM64)]
Time: 22/10/2024, 05:45:39
wperf: 3.8.0.ae2bc935-dirty+etw-app+spe
wperf-driver: <IP_ADDRESS>05a5e6-dirty+trace+spe

========================================================================================================= 49 passed in 138.56s (0:02:18) ==========================================================================================================

Example JSON output for:
wperf record -e arm_spe_0/ld=1/ -c 8 --json -- cpython\PCbuild\arm64\python_d.exe -c 10**10**100 | python -m json.tool

{
    "sampling": {
        "sampling": {
            "pe_file": "cpython\\PCbuild\\arm64\\python_d.exe",
            "pdb_file": "cpython\\PCbuild\\arm64\\python_d.pdb",
            "sample_display_row": 50,
            "samples_generated": 13,
            "samples_dropped":<PHONE_NUMBER>1,
            "base_address":<PHONE_NUMBER>37704,
            "runtime_delta":<PHONE_NUMBER>23840,
            "events": [
                {
                    "type": "LOAD_STORE_ATOMIC-LOAD-GP/retired+level1-data-cache-access+tlb_access",
                    "samples": [
                        {
                            "overhead": 76.9231,
                            "count": 10,
                            "symbol": "x_mul:python312_d.dll"
                        },
                        {
                            "overhead": 15.3846,
                            "count": 2,
                            "symbol": "v_isub:python312_d.dll"
                        },
                        {
                            "overhead": 7.69231,
                            "count": 1,
                            "symbol": "_Py_atomic_load_32bit_impl:python312_d.dll"
                        }
                    ],
                    "interval": 0,
                    "printed_sample_num": 3,
                    "annotate": []
                }
            ]
        }
    },
    "counting": {
        "core": {
            "Multiplexing": false,
            "Kernel_mode": false,
            "cores": [
                {
                    "core_number": 8,
                    "Performance_counter": [
                        {
                            "counter_value":<PHONE_NUMBER>0,
                            "event_name": "cycle",
                            "event_idx": "fixed",
                            "event_note": "e"
                        },
                        {
                            "counter_value":<PHONE_NUMBER>4,
                            "event_name": "sample_pop",
                            "event_idx": "0x4000",
                            "event_note": "e"
                        },
                        {
                            "counter_value": 37,
                            "event_name": "sample_feed",
                            "event_idx": "0x4001",
                            "event_note": "e"
                        },
                        {
                            "counter_value": 13,
                            "event_name": "sample_filtrate",
                            "event_idx": "0x4002",
                            "event_note": "e"
                        },
                        {
                            "counter_value": 0,
                            "event_name": "sample_collision",
                            "event_idx": "0x4003",
                            "event_note": "e"
                        }
                    ]
                }
            ],
            "overall": {},
            "ts_metric": {}
        },
        "dsu": {
            "l3metric": {},
            "overall": {}
        },
        "dmc": {
            "pmu": {},
            "ddr": {}
        },
        "Time_elapsed": 0
    }
}

@nader-zouaoui Please review!


Update: function (key, values) - Only passes updated values?

I might be utilizing this wrong but I would of thought when saving an updated row that the whole rows values would have been passed (similar to an insert?)
Its just when I try and update a value only the changed values are logged.
Is there a way to pass the complete object back with unchanged and changed values?
Example plnkr showing logging
https://plnkr.co/edit/JMTfJWLsz7pHzauhnAoM?p=preview
Code extract
          update: function (key, values) {
                console.log("THE KEY IS")
                console.log(key)
                console.log("THE VALUES ARE")
                console.log(values)
                return http.put('https://jsonplaceholder.typicode.com/posts/' + encodeURIComponent(key), values)

This questions relates to how our DevExtreme DataGrid works rather than to our Angular integration. So, please post such questions to our support center.
Yes, you see the correct behavior. The update method gets only updated fields. You can get all row fields by using the approach described in the MVC DataGrid - How to pass all model fields to an update (put) action ticket.


Delete Android channel and recreate it in order to change sound file???

This probably isn't a bug, but perhaps a misunderstanding on my part.
  It notifies properly with sound file A
Good so far!
  It notifies properly with the original sound file A, not B.
Is this the proper behavior?  Or should I be able to delete a channel are recreate it with a different sound?

@uj that should be the way to do it. Unfortunately, that is the way the NotificationChannel class works.
Can you please fill out the rest of the issue template so I know what version of the plugin, android, etc you are using.

Ok, I see in the google document that you referred to, that even if you delete and recreate a channel, you still can never change the sound again because the OS will remember the deleted channel.  It will be stuck with that sound forever.  The only way to ever change the sound is to uninstall and reinstall the app.  Deleting a channel really just hides it.
But, now that I know that, I can workaround it.  That's fine.
That being answered, I assume you no longer need my versions, but here they are anyway:
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 8.0
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Moto G6
Cordova CLI version and cordova platform version
Cordova CLI 8
Cordova-android 7.1.1
Plugin version
Current github master on Aug-1-2018

I wish I had found this BEFORE I spend a few hours trying to figure out what I was doing wrong :-)
The google documentation, once you dig around, is really clear, once the channel is created, that's it, it looks like the only thing you can change after that is the name and priority.
"If you create a new channel with this same id, the deleted channel will be un-deleted with all of the same settings it had before it was deleted."
They seem to be urging folks to drive people to the app notification settings versus doing it yourself.
I guess I see their point, but it really limits the usefulness for those who want to lots of custom tones.
@macdonst - can you clarify the documentation a bit to be very clear that once you create the channel, you cannot change it.  I'd also suggest clarifying the "default channel" that you need to make any changes before calling init the FIRST TIME, after that, you can't change it without removing the app.  :-(

You have to create the channel BEFORE init.  Also, there is always the PushPluginChannel created that uses default values.  You can see if the channels are being created by opening per-app notification settings in your phone settings.  It will show all of the channels, and it will show what sound they are using.
I would suggest not trying to change the sound on PushPluginChannel because if you have ever deployed your app in the past and did't set the sound on PushPluginChannel, then you cannot change the sound on that one anyway (unless you uninstall/reinstall).  So, use PushPluginChannel for default, and create new channels for each of your custom sounds.
Create the Channel(s):
		setTimeout(
		(this.Push as any).createChannel(
		  () => {
			console.log('Successfully created channel-one');
		  },
		  () => {
			console.log('Error creating channel-one');
		  },
		  {
			id: 'channel-one',
			description: 'This is Channel One',
			importance: 5,
			vibration: true,
			visibility: 1,
			sound: 'channel_one'
		  }
		).then(() => console.log('createChannel finished')),10
		);

		setTimeout(
		(this.Push as any).createChannel(
		  () => {
			console.log('Successfully created channel-two');
		  },
		  () => {
			console.log('Error creating channel-two');
		  },
		  {
			id: 'channel-two',
			description: 'This is Channel Two',
			importance: 5,
			vibration: true,
			visibility: 1,
			sound: 'channel_two'
		  }
		).then(() => console.log('createChannel finished')),10
		);

Push Init:
		let push = (this.Push as any).init(
			{
			android:
				{
				senderID: "############",
				"clearNotifications": "false",
				"vibrate": "true",
				"sound": "true",
				"icon": "icon",
				"forceShow": "true",
				"iconColor": "blue"
				},
			ios:
				{
				senderID: "#############",
				gcmSandbox: false,
				alert: "true",
				badge: "true",
				sound: "true"
				},
			windows:
				{
				}
			});

PAYLOAD:
This is in PHP, but you can see what you need to.  Remember that Android 7 and below use the sound/soundname an Android 8 and above use android_channel_id.  It's okay to include both for all phones, because the phone will simply ignore any fields that it doesn't need.
						$push_output =
						'{' .
						'"to": "' . $devicetoken . '",' .
						'"priority": "high",' .
						'"data": ' .
						'{' .
						'"title": $title,' .
						'"body": "' . $message . '",' .
						'"style": "inbox",' .
						'"summaryText": "You have %n% new messages",' .
						'"soundname": "' . $mysound_file . '",' .
						'"sound": "' . $mysound_file . '",' .
						'"priority": 2,' .
						'"content-available": "1",' .
						'"force-start": 1,' .
						'"android_channel_id": "' . $android_channel_id  . '",' .
						'"visibility": 1' .
						'}, ' .
						'"time_to_live" : 3600' .
						'}'
						;

@uj  thank you very much for your explanation. at first it did not work, then i found out that i was using the wrong file path as target for the audio file xS
so for everyone interested in this:
<resource-file src="src/assets/sounds/<soundfilename>.mp3" target="app/src/main/res/raw/<soundfilename>.mp3" />
this in combination with above explanation works!  :D :D :D 🎆


docs: show example for usage in private repos

Surfaced via https://github.com/pypi/warehouse/pull/17017


⚠ Bofrost.at has degraded performance

In 1335370, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 921 ms

Resolved: Bofrost.at performance has improved in 6eda4b0.


Decompiler variables size

hello,
I am trying to write a python script that can recover the size of stack variables according to the Ghidra decompiler, for instance I would like for this specific variable to be identified with the size 33:

Unfortunately I tried many of the getSize() and getLength() functions but I didn't succeed. Please let me know which class-function I should use to achieve this? Thanks.

well, I realized that the solution to that is to commit the local variables using commitLocalsToDatabase()


Add missng docstrings in resources module

Addresses #315.
These docstrings are kind of silly and probably not very useful, but I would like to check that box off in #308.  This PR addresses some warnings when building docs with sphinx-build -W, so that might be useful.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.03%) to 17.569%

Files with Coverage Reduction
New Missed Lines
%

fabrictestbed_extensions/fablib/fablib.py
1
21.51%

Totals

Change from base Build<PHONE_NUMBER>4:
0.03%

Covered Lines:
1383

Relevant Lines:
5675

💛  - Coveralls


wxGlade modifies generated Event-Handler when generating Code a second time

Version 1.0.0b1 on Python 3.8.5 and wxPython 4.1.0
Steps to reproduce:

Create Eventhandler in wxGlade:

    def OnPaint(self, event):  # wxGlade: PlotBoard.<event_handler>
        print("Event handler 'OnPaint' not implemented!")
        event.Skip()

remove the 'print' line

    def OnPaint(self, event):  # wxGlade: PlotBoard.<event_handler>
        event.Skip()

Generate Code Again

    def OnPaint(self, event):  # wxGlade: PlotBoard.<event_handler>
        print("Event handler 'OnPaint' not implemented!")
        event.Skip()

the print line is visible again. The Eventhandler is recreated, instead of left alone.
plotboard_wxg.gz

Please try "Keep user code".

P.S.: You don't need the sizer in this example. Also, a grid sizer as toplevel sizer is usually not a good idea.

thanks, that solved the problem.


Add First Run Experience (FRE) flow

Is your feature request related to a problem? Please describe.
The users might get confused where to find the graph and how to use it.
Describe the solution you'd like
Add first run experience (FRE) flow showing the features of the extension
Describe alternatives you've considered
Opening a web page with instructions on how to use the extension, but FRE will be more elegant.
Additional context
NA

I have made a quick UI design for the FRE.
FRE Page 1

FRE Page 2

FRE Page 3

FRE Page 4

FRE Page 5

Implemented and released with version 1.1.1


Minor refactoring in xtask.

Ensure general-purpose are in xtask::util, useful for adding more features down the line.

I've got a test for UBUNTU_BASE based off of this PR. Not sure if I should roll both into one, or submit them as separate PRS:
https://github.com/Alexhuszagh/cross/tree/dockerfile


Release v1.8.1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.544%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
880

Relevant Lines:
893

💛  - Coveralls


Pusblishing manifests files for SSMS 20.0 which we just released

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

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

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

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

Microsoft Reviewers: Open in CodeFlow

Approver: could you tell me if I'm violation of the first 2 bullets? I work at Microsoft, so I'm not sure they are applicable to me, but I can check with my PM and see if we need to reach out to our legal folks and do something about this.
I do not know what "an linked issue" would be.

Approver: could you tell me if I'm violation of the first 2 bullets? I work at Microsoft, so I'm not sure they are applicable to me, but I can check with my PM and see if we need to reach out to our legal folks and do something about this.
I do not know what "an linked issue" would be.

The checklist is not mandatory; The validation pipeline will give notification of any errors if needed

I'll prep anoteher PR with an update schema, as I was reminded by the wingetbot. It is about time I update my pipeline, after all.


Blackberry button seems broken

The Blackberry button doesn't seem to work, if I press it nothing happens no matter what layer I'm on. I'm not sure if it's a hardware or a software problem.

In which device you when press the blackberry button there is no reaction?

It doesn't work on my Raspberry Pi 5 or my Google Pixel 6 phone.

It doesn't work on my Raspberry Pi 5 or my Google Pixel 6 phone.

Hmm, if not it's not working

You can remove the upper case and soler the pads of this button.
theoretically this shouldn't happen because before the delivery I tested all the keys


Support for Block Building

Describe the feature
It would be great if reth supports building blocks, and allows submitting to multiple mev-boost relays.
Based on early reth metrics, it looks like it could be several times as performant as typical geth-based block builders, and perhaps provide some nice features on top!
At Flashbots we maintain a block builder based on geth, and would be happy to support the development of this functionality in reth with our experience and learnings.
Additional context
References

https://github.com/flashbots/builder - geth-based block builder
https://flashbots.github.io/relay-specs - APIs the relays implement for builders and the public
https://ethereum.github.io/builder-specs - mev-boost core protocol APIs
CL client SSE event to trigger block building

https://github.com/ethereum/beacon-APIs/blob/master/apis/eventstream/index.yaml#L95-L124 - payload_attributes SSE event
https://github.com/ethereum/execution-apis/blob/main/src/engine/shanghai.md#payloadattributesv2 - PayloadAttributesV2 structure

Builder documentation: Flashbots, builder0x69

Goals

Build blocks

using transactions from mempool as well as directly sent transactions and bundles
according proposer preferences: gasLimit, feeRecipient
collect gas fees to the builder’s own block.coinbase address
at end of the block, have a payment transaction from the builder (block.coinbase) to proposer feeRecipient

Submit the block to one or more mev-boost relays
Additional APIs to sending private transactions and bundles to the builder: eth_callBundle, eth_sendBundle, eth_sendPrivateTransaction ([1] [2] [3]) / eth_sendPrivateRawTransaction ([1])

How it works

Builder polls relay for the proposer registrations for the next epoch when block building is triggered

https://flashbots.github.io/relay-specs/#/Builder/getValidators
https://boost-relay.flashbots.net/relay/v1/builder/validators
Note that multiple relays should be supported

The builder uses the payload_attributes SSE event subscription to a CL client to receive information about the current slot and the required payload attributes (timestamp, withdrawals, prevRandao) which are required for the produced block.

See also PayloadAttributesV2 structure and the SSE event docs

Blocks are submitted to the relay(s) on an ongoing basis

Note that (1) relays might employ some rate-limiting for block submissions, and (2) blocks are becoming more valuable towards end of the slot, and may be submitted more often then.
Therefore a smart scheduling might be advisable, sending only few blocks early on in the slot and sending more frequently in the second half of a slot.

Additional notes

Geth makes some things very hard to do, and there's some possible strong improvements over geth based on our experience:

Fast multi-transaction simulation with cheap reverts, in particular reverting ethereum state to one from before a list of transactions
Support for multiple merging algorithms is important, perhaps they can even be made somewhat modular?
A pain-point with geth is the slow calculation of the state root and block hash.

Bundles require revert protection and cannot be unbundled. (bundles are a list of transactions that can either be included together or not at all, and which must not be included if one of the transactions reverts)
See also the Flashbots builder README for inspiration on command-line arguments
The original Flashbots builder implementation uses a custom Prysm fork to send payload attributes to the builder. We are currently in the process of phasing this out and switching to the newly standardized SSE events: https://github.com/flashbots/builder/pull/53
We are happy to collaborate, feel free reach out through Discord, Telegram or the Flashbots forum.

Duplicate of https://github.com/paradigmxyz/reth/issues/1013, but since this is more fleshed out I will close the other issue

Thank you Chris. Excited to start working on this soon...pinging searchers/builders to weigh in as well.

Makes a ton of sense, thanks @jasalper. Should there also be extra parameters supplied which allow for state overrides?

@jasalper this would certainly fit our needs, and fits relatively nicely with my suggested interface in #1013 (here).
To implement the Engine API, however, I believe Reth will require the ability to build a block from its mempool? Both v1 and v2 of eth_forkchoiceUpdate accept payload attributes and then start the building process. See the spec here, notably point number 8 of the requirements, as well as the details on payload building.
I think the key here is that as opposed to Geth, we can make Reth easy for people with alternative transaction selection criteria to build their own payloads (and thus be more usable as a library).

@gakonst - I don't think the state overrides would be relevant for us specifically, but I could see reth_buildBlockWithoutStateRoot perhaps using them. It doesn't make much sense though to have state overrides but also compute state root/block hash.

Just an API call which requires transactions as input and returns a block seems entirely insufficient.
Building blocks for a slot is not an one-off task, but an ongoing effort to find the highest value block by trying (simulating) combinations of transactions and bundles (that aren't allowed to be unbundled), including new ones that arrive over time (from mempool, through eth_sendBundle, etc.), and continuously submitting them to the relays.

Duplicate of #1013, but since this is more fleshed out I will close the other issue

Let us leave it open. This issue is more discussion on API and that issue is for implementation and how it gets integrated, so there is a difference.

@metachris - I don't think reth should be making a block builder - just adding support for external builders. I think there is a misunderstanding of what reth does in my proposal. Here, reth does not try to find the most valuable block. reth simply exposes a call that computes the block sealing values for builders that have already computed the most valuable block, and are submitting this block via a list of transactions.
"Building blocks for a slot is not an one-off task, but an ongoing effort to find the highest value block by trying (simulating) combinations of transactions and bundles (that aren't allowed to be unbundled), including new ones that arrive over time (from mempool, through eth_sendBundle, etc.), and continuously submitting them to the relays."
The RPC call doesn't broadcast the block anywhere. The RPC call is used to compute the state root (+ logs bloom, transactions root, etc) for a given list of transactions. An efficient block builder will not be computing these cryptographic values for any potential block, only the ones they wish to submit.
In this model, builders would do their simulation via something more efficient like trace_callMany, and would continuously update their blocks with incoming transactions outside of reth.  reth_buildBlock is only called once a potential block is ready to be sent to the relay.
"It's also important to point out that bundles need to be supported, which are a list of transactions that can either be included all together or none at all, and which must not be included if one of the transactions reverts."
I don't think reth_buildBlock needs to care about whether something is a bundle or a mempool transaction. Once something becomes part of the EL and lands on chain, these distinctions disappear. Ensuring that bundle transactions do not revert and that private transactions remain private should be the responsibility of the block builder. (Although perhaps returning an additional data structure which indicates which transactions reverted might be useful for these purposes?)
"If an external service would need to go through this API call, it would need to be connected to the mempool, and receive bundles/private transactions through additional APIs, and would be very inefficient because of the request/response pattern, even if the API would allow for revert protection, transactions, private transactions and bundles, and even if reth would try to find the most valuable block out of all the supplied inputs while adhering to the expressed preferences."
Having external builders subscribe to the txnpool to pack the block doesn't seem like a particularly big ask - everybody is doing it anyways, and if they don't wish to do it, the reth_buildBlockWithTxnpool call would fill the rest of the block with transactions that reth has seen in the default geth-style gas price ordering. (Not optimal compared to other packings, but if a builder wants efficient packings, they should do it themselves).
The builder already receives bundles/private transactions through additional APIs, so I'm not sure what the distinction is.

I think we can close this given the CliExt trait which allows extending things and given we have the PayloadBuilder trait now.
also see integrations:
https://github.com/ralexstokes/mev-rs/pull/112/files
https://github.com/jacobkaufmann/evangelion/


After class deletion:com.orientechnologies.orient.core.index.OIndexException: Error on rebuilding the index for clusters

I want to delete the ShopUser class and this error is thrown

com.orientechnologies.orient.core.index.OIndexException: Error on rebuilding the index for clusters: [node, de_fitness, root, fitness, shopuser, de_root, de_business]
 --> java.lang.IllegalArgumentException: Cluster 'shopuser' was not found

I try it again and this error is thrown

java.lang.IllegalArgumentException: Cluster 15 is null

but the Class is still listed.

Now I want to use my db like before

select from shopuser

Error:
java.lang.IllegalArgumentException: Cluster 15 is null

My db is broken. I don't use a complex db schema :( @lvca sry but this release serie is unusable. This is no issue this is the core the basic of the basics. :/ I deeply hope you get it stable. Thanks.

Hi @lvca,
I've the same problem than @StartTech.
Could you provide us a temporary workaround in order to repair database ?
Thx and have a nice day

Hi guys,
I think I have a fix for this, I'm running tests right now. If everything is fine I'll be able to push it on 2.1.x branch in a few minutes
Thanks
Luigi

Hi guys,
I just pushed a fix on develop branch.
The fix just prevents for this problem to happen, but maybe you need to drop and recreate indexes in the class hierarchy to solve the problem.
Please let me know if you need help on this
Thanks
Luigi

Sorry, the fix is on branch 2.1.x, I'm porting it to develop right now

Hi guys, this is fixed in both develop and 2.1.x, please let me know if it completely fixes your use case
Thanks
Luigi

@luigidellaquila Hi Luigi, I just ran into this problem. You said "maybe you need to drop and recreate indexes in the class hierarchy". Is there an easy way to do that with a database in production? Do all indexes have to be dropped/recreated?


[FeatureRequest] Border radius for crop tool (rounded corners)

Thanks for this tool, very useful! ❤
Is there a way to add a border radius for the crop tool?

Hi, not right now.

Is there a plan to implement it?

Yes, but it requires underlying changes to the editor.
So, it depends on other tasks to be implemented. :)

+1!