[mvk-error] Render pipeline compile failed (Error code 2): Compiler encountered an internal error.

I'm getting the following output from MoltenVK during a call to vkCreateGraphicsPipelines:
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Render pipeline compile failed (Error code 2):
Compiler encountered an internal error.

and then vkCreateGraphicsPipelines returns VK_ERROR_INITIALIZED_FAILED.
I'm using libMoltenVK.dylib from 1.2.154 Vulkan SDK.  The error only occurs on one of my two Macs.  On the other Mac, and on Windows and Linux machines, the program works fine.
Any idea on how to get more information?  Can I turn on more verbose logging from MoltenVK somehow?  What is "Error code 2" ?

https://stackoverflow.com/q/65453897/1131467

@tomazos
I see from your SO post that you're able to set environment variables in your app.
If you set the following env vars:
MVK_CONFIG_LOG_LEVEL=2
MVK_DEBUG=1

this will log the SPIR-V/MSL/GLSL shader conversions, to help you isolate the offending shader. You can then post it here for further analysis.

So I added these environment variables, and for each shader it outputted SPIR-V, MSL and decompiled GLSL as you suggested it would.
If I understand what is going on correctly, then inside the vkCreateGraphicsPipelines call, libMoltenVK is taking the SPIRV and generating MSL, and then passing that generated MSL onto Metal to compile to native GPU.
Can you tell me which of these two stages is generating the internal compiler error?  Is it coming from the SPIRV-to-MSL stage inside libMoltenVK, or is it coming from the MSL-to-GPU compile stage inside Metal?
Is there a way to compile/test an MSL shader in isolation with some kind of Apple command-line tool?  That way I could run it on the generated MSL shaders to narrow down the problem.
Is there a way to get more debug information from the MSL-to-GPU compilation stage?  The validation environment variable doesn't appear well-documented.  Perhaps Metal has some other environment variables that can be set apart from METAL_DEVICE_WRAPPER_TYPE ?

libMoltenVK is taking the SPIRV and generating MSL, and then passing that generated MSL onto Metal to compile to native GPU

Correct.

Can you tell me which of these two stages is generating the internal compiler error?

The error is originating in the second stage, when Metal is internally compiling the Metal shader code.

Is there a way to compile/test an MSL shader in isolation with some kind of Apple command-line tool?

You can copy the MSL source code into a separate MyShader.metal file, and then run the following from the command line:
xcrun --sdk macosx metal -x metal -std=macos-metal2.3 MyShader.metal

Is there a way to get more debug information from the MSL-to-GPU compilation stage?

Not that I know of. The METAL_DEVICE_WRAPPER_TYPE that you have already enabled will cause any Metal validation errors detected to raise an assertion and log the validation error detected, before Metal attempts to compile the MSL. If it's not doing so, and given the error message being reported, it looks like you have encountered a gap in Metal's validation checks, and an unexpected internal error within the MSL compiler itself.


Documentation

Add documentation and publish on readthedocs

Documentation still needs to be completed, with a few necessary fixes along the way.


Subscription affinity api

Adds Subscription spec.config.affinity to allow users to configure workload scheduling against heterogeneous clusters (e.g. on arm64 nodes)

/hold in case out of order PRs screw things up

This CI error looks legit.

/retest

/hold cancel

closing this in favor of: https://github.com/openshift/operator-framework-olm/pull/352


Unexpected behavior with Mesh::ReorderElements() and  mfem::IsoparametricTransformation::GetPointMat()

Hey,
I have a snippet of code that loads up a mfem provided high-order mesh and looks at a single element transformation's point matrix before and after reordering.  I expect the resulting matrix to contain the same set of points :
   // Load up high-order quad mesh
   std::string mesh_file = "star-q2.mesh";
   mfem::Mesh mesh(mesh_file.c_str(), 1, 1);

   // Look at elem 0's element transformation's point matrix
   mfem::IsoparametricTransformation * iso_elem_trans;
   iso_elem_trans = dynamic_cast<mfem::IsoparametricTransformation *>(mesh.GetElementTransformation(0));
   assert(iso_elem_trans != NULL);
   iso_elem_trans->GetPointMat().Print();

   // Reorder mesh by switching around last two elements of mesh
   int nelem = mesh.GetNE();
   mfem::Array<int> reordering(nelem);
   for (int i = 0; i < nelem; ++i) {
      reordering[i] = i;
   }
   reordering[nelem - 1] = nelem - 2;
   reordering[nelem - 2] = nelem - 1;

   // Ensure that elem 0 remains elam 0
   assert(reordering[0] == 0);
   mesh.ReorderElements(reordering);

   // Look at elem 0's element transformation's point matrix
   iso_elem_trans = dynamic_cast<mfem::IsoparametricTransformation *>(mesh.GetElementTransformation(0));
   assert(iso_elem_trans != NULL);
   iso_elem_trans->GetPointMat().Print();

However, I'm getting the following output :
[row +0]
-2.454380e-02 +5.300620e-01 +6.748660e-01 +1.628520e-01
+2.530430e-01 +5.550630e-01 +3.892290e-01 +7.410290e-02
+3.318290e-01
[row +1]
+3.026530e-02 +1.198990e-03 +4.820680e-01 +4.719240e-01
-3.692510e-03 +2.408630e-01 +4.683540e-01 +2.333160e-01
+2.335440e-01
[row +0]
-2.454380e-02 +6.263740e-01 +6.748660e-01 +1.628520e-01
+2.530430e-01 +5.550630e-01 +3.892290e-01 +7.410290e-02
+3.318290e-01
[row +1]
+3.026530e-02 -4.801480e-01 +4.820680e-01 +4.719240e-01
-3.692510e-03 +2.408630e-01 +4.683540e-01 +2.333160e-01
+2.335440e-01

which plotted, looks like..

I suspect that the mesh is incorrectly grabbing a point from another nodal coordinate from another element because something internal to the mesh is not being updated properly during the re-ordering procedure.  Let me know if I'm misunderstanding what I should expect.  I ran into this bug when I was trying to debug an issue with using the Mesh::FindPoints routine.
CC @Dan2997925

I'm fairly certain I tried this in my frenzy of attempting different
things.  I'll confirm tomorrow.
On Tue, Nov 27, 2018 at 8:21 PM Veselin Dobrev<EMAIL_ADDRESS>wrote:

Hi @junkudo https://github.com/junkudo,
The method Mesh::ReorderElements will also reorder the vertices, based on
the new element ordering, unless the second (optional) parameter is set to
false. Could this be the issue? Can you try setting the second parameter
to false in your test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mfem/mfem/issues/685#issuecomment-442314601, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABP1Zq7XUoTfx0J3t2O-NJCqzCK5_8pUks5uzg9ggaJpZM4Y2T8U
.

Actually, there is a bug in Mesh::ReorderElements. I created a branch, mesh-reorder-elem-fix, and PR (#686) with a fix.

This seems to work for me in both my little test-case and my larger actual use case.  Thanks!  When can I expect this change to be merged into master?  (And then when can I expect to see a new version of mfem after this merge?)

When can I expect this change to be merged into master?

In about a week, see https://github.com/mfem/mfem/blob/master/CONTRIBUTING.md#masternext-workflow

(And then when can I expect to see a new version of mfem after this merge?)

We are currently planning the next release to be mfem-4.0, which will be a major release in the first half of 2019. Let us know if you do need an official release before that.


pull request for e2e test at 02/05/2017 23:26:10

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


Mountebank - Observing High Latency and High CPU Usage for shellTransform option

Expected behaviour
Mountebank stubs expected to respond in less than 500ms atleast
...
Actual behaviour
Mountebank is responding with latency >900 ms to 2.5 seconds for shell Transform + External DB source
...
Steps to reproduce or Details
I have been doing Proof of Concept for Mountebank as an alternative service virtualization tool and created an imposter (http protocol, port:xxxx) with multiple stubs. Stub details are given below,

Each stub has a simple predicate matching request Url path.

Few stub responses are directly configured in Imposter.

Few stubs are configured in shellTransform using node xxx.js custom javascript.

Few stubs are configured in shellTransform using node xxx.js custom javascript and connecting to external Database source (MySQL).

of predicates : 20
of stubs : 20
Observation :
I tried running load tests[3 to 5 Requests per second] for our service endpoints pointing to the mountebank server and observed huge response time deviation for stubs involving shellTransform. Details below,
Stubs Mode	                                                                               Average Response Time
Response in Imposter JSON	                                                                 100-150 ms
Response from shellTransform-->Node JS file	                                 900-1100 ms
Response from shellTransform-->Node JS file + MySQL DB Source	1900-2400 ms

And 100% CPU Utilization observed for the windows[CPU Cores:2 , RAM: 16 GB ] machine where mountebank service is running.

Could you please help us find the solution to fine-tune the above performance bottlenecks and suggest a better way to handle this issue?
Note : External database source is mandatory as per the virtualization requirement.
...
Software versions used
OS         : Windows
mountebank :
node.js    :
  (only if installed via npm)
Installation method :
  (npm, zip, tar, pkg, deb, rpm)

Log contents in mb.log when running mb --loglevel debug

Log contents here

Given the bottleneck appears to be from shelled out commands, there's not a lot that can be obviously done in mountebank itself to improve the situation. Windows has a much higher process start up time than Posix operating systems, so if using a Linux box is an option, you'll likely see improvement that way. Alternatively, implementing the database connection in a response injection, keeping everything in-process, will almost certainly help at the cost of readability.


Barcolor

Hello, Sir,
I use your easy pie chart plugin https://github.com/rendro/easy-pie-chart
i have a question , I use demo panel bu jquery click function to change color
see the image
When i click red color in percent is change Black to Red But barcolor is not change
becoz  barcolor is on js file .
can you plz tell me how can change is it by color ?
or is it possible to add the barcolor in css ?

HTML

                            </div>

CSS
.chart {
display: block;
position: relative;
}
.percent {
display: inline-block;
font-size: 1.6em;
height: 150px;
line-height: 150px;
text-align: center;
width: 150px;
z-index: 2;
}
.chart canvas {
left: 50%;
margin-left: -75px;
position: absolute;
top: 0;
}
.percent:after {
content: '%';
margin-left: .1em;
font-size: .8em;
}

js
$(".chart").appear(function () {
$(".chart").easyPieChart({
barColor: "#00B2CA",
scaleColor: "#00B2CA",
size: "150",
lineWidth: 5,
animate: 2000,
onStep: function (e, t, n) {
$(this.el).find(".percent").text(Math.round(n))
}
})
});
i want to change teh   barColor: "#00B2CA", by click that i do in percent

Hi, If i understand you correctly, you want to click on a color and change the color of the bar.
You have to:

update the color
update the chart to the same value it already is. This will force a color change to the color you updated in point 1).

