CLS field value difference Web Vitals JS and Google page speed test

Hello,
I am using the web-vitals.attribution.js to capture the field value for CLS, FID and LCP. However, there is a distinct difference between the values captured by the JS library vs "Google page speed test" field values.
I am using the following code to capture the field value.

Sorry, it's not really clear what your question is, can you provide more details?
As to why the data captured by web-vitals might be different from the data exposed in PSI, see this document: https://web.dev/crux-and-rum-differences/

I have attached 2 images for comparison.
I have used Web Vitals for real time user monitoring. The CLS value is 0. However, when i run the same page on "Google page speed test" i can see the field value indicate 80% with 0. This is a gap between chrome measurement and Web Vitals library.

Do you have any iframes on your pages?

No ...i do not have any iframes on my pages. But i have added Google adsense on the pages.

There is one more observation. I was trying to drill down the CLS. I tried to capture attribution.largestShiftTarget. I could see the maximum value is coming as "(not set)".
What is the significance of "(not set)".

Thanks, that screenshot is useful and I think I may know what's going on.

What is the significance of "(not set)".

"(not set)" is a value Google Analytics displays when you haven't supplied your own a value for a dimension. (It's also possible you manually set it to "(not set)", though I don't see that anywhere in the code you provided.)
If you're seeing "(not set)" that should mean that for those events, there was no largestShiftTarget value, which would only happen if there were no layout shifts. That means that for all the other events where "Event Label" is set (e.g. html>body>div.bannerdiv), there were layout shifts, despite the fact that the value is showing as 0.
So since I can infer from this report that there were layout shifts but the event value is showing as zero, that makes me suspect that you're not multiplying your CLS value by 1000 to convert it to an integer (as shown in these instructions).
In Universal Analytics (which I can tell you're using from the screenshot), even values must be integers, so if the CLS value that you're reporting for your page is 0.123, then my guess is it's just either dropping it altogether or rounding it to 0.
If you had upgraded to GA4, then you could sending float values for events, but you'd have to be using GA4 to do that.

Thanks.. for your response. This is very helpful,
However, i still need to understand the following.

As per the Web Vitals report there were 7697 unique events and 7411 did not experience any CLS. This mean the users with no CLS will be approx. 96%
However, from google page speed test the number of users with 0 or no CLS is approx. 80%.
This means as per the web vitals library the % of users with CLS will be approx. 4%. Whereas as google page speed it should be approx. 20%
I have been trying to understand this gap. I understand chrome uses some sampling method.  But the difference is huge.
Additionally, as per my observation the gap between Web Vitals library and Google page speed test started occurring from June 21.

I presume you are filtering your Google Analytics to Desktop or Mobile to match PageSpeed Insights? And more specifically Chrome Desktop or Mobile users (so ignoring other Chromium users that also expose CLS such as Edge, or in-app WebViews)? And that you are also looking over the 28-days that CrUX collects over?

Thanks...I did the calculation according to the filter mentioned by you.

5669 unique events with no cls
139 unique events with CLS
This means approx. 2.4% of the users should experience CLS. However, the same is reported as 20%

Quick clarification: the PageSpeed Insights report you posted shows that 80% of visits have good CLS, not that they have no CLS. Good CLS is defined as having a score of <= 0.1.
My guess is that many of cases reported via your attribution data will show that they have some layout shifting happening, but it's very small and well below the 0.1 "good" threshold. However, you'll have to update your code to fix the reporting issue in order to verify that.

I have got another page where i have multiplied CLS with 1000.

Filter = Chrome & Desktop
Total Events = 68186
Events (not set) = 66855
The events which have some attribution data shows an  average value less then <0.01
Hence, the approx. % of users with 0 CLS should be around 98%. However, page speed test show 82%.

I have been trying to do a research on the CLS using Web Vitals from a long time. My thinking is again something changed around Jun 21 which had created a discrepancy between the Web Vitals data and Chrome reported data.
My another observation is that this could be due to Google Ad sense. I have enabled this on my site from last 3 years. But, again something changed in last year Jun 21. But, surprisingly i have just enabled Vignette from auto ads.

Another point to note is that the issue with CLS only occurs on Desktop with Vignette Ads.  This does not occur on Mobile. My CLS on mobile is 100%.
But the issue is why Web Vitals does not capture CLS?

When did you set the multiplication by 1000?
PSI will show the values over the last 28-days so if you only set it recently in GA, it's not surprising they do not match.
It stills seems very unlikely that none of your page views have registered a CLS greater than 0. Which to me suggests this still isn't being tracked correctly. Even a perfect page can generate CLS - for example I use Chrome's translate option on that page and get a small CLS of 0.01037 when translating to English. Some changes like this, or due to extensions, may be out of the site owners control but usually represent a very small minority but none-the-less it's very unlikely this sort of thing is not represented in your analytics at all.
In fact when I do that using the Google Analytics extension on that page I can see the CLS is not being multiplied by 1000 and is still therefore registering as zero:

And looking at the code on that page I also don't see it multipled by 1000, except for one commented out console.log line:

function sendToGoogleAnalytics({name, delta, value, id, attribution}) {
--
  | const eventParams = {
  | // Built-in params:
  | event_category: 'Web Vitals PDF ID',
  | value: delta, // Use `delta` so the value can be summed.
  | // Custom params:
  | metric_id: id, // Needed to aggregate events.
  | metric_value: value, // Optional.
  | metric_delta: delta, // Optional.
  | }
  |
  | switch (name) {
  | case 'CLS':
  | eventParams.event_label = attribution.largestShiftTarget;
  | //console.log("cls: ", attribution.largestShiftTarget, ":", parseFloat(delta)*1000);
  | //console.log("cls source: ",	attribution.largestShiftSource);
  | break;

You are still not sending decimal values so think they still won't be read by GA properly and imagine all but exact integers are being ignored and treated as zero.
We note in the README that you should use Math.round (but AFTER multipling by 1000).
    // Google Analytics metrics must be integers, so the value is rounded.
    // For CLS the value is first multiplied by 1000 for greater precision
    // (note: increase the multiplier for greater precision if needed).
    eventValue: Math.round(name === 'CLS' ? delta * 1000 : delta),

OPPO F15
On Wed, Oct 12, 2022, 14:56 Barry Pollard @.***> wrote:

You are still not sending decimal values so think they still won't be read
by GA properly and imagine all but exact integers are being ignored and
treated as zero.
We note in the README
https://github.com/GoogleChrome/web-vitals#using-analyticsjs that you
should use Math.round (but AFTER multipling by 1000).
// Google Analytics metrics must be integers, so the value is rounded.
// For CLS the value is first multiplied by 1000 for greater precision
// (note: increase the multiplier for greater precision if needed).
eventValue: Math.round(name === 'CLS' ? delta * 1000 : delta),

—
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/web-vitals/issues/263#issuecomment-1275824271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APRHNQP6PRGM26QBWJPMSQTWCZ4LZANCNFSM6AAAAAAQXUDAJA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

ok.. I have changed the code to Math.round(delta*1000)

Here are the result of the last 6 days.
10533 out of 10749 have an almost 0 CLS. This means at least 97.9 have less then 0.1
Trying to drill down on the second row item which is showing value of 704, I could see there were few users with some large values.

Overall, if the right CLS value is derived after division with 1000, then i cannot see any user with CLS more then 0.1. Almost 100% users have CLS less then 0.1. Whereas google page speed test is at 84%

Thanks... a lot for taking time out and providing response. This is very helpful

From analytics i could see 10,916 session during the same period for the same page. This is almost equal to unique events. I think cache may not be issue.
2 CLS events are sent with different event_category. Hence, there should not be any overlap.
There is something related to translation. I understand many users may land on the page with browser configures as en-us and page language as id. I am not sure if this will always lead to translation which can cause CLS.  Is the CLS related to translation not captured.
Another important point which i have observed. I have very similar page
https://miniimagesvideos.com/id_compress_jpeg
This page has CLS of 95% on desktop. The important point to note is this page has same layout, users from same country, almost same type of desktop.

Is the CLS related to translation not captured.

No, I can see this IS captured. I can see GA events firing when I translate the page. I was just pointing out that things like this are often the cause of CLS rather than necessarily anything wrong with the page.


GlobalMiddleware not storing cookies for callback request

Environment

Operating System: Darwin
Node Version:     v18.15.0
Nuxt Version:     3.4.2
Nitro Version:    2.3.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
playground with Keycloak provider. Probably any providet that uses state/pkce.
Describe the bug
Setup playground with keycloak auth provider.
Go to url http://localhost:3000/protected/globally
Sign in with keycloak
Observe failed login and console logs about missing state cookie
Additional context
When adding storage of next-auth.state and next-auth.pkce.code_verifier in eventHandler, using useStorage from nitro and adding those cookies before the callback request makes the flow above work without issues.
Solution needs to store cookies on server between requests.
Logs
No response

Also happens with Slack provider
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
  error: TypeError: State cookie was missing.
      at Object.use (/Users/anc/code/matchbox/monorepo/node_modules/next-auth/core/lib/oauth/checks.js:103:23)
      at oAuthCallback (/Users/anc/code/matchbox/monorepo/node_modules/next-auth/core/lib/oauth/callback.js:89:25)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Object.callback (/Users/anc/code/matchbox/monorepo/node_modules/next-auth/core/routes/callback.js:52:11)
      at async AuthHandler (/Users/anc/code/matchbox/monorepo/node_modules/next-auth/core/index.js:201:28)
      at <anonymous> (/Users/anc/code/matchbox/monorepo/node_modules/@sidebase/nuxt-auth/dist/runtime/server/services/nuxtAuthHandler.mjs:118:24)
      at async Object.handler (file:///Users/anc/code/matchbox/monorepo/node_modules/h3/dist/index.mjs:1630:19)
      at async Server.toNodeHandle (file:///Users/anc/code/matchbox/monorepo/node_modules/h3/dist/index.mjs:1840:7) {
    name: 'OAuthCallbackError',
    code: undefined
  },
  providerId: 'slack',
  message: 'State cookie was missing.'
}

[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
  error: TypeError: State cookie was missing.
      at Object.use (/u/v/project/node_modules/next-auth/core/lib/oauth/checks.js:103:23)
      at oAuthCallback (/u/v/project/node_modules/next-auth/core/lib/oauth/callback.js:89:25)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Object.callback (/u/v/project/node_modules/next-auth/core/routes/callback.js:52:11)
      at async AuthHandler (/u/v/project/node_modules/next-auth/core/index.js:208:28)
      at <anonymous> (/u/v/project/node_modules/@sidebase/nuxt-auth/dist/runtime/server/services/authjs/nuxtAuthHandler.mjs:88:24)
      at async Object.handler (file:///u/v/project/node_modules/h3/dist/index.mjs:1630:19)
      at async Server.toNodeHandle (file:///u/v/project/node_modules/h3/dist/index.mjs:1840:7) {
    name: 'OAuthCallbackError',
    code: undefined
  },
  providerId: 'google',
  message: 'State cookie was missing.'
}

getting the same error :X

Hi @JonathanGildevall @andreasvirkus @vinayakkulkarni
This is an issue being thrown by NextAuth, the package we use under the hood. Have a look at the discussions currently being held about this issue in their Repo here: https://github.com/nextauthjs/next-auth/discussions/7491
Maybe you can find some solutions to help resolve this!

Closing this issue was it results from NextAuth and not us. Please check the link posted above for more information and ideas on how to resolve it.


Share responses to questions asked during January sprint review

See OpenChallenges Sprint Review Q&A

I have shared the answers with Tom. Future Q&A will be added to the above document.


add *.Dockerfile icon

Icon for *.Dockerfile files

What's the use case for this one? Is a Dockerfile not correctly applying somewhere?

If you want to build multiple docker images using the same context. Here's an example:

I am building an API that is distributed as a docker image. I therefore have a Dockerfile. To run database migrations i build another docker image. Because Dockerfile is already used i need a different filename migrations.Dockerfile. There is no official recommendation (as far as i am concerned) what naming convention to use to name multiple Dockerfiles. I found this SO https://stackoverflow.com/questions/26077543/how-to-name-dockerfiles that suggests naming them with the .Dockerfile extension.

Because Dockerfile is already used i need a different filename migrations.Dockerfile.

I understand. I did not note that it's an extension rather than a name.
We also need to handle the case of Dockerfile.foo which is a pattern used in the wild.
dockerfile
Dockerfile
dockerfile.bar
Dockerfile.bar
foo.dockerfile
foo.Dockerfile
foo.dockerfile.bar
foo.Dockerfile.bar


Problem 0009: solved

Codecov Report

Merging #37 (72ef1c0) into main (a461cf6) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        15    +1
  Lines          321       357   +36
  Branches        44        47    +3
=========================================
+ Hits           321       357   +36

Impacted Files
Coverage Δ

src/problem0009.py
100.00% <100.00%> (ø)

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


handle vim save with pub-serve

I'm seeing an issue when using pub-serve with vim.
The issue seems to be because of how vim implements the "save" operation. Instead of modifying the file in place, vim moves the file to create a backup, creates a copy with the initial name, modifies the copy, then removes the backup. Using the watcher package, I was able to see 5 events when saving a file named "a.txt":
remove a.txt
add a.txt~
add a.txt
modify a.txt
remove a.txt~
The result I'm seeing is that:
 - some transformers start running and produce errors
 - some transformers don't run, and I get a 404 if I request the file from pub-serve
I noticed that other editors create a backup too, but many of them still modify the original file. Sometimes the backup filename matches the filter for some transformers and end up being processed. For example in emacs, where the backup has the same extension (.#a.txt for the example above)
Here are some examples where I was able to see issues with the current behavior:
a) modifying a file in core-elements/example
steps:
 1- git clone http://github.com/dart-lang/core-elements
 2- pub serve example *
 3- dartium http://localhost:8080/core_input.html
 4- edit the file with vim **
 4.1 - vim example/core_input.html
 4.2 - modify the file
 4.3 - save the file, but don't exit (:w, not :wq)
 5- refresh (you'll see a 404)
* - this repo has many entrypoints, if I comment out entrypoints in the pubspec and only include core_input.html, then the error is not reproduceable.
** - or do what vim does underneath: mv example/core_input.html x && cp x example/core_input.html && rm x
b) a smaller example
steps:
 1- download an expand the attachement
 2- pub serve
 3- dartium http://localhost:8080/foo.html
 4- edit and save 'a.txt' in vim (you'll see an error in the pub-serve console log)
In this case the transformer shows an error that a.txt is not found.

Attachment:
small_repro.tar.gz (847 Bytes)

This issue has been moved to dart-lang/pub#1172.


Add a way to read envvars from SCSS through env() SCSS function

Following feature request https://github.com/fourseven/meteor-scss/issues/278
Add a way to read environment variables from SCSS (ie. a CDN url or a build number).
Ex in SCSS :
@function asset($path) {
  @return url(env("APP_ASSETS_DOMAIN") + $path + "?_g_build_=" + env("APP_BUILD_NUMBER"));
}

Thanks @olivierpascal . While the code looks good, I'm a bit reluctant to integrate these user-specific requests. There's been no other requests for this feature and in Meteor it's quite easy to use your own version of packages for specific changes like this. This package also doesn't update that frequently so the maintenance burden should be low for you.
If more people would be interested in this feature I'd reconsider, but for now I'm closing this PR.

@olivierpascal . Also note that env() is now part of the css spec for other kind of envars: https://css-tricks.com/css-environment-variables/


Occasional severe visual artefacts when using glow on integrated AMD GPU.

Godot version
v3.4.2.stable.official and v3.5.beta.1.official
System information
Windows 10, GLES3, Hybrid Laptop - AMD iGPU(Ryzen 7 4800HS) + GTX 1660 Ti Max-Q, AMD iGPU Driver: <IP_ADDRESS>-211201a-374383E-RadeonSoftware
Issue description
!FLASHING LIGHTS WARNING!
Video 1
Video 2
As the video's show, when I move to some locations in a scene I'm working on, the Glow post processing effect occasionally starts malfunctioning.
This can happen in both the editor and the running game.
Resizing the game window, changing viewport shrink size, or enabling/disabling MSAA seems to temporarily fix the glitching, until it starts happening again.
This only seems to happen on my integrated AMD GPU, I was not able to reproduce it on my dedicated Nvidia GPU.
Only seems to affect GLES3, I was not able to reproduce with GLES2.
Steps to reproduce
I have no idea what exactly is making this happen.
The videos should help give an idea on how to trigger it, at the very least.
Minimal reproduction project
I will attempt to create a separate MRP for this issue, but this was already quite tricky to reliably reproduce on the project in which I discovered it, so I'm not sure if that is gonna work out; I still have not been able to reproduce this in a separate project.
In the case that I can't provide a separate MRP, If someone is interested in taking a look at this issue, I'll consider sharing this project privately for the purposes of fixing this.

Can you reproduce this when using the GLES2 rendering backend?

@Calinou
It only seems to affect GLES3, for as far as I was able to test.

After some more testing I also noticed that it only seems to happen after switching to full screen mode.
I can reliably reproduce it in a specific position in my scene after switching to full screen just once, after that it keeps triggering almost all the time in the same spot with similar camera movements. (As shown in the videos)
It does not matter if the game is in full screen or windowed after switching, it always seems to happen after one switch from windowed to full screen.
I hope that helps in narrowing down the problem at least a little bit.

Godot version
Godot 3.4.2 Stable GLES3, similar issues happening since Godot 3.3 Stable.
System Information
Windows 10
CPU: AMD Ryzen 5 5600G (x86_64) with Integrated Radeon Vega 7 Graphics
(similar issues AMD Ryzen 3 2200G with Integrated Radeon Vega 8 Graphics, possibly any 2000,3000,4000,5000 series Ryzen CPU with Integrated Vega graphics per original post 4000 cpu).
GPU Radeon Vega 7 Driver Version
Adrenaline 2021.1201.0115.2259 (released 21.12.1)
Updated
Adrenaline 2022.0309.1859.34176 22.3.1 (released 22.3.1) issues persist.
Issue description
World Environment Node with Glow Enabled and mesh with SCREEN_TEXTURE material produces visual artifacts, GLES3 only.
Specify steps to reproduce
Attached mvp.
In the project viewport with WorldEnvironment node, Background Sky, Panorama Sky accentuates the issue, Procedural Sky still triggers it to a lesser degree, Glow enabled.
The most reliably I can trigger it has been including SCREEN_TEXTURE in a shader, which by itself doesn't produce artifacts, coupled with another mesh with simple Spatial materials, no issues until zooming in the camera enough to hide the mesh with the SCREEN_TEXTURE then zooming out, triggering the artifacts.
Hiding the mesh with Spatial materials, and doing the steps above don't show issues, but turning visibility back on immediately shows artifacts.
Triggers:
Glow Enabled, mesh with SCREEN_TEXTURE + mesh with Spatial material.
Running project changing from default window size to maximized/fullscreen.
Additional viewports in running Project facing both meshes.
Glow Disabled mesh with SCREEN_TEXTURE + mesh with Spatial material, Project viewport only.
Inside Project viewport per the steps above, running the project for the first time after triggering clears the viewport of artifacts once, but repeating the zoom in/out resumes the error.
Doesn't trigger:
Glow Enabled, mesh with SCREEN_TEXTURE, Hiding Mesh with Spatial Material.
Running project window changing size by dragging the borders gradually, maximizing after that does not trigger the issue.
Additional viewports in running Project not facing both meshes, even if project viewport already has artifacts.
Additional viewports in running Project facing both meshes, Glow off.
Glow Disabled, mesh with SCREEN_TEXTURE.
Glow Disabled, mesh with Spatial material
Minimal reproduction project
ArtifactsProject.zip

.

@Lux-Ae I too was able to reproduce the issue with the project you provided, thanks!

Still present in 3.5-stable


[quickstart] Fix domain name resolution failures on macOS

This PR aims at fixing the DNS resolution failures encountered on macOS with the quickstart guide.
The cause was the use of ingress FQDNs that don't share the same domain name (e.g. storm.local was not under siembol.local). This worked fine on Windows because all the ingress FQDNs are added as static IPs, but on macOS we use an actual DNS resolver that is registered only for the siembol.local domain name.

Thanks @mariannovotny, good catch!


Add dimensions support

Based on using 2g file format
Original PR https://github.com/ArpNetworking/metrics-aggregator-daemon/pull/27

Copied over the two comments that I have not responded to in the original PR

Thanks for copying over the open comments from the internal PR. Please respond to the comments when they have been addressed. It also looks like you have some checkstyle violations.
https://s3.amazonaws.com/archive.travis-ci.org/jobs/160019477/log.txt

@vjkoskela Any idea where this error is coming from " /home/travis/.m2/settings-security.xml (No such file or directory)" ?
mvn verify runs successfully on my local machine.

@PhoenixRion seems pretty clear to me it's coming from the Docker Hub interaction; namely, that the build can't pull down the base image.
[INFO] --- docker-maven-plugin:0.16.7:build (default-build) @ metrics-aggregator-daemon ---
[ERROR] DOCKER> Cannot decrypt password: org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException: org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException: java.io.FileNotFoundException: /home/travis/.m2/settings-security.xml (No such file or directory)

The latest build on master succeeds and so does Brandon's PR #37. Have you checked that your changes are properly rebased?
@BrandonArp the only thing I can think of is that there is a problem decrypting the secret because this is a forked PR. Do you think that's possible?

Brandon's change has been merged. Since your PR is adding dimensions to the model generated by Parsers you will need to update the HTTP parser as well to map dimensions from Protobuf into dimensions on the model. The other option would have been for Brandon to also modify the model which would have cause several merge conflicts, I think the changes his code will require are very minor.

@vjkoskela @BrandonArp I don't know what to do about the settings-security.xml file.  Seems pretty likely that there is something related this PR being from a fork because the error was not present before.

I don't have time to look at the settings issue right now. I would recommend cutting a noop PR with maven in debut mode.

Forked builds fixed with #39

What's the status here @PhoenixRion @vjkoskela ? Who is waiting on whom?

I am waiting for resolution on the unit issue, there should be a thread in that buried in here somewhere. The current proposal is to start a rewrite of units in MAD, but as Ryan has said he will not be able to complete it so I am not inclined to start it. Let me know if there is something else you need from me on this.

I should have some time next week to work on updating this code.

No problem with me, as discussed 2g file support is low on our priority list because http already supports this.

This is a diff with a full update for the existing Unit class.  https://github.com/PhoenixRion/metrics-aggregator-daemon/compare/master...PhoenixRion:update-unit-to-composit-structure
I thought it would be a good idea to share for comments before I go through the remaining effort of finishing up checkstyle and updating all the javadocs.  I have run the verification to execute all of the existing tests successfully.

Hey all, I'll be working to get this merged/resolved. I believe @BrandonArp has taken over handling the feeback for this PR - if that's the case would you @BrandonArp be available for a voice chat tomorrow afternoon, the w/end or early next week?

@BrandonArp still waiting on this one when/if you have some time

Sorry, I thought I was still waiting on you for something.  Thanks for the gentle nudge.


Disk Used reported as unknown for VM's

The entity always reports as unknown for VM's.

Look this: https://github.com/dougiteixeira/proxmoxve/issues/72#issuecomment-1521437249
It doesn't seem to be an integration issue.


Add home page doc support for readme and getting started

The home page has a couple of small docs that need to be included - this PR adds support for those using nuxt content.
The PR ensures that i18n is supported for these docs, with a fallback to en-us.

@richard-cox Updated following your review


[varLib] improve error when glyph orders don't match; fixes #1758

See #1758.

Hello, something about ordering, a week ago i put up a script that finds the matching between two instances, even though the ultimate goal is to fix the contours for unmatched areas, one of the achieved side-effects is that if you have two contours with the same length of points but in different sequence, i can get a match and produce an appropriate sequence so then the contour list can be shifted accordingly producing a match.


Description of your changes

Related Issue

Closes: #

Description

How Has This Been Tested?

Screenshots (if applicable)

Type of Change

[ ] Bug fix
[ ] New feature
[x] Code style update
[ ] Breaking change
[ ] Documentation update

@Neeraj9625 : please fill description

closing PR because of no response @Neeraj9625


services/horizon: [Spike] - analyze effects for assets moving to/from smart so classic balances stay accurate

Define expectations from client use cases up front a bit further, doc those, this will drive dev scope.
Part of the complication with assets on soroban, is that they can either be on the "classic" network or on the "smart" network. Contracts can move them back and forth between the two networks. Ideally we should update horizon to show both the accounts' smart and classic balances. But maybe a good (and easier) first step is to emit effects when assets are moved to/from, and the account balances can stay reflecting the "classic" balance only.
Acceptance Criteria: proposal doc on solution

This is dependent on https://github.com/stellar/rs-soroban-env/issues/455

this living doc on single/double balance may provide latest input on these evolving requirements ... - https://docs.google.com/document/d/1rSkkwtrZhwCJQ3LqvzJfF9vvofVwXSqbS5S5t-lq5OI/edit#heading=h.qaurejqpyz5b

Closing as dup of https://github.com/stellar/go/issues/4722


Blitzdb backends files queries cleanup

Cleanup for the blitzdb.backends.file.queries module and some refactoring to remove code duplication.

Really nice work, thanks @jcollado!


'SparseTensor' object has no attribute 'sample_adj'

🐛 Bug
Thanks for all the great work, PyTorch Geometric is a fantastic library!
I would like to use the NeighborSampler for mini-batch training on a large graph. I tried to adapt the script here but received the following error:
Traceback (most recent call last):
  File "test.py", line 285, in <module>
    main()
  File "test.py", line 267, in main
    optimizer, device)
  File "test.py", line 130, in train
    for i, (pos_data, neg_data) in enumerate(zip(pos_loader, neg_loader)):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 345, in __next__
    data = self._next_data()
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 856, in _next_data
    return self._process_data(data)
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 881, in _process_data
    data.reraise()
  File "/usr/local/lib/python3.6/dist-packages/torch/_utils.py", line 394, in reraise
    raise self.exc_type(msg)
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
    data = fetcher.fetch(index)
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch
    return self.collate_fn(data)
  File "test.py", line 26, in sample
    return super(PositiveLinkNeighborSampler, self).sample(batch)
  File "/mounts/Users/cisintern/valentin/.local/lib/python3.6/site-packages/torch_geometric/data/sampler.py", line 108, in sample
    adj, n_id = self.adj.sample_adj(n_id, size, replace=False)
AttributeError: 'SparseTensor' object has no attribute 'sample_adj'

The same error occurred when running the script at examples/reddit.py. Am I missing something here?
Environment

Python version: 3.6
PyTorch version: 1.4.0
CUDA/cuDNN version: 10.1

I see. This is not linked in the wheel for PyTorch 1.4.0. You may either want to upgrade PyTorch to 1.5.0/1.5.1 or install torch-sparse from source via pip install torch-sparse (might take some time to compile).

Thanks! I successfully installed torch-sparse from source but am getting the following error now:
Traceback (most recent call last):
  File "test.py", line 8, in <module>
    from torch_geometric.data import NeighborSampler
  File "/.local/lib/python3.6/site-packages/torch_geometric/__init__.py", line 2, in <module>
    import torch_geometric.nn
  File "/.local/lib/python3.6/site-packages/torch_geometric/nn/__init__.py", line 2, in <module>
    from .data_parallel import DataParallel
  File "/.local/lib/python3.6/site-packages/torch_geometric/nn/data_parallel.py", line 5, in <module>
    from torch_geometric.data import Batch
  File "/.local/lib/python3.6/site-packages/torch_geometric/data/__init__.py", line 1, in <module>
    from .data import Data
  File "/.local/lib/python3.6/site-packages/torch_geometric/data/data.py", line 7, in <module>
    from torch_sparse import coalesce, SparseTensor
  File "/.local/lib/python3.6/site-packages/torch_sparse/__init__.py", line 35, in <module>
    from .tensor import SparseTensor  # noqa
  File "/.local/lib/python3.6/site-packages/torch_sparse/tensor.py", line 11, in <module>
    class SparseTensor(object):
  File "/usr/local/lib/python3.6/dist-packages/torch/jit/__init__.py", line 1274, in script
    _compile_and_register_class(obj, _rcb, qualified_name)
  File "/usr/local/lib/python3.6/dist-packages/torch/jit/__init__.py", line 1115, in _compile_and_register_class
    _jit_script_class_compile(qualified_name, ast, rcb)
RuntimeError:
Unknown type name 'torch.device':
  File "/.local/lib/python3.6/site-packages/torch_sparse/tensor.py", line 77
    @classmethod
    def eye(self, M: int, N: Optional[int] = None, has_value: bool = True,
            dtype: Optional[int] = None, device: Optional[torch.device] = None,
                                                          ~~~~~~~~~~~~ <--- HERE
            fill_cache: bool = False):

Any idea why this might be the case?

Yeah, seems like TorchScript is just a mess between different PyTorch versions: torch.device is only supported as argument type in PyTorch >=1.5.0. You have two options here:

You can install torch-sparse==0.6.4
You can remove the @torch.jit.script decorators in tensor.py and storage.py.

Sorry for this, but it's really hard to support older PyTorch versions since its API changes rather frequently. It's always best to update your PyTorch to the latest version to avoid all of this.

I installed torch-sparse==0.6.4, but it still didn't work. I then upgraded to PyTorch 1.5.1, and now everything is working perfectly. Thanks so much for your help!


Error scanning QR Code / error pasting raw LNURL

Hello together.
Today I encountered an error together with a customer who uses the LNURLDevice extension. We are running 0.11.0 since 06.10.2023. On Version 0.10.10 at Wednesday 04.10.2023 it was working, nor error.
To reproduce:

Create LNURLDevice switch
Scan QR Code
get error: Problem processing the LNURL

The confusing part is, when i decode the LNinvoice i get correct parameters. Server, price etc is correct.
Following i can deliver a few QR Codes + raw LNURL from the effected switch:

LNURL1DP68GURN8GHJ7ARFD4JKXCT5VD5X2U3WD3HXY6T5WVHXGEF0D3H82UNVV3JHV6TRV5HKZURF9AMRYTMVDE6HYMP0VUE9QA3EGFK42DM40FZX54NZF3R4GCT2XETN7URFDC7NZV3XV9KK7ATWWS7NXT3SYEJ82UNPW35K7M3AXGCNQVQVPAMT2

LNURL1DP68GURN8GHJ7ARFD4JKXCT5VD5X2U3WD3HXY6T5WVHXGEF0D3H82UNVV3JHV6TRV5HKZURF9AMRYTMVDE6HYMP0VUE9QA3EGFK42DM40FZX54NZF3R4GCT2XETN7URFDC7NZDPXV9KK7ATWWS7NXT3SYEJ82UNPW35K7M3AXGCNQVQ57SMNN

LNURL1DP68GURN8GHJ7ARFD4JKXCT5VD5X2U3WD3HXY6T5WVHXGEF0D3H82UNVV3JHV6TRV5HKZURF9AMRYTMVDE6HYMP0VUE9QA3EGFK42DM40FZX54NZF3R4GCT2XETN7URFDC7NYDEXV9KK7ATWWS7NZT3SYEJ82UNPW35K7M3AXGCNQVQFW8GGE

I can confirm it. This is what the server will do if it fails.

Downgrading the LNURLDevice extension to 0.5.5 does not solve the problem either.

very interesting, i think i found it, the callback attribute adds an object with _url: it should be just a string.


Ask for paper

Hi, if it possible, can you send me your paper through email<EMAIL_ADDRESS>Thank you very much.

You can find the MMSys'21 Grand Challenge on Detecting Cheapfakes:

challenge overview paper here: https://arxiv.org/abs/2107.05297
submission from Akgul et al. here: https://dl.acm.org/doi/10.1145/3458305.3479968


Can this be used to capture the sentences spoken rather than the commands?

Hi,
I want to know if the plugin can be used to capture the sentences spoken by the user. I should be able to capture the text when the user speaks and show in a text area or a div. As far as I have seen it uses only commands to identify what action to do, is there a way to capture the speech and just display it?

Great question.
I just added it to the FAQ, along with an answer containing sample code: https://github.com/TalAter/annyang/blob/master/docs/FAQ.md#can-annyang-be-used-to-capture-the-full-text-spoken-by-the-user


OrbitPlotter does not implement show()

🐞 Problem
While OrbitPlotter3D does implement a show() method that is useful when redrawing, OrbitPlotter does not. Therefore, there is no easy way to do a set_frame and then show the resulting plot, or in general reuse a frame.

🎯 Goal
To be consistent with OrbitPlotter3D and improve reusability of a plotting frame.

💡 Possible solutions

Easy way: just add a show method. Is it doable in matplotlib?
Difficult, but rewarding, way: refactor the plotting module and try to unify interfaces.

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

I think the way matplotlib works in the notebook is essentially incompatible with how plotly does. @shreyasbapat tried to tackle this issue in #336 but there were still some usability problems, and also now we have a OrbitPlotter2D class. I'm closing this issue.


Docs.MS Release Updates for azure-communication-common

Update docs metadata and targeting for release of azure-communication-common

Docs Build status updates of commit 9e27e04:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/communication-common-readme.md
:warning:Warning
View (azure-node-latest)
Details

ci-configs/packages-latest.json
:white_check_mark:Succeeded

docs-ref-services/latest/communication-common-readme.md

Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit cf01f66:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/communication-common-readme.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/communication-common-readme.md

Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Simplify server-side-website with the new AllViewerExceptHostHeader policy

CloudFront added a new AllViewerExceptHostHeader policy: https://twitter.com/cristiangraz/status/1628585607479050240
This is exactly what we needed!
We can get rid of:

our custom "origin policy" (it was needed to avoid forwarding the Host header)
our custom "cache policy" (it was needed to forward the Authorization header)

We gain:

less code for us
less config for users 🎉
less resources to deploy, meaning faster deployments 🎉
users don't have to choose or configure the headers they want to forward 🎉
users are no longer limited by the limit of 10 forwarded headers 🎉

If you were setting the forwardedHeader config in serverless.yml to add more headers to forward, you can now safely remove this option:
constructs:
    website:
        # ...

        # REMOVE THIS 👇
        forwardedHeaders:
            - Accept
            - Accept-Language
            # ...
            - X-Custom-Header

We also finally solve 100% properly #144
Fixes #144
Fixes #229
Fixes #291
and so many more in bref.sh 🎉

Great news 🚀

Does this also solve the issue, that u have to name/list all custom headers like X-Livewire and custom headers for CSRF token in Laravel?

@buddhaCode yeeeessss!

:heart: thank you!!!!


Prompts store

Prompts store network error

If you compilied this app from sources you will get network error because my servers are protected by API. If you want to use Prompt Store in your build I can provide server key. Otherwise you can just download app from Releases page or from Google Play. Also your internet provider or router settings may apply additional restrictions. If you persist seeing this error send me your device info: Android version, ROM, app version, device model.
Thanks.
Screenshoot pf test:

Please note that restricting access to our servers helps use to provide you great experience and prevent abuse. We also perform apk integrity checks before accessing our resources. Our servers are not very powerfull and misuse may affect all users. Thanks for understanding. You can always download official apk and get rid of issues or contact me for API.


XML  boot file for prompt and respond

Boot XML file for classes to handle structured data and logic is a more robust and maintainable approach than using complex template syntax. Here’s why:

Encapsulation of Logic:
Class-based Approach: By encapsulating functionality within classes, you create a clear boundary around your logic. This leads to better organization and easier debugging.
Templates: On the other hand, templates that rely heavily on conditionals can become tangled and difficult to manage as the project grows.
Reusability:
Classes: Classes can be reused across different parts of the application without rewriting logic. This promotes DRY (Don't Repeat Yourself) principles and allows for easier updates.
Template Syntax: Modifying template logic can often require changes in multiple places, increasing the risk of introducing bugs.
Readability and Maintainability:
Class Definitions: Clear class definitions with well-named methods can enhance readability. Other developers can quickly grasp what a class does just by looking at its interface.
Template Logic: Templated syntax, especially when it gets convoluted with conditions, can make it challenging for others (or even the original developer) to understand the flow of logic without extensive comments.
Separation of Concerns:
Class-based Systems: This promotes a separation of concerns, where data representation, logic, and presentation can be managed independently. For example, your ai.system class could handle loading, validating, and processing XML data without being intermingled with how that data is presented.
Templates: This can lead to a conflation of data and presentation logic, which can complicate maintenance and testing.

The approach to using classes and structured XML is more aligned with software engineering best practices. It fosters a system that can evolve without the baggage of overly complex templates, making it easier for developers to work with and understand. If the goal is to develop a sustainable and maintainable AI system, sticking to solid OOP principles and clear data representations will always be the better choice.

Proposal: Enhancing Process Flow with a Basic Boot Loader
I propose developing a basic boot loader that serves as a gateway for interactive questioning, aimed at refining process flows and class constructor styles using Node.js. This simple project could provide a valuable environment for:
Iterative Improvement: By engaging in a dialogue to identify bottlenecks or inefficiencies, we can continuously enhance the workflow.
Flexible Design: The boot loader could allow for real-time adjustments to class constructors, enabling quick iterations based on user feedback.
Streamlined Development: This setup could serve as a privy project doorway, simplifying access to important components and ensuring that each element of the project can be easily addressed.
By implementing this system, we can foster a more agile development environment that encourages exploration and refinement of our methods.
Looking forward to your thoughts!
Best,
Julien

You don’t need an if statement to move orders around in this chain of commands between the AI Waiter and Chef. Each AI system (whether it's acting as a waiter or chef) can simply route the task to the next in line based on the type of request—without conditional logic like if.
BOOT XML -JSON-CDATA    type:ai.system.data  <<pointer to oop logic node tree array no if stagnation
BAD syntax looks like this....  are no if instructions  in a waiter to chief class
where the {{ if .System }}
system_start: {{ .System }}
system_end:
{{ end }}
{{ if .Prompt }}
user_start: {{ .Prompt }}
user_end:
{{ end }}

Example Code with Conditionals (Trash Logic)def process_order(order):
if order['type'] == 'chicken':
if order['size'] == 'large':
if order['sauce'] == 'spicy':
return "Large Spicy Chicken"
else:
return "Large Mild Chicken"
elif order['size'] == 'small':
if order['sauce'] == 'spicy':
return "Small Spicy Chicken"
else:
return "Small Mild Chicken"
else:
return "Invalid size"
elif order['type'] == 'beef':
if order['size'] == 'large':
if order['sauce'] == 'bbq':
return "Large BBQ Beef"
else:
return "Large Plain Beef"
else:
return "Invalid size"
else:
return "Invalid order"
===Nested if/else statements: Each conditional checks for the order type, size, and sauce.
Multiple Paths: Every decision requires evaluating multiple conditions before returning the right response.
Maintenance issues: Adding new order types or conditions will make the logic even more complex, leading to more nested conditionals.
Optimized Version with Data-Driven Logic
Instead of using multiple if statements, we can store the options in a dictionary or use a lookup table, eliminating the need for nested conditionals.
def process_order(order):
# Predefined combinations
menu = {
('chicken', 'large', 'spicy'): "Large Spicy Chicken",
('chicken', 'large', 'mild'): "Large Mild Chicken",
('chicken', 'small', 'spicy'): "Small Spicy Chicken",
('chicken', 'small', 'mild'): "Small Mild Chicken",
('beef', 'large', 'bbq'): "Large BBQ Beef",
('beef', 'large', 'plain'): "Large Plain Beef"
}
# Get the order details
order_key = (order.get('type'), order.get('size'), order.get('sauce'))

# Return the result based on predefined options or give an error
return menu.get(order_key, "Invalid order")

Remember that CDATA  objects  in XML is read only if needed where JSON is read all
XML is the class application expert where JSON is the joint relation expert
like root Node has read all inner-text . I am innerText i am innerText
One call reads all and elements can be define as class  ai.sytem.doc  <<< a class


trace mysql use "brave-instrumentation-mysql" is not using

                  <dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-sleuth</artifactId>
			<version>2.0.0.RC1</version>
			<type>pom</type>
			<scope>import</scope>
		</dependency>

                   <dependency>
		<groupId>io.zipkin.brave</groupId>
		<artifactId>brave-instrumentation-mysql</artifactId>
		<version>4.13.1</version>
	</dependency

if you want us to help you have to stop re-opening issues and use gitter instead ok?
https://gitter.im/spring-cloud/spring-cloud-sleuth
re-opening issues can cause some annoyance. you were asked to not open an issue and did it again. Moreover you opened an issue after already creating this one.. please don't behave like this as we want to help but it is hard when annoyed ok?
https://github.com/openzipkin/sleuth-webmvc-example/issues/13

This problem has not been dealt with completely, you close, this behavior is too responsible, the first use of this, can not be more patient?

I'm trying to make my point. How do you feel so impatient

Your attitude of forcing closure without solving the problem is really disappointing

We've asked you to use gitter. that's how we support things. This needs to be investigated as a problem before using an issue. As mentioned in the issue template, issues are used for changes to the codebase. I don't think a change will occur here in this repository. Please don't make us block you.

I also asked you multiple times to provide your full codebase and instructions on how to replicate the issue. Also, I've asked you if you followed the guidelines in the brave-mysql instrumentation repo. You have provided no feedback and kept ignoring my questions.

I didn't even come and provide the full code, so you shut down the problem

you posted the issue twice.. here after posting here less than a day ago
https://github.com/openzipkin/sleuth-webmvc-example/issues/13
why are you not joining gitter like asked? do you feel that doing the
opposite will make things better for either you or us, or the hundred
people who are alerted when you post issues like this?
The request on the issue is to please try the example, and if report back
on gitter what happens. please do that and stop pasting things at us. it is
easier and we can be friends as opposed to being frustrated ok?


Update Rancher docs with instructions for EL9

After EL9 packages are officially released, we must update Rancher docs to add instructions about EL9 in https://ranchermanager.docs.rancher.com/reference-guides/rancher-security/selinux-rpm/about-rancher-selinux#1-set-up-the-yum-repo.

Linking the PR https://github.com/rancher/rancher-docs/pull/974.


Generic type cannot be used

How to use generic type
abstract class BaseActivity<B : ViewDataBinding, VM : BaseViewModel>(
private val bindingFactory: Int,
private val viewModelClass: Class,
) : AppCompatActivity() {
protected val binding: B by viewBinding()
}

It's not possible. To create an instance the delegate needs to now ViewBinding class.

The delegate few creation variants and one of them has ViewModel class as parameter or even you can pass function where you will create an instance of ViewBinding

https://github.com/androidbroadcast/ViewBindingPropertyDelegate/blob/master/vbpd/vbpd-full/src/main/java/by/kirich1409/viewbindingdelegate/ActivityViewBindings.kt
37 line

class ContentViewBindingDelegate<in R : AppCompatActivity, out T : ViewDataBinding>(
@LayoutRes private val layoutRes: Int,
) {
private var binding: T? = null

operator fun getValue(activity: R, property: KProperty<*>): T {
    if (binding == null) {
        binding = DataBindingUtil.setContentView<T>(activity, layoutRes).apply {
            lifecycleOwner = activity
        }
    }
    return binding!!
}

}
fun <R : AppCompatActivity, T : ViewDataBinding> contentView(
@LayoutRes layoutRes: Int,
): ContentViewBindingDelegate<R, T> = ContentViewBindingDelegate(layoutRes)
I have created and using this extension function, while using it with navigation view it causing crash NavHost.context() null pointer

its working fine for my baseclass,
you can close this ticket, Problem is I called lifecycle binding before activity creation


why should we initialize the gating bias -1 for cold fusion?

is there any experiment supporting this?

@JohnWu678 This is proposed in the original deep fusion paper.
The motivation is to use LM features only when it is helpful.
In the early training stage, outputs of the sigmoid function is not activated by setting the bias term to -1.


feat(noicon): noIcon attribute to hide the rotating carat #25

Alaska Airlines Pull Request
Implements a new Boolean attribute noIcon which hides the carat icon indicating accordion expansion status.
Fixes: #25  (issue, if applicable)
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Thinking this is not a direction we want to go. Please reference the linked issue for further discussion.


.badge class name conflicting with original .badge class name

So there seems to be some confusion between .label, .tag, .badge
Back in issue https://github.com/twbs/bootstrap/issues/19094, we determined that there was a conflict between the class name .label and the html tag <label>. As a result, we changed .label to .tag in issue https://github.com/twbs/bootstrap/pull/19157. .tag was then determined to conflict with Wordpress. See issue https://github.com/twbs/bootstrap/issues/20542. .tag was then proposed to be changed to .badge https://github.com/twbs/bootstrap/pull/21020.
New Issue:
.badge is already a class name within Bootstrap and will conflict with the current .badge class name. See http://getbootstrap.com/components/#badges.
Proposal:
Reconsider the merge "Renamed .tag back to .badge, like v3, to avoid conflicts with common WordPress styles." in the v4 Alpha 6 ship list and change the new .badge, originally .label–.tag, to one of the following options:

.stamp
.signet

v3 and v4 are incompatible... They can basically take any class they want and completely change them without any consequences as this is a major release.

So .badge is deprecated from v4 then?

Nevermind. please close this issue.
class names have add on -pill that resolves this issue and should be renamed to .badge. Sorry about that.


fix: use expected label in metrics map

SUMMARY

ensure the key of metrics expression hashmap and the expected key are consistent
closes: https://github.com/apache/superset/issues/15693
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before

After

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[x] Has associated issue: https://github.com/apache/superset/issues/15693
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

🏷 2021.27


PR template

What type of PR is this? (check all applicable)

[ ] 🎮 Feature
[ ] 🐛 Bug Fix
[ ] 🍧 Refactor
[x] 🔋 Optimization
[ ] 📓 Documentation Update

Description
Improved workflow for adding PRs.
Related Tickets & Documents
n/a
Steps to Test
Should work when you open a PR once this is merged.
Relevant GIF

Merging this without ci-public and ci-private as they are not needed


Couldn't deploy custom Lambda Layer from yumda

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Amplify CLI Version
4.24.0
Describe the bug
I'm trying to install custom layers using yumda. So I've installed the GraphicsMagick on /amplify/backend/function/gm/opt. When I deploy I see the "An error occurred hashing directory" error.
To Reproduce
Steps to reproduce the behavior:

Install the GraphicsMagick package on /opt layer

docker run --rm \
    -v "$PWD"/amplify/backend/function/gm/opt:/lambda/opt \
    lambci/yumda:2 yum install -y GraphicsMagick

Runamplify push
See error:

An error occurred hashing directory /Users/erickwendel/Documents/pocs/amplify/meme-maker/app/amplify/backend/function/gm/opt
An error occurred during the push operation: An error occurred hashing directory /Users/erickwendel/Documents/pocs/amplify/meme-maker/app/amplify/backend/function/gm/opt

Expected behavior
Upload the custom package and inject on the runtime
What is Configured?

Environment

  System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
    Memory: 116.02 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.0.0 - /usr/local/bin/node
    npm: 6.14.6 - /usr/local/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 83.0.4103.116
    Safari: 13.0.5
  npmGlobalPackages:
    @aws-amplify/cli: 4.24.0
    autocannon: 4.6.0
    create-react-app: 3.4.1
    fkill-cli: 6.0.1
    npm: 6.14.6
    ntl: 5.0.0
    serverless: 1.67.0
    sloc: 0.2.1

Hi @ErickWendel, is there a reason your /opt folder has a : at the end of it? The CLI seems to failing to find the /opt folder.

Hi @ErickWendel, is there a reason your /opt folder has a : at the end of it? The CLI seems to failing to find the /opt folder.

Hey @jhockett thanks for the response! Actually, using : is just a separator on Docker. The Docker volume is mapping from my local machine "$PWD"/amplify/backend/function/gm/opt to the container /opt. So the :

Closing in favor of #6144


Reactivity transform will be dropped

Many places in the code use reactivity transform feature. $ref, $computed etc.
Reactivity Transform will be dropped (but will be made available via a separate package to support compatibility for those who want to still use it).
https://github.com/vuejs/rfcs/discussions/369#discussioncomment-4779240
My opinion, that would be must refaktoring these codes.
🖖

This is not priority but PR welcome :)

This is not priority but PR welcome :)

https://github.com/nuxt/movies/pull/25


[stdlib] Skip inconsistent ArrayNew tests

The "BridgedFromObjC.Nonverbatim.ImmutableArrayIsCopied" ArrayNew test is failing occasionally, so we can't xfail it. Skipping for now.
rdar://problem/33926468

@swift-ci please test


Sphinx not rendering documentation for .pyx files

Seeing how useful Cython can be, it think its worth finding a solution for this.

@alistairbntl, I noticed that for the WaveTools.pyx file

Yeah, that was the one I was having trouble with.  I was playing around with it yesterday but haven't found a solution just yet.


how to install mega-couch ?

Hello,
How to install mega-couch for use in an angular/ionic project as there is not already a npm package ?
Please provide example of integration.
Thanks.

This is a server side library, for NodeJS, not a browser or Hybrid Ionic library. ?


Add Bluetooth LE device interface GUIDs

There is no information about these device interfaces that are defined in bthledef.h header since Windows 8:

GUID_BLUETOOTH_GATT_SERVICE_DEVICE_INTERFACE {781aee18-7733-4ce4-add0-91f41c67b592} - Bluetooth LE device interface GUID
GUID_BLUETOOTHLE_DEVICE_INTERFACE {6e3bb679-4372-40c8-9eaa-4509df260cd8} - Bluetooth LE Service device interface GUID

Also BOOLEAN IsBthLEUuidMatch(_In_ BTH_LE_UUID uuid1, _In_ BTH_LE_UUID uuid2) function defined in same header is missing in docs.

Steve - could you please take a look? Thanks!

Thanks, @DJm00n. I've documented the IsBthLEUuidMatch function.
As for how/where to document the GUIDs, I'm investigating.
Thanks!
-Steve


ImportError: cannot import name 'protein' from 'alphafold.common' (unknown location)

hi there,
with some time investing in proxy-setup-problems, i was able to build the docker-part, there are some warnings, but at the end no errors and the output like this:
Successfully built d7c0d12e6ef3
Successfully tagged alphafold:latest
by running with a testfile i get an error from inside:
python3 docker/run_docker.py --fasta_paths=/alpha/Ami2638A.fasta --max_template_date=2020-05-14 --data_dir=/alpha2/
I0218 16:45:07.208508<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha -> /mnt/fasta_path_0
I0218 16:45:07.208594<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/uniref90 -> /mnt/uniref90_database_path
I0218 16:45:07.208647<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/mgnify -> /mnt/mgnify_database_path
I0218 16:45:07.208686<PHONE_NUMBER>97952 run_docker.py:107] Mounting / -> /mnt/data_dir
I0218 16:45:07.208730<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/pdb_mmcif -> /mnt/template_mmcif_dir
I0218 16:45:07.208762<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/pdb_mmcif -> /mnt/obsolete_pdbs_path
I0218 16:45:07.208794<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/pdb70 -> /mnt/pdb70_database_path
I0218 16:45:07.208827<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/uniclust30/uniclust30_2018_08 -> /mnt/uniclust30_database_path
I0218 16:45:07.208871<PHONE_NUMBER>97952 run_docker.py:107] Mounting /alpha2/bfd -> /mnt/bfd_database_path
I0218 16:45:07.532549<PHONE_NUMBER>97952 run_docker.py:247] Traceback (most recent call last):
I0218 16:45:07.532670<PHONE_NUMBER>97952 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 29, in
I0218 16:45:07.532715<PHONE_NUMBER>97952 run_docker.py:247] from alphafold.common import protein
I0218 16:45:07.532754<PHONE_NUMBER>97952 run_docker.py:247] ImportError: cannot import name 'protein' from 'alphafold.common' (unknown location)
a new git pull gives no newer files and the requirements are avilable.
any hints on this?
btw: is the mounte og / to /mnt/data_dir expected?
regards
andreas

