Exception when trying to download Response 403

Exception when trying to download http://easynmt.net/models/v2/opus-mt/easynmt.json. Response 403
im so sad about this

requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://easyn
mt.net/models/v2/opus-mt/easynmt.json @nreimers Can you help me with this? What steps I've to follow @nreimers

Can you access the URL from somewhere else?

I was able to access. I commented that download part and did a manual download. Its working fine but now not able to load any models. What changes I have to make to run these and download models behind proxy. Can you please help?
@nreimers
requests.exceptions.ProxyError: HTTPSConnectionPool(host='huggingface.co', port=
443): Max retries exceeded with url: /Helsinki-NLP/opus-mt-zh-en/resolve/main/so
urce.spm (Caused by ProxyError('Cannot connect to proxy.', ConnectionResetError(
10054, 'An existing connection was forcibly closed by the remote host', None, 10
054, None)))

I was able to access. I commented that download part and did a manual download. Its working fine but now not able to load any models. What changes I have to make to run these and download models behind proxy. Can you please help? @nreimers requests.exceptions.ProxyError: HTTPSConnectionPool(host='huggingface.co', port= 443): Max retries exceeded with url: /Helsinki-NLP/opus-mt-zh-en/resolve/main/so urce.spm (Caused by ProxyError('Cannot connect to proxy.', ConnectionResetError( 10054, 'An existing connection was forcibly closed by the remote host', None, 10 054, None)))

@nreimers can you help me with this?


Google Cloud Deployment

Hey, I'm having issues to deploy my nuxt based application in the google cloud.
The logs are fine, but the website doesn't work at all.
Has anyone attempted to deploy nuxt to gcloud?

I'm having the same issue. I'm deploying with gcloud and after update completes the page shows the error 502

Error: Server Error
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.

@tomasleiva9 The app engine has an integrated health check feature, which asks your service periodically whether its alive or not.
Using the nuxt cli for starting won't be enough, you have to use the express middleware to be able to add a new endpoint for the health check.
This is my code for the express server:
const Nuxt = require('nuxt')
const app = require('express')()
const host = process.env.HOST || '<IP_ADDRESS>'
const port = process.env.PORT || 8080

app.set('port', port)

// Import and Set Nuxt.js options
let config = require('./nuxt.config.js')
config.dev = !(process.env.NODE_ENV === 'production')

// GCloud Health Check
app.get('/_ah/health', (req, res) => {
  res.status(200)
  res.send()
})

// Init Nuxt.js
const nuxt = new Nuxt(config)
app.use(nuxt.render)

// Build only in dev mode
if (config.dev) {
  nuxt.build()
  .catch((error) => {
    console.error(error) // eslint-disable-line no-console
    process.exit(1)
  })
}

// Development error handler
if (app.get('env') === 'development') {
  app.use((err, req, res) => {
    res.status(err.status || 500)
    res.render('error', {
      message: err.message,
      error: err
    })
  })
}

// Production error handler
app.use((err, req, res) => {
  console.log(err)
  res.status(err.status || 500)
  res.render('error', {
    message: err.message,
    error: {}
  })
})

// Listen the server
app.listen(port, host)
console.log('Server listening on ' + host + ':' + port) // eslint-disable-line no-console

Perfect @John0x . It worked very well.
Thanks.
I found more information about this in documentation from Vuejs, if someone else need more help...
https://nuxtjs.org/api/configuration-dev

@sqram Did you set the port 8080 (app engines uses that port)

hello @John0x
i copy your script and found error
`
/app/server.js:19
const nuxt = new Nuxt(config)
^
TypeError: Nuxt is not a constructor
at Object. (/app/server.js:19:14)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1`

@reworking i did. i tried many other things as well. Eventually gave up and went fully restful :(

Would someone here be so kind and post a github link to a full working project (i.e. where you can clone, yarn, and run gcloud app deploy and it works) ? I tried applying numerous solutions from here and stack overflow on top of the simplest project from template https://github.com/nuxt-community/express-template and still cannot get it to work :(


WP CLI: Adds support for wp shell

Adds support for wp shell.
This will have the same experience as #259 but how we send commands to the API is different

This has been done in #255


fix docker multi-arch build and push to DockerHub

Hey 👋 ,
I saw there is a failing build and push of the docker image to DockerHub.
In the recent version 3 of the docker/build-push-action the configuration changed a bit.
I updated the workflow to work with latest version and as it is proposed here.
I couldn't test it but I'm using a similar configuration to build and push my docker multi-arch images to DockerHub.

@strider2038 @lucasantarella can you may have a look at this PR? Thanks in advance :-)

Could you merge this, please.

Now it fails on go build https://github.com/muonsoft/openapi-mock/actions/runs/3575788220/jobs/6012771527

The Dockerfile is not ready for multiarch. GOARCH is set to amd64 needs to be changed to target platform