Try this:
$(".chart").data('easyPieChart').options['barColor'] = "#00B2CA";
$(".chart").data('easyPieChart').update(98);
(where 98 is the value the chart currently has, If you set it to another value, the chart will animate the bar to the new value and new color. By setting it to the same value, it won't animate but it will change the color).
I hope this helps.

Please can you help how I can achieve same thing in Angular JS? Currently I'm trying with below code, but there is no luck.
$scope.options = {
animate:{
duration:2000,
enabled:true
},
barColor:'#005A04',
scaleColor:true,
lineWidth:20,
lineCap:'circle'
};
Thanks for your time...

@josezulu how to do that using angular?

I'm sorry, I don't know Angular :(

Hello
How to import into angular 16


Tooltip not showing

Expected Behavior

Tooltip should show up on hover
Current Behavior

Nothing shows up and no console logs from the tooltip callbacks
Possible Solution

Steps to Reproduce

Create chart with the following options:
Data doesn't matter, it is just a simple bar chart. The chart shows up perfectly, however hovering over bars shows nothing.
I'm trying to migrate from v2 to v3, and currently encountering this issue.
const chart = new Chart(canvasPlotRef.current, {
    type: "bar",
    data: {
        datasets: [{
            backgroundColor: "#0066ff",
            minBarLength: 10,
            data: myData,
        }],
        labels: myData.map(p => p.x)
    },

    options: {
        plugins: {
            tooltip: {
                callbacks: {
                    labelColor(item: TooltipItem<"bar">) {
                        console.log(item)
                        return {
                            borderColor: 'rgb(255, 0, 0)',
                            backgroundColor: 'rgb(255, 0, 0)'
                        }
                    },
                    label(item: Chart.ChartTooltipItem){
                        console.log("label")
                        const c = item.value != undefined ? item.value : "---"
                        return "count: " + c
                    },
                    title: () => {
                        console.log("title")

                        return `Calendar Week`
                    },
                    afterTitle: (items: Chart.ChartTooltipItem[]): string | string[] => {
                        console.log("after title")

                        return items[0].label != undefined ? items[0].label : "---"
                    }
                }
            },
            title: {display: true, text: "title text"},
            legend: {display: false},

        },

        events: ['click', 'mousemove'],
        onClick(event: ChartEvent, activeElements: ActiveElement[]): any {
            handlePlotChartClick(event, activeElements)
        },
        maintainAspectRatio: false,
        responsive: true,
        scales: {
            y: {
                ticks: {
                    stepSize: 50,
                },
                title: {text: "Count", display: true}
            },
            x: {
                ticks: {
                    stepSize: 1,
                },
                title: {text: `Calendar Week`, display: true}
            }
        }
    }
});

Context

Environment

Chart.js version: v3
Browser name and version: latest chrome and latest firefox
Link to your project:

Did you import and register it?

Did you import and register it?

OMG... I imported and registered everything else except Tooltip. I've been on this for past 2 hours, I can't believe this lol.
Typescript was throwing errors for all the things that I use and didn't register, and for some reason Tooltip wasn't throwing any errors even though it wasn't registered and being used.
Thank you. it works after registering Tooltip.


refactor(sidedrawer): navClass handling

would be better to move that into the index.css file IMO.
Same for BottomNav

would be better to move that into the index.css file IMO.

I just did this now but... these are not reused global classes, right? Not sure what we gain if we move this into the css-file.
Now they are neatly placed inside the only component which is using them.
What do you think?

Same for BottomNav

On it.

Now they are neatly placed inside the only component which is using them.

Yeah you are right :D

On it.

:+1:


Load cms bundle correctly

at the moment this is not breaking anything, but starting from 3.4 without this change things would be broken

Coverage decreased (-0.7%) to 73.026% when pulling 7d1868d34e0a53179dbb49358c56cec0fd27f1c8 on vxsx:bugfix/static-with-version into 16ac44e41a24bde66bcfb3a48e8c28dd0bc8fc16 on divio:master.

👍

LGTM

Coverage decreased (-0.7%) to 73.026% when pulling 4926306fcf3d88fdfc0fce8089ede11e7c4502b0 on vxsx:bugfix/static-with-version into 16ac44e41a24bde66bcfb3a48e8c28dd0bc8fc16 on divio:master.


pos_disable_payment: [REF] respect framework recommendations

I beg it's the same with a lot less code... :smile:

use start method where it's use is recomendend by the framework.
untagle chrome-widget proxy, put on corresponding object and call directly,
where applicable (OrderSelectorWidget)
bind and render on corresponding objects instead of some parent proxy
(NumpadWidget, ActionPadWidget, ProductScreenWidget).
Reduce code duplications (ScreenWidget) by usage of show method on ProductScreenWidget

start - method recommendation (copied from code)
    /**
     * Method called after rendering. Mostly used to bind actions, perform asynchronous
     * calls, etc...
     *
     * By convention, this method should return an object that can be passed to $.when()
     * to inform the caller when this widget has been initialized.
     *
     * @returns {jQuery.Deferred or any}
     */
    start: function() {
        return $.when();
    },

@blaggacao Thanks for working it. Before we start checking it, I want to let you know that I have a plan to move this module to OCA https://github.com/OCA/pos/issues/232, because we don't sale this module anymore and it's quite common features, so we would like to stop maintaining it alone.
Do you think it's better to make your PRs there directly?

I remember, that you have a bad feeling about OCA, but anyway

@yelizariev I think it's better you delete the last comment, people might get hurt without a respectful contextualization... :wink:

OK, I would need to carry this one until the transition to OCA is made...


Proxy heartbeat causes warning log message (stream id -1)

Usually it is up to the client to set up heartbeats. The clients will only send heartbeats if no request is being sent through the connection.
In read only workloads, the clients will not send heartbeats but one of the connections in ZDM will become idle because reads are only being sent to the primary cluster. In this case the proxy will generate and send a heartbeat request to the secondary cluster connection.
This proxy generated heartbeat is causing warning log messages because when the response arrives the proxy is going through the normal workflow assuming that it is a response to a "normal" request.
There's no impact besides the annoying log messages because the stream id is being mapped to -1  by the cluster connector before the client handler starts processing it.
time="2023-08-16T18:55:40Z" level=warning msg="Could not find request context for stream id -1 received from TARGET-CONNECTOR. It either timed out or a protocol error occurred."

┆Issue is synchronized with this Jira Task by Unito
┆Components: Proxy
┆Issue Number: ZDM-597

Hello @joao-r-reis,
I am testing ZDM proxy configuration in preparation for the migration from Cassandra 3 cluster to Cassandra 4.
I have noticed the following error message that appears in the ZDM proxy logs:
level=error msg="[TARGET-CONNECTOR] Couldn't assign stream id to frame OpCode OPTIONS [0x05]: negative stream id: -1"

As far as I can see it is also related to heartbeats, because that error message is declared in https://github.com/datastax/zdm-proxy/blob/7e7b1f2d5ab99c181d891db8a4f661f330f28378/proxy/pkg/zdmproxy/clusterconn.go#L407
Do you think this is the same bug as you mentioned before?
ZDM proxies are configured to send read requests to Source cluster and Writes to both.
This is test cluster so, there isn't many writes.
I also didn't notice any impact on query execution or any kind of data loss.
Thanks,

Yeah if there's a period of time (default 30 seconds IIRC) where there aren't any writes then this will happen, it's annoying (log spam) but there's no impact besides that.

Thank you for the instance reply


DOC-3375: Improve usability of TAs

Fixes DOC-3375

This change is

@jseldess Good catch. I've fixed that now.

There's a conflict to resolve, though, before merging.


Align headers in doc comments...

Pull Request Description

Always use Arguments: for parameters or fields.
Always use > Example for examples.
Align sections behind ! or ? headers.
Whitespace fixes.

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.

It seems that the test ensuring Vector and Array methods documentation is consistent is reporting some problems:
 INFO ide_ci::program::command: sbtℹ [error] Test org.enso.compiler.VectorArraySignatureTest.testParseVectorAndArray failed: org.junit.ComparisonFailure: Bad documentation for Array.sort expected:<...n ascending order.
 INFO ide_ci::program::command: sbtℹ [error]
 INFO ide_ci::program::command: sbtℹ [error] []This is a stable sor...> but was:<...n ascending order.
 INFO ide_ci::program::command: sbtℹ [error]
 INFO ide_ci::program::command: sbtℹ [error] [
 INFO ide_ci::program::command: sbtℹ [error] ]This is a stable sor...>, took 0.141 sec
 INFO ide_ci::program::command: sbtℹ [error]     at org.enso.compiler.VectorArraySignatureTest.lambda$testParseVectorAndArray$10(VectorArraySignatureTest.java:170)
 INFO ide_ci::program::command: sbtℹ [error]     at scala.collection.immutable.List.foreach(List.scala:333)
 INFO ide_ci::program::command: sbtℹ [error]     at org.enso.compiler.VectorArraySignatureTest.testParseVectorAndArray(VectorArraySignatureTest.java:148)
 INFO ide_ci::program::command: sbtℹ [error]     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
 INFO ide_ci::program::command: sbtℹ [error]     at java.lang.reflect.Method.invoke(Method.java:580)
 INFO ide_ci::program::command: sbtℹ [error]     ...


Shopping/Want List

Sort of like #35 but wanting to have a way of showing interest in an item.  it can be sort of a "like" that can be used to show interest in an item and improve its market score.  But primarily, it serves as a way of keeping track of items so people can return and purchase at a later time.

Completed


url error when using nginx reverse proxy mode

Gitea Version
1.15.7
Git Version
2.25.1
Operating System
Ubuntu Ubuntu 20.04.3 LTS
How are you running Gitea?
Run the binary file downloaded from github releases with systemd and use nginx reverse proxy model for the gitea with the below configs:
  # gitea
  location /git/ {
      proxy_pass https://localhost:10080/;
      proxy_redirect off;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header Host $http_host;
      proxy_set_header Early-Data $ssl_early_data;

      client_max_body_size        10g;
      client_body_buffer_size     128k;
  }

And gitea config app.ini is as below:
[server]
PROTOCOL = https
DOMAIN = xxx.com
HTTP_PORT = 10080
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s/git/
CERT_FILE = /xxx/xxx.crt
KEY_FILE = /xxx/xxx.key
SSH_DOMAIN = %(DOMAIN)s
DISABLE_SSH = false
START_SSH_SERVER = true
SSH_PORT = 10022
SSH_LISTEN_HOST = <IP_ADDRESS>
SSH_LISTEN_PORT = %(SSH_PORT)s
LFS_START_SERVER = true
LFS_CONTENT_PATH = /xxx/lfs
LFS_JWT_SECRET = xxx
OFFLINE_MODE = true

Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
It works great when using the ROOT_URL to access the website. However, when we use another domain to access gitea, some problems appear (because we use different domains to access gitea in the LAN or the Internet). When accessing the issuse page with url https://xxx.com/git/issues, all the issuses shown in the list are linked to the ROOT_URL set in app.ini which leads to failed access. But the domains of other links in the page can automatically change to adapt to the current accessing host. I wonder if the links in the issue page can also automatically adapt to the current accessing host or if there's additional settings should be added to nginx to achieve this. Thanks.
Screenshots

I think it's duplicated with #17648


Fix babel jest

It doesn't work without the babel-core bridge thing?

Correct
On Sun, Dec 16, 2018, 10:05 PM Ben Wiley<EMAIL_ADDRESS>wrote:

It doesn't work without the babel-core bridge thing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/benwiley4000/cassette/pull/327#issuecomment-447694078,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIoKWGEXQdDADDE4DvNANpVXQec-m8TZks5u5u3sgaJpZM4ZVhCx
.

Got it, I guess babel jest still needs to be upgraded or something. Thank you for this!


upgrade rouge to prevent exception (fixes #925)

upgrade rouge to prevent exception about uninitialized constant Rouge::Lexers. See https://github.com/asciidoctor/asciidoctorj/issues/925 and https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/505 for a discussion where this happens.
When I build this new version of AsciidoctorJ and test it in my local setup (AsciiDoc plugin for IntelliJ), this change fixes the error.
What is strange for me: the test WhenSourceHighlightingIsUsed#should_render_with_rouge worked before and after the change. I wasn't able to provide a test that fails before the upgrade and succeeds after the upgrade.
I am looking forward to a bugfix release to use it in the AsciiDoc plugin for IntelliJ.
Kind of change

[x] Bug fix
[ ] New non-breaking feature
[ ] New breaking feature
[ ] Documentation update
[ ] Build improvement

Description
What is the goal of this pull request?
Fix error when using Rouge highlighter when creating HTML
How does it achieve that?
Upgrading Rouge
Are there any alternative ways to implement this?
no
Are there any implications of this pull request? Anything a user must know?
no
Issue
If this PR fixes an open issue, please add a line of the form:
Fixes #925
Release notes
Please add a corresponding entry to the file CHANGELOG.adoc

Thank you! I didn't see that there was a new version of rouge.
I'll try to release a 2.3.1 next week when I know more about #927.


Green Output in Feed

Describe the bug
The new updates to the main branch make the feed text green
To Reproduce
Run the basic feeder check
Expected behavior
Expected standard white text
Desktop (please complete the following information):

OS: MacOS
Version: 10.15.7 Catalina (public release)

Turning the array into a string seems to help the situation


Unable to route traffic through containers when using overlay networks

Hi,
Update:
I refined the issue even further. the issue is with containers on the same host. if i setup containers in another host trying to route traffic through containers on the other host it works. Please advise
I used links to run a gateway container that masquerade all traffic to the outside world and the rest of my containers are routing their traffic by setting the gateway container as default route.
Today i tried to migrate to overlay network to allow inter-host traffic routing. Even the containers on the same hosts fail to route the traffic.
just to be clear, When using links, routing traffic works great, when using overlay network even on the same machine routing fail.
Pinging the gateway works and i get ping back, but when trying to route through that container it fails.,If the client-container is running for more than 10 minutes, i can see that packets are starting to work..
If the Gateway server is using the overlay network it can't seem to be successful in routing traffic even if the client containers don't use the overlay network and try to use links instead.
Any idea what can cause this issue? maybe a workaround? Are there any options i can customize the overlay network with ? ( for example the bridge network has an option to allow masquerading, inter-container-connectivity etc )
docker info:
Containers: 24
Running: 23
Paused: 0
Stopped: 1
Images: 247
Server Version: 1.11.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 292
Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host overlay
Kernel Version: 3.13.0-86-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.38 GiB
Name: muse
ID: KFJC:7RRJ:SZAO:VAPZ:4XNF:ORLC:3MJF:B42G:ICO6:N5IR:EJJ3:7QGV
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Cluster store: consul://consoldns:8500
Cluster advertise: serverip:54543

HI,
I confirmed that it did not work per default.
Got it working though, by adding two things.
sudo iptables -A POSTROUTING -s <IP_ADDRESS>/16 ! -o docker_gwbridge -j MASQUERADE
sudo ip route add <IP_ADDRESS>/32 via <IP_ADDRESS>

Here the internal GW-container is <IP_ADDRESS> and the hidden client <IP_ADDRESS>. I took docker_gwbridge from running iptables-save and looked out for the <IP_ADDRESS>/16 masquerade rule.
It might work without adding the rule as well, have not tested. The masquerade rule is vital though since the outside world will know the container <IP_ADDRESS>, as <IP_ADDRESS> and nobody knows how to find back to it.

The reason behind this is that the overlay network is not masqueraded and goes out through another network. That network only masquerades its own network range. I have no clue if there is an option for this, but I don't think so.
docker network create --driver bridge --subnet <IP_ADDRESS>/24,<IP_ADDRESS>/24 newnet2
Error response from daemon: bridge driver doesn't support multiple subnets

@isodude
Please be aware that in libnetwork terms, the overlay driver networks do not provide external connectivity (north-south). When an endpoint joins the overlay network, the overlay driver does not set the default network gw https://github.com/docker/libnetwork/blob/master/driverapi/driverapi.go#L137
In such cases, unless a network driver explicitly call DisableGatewayService(), libnetwork will automatically attach the container to a docker_gwbridge bridge network to provide external connectivity to/from the container.

@aboch I assumed as much. Then this is what I noticed while pouring over the configuration.
I don't believe that the above case is a good one, since there is a better solution using Calico instead, solving the issue elsewhere. If there are other voices calling for I assume that adding functionality to the bridge layer to support more than one subnet would solve the above case, and maybe others, and letting the GatewayService announce the internal network if that is wished.


Migrate to Flux v2 AKS Extension

Move from bootstrapping the cluster with Flux manually after deployment to using the Flux AKS Extension to bootstrap the cluster WITH the deployment.

Update to AKS 1.22.4

Update to Kured 1.9.0

Thanks for your review @magrande


Request a Rancher Add-on

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
Currently installing a SUSE Rancher on Kubernetes clusters including EKS is manual process (https://ranchermanager.docs.rancher.com/pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster). A new add-on for Rancher will enable EKS customers to install Rancher on EKS as simple as using any existing Terraform EKS blueprints add-ons.
Describe the solution you would like
Terraform EKS blueprints users will be able to leverage the add-on framework to install SUSE Rancher on the EKS cluster:
  enable_rancher       = true
  rancher_helm_config       = {
    hostname                  = "rancher.${var.eks_cluster_domain}"
    bootstrapPassword         = "admin"
    ingress_tls_source        = "letsEncrypt"
    ingress_ingressClassName  = "nginx"
    version                   = "2.7.0"
  }

Describe alternatives you have considered
N/A
Additional context
We have successfully used new add-on in our real world EKS/Rancher deployments.

Thank you for the issue @peishuli   - this looks like its just simply wrapping the Rancher helm chart, any reason to not just use the helm_release resource directly to deploy?

thank you for the issue - at this time we will not be adding this implementation to the project. if you wish to use Rancher you can utilize the helm_release resource to add support in your environment


Allow specifying HEAD for changes

Hey y'all, my company has been using microplane with great success over the past couple of years and it's an amazing tool. However, due to business realities, the tool doesn't cover all of our use cases - while keeping the main branch up to date is awesome, we have a number of patch and beta branches that cannot have the main branch merged but also need to be maintained. The tool's current limitations mean that we have to go in an manually make changes to 20-30 branches manually which is less than ideal for changes that could be automated. Is it possible to modify the tool such that you can specify a branch, either in a flag or the text file (e.g. org/repo@branch)?
Thanks!

Hi, am I understanding correctly that you would like to specify which branch is checked out when using microplane clone to then be used as the base of the change? Or are you suggesting that when the PR is created, specifying which branch the PR is attempting to merge into? (Or both? Or something else?)

For me both would be great. Cloning a specific branch, and then choosing which branch to merge into would be ideal.
We have a git flow like workflow that means checking out from non default branch, and possibly merging to non default branch.

Hey, sorry for the late response!
Both would also be great, but the main use case for use would be

Initialize/Clone a branch other than main (e.g. beta)
run microplane as usual
open a PR to merge it into the head/cloned branch (beta)
Merge if qualifications are met


Gallery broken for hosted demo?

Hi all,
I just had a look through the demo and wanted to look at the new gallery. Upon going to https://demo.owncloud.org/index.php/apps/gallery/#Photos, I only saw placeholder images and clicking them caused my browser to download them. No gallery functionality as far as I could tell.

Maybe I'm misunderstanding something. Just wanted to report in case I'm not.
Cheers,
Maik

We're working on this.

cc @stp-ip

:+1: Cool, thanks for the crazy fast response. Do with the ticket what you wish.

(this is the owncloud.org bugtracker, a problem for gallery belongs in https://github.com/owncloud/gallery/issues )


nixos/kanata: add default value, doc and warning for devices

Description of changes

[X] Waiting for user confirmation

Fixes #255809

Things done

Built on platform(s)

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

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

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

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

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

[X] Fits CONTRIBUTING.md.

shouldn't we set the empty list as default then ? or maybe we are just mimicking upstream already ?

shouldn't we set the empty list as default then

I have added an empty list as the default vlaue.

maybe we are just mimicking upstream already

Sorry, I do not understand what you mean.

I did not do so because there is likely to be a race condition if one kanata instance has devices = [ ] and there are more than one kanata instances.

A warning is added for this.


Autofill Request Event modal based on service

Populate the Request Event modal with the selected service when clicked in the "Our Services" section.

Done.


[Facebook] Cannot parse data, public video

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Norway
Description
yt-dlp quits, reporting "cannot parse data", from public video. The video is verified as viewable for users that are not logged in to Facebook (tested in Firefox, incognito mode).
URL to public video: "https://www.facebook.com/1182153476/videos/10227176116527060/".
Verbose log
$ sudo yt-dlp -Uv
[debug] Command-line config: ['-Uv']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8] (zip)
[debug] Python version 3.10.0rc1 (CPython 64bit) - FreeBSD-14.0-CURRENT-amd64-64bit-ELF
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: none
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)

$ yt-dlp -v "https://www.facebook.com/1182153476/videos/10227176116527060/"
[debug] Command-line config: ['-v', 'https://www.facebook.com/1182153476/videos/10227176116527060/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8] (zip)
[debug] Python version 3.10.0rc1 (CPython 64bit) - FreeBSD-14.0-CURRENT-amd64-64bit-ELF
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: none
[debug] Proxy map: {}
[debug] [facebook] Extracting URL: https://www.facebook.com/1182153476/videos/10227176116527060/
[facebook]<PHONE_NUMBER>6527060: Downloading webpage
[facebook]<PHONE_NUMBER>6527060: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>6527060: Cannot parse data; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/facebook.py", line 721, in _real_extract
    return self._extract_from_url(real_url, video_id)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/facebook.py", line 667, in _extract_from_url
    raise ExtractorError('Cannot parse data')

Already fixed in code


mongodb support

Feature Request
Is your feature request related to a problem? Please describe.
Currently, the loco.rs framework lacks native support for MongoDB, which complicates integration with projects that rely on MongoDB as a database solution. I encounter an issue when attempting to implement MongoDB within loco.rs, as there's no built-in support or straightforward configuration available.
Describe the solution you'd like
I'd like loco.rs to include official MongoDB support, allowing seamless integration with MongoDB databases. This could be achieved by adding a database adapter or middleware that supports MongoDB operations (such as querying, inserting, updating, and deleting documents) and providing built-in configuration options for connection management.
Describe alternatives you've considered
As an alternative, I considered creating comprehensive documentation on how to manually connect to MongoDB within loco.rs using a Rust MongoDB driver. This would include guidelines for setting up a connection, performing CRUD operations, and handling connection management. However, this approach requires manual implementation and might lead to inconsistencies or complications for users.

Seaorm and sqlx only has support for PostgreSQL, MySQL, and SQLite. You could ignore the models section and add database queries like normal Axum code.

Please look at the extras repo in the loco-rs org.
there is an example of how to use MongoDB.
I don’t suppose we want to do MongoDB as a native DB. Currently we support what ever SeaORM support  👍🏻


fix: changes scss imports to allow vars imports to payload projects

Description
There was an error when trying to import vars from Payload in to a Payload project.

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Existing test suite passes locally with my changes

I though this was because of my unholy mix with styled-components. Thanks for the fix!


Verify Discord Role Instructions

@EmilFattakhov Added the screenshots. The sizes of the images make it difficult to format, lmk if you have any tips for this.


Add monero service

Motivation for this change
To easily run a monero node
Things done

[x] Tested module and most options
[x] Fits CONTRIBUTING.md.

cc @ehmry

Thanks!


libicu: build failure (cross compiling x86_64-linux -> aarch64-linux)

Describe the bug
         at /nix/store/c97z6rsqz7j4damvkwh6sf4fggxqzssv-source/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: function 'anonymous lambda' called with unexpected argument 'buildRootOnly'

       at /nix/store/c97z6rsqz7j4damvkwh6sf4fggxqzssv-source/pkgs/development/libraries/icu/default.nix:1:1:

            1| { stdenv, lib, fetchurl, fetchpatch, fixDarwinDylibNames, testers, buildPackages }:
             | ^
            2|

Haven't had the chance to dig in, yet.
This is an x86_64-linux builder cross-compiling for aarch64-linux.
This is on top of current nixos-unstable: a4695440
Steps To Reproduce
Steps to reproduce the behavior:

...
...
...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Add a :+1: reaction to issues you find important.

https://github.com/NixOS/nixpkgs/pull/290761

Resolved https://github.com/NixOS/nixpkgs/pull/290761


curies convertor returns none instead of ignoring when it does not match anything

Hi, not sure if this is a bug of feature, but something that I thought I should write here
I am running bioregistry_converter.pd_compress and it shows up none when it does not match anything.
Probably not ideal (unless that is exactly what you intended) - would expect it to ignore and leave the URL if it does not match

Similar happens with  bioregistry_converter.pd_expand

This is expected behavior. curies does not currently consider situations with ill-defined semantics, such as when you have a column that's suppose to be CURIEs but sometimes an IRI appears anyway. Two potential ways forward:

Make these utilties more strict and throw errors when the content of the cell isn't a valid, recognizable, parsable CURIE (within the scope of the curies.Converter)
Implement a utility that has an omni-parser that can handle situations where CURIEs or IRIs can appear in the same field

I think an error message might be a potential fix, but I do understand that that might frustrate people (me included) - so far we have written around it (both my colleague and I in different ways) so maybe just a documentation note might suffice :) btws happy for you to close this as something you won't change, just thought I'd open this ticket as a community user :) thanks!

I have a similar issue. Here's my code:
import pyobo
from curies import get_obo_converter

obo_converter = get_obo_converter()
df = pyobo.get_sssom_df(resource, names=names)

# Remove bananas
df["object_id"] = df["object_id"].apply(lambda x: ":".join(x.split(":")[-2:]) if str(x).count(":") > 1 else x)

obo_converter.pd_standardize_curie(df, column="object_id")
print(df)

This gives object_id column to be Nones.
Questions:

I commented the code for banana removal and ran the code above. It yielded same results.
I know all rows in the object_id column are CURIEs.
In a situation where not all but some elements  in the column of interest are not legitimate CURIEs , would this truncate all to Nones?

Any suggestions would be super valuable!

I'd like to add: bioregistry_converter.pd_standardize_curie(df, column="object_id") does yield results.

May I suggest this code:
https://github.com/cthoyt/curies/blob/e5c56d66338dbaea3d98366dd7f3010810296c7e/src/curies/api.py#L990-L1010
to be updated as
def standardize_prefix(self, prefix: str) -> Optional[str]:
        """Standardize a prefix.

        :param prefix:
            The prefix of the CURIE
        :returns:
            The standardized version of this prefix wrt this converter.
            If the prefix is not registered in this converter, returns none.

        >>> from curies import Converter, Record
        >>> converter = Converter.from_extended_prefix_map([
        ...     Record(prefix="CHEBI", prefix_synonyms=["chebi"], uri_prefix="..."),
        ... ])
        >>> converter.standardize_prefix("chebi")
        'CHEBI'
        >>> converter.standardize_prefix("CHEBI")
        'CHEBI'
        >>> converter.standardize_prefix("NOPE") is None
        True
        """
        if prefix.lower() in [k.lower() for k in self.synonym_to_prefix.keys()]:
            standardized_prefix = [v for k, v in self.synonym_to_prefix.items() if k.lower() == prefix.lower()][0]
        else:
            standardized_prefix = prefix # default was None
        return standardized_prefix

This way:

Even if there is no standardized version for a prefix It returns the same as before instead of None
Makes the prefix case-insensitive and makes sure .upper() / .lower() / mixed case prefixes are still caught and standardized.

Thoughts?

I have a similar issue. Here's my code:
import pyobo
from curies import get_obo_converter

obo_converter = get_obo_converter()
df = pyobo.get_sssom_df("umls", names=False)

# Remove bananas
df["object_id"] = df["object_id"].apply(lambda x: ":".join(x.split(":")[-2:]) if str(x).count(":") > 1 else x)

obo_converter.pd_standardize_curie(df, column="object_id")
print(df)

This gives object_id column to be Nones.
Questions:
1. I commented the code for banana removal and ran the code above. It yielded same results. (I understand the banana removal process may not be accurate but trying to get this working for now).

2. I know all rows in the `object_id` column are CURIEs.

3. In a situation where not all but some elements  in the column of interest are not legitimate CURIEs , would this truncate all to `None`s?

Any suggestions would be super valuable!
UPDATE:
* I'd like to add: `bioregistry_converter.pd_standardize_curie(df, column="object_id")` does yield results but I specifically need OBO format for prefixes.

* `get_monarch_converter()` returns `None`s as well

This is a different issue, @hrshdhgd can you please open a new thread and move the last two comments?

https://github.com/cthoyt/curies/issues/72


[Feature request]: allow edit of base_url

What do you need?
i want to be able to change the base url to another endpoint e.g. the Azure OpenAI endpoint instead of default OpenAI

I've managed to get it working on a different OpenAI API-compatible endpoint (Oobabooga) by adding a OPENAI_BASE_URL= line in ~/.config/fabric/.env
It does complain about "Unable to fetch models" and "No OpenAI API key found" (despite having an API key too), but it does work other than that.

I fixed this on an upcoming pull request where we deal with OpenAI baseURL.

@meirm  which one? When will it be merged?

https://github.com/danielmiessler/fabric/pull/189

It is available in the current release.


history list improvements

Fixes #102 .

Changes proposed in this PR:

Reduce records from 25 to 8 per page
Add refresh button in pagination
handle last file upload (on the history list)
change upload logic: after upload, now users get the ddo link immediately (they don't have to ask for it)

Hi @jamiehewitt15, can you review this please.

Not sure exactly what's wrong but it didn't work

I'll have a look in the logs on the backend to see if I can see what's happening

Looks like the arweave microservice still isn't working in the test environment. I don't think it's anything to do with this PR though, I think it's related to a change on the backend


[BUG] Not similar box size ( customer reviews box ,   Latest article from blog )

Description
size of the customer reviews box and  Latest article from blog and not similar their size is different from each other .
Screenshots

all boxes are not of same length

all boxes are not of same length
Any additional information?
No response
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@Anshuaman2001 go ahead

@Anshuaman2001 you are assigned.

please give ⭐ our repo

Join our official Discord server & discuss about new features and bugs raise issue & PR accordingly.

And also follow us on Linkedin

@Anshuaman2001 no response anything


Only exit with exit code 1 when --dry-run option is present

The current behavior is to always exit with exit code 1 if something is fixed. This behavior is not desired, as it breaks automation tools. As stated in PR #173, this is nice for use in CI, however, it also makes sense to use php-cs-fixer with --dry-run in CI to not to modify artifacts, therefore, I suggest fallowing changes to the current behavior:

Without --dry-run:

exit code is not 1 only if there was an error state
exit code 0 in all other cases

With --dry-run:

exit code 1 when something was to be fixed
exit code 0 when nothing to fix

duplicate..
issue: #1041
pr: #1078

Dammit, how did I miss this?
Issue closed.


separate-columns with default target naming

https://clojurians.zulipchat.com/#narrow/stream/236259-tech.2Eml.2Edataset.2Edev/topic/seperate.20with.20custom.20fn

This will be a breaking change (minor). By default source column will be replaced by the new one, on every case.
(-> (tc/dataset {:x [1] :y [[2 3 9 10 11 22 33]]})
    (tc/separate-column :y))
;; => _unnamed [1 8]:
;;    | :x | :y-0 | :y-1 | :y-2 | :y-3 | :y-4 | :y-5 | :y-6 |
;;    |---:|-----:|-----:|-----:|-----:|-----:|-----:|-----:|
;;    |  1 |    2 |    3 |    9 |   10 |   11 |   22 |   33 |

(-> (tc/dataset {:x [1] :y [[2 3 9 10 11 22 33]]})
    (tc/separate-column :y reverse))
;; => _unnamed [1 8]:
;;    | :x | :y-0 | :y-1 | :y-2 | :y-3 | :y-4 | :y-5 | :y-6 |
;;    |---:|-----:|-----:|-----:|-----:|-----:|-----:|-----:|
;;    |  1 |   33 |   22 |   11 |   10 |    9 |    3 |    2 |

(-> (tc/dataset {:x [1] :y [[2 3 9 10 11 22 33]]})
    (tc/separate-column :y (fn [input]
                             (zipmap "somenames" input))))
;; => _unnamed [1 7]:
;;    | :x |  a | s |  e |  m |  n | o |
;;    |---:|---:|--:|---:|---:|---:|--:|
;;    |  1 | 22 | 2 | 10 | 33 | 11 | 3 |

I am know wondering if this use case should be handled by "tc/seperate-column" or if it requires a complete new method, for performance reasons. The seq in your example [2 3 9 10 11 22 33] could be as well a double arrays, like this:
(def ds
  (-> (tc/dataset {:x [1] :y [(double-array [2 3 9 10 11 22 33])]})))

And to separate this (specialy when large) could be done optimized in this way:
(->
 (tech.v3.datatype/concat-buffers (:y ds))
 (tech.v3.tensor/reshape [(tc/row-count ds)
                          (-> ds :y first count)])
 (tech.v3.dataset.tensor/tensor->dataset))

(+ replacing the column: y in the ds with the news ds)
I suppose this is significantly faster then a generic "separate" implementation you have intc/seperate
It works as well for the persistent vector case above
test cases could be those:
(def ds-1
  (-> (tc/dataset {:x [1 2] :y [[2 3 9 10 11 22 33]
                                [2 3 9 10 11 22 33]]})))

(def ds-2
  (-> (tc/dataset {:x [1] :y [(double-array [2 3 9 10 11 22 33])]})))

(def ds-3
  (-> (tc/dataset {:x [1] :y [(list 2 3 9 10 11 22 33)]})))

(->
 (tech.v3.datatype/concat-buffers (:y ds-1))
 (tech.v3.tensor/reshape [(tc/row-count ds-1)
                          (-> ds-1 :y first count)])
 (tech.v3.dataset.tensor/tensor->dataset))

In some cases we want even to get the tensor back and not the data frame, so omit the last tensor->dataset  call.
I think it is a usefull addition in tablecloth, once we go from a dataset to a 2-d matrix.

Not sure about the reverse.
So starting from a dataset with several (numeric) columns, and suqeze them into a single column of native arrays.

For the reverse something like this is working, ot sure of optimal:

(def ds
  ;; => _unnamed [3 2]:
  ;;    | :x-0 | :x-1 |
  ;;    |-----:|-----:|
  ;;    |    1 |    4 |
  ;;    |    2 |    5 |
  ;;    |    3 |    6 |
  (->
   (tc/dataset {:x-0 [1 2 3]
                :x-1 [4 5 6]})))

(def rows
  (->
   (tech.v3.datatype/concat-buffers (tc/columns ds))
   (tech.v3.tensor/reshape [(tc/column-count ds)
                            (tc/row-count ds)])
   (tech.v3.tensor/transpose [1 0])
   (tech.v3.tensor/rows)))

(tc/dataset {:x (map tech.v3.datatype/->double-array rows)})
;; => _unnamed [3 1]:
;;    |          :x |
;;    |-------------|
;;    | [D@1600011f |
;;    |  [D@fc74513 |
;;    | [D@20c51970 |

I would think that a pair of functions to go from one representation to the other would be useful.

Looks like it's very specific case, kind of transpose of matrix. I'm not sure if it belongs to TC.
The last case (reverse) can be done with join-columns and {:result-type double-array}
BTW, does tensor work on non-numerical data.

My original solution landed in 6.103

Numeric only.
I think there should be 2 methods for this in TC, they operate on Dataset.
Its a specific form of separate.

Numeric only.
I think there should be 2 methods for this in TC, they operate on a Dataset.
Its a specific form of separate.and require array of same type and length in each row.
I can do PR, as I have a use case.

But indeed goes into numeric stuff and going from a datset to a matrix

I will try it out forward and backward.
I hve the impressions, without proof, that my code above could be far more performant, but having some constraints.
I will measure it on a larger case.

Asd I thought. On a 1000 * 1000 double matrix-type of dataset:
(def ds (api/dataset {:x (map
                          (fn [_] (double-array (range 1000)))
                          (range 1000))}))

we get factor 50 - 100 of execution time difference
(defn use-separate []
 (api/separate-column ds :x))

(defn use-reshape []
 (->
  (tech.v3.datatype/concat-buffers (:x ds))
  (tech.v3.tensor/reshape [(api/row-count ds)
                           (-> ds :x first count)])
  (tech.v3.dataset.tensor/tensor->dataset)))

(time (def _ (use-separate)))
;; Elapsed time: 3371.491881 msecs"
(time (def _ (use-reshape)))
;; "Elapsed time: 76.420533 msecs"

But I was wrong above, the code works as well with non numeric..

Yes, join-columns and separate-column are slow. I know that. This two funcitons are more general than just packing/unpacking sequence to/from column(s).
join-columns and separate-column are more-less the same as tidyr's extract, separate and unite functions.
Your example is just one special case - which can be optimized for sure. If you have an idea for PR - it's always welcome.


Spawn() fails with "inappropriate ioctl for device" error on Go 1.11

macOS: 10.13.6
Go: 1.11

Tests on master branch fails:
goexpect/master$ go test .
2018/09/11 23:43:37 at login prompt
2018/09/11 23:43:37 at password prompt
2018/09/11 23:43:39 Done sent
E0911 23:43:39.901595   19055 expect_test.go:136] Accept failed: accept tcp [::]:65226: use of closed network connection
E0911 23:43:39.910121   19055 expect_test.go:204] PTY cols/rows: 240/22 want: 120/40
E0911 23:43:39.910250   19055 expect_test.go:136] Accept failed: accept tcp [::]:65231: use of closed network connection
2018/09/11 23:43:39 Write failed: io: read/write on closed pipe
2018/09/11 23:43:39 Write failed: io: read/write on closed pipe
--- FAIL: TestSpawn (0.00s)
    expect_test.go:948: Nil return code: Spawn("/bin/true") = true want: false, err: inappropriate ioctl for device
    expect_test.go:948: Non nil return code: Spawn("/bin/false") = true want: false, err: inappropriate ioctl for device
    expect_test.go:948: Spawn cat: Spawn("/bin/cat") = true want: false, err: inappropriate ioctl for device
--- FAIL: TestSpawnWithArgs (0.00s)
    expect_test.go:971: Spawn(echo 'a   b') failed: inappropriate ioctl for device
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x11ee48c]

goroutine 46 [running]:
testing.tRunner.func1(0xc000110900)
	/usr/local/opt/go/libexec/src/testing/testing.go:792 +0x387
panic(0x123f720, 0x144d5a0)
	/usr/local/opt/go/libexec/src/runtime/panic.go:513 +0x1b9
github.com/google/goexpect.(*GExpect).ExpectSwitchCase(0x0, 0xc000251ec8, 0x1, 0x1, 0x17d78400, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/google/goexpect/expect.go:620 +0x1cc
github.com/google/goexpect.(*GExpect).Expect(0x0, 0xc0004020a0, 0x17d78400, 0xc000251f58, 0x1, 0x1, 0x0, 0x0, 0x0, 0x12c4100)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/google/goexpect/expect.go:1125 +0xd1
github.com/google/goexpect.TestSpawnWithArgs(0xc000110900)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/google/goexpect/expect_test.go:975 +0x139
testing.tRunner(0xc000110900, 0x1295258)
	/usr/local/opt/go/libexec/src/testing/testing.go:827 +0xbf
created by testing.(*T).Run
	/usr/local/opt/go/libexec/src/testing/testing.go:878 +0x353
FAIL	github.com/google/goexpect	4.220s

Hey Hachi8833 ..
This is due to goexpect , or rather goterm , only support linux.
I am working on adding in support for more OSes with FreeBSD being first out. Don't know how close Mac OS is to those though and don't have access to any macs atm.

I experience the same limitation with macOS 10.15.4 and Go 1.14.1.  Commenting so I receive any follow-up communication :).

following up as well.  I Seem to have a different error.  I am using macOS 12.3.1, Go 1.18.3 on darwin/arm64,  M1 Silicon.
go test .
go: downloading golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
go: downloading google.golang.org/grpc v1.31.0
go: downloading github.com/google/goterm v0.0.0-20190703233501-fc88cf888a3f
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55
go: downloading github.com/golang/protobuf v1.3.3
2022/06/09 13:39:46 at login prompt
2022/06/09 13:39:46 at password prompt
2022/06/09 13:39:48 Done sent
E0609 13:39:48.262938    9695 expect_test.go:138] Accept failed: accept tcp [::]:53049: use of closed network connection
--- FAIL: TestTee (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10077dcd8]

goroutine 178 [running]:
testing.tRunner.func1.2({0x100854ac0, 0x100a70080})
	/opt/homebrew/Cellar/go/1.18.3/libexec/src/testing/testing.go:1389 +0x1c8
testing.tRunner.func1()
	/opt/homebrew/Cellar/go/1.18.3/libexec/src/testing/testing.go:1392 +0x384
panic({0x100854ac0, 0x100a70080})
	/opt/homebrew/Cellar/go/1.18.3/libexec/src/runtime/panic.go:838 +0x204
github.com/google/goexpect.(*GExpect).check(0x140003a0dc8?)
	/Users/ggao/intuit/productivity/goexpect/expect.go:690 +0x28
github.com/google/goexpect.(*GExpect).Send(0x0, {0x100791cd1, 0x7})
	/Users/ggao/intuit/productivity/goexpect/expect.go:1223 +0x2c
github.com/google/goexpect.TestTee(0x14000540000)
	/Users/ggao/intuit/productivity/goexpect/expect_test.go:710 +0x160
testing.tRunner(0x14000540000, 0x1008a7e10)
	/opt/homebrew/Cellar/go/1.18.3/libexec/src/testing/testing.go:1439 +0x110
created by testing.(*T).Run
	/opt/homebrew/Cellar/go/1.18.3/libexec/src/testing/testing.go:1486 +0x300
FAIL	github.com/google/goexpect	5.105s
FAIL


Add explicit tests for timeline overlapping api

Add explicit tests for timeline overlapping api

Codecov Report

Merging #115 (6823ad8) into main (a96ca39) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #115   +/-   ##
=======================================
  Coverage   96.35%   96.35%
=======================================
  Files          10       10
  Lines         714      714
=======================================
  Hits          688      688
  Misses         26       26

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support ; as query string parameters in addition to &

I also can't normalize urls with ";" as delimiter like this one:
https://www.xing.com/app/user?op=share;url=https%3A%2F%2Fwww.campana-schott.com%2Fde%2Fde%2F&title=Campana %26 Schott - Deutschland&provider=
It would be great if you would support the semicolon delimiter.

@clxo
Would be be useful if I included a setQuerySeparator method?  e.g. you could do
$normalizer->setQuerySeparator(';');

This would be a simple addition for me.  It'll be more complicated to auto-detect query string delimiters.

@glenscott  It would not solve the case when the url includes both ";" and "&" as delimiter, but it would help for the first time!
Thank you!


Swift3

can not get the "2.0.0" version

2.0 release will be made on this weekend, hopefully this Saturday.
If you need an immediate solution right now, please use solution found by @asidden here
https://github.com/MLSDev/TRON/issues/15#issuecomment-246964280


Resolve issue #645

Also,
I added a new class, QIntValidatorWithFixup, that can automatically fix input that is out of range.

This PR also partially fixes issue #620


Add specific versions to install packages in defaults/main.yml

Wherever possible we need to add specific version of each of the binaries installed. For example, python-pip needs to be at 8.1.2 now to install Ansible <IP_ADDRESS> as we didn't define the Ansible version.

yes... need to add a pin for the version.  also need to allow updating on re-run if not at the pinned version.


Reinstate utils modules in modal/

Unbreaks the monorepo which imports some of these directly until https://github.com/modal-labs/modal/pull/11064 lands

@prbot approve

lgtm


Use SemVer - Bump to 1.0 or publish a roadmap for 1.0

Electron is currently 0.x meaning

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

Is this true? if so, is there a roadmap of changes before initial development will finish?
Or is it that you haven't got around to bumping to 1.0 ?

is there a roadmap of changes before initial development will finish?

Not sure if you've seen this yet but 1.0 API changes have been documented initially at http://blog.atom.io/2015/11/17/electron-api-changes.html

awesome, I didn't see that..


conversion of .mpk saves question

What do I need to name the file, for my save to be loadable in this project?
I have many things saved in it and I would like to be able to use them.

There is a save converter. You can probably convert the MPK save with it.

There is a save converter. You can probably convert the MPK save with it.

That's true, but I don't know how to convert it with that. Can you test such a method yourself? I tried most options including that one and it failed.
Also, I don't know where save files go for your application and what they are named, etc...

Question though, what is the rom save called when you save the game?
I don't have any clue you see...
is it eeprom.bin or something else?  What should the save be named?

Hi!
My save editor / converter doesn't support controller paks, as that requires dealing with a bunch of extra stuff. What you could do is:

Load the N64 game in an emulator, and use the built in functionality to copy the data you need from the controller pak to the cartridge.
You should have your data in a .eep file that you can open with my editor.
In my editor, go to the menu Tools and change the Save Format from N64 to PC.
Go to the menu File/Save As... and save it with the name eeprom.bin along with the PC port executable.

Your data now should be loaded correctly on PC.


Update diagnostics reporting page

Make two opt out options more explicit
Explain how to verify opt out

Fixes #1547

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4f59572f8dbf35b31b22ba2e477e5cee813cbd67/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2f407f87fd4f6269159bdb07684d892d14df4218/

@bdarnell, can you give this a quick look?

Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

diagnostics-reporting.md, line 205 at r1 (raw file):

## Opt Out of Diagnostics Reporting

### At Cluster Startup

Call this "Initialization" instead of "Startup" to make it more clear that this only takes effect the first time any node is started.

diagnostics-reporting.md, line 238 at r1 (raw file):

If the setting is `false`, diagnostics reporting is off; if the setting is `true`, diagnostics reporting is on.

Also, if you opted out [at cluster startup](#at-cluster-startup), you can find the following message in the [logs](debug-and-error-logs.html) to confirm that diagnostics reporting is off:

This doesn't actually verify that reporting is off - it will show that the environment variable was recognized, but the env var will also show up here on subsequent restarts even if was missing the first time (which means it wasn't doing anything). We should probably leave this part out and just recommend SHOW CLUSTER SETTING diagnostics.reporting.enabled.

Comments from Reviewable

Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

diagnostics-reporting.md, line 205 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
Call this "Initialization" instead of "Startup" to make it more clear that this only takes effect the first time any node is started.

Done.

diagnostics-reporting.md, line 238 at r1 (raw file):
Previously, bdarnell (Ben Darnell) wrote…
This doesn't actually verify that reporting is off - it will show that the environment variable was recognized, but the env var will also show up here on subsequent restarts even if was missing the first time (which means it wasn't doing anything). We should probably leave this part out and just recommend SHOW CLUSTER SETTING diagnostics.reporting.enabled.

