Add a top-down view

This adds a first iteration of the top-down view.
Screenshot from profiling Trata:

Things left to do:

Add context menus—this is quite pressing.
Add a checkbox to switch between grouping by thread and not. For now I went for adding a top-level "all threads" branch next to the other threads (see the screenshot).
Maybe improve the visualization of percentages, for example with "progress bars" filled to the amount corresponding to the percentage (at least for the "inclusive" column).
Add a top-down view for the selection—it might be quite easy.
Eventually, generalize to other tree views like bottom-up and butterfly.

Commits
Remove obsolete ShowIncludesDialog
Bug: http://b/158950531
Remove now unused OrbitTreeModel, OrbitTreeItem
Move live, sampling, selection tabs back to the .ui xml
This simplifies the code and avoids having all tabs defined in the xml before
all tabs added programmatically.
Add the top-down view

Set up the new top-down tab in the ui.
Set up the OrbitMainWindow-OrbitApp callback mechanism for the top-down
view.
Implement TopDownView with the new ad-hoc Qt TopDownViewItemModel.

Use QSortFilterProxyModel to sort the TopDownViewItemModel
Add an "all threads" branch to the top-down view
Add percentage "Of parent" column to top-down view

I won't be able to review this before next week, but wanted to quickly say this looks really awesome, thanks!

Some meta-questions that we should discuss but that are not necessarily relevant for this PR:

Is the top-down view affected by selections? Should it be?
Minor: Should the top-down view be next to sampling?

Before I get to addressing the review of the code, let me reply to the comments.
@ronaldfw

Minor: Should the top-down view be next to sampling?

You mean as in the order of the tabs? In that case, maybe, I haven't really given it a thought, I just added the tab at the end. Do you think it should be between the "sampling" and the "selection" tab?

Is the top-down view affected by selections? Should it be?

Is it? No. Should it be? I think so. But we should discuss how.
Should it be in the same tab (basically replacing the "overall" top-down view) or in a different tab?
If in a different tab, I fear the explosion of the number of tabs—we already have "sampling"/"selection", we would add "top-down"/"top-down (selection)".
If in the same, I think that "sampling"/"selection" should also be joined. But Pierric noted that the user could have set up one view (e.g., opened the top-down tree) in a certain way, and then a selection would clear that setup. One way to solve this might be to just retain that setup, e.g. by just hiding such "overall" views while a selection is active.
@pierricgimmig

Filtering would be important, not just for consistency with all other data views, but it would be particularly useful to automatically expand/collapse the nodes to quickly see the hierarchies containing the searched function(s).

"Collapse/Expand all" functionality would be great, globally but also for the selected node.

We should support copy/pasting like all the other data views in Orbit. This would possibly mean allowing multiple selection.

I agree with all this, I tried to add some things left to do in the PR's description but I forgot many. "Collapse/Expand all" is actually very important, I was already annoyed by not having it while implementing this. But this is just a starting point.

To me, this should probably be a view mode in the Sampling and Selection tabs. Since it is another way to look at
the same sampling data, I think it might make sense to have the option to switch from "flat" to "top-down" to "butterfly" or "bottom-up" within the original sampling and selection tabs instead of creating a new tab for each type.

I remember we discussed this and we need to experiment and change things. My feeling so far, though, has been that the top-down view needs a lot of vertical space. If it "replaced" (based on a ui switch) the flat sampling data, it might still be ok. Still, the "callstacks" view at the bottom takes away space, and maybe while you're in the top-down view you don't really need to see the callstacks when you click on an element, because you're basically already seeing them in tree form.
To add to this, I'm also not sure if it's best to have all the flat, top-down, bottom-up, butterfly in the same place under just a switch—it would feel a bit too cramped to me, but this is minor.
Lots of things to consider...

I remember we discussed this and we need to experiment and change things. My feeling so far, though, has been that the top-down view needs a lot of vertical space. If it "replaced" (based on a ui switch) the flat sampling data, it might still be ok. Still, the "callstacks" view at the bottom takes away space, and maybe while you're in the top-down view you don't really need to see the callstacks when you click on an element, because you're basically already seeing them in tree form.
To add to this, I'm also not sure if it's best to have all the flat, top-down, bottom-up, butterfly in the same place under just a switch—it would feel a bit too cramped to me, but this is minor.
Lots of things to consider...

Maybe having tabs inside the "sampling" tab would work? We could replicate the same tab hierarchy in the "selection" tab instead of having a lot of top level tabs. I agree that we wouldn't necessarily need to see the callstacks in the top-down view btw. As I said, I'm happy with submitting this and iterating.

You mean as in the order of the tabs? In that case, maybe, I haven't really given it a thought, I just added the tab at the end. Do you think it should be between the "sampling" and the "selection" tab?

Yes, I think it should be between "sampling" and "selection", as it visualizes the same data as the sampling tab (compared with the selection tab, which depending on the selection shows just a subset). That would feel a bit more consistent to me. As you and @pierricgimmig noted, there are many other things to consider, so this might all change. But as the order is a tiny change, I would propose to still do it now.

You mean as in the order of the tabs? In that case, maybe, I haven't really given it a thought, I just added the tab at the end. Do you think it should be between the "sampling" and the "selection" tab?

Yes, I think it should be between "sampling" and "selection", as it visualizes the same data as the sampling tab (compared with the selection tab, which depending on the selection shows just a subset). That would feel a bit more consistent to me. As you and @pierricgimmig noted, there are many other things to consider, so this might all change. But as the order is a tiny change, I would propose to still do it now.

It's fine by me, done.

As I said, I'm happy with submitting this and iterating.

I know I know, but as we're talking about it...

Maybe having tabs inside the "sampling" tab would work? We could replicate the same tab hierarchy in the "selection" tab instead of having a lot of top level tabs. I agree that we wouldn't necessarily need to see the callstacks in the top-down view btw.