Possible solution (see https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/#949e):
FROM --platform=$BUILDPLATFORM golang:alpine AS build-env
....
ARG TARGETOS TARGETARCH
RUN ...
&& CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags="-w -s -X main.version=${APP_VERSION} -X main.buildTime=${BUILD_TIME}" -o openapi-mock \
....

If I get the chance, I will provide a PR....


Changed the wrong href links to crct one's

Related Issue
Fixed not working links in More section
Fixes:  #(issue no.)1193
Description
Under the Navbar in the More section when we click on few links they are not getting directed to the right page...This issue need to be addressed.
 1193
Type of PR

[ ✅ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Before:

After:

[X] I have made this change from my own.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

@mehrun171 fix these

Hey @RitiChandak can i know from which page u were trying to go to booklistswap page so that i can know where the error is occuring

Conflicting files
assets/html/book_recommend.html
Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Update assistant.md

The path is not always the same
For example when i ran the code the path was
data['data'][0]['content'][0]['image_file']['file_id']

@mrbullwinkle
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Update account with the connector.connect() method

https://github.com/apibara/starknet-react/blob/32915f13675cf76d9b4a31b0a57f548cd18df468/packages/core/src/connectors/injected.ts#L59
The method on this line does not seem to currently update the account that's given by the useAccount() hook. Account updates fine when connecting with the function connect(connector).
This problem was encountered when using these hooks in Nextjs. Let's look at the example in: https://github.com/apibara/starknet-react/blob/32915f13675cf76d9b4a31b0a57f548cd18df468/packages/core/src/hooks/connectors.ts#L32
If you replace the onClick listener to:
function Component() {
  const { connect, connectors } = useConnectors()

  return (

      {connectors.map((connector) => (

          <button onClick={() => connector.connect()}> // instead of connect(connector)
            Connect {connector.id()}
          </button>

      ))}

  )
 }

, this does not update:
const { account } = useAccount()

It's not 100% clear what you mean. Do you have a way to reproduce this issue?

This should be fixed in v2. If not, feel free to reopen.


WIP: switch from parcel to esbuild

No timeline on this -- was just curious how close to drop-in it would be.
Some things that need addressing before this can land:

[ ] Updating build scripts for production builds
[ ] Fix the hot-reloading code
[ ] Update the main .html file to do optimization
[ ] Ensure cache-busting still works properly by file hashes changing
[ ] Make code splitting work
[ ] Compare bundle sizes v.s. parcel

Fixes #295

coverage: 43.056%. first build when pulling 4cff1e38e54f9e490a839dc1c607ff4128dfa8c9 on jlfwong/esbuild into bb063e49e305210316681369d3d6eb8e779cd58b on main.


SegFault on tracker draw

I'm using the python wrapper, and when I run any of the example programs, a segfault routinely occurs using the tracker.draw method. Any ideas on how to fix?

this might be an opencv/python issue. please make sure you can run an example using the camera input in python first, then try the facetracker.

I've played around with commenting out lines. The camera input works fine.
The line causing trouble is:
img = tracker.draw(img, conns, trigs)
When I comment it out, it works. Otherwise, it doesn't.

can you please post:

which OS you are using
which version of python
which version of opencv

and i'll see if i can recreate it. thanks!

I'm using Mac OSX 10.10, Python 2.7, and opencv 2.4.8 (that's the one I installed via anaconda. I wasn't able to import facetracker if I compiled with the brew install, so I had to use this one.)


add gcc-10.3.0 hash and patches

original nsz patch from http://port70.net/~nsz/musl/mcm/

Thanks! Merged.


Forground text color

Need to allow users to be able to customize the foreground color  to go with
#47 and #46   to fix and enhance #45

#95


CTRL+6 stopped working in Version <IP_ADDRESS>310081633

Description
Keyboard shortcut CTRL+6 to hide/show panel stopped working with the upgrade to <IP_ADDRESS>310081633
DBeaver Version
<IP_ADDRESS>310081633
Operating System
windows
Database and driver
All
Steps to reproduce
Trying CTRL+6 after running a query and getting results.
Additional context
No response

Please try using Ctrl+T. We changed this shortcut recently because of the issues with AZERTY keyboards.
Also you can change shortcuts in preferences


Cherry-pick merge of PR #277 into new dev branch

This PR is a cherry-pick from master of PR  https://github.com/Autodesk/molecular-simulation-tools/pull/277

@dionjwa Can you please check ? Merge was an ordeal...

This looks like it already got merged into master.

Yeah, all these config changes are in master already.

Closing, since it's already in. If we missed something, we'll address in a separate PR.


Move to the cudf-0.15 release

Changes our dependency to be the official cudf 0.15 release,

build

Can we update all the 0.15-SNAPSHOT references in the docs while we're at it?

There are also references to 0.15-SNAPSHOT under jenkins/

Can we update the jenkins and docs files for this version change?

find . -type f | xargs grep -l 0.15-SNAPSHOT returns nothing.

build


Prometheus exporter incorrectly reports latency?

Describe the bug
The prometheus exporter is reporting very high values for:

replica_write_latency_us
replica_read_latency_us
volume_write_latency_us
volume_read_latency_us

For my larger volumes (100G-200G) I'm seeing values in the 10M - 100M range. Which would imply latencies of 10-100 seconds, which I am quite sure isn't actually the case. Even the saner numbers I am seeing are in the 10k-100k range, which is still in the 0.01-0.1 second region.
To Reproduce
Steps to reproduce the behavior:

Example output from the metrics-exporter-io-engine service.

Expected behavior
I would expect these numbers to be smaller by a factor of around 100k.
Screenshots
The results I am seeing:

Result of fio test:

Result of ioping:

** OS info (please complete the following information):**

Distro: Ubuntu 22.04
Kernel version: 5.15.0-113
MayaStor revision: docker.io/openebs/mayastor-io-engine:v2.6.1

I believe this is happening because the counters are actually the total latency.
@abhilashshetty04 could you please confirm and suggest how to use these counters?

Ah ok. So, testing this, when I run:
rate(replica_read_latency_us{pv_name="pvc-4e02bd25-b6d3-490f-a05e-d30531931e89"}[10m])

I see something like this (lines are each different servers):

This is showing the rate of increase in us per second. While this does look a lot more sensible, can someone confirm this is the correct way to interpret this? Values are mostly in the 2-20 range.

Hi @adamcharnock, replica_write_latency_us is sum of all write io latency on the specific replica. For getting avg_latency over a timestamp probably we should do this
(increase(replica_read_latency_us{name="<replica_name>"}[1m]))/(increase(replica_num_read_ops{name="<replica_name>"}[1m]))
We consider number of operations in the time period as well.

Ah ok. So, testing this, when I run:
rate(replica_read_latency_us{pv_name="pvc-4e02bd25-b6d3-490f-a05e-d30531931e89"}[10m])

I see something like this (lines are each different servers):

This is showing the rate of increase in `us` per second. While this does look a lot more sensible, **can someone confirm this is the correct way to interpret this?** Values are mostly in the 0-20 range.

Are you filtering for 2 replicas here? Can you share the full screenshot?

Thank you @abhilashshetty04. I see now. So these metrics are total latency, and the total is added to per-operation. We therefore divide by the number of ops to get the average latency.
So, using your example:
Note: I use rate() here as it looks better for the purposes of charting (likely because I have a low amount of disk traffic on this cluster, causing irate to show discontinuous lines
(
    (rate(replica_read_latency_us[10m]))
    /
    (rate(replica_num_read_ops[10m]))
) > 200

Gives:

So I can see 4 replicas that have latencies over 200us (over the last 1h). (Note that this cluster is connected via a dedicated 10g hardware switch, all servers are in the same rack)
Followup question: Do you have a ballpark feel for what kind of latency is acceptable?
Thank you for the help!

@adamcharnock , Since you are visualising replica stats. It would not involve any network hops. Are your backend disks for pool local to the node?

Certainly @abhilashshetty04.
Using rate (old version)
(
    (rate(replica_read_latency_us[10m]))
    /
    (rate(replica_num_read_ops[10m]))
)

Produces:

Using irate (as requested)
(
    (irate(replica_read_latency_us[10m]))
    /
    (irate(replica_num_read_ops[10m]))
)

Produces:

In both charts the two continuous purple lines are replicas of the same volume. I think this volume has fairly consistent writes, and I assume that is why we have continuous data for it.

Since you are visualising replica stats. It would not involve any network hops. Are your backend disks for pool local to the node?

I have three nodes in the cluster, each of which run mayastor. The majority of volumes have replicas. My assumption was therefore that some replicas would have low latency due to being local, and some replicas would have higher latency due to being on a remote mayastor node. But perhaps I have misunderstood something?

olumes have replicas.

replica_stats are per replica stats. Here, it doesnt matter if its remote or local to the target. For the remote replica also when the IO is received it caculates latency from the time it dispatches IO downward to the pool. Network hop latency is added in volume_read_latency_us and volume_write_latency_us This metrics is for volume target resource.

some replicas would have low latency due to being local, and some replicas would have higher latency due to being on a remote mayastor node. But perhaps I have misunderstood something?

No you did not. The nuance here is that the per-replica latency which we are exporting is at their pool level - so below any network hop takes place.
The volume latency does indeed take this into account, but here we don't have per-replica latency, it's kinda the average of all replicas.
We could potentially expose per-replica latency at the volume level, but that's not currently in scope.
Maybe this diagram helps a bit, pardon my lack of artistic gifts :D
                                         │                │
                           │             │                │
           Node 1          │   Node 2    │    Node 3      │
                           │             │                │
                           │             │                │
                           │             │                │
                           │             │                │
                           │             │                │
                           │             │                │
                           │  ┌────────┐ │                │
   Network│                │  │ Volume ├─┼─────┐          │          │  Volume
          │         ┌──────┼──┤        │ │     │          │          │
  Latency │         │      │  └───┬────┘ │     │          │          │ Latency
          │         │      │      │      │     │          │          │
          │         │      │      │      │     │          │          │
          ▼         │      │      │      │     │          │          │
                    ▼      │      ▼      │     ▼          │          │
          │       ┌───┐    │   ┌───┐     │  ┌───┐         │          │
          │       │R1 │    │   │R2 │     │  │R3 │         │          │
  Replica │       └───┘    │   └───┘     │  └───┘         │          │
          │                │             │                │          │
  Latency │      ┌──────┐  │  ┌───────┐  │  ┌──────┐      │          │
          │      │      │  │  │       │  │  │      │      │          │
          │      │ Disk │  │  │  Disk │  │  │ Disk │      │          │
          ▼      │      │  │  │       │  │  │      │      │          ▼
                 └──────┘  │  └───────┘  │  └──────┘      │
                           │             │                │
                           │             │                │
                           │             │                │

Thank you @tiagolobocastro and @abhilashshetty04, this has been really very useful. Also, irate started the behave normally when I dropped the sampling rate for the service down to 5m (from 30s), as per the docs.
If it helps anyone, here is PrometheusRule for our mayastor installation (critique welcome):
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  labels:
    app: kube-prometheus-stack
    release: prometheus
  name: mayastor-rules
  namespace: monitoring-system
spec:
  groups:
    - name: mayastor-alerts
      rules:
      - alert: MayastorDiskPoolReadLatencyHigh
        expr: irate(diskpool_read_latency_us[10m]) / irate(diskpool_num_read_ops[10m]) > 1000
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High read latency on disk pool"
          description: "The read latency on disk pool {{ $labels.name }} on node {{ $labels.node }} is higher than 1ms."

      - alert: MayastorDiskPoolWriteLatencyHigh
        expr: irate(diskpool_write_latency_us[10m]) / irate(diskpool_num_write_ops[10m]) > 1000
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High write latency on disk pool"
          description: "The write latency on disk pool {{ $labels.name }} on node {{ $labels.node }} is higher than 1ms."

      - alert: MayastorDiskPoolUsageHigh
        expr: max by (name) (diskpool_used_size_bytes) / max by (name) (diskpool_total_size_bytes) > 0.75
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High disk pool usage"
          description: "The disk pool {{ $labels.name }} is using more than 75% of its capacity."

      - alert: MayastorDiskPoolUsageCritical
        expr: max by (name) (diskpool_used_size_bytes) / max by (name) (diskpool_total_size_bytes) > 0.90
        for: 10m
        labels:
          severity: critical
        annotations:
          summary: "Critical disk pool usage"
          description: "The disk pool {{ $labels.name }} is using more than 90% of its capacity."

      - alert: MayastorDiskPoolStatusDown
        expr: diskpool_status == 0
        for: 5m
        labels:
          severity: critical
        annotations:
          summary: "Disk pool is down"
          description: "The disk pool {{ $labels.name }} on node {{ $labels.node }} is down."

      - alert: MayastorReplicaReadLatencyHigh
        expr: (irate(replica_read_latency_us[10m])) / (irate(replica_num_read_ops[10m])) > 1000
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High read latency on replica"
          description: "The read latency on replica {{ $labels.pv_name }} on node {{ $labels.node }} is higher than 1ms."

      - alert: MayastorReplicaWriteLatencyHigh
        expr: (irate(replica_write_latency_us[10m])) / (irate(replica_num_write_ops[10m])) > 1000
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High write latency on replica"
          description: "The write latency on replica {{ $labels.pv_name }} on node {{ $labels.node }} is higher than 1ms."

      - alert: MayastorReplicaReadOpsHigh
        expr: sum by (pv_name) (irate(replica_num_read_ops[10m])) > 5000
        for: 15m
        labels:
          severity: warning
        annotations:
          summary: "High number of read operations on replica"
          description: "The number of read operations on PV {{ $labels.pv_name }} is higher than 5000 per second for 15 minutes."

      - alert: MayastorReplicaWriteOpsHigh
        expr: sum by (pv_name) (irate(replica_num_write_ops[10m])) > 5000
        for: 15m
        labels:
          severity: warning
        annotations:
          summary: "High number of write operations on replica"
          description: "The number of write operations on PV {{ $labels.pv_name }} is higher than 5000 per second for 15 minutes."

      # Volume latency includes network latency
      - alert: MayastorVolumeReadLatencyHigh
        expr: (irate(volume_read_latency_us[10m])) / (irate(volume_num_read_ops[10m])) > 3000
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High read latency on volume"
          description: "The read latency on volume {{ $labels.pv_name }} on node {{ $labels.node }} is higher than 3ms"

      # Volume latency includes network latency
      - alert: MayastorVolumeWriteLatencyHigh
        expr: (irate(volume_write_latency_us[10m])) / (irate(volume_num_write_ops[10m])) > 3000
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "High write latency on volume"
          description: "The write latency on volume {{ $labels.pv_name }} on node {{ $labels.node }} is higher than 3ms"

      - alert: MayastorVolumeReadOpsHigh
        expr: sum by (pv_name) (irate(volume_num_read_ops[10m])) > 5000
        for: 15m
        labels:
          severity: warning
        annotations:
          summary: "High number of read operations on volume"
          description: "The number of read operations on PV {{ $labels.pv_name }} is higher than 5000 per second for 15 minutes."

      - alert: MayastorVolumeWriteOpsHigh
        expr: sum by (pv_name) (irate(volume_num_write_ops[10m])) > 5000
        for: 15m
        labels:
          severity: warning
        annotations:
          summary: "High number of write operations on volume"
          description: "The number of write operations on PV {{ $labels.pv_name }} is higher than 5000 per second for 15 minutes."

Also the ServiceMonitor:
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  labels:
    app: mayastor
  name: mayastor
  namespace: openebs-system
spec:
  endpoints:
    # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint
  - honorLabels: true
    port: metrics
    interval: 5m
  jobLabel: app.kubernetes.io/name
  selector:
    matchLabels:
      app: metrics-exporter-io-engine


Navigating notification a11y view with alt+]/[ should announce where you are in the list

Testing #188528
I'm expecting something like "notification x of y", instead it just announces the next focused notification, even if it's the same one:

We should also do this for chat responses https://github.com/microsoft/vscode/issues/188831#issuecomment-1653763626

/closedWith 0d28b2e

@rperez030 would be amazing if you could verify this 🙏🏼
Note that we will improve this in August https://github.com/microsoft/vscode/issues/189105

Verified in main. It works as expected.


Issues with image, packages, theme, cpu speed and gpu on Elementary OS

I've encountered several discrepancies compared to screenfetch on Elementary OS. (All dependencies are installed)

So to sum it up, background image isn't being displayed, packages aren't being displayed, the WM theme isn't being displayed, the CPU speeds don't match (should be 1.9GHz), and it only shows the integrated graphics.
Packages is easily fixed by including "elementary"* with "Ubuntu"* | "Mint"* | "Debian"* | "Kali Linux"* | "Deepin Linux"*.
For the other parts I don't have any quick fixes sadly.

Thanks for the issue!

Package count has been fixed.

CPU speed should be fixed.

For GTK theme / Icons the function looks in $HOME/.gtkrc-2.0 and $HOME/.config/gtk-3.0/settings.ini are these files not in those locations on elementary?

Also thanks for testing GPU support, I've added a rule to replace SeymourRadeon with Radeon and if gpu_shorthand="on" the word Series will also be removed from the output.
I'm going to install Elementary in a virtual machine to see what's going on with the GTK theme stuff.

I had feh installed but it wasn't showing my wallpaper, I might be doing something wrong though not 100% sure. I'm sadly on a windows machine right now so can't really test that and GTK theme / icons location.
If I have some time to look into it before you do I'll share the findings here.

We might be able to add support for elementary's wallpaper setter, all we need to do is find out where the current wallpaper is stored.
My internet is terrible so it'll take me another hour or so to download the iso.

Everything but the wallpaper issue has been fixed.

All issues have been fixed.
I'll close the issue once you've tested for yourself.

Will probably have some time to test after I've slept so expect an update in ~8 hours.

For me the GTK  theme / icons still don't show up, images still don't display and it still shows the wrong CPU speed (current not max). Not sure if it depends on my install, can try a clean install on a VM in a bit.

I tested on a fresh VM with elementary and it worked fine. Weird.
I'm getting cpu speed from /proc/cpuinfo, this is the command that I'm using. What does it output on your system?
awk -F ': ' '/cpu MHz/ {printf $2; exit}' /proc/cpuinfo

I'm getting the current gtk theme from $HOME/.gtkrc-2.0 and $HOME/.config/gtk-3.0/settings.ini first and then falling back to /etc/gtk-2.0/gtkrc and /etc/gtk-3.0/settings.ini. Do these files exist on your system?
Do images appear in ranger and w3m? If not then it's an issue with elementary's terminal emulator and not fetch.
I'll also fix that spacing issue with your cpu speed.

Just tried on my VM with Elementary and concluded the same about the images.
As for the CPU speed I'm thinking it actually depends on the CPU because on the VM it kept giving the correct values repeatedly and on my real machine it kept giving the current CPU speed.
The GTK theme / icon thing might have to do with the way you switch themes on Elementary, you have to use Elementary-Tweaks to switch the themes. For example on my normal install it shows the theme as none and on the VM install it shows a theme but not the one currently being used.

I see.
Is elementary-tweaks installed by default? I don't have it in in my VM and I'd like to find a solution that works for 100% of elementary users instead of only those with elementary-tweaks installed.
Seeing as the images and cpu speed issues are out of my hands, is the only issue you're now having the GTK theme/icons not showing the correct value?

Do any of these command output the correct theme value?
gconftool-2 -g /desktop/gnome/interface/gtk_theme

gsettings get org.gnome.desktop.interface gtk-theme

GTK theme detection should be fixed now.

GTK theme detection works now. Only way I can imagine on how to fix the CPU part is copying what screenfetch is doing which might not be the most ideal solution.

I added some more speed types that you can choose from. You can change the cpu speed type using --speed_type or by changing $speed_type inside the script. Here are the values:

current: Print the current cpu speed using cpufreq
min: Print the min cpu speed using cpufreq
max: Print the max cpu speed using cpufreq
bios: Print the bios max cpu speed. This is the one that will print your correct cpu speed
scaling_current: Print the current cpu scaling speed
scaling_min: Print the min cpu scaling speed
scaling_max: Print the max cpu scaling speed

Try them all out but I'm fairly certain that bios is the value you'll want to use.

I'll try it

Is everything working fine now?

Yep everything working as expected now, thanks a bunch for looking into this!

No problem!


chore(main): release 1.7.0

:robot: I have created a release beep boop
1.7.0 (2024-08-07)
Features

add support for github hostname in powershell for windows (3aed96f)
added optional input for the VMSS identity block, and added dynamic identity block to windows and linux vmss (4ee5522)
added output of VMSS identity principal id (ecbc4ef)
added required terraform version (70ee192)
added terraform block with required providers and versions to satisfy the lint gods (60905a4)

Bug Fixes

another place of typo runnergroup (402fe6a)
fix typo for invoking runner group in windows env (51226bb)
fixed identity variable input validation (e634cd0)
fixed syntax in input variable validation (09330f7)
fixed syntax issue in required providers (b8db829)
grept apply (57b138b)
grept apply (f144dd7)
grept apply (3628dc5)
grept apply (60e7344)
grept apply (5101ad5)
updated required versions (76fad23)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.7.0
:sunflower:


fix Increase the timeout duration for the test case

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Deprecation warnings + broken templates.

Describe the bug
I see a big bunch of errors when trying to compile our website located at https://github.com/SRE-MUC/sremuc with blowfish.
To Reproduce

Clone the repository
Run git submodule update --init
Run hugo server -Dw
See how everything breaks.

Hugo & Blowfish versions
hugo v0.126.2-8f3d902ce51512931f5759e9279d93e346c9e649 linux/amd64 BuildDate=2024-05-30T15:19:22Z VendorInfo=gohugoio
Blowfish commit: d8eee1c5
Additional context
@shibumi ➜ /workspaces/sremuc (master) $ hugo server -Dw
ERROR deprecated: config: languages.en.logo: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.127.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.dateformat: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.127.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.isocode: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.127.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.displayname: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.127.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.127.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.rtl: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.127.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  Module "blowfish" is not compatible with this Hugo version: 0.87.0/0.104.3; run "hugo mod graph" for more information.
Watching for changes in /workspaces/sremuc/{archetypes,assets,content,data,layouts,static,themes}
Watching for config changes in /workspaces/sremuc/config/_default, /workspaces/sremuc/themes/blowfish/config.toml, /workspaces/sremuc/themes/blowfish/config/_default
Start building sites …
hugo v0.126.2-8f3d902ce51512931f5759e9279d93e346c9e649 linux/amd64 BuildDate=2024-05-30T15:19:22Z VendorInfo=gohugoio

ERROR render of "404" failed: "/workspaces/sremuc/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: 404.html:1:4: executing "404.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/workspaces/sremuc/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
ERROR render of "taxonomy" failed: "/workspaces/sremuc/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/taxonomy.html:1:4: executing "_default/taxonomy.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/workspaces/sremuc/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
ERROR render of "section" failed: "/workspaces/sremuc/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/list.html:1:4: executing "_default/list.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/workspaces/sremuc/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
Built in 1600 ms
Error: error building site: render: failed to render pages: render of "home" failed: "/workspaces/sremuc/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: index.html:1:4: executing "index.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/workspaces/sremuc/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper

Hello @shibumi I am really sorry about this experience. I am closing the ticket as those breaking changes were by Hugo not Blowfish. I will try to manage this better in future releases but I won't have time to backtrack any deprecation warnings.

@nunocoracao  No problem :)
I managed to fix these issues via upgrading to the latest Hugo version + latest Blowfish version. This fixed all my issues.
This means you actually did a great job. No need to excuse 🎉


Add GSP location selector

The selector for meters only currently works for PV systems, a very similar one or maybe refactored current one could work for GSP as well
Detailed Description

Context

Possible Implementation

I think this is done now, in here


Waypoint prediction training code

Hello Yicong,
Would you be willing to share the Waypoint_TRM training code?

Hi There! Yes, we are happy to share the code. Please give us some time to clean it up (and the pre-processed data, which is large so we might just release the sampling code :)
Thanks!

Any updates for this?

Hi Yicong,
I would like to know if there is any progress about the Waypoint_TRM training code?
Or would you like to share some parameters related to the Waypoint_TRM training, such as the parameters of the Gaussian distribution used to obtain ground-truth heatmap data.
Thanks!

Hi Yicong,
I would like to know if there is any progress about the Waypoint_TRM training code? Or would you like to share some parameters related to the Waypoint_TRM training, such as the parameters of the Gaussian distribution used to obtain ground-truth heatmap data.
Thanks!

We've released the training code and you can try them here.


Key construction from &str always allocate

Currently creating a Key from that &str always allocates (unless the &'static str), which is not ideal.
Instead we could represent a Key as the hash of a perfect hash function for a combination of name + label. Since the hash would be a Copy type, we don't need to worry about ownership. So conceptually the Key would be a handle to an allocated name + labels combination. To achieve this we could use a string interning mechanism.
So i think that the metrics recording should be done this way:

Create a Key from the hash of a name + labels. This never allocates.
Attempt to record a metric using the Key:

If this fails (returns an error):

Register the Key using the name + labels (this allocates)
Record the metric (this will never fail).

This way, each name + labels combination will allocate at most once.
edit: I found a better solution

We've more or less improved key building/allocation in #87, so going to close this.


Eslint, leaflet lock, code cleaning, bugfixes

Hi, first of all thanks for you hard work.
I know this is a big change, and I know this is a lot to read.
We use Vue2Leaflet in many of our project  (ie: https://vuepeople.org/ ) and it's a great tool.
Since we use it a lot and we also pushed a bit of it's limit I dug deeper in the code base to fix some issues.
I noticed that no linter was added in the project so I dropped in a standard eslint config for vue projects and I discovered several linting / not linting problems, I am listening them not for blaming just to explain why I am bringing in such a big PR with so much rewritten.

Duplicated methods (block) declarations
Duplicated functions (one of which make the plugin crash on removing a geo-json layer at runtime )
== instead of ===
v-for without keys or with wrong keys
leaflet version is not locked and 1.3.2 (released 2 days ago ) break the plugin - not exporting the L object on import -
no reliable way to know when leaflet is ready ( tentative solution added )

There is also still to address the following problems:

v-tooltip generate and paint  one DOM element each time is instantiated, with more than 100 tooltip with a complex markup the page overloads even on big machine

findRealParent is a great function but as it is it does not allow to have some combination of nesting ( ie feature group inside a marker -component- ) which  could be a legit combination .

And we plan to address them since we are actively maintaining projects based on this code.
I am opening this PR in the hope that we can collaborate actively on this project. it's such a good plugin with a lot of uses / third party plugins.
Please let me know how you want to move forward, if you have time to check the PR ( in a reasonable timeframe ) and your thoughts about it.
Once again your work is awesome, and enabled us to build amazing UI, and we/I am here to help you improve it.

Hi @lordfuoco,
This PR looks awesome and implement plenty of things I would love to have time to do.
I'm sure you put a lot of effort and work into it and will try to review it and merge it before the end of the month.
The two issues you raised are issues/limitations I'm aware of but as well, didn't have time to investigate/solve properly. I think the best way forward is to open an issue for each of these problems with a clear description or test for it to make the collaboration easier.
Again thanks for the great work!
Mickaël

Hi @KoRiGaN
Thank you! please let me know if there is anything that you would like altered in the PR.
I will open those issue and try to address them separately, starting from the v-tooltip one since I have it addressed with a workaround on the vue-people codebase
Nico.

Hi @KoRiGaN is this good to merge?

Hi @KoRiGaN I am writing to let you know that since this PR is not going in we are actively thinking to release on npm our fork, where we could keep improving this good codebase.
This is not how we wanted to proceed because fragmenting the resources is not the best but we work daily on this code and we need to move forward.
Please let me know if you have any other suggestions.

@KoRiGaN has done a great job with this but I wonder if there is not a more active fork then it will actually cause more code fragmentation. We are also considering using this in my team and would probably go the way of @lordfuoco and create our own fork so we could maintain the code. The other option other than a fork is if @KoRiGaN adds a few member such as @lordfuoco to help manage the project.

@nparley If we go the fork -> npm direction please do not create another fork but let's work together, the idea is that we would be active maintainers in the new one and accept PRs, answer issues (as i am doing here already )

The other option other than a fork is if @KoRiGaN adds a few member such as @lordfuoco to help manage the project.

This seems like the best route to me if @KoRiGaN agrees. More developers collaborating together will make this library even stronger.

@KoRiGaN Thank you for adding me to the team! In the end did you go through this PR ? Can we merge it?

@lordfuoco I went through it and am happy with the changes so merging it

Will probably push a new release soon. It would be great If you could create new release in the future


fix(ImageSpec): Do not build image during executions

Tracking issue
Partly address https://github.com/flyteorg/flyte/issues/4374
Why are the changes needed?

Dynamic workflows will try to build the image spec during execution.
What changes were proposed in this pull request?

This PR stops the image builder from building during any execution mode.
How was this patch tested?

I added unit test to check that the image builder does not launch. I also ran the following to check that it worked in the sandbox.
from flytekit import ImageSpec, task, dynamic

repro_img = ImageSpec(
    name="flytekit",
    base_image="ghcr.io/flyteorg/flytekit:py3.11-latest",
    builder="envd",
    packages=[
        "git+https://github.com/thomasjpfan/flytekit.git@3700c4710a606f5b1e13f3c815c233c39cc9f425"
    ],
    apt_packages=["git"],
    registry="localhost:30000",
)

@task(container_image=repro_img)
def foo():
    print("foo")

@dynamic(container_image=repro_img)
def bar():
    foo()

Note that this does not completely solve the issue. For example, if the dynamic workflow uses a different image, the execution will hang:
new_image = repro_img.with_packages(["curl"])
another_image = repro_img.with_packages(["wget"])

@task(container_image=new_image)
def foo():
    print("foo")

@dynamic(container_image=another_image)
def bar():
    foo()

Created a docs task in Linear task to address this:

I'm okay with these changes as the default for flytekit: with these changes, can we document somewhere in flytekit/flytesnacks the fact that when dynamic workflows call tasks using ImageSpec, the image must already by built. The happy path case is that the dynamic workflow imagespec is the same as the task imagespecs @neverett .
Approaches for a proper fix:
* The `unionai` image builder plugin to actually build the images at runtime.

* Locally, calling `pyflyte run/register` somehow plucks out the tasks that are called inside a dynamic workflow and builds those images. pro of this approach is that it will work for flytekit + unionai serverless folks, but implementation details unclear

@eapolinario @pingsutw @wild-endeavor there are probably other approaches here too.


Maximize option for resolution should have same functionality as manually clicking maximise button on window

What are you trying to achieve?
When I set the windowSize to 'maximize' the browser window should be fullscreened, eg on Mac OS this would bring the window over the taskbar, hence maximising the window the same as clicking maximise should do.
What do you get instead?
The window is simply brought to the maximum resolution of the screen, but the option is not acting as a proper maximise, such as clicking the green maximise button on a window in mac os.

Provide test source code if related
helpers: {
WebDriver: {
host: process.profile || 'localhost',
url: process.env.CODECEPT_URL || 'http://localhost:3000',
browser: 'chrome',
coloredLogs: true,
restart: false,
waitForTimeout: 10000,
windowSize: 'maximize',
},
},

Details

CodeceptJS version: 2.0.8
NodeJS Version: 11.3.0
Operating System: Red Hat LInux, but issue tested on Mac OS
WebDriverIO: 5.7.9
Configuration file:

exports.config = {
  tests: './e2eTests/tests/**/*.test.js',
  output: './output',

  /**
   *  actors and page objects to be registered in DI container ,
   * and included in tests. Accepts objects and module require paths
   */
  include: {
    offenses: './e2eTests/tests/offenses/offensesPageObject.js',
  },

  helpers: {
    WebDriver: {
      host: process.profile || 'localhost',
      url: process.env.CODECEPT_URL || 'http://localhost:3000',
      browser: 'chrome',
      coloredLogs: true,
      restart: false,
      waitForTimeout: 10000,
      /**
       * replace below with 'maximize' if your browser window size or position
       * is causing tests to fail
       * */
      windowSize: '1920x1080',
    },
  },
  plugins: {
    retryFailedStep: {
      enabled: true,
      retries: 10,
    },
    screenshotOnFail: {
      enabled: true,
    },
  },
  multiple: {
    parallel: {
      browsers: ['chrome', 'firefox'],
    },
  },
  bootstrap: null,
  mocha: {},
  name: 'test-ui',
};

no update on this yet ?

Hi Team,
Any update on the issue?

sorry, this is how WebDriver works. We can't do anything on our side


Add Malayalam localization

Description
Please add configurations for Malayalam, an Indic family of language to translations.

Please go to https://crowdin.com/project/gitea to create one translation.

Hmm... I think one of the owners/managers needs to set it up first?

It's now been enabled.

where is the placeholders ?

@joicemjoseph https://crowdin.com/translate/gitea/all/enus-mlin
Lots of translation strings in Gitea don't have placeholders. They're just direct strings to translate eg. app_desc "A painless, self-hosted Git service" those that do have placeholders will be obvious as they have %s or the like in the source string.

Thank you for your kind reply.
For instance, the string
Sign In With
after that we have tiled social login buttons.
In case of Malayalam, social buttons has to come first and then the translation for Sign In With should be placed.
How that can be gained

Ah unfortunately I don't think there's a way of pushing those to the back. Perhaps instead of translating this directly you could translate it as a header e.g. Sign-in Options?
There's likely to be other places however, where we do need to think more clearly about our placeholder placement - so it may be worth stacking these up and opening an issue.

Sign-in Options?

That sounds OK.


Added support for cropping and setting image type and quality

This looks very good but still needs two things before I can merge and release.

[ ] Commandline arguments for urltoimage with the current convention
[ ] Documentation

@kimmobrunfeldt I think this'll do it! Please check my work on the CLI side - I'm not very au fait with using and configuring CLI or the use of yargs.

Thanks! I'll merge this for now and add some minor fixes to cli arguments on master

Awesome - thanks!


Native tooltips are not working

I am on Atom 0.19.5 (Windows) with a simple hello world application and I notice that the native hovers are not working.
I am setting a simple link tag on my index.html:
http://www.github.com
Hovering over the link I am not seeing any hover.

The tooltips works on Windows under the current master branch build.

On Linux, hovers are cropped by the bounds of the window at least when the window is not maximized.

my tooltips are broken on electron AND google chrome. Several chromium users have reported experiencing issues with tooltips on Windows too. Maybe it's unrelated, but there's an upstream bug about tooltips.


Examples wrong regarding time

On the example page:
https://flatpickr.js.org/examples/
Starting from this:
Time Picker w/ Limits
All the examples refer to
minDate: "16:00",
maxDate: "22:30",
but they must refer to
minTime and maxTime

@ziobit Thank you so much for reporting this issue. A PR has been created to fix this issue. It will be merged by @chmln soon.

PR https://github.com/flatpickr/flatpickr.github.io/pull/23

@ziobit If you find any more issue, Feel free to ask me. Thanks


bump project dependencies

I checked out this repository to attempt https://github.com/johnotander/ember-cli-gravatar/issues/38, but quickly realize the project needed a version bump.
I've included ember-cli-html-bars-inline precompile so compenent tests can be written in the Ember 2.0 recommended way (as integration rather than unit tests — http://guides.emberjs.com/v2.0.0/testing/testing-components/)
Normally wouldn't submit a PR for something like this but the upgrade was quite painful... all tests are passing.

This is awesome, thanks!


[MM-21993] Fixed center channel flicker with light theme when loading

Summary
Fixes center channel flicker with light theme while loading when dark theme is set
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/13783

Thanks @hryuk for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

I had already signed the CLA on a past contribution, but since i changed the github username recently I was asked to sign it again, so I did.

/check-cla

/update-branch


Site with only one language and not in English not building

Issue description
Dear @jpanther,
Following your advice in https://github.com/jpanther/congo/issues/574, I have put displayName = ":flag-fr:" in [params] (see https://github.com/AntoineSoetewey/elsaetantoine/blob/master/config/_default/languages.fr.toml#L10).
Since a few weeks, the site is not building anymore. Note that this site has only one language, and it is not English.
Here is the error:

I have another site using your theme which is in English and French (see https://github.com/AntoineSoetewey/antoinesoetewey.com), and it works fine.
Do you have any idea how to fix this?
Regards,
Antoine
Theme version
v2.6.1
Hugo version
0.91.2
Which browser rendering engines are you seeing the problem on?
Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.)
URL to sample repository or website
https://github.com/AntoineSoetewey/elsaetantoine
Hugo output or build error messages
Error: add site dependencies: load resources: loading translations: "art-x-ar 2" language: tag is not well-formed.

I have rebuilt the site from scratch and it fixes the issue.


Documentation inconsistency

In README at line 102 the example says:
{
  "properties": {
    "username": {
      "type": "string"
    }
  },
  "required": ["name"]
}

Where the required property name does not exist in the properties declaration, or the valid input in the following paragraph.
Would a PR with a suggestion on stricter types for the schema input be of interest?

In MikroValid.ts, the example has the required properties on the same level as the actual properties.
In the tests and in the README, those properties are on the same level as the properties property.
The way they are placed in the code description is similar to how they are placed in the rest of the hierarchy, like
work: {
  office: 'string', // <- referenced by required on the same level
  currency: 'string',
  salary: 'number',
  required: ['office'] // <- here
},
// ---------- Tests and README
{
  properties: {
    thing: {},  // <- referenced by required on one level up
  },
  required: ['thing'] // <- only on this level for things inside properties?
}

If this is an inconsistency, and it would be addressed, it is also valid for additionalProperties . (Not explicitly written in the code description though).

Also in the code description:
work: {
  office: 'string', // <- These should be `{ type: 'string' }` ?
  currency: 'string',
  salary: 'number',
  required: ['office']
},

Just adding that additionalProperties can be used at any level inside the initial properties object - otherwise you could not describe that condition for each nested level.


Update flag description for '--self-signed-ca'

-ca-key and -ca-cert were changed to --signing-key and --signing-cert
here:
https://github.com/istio/auth/pull/59/files#diff-18dd05e4ee80822d7f159545a7e0dcf6R31

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed


[Google Translate] ...

Extension
https://www.raycast.com/gebeto/translate
Description

Error:

Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

@raycastbot close this issue


Add XML documentation to public properties, methods, and classes.

#78

cc @rowanmiller

@natemcmaster thanks - I just happened to be looking at some older unmerged PRs and happened to see this. :shipit: after adding some .s.


MM-16924 Fix to load more posts automatically if new messages loader is above the fold

Summary
Use scroll event to check if the scroll update was programatically requested to load more posts. If the scroll update was requested by user we use the existing loadMoreNewer posts callback
Ticket Link
https://mattermost.atlassian.net/browse/MM-16924

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-3096.test.mattermost.cloud
Test Admin Account: Username: sysadmin | Password: Sys@dmin123
Test User Account: Username: user-1 | Password: User-1@123

Spinmint test server destroyed


Capitalize keywords in SQL auto complete

All keywords are in upper case to follow SQL's convention

This look good to me 👍


How to read the MCD Calculations

INFO           main    : calculating MCD
INFO           main    : Develop: DNN -- MCD: 5.077 dB; BAP: 0.232 dB; F0:- RMSE: 23.313 Hz; CORR: 0.726; VUV: 8.990%
INFO           main    : Test   : DNN -- MCD: 5.030 dB; BAP: 0.224 dB; F0:- RMSE: 21.781 Hz; CORR: 0.720; VUV: 9.205%

Hi, how to read the distortion here? What's the difference between 'Develop' and 'Test'? Could anyone provide any papers related to that? Thanks

according to the source code :

test is corresponding to the test corpus (I suspect that the one which is synthesized also after) and develop to the validation corpus .
to see how is computed MCD you should have a look to this file  merlin/src/utils/compute_distortion.py especially the method starting line 59.
just take also into account these lines:

valid_spectral_distortion *= (10 /numpy.log(10)) * numpy.sqrt(2.0)    ##MCD
test_spectral_distortion *= (10 /numpy.log(10)) * numpy.sqrt(2.0) ##MCD

As far as I see, it is a classical MCD as defined for example in SPTK.

I love you!
And i finally figure clearly out where is the MCD toolkit, all in Merlin & SPTK.
I used to use an independent package named "mcd", and cost so much time to deal with temporary files.
But to be honest, the score result of MCD do have too much accuracy problem. Not as accuracy as speech enhancement metrics(e.g. PESQ etc.), but more and more VoiceConversion related works would like to present this MCD metric.


timm.create_model loads the model from a specified local path

hello @rwightman，
Thank you for all the work you've done, and now I have a question.
        self.feature_extractor = timm.create_model(
            backbone,
            pretrained=True,
            features_only=True,
            exportable=True,
            out_indices=self.idx,
        )

Where  backbone: str = "wide_resnet_50_2",  This code will tell the program to look for the model in question under my C:\Users\user\.cache\torch\hub\checkpoints (which is the path under windows) and if it doesn't exist then download it from the web.
I set the following two parameters in create_model
 pretrained=True,  features_only=True,
Since "features_only=True", I can't change the program to pretrained=Fasle, and I can't add checkpoint_path = "my_model_path" for the program to go to the folder I specified to find the corresponding model.
So I chose to change OS["TORCH_HOME"] = "New_path"
But I found that when I made this change, the path where timm ends up looking for the model becomes "New_path/hub/checkpoints".
How should I get timm to go to the folder path I specified to find the corresponding model with pretrained=True, features_only=True. And make sure that the timm is looking exactly at the path I provide it with, and not adding subfolders to the path I provide as it would if I were modifying OS["TORCH_HOME"]!
Very much looking forward to your reply, thanks!

@laogonggong847 functionality was added for this scenario, see my ansewr here https://github.com/huggingface/pytorch-image-models/discussions/1826#discussioncomment-5996455

@laogonggong847 functionality was added for this scenario, see my ansewr here #1826 (comment) ... it should work fine with features_only=True

Hello @rwightman
Thank you for your reply, but I noticed that you are not sure what to say in #
in which you state that the version of timm should be greater than 0.9.x, but due to the version requirements of some of the dependent libraries my version of timm is now 0.6.12. Is there a better way to solve this problem other than upgrading the timm?

@laogonggong847 that functionality was added in 0.9 to solve this use case that a few people had. There is no way of doing it in 0.6.x other than trying to figure out exactly where the torch cache location for the checkpoint is and putting yours in that location. You can't easily avoid the subfolders or redirect without hacking the code...

You should try 0.9 though as it's quite likely to work even if there is a 0.6.x dependency, effort was made to allow backwards compatibility for majority of changes and the rest should be minor import module name changes (mentioned at top of README).

Moving to discussion for future ref


Change Java inner classes convention

Description
The changes in this PR are motivated by issue #366. They aim to provide direct access to constant fields in inner Java types, while the syntax to create instances of inner types will be kept as close to Java conventions as possible.
The changes to the syntax can be previewed here.
Does your commit message include the wording below to reference a specific issue in this repo?

Fixes #366 - Proposal 2 / Option 3
Does your pull request have [unit tests]
Previous unit tests testing inner class behavior have been fixed to comply to the changes made in this PR. More tests will be added in the following days.

Note: PR created to test CI, I'd need to add a couple more tests before its finalized.

run ci

run ci

@NativeScript/android-runtime please review

:+1:

👍

:+1:


Add LICENSE file and distribute it in the crates

There should be a MIT LICENSE file in the repo and also included in the crate manifest.

@nullr0ute I added a LICENSE file as requested, though I am not sure what you mean by "included in the crate manifest"?

Speaking as another Fedora Linux package maintainer, I'm not sure either - but it would be great if you could publish a new version of the crate that includes the license file.

Can confirm that v1.0.0 crates (both serde_tuple and serde_tuple_macros) now contain the license text 🥳  feel free to close this ticket.


Feature request: Add option to assign the most appropriate reviewer for the PR

Currently it only mentions for potential reviewers, I'd like to have the option to assign one of them.
Any idea about this?

If you implement it, I'll be glad to accept it :)

Thanks, I will try.


Add workaround for Windows Antivirus

Players on Windows have sometimes failing rename due to "operation not permited". It's fault of not great antivirus implementation and disabling antivirus helps.
I don't have clean setup where we can reproduce this, but it's possible that cause is the same as in: https://github.com/rust-lang/rustup/issues/1870 antivirus is scanning files after closure which on windows blocks moves.
Idea here is to try to workaround it by retrying all renames with backoff until some deadline and see if it mitigates the issue...

Hopefully fixed 0a3a4a0b4a35a9fa6d354ca14c5fedab75e22cae, I'm closing assuming done


<EMAIL_ADDRESS>

https://github.com/electron-vite/vite-plugin-electron/tree/v0.4.6

done 🥳


Task Manager - It is getting dark in here

https://user-images.githubusercontent.com/82385103/178369862-ee981d4d-908d-40f3-8fe2-97ea80ee7262.mp4
This is my favourite bug so far haha. Only works into one direction (from top to bot)!

https://user-images.githubusercontent.com/80448387/179214245-1a82d9df-4857-4c5f-8801-aab6c4b55897.mov
Not fixed yet 😅

it's getting worse :)


Control arrow not show on safari

when i open the demo on safari, prev and next svg not show

Unfortunately, I don't own an Apple device to test it properly. Could you tell me if you can see them correctly in the second one?: https://codepen.io/lombervid/embed/QWXEOjw

Thanks! A patch has already been merged with #9. I'll try to make the release next weekend. 🙂

New release has been published.


[FEA] Update branch-24.02 JNI and private dependencies version to 24.02.0-SNAPSHOT

Is your feature request related to a problem? Please describe.
This ticket is to remind us to update the corresponding dependencies version when available.
ref JNI change: https://github.com/NVIDIA/spark-rapids-jni/pull/1562

closed with https://github.com/NVIDIA/spark-rapids/pull/9812


Add better error handling for BigqueryJob

We don't necessarily want to throw the exception implicitly, but we should make it easy to turn a Job into an exception.

This should now include BigQueryQueryJob (hopefully to be renamed...)


Covered buttons

When opening the JAVA file one my computer, I cant see some of the buttons (on the bottom right), because they are covered the "All resources set!" message. It happens even when I try to resize the window.
I can also see that some of the "check circles" don't have a description, but rather have "..." instead. Is this suppose to happen?
Thanks in advance.

Not sure without seeing a picture but probably you could increase the size of the window. The all resources set message is on the bottom left and so if it is on the bottom right on your computer something might be going wrong. Can you restart and if the problem persists could you upload a screen shot of what you are seeing?

I see -- this is because the app requires a certain minimum screen size. If you cannot increase the screen size more on the current device, then I am afraid there is nothing more to be done, except perhaps increase the screen resolution or more to another computer. Most of the functionality should be accessible though!


[SDK-38] Providing stdin up front seems to always read the same bytes

@theduke made a little demo where we load an image and pass it to runWasix() as stdin. The WASI program then does a std::io::stdin().read_to_end() so it can receive the image and resize it. The code looks something like this:
const stdin = await file.arrayBuffer();

const instance = await runWasix(MODULE, {
  args: ["resize", "--width", width.toString(), "--height", height.toString()],
  stdin: new Uint8Array(stdin),
});

However, no matter what image we passed in, we always seemed to trigger a panic/OOM in the instance, which would then abort with an unreachable instruction.

After modifying the WASI program to read std::io::stdin() in chunks, I discovered that every read seems to get the same data rather than reading successive bytes from the input until EOF is reached.
Failed to convert image: Read 1048576 bytes (total: 1048576, first couple: [137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82])
Read 1048576 bytes (total: 2097152, first 16 bytes: [137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82])
Read 1048576 bytes (total: 3145728, first 16 bytes: [137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82])
Read 1048576 bytes (total: 4194304, first 16 bytes: [137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82])
...
Read 1048576 bytes (total:<PHONE_NUMBER>, first 16 bytes: [137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82])
Read 1048576 bytes (total:<PHONE_NUMBER>, first 16 bytes: [137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82])
thread 'main' panicked at library/alloc/src/raw_vec.rs:545:5:
capacity overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I noticed this was broken around the same time TTY handling was fixed (maybe somewhere around 8b5d439), but I pretended the problem wasn't there by only writing tests that do instance.stdin.write()... Looks like that laziness has come back to bite me 😅
SDK-38

Looks like this is actually an issue with virtual_fs::StaticFile. See wasmerio/wasmer#4355 for the fix.

Oops, Linear automatically marked this as closed when https://github.com/wasmerio/wasmer/pull/4355 was merged, but I still need to update this repo to pick up the fix.


Release 2.1.21

On the docket:

[x] "FileNotFoundError: [Errno 2] No such file or directory" in pex #1098
[x] Unclosed resource warning for /dev/null in PEX teardown. #1101
[x] Remove --sources-directory / --resources-directory distinction. #1100
[x] Invalid requirement, parse error at "'python_v' #940
[x] Pex skipping pandas activation #1017
[x] Changing vendored versions does not fully clean up previous version #1096
[ ] Pex discards the current interpreter's PATH entry when it is a directory entry. #1109

Broke out remaining issues to Release 2.1.21 in #1111. This release has enough including a few fixes desirable for Pants 2.{0,1}.


Many packages do not have IsLatestSemVer2 / IsLatestStableSemVer2 set

Observe the following two OData queries:
https://www.nuget.org/api/v2/Packages/$count?$filter=IsAbsoluteLatestVersion
https://www.nuget.org/api/v2/Packages/$count?$filter=IsAbsoluteLatestVersion&semVerLevel=2.0.0
Presumably, the result of the second should be greater than or equal to the result of the first since the first excludes SemVer 2.0.0 packages. However, the result of the second is much less than the first.
I dug into this a bit and it seems like many packages have not IsLatestSemVer2 or IsLatestStableSemVer2 for any package with that ID. This should not be the case.
To find the affected IDs, sorted by download count:
SELECT DISTINCT pr.Id, pr.DownloadCount
FROM dbo.PackageRegistrations pr
WHERE pr.Id IN (
	SELECT DISTINCT pr.Id
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE p.Listed = 1
) AND pr.Id NOT IN (
	SELECT DISTINCT pr.Id
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE p.IsLatestSemVer2 = 1
) ORDER BY pr.DownloadCount DESC

To observe the issue on a specific package:
SELECT pr.Id as ID, p.[Version], p.Listed, p.IsLatestSemVer2, p.IsLatestStableSemVer2, p.IsLatest, p.IsLatestStable
FROM dbo.Packages p
INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
WHERE pr.Id = 'Knapcode.Procommand'

ID
Version
Listed
IsLatestSemVer2
IsLatestStableSemVer2
IsLatest
IsLatestStable

Knapcode.Procommand
0.1.0
1
0
0
0
0

Knapcode.Procommand
0.2.0
1
0
0
0
0

Knapcode.Procommand
0.3.0
1
0
0
1
1

/cc @xavierdecoster
We can fix individual packages by reflowing one of the version, but that is not a scalable solution for the 67282 effected packages.

Since this issue is only effecting IDs that have no SemVer 2.0.0 versions, we can perform a data fix in SQL by simply copying the value of IsLatest to IsLatestSemVer2 and IsLatestStable to IsLatestStableSemVer2.

The following script can be used:
-- Determine if any SemVer 2.0.0 packages have this issue. If there are any, manually reflow them.
SELECT DISTINCT pr.Id
FROM dbo.PackageRegistrations pr
WHERE pr.Id IN (
	SELECT DISTINCT pr.Id
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE p.Listed = 1
) AND pr.Id NOT IN (
	SELECT DISTINCT pr.Id
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE p.IsLatestSemVer2 = 1
) AND pr.Id IN (
	SELECT DISTINCT pr.Id
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE p.SemVerLevelKey = 2
)

-- Determine if any packages have inconsistent IsLatest columns. If there are any, manually reflow them.
SELECT PackageRegistrationKey, pr.Id, IsLatestCount, IsLatestStableCount, IsLatestSemVer2Count, IsLatestStableSemVer2Count
FROM
(
	SELECT ISNULL(ISNULL(pr.[Key], q3.PackageRegistrationKey), q4.PackageRegistrationKey) AS PackageRegistrationKey,
		IsLatestCount, IsLatestStableCount, IsLatestSemVer2Count, IsLatestStableSemVer2Count
	FROM
	(
		[dbo].[PackageRegistrations] pr
		INNER JOIN
		(
			SELECT PackageRegistrationKey, COUNT(*) AS IsLatestCount
			FROM [dbo].[Packages]
			WHERE IsLatest=1
			GROUP BY PackageRegistrationKey
			HAVING COUNT(*) > 1
		) AS q1
		ON pr.[Key] = q1.PackageRegistrationKey
		FULL OUTER JOIN
		(
			SELECT PackageRegistrationKey, COUNT(*) AS IsLatestStableCount
			FROM [dbo].[Packages]
			WHERE IsLatestStable=1
			GROUP BY PackageRegistrationKey
			HAVING COUNT(*) > 1
		) AS q2
		ON pr.[Key] = q2.PackageRegistrationKey
		FULL OUTER JOIN
		(
			SELECT PackageRegistrationKey, COUNT(*) AS IsLatestSemVer2Count
			FROM [dbo].[Packages]
			WHERE IsLatestSemVer2=1
			GROUP BY PackageRegistrationKey
			HAVING COUNT(*) > 1
		) AS q3
		ON pr.[Key] = q3.PackageRegistrationKey
		FULL OUTER JOIN
		(
			SELECT PackageRegistrationKey, COUNT(*) AS IsLatestStableSemVer2Count
			FROM [dbo].[Packages]
			WHERE IsLatestStableSemVer2=1
			GROUP BY PackageRegistrationKey
			HAVING COUNT(*) > 1
		) AS q4
		ON pr.[Key] = q4.PackageRegistrationKey
	)
) AS qq
JOIN [dbo].[PackageRegistrations] pr
ON pr.[Key] = qq.PackageRegistrationKey
ORDER BY pr.Id

DECLARE @BatchSize INT = 1000;

-- Preview the records that will be updated.
SELECT pr.Id, p.NormalizedVersion, p.Listed, p.IsLatestSemVer2, p.IsLatestStableSemVer2, p.IsLatest, p.IsLatestStable
FROM dbo.Packages p
INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
WHERE p.[Key] IN (
	SELECT p.[Key]
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE
		(p.IsLatest = 1 OR p.IsLatestStable = 1) AND
		pr.Id IN (
		SELECT TOP (@BatchSize) *
		FROM (
			SELECT DISTINCT pr.Id
			FROM dbo.PackageRegistrations pr
			WHERE pr.Id IN (
				SELECT DISTINCT pr.Id
				FROM dbo.Packages p
				INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
				WHERE p.Listed = 1
			) AND pr.Id NOT IN (
				SELECT DISTINCT pr.Id
				FROM dbo.Packages p
				INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
				WHERE p.IsLatestSemVer2 = 1
			) AND pr.Id NOT IN (
				SELECT DISTINCT pr.Id
				FROM dbo.Packages p
				INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
				WHERE p.SemVerLevelKey = 2
			)
		) A
	)
);

-- Update the records. Repeat this statement until all data is fixed and at a rate that does not impact customers.
BEGIN TRANSACTION;

UPDATE dbo.Packages
SET IsLatestSemVer2 = IsLatest, IsLatestStableSemVer2 = IsLatestStable
WHERE [Key] IN (
	SELECT p.[Key]
	FROM dbo.Packages p
	INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
	WHERE
		(p.IsLatest = 1 OR p.IsLatestStable = 1) AND
		pr.Id IN (
		SELECT TOP (@BatchSize) *
		FROM (
			SELECT DISTINCT pr.Id
			FROM dbo.PackageRegistrations pr
			WHERE pr.Id IN (
				SELECT DISTINCT pr.Id
				FROM dbo.Packages p
				INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
				WHERE p.Listed = 1
			) AND pr.Id NOT IN (
				SELECT DISTINCT pr.Id
				FROM dbo.Packages p
				INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
				WHERE p.IsLatestSemVer2 = 1
			) AND pr.Id NOT IN (
				SELECT DISTINCT pr.Id
				FROM dbo.Packages p
				INNER JOIN dbo.PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
				WHERE p.SemVerLevelKey = 2
			)
		) A
	)
);

COMMIT;

/cc @xavierdecoster, @agr I ran this on DEV and INT and it worked fine. Could you review the process and SQL before I move to PROD?

The issue is that IsLatestSemVer2 and IsLatestStableSemVer2 are not set for some packages, which have IsLatest and IsLatestStable set, yet the update query checks only for IsLatestSemVer2 being not set. It's OK if in all cases both IsLatestSemVer2 and IsLatestStableSemVer2 are not set (I haven't seen the data, so I don't know).
Otherwise, looks good.

The issue is that IsLatestSemVer2 and IsLatestStableSemVer2 are not set for some packages, which have IsLatest and IsLatestStable set, yet the update query checks only for IsLatestSemVer2 being not set. It's OK if in all cases both IsLatestSemVer2 and IsLatestStableSemVer2 are not set (I haven't seen the data, so I don't know).

The query under the following comment...
-- Determine if any packages have inconsistent IsLatest columns. If there are any, manually reflow them.

... covers this case. Application code is doing the right thing so we'll never get more instances of messed up SemVer 2.0.0 columns.

What is the correct state of a package in regard with IsLatestSemVer2 , IsLatestStableSemVer2 , IsLatestStable  , IsLatest?

What is the correct state of a package in regard with IsLatestSemVer2 , IsLatestStableSemVer2 , IsLatestStable , IsLatest?

If the package's ID has no SemVer 2.0.0 packages, the values of IsLatestSemVer2 and IsLatest are the same, as with the pair IsLatestStableSemVer2 and `IsLatestStable.
IsLatest is true for the highest listed version, stable or prerelease.
IsLatestStable is true for the highest listed version, disregarding prerelease versions.

Why a package that does not have any SemVer 2 packages should have IsLatestSemVer2 = 1?

IsLatestSemVer2 and IsLatestStableSemVer2 are simply the booleans used by SemVer 2.0.0 compatible client.s SemVer 1.0.0 packages are compatible with SemVer 2.0.0 clients, so these columns must be populated.

IsLatestSemVer2 does not mean "the latest SemVer2 package" it means "the latest SemVer 2.0.0 compatible package" note that SemVer 1.0.0 is a subset of SemVer 2.0.0 so a SemVer 1.0.0 package is SemVer 2.0.0 compatible

Why a package that does not have any SemVer 2 packages should have IsLatestSemVer2 = 1?

Looking at the meaning of IsLatestVersion and IsAbsoluteLatestVersion when projecting the SQL database entities to OData feed entities:
// We do not expose the internal IsLatestSemVer2 and IsLatestStableSemVer2 properties;
// instead the existing IsAbsoluteLatestVersion and IsLatestVersion properties will be
// updated based on the semver-level supported by the caller.
IsLatestVersion = semVerLevelKey == SemVerLevelKey.SemVer2
                            ? p.IsLatestStableSemVer2 : p.IsLatestStable,

// To maintain parity with v1 behavior of the feed,
// IsLatestVersion would only be used for stable versions.
IsAbsoluteLatestVersion = semVerLevelKey == SemVerLevelKey.SemVer2
                            ? p.IsLatestSemVer2 : p.IsLatest,

Source

What is the correct state of a package in regard with IsLatestSemVer2 , IsLatestStableSemVer2 , IsLatestStable , IsLatest?

The IsLatestSemVer2 and IsLatestStableSemVer2 properties themselves are not exposed to clients AFAIK.
However, for any given package that has IsLatestStable = true, and has no newer, non-prerelease SemVer2 versions (SemVer2 versions are identified as described in the spec), the IsLatestStableSemVer2 property should be set to true. (unless you want the code to iterate over the package versions twice)
For any given package that has IsLatest = true, and has no newer SemVer2 versions (pre-release or non-prerelease), the IsLatestSemVer2 property should be set to true.


Reverse Proxy - from Nginx to envoyproxy

Description:
I am using currently some Nginx reverse proxy with mod "proxy_pass" to forward http listener to https remote public site, I would like to know what is the equivalent with envoyproxy?
I tried many of examples, some of them give me 404, 400 or no healthy upstream...no one worked.
for example:
`static_resources:
listeners:

name: fortio
address:
socket_address:
protocol: TCP
address: <IP_ADDRESS>
port_value: 10000
filter_chains:

filters:

name: envoy.http_connection_manager
config:
stat_prefix: ingress_http
generate_request_id: false
route_config:
name: emote_site_route
virtual_hosts:
- name: remote_site_service
domains:
- "*"
routes:
- match:
prefix: "/"
route:
cluster: remote_site
http_filters:

name: envoy.router
config:
dynamic_stats: false
clusters:

name: remote_site
connect_timeout: 0.25s
hosts:

socket_address:
address: public_site
port_value: 443`

To resume the process: HTTP Client request -> HTTP listener Reverse Envoy Proxy -> Remote site HTTPS. Do you have any solution, thank you.

admin:
   access_log_path: /tmp/admin_access.log
   address:
     socket_address: { address: <IP_ADDRESS>, port_value: 9901 }
 static_resources:
   listeners:
   - address:
       socket_address:
         address: <IP_ADDRESS>
         port_value: ${ENVOYPROXY_PORT_LISTENER}
     filter_chains:
     - filters:
       - name: envoy.http_connection_manager
         config:
           access_log:
             name: envoy.file_access_log
             config:
               path: /var/log/envoy.log
           stat_prefix: ingress_http
           route_config:
             name: local_route
             virtual_hosts:
             - name: backend
               domains: ["*"]
               routes:
               - match:
                   #prefix: /
                   prefix: ${API_PREFIX}
                 route:
                   cluster: upstream
                   prefix_rewrite: /
                   auto_host_rewrite: true
           http_filters:
           - name: envoy.router
   clusters:
   - name: upstream
     connect_timeout: 1s
     type: strict_dns
     lb_policy: round_robin
     # http2_protocol_options: {} ## UNCOMMENT ME FOR TROUBLE
     respect_dns_ttl: true
     tls_context:
       sni: ${API_HOST}
     load_assignment:
       cluster_name: upstream
       endpoints:
       - lb_endpoints:
         - endpoint:
             address:
               socket_address:
                 address: ${API_HOST}
                 port_value: ${API_PORT}
                 protocol: TCP

This example works for me.


Vagrant up fails to complete due to Vagrant-Hostsupdater permissions error

Issue Type

Bug Report / Support Request

Your Environment

Vagrant 2.2.9
VirtualBox: Version 6.1.12 r139181 (Qt5.6.2)
Ansible - using Windows so Ansible is part of provising

Your OS

Windows 10 Pro  version 2004 (latest) Build 19041.388

Full console output

https://gist.github.com/chumkui/7560abc937afaebd545f45971d24bf9c
Summary
After building a new dev laptop I installed the latest Vagrant, VirtualBox and DrupalVM.  When I run it up to test it fails on the updating of the Windows hosts file.  I've spent all day looking at this and I can see that others have had similar experiences over the years.  I've tried making the permissions of the hosts files writable by 'Everyone' (yes, I have removed that after testing...) but it seems to make no difference.  I have added the exact hostnames in the file manually but it still fails.
The only obvious pointer is the mismatch between the Guest additions, but this not likely to be it.
Is there a way of stopping this step as a work around?
I just tried the same Vagrant/VBox/DVM on an older Lenovo desktop running exactly the same latest version of Windows 10 Pro (2004) - no problem at all (other than a Python error which was easy to sort).  Really annoying as this is to be my portable dev environment!

I have updated the Box from 2.09 to 2.10 and this particular problem has gone away.


Maccy takes focus from the focused app when activated

When using an visor like app that disappears when it loses focus, you can't paste from Maccy because it takes focus when activated.
Most clipboard managers don't steal focus from the focus app when activated.
Maccy should probably also not do that.
Info on how to do this here: https://stackoverflow.com/questions/46023769/how-to-show-a-window-without-stealing-focus-on-macos

That's by design to allow language input helpers to work when searching. It will be possible to disable this behavior in preferences in the next version (see 4102d7b5fadb61743c196e83b4d2788a6305c60b).


Faster flashing possible?

stty -F /dev/ttyUSB0
stty -F /dev/ttyUSB0 921600

921600 should be a safe operation speed
2M doesn't work for me


Bug: error message for double ASN

Setting an ASN twice (by mistake…) does actually work but produces a meaningless error message. A more meaningful message might be good.

I should be able to check this before even submitting the document. That way, the app won't even let you submit the document if the ASN is not unique.

Issue was solved 👍 Thanks.
However another one occurred - I provided a description via TestFlight.


fix #321

Counting assertions based on a string prefix of "assert_" or "refute_" is replaced by a symbol comparison against the 38 Minitest assertion methods.

This is not the best solution. It will ignore all custom assertions the user may have written themselves, and test methods provided by gems like rails.
I think it would be better to instead only look at methods that have no receiver.

@Earlopain

It will ignore all custom assertions the user may have written themselves, and test methods provided by gems like rails.

Apologies, I didn't see that tested for anywhere.

I think it would be better to instead only look at methods that have no receiver.

Or where the receiver is not a kind_of Minitest::Test?

Apologies, I didn't see that tested for anywhere.

I guess the assert_something call you changed could be counted as that but yes, it isn't very explicit in the test suite yet. Let's just add a testcase for custom assertion methods with this PR.

Or where the receiver is not a kind_of Minitest::Test?

Perhaps, but not decidable by rubocop. It can't tell if MyCustomTestCase or AcitveSupport::TestCase inherit from Minitest::Test. Just no receiver seems fine, unless you see a problem with that yourself.

Please add a changelog entry for this, and write a meaningful commit message starting with [Fix #321]. Thanks!

Will take a :eyes:


cmake FindNodejs module should indicate that required include files have not been detected

When the cmake option BUILDSWIGNODE is set, the FindNodejs cmake module is used to detect the presence of packages requires to build the Javascript binding. The current logic looks for the include files but no action is taken if they are not found. Thus the g++ include path is invalid and the build fails (can't find node.h). I hit this problem as package nodejs was installed but nodejs-devel was not.
I can update the FindNodejs cmake module to catch this condition and flag an error but wanted to check if current behavior was required before proceeding.
Let me know.

This was implemented by PR #414 for a while now - closing this one.


Added create_drawing_classifier to test/ml/neural_net_mocks

Fix build failure in C++ tests.

Why is this a WIP?

There was a compilation error (Undeclared identifier) I was fixing, just pushed a fix.

Relevant internal tests passed.


config doesn't seem to work with a subdirectory?

Hi Orhun, thank you for git-cliff-action! It's truly the bees knees! :)
I think I may have found a quirk with config. The following doesn't work as expected:
      - name: Update Changelog
        id: changelog
        uses: orhun/git-cliff-action@v2
        with:
          config: config/cliff.toml
          args: --verbose --unreleased --tag ${{ steps.monotag.outputs.tag }} --include-path "${{ inputs.gradle-working-directory }}/**" --include-path "buildSrc/**"
        env:
          OUTPUT: ${{ inputs.gradle-working-directory }}/CHANGELOG.md

I get the following:

WARN  git_cliff > "cliff.toml" is not found, using the default configuration.

However, passing the config file location in args works as expected:
      - name: Update Changelog
        id: changelog
        uses: orhun/git-cliff-action@v2
        with:
          args: -c config/cliff.toml --verbose --unreleased --tag ${{ steps.monotag.outputs.tag }} --include-path "${{ inputs.gradle-working-directory }}/**" --include-path "buildSrc/**"
        env:
          OUTPUT: ${{ inputs.gradle-working-directory }}/CHANGELOG.md

Not a big deal as there's a clear workaround but thought I'd drop a line here.

Hello! 🐻
I just tried this with a fresh repo but I couldn't reproduce it :/
Can you share more information or maybe share the repository if possible?


Text in PowerToys Run is blurred

Microsoft PowerToys version
0.83.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
Launch PowerToys Run.
✔ Expected Behavior
The text is not blurred.
❌ Actual Behavior
The text is blurred. Compare the clarity of the text in the Settings app and the PT Run window in this screenshot.

Other Software
No response

This issue seems similar to https://github.com/microsoft/PowerToys/issues/5920 and https://github.com/microsoft/PowerToys/issues/8949 but both these issues are closed as completed and I am still seeing the issue in the latest release.

@user1823 Thanks for filing the issue!
We'll need some more information to be able to diagnose the problem better.
Could you please check if the issue persists for you in PowerToys v0.81? The reason I ask is that DPI-awareness was implemented for PowerToys Run in v0.82, and it will be very useful to know if the issue is that DPI-awareness is not working satisfactorily or somehow isn't being enabled at all.
Based on your answer, we'll have some more follow-up questions for you.
It will also be useful to upload a /bugreport for us to look at. Thanks!
/needinfo

Could you please check if the issue persists for you in PowerToys v0.81?

I didn't specifically check this because I am not sure what's the best way to downgrade without losing my settings. However, I think that it would be sufficient for you to know that this is a long-standing issue and I have been experiencing it for several months (or maybe even years).
PowerToysReport_2024-08-14-07-46-13.zip

@user1823: Thanks for the clarification.

Am I right to conclude that there has been no improvement (or even difference) with the blurriness issue since v0.82?
Looking at your bug report, it seems you have a single monitor setup and from your screenshot, it appears you have this at 150% scale. Is that correct? Does the blurriness persist at 100% scale? How about when switching to 100% and then back to 150%?
If you have any other applications on your machine that use WPF (like Visual Studio), do they also exhibit the same problem?

Updating your device drivers (graphics and monitor) may also be a good first step - the fact that your monitor is listed as a "Generic PnP Monitor" means that a generic driver is being used.

Am I right to conclude that there has been no improvement (or even difference) with the blurriness issue since v0.82?

Yeah, no difference.

Does the blurriness persist at 100% scale? How about when switching to 100% and then back to 150%?

Yes, the blurriness persists at 100% scale. Switching to 100% and then back to 150% didn't help either.

If you have any other applications on your machine that use WPF (like Visual Studio), do they also exhibit the same problem?

I don't know if any of my other apps use WPF.

Updating your device drivers (graphics and monitor) may also be a good first step - the fact that your monitor is listed as a "Generic PnP Monitor" means that a generic driver is being used.

According to the OEM (Lenovo) website, there are no updates available for my laptop. It performed a hardware scan to come to this conclusion.

@user1823: Sorry for the late response.
Let's first try to determine if the issue is specific to PowerToys or is for WPF apps in general on your laptop. Could you run the
WPF Gallery Preview and check if this exhibits the same problem?
/needinfo

The WPF Gallery app has the same problem.

@user1823: That's very useful information! So it would seem your issue affects all applications using WPF.
As a first step, could you adjust your ClearType settings? If you type "Adjust ClearType text" into the Start Menu, you will be able to access the ClearType text tuner. It's possible that ClearType has been disabled or hasn't been tuned correctly for your screen.

Adjusting the ClearType settings helped! ClearType was already enabled but possibly misconfigured. I greatly appreciate your efforts in helping me solve the problem.
It's worth mentioning that the ClearType text tuner was difficult to use, i.e., in some cases, it was difficult to choose which text was the best. Running https://github.com/bp2008/BetterClearTypeTuner and selecting "Restore Defaults" solved the problem.


Geirst/introduce bucket space concept in proton persistence engine

@toregge please review
@vekterli FYI

@geirst, please rebase

@toregge please review again

@toregge please review again

LGTM


Add a devcontainers update to dependabot.yml

Summary

Use dependabot version updates to keep devcontainers up-to-date
Changes

Add a devcontainers update to dependabot.yml
See:
https://github.blog/changelog/2024-01-24-dependabot-version-updates-support-devcontainers/
https://containers.dev/guide/dependabot

Closes: #123
Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

Thank you