Done.

Comments from Reviewable

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/eb6088b793fd9d3f7f3306037734d2f2cbf1072b/


Update sys-dm-os-spinlock-stats-transact-sql.md

I ran into an issue, where data in the backoffs column was larger than the int data type.
name	collisions	spins	spins_per_collision	sleep_time	backoffs
LOCK_HASH<PHONE_NUMBER>7<PHONE_NUMBER>368	108.8521	384823<PHONE_NUMBER>
This was in SQL Server 2019.

@olahallengren : Thanks for your contribution! The author(s) have been notified to review your proposed change.


🤐 Fix deprecation warnings

What does this PR do?
2 warnings were forget in #2392
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a GitHub issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


task.json schema documentation is missing, republish.

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment

Server - VSTS or TFS on-premises?

If using TFS on-premises, provide the version:

If using VSTS, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version:

Issue Description
[Include task name(s), screenshots and any other relevant details]
Error logs
[Insert error from the logs here]

Can you clarify where you expect it to be?

It's here: https://github.com/Microsoft/vsts-task-lib/blob/master/tasks.schema.json


Add security updates to kickstart install

Fixes #2287
Installing certmonger blew up because an rpm associated with a security
update was not present.
This fix adds the repo with those updates to our kickstart.
It is installed by default to the appliance via
/etc/yum.repos.d/CentOS-Base.repo
/cc @JPrause @jrafanie @jvlcek