no hints to this?

Could you take a look at https://github.com/deepmind/alphafold/issues/369 and try their solution?

ciao augustin,
sorry, i did fount the solution there and did a chmod, was fixed this issue.
the other still open, willupdate there.
this one can be marked as solved, thanks
andreas


[TF:TRT] Cleanup TRTOptimizer and convert_graph

This change refactors convert_graph and trt_optimization_pass.
De-duplicates the amount of data structures holding "conversion parameters". Each conversion parameter was duplicated inside of TRTOptimizationPass class because the ConversionParams struct contained const references to state variables. State variables were moved out of the struct and instead passed as function arguments. The ConversionParams struct was then moved into the TRTOptimizationPass class to make it clear what object owns the struct as an API dependency.
The function ConvertAfterShapes is renamed to ConvertGraph.
Various debugging output code was removed as it appears to be unused and an artifact of the original implementation.

This PR is a dependency of #53659

Can you please fix this error:
third_party/tensorflow/compiler/tf2tensorrt/kernels/trt_engine_op_test.cc:92:7: error: no type named 'ConversionParams' in namespace 'tensorflow::tensorrt::convert'; did you mean 'convert::TRTOptimizationPass::ConversionParams'?
convert::ConversionParams params;
^~~~~~~~~~~~~~~~~~~~~~~~~
convert::TRTOptimizationPass::ConversionParams
./third_party/tensorflow/compiler/tf2tensorrt/convert/trt_optimization_pass.h:43:10: note: 'convert::TRTOptimizationPass::ConversionParams' declared here
struct ConversionParams {
^
third_party/tensorflow/compiler/tf2tensorrt/kernels/trt_engine_op_test.cc:115:19: error: reference to type 'const tensorflow::tensorrt::convert::EngineInfo' could not bind to an rvalue of type 'std::nullptr_t'
params, nullptr, info, 1, shape_vec, &profile, &segment_string));

