Adding Mir compositor

Mir is now a Wayland compositor. Is in active development.

Thank you for the addition! LGTM, but would you mind moving it to the libraries section?

Okay, I'm guessing the author of this is no longer watching this PR, so I'm just going to close it, then I will commit the change in the right place in the list. Thank you again for the addition.

Oh! sorry missed the first notification! Created a new PR with the change, thanks!


Update http4s-circe, http4s-dsl, ... to 1.0.0-M39

Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-ember-client
org.http4s:http4s-ember-server

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

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, version-scheme:early-semver, commit-count:1

Superseded by #239.


Correction for raw affiliation Instituto Gulbenkian de Ciência; Bioinformatics and Computational Biology Unit; Oeiras Portugal; SPO, Univ Montpellier, INRA; Montpellier SupAgro; Montpellier France

Correction needed for raw affiliation Instituto Gulbenkian de Ciência; Bioinformatics and Computational Biology Unit; Oeiras Portugal; SPO, Univ Montpellier, INRA; Montpellier SupAgro; Montpellier France
raw_affiliation_name: Instituto Gulbenkian de Ciência; Bioinformatics and Computational Biology Unit; Oeiras Portugal; SPO, Univ Montpellier, INRA; Montpellier SupAgro; Montpellier France
new_rors: 03rnk6m14;051escj72;04b08hq31;04w07sc25
previous_rors: 03rnk6m14;051escj72;04b08hq31
works_examples: W2885873201
contact: 75bf042148c05011f7c76c419c75c3ea:912339183f527e8d9d392f6062b8eb638897 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


update gops and ginkgo mod version for match the current go.mod

Signed-off-by: yanggang<EMAIL_ADDRESS>update gops and ginkgo mod version for match the current go.mod

/test-1.25-4.19

/test

This file is not used anywhere in our CI so we can merge the PR.


add kernel rom procedure table

This PR completes the building of the auxiliary trace columns for the kernel ROM by building the p1 column as described here. Since this reuses the column used for the hasher's sibling table, this includes a refactor of the chiplets auxiliary trace handling.

[x] refactor chiplets to have a single auxiliary trace builder for both the shared chiplets bus and the virtual table, which is now shared (formerly the hasher sibling table)
[x] add kernel rom procedures to the chiplets virtual table
[x] update existing kernel rom tests to check the virtual table

Notes

doc updates will be handled in a future PR
we no longer have a boundary constraint enforcing the correctness of the hasher sibling table, so we should decide how to replace this. We can enforce that the auxiliary column equals ONE for all cycles between the end of the hasher trace and the beginning of the kernel ROM trace, but I'm not sure if you had something else in mind
I'm not fully convinced by this design for building the auxiliary trace, but we've discussed revisiting the entire pattern in the future, so I tried to stick fairly closely to the previous design and leave a rethink of this for another time.