Thanks @kbrock :heartbeat:
I was :expressionless:  looking at this so many hours on friday and today.  Thanks for getting this pushed to the finish line.


Warning when compile documentation (missing 'PersonDict' & 'AttributeDict')

In attempt to compile documentation:
docs\make.bat html

you're receiving:
Running Sphinx v4.3.2
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 20 source files that are out of date
updating environment: [new config] 20 added, 0 changed, 0 removed
reading sources... [100%] utilities
WARNING: autodoc: failed to import class 'PersonDict' from module 'sc2reader.utils'; the following exception was raised:

Traceback (most recent call last):
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\util\inspect.py", line 448, in
safe_getattr
    return getattr(obj, name, *defargs)
AttributeError: module 'sc2reader.utils' has no attribute 'PersonDict'

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

Traceback (most recent call last):
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\ext\autodoc\importer.py", line
110, in import_object
    obj = attrgetter(obj, mangled_name)
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\ext\autodoc\__init__.py", line
332, in get_attr
    return autodoc_attrgetter(self.env.app, obj, name, *defargs)
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\ext\autodoc\__init__.py", line
2780, in autodoc_attrgetter
    return safe_getattr(obj, name, *defargs)
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\util\inspect.py", line 464, in
safe_getattr
    raise AttributeError(name) from exc