@christopherbate Can you please check @bixia1's comments and keep us posted ? Thanks!

I rebased, squashed update to fix the mentioned errors.

I got this test failur
casttest.log
e

Sorry was an error when I split this PR off from the one for the conditioning pass. Am updating this now.

rebased, squashed fixes for the failing  test fix. Issue was the graph_def being modified by the MaybeRewriteCast() function was a copy of the input graph def, when really it needed to be a reference.


Feature for input type="date" - how to hide calendar-picker-indicator

::-webkit-calendar-picker-indicator { display: none; }

(i have some difficulties with aldeed:autoform-bs-datepicker, but input type="date" also have very strange calendar)
I'm happy now

but aldeed:autoform-bs-datepicker for other browsers:
  unless typeof chrome is "object"
    delete Collections.Profiles.simpleSchema().schema("basicInfo.birthday").autoform

Sorry, I'm not sure what you mean here. Can you clarify?

About native Chrome calendar-picker-indicator
You can use datetimepicker, forever! 😎

Doesn't look like there's anything to do here

It may be option for input type.

I don't understand why you'd need an option. Just add the CSS if you need it.


Fix search by rewriting as a plugin to safely generate the JSON

It sadly loses contributor icons because that's a template we only have access to on the liquid side and since it's an include I can't figure out how to call it from the plugin.
fixes #2865

