Tiled XML (including compressed) support

Right now only the Tiled JSON format is supported. I am working with a large game where the maps are quite large and complex. For example, a single map has the following size chart:

Format
Size (in KB)

JSON
1,420

base64
1,097

base64-gzip
144

base64-zlib
144

As you can see there are obvious size benefits, and since I have quite a few of these maps if I converted to use the base64-gzip verions I could be downloading ~3M of map data instead of ~30M.
When I worked on grapefruit I wrote code to load all the versions of Tiled output. You can see the code that will parse the XML into a js object that mimics the result of JSON.parse() on the TIled json format, here:
https://github.com/grapefruitjs/grapefruit/blob/master/src/tilemap/Tilemap.js#L364
The above code needs a few things to decode the base64 and decompress the result. It uses TypedArrays, the native window.atob function, and (since the library is compiled with browserify) zlibjs.
I would be happy to port this over to Phaser and include polyfils to support the browsers that Phaser supports, or even write this in a plugin (possible?), but I wanted to get your opinion before I did the work.

Parsing huge JSONs can also become a noticeable performance bottleneck.
Hence it isn't just about size, but supporting some binary format such as Base64 may reduce load time noticeably. Also, compressing in the native form (bytes) tends to be more efficient than compressing the ascii-json-encoded version.


Fix how COM objects are enumerated

PR Summary
Fix #11782
The ComEnumerator was introduced back in early .NET Core 2.0 preview period of time (#4553), because GetEnumerator() didn't work on COM object even if the object can be cast to IEnumerable and .NET Core team said it was by design at the time (https://github.com/dotnet/runtime/issues/21690).
With .NET Core 3.1, GetEnumerator() works on the COM objects that can be cast to IEnumerable 🎉
So we can directly use the .NET Core support to get the enumerator for a COM object that implements IEnumerable.
However, for the COM object that can be cast to IEnumerator, exception is thrown when calling MoveNext() on it.
So we still need the ComEnumerator, but much simplified to just cover the case that the COM object implements COM.IEnumVARIANT interface.
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[x] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@SteveL-MSFT please update your review


refactor(navbar): split navDropdown file

Based on our team's decision, we no longer require approval of the refactoring pull request. Instead, we will review and approve the refactoring once all changes related to a specific component have been completed.


feat: GatewayAPI Support

Gateway API is an open source project managed by the SIG-NETWORK
community. It's is a collection of resources that model service networking
in Kubernetes. These resources - GatewayClass,Gateway, HTTPRoute,
TCPRoute, Service, etc - aim to evolve Kubernetes service networking through
expressive, extensible, and role-oriented interfaces that are implemented by
many vendors and have broad industry support.
The following design goals drive the concepts of the Gateway API. These
demonstrate how Gateway aims to improve upon current standards like Ingress.

Role-oriented - Gateway is composed of API resources which model
organizational roles that use and configure Kubernetes service networking.
Portable - This isn't an improvement but rather something
that should stay the same. Just as Ingress is a universal specification with
numerous implementations,
Gateway API is designed to be a portable specification supported by many
implementations.
Expressive - Gateway API resources support core functionality for things
like header-based matching, traffic weighting, and other capabilities that
were only possible in Ingress through custom annotations.
Extensible - Gateway API allows for custom resources to be linked at
various layers of the API. This makes granular customization possible at the
appropriate places within the API structure.

Some other notable capabilities include:

GatewayClasses - GatewayClasses formalize types of load balancing
implementations. These classes make it easy and explicit for users to
understand what kind of capabilities are available via the Kubernetes resource
model.
Shared Gateways and cross-Namespace support - They allow the sharing of
load balancers and VIPs by permitting independent Route resources to bind to
the same Gateway. This allows teams (even across Namespaces) to share
infrastructure safely without direct coordination.
Typed Routes and typed backends - The Gateway API supports typed Route
resources and also different types of backends. This allows the API to be
flexible in supporting various protocols (like HTTP and gRPC) and
various backend targets (like Kubernetes Services, storage buckets, or
functions).

docs here: https://gateway-api.sigs.k8s.io/
I think we should add support for Gateway API. To accomplish this, the following steps are required:

[x]  Add a configuration to enable this mode.

[x] #789

[x] Implement Gateway controller loop and update status.

[x] #789

[x] Implement GatewayClass controller loop and update status.

[x] #1079

[x] Implement HTTPRoute controller loop and translate to Apache APISIX.

[x] #1037

[x] Implement TLSRoute controller loop and translate to Apache APISIX.

[x] #1087

[x] Implement TCPRoute controller loop and translate to Apache APISIX.  (assigned to @AlinsRan)

[x] #1217

[x] Implement UDPRoute controller loop and translate to Apache APISIX. (assigned to @stillfox-lee )

[x] #1278

Indeed. +1 from me.

Hope we can start to support this feature next month.

As the gateway APIs 0.4.0 RC1 was released (support v1alpha2), we may start to support it just from v1alpha2.

Hi @tao12345666333 , I can help to implement TCPRoute. Can you assign it to me?

@stillfox-lee  sorry, The TCPRoute task has been publised through the OSPP project. [1]
And @AlinsRan has already claimed the task. He will finish the job in two months.
If you are interested, can you help implement UDPRoute?
1: https://summer-ospp.ac.cn/#/org/prodetail/228020146

@tao12345666333  hello, this means gateway api can replace ingress in the future ? so we need add this feature

@tao12345666333  hello, this means gateway api can replace ingress in the future ? so we need add this feature

yes. Gateway API can replace Ingress.
But for now it's on beta status, will need more time to do this.

@tao12345666333 HI, tao,
Looking at the current task, it looks like the task is closed except for TCPRoute and UDPRoute.  Can I use GatewayAPI in production now?
In particular, I wonder if HTTPRoute resource can be recognized by an apisix controller.

Can I use GatewayAPI in production now?

@heesuk-ahn no, APISIX Ingress support for Gateway API is still in beta stage, I suggest you try it in test environment and give us some feedback.
But I don't recommend using it in a production environment.
Once we think that the code in this part is complete enough and the feedback from the community is good, we will upgrade it to the stable stage. At that time, it will be safer to use it in a production environment.

In particular, I wonder if HTTPRoute resource can be recognized by an apisix controller.

Yes, you can try it

@tao12345666333
Thanks for the reply! For the time being, I will use GatewayAPI for test purposes and use the existing ApisixRoute for production.
I'll have to migrate it once it's stable enough to be deployed to production. 👀
I'll try it out and give you feedback. :)

Hi @tao12345666333 , I'm trying to use traffic-split plugin to implement UDPRoute traffic control with weight logic like HTTPRoute. Then I go through the doc, those use cases are all about HTTP. Can traffic-split plugin work with UDP protocol like HTTP protocol?
If traffic-split plugin didn't support for UDP protocol. How should I implement it? Thanks.

Can traffic-split plugin work with UDP protocol like HTTP protocol?

Currently this plugin does not yet support UDP protocol, which requires porting of this capability in APISIX.

If traffic-split plugin didn't support for UDP protocol. How should I implement it? Thanks.

There should be no way IRRC.

@stillfox-lee But we may be able to have some discussions, if it is convenient for you, you can contact me at<EMAIL_ADDRESS>and we can schedule a meeting to chat

@stillfox-lee But we may be able to have some discussions, if it is convenient for you, you can contact me at<EMAIL_ADDRESS>and we can schedule a meeting to chat

Sure. I will contact you later. Thanks.

@tao12345666333
Hello. I'm thinking about using it in production.
It seems that another phase(https://github.com/apache/apisix-ingress-controller/pull/1440) is almost done and I also noticed that the document has been added recently. (https://github.com/apache/apisix-ingress-controller/issues/1597)
Is this going to be released soon?
Thank you in advance :)

@yujinchoi-94  #1440 has been added to my queue.
It will be introduced in v1.7.
We plan to release v1.7 at the end of March.

All tasks recorded in this issue have been completed, and I will now close it.


[DONT MERGE] Tag 13.0.0 rc3

The changes in this PR have been pulled into PR #1155 (merged) and the release/13.0.x branch.

These changes have been pulled in elsewhere.


Can't access to see roles, groups nor users from navbar menu with Version 3.2.1-DEV

Ok. I found it

There is a missing line onbs5_helper.php file, function bs5_searchform, the one that calls the form helper:
helper('form');

PR Done!


Allow enabling/disabling multiselect in data grid

Is your feature request related to a problem? Please describe.
Currently, the data grid allows multi-selecting rows. I would like this to be configurable. This is configurable in the underlying tanstack table, so this is a matter of forwarding props.
Describe the solution you'd like
A forwarded prop for enabling (or not) multi-select (currently it is using  the default, which is that it is enabled if row selection is enabled).
Describe alternatives you've considered
Users somehow manage this via the onRowSelection function. This is surprisingly tricky.
Additional context
I have made a draft pr in #3355 but this one does not contain any tests since I haven't configured the overall environment locally.

this was resolved by #3355


GoLang.Go.1.19 version 1.19.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

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

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

For China — you can use InstallerLocale: zh-CN.

Why?

For China — you can use InstallerLocale: zh-CN.

Done.

Hi @sinapis
This PR both changes the package host from dl.google.com to golang.google.cn, and also changes the version from 1.19.3 to 1.19.4. These should be performed separately. Since this PR has 1.19.3 in the title, the new 1.19.4 version update should be reverted here and performed in another PR.


Is there any record delete examples?

I can now do insert & upsert , how could I do deletes ? Is there any examples? Thanks~

@louisliu318 Hard deletes are done by providing an optional generic record to your payload and soft deletes can be done by nulling out all the fields except the HoodieKey. What is your requirement ?

You can take a look at TestHoodieClientOnCopyOnWriteStorage.java and TestRawTripPayload for examples.. Please let us know if that helps

@louisliu318 Hard deletes are done by providing an optional generic record to your payload and soft deletes can be done by nulling out all the fields except the HoodieKey. What is your requirement ?

@n3nash Thanks for the reply. What I want is hard delete.

You can take a look at TestHoodieClientOnCopyOnWriteStorage.java and TestRawTripPayload for examples.. Please let us know if that helps

@vinothchandar Thanks for your help. I will look into it.

@louisliu318 There are some gaps in record deletes on MERGE_ON_READ table. Let me get back to you on that.

@n3nash Thanks ~ . Looking Forward to your help .

@louisliu318 What's your use case to use deletes in MERGE_ON_READ ? We have a couple of things that needs to be addressed to support true deletes in a MOR table. We will try to fix the deletes in MERGE_ON_READ soon.
In the meantime, can you try to setup your pipeline and operations using COPY_ON_WRITE table that support deletes right now ? This way you can play around and have some tables running using Hudi.

@n3nash We want to mirror our production MySql databases to hive in 5~30 mins latency.  Right now we are doing with COPY_ON_WRITE table with spark streaming~
One more question，Is it suitable if I use spark structured streaming with 2mins duration on COPY_ON_WRITE table. Thanks~

@louisliu318 That depends on a few factors :

What is the parallelism you are using to ingest that workload ?
What is the output file size (parquet file size) that you intend to write ?
Is a large number of small files a concern more or just being able to ingest in 2 mins ?

@n3nash

Right now the parallelism is set to 1( Kafka partition is 1).  The average workload is 2000rps.
I want to keep the output file size same as the hdfs block size.(256MB). What's the recommended size in production?
I prefer having small number of small files.

Is it suitable if I use spark structured streaming with 2mins duration on COPY_ON_WRITE table
Your latency would be bound by amount of time it takes to merge the parquet file. 256MB files may take couple minutes (again depends on schema complexity etc that are parquet specific).. I would just first benchmark in batch with large paralellism, see the latency we get and move from there..

@louisliu318 Were you able to perform any benchmarks as pointed out above ?

Does anyone have an example of how to hard delete in spark SQL?
I can't seem to find a way to do this.

Sorry figured it out.
Created a class:
class EmptyHoodieRecordPayload extends HoodieRecordPayload[EmptyHoodieRecordPayload] {
  def this(record: GenericRecord, orderingVal: Comparable[_]) {
    this()
  }

  override def preCombine(t: EmptyHoodieRecordPayload): EmptyHoodieRecordPayload = t
  override def combineAndGetUpdateValue(indexedRecord: IndexedRecord, schema: Schema): Optional[IndexedRecord] = Optional.empty()
  override def getInsertValue(schema: Schema): Optional[IndexedRecord] = Optional.empty()
}

And then set dataframe writer to:
    writer.option("hoodie.datasource.write.payload.class", "....EmptyHoodieRecordPayload")

yes .. :) .. this is something we have mulling on how to support this using the datasource APIs, which is kind of awkward for this..
Nonetheless, do you mind contributing this payload and some documentation either in wiki or site docs  towards this? HUDI-88 https://issues.apache.org/jira/browse/HUDI-88 is related as well.