AttributeError: PersonDict

WARNING: autodoc: failed to import class 'AttributeDict' from module 'sc2reader.utils'; the following exception was rais
ed:
Traceback (most recent call last):
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\util\inspect.py", line 448, in
safe_getattr
    return getattr(obj, name, *defargs)
AttributeError: module 'sc2reader.utils' has no attribute 'AttributeDict'

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

Traceback (most recent call last):
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\ext\autodoc\importer.py", line
110, in import_object
    obj = attrgetter(obj, mangled_name)
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\ext\autodoc\__init__.py", line
332, in get_attr
    return autodoc_attrgetter(self.env.app, obj, name, *defargs)
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\ext\autodoc\__init__.py", line
2780, in autodoc_attrgetter
    return safe_getattr(obj, name, *defargs)
  File "c:\users\alex\appdata\local\programs\python\python38-32\lib\site-packages\sphinx\util\inspect.py", line 464, in
safe_getattr
    raise AttributeError(name) from exc
AttributeError: AttributeDict

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] utilities
generating indices... genindex py-modindex done
highlighting module code... [100%] sc2reader.utils
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.

The HTML pages are in build\html.

Build finished. The HTML pages are in build/html.

At the moment the following branch is used until it is merged: https://github.com/cclauss/sc2reader/tree/patch-4
(see: https://github.com/ggtracker/sc2reader/issues/157 )

https://github.com/ggtracker/sc2reader/commit/a194b677c5f702c6d122cb956a076a39b324478f Removed PersonDict in 2016.


Reduce size of the log files

With Version 0.8.0 we write huge log files every day. That's why we send every Minute a Modbus Request and get a reply. At sunset the inverter still have the TCP connection up, but the DSP isn't able to answer the request. In this situation we resend  the request a second time. (and in earlier version up to 3 times).
We don't want to see all the packets in the trace, which are produced by the proxy and we also don't want to see the replies for these. So we should reduce the log level for these Modbus Commands to DEBUG.
Modbus packets which comes from TSUN are still very intresting for us and the are very seldom. So we should trace these ones with INFO level. The same for packet which are caused by MQTT commands.

In Addition, when The connection to tsun clouds gets lost I get:
OSError: [Errno 113] Host is unreachable
'
'2024-05-10 18:55:15 ERROR | conn | Exception for ('<IP_ADDRESS>', 62152):
Traceback (most recent call last):
  File "/home/tsun-proxy/async_stream.py", line 63, in loop
    await self.__async_read()
  File "/home/tsun-proxy/async_stream.py", line 109, in __async_read
    data = await self.reader.read(4096)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 694, in read
    raise self._exception
  File "/home/tsun-proxy/async_stream.py", line 63, in loop
    await self.__async_read()
  File "/home/tsun-proxy/async_stream.py", line 109, in __async_read
    data = await self.reader.read(4096)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 713, in read
    await self._wait_for_data('read')
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 545, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1013, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

permanently.
This blows the log to 30 GB and more!
Only solution is to switch off the cloud in config.

I will catch the exception and then close the connection. That will stop the loop. On my side I never saw this error, which comes from the underlying system.

fixed by #79 and #82


[Suggestion] Add a config option for Ore scanner

Would it be possible to create a config option for the Ore scanner function to disable it on the tools? This would allow modpack makers to customise and remove the function in favour of other scanning methods such as potions master without effecting any of the tools.

Are you a pack maker who wants to do this, or are you suggesting it generically ;)