Also, I think one thing missing from this PR (or it could be done in a follow-up PR as well) is updates to boundary constraints. Specifically, we need to enforce that chiplets vtable last value is not ONE but is equivalent to the kernel ROM table.
I think there are two parts to this:
1. In the `air` crate, we should add a boundary constraint for chiplet auxiliary columns (I don't think we do this right now). For the bus column, first/last value should be `ONE`, and for vtable column, first value should be ONE and last value should depend on the Kernel.

2. We might want to add a check in the prover in the `get_pub_inputs()` method. Though, I'm not sure we can enforce such checks against auxiliary columns yet as `get_pub_inputs()` does not receive randomness required to reduce public input tables to single values. This might be something that needs to be updated in Winterfell first.

I tried to address the fact that we require changes to the boundary constraints in my notes in the PR description, although I didn't specifically mention the new value at the last row, instead focusing on the fact that we'll need to handle the constraint for the end of the sibling table, which can no longer be enforced by a boundary constraint at the last row. We didn't previously have these boundary constraints in the AIR, which is why I didn't put them there. In my mind, these were going to be updated in the documentation (in the next PR) and then subsequently updated in the AirScript files.
The new boundary constraint at the last boundary is easy to update & describe, but it would be good to get confirmation on how you'd like to handle the sibling table constraint that I asked about in the description.
Regarding (1) specifically - do you want this added to the air crate instead of in the docs + AirScript as I had assumed? Adding only the new boundary constraint without taking care of the enforcing the sibling table seems like a job half-done, which is why I hadn't done this yet.
Regarding (2) - yes, I'm not sure how we could do this now


Allow option to bring back fluentd json log key parsing

The behavior json parsing of log data in the K8s metadata plugin changed between Rancher's packaging of Fluentd. The capabilities:
merge_json_log
preserve_json_log

no longer function.
In order to bring this capability back for users that were relying on it, we need to run it through a fluentd filter block with parser.
<filter **>
  @type parser
  key_name log
  reserve_data true
  <parse>
    @type json
  </parse>
</filter>

This should be exposed as an option in both cluster and project.

@dramich to LOE

Based on a conversation with @cloudnautique and looking at source we can potentially insert the above blob here which should make it work the same as pre upgrade.

LOE 1 day

Hello @cjellick,
just want to remind that parsing json log is bad default behavior https://github.com/rancher/rancher/issues/15880#issuecomment-517671647, sо if other clients relying on it, it should be exposed only as an option (as @cloudnautique suggest).

yeah, this would be the non-default behavior @kinolaev

master pr: https://github.com/rancher/rancher/pull/24361
2.3 pr: https://github.com/rancher/rancher/issues/23646

This option is not yet exposed in the UI: https://github.com/rancher/rancher/issues/24367

UI was completed and ready To Test

Rancher version: 2.2.9 rancher/fluentd:v0.1.13 and gem version fluent-plugin-kubernetes_metadata_filter (2.0.0)
I was able to see how the following settings worked.
merge_json_log true
preserve_json_log true

The json sent to the fluend target (server) included the json log from an nginx workload log, preserved and merged.
{
    "timestamp": "2019-12-11T18:51:35+00:00",
    "host": "x.x.x.x",
    "remote_addr": "<IP_ADDRESS>",
    "remote_user": "-",
    "body_bytes_sent": "612",
    "request_time": "0.000",
    "status": "200",
    "request": "GET / HTTP/1.1",
    "request_method": "GET",
    "http_referrer": "-",
    "http_user_agent": "curl/7.64.1",
    "log": "{ \"timestamp\": \"2019-12-11T18:51:35+00:00\", \"host\": \"x.x.x.x\", \"remote_addr\": \"<IP_ADDRESS>\", \"remote_user\": \"-\", \"body_bytes_sent\": \"612\", \"request_time\": \"0.000\", \"status\": \"200\", \"request\": \"GET / HTTP/1.1\", \"request_method\": \"GET\", \"http_referrer\": \"-\", \"http_user_agent\": \"curl/7.64.1\" }\r\n",
    "stream": "stdout",
    "docker": {
        "container_id": "8eddebb0d3c0f2ae427bd6b3a086c55e52d3e176d91f9d2c9847713d93e3f89e"
    },
    "kubernetes": {
        "container_name": "myjson",
        "namespace_name": "default",
        "pod_name": "myjson-797598fc7f-h82kb",
        "pod_id": "97ab4201-977c-4b40-a1ea-aef5559ca05a",
        "labels": {
            "pod-template-hash": "797598fc7f",
            "workload_user_cattle_io/workloadselector": "deployment-default-myjson"
        },
        "host": "izaac-v229-test1-wrkr-1",
        "master_url": "https://<IP_ADDRESS>:443/api",
        "namespace_id": "a3a372e5-61b4-489e-9f8b-4f7e2c8579b2",
        "namespace_labels": {
            "field_cattle_io/projectId": "p-ddr6x"
        }
    },
    "tag": "c-5nh89:p-ddr6x.var.log.containers.myjson-797598fc7f-h82kb_default_myjson-8eddebb0d3c0f2ae427bd6b3a086c55e52d3e176d91f9d2c9847713d93e3f89e.log",
    "log_type": "k8s_normal_container",
    "projectID": "c-5nh89:p-ddr6x"
}

In Rancher version 2.3-head (12/11/2019)  I activate the those json keys are not merged even selecting the EnableJSONParsing checkbox in the Rancher UI and saving the settings (I see the enableJSONParsing: true sent to the fluentForwarder logging configuration.
I used izaac/nginx-json-log for testing json logging by curling port 80.

sending the enableJSONParsing manually to the API makes the log preserve and merge the json keys. So I've moved this back To Test and reopened: https://github.com/rancher/rancher/issues/24367

I ended up with https://github.com/rancher/rancher/issues/24545 activating cluster level logging.

validated working after fix of #24545
2.3-head (12/27/2019)
2019/12/27 16:05:06 [INFO] Rancher version e9a549e59 is starting

master-head (12/27/2019)
2019/12/27 16:33:53 [INFO] Rancher version 189e4337c is starting

Our corporate team updated to Rancher 2.3.2 right now, and that broke this functionality on our clusters. It's a very handy feature and I couldn't find a clear description on how to put it back with the current version we have. Any cues?
(I don't control Rancher upgrades unfortunately. And there's no such "opt-in" option in the 2.3.22 UI)
Thanks


Created resourceGroup-snippet

Added a small snippet for creating a resource group.

[x] I have a snippet that is either a single, generic resource or multi resource that uses parent-child syntax
[x] I have checked that there is not an equivalent snippet already submitted
[x] I have used camelCasing unless I have a justification to use another casing style
[x] I have placeholders values that correspond to their property names (e.g. dnsPrefix: 'dnsPrefix'), unless it's a property that MUST be changed or parameterized in order to deploy. In that case, I use 'REQUIRED' e.g. keyData
[x] I have my symbolic name as the first tab stop ($1) in the snippet. e.g. res-aks-cluster.bicep
[x] I have a resource name property equal to "name"

Great idea @emilguden! Thanks for another contribution!

Thanks Marcus, just glad I can help you guys!


Extracted info from qa.php.net website

Converted the page http://qa.php.net/write-test.php to markdown to use in this tutorial.

Would you mind to include a link to the original page on qa.php.net? That allows future visitors to see where the page came from and whether stuff changed in between…

What are the hash marks in front of each heading for? (see below)

@royopa Thanks!

I moved the tutorial to docs/_tutorials/creating-new-test-files.md and make some typographical and style changes, so I hope you don't mind.
Thanks for contributing!


Deploying local build of ASSP

Hi guys,
I'm trying to build the latest version of ASSP by building ASSP2016.sln in Release mode, for x64, using VS Professional 2015. The target framework in the project settings is unchanged, and targeting .NET Framework 4.
When deploying to the SSAS version 13.0.4206.0, getting the "Clr Assembly must have main file specified" error.
The assembly from ASSP_2016_v1_4_2.zip is deployed successfully.
Any ideas on what could cause this behavior?
Thanks!

Is this it?
https://support.microsoft.com/en-us/help/2709869/error-message-when-you-try-to-deploy-an-assembly-in-sql-server-2012-cl
You might use .NET Reflector to check what version of msmgdsrv.dll you compiled against.

Thanks @furmangg for your quick response.
This is the info shown by .NET Reflector: https://www.screencast.com/t/8IeZxrDCf
// Assembly Reference msmgdsrv
Version: <IP_ADDRESS>
Name: msmgdsrv, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=89845dcd8080cc91
// Assembly Reference msmgdsrv

Is this it?
https://support.microsoft.com/en-us/help/2709869/error-message-when-you-try-to-deploy-an-assembly-in-sql-server-2012-cl
It's similar, but I'm using AS 2016 sp1 (version 13.0.4206.0) and SSMS 17.3 (14.0.17199.0)

I have a feeling that this error was sometimes due to a bug in the SSMS "Add Assembly" dialog.
You could try using the powershell script here: https://gist.github.com/dgosbell/b271a76784c1161c747c38b5df8fa4a0 by saving it as a ps1 file and the from a Powershell window calling the following from the folder where you saved the above gist
.\Write-SsasAssembly.ps1 <path-to-dll> <path-to-xmla>
This will generate an XMLA command from your dll which you can execute from an XMLA window in SSMS.

Guys, managed to solve the issue. It seems the problem was caused by targeting wrong platform.
https://www.screencast.com/t/ZgZJHpmLrEgo
Changing the target platform to any did solve the issue in my case.
Steps:

open ASSP2016.sln
change default configuration to: Release and the platform to Any
open configuration manager, change the Platform to Any CPU for Release|Any https://www.screencast.com/t/CcrzJ8mP
open ASSP2016 project properties and change the Platform target to "Any CPU" in the build section.

After these steps, managed to attach the assembly to a cube.
Can you guys confirm: these are the configs that has been used for building the official package?

I'm pretty sure that this is a bug in SSMS. The SSAS process itself is exclusively x64. I'm not telling people to use the xmla script to deploy ASSP as it avoids this SSMS bug. I'm actually thinking about removing the dll binaries from future releases and just keeping the xmla script as it does not suffer from this issue


Missing documentation for score method

See https://github.com/opentargets/association_score_methods/blob/master/CTTV008_ChEMBL/description.md . This is linked as the method description in Chembl data.

I suspect we should remove that opentargets/association_score_methods repository, or at least make it private. Last commit was two years ago, so it seems like it is so out of date as to be unhelpful at best.

Some folders are empty, but there is some information in there which I will pull out. Also, it will be good to know what links to this repository.

@MichaelaEBI the .json strings in chembl data point to this here:
"target2drug": {
 ...
            "resource_score": {
                "method": {
                    "url": "https://github.com/CTTV/association_score_methods/blob/master/CTTV008_ChEMBL/description.md"
                },
                "type": "probability",
                "value": 1
            },

@pieterlukasse as described here, the association_score_methods repository is not updated anymore because we now have the Open Targets documentation and we will get ChEMBL and UniProt to remove these links from their evidence strings.


Id not working as functor

Hi cornerman,
Awesome work.
I, probably naively, don't understand the point of using Futures on the server. Here's what I'm thinking to myself: The server starts a new thread for every connection, anyway, and it seems intuitively that the Future would have to complete before it can be serialized. I put in a 10 second sleep on the server and yeah, the client blocks for 10 seconds before continuing, as I expected. The only reason for using a Future that I can come up with is that it is a handy way of returning an Either. If so, it seems like there might be a better way that didn't require having to double the size of the thread pool. Also, having the client interface expose a Future might (did) give the false impression that the client could continue working while the Future did its thing. Alternatively, if I'm full of it, a brief explanation in the documentation would be nice for people at my skill level.
Anyway, that being my working theory, and reading that I could use any functor instead of a Future, I have been trying to use the simplest example, a cats.Id. It seems promising, but when it came to "val clientFt = ClientString, Id", the implicit provided by ClientHandler.flatMapError didn't work for reasons unknown. I spent an embarrassing amount of time on it, but the combination of implicits nested 4 (?) deep and my general lack of understanding has thus far defeated me.
Any enlightenment would be greatly appreciated.

Hi @tballard,
thank you for opening this issue. This is indeed an interesting topic :)
First of all, the issue you are seeing is: on the server-side a Functor[*] is sufficient, and cats.Id will work. But on the Client, you generally need MonadError[Throwable, *] - and there is no such instance for cats.Id. What you can use for the Client is, for example, an Either[Throwable, *] - as this has a MonadError instance. This is needed because the RPC call from the client can fail, as implemented by the RequestTransport.
I say, MonadError, but as you already saw, there is actually a less restrictive requirement FlatMapError to work with types that do not fullfil MonadError. You can have an "unsafe" instance of that for cats.Id, but be aware that it will throw an exception on error - which is something we generally try to avoid in functional scala, but it might be what you are after:
implicit val IdFlatMapError: FlatMapError[cats.Id, Throwable] = new FlatMapError[cats.Id, Throwable] {
  def raiseError[B](failure: Throwable): cats.Id[B] = throw failure
  def flatMapEither[A,B](fa: cats.Id[A])(f: A => Either[Throwable, B]): cats.Id[B] = f(fa).toTry.get
}

For the question around Future vs blocking code. Generally blocking code will occupy a thread, which cannot do any other work while waiting. On the other hand, if you have asynchronous code, the thread can do other work, while the future is not resolved. Though this point does change with project loom in the JVM, because we have green threads now, where you can write asynchronous without using Future.
I hope, this helps!

Well, that was the most timely response I've ever gotten for anything! Thanks.

Awesome! I am just going to close this issue, but please feel free to reopen or to ask here if something remains unclear :v:

Just to make sure we are on the same page with the Future, here is an example showing a Future on the client that is blocking, and I'm not sure what it is buying me. Output is:
Sending request from client at 24
Beginning remote work that takes 10 seconds at 24
This line is right after the request and runs at 34
Done with request at 34
package example
import sloth._
import scala.concurrent.{ExecutionContext, ExecutionContextExecutor, Future}
import chameleon.ext.circe.circeSerializer
import chameleon.ext.circe.circeDeserializer
def printTime(txt: String): Unit =
println(s"$txt at ${(System.currentTimeMillis() / 1000) % 100}")
trait TomApi {
def inc(a: Int): Future[Int]
}
object TomApiImpl extends TomApi {
def inc(a: Int): Future[Int] = {
printTime("Beginning remote work that takes 10 seconds")
Thread.sleep(10000L)
Future.successful(a + 1)
}
}
object WhyFuture {
implicit val ec: ExecutionContextExecutor = ExecutionContext.global // yes, it is needed
object Backend {
val futureRouter = Router[String, Future]
.routeTomApi
}
def fillFutureRequest(request: Request[String]): Either[ServerFailure, Future[String]] =
Backend.futureRouter(request)
def issueFutureRequest(request: Request[String]): Either[ServerFailure, Future[String]] =
fillFutureRequest(request)
/** This is where we serialize the request and send it to server */
object FutureTransport extends RequestTransport[String, Future] {
override def apply(request: Request[String]): Future[String] =
issueFutureRequest(request) match {
case Right(result) => result
case Left(err) => Future.failed(new Exception(err.toString))
}
}
def main(args: Array[String]): Unit = {
val clientFt = ClientString, Future
val tomApi = clientFt.wire[TomApi]
printTime("Sending request from client")
tomApi.inc(4).onComplete(_ => printTime("Done with request"))
printTime("This line is right after the request and runs")
Thread.sleep(1000L)
}
}

In the client, you are waiting for the response from the router, which is directly calling the TomApiImpl. The way you wrote it, there is indeed no advantage in having Future, because you are effectively blocking at Thread.sleep and then returning a + 1.
What that actually means is: while the sleep is happening, this one thread in your application is doing nothing but waiting until the OS wakes it up again. Thus the system cannot use this thread for computing anything else. If you would have just one thread in your application, any parallel request that might come will have to wait for the sleep to finish. An generally, you do not have infinite threads in your JVM (again that changes with project loom using virtual threads instead of kernel threads).
I just saw this blogpost, which might help here. It talks about ZIO in the end, but gives some explanation about blocking and Thread.sleep specifically<EMAIL_ADDRESS>

So, when we create a Future on the server how to we take advantage of it to run some code while it works? My contention is that it completely runs the code before serializing the Future to send it back to the client. Some things I've read on the internet suggest as much so I totally believe it;-)

I am not entirely sure, what you mean, but yes, the code needs to run before the result can be serialized and sent back to the client.
If you want to work without Future in scala, that is viable on the JVM (especially with project loom). And it might make things simpler as well. There are a lot of nice libraries, e.g., in the lihaoyi universe (https://github.com/com-lihaoyi).
A Future in scala is a data type to represent some unit of work that is currently run and might not be finished yet. You can map and process it asynchronously. Or wait for the result which would be blocking/waiting until that Future is finished. You might want to play around with a fixed ExecutionContext to understand a bit better what happens if you only have one or two threads: ExecutionContext.fromExecutor(Executors.newFixedThreadPool(1)).
If you look into the direction of cats-effect or ZIO, you will also find many resources around async programming. Scala offers many ways :+1:

Thanks for your patience. My point is that the Future is part of the thing that has gotten run and when sent back and has lost its ability to allow something to run similtaneously, defeating its purpose. Yeah, I'm all about haoyi.

Id is fabulous.


Error when running mvn clean install

Hi, I am getting this error when I try to run the last build step:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/haroldmartin/Documents/kalium-jni/src/test/java/org/abstractj/kalium/keys/VerifyKeyTest.java:[25,43] error: cannot find symbol
[ERROR]  package org.abstractj.kalium.encoders
/Users/haroldmartin/Documents/kalium-jni/src/test/java/org/abstractj/kalium/keys/VerifyKeyTest.java:[25,0] error: static import only from classes and interfaces
[ERROR] /Users/haroldmartin/Documents/kalium-jni/src/test/java/org/abstractj/kalium/keys/KeyPairTest.java:[23,43] error: cannot find symbol
[ERROR]  package org.abstractj.kalium.encoders
...
and so on with many more like errors

Hello,
I noticed that you submitted a pull request for the build-mac script. Was this able to resolve the error?
Thanks

Hello,
There is a Mac and Linux build script available now. Closing issue for now.
Thanks,
Josh


[WIP] Migrate runtime APIs for Java 21

Purpose
$subject
Fixes:
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the changelog
[ ] Added tests
[ ] Updated the spec
[ ] Checked native-image compatibility
[ ] No commons package changes (if there are any, please update the GraphQL version in GraphQL tools and Ballerina dev tools)
[ ] No compiler package changes (if there are any, please update the GraphQL version in Ballerina dev tools)

The Websocket module version is yet to be updated.


(#485) make drawable and drawableName optional for scene2d image factory

PR for #485.
I did not adjust the factory methods for Texture, TextureRegion and NinePatch because I think they will throw an exception, but more importantly, I think in those cases it does not make sense. Drawable and drawable name do make sense because in a Skin, from what I know, you can reference Drawables and in the case of an image they are optional.

Thanks for the PR, I left some minor comments.

Issues should be resolved now. Regarding .editorconfig: I had a quick look and I could only find that there are IntelliJ specific properties that are supported. I guess the "star_import" properties are the one that would be needed. But since they have the prefix "ij_" it will most likely only work in IntelliJ.

The thing that I did to solve it was a setting directly in IntelliJ:

The default setting was "Use import with '*' when at least 5 names used / 3 names used

Thanks, the changes should be available in the snapshot release shortly. I'll try to update the changelog and possibly push a new release over the weekend.

Just wanted to say that automatic snapshot upload failed, since I had to regenerate an access token into Maven central repository. Should be fixed now.

Haha had the same issue with Flecks the last time. Welcome to the club 😉


Adds option to run FragPipe job with higher memory

The Galaxy administrator may use this variable to run the job with increased resources.

I guess this can be cloned?

I guess this can be cloned?

Yes, thanks for the reminder. To document the discussion here - we are leaving the memory configuration choices to the admins alone, who can utilize input file sizes and other tool-related config. In the meantime, on usegalaxy.eu we simply increased the memory for all FragPipe jobs and it seems to be working well.


python312Packages.xcffib: Fix darwin build

Set platforms
https://github.com/tych0/xcffib/blob/a60303b80e3d3fa2e1f3521545307f565513ca35/module/__init__.py#L27 mentions darwin and windows
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 308602 run on aarch64-darwin 1

2 packages marked as broken and skipped:

python311Packages.qtile-extras
python311Packages.qtile-extras.dist

6 packages failed to build:

python312Packages.sphinxcontrib-wavedrom
python312Packages.sphinxcontrib-wavedrom.dist
python312Packages.xcffib
python312Packages.xcffib.dist
python312Packages.xpybutil
python312Packages.xpybutil.dist

6 packages built:

python311Packages.sphinxcontrib-wavedrom
python311Packages.sphinxcontrib-wavedrom.dist
python311Packages.xcffib
python311Packages.xcffib.dist
python311Packages.xpybutil
python311Packages.xpybutil.dist

Result of nixpkgs-review pr 308602 run on aarch64-darwin 1
2 packages marked as broken and skipped:
6 packages failed to build:
* python312Packages.sphinxcontrib-wavedrom

* python312Packages.sphinxcontrib-wavedrom.dist

* python312Packages.xcffib

* python312Packages.xcffib.dist

* python312Packages.xpybutil

* python312Packages.xpybutil.dist

6 packages built:

What's the error for python312Packages.xcffib

Ci passes on aarch64-darwin


Using API file with CLI

Hello,
I'm transitioning to v3.1.1. I was using the API but also need to use the CLI. The API configuration file reads:
HeadNode:
  InstanceType: t2.micro
  Ssh:
    KeyName: xxxxxxx
  Networking:
    SubnetId: subnet-xxxxxx
  LocalStorage:
    RootVolume:
      Size: 150
Scheduling:
  Scheduler: slurm
  SlurmQueues:
    - Name: queue0
      ComputeResources:
        - Name: queue0-c5large
          MinCount: 2
          MaxCount: 6
          InstanceType: c5.large
          DisableSimultaneousMultithreading: true
      Networking:
        SubnetIds:
          - subnet-xxxxxxx
        PlacementGroup:
          Enabled: true
Region: us-east-1
Image:
  Os: ubuntu2004

The problem occurs when using this file as the input file (cluster-config.yaml) for the CLI. The system output is:
{
  "message": "Unable to find node executable. Node.js is required by the AWS CDK library used by ParallelCluster, see installation instructions here: https://docs.aws.amazon.com/parallelcluster/latest/ug/install-v3.html"
}

My first question is whether API configuration files are supposed to work with the CLI.
Thanks.

Hello coderody,
The API uses the same configuration file as the CLI. The error means the machine running the CLI did not have Node.js.
Please install Node.js. You can follow this guide or run the following commands:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
chmod ug+x ~/.nvm/nvm.sh
source ~/.nvm/nvm.sh
nvm install --lts
node --version

Thank you,
Hanwen

Hi @hanwen-pcluste,
I've been using a Windows system to launch the clusters. I installed Node.js but there was another error message:
{
  "message": "The security token included in the request is invalid."
}

Eventually I'll troubleshoot this (maybe using a small Linux instance for cluster deployment rather than the PC) but I'm moving forward with the API and closing this thread.
Thanks.

Hi @coderodyhpc this error is related to AWS credentials. This page should help. Thanks

Hi @enrico-usai,
I've been using this awspc configuration for the last 2+ years. Unless upgrading awspc from v2 to v3 or installing Node.js has wrecked the credentials, the system shouldn't complain about it. My guess is that the awspc upgrade shouldn't be a problem, but I don't know much about Node.js, so that might be the culprit. Thanks.


True sync when updating

Hi Rhet,
at first my compliments for your great piece of work. Quite a project you developed! <3
I use osxphotos now for a few days, since the random wallpaper background in OSX won't work with albums in Photos. A problem that exists for many years now.
osxphotos is the very best workaround imho. See here: https://discussions.apple.com/thread/255110179?answerId=259695506022&sortBy=best#259695506022
But!
When executing
rm -rf /Users/xxx/Pictures/bg.osxphotos/*
/Users/xxx/.local/bin/osxphotos` export /Users/xxx/Pictures/bg.osxphotos --skip-original-if-edited --update --keyword "bg" 2>&1

the folder with my background photos is empty for some seconds, and if something goes wrong it even will still stay empty and OSX will change the wallpaper settings back to default when no pics are found.
SOLUTION:
A new command line option --sync in addition to --update which will delete pictures in the destination directory which are no longer found in the source in Photos. So if I delete pictures in Photos these will also no longer be exported but even deleted in the destination folder.
Thanks for taking this under consideration and THANKS again for this superb piece of software!
Greetings from Germany
#tlv

Checkout the --cleanup coupled with the --update option and see if it meets your needs.

Perfect! I full text searched the documentaion for delete and remove and sync and didn't find anything. So I didn't recognize this helpful option. Thank you!

Tried it. Works perfect.

ty!

@last-voice osxphotos help has built in subtopic search. So in the future, you could search like this:
osxphotos help export delete
This searches the help for osxphotos export for the word delete.


Jesse: Watch north-pakistan.com

Jesse requests the watch of the watch_keyword north-pakistan\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

north-pakistan\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Cannot read property 'serialize' of undefined

Hello,
I'm getting an error when using localForage with only the localStorage driver.
When using Indexdb, it works perfectly good.
localforage.js?a002:2338 Uncaught (in promise) T1.7.3ypeError: Cannot read property 'serialize' of undefined

var dbInfo = self._dbInfo;
            dbInfo.serializer.serialize(value, function (value, error) {

My config:
import localforage from 'localforage'

localforage.config({
  driver: [localforage.LOCALSTORAGE],
  name: 'something'
})

Version of localForage: 1.7.3

We are experiencing the same issue with the same version of localForage using WebSQL. Usually "clearing site data" fix that but it's a bit frustrating.

This happened to me and I started wondering why it if not able to find an object even when I ca see it in local storage.. After some debugging I found that I was trying to get the item from from local storage before I had to the localforage.config().
I am assuming that it was trying to get it from other storage driver and that is why it was undefined. So if you experience similar issue, make sure you are declaring the localforage configurations at the the start of your app.


Add Measurements Manually with out any event

I want to add rectangleROI without any event(mouse/touch) please help me with demo code.
I have seen that this is depend on the mouse events which creates the measurement. But I have all the necessary information to draw the rectangle already. And I want to add the measurement manually.
I am beginner in node/meteor.
Thanks a lot in advance.

@AtmiyaVaghela the way I would do it is to construct the rectangleROI tool state data from the information that you have then set it into the toolState.
Look at this structure for a starting point on how your data should be converted:
https://github.com/cornerstonejs/cornerstoneTools/blob/master/src/imageTools/rectangleRoi.js#L15

@AtmiyaVaghela
I encountered the same situation and I a tricky way..
I found there's a event named 'cornerstoneimagerendered' which will be emitted after the image is rendered as the name says.
So listen on the event and draw on the canvas manually may work (but it won't add measurement on the measurement list on the rightside bar)
I don't know if this helps you a little..
Here's a working example that draw a circle on the specific location on the dicom
<!DOCTYPE html>

    <title></title>

@Zaid-Safadi your information is very helpful.
Thanks for your time, I have done some workaround to achieve my desire result by adding the rectangle measurement data into the Toolstate.
There is method call the addToolState(element, toolType, rectangleMeasurementData); which is taking care of my rectangle's data.
@eggachecat, this also add the measurement into the rightside bar.
Once again thank you very much guys.
Here is the piece of code, cube contains my rectangle data. Moreover, I have to add multiple cubes so the selectImage will select the specific image for the cube.
function getScanSeriesData (eventData) {
  console.log('scanSeriesAuto clicked');
  if (eventData.cuboids) {
    eventData.measurementData = [];
    eventData.cuboids.forEach((cube) => {
      createNewMeasurementForAutoScan(cube, eventData.element, (element, measurementData) => {
        selectImage(element, measurementData.imageIndex, function () {
          // Associate this data with this imageId so we can render it and manipulate it
          addToolState(element, toolType, measurementData);
        });
      });
    });
  }
}

@AtmiyaVaghela this looks like the right approach, glad it worked for you!


add num_stages parameter to aot compile.py

This allows the AOT client to tune the number of stages for the generated kernel. set the default number to 3 to match the triton compiler.

@ptillet This is another MR about AoT workflow enhancement.

please ignore the perf regression failure.
However, there seems to be a merge conflict with main. Could your esolve it? Will merge ASAP afterwards

Thanks! I have resolved the conflict.

@BinFan  there are some regression failure, pls take a look at it when you have time.

@yangjunpro hmm, the PR only touches the AOT file, it should not cause regression for normal compilation.


Unable to run two script at once

Hello expert,
I have created a main .sh script which calls another one once the first step is completed, my second script is a .exp script. For some reason when the first script is completed the second one is sending an error while executing it "conflict".
This behavior doesn't happen if i execute the main script manually, both are executed properly without issue.
Does the script extension doesn't support this or is there a way to run script back to back ?
Thanks

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

ID: df5a8957-9b4c-2a2e-81c2-79125373f8f1
Version Independent ID: d1c2d4cf-88cd-7581-10b5-88a5d11986e6
Content: Run custom scripts on Linux VMs in Azure
Content Source: articles/virtual-machines/extensions/custom-script-linux.md
Service: virtual-machines-linux
Product: unspecified
GitHub Login: @danielsollondon
Microsoft Alias: danis

@wruter how long it is taking to run the scripts?

Hey Micah,
To execute all step the script run about 1min

You mentioned you don't see the error when executing the script manually. Are you referring to executing the second script manually or have you also tried executing both scripts inside the VM just as running through custom script would?

if i run my main script which contain a call to the second script manually into the vm it works, both are executed properly.

I am assuming there is an issue when running via CSE along the lines of the second script is being ran before the first one is officially completed. Which would be why we see the conflict error.
Have you taken a look at the troubleshooting steps to see if they provide any useful information?
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-linux#troubleshooting
@danielsollondon any thoughts on this as well?

Hey Micah,
Yes i did look at it, let run my CSE again and send the past the output

Hey Micah,
So here is the message from the deployement failure on the portal with the status conflict --

couldn't change working directory to "/usr/sap/hostctrl/exe": no such file or directory\n while executing\n"cd /usr/sap/hostctrl/exe"\n (file "./hostagent.exp" line 8)\r\n"."

This is odd, look like when i run the CSE from my ARM template, the script can't change to the necessary directory, but if i run the same script manually it works ...
Basically, what my script is doing, is to attach a file share storage and then go into it and execute the second script located into this one.
The second script to be executed is a .exp, could it be a constraint for CSE ?

I did look closer at the log level of the extension script and CSE doesn't recognize the "spwan" command

ERROR:[Microsoft.OSTCExtensions.CustomScriptForLinux-<IP_ADDRESS>] Command returned an error.
2018/06/03 02:16:15 ERROR:---stdout---
2018/06/03 02:16:15 ERROR:
2018/06/03 02:16:15 ERROR:---errout---
2018/06/03 02:16:15 ERROR:hostagent.exp: line 3: spawn: command not found

Any idea how to pass this command in CSE ?
Thanks

@danielsollondon any suggestions on this one? Is this just a limitation of CSE possibly?

can you try this with the 2.0 extension, Microsoft.Compute.Extensions. customScript, you are using the v1, Microsoft.OSTCExtensions.CustomScriptForLinux-<IP_ADDRESS>.

Hey Daniel,
i'm using the version 2 from my ARM template
"properties": {
"publisher": "Microsoft.Azure.Extensions",
"type": "CustomScript",
"typeHandlerVersion": "2.0",
"autoUpgradeMinorVersion": true,
"settings": {
"fileUris": [

I did run the extension script from the portal to see if it takes it, i have provided the following command to force the command "expect <my .ext script>", my surprise it that by specifying "expect" before the script it recognizes the spawn command but doesn't pass the send argument.
Just in case of, a simple expect script for auto provides password run like:

spawn
expect <"please enter password"
send <"password\r">
interact

@wruter do you have the ability to open a support request? You might benefit from working with a support engineer who can work 1:1 with you over the phone and screenshare to get this resolved.

I will open a support ticket to check if i can receive some additional help from the team.
Thanks guys
Williams

Thanks @wruter. once created please share the number with us so I can track and if a doc update is needed get it figured out.
I will close this for now.


Offset overlap prevents from showing the tooltip on hover

Description of the bug
vue3-popper: v1.5.0
Applying offset overlaps with nearby items.
I'm trying to move the tooltip to the right side of the column and if I have the tooltip item below with the same offset it won't let me hover over and open the popup.
Reproduction link
Place 2 tooltip items nearby and apply offsetDistance="100".
Expected behavior
Have the ability to specify which side to offset (offsetLeft, offsetRight, offsetTop, offsetBottom)
Screenshots

as a temporary solution, I have this CSS applied for now
.popper-container-custom-offset {
  border-right: 80px solid transparent !important;
  margin-right: -80px !important;
}

.popper-container-custom-offset:deep(.popper) {
  transform: translate(380px, -31px) !important;
}


Amendment change process: Voting announcement

Addressing issue #96 - the need to announce voting opening and closing through the GTFS Changes list. Updates to static & realtime changes processes.

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

This was finally fixed in https://github.com/google/transit/pull/293.


Introduce ListenerStartHandler in the listener runner for better managing Django DB connections

Long story short, this pull request is a revised solution of #512
This patch can resolve the potential resource issue with Django ORM. The ORM automatically acquires a database connection when performing database queries in a thread but if the thread is not managed by Django Web framework, such connections won't be properly released.
In the pull request https://github.com/slackapi/bolt-python/pull/512, I was wanting to resolve this issue by changing only the internals of the Django adapter. However, thanks to @ross's great feedback https://github.com/slackapi/bolt-python/pull/512#issuecomment-958344238, we found that the approach does not work as expected. The clean up method calls must be done in the thread that is used for asynchronous listener execution.
To resolve this issue, we have to add a new hook point called listener_start_handler in the ThreadListenerRunner. We already have listener_error_handler and listener_completion_handler. In a similar way, we'll add a new handler that is supposed to be called at the beginning of ThreadListenerRunner. The handler can perform django.db. close_old_connections() method in the expected thread, plus before the listener execution.
In the sake of maintaining the feature parity in the asyncio-based AsyncApp, this pull request adds AsyncListenerStartHandler as well. But the asyncio-based ones are unrelated to the Django issue.
@ross
Thank you very much for your help (again). If you have any comments on this pull request, your inputs would be greatly appreciated.
Category (place an x in each of the [ ])

[x] slack_bolt.App and/or its core components
[x] slack_bolt.async_app.AsyncApp and/or its core components
[x] Adapters in slack_bolt.adapter
[ ] Document pages under /docs
[ ] Others

Requirements (place an x in each [ ])
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run ./scripts/install_all_and_run_tests.sh after making the changes.

I'm not seeing two calls fro the right thread with the expected timings. Still doing a bit of testing to make sure they're at the expected points.
2021-11-03T15:59:50Z DEBUG Released thread-bound old DB connections (thread name: bot-worker_0, execution timing: listener-start)
...
2021-11-03T15:59:51Z DEBUG Released thread-bound old DB connections (thread name: bot-worker_0, execution timing: listener-completion)

The ThreadPoolExecutor being created when one is not provided is using the default names on the worker threads. https://github.com/slackapi/bolt-python/blob/cf3951e4eebe7f72daf235d285023fbda090d24a/slack_bolt/app/app.py#L311
Adding thread_name_prefix=slack_bolt-workers or similar would give those threads better names to more easily identify them when digging into things like this. I'm passing my own ThreadPoolExecutor in above which is why mine have names.

Verified that the calls are wrapping the app.event call. So I think we're good there. I also went ahead and verified the calls happening to close_old_connections including threads and I think they're as expected:
2021-11-03T16:13:45Z INFO  db close_old_connections: thread=Thread-1
...
2021-11-03T16:13:46Z INFO  db close_old_connections: thread=simone-worker_0
...
2021-11-03T16:13:46Z INFO  db close_old_connections: thread=Thread-1
...
2021-11-03T16:13:48Z INFO  db close_old_connections: thread=simone-worker_0

Based on stack traces the Thread-1 connections are coming from django's runserver and are the http threads not owned by slack_bolt so noise w/respect to this PR.
There's a 3rd pair that happens just after that. It appears to be coming from the self message triggered by my bot's reply so that might have been the source of the Thread-2 second one I couldn't account for in https://github.com/slackapi/bolt-python/pull/512#issuecomment-958610514.
I can't do a formal approval or anything so 👍 will have to count :grin:

@ross @filmaj Thanks a lot for quickly checking this PR!

I will make a new minor version release later today


In-progress backups have no start timestamp

Steps to reproduce:

create a backup -- ark backup create foo
list all backups -- ark backup get
see that backup foo is in progress, and has no start timestamp

The value displayed here is .status.startTimestamp, which is set on L386: https://github.com/heptio/ark/blob/master/pkg/controller/backup_controller.go#L386
The runBackup function is called on L202: https://github.com/heptio/ark/blob/master/pkg/controller/backup_controller.go#L202
Which is AFTER the backup has been patched to InProgress (on L182): https://github.com/heptio/ark/blob/master/pkg/controller/backup_controller.go#L182
I think we should probably set .status.startTimestamp at the same time as we set the phase to InProgress, so that when we patch, both of those values get persisted.

👍

@ncdc - we are seeing this behaviour in some of our clusters, can you assign me ?
Thanks

@yastij assigned, thanks!

@yastij you still planning on doing this?

Yes, shipping it while flying to kubeCon, sorry for the delay

@skriss - sorry I got a bit overwhelmed with GH notifications. I’ll send a PR Tuesday.


Mobile: When the BCGW layers are toggled on, they don't get toggled off on log out

When BCGW layers are toggled on by an authenticated user, the state doesn't get reset on log out. The layers persist on the public map.

If you modify line 207 in Map.tsx you can add an Authentication check to the boolean :)
This defaulted all the layers to be off when the user is offline, while persisting their selections in the redux state.


Add more Phytest QC

I've added phytest into the pipeline. Currently just generating a blank template tests.py file that the user will have to populate. We could auto generate some tests e.g. the alignment width should be the same as the reference sequence length. For now I'll just leave it up to the users to define the tests they want to use.


feat: [#441] Optimize the HTTP testing process [#3]

📑 Description
Added support to build request body. Build method of body will return a io.Reader so we don't need to change the input type of body for different http method (it can be used directly).
RelatedTo https://github.com/goravel/goravel/issues/441

@coderabbitai summary

✅ Checks

[ ] Added test cases for my code

@coderabbitai review


exploratory.center_scale_plot can wig out when dealing with small values

We had been rounding to a specific order of magnitude, so for data which existed at a lesser order of magnitude, we no longer had the proper resolution. Added ndigits kwarg to expose rounding flexibility. PR submitted here.


"Muierușu" , "Negoiești" , "Odoleni" are listed in the drop-down menu

Description:
When user writes ”Muierușu" , "Negoiești" , "Odoleni" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Muierușu"

Expected results
The location appears in the drop-down menu as "Sat Muierușu, DOLJ (Melinești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Negoiești"

Expected results
The location appears in the drop-down menu as "Sat Negoiești, DOLJ (Melinești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Odoleni"

Expected results
The location appears in the drop-down menu as "Sat Odoleni, DOLJ (Melinești)".


Add more SpatialRef methods

[x] I agree to follow the project's code of conduct.
[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

This PR add more bridge functions to gdal::spatial_ref::srs::SpatialRef implementation.
Struct added

AreaOfUse

Type alias

AxisOrientationType

Functions added:

get_name
get_angular_units
get_angular_units_name
get_linear_units
get_linear_units_name
is_geographic
is_derived_geographic
is_local
is_projected
is_compound
is_geocentric
is_vertical
get_axis_orientation
get_axis_name
get_axes_count
get_area_of_use

Added tests.

Thank you @michaelkirk for reviewing and of cause thanks @dmarteau for the contribution. I have a lot to do at the moment so sometimes there is just no time for more code reviews.

Thank you @michaelkirk for reviewing and of cause thanks @dmarteau for the contribution. I have a lot to do at the moment so sometimes there is just no time for more code reviews.


[Event Request] codeunit 80 "Sales-Post" OnAfterPostItemJnlLineBeforePost

Hello,
Is it possible to add the following to an Event:
    OnAfterPostItemJnlLineBeforePost(ItemJnlLine, SalesLine, QtyToBeShippedBase);

to
    OnAfterPostItemJnlLineBeforePost(ItemJnlLine, SalesLine, QtyToBeShippedBase, ItemJnlPostLine);

as var

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


Segfault on compute() when loading specific columns in from_parquet.

Hi!
I really appreciate the feature to load only specific, arbitrarily nested columns from a parquet file 🎉 This really boosts our IO.
However, I spotted a case where calling compute() on a dak array results in a segfault, depending on which exact columns were passed to from_parquet(). You can find a test snippet and an example input file at this gist, but the short story is the following.
If a file contains some nested columns, say
array
├─ Jet
│  ├─ pt
│  ├─ mass
│  └─ ... (others!)
└─ ... (others)

and I load all columns under "Jet" via from_parquet(file, columns=["Jet.*"]) everything works as expected. But as soon as I load only a subset of columns under "Jet" such as from_parquet(file, columns=["Jet.pt"]), compute() causes a segfault.
I repeated this on different files to make sure none of them was corrupted, but the error occurred consistently.

Python 3.10.8
dask_awkward 2023.1.0
awkward 2.0.5

Hi @riga, thanks for raising the issue with the minimal reproducer! We'll start digging around

@douglasdavis , are you working on this? I suspect it's a mismatch with those .list.item. column name bits that parquet has.

The following test passed
def test_nested_columns(tmpdir):
    tmpdir = str(tmpdir)
    data = [
        {
            "Jet": {
                "pt": 0,
                "mass": 1,
            }
        },
        {
            "Jet": {
                "pt": 1,
                "mass": 2,
            }
        },
    ]
    arr = dak.from_awkward(ak.from_iter(data), 2)
    to_parquet(arr, tmpdir)
    arr1 = dak.from_parquet(tmpdir)
    arr2 = dak.from_parquet(tmpdir, columns=["Jet.*"])
    assert_eq(arr1, arr2)
    arr2 = dak.from_parquet(tmpdir, columns=["Jet.pt"])
    assert "mass" not in arr2.Jet.fields
    assert arr2.Jet.pt.compute().tolist() == [0, 1]

Looking at the gist example next.

@jpivarski , a segfault should not happen ever, right?
I am seeing segfault with bare ak even with a field that is not variable-length, no "item" names. This even loads successfully in fastparquet
ak.from_parquet("calib.parquet", columns=['MET.pt_tec_jet_dm1_down'])

Also, I suggest that trying to load a column that doesn't exist should raise an error - currently you get an array of the right number of elements but containing no daya
<Array [{}, {}, {}, {}, {}, {}, ..., {}, {}, {}, {}, {}, {}] type='18000 * {}'>

Sure, we don't like segfaults, but there are some cases in which pyarrow raises them. The JIRA ticket that @agoose77 pointed to might be* this example, but @riga would have to recreate the Parquet file with extensionarray=False (see ak.to_parquet) to be sure.
*Edit: it is. See below.
I tracked down the line that it's failing on—this one:
https://github.com/scikit-hep/awkward/blob/6d4de4c3d902159ad3a1ce864d5f39218f94ffa8/src/awkward/operations/ak_from_parquet.py#L300
But I could only reproduce the segfault in vivo. When I tried to reproduce (what looks like) all relevant steps outside of the Awkward codebase, there was no segfault:
>>> import pyarrow.parquet
>>> import fsspec.parquet
>>> fs, _, paths = fsspec.get_fs_token_paths("calib.parquet", mode="rb", storage_options=None)
>>> with fs.open("calib.parquet") as file_for_metadata:
...     parquetfile_for_metadata = pyarrow.parquet.ParquetFile(file_for_metadata)
...
>>> with fs.open("/home/jpivarski/irishep/awkward/calib.parquet", "rb") as file:
...     parquetfile = pyarrow.parquet.ParquetFile(file)
...     arrow_table = parquetfile.read("MET.pt_tec_jet_dm1_down")
...
>>> arrow_table
pyarrow.Table

----

No segfault, but also no data. An odd thing about this file is that it can't find the column with a dotted name like "MET.pt_tec_jet_dm1_down".
>>> import pyarrow.parquet
>>> pyarrow.parquet.read_table("calib.parquet", columns=["MET.pt_tec_jet_dm1_down"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jpivarski/mambaforge/lib/python3.9/site-packages/pyarrow/parquet/__init__.py", line 2827, in read_table
    return dataset.read(columns=columns, use_threads=use_threads,
  File "/home/jpivarski/mambaforge/lib/python3.9/site-packages/pyarrow/parquet/__init__.py", line 2473, in read
    table = self._dataset.to_table(
  File "pyarrow/_dataset.pyx", line 331, in pyarrow._dataset.Dataset.to_table
  File "pyarrow/_dataset.pyx", line 298, in pyarrow._dataset.Dataset.scanner
  File "pyarrow/_dataset.pyx", line 2356, in pyarrow._dataset.Scanner.from_dataset
  File "pyarrow/_dataset.pyx", line 2202, in pyarrow._dataset._populate_builder
  File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: No match for FieldRef.Name(MET.pt_tec_jet_dm1_down) in # ...
# (all columns are listed with names like "Jet" and "MET", not deep columns)
deterministic_seed: uint64 not null
mc_weight: float not null
__fragment_index: int32
__batch_index: int32
__last_in_fragment: bool
__filename: string

>>> pyarrow.parquet.read_table("calib.parquet", columns=["pt_tec_jet_dm1_down"])
# ... same error message

>>> pyarrow.parquet.read_table("calib.parquet", columns=["MET"])
# this works, but it returns a table with all columns within the "MET" StructArray

The weird thing is that this column is in the schema, and it has the right path:
>>> import pyarrow.parquet
>>> file = pyarrow.parquet.ParquetFile("calib.parquet")
>>> file.metadata.schema.names.index("pt_tec_jet_dm1_down")
95
>>> file.metadata.schema.column(95)
<ParquetColumnSchema>
  name: pt_tec_jet_dm1_down
  path: MET.pt_tec_jet_dm1_down
  max_definition_level: 0
  max_repetition_level: 0
  physical_type: FLOAT
  logical_type: None
  converted_type (legacy): NONE

The more I look at this, the more it looks like the bug @agoose77 referred to, above. That one had a minimal reproducer, let me see if it has the same properties as this one.
It does! First, it lists column names and paths the same way (see the JIRA ticket: "one" and "two" are nested within a "column" StructArray):
>>> pq.ParquetFile("record.parquet").metadata.schema.column(0)
<ParquetColumnSchema>
  name: one
  path: column.one
  max_definition_level: 1
  max_repetition_level: 0
  physical_type: INT64
  logical_type: None
  converted_type (legacy): NONE
>>> pq.ParquetFile("record.parquet").metadata.schema.column(1)
<ParquetColumnSchema>
  name: two
  path: column.two
  max_definition_level: 1
  max_repetition_level: 0
  physical_type: DOUBLE
  logical_type: None
  converted_type (legacy): NONE

But also, if we comment out our ExtensionArray registration (something that we can only do temporarily, as a test):
https://github.com/scikit-hep/awkward/blob/6d4de4c3d902159ad3a1ce864d5f39218f94ffa8/src/awkward/_connect/pyarrow.py#L170-L172
the segfault goes away:
>>> import awkward as ak
>>> array = ak.from_parquet("calib.parquet", columns=["MET.pt_tec_jet_dm1_down"])
>>> array.type.show()
18000 * {
    MET: {
        pt_tec_jet_dm1_down: float32
    }
}

I'm already pretty certain this is a real-world instance of ARROW-17539, though if @riga recreates the file with extensionarray=False and can read it back in unmodified Awkward, that would make it certain. It's also a work-around until the pyarrow bug gets fixed.
Meanwhile, I'll post an update in JIRA with the fact that we ran into this in a real-world case.

Thanks for the super quick debugging!
Indeed, @jpivarski, when created with extensionarray=False there's no segfault and the array contains what I would expect.
I get a different error though downstream in our code base (IndexedArray cannot contain a union-type (unless categorical), option-type, or indexed 'content' (IndexedOptionArray); try IndexedArray.simplified instead when I do a ak.concatenate on parts of the resulting array) that I need to disentangle first, but reading the docs for the extensionarray setting, I guess such things are to be expected when the type is not fully preserved.
For debugging purposes, I uploaded the file here and also update the gist.

@agoose77 I updated the comment above with what I believe is the root cause of the error I see. If I "cast" the computed array via ak.fill_none(ak_array, -999) to a non-optional type, then the subsequent ak.concatenate works fine.

You're too fast ;) I added it above.

The file is here, but reading it in a minimal reproducer and doing the concat works unfortunately :D

Ok, it took me a while but I managed to create a minimal, failing example. It requires loading 2 arrays and applying one selection mask each.
wget https://cernbox.cern.ch/remote.php/dav/public-files/yZhLyUjTDaVKLVQ/arrays.tgz
tar -xzf arrays.tgz
# -> 4 parquet files: 2 arrays and 2 selection masks

import awkward as ak

arrays = []
for i in range(1, 3):  # index 2 leads to the "bad" file
    arr = ak.from_parquet(f"array_{i}.parquet")
    sel = ak.from_parquet(f"sel_{i}.parquet")
    arrays.append(arr[sel])

ak.concatenate(arrays, axis=1)

Just to be sure: the files above are the result of loading the actual files with selected columns in dak.from_parquet. When I don't pass any columns there, everything works. The files for the case are here, just in case.

Great, thank you!

Catching up on the conversation here-- am I correct in thinking this can be closed as an issue here in dask-awkward?

For Awkward, we should wait for the pyarrow issue to be fixed. (If we try to identify it and raise a RuntimeError, we'll have to remove that extra code later.)

Sounds good!


Light bulb icon position does not get updated

Does this issue occur when all extensions are disabled?: Yes

VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:34:12.840Z)
OS version: Linux x64 6.6.28

Steps to Reproduce:

Go to a line with a code action (when the light bulb icon becomes visible)
Trigger the code action menu with ctrl+shift+r
Click to another line to close it

The light bulb will stay on the line where you last triggered it, no matter what. The bug doesn't occur when you click the light bulb icon with a mouse.

duplicate of https://github.com/microsoft/vscode/issues/210817, fixed in latest insiders!


perf: sidebar enhancements

Context
This resolves #1631 by making several performance enhancements for users who are members of many groups and / or chats.
Changes

[x] memoized Message sidebar items
[x] memoized pending invites
[x] memoized Group sidebar items
[x]  virtualized Group list scrolling
[x] memoized GroupActions
[ ] prevent triple render

closed in favor of #1711


How to statically link sqlite?

Hello and thanks for he great crate, how to statically link sqlite when its feature is enabled? the feature seems to only add libsqlite3-sys which in turn needs bundled feature to be enabled, when I add libsqlite3-sys as a separate dependency in my application Cargo.toml. The application can't be built with the error
error: multiple packages link to native library `sqlite3`, but a native library can be linked only once

I have to bundle sqlite inside my final binary so please I appreciate any help of how to do this

Please double check that you don't have a duplicated version of libsqlite3-sys in your dependency tree. You need to use the same version as diesel. (A cargo update may fix that).
Additionally: The diesel issue tracker is used to track actionable feature requests and bug reports for the diesel team. For questions please use our gitter channel or the forum


Missing data removal possibly too agressive, yielding bad mesh

Jurgen Simon reported this to the list. I opened the attached file and created a Pseudocolor plot, adding -dump to command line. The dump from avtMissingDataRemovalFilter's output results in only 122 nodes and 32 cells, all 'pixel' (vtk cell type 8), some with duplicate points. The first cell lists 0,1,2,3 as node ids, with nodes 0 & 2 duplicates of one another, as are 1 & 3. The first file dumped is an 810000 node rectilinear grid, with more than 122 valid nodes (eg nodes with a non "missing" value).
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1660
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Missing data removal possibly too agressive, yielding bad mesh
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 11/19/2013
Due date:
% Done: 0%
Estimated time:
Created: 11/19/2013 12:44 pm
Updated: 11/26/2013 02:28 pm
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: 2.7.0
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Jurgen Simon reported this to the list. I opened the attached file and created a Pseudocolor plot, adding -dump to command line. The dump from avtMissingDataRemovalFilter's output results in only 122 nodes and 32 cells, all 'pixel' (vtk cell type 8), some with duplicate points. The first cell lists 0,1,2,3 as node ids, with nodes 0 & 2 duplicates of one another, as are 1 & 3. The first file dumped is an 810000 node rectilinear grid, with more than 122 valid nodes (eg nodes with a non "missing" value).
Comments:

1667_oase-mapdata.nc.gz


boot.loader.efi.efiSysMountPoint doesn't work as expected

Describe the bug
A clear and concise description of what the bug is.
GRUB says it installs into boot.loader.efi.efiSysMountPoint when the install script is run but actually installs itself into /boot which is no bueno because that's not my ESP.
systemd-boot installs itself into efiSysMountPoint as expected but also puts the kernels and initrds on it which is bad again because my ESP is only 100M (thanks M$).
This leaves no way to have a separate ESP and boot partition which is essential for dual boot with Windows.
Expected behavior
A clear and concise description of what you expected to happen.
Boot loaders should go into boot.loader.efi.efiSysMountPoint and the kernels etc. should go into /boot/ (or, even better, a user-specified location)
Additional context
Add any other context about the problem here.
While we're at it we might want to look into making systemd-boot and GRUB share the same initrds and kernels because activating both duplicates them currently.
Notify maintainers

@nh2 @samueldr
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

GRUB should be installing to the EFI mountpoint:

https://github.com/NixOS/nixpkgs/blob/9332bcad1813a87d7cd51e94dd9fd4a4aa11093c/nixos/modules/system/boot/loader/grub/install-grub.pl#L717

Maybe we should have a UEFI test that uses the efi system mount point feature to validate this. I have not verified whether it works or not.
I'm interested in hearing more details about your setup and what you are observing.

I thought systemd-boot required boot entries to live on the ESP.

systemd-boot loads boot entry information from the EFI system partition (ESP), [...], as well as from the Extended Boot Loader partition if it exists (usually mounted to /boot/).

https://www.freedesktop.org/software/systemd/man/systemd-boot.html

Looks like it can do something else too.

Boot loaders should go into boot.loader.efi.efiSysMountPoint and the kernels etc. should go into /boot/ (or, even better, a user-specified location)

User-specified would be helpful. Defaulting to /boot would probably keep the current behaviour, but such a change would need to be studied carefully, considering each bootloader config handles installing boot files independently.

Still important to me.

Just hit this myself. I'd like to see this fixed too, though I might be more inclined to spend my effort on a different approach to generation/bootloader handling by adding grub2 support to 'bootspec' but that's just a dream right now.
I sort of have a little bit of a loose undefined list in my head --  We are also inconsistent about how grub is installed into a subdirectory when bootloaderId is set or unset. This stuff was noticed when I wrote a module to enable secure boot by using Fedora's shim and then using mokutil to disable secondary verification.

BTW, it seems like the Arch wiki is based on a 2016 comment on systemd that hints that the path forward is "/efi" and xbootloader on "/boot".


On the View Manifest Modal on Rollback page, OK button lacks functionality

Describe the bug
When viewing the manifest, the modal displays two buttons: Cancel and OK. The Cancel button closes the modal, but the OK button lacks functionality. The Cancel button should be removed, and its functionality needs to be moved to the OK button.
To Reproduce

Deploy a module through Cyclops
Open up the detailed overview of the module
Edit the configuration; change something (like the number of replicas) just so this module has a history
Click on the Rollback button
Click on the Manifest button

Related issue
We had a similar issue with the View Manifest Modal.

I would like to take this issue. Can you please tell me which part of the code should into

Hey @Wasiim105 you have to make changes to this file.  LINK. Here when the user clicks the Manifest in the the module's history there are 2 buttons shown. The OK and the CANCEL. Here we need to make sure that you remove the CANCEL button and make the OK button function work as the CANCEL button.
Hope this clears your doubt.

Hey @Wasiim105, you can take this! I will assign this issue to you.
You can do as Hanshal suggested above, thanks @hanshal101 🫶
Also, you can check out the PR related to a similar issue.

@hanshal101 I am unable to find the cancel button in History.tsx , there is only an OK button. I have also shared the attachment where only OK button is displaying, could you please help me out ? if I am missing out on something.

Hey @Wasiim105, the button is on the rollback page. You can hit the Rollback button:

There, you will find a screen with the history of changes on a particular Module. Here, you can hit the Manifest button that will open a popup with two buttons on the bottom.

The ok button doesn't do anything and the cancel just closes it. You will need to fix those two. You can find the Modal object here.

hey @hanshal101 I followed what you have said but in Rollback page I haven't find any data, It shows me "No Data".

@Wasiim105  Rollback will show you how many times you changed a module. You can try editing a Module a couple of times and you should see entries on this screen

Hey @Wasiim105, did you manage to get any data on the history screen? Let us know if we can help you

@petar-cvit Thankyou for asking, I get the data and I am working on it.


[feature request] interpreting forests by extracting simple rules

It is very interesting approach to data analysis to use complex machine learning models for exploratory data analysis.
There are some works that tries to make tree ensembles interpretable by extracting simple and relevant rules from them.

inTrees (R package)
defragTrees (Python implementation only)

I think these works are also useful for exploratory data analysis.
Are you interested in integrating these methods in edarf package?

hey i don't know how i missed this.
yes i agree that they would be nice to have in the package. i would be open to adding them but they are pretty far down on my priority list. if you wanted to work on it i'd be happy to help as well.


Values are overwritten

If I write the value of "LÜFTUNGSSTUFE (Tag)", sometimes the old values overwrite my value after some seconds. Could it be, that the pull request overwrite all set Data before the new Values send to ISG?

The values are written in intervalls. The problem is, that the ISG is a little bit slow and so may be the value is overwritten.


Make release_linux.sh configurable for python version

Currently our release for linux works quite differently than MacOS / Windows. All python versions are built serially within a docker container:
https://github.com/tensorflow/addons/blob/master/tools/ci_build/builds/release_linux.sh#L36
We should instead pass in an argument for which python version to build with. This would make it so our CI tests can build a single wheel file during the build check:
https://github.com/tensorflow/addons/blob/master/.github/workflows/release.yml#L32-L46
Currently the test times are:

MacOS: ~9min
Windows: ~14min
Linux: ~23min

The current system also hardcodes the python versions in this script and is a maintenance burden when we update workflow files in the future.

New linux build times: ~12m


Need to display crash counts per action

Can't do this in USQL. Maybe Custom Metric. The data is in the Sankey popup, so maybe add an export to that popup?

Not completely sure whats needed here? Are you looking for a table with an aggregated count of the last action before a crash?

Yes, table with aggregated count of the last action before crash,

Use current Sankey for this analysis.


lib/devos: bake devos repo into live cd

fix #167
This worked for me to bootstrap another machine.

I think we do encounter a problem with secrets, though. It appears to me they are copied over as binaries and not quite useful, hence. This is only really useful for some basic bootstrapping.
Please review, but do not merge. I think we need a better host bootstrapping.

I think I was tired already yesterday. Resolved the previous comment. It was an unrelated issue.

This is looking pretty good. Have your considered all adding isoImage.includeSystemBuildDependencies. It may help with offline installation.

This is looking pretty good. Have your considered also adding isoImage.includeSystemBuildDependencies. It may help with offline installation at the cost of a bigger image.

Cool! I'll do a couple of tests today, still, and will include that.
I also want to experiment to also set a static link local ip on the network interface when using the live cd. That way, we can feed a well known ip to the deploy when the live cd is running: so a technician can plug in the usb stick and a devops can do the depoyment "remotely" (if they are on the same link local network). At least the devops doesn't have to crawl around under the office desks.

Isn't hostname usually enough for that? I'm not sure about adding a static ip, because of possible ip conflicts and other issues that can happen. Worst case you could find the ip of the machine by searching by hostname.

Isn't hostname usually enough for that?

Host name needs identity (which we actually have here since we build bespoke iso installers, but we also might want to work with a generic hostconfig, instead, eg. NixOS) and also dns to attest / route identities.
I still want to cover the case of an anonymous bootstrap image / iso that we can burn onto stockpiled computers and then ship to the site and initiate with an identity over the network.

I definitely understand the benefits of static IP. I've just had issues with it on my network and I know it can be kind of finicky. And I don't want the machine to lose network connection entirely for the convenience of a static ip.

I've just had issues with it on my network and I know it can be kind of finicky. And I don't want the machine to lose network connection entirely for the convenience of a static ip.

I think that is the exact use case for link local ad hoc networks

IPv4 Link-Local addresses are not suitable for communication with
devices not directly connected to the same physical (or logical)
link, and are only used where stable, routable addresses are not
available (such as on ad hoc or isolated networks)

https://tools.ietf.org/html/rfc3927
So we should be good.

Also I was thinking that we should extract the custom system builds outside of lib, so users can add their own custom builds for all their hosts. The idea behind devosSystem is really great and I found a use for it in the home manager PR, and I'm sure others might have good ideas. And they can customize the existing systems we configure.

I think that is the exact use case for link local ad hoc networks

I'll have to learn more about that. But it looks like you have a good plan!

isoImage.includeSystemBuildDependencies

It looks as if this easily exceeds the size of an usb flash drive.
But foremost, I hope that auto?trusted=1 substituter actually let's the bespoke iso image act as a substituter. Since the repo baked into it is the same as the moment the image was created, I suppose that all (or almost all) builds are copied over from the installer iso and no build is done on the target.

It looks like this is getting pretty close. I'm going to delegate this to both of you, while I work on opening a further PR toward #152. There is no harm in trying a bors r+ to merge, but it will fail til I fix the CI runner. I have a few more emails to respond to for the day, and then I can get it fixed up. Good work.
bors delegate+
bors delegate=@Pacman99

I'm checking out MulticastDNS as an alternative to static IPs. that might be slightly friendlier to the end user, althouth I'm not sure if that depends on fancy router support...
that would look something like deploy ... bare-host.local. or deploy ... bootstrapping.local.

Work in progress: (feedback welcome)
{
              systemd.network = {
                enable = true;
                # See also: https://github.com/NixOS/nixpkgs/issues/75515#issuecomment-571661659
                # https://www.freedesktop.org/software/systemd/man/systemd.network.html
                networks."boostrap-link-local" = {
                  matchConfig = {
                    Name = "en* wl* ww*";
                  };
                  networkConfig = {
                    Description = "Link-local host bootstrap network";
                    MulticastDNS = true;
                    LinkLocalAddressing = "ipv6";
                  };
                  extraConfig = ''
                    # Unique, yet stable. Based off the MAC address.
                    IPv6LinkLocalAddressGenerationMode = "eui64"
                  '';
                };
              };
}

I'll do another manual test, cleanup & rebase today, so we should be close to ".good to go".

This looks really good. I think the only thing I would like to change is to use self instead of ../.. to reference the flake. But that could be done separately too.

Also I had another idea for the live cd. You could include all the inputs in the ISO's registry. So while installing you don't need to download the inputs again. Once all inputs get passed to lib you could do something like:
nix.registry = mapAttrs (n: v: ${n}.flake = ${v}) inputs;

This would also require adding<EMAIL_ADDRESS>to the top.
But not sure this would work, and probably best to save it for a future PR.

Lat's call this a day! We might consider opening issues / discussions for further improvements:

use ipv4 link-local to tie it to a cachix derviation that represents the host's profile and let the stick autoprovision itself (unattended mode).
put the inputs in the registry so that they don't need downloading (aka. aire gapped installation — to be checked if that is actually enough)

bors r+

bors r+

Ohh right this is going to do a squash merge :(

Ohh right this is going to do a squash merge :(

Never mind, I think Tim is going to change that soon...

sorry for delay, I believe I figured out how to fix the ci runner while keeping everything up to date. Essentially we will use the stable nix daemon, and only rely on nixosUnstable for the client side. On my tests last night this seemed to fix things, but a lot of derivations were failing. Bors won't commit with failing tests, so I'll see what I can do to fix them, or we may just have to disable some of the failing archtiectures for a while.`

@nrdxp If you exceptionally can merge this manually, we would save my carefully crafted git history for once. :wink:
I built everything on my machine and tested end to end on target host.
Only caveat: deploy doesn't know how to sudo, but this needs improvment in doc/integrations/deploy.md in a separate PR.

Well, give me about half an hour to implement the fixes in the CI runner, and if it still doesn't work, I'll just merge manually.

So it merged. There is the bors r- to cancel a merge before tests finish for future reference. I just removed squash merge manually, but it was too late.

Yeah apologies, I will remember that for the future.

Not a big deal, it is inevitable with any workflow shift to have a few kinks to work out. I am glad that @blaggacao at least got credit in the commit message though.

I'm not after any credit whatsoever :wink:


question: is it possbile to show 2 years in calendar in Datepicker(onlyMonthPicker)

I need to show 2 years in calendar when I click Datepicker (onlyMonthPick) like when you use DatePicker like below.
<DatePicker range numberOfMonths=2 />
For onlyMonthPicker can I do something like this
<DatePicker range onlyMonthPicker numberOfYears=2 />

Not possible right now.
Will try to add this in the next versions.

do you think its possible to write plugin for additional year
<DatePicker range onlyMonthPicker/>

I'm working on it.

I upgraded the version of the datepicker to the latest release in the above example, and now it appears that the problem has been resolved.


DDI-210 add anchor link copying script

Amplitude Developer Docs PR
Description
Add functionality to copy anchor link URL when anchor icon clicked.
Deadline
ASAP
Change type

[X] Non-documentation related fix or update.

PR checklist:

[X] My documentation follows the style guidelines of this project.
[X] I previewed my documentation on a local server using mkdocs serve.
[X] Running mkdocs serve didn't generate any failures.
[X] I have performed a self-review of my own documentation.

Asked about this in the Material project: https://github.com/squidfunk/mkdocs-material/discussions/4297


[Feature Request] Live update references when source changes

When display mode is "embedded", the  bidirectional linking in quote can't be open as in inline mode or the standard embed way.
Is this a bug?

When using inline mode, the quote content appear incomplete in reading view in some cases.

When display mode is "embedded", the bidirectional linking in quote can't be open as in inline mode or the standard embed way.
Is this a bug?

Yes! Will investigate and get fixed with the next release.

When using inline mode, the quote content appear incomplete in reading view in some cases.

Are you able to share an example of a file quoted and when it doesn't not load all the content? Thanks!

The modified content isn't displayed correctly in the reading view

Can you copy the quoth block and share it for this example?
Also, just to check. Are you describing a situation where you have both the source of the quoth open and the reference open, and when you change the source the reference doesn't update?

Ok, if I'm understanding correctly, I think it's just that the reference (code block) isn't being reprocessed when the source is updating. I think this should happen for both embedded and inline code blocks, but if you change from one mode to the other, it will reload it, which may throw off debugging.
I believe if you close and reopen the reference (or navigate away and back), it will have been updated, is that correct? All the tests I've done have worked that way so far.
If that is what's happening, then maybe as a feature I can add reloading of the reference when the source is changed.

think it's just that the reference (code block) isn't being reprocessed when the source is updating. I think this should happen for both embedded and inline code blocks, but if you change from one mode to the other, it will reload it, which may throw off debugging.

yes thats very true - having line updates/auto refresh would be SOO helpful! loving Quoth so far, thank you for making it :)
btw is there a timeline for when the auto refresh will be implemented? :)


HIVE-24810: Use JDK 8 String Switch in TruncDateFromTimestamp

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@miklosgergely Minor improvement if you have any PR review cycles.

@miklosgergely  :)

@pgaref If you are available for a quick review :)


Add more customizable options for the BTDropInViewController in

@whizkid77 thanks for this!  You think we can make use of an options object to specify these options instead?

Yep, that's probably the better idea.  I'll get to it when I get a chance.
Thanks!
On Wed, Mar 23, 2016 at 12:30 AM, Alan Wong<EMAIL_ADDRESS>wrote:

@whizkid77 https://github.com/whizkid77 thanks for this! You think we
can make use of an options object to specify these options instead?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/alawong/react-native-braintree/pull/14#issuecomment-200227985


Removing explicit casts, and let the developer use the TypedSpark functionalities in a more LINQ style.

@Cheranga I have made both TypedColumn and TypedDataFrame convert implicitly.
The casts that are left are because the underlying function takes object so requires the cast


python312Packages.speechrecognition: 3.10.3 -> 3.10.4

Diff: https://github.com/Uberi/speech_recognition/compare/refs/tags/3.10.3...3.10.4
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

4 packages built:

python311Packages.speechrecognition
python311Packages.speechrecognition.dist
python312Packages.speechrecognition
python312Packages.speechrecognition.dist


Update ServerWorld mapping

Name method_27910.The new name of method_27910 is setWeather ,like method resetWeather.

This exact method was already mapped :) Please use Enigma next time to avoid this


OpenDialKG dataset format

Hi, met some confusing issues when running your code on OpenDialKG dataset.

At https://github.com/HLTCHKUST/ke-dialogue/blob/7f5a68022619d9275ece7d88ff951fae30c7de3d/modeling/opendialkg/utils/preprocessDIALKG.py#L69 you read json file as input but the dataset you provide is in format csv and some keys used in code are also not available in the dataset file. I wonder if you upload the right dataset file? or I missed some preprocessing procedure?

At https://github.com/HLTCHKUST/ke-dialogue/blob/7f5a68022619d9275ece7d88ff951fae30c7de3d/knowledge_embed/opendialkg/generate_dialogues_DIALKG.py#L115, are you sure it is count_fulfilled <= stop_count rather ran count_fulfilled >= stop_count. Your current code stops always at iteration 1.

It's good that you provide a result.json in the checkpoint folder but no corresponding dialogue history is provided ... It's really hard to reproduce your experiment.

Can you provide the dataset file that can be used for evaluation or complete the result.json by adding dialogue history or dialogue_id.

Hi @zhaone,
Thank you for noticing! We have some problems with the published code for OpenDialKG as we lost the latest experiment code for this dataset before. We will fix the issues on the script and the missing json files as soon as possible.
For the result.json, please find the test.json.zip attached here. You can unzip the file to get the original test file that we use. To get the complete dialogue with all the history, you can replace all SYS utterances on the test.json with the
utterances on the result.json in an ordered manner.
test.json.zip
Please let me know if you have any further questions!


KeyError: 'IteratorGetDevice' in tf.train.import_meta_graph

System information
ubuntu 16.04LTS
protobuf                      3.6.0
tensorflow                    1.8.0
and I'm using Python 3.5
Describe the problem
I got a [KeyError: 'IteratorGetDevice'] when using [tf.train.import_meta_graph] to import a [tensorflow official resnet model](the model is trained using the source code online).
Source code / logs
[Code:]
import tensorflow as tf
with tf.Session() as sess:
new_saver = tf.train.import_meta_graph(
'/home/smn/cifar10_model/model.ckpt-3907.meta')
[Trackback:]
runfile('/home/smn/project/code/test2.py', wdir='/home/smn/project/code')
Traceback (most recent call last):
File "", line 1, in
runfile('/home/smn/project/code/test2.py', wdir='/home/smn/project/code')
File "/home/smn/tensorflow/lib/python3.5/site-packages/spyder_kernels/customize/spydercustomize.py", line 678, in runfile
execfile(filename, namespace)
File "/home/smn/tensorflow/lib/python3.5/site-packages/spyder_kernels/customize/spydercustomize.py", line 106, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/home/smn/project/code/test2.py", line 4, in
'/home/smn/cifar10_model/model.ckpt-3907.meta')
File "/home/smn/tensorflow/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1955, in import_meta_graph
**kwargs)
File "/home/smn/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/meta_graph.py", line 743, in import_scoped_meta_graph
producer_op_list=producer_op_list)
File "/home/smn/tensorflow/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 432, in new_func
return func(*args, **kwargs)
File "/home/smn/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 460, in import_graph_def
_RemoveDefaultAttrs(op_dict, producer_op_list, graph_def)
File "/home/smn/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 227, in _RemoveDefaultAttrs
op_def = op_dict[node.op]
KeyError: 'IteratorGetDevice'

fixed after updated to tensorflow 1.9

i still have this issue with tensorflow 1.10 and tensorflow 1.9

Try adding this line in your code:
tf.contrib.resampler
在2018-08-11<EMAIL_ADDRESS>i still have this issue with tensorflow 1.10 and tensorflow 1.9
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Fixed Cloudfront Issue

Pull Request Test Coverage Report for Build 680

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.294%

Totals

Change from base Build 677:
0.0%

Covered Lines:
1377

Relevant Lines:
1445

💛  - Coveralls

@omenocal just for reference, please add a comment here on the PR describing what was that cloudfront issue

@armonge done


[REQ] Ability to open a tweet in the app

Describe the problem that needs solving
If I open a tweet on my web browser, I can't use Open in App or the Share intent menu to open the tweet inside of Fritter.
Describe the solution you'd like
Ability to open a single tweet view in Fritter.

It shows for me in the Open in menu. Have you set up a different default app to open the link?

Ah nevermind, yeah setting a different default app is why.

Please close the issue if your problem has been resolved.


(fix:cluster): check that client.isOpen before calling client.disconnect when unsubscribing

Description
This PR fixes this issue https://github.com/redis/node-redis/issues/2685 whereby concurrent requests to UNSUBSCRIBE, PUNSUBSCRIBE, SSUBSCRIBE results in ClientClosedError being thrown
It fixes the issue by checking if client.isOpen before calling client.disconnect in executeShardedUnsubscribeCommand and executeUnsubscribeCommand
Checklist

[ ] Does npm test pass with this change (including linting)?
[x] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

I'm running into issues getting npm run build:test-tools to work, so I wasn't able to run the tests locally, but they are pretty simple tests so I expect they should pass in the CI workflow.


Nova tabs compatibility

Tabs are not displayed on the settings page
Tabs package eminiarts/nova-tabs

Hi! Nova tabs reworked their package quite a bit since v1 and it's no longer possible to easily support the Tabs package. It requires a lot of custom integration code, as they mutate the Panel a lot on the server side. If you want Tabs support, you can try to implement it and submit a PR. :) Thanks.

I had a first pass at it and it requires a fair amount of rework.
I'll give it another go during the weekend, hopefully I can get it to work.
@stepanenko3 - in the mean time in my projects i've changed back to native Panels instead of tabs.

@Tarpsvo - Just to check, is the tabbed UI in the screenshot for legacy versions only or is there native support for tabs now?
https://raw.githubusercontent.com/outl1ne/nova-settings/main/docs/index.png

Sorry about that - that is indeed an old screenshot from Nova V3.

I had a first pass at it and it requires a fair amount of rework. I'll give it another go during the weekend, hopefully I can get it to work.
@stepanenko3 - in the mean time in my projects i've changed back to native Panels instead of tabs.

Any update on this? Would love to have tab support for this <3

@Violet-Vibes,
I didn't get NovaTabs support and made my package nova-settings

@Violet-Vibes,
I didn't get NovaTabs support and made my package nova-settings

@stepanenko3 Oh, interesting! Is there an easy way to migrate usage of nova_get_setting and the other helper functions to your package?

@Violet-Vibes,
I didn't get NovaTabs support and made my package nova-settings

@stepanenko3 Oh, interesting! Is there an easy way to migrate usage of nova_get_setting and the other helper functions to your package?

Of course
function settings(string|null $section, string|null $key = null, string|null $default = null, string|null $env = null)

Get cart_link value from General settings in current Env
settings('general', 'cart_link')

Get all General settings
settings('general')

Get cart_link value from General settings in specific Env with default value
settings(
    section: 'general',
    key: 'cart_link',
    default: true,
    env: 'production'
);

// OR

settings('general', 'cart_link', true, 'production');

I'll have a look at it, thanks @stepanenko3


OnCrafterCraftsScriptEvent

Adding an event to control the behavior of the new crafter (redstone block) introduced in 1.21

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

Updated

After tests, the cancellationChanged block can be safely removed and cancelled determinations are still working as intended.
Determinations on result items consumes ingredients (as intended for a craft event i suppose)

The cancellation doesn't consume any of the ingredients in the grid, as intended for a cancellation.

Updated

Updated


Minor UI bug on cal::local_date: e.match is not a function

EdgeDB Version: CLI: 2.0.4+a7fc49b
OS Version: MacOS 12.5 (arm64)

Steps to Reproduce:

Browse data in the EdgeDB UI for a local_date field

Please feel free to close if duplicated! I didn't see any mention of this however.

@jaclarke


Scd editor suggestion - audio playback in other tabs

Suggestion:
Add playback button in the Scd editor's "Sounds" tab.
Alternatively, add links to easily go from a "Sound" entry to a related "Audio" entry and the opposite, from "Audio" entry to "Sound" entry.
Context:
I'm trying to remove many annoying high pitched sounds from SE_VFX_common.scd by modifying their volume to 0.
(I'm a complete beginner, so I might be approaching this the wrong way.)
This can be done on the Sounds tab, but before muting something, I'd like to listen to what I'm muting. On the Sound entry's "Tracks" subtab I can see the audio index and look it up on the Audio tab, but that's a pretty big hassle to do for hundreds of sounds when it should be relatively easy to add the exact same playback UI that already exists on the "Audio" tab to the "Sounds" tab.
(If someone has a better solution to what I'm trying, please do tell.)

Also, I can't find which sounds make the sounds at the end of a cast. There is one that happens at the end of a castbar of a spell like Stone II or Cure, and one that happens right after that for both of those but also for an instant spell like Regen.
Does anyone know where to look for those? :/