Of course I don't mind contributing, where would you think it will fit best? if in docs then in what section? configuration? quick start? new doc?
Thanks

@iyogev sorry for the delayed response. Slow week.
The default payload classes are documented in the configurations.md file on asf-site branch. We can add a line for EmptyPayload there.
In terms of code, we can just add the payload together with a small test to wherever the default payload lives?

Resolved.

Based on the current code, the correct way to hard delete is (tested in COW only):
writer
// specify record_key, partition_key and precombine_fieldkey
.option(DataSourceWriteOptions.INSERT_DROP_DUPS_OPT_KEY, "true")
.option(DataSourceWriteOptions.PAYLOAD_CLASS_OPT_KEY, "com.uber.hoodie.EmptyHoodieRecordPayload")

_hoodie_is_deleted allows us to delete records and replace them with new records in the same transaction which is essential for some of our use cases. EmptyHoodieRecordPayload forces us to do the deletes in a separate commit to the inserts which will cause the balances not to tie out for GL accounts for example.


Contract works under embark but not under truffle?

I have a strange situation where the same RPC eth_call request goes out from embark and from truffle to the same function in the same contract (deployed at different addresses because one uses the embark blockchain and the other testrpc, but that's the only difference).  The embark call returns a result while the other returns zero.  I see differences in the HTTP requests going over the RPC port, but I don't know why / if that explains the difference.  I'm filing this as a possible truffle bug - could the Connection: close vs keep-alive be causing the issue?
Function in contract:
function fn(int x) constant returns (int result);
This is being called from truffle (pudding) using:
Contract.fn.call(4000000.0, {from: coinbase}).then(function(res) {
console.log("result=" + res.toString(10));
});
Works (embark):
POST / HTTP/1.1
Host: localhost:8101
Connection: keep-alive
Content-Length: 252
Origin: http://localhost:8000
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36
Content-type: application/json
Accept: /
Referer: http://localhost:8000/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x0a181d935007b7bfe2720091f33c628b1bfcecb9","data":"0xd271b06700000000000000000000000000000000000000000000000000000000003d0900","from":"0x3c9601da93841f13f48f7c1f13a3f5950c1cd00f"},"latest"],"id":4}
HTTP/1.1 200 OK
Access-Control-Allow-Origin: http://localhost:8000
Content-Type: application/json
Vary: Origin
Date: Thu, 24 Dec 2015 02:53:59 GMT
Content-Length: 103
{"id":4,"jsonrpc":"2.0","result":"0x0000000000000000000000000000000000000000000000000000000000152736"}
Doesn't work (truffle):
POST / HTTP/1.1
User-Agent: node-XMLHttpRequest
Accept: /
Content-Type: application/json
Host: localhost:8545
Content-Length: 252
Connection: close
{"jsonrpc":"2.0","method":"eth_call","params":[{"from":"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1","to":"0xc305c901078781c232a2a521c2af7980f8385ee9","data":"0x8e6f235300000000000000000000000000000000000000000000000000000000003d0900"},"latest"],"id":2}
HTTP/1.0 200 OK
Server: BaseHTTP/0.3 Python/2.7.6
Date: Thu, 24 Dec 2015 02:52:01 GMT
Content-type: application/json-rpc
Content-length: 107
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Access-Control-Allow-Origin: *
{"jsonrpc": "2.0", "result":"0x0000000000000000000000000000000000000000000000000000000000000000", "id": 2}

After hours of debug, it turns out when copying the contract I had renamed it without renaming the constructor.  Certain dependencies were not being initialized correctly.  Wow, talk about learning the hard way.

Ya, I wish there were an easier way for truffle to detect the issue. There
is a way, but it's not easy. Although I suppose we could just grep the file
contents and see if the name we're expecting at least exists. I'd love help
if you're interested in tackling that issue.
On Dec 24, 2015 11:03 AM, "Mark Jackson"<EMAIL_ADDRESS>wrote:

After hours of debug, it turns out when copying the contract I had renamed
it without renaming the constructor. Certain dependencies were not being
initialized correctly. Wow, talk about learning the hard way.
—
Reply to this email directly or view it on GitHub
https://github.com/ConsenSys/truffle/issues/68#issuecomment-167150387.

I would love to be able to contribute where I can.  I have to confess to being a newb at Ethereum - I'm still learning the inner workings.  Although I've been following the project and it's ecosystem since its inception.
Mark


503 service unavailable

I init the api in a docker container and the health check are correct but when I try to make an http request to the api/ask endpoint it gives me the error 503(Service unavailable).  My code:
var response = await fetch(`${process.env.API_URL}/ask`, {
    method: "POST",
    headers: {
      "content-type": "application/json",
      Authorization: process.env.API_KEY,
    },
    body: JSON.stringify({
      content: message,
    }),
  });
  console.log(response);
  var json = await response.json();
  console.log(json.content);
  return json.content;

API logs:
2022-12-28 18:20:50 chatgpt-api-server-chatgpt-api-server-1  | [GIN-debug] Listening and serving HTTP on :8080
2022-12-28 18:21:08 chatgpt-api-server-chatgpt-api-server-1  | [GIN] 2022/12/28 - 17:21:08 | 503 |     17.8269ms |      <IP_ADDRESS> | POST     "/api/ask"
2022-12-28 18:21:20 chatgpt-api-server-chatgpt-api-server-1  | [GIN] 2022/12/28 - 17:21:20 | 200 |        28.7µs |       <IP_ADDRESS> | GET      "/health"
2022-12-28 18:21:50 chatgpt-api-server-chatgpt-api-server-1  | [GIN] 2022/12/28 - 17:21:50 | 200 |        24.4µs |       <IP_ADDRESS> | GET      "/health"
2022-12-28 18:22:20 chatgpt-api-server-chatgpt-api-server-1  | [GIN] 2022/12/28 - 17:22:20 | 200 |        21.6µs |       <IP_ADDRESS> | GET      "/health"
2022-12-28 18:22:50 chatgpt-api-server-chatgpt-api-server-1  | [GIN] 2022/12/28 - 17:22:50 | 200 |       215.1µs |       <IP_ADDRESS> | GET      "/health"

What is the 503 response? (503 still returns an error string)

Full response log:
Response {
  size: 0,
  [Symbol(Body internals)]: {
    body: PassThrough {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: true,
      [Symbol(kCapture)]: false,
      [Symbol(kCallback)]: null
    },
    stream: PassThrough {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: true,
      [Symbol(kCapture)]: false,
      [Symbol(kCallback)]: null
    },
    boundary: null,
    disturbed: false,
    error: null
  },
  [Symbol(Response internals)]: {
    type: 'default',
    url: 'http://localhost:8080/api/ask',
    status: 503,
    statusText: 'Service Unavailable',
    headers: {
      'access-control-allow-origin': '*',
      connection: 'close',
      'content-length': '32',
      'content-type': 'application/json; charset=utf-8',
      date: 'Wed, 28 Dec 2022 17:21:08 GMT'
    },
    counter: 0,
    highWaterMark: 16384
  }
}

This doesn't show the text. Try with curl

statusText is the text no?

Nope

Curl:
╰─ curl "http://localhost:8080/api/ask" -X POST --header 'Authorization: a7a5c04c-1c32-421a-8445-783dfb88f31b' -d '{"content": "Hello world", "conversation_id": "<optional>", "parent_id": "<optional>"}'
{"error":"No available clients"}

Did you connect the agents?

How I connect agents?

https://github.com/ChatGPT-Hackers/ChatGPT-API-agent

So is imposible to host it on a vps?

So is imposible to host it on a vps?

There are annoying workarounds for the agents on VPS. You might want to look at the Python library in combination with Xvfb on a VPS: https://github.com/acheong08/ChatGPT

The Python library is standalone

I will be modifying it to become an agent in the near future so you can run it on a VPS (though limited to 1 account)

I am using javascript so f

I am going to try to add the clients to the api server in my vps trough a domain

In that case, https://github.com/transitive-bullshit/chatgpt-api is amazing

I am going to try to add the clients to the api server in my vps trough a domain

You can host the server on the VPS with the port exposed and run the agents locally.
It is technically possible to run the agents on the server but it's finicky.

You can actually check out all the currently available ChatGPT repos at https://track.duti.tech/resources/chatgpt/
If you're willing to pay, justbrowse.io handles all the API stuff for you (I'm not affiliated. There are severe privacy and stability concerns)