I am helping out with developing All the mods 10. Potions Master is what is typically used in the pack. I was suggesting as there typically aren't that many extra ore scanner abilities and they tend not to just generically show everything rather needing to be targeted and a little later game than just having iron available. Everyone is loving the mod by the way.

Sounds good :) yea I’ll add some kind of abilities config options then.

Added a config for all abilities :).


Upgrade Charts to most recent Camunda Platform chart version

We are lagging behind by several versions already see https://github.com/zeebe-io/benchmark-helm/pull/108
We should try to always test with the most recent helm charts and be a safety net with recent changes on the charts. This means we should make sure to update soon

There are several breaking changes to consider https://docs.camunda.io/docs/next/self-managed/platform-deployment/helm-kubernetes/upgrade/#v830-minor

Follow up: https://github.com/zeebe-io/zeebe-chaos/issues/477


script to convert results to markdown

This is a Python script that I plan to run daily through a GitHub action to make results more human readable.

Here is an example output:
ExampleName

Category
Passed
Total

All
67
76

Client PIN
36
40

FIDO 2.1
7
8

HMAC Secret
1
1

Failed tests:

Tests if unknown extensions are ignored in MakeCredential.

Failure to accept a valid extension.
A prompt was expected, but not performed. Sometimes it is just not recognized if performed too fast.
The failing error code is CTAP2_ERR_UNSUPPORTED_OPTION.