Maybe, we would need a prototype. My feeling right now is that having even more subtabs (we already have the threads' subtabs) might be a bit cramped and confusing.


feat(publick8s): migrate public-nginx-ingress controller and default backend to arm64

Similar to https://github.com/jenkins-infra/kubernetes-management/pull/4540
Ref: https://github.com/jenkins-infra/helpdesk/issues/3619#issuecomment-1713522131

Diff LGTM

Related status announcement proposition: https://github.com/jenkins-infra/status/pull/390


0.3.9 re-adds the emerald block texture

Ah nooo why do i make this mistake every time ... thanks for reporting...

I archived 0.3.9 and uploaded 0.3.10, because I also implemented the crimson/warped-overlay feature today.
Again, thanks for reporting!
Regards, Manu


programmatic usage errorsOnly regression

Which packages are impacted by your issue?
@graphql-codegen/cli
Describe the bug
errorsOnly:true does not suppress status logs
✔ Parse Configuration
✔ Generate outputs

Your Example Website or App
none
Steps to Reproduce the Bug or Issue
Install version 3 of codegen cli, use
Use programatic usage like
	await generate(
		{
			schema: `${__dirname}/../../${name}/generated/schema.graphql`,
			documents: folders.map(
				(folder) => `${pwd}/${folder}/**/*.${name}.graphql`,
			),
			generates: {
				[`${pwd}/generated/${name}.graphql.ts`]: presets[preset],
			},
			errorsOnly: true,
			watch,
		},
		true,
	)

Expected behavior
To not log
✔ Parse Configuration
✔ Generate outputs

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
NodeJS: [e.g. 18.5.0]
graphql version: [e.g. 16.3.0]
@graphql-codegen/* version(s): 3.0.0

Codegen Config File
No response
Additional context
No response

Hi @n1ru4l, not related to Parse Server, but in my company project i noticed the regression

Any workarounds?

Not sure if this is related, but also with<EMAIL_ADDRESS>I'm not able to suppress regular logs in dev mode.

That silences errors as well, no?

Reported in this issue previously https://github.com/dotansimha/graphql-code-generator/issues/8477


Allow to use custom route path prefix for resource

Nowadays, if i have resource for entity "SomeName", matched url looks like "some_name". And there is only one way to change this: overriding whole set of resource operations. I suggest to add ability to pass custom route prefix directly from service tag:
services:
  resource.some_name:
    # rest of definition goes here
    tags:
      - { name: api.resource, pathPrefix: "/SomeName" }

Well, should be pretty easy to do in the ApiLoader, but it's actually already doable by cheating and using the Resource shortName https://github.com/dunglas/DunglasApiBundle/blob/master/Api/Resource.php#L372-L375
services:
  resource.some_name:
    # rest of definition goes here
    initShortName: 'somePrefix/someName'
    tags:
      - { name: api.resource, pathPrefix: "/SomeName" }

A cleaner way to do this might be good however.

services:
  resource.some_name:
    # rest of definition goes here
    tags:
      - { name: api.resource }
    calls:
        - [ initShortName, [ somePrefix/someName ] ]

Absolutely... sorry for the wrong example :)

Jumping on this with a related issue (or maybe I've a bad use of the compiler pass, seems the way of doing it).
I've a CompilerPass that changes the name of every resources. It appends the name of the bundle to avoid resources conflicts:
class ResourceShortNamePass implements CompilerPassInterface
{
    public function process(ContainerBuilder $container) {
        foreach($container->findTaggedServiceIds('api.resource') as $serviceId => $tags)  {
            $definition = $container->getDefinition($serviceId);
            $entityClass = $definition->getArguments()[0];

            $parts = explode('\\', $entityClass);
            if($parts[1] !== 'ISOBundle') {
                $definition->addMethodCall('initShortName', [str_ireplace('bundle', '', $parts[1]) . $parts[count($parts) - 1]]);
            }
        }
    }
}

Now this works great for basic resources but when I add a custom one everything's broken. The following example adds a route on the ProductProduct resource (shortName has a BundleEntity form):
#excerpt
    resource.product.collection_operation.get:
        class: 'Dunglas\ApiBundle\Api\Operation\Operation'
        public: false
        factory: [<EMAIL_ADDRESS>'createCollectionOperation' ]
        arguments: [<EMAIL_ADDRESS>'GET']
    resource.product.collection_operation.post:
        class: 'Dunglas\ApiBundle\Api\Operation\Operation'
        public: false
        factory: [<EMAIL_ADDRESS>'createCollectionOperation' ]
        arguments: [<EMAIL_ADDRESS>'POST']
    resource.product.collection_operation.search_get:
        class: 'Dunglas\ApiBundle\Api\Operation\Operation'
        public: false
        factory: [<EMAIL_ADDRESS>'createCollectionOperation' ]
        arguments:
            -<EMAIL_ADDRESS>#here is the issue
            - ['GET']
            - '/product_products/search' #route
            - 'product.action.search' #controller
            - 'api_product_products_get_search_collection' #route name
            - '@type': 'hydra:Operation'
              'hydra:title': 'Search operation'
    resource.product:
        parent: 'api.resource'
        arguments: [ 'Product\ProductBundle\Entity\Product' ]
        calls:
            - method: 'initCollectionOperations'
              arguments: [ [ '<EMAIL_ADDRESS><EMAIL_ADDRESS>] ]
            - method: 'initFilters'
              arguments: [<EMAIL_ADDRESS><EMAIL_ADDRESS>]
            - method: 'initNormalizationContext'
              arguments: [ {groups: ["default"]} ]
            - method: 'initDenormalizationContext'
              arguments: [ {groups: ["default", "post"]} ]
        tags: [ { name: 'api.resource'} ]

Note that when declaring such a custom route, we inject @resource.product inside the operation. This one does not go through my CompilerPass and so, the shortName is still Product (from the operation point of view). Obviously, when I then request /api/products_product/search, route matches but it won't find my Resource (which shortname is in fact ProductProduct).
Could anyone enlight me about this?

Bump.
I think that custom operations are not available in the compiler pass as api.resource tagged services. Is this expected? I know that this behavior might change with the v2 but I can't understand why those are not available.

this can be closed non ?

Closing as I think this is no longer relevant.


Switch to glide dependency management tool

Switch to glide go dependency management tool, at least until go dep reaches parity with glide.

Fixed in 5bcfaca.


Update amazon_web_services.md

Tried it today, and it says Create file system and not Create Storage

typo

I wonder if this is an update on AWS's systems? 😉


[flaky test] No permission to open /dev/null

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
There is sometimes a weird error in CI which makes tests randomly fail.
virt-launcher logs: https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2565/pull-kubevirt-e2e-os-3.11.0/1158359492350447616/artifacts/pods/1_kubevirt-test-default_virt-launcher-testvmirmdd8lx8lz2nk6w8dc85lqjgw42b5km9754br5vdfb-compute.log
job: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2565/pull-kubevirt-e2e-os-3.11.0/1158359492350447616
The relevant section:
{"component":"virt-launcher","level":"error","msg":"failed to create nat rules for vm error: open /dev/null: operation not permitted","pos":"podinterface.go:435","timestamp":"2019-08-05T14:56:09.240886Z"}
{"component":"virt-launcher","level":"fatal","msg":"failed to prepared pod networking","pos":"podinterface.go:88","reason":"open /dev/null: operation not permitted","timestamp":"2019-08-05T14:56:09.241074Z"}
panic: open /dev/null: operation not permitted

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

@cynepco3hahue @SchSeba @slintes @fedepaol FYI

Edit: removed /dev/mem/ error from here because that is always there.

Some additional test that failed because of it:
/root/go/src/kubevirt.io/kubevirt/tests/vmi_cloudinit_hook_sidecar_test.go:119
Unexpected Warning event received: testvmipfr8gh4k2gt5fmn9f5jrbrlsp2cx95np8qwj6kjmzxb4wkc8,93cb88ca-b7ef-11e9-9b6c-525500d15501: server error. command SyncVMI failed: "generating local cloud-init data failed: open /dev/null: operation not permitted"
Expected
    <string>: Warning
not to equal
    <string>: Warning

another one: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2717/pull-kubevirt-e2e-os-3.11.0/1175919830482554880, log: https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2717/pull-kubevirt-e2e-os-3.11.0/1175919830482554880/artifacts/pods/1_kubevirt-test-default_virt-launcher-testvmi8qd729cq4s8xlcf74w7j78m9jvrlvp72n2vbd5bhls-compute.log

another one: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2649/pull-kubevirt-e2e-os-3.11.0-multus/1176139398991843328, log: https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2649/pull-kubevirt-e2e-os-3.11.0-multus/1176139398991843328/artifacts/pods/1_kubevirt-test-default_virt-launcher-testvmisv9c52pjm7lvh9trgc6wnn2xbft6q6grqm9dsxrbkt-compute.log

Is it only happening on openshift lanes? Perhaps it has to do with our selinux profile.

Could be. It is just strange, because it looks like it "normally" works.

/reopen
/remove-lifecycel rotten
Still a (seldom and strange) issue.

/reopen
/remove lifecycle-rotten
/lifecycle frozen

/assign @qinqon
FYI we had  this issue before already when we were testing openshift 3.11 inside a VM. It looks like the bare-metal machines (which run openshift) in combination with kind seems to run into this issue too.

Another one https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3684/pull-kubevirt-e2e-kind-k8s-1.17.0-ipv6/1278456503107325953
I have prepare a simplistic "reproducer" here https://github.com/kubevirt/kubevirt/pull/3724 running tee /dev/null inside a pod using virt-launcher container but looks like it's fine after running several times.

Added some stuff to the kubernetes reporter to list files at pods with type and permissions https://github.com/kubevirt/kubevirt/pull/3724/commits/8dae06373317973ea3f0c6d5b90b0108af8852c0

Maybe related https://github.com/kubernetes-sigs/kind/issues/717

Checking one of the nodes at running kind I think the number of openfiles done by root is over the ulimit
[root@ibm-srv04 ~]# lsof -u root | tail -n +2 | awk {'print $9'} | wc -l;
7427
[root@ibm-srv04 ~]# ulimit -n
1024

Seen on 1.18 today: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3869/pull-kubevirt-e2e-k8s-1.18/1285947809471664128

Hit this today on kind-ipv6:
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3794/pull-kubevirt-e2e-kind-k8s-1.17.0-ipv6/1286734977844645888
Test: Configurations [rfe_id:2926][crit:medium][vendor:cnv-qe@redhat.com][level:component]Check Chassis value [test_id:2927]Test Chassis value in a newly created VM

Got the same with a different devnode! (urandom)
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3905/pull-kubevirt-e2e-kind-k8s-1.17.0-ipv6/1289160100287614977
Tried debugging this, failed but found that:

It’s not SELinux (happened before it was enforced, also happens in kind, no denials in the logs even with dontaudit -> deny)
If /dev/null is removed before starting libvirtd, the error is different ("failed to start libvirtd","pos":"libvirt_helper.go:210","reason":"open /dev/null: no such file or directory")
Replacing libvirtd with ls -l /dev shows /dev/null is there right away. However it also shows /dev/mqueue starts with categories which get removed later. That means docker can still be messing with /dev after libvirtd has started.

/triage build-officer

Happens today on 1.17
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4140/pull-kubevirt-check-tests-for-flakes/1303990361718263808
• Failure in Spec Setup (BeforeEach) [32.502 seconds]
Infrastructure [rfe_id:3187][crit:medium][vendor:cnv-qe@redhat.com][level:component]Prometheus Endpoints [BeforeEach] [test_id:4137]should find one leading virt-operator and two ready
/root/go/src/kubevirt.io/kubevirt/tests/infra_test.go:570

  Unexpected Warning event received: testvmirxthdbrrr4mhh7kdwfxcfql2nkrkdp6trxbd2xth8r9gjfdh,8f1c1b5a-5e9f-4e2f-aaff-dc071ef4ef35: server error. command SyncVMI failed: "preparing ephemeral container disk images failed: qemu-img failed with output '': open /dev/null: operation not permitted"
  Expected
      <string>: Warning
  not to equal
      <string>: Warning

  /root/go/src/kubevirt.io/kubevirt/tests/utils.go:356

We had a similar issue with our CI running in Kubernetes (without KubeVirt): sometimes random tests would fail with panic: open /dev/null: operation not permitted
In our case the problem was fixed by removing --cpu-manager-policy=static (https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/) from our kubelet.
Hope it helps.

tests/network/services.go:236
Unexpected Warning event received: testvmi4fq45cqbjcjjzfspbnnvx7bl8gpktk88rnm9ncn86928n5vk,222bacbf-fe25-45bd-8c40-6577f7a747d8: server error. command SyncVMI failed:
"LibvirtError(Code=38, Domain=0, Message='cannot open /dev/null: Operation not permitted')"
Expected
    <string>: Warning
not to equal
    <string>: Warning
tests/utils.go:360

Seen here: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4297/pull-kubevirt-e2e-k8s-1.16/1312384420702851072

In our case the problem was fixed by removing --cpu-manager-policy=static (https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/) from our kubelet.

 We don't use the cpu-manager right now, but I guess it makes it more clear that this is related to the kubelet and the CRI. @Fefer-Ivan did you open an issue in kubernetes/kubernetes already?

In our case the problem was fixed by removing --cpu-manager-policy=static (https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/) from our kubelet.

 We don't use the cpu-manager right now, but I guess it makes it more clear that this is related to the kubelet and the CRI. @Fefer-Ivan did you open an issue in kubernetes/kubernetes already?

I think we might do ? see please
cluster-provision/k8s/1.18/nodes.sh
"--cpu-manager-policy=static"

I think we might do ? see please
cluster-provision/k8s/1.18/nodes.sh
"--cpu-manager-policy=static"

Oh right, that can be it. Our containerized clusters add some nodes with the cpumanager. Just thought about the bare-metal node below. So this could indeed also be our issue.


OpenCR board battery low warning, connected to power supply

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[*] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[*] etc (ROS2 Humble)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[*] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[*] etc (Ubuntu 22.04)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[*] etc (Ubuntu 22.04)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

HERE

Copy and Paste the error messages on terminal.

HERE

Please describe the issue in detail.
USER3 Red LED lights up after uploading firmware to OpenCR (according to steps 3.3, 1-7 https://emanual.robotis.com/docs/en/platform/turtlebot3/opencr_setup/#opencr-setup), I've found this is the low battery error warning but the board is connected via power supply. Currently the board is connected to the raspberry pi by USB and is also supplying power to the raspberrypi from the 5V output.

I have measured the 12V outputs on the OpenCR board and they were 12.10V and 11.97V, but from what I've seen online is that the battery low warning should only start when the voltage drops below 11V.
I have also tried reuploading the firmware.

Hi @seliboii
It is not appropriate to supply power to the Raspberry Pi connected to OpenCR via USB or USB-C, as this may not provide sufficient voltage.
I just tried supplying power by usb - c. DynamixelSDK didn't operate so bringup launch didnt operate,too.
Also the topic /battery_status show a voltage of almost 1.1V.
So i recommand  you to use rated battery or power supply.


Reproducing strange bug

Summary
playing around with other things I happened to reproduce #67
Detailed Description
How was it tested?
added unit test

@eyala / @shay1bz - if you want to look at it.. we get this error org.apache.avro.AvroRuntimeException: java.io.IOException: Block read partially, the data may be corrupt when I run the test TestAvroPartialBlock with N=100000. with N=10000 it doesn't happen..

I am limited to my mobile phone for the next few days :D Will try to debug it when I'm back 👍🏼

I'm going to take all of this PR other than the commit almost support non-partitioned tables and release a 0.5.x version with it - that's where we did some full scale testing on it. Afterwards we can determine whether to merge all of it to main


WIP  Move++  move-mv-llvm-compiler with Aptos FE

This includes compilation of Aptos added move stdlib (find it under move-mv-llvm-compiler/tests/extern directory).
Code generation may have some problems, but FE passes, we can compile lambda, iterator, inline.
This does not support our old compilation path from the bytecode, since Aptos removed the old api.
It possibly may be restored - Aptos has some new building interfaces. I'm not sure we will need this, but I want to store in the repo as much of working code as I have.
Do not expect our tests "from bytecode" will work. But stdlib-tests does!

This is difficult to evaluate as is, since it is a huge diff that (I think) is copying aptos code into our non-aptos-based tree, creating a hybrid of upstream move and aptos move.
If we are going to switch to an aptos base I might do it like

first rebase our entire tree off move/main
then squash our entire diff into one patch
then rebase that one patch off the move/aptos-main branch


Fix Get content-type header and set contentLength when length is null

I had to apply the minor fixes found in this PR to get the pre request script to work for me (postman 6.7.3 on macOS)

Thanks Julien!


Processing data in models

In this PR, I did-

Create model classes for all entities as shown in the  ERD diagram.
Set up associations in the User model
Set up associations in the Post model
Set up associations in the Comment model
Set up associations in Like model

Create custom methods -

A  method three_most_recent_posts that returns the 3 most recent posts for a given user.

A method update_posts_counter that updates the posts counter for a user.

A method five_most_recent_comments which returns the 5 most recent comments for a given post.

A method update_comments_counter that updates the comments counter for a post.

A method update_likes_counter that updates the likes counter for a post.

Thanks for Approving the PR 😊.


DaemonSet no longer (>=v1.16.0?) available under extensions/*

tk apply environments/default
error: unable to recognize "STDIN": no matches for kind "DaemonSet" in version "extensions/v1beta1"
Warning: There are no differences. Your apply may not do anything at all.
Applying to namespace 'tanka' of cluster 'microk8s' at 'https://<IP_ADDRESS>:16443' using context 'microk8s'.
Please type 'yes' to confirm: yes
namespace/loki unchanged
clusterrole.rbac.authorization.k8s.io/promtail unchanged
clusterrolebinding.rbac.authorization.k8s.io/promtail unchanged
configmap/promtail unchanged
namespace/loki unchanged
serviceaccount/promtail unchanged
error: unable to recognize "STDIN": no matches for kind "DaemonSet" in version "extensions/v1beta1"
exit status 1

I'm using microk8s and:
kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-18T14:56:51Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:13:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Replacing...
apiVersion: extensions/v1beta1
kind: DaemonSet

With...
apiVersion: apps/v1
kind: DaemonSet

...solves the problem (for recent versions of Kubernetes).

You are attempting to use the promtail library (getting started example) right? If so, please file this exact issue with https://github.com/grafana/loki, the code of this library lives in there :D

Will do! Apolz.


Does houdini already supports windows?

Hi!
While trying to setup houdini, I got this error on houdini generate
(node:12660) UnhandledPromiseRejectionWarning: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:782:11)
    at Loader.resolve (internal/modules/esm/loader.js:88:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
    at Loader.import (internal/modules/esm/loader.js:176:28)
    at importModuleDynamically (internal/modules/esm/translators.js:114:35)
    at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
    at file:///C:/.../node_modules/houdini/build/cmd.js:937:49
    at step (file:///C:/.../node_modules/houdini/build/cmd.js:346:23)
    at Object.next (file:///C:/.../node_modules/houdini/build/cmd.js:327:53)
    at file:///C:/.../node_modules/houdini/build/cmd.js:320:71

some of my devdeps
		"@sveltejs/kit": "1.0.0-next.107",
		"houdini": "^0.5.1-kit.6",
		"houdini-preprocess": "^0.5.1-kit.6",
		"typescript": "4.3.1-rc"
		"svelte": "3.38.2",

Does this error means it isn't focused on windows yet, or is it something wrong on my side?

Hey @outerlook - thanks for opening up this ticket
It looks like that error is caused when trying to load the config file. I haven't tested the sveltekit branch on the windows terminals so im not totally surprised there are some problems. I'll poke around tonight and see if I can spot the problem

I think this is now fixed on version 0.5.1-kit.7


Missing NetworkAccessTrafficLogs Category Definition

This page does not explain the Azure AD log category "NetworkAccessTrafficLogs." Would you mind adding it to this page for reference? Thanks!

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

ID: b1eb6343-c4d6-6b06-f2eb-1c9435f997f3
Version Independent ID: 7413b72d-8305-eb0f-3876-2fcb013c5196
Content: Stream Azure Active Directory logs to Azure Monitor logs
Content Source: articles/active-directory/reports-monitoring/howto-integrate-activity-logs-with-log-analytics.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@franklesniak
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

The article originally referenced no longer exists.
#please-close

Ack - my mistake! I was looking at several articles at the same time, so must have gotten my lines crossed.
The redirect to learn.microsoft.com is part of a rebrand of all our skilling content that includes technical documentation, learn modules, and more.
To speed up resolution on this issue - would you mind providing a few more details? Where in the article are you expecting to see the NetworkAccessTrafficLogs defined? I've recently taken over this content set, so still getting acquainted with it. Thanks!

Hi @franklesniak,
Please refer to this issue for updates: https://github.com/MicrosoftDocs/azure-docs/issues/87926
Other users are also asking for this information, so I'm going to provide an update there. Thanks!


vscode c++

My system is not a mainstream x86 or arm system, but I now have compiled vscdoe and gcc/g++, etc., I can’t add c++ to the extension program, can I directly configure the c++ compilation environment to vscode?

@mojodna

this seems unrelated to vscode


github: Use main instead of master

closes #158

CI Vulkan-ExtensionLayer build queued with queue ID 3672.

CI Vulkan-ExtensionLayer build # 258 running.

CI Vulkan-ExtensionLayer build # 258 passed.


I'd like to work on the About Us page of your web project

Hey @Virtual4087 ,
I'd like to work on the About Us page of your web project, aiming to create a responsive and visually appealing design.
Thank you.

@DhruvSeth18 Sure I've assigned you

Hey @Virtual4087,
can you re assign me this role


wget: bad address 'nexus.hyperledger.org'

Expected Behavior

make docker should work.
Current Behavior

Upon running make docker, it fails at getting the address "nexus.hyperledger.org"

Possible Solution

"nexus.hyperledger.or" has been retired. Check this link for proof.
Artifacts have been moved to JFrog
Possible solution is to update the links that points to the correct repo.
Context (Environment)

OS: Ubuntu Linux 16.04
Architecture: x64
Docker version: 18.06.1-ce
Docker compose version: 1.24.1

@djraj , thanks for reporting the issue.


Single star walk/runaways

I need to remember to ask @mathren about this. Currently I have it set up so that I only check for walk/runaways if the binary is disrupted. So for single stars I don't find any. But I figure this should still be possible with just a single supernova.
Just not sure if walk/runaways are fast moving stars, or fast moving stars that came out of binaries 🤷🏻

Tag any star that is fast!

Thinking more about this @mathren - if I do this then every star/binary will be marked as walkaway-o since I take any star < 30km/s as a walkaway. Is there a small lower bound I should put on this? (e.g. 15-30km/s is walkaway)
I don't think it makes sense to condition on whether the binary experienced a supernova since the observer wouldn't know that.

yeah, that is true. Some people (e.g, Eldridge+11) use 5km/s (but in the rest frame of the binary center of mass) as an effective definition. I don't think it makes much sense.
I think observers could tell if there was a kick if the star moves weird compared to the surroundings though. So maybe the condition should be |v_star -v_galactic_flow| > 5km/s where the difference is taken between the vectors. Does this make sense?


Site-level timeseries plots

For each product, create timeseries plots of AGB for each NEON & Ameriflux tower

This likely will go in a separate repo.
The basic order of operations:

For each point (NEON and Ameriflux site to start), extract a 1000m radius circle from each data product (all years)
Get the mean value in each circle
output CSV with columns for site, location, data product, year, and AGB value

For this workflow, it is important to prioritize scalability and transferability.  Some ideas to help with those things:

Modularize workflows so there is one workflow for getting NEON and Ameriflux data, but output as manually editable .csv.  Should be able to programatically or manually edit radius around point
Eventually will scale to global data, so ideally will be able to extract data from rasters without loading entire raster into memory.  Look into virtual filesystems, stars_proxy, etc.

This will be moved to a separate repository eventually


Create a functional way to CRUD new inventory and categories

USER STORY
AS A manager at an internet retail company
I WANT a back end for my e-commerce website that uses the latest technologies
SO THAT my company can compete with other e-commerce companies
ACCEPTANCE CRITERIA
GIVEN a functional Express.js API
WHEN I add my database name, MySQL username, and MySQL password to an environment variable file
THEN I am able to connect to a database using Sequelize
WHEN I enter schema and seed commands
THEN a development database is created and is seeded with test data
WHEN I enter the command to invoke the application
THEN my server is started and the Sequelize models are synced to the MySQL database
WHEN I open API GET routes in Insomnia Core for categories, products, or tags
THEN the data for each of these routes is displayed in a formatted JSON
WHEN I test API POST, PUT, and DELETE routes in Insomnia Core
THEN I am able to successfully create, update, and delete data in my database

This is now possible and can be done easily


Wrap SIL ufochecks & Source Foundry ufoLint

Observed behaviour
https://github.com/silnrsi/ufochecks and https://github.com/source-foundry/ufolint exist but FB doesn't run them
Expected behaviour
FB runs all relevant and useful linters

ufolint is kind of included https://github.com/googlefonts/fontbakery/blob/0f6caf5728694498cd534c2468a000507ef84a1c/Lib/fontbakery/specifications/ufo_sources.py#L96-L109
But ufochecks does not really exist yet ;-)


Add support for embedding Bundles in the BundleInstance spec

Implement support in the BundleInstance API and the plain manifest bundle provisioner for embedding a Bundle spec as outlined in the e2e strawman.

This seems super useful, and I'm a +1. However, I think we have to think carefully about this.
Disregarding the on-cluster problems of actually installing the same bundle content twice, what happens if two bundle instances specify the same bundle spec? Do we create two copies of the bundle content with two different bundle names, or do we somehow allow shared ownership of a common underlying bundle? I assume it'll be the former option?

We also need to keep in mind the implications on pivoting, especially as it relates to a failed pivot where the original bundle content should be preserved.

Moving this as 0.1 candidate.

This issue relates to the concept of JIT unpacking that was brought up during a rukpak demo. JIT unpacking is unpacking of Bundle resources only when the BundleInstance is created -- this issue tackles that since the Bundle is created only when the BundleInstance is created (since the Bundle is embedded in the BI).
The other side of this JIT behavior is cascade deletion -- when the BI is removed, remove the relevant bundle as well, so bundle artifacts do not pollute the cluster. This might be something that is also related to this issue. There could be the case where, if the Bundle is embedded in the BI, the BI has an ownerref on the Bundle, and when the BI is removed the Bundle is also removed.

Punting this to the 0.3 milestone: it's unclear whether this is something we'll need to support in the short term while we iterate towards an MVP.

JIT unpacking is unpacking of Bundle resources only when the BundleInstance is created
This doesn't support this use case.  So JIT unpacking may be good only the embedded bundle.

IIRC @bparees had that comment - Ben, any idea what use case you had in mind where JIT unpacking is beneficial? The only thing I can think of right now is we're persisting unpacked Bundle contents that may not get applied, so we're potentially bloating cluster environments with a series of unused ConfigMaps?

when i see a design that says "we're going to create a bunch of configmaps over time

I think the ConfigMaps are just an implementation detail, and we could move towards a storage model where we can configure a provisioner deployment to store Bundle contents in-memory (e.g. through an emptyDir, or a PVC if you require retention) as we already have the abstractions in place. You could then sit an HTTP API on top of that internal, in-memory store to serve Bundle contents (hopefully) agnostic to the provisioner if external clients/controllers/etc. require access.

Alternate approach: provide a new API that combines the two resources.
The motivation for this approach is from the deployment/pod spec analogy: when defining a deployment, the pod spec is defined in-line -- similar to the embedded Bundle/BI feature. The application is a single atomic operation.

Link to the proposed design hackmd: https://hackmd.io/HNWfNUbqTUGAW5VRMcc40w?both

Update: it sounds like we landed on a design and I moved that hackmd to the shared rukpak folder.


Cannot compile TiKV on ARM64

Bug Report

What version of TiKV are you using?

v4.0.0-beta
What operating system and CPU are you using?

CentOS 7.6 with arm64.
Steps to reproduce

ROCKSDB_SYS_SSE=0 make dist_release
What did you expect?
The successful compile of TiKV.
What did happened?
error[E0433]: failed to resolve: could not find `arch` in `self`
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-7.0.3/src/lib.rs:50:37
   |
50 |         let result = unsafe { self::arch::__cpuid_count(a, c) };
   |                                     ^^^^ could not find `arch` in `self`
   Compiling error-chain v0.12.1
   Compiling publicsuffix v1.5.3
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
error: could not compile `raw-cpuid`.
warning: build failed, waiting for other jobs to finish...
error: build failed

It seems that raw-cpuid does not support arm.

Thanks for the report.
The build failure is caused by lovesegfault/cache-size#3. We'll workaround it by making cache-size (and thus raw-cpuid) an x86-only dependency.

This bug is still present, with a slightly different version of raw-cpuid:
error[E0433]: failed to resolve: could not find `arch` in `self`
  --> /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-8.1.2/src/lib.rs:50:37
   |
50 |         let result = unsafe { self::arch::__cpuid_count(a, c) };
   |                                     ^^^^ could not find `arch` in `self`

   Compiling const-random-macro v0.1.6
error: aborting due to previous error

I don't see cache-size in Cargo.lock, but I do see raw-cpuid being used by the x86 crate, which is used by perfcnt, which is used by criterion-perf-events.

I put in a PR that should fix the build.


Consider static in rsutil.h

Required Info

Camera Model
D435

Firmware Version
(no tool on linux)

Operating System & Version
Arch Linux

Kernel Version (Linux Only)
5.5.6-arch1-1

Platform
PC

SDK Version
2.23.1

Language
C

Segment
any

Issue Description
Currently I'm working on Rust bindings for librealsense2. I noticed all functions defined in rsutil.h
are static. It would be a trouble to generate FFI for static functions. Because static functions are limited to its object file, they cannot be linked by outer programs. I think it's not necessary to place static there since they are somewhat public to C/C++. Removing static would give convenience for building other language bindings.

I will label your message as a Feature Request and leave it open so that the RealsSense developers can track it and consider it.  Thanks!

Closed due to the issue being addressed in librealsense version 2.49.0.


Safari Chrome: Missing Visual Focus on Checkout: Delivery Mode

Even though Radio buttons have visual focus this is not perceivable enough for accessibility purposes, it should be treated as missing visual focus.

Chrome: ✔ (note: radio button focus is square)
Firefox: ✔ (note: focus border is huge, radio button focus is square)
Safari: ❓

Firefox: OK
Missing these:

unchecked checkbox on Chrome
checkboxes on Safari
Back and Continue buttons on Safari

For QA:

To test in Safari please refer to these instructions.
Theme calydon should be enabled to see changes.
Visible focus outline overlapping adjacent ui elements may happen and may not be an issue, if in doubt please open a ticket per element or reach out to UI developer.
Please separate visible focus issues (CSS: element without outline) from tabbing issues (HTML/TS: element not reachable with keyboard).

Tested on dev3.
firefox ✅
chrome & safari: @developpeurweb Can you confirm this please?
we can't navigate to the "unselected checkbox". So for instance, the first method is selected by default.
And there's no way to select the 2nd checkbox if I want to, through tabbing.

We cannot select the unchecked checkbox while tabbing. On the other hand, while shift-tabbing, we can only select the unchecked one, and we skip the checked one. A new ticket will be created.


Can we have release tags that match ocp releases?

Hey,
I want to link to versionable runbooks - an easy way would be to refer to a tag here. I dont want to pin to a commit as it makes it hard to read what version we are pulling.
I propose adding a tag for each OCP release.

I remember that we had this discussion when we started the repository and the consensus was that it wasn't worth the overhead and it was ok to link to the master branch. It was assumed that a runbook would cover multiple OCP versions and having a single branch means that any refinement to a runbook benefits to all OCP versions. We also have e2e testing checking that the runbook_url annotations link to an actual web page.
Having said that we can revise the decision though I'm not sure who would be empowered to cut tags.
cc @jan--f

/close
Looks like for now, we wont have tags. We gotta think about the release when making changes to runbooks. /cc @bpickard22


COBOL - Folding in the presence of a comment line with page break (character / in column 7)

Description of the enhancement requested
According to our observation, a folding / unfolding function is available on the last line of a group of comment lines (* character in column 7): all the COBOL code that follows the last comment line can be hidden / displayed.
We thought that it would be interesting to have a folding / unfolding function on a comment line with a page break, i.e. the presence of a character / in column 7.
The scope of this folding / unfolding function would be up to the occurrence of a new comment line with a page break.
In principle, the character / in column 7 makes it possible to introduce breaks during printing, it seems logical to us to reproduce this breaking mechanism at the level of the code editor.

Duplicate... error 404 posting previous issue...

A possible solution is described here #141


Feat: Reveal items on scroll!!

Describe the feature
scroll animations allow you to create dynamic and engaging effects as users scroll through a webpage.
Add ScreenShots

How Described feauture looks like!!!

https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/assets/154777864/b1a82dc7-267e-4721-bd2b-40498ca81b6b
Record

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

Add the GSSOC label

Home Page:
Home Page.zip

Contact Page After Changes:
https://github.com/Anushkabh/krishiconnect/assets/154777864/e6cbfc8c-feb6-45ee-97ce-4ed6635caaa6

@Anushkabh please review remaining changes also


AYS commands documentation

Add documentation for the following ays commands:

start
action

actually the action method shouldn't exists, I added it one of my commit by mistake. sorry

Then we only need documentation for the start command.


add Department.Get

add Department.Get
add ResponseDepartmentGet

thx for your pr, pls review v2.0.8


Move relevant transaction Encoding/Decoding within the transactions package, implement table-testing and remove obsolete tests

Fixed via #503

Everything in this issue title was fixed in #503 except for the table tests, so I will extrapolate this to another issue.


Fix: Incorrect define scroll top in Firefox and use window as a parentScroll

Hello @rintoj
Thanks for the great component.
It's a fix for issue https://github.com/rintoj/angular2-virtual-scroll/issues/94

Hi @disist,  Thanks for your contribution. Your pull request is merged and published (v0.2.2)


Oess extension

Please review the changes to FIM that support the OESS network service.

@zlion I have a couple of questions:

for the cloud_account_id under Labels - what is the expected regex - I prefer to set validators for all fields in labels to avoid any surprises
for the local_asn under network service sliver - there already is an asn field under labels. Is this because two ASNs need to be specified? If so, we could add that to labels, also all labels take lists in addition to single values to two ASNs can be specified like this:

l = Labels(asn=["12345", "54321"])

According to OESS document, the "could_account_id" regex depends on cloud provider.

Service Key for an Azure ExpressRoute
Pairing Key for a GCP Partner Interconnect
Cloud Account ID for a AWS Hosted Connection
OCID for an Oracle FastConnect

I read through related documents and pull out more details as shown below.
provider     format      example       reference
Azure         UUID       "3e2480b2-b4d5-424b-976a-7b0de65a1b62"
GCP.          //           "7e51371e-72a3-40b5-b844-2e3efefaee59/us-central1/2"          link
AWS          12 digits
Oracle       ocid1...[REGION][.FUTURE USE].             "ocid1.instance.oc1.phx.abuw4ljrlsfiqw6vzzxb43vyypt4pkodawglp3wqxjqofakrwvou52gb6s5a"       link

@ibaldin Regarding account ID, it depends, AWS has 12 digit account ID. GCP uses service account name plus project name that are strings. Then Azure uses UUID for the so called subscription ID.
We can either add different types of labels for these or just make it a string with a relaxed length limit.

@ibaldin
As for the data field "asn", I agree that it is better to use asn in labels and there is no need to add new field in sliver.
One more question is about peers to be added to labels. It could be a list of dicts as shown below. Does it look ok to you?
peers= [             {                 "bfd": 0,                 "ip_version": "ipv4",                 "peer_ip": "<IP_ADDRESS>/24",                 "peer_asn": "1",                 "local_ip": "<IP_ADDRESS>/24",                 "md5_key": ""             }         ]

For acount ID seems most prudent to limit it to alphanumeric, dashes, slashes, periods and limit in length to something reasonable?
For ASNs I think this is resolved - you can always use a list of ASNs where 0th element is local and first element is remote.
Regarding the peers - this is definitely not a label. Labels are limited to strings only. If you want it to be a dictionary like you describe it has to become a separate field on some sliver (exportable as a dict, for instance). What are the fields that you want:

bfd?
ip_version - what does it relate to? the IP fields?
md5_key what's is that for?

This sounds to me like you need a node in the graph with labels like above or similar. Can you describe how this will be used?

The account ID and ASNs look good to me.
Could you add another field peers on the NetworkServiceSliver? Here is its definition according to OESS documents.
 "peers":            [         {             // Required. ipv4 or ipv6             "ip_version": "ipv4",             // Required             "local_ip":   "<IP_ADDRESS>/31",             // Required             "peer_asn":   65650,             // Required             "peer_ip":    "<IP_ADDRESS>/31",             // Required. Null if BGP auth is disabled             "md5_key":    null,             // Zero or One. Indicates BFD state             "bfd":        0         }     ]

@ibaldin Hello. Just want to touch the base on the code changes. Is it released to the public. Thanks.

Working on it, got sidelined today into supporting new rack type. Will work tonight to see if I can finish it.

This is now replaced with #148 .
This one will be closed/not merged.


Caching stopped unless you remove cache/.heroku dir

Not sure why, but caching of pip installed apps stopped working for me.
Every time i deployed with dokku all the apps where installed as new.
Maybe because of this pull request https://github.com/heroku/heroku-buildpack-python/pull/255 ?
When I deleted .heroku dir caching started working again.
Not an issue anymore, but just as a note for somebody else who might run into same problem.

:+1:

@kennethreitz can we should use the older caching version before of #255 ?

:+1:

This really slow down deploys

Caching is functioning properly on Heroku. Is this an issue with Dokku apps?

I think so, I'm using dokku for the deploys

I think this is something that needs to be explored with the Dokku folks, because this has been in production for quite some time at Heroku, without any problems.


Remove trailing quote from oauth command

Description & motivation

Copying the gcloud oauth command didn't work as the command had a trailing quote ".
Removing it allows the command to work as displayed.
To-do before merge

¯\(ツ)/¯

@drewbanin -- we've had a couple of these come in. I tried to do a regex search through the repo for "\n```, but nothing is coming back (idk if I just don't know regex), can you also take a squiz?
And thanks @ryantuck!


Synology How Expose the Drive?

How expose the drive to the Docker-Container?
The Log says:
[cont-init.d] 95-check-optical-drive.sh: executing...
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: found optical drive [-, /dev/sg8], group 0.
[cont-init.d] 95-check-optical-drive.sh: WARNING: for best performance, the host device - needs to be exposed to the container.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
and shell: docker exec MakeMKV lsscsi -g -k
root@Marvin:~# docker exec MakeMKV lsscsi -g -k
[0:0:0:0]    disk    ATA      ST8000VN0022-2EL112      SC61  /dev/sata1  /dev/sg0
[1:0:0:0]    disk    ATA      ST5000DM000-1FK178       CC49  /dev/sata2  /dev/sg1
[2:0:0:0]    disk    WDC      WD60EFRX-68L0BN1         0A82  /dev/sata3  /dev/sg2
[3:0:0:0]    disk    WDC      WD60EFRX-68L0BN1         0A82  /dev/sata4  /dev/sg3
[6:0:0:0]    disk    ATA      ST8000VN0022-2EL112      SC61  /dev/sata5  /dev/sg4
[8:0:0:0]    disk    Synology DiskStation              DL17  /dev/synoboot  /dev/sg5
[9:0:0:0]    disk    SanDisk  Extreme                  1.00  /dev/usb2  /dev/sg7
[10:0:0:0]   disk     USB      SanDisk 3.2Gen1         1.00  /dev/usb1  /dev/sg6
[11:0:0:0]   cd/dvd  HL-DT-ST BD-RE  BH16NS60          1.02  -          /dev/sg8

I'm very stupid! :-)
Variable was false! I write device /dev/sg8... but the correct form is --device /dev/sg8


chore: test image generation

Ticket: https://lifi.atlassian.net/browse/LF-10000

@tcheee @oktapodia @admsk2
I need to pick your brain on the following:
1.) caching -> I am already trying but somehow feel like this is not the most we can get out of it (see image)
2.) url -> New images are placed inside public folder and needed during API calls -> How can I reference to it via a URL? (I need the origin of the url / baseUrl).
Good example: Feature-Branches do not have fixed URL´s. What´s best to make it work? See image to see the static URL I am using locally


A question related to @Timed metric units

Hello, hope you're doing fine :)
I have a question regarding the way the @Timed works, when units are specified.
In the Helidon MP Metrics Guide, a code snippet is provided where an endpoint is @Timed and the metric named cardTimer.
package io.helidon.examples.quickstart.mp;

import java.util.Collections;
import javax.enterprise.context.RequestScoped;
import javax.json.Json;
import javax.json.JsonBuilderFactory;
import javax.json.JsonObject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.eclipse.microprofile.metrics.MetricUnits;
import org.eclipse.microprofile.metrics.annotation.Counted;
import org.eclipse.microprofile.metrics.annotation.Metered;
import org.eclipse.microprofile.metrics.annotation.Timed;

@Path("/cards")
@RequestScoped
public class GreetingCards {

  private static final JsonBuilderFactory JSON = Json.createBuilderFactory(Collections.emptyMap());

  @GET
  @Produces(MediaType.APPLICATION_JSON)
  @Counted(name = "cardCount", absolute = true)
  @Metered(name = "cardMeter", absolute = true, unit = MetricUnits.MILLISECONDS)
  @Timed(name = "cardTimer", absolute = true, unit = MetricUnits.MILLISECONDS)
  public JsonObject anyCard() throws InterruptedException {
    return createResponse("Here are some random cards ...");
  }

  private JsonObject createResponse(String msg) {
    return JSON.createObjectBuilder().add("message", msg).build();
  }
}

As you can see, the units provided are milliseconds using the unit = MetricUnits.MILLISECONDS argument. Afterwards, the tutorial shows the output given when querying the metrics endpoint:
{
  "cardCount": 2,
  "cardMeter": {
    "count": 2,
    "meanRate": 0.3664337145491488,
    "oneMinRate": 0.4,
    "fiveMinRate": 0.4,
    "fifteenMinRate": 0.4
  },
  "cardTimer": {
    "count": 2,
    "meanRate": 0.36649792432150535,
    "oneMinRate": 0.4,
    "fiveMinRate": 0.4,
    "fifteenMinRate": 0.4,
    "min": 12944,
    "max": 2078856,
    "mean": 1045900.0,
    "stddev": 1032956.0,
    "p50": 2078856.0,
    "p75": 2078856.0,
    "p95": 2078856.0,
    "p98": 2078856.0,
    "p99": 2078856.0,
    "p999": 2078856.0
  }
}

Starting with min and until the end of the cardTimer JSON object, the output seems to display quite big numbers for milliseconds, rather, the units seem to be nanoseconds instead. I timed a project of mine locally and I encountered the same behaviour: the units seem to be nanoseconds instead of the ones specified, regardless of the particular units.
Is this the correct behaviour, or is it a bug where the units specified are being ignored? What am I missing?
Thanks in advance for all your help.

This is definitely a Helidon bug. The JSON output should use the units set on the timer for formatting the histogram information.
I have a fix ready for review.

Thanks a lot guys, appreciate it :)


Compute accurate bounding box of transformation

This is a fix for #99 which provides a custom apply_transform method for Rect objects. Requires https://github.com/JuliaPlots/Makie.jl/pull/1741 (and a tagged release).

This is the Surface example from the manual:

Not sure why the degrees are now missing though.

How does this look with this projection? https://proj.org/operations/projections/vitk1.html

To answer my own question, it seems to work well, which is great to see. The sides are slightly clipped unless I bump N = 21 to something like 30 or 40, but I'm also fine with keeping this N, it will be temporary anyway.

Don't know whats up with the missing tick labels however.

That's nice!
I think the tick label logic might need to be improved: it might be good to look at what cartopy does, as they make it look pretty nice:
https://scitools.org.uk/cartopy/docs/latest/gallery/gridlines_and_labels/gridliner.html

anxiously waiting for this to be merge :D

It seems to work well for the examples in the docs, so I think we can merge this?

It seems to work well for the examples in the docs, so I think we can merge this?

Does it need a new Makie.jl version to be tagged?

Yes... We're currently preparing a breaking release, so master has breaking changes which makes it a bit more complicated.
Trying to tag this now: https://github.com/JuliaPlots/Makie.jl/pull/1751/


Page responsiveness for mobile

The page doesn't really work well on small devices.  Fonts need to scale better, images shouldn't blow out the width of the page, and left/right margins should collapse to nothing on smaller devices.

@WillSullivan I am in for this. Wanna add me as a collaborator? 😃

You got it.  Good luck!

@WillSullivan Assign it to me... And let me know how you want it to be changed?

I can't seem to assign it to you just yet--caching, probably.  The description on the issue is about as much as I've got.  Mobile experience stinks.  Anything that makes it stink less is appreciated.

Eeks! Did you add me as collaborator first? I don't think you can add random strangers without adding them as collaborators to the project first... :)

I'll look into the mobile view and soon make it work.

Aaah, you have to accept the invitation to be a collaborator. Check your email, and after you accept I can assign this to you.

Perfect. Done... :)

Planning to give a beautiful demo by Sunday! 😄

Awesome. Thanks!

Any update on this? BTW pretty useful site @WillSullivan !

Thanks, @linusg. @praveenscience?


Report test failures and mergewarnings to Gardener Slack workspace

/kind enhancement
What this PR does / why we need it:
Switch prow's config to report test failures and mergewarnings to the Gardener Slack workspace instead of the SAP Slack workspace.
Special notes for your reviewer:
This PR only includes the config change required for this move.
@oliver-goetz will update the Slack App token in the cluster together with merging this PR.
/hold

/test pull-ci-infra-prow-go-tests

/unhold
Let's go 😄


Can you support analyzing font information ？

We look forward to your reply！

Sorry about the late reply.
We're looking into parsing font and other metadata in text layers. Unfortunately, much of it is hidden behind the EngineData format, which we have yet to support (see #6). We're currently blocked on other issues that prevent us from working on #6, but we'll provide an update when we revisit this.
In the meantime, could you provide more info on what information you're interested in, and how you're going to use it?

@pastelmind https://github.com/meltingice/psd.js.git
hi, It can parse text for font and color and alignment,  we need some raw information to generate a new custom format

@dytmh @LeeCareFree  #6 is merged so you could take a look if it works for you now :)


Remove Python 2 code

Some extra cleanup for https://github.com/jazzband/tablib/issues/390.

Remove some if sys.version_info < (2, 4): code
Run https://github.com/asottile/pyupgrade with --py3-plus
Remove unnecessary __getslice__, deprecated since Python 2.0 and removed in 3

I don't care so much, but replacing % placeholder syntax by format() brings nothing AFAIK in our case (contrary to the Python 3.6+ f-string syntax which might help for readability). But if you like this, feel free to go ahead with this patch.

format() is the more modern way in Python, and it's easier to use the pyupgrade defaults. We can run it again when dropping Python 3.5 and it'll do some f-string conversion too.

Also added some more tests, and include tests in coverage: https://nedbatchelder.com/blog/201908/dont_omit_tests_from_coverage.html


screen recording

https://github.com/user-attachments/assets/74cf39c5-2d64-4c98-b3ee-cf7308753da6

https://github.com/user-attachments/assets/7585647b-4e8d-4bcf-bed9-0985fe94de2b

https://github.com/user-attachments/assets/8947dfd1-5d4a-43b9-b0c7-22cb52f72dc3


Update status of hertz-benchmark repo

What's wrong?
The status of hertz-benchmark repo had changed to public, which is outdate in README.md & README-CN.md.
Expected Behavior
Happy to see README.md & README-CN.md updated to latest version. ;)

THANKS, fix here #164


Reduce workflows on main

Given that we usually create PRs before changes enter the main branch, wouldn't it be enough to just run a few checks on push/main, and run all checks only on pull-request/main?
I'd suggest for push/main:

pkgdown
win-devel (or release?)
ubuntu-devel (or release?)
maybe some more, probably one check-hard-ubuntu-devel?

And for PR/main, all the above checks plus the remaining ones (lintr, HTML, all examples, ...).
This would save some resources.

And, given that we sometimes skip tests on linux, sometimes on windows, we should probably run check-hard twice, on win and lin.

Sure, I am fine with running some workflows only on a weekly or monthly basis. We already do this with dev R CMD check.

Have a look at this PR: https://github.com/easystats/see/pull/340

Have a look at this PR: easystats/see#340

scheduled workflows make sense on main, but not for PRs, I'd say. And we need to add windows-devel to "hard" checks, too, though I don't understand the script and how to add win-devel to it.

For more spirited discussion, see:
https://github.com/easystats/dashboard/pull/19

scheduled workflows make sense on main, but not for PRs, I'd say

But I didn't say that. What does it even mean to run a scheduled workflow on a PR?! CRON jobs are always set up on prod, develop, and staging branches, and not on feature branches.
What I was saying was that we run all the workflows:

always for PRs and
on a schedule on the default branch

And we need to add windows-devel to "hard" checks, too, though I don't understand the script and how to add win-devel to it

I literally took care of this the next day but you had already removed a bunch of the workflows from the default branches by then across multiple repos 🤷

Also, since what started this whole conversion was sustainability, we already have concurrency in our workflows that cancels in-progress jobs if a new commit appears.

removed a bunch of the workflows from the default branches

? I did not change any of the general workflows here. I only added (instead of removing) another workflow, which I use for some of the repos I maintain, because they run checks that were literally run seconds before on PR - and thereby, are not needed.

I did not change any of the general workflows here

You disabled the workflows from running on the default branch, and that's a big change.  We track the CI status of our projects using a dashboard that checks the default branch. But since those workflows are no longer run on the default branch for insight, parameters, performance, etc., this part of the dashboard no longer works and, basically, there is no longer a quick way to get a sense of how the organisation-wide workflows are doing.

because they run checks that were literally run seconds before on PR - and thereby, are not needed

I beg to differ with that assessment.

etc.,

Not "etc". They're run for every package that I do not maintain (and where I did not change the workflows). :-)


optimised invitation API calls

Codecov Report
Patch coverage has no change and project coverage change: -0.02% :warning:

Comparison is base (573dba5) 45.12% compared to head (0d38689) 45.10%.

:exclamation: Current head 0d38689 differs from pull request most recent head 52bf32d. Consider uploading reports for the commit 52bf32d to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #356      +/-   ##
==========================================
- Coverage   45.12%   45.10%   -0.02%
==========================================
  Files          96       96
  Lines        5345     5347       +2
  Branches      642      643       +1
==========================================
  Hits         2412     2412
- Misses       2933     2935       +2

Files Changed
Coverage Δ

trade_remedies_public/cases/v2_views/invite.py
30.69% <0.00%> (-0.21%)
:arrow_down:

... and 1 file with indirect coverage changes

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


Error running demo.sh

Hi,
I have a problem running the demo:
Traceback (most recent call last):
File "./tools/demo.py", line 118, in
from networks.factory import get_network
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/networks/init.py", line 8, in
from .vgg16 import vgg16
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/networks/vgg16.py", line 2, in
from networks.network import Network
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/networks/network.py", line 6, in
import backprojecting_layer.backprojecting_op as backproject_op
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/backprojecting_layer/backprojecting_op.py", line 5, in
_backprojecting_module = tf.load_op_library(filename)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/wongch79/Programming/6dposeest-posecnn/tools/../lib/backprojecting_layer/backprojecting.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
I saw that this question had already been asked, but I couldn't find a solution for myself.
I'm on ubuntu 18.04, with Cuda 10.0 and tensorflow 1.13.1.
I thank you in advance for your help

Well, as it was suggested in another post I uninstalled tensorflow 1.13.1 and I installed it from source (1.13.1) and now I have the following error :
tensorflow.python.framework.errors_impl.NotFoundError: libtensorflow_framework.so: cannot open shared object file: No such file or directory
Anyone has gotten the same error and solved it?

Update : I add the direction to my LD_LIBRARY_PATH and now i'm get a similar error to the first one :
Traceback (most recent call last):
File "./tools/demo.py", line 118, in
from networks.factory import get_network
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/networks/init.py", line 8, in
from .vgg16 import vgg16
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/networks/vgg16.py", line 2, in
from networks.network import Network
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/networks/network.py", line 6, in
import backprojecting_layer.backprojecting_op as backproject_op
File "/home/wongch79/Programming/6dposeest-posecnn/tools/../lib/backprojecting_layer/backprojecting_op.py", line 5, in
_backprojecting_module = tf.load_op_library(filename)
File "/home/wongch79/.local/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/wongch79/Programming/6dposeest-posecnn/tools/../lib/backprojecting_layer/backprojecting.so: undefined symbol: _ZTVN10tensorflow14kernel_factory17OpKernelRegistrar18PtrOpKernelFactoryE

did you find a solution for this problem?


More discussion surrounding repo split / architectural change to the brew project

Feature Requests:
My request is for more discussion in the future surrounding architectural / repo-split / convergence (as in the case of the homebrew-cask convergence). We heavily utilize the brew project to fully automate the setup of our workstations... in the past 6 months or so there have been 3 things that have disrupted this automatic workflow...

Changes to package names / versions ... things like making brew install elasticsearch install version 2.x, instead of making an elasticsearch-2.0 package name, and keeping the original 1.0 version tree for the elasticsearch package name
The convergance of the brew-cask system into the main brew system
The most recent is the split of the Formula repos out of the main-line repo

It seems like these changes are more so "just announced as they happen" instead of a more preferable strategy that could include a pre-announcement, discussion, voting, and ideally some sort of news/blog coverage (for example, getting an article on the front page of a couple popular developer centric sites).
Thank you for your consideration...
all in all this is the sum of the changes to fix our broken automated ansible workstation setup
diff --git a/ansible/roles/redis/tasks/main.yml b/ansible/roles/redis/tasks/main.yml
index 93a7abd..8935438 100644
--- a/ansible/roles/redis/tasks/main.yml
+++ b/ansible/roles/redis/tasks/main.yml
@@ -9,7 +9,7 @@

 # git fetch origin 96de5297df870:refs/remotes/origin/foo-commit
 - name: get correct version of redis
-  shell: cd /usr/local/Library && (git fetch --unshallow origin || true) && git checkout d010d61a8cbd92c8ec9b088cb5a6d259209d4b07 Formula/redis.rb
+  shell: cd /usr/local/Library/Formula && (git fetch origin || true) && git checkout 2190ece4b7d6fbcd477234aeaa160bad84fc12d6 redis.rb

 - name: install redis brew package
   command: creates=/usr/local/Cellar/redis/3.0.6 brew reinstall redis
@@ -26,4 +26,4 @@
   shell: launchctl unload /Library/LaunchDaemons/homebrew.mxcl.redis.plist

 - name: unset version of redis
-  shell: cd /usr/local/Library && (git fetch --unshallow origin || true) && git checkout master Formula/redis.rb
+  shell: cd /usr/local/Library/Formula && (git fetch origin || true) && git checkout master redis.rb

I'm glad you were able to adapt quickly.
Wrt your first point, Homebrew formulas in Homebrew/homebrew-core almost always refer to the newest version of a package, including major version changes. The versioned formulas in homebrew/versions are typically tied to a minor version and may be more suitable for you. If one does not exist, you are welcome to contribute one.
Otherwise, you should consider our command line interface the stable API. If you rely on understanding Homebrew's internals, your work may break without warning.

Changes to package names / versions ... things like making brew install elasticsearch install version 2.x, instead of making an elasticsearch-2.0 package name, and keeping the original 1.0 version tree for the elasticsearch package name

It's worth noting this is how Homebrew has always worked. The alternative is you should only use formulae from https://github.com/Homebrew/homebrew-versions or maintain your own tap and only use those formulae.

The convergance of the brew-cask system into the main brew system

You'll need to provide more information if you want us to understand this.

It seems like these changes are more so "just announced as they happen" instead of a more preferable strategy that could include a pre-announcement, discussion, voting, and ideally some sort of news/blog coverage (for example, getting an article on the front page of a couple popular developer centric sites).

We're not going to have voting for these things. Discussion and pre-announcement happen on Homebrew's issue tracker. We cannot control how these things hit the front-page of news sites.
We can't be considered responsible for a system you've built on top of Homebrew breaking and I don't think a two line change is a big deal, honestly. If you want to use tools that are officially supported there is https://github.com/Homebrew/homebrew-bundle and the previously mentioned homebrew-versions for these purposes. https://github.com/mikemcquaid/strap is also designed for initial system setup.

Otherwise, you should consider our command line interface the stable API. If you rely on understanding Homebrew's internals, your work may break without warning.

This cannot be emphasised more strongly. Your system will continue to break if you make assumptions about paths and revisions.

The alternative is you should only use formulae from https://github.com/Homebrew/homebrew-versions or maintain your own tap and only use those formulae.

&

The versioned formulas in homebrew/versions are typically tied to a minor version and may be more suitable for you. If one does not exist, you are welcome to contribute one.

I'll add on top of this, Versions isn't a dumping ground for everyone's pet projects. It has to meet the eligibility criteria and it has to remain testable by whichever 2 or 3 OS X versions we build against on CI. If you want absolute stability long-term on specific formula with a firm promise of no change please do set up your own tap.
Everything we can do in our taps you can do in one of your own, including using things like Travis for CI. There are Travis configuration files in the various repos which you can use as a template, as desired.

It seems like these changes are more so "just announced as they happen" instead of a more preferable strategy that could include a pre-announcement, discussion, voting, and ideally some sort of news/blog coverage (for example, getting an article on the front page of a couple popular developer centric sites).

We try our best to pre-announce things where necessary.
The split PR and Issues had been sat on our GitHub tracker for upwards of a couple months prior to it happening if my memory hasn't misled me. We announced the deprecation of sha1 18+ months in advance of that being enforced later this year.
There's no medium we can use that every Homebrew user will see or remember to check, sadly. If you care about Homebrew fundamentals watching the GitHub repo is one of the more comprehensive ways to keep on top of it, and perhaps ironically given this Issue you'll find that easier now core and formulae no longer share one repo.

@mikemcquaid the brew-cask issue is related to this changed noted at the top of the README in the brew cask repo: https://github.com/caskroom/homebrew-cask#important-december-2015-update-homebrew-cask-will-now-be-kept-up-to-date-together-with-homebrew-see-15381-for-details-if-you-havent-yet-run-brew-uninstall---force-brew-cask-brew-update-to-switch-to-the-new-system
... I can't find any mention of that change in the announce mailing list ...
As far as "use cli API" and or "use a tap" methods of installing specific versions I think this stack-overflow question/answer discussion outlines most of my frustration ... on the surface there seems to be several "supported methods" ... all of which seem to have changed at some point over the history of the project: http://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula
In comparison, other package management systems typically include specifying a version by a simple --version CLI argument, or have more aggressively static repos that don't bump versions without a whole "distro upgrade" .... i.e. any apt based package repo...
In general brew has "just worked" more than it has "been updated and broken our stuff" so we have not in the past given much weight to the idea of running our own taps / fork. I will discuss the recommendations posted here with my organization (I think we will likely adopt our own set of taps for the super important stuff and rely on the community taps for the remainder of our setup).
I will also try to monitor the brew PRs/Issue-tracker, and, I am now subscribed to the mailing list... I feel comfortable closing this issue out... please just remember that part of what makes brew such a great project is that the community can rely on it for getting software installed in a reasonable automatable way (in particular also for getting the latest more-secure version of several CLI utilities). And that big shuffles in the way the project function should be treated with as much gravitas as possible.

on the surface there seems to be several "supported methods"

For what it's worth, we support methods 2 (use a Homebrew/versions formula) and 4 (write your own versioned formula). The versions command was removed because using formulas from git history cannot be made to work reliably. Thanks for your feedback!


Could not push docs to gh-pages branch (on-demand)

2024-02-11T02:22:38.6609158Z Push to branch gh-pages
2024-02-11T02:22:38.9172129Z To https://github.com/prjemian/murky.git
2024-02-11T02:22:38.9173715Z  ! [rejected]        HEAD -> gh-pages (non-fast-forward)
2024-02-11T02:22:38.9175489Z error: failed to push some refs to 'https://github.com/prjemian/murky.git'
2024-02-11T02:22:38.9194951Z hint: Updates were rejected because a pushed branch tip is behind its remote
2024-02-11T02:22:38.9196551Z hint: counterpart. If you want to integrate the remote changes, use 'git pull'
2024-02-11T02:22:38.9197514Z hint: before pushing again.
2024-02-11T02:22:38.9198253Z hint: See the 'Note about fast-forwards' in 'git push --help' for details.
2024-02-11T02:22:38.9236613Z Error: Invalid exit code: 1
2024-02-11T02:22:38.9238139Z     at ChildProcess.<anonymous> (/home/runner/work/_actions/ad-m/github-push-action/master/start.js:30:21)
2024-02-11T02:22:38.9239681Z     at ChildProcess.emit (node:events:514:28)
2024-02-11T02:22:38.9240569Z     at maybeClose (node:internal/child_process:1105:16)
2024-02-11T02:22:38.9241634Z     at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
2024-02-11T02:22:38.9242701Z   code: 1
2024-02-11T02:22:38.9243120Z }
2024-02-11T02:22:38.9352660Z Post job cleanup.

Compare with docs workflow in spec2nexus.

Re-run the workflow, in case it is a timing overlap with a previous run.  Same result.

Success.


added block height to ordinal clock

This starts work on #386 and #387.
The SVG had to be scaled up (2x for now) because the smallest readable font size is 10px even with font-weight="1". I haven't made any choices regarding font-family but it should probably be some sort of sans-serif or monospace.
An idea/proposal on how to do  explanations. Added some css so people hover over the marker long enough for the explanation to pop up.
Is is called Halving or Halvening?

Want to split this into two PRs? That'll make them easy to review and merge independently. One for block height, and one for tooltips? I like the idea of elements changing color when they're hovered over.
I think for the font, sans-serif is a good first start, on the small side, I was thinking in light grey.
I'm not sure I understand the font size issue. Can't the font size just be doubled or halved, instead of scaling the SVG?

ok I'll close this PR and open two new ones on feature branches


⚠ Bofrost.de has degraded performance

In ce42d61, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 855 ms

Resolved: Bofrost.de performance has improved in 94b718f after 9 minutes.


Use strings.xml to support better i18n

Currently, a lot of strings are hard-coded into @Composables
A common practice for managing strings and locales is using string resources
Hard-coded ex. (current):
text = "Vaults",
String resources example:
text = stringResource(R.string.vaults_title)
We should use string ids, and store strings in strings.xml where possible.
Also, their name structure may be ${screen_name}_${string_content}.

We already done a sweep , just need to remember using the xml file in the future , close this for now


Long errors install gsplat

I clone this repo and use pip install -e . , then I get very very long logs(or errors, I don't know) are shown below, I find the key maybe
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "D:\Software\Miniforge3\envs\nerfstudio2\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build
        subprocess.run(
      File "D:\Software\Miniforge3\envs\nerfstudio2\lib\subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '10']' returned non-zero exit status 1.

but I have installed ninja , and ninja --version is 1.11.1.git.kitware.jobserver-1.
I'm confused about these , and cannot find a solution, need help

not all ,just a part of them.

It looks like all of these are warnings, can you show the very end of the message where the error is?

The same problem is encountered，have you solved it？

Same problem. Have you resolved it yet?

No, I used windows10 and 1080ti encounter this error, but I used ubuntu22 and 1080ti ,it told me the gpu cannot compile this, maybe the gpu version is old and can’t do this. 4090ti is ok
------------------ Original ------------------
From: luh-j @.>
Date: Sun,Sep 15,2024 9:14 AM
To: nerfstudio-project/gsplat @.>
Cc: YeZixiao @.>, Author @.>
Subject: Re: [nerfstudio-project/gsplat] Long errors install gsplat (Issue#307)

I'm on ubuntu 22.04 and a5000 and it throws the same error. But I do notice that
In file included from /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/bindings.cu:4:
    /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/helpers.cuh:2:10: fatal error: glm/glm.hpp: No such file or directory
        2 | #include <glm/glm.hpp>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [4/4] c++ -MMD -MF /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o.d -pthread -B /home/xsun90/miniconda3/envs/nerfstudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igsplat/cuda/csrc -I/mnt/data1/home/xsun90/gsplat/gsplat/cuda/csrc/third_party/glm -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/TH -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/THC -I/home/xsun90/miniconda3/envs/nerfstudio/include -I/home/xsun90/miniconda3/envs/nerfstudio/include/python3.8 -c -c /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/ext.cpp -o /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o -O3 -Wno-sign-compare -DAT_PARALLEL_OPENMP -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc_legacy -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
    cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build
        subprocess.run(
      File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '10']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

There's a line saying that glm.hpp: no such file or directory. Did you also get a similar error message before?

/gsplat/cuda_legacy/csrc/helpers.cuh:2:10: fatal error: glm/glm.hpp: No such file or directory

No, I didn't encounter such an error. It looks like missing some installation of glm, try sudo apt-get install libglm-dev

I'm on ubuntu 22.04 and a5000 and it throws the same error. But I do notice that
In file included from /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/bindings.cu:4:
    /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/helpers.cuh:2:10: fatal error: glm/glm.hpp: No such file or directory
        2 | #include <glm/glm.hpp>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [4/4] c++ -MMD -MF /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o.d -pthread -B /home/xsun90/miniconda3/envs/nerfstudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igsplat/cuda/csrc -I/mnt/data1/home/xsun90/gsplat/gsplat/cuda/csrc/third_party/glm -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/TH -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/THC -I/home/xsun90/miniconda3/envs/nerfstudio/include -I/home/xsun90/miniconda3/envs/nerfstudio/include/python3.8 -c -c /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/ext.cpp -o /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o -O3 -Wno-sign-compare -DAT_PARALLEL_OPENMP -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc_legacy -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
    cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build
        subprocess.run(
      File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '10']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

There's a line saying that glm.hpp: no such file or directory. Did you also get a similar error message before?

No, I didn't encounter such an error. It looks like missing some installation of glm, try sudo apt-get install libglm-dev

I'm on ubuntu 22.04 and a5000 and it throws the same error. But I do notice that
In file included from /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/bindings.cu:4:
    /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/helpers.cuh:2:10: fatal error: glm/glm.hpp: No such file or directory
        2 | #include <glm/glm.hpp>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    [4/4] c++ -MMD -MF /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o.d -pthread -B /home/xsun90/miniconda3/envs/nerfstudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igsplat/cuda/csrc -I/mnt/data1/home/xsun90/gsplat/gsplat/cuda/csrc/third_party/glm -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/TH -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/THC -I/home/xsun90/miniconda3/envs/nerfstudio/include -I/home/xsun90/miniconda3/envs/nerfstudio/include/python3.8 -c -c /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/ext.cpp -o /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o -O3 -Wno-sign-compare -DAT_PARALLEL_OPENMP -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc_legacy -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
    cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build
        subprocess.run(
      File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '10']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

There's a line saying that glm.hpp: no such file or directory. Did you also get a similar error message before?

CC https://github.com/nerfstudio-project/gsplat/issues/403#issuecomment-2351460260.

Closing this issue because we now provide prebuilt wheels. Please checkout the latest README

Closing this issue because we now provide prebuilt wheels. Please checkout the latest README

Actually the prebuilt wheels do not work for me... It installs successfully without any errors raised. However, when import gsplat, it stucks at the line from gsplat import csrc as _C inside the package.
BTW, manually building from src works for me.


Fix name for Social Auth MS variable

Purpose
Make the name to be the same as in the deployment config.

Coverage remained the same at 55.834% when pulling 4ef8569dee422d8e3b448b1b45fae132ae1c9919 on Menda:fix-name-whitelist-microsoft into 416e003d5c0bbc7e6e5e28c9d8d42aadf7d3b450 on toladata:dev-v2.


Extended debug

#57
支持高级debug模式，传递函数当配置
package main

import (
    "fmt"
    "github.com/guonaihong/gout"
    "os"
)

func IOSDebug() gout.DebugOpt {
    return gout.DebugFunc(func(o *gout.DebugOption) {
        if len(os.Getenv("IOS_DEBUG")) > 0 {
            o.Debug = true
        }
    })
}

func main() {

    s := ""
    err := gout.GET("<IP_ADDRESS>:1234").Debug(IOSDebug()).SetBody("test hello").BindBody(&s).Do()
    fmt.Printf("err = %v\n", err)
}

Codecov Report

Merging #70 into master will increase coverage by 0.58%.
The diff coverage is 76%.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   65.55%   66.14%   +0.58%
==========================================
  Files          20       20
  Lines         749      765      +16
==========================================
+ Hits          491      506      +15
- Misses        220      221       +1
  Partials       38       38

Impacted Files
Coverage Δ

gout.go
100% <ø> (ø)
:arrow_up:

group.go
90.83% <100%> (+3%)
:arrow_up:

req.go
77.77% <50%> (+1.11%)
:arrow_up:

debug.go
88.37% <68.75%> (-11.63%)
:arrow_down:

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 2158019...e9f7c0d. Read the comment docs.


remove which, which_import

remove "which" fns from qcng after adding to qcel in MolSSI/QCElemental#58

this is RTG after qcel v0.4.0 conda package available and CI retriggered and passing.
I have no urgency for a qcng release, but this'll need bumping when that happens.


On Android, set dynamic code files to readonly

Description

Provide details of the change, and generalize the change in the PR title above.

API level 34 requires that dynamic code only be loaded from read-only files, otherwise a SecurityException is thrown. This change sets files to readonly and follows additional advice from the Android 14 docs.
Potential fix for https://github.com/firebase/quickstart-cpp/issues/117.

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Testing on older API levels will occur in integration tests - need to manually build an integration test with API level 34 to repro the issue.

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[ ] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

Test failures seem unrelated - PTAL.


Sound mutes automatically

Hi,
Im developing an app similar to Shazam, whereby the device will listen to the music, retrieve the song, and then play it back on the device.
The issue I have is after the device successfully finds the song, it will play the music back for 1 second, and then mute itself. This is only happening on IOS, as Android is working fine.
Any suggestion? Ive run out of ideas.
Any help is appreciated. Thank you

@ntakos what does this have to do with the push plugin?


[1572] Convert User Profile to React

Resolves #1572.
This isn't 100% ready, but I think it's at a good point for someone else to look this over. Currently the "basic" (excluding login info, role, requirements, etc) user attributes are editable from the show with no reload!
Running npm i should install all of the required npm packages; run foreman start -f Procfile.dev instead of rails server.
Tests currently fail on Travis see this discussion that I just found; I'm looking into fixing it.
I'm planning on converting the whole page except for the reservation history to JS in this issue. I'm not sure what should be done about the other user attributes--should they be left on a separate page because they're more sensitive? I'm not sure how to require a password for changes, either, but these are pretty basic ones so I figured that losing the password requirement isn't a big deal.
I'm also not super sure of how the JS is organized. I think I like the organization by resource better than the typical JS organization of organizing by file type (reducer/component/container/etc), and there's not really a community standard.
I've also enabled ESLint in Hound on this branch; I'm expecting lots of comments. Nevermind, it seems like it uses the config on master regardless.
Edit
I've also only tested this in Firefox v46.0.1; I'm going to start testing in Chromium as well

Okay, the reservation counts on the profile have been moved to react!

Todo:

[ ] Install/configure ESLint
[ ] Refactor and use action creators
[ ] Fix Travis
[ ] Make sure reducer actions are named in a way that won't cause conflicts later

also, note that with how the webpack server runs, we lose access to pry; I'm not sure how to fix that quite yet


Instructions for Manually Changing officialOnly Call on Embedded Widget

Hey Alex,
Can I get a quick guide on how to change the officialOnly call after you've already embedded the widget?
-Lester

Hi Lester,
You need to reembed the widget with the officialOnly parameter set to true:

Let me know if you need any other information!

You'd want False, though since true is the default.  Thanks!


New .berylprof file extension for profile files

The Windows installer will now associate .berylprof files to Beryl and Beryl now accepts them as a command-line argument.

/scheduletag v0.0.3 merge

/scheduletag v0.0.3 merge


sinabs 0.3 release plan

[x] Tests for LIF and ALIF #10 @gregor.lenz
[x] Consistency with sinabs-slayer  @felix.bauer
[x] Merge branch alif into dev  @sadique.sheik
[x] Parameter harmonization between rockpool and sinabs @gregor.lenz
[x] Documentation ie add new layers to the documentation @gregor.lenz

[x] Make it pretty
[x] Add plugins and links to sister packages @sadique.sheik
[x] Add some tutorials
[x] Convention and usage @sadique.sheik

[x] Stateful layer base class  @felix.bauer

tracking now at https://github.com/synsense/sinabs/issues/10


Is there English support?

Is there English support?

Err sorry no... This project was done in my middle school and is completely out of maintenance... Actually I should have archived it (why I haven't... Maybe I just wanted to update the README a year ago?). If you are interested in it, you may want to fork the repo and tweak it :)