I can't use because is for my discord bot which is public and free and is used a lot

Then since it's JS, https://github.com/transitive-bullshit/chatgpt-api is the best one (though no multi account support)

thanks, I am going to code my own multi acc support for this

That should be easy. You can reference his twitter bot which has multi account support https://github.com/transitive-bullshit/chatgpt-twitter-bot


docs:  adding ci.md documentation 2

Description
(this PR is a direct clone of https://github.com/janus-idp/backstage-showcase/pull/1802, which refused to merge)
Added CI documentation
Which issue(s) does this PR fix

Fixes https://issues.redhat.com//browse/RHIDP-4244

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/lgtm

/lgtm

/lgtm

/lgtm

/retest

/retest

/test all

/retest

/retest


Generated Report with missing secitons

@MaximMoinat
Hi,
I was able to run the cdm inspection for our database and also generate the report. On reviewing the report, the 4.5 Unmapped Codes and 4.6 Mapped Codes are empty, no tables showing.
I dug in a little and checked the ResultsDocumentGeneration.R file. Those two sections uses custom functions my_unmapped_section() and my_mapped_section() to population the tables. I suspect that the outputs from those functions are not being saved to the doc. I checked the vocabReults and there is data for unmapped and mapped items.
`## add Top 25 missing mappings
doc<-doc %>%
officer::body_add_par(value = "Unmapped Codes", style = "heading 2")
my_unmapped_section(doc, vocabResults$unmappedDrugs, 7, "drugs", smallCellCount)
my_unmapped_section(doc, vocabResults$unmappedConditions, 8, "conditions", smallCellCount)
my_unmapped_section(doc, vocabResults$unmappedMeasurements, 9, "measurements", smallCellCount)
my_unmapped_section(doc, vocabResults$unmappedObservations, 10, "observations",smallCellCount)
my_unmapped_section(doc, vocabResults$unmappedProcedures, 11, "procedures", smallCellCount)
my_unmapped_section(doc, vocabResults$unmappedDevices, 12, "devices", smallCellCount)
my_unmapped_section(doc, vocabResults$unmappedVisits, 13, "visits", smallCellCount)
## add top 25 mapped codes
doc<-doc %>%
  officer::body_add_par(value = "Mapped Codes", style = "heading 2")
my_mapped_section(doc, vocabResults$mappedDrugs, 14, "drugs", smallCellCount)
my_mapped_section(doc, vocabResults$mappedConditions, 15, "conditions", smallCellCount)
my_mapped_section(doc, vocabResults$mappedMeasurements, 16, "measurements", smallCellCount)
my_mapped_section(doc, vocabResults$mappedObservations, 17, "observations", smallCellCount)
my_mapped_section(doc, vocabResults$mappedProcedures, 18, "procedures", smallCellCount)
my_mapped_section(doc, vocabResults$mappedDevices, 19, "devices", smallCellCount)
my_mapped_section(doc, vocabResults$mappedVisits, 20, "visits", smallCellCount)`

Fixed since v1.2.0


Localization prep - move strings from theme.xml to theme.wxl

Moving hardcoded strings from the bundle theme into wxl as part of localization prep work.

For now the .wxl files will be picked up from src and we'll get localized copies back. Those would go into the repo and we'll add them to setup as additional payloads.


feat(hk sources): add function for fetching hk sources

This PR adds new function for fetching the sources that have been used to save HealthKit samples:

query sources with HKCategoryTypeIdentifier or HKQuantityTypeIdentifier
new querySources function for fetching sources, returns a list of source objects that contain name and bundleId of the source
new useSources hook
new sources section in the test app with examples on fetching both  HKCategoryTypeIdentifier and HKQuantityTypeIdentifier sources

Looks great, thanks for contributing @plahteenlahti 👍

Hey, @robertherber, is possible for you to make a new release with this change included? Would like to test it in a production app, thanks ☺

@plahteenlahti It's out with 5.4.0 :)


Only hide appbar on monitor that is displaying fullscreen content

I noticed that in the current implementation when the ABN_FULLSCREENAPP  message is received it hides all appbars in a multi monitor setup.
I created a function to toggle a specific appbar using HWND to be the opposite of its current state.

Ahhhh. Makes sense. LGTM


Date input validation / alerts;  decode url fixes

Changes date filter  format to mm/dd/yyyy
Adds note to that effect
Validates that dates put in the text boxes are valid and within range
Alerts user if an input is invalid

Also:
URL decoding was sometimes happening before the filterControlsDict was defined.

Adds gate function to check multiple states before initializing URL decoding.

re: #537

Add some functionality and fixes to the date validation, extends much of it to continuous filters. User input less than actual min in data is coerced to the min. Same for max. Enforces min input can't be more than max. Clears error markers when clear pillbox (all or single) is clicked.


⚠ Bofrost.es has degraded performance

In 827d881, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1735 ms

Resolved: Bofrost.es performance has improved in a2a9c53 after 6 minutes.


Define process for controller bootstrapping, enrollment, authentication and revocation

Need process for controller enrollment, certificate management and authentication.

How/where is the root CA stored
How do controllers get their certificates
Are controllers represented in the model
How are certificates tracked in the model
What happens when a controller is compromised? What other entities are affected by this?

For now not building a controller enrollment system. The existing identity infrastructure works (after some fixes to make sure chains are properly build and integrated with certs).


[SPARK-48804][SQL] Add classIsLoadable & OutputCommitter.isAssignableFrom check for output committer class configrations

What changes were proposed in this pull request?
This pull request proposed adding a checker for class values provided by users in spark.sql.sources.outputCommitterClass and spark.sql.parquet.output.committer.class to make sure the given class is visible from the classpath and a subclass of org.apache.hadoop.mapreduce.OutputCommitter
Why are the changes needed?

Ensure that an invalid configuration results in immediate application or query failure rather than failing late during setupJob.
Does this PR introduce any user-facing change?

no
How was this patch tested?

new tests
Was this patch authored or co-authored using generative AI tooling?
no

Thank you @dongjoon-hyun
Merged to master


Add SessionID custom claim to JWT

This adds an additional custom claim, "SessionID", to our access and refresh tokens.
This custom claim is used in upcoming work in Sensu 6.

Not storing full JWTs, but essentially storing the last refresh tokens' unique ID (JTI field) for a session so that we can prevent token reuse attacks and "invalidate" refresh tokens on the server side.


[FileAccess] Implement resize method.

Implements https://github.com/godotengine/godot-proposals/issues/6776 / https://github.com/godotengine/godot-proposals/issues/9467

Thanks!


[vm] Misleading stack traces in product mode

Consider the following test:

void foo() async {
  await foo2();
}

void foo2() async {
  await foo3();
}

void foo3() async {
}

void bar() async {
  await bar2();
}

void bar2() async {
  throw 'error';
}

main() async {
  await foo();
  await bar();
}

Running it on the standalone VM built in product mode produces the following stack trace:
tools/build.py -a x64 -m product runtime
out/ProductX64/dart foo.dart

Unhandled exception:
error
#0      bar2 (file:///.../foo.dart:18:3)
#1      _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:55:6)
#2      bar2 (file:///.../foo.dart:17:10)
#3      bar (file:///.../foo.dart:14:9)
#4      _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:55:6)
#5      bar (file:///.../foo.dart:13:9)
#6      main (file:///.../foo.dart:23:9)
#7      _RootZone.runUnary (dart:async/zone.dart:1450:54)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#10     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#11     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#12     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#13     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#14     foo (file:///.../foo.dart)
#15     _RootZone.runUnary (dart:async/zone.dart:1450:54)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#22     foo2 (file:///.../foo.dart)
#23     _RootZone.runUnary (dart:async/zone.dart:1450:54)
#24     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#25     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#26     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#27     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#28     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
#29     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#30     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#31     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#32     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

The fact that stack trace mentions foo (#14) and foo2 (#22) is very misleading as they are not callers of bar which raised the exception.
This behavior is only visible in product mode because causal_async_stacks flag is disabled in product mode.
For comparison, the following is printed by the VM in debug/release mode or with --causal_async_stacks:
#0      bar2 (file:///.../foo.dart:18:3)
#1      bar (file:///.../foo.dart:14:9)
#2      main (file:///.../foo.dart:23:9)
<asynchronous suspension>
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:301:19)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

The following is printed with --lazy_async_stacks:
#0      bar2 (file:///usr/local/google/home/alexmarkov/work/dart/sdk/foo.dart:18:3)
#1      bar (file:///usr/local/google/home/alexmarkov/work/dart/sdk/foo.dart:14:9)
#2      main (file:///usr/local/google/home/alexmarkov/work/dart/sdk/foo.dart:23:9)
<asynchronous suspension>

We might consider enabling --lazy_async_stacks or --causal_async_stacks by default in product VM to fix this issue.
/cc @rmacnak-google @mkustermann @cskau-g

We might consider enabling --lazy_async_stacks or --causal_async_stacks by default in product VM to fix this issue.

That has been the plan all along. There are a few missing pieces that we'd like to do first. @cskau-g is going to drive this.


Digest consolidation

Hello,
Here's the Digest consolidation as promised in #4021 :)
The original MD5 implementation used a public Context class and a private ContextImpl struct. I guess the original creators intention was to save a memory allocation in the non-yielding digest methods, and use memory allocation only for the yielding digest methods.
After a discussion in IRC, we came to the conclusion to further improve upon it by make it not use any dynamic memory allocation. As this is not the first time I needed something like this (And likely, others did too), we agreed to put a generic wrapper into the stdlib, called ValueRef(T). This wrapper basically mimics a C++ variable reference.
I'm eager to hear y'all opinions, if this is ok, or if the ValueRef(T) should not be there at all, or be part of its own PR :)
(Side note: with that there are now 5000 stdlib unit tests. Yay)