Tests if the exclude list is used correctly.

MakeCredential failed for an unrelated relying party.
The failing error code is CTAP2_ERR_CREDENTIAL_EXCLUDED.

Device capabilities

HID

CBOR: True
MSG: True
WINK: True

Versions

U2F_V2
FIDO_2_0

Options

clientPin
rk
up
uv

Extensions

hmac-secret
credProtect

All counters were strictly increasing, but not necessarily incremented by 1.

Device information

Serial number: v1.0
Manufacturer: ExampleManufacturer
Vendor ID : 0x0123
Product ID: 0x4567
AAGUID:<PHONE_NUMBER>abcdef0123456789abcdef

@ebursztein PTAL

@ebursztein PTAL


[Resources] Add extended locations in the /providers/resourceTypes API in 2020-08-01 version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

    "capabilities": {

What are the possible capabilities?

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/resources.json:4926 in 9335761. [](commit_id = 933576132c8641d736d6473f7f4a6a8f0fe38296, deletion_comment = False)

Please go through the contribution checklist added as part of the review and mark them completed. This is a requirement before review can be continued.

How the extendedLocations are defined? Is this subscription specific? Can I define it at MG level?

Is extendedLocation being passed in register/unregister?

done.

In reply to: 704518544 [](ancestors = 704518544)

The extended locations are defined by the edge zone team. whenever a new edge zone is onboarded, it's going to be added to a centralized service. Right now in phase 1, the list is hard coded in ARM.

In reply to: 705049358 [](ancestors = 705049358)

No it's not passed in register/unregister, but it may be returned since they share the response schema with /providers API.

In reply to: 705049556 [](ancestors = 705049556)

    "capabilities": {

This is a list of the possible values: CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation, SupportsExtension

In reply to: 704517650 [](ancestors = 704517650)

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/resources.json:4926 in 9335761. [](commit_id = 933576132c8641d736d6473f7f4a6a8f0fe38296, deletion_comment = False)

@xccc I'm getting linter error about "UNREFERENCED_JSON_FILE". The example file was indeed refereced by the swagger file. Is this a false alarm?

cc: @akning-ms @PhoenixHe-msft for the help

@Tiano2017 Please update readme.md with the new version

@Tiano2017 Can you please try to fix the CI errors? Thanks.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

I've went through the CI errors. All them were on the old API versions which are not changed in the current PR, so I'll leave them for now. Can we run the CI checks only for the API version that is changed in a PR?

/azp run public.rest-api-specs

@Tiano2017 , there's a tag package-2020-09 referenced in basic information. This tag doesn't exist. Please remove it.

/azp run automation - sdk

@changlong-liu , could you help confirm if pythonT2 is a known issue?

add @msyyc for Python issue.

since you add package-resource-2020-08, so you need to edit readme.python.md and add something like:

I help to edit it. Next time remember to edit it please.
readme.python.zip

@qiaozha , can you have a look at the JS SDK failures? Does it need to add the new tag in readme.nodejs.md?

Hi @raych1 ,
We found that the definition of  "x-ms-external" in Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json does not follow the rules of  a
utorest/docs/extensions/readme.md#x-ms-extermal
Here are some correct examples: Microsoft.Authorization\stable\2019-09-01\policyAssignments.json
Because we don't have permission to change swagger file,we would like your help us to correct it.
if you have any concern,please let us know.thanks

Hi @Tiano2017 ,
We found that the definition of "x-ms-external" in Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json does not follow the rules of autorest/docs/extensions/readme.md#x-ms-extermal
Here are some correct examples: Microsoft.Authorization\stable\2019-09-01\policyAssignments.json
Because we don't have permission to change swagger file,we would like your help us to correct it.
if you have any concern,please let us know.thanks

Hi @colawwj, for that I guess we'll need the Policy team to help on it. @feruilob can you please submit a separate PR to fix that?

@Tiano2017 , lintDiff warnings can be ignored. Other than JS SDK failures, the rest looks good. Btw, can you share me why the breaking change is expected? Per the new breaking change policy, adding path or adding property needs to bump API version.

@Tiano2017 , here's the guide for breaking change process.
Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Hi @Tiano2017 ,
We found that the definition of "x-ms-external" in Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json does not follow the rules of autorest/docs/extensions/readme.md#x-ms-extermal
Here are some correct examples: Microsoft.Authorization\stable\2019-09-01\policyAssignments.json
Because we don't have permission to change swagger file,we would like your help us to correct it.
if you have any concern,please let us know.thanks

Hi @colawwj, for that I guess we can address in a separate PR since it's a different swagger file. @feruilob can you please submit a separate PR to fix that?

@Tiano2017 , can you follow up with @feruilob to fix this issue in separate PR? Thanks.
Regard to breaking change, adding a new path and adding a optional property is allowed in a new API version. So, this PR is ready to be merged.


added a simple function to googletexttospeech

to make it so users can use it by only calling one function
added googleTexttoSpeech() I found it very confusing to figure out all the different things needed for the different classes as well as how to even use the API so I made it streamlined

@googlebot I signed it!


Biased conclusion

Conclusion: their packages suck, while mine doesn’t.

Yes?

Not you but the users may say this.

what?

Bruhenstien.


Add and use tokenlists

Add the tokenlists dependency and replace address literals in the code.

Should now be done once the new tokenlist (v2) is in production. Potentially, still a big refactoring tho.


Adapter does not react to its config changes

What happened?:
Changed prometheus-adapter (custom metrics configMap) config.
Geneated custom metrics did not change until adapter was restarted (by deleting its pod).
What did you expect to happen?:
Similarly to Prometheus, adapter has config-reloader to handle config changes:
$ kubectl -n monitoring get statefulset/prometheus-prom-kube-prometheus-stack-prometheus -o json | jq .spec.template.spec.containers[].name
"prometheus"
"config-reloader"
$ kubectl -n monitoring get deployment/prom-adapter-prometheus-adapter -o json | jq .spec.template.spec.containers[].name
"prometheus-adapter"

Anything else we need to know?:
Currently handling any automation related to custom metrics is really frustrating.  Making that reasonable would require both automatic config reloading, and some prometheus-operator support (https://github.com/prometheus-operator/kube-prometheus/issues/2504).
Environment:

prometheus-adapter version: v0.12.0
prometheus version: v2.54.0
Kubernetes version (use kubectl version): 1.30

It is expected, prometheus-adapter doesn't support automatic config reloading.


Information + announcement + request :: I have made a Java 17 compatible version that runs on jetty 11 jars

Hi Team,
I have just forked the project and made a version that is Java 17 :-)
It is here.
https://github.com/nmondal/spark-11
I am planning to extend it anyways I was wondering if anyone would be interested in merging this with parent ( this project ), so that I can go in my merry ways customizing this very cool project.

Hello all, given nothing is happening here, I have deployed the snapshot version here.
https://oss.sonatype.org/content/repositories/snapshots/org/zoomba-lang/spark-core/
zoomba-lang is ours.


Platform Annotations now Profile Based

Prefactor for https://broadworkbench.atlassian.net/browse/AJ-1562
Our platform annotations were property based. I'm modifying the properties to be dependant on profiles (since we're using them anyway) and modifying the annotations to use those profiles too.

Reminder:
PRs merged into main will not automatically generate a PR in https://github.com/broadinstitute/terra-helmfile to update the WDS image deployed to kubernetes - this action will need to be triggered manually by running the following github action: https://github.com/DataBiosphere/terra-workspace-data-service/actions/workflows/tag.yml. Dont forget to provide a Jira Id when triggering the manual action, if no Jira ID is provided the action will not fully succeed.
After you manually trigger the github action (and it completes with no errors), you must go to the terra-helmfile repo and verify that this generated a PR that merged successfully.
The terra-helmfile PR merge will then generate a PR in leonardo.  This will automerge if all tests pass, but if jenkins tests fail it will not; be sure to watch it to ensure it merges. To trigger jenkins retest simply comment on PR with "jenkins retest".

I've also bumped into the test failures you're seeing on this PR, and might have a fix as part of turning on data-plane in unit tests...


destinations: SchemeDictionaryDestination._write_file to write_to_fs 03b8101

Fixes #49
Signed-off-by: Filipe Laíns<EMAIL_ADDRESS>

While implementing this I realized installer.utils.Scheme is not available at runtime, and it is required to instantiate schemes, so I had to remove it from the type guards.


Bug in avseth_fluidsub

There appears to be a bug in the avseth_fluidsub module in bruges/bruges/rockphysics/fluidsub.py
in line 165 where the avseth_gassmann module is being passed a variable called kmin but it expects one called k0.
This only occurs in the develop branch. The master branch is okay.

I've reviewed the current code and this issue has been resolved.  Closing.
Thanks
Corey @ hyperion.Geo


Uncaught TypeError: Cannot read property 'apiClient' of undefined

[Enter steps to reproduce:]

...
...

Atom: 1.18.0 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: particle-dev package 0.1.22
Stack Trace
Uncaught TypeError: Cannot read property 'apiClient' of undefined
At /home/shaun/.atom/packages/particle-dev/lib/views/select-core-view.coffee:57

TypeError: Cannot read property 'apiClient' of undefined
    at SelectCoreView.module.exports.SelectCoreView.loadCores (/packages/particle-dev/lib/views/select-core-view.coffee:57:47)
    at SelectCoreView.module.exports.SelectCoreView.show (/packages/particle-dev/lib/views/select-core-view.coffee:25:6)
    at SelectCoreView.show (/packages/particle-dev/lib/views/select-core-view.coffee:1:1)
    at /packages/particle-dev/lib/main.coffee:591:21
    at Object.loginRequired (/packages/particle-dev/lib/main.coffee:323:5)
    at Object.selectCore (/packages/particle-dev/lib/main.coffee:585:30)
    at /packages/particle-dev/lib/main.coffee:82:55)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:3:65)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app/src/command-registry.js:166:25)
    at StatusBarView.module.exports.StatusBarView.selectCore (/packages/particle-dev/lib/views/status-bar-view.coffee:74:19)
    at /packages/particle-dev/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLAnchorElement.dispatch (/packages/particle-dev/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLAnchorElement.elemData.handle (/packages/particle-dev/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -4:54.8.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always)
     -4:54.7.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always)
     -4:54.7.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always)
  2x -4:43.4.0 core:backspace (input.hidden-input)
     -4:40 core:copy (input.hidden-input)
     -4:37.9.0 core:paste (input.hidden-input)
  4x -4:34.9.0 core:confirm (input.hidden-input)
     -3:49.6.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-atom-light-ui)
     -3:49.6.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-atom-light-ui)
     -3:40.9.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-atom-light-ui)
     -3:40.9.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-atom-light-ui)
     -0:15.1.0 particle-dev:select-device (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-atom-light-ui)