Thanks @hexylena! and thanks @martenson for reporting the issue


Double lines are displaying using terra-divider

Bug Report:
https://teams.microsoft.com/l/message/19:0adf7161dd244f87aa6415f7c5577836@thread.skype/1569329349305?tenantId=fbc493a8-0d24-4454-a815-f4ca58e8c09d&groupId=45f47bfa-38a9-444d-8933-9c20266ae38c&parentMessageId=1569329349305&teamName=Terra&channelName=Component Support&createdTime=1569329349305
Description
In different machines and resolution sometime this divider is displaying like boxed.
Not only this we are loosing line on separator of tabs we are loosing at 75 % zoom and different resolution .
Steps to Reproduce
One can access the below URL:
https://usmlvv3bi0265.usmlvv1d0a.smshsc.net:3001/page_1
Additional Context / Screenshots

Expected Behavior
The terra divider shall not appera as double lines
Possible Solution

Environment

Component Name and Version:
Browser Name and Version:
Node/npm Version: [e.g. Node 8/npm 5]
Webpack Version:
Operating System and version (desktop or mobile):

@ Mentions

@kehkasha16
You are talking about two different components - terra-tabs and probably terra-menu(?). Please have two issues explaining each issue in detail.
Please provide us with reduced test samples for each problem that you mentioned in addition to providing details regarding the development environment - OS, browsers, resolution, devices, etc. I'd refrain from giving links to internal projects' codebase or their deployment.