Maybe dropping the block form would be simpler?

The block form allows one to calculate a hash of large data easily, without having everything in memory. Use-case would be hashing large files.

I'm not entirely sure about the current design of digest. Providing only the block form is not good, we should provide a way to create a digest, maybe store it in an instance variable and update it as data comes. For this we need to use a class. But writing @digest : ValueRef(Digest::MD5::Context) is not very nice. I think we should just make Digest::MD5::Context a class, without having a structure. Later the compiler could remove this extra allocation with escape analysis. But we shouldn't complicate the design of the standard library because of this small allocation.

But writing @digest : ValueRef(Digest::MD5::Context) is not very nice.

That would've been inherently unsafe too, ValueRef wasn't intended to be stored.

Later the compiler could remove this extra allocation with escape analysis.

Ah, that sounds really good! In that case, I don't have much qualms about using a class there "for now", when the compiler will get rid of the expensive parts "later on" anyway.

But we shouldn't complicate the design of the standard library because of this small allocation.

Agreed.
Latest changes: Removed ValueRef again and renamed the ContextImpl structs to class Context

I'm also not sure we should design this in a PR. For example there's no reason to use a generic module here.
We'll some time in the future design this and get back to this.

So while we wait for the CI to finish, the current PR contains:

Renamed Crypto::MD5 to Digest::MD5
Moved the class methods from MD5 and SHA1 into Digest::Base (#digest, #hexdigest, #base64digest, each with and without yield)
Both MD5 and SHA1 inherit from Digest::Base
MD5 and SHA1 have their logic right in the class, and not in a ContextImpl sub-struct
The Context class has been removed and basically replaced by the classes themself

Merged, thanks for the contribution @Papierkorb!


A way to prevent 'patch does not apply' problems

If build instructions make a change to the files added from git mapping, then on next rebuild of the image werf will not be able to apply patch to these files, because files has been changed by build instructions and does not match state recorded in the git commit.
There should be some mechanics in the werf to prevent and detect such changes.

Related issue: https://github.com/flant/werf/issues/752


Suggestion: Filtering by Country

I'd like to implement a filter on my firewall based on the geo location of the origin.
I'd like to have a folder structure with each country being a folder and underneath the files for IPv4, IPv6, etc. so I can selectively chose which origin to allow.

Hi @celebrir
For your case I would recommend to use origin IP feed and extract from it the desired countries.
I don't have plans to implement this feature in the near future but PRs are always welcome

I think you can easily categorise these in the provided JSON files


Change baw.ecosounds.org subdomain

Despite the sheer irrelevance we need to change the sub-domain
Work items:

[ ] DNS update
[ ] Settings files?
[ ] Hard coded files?
[ ] Others?

@cofiem help?

Also need to check in other repos, including private repos.

See https://github.com/QutBioacoustics/baw-private/issues/80


Evaluate and test APIs

Music & Metadata API
Spotify ✅
iframe for player embed

https://developer.spotify.com/documentation/embeds/references/iframe-api
Allows for basic player interaction (pause, play, load)
Can play Spotify music tracks if user is logged in to Spotify

Track search

https://developer.spotify.com/documentation/web-api/reference/search

Music Lyric API
Genius ✅
Does not supply the actual lyrics - can easily be scraped from the webpage however
I have figured out how to pull the full lyrics and user created annotations for the song with genius's embed script. This embed is not in an iframe so we have full control over its content
! May be useful to bridge the gap between song title and spotify track ID
Note: Using the HTTP Authorization header is currently broken. Place the API key into the access_token URL parameter instead
Musixmatch
Only supplies 30% of the song lyrics
Can be used as a fallback if we absolutely have to
Spotify
Not supplied
OpenAPIHub TapTab Song Lyrics
https://hub.openapihub.com/en-us/v/taptab-5lfc7/api/song-lyrics-au16a/readme
Seems to work, but need to test library size and available calls per month
Lyrics.com
https://www.lyrics.com/api.php
Registering for an API key may not work or be too slow
I have sent a request for an API key to be issued. We can use this as a backup if our other API fails for some reason

APIs have been decided. Spotify for the music and Genius for the lyrics.
OpenAPIHub and Lyrics.com for emergency backups in case Genius stops working for any reason


HamburgerMenu Themes

Not necessarily an issue, but more of an enhancement request - it would be great to be able to apply themes to the HamburgerMenu control similar to those found for the Flyout control:

Inverse
Accent
Dark
Light
Adapt

In the meantime, is there an easy way to get an InverseForegroundColorBrush or InverseBackgroundColorBrush to use with the control?

I think this would be too much. The upcoming 1.5.0 has 2 new brushes to handle the background and foreground for the items.

@punker76 just updated to the latest pre-release; 👍 for the brush for look of the HamburgerMenu with the new BackgroundBrush - it looks great, and helps distinguish the HamburgerMenu from the rest of the window


Releasing fermipy 1.3.1

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

❌ requirements: run: numpy>=1.16 must contain a space between the name and the pin, i.e. numpy >=1.16
❌ requirements: run: astropy-base<=6 must contain a space between the name and the pin, i.e. astropy-base <=6
❌ requirements: run: matplotlib-base>=3.3 must contain a space between the name and the pin, i.e. matplotlib-base >=3.3
❌ requirements: run: scipy<1.12 must contain a space between the name and the pin, i.e. scipy <1.12
❌ requirements: run: gammapy>=1.0 must contain a space between the name and the pin, i.e. gammapy >=1.0

For recipe/meta.yaml:

ℹ noarch: python recipes should usually follow the syntax in our documentation for specifying the Python version.

For the host section of the recipe, you should usually use python {{ python_min }} for the python entry.
For the run section of the recipe, you should usually use python >={{ python_min }} for the python entry.
For the test.requires section of the recipe, you should usually use python {{ python_min }} for the python entry.
If the package requires a newer Python version than the currently supported minimum version on conda-forge, you can override the python_min variable by adding a Jinja2 set statement at the top of your recipe (or using an equivalent context variable for v1 recipes).

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12400448991. Examine the logs at this URL for more detail.


change proposalFetch to a hook instead of serverside

fixed by https://github.com/nance-eth/nance-interface/commit/2c4be622840cab2a112e11ee012ffce5795aeab5


Branch for 3.0alpha release installation tweaks and bug fixes

This is a draft PR for accumulating bug fixes identified during the 3.0 alpha release phase.

@lstein
is this a typo?
line 329  vae_path = 'models/core/convert/se-vae-ft-mse' in migrate_to_3.py


Course prerequisites

With this PR:

Courses can be assigned prerequisites
Registration for a session will only be allowed if a student has the necessary prerequisites
If a student still needs to take one or more of the prerequisites, buttons will be displayed for each prerequisite

where an upcoming session is scheduled for a prerequisite, its button will be active

The upcoming classes list on the Programs page will list prerequisites associated with the class for the session

This partially addresses #816. The outstanding item needed to close this out is related to the Courses list on the Programs page, will comment on the issue with details.

@karbassi  I have added the prerequisites to the class view templates for the guardian and public views. I didn't think it made sense for the mentor view—don't want to have someone think they can't mentor a class before mentoring for a prerequisite class. If you don't agree with this let me know and I'll add it to the mentor's class view template as well.


Using Gloss in Share Extensions?

Has anyone had any issues submitting an app extension that uses Gloss? I want to use Gloss in my share extension but I am currently seeing linking against a dylib which is not safe for use in application extensions warnings

Please follow this issue: https://github.com/hkellaway/Gloss/issues/242

FYI my issue has nothing to do with #242 . To resolve it I had to navigate to the gloss target within the cocoapods project and set Require Only App-Extension-Safe API to true.
Refer to https://github.com/CocoaPods/CocoaPods/issues/5373 for more information

sorry my mistake. thanks for sharing the fix!


[Support]Installing homebridge plugin on debion os

Hi,
thanks for creating this plugin for community it is real helpful
i'm trying to get it working on windows pc but it dint work so thinking to install an debion os on my intel comupte stick and install homebride on it
do you thing will it work?
also i'm facing issue to install homebridge in debion os its giving me following error
The following information may help to resolve the situation:
The following packages have unmet dependencies:
homebridge:amd64 : PreDepends: make:amd64
E: Unable to correct problems, you have held broken packages.
thanks in advance

Hi @atulkapadiya in this plugin's current state it does not work on Windows sadly.
Debian is a linux based OS from memory, so in theory this plugin should work for it but I do not know if any users currently running it for this plugin (does not mean that they are not though!)... I would suggest you get Homebridge itself working first, considering I do not have anything running Debian, I cannot try my own test rig for you and help guide you through it; I am also very low on spare time with my 4 month old twins going through a sleep regression.
So, I would strongly suggest some googling of getting Homebridge running on Debian first, I think the Homebridge subreddit could be a good place to start or even ask questions and once you have that up and running, we can see if you have any issues with this plugin :)

Hi Mitch,
Thanks so much for your previous reply! I managed to get Homebridge installed, and it’s up and running now. I also installed both plugins following your guide, but I’m encountering an issue when setting up your plugin.
The error message I’m getting is:
ERROR: no Cmd4 Config found in "/var/lib/homebridge/config.json"! Please ensure that Homebridge-Cmd4 plugin is installed.
I have double-checked, and the Homebridge-Cmd4 plugin is installed. However, it seems like there's an issue with the configuration in the config.json file. Could you please guide me on how to properly configure the plugin in this file or let me know what I might be missing?
I really appreciate your help, especially given how busy you must be with your 4-month-old twins. I know how challenging sleep regression can be, so thanks for taking the time to respond earlier. Any assistance you can offer would mean a lot!
Best regards,

hi mitch,
dont worry i managed to get it working by manually editing config file
so its working but showing so many swtiches just need to config properly to use less switch
do you have any easier way to do it?
please see attahched all the swithches it came under list of devices

thanks

ERROR: no Cmd4 Config found in "/var/lib/homebridge/config.json"! Please ensure that Homebridge-Cmd4 plugin is installed.

Sorry I did not get back to you quick enough but nice job working it out yourself :) some users with slightly different setups do face this issue, there are a few closed issues on the matter, but you should be all sorted now on that front!

but showing so many swtiches just need to config properly to use less switch

Yep, so what we have here is the full setup up of everything your E-zone/MyPlace/MyAir app will have. You would want to have the zone Switches at a bare minimum (you set these as Fans instead if you like from the Config Creator), but I assume you are not wanting the Switches to set myZone and maybe the Timer?
The config is actually completely customisable (you could strip it down entirely to just be the Thermostat accessory if you wanted!), but we found a lot of users struggled with it so we put together the Config Creator to just make a config for the user based on their system. In my Wiki, I cover all of the options here, where you can give it a go of deconstructing your config into a smaller form you might like better. The removal of parts of it would be quite simple, as long as you keep track of your brackets (can always run it through a json checker online to be sure). If you find you get stuck you can post your config here and what you don't want in it anymore and I can fix it for you... Just remember if you use the Config Creator again it will wipe these changes (updating the plugin won't touch it though)!


add alerting for build failure

We should get an email if the build fails.

pkgsite has an alert for this. The project is "go-discovery".


Self-contained .NET

Summary of the Pull Request

Make all C# project self-contained
Add .NET libs to the installer and custom actions to create hard-links for these libs where needed
Rework preview handlers and thumbnail providers - add c++ preview handlers and thumbnail providers which spawn C# processes and do the same logic as original C# preview handlers and thumbnail providers

TODO:

~cleanup files (only C# *Control files are needed, *Handler ones are not (like MonacoPreviewHandler.cs), delete them)~ DONE
~prefix new dll names with PowerToys.~ DONE
~add to signing list~ DONE
~Add new processes to kill list~ DONE
add dll info (.rc files)
Installer bug? Uninstall fails
Improvement: How to initialize IThumbnailProvider with IInitializeWithFile
Publish everything for dotnet self-contained ?
dotnet self-contained for arm64
Update src/module/previewpane/README.md
~Use MSBuild -t:restore -p:RestorePackagesConfig=true /p:Platform=<platform>  for PowerToys.sln (only) in CI instead of nuget restore . With nuget  property causes build faliures  because nuget assumes AnyCPU as platform~ DONE

PR Checklist

[ ] Closes: #xxx
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

I wonder if Monaco can load faster like this

I wonder if Monaco can load faster like this

Doubt. It'll probably be a bit slower

I wonder if Monaco can load faster like this

Doubt. It'll probably be a bit slower

😕. Well as far as I remember the standalone Application of Monaco was alot faster then in the preview pane, because it has some less restrictions. Maybe in the end the performance will stay the same.

I've just given this a test. Everything seems to be working well, except for SVG preview and Thumbnail providers

Great work! Huge changes here!

Any specific codeblock you might want me to look more closely at?

Most of the changes are pretty much generic so thorough testing should be enough

/azp run


"Request-URI Too Long"

When trying to download google documents the following is returned

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<title>414 Request-URI Too Long</title>

Request-URI Too Long

The requested URL's length exceeds the capacity
limit for this server.

How can this be avoided without reconfiguring Apache?

Not a request issue, @lagleki try posting your question to stackoverflow.


Improve auto-generated review screen w/ better visual separation of sections being edited

T&P 48

See https://github.com/SuffolkLITLab/docassemble-AssemblyLine/issues/60

Some of these fixes were made upstream; closing for now.


enable the keyword "this" in actioncreators when it is an object

when actioncreators is an object , i always need to use 'this' in an actioncreator function, but after using bindActionCreator , the keyword 'this' doesn't work

Not really seeing a reason to change anything here.  The recommended approach is to define action creators as standalone functions, which would have no need to reference this.
Given the relative simplicity of bindActionCreators, it should be easy enough to copy and paste into your own project and tweak it for your own needs.


bos command run on startup

Hello,
is there a way to run some command on the startup of the docker? e.g.
bos telegram --connect<PHONE_NUMBER> 1> /tmp/bos.log 2>&1 & disown
to connect telegram bos and run it in the background? It would be best if the upgrade did not override this setting.
Thanks in advance.

Ok I found out, that after restart even API key was deleted. Can this be saved in any way?

I'm doing it this way:
tmux
This starts a tmux session.
You can run any command from there and when you run tmux detach, the command stays running in a shell you can connect to at any time by tmux attach

Does tmux solve previously stated problems?
-node reboot
-automatic startup telegram connection within lightning shell

Hey @JMskch. Very good point. For now you could do it by editing /start.sh, which is the script that gets run when the container starts. That will of course be overriden by updates though... I'll add a way to make it stay (by having start.sh call another script that stays in your data/ directory). But until the next update, this is the way to go.
 There is no start.sh in Lightning Shell, only in usocial. I am working on 2 Umbrel apps in parallel and sometimes confuse the two. :)
So no, you can't do it for now. Unless you rebuild the Docker image yourself.

 There is no start.sh in Lightning Shell, only in usocial. I am working on 2 Umbrel apps in parallel and sometimes confuse the two. :)
So no, you can't do it for now. Unless you rebuild the Docker image yourself.

@JMskch Added this feature in v0.1.7 https://lightningshell.app/history/#v0.1.7
Either wait for the official Umbrel update, or upgrade Lightning Shell yourself to v0.1.7.

That was fast, many thanks.

Hi @ibz, how to run commands for connecting bos telegram? when I use cli commands, which normally works like
printf '%s\n' "9823545168:HHUJHhP8Io8P95495LPb656ra7Q8Jc" | timeout -s SIGINT 20s bos telegram --reset-api-key
bos telegram --connect<PHONE_NUMBER>  1> /tmp/bos.log 2>&1 & disown
I tried many different commands...things like changing shebang and so on, but I cannot make it work.
on_start.sh seems executing...tried with basic command echo to file, which worked on docker restart.

I haven't tried running the telegram bot myself, so I can't answer this, but I will reopen this issue and hopefully somebody will reply.

I'm also struggling with it, actually. Did you end up figuring it out @JMskch ?

I haven't tried running the telegram bot myself, so I can't answer this, but I will reopen this issue and hopefully somebody will reply.

To clarify for @ibz ... the on_start.sh script does not resolve this issue. The problem is, BOS normal behavior is to retain the API key between reboots. For some reason, the LightningShell container is not remembering the API key after reboot. This is a problem, because BOS initiates API key through an interactive prompt which cannot be scripted (i.e. on_start.sh won't work).
If that is fixed, then BOS connection could be automated with on_start.sh. BOS telegram bot is probably one of the most popular things to run on an LND node. (It's the only way I know of, to be notified of node activity). It would be really sweet if this worked on LightningShell, because it would save lots of Umbrel users the hassle of installing BOS manually. That said... sorry, I can't say what cause might be.

I have now once again run into this issue - ln-shell forgets the api key on reboot.
@ibz any ideas on why this could be, or strategies we could use for a fix or workaround for this?


Test library errors when using kong.Response.Exit

I just gave the new test library a try and ran into an issue where a call to kong.Response.Exit in the plugin can cause errors in the testing library.
$ go test ./... -v -count=1
=== RUN   TestPlugin
    test.go:573: Access
    test.go:573: Access
    test.go:573: Access
    test.go:240: Can't read method name
    test.go:240: Can't read method name
    test.go:573: Access
    test.go:240: Can't read method name
    test.go:573: Access
    test.go:240: Can't read method name
--- FAIL: TestPlugin (0.00s)
FAIL
FAIL    plugintest      0.005s
FAIL

Occasionally it also produces a panic when running the test repeatedly:
$ go test ./... -v -count=1
=== RUN   TestPlugin
    test.go:573: Access
    test.go:573: Access
    test.go:573: Access
    test.go:240: Can't read method name
    test.go:240: Can't read method name
    test.go:573: Access
    test.go:240: Can't read method name
    test.go:573: Access
    test.go:240: Can't read method name
--- FAIL: TestPlugin (0.00s)
panic: Fail in goroutine after TestPlugin has completed

goroutine 50 [running]:
testing.(*common).Fail(0xc000102780)
        /usr/lib/golang/src/testing/testing.go:697 +0x125
testing.(*common).Errorf(0xc000102780, 0x88abac, 0x16, 0x0, 0x0, 0x0)
        /usr/lib/golang/src/testing/testing.go:803 +0x93
github.com/Kong/go-pdk/test.TestEnv.Errorf(...)
        /home/cyrill/tools/golang/pkg/mod/github.com/!kong/go-pdk@v0.7.0-beta1.0.20210526164613-49a95960d27c/test/test.go:240
github.com/Kong/go-pdk/bridge/bridgetest.MockFunc.func1(0x9126f0, 0xc000312080, 0x90a1f8, 0xc00030e000)
        /home/cyrill/tools/golang/pkg/mod/github.com/!kong/go-pdk@v0.7.0-beta1.0.20210526164613-49a95960d27c/bridge/bridgetest/bridgetest.go:124 +0x267
created by github.com/Kong/go-pdk/bridge/bridgetest.MockFunc
        /home/cyrill/tools/golang/pkg/mod/github.com/!kong/go-pdk@v0.7.0-beta1.0.20210526164613-49a95960d27c/bridge/bridgetest/bridgetest.go:117 +0x65
FAIL    plugintest      0.008s
FAIL

Here is a minimal example to reproduce the issue:
// main.go
package main

import (
	"net/http"

	"github.com/Kong/go-pdk"
	"github.com/Kong/go-pdk/server"
)

type Config struct {
}

func New() interface{} {
	return &Config{}
}

func (conf Config) Access(kong *pdk.PDK) {
	kong.Response.Exit(http.StatusUnauthorized, http.StatusText(http.StatusUnauthorized), nil)
}

func main() {
	server.StartServer(New, "v0.0.1", 0)
}

// main_test.go
package main

import (
	"testing"

	"github.com/Kong/go-pdk/test"
	"github.com/stretchr/testify/assert"
)

func TestPlugin(t *testing.T) {
	for i := 0; i < 5; i++ {
		env, err := test.New(t, test.Request{
			Method: "GET",
			Url:    "http://example.com?q=search&x=9",
		})
		assert.NoError(t, err)
		env.DoHttps(&Config{})
	}
}

// go.mod
module plugintest

go 1.16

require (
	github.com/Kong/go-pdk v0.7.0-beta1.0.20210526164613-49a95960d27c
	github.com/stretchr/testify v1.5.1
)

Am I doing something wrong here? If I reuse the env and simply call env.DoHttps(&Config{}) within the loop, the error still appears although way less frequently (~1 out of 20 test runs). But in an actual plugin that I'm currently writing I have to create different env instances per subtest, since I need to test with a bunch of different client headers.

Thanks for the report!  kong.Response.Exit is a special case since it terminates early, and the test environment has issues with the unexpectedly-closed pipe.  The errortrace is useful too.

Hi @javierguerragiraldez, I came across a similar issue as this one (let me know if I should open another issue instead of commenting here).
kong.Response.ExitStatus does not include any headers in the kong_plugin_protocol.ExitArgs and as such, the envState is not marked as finished here. My current workaround is to use kong.Response.Exit instead.

let me know if I should open another issue instead of commenting here

please do, this one is closed.   your case seems different too.


Make sticky component fit into container?

Hello!
I wonder how it's possible to implement https://react.semantic-ui.com/modules/sticky/#types-adjacent-context inside a container without overlapping it.
I'm trying to implement the https://codepen.io/othbert/pen/MOWBja solution provided but in React.
Representation of the problem:

Thanks!

Please use Stackoverflow for questions, we have a dedicated tag there: https://stackoverflow.com/questions/tagged/semantic-ui-react
If this issue is a bug report, please fill it fully.


Generate the release cycle span based on the Firefox Trains API instead of the wiki page

Fixes #1903
Checklist

[x] Type annotations added to new functions
[x] Docs added to functions touched in main classes
[x] Dry-run produced the expected results
[ ] The to-be-announced tag added if this is worth announcing

Dry-run
2023-02-24 08:21:28,452 - INFO - Run tool missed_uplifts.py
2023-02-24 08:21:59,412 - INFO - Tool missed_uplifts.py has finished.

The following bugs have been fixed in nightly but still affect other supported channels:

BugPrioritySeverityAffected versionsApprovalsSummary

1817422

P3

S4

110, 102

[Linux] Always open similar files check mark is not displayed in about:downloads

1812939

--

S3

111, 110, 102

PiP controls are not removed after adjusting subtitles font setting

1658986

--

S2

111, 102

Crash in [@ mozilla::layers::NativeLayerCA::NotifySurfaceReady]

1818198

P1

S4

111, 110

Do not record credit card form detected event telemetry when the form is not considered as a valid cc form

1813877

P2

S2

111, 110

beta?

[a11y] Page name/URL isn't announced when swipe of the navbar is performed (switching tabs)

1811751

--

S3

111, 110

Estimated reading time disappears on page reload

1807369

P2

S2

111, 110

[a11y] Talkback does not mention "Learn more" as a hyperlink in the Pocket section

1807260

P3

S3

111, 110

Setting Windows to open a file Firefox can't open with Firefox (e.g. epub) causes a loop continuously opening infinite new tab pages

1817842

--

S4

111

beta?

"Add Security Exception" display problem

1817263

P2

S2

111

Display capture under Wayland should use a unified picker for any type of capture

1816574

--

S3

111

Hang with multicol and fuzzer testcase

1816433

--

S2

111

The Use Nimbus Preview Collection toggle does not work anymore

1813407

P2

S3

111

[Wayland] Portions of the protections panel are disappearing

1804794

--

S3

111

Assertion failure: !mNextPageContentFramePageName (PageContentFrame page name was already set), at /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.h:302


Benchmark

It seems that the first results of the benchmark are not satisfying.
Multiple runs over 4 different experiments lead to around 50% slower execution of mlx_gpu compared to pyg_cpu on GCNConv and GATConv 🤔

@TristanBilot That's quite interesting. But if I remember correctly, there are still some inefficiencies in convolutions in mlx (up to -70% wrt mps) - can it be due to that?

I don't think it has something to do with convolutions, as we're not using them here. I will check further if it's coming from scatter.

Great! That's quite a good finding though, probably worth exposing to mlx.

I still didn't find the root cause of the performance bottleneck. I did some experiments with scatter_add, and there is not a huge difference between the torch_scatter and ours from mlx which runs on gpu. This may be a first clue. I will add comprehensive benchmarks of scatter operations on Monday.

FWIW: I'm getting similar results also on my M3. Also interesting how mps is the slowest.

Nice, interesting indeed.
I just made this issue, Awni told me it could certainly optimized as the default scatter operations are not made for the situation where we have many indices and messages and few outputs nodes.

@TristanBilot note that I believe torch_scatter doesn't run on mps - so it may be worth testing against (torch.scatter)[https://pytorch.org/docs/stable/generated/torch.scatter.html].

Ok I'll test that. Anyway, mps is not enough stable to be used in real GNN projects with PyG, so it will be just indicative. The real comparison is between MLX GPU and torch CPU.

@TristanBilot can you sync this with the main branch and move the benchmarks into the new benchmarks folder? Then I think this can be safely merged and we can iterate later as the performance of mlx improves.


Show XML view and download functionality for any activity

Currently XML is generated when an activity reaches the published state of the workflow. The xml is generated into the file to be published to IATI registry and is not available for every activity individually. This is inconvenient for users who want to view xml for the activity they are working on. So with this feature, users will be able to view and download xml for every activity, individually, at any state of the workflow.

This issue has already been implemented into AidStream.


Extend EQDSK interface to output B0

Result
Python routines that evaluate

Magnetic field in R,Z
R,Z for given s, theta_geom
Combination to get B(s,theta_geom)

Think about how to separate or combine EQDSK RZ and flux coordinate (Boozer) modules/classes.

@krystophny issue already exists.


fix: Handling DecryptException in JavascriptInputValue

Sometimes a Illuminate\Contracts\Encryption\DecryptException is being thrown when trying to decrypt the $value being passed to checkValue.
Therefore, I have handled the exception. Nothing special just returning false if that exception is thrown so that we don't crash the application for no reason.
Here is the stack trace of the error
Illuminate\Contracts\Encryption\DecryptException The payload is invalid.
    vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:214 Illuminate\Encryption\Encrypter::getJsonPayload
    vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:151 Illuminate\Encryption\Encrypter::decrypt
    vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353 Illuminate\Support\Facades\Facade::__callStatic
    vendor/lukeraymonddowning/honey/src/InputValues/JavascriptInputValue.php:18 Lukeraymonddowning\Honey\InputValues\JavascriptInputValue::checkValue
    vendor/lukeraymonddowning/honey/src/Checks/JavascriptInputFilledCheck.php:32 Lukeraymonddowning\Honey\Checks\JavascriptInputFilledCheck::Lukeraymonddowning\Honey\Checks\{closure}
    vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:738 rescue
    vendor/lukeraymonddowning/honey/src/Checks/JavascriptInputFilledCheck.php:32 Lukeraymonddowning\Honey\Checks\JavascriptInputFilledCheck::hasExpectedValue
    vendor/lukeraymonddowning/honey/src/Checks/JavascriptInputFilledCheck.php:21 Lukeraymonddowning\Honey\Checks\JavascriptInputFilledCheck::passes
    vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php:60 Illuminate\Support\HigherOrderCollectionProxy::Illuminate\Support\{closure}
    [internal] array_map
    vendor/laravel/framework/src/Illuminate/Collections/Arr.php:558 Illuminate\Support\Arr::map
    vendor/laravel/framework/src/Illuminate/Collections/Collection.php:777 Illuminate\Support\Collection::map
    vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php:61 Illuminate\Support\HigherOrderCollectionProxy::__call
    vendor/lukeraymonddowning/honey/src/Honey.php:61 Lukeraymonddowning\Honey\Honey::check
    vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353 Illuminate\Support\Facades\Facade::__callStatic
    vendor/lukeraymonddowning/honey/src/Http/Middleware/PreventSpam.php:14 Lukeraymonddowning\Honey\Http\Middleware\PreventSpam::handle

Also, mentioned here https://github.com/lukeraymonddowning/honey/issues/39

Sorry for the delay on this.


android new go toolchain not avail

What is the issue?
maybe new version comes soon
go: downloading go1.23.4 (android/arm64)
go: download go1.23.4 for android/arm64: toolchain not available
OS
Linux
GPU
Other
CPU
Other
Ollama version
0 git today

Same issue started with me with ollama since yesterday.

i got good news
the fix seems simple
edit line 3 i  ./go.mod from 1.23.4 to 1.23.2
then try go build .
it may say u need two libs
it will say .. run cmds ..
go mod download golang.org/x/net
go mod download gioui.org/cpu
then it compiles ./ollama

Fails to compile. Gives the following error: make: *** No targets specified and no makefile found.  Stop.
llama/llama.go:3: running "make": exit status 2

dont run go generate .. do go build
alternatively , try running my compile script
i just ran it and it ran well ..
http://0x0.st/XCTv.sh

Just run go build and it should work. I'll close out the issue. cc @dhiltgen

Just run go build and it should work. I'll close out the issue. cc @dhiltgen

please its not finished
the issue is
go 1.23.4 is on android not available
only 1.23.2
and i gitted and its -not- fixed

( i dont know the github issues complete system )
but when ollama compiles then its closed fixed
yet nothing was done ..


More a question then an issue.

Sorry for posting here but unable to find the info elsewhere.
Thaumcraft and/or add-ons introduce shards that drop only from vanilla nether mobs.
Special mobs converts all nether mobs to non-vanilla variations.
Now, no more shards. What would be the best way to add them as a drop? I could not find a script to either add the shards to other mobs (in this case modifying the thaumcraft add on code) or making the special mobs drop shards (by tweaking special mobs code)
Thank you for your help. And again sorry for posting this here.

Mob Properties might be what you're looking for.

While helpfull, and thank you, more so looking to be able to script in drops for mobs, either by adding drops to the mobs or specifying additional mobs that can drop an item.

Already attempted this, couldn't get it working, ALSO it is on the todo list for MINEtweaker, so I would say, just wait.

Thank you. I did search their but must have missed it.
I will quietly wait. :)


How to use ever the latest version of node?

I want ever use the latest version of node to test if my library continue work or if there problems with the current node version. I have try:
node {
   version = '+'
}

but this is failing with:
A problem occurred configuring root project
> For input string: "+"

How can I do this?

It's not possible to do this yet. Since the plugin uses directly the download URL's for node it's not actually a maven repository so it does not have any meta-data.


Link contribute to footer 😇

oh, I forgot if we can link contribute to footer 😇
Originally posted by @yangwao in https://github.com/kodadot/nft-gallery/issues/2644#issuecomment-1077558235

well, i can do this task.


fix(getDMMF/getConfig): Unset NodeAPIQueryEngineLibrary after use

Playing around with https://github.com/prisma/prisma/issues/9184

Is this fixing something?

Ok, got it, thanks!

Doesn't work.


Automatically install all of our pre-built extensions

Automatically install our extensions built as debian packages when we install php.
This will allow the users to only have to enable them by adding a custom php.ini file rather than forcing them to create a Dockerfile.

So just clarifying, this will allow the extensions to be installed with a custom ini?

When the new runtime is released, yes. I'll create a new release when it's available (hopefully today).

@jaitaiwan This is released. Official docs are still being worked on.

Cheers @chingor13. I just pulled the latest docker image to test. Are the extensions being placed in a non-std folder? I get this error message when I try it: PHP Startup: Unable to load dynamic library '/opt/php71/lib/x86_64-linux-gnu/extensions/no-debug-non-zts-20160303/phalcon.so'

The phalcon project only currently supports PHP 5.5, 5.6, and 7.0 - so it's only available for app engine flex on 5.6 and 7.0. You can specify your PHP version in your composer.json file.


Refresh the Component

Whilst you are building out the Indicators it would be good to be able to have a Refresh button so you don't have to refresh the full page every time.

In #85

Added to Documentation


[FLINK-2654][flink-java] Add JavaDoc to ParameterTool class

Link to the Issue:
https://issues.apache.org/jira/browse/FLINK-2654

Thanks a lot for adding the Javadocs to the class. Good work!
I have some comments in the diff.

The default indentation was switched to space rather than tab in my IntelliJ. It is fixed now.

Thanks for the update. Good to merge.

will merge this


[DoctrineMigrations] Replace arachne/event-dispatcher with symplify/event-dispatcher

I am using package tomas-votruba/independent-single-action-presenter which requires symplify/event-dispatcher to work, but together with arachne/event-dispatcher there is a conflict, causing this type of message for any migrations command: Migration version<PHONE_NUMBER>2822 already registered with class Doctrine\DBAL\Migrations\Version
Solution is either replace event-dispatcher implementation to unify it or add some check if version is not registered yet.

Does it actually require to have any dispatcher?
I think it might be dropped, because we removed that Subscriber for checking tabs/spaces.

Yeah, i have tried, but there are still some other parts dependent on event dispatcher, i will focus on replacing arachne's implementation with symplify package.

I have question to you, i forked whole Symplify/Symplify to Lexinek/Symplify, but how can i set dependency in my composer json to take dependency for Symplify/DoctrineMigrations?
By default, i would do this:
 "repositories": [
      {
            "type": "vcs",
            "url": "https://github.com/Lexinek/Symplify"
        }
    ]

But as this is monorepository, it is my first time to fork/work with it, do you have any advices how can be that done?

I will answer you later from laptop.
Just FYI, I'm thinking of deprecating this package over Phinx: https://github.com/robmorgan/phinx
I don't believe Doctrine Migrations is wise to use in long term.

Okay. Only reason i am not using Phinx yet is that migrations:diff command generates diff for me automatically and i do not have to do it myself - if there was support for this kind of functionality, i would instantly use it.

What service does it this command use? @enumag had the same argument, so maybe we could simply create a bridge for phinx

I will pay attention to this later, already spent alooooooot of time on this today :-).

The command migrations:diff is not really needed because orm:schema-tool:update --dump-sql is doing pretty much the same thing. I want to integrate that with Phinx somehow but as I have other priorities right now one of you will probably beat me to it.
Thi problem with Symplify/EventDispatcher is that it is not lazy so it is comletely useless for applications depending heavily on events. The right course of action here is to deprecate it in favor of Arachne/EventDispatcher.

@enumag the problem is im testing https://github.com/TomasVotruba/nette-single-action-presenter on a real project and it has dependency on Symplify/EventDispatcher, so yes, the way is to unify it one or the other way.


Library is not downloadable as an rbxmx

The docs say Download the .rbxmx model file from the latest release on the Llama releases page., but that page is empty at the moment.

That's my bad, back when I created the release I was (and still am) a Git and GitHub noob, so I uploaded the .rbxmx artifact in what I believe is an annotated tag, and not a GitHub release.
I am a little more experienced now and one of the goals of the next major Llama update is to clean up this mess of a repository.


UI: reducing CPU usage from 13% to 4% when offroad

use std::sleep_for to accurately control the UI frequency.
usleep will be interrupted by a signal at any time, that will cause the UI freq to be very unstable and high. it will also cause the screen to go to sleep too quickly(less than 10s which is expected to 30s)

Added function sleep_for(milliseconds)  to replace usleep in other places later.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1406

Questions ?
Please refer to the Backport tool documentation


Port forwarding repeated failure on WSL 1.1.3

Windows Version
10.0.22000.1455
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
No response
Other Software
DDEV
Repro Steps
With WSL 1.1.0 (recently pushed to Store although marked as pre-release), port forwarding fails repeatedly.
Start Apache on the Ubuntu distro, and from Command Prompt on Windows, try to:
telnet localhost 80
It will work.
A few seconds later, repeat the telnet command and it will fail.
Port forwarding no longer works to connect to WSL Ubuntu's running services.
Expected Behavior
telnet command should keep working on the port.
Actual Behavior
telnet command will timeout.
On first try:
netstat -an | findstr /c:"80" | findstr /c:"LISTENING"
Shows port 80 as Listening.
After a few seconds, repeat the netstat command, the port is no longer listed.
This applies to any service running on WSL, and not just Apache.
Port forwarding fails after a few seconds of the service going up.
Restart apache "service apache2 restart". The port will appear on netstat. Wait 10 seconds and check again. It disappears.
Diagnostic Logs
No response

/logs please. I can not repro this. You mention two different versions in the bug. 1.1.3 and 1.1.0

I have a open bug with vscode could this be related? https://github.com/microsoft/vscode-remote-release/issues/8154#issuecomment-1459889181****

Recently, after upgrading the kernel, I encountered this problem when using WSL2:
When running docker images in WSL2 and starting Apache inside Docker, it prompts that port 80 is already in use, but using netstat -pant shows that port 80 is not in use.
After stopping IIS with iisreset /stop and entering Docker again, Apache can be successfully started. Moreover, there is no port occupation problem when starting IIS again.

Evidence below of WSL attempting to expose a port that is only open within the container (note no port exposed in docker command)
Steps to reproduce:
>wsl --shutdown

>netstat -ano | find "LISTENING" | find ":80"

>wsl -e echo "WSL started"
WSL started

>netstat -ano | find "LISTENING" | find ":80"

>wsl -e docker run -d nginx
ea266215b1c431023655824e8a980fe2161e3c55700a03466f924c4ba11e82f2

>netstat -ano | find "LISTENING" | find ":80"
  TCP    <IP_ADDRESS>:80           <IP_ADDRESS>:0              LISTENING       19820
  TCP    [::1]:80               [::]:0                 LISTENING       19820

>tasklist /fi "PID eq 19820"

Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
wslhost.exe                  19820 Console                    3      7,500 K

>curl http://localhost:80
curl: (7) Failed to connect to localhost port 80 after 2239 ms: Connection refused

>wsl -e curl http://localhost:80
curl: (7) Failed to connect to localhost port 80: Connection refused

# A short while later the port dissapears

>netstat -ano | find "LISTENING" | find ":80 "

>wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1574

@PaulBurridge-Nasstar WSL defaults to localhostForwarding=true. If you want to prevent <IP_ADDRESS>:80 from being shared with Windows set localhostForwarding=false in .wslconfig

Thanks that is helpful as a work around for my use case.
However this still should be fixed as it should not be publishing the internal port of docker containers, which will never work and will cause other issues such as breaking VSCode dev containers. (see https://github.com/microsoft/vscode-remote-release/issues/8154#issuecomment-1459889181****)
Also it is likely that some users need the forwarding on for WSL services but intend to use docker containers etc.
This issue is new to the latest release (since I recently updated) and did not occur before.

We also repro this issue in Windows Server 2022,
simple repro is to run az login which fails with 1.1.13 due to port forwarding not working, it succeeds when we roll back to 1.0.3

@PaulBurridge-Nasstar, Please open a new bug and post logs. It sounds like you're describing a different issue.
And when you do can you give me the output of ss -lntp from wsl? From both before and after the port disappears? Logs would also help me here. I'm surprised to hear the behavior your describing, because that's consistent with the behavior of 1.1.2, but not something I was able to reproduce with 1.1.3.
The way the relay is intended to work. IPv4 example: Guest listens on <IP_ADDRESS>:PORT or <IP_ADDRESS>:PORT. Agent on host listens on <IP_ADDRESS>:PORT, accepting connections, forwarding data to the service within the guest.

@ben-childs-docusign, I created a server sku vm. Installed 1.1.3 with ubuntu. I've never used az login before, but it seemed to work. I used az account list and it listed the groups I'm a part of.

Hi,
Logs are attached here, two of my other colleagues are also having the same issue (personal devices, so no corporate image etc.)
WslLogs-2023-03-07_12-41-51.zip
Downgrading to 1.0.3 resolves the issue.
When replicate the issue here I was using docker, with WSL2 backend enabled. I can confirm with netstat the port it not visible until the docker container starts. The issue is very reproducible.
Docker Desktop 4.17.0 (99724)

@Dune4, my point is. I don't have a repro. I saw no mention of docker on your original post. So I created an ubuntu distro, enabled systemd, installed apache2 on it, it seemed to work fine.
I'm happy to look into this! But you need to tell me what you're trying to do :( Do I doubt you're experiencing an issue? Nope. But, you've got to work with me and help me out here.
Can you show me what's exposed on the guest with ss -lntp that's not exposed on the host netstat -an | findstr /c:"PORT-NUMBER-HERE" | findstr /c:"LISTENING" ?
Thank-you

These are the ports I see being bound by the relay in the logs:

Hi @pmartincic
Apologies, I had already spent ages messing around trying to fix this and deleting containers and what not before I opened at the time. So this is more detail that in all honesty should have been in my initial post.
One thing I do want to out is that...restarting windows seems to solve this intermittently, if its broken, then I restart windows it may or may not come back okay,
I am using a few different contains to expose some ports for web development. The error I often see when this is not working is Error response from daemon: Ports are not available: exposing port TCP <IP_ADDRESS>:32792 -> <IP_ADDRESS>:0: listen tcp <IP_ADDRESS>:32792: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
No the key thing to note is that the error message here does seem to change the port number...so its the same error message but sometimes it may complain about 80 or 443 instead of 32792 as above....it almost feels like some sort of race condition.
For my development environment I am using DDEV (https://ddev.com/) which just save times provisioning the correct containers for me depending on the type of web project I plan to to use.
When testing today, in a working scenario I have logs here aswell attached. Are you able to compare the previous logs to these logs to see if anything sticks out?
WslLogs-2023-03-08_21-00-46.zip

Can you show me what's exposed on the guest with ss -lntp that's not exposed on the host netstat -an | findstr /c:"PORT-NUMBER-HERE" | findstr /c:"LISTENING" ?

I'm sorry, I've gotten routed elsewhere and won't be able to look into this for the time being.

az login redirect fails with 1.1.3 and 1.1.5.
Had to rolback to 1.0.3
Edition	Windows 11 Pro
Version	22H2
Installed on	3/10/2023
OS build	22624.1391
Serial number<PHONE_NUMBER>53
Experience	Windows Feature Experience Pack 1000.22639.1000.0

If anyone looking on how to downgrade:
To downgrade, just download the msixbundle from 1.0.3 release and run the following in an Admin Powershell where the file was downloaded:
$Package = Get-AppxPackage MicrosoftCorporationII.WindowsSubsystemforLinux
Remove-AppxPackage $Package
Add-AppxPackage .\Microsoft.WSL_<IP_ADDRESS>_x64_ARM64.msixbundle

To prevent windows from updating it on its own, disable "Receive updates on other microsoft products" in Windows Updates settings

still failing under <IP_ADDRESS>

This helps, at least minikube is starting now. Only issue is that then all "localhost" request are not resolved. This really need a fix, as it basically make minikube unusable :(

If you attach VSCode to the minikube instance VSCode's forwarding may work instead of WSL's? Not elegant but may work.

Maybe, but I reverted to 1.0.3 :/ hopefully it will get fixed soon !

I rolled back to 1.0.3 but this persists for me

I was on 1.0.3 for weeks and not having this issue. And now it's back. This is so frustrating! Does Microsoft even know that WSL is mainly used for development?!
This has been a nightmare and productivity sink, seriously considering going back to the real thing.

We have observed that this is fixed in the latest version of WSL 1.2.5


Support custom client provider

Description
This PR adds the ability for a user to specify and provide a custom client. It can be configured as
const config = new AptosConfig({client: { provider: myCustomClient }})

myCustomClient should be a function with the signature
async function myCustomClient<Req, Res>(requestOptions: ClientRequest<Req>): Promise<ClientResponse<Res>>

Also, added an example on how one can configure a custom client with both built-in fetch api and a custom npm package.
Note:
We will probably want to unify clientConfig and client on AptosConfig to something like
export interface Client {
  provider<Req, Res>(requestOptions: ClientRequest<Req>): Promise<ClientResponse<Res>>;
  config: ClientConfig
}
export class AptosConfig {
 readonly client: Client;
}

But that needs some more work and wanted to keep the scope of this PR light.
Test Plan
pnpm test

So, this is pretty nice, let's you drop in any client that you want, but then you still need the dependency for the original client that we have?

yes... I guess in another world, we could have avoid it by having the user specify if they use a custom client or the one SDK supports when they pnpm i sdk and then the sdk builds package.json on the fly and decides whether to include aptos-client dependency or not. It makes it a bit tricky


RIR Special Event item description needs edits

The RIR Special Event item (https://afmiedev.esri.com/arcgis/home/item.html?id=ba2409d6c1ef4fe08562dfbdded90081) needs edits. Change to:
Data to support the Incident Plan for the Richmond International Raceway special event.

Since we will recreate this content on NSEC, I am closing this issue.


Cannot pull the image: */snapshots/112/fs: no such file or directory

-bash-4.2# crictl pull *nn7-tensorflow1.13.1
FATA[0000] pulling image failed: rpc error: code = Unknown desc = failed to pull and unpack image "*": failed to unpack image on snapshotter overlayfs: failed to prepare extraction snapshot "extract-814557379-Dsfj sha256:c6d5b1be87babc93b410ae6b3277222290ca1269dad532524f8d66e6ad6eba87": failed to stat parent: stat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112/fs: no such file or directory

containerd: v1.2.4
kubelet: 1.12.3
The layer sha256:c6d5b1be87babc93b410ae6b3277222290ca1269dad532524f8d66e6ad6eba87's parent k8s.io/187/sha256:96042a7d8e056654a235735dc50e575ccd3af77b519e5992b4a229925e504808 still in the metadata.db
{Committed k8s.io/187/sha256:96042a7d8e056654a235735dc50e575ccd3af77b519e5992b4a229925e504808 k8s.io/185/sha256:610189825ab5bd5e45236f2d0926d86f6d82e593b21976e7019ca36742b6d121 map[] 2019-04-12 09:38:17.014874561 +0000 UTC 2019-04-12 09:38:17.014874561 +0000 UTC}

But the contents of this layer /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112 is deleted.
-bash-4.2# ls /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112
ls: cannot access /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112: No such file or directory

@Random-Liu

I did investigation about this case because I have this issue in our production. Just missing one layer snapshotter in few machine.  I still not find the way to reproduce this issue. It is environment issue probably. But we can keep eyes on this. Thanks for reporting.
@sofat1989

I had this issue on one node environment. Any idea on why this happens? It can scale new pods due to this error...

@memorais What was the version of containerd?

Is there any solution for this?

@fuweid any reproduction scenarios here or ideas?

@memorais @sowmiya1005 Could you reproduce the issue with containerd 1.5.x or 1.6.x? containerd 1.2.4 is really old and there are many changes since the version.

Any update, I am also seeing this on my cluster
Events:
  Type     Reason   Age                 From     Message
  ----     ------   ----                ----     -------
  Normal   Pulled   34m (x7 over 43h)   kubelet  Container image "registry.k8s.io/kube-scheduler:v1.24.6" already present on machine
  Warning  Failed   34m (x6 over 36m)   kubelet  Error: failed to create containerd container: failed to create prepare snapshot dir: failed to create temp dir: stat /data/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots: no such file or directory
  Warning  BackOff  33m (x13 over 36m)  kubelet  Back-off restarting failed container

I've been able to reproduce it (see https://github.com/rancher/rke2/issues/4961 for more information) but as a summary on how I reproduced it:

I deployed a rke2 cluster with 3x hosts
I deployed an alpine pod in one of those hosts (or the three of the via a daemonset with just sleep as cmd)
After the pod has been deployed, I killed the node via a kernel panic (sysctl kernel.panic=60; echo 1 > /proc/sys/kernel/sysrq; sleep 1; echo c > /proc/sysrq-trigger &)
When the node is up, the pod fails to be spin up:

46s (x8 over 2m11s)     Warning   Failed             Pod/alpine-nsp4g     Error: failed to create containerd container: failed to stat parent: stat /var/lib/rancher/rke2/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/214/fs: no such file or directory
31s (x9 over 2m12s)     Normal    Pulling            Pod/alpine-nsp4g     Pulling image "alpine"

After doing https://github.com/containerd/containerd/issues/2457#issuecomment-406948261, it seems to work:
# cd /var/lib/rancher/rke2/agent/containerd/
# ls
bin				  io.containerd.grpc.v1.cri	  io.containerd.runtime.v2.task		       io.containerd.snapshotter.v1.native     lib
containerd.log			  io.containerd.metadata.v1.bolt  io.containerd.snapshotter.v1.btrfs	       io.containerd.snapshotter.v1.overlayfs  tmpmounts
io.containerd.content.v1.content  io.containerd.runtime.v1.linux  io.containerd.snapshotter.v1.fuse-overlayfs  io.containerd.snapshotter.v1.stargz
# rm -Rf *
# cd /run/containerd
# ls
runc  s
# rm -Rf *
# systemctl restart rke2-server

closed by #9401
Thanks @e-minguez for debugging!

closed by #9401
Thanks @e-minguez for debugging!

Thank you for fixing it! :D


rename configmaps to match the csi type (rbd or cephfs), fix for 3652

Describe what this PR does
rename configmaps to match the csi type (rbd or cephfs)
This fixes bug https://github.com/ceph/ceph-csi/issues/3652
Related issues
Fixes: #3652

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

/retest all


Update key bindings

Use the default cursive keybindings in the individual OS config files.

Mac and Widnows specific meta keys (like command and windows) are not mapped in lanterna.
The normal terminal interface does not propagate them apparently.
The swing one might however. This may need further research.
We'll keep split keybinding for every operating system, but without any OS-specific key support.
May change in the future if laterna starts mapping them.
For now, I'll close this.


ENH: support complex dtype in LSMR

Simple fix to support solving problems with complex matrix and/or RHS. I was checking my options for inverting NUFFTs. LSQR worked, LSMR not.
~Where do the tests go?~ Found them

Circle fails due to missing pybind11 during build, Travis fails since it uses a 1.17 dev build of NumPy which seems to add some deprecation warning related to broadcasting.


App crash when drag a corner of rectbox to border of image

Below is output when app crash.
Traceback (most recent call last):
  File "/Users/admin/Desktop/ML/Tools/labelImg/libs/canvas.py", line 152, in mouseMoveEvent
    self.boundedMoveVertex(pos)
  File "/Users/admin/Desktop/ML/Tools/labelImg/libs/canvas.py", line 321, in boundedMoveVertex
    pos = self.intersectionPoint(point, pos)
  File "/Users/admin/Desktop/ML/Tools/labelImg/libs/canvas.py", line 499, in intersectionPoint
    d, i, (x, y) = min(self.intersectingEdges((x1, y1), (x2, y2), points))
ValueError: min() arg is an empty sequence
Abort trap: 6

I'm not experiencing this issue myself... Are you using the latest version of labelImg?
Also, what OS are you using? and how are you running labelImg (from source or binary)?

@zeuspnt Did you follow the 'Python 3 + Qt5 (Works on macOS High Sierra)' instructions here?

I follow this 'NEW Python 3 Virtualenv + Binary'

Ah, I recommend following the 'Python 3 + Qt5' instructions, as the Virtualenv + Binary installation is buggy (our last three issues were related to it).

I'm guessing pull request #414 solves this issue.