Non-Core Packages
console-panel 0.2.1
particle-dev 0.1.22
particle-dev-cloud-functions 0.1.0
particle-dev-cloud-variables 0.1.0
particle-dev-local-compiler 0.1.0
particle-dev-profiles 0.1.15
tool-bar 1.1.0

Attempting to just get things installed for compiling locally since I'm having some troubles with the linking on the web ide and wanted to see if local compiling helped but ran into a couple of errors, this one and the querySelector issue.

Hi Shaun, sorry for keeping you waiting. Is this error happens every time you try to select a device after opening a new Atom window? Do you see target platform and current build target selectors in the status bar?

Hi having same issue after updating new package. Let me know how to resolve this.

@sohil4932 are you using standalone Particle Dev App or Atom?

Standalone Particle Dev App. I downloaded it for Mac. I was using Particle Dev since long, but yesterday I updated a couple of Particle packages and after that, it stops working and giving me this error.

@sohil4932 can you check if you have any particle-dev packages installed as community ones? You can see this in Settings -> Packages -> Community packages

Hi sorry I haven't had time to participate in this right now I ended up getting the build tools working on the command line and used that, I still had whatever problem with the linker when I was trying to divvy up my project into different cpp and .h files but it's been a long time since I really worked with C++ so likely something silly I did or something in the makefile that wasn't working out.  Seemed I could get it to compile everything but during the linking it failed to find things defined in files outside the application.cpp (since I was just toying with this I decided to just dump all the code in there).
Hopefully you all can get this issue sorted out though I did have to jump through some hoops to get compiling at the command line (think mostly just needed gcc arm build tools), good luck!


How to show ordinal values in timescale?

I want to construct angular gantt with ordinal values timescale header?Is it doable?

No, i'm sorry about that but angular-gantt is not designed to do that.


toIcon() throws an error if no fallback is passed

The toIcon() field method throws an error if no fallback is passed:
$icon = $page->icon()->toIcon();

This results in this error:

Too few arguments to function Kirby\Filesystem\F::{closure}(), 1 passed in [project]/vendor/getkirby/cms/src/Cms/Field.php on line 78 and exactly 2 expected

The fallback should probably be optional? In this case, all the function needs is a default value so it can be used without the fallback.

Yes, it's actually in the code since April, I have just forgot to create a release. Should be fixed in 0.2.1: an invalid icon with no fallback value returns null.

@rasteiner Thanks for the quick resolution! 🚀


on* handlers must be saved for custom props

Issues occured when custom node has field or accesor with on start.
Like:
class CustomClass  {
  onSomeCallback = null
}

//....
<CustomClassNode onSomeCallback = {() => {}} />

For this case reconciller will move onSomeCallback to _handlers and field will be never assigned
https://github.com/pmndrs/react-ogl/blob/main/src/utils.ts#L36
https://github.com/pmndrs/react-ogl/blob/main/src/utils.ts#L109

Fixed in 0.1.6.


makes window_adaptation more vmap friendly

Currently we cannot vmap window_adaptation as the one of the return is a kernel
https://github.com/blackjax-devs/blackjax/blob/f4221d041902b472095983cd83edffb76a395f51/blackjax/kernels.py#L584-L587
Proposal to add a kwarg return_kernel=True to window_adaptation:
 step_size, inverse_mass_matrix = final(last_warmup_state)
 if return_kernel:
     kernel = kernel_factory(step_size, inverse_mass_matrix)
     return last_chain_state, kernel, warmup_chain
 else:
     return last_chain_state, (step_size, inverse_mass_matrix), warmup_chain

I've never been a big fan on this API to be honest, I expect it to return the parameters every time I use it. So maybe we should do just that.

Linked to #171. Should be addressed together.