@nramamurth  terra-divider

@kehkasha16 could you please provide the OS, browser related information ?

We are using Chrome and IE browser

we are not able to reproduce this in our local using chrome or IE browsers,  could you please confirm the version of the chrome or IE which you are using ?

@kehkasha16 I'd like to reiterate this.
Please provide us with reduced test samples for each problem that you mentioned in addition to providing details regarding the development environment - OS, browsers, resolution, devices, components, etc.

Reposting my comment from Teams conversation:

To be clear - the browser Zoom/Magnification Levels are not part of any responsive web strategy. RWD is an approach of how best to manage ever changing screen size and orientation.  Terra currently does not test or support any zoom level other than 100%.

As part of WCAG2.1, we will at some point start testing for Reflow of any Text, specifically when the browser zoom is set to 400%, checking to make sure all text appropriately does not get clipped or hidden. We have started preparing components to handle this, but we have not officially started testing and supporting this requirement yet.

Closing as 75% browser not supported by Terra at this time, in addition Chrome border zoom is a known browser bug https://bugs.chromium.org/p/chromium/issues/detail?id=834489


ALMA 9.3  fdfind: command not found...

When running the ansible role on ALMA 9.3 I encounter warnings:

zsh: fdfind: command not found...

fd-find is installed in /usr/bin/fd and not /usr/bin/fdfind
Removing this command from templates/zshrc.js2
LINE 45 alias fd=fdfind # for correct working of sorenson-axial/fzf-widgets
Should fix the problem.
Maybe can be fixed using something similar to:
ansible_os_family == 'Debian'
PS: Sorry I am new to issues and contributing to public repos, Should I open an pull request?

Hello, @lopaker, of course, you can try to fix it.
Unfortunately, I have not enough energy for this project for the last time.


fix build of lefthk binary breaking due to unhandled error type

handle ron spanned error

:thinking: why no CI running?

I fooled my self into thinking this works without #30 and keep PRs clean and minimal, but seems they depend one on the other..


jrnl: 1.9.8 -> 2.4.2

Motivation for this change
https://github.com/jrnl-org/jrnl/releases/tag/v2.4.2
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Build fails on Darwin. Adding cryptography to propagatedBuildInputs fixes it.

@GrahamcOfBorg build jrnl

Was superseded by #112684.


[Typescript] Returntype of t

First of all I appreciate a lot to have native typescript support now.
However when using the useTranslation hook, the return type of t is unknown, but it should be string

@BjoernRave I prereleased 0.19.5-canary.1 if you want to start using it! And if you can confirm that everything is fine it would be perfect 😊
Thanks!!


Prevent ClickHouse operator from creating a load balancer

I have a cluster wherein I have loaded a ClickHouse operator. When I'm applying the installation here: https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/04-replication-zookeeper-03-minimal-AWS-persistent-volume.yaml
A load balancer will be created. I would like to NOT have that load balancer created.
Is there anything that I can change in the 04-replication-zookeeper-03-minimal-AWS-persistent-volume.yaml file so that the load balancer isn't created?

@dav1d992 , you need to add serviceTemplate with ClusterIP type in order to override the default one. See examples of serviceTemplate:
https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/02-templates-03-service-template.yaml
https://github.com/Altinity/clickhouse-operator/blob/master/tests/configs/test-012-service-template.yaml

@dav1d992 , you need to add serviceTemplate with ClusterIP type in order to override the default one. See examples of serviceTemplate:
https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/02-templates-03-service-template.yaml
https://github.com/Altinity/clickhouse-operator/blob/master/tests/configs/test-012-service-template.yaml

@dav1d992，您需要添加具有 ClusterIP 类型的 serviceTemplate 以覆盖默认类型。查看 serviceTemplate 的例子：
https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/02-templates-03-service-template.yaml
https://github.com/Altinity/clickhouse-operator/blob/master/tests/configs/test-012-service-template.yaml

it seems like not works

@jessezax could you share your kind: ClickHouseInstallation manifest?

@jessezax could you share your kind: ClickHouseInstallation manifest?
sorry.forget add :

defaults:
    templates:
      serviceTemplate: clickhouse-lb

and did
serviceTemplate -- >LoadBalancer
clusterServiceTemplate --> ClusterIP
?

@jessezax if you have
templates:
  serviceTemplates:
    - name: clickhouse-lb
       type: LoadBalancer
defaults:
   templates:
      serviceTemplate: clickhouse-lb

it will create service with type: LoadBalancer
change type: LoadBalancer to type: ClusterIP and you will get another service type
if you not define  serviceTemplate, clusterServiceTemplate, shardServiceTemplate, replicaServiceTemplate in defaults.templates, for example
defaults:
  clusterServiceTemplate: another-temlate-name

then default serviceTemplates (defined in golang code) will applied for creating services

@jessezax if you have
templates:
  serviceTemplates:
    - name: clickhouse-lb
       type: LoadBalancer
defaults:
   templates:
      serviceTemplate: clickhouse-lb

it will create service with type: LoadBalancer change type: LoadBalancer to type: ClusterIP and you will get another service type
if you not define serviceTemplate, clusterServiceTemplate, shardServiceTemplate, replicaServiceTemplate in defaults.templates, for example
defaults:
  clusterServiceTemplate: another-temlate-name

then default serviceTemplates (defined in golang code) will applied for creating services

thanks


New version: michidk.vscli version 0.1.6

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


SQLPackage utility link url should be updated

While reading this article I followed the instructions:

or you can download the latest version of SqlPackage directly from the Microsoft download center.

However this page proposes to download "Microsoft® SQL Server® Data-Tier Application Framework (16.4)" but after hours trying to make that tool work I found the right link should be this one: https://docs.microsoft.com/en-us/sql/tools/sqlpackage/sqlpackage-download?view=sql-server-ver15 which corresponds to "SqlPackage" which is the desired utility.

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

ID: 5c0b8c1d-41ff-f7ab-bc23-72a48fc46e1e
Version Independent ID: dfb8cad9-6233-f97f-c849-1820ad642c7c
Content: Export an Azure SQL Database to a BACPAC file (the Azure portal) - Azure SQL Database & Azure SQL Managed Instance
Content Source: articles/azure-sql/database/database-export.md
Service: sql-db-mi
Sub-service: data-movement
GitHub Login: @cawrites
Microsoft Alias: chadam

@JCPuerto Thank you for the feedback. We are actively investigating and will get back to you soon.

@JCPuerto Thank you for pointing out the issue, I have updated the doc accordingly.
The changes should be live EOD or tomorrow.
We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Improvement/eslint

This add eslint with airbnb rules and can be check using gulp lint command. I've check npm test running without errors to ensure that code style does not affect app's logic.

This PR seems to be combining more than just adding eslint, and at this point there are some merge conflict issues as well.  It might be better if this is closed and separate PRs are created for each specific issue.  I would also suggest creating github issues for the improvements that you are thinking about first for discussion.  In that way, other contributors or folks that are active here can comment and reduce the chances of you having to redo PRs, etc.

Closing the PR since there hasn't been an update from the requester and there are also multiple merge conflicts at this point.  There are larger upcoming changes in the project in regards to switching to async/await and finishing ES6 migration which are further going to cause replication effort with this PR.  Perhaps code style and formatting can be discussed to be integrated with the rewrites.


How to work with session?

Hi!
I have task to do next powershell script:
 Copy-Item .\tslint.json -Destination C:\WebSites\tml2\  -ToSession $session
I did:
#addin "Cake.WebDeploy"
#addin "Cake.Powershell"
#addin "Cake.Incubator" // "Cake.Incubator&version=x.x.x"
#tool "nuget:?package=NUnit.ConsoleRunner"
#addin "nuget:?package=Cake.Powershell&version=0.4.4"

Task("Main")
  .Description("Clean local files")
  .Does(() => {
    var session1 = StartPowershellScript("New-PSSession", args =>
    {
      args.Append("ComputerName", "server-portal");
    });
    Information(session1);

    StartPowershellScript("Copy-Item", args =>
    {
      args
        .AppendQuoted(zipName)
        .Append("Destination", @"C:\WebSites\tml2\")
        .Append("ToSession", session1);
    });
  })
  .OnError(exception => {
    Information("-[Main]----------> " + exception);
  });

RunTarget("Main");

But it fails with next error:
Executing: New-PSSession -ComputerName esd-opportal
[PSSession]WinRM1
System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]
Executing: Copy-Item "publish.zip" -Destination C:\WebSites\OP-LessCompilerService\tml2\ ToSession
An error occurred when executing task 'Main'.
-[Main]----------> System.AggregateException: Failed to Execute Powershell Script: System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument 'ToSession'.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc() ---> System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument 'ToSession'.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
   --- End of inner exception stack trace ---
   at Cake.Powershell.PowershellRunner.Invoke(String script, PowershellSettings settings)
   at Submission#0.StartPowershellScript(String script, Action`1 arguments)
   at Submission#0.<<Initialize>>b__0_0()
   at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass20_0.<Does>b__0(ICakeContext x)
   at Cake.Core.CakeTask.<Execute>d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.DefaultExecutionStrategy.<ExecuteAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
---> (Inner Exception #0) System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument 'ToSession'.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()<---

As I understood, problem with the parameter "ToSession", and I have no ideas how to set it like an object that I got after New-PSSession

Could you help me, how to write a script that will:

copy archive to remote server
unzip it on the remote server (do not get archive locally and then sent files one by one)

Please!

I would use an online file storage service like S3 as an intermediary. Upload the zip to the S3 bucket then execute the remote script, which in turn downloads the zip and processes the files.
I even have a Cake addon for it 😄

Cool addon, but it isn't possible to use AWS for me, I need deploy to server in the same network (,
Any ideas?


release-20.03-cherry-pick: lumo Merge pull request #59414 from hlolli/lumo-bump

Motivation for this change
Lumo is currently failing on linux https://hydra.nixos.org/build/112812334 and a fix was merged today
this merge includes darwin support https://hydra.nixos.org/build/113308416 which is failing, I hope darwin can safely be left out here without affecting the linux support?
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Can you please cherry-pick the actual commit https://github.com/NixOS/nixpkgs/commit/ad566721969e9e765cabfaa6ef972713260757c0, and not the merge commit?

@worldofpeace I've been in the habit of squashing commits on the gihub.com ui, so I messed up a bit by not squashing, so I thought the merge would make sense in this case as it would encompass the changes from 2 commits. Now I've cherry picked the 2 commits, the other one titled terribly "cleanup". It's a small mess, I hope I'm forgiven :)

@hlolli You can do an interactive rebase and squash that cleanup commit into the first, and make sure the first commit has the
(cherry picked from commit ef712ff)
(cherry picked from commit ad56672)

in the body.

@worldofpeace done

@GrahamcOfBorg build lemo

@Mic92 sorry about being a bit clueless, I didn't remember my changes being merged already :) so I changed the commit message to just refer to a fix. I tested locally and the binary compiles and runs fine, need to research if this patch was of any importance, but afaik, it wasn't.

Thanks!


How can I make the model produce consistent and stable results for the same prompt?

What is the issue?
As the title suggests, my goal is to ensure that the model produces consistent and stable output for the same prompt.
I call the native gemma2:9b docker using the ollama-python lib API. I have explicitly modified the temperature to 0 and set a fixed seed in the Options, but I found that it did not work. The model still produces different results with multiple calls.
Is there an issue with the way I am using it? Has anyone encountered the same problem?
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
ollama version is 0.2.1

same here. add 'PARAMETER temperature 0.0 ' in  modelfile not work.


add a quiet option to HotModuleReplacementPlugin to make it quieter

What do you think about this? I'm using HMR as basically an "eval" server so I'm always looking at the console to see the result of my current eval expression, and it's very verbose right now. This is a simple option that makes it quieter.

Any word on this? I don't understand the test failure

I don't understand the test failure

The watching test seem to timeout sometimes on CI. Not a real issue... I disabled them now...

Regarding the PR: I'm not sure if we should add quiet to the module.hot API. I think it's wrong here. Logging is part of the HMR management code (webpack/hot/...) and not of the HMR API (runtime in lib/HotModuleReplacementPlugin).
But not sure how to add parameters to the HMR management code. We could use query parameter (webpack/hot/dev-server?quiet) or defines (new DefinePlugin({ HMR_VERBOSITY: 0 })).

I'd go with a query parameter.

+1

+1

Any progress on this?

The https://github.com/glenjamin/webpack-hot-middleware allows yo to do that.

Following up from oldest to newest PR's. @jlongster were you wanting to try to implement the query param approach? Feel free to sync master (you may find a crap ton of changes), or just close this and pop a new branch up. We can help offer any API support if needed.


Update the tempsense flow to the current version of OpenROAD-flow-scripts

This updates the tempsense flow to OpenROAD-flow-scripts commit id 1aa3fd3 (Aug 4 2022)

I tested this update with a local installation of OpenROAD (v2.0-4526-gc525def45) and an installation in a conda environment (commit 5ca26d) from the LiteX-hub channel, both successful. DRC with Magic (8.3.315) and LVS with Netgen (1.5.227) also don't produce errors in conda
LVS with Netgen (make netgen_lvs) will now generate Magic .ext files in objects/.../netgen_lvs/ext and .spice files in objects/.../netgen_lvs/spice
LEF modification for NDR is now made within the OpenROAD tool (no additional .py script) -- as mentioned in  https://openfasoc.readthedocs.io/en/latest/developers-guide.html

Some things to note:

To see the final result in the OpenROAD GUI, go to the temp-sense-gen/flow/ directory and run make gui_final. You can also see intermediary steps with make gui_floorplan, make gui_place and make gui_route.
The sky130hd platform dir, common to all generators, was also updated. Some files have changed significantly, such as config.mk, fastroute.tcl, lef/sky130_fd_sc_hd_merged.lef, which WILL BREAK OTHER GENERATORS. To keep support for generators with an older version of the flow scripts, a backup/ folder inside the platform dir contains the older files. Such generators must be updated with this new directory path to work again (PLATFORM_DIR env variable in flow/Makefile, for example).
The run_lvspex.sh script in common/drc-lvs-check/ (common to all generators) was changed to relocate the generated .ext and .spice files in the objects dir. In the tempsense, I had to change tools/temp-sense-gen.py to get the correct path to the .spice file when copying it to the work/ folder (which contains all the flow results). THIS MAY BREAK OTHER GENERATORS.
The merged_spacing.lef file, previously used in the cdl_parser.py script, is not generated in the flow scripts anymore (by default). The cdl parser was thus updated not to use it (thanks @alibillalhammoud).
This is still using pdn.cfg for OpenROAD's pdngen (related: #81)

For a more detailed view of what changed from the base OpenROAD-flow-scripts to OpenFASOC's tempsense generator flow, you can check the commit history in this fork: https://github.com/luccareinehr/OpenROAD-flow-scripts
Closes #73 #65

@saicharan0112 I see one check fails with "permission denied" in a .py file, I got this in my conda installation too and just did chmod to fix it... should I do it here too?

@luccareinehr Can try this? https://www.appsloveworld.com/swift/100/121/while-using-github-actions-im-facing-permission-denied-error

for future reference: always run pre-commit run --all-files to pass the CI check

@msaligane NDR are added with add_ndr_rules.tcl under scripts/openfasoc/, using openroad (instead of opening the DEF in python and editing it)

@luccareinehr Can you try to resolve these conflicts?

@saicharan0112 Done!

@msaligane you can now merge this PR. It also has the python code testing fixes

Thanks @luccareinehr !


redis cluster/consistent hash

In redis cluster mode, go-redis can calculate the hash slot where the key resides and route it to the selected node. Why still need consistent hash？

The purpose of this implementation is to save costs, because the redis network bandwidth on Alibaba Cloud is linked to capacity. If you use a larger bandwidth, you can only upgrade the redis specifications. However, in some cases, your business does not need such a large bandwidth. redis capacity, then you can choose to use several small redis combinations. We saved 8 times the cost by using this method.

The purpose of this implementation is to save costs, because the redis network bandwidth on Alibaba Cloud is linked to capacity. If you use a larger bandwidth, you can only upgrade the redis specifications. However, in some cases, your business does not need such a large bandwidth. redis capacity, then you can choose to use several small redis combinations. We saved 8 times the cost by using this method.

Are these small capacity redis selected to form a cluster a shard cluster? If it is not a sharded cluster, how is the node change data migration implemented?

Other question, why not just use codis? thx

The purpose of this implementation is to save costs, because the redis network bandwidth on Alibaba Cloud is linked to capacity. If you use a larger bandwidth, you can only upgrade the redis specifications. However, in some cases, your business does not need such a large bandwidth. redis capacity, then you can choose to use several small redis combinations. We saved 8 times the cost by using this method.

Are these small capacity redis selected to form a cluster a shard cluster? If it is not a sharded cluster, how is the node change data migration implemented?

Why do you need to migrate? If there are new or reduced nodes in the cache cluster, just re-obtain the db normally. This is only used as a cache.

Other question, why not just use codis

codis is a distributed Redis solution. It is not equivalent to the cache here. In other words, the capabilities provided by the cache are functionally equivalent to the sharding logic of codis. It does not provide a distributed Redis solution.

Another point, we have to pay attention to a core issue, what is the purpose of the cache array here? It is not to solve the redis distribution problem, but to achieve the purpose of cost control. As for using redis node cluster, codis or other redis solutions, it does not matter.


Update object-model.md

remove en-us

Docs Build status updates of commit 6d2ced5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/overview/Visio/object-model.md
:bulb:Suggestion
View
Details

api/overview/Visio/object-model.md

Line 18, Column 79: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/office/dev/add-ins/overview/office-add-in-availability' will be broken in isolated environments. Replace with a relative link.
Line 18, Column 202: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/office/dev/add-ins/overview/office-add-ins' will be broken in isolated environments. Replace with a relative link.
Line 22, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/office/vba/api/visio(enumerations)' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel