can not run the sample.py

Hi
excuse me, I can't run the script sample.py
the error is No such file or directory: './data/crossdocked_pocket10_name2id.pt', i have no idea, could you tell how can i solve this problem? thank you!

Have you downloaded split_by_name.pt from here and put it into the data folder ?

yes, I have done that.

Are you using the latest version of the code?
The code has been updated several times, it seems that crossdocked_pocket10_name2id.pt only appears in older versions.

I checked, the version of the code is lastest,
I found the line 167 of the sample.py calls the get_data function，eventually the code on line 19 of utils/datasets/pl.py is called. And the content is self.name2id_path = os.path.join(os.path.dirname(self.raw_path), os.path.basename(self.raw_path) + '_name2id.pt'),

I've solved it，thank you

That's great! I wonder what happened. Can you share with us? Thanks!

ok, I guess that I didn't download the crossdocked_pocket10.tar.gz at first, but I ran the sample.py. Then the crossdocked_pocket10_processed.lmdb was created, but the crossdocked_pocket10_name2id.pt was not created.  see code.
`        self.processed_path = os.path.join(os.path.dirname(self.raw_path), os.path.basename(self.raw_path) + '_processed.lmdb')
self.name2id_path = os.path.join(os.path.dirname(self.raw_path), os.path.basename(self.raw_path) + '_name2id.pt')
self.transform = transform
self.db = None
    self.keys = None

    if not os.path.exists(self.processed_path):
        self._process()
        self._precompute_name2id()`

The 'lmdb' and 'pt' must be created at the same time, and the 'pt' will not be created when there is 'lmdb' in the data file. Therefore, after extracting the TAR package, this error happened.

Thank you! This is very helpful!


Try without account

A way to show off or try the application without registering an account.

Screenshots would be nice for a first impression.

@davidak maybe I'll add one even though I'm not developing this anymore (was more like a learning project)


Add Every Door

Adding Every Door mobile editor, also arranged editors in alphabetical order to prevent any bias.
This PR satisfies Issue#91 https://github.com/osmlab/awesome-openstreetmap/issues/91, however, I'm too much of a noob and don't know (yet) how to link the PR to the issue... sorry.

Thanks @joelotz for your PR! :tada:

Thanks, I’m learning 😊
I’ll try another one soon.
/joe
On Tue, 24 May 2022 at 9:19 PM, Kevin Kandlbinder @.***>
wrote:

Thanks @joelotz https://github.com/joelotz for your PR! 🎉
—
Reply to this email directly, view it on GitHub
https://github.com/osmlab/awesome-openstreetmap/pull/92#issuecomment-1136099786,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABMHQOCFJP6ZWVNZPG5ARTVLT27PANCNFSM5WTWOJWA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Closing https://github.com/osmlab/awesome-openstreetmap/issues/91


Duplicate fields in Event Browser?

Are initiator_host_addr and initiator_host_address actually different fields ?
Or are some events being truncated on that field header ?
They never seem to appear in the same event, which leads me to believe they should be combined in our storage / output.

This is probably an upstream issue where different events are using different names.  We can file the upstream issue and it may eventually fix ours.

Upstream issue.


Help!!  Having problems running Drupal-VM on Windows 7

I just started a Drupal Development for Beginners class last week and the train has already jumped the track.  I'm falling behind in the classwork and need some expedited assistance in getting Drupal-VM to run properly on my Win 7 computer.
I've watched Jeff Geerling's installation video numerous times and did exactly as he did, but cannot get Vagrant, VirtualBox and Drupal-VM to work together.  Installation of all three programs went fine.  But when I cd to the Drupal-VM folder and input the 'vagrant up' command, the program begins to run but crashes after 30 secs. or so.
The VirtualBox interface shows packer-ubuntu-16.0 is running and the drupalvm.dev indicator also appears as Vagrant begins to run (screenshot1), but disappears just before Vagrant stops.  Just after the  the display says 'Configuring and enabling network interfaces' and 'Mounting shared folders' I see lines saying 'Forcing shutdown of VM...' and then 'Destroying VM and associated drives' (screenshot2).  I've also included a screenshot of the display after Vagrant has stopped running (screenshot3).
Any help would be most gratefully appreciated.  I'm not a code fiend or back-end developer, so please speak slowly and use small, easily understood words in your explanation.  I've got to get this local development environment running in the next few days or my class grades will suffer greatly.
Thank you, in advance, for your time and knowledge.

Subscribing, having this same issue in Windows 10 - as much as I don't really care personally it would be fantastic to fix to have another testing environment.

This looks like the exact same issue as #912 — can you try uninstalling Vagrant and installing 1.8.5 instead for now? I need to see why 1.8.6 started breaking with an empty string passed in for the synced folder type...
Closing this issue and moving discussion to 912.


ARROW-6068: [C++] Allow passing Field instances to StructArray::Make

This helps fix a Python test failure when hypothesis testing is enabled.

Codecov Report

Merging #4981 into master will increase coverage by 1.61%.
The diff coverage is 93.02%.

@@            Coverage Diff             @@
##           master    #4981      +/-   ##
==========================================
+ Coverage   87.55%   89.17%   +1.61%
==========================================
  Files        1002      724     -278
  Lines      143121   102612   -40509
  Branches     1418        0    -1418
==========================================
- Hits       125309    91503   -33806
+ Misses      17450    11109    -6341
+ Partials      362        0     -362

Impacted Files
Coverage Δ

cpp/src/arrow/array.h
98.47% <ø> (ø)
:arrow_up:

python/pyarrow/tests/strategies.py
44.27% <0%> (ø)
:arrow_up:

cpp/src/arrow/array-struct-test.cc
100% <100%> (ø)
:arrow_up:

cpp/src/arrow/array.cc
82.02% <100%> (+0.08%)
:arrow_up:

python/pyarrow/tests/test_array.py
96.29% <100%> (+0.06%)
:arrow_up:

python/pyarrow/array.pxi
79.41% <84.21%> (+0.1%)
:arrow_up:

cpp/src/arrow/util/compression_zlib.cc
87.12% <0%> (-0.05%)
:arrow_down:

cpp/src/arrow/util/compression.h
100% <0%> (ø)
:arrow_up:

cpp/src/arrow/io/compressed-test.cc
100% <0%> (ø)
:arrow_up:

go/arrow/ipc/writer.go

... and 286 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb73b96...1204910. Read the comment docs.


additional condition to beacon timer

On rare occasion GlobalCPUMiningCPID.cpid was not populated and the timer checks for a BeaconPublicKey. and if you send "" when it is not populated it will think you need your beacon advertised causing it to say unable to advertise beacon yet in log say it is already in chain.
Here we add another condition to the BeaconPublicKey is empty. We and if GlobalCPUMiningCPID.cpid is not empty go ahead with advertising.

Locking issue?


Is the activating a chat bot by the directLine postActivity best practice?

🚨 The issue tracker is not for implementation questions 🚨

[Question]
I guess this is a couple questions about activating a chat bot once the client enters the endpoint of the chatbot?  Upon using the renderChatBot webchat api and creating a directLine instance a directLine.postActivity() method can be fired off to initiate the bot so if there is a welcome card it will trigger and introduce itself to the end-user.
Is posting an event like this best practice?  Is there a more official, alternative and or better way of doing this?  I ask because in the example below it is an event that is fired off but what about a message and text event.  Does username and name even matter for anything useful in terms of the chatbot?
Ultimately, to fire off the bot is using the postActivity the only way of really achieving this?
 directLine
                .postActivity({
                    from: { id: this.userId, name: "USER_NAME" },
                    name: "requestWelcomeDialog",
                    type: "event",
                    value: "token"
                })
                .subscribe(
                    id => console.log(`Posted activity, assigned ID ${id}`),
                    error => console.log(`Error posting activity ${error}`)
                );

In the shoes of DirectLineJS, yes, this is the correct way to do it. You need to be careful if the connection is not established, this postActivity may fail. You should wait until connectionStatus$ turns to 2 (online). Also note connection may get interrupted from time to time.
In Web Chat, the code is still working fine. If you are looking for sending a message (instead of event), the better solution would be using Redux action named sendMessage/sendFile/sendEvent. Few reasons for Web Chat's version:

Web Chat will put the sending message on the right side of the screen, better UX
The user have a chance to retry if it failed
There are a handful of fields in Activity, Web Chat will try to fill them out for you as much as it could, e.g. from. And we are planning to fill the localTimestamp field in #193 too

But it still perfectly fine to use DLJS.postActivity().

@compulim when I am referring to directLine I mean the directLine from the WebChat.createDirectLine(). So specifically I am talking about activating the webchat bot when the user enters the application...

Somewhat related to https://github.com/microsoft/BotFramework-DirectLineJS/issues/184#issuecomment-505162246

@xtianus79 Yap, even createDirectLine is called, you will need to wait a few moment until it is connected. @tdurnford comment should be good starting point to read how it works. 😄

@tdurnford Yes, exactly what I was wondering lol you always have those exact answers. @compulim just to ask there's no real reason in a production bot to go beyond that initial post activity for a back-channel event starter?  Wanted to confirm that.

@xtianus79 if you’re trying to send a Welcome Message in Web Chat, you might also want to look at https://github.com/microsoft/BotFramework-WebChat/issues/2120#issuecomment-516056614.  There have been some recent changes to the Direct Line Connector Service that might simplify things for you.


L2 subgraph migration helpers

Added support for new migration flags on both L1 and L2
On L1 only the ones linked to startedMigrationToL2 will be available, as we don't know when it actually finishes. The rest will be available but will be null.
On L1 both startedMigrationToL2 and migratedToL2 will be available, with startedMigrationToL2 being set to true when the migration is detected to start in L2, and migratedToL2 when it's finished and the subgraph is published.
idOnL2 and idOnL1 will be available on both L1 and L2 but ONLY when there's a migration event triggered (i.e., if the L1 subgraph hasn't been migrated to L2, both fields will be null, the same for any L2 subgraph that hasn't been created through a migration)
Renamed Curation to L2Curation on the addresses helpers for L2, since the npm package also did this.
Added Controller ABI access to TokenLockManager data source since for goerli 4.0.0-scratch2r1 there's actually a vesting contract manager that has events before other contracts, which lead to weird interactions that hadn't happened in other environments

Deployed L1 (Goerli) to this endpoint: https://thegraph.com/hosted-service/subgraph/juanmardefago/dev-subgraph?version=pending
Deployed L2 (Arbitrum-Goerli) to this endpoint: https://thegraph.com/hosted-service/subgraph/juanmardefago/dev-subgraph2?version=pending

It seems goerli is having some issues getting the governor address, maybe the vesting contracts manager was initialized and running before other core contracts?


Question: map API response with stream to put CaseId in Email

Hi,
How do you map HTTP-req/resp stream with stream?
What I wanna do is Call API (this is working and I get response with CaseID, etc...)
but now I also wanna send email with parameters from stream that was calling API and with API response.
I put UUID but how to share UUID between two streams (that are one)

@Idriel, The request properties will be added  as transport properties, and can be retrieved through the following syntax,
trp:{attribute name}
Please see the test case for a sample

Hi @Idriel ,
Can you access the attributes which was on the request stream, at the response. The values will be coming as transport properties.
Please find a sample snippet below.
@sink(type='http-request', publisher.url='http://www.mocky.io/v2/5c5323df3200005e00f7f13e',
method='GET',
chunk.disabled='true',
 sink.id='reg-company',
@map(type='text') )
define stream requestStream (alertId String, userId String);

-- source to receive successful responses (which have 200 status codes)
@source(type='http-response' , sink.id='reg-company', http.status.code='200',
@map(type='json', enclosing.element='$.event', @attributes(alertId='trp:alertId', userId='trp:userId', orderID='orderID', itemCount = 'itemCount')))
define stream OK_ResponseStream(alertId string, userId string, orderID string, itemCount int);

@sink(type='log')
define stream logStream(orderID string, itemCount int);

from OK_ResponseStream
select alertId string, userId
insert into logStream;

Tnx. 'trp{attribut_name}' is working fine UUID from stream before is passed. :)
I have challange now that stream1 that is before http-stream returning NULL when I wanna join based on UUID from stream1.

I found (Defined) Window that solved mapping between two stream. I put it on 1min just engouh time for getting output from API a match by UUID.
Thank you!


[WIP] [#250] Add location normalization using HAC + constraints algorithm

We are using an Hierarchical Agglomerative Clusteing (HAC) algorithm (more in https://en.wikipedia.org/wiki/Hierarchical_clustering) with several relation constraints to cluster all location variations found on the database, this way we can use these pre-built clusters to suggest new location normalizations (if that's the case). The main advantage of using this clustering approach is that, besides clustering strings by their edition distances, custom constraints can help us to add corner case rules that can complete our normalizations. For the sake of information, this is the locations partition (and its clusters) found when using the clustering algorithm (as it is)

Even though this dendrogram might seem hard to understand, it is also easy to infer that different colors indicate different clusters of location variations (e.g. [Thaland, Thaoland, Thaialnd, Thailand, Thailland]). The black line crossing the plot is the distance threshold (0.15) we've used to tell the algorithm to stop clustering.
Currently the algorithm is only using as clustering metric the Jaro–Winkler Distance, and by using only this attribute our results got an accuracy of ~70% over all the locations stored in database. However, our team is also planning to increment this clustering model to also cover different string edition distances, as well as geographical (e.g. cluster "Washington" and "United States" together) and semantic (e.g. cluster "All Scandinavian countries" with "Sweden", "Finland" and so on...) elements. At the end of this incremental model evolution process we might ensure that our clusters are as closest as possible to cover all variations that might be processed, guaranteeing that all location will be normalized as their canonical forms
https://github.com/opentrials/opentrials/issues/250

Doesn't seem to be running against the database / the table that holds location data.

@pwalsh Would you please tell me how did you perform your tests so I can reproduce your issue?

@felipevieira I did my test by reading the code - I can't see how this processors works on the warehouse database to normalise location data.

@pwalsh In our tests the successful normalization happens on the location writter, where instead of considering the raw location name provided by the warehouse, the writter asks our HAC model for a normalizated form of that location (line 37 of the writter). This is how we thought the normalization would work.
Anyway, we are aware that this solution as it is does not normalize the full location database. Instead, it only ensures that new processed locations will be submitted to the normalzation process. Our team is working to normalize the full database as we speak


Add proj:centroid property on ingest

When ingesting an item, the proj:centroid property should be calculated from the geometry and added (unless it already exists).
https://github.com/stac-extensions/projection#item-properties-or-asset-fields
This should be configurable via an environment variable in case a user wants to not provide it.

closing, STAC Item creation should not be part of stac-server


Bump to 0.84.0; update changelog

rendered

@bors r+

:pushpin: Commit dcbc5248361c0863201b4130edd1e919928a3d23 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit dcbc5248361c0863201b4130edd1e919928a3d23 with merge cb377861570b5a031340c5bf7e00cffba1d09eec...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing cb377861570b5a031340c5bf7e00cffba1d09eec to master...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing cb377861570b5a031340c5bf7e00cffba1d09eec to master...

:eyes: Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.


Metrics doesn't work (loadKubeMetrics failed) 404 page not found

Describe the bug
Lens app doesn't display metrics, in developer tools console message (loadKubeMetrics failed error: "404 page not found\n")
Tested on embedded Lens Metrics and kube-prometheus-stack (chart version: 41.7.3)
To Reproduce
Steps to reproduce the behavior:

Go to cluster
Click on Settings -> Extensions -> Lens metrics
Enable all metrics
Click on nodes, cluster, pods

Expected behavior
Metrics for Cluster, Nodes, Pods are shown
Screenshots

Environment (please complete the following information):

Lens Version: 2022.10.311317-latest
OS: MacOS
EKS: v1.21.14

https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md also tried, no result

Yes node-exporter-stack installed, but Metrics Server by default not installed in AWS EKS
So as i properly understand we need additionally install Metrics Server to our cluster to make this work, am i right?

Yes if you want metrics to show up there you will need metrics server setup. Though from the stack trace that should have only shown up when you open a node details panel.
If you are asking about why the metrics bars are not showing up on the node list view that is a different issue...

If you are asking about why the metrics bars are not showing up on the node list view that is a different issue...
And what problem is?

Probably that there are no metrics to retrieve or the provider is misconfigured.

Probably that there are no metrics to retrieve or the provider is misconfigured.

In Grafana all data displayed without issues, what configuration i can paste to help you?

Under cluster settings what is the "Metrics Provider" configured to?

I tried different,
But now Prometheus Operator with empty field "PROMETHEUS SERVICE ADDRESS"

Which version of prometheus are you currently using?

Which version of prometheus are you currently using?

Chart: kube-prometheus-stack
Version: 41.7.3

Can you try using PrometheusHelm?

PrometheusHelm

You mean this one? https://artifacthub.io/packages/helm/prometheus-community/prometheus

No I mean changing this setting

No I mean changing this setting

Ah, got it, do I need to place path to the service or leave it blank?

No result with this config

I think something changed with the last update. Yesterday it was still working for me. Now after the update with the same configuration for Prometheus Operator no metrics are showing up.

Nothing has been changed from an open-lens perspective with regards to metrics recently. The last change really was https://github.com/lensapp/lens/releases/tag/v6.1.0-alpha.1 about 2 months ago

Okay, thanks for the quick response

@OHaimanov, since you are using the kube-prometheus-stack the PrometheusOperator option should be the right one.

@OHaimanov, since you are using the kube-prometheus-stack the PrometheusOperator option should be the right one.

Yeah, i also think so, and tried also this option without any result
Also I am install metrics server and in rancher it start showing cpu and memory, but in lens, error from console disappeared, but no data in UI

Does lens write any logs to system?

Yes it does. It should be under ~/Library/Logs/Lens

Yes it does. It should be under ~/Library/Logs/Lens

warn: [METRICS-ROUTE]: failed to get metrics for clusterId=: Metrics not available {"stack":"Error: Metrics not available\n    at /Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:416744\n    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async Promise.all (index 0)\n    at async /Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:417492\n    at async Object.route (/Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:407233)\n    at async a.route (/Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:409650)"}

Sigh... I guess the best I can do is get some better logging into the next version we release. Sorry about this.

@Nokel81, where are the logs located on Windows?

Just tried it again and now the metrics reappeared. No idea what has changed

Yes, all our requests go through a kube proxy

Yes, all our requests go through a kube proxy

Hmmm, ok let me check one thing

Yes, all our requests go through a kube proxy

Nah, my idea doesn't work

@trallnag
O.o if metrics appeared, what are your current settings on both [Server Setting - Metrics] & Helm?
How did you apply https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md ?

@trallnag O.o if metrics appeared, what are your current settings (i.e different to default) on both [Server Setting - Metrics] & Helm?
(+) If you did, how did you apply https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md ?

Just add this to values of kube-prometheus-stack
prometheus-node-exporter:       prometheus:         monitor:           metricRelabelings:           - action: replace             regex: (.*)             replacement: $1             sourceLabels:             - __meta_kubernetes_pod_node_name             targetLabel: kubernetes_node     kubelet:       serviceMonitor:         resourcePath: "/metrics/resource"         metricRelabelings:         - action: replace           sourceLabels:           - node           targetLabel: instance

@trallnag O.o if metrics appeared, what are your current settings (i.e different to default) on both [Server Setting - Metrics] & Helm?
(+) If you did, how did you apply https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md ?

Just add this to values of kube-prometheus-stack
      prometheus:
        monitor:
          metricRelabelings:
          - action: replace
            regex: (.*)
            replacement: $1
            sourceLabels:
            - __meta_kubernetes_pod_node_name
            targetLabel: kubernetes_node
    kubelet:
      serviceMonitor:
        resourcePath: "/metrics/resource"
        metricRelabelings:
        - action: replace
          sourceLabels:
          - node
          targetLabel: instance```

Yeah I applied the same values for kube-prometheus-stack Helm as below,
prometheus-node-exporter:
  prometheus:
    monitor:
      enabled: true
      metricRelabelings:
      - action: replace
        regex: (.*)
        replacement: $1
        sourceLabels:
        - __meta_kubernetes_pod_node_name
        targetLabel: kubernetes_node

and
kubelet:
  enabled: true
  serviceMonitor:
    metricRelabelings:
    - action: replace
      sourceLabels:
      - node
      targetLabel: instance

Mine still does not work :/ Locally similar to all of you above, showing below logs.
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=xxx: Metrics not available {"stack":"Error: Metrics not available\n    at /Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:416757\n    a
t process.processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async Promise.all (index 1)\n    at async /Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:417505\n    at async Object.route (/Applications
/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:407246)\n    at async a.route (/Applications/Lens.app/Contents/Resources/app.asar/static/build/main.js:1:409663)"}

The "Prometheus Operator" provider looks for a kube service with the label selector of operated-prometheus=true.

The "Prometheus Operator" provider looks for a kube service with the label selector of operated-prometheus=true.

operated-prometheus=

@Nokel81
It is already enabled by default for me as well.

Is there any (alternative) solution to fix this? ;(

Until #6576 is merged it is hard to diagnose why this is happening.

Have you had any luck with this? I can see that lens was able to connect to remote prometheus service with kubectl port-forward,  I even can see the metrics in my web browser but not in the lens itself.

Funny thing - it started working when we drained nodes under the Prometheus and Prometheus moved to another node. For 2 clusters it moved to different kinds of nodes for another 2 clusters it moved to the same kind of node, but a new one. It's working for all our clusters now.

I see that sometimes it's pinging on actually good endpoint (and gets 422 for some reason) and sometimes on endpoint with /prometheus/, which returns 404:
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 19]     Cause:
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 20]     {
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 21]       size: 0,
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 22]       type: 'default',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 23]       url: 'https://<IP_ADDRESS>:39221/0f96f2b596cd0d0f94565a1c74aa0ac2/api/v1/namespaces/monitoring/services/kps-kube-prometheus-stack-prometheus:9090/proxy/prometheus/api/v1/query_range',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 24]       status: 404,
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 25]       ok: false,
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 26]       redirected: false,
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 27]       statusText: 'Not Found',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 28]       headers: {
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 29]         'audit-id': '76b73d1c-c6ac-42f5-ae2e-2357fa05eae6',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 30]         'cache-control': 'no-cache, private',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 31]         connection: 'close',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 32]         'content-length': '248',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 33]         'content-type': 'application/json',
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 34]         date: 'Thu, 31 Aug 2023 14:19:01 GMT'
sie 31 16:19:01 cdt plasmashell[47211]: warn:    ┃ [ 35]       },

vs:
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [360]       [Symbol(Response internals)]: {
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [361]         type: 'default',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [362]         url: 'https://<IP_ADDRESS>:39221/caaf7cfefc2cd4ed6ddd708938292eaf/api/v1/namespaces/monitoring/services/prometheus-operated:9090/proxy/api/v1/query_range',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [363]         status: 422,
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [364]         statusText: 'Unprocessable Entity',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [365]         headers: {
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [366]           'audit-id': 'cb7f7d44-2a27-4aac-b7f5-f6feaee47d40',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [367]           'cache-control': 'no-cache, private',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [368]           connection: 'close',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [369]           'content-encoding': 'gzip',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [370]           'content-length': '480',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [371]           'content-type': 'application/json',
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [372]           date: 'Thu, 31 Aug 2023 14:18:35 GMT'
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [373]         },
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [374]         counter: 0,
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [375]         highWaterMark: 16384
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┃ [376]       }
sie 31 16:18:35 cdt plasmashell[47211]: warn:    ┗ [377]     }

Hello.
I have exactly the same problem.
Is there a solution? Can someone suggest something?
@admssa
@OHaimanov
@imageschool
@trallnag
This solution doesn't work either: https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md#manual
I looked at several metrics from here, I have them all. Probably the labels don't match somewhere. https://github.com/lensapp/lens/tree/master/packages/technical-features/prometheus/src
There is a connection to the service, Lens automatically detects the service.

If anyone needs it, here is an example of the service. Don't forget to add appropriate labels to the deployment.
apiVersion: v1
kind: Service
metadata:
  name: lens-metrics-service
  namespace: prometheus
  labels:
    app: prometheus
    component: server
    heritage: Helm
    release: prometheus
    operated-prometheus: 'true'
    self-monitor: 'true'
spec:
  selector:
    app: prometheus
    component: server
    heritage: Helm
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 9090

Now let's move on to the errors. I won't show anything new here.
Lens logs.
info: [CONTEXT-HANDLER]: using helm14 as prometheus provider for clusterId=1c2fcf927d9e8fc6637202d3fdbcc498
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=1c2fcf927d9e8fc6637202d3fdbcc498: Metrics not available {"stack":"Error: Metrics not available\n    at loadMetricHelper (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:35829:31)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 3)\n    at async C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:35874:36\n    at async Object.route (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:34859:32)\n    at async Router.route (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:35090:9)\n    at async LensProxy.handleRequest (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:33367:13)"}
info: [CLUSTER]: refresh {"accessible":true,"disconnected":false,"id":"1c2fcf927d9e8fc6637202d3fdbcc333","name":"infra","online":true,"ready":true}
info: [CLUSTER]: refresh {"accessible":true,"disconnected":false,"id":"8843900644ce20e50683bc6d40a31bfb","name":"app","online":true,"ready":true}
info: [CONTEXT-HANDLER]: using helm14 as prometheus provider for clusterId=1c2fcf927d9e8fc6637202d3fdbcc333
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=1c2fcf927d9e8fc6637202d3fdbcc333: Metrics not available {"stack":"Error: Metrics not available\n    at loadMetricHelper (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:35829:31)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 6)\n    at async C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:35874:36\n    at async Object.route (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:34859:32)\n    at async Router.route (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:35090:9)\n    at async LensProxy.handleRequest (C:\\Users\\JDev\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\@lensapp\\core\\static\\build\\library\\main.js:33367:13)"}
info: [CLUSTER]: refresh {"accessible":true,"disconnected":false,"id":"1c2fcf927d9e8fc6637202d3fdbcc333","name":"infra","online":true,"ready":true}

Lens developer console.

@Nokel81 could you please tell me how I can see which request(metric) has an error and what exactly is missing? If I know which metric isn't working, I can see what's wrong(probably other labels).
Prometheus installation: https://artifacthub.io/packages/helm/prometheus-community/prometheus
At the moment, the latest version of Lens and Prometheus are installed.

Same for me in AWS EKS K8S v1.25.11-eks.
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=41b09429a38178ebaa826491a8a6ac2b: Metrics not available {"stack":"Error: Metrics not available\n    at loadMetricHelper (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:11865:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 0)\n    at async /Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:11908:28\n    at async Object.route (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:3583:31)\n    at async Router.route (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:3417:5)\n    at async LensProxy.handleRequest (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:3384:7)"}
Seem related to https://github.com/lensapp/lens/issues/7888

If you are referring to an EKS cluster, the issue might relate to the node-to-node security group. In the AWS Terraform module for EKS, you can specify additional rules for the security group that manages node-to-node communication as follows:
node_security_group_additional_rules = {
  # Allow all traffic between nodes
  ingress_self_all = {
    description = "Allow all traffic between nodes on all ports/protocols"
    protocol    = "all"
    from_port   = 0
    to_port     = 0
    type        = "ingress"
    self        = true
  }

  # Allow HTTP traffic from the cluster API to the nodes
  ingress_api_to_nodes = {
    description                   = "Cluster API access to Kubernetes nodes"
    protocol                      = "tcp"
    from_port                     = 80
    to_port                       = 65535
    type                          = "ingress"
    source_cluster_security_group = true
  }
}

This change will allow lens to talk to prometheus which could be in a different node

@germanattanasio
Many thanks, the node_security_group_additional_rules resolved my metrics display in lens for eks cluster
Kubernetes version: 1.30
Lens version: 6.10.38

We have the same problem, but we have the pod metrics, but no cluster nor the nodes metrics.
We use AKS and the helm chart kube-prometheus-stack with the following settings:
prometheus-node-exporter:
  prometheus:
    monitor:
      enabled: true
      metricRelabelings:
      - action: replace
        regex: (.*)
        replacement: $1
        sourceLabels:
        - __meta_kubernetes_pod_node_name
        targetLabel: kubernetes_node

and

kubelet:
  enabled: true
  serviceMonitor:
    metricRelabelings:
    - action: replace
      sourceLabels:
      - node
      targetLabel: instance

Logs errors:
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=d705417c0f928c96c82de7aac210bbc6: Metrics not available {"stack":"Error: Metrics not available\n    at loadMetricHelper (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:11890:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 6)\n    at async /Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:11933:28\n    at async Object.route (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:3584:31)\n    at async Router.route (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:3418:5)\n    at async LensProxy.handleRequest (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@lensapp/core-main/dist/index.js:3385:7)"}


fix start-cluster and stop-cluster scripts

the start-cluster is missing --shelley-mode and is failing with cardano-cli: HardForkEncoderFutureEra (SingleEraInfo {singleEraName = "Shelley"})
the scripts are missing shebang and therefore are not detected by "exec" as scripts (e.g. when running from python scripts)

Spoke with @mkoura who agreed to close this as the issue was fixed in another PR.


This does not work with the macOS App Store version of the Telegram App

I am able to download the theme, however, it is not recognized (greyed out) by the macOS App Store version of the Telegram App and cannot be installed.

It probably has something to do with the fact that the App Store version is written in Swift - as far as I know. I'm guessing here, but that might present limitations for theme customisation.
In any case, if you add the iOS version of this theme to the iPhone or iPad app, you can later select it in the macOS version, though there's quite a bit of styling missing.

It probably has something to do with the fact that the App Store version is written in Swift - as far as I know. I'm guessing here, but that might present limitations for theme customisation.
In any case, if you add the iOS version of this theme to the iPhone or iPad app, you can later select it in the macOS version, though there's quite a bit of styling missing.

@cakebarIO #19


ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by )

ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by ); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the verbose flag and include its complete output.

Yes same here.
youtube-dl https://www.youtube.com/channel/UCMRs0Ml8RF0cWVAOeQeBxTw --download-archive archive.txt -o '%(uploader)s_%(upload-dates)_%(title)s.%(ext)s' --restrict-filenames --merge-output-format mkv --ignore-errors --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/channel/UCMRs0Ml8RF0cWVAOeQeBxTw', '--download-archive', 'archive.txt', '-o', '%(uploader)s_%(upload-dates)_%(title)s.%(ext)s', '--restrict-filenames', '--merge-output-format', 'mkv', '--ignore-errors', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2020.07.28 [debug] Python version 3.8.0 (CPython) - Linux-4.15.0-54-generic-x86_64-with-glibc2.27 [debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8 [debug] Proxy map: {} [youtube:channel] UCMRs0Ml8RF0cWVAOeQeBxTw: Downloading channel page [youtube:playlist] UUMRs0Ml8RF0cWVAOeQeBxTw: Downloading webpage [download] Downloading playlist: Uploads from Dr. Edward Dutton: The Jolly Heretic [youtube:playlist] playlist Uploads from Dr. Edward Dutton: The Jolly Heretic: Downloading 49 videos [download] Downloading video 1 of 49 [youtube] dBf2I71F-mU: Downloading webpage ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage     return self._downloader.urlopen(url_or_request)   File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen     return self._opener.open(req, timeout=self._socket_timeout)   File "/usr/lib/python3.8/urllib/request.py", line 531, in open     response = meth(req, response)   File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response     response = self.parent.error(   File "/usr/lib/python3.8/urllib/request.py", line 563, in error     result = self._call_chain(*args)   File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain     result = func(*args)   File "/usr/lib/python3.8/urllib/request.py", line 755, in http_error_302     return self.parent.open(new, timeout=req.timeout)   File "/usr/lib/python3.8/urllib/request.py", line 531, in open     response = meth(req, response)   File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response     response = self.parent.error(   File "/usr/lib/python3.8/urllib/request.py", line 569, in error     return self._call_chain(*args)   File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain     result = func(*args)   File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default     raise HTTPError(req.full_url, code, msg, hdrs, fp)

Use --force-ipv4
Youtube can block your IP. Try using proxy.

Same here. The problem is that i use pterodactyl with sinusbot and it uses docker, so there is no /etc/youtube-dl.conf file and sinusbot does not allow to modify the sinusbot command, how i can use youtube-dl with those argumenta without the youtube-dl.conf file?


Add support for the i.MX95 M7 core and the IMX95LPD5EVK-19 EVK

Summary
Add support for the i.MX95 M7 core and the IMX95LPD5EVK-19 EVK.
The i.MX95 is a multicore processor containing:

1x Arm Cortex-M7
6x Arm Cortex-A55 multicore complex
1x Arm Cortex-M33

See the NXP product page for details
This port includes

Peripheral drivers available for UART, SPI, I2C, CAN, IO and timers

Interprocessor communication by RPMSG and SCMI

Two board configurations are available for the EVK:

'nsh'  A minimal configuration that only enables nsh shell
on a UART
'rpmsg' This configuration is similar to nsh but in addition
it offers the Remote Processing Messaging (RPMsg) service to
enable heterogeneous inter-core communication.

Impact
This is a new HW port so no other targets should be impacted.
Testing
Tested on the IMX95LPD5EVK-19

Nice work @AndreHeinemans-NXP
When this PR get merged, could you please ask NXP to update the page https://www.nxp.com/products/iMX95 to include Apache NuttX RTOS (TM) ?

Nice work @AndreHeinemans-NXP
When this PR get merged, could you please ask NXP to update the page https://www.nxp.com/products/iMX95 to include NuttX RTOS?

Sure, will do that!


Unable to contact service. Try again later

Microsoft (R) .NET Portability Analyzer <IP_ADDRESS> (alpha)
Copyright (C) Microsoft Corporation. All rights reserved.
More information is available at http://go.microsoft.com/fwlink/?LinkId=506955
Using default target platforms.
To select platforms, visit Tools->Options->.NET Portability Analyzer.
Detecting assembly references                      [Done]
Analyzing compatibility                            [Failed]
There was an unknown error code from the service: 'InternalServerError'.  Please make sure you have the most up-to-date version.

I checked this and it works. There was a service degradation around the time you submitted this issue.  Can you try again?


How thread-safe is fishhook

I want to hook pthread_create in main, but I'm curious if there can be any tearing or otherwise bugs due to thread safety. I don't mind if it's undefined whether concurrent calls use the old or the new function, I just want to be sure that there won't be any peripheral bugs.

If you hook in main (i.e., before any other threads are created), how would there be any concurrent calls?

Fair point

Sounds like that answered your question, so closing. Thanks for asking!


Create part to handle validating version

New endpoints being added restricts what version of Secret Server a function can be used against.
Add a part that will be used in those requiring it to validate it is at the minimum version or not. If the version is being hidden from Secret Server the call to Test-TssVersion will fail, simply output a verbose (maybe a warning?) to indicate the command will fail.

a97a8c5


Add support for exporting only dark mode colors/images

Add ability to export only dark mode assets by providing only darkFileId.

It's already supported. To do this just specify a dark mode Figma file in the lightFileId property of the config file.


New-PodeWebTextbox -NoForm shows the button on a new line

Describe the Bug
In a PodeWebForm, the New-PodeWebTextbox parameter -NoForm -Width '960px' does not work correct as in v0.8.2. It shows the buttons on a new line.
Steps To Reproduce
Steps to reproduce the behavior:

Install-Module Pode.Web -RequiredVersion 0.8.3 -Force
Create the PodeServer
Add a page with a New-PodeWebContainer, a New-PodeWebForm, New-PodeWebTextbox -NoForm -Width '960px'  or smaller
Start the Pode and see the behavior

Expected Behavior
The Input-field and the buttons should be placed at the same line as in the v0.8.2.
Screenshots
See at PSXiDiag-Project
Platform

OS: Windows
Browser: Edge, Firefox
Versions:

Pode: 2.8.0
Pode.Web: 0.8.3
PowerShell: PS 7.3.6

Additional Context
Here is my code, that  I use:
#region Search
New-PodeWebForm -Id "Form$($i)" -Name "Search for ESXiHost" -AsCard -ShowReset -ArgumentList @($Properties, $PodeDB, $SqlTableName) -ScriptBlock {
    param($Properties, $PodeDB, $SqlTableName)
    $SqliteQuery = "Select * from $($SqlTableName) Where HostName Like '%$($WebEvent.Data.Search)%'"
    $Properties += 'vCenterServer'
    Invoke-MySQLiteQuery -Path $PodeDB -Query $SqliteQuery | Select-Object $Properties | Out-PodeWebTable
} -Content @(
    New-PodeWebTextbox -Id "Search$($i)" -Name 'Search' -DisplayName 'HostName' -Type Text -Placeholder 'HostName' -NoForm -Width '960px'
)
#endregion

Hi @tinuwalther,
I'll have to see how this renders in v1.0.0, and what could be done there. However, in v0.8.3 you can get around this by adding the original missing class via -CssClass:
New-PodeWebTextbox -Id "Search$($i)" -Name 'Search' -DisplayName 'HostName' -Type Text -Placeholder 'HostName' -NoForm -Width '960px' -CssClass 'no-form'

Hope that helps!

Hi @Badgerati, that works fine for me. Thank you very much you for your help.


Azure SDK Review - [Azure Web PubSub]

New SDK Review meeting has been requested.
Service Name: Azure Web PubSub
Review Created By: Chenyang Liu
Review Date: 11/28/2023 10:05 下午 PT
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: Not Provided
APIView Links: .NET, Java, Javascript, Python,
Description: It's the GA review for web pubsub client
Detailed meeting information and documents provided can be accessed here

Meeting updated by Chenyang Liu
Service Name: Azure Web PubSub
Review Created By: Chenyang Liu
Review Date: 10/31/2023 10:05 下午 PT
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: Not Provided
APIView Links: .NET, Java, Javascript, Python,
Description: It's the GA review for web pubsub client
Detailed meeting information and documents provided can be accessed here

Meeting updated by Chenyang Liu
Service Name: Azure Web PubSub
Review Created By: Chenyang Liu
Review Date: 11/02/2023 10:05 下午 PT
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: Not Provided
APIView Links: .NET, Java, Javascript, Python,
Description: It's the GA review for web pubsub client
Detailed meeting information and documents provided can be accessed here

Meeting updated by Chenyang Liu
Service Name: Azure Web PubSub
Review Created By: Chenyang Liu
Review Date: 11/02/2023 04:05 下午 PT
Hero Scenarios Link: here
Architecture Diagram Link: here
Core Concepts Doc Link: here
APIView Links: .NET, Java, Javascript, Python,
Description: It's the GA review for web pubsub client
Detailed meeting information and documents provided can be accessed here


status bar color configured

Fixes issue #186

We do not need a dedicated package to this purpose, we can simply achieve this by setting brightness to the main scaffold.


Enhancement: Add bypass (on/off) button above each channel

Disclaimer:

[x] I have checked for a similar enhancement and didn't see it previously requested in the search results.

This would simulate real mixing consoles and allow you to quickly bypass single channels either when fine tuning and comparing settings for presets or when they are not needed for certain tracks or apps w/out losing the slider position.  The “off” setting is equivalent to a 0.0 dB channel setting.
See “On” button above each channel slider for reference:
https://img.audiofanzine.com/images/u/product/normal/yamaha-01v96-v2-33162.jpg.  Though you don’t need to add the “On” label if it’s the only button above each channel.  The button itself with a light is sufficient.

This will be part of Expert EQ that's coming in the next couple of weeks, not sure when this will be added to Advanced EQ but I agree it's a useful feature :)

I'm doing some cleanup of the issues.
This has probably been fixed long time ago, I encourage people to try v1.7 by download it from the website: https://eqmac.app
Closing for now, any new issues with eqMac should be submitted through the website.
Thank you!


fastclick.min.js IE Interaction

fastclick.min.js throws errors on document.dispatchEvent(new CustomEvent('o.DOMContentLoaded'))
I know this isn't part of serene but part of AdminLTE, but I would suggest this get removed from the Serene template as it's a breaking issue on Sliders for IE. Especially as fastclick appears to be a dead repository now. This issue has been around since 2015.

Isnt it required for AdminLTE nav or demo pages?

Looks like it is just on the sliders. That's the only thing that seems to throw an error.

I wonder if I can raise this on AdminLTE and see if they can hack it in their template. I will try that too. Just wanted to make sure you knew there was an issue.

Ok thanks i'll also have a look, is it IE or Edge it is failing? Which version?

IE 11.
Taking a look at AdminLTE directly it looks like the newest version they have solves the problem. Might be worth updating the template section to use the new source? Perhaps that is quickest. I am going to work with my local version to see what I can do here.

Found the issue for definate. If you use  fastclick/lib/fastclick.js in place of the version we have right now it functions when you minimize

I removed fastclick.min.js but couldn't see the problem in IE 11 either. But there are some reports about fastclick.min.js.


CI: tests/subsys/logging/log_output/logging.output.thread_id fails on qemu_cortex_m0

Describe the bug
The tests/subsys/logging/log_output/logging.output.thread_id test suite fails on qemu_cortex_m0 in CI on main. Git bisect points to commit 7a5fcb8c60e2e6ba26704fabc28fe2d4e0106513.
To Reproduce
Steps to reproduce the behavior:

west twister -p qemu_cortex_m0 -s tests/subsys/logging/log_output/logging.output.thread_id
See error

Expected behavior
Test case passes.
Impact
CI failure on main.
Logs and console output
*** Booting Zephyr OS build zephyr-v3.5.0-1847-g7a5fcb8c60e2 ***
Running TESTSUITE test_log_output
===================================================================
START - test_colors
 PASS - test_colors in 0.002 seconds
===================================================================
START - test_format_ts
[00:00:01.000,000] domain/src: test
 PASS - test_format_ts in 0.001 seconds
===================================================================
START - test_level_flag
 PASS - test_level_flag in 0.001 seconds
===================================================================
START - test_levels
 PASS - test_levels in 0.001 seconds
===================================================================
START - test_no_flags
 PASS - test_no_flags in 0.001 seconds
===================================================================
START - test_no_flags_dname
 PASS - test_no_flags_dname in 0.001 seconds
===================================================================
START - test_raw
 PASS - test_raw in 0.001 seconds
===================================================================
START - test_thread_id
<err> [test_thread_id] src: Test
 PASS - test_thread_id in 0.001 seconds
===================================================================
START - test_ts_flag
 PASS - test_ts_flag in 0.001 seconds
===================================================================
START - test_ts_to_us
 PASS - test_ts_to_us in 0.001 seconds
===================================================================
TESTSUITE test_log_output succeeded
[00:00:00.447,265] <err> [irq] os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.458,679] <err> [irq] os: Current thread: 0x200000f0 (logging)
--- 5 messages dropped ---
[00:00:00.602,203] <err> [irq] os: Halting system

Environment (please complete the following information):

Commit SHA: 10a167f6c1f1ab4850f3bf1f8007826bff6f5285

@keith-packard Any idea what is going on here?

Yup, you're getting the 'large' version of printf which is causing something to overflow. Updating to SDK 0.16.4 "solves" the problem. It's overflowing the ztest stack. Fixed in #65893


'on_order' count for Part

Each part should return an aggregate of the number of parts currently on order for this part type

Fixed in https://github.com/inventree/InvenTree/pull/386


Sendgrid webhook to bounce incoming emails

Sendgrid does not provide mailboxes, all emails are accepted and is up to the
integrators to do something via the webhooks notifications.
This means that emails sent to the noreply email address don't bounce off
automatically, and need to be handled with a webhook so that an email can be
sent to the sender letting them know that the email address is unattended.

If we decide to merge this the Sendgrid webhook and environment variable will need to be reinstated.


Accessing matched fromTopic name segment in toTopic

Hello again,
let's say, I have multiple MQTT topics that contain scalar values that I'd like to map to JSON and re-publish on distinct topics.
How would I achieve this without having to define a transform per source topic?
ATM I do have the following config snippet (imagine this being JSON, the YAML will automatically be transformed during deployment):
  transforms:
    - fromTopic: zigbee2mqtt/+/availability
      toTopic: zigbee_availability
      emitType: map
      wrapper: availability
      template:
        availability:
          $eval: availability

Is there a way to access the topic name fragment matched by the + from the toTopic?
Thanks,
Thilo

Currently, there is no mode for getting the topic names. But I will check how hard it is to give into the template.

Hmmm, probably I don't get the problem you have.
I can add in the matched topic name, and you can split/transform it. But currently, we have no operators to relay to outgoing topics with logic from incoming data.
So I will add two things;

add a flag to the config, which will enable adding the topicName to the incoming json
add a new emit type which will map and push to topic based on the incoming data

Let me tray to explain my scenario in more detail: I have a couple of topics:

zigbee2mqtt/sensor1/availability
zigbee2mqtt/sensor2/availability
zigbee2mqtt/sensor3/availability

I'd like to map what's in these topics and publish the result on distinct topics

zigbee2mqtt_availability/sensor1
zigbee2mqtt_availability/sensor2
zigbee2mqtt_availability/sensor3

Ideally, w/o having to create multiple transforms.

I added two new fields.
"topicKeyToMessage": "topic", will inject the input json a new "topic": "tele/asd/STATE" field according to the topic.
"toTopicTemplate": "${topic}_NEW", will push it to the templated topic instead of a fix one
{
            "fromTopic": "tele/+/STATE",
            "toTopicTemplate": "${topic}_NEW",
            "emitInterval": 60,
            "topicKeyToMessage": "topic",
            "emitType": "repeat",
            "template": {"uptime": {"$eval": "UptimeSec"}, "topic": {"$eval": "topic"}}
}

Will result;
=> tele/tasmota/STATE
{"UptimeSec": 29}
<= tele/tasmota/STATE_NEW
{"uptime":29,"topic":"tele/tasmota/STATE"}

If you can define a good use-case, I would be glad to accept it as a recipe in the docs :) Probably the split and array function example would be powerful.

@ginkel is this working for you now?

Closing due inactivity. I think it is done anyways.


⚠ SSH 🇮🇩 Indonesia IDJ 1 has degraded performance

In 4bf9747, SSH 🇮🇩 Indonesia IDJ 1 (http://ids-1.opensvr.net:8080/) experienced degraded performance:

HTTP code: 400
Response time: 5231 ms

Resolved: SSH 🇮🇩 Indonesia IDJ 1 performance has improved in d49fe2b.


linux: Add sendfile(2)

r? @arcnmx
since why not

@homu r? @arcnmx

hrm

Oh, r? is part of rust-highfive I think.

r+

@homu r+

:pushpin: Commit 191c506 has been approved by kamalmarhubi

@homu r-

:hourglass: Testing commit 191c506 with merge 77f3355...

woo it works

@arcnmx would you mind taking a look? :-)

Where's test_sendfile? o:

oh dear rebase fail

@arcnmx fixed

Pretty straightforward, looks good! My only comment is that the test would deadlock on a system without buffered pipes, but that's not the case on Linux so..!
@homu r+

:pushpin: Commit 4680d50 has been approved by arcnmx

:zap: Test exempted - status

Fancy, it used an older test result o:

Cool!
@arcnmx out of curiosity, what common systems don't have buffered pipes?

No idea, probably none, but it's not specified so it's somewhat like relying on implementation details.

Applications should not rely on a particular capacity: an application should be designed so that a reading process consumes data as soon as it is available, so that a writing process does not remain blocked.


rm client/ctlog

Now that we've swapped from Certificate Transparency to Trillian Log, we can remove the old CT client.
Based on #513 - merge that first.

Codecov Report

Merging #560 into master will increase coverage by 0.07%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #560      +/-   ##
==========================================
+ Coverage    59.8%   59.88%   +0.07%
==========================================
  Files          31       30       -1
  Lines        2254     2251       -3
==========================================
  Hits         1348     1348
+ Misses        620      617       -3
  Partials      286      286

Impacted Files
Coverage Δ

integration/testutil.go
69.69% <100%> (ø)
:arrow_up:

core/client/kt/verify.go
30.76% <20%> (-2.57%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0ea6f2...9238fc7. Read the comment docs.


Support others distributions

I think a good start would be to add a requirements.txt with all the python dependencies and a list of native dependencies. I'm on archlinux so I can be a test subject XD

@Yamakaky you are right, porting this virtual assistant to other distros is a very crucial task. We seek other people's(for example yours) help for this task. Feel free to add Arch Linux support and send a pull request. That would be very helpful. :blush:


About other categories of SMAL data generation?

Hello, thank you very much for your work, I have a question about the production of data sets. The original SMAL file only provides the data download of hippocampus. How did you get the data of other categories? Looking forward to your reply?

Hi, thanks for your interest. Please refer to the following code, you can get other categories from 'toy_betas'.
# Load the smal model
model_path = 'smal_CVPR2017.pkl'
model = load_model(model_path)
# Load the family clusters data
model_data_path = 'smal_CVPR2017_data.pkl'
data = pkl.load(open(model_data_path))
# Get all categories from toys_betas
for i, betas in enumerate(data['toys_betas']):
    model.betas[:] = betas

Thanks for your reply, I have solved the problem.


No OpKernel was registered to support Op 'RoiPoolGrad' with these attrs

I am following the readme training script for the VOC database but I'm running into the following error for the ROI pooling layer:
Traceback (most recent call last):
  File "./faster_rcnn/train_net.py", line 109, in <module>
    restore=bool(int(args.restore)))
  File "./faster_rcnn/../lib/fast_rcnn/train.py", line 396, in train_net
    sw.train_model(sess, max_iters, restore=restore)
  File "./faster_rcnn/../lib/fast_rcnn/train.py", line 144, in train_model
    sess.run(tf.initialize_all_variables())
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 766, in run
    run_metadata_ptr)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 964, in _run
    feed_dict_string, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1014, in _do_run
    target_list, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1034, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'RoiPoolGrad' with these attrs.  Registered devices: [CPU], Registered kernels:
  device='GPU'; T in [DT_FLOAT]

	 [[Node: gradients/pool_5_grad/RoiPoolGrad = RoiPoolGrad[T=DT_FLOAT, pooled_height=7, pooled_width=7, spatial_scale=0.0625](conv5_3/conv5_3, roi-data/rois, pool_5:1, gradients/fc6/transpose_grad/transpose)]]

Caused by op u'gradients/pool_5_grad/RoiPoolGrad', defined at:
  File "./faster_rcnn/train_net.py", line 109, in <module>
    restore=bool(int(args.restore)))
  File "./faster_rcnn/../lib/fast_rcnn/train.py", line 396, in train_net
    sw.train_model(sess, max_iters, restore=restore)
  File "./faster_rcnn/../lib/fast_rcnn/train.py", line 138, in train_model
    grads, norm = tf.clip_by_global_norm(tf.gradients(loss, tvars), 10)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gradients_impl.py", line 482, in gradients
    in_grads = grad_fn(op, *out_grads)
  File "./faster_rcnn/../lib/roi_pooling_layer/roi_pooling_op_grad.py", line 41, in _roi_pool_grad
    data_grad = roi_pooling_op.roi_pool_grad(data, rois, argmax, grad, pooled_height, pooled_width, spatial_scale)
  File "<string>", line 74, in roi_pool_grad
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1128, in __init__
    self._traceback = _extract_stack()

...which was originally created as op u'pool_5', defined at:
  File "./faster_rcnn/train_net.py", line 101, in <module>
    network = get_network(args.network_name)
  File "./faster_rcnn/../lib/networks/factory.py", line 27, in get_network
    return VGGnet_train()
  File "./faster_rcnn/../lib/networks/VGGnet_train.py", line 17, in __init__
    self.setup()
  File "./faster_rcnn/../lib/networks/VGGnet_train.py", line 84, in setup
    .roi_pool(7, 7, 1.0/16, name='pool_5')
  File "./faster_rcnn/../lib/networks/network.py", line 27, in layer_decorated
    layer_output = op(self, layer_input, *args, **kwargs)
  File "./faster_rcnn/../lib/networks/network.py", line 183, in roi_pool
    name=name)[0]
  File "<string>", line 45, in roi_pool
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
    original_op=self._default_original_op, op_def=op_def)

InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'RoiPoolGrad' with these attrs.  Registered devices: [CPU], Registered kernels:
  device='GPU'; T in [DT_FLOAT]

	 [[Node: gradients/pool_5_grad/RoiPoolGrad = RoiPoolGrad[T=DT_FLOAT, pooled_height=7, pooled_width=7, spatial_scale=0.0625](conv5_3/conv5_3, roi-data/rois, pool_5:1, gradients/fc6/transpose_grad/transpose)]]

I'm not really sure what this means. Has anyone else run into this issue when training?
My dev environment:
Tensorflow：0.12.1
GPU/CPU：GPU
Python: 2.7.6
Operating System: Ubuntu 14.04

Also, I can run the demo fine but the training is an issue.

Closing, I accidentally installed "tensorflow" instead of "tensorflow-gpu" on the machine.


[ktx] fix ktx[tools]:x64-uwp build

closes https://github.com/microsoft/vcpkg/issues/33687
code changes in utils only affect tools so it's safe for current lib users
didn't test with non-uwp triplets, but i guess tools could be broken not only for UWP

Feature ktx[tools] passed with following triplets:
x64-uwp
x64-windows

Please feel free to re-mark 'ready for review' after showing that upstream is in the loop on these changes

@BillyONeal Thanks for the review!
after a review, I removed the #undef UNICODE part as unneeded
however, my other changes seem to be generally correct. from what I see, upstream assigns std::string to _tstring and so on. things that only would compile without wchar opted in
AFAIK It applies only to tools (utils seem to be used in tools only). that's why I decided to fix the issue this way.
@MarkCallow could you please tell us more?

argparser is only used in tools and in test/loadtests. Part of utils, unused.h is used elsewhere but that is unrelated to the issue here.
In using _tstring, etc. I was attempting to support unicode apps. (I think this compile error appears when UNICODE is defined.) I am now uncertain if argparser needs to care about whether or not the app is compiled for unicode. IIUC the fix proposed here disables unicode support.
What is important to care about is the encoding used in the argv arguments passed by the shell, particularly for filenames. I do not know enough about Windows here. Hopefully people subscribed to this PR can help me out.  Do PowerShell and Command provide args in a consistent encoding or is it dependent on the user's code page? If the former, what is it? If the latter, how can I convert it to, e.g. UTF-8? argparser needs to handle this properly so that non-ASCII file names are supported now and internationalized option names in the future.

What is important to care about is the encoding used in the argv arguments passed by the shell, particularly for filenames.

It ends up being converted to wchar_ts regardless of what the forms are on either end. If you use chars there will be file names you can't reach. (Even if the developer mode setting to make CP_ACP == UTF-8 is turned on, I think you still get issues if the input doesn't cleanly convert to UTF-8.)

As an aside if this is expected to be a terminal app attempting to compile it under UWP seems of dubious value in the first place as in UWP land there is no console.

@MarkCallow Can you clarify: Are you happy with this patch?

The affected code is only used by the older command line tools, ktx[^ ]*, and by vkloadtests and gl3loadtests.

As an aside if this is expected to be a terminal app attempting to compile it under UWP seems of dubious value in the first place as in UWP land there is no console.

If indeed the command line tools have no relevance then the simplest fix is to disable building them by setting KTX_FEATURE_TOOLS: OFF when configuring the build in cmake. vkloadtests and gl3loadtests, though not command line tools, likely also have no relevance to UWP and should be also be disabled. Set KTX_FEATURE_LOADTEST_APPS: None.
The fundamental issue is that if the original code is compiled with _UNICODE defined there is a mismatched comparison between char and wchar_t. I am guessing that UWP must be being compiled with UNICODE defined. the purpose of the unicode support is to handle non-ASCII filenames being passed as command arguments in Windows which, as far as I know, are always UTF-16. The code is clearly not working as intended so the currently proposed fix, while wrong, does not do any further harm but disabling the tools is better.
I intend to fix the upstream code via https://github.com/KhronosGroup/KTX-Software/issues/764.

It ends up being converted to wchar_ts regardless of what the forms are on either end. If you use chars there will be file names you can't reach. (Even if the developer mode setting to make CP_ACP == UTF-8 is turned on, I think you still get issues if the input doesn't cleanly convert to UTF-8.)

@BillyONeal please expand on the above. The current code on Windows is compiled using char so char** argv and it works fine for the command options and ASCII file names. So clearly in this case the arguments are being passed as char.  If I change to wchar_t** argv and the wchar_t version of main, is this the case where arguments "end up being converted to wchar_ts?"

If I change to wchar_t** argv and the wchar_t version of main, is this the case where arguments "end up being converted to wchar_ts?"

I have just verified that this is what happens by beginning to fix the unicode build upstream. The changes are quite pervasive so it will be a little while before I can close the upstream issue.

upstream fixed that. only port update now needed. see https://github.com/microsoft/vcpkg/issues/35964


Spy Disguise Menu Stuck in Top Left?

I heard how good this hud was and decided to use it but when I played Spy, the disguise menu was stuck in the top left unlike being stuck in the middle where it always is. Now I have heard some people say it is because I prefer to play TF2 with a controller but that would make no sense since literally every hud never has had this issue before.
Below is a screenshot I took to show my issue:

I hope this helps, if you need anymore info that I did not list, please let me know.

I can try to see if it works, is this a command I put in the files somewhere or do I use the console ingame? Thanks for responding.

may or may not be kinda fixed based on the above commit, not sure. I still have no way to easily test with a controller

I can try to use the hud again to see if it fixed

Okay yeah I am seeing the new menu for engineer and spy, the only issue is unlike with the controller menus, these have no indication of what building I am picking/destroying or what class im disguising as.

Example being this outline of the Sentry Gun

and the outline of the class you disguise as.
Hope this maybe helps!

Yeah, that's the part I was worried about. Hmm... I need to do some more digging around on how to get a virtual controller running on my PC. If I could just see the same console UI you're seeing it'd be much easier to fix, haha.

I decided to mess with this a bit more, I think I've made some good progress:

(program that finally made this easy to test was reWASD, though it's a paid program so I'm just using a trial)
@SirLuigi5528 Do you happen to know of anything else that is broken with a controller? I saw a stream using budhud with a controller (koyotemoone), maybe have been an older version of the hud but it seemed like the taunt UI as well as the respawn screen were a bit strange (showing bars at top/bottom, etc).

I also uhh...can't figure out how to open the destroy UI? lmao

I'd have to check to see, but I will make sure. Great to see you are doing well with the controller menus. Thats why I have been stuck with toonhud since others huds dont factor controllers. As for destroy UI, there isnts a destroy menu, its left trigger to destroy unlike where you have to open a separate menu to destroy buildings

Alright, using the hud the build and disguise menus are in the middle with the build menu having the outline of what you're building but I still don't see the outline for the disguise (unless you are still working on that since I saw it on the examples you showed). Other than that, the only thing I wasn't sure about was with the vaccinator as I don't know if the resistance indicator is supposed to be there
Example:

Again other than that, it is much more controller accessible!

Yeah, that's where the shield should be displayed. Glad to hear it's coming across passably on your end too :)
The taunt menu seems okay too? I may need to look at the eureka effect too actually...heck

Oh you're right! Lemme check that real quick for you! I almost forgot!

Okay just checked and yeah you were right about the eureka effect, I completely overlooked it. No indicators or image for exit teleporter.
Eureka Effect Menu:

As for the taunt menu, they never really did indicators for taunts so I always just used the taunt menu like everyone else except opening it with the X button on controller
Taunt Menu:

Again, it's great to have you listen to feedback even from me who plays TF2 on controller lol. I get a lot of hate for playing with controller in TF2.

Thank you for finding all of that. And of course, it's my pleasure :D. I never know how many people use certain features or play under certain conditions (controller, etc) so I'd like to cover as many as I can. I was just unfortunately having a lot of troubles getting the controller elements to display to work on them.
I'll try to see what I can do with those to get it all touched up

I see. I know nothing about hud development so I didn't think it was much trouble to try and make a hud accessible to controller players but it's nice to hear you want to cover center conditions of how people play TF2. If I could, I would want to help other hud developers find issues with their huds with controller compatibility but it's hard since usually some huds don't have good github pages. If you need me to check anything else, I can check. Again, thanks!

It's a bit tricky with my hud just because there's a lot of #base shenanigans going on. You effectively have to have twice the amount of engineer files to account for 360 and non-360 (triple if you want to support steam controller too).
the tricky part is more so figuring out how to use #base in such a way that you only have to change a few files to change the entire appearance. how I'm doing it at the moment means that, if I change the non-360 UI in the future, it'll also update the 360 UI version. simply copying the files over and editing both 360 and non-360 files at the same time would be doable, but a pain if it ever actually came to it.
here's some progress on the build UI. I wasn't too sure whether or not I should keep the buttons, but I also improved the quality of them (because they look horrible on lower graphics quality)

:

Wow, I see. I guess thats why hud devs usually skip over the controller ui. It would make sense. I would say keep the buttons since it helps players know what buttons do what like in the disguise menu how Y swaps the team to disguise as.

Spy done as well now. Just left aligned the buttons because I imagine those playing on other languages will have issues with it being centered anyways.

Wow, it looks great!

Looking into the default files a bit more, I don't think there...actually is an "active background" box for the Eureka effect, as well as the taunt menu hahaha, so I guess this may be sufficient for now. I'll upload the changes shortly but keep this open, as I'm sure I'm missing something somewhere...it'll also give an idea of how many changes this required hahaha

Weird, I wonder why they don't have active backgrounds. Maybe there's a way to fix that but again I don't know since I am not gifted in hud development. Glad to be of some help looking for hud issues with controller for you! Maybe I should help other hud devs with finding these issues if they want to make their huds controller friendly. If you ever need me to check anything else in the hud, let me know!

I'll be sure to let you know :). honestly this issue with your screenshots is probably a good reference for other hud developers, since they'll need to emulate a controller anyways to get proper positioning/etc

Well if you know any hud developers with huds that want to make them controller friendly, I can totally download their hud and check everything we have before that needs fixing and screenshot the menus and uis to show them. Ill be sure to update my budhud to see if everything works.

Okay went to check the update to the hud. Build menu is perfect but the disguise menu is for some reason still missing its indicator. I did see the buttons for team disguise and selecting the disguise. Other than that one issue, its great!

strange, I think the visibility was getting mucked up a bit, hopefully the spy UI is fixed now

Let me check it out real quick for you.

Yep, it is fixed now!

The only thing is the Eureka Effect menu but I don't use that weapon much at all so it's not a huge issue atm. I do have a question though, is there a way to move the chat to its default position since budhud puts it in the upper left?

In budhud/#customization/ there's a file called bh_chat_lowerleft.res that you can move into the _enabled folder, it should be pretty near the default chat location

Oh wow, that's really simple to customize unlike other huds where I have to mess with a notepad. Thanks again for all the help and I hope you can figure out that Eureka Effect active background problem! :D

As far as I can tell, the Eureka Effect is the same as the taunt menu; it doesn't actually have a selector like the others do.
What is weird is that the person I've seen use a controller with budhud had xbox buttons appearing in their taunt menu, but I can't get that to happen on my end, and I don't see anything in the file for it. Quite strange

Actually, they may have combined 360 and steam controller versions of that element into just hudmenutauntselection_sc.res, so I may need to mess with that more. But yeah, it shows the taunt menu as you show it, not as I saw it in a stream. Let me see if I can get a screenshot of how it appeared in a stream of someone using their taunt menu

Looking at their engineer build UI, they may actually be using a Steam Controller. Which would mean they added support to the taunt menu for the Steam controller but not an Xbox controller...which also means I need to add support for steam controllers 🙃

I have no way to emulate a Steam Controller nor do I own one myself, so I can't fix this for now


VideoCharacteristics not detected

Hello everyone!👋👋👋
I used an example from the project description. I haven't decided on the characteristics for the video.
My software and hardware information

Aditional Context
using FlashCap;

// Capture device enumeration:
var devices = new CaptureDevices();
var descriptor0 = devices.EnumerateDescriptors().ElementAt(0);

byte[] imageData = await descriptor0.TakeOneShotAsync(
    descriptor0.Characteristics.FirstOrDefault());

// Save to file
await File.WriteAllBytesAsync("oneshot", imageData);

Thanks for reached out!
If FlashCap is the latest, Characteristics cannot handle are also enumerated as Unknown formats. However, I could not understand why they are not enumerated at all, including them. Can we try other cameras?

I tried code below:
using FlashCap;
using SkiaSharp;

var devices = new CaptureDevices();
var descriptor0 = devices.EnumerateDescriptors().ElementAt(0);
byte[] imageData = await descriptor0.TakeOneShotAsync(descriptor0.Characteristics.FirstOrDefault());

using (var ms = new MemoryStream(imageData))
{
    SKBitmap bitmap = SKBitmap.Decode(ms);
    SKFileWStream fs = new("photo.png");
    bitmap.Encode(fs, SKEncodedImageFormat.Png, quality: 100);
}

Other cam:
Logi C270 HD WebCam (USB\VID_046D&PID_0825&MI_00\6&29B00C26&0&0000)
OS:
Windows 11 Enterprise 22H2
Detected and works perfectly...
Result:

Thanks for reached out!
If FlashCap is the latest, Characteristics cannot handle are also enumerated as Unknown formats. However, I could not understand why they are not enumerated at all, including them. Can we try other cameras?

I dont have other cameras on this device, because it's laptop.

@SignalMQ On #126 and #127, maybe these issues were a factor. #124 may also affect stable operation, so can I try it after merging these?

@SignalMQ On #126 and #127, maybe these issues were a factor. #124 may also affect stable operation, so can I try it after merging these?

I don't understand, what you meaning in 'so can I try it...'. I'm try these fixes or you?

Oh, sorry if it doesn't make sense, I made a mistake in the translation program :face_with_spiral_eyes:
Could you try it with a commit from current develop branch?

Characteristics [VideoCharacteristics[]]:
{FlashCap.VideoCharacteristics[0]}
Description [string]:
"usb-0000:03:00.4-3: uvcvideo"
DeviceType [DeviceTypes]:
V4L2
Identity [object]:
"/dev/video1"
Name [string]:
"USB2.0 HD UVC WebCam: USB2.0 HD"
Non-Public members

@SignalMQ Sorry later, I am interested in what characteristics are enumerated in your camera. The following sections:
https://github.com/kekyo/FlashCap/blob/854186a445e494548480ae0d6b607c1bf009eb57/FlashCap.Core/Devices/V4L2Devices.cs#L184C29-L184C48
                        return (CaptureDeviceDescriptor)new V4L2DeviceDescriptor(
                            devicePath, ToString(caps.card), $"{ToString(caps.bus_info)}: {ToString(caps.driver)}",
                            EnumerateFormatDesc(fd).
                            SelectMany(fmtdesc =>
                                EnumerateFrameSize(fd, fmtdesc.pixelformat).
                                SelectMany(frmsize =>
                                    EnumerateFramesPerSecond(fd, fmtdesc.pixelformat, frmsize.Width, frmsize.Height).
                                    Collect(framesPerSecond =>
                                        NativeMethods_V4L2.CreateVideoCharacteristics(
                                            fmtdesc.pixelformat, frmsize.Width, frmsize.Height,
                                            framesPerSecond.Value, ToString(fmtdesc.description),
                                            frmsize.IsDiscrete && framesPerSecond.IsDiscrete)))).
                            Distinct().
                            OrderByDescending(vc => vc).
                            ToArray());

Here, if a series of SelectMany() returns no result, the number of characteristics is zero. Such a possibility would be if EnumerateFormatDesc(), EnumerateFrameSize(), or EnumerateFramesPerSecond() returned zero elements. Your camera may fall into one of these cases.
This line is written on a single line, so it may be difficult to verify. For example:
var a = EnumerateFormatDesc(fd).ToArray();
var b = a.SelectMany(fmtdesc =>
{
    var c = EnumerateFrameSize(fd, fmtdesc.pixelformat).ToArray();
    var d = c.SelectMany(frmsize =>
    {
        // ...
    });
    // ...
});

to change the enumeration so that you can check the enumeration and be sure of it on the debugger.

@kekyo I'm tried to detect my device with V4L2Devices().EnumerateDescriptors() and suprised for detected 2nd shadow copy of device placed in /dev/video0:

Here it seemed strange to me that the devices are listed in reverse order ([/dev/video1, /dev/video0]), or I’m wrong.

I was surprised too! I'm not sure why there are multiple /dev/video? enumerations in the first place, but I'm not particularly aware of the order:
https://github.com/kekyo/FlashCap/blob/854186a445e494548480ae0d6b607c1bf009eb57/FlashCap.Core/Devices/V4L2Devices.cs#L171
If you select /dev/video1, will it capture correctly?

I was surprised too! I'm not sure why there are multiple /dev/video? enumerations in the first place, but I'm not particularly aware of the order:
https://github.com/kekyo/FlashCap/blob/854186a445e494548480ae0d6b607c1bf009eb57/FlashCap.Core/Devices/V4L2Devices.cs#L171
If you select /dev/video1, will it capture correctly?

/dev/video1 - fail
/dev/video0 - sucess

According to the screenshot, /dev/video0 has zero characteristics and /dev/video1 enumerates several characteristics, did you succeed in the case of /dev/video0?
Are you saying that you used the value of /dev/video1 as the characteristic in that case?

According to the screenshot, /dev/video0 has zero characteristics and /dev/video1 enumerates several characteristics, did you succeed in the case of /dev/video0?
Are you saying that you used the value of /dev/video1 as the characteristic in that case?

/dev/video0 has 11 characteristics and it's work, but /dev/video1 enumerated in first is not work, because don't have any characteristics listed.

I see. As a coping remedy, it seems that we need to ignore devices with zero characteristics.
We could ignore devices with zero characteristics when internal FlashCap enumerates them, but I imagine that would probably make it difficult to identify the problem.
Therefore, I would like to make it a policy that this exclusion is handled by the caller. For example:
if (devices.EnumerateDescriptors().
    FirstOrDefault(d => d.Characteristics.Any(c => c.PixelFormat != PixelFormats.Unknown)) is { } device)
{
    // `device` is valid.
}

My problem solved, I use my second device.

@SignalMQ The next version will support NV12 format. Perhaps devices that were not enumerated (or were Unknown) will become available, so if you are interested, please give it a try.


fix(version): update ngx-fabric8-wit to 6.17.2

@fabric8cd snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1583.int.rdu2c.fabric8.io


Update CHANGELOG.md

There is a small error in the file, where the removed button property in v4 was 'raised' and not 'contained'

[x] I have followed (at least) the PR section of the contributing guide.

Good catch. While we're here, would you mind please also changing the first sentence:
-This is our first unstable release towards Material-UI v4.0.0.
+This is our first unstable release toward Material-UI v4.0.0.

(American English...)

when this pull was merged, the release changelog page will change too?
https://github.com/mui-org/material-ui/releases/tag/v4.0.0-alpha.0

@saculbr I've fixed it there. (I had already reversed my incorrect change of toward / towards.)

Thank you guys! 🙈


How to store idToken and how to retrieve it?

Hi!
Is there a method with amazon-cognito-auth-js, similar to the one using amazon-cognito-identity-js, to store the data of the current logged in user and retrieve the idToken of this user?
Using amazon-cognito-identity-js, it is possible to make it this way:
Storing user data:
const userPool = new CognitoUserPool({
      UserPoolId: config.cognito.USER_POOL_ID,
      ClientId: config.cognito.APP_CLIENT_ID
    });
    const user = new CognitoUser({ Username: email, Pool: userPool });
    const authenticationData = { Username: email, Password: password };
    const authenticationDetails = new AuthenticationDetails(authenticationData);

    return new Promise((resolve, reject) =>
      user.authenticateUser(authenticationDetails, {
        onSuccess: result => resolve(),
        onFailure: err => reject(err)
      })
    );

Retrieving the idToken of the current user logged in:
const userPool = new CognitoUserPool({
    UserPoolId: config.cognito.USER_POOL_ID,
    ClientId: config.cognito.APP_CLIENT_ID
  });
  var currentUser = userPool.getCurrentUser();
  currentUser.getSession(function(err, session) {
    var idToken = session.getIdToken().getJwtToken();
  });

Thank you very much!
Guillaume

If you look in the readme, use case 2 has a getSession method as well.

To retrieve the idToken of this user, you can follow the case 2 in the README.md.

Hi @guillaumedenece, did retrieving idToken work for you following use case 2?
Please let me know if you have more questions!

I'm seeing a similar issue and I can't wrap my head it.
I have the following use case:
Within the Cognito Console, I created a group called admin and (manually) added users to this group. This group should be accessible in the application for visual changes only. Within my application I'm letting user log in via the App Integration provided by AWS.
From what I've read, I can use the cognito:groups property of the idToken of the user to see if the user is part of the admin group. I've tested this without the App Integration and that works fine.
However, once I enable App Integration for the authentication process, I'm getting back an empty idToken, whereas the accessToken and refreshToken are filled and have a payload.
In the Cognito Console, in the App client settings of this app I enabled both the Authorization code grant and Implicit grant OAuth Flows as well as all the listed scopes (including the openid scope).
Is there something else I'm doing wrong that results in me not getting back the idToken?

Hi @rboortman-skim, I am assuming you are using Authorization code grant flow since you have refreshToken, correct?
In this case, you said you got back an empty idToken, is it just absent or it just doesn't have any claims inside?
I think you can try with Postman for the exchange code for tokens to if it works:
About the detailed steps, you can refer here: https://github.com/aws/amazon-cognito-auth-js/issues/52

Hi @yuntuowang,
Thank you for the quick response.
First of all, I am using the Authorization code grant flow:

About the response I get back, I get a successful CognitoAuthSession back with an empty idToken property:

I was not able to get Postman to work, I got a 405 Method Not Allowed Error:

Ok, in regards to to Postman request.
I sent the request to the wrong address (/oauth2/authorize in stead of /oauth2/token), but when sending the request to the correct address I'm still getting a 400 Bad Request error.
What am I doing wrong?

The app client is configured without an app client secret by the way.

I was finally able to solve my own problem.
I only had the email scope inside the TokenScopesArray of the authData given to the CognitoAuth object. When I added the openid scope as well, the idToken was sent back to the client.
I still don't know why postman isn't working for me, but at least my client application is working

Hi @rboortman-skim, so glad it works for your application. Yes, "invalid_request" can be many reasons, usually cause of the inconsistency of your app client console setting with your App implementation, such as your case(scopes are inconsistent).


Revert "[CMake] Fixing an issue with propagating build type from Thunder to other modules"

Reverts rdkcentral/Thunder#1473

If this line has to be removed (again), then maybe let's figure out why without it even if Thunder builds in Debug mode on Buildroot, then everything else (interfaces, plugins, clientlibs etc.) builds in Release

@bramoosterhuis if this is currently causing a build issue, we need to properly fix it and not just revert it. Can you introduce a proper solution than ?


Hello

First I want to thank you for your implementation of Squeeze-and-Excitation Networks in keras.
I tried your network and it worked very well, but I got a question.
As I underderstand, resnet is very similar to resnext.
Resnet reduces the size of the input 5 times, for exemple :
256 -> 128 , 128->64, 64->32, 32->16, 16->8.
But when I used the code you provided to create a resnext I end up with only 3 reduction of the size :
256->128, 128->64, 64->32
Is it normal?
Does this affect the precision of the network?
i used this inputs to create the network :
resnet_base = SEResNext(input_shape=input_shape,
#depth=155,
depth=56,
cardinality=64,
width=4,
weight_decay=5e-4,
include_top=False,
weights=None,
input_tensor=input_layer,
pooling=None)

This is more suitable on the SE GitHub, but it makes no difference where I answer.
The fact is that the ResNeXt implementation is a placeholder while we wait for Grouped Convolutions in Keras/Tensorflow.
Therefore the ResNext model I wrote is not based on the ImageNet version with 5 pooling layers, but the Cifar 10 version with 3 pooling layers.
However, I do not recommend you use my ResNext implementation, and stick to PyTorch or Torch versions, as they properly support grouped convolution

ok, i understand now, thank you very much for your answer, your code is
verywell done!
Greg
Le mar. 9 oct. 2018 à 16:55, Somshubra Majumdar<EMAIL_ADDRESS>a écrit :

This is more suitable on the SE GitHub, but it makes no difference where I
answer.
The fact is that the ResNeXt implementation is a placeholder while we wait
for Grouped Convolutions in Keras/Tensorflow.
Therefore the ResNext model I wrote is not based on the ImageNet version
with 5 pooling layers, but the Cifar 10 version with 3 pooling layers.
However, I do not recommend you use my ResNext implementation, and stick
to PyTorch or Torch versions, as they properly support grouped convolution
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/titu1994/Keras-ResNeXt/issues/12#issuecomment-428225358,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ap8dukkiO4YomcyyE1tOKCCqnZoqXlWJks5ujLj-gaJpZM4XRqh1
.

--
Greg－ 威义


Update BootstrapWidgetTrait

Using pure JS instead not required jQuery
Optimize components activation : only 'popover', 'toast' and 'tooltip' not activates via data attributes
Fix outdated PHPDoc's

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues

Could you please fix the tests? Afterwards it's ok:
https://github.com/yiisoft/yii2-bootstrap5/runs/7900682188?check_suite_focus=true


Add support for Django 4.2 and Python 3.11.

All errors appear to be related to "django.utils.deprecation.RemovedInDjango51Warning: django.contrib.auth.hashers.SHA1PasswordHasher is deprecated.", and are unrelated to this PR/not actually issues. For example:
  self = <django.contrib.auth.hashers.SHA1PasswordHasher object at 0x7f147ed810d0>
  args = (), kwargs = {}

      def __init__(self, *args, **kwargs):
  >       warnings.warn(
              "django.contrib.auth.hashers.SHA1PasswordHasher is deprecated.",
              RemovedInDjango51Warning,
              stacklevel=2,
          )
  E       django.utils.deprecation.RemovedInDjango51Warning: django.contrib.auth.hashers.SHA1PasswordHasher is deprecated.

Thanks for the change. Please also add '3.11' to the python-version list in .github/workflows/tox.yml, so that it'll be tested by GitHub actions.

I went ahead and did that, but, I'm not normally a GitHub user and I'm not really familiar with GitHub actions. It seems to still be using python3.10 to run the test. Can you provide some guidance?


fix: tighten key type

Otherwise, generated parser fails typecheck in a recent version of TypeScript.

This will break non-TS builds, since you're inserting it unconditionally.


Upgrade to k8s 1.27

Issue:
https://github.com/rancher/rancher/issues/44066
You can see the PR I created for the 2.8 release here: https://github.com/rancher/webhook/pull/287
Problem
We want to upgrade client-go and stuff to 1.27 release.
Solution
Upgrade a few dependencies. Notably:

controller-runtime to 0.15.0: This version is needed for support for 1.27.
github.com/rancher/lasso/controller-runtime: This version is needed to support controller-runtime 0.15.
k8s.io/*: Most of them to v0.27.4 or v1.27.4.
github.com/rancher/client-go to v1.27.4-rancher1.

CheckList
I have done the following manual tests:

Made sure the webhook runs
Install webhook with helm is fine
Ran integration tests

Draft until https://github.com/rancher/webhook/pull/324 is merged.


Undocumented dependency on Numpy makes virtualenv use awkward

The voice hat driver calls some numpy to make the volume happen. Unfortunately, this is neither described in setup.py nor is it, as a result, usable inside a virtual environment.
what I'm doing:
in a virtualenv, I've got pip reading the package as is described in HACKING.md
I've then done
import aiy.voicehat as hat
what should happen:
the module gets imported.

I've determined that commit 8efe47ded7d9f0974b29d6c9a407fe1997ed2adb introduced the undocumented numpy dependency.

@indrora Is virtualenv a necessity for your objective ?

Yes, it is. Virtualenv is a hard dependency of Tox (unit tests) and basic python cleanliness. It's vaguely recommended by the PSF and generally considered a best practice. It separates you from any distribution-specific issues or highly out of date packages that may be lingering from slower distros (e.g. CentOS, etc).
A workaround is to generate a virtualenv with --system-site-packages as I discovered. Numpy will load from system packages happily, but this does not fix the underlying issue. I'll update the title to better reflect it.

numpy shouldn't be a dependency, will try to get rid of it.

Fixed, dependency was removed from the code.


add UEFI PXE support

This pr implements a UEFI PXE bootloader by extending the existing UEFI bootloader to load a kernel from a TFTP server if the DevicePath of the LoadedImage has a device implementing PXE BaseCode protocol.
This pr needs some unreleased new features of the uefi-rs crate, so we'll have to wait for a new release before merging this branch (I switched the uefi-rs dependency to use the master branch for now). This is the reason I'm marking the pr as a draft.
Related to #87

The CI failure seems unrelated to this pr.

Thanks a lot for the PR, looks good overall! I'm happy to merge it once you think it's ready, just let me know.

Thanks a lot for the PR, looks good overall! I'm happy to merge it once you think it's ready, just let me know.

I'll add some more comments, but after that it should be done

Thanks a lot for the PR, looks good overall! I'm happy to merge it once you think it's ready, just let me know.

It's ready now! :tada:


Package default configs in separate toml file

closed in #408

If you add closes #<issue_number> in a separate line in a PR comment, the issue will be autoclosed ^^

True, I usually try to do that but this time I forgot I'd already opened an issue :joy:

Just saw that in the other PRs 😂