docker update doubt with PR https://github.com/kata-containers/runtime/pull/734

I have a few questions about "docker update" with the PR #734 :
(1) When I execute "docker run -ti --cpu-quota 60000 --cpu-period 100000 busybox /bin/sh", the container id is "cf3e2d7be1f9ad7f8e7cdd0bc09045363df6a08b02d88e6c81d18e3b5737e414"
We can see the following results in the host directory and virtual machine directory:
cat cpu.cfs_quota_us
60000
cat cpu.cfs_period_us
100000
(2) But when I execute "docker update --cpu-quota 50000 --cpu-period 200000 cf3e2d7be1f9ad7f8e7cdd0bc09045363df6a08b02d88e6c81d18e3b5737e414", the value on the host has not changed:
Cat cpu.cfs_quota_us
60000
Cat cpu.cfs_period_us
100000
However, the value on the virtual machine is updated.
Question 1
I want to know if "docker update --cpu-quota 50000 --cpu-period " will have the same effect as "docker run -ti --cpu-quota 60000 --cpu-period 100000" in the future?
Question 2
If the answer to question 1 is "yes", then is it related to cpu and cpuset?
Question 3
On the host, should we use diretory "/sys/fs/cgroup/cpu/kata/${vm-name}" instead "/sys/fs/cgroup/cpu/kata/${containerid}"?
@WeiZhang555 @bergwolf @liwei @jbryce @gnawux

Thanks for raising. You can reference an issue or PR by "#"+its number in github comment

Thanks for raising. You can reference an issue or PR by "#"+its number in github comment

thanks,how do you think this issue?

Sorry, I'm not sure about this. Maybe applied in the guest.

Sorry, I'm not sure about this. Maybe applied in the guest.

thanks! If it applied in the guest, we don't need to merge #734 . So,it also confused me.

Sorry, I'm not sure about this. Maybe applied in the guest.

thanks! If it applied in the guest, we don't need to merge #734 . So,it also confused me.

Just a guess! Host cgroup is useful for controlling container in a fine granularity

Hey @liangxianlong  - the PR is for helping constrain QEMU on the host.  The requested handling of containers using docker update is for updating the cgroups within the guest. Or... what was the question?

Hey @liangxianlong - the PR is for helping constrain QEMU on the host. The requested handling of containers using docker update is for updating the cgroups within the guest. Or... what was the question?
Do you mean that if one want realize a comman "vpcupin" in libvirt,he/she should use "docker run --cpuset-cpus 6"?


Loading message always is diplayed on 5.6.1

HI @dlumbrer ,
the plugin works fine in 5.6.1 kibana version, except for the up-right message that says:
Loading network ...
This message is diplayed also after the network was loaded.
Abny idea to fix it?
Many thanks
Filippo

Make sure you are using the 5.5.x branch. You will need to edit package.json, changing the kibana version to 5.6.1. The issue you are seeing was fixed about a week ago on the 5.5.x branch.

as @robcowart said :+1: , I fixed this error in the latest version.
Please, download the latest version (clone directly from 5.5.x) @TRISAF

Hi @dlumbrer ,
i follow your suggestion, but the loading banner still remain.

Any deeper suggestion for debugging this anomaly?
Many thanks
Filippo

It seems that is loading the older version that you had installed before.
I suggest you to delete content the folder KIBANA_HOME/optimize/bundles and launch kibana again.
Thx

I have deleted the optimize for sure.
I feel i've done everthing correctly, but...
Can you send me a link to be sure that i install the version you suggest?

@TRISAF try the instructions here... https://www.linkedin.com/pulse/visualize-network-traffic-connections-elastiflow-kbn-robert-cowart
Delete KIBANA_HOME/optimize/bundles first.
Edit package.json for version 5.6.1 (which you are using) instead of version 5.5.2 which is described in the instuctions.
This worked fine for me.


Fix pep8 indentation and operator warnings

This fixes E121, E122, E123, E127, E226, E241,
E275 and W503 warnings and starts enforcing them.
Also removed a number of ignore directives for
warnings that were no longer being triggered.

lgtm but had to fix merge conflict and waiting for tests to pass before merge


temperature: allow hwmon-path-abs as array

Currently, only hwmon-path is allowed to have multiple path, however the hwmon ID is not stable, for which hwmon-path-abs is better, but it's supposed to be a string. This commit extends hwmon-path-abs and make it works like hwmon-path.

Thanks!
Can you update the github wiki?

Thanks! Can you update the github wiki?

Just update by extend the type to string/array, might be enough


Add translation to app

im confused there are 2 PRs, can you close the old one if this is on top?

the footer has an issue:

let's close this PR and have two PRs

translation is enabled
footer is done correctly


minidump.js commands execute error

minidump version 0.19.0
I install minidump by npm intall<EMAIL_ADDRESS>--no-bin-links
but node_modules/minidump/build have nothing, the minidump.js content commands excute path minidump\build\src\processor\minidump_stackwalk.exe is not exsit

sounds like an npm issue. what OS are you on? if you install without --no-bin-links does it work?

Ah, okay, well sadly that is beyond my control to fix :/


i18n: harvesting server-side strings

The Problem
Ghost is currently pretty much UK-based English-language only, and has barely any features to account for timezones, locales, languages, alphabets, keyboard layouts or anything else that isn't UTC/English in either the admin or in themes. Even the USA folks luck out, sorry! All this is set to change with full support for multiple locales and languages across the admin and your blog posts. [src]
The Solution
(see #5345 for full details)
The first phase of the multi-part rollout is to remove all strings that are hard-coded in the app and put them in a centralized location (referred to as "harvesting"). At the end of phase 1 English would still be the only language supported in Ghost and there would be no noticeable change to the end-user, but it will put things in a place where translations can start taking place.
But this is a big job and no one person can do it all alone (unless you're brave and have lots of free time)!
Each piece of the string harvesting can be done separately and referencing this issue, which make a few good small issues for either beginners or folks that want to contribute but may not have a lot of time free time.
This commit is to help demonstrate how to go about harvesting strings and replacing it with the proper i18n function: https://github.com/morficus/Ghost/commit/a1559cde068f1861bf672e66ef2354c4d1fb6288
(PS: This particular issue is focused only on harvesting string that are server-side. There will be another issue for client-side strings.)
Tasks
To grab a task, just leave a comment below indicating which you will be working on.
Places that have lots of strings across many files:

[ ] /core/server/api
[ ] /core/server/data

Places with a healthy amount, but not too many files:

[ ] /core/server/models
[ ] /core/server/helpers
[ ] /core/server/middleware
[ ] /core/server/apps

Places that have a small amount of strings that need harvesting:

[ ] /core/server/controllers
[ ] /core/server/config
[ ] /core/server/permissions
[ ] /core/server/utils
[ ] /core/server/ghost-server.js
[ ] /core/server/index.js
[ ] /core/server/mail.js
[ ] /core/server/require-tree.js
[ ] /core/server/update-check.js

I'm working on  /core/server/mail.js,  /core/server/update-check.js and /core/server/index.js.

Working on /core/server/require-tree.js and /core/server/ghost-server.js

Working on  /core/server/config/,  /core/server/permissions/ and  /core/server/utils/*
Pending: /core/server/controllers/*

@rfpe if you're taking on multiple sections it would be great if you could open a WIP PR :+1:


add prime

This is a prime number generator
Link
https://github.com/wontruefree/prime
Checklist

[ ] - Shard is at least 30 days old.
[X] - Shard has CI implemented.
[ ] - Shard has daily/weekly periodic builds (ideally with Crystal latest and nightly).

Hola!
This shard has passed 30d and @wontruefree helpfully set up weekly builds on travis:
See https://travis-ci.com/github/wontruefree/prime
Can we pretty please get a re-review? ✨

We have weekly builds and builds on PRs.  I have plans to add some more features.


Notebook keyboard shortcut flakiness

### Tasks
- [ ] Ctrl+A doesn’t work reliably. The expected behavior is that it selects the current cell or cell output and nothing, or, hitting escape and to take the focus out of any cell or output would allow for selecting the entire notebook including cells and cell output. A bonus would be a "select all cells" or "select all cell output" option.
- [ ] Scrolling/paging with copy selecting should stop at cell boundary. Oftentimes I want to select part of a cell or cell output. If a make a selection and then do a Ctrl+Page Up or Down, the selection proceeds outside of that boundary and I end up picking up more than I want.
- [ ] Navigation (e.g. escape, ctrl+shift+home) doesn’t work reliably. Again, I should be able to hit escape to move out to the notebook, and Ctrl+Shift+Home should take me to the top of the selected cell/cell output or Notebook if none is selected.
- [ ] Ctrl+Z should undo cell deletion. Sometimes I inadvertently hit a keystroke that deletes a cell and then can't get it back with undo (and the timeline doesn't make it easy to restore it either)
- [ ] https://github.com/microsoft/vscode/issues/205634

This should now be fixed.

ctrl+A doesn't seem to work quite right. I only see that everything in an output cell is shown after focusing out of the output:

Looks like a focus issue.
@alexr00 can you click on the text that contains the Issue number along with the date and author.
Press it a few times untill the output contains the blue border indicating the fact that the output has been selected.
And then press Ctrl+A, it should then work.
I would like to verify that you too are seeing the same issue at your end.

Closing and marking as verifeid as this has been tested in other issues/TPI items,
We have an edge case for HTML and this has to do with focus in outputs -> creating a separate issue for this


java.lang.NegativeArraySizeException Crash at SdlPsm.java line 241 com.smartdevicelink.transport.SdlPsm.transitionOnInput

Bug Report
Fatal Crash
Fatal Exception: java.lang.NegativeArraySizeException: -592969471
       at com.smartdevicelink.transport.SdlPsm.transitionOnInput(SdlPsm.java:241)
       at com.smartdevicelink.transport.SdlPsm.handleByte(SdlPsm.java:88)
       at com.smartdevicelink.transport.MultiplexBluetoothTransport$ConnectedThread.run(MultiplexBluetoothTransport.java:801)

Reproduction Steps
Seeing crash in Firebase Crashlytics dash, unfortunately no reproduction steps to share.
Expected Behavior
No Crash
Observed Behavior
Crashing
OS & Version Information

Android Version: 46% Android 11, 45% Android 10, 5% Android 7%
SDL Android Version: 4.12.0
Testing Against:
According to crash logs. app was always in background when the crash was seen.

Test Case, Sample Code, and / or Example App
[Paste a link to a PR, gist, or other code that exemplifies this behavior]

fixed with #1683


Remove dot icon in status panel

@abe33 I believe what @adamsmith wanted to remove was the dot icon in the editor gutter:

The affected lines would be:
src/kite.js
208:    this.statusBarItem.text = '$(primitive-dot) Kite';
540:      this.statusBarItem.text = compact(['$(primitive-dot) Kite', label]).join(': ')


DwC importer name handling fixes (incertae sedis, misspelling, types)

Fix how misspellings were handled in the checklist staging process

add test case for importing names with misspellings

Fix type scientific name detection in occurrence import when it doesn't match the current scientific name
Fix incertae sedis imports when a rank was given (via the TW:TaxonNameRelationship:incertae_sedis_in_rank field) and had a different rank than the taxon's parent

Codecov Report
Patch coverage has no change and project coverage change: -25.56 :warning:

Comparison is base (d6fb828) 85.84% compared to head (5858fa2) 60.29%.

:exclamation: Current head 5858fa2 differs from pull request most recent head 6a35965. Consider uploading reports for the commit 6a35965 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3468       +/-   ##
================================================
- Coverage        85.84%   60.29%   -25.56%
================================================
  Files             2004     1508      -496
  Lines            72363    45155    -27208
================================================
- Hits             62121    27225    -34896
- Misses           10242    17930     +7688

Impacted Files
Coverage Δ

...pp/models/dataset_record/darwin_core/occurrence.rb
7.77% <0.00%> (-52.11%)
:arrow_down:

app/models/dataset_record/darwin_core/taxon.rb
7.27% <0.00%> (-76.37%)
:arrow_down:

app/models/import_dataset/darwin_core/checklist.rb
7.14% <0.00%> (-75.12%)
:arrow_down:

... and 1117 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Fix type scientific name detection in occurrence import when it doesn't match the current scientific name
What name TypeMaterial ends up associated with?

if the type name exactly matches the scientificName, we use the scientificName’s protonym
Otherwise, we search for the type name as a cached original combination and use that protonym if it exists

The bug that was happening was that the first check would modify the saved type name in-place, so we couldn’t use it to search original combinations.

@LocoDelAssembly can we merge this?

If @proceps agrees yes, LGTM.
El dom, 2 de jul de 2023, 12:52, Matt @.***> escribió:

@LocoDelAssembly https://github.com/LocoDelAssembly can we merge this?
—
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/pull/3468#issuecomment-1616709768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGCXNPIJSUVXYRT6SGJWYDXOGKKFANCNFSM6AAAAAAZTO2SNM
.
You are receiving this because you were mentioned.Message ID:
@.***>


bug: IonInfiniteScroll bug on non-JS scrolling

Type: bug
Platform: mobile webview
I noticed that my app running on Android (with native scrolling) infinitely triggers on-infinite callback function when a state is changed before the first on-infinite callback is complete.
This codepen http://codepen.io/felquis/pen/vEbBpJ can be used to reproduce the issue. Just make sure, the JS scrolling is disabled.
The codepen was initially used on this thread http://forum.ionicframework.com/t/ion-infinite-scroll-is-looping-after-state-change-before-infinitescrollcomplete/19609 which also discusses the same issue.
Now after debugging, I found the buggy section of code which is in the function IonInfiniteScrollController::finishInfiniteScroll()
The code in there only check bounds again immediately if the page isn't cached but does so ONLY if JS scrolling is enabled. For non JS scrolling it always checks bound and since the cached view is display: none -ed, the check to see if we've scrolled far enough to trigger an infinite scroll always returns true.
The result, on-infinite is called infinitely.

Greetings @prashantpalikhe!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Cool, thanks for the detailed description.
Can confirm that I see this happening as well.
Passing this to @perrygovier

@mhartington What is the status of this? Or should I create a PR?

You can if you want. PRs are always welcomed.

Greetings @prashantpalikhe!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

This is still an issue for me.
Have you found a solution @prashantpalikhe?

@mhartington @prashantpalikhe I found a simple fix for the issue. The max and current scroll height were both 0 and there was no checking for it. I added the condition in #4667


Feat: fake timers

https://sinonjs.org/releases/v1.17.7/fake-timers/
https://jestjs.io/docs/timer-mocks

This is out of scope for tinyspy.
Discussed to release this feature inside vitest.


issue with localePath in monorepo when deployed to Vercel

Describe the bug
We have this project structure, where I need to deploy one app from monorepo to Vercel, I created simpified reprocudction in GitHub repo.
The problem is with next-i18next.config.js and localePath. When I use path.resolve('./public/locales'), then the serverless function on Vercel can't find the locale files, when I use path.resolve('./packages/parent/public/locales'), then the pre-rendering function can't find the locale files, so there is this problem in recognizing if the config is in getStaticProps or getServerSideProps and I cant get it to work. Right now the config looks like this:
/* next-i18next.config.js */
const path = require('path');

module.exports = {
    i18n: {
      defaultLocale: 'cs',
      locales: ['en', 'cs'],
      localePath: process.env.VERCEL ? path.resolve('./packages/parent/public/locales') : path.resolve('./public/locales')
    },
  };

I tried to play with process.browser and  typeof window === 'undefined' but that did not help.
When path.resolve('./public/locales') it crashes when trying to load SSR rendered page with error:
info  - Loaded env from /var/task/.env
2021-11-29T13:47:12.977Z	0e7d42ba-aaae-4c84-bb41-96a5a3fb6847	ERROR	Error: ENOENT: no such file or directory, scandir '/var/task/public/locales/en'
    at Object.readdirSync (fs.js:1047:3)
    at getLocaleNamespaces (/var/task/node_modules/next-i18next/dist/commonjs/config/createConfig.js:175:23)
    at /var/task/node_modules/next-i18next/dist/commonjs/config/createConfig.js:181:20
    at Array.map (<anonymous>)
    at getNamespaces (/var/task/node_modules/next-i18next/dist/commonjs/config/createConfig.js:180:44)
    at createConfig (/var/task/node_modules/next-i18next/dist/commonjs/config/createConfig.js:221:29)
    at _callee$ (/var/task/node_modules/next-i18next/dist/commonjs/serverSideTranslations.js:199:53)
    at tryCatch (/var/task/node_modules/regenerator-runtime/runtime.js:63:40)
    at Generator.invoke [as _invoke] (/var/task/node_modules/regenerator-runtime/runtime.js:294:22)
    at Generator.next (/var/task/node_modules/regenerator-runtime/runtime.js:119:21) {
  errno: -2,
  syscall: 'scandir',
  path: '/var/task/public/locales/en',
  page: '/'
}
RequestId: 0e7d42ba-aaae-4c84-bb41-96a5a3fb6847 Error: Runtime exited with error: exit status 1
Runtime.ExitError

When path.resolve('./package/parent/public/locales') it crashes during build with exit message:
Error occurred prerendering page "/en". Read more: https://nextjs.org/docs/messages/prerender-error
Error: ENOENT: no such file or directory, scandir '/vercel/path0/packages/parent/packages/parent/public/locales/en'
     at Object.readdirSync (fs.js:1047:3)
     at getLocaleNamespaces (/vercel/path0/node_modules/next-i18next/dist/commonjs/config/createConfig.js:175:23)
     at /vercel/path0/node_modules/next-i18next/dist/commonjs/config/createConfig.js:181:20
     at Array.map (<anonymous>)
     at getNamespaces (/vercel/path0/node_modules/next-i18next/dist/commonjs/config/createConfig.js:180:44)
     at createConfig (/vercel/path0/node_modules/next-i18next/dist/commonjs/config/createConfig.js:221:29)
     at _callee$ (/vercel/path0/node_modules/next-i18next/dist/commonjs/serverSideTranslations.js:199:53)
     at tryCatch (/vercel/path0/node_modules/regenerator-runtime/runtime.js:63:40)
     at Generator.invoke [as _invoke] (/vercel/path0/node_modules/regenerator-runtime/runtime.js:294:22)
     at Generator.next (/vercel/path0/node_modules/regenerator-runtime/runtime.js:119:21)}
RequestId: 1d6d712f-02d3-4029-8277-7bf418949555 Error: Runtime exited with error: exit status 1
Runtime.ExitError

Occurs in next-i18next version
^9.2.0
Steps to reproduce
Reproduction repository:
https://github.com/jakubHynek/lerna-monorepo
There is packages/parent which is basic next app created with yarn create next-app --typescript
packages/child not  important for this issue - exports one basic function
Steps
yarn install

npx vercel

follow the steps of Vercel initialization

setup vercel project on their site:
FRAMEWORK PRESET: Next.js
BUILD COMMAND: yarn workspace parent run build
OUTPUT DIRECTORY: packages/parent/.next
leave Root Directory setting empty

either crash at build or at server side rendered page

@jakubHynek This package's repo itself is a monorepo, and the simple example is dep

loyed on Vercel. You may need to change this setting:

So much pain for this mistake. Thank you very much!


Update messaging API / form to accept subject lines

Projects should be able to specify the subject in their emails.

Completed in d94fd22


New Cordova Website and Docs - Rewritten

Merging cordova-website branch by copying over files and committing them anew.

Any pointers where we could find the cordova-website branch?
It would really help us to have the history and attribution of the files that were added in this PR, if possible.

I’m not sure it exists anymore. Cordova docs and website used to be separate repos, and became one.
I might have some context though. What’s up?
Dmitry

On Dec 11, 2019, at 12:41, Chris Brody<EMAIL_ADDRESS>wrote:

Any pointers where we could find the cordova-website branch?
It would really help us to have the history and attribution of the files that were added in this PR, if possible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I was wondering if there may be any pointers where we could find an archive of the old website repo?
Shouldn't the ASF git keep this kind of an archive somewhere?
I think this could help us understand what was done in the past, why, and by whom. Discussion of the flash artifact in #1031 is a prime example. I think maintaining contributor credits whenever possible is part of the general ASF philosophy.
Thanks for your response here and in #1031.

I’ll dig a bit when I’m at home today and let you know what I find!
Dmitry

On Dec 11, 2019, at 14:23, Chris Brody<EMAIL_ADDRESS>wrote:

I was wondering if there may be any pointers where we could find an archive of the old website repo?
Shouldn't the ASF git keep this kind of an archive somewhere?
I think this could help us understand what was done in the past, why, and by whom. Discussion of the flash artifact in #1031 is a prime example. I think maintaining contributor credits whenever possible is part of the general ASF philosophy.
Thanks for your response here and in #1031.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Como story

@annameide Great story! Well done with the whole HTML/CSS. I had to correct only very minimal formatting things and html structures. I like it! I'd consider it ready to be shared! Well done!


Investigate usages of ApplicationContextProvider

Investigate on usages of ApplicationContextProvider class and verify if the extension should provide such bean.

Currently seems to be used only in DevToolsDatabase

Used by EndpointCodeGenerator that in turn is used by Hotswapper and EndpointHotSwapListener (might be related to #261)
DevToolsDatabase does not exist anymore.


Extract details view

Context
Manage Courses UI needs a preview screen that reflects what a published course will look like in Search And Compare.
Changes proposed in this pull request
This extracts the course details view as a ViewComponent in a library that can be used by manage-courses-ui
Guidance to review
Due to a bug in ASP.NET Core, unfortunately you can't run this with runtime 2.1.400. If you are on this latest version you will need to install the sdk 2.1.300

 Users submit courses for publication

@the-daniel-rothig could you add the info on sdk version to the readme so to leave a clue for the future somewhere more accessible than a closed PR. What is the failure mode if you don't have the right SDK? Does it fail to build or is it something more subtle. Do you have a link to a github issue on aspnet itself?

@timabell I just updated the readme will all the necessary information. Luckily the project refuses to build if the correct SDK is not present, so nothing subtle happening


[BUG] Front camera is mirrored on receiving end

In a video call, choosing front camera results in mirrored image in local preview, remote renderer AND recording.
I expected behaviour to be identical to teams client where local view is mirrored, remote is NOT.
Screenshots
ACS(both mirrored):

Teams(only local preview mirrored)

*- OS: iOS AND Android

@raosanat  can you take a look at this?


GSLB_Server - Error trying to create multiple devices

Referencing this page: https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/refguide/schemaref/GSLB_Server.schema.json.html, I am trying to create a more complex GSLB_Server configuration that has multiple devices. Basically, it looks like I have to use an array, but when I try to submit, I am having some issues.
First, If I use the following, I receive an error that it can only contain one object:
                                         "ADMPLUNIX0005": {
                                                        "class": "GSLB_Server",
                                                        "devices": [
                                                                       {
                                                                                "address": "<IP_ADDRESS>"
                                                                       },
                                                                       {
                                                                                “address”: “<IP_ADDRESS>”
                                                                       }
                                                        ],

{
"id": "07145baf-c553-4246-a7e4-83714cfc3182",
"results": [
{
"code": 422,
"errors": [
"/Common/Shared/ADMPLUNIX0005/devices: should NOT have more than 1 items"
],
"declarationFullId": "",
"message": "declaration is invalid",
"declarationId": "TMO_GTMPOL01"
}
],
"declaration": {}
}
So, if I change the config, and put them both into the same segment, which looks like the following, I do not receive any errors on the deployment, but it will only put the last entry into my device list.
                                         "ADMPLUNIX0005": {
                                                        "class": "GSLB_Server",
                                                        "devices": [
                                                                       {
                                                                                "address": "<IP_ADDRESS>",
                                                                                "address": "<IP_ADDRESS>"
                                                                       }
                                                        ],

Created AUTOTOOL-4395 and added to our backlog.

Closed Resolved in AS3-53
Release Notes | https://github.com/F5Networks/f5-appsvcs-extension/releases/tag/v3.53.0


AutocompletePageTest fails in Edge

@aloscha noticed that sometimes one test in AutocompletePageTest fails in Edge. I have tried on my machine and actually two tests fail for me.
@joozek78 could you please take a look? Some notes:

Ignored : KitchenSink.Tests.Tests.AutocompletePageTest("edge").FillPlaceNameT
henBlurExpectHintsGone
Blur event does not fire in edge under selenium

This is not an excuse. Can't we just simulate blur by clicking on anything else? (body for instance)

Element is obscured (WARNING: The server did not provide any stacktrace information)

I think that this error would not appear if you used ClickUsingMouse instead of Click.

Full error report:
c:\www\StarcounterSamples\KitchenSink>packages\NUnit.ConsoleRunner.3.2.0\tools\n
unit3-console.exe test\KitchenSink.Tests\KitchenSink.Tests.csproj /config:Debug

NUnit Console Runner 3.2.0
Copyright (C) 2016 Charlie Poole

Runtime Environment
   OS Version: Microsoft Windows NT 10.0.10586.0
  CLR Version: 4.0.30319.42000

Test Files
    test\KitchenSink.Tests\KitchenSink.Tests.csproj

Tests Not Run

1) Ignored : KitchenSink.Tests.Tests.AutocompletePageTest("edge").FillPlaceNameT
henBlurExpectHintsGone
Blur event does not fire in edge under selenium

Errors and Failures

1) Failed : KitchenSink.Tests.Tests.AutocompletePageTest("edge")
One or more child tests had errors

2) Error : KitchenSink.Tests.Tests.AutocompletePageTest("edge").FillCountryNameT
henSelectCountry
System.InvalidOperationException : Element is obscured (WARNING: The server did
not provide any stacktrace information)
Command duration or timeout: 16 milliseconds
Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:06:42'
System info: host: 'DESKTOP-ITUP0CI', ip: '<IP_ADDRESS>', os.name: 'Windows 10'
, os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_65'
Driver info: org.openqa.selenium.edge.EdgeDriver
Capabilities [{acceptSslCerts=true, browserVersion=25.10586.0.0, platformVersion
=10, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, t
akesElementScreenshot=true, platformName=windows, platform=ANY}]
Session ID: 6EE009DF-C588-46FE-B5B5-1D24D0879060
   at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response erro
rResponse)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecu
te, Dictionary`2 parameters)
   at OpenQA.Selenium.Remote.RemoteWebElement.Click()
   at KitchenSink.Tests.Tests.AutocompletePageTest.FillCountryNameThenSelectCoun
try() in c:\www\StarcounterSamples\KitchenSink\test\KitchenSink.Tests\Tests\Auto
completePageTest.cs:line 49

3) Error : KitchenSink.Tests.Tests.AutocompletePageTest("edge").FillProductNameT
henSelectProduct
System.InvalidOperationException : Element is obscured (WARNING: The server did
not provide any stacktrace information)
Command duration or timeout: 16 milliseconds
Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:06:42'
System info: host: 'DESKTOP-ITUP0CI', ip: '<IP_ADDRESS>', os.name: 'Windows 10'
, os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_65'
Driver info: org.openqa.selenium.edge.EdgeDriver
Capabilities [{acceptSslCerts=true, browserVersion=25.10586.0.0, platformVersion
=10, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, t
akesElementScreenshot=true, platformName=windows, platform=ANY}]
Session ID: 108FF432-6CEA-4730-A085-C9D300017137
   at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response erro
rResponse)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecu
te, Dictionary`2 parameters)
   at OpenQA.Selenium.Remote.RemoteWebElement.Click()
   at KitchenSink.Tests.Tests.AutocompletePageTest.FillProductNameThenSelectProd
uct() in c:\www\StarcounterSamples\KitchenSink\test\KitchenSink.Tests\Tests\Auto
completePageTest.cs:line 64

4) SetUp Failed : KitchenSink.Tests.Tests.RedirectPageTest("chrome")
One or more child tests had errors

5) SetUp Failed : KitchenSink.Tests.Tests.RedirectPageTest("edge")
One or more child tests had errors

6) SetUp Failed : KitchenSink.Tests.Tests.RedirectPageTest("firefox")
One or more child tests had errors

Test Run Summary
  Overall result: Failed
  Test Count: 72, Passed: 60, Failed: 11, Inconclusive: 0, Skipped: 1
    Failed Tests - Failures: 0, Errors: 11, Invalid: 0
    Skipped Tests - Ignored: 1, Explicit: 0, Other: 0
  Start time: 2016-06-03 09:24:59Z
    End time: 2016-06-03 09:30:30Z
    Duration: 330.760 seconds

Results (nunit3) saved as TestResult.xml

Yeah, I have the same what mention @warpech, but also test with button fails for me:
  Test Name:	ButtonPageTest_DisabledButton
  Test FullName:	KitchenSink.Test.ButtonPageTest("edge").ButtonPageTest_DisabledButton
  Test Source:	C:\Users\aloscha\Documents\KitchenSink\test\KitchenSink.Tests\Tests\ButtonPageTest.cs : line 123
  Test Outcome:	Failed
  Test Duration:	0:00:14.839

  Result StackTrace:
  at OpenQA.Selenium.Support.UI.DefaultWait`1.ThrowTimeoutException(String exceptionMessage, Exception lastException)
  at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition)
  at KitchenSink.Test.ButtonPageTest.ButtonPageTest_DisabledButton() in C:\Users\aloscha\Documents\KitchenSink\test\KitchenSink.Tests\Tests\ButtonPageTest.cs:line 135
  Result Message:	OpenQA.Selenium.WebDriverTimeoutException : Timed out after 10 seconds

Closing as no longer relevant after #83.
Tests are still failing in Edge, but that's another story (https://github.com/StarcounterSamples/KitchenSink/issues/59)


Create logitech-g102.device

Add support for Logitech G102 c09d

Hello! Thank you, but it's already in logitech-g102-g203.device and does the same thing as #1389.
This will be available OOTB in the next release.


chore(ci): only run snyk, fossa and semgrep on pushes to main

Description

This is because external contributors do not have access to the required
secrets necessary for running these workflows, causing them to fail.
This causes external contributors confusion where they believe the failure
was triggered by a change they made.
Instead for FOSSA and snyk we will rely on the github integration which
does not need access to defined secrets, though does detect less issues.
These workflows are kept in main so that we are able to detect any issues
missed by the integration.
References

Review Checklist

[x] I have added documentation for new/changed functionality in this PR or in openfga.dev
[x] The correct base branch is being used, if not main

Codecov Report

Merging #153 (b41115b) into main (78045ed) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
- Coverage   75.44%   75.41%   -0.03%
==========================================
  Files          76       76
  Lines        8372     8372
==========================================
- Hits         6316     6314       -2
- Misses       1673     1674       +1
- Partials      383      384       +1

Impacted Files
Coverage Δ

server/commands/check.go
86.27% <0.00%> (-0.57%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix(ts): set payload to unknown value type

The Jsonify utility used by Remix will make a Record<string, any> disappear in the type: https://github.com/remix-run/remix/issues/7246
But considering this further, "unknown" is a safer option for this type anyway because it avoids issues with accidentally accessing the values off the submission payload without first checking them. So I do think this change should be made.

The TS also suggests to use unknown instead of any: https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#any

Can confirm that this fix works with the new v2 of Remix

Before
After

Any progress on this? 😬

I will update the remix fixture to v2 (pre) this weekend to verify the change and make a release.
I was betting the issue to be resolved upstream soon so I don't need to bump the minor version now (This is a breaking change unfortunately). But it looks like type-fest is still waiting for a proper fix and the issue on remix has been de-prioritized as well. 😅


Part:5 View the uploaded file

Issue

The original issue #816

Describe the task

[ ] The view button should be in front of the contract file name and should open the pdf in a new tab.

This issue is completed. Closing it.


[folding] skip line number change test when restoring state

Originally posted by @PieterBranderhorst in https://github.com/microsoft/vscode/issues/155302#issuecomment-1200108497
I see that you re-added a test I had removed. In folding.ts, in restoreViewState, the test for "state.lineCount !== model.getLineCount()".  I suggest removing that test again. I removed it because the new checksum tests detect changes with much greater accuracy and I know that some users use folding with log files. situation and it seems good to keep it.

Friendly ping! Looks like this issue requires some further steps to be verified. Please provide us with the steps necessary to verify this issue.

To verify:

open a file in VS Code and collapse a region
close VS Code
use a different editor and add some new lines to the file at the beginning
open vscode on the file
verify that there's no stale folding region. Instead, the region will be expanded


Write a base python script that can be reused / shared between bundles

Requirement
Have a mechanism that is able to communicate with the API to call GET and PATCH.
Decision
This means the docker image that runs the bundle needs to have python installed on it

blocked until #1244 design is done

closed as we have taken a different approach


Let's encrypt returned an error status. Aborting.

Hi
So installed letsencrypt-vesta it worked on my local server but when I try to install it on my VPS I get this:
`root@vps258991:~# letsencrypt-vesta admin yanobite.eu
/usr/local/vesta/bin/v-list-web-domains-alias: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-list-web-domains-alias: line 26: check_args: command not found
/usr/local/vesta/bin/v-list-web-domains-alias: line 27: validate_format: command not found
/usr/local/vesta/bin/v-list-web-domains-alias: line 28: is_object_valid: command not found
/usr/local/vesta/bin/v-list-web-domains-alias: line 45: shell_list: command not found
/usr/local/vesta/bin/v-get-user-value: line 17: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-get-user-value: line 24: check_args: command not found
/usr/local/vesta/bin/v-get-user-value: line 25: validate_format: command not found
/usr/local/vesta/bin/v-get-user-value: line 26: is_object_valid: command not found
/usr/local/vesta/bin/v-get-user-value: line 34: get_user_value: command not found
Checking for new version...
Requesting root privileges to run letsencrypt...
/root/.local/share/letsencrypt/bin/letsencrypt -t --renew-by-default --agree-tos --webroot -w /etc/letsencrypt/webroot --server https://acme-v01.api.letsencrypt.org/directory -m -d yanobite.eu certonly
usage:
letsencrypt-auto [SUBCOMMAND] [options] [-d domain] [-d domain] ...
The Let's Encrypt agent can obtain and install HTTPS/TLS/SSL certificates.  By
default, it will attempt to use a webserver both for obtaining and installing
the cert. Major SUBCOMMANDS are:
(default) run        Obtain & install a cert in your current webserver
certonly             Obtain cert, but do not install it (aka "auth")
install              Install a previously obtained cert in a server
renew                Renew previously obtained certs that are near expiry
revoke               Revoke a previously obtained certificate
rollback             Rollback server configuration changes made during install
config_changes       Show changes made to server config during installation
plugins              Display information about installed plugins
letsencrypt: error: argument -m/--email: expected one argument
Let's encrypt returned an error status.  Aborting.
`
I did following the installation guide. It looks like it's a vesta cp error. Does someone know how to resolve this issue? Or what I should do next?
Thanks
Me

Removing everything of Lets Encrypt en Lets Encrypt vesta and then reinstalling solved the problem.

No, this does not help

before running let's encrypt, I assume your are using Lets Encrypt vesta right? run the following command:
export VESTA=/usr/local/vesta/
then run
letsencrypt-vesta -m EMAIL -u USERNAME DOMAINE

Also be sure you are running as root, either from a root shell or by using "sudo" in front of the letsencrypt-vesta command.  You won't be able to make any of the config changes unless you have superuser privs.

I also had similar problem on centOs 7.
export VESTA=/usr/local/vesta/ this just works like a charm :+1:
Thank You openKadi.


diagram only (no csx required)

add support to ss.cli to compile diagrams to code without needing a csx file.
Initial Work

[x] add --lang and --no-sim-gen arg support to ss.cli run. Sim gen is on by default.

[x] ignore both for .csx files as they already control those options

[x] scan for all recognized diagram types (drawio, plantuml)
[x] ignore any files with this text: statesmith.cli-ignore-this-file
[x] inspect diagram files for signs that they are meant for StateSmith

[x] drawio.svg should have $STATEMACHINE
[x] plantuml must have diagram name @startuml MySmName and also -->

[x] filter out any of those diagrams already used by a csx file
[x] filter out non StateSmith diagrams
[x] emit messages for files ignored when run with verbose mode (stretch goal)

Related Work
We need to lower reliance on expansions and or allow expansions inside diagram files #118

@emmby you can try this out by installing a test release of the cli.
dotnet tool install --global StateSmith.Cli --version 0.8.2-diag-only-1

Then you can use the cli as normal, but it has another few options: (at bottom)
ss.cli run --help
Using settings directory: C:\Users\akruck\AppData\Roaming\StateSmith.Cli
StateSmith.Cli 0.8.2-diag-only-1+5fd14eca8da3bc97f3463498ccc03d61571f3b2b

  -h, --here         Runs code generation in this directory.

  -b, --rebuild      Ensures code generation is run. Ignores change detection.

  -u, --up           Searches upwards for manifest file.

  -r, --recursive    Recursive. Can't use with -i.

  -x, --exclude      Glob patterns to exclude

  -i, --include      Glob patterns to include. ex: `**/src/*.csx`. Can't use
                     with -r.

  --menu             Shows a terminal GUI with a choice menu. Don't use with
                     other options.

  --lang             Specifies programming language for transpiler. Ignored for
                     csx files.

  --no-sim-gen       Disables simulation .html file generation. Ignored for csx
                     files.

Use like ss.cli run -hr --lang C99. You should see something like this:
<snip>
── Checking diagram: `DiagOnlySm.plantuml` ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Diagram settings: Lang: C99, NoSimGen: False
Change detection not implemented yet. Rebuild for diagram. Issue #328.
Running diagram: `DiagOnlySm.plantuml`

StateSmith Runner - Compiling file: `../../StateSmith.CliTest/Run/examples/1/DiagOnlySm.plantuml` (no state machine name specified).
StateSmith Runner - State machine `DiagOnlySm` selected.
StateSmith Runner - Writing to file `../../StateSmith.CliTest/Run/examples/1/DiagOnlySm.h`
StateSmith Runner - Writing to file `../../StateSmith.CliTest/Run/examples/1/DiagOnlySm.c`
StateSmith Runner - Writing to file `../../StateSmith.CliTest/Run/examples/1/DiagOnlySm.sim.html`
StateSmith Runner - Finished normally.

...Skipping diagram `yes1.plantuml` already run by csx file `yes.csx`.
<snip>
Finished running diagrams.

Super cool! Seems to work well, it generated .c, .h, and .sim.html files for each of my diagrams


Fix conflict between #8251 and #8361

The changes in #8361 to upgrade golang was dirty.

LGTM

Jenkins, test this please

Jenkins CI test (for commit 4a5f147894fd7f67952812b207a1ba3426e400c5, target branch master) succeeded!


SIGSEGV (0xb) at pc=0x00000000000011e0, pid=1455, tid=1552

Please provide a brief summary of the bug
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00000000000011e0, pid=1455, tid=1552

JRE version: OpenJDK Runtime Environment Temurin-21.0.4+7 (21.0.4+7) (build 21.0.4+7-LTS)
Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (21.0.4+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
Problematic frame:
C  [native-1075383487882941609.so+0x1ae4]  sort_symbols+0x54

Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /homeassistant/mc-purpur/core.1455)

An error report file with more information is saved as:
/homeassistant/mc-purpur/hs_err_pid1455.log

If you would like to submit a bug report, please visit:
https://github.com/adoptium/adoptium-support/issues
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

[1]    1453 abort      sudo java -Xmx3324M -Xms3324M --add-modules=jdk.incubator.vector -jar  nogui
Did you test with the latest update version?

[ ] Yes

Please provide steps to reproduce where possible
Sorry not possible.
Expected Results
When a client connects to a java server, it should not crash. (tested on other mashines)
Actual Results
Java crashes
What Java Version are you using?
openjdk 21.0.4 2024-07-16 LTS OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
What is your operating system and platform?
Linux mint
How did you install Java?

wget -O /etc/apk/keys/adoptium.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk
echo 'https://packages.adoptium.net/artifactory/apk/alpine/main' >> /etc/apk/repositories
apk add temurin-21-jdk

Did it work before?
It worked on the same java version on another mashine with the same linux distro

Did you test with other Java versions?
No

Relevant log output
Null

@Ivthered-123ivopp  Can you upload /homeassistant/mc-purpur/hs_err_pid1455.log ?

hs_err_pid1817.log
@karianna Here, i attached it to this message.

@Ivthered-123ivopp You're running JFR and async profiler at the same time, both of which can interfere with native code and cause crashes.  Are you able to run this without attaching both of those?

No, i don't think so sadly.


Add python=3.11 support

Blocked by napari/napari#5439

Looks like this can be done now https://github.com/napari/napari/issues/5514#issuecomment-1651888656


希望支持日夜主题切换

Clear and concise description of the problem
可以手动切换暗色浅色主题
Suggested solution
可以留个选项手动切换暗色浅色主题
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Duplicate of #71


Services shell completion (and "match" endpoints)

epinio service show (and delete ?) doesn't have tab completion like other commands do. To make this work, we are missing a "match" endpoint to find matching service instances, plus some cobra configuration.

Done here? https://github.com/epinio/epinio/commit/b3070bf2445a2150039e0536d5628842c45f75d3

The b3070bf is for #1486, fixing issue #1476, which looks to be a duplicate of this here.
I would go with "this here is done".


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/78962

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/79190

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84572

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85692

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/87031

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/87069

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89982

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/90066

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95286

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/96931


Provide the username of the authenticated user in the callback.

This change makes it possible for the callback to provide
the username that was authenticated, avoiding the need to
parse the Authorization header again. How else would you
know who has logged in, so you can provide different levels
of access to different users.
Note, I have only used the digest code (since that's what I use)...

Thanks a lot!
I will add some unit tests and release it with next version.
Gevorg.


oauth/token endpoint with grant_type "authorization_code"

This has not been implemented yet, has it? Any timeframe on this? What good is the refresh_token grant_type endpoint without the initial call for the authorization code?
Do you have tests / nocks for this?

We don't have this due to auth being separate as I mentioned on the other issue. Currently don't have plans to add it


Add possibility to augment labels with additional data

In discussion with @ynop we've settled on a generic dictionary called meta. For a music label, it might look as follows:
meta = { 'vocals': True, 'genres': ['electronic', 'folk']}


Hardware version problem

Hi Leon, thanks for providing this tutorial, really useful.
I've hit this error when running the js, which I think is related to the version of wiring-pi? I get the same error when I run gpio -v.
Unable to determine hardware version. I see: Hardware   : BCM2835
,
 - expecting BCM2708 or BCM2709. Please report this to<EMAIL_ADDRESS>
Is there a fix for this that you know of?
I also noticed someone else reported the same error earlier last year.
Edit: Looks like the issue is with the wiringpi version that's used in the node repo: https://github.com/WiringPi/WiringPi-Node/issues/88

Hi,
Hm, yes, this seems as a problem of the underlying library on which my examples rely. What kind of Raspberry Pi are you using?
Best regards,
Leon

I get this now with a PI 3..

Hi @deanius,
It is a bug caused by the underling library wiring-pi which unfortunately is no longer maintained. Sorry for the bad news. You can have a look at my other examples at: https://github.com/leon-anavi/iot-javascript-rpi
Best regards, Leon


Allow defering type check of default value for generic-typed function parameter until instantaition

🔍 Search Terms
TS2322, generic-typed function, default parameter
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
I've read https://github.com/microsoft/TypeScript/issues/49158 but I think my motivating example (and suggested solution) are different enough that it makes sense to open a new issue.
In essence, I think it would be nice to have a way to avoid TS2322 ("Type 'X' is not assignable to type 'Y'.  'Y' could be instantiated with an arbitrary type which could be unrelated to 'X'.") on default function parameters by deferring the check until the call site.  In essence: at each caller, the caller is obligated to do one of the following:

instantiate the generic with a type (possibly inferred) which permits the default value to the parameter; or
provide a different value for the parameter which does satisfy the user's chosen type

It would even be reasonable to require that the default value of the parameter would allow the type parameter to be inferred (ie: so that "naive" uses of the call without specifying the type parameter nor the function parameter) would be valid.
Here's a very simple idea of how the feature would work:
// function definition (currently a violation of TS2322)
function x<T extends boolean>(arg1: T = false): T {
    return arg1;
}

// call site
x(); // OK: return type is false
x(true); // OK: return type is true
x<false>(); // OK
x<false>(false); // OK
x<true>(true); // OK

x<true>(); // must not be OK — I want the compiler to give me an error here, instead of at the site of the function definition.

Note in particular that it's not possible to use optional parameters to accomplish the above.  We need the x<true>() case to fail, because the default value is `false, after all.
📃 Motivating Example
Cockpit is an interface for performing admin tasks on Linux servers.  We essentially allow the Javascript running in the browser to interact with a set of APIs on the server via "Channels".  There's channels for reading files, creating files, connecting to sockets, spawning commands, making D-Bus calls, etc.  Channels can be opened in binary or text mode, which is controlled by passing { binary: true } as part of the options object passed when creating a given channel.
The various channel subtypes have higher-level APIs which wrap the raw channel implementation.  Those in turn are sometimes wrapped by even higher level APIs which pass through the options object.  For example, cockpit.spawn() will spawn a command, and we have a wrapper cockpit.python() which will pass a given Python script via the -c argument and capture the result.
In most of these "wrapping" cases, the presence/value of the binary option on the options object will impact the return type of the function.
At first we did something like this:
    function spawn(
        args: string[],
        options?: SpawnOptions & { binary?: false }
    ): ProcessHandle<string>;
    function spawn(
        args: string[],
        options: SpawnOptions & { binary: true }
    ): ProcessHandle<Uint8Array>;

which produced the correct effect.  The options object is mandatory if you want binary, and it must contain binary: true.
It's very difficult to "wrap" such APIs, though: each wrapper needs to provide its own set of overloaded definitions, and convincing TypeScript that the internal call (to the "next layer") is correct is very difficult.
More recently I've come up with something like this simplified example, which works reasonably OK:
interface Channel<T> {
    get(): T;
}

type Opts = {
    binary?: boolean
}

type Payload<T extends Opts | undefined> = T extends { binary: true } ? Uint8Array : string;

function open<T extends Opts | undefined>(options?: T): Channel<Payload<T>> {
    console.log('options', options);
    throw new Error("NotImplementedError");
}

function wrap<T extends Opts | undefined>(options?: T): Channel<Payload<T>> {
    return open(options);
}

// all of these work
export const open_default: () => string = () => open().get();
export const open_string: () => string = () => open({ binary: false }).get();
export const open_binary: () => Uint8Array = () => open({ binary: true }).get();

export const wrap_default: () => string = () => wrap().get();
export const wrap_string: () => string = () => wrap({ binary: false }).get();
export const wrap_binary: () => Uint8Array = () => wrap({ binary: true }).get();

The problem here, though, is that because the options array is optional, you can force a different type for the function and omit the options:
// this should fail, but it doesn't
export const open_inv: () => Uint8Array = () => open<{ binary: true }>().get();

I've gone through a bunch of different approaches to try to figure out a way to approach this but it all comes down to the fact that an optional parameter of the generic type cannot possibly constrain the instantiated type of the function call by its absence.  You can always instantiate with your chosen type and the absent parameter will satisfy it (since it's optional, after all).
This is where the idea with default values comes in.  I don't actually want the parameter to be optional: I want to specify its default value, and I want that default value to be checked at the call site to match the instantiated type of the function call.
💻 Use Cases

What do you want to use this for?

see the motivating example

What shortcomings exist with current approaches?

the example I gave is unsound

What workarounds are you using in the meantime?

I'll probably use the unsound approach because it more or less works when you don't try to force it to do something wrong

Generics aren't C++ templates; there is no template specialization or anything like that.  The implementation of a generic has to be valid for all possible types T can be instantiated to, it's by design for the compiler to reject the definition if that's not the case.

Duplicate of #56315 and note that they generally consider two issues duplicates if they both target the same problem, even if they propose different ways to solve the problem.

I think this is a better write-up than the prior two, so forward-duping.
This is the sort of thing that really does need .d.ts parity to be useful, and the problem here is how to represent this in .d.ts files, where default values aren't manifested. Today if you write the function in the first example, the .d.ts emit is
declare function x<T extends boolean>(arg1?: T): T;

So there's no information that arg1 can't get defaulted when T = true.
Sometimes the default expression is one that can be safely printed in the .d.ts (assuming it were legal), but that isn't always going to be the case -- a default expression can be arbitrary code, after all.
That said, I think non-literal default values are quite rare in practice, and we could maybe get away with just allowing it. We've been reluctant to allow default values in declaration file in parameters because it's something that very much can be out of sync with runtime values in a way that's pretty dangerous, but on the other hand it's pretty useful to be able to see that parseInt's default radix is 10 or whatever, and doing that would let this work too. I'll try to raise it again.

See also #16665

Jotting down some raw notes from an earlier conversation
interface AnimalKind {
  cat: { meow: true };
  dog: { woof: true }
}

// Why have a defaulted generic arg? Demo:
function getPet<K extends keyof AnimalKind>(kind: K = "dog"): AnimalKind[K] {
  return null as any;
}
const c = getPet<"cat">(); // no

// How to reason about this example?
declare const aa: true | undefined;
const j = x(aa);
//    ^?
//    j: true, T = true
x(undefined);

Allowing this to get checked at the call site is tricky:

For it to have parity with .d.ts (a requirement), we'd need to allow declare function f(n = 0), and if 0 isn't an expression we can write in declaration files, then we'd have to not defer the check. This is inconsistent but probably an explicable inconsistency, and non-trivial initializer expressions are likely quite rare in practice
That said, people really want to write f(n = 0) in declaration files for documentation purposes, even if that value isn't "checked" per se
Assuming that part is in place, the checking part gets a bit tricky. For something like the j = x(aa) example above, we need to evaluate if it's possible for the default value to be substituted in, not simply check argument parity. This is also has implications on spread arguments, and generic inference

Overall this would likely be a very difficult and invasive PR affecting a pretty broad range of problems - declaration file emit, declaration file parsing, overload selection (!), generic inference, constraint validation, argument validation, and more. It'd be instructive to see a working PR here to evaluate the total trade-off. I think the upsides, especially for #16665, are there, but I don't think something that is several hundred additional lines of code would meet the bar as a feature. If it turns out this can be done simply, though, it'd likely be something we'd take serious consideration of.


support pandas.Panel data in step dump to hdf

Nevermind, pandas is deprecating Panel in favor of multi-index dataframes.


displaying issues with Python 3.9

Hey! Two things.

On both python versions, the scale of QRadioButtons as well as QCheckBoxes is larger when using PySide6 compared to PySide2 (it looks like with PySide2 it's missing some styles).

PySide6

PySide2

When using Python 3.9 it doesn't draw the boxes at all, neither with PySide2, nor with PySide6

Code:
from PySide2.QtWidgets import QApplication, QMainWindow, QRadioButton, QWidget, QVBoxLayout, QCheckBox
import sys
import qt_material

class MainWindow(QMainWindow, qt_material.QtStyleTools):
    def __init__(self):
        QMainWindow.__init__(self)
        qt_material.QtStyleTools.__init__(self)

        widget = QWidget()
        widget.setLayout(QVBoxLayout())
        widget.layout().addWidget(QRadioButton('radio button 1'))
        widget.layout().addWidget(QRadioButton('radio button 2'))
        cbc = QCheckBox('check box 1, checked')
        cbc.setChecked(True)
        widget.layout().addWidget(cbc)
        widget.layout().addWidget(QCheckBox('check box 1, unchecked'))
        self.setCentralWidget(widget)

if __name__ == '__main__':
    app = QApplication()
    qt_material.apply_stylesheet(app, theme='dark_blue.xml')
    mw = MainWindow()
    mw.show()

    sys.exit(app.exec_())

for this I installed qt-material globally for both python versions using pip

Hi @leon-thomm

There is no reason for the differences between PySide2 and PySide 6, can you please confirm that both windows look exactly the same without any theme?, maybe the app.setStyle('Fusion') in one of them is the problem, I just remove this feature recently.

Please check the installation of qt5-svg and qt6-svg and verify that from Python 3.9 and PySideX you can handler other SVG images.

I'm so sorry that I can't make this test by myself, I don't have a windows machine.

Oh, yes you are right, sorry, it's a PySide thing, seems like they changed some default styling for PySide6. my bad.
I'm not sure how to check that? The QtSvg module is there, and I can create and display SvgWidgets (in PySide2, I think they removed it in PySide6, it's not there anymore). Anything specific I should check?

apparently my python installation was a bit bugged. PySide2 (and PySide6) failed to load some (existing) svg modules on Python 3.9, which was resolved by a clean reinstall of Python 3.9 and the packages


Gracefully handle pre-skull-stripped T1w images

A number of subjects in ds000223 (e.g. sub-07) have pre-skull-stripped T1w images. ANTs skull-stripping on these datasets clips most superficial cortex, resulting in very poor preprocessing.
I propose adding a --pre-skull-stripped flag (or similar) to indicate that the anatomical workflow should assume the incoming image is already skull-stripped.
Alternately, we could do a test for a given percentage of zero voxels as evidence for skull-stripping, though this would need to be tested against defacers, as well.

Here's another dataset that has skulled-stripped anatomicals on OpenNeuro: https://openneuro.org/datasets/ds001110/versions/00003


Use country population in calculation for map color

Implements https://community.home-assistant.io/t/per-capita-option-in-statistics-world-map/353611

It feels like this would highlight the wrong data here. It's a fun statistic to see the number per million people (and NL winning ofc 😄) but all other graphs on the page are about total number of installations.
The coloring also doesn't feel right. Madagascar has 8 installations yet is colored almost the same as USA.


NotFoundException2: No MultiFormat Readers were able to detect the code.

I'm getting this error for every frame: NotFoundException2: No MultiFormat Readers were able to detect the code..
I assume that this is the normal modus operandi for ZXing when it can't detect the QR code in the video stream, and therefore we should exclude it from reporting to the server.
According to https://github.com/mebjas/html5-qrcode/issues/320, this only happens with webpack, so I'm assuming that webpack changes the class name of the exception and it's not caught by this.excludes. I'd propose to exclude this exception from reporting it to the server-side, but I'd exclude it only if the error message matches as well, otherwise we might accidentally not report other valid NotFoundExceptions as well.
This is a serious issue since this has the potential to overwhelm the server with calls if multiple users open their cameras, akin to DDOS. This needs to be fixed fast.

Uh-oh, the fix doesn't work properly when compiling for production: I'm getting "l: No MultiFormat Readers were able to detect the code.". Note the error name "l" - lowercase L character. I assume that the name/type of the error is mangled/obfuscated by webpack. We'll need to match based on the message only.

Also I'm frequently getting "DOMException: IndexSizeError :  Index or size is negative or greater than the allowed amount", let's add an ignore clause for that as well.


Use size_t consistently with the aid of SimpleString::npos

Coverage remained the same at 99.873% when pulling e8779f544e24fb7e75429cd7ee305b5796db90ad on arstrube:npos-2 into 40bcde7d5cf89c9667467d1fc7e2a64020ebe2b5 on cpputest:master.

Coverage remained the same at 99.873% when pulling 13f62d0aa57139c1d16773c7c48c482ba8b8c35d on arstrube:npos-2 into c92072393011f596cd3dcd003e5388520c36f87b on cpputest:master.

The failure on Appveyor is due to Platform=MinGW32, PlatformToolset=5.3.0 failing to install.

Coverage remained the same at 99.874% when pulling d7c1fa83d1ae1d13a31f62ac556669bd7229b202 on arstrube:npos-2 into 7ea6f14e2e984d03d4911c65402b30bedc1fd487 on cpputest:master.

@basvodde I do believe the use of npos is cleaner, at least internally. I would be open to remove it from the public interface, although I don't quite understand your objection, since std::string does it exactly the same way, and I fail to see what's 'bad' about it.
I think having a well defined value for "end of string" is an asset, not a liability?

Coverage increased (+5.0e-05%) to 99.874% when pulling 5b042a3ace6fbe2bd596847dbeeeb8ce47c8d47b on arstrube:npos-2 into 7ea6f14e2e984d03d4911c65402b30bedc1fd487 on cpputest:master.

The Appveyor failure is an choco problem.


Dev: Web - Console error on Checkbox component

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login to ND
Press Avatar button to open settings page
Navigate to any workspace -> Navigate to bank account
Select Connect Manually -> Enter Routing number & account number then press on continue
Notice there is console error for checkbox component

Expected Result:
There should be no console error
Actual Result:
Console error appears
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @dhairyasenjaliya
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690578654439359
View all open jobs on GitHub

https://github.com/Expensify/App/issues/22169#issuecomment-1656740244

@kbecciv - could you provide some more context to the comment you linked? let me know how that relates to this issue - thanks!

Hey @maddylewis it's a link to the original issue/PR that introduced this!
It also leads to https://github.com/Expensify/App/issues/23909 where this warning/error is being fixed by https://github.com/Expensify/App/pull/23910 so I believe we can close this

thank you for clariying @PauloGasparSv - i'll go ahead and close this one 👍


Click event on carousal

Glad to see carousal in material, i have a requirement like click event on carousal image, please help me out

I think you should implement a clicking handler in the inner content.


Add an api to trace an function and run it with XLA compilation.

This PR adds an API to trace a function that takes a TensorGroup and returns a TensorGroup. The new API also takes an optional useXLA argument that enables XLA compilation when executing the traced graph.
This is one of the several PRs needed for https://bugs.swift.org/browse/TF-406

@swift-ci please test tensorflow


[Bug]: Curly braces completion not detected inside quotes

Bug description
Curly braces spacer not working when used inside HTML tag. It doesn't even auto close the braces.
Plugin version
0.0.1
Operating system
Linux
Steps to reproduce
For any blade file containing any HTML tags, for example -
<label>*doesn't_work_here*</label>
<input name="name" value="*doesn't_work_here*" />

Relevant log output
No response

Thanks for reporting an issue, Actually we have 2 different extensions,
Laravel Intelephense
Laraphense
If you install Laravel Intelephense it will work perfectly fine, give it a try,

@AamirSohailKmAs I am already using the extension you've mentioned. I am certain it it is not working the way it should be. Did you try to reproduce the error and didn't found any?

@AamirSohailKmAs I am already using the extension you've mentioned. I am certain it it is not working the way it should be. Did you try to reproduce the error and didn't found any?

@rahulhaque Yes, I try to reproduce the error, and It is working well, This feature was removed from Laraphense, But it is still present and working in Laravel Intelephense


max performance

I am running clBitCrack.exe on a RX580 8G in win 10 and number of key checks per second is about 50-60 million key per second.
is this key/second max performance of clBitCrack.exe on RX580?

hi


Create a real workflow file for the github action

🤔 What's the problem you're trying to solve?
Run the retire _inactive action for real
✨ What's your proposed solution?

⛏ Have you considered any alternatives or workarounds?
Create an yaml file that runs jobs against the real cucumber org and real Alumni
📚 Any additional context?
Arianna suggested a --dry-run option

This text was originally generated from a template, then edited by hand. You can modify the template here.

I think a dry run feature is a great idea~

This is started here: https://github.com/cucumber/.github/blob/main/.github/workflows/retire-inactive-contributors.yaml
What's left to do is:

[ ] remove the dry-run flag when we're happy with the behaviour
[ ] schedule it to run daily

In fact, for the scope of this ticket, I think we can call this done. The other stuff can be managed in other tickets as we move forward.


Drop unused alias in OWNERS_ALIASES

Trips up some python based tools. Could we remove this since it is not being used?
Signed-off-by: Davanum Srinivas<EMAIL_ADDRESS>

/lgtm
/approve


ABP PCAP detection readme update

Description

Add more detail to Triton server setup instructions

Closes #1201
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/merge


annotate ui.h for doxygen

use doxygen special commands for structuring
missed documentatin copy-pasted from official Go bindings

ready for review and hopefully merge

ready for review and hopefully merge

Much improved here, I think we're close on this! Remaining issues I see:
This is missing the enum annotations, and needs to restrict visibility of the private APIs that are in the header.
I think doxygen is also still a bit confused as to which of our C struct type defs are meant to be "classes", and which are just plain struct types.
Since @msink, @inkydragon, and myself all have a conflicting branch for this..
I'm going to combine all of our changes into one single PR now, with above issues resolved.

Also- a few references to Go from the andlabs/ui godoc snuck in there .. 😛
Need to keep everything plain C, will fix.

Any progress on this? I would love to expand on the documentation in some areas when this hits upstream.
And as a side note: I personally find the classic
/**
 *
 */

infinitely easier to parse, as there is less visual clutter. But maybe that's just because that is the style most projects use that I have come in contact with.

Duplicate of #96


closed link tag in index.html

Fixes angular#16964

@dgp1130 Should I close this?

Sorry @sacgrover, looks like this PR fell through the cracks a bit.
@clydin, @alan-agius4, can one of you take a look at this? I'm thinking the fix should probably happen with how the styles are generated rather than a regex replacement afterwards. I'm not quite familiar enough to know exactly where this fix should happen though.

This PR is blocked on supporting XHTML in FW https://github.com/angular/angular/issues/37779. We'll want to support it there more completely before we add support to the CLI as well, or else we'll just be whack-a-mole-ing bugs filed by users for all the edge cases missed because FW doesn't fully support it.

Looking at old PRs, and this one seems to have been left in a weird state. It's awkwardly blocked on framework support and still has open questions as to how it would exactly work in tooling. There's also not much momentum or desire to make this happen on the Angular side right now, so leaving this PR hanging is just a disservice to the people who care about it. We're not quite at the right place to be able to accept PRs for XHTML right now.
We'll keep the discussion going at https://github.com/angular/angular-cli/issues/18044 and I'll bring this up in the relevant planning discussions to get a stronger direction and find the right priority for this work. For now, we think the best thing is to close this PR until we have a better idea of what a solution here will look like.


addWidget creating widget always with max height (when auto-position is off).

I'm not very good at JS so I failed making a JSFiddle but I have really odd problem with trying to serialize/deseralize the gridstack setup. The code is the example with a custom service for storing the config in the database. It sort of works, except that the height of the widgets that I pass on load with addWidget is ignored and max height always appiled. The boxes on the screenshot are all height 4, they should be as the code on the right indicates 3, 2 and 3... They become right sized if I load their sizes in min/max positions but that makes them un-resizable and that's not what Id like... They snap to correct height when I even slightly drag them.

I got an email notification from "Alexia Death," so I'm inclined to help ASAP.
What's the code you're using to add the widgets? Have you tried hardcoding the height to see if it works?

How nice :) This is the code. The non-js bits in the middle are python. this lives in the view template of web2py. From JS prespective height is hardcoded... I can also paste the code that reaches the browser, if that' s more helpful.
function build_grid(data) {
                this.grid = $('.grid-stack').data('gridstack');
                this.grid.batchUpdate();
                var items = GridStackUI.Utils.sort(data);
                var saved_pos;
                this.grid.removeAll();
               {{i=0}}
                {{for switch in response._vars:}}
                saved_pos = {
                        x: 0,
                        y: {{=i}}{{i=i+4}},
                        width: 3,
                        height: 2,
                        id: '{{=response._vars[switch]['hardware'].identifier}}'
                   };
                 for(var i = 0;i < items.length; i++){
                   if(items[i].id=='{{=response._vars[switch]['hardware'].identifier}}'){
                      saved_pos = items[i];
                      break;
                   };
                 }
                 this.grid.addWidget($(`{{include "_partial/switch_control_card.html"}}`), saved_pos.x, saved_pos.y, saved_pos.width, saved_pos.height,
                                                                                false, 2, 6, 2, 4, '{{=response._vars[switch]['hardware'].identifier}}');
                {{pass}}
                this.grid.batchUpdate();
                this.grid.commit();
                return false;
         }

hardcoding has no effect...

This partial fiddle contains most of it: https://jsfiddle.net/L6y28qzf/ I just failed to find a way to debug it. It probably contains some obvious mistake somewhere.

Messing with the fiddle I figured out that this happens if the widget declares height:100% in it's style. then this anomaly appears :) Thanks. I think I've figured out what's up :)

https://jsfiddle.net/L6y28qzf/6/  final fiddle :)

Glad you got it working! Let me know if you need anything else.


Cocoon codesign failing in CI on reading passwords

https://ci.chromium.org/ui/p/flutter/builders/try/Linux Cocoon/3027/overview
00:00 +20 -1: test/file_codesign_visitor_test.dart: test reading in passwords:  lacking password file throws exception [E]
  Expected: throws <Instance of 'CodesignException'>
    Actual: <Closure: () => Future<Null>>
     Which: returned a Future that emitted <null>

  dart:async  _CustomZone.runUnary

Adding to ITQ as it's possibly blocking changes to Cocoon.


Version 0.0.9

Codecov Report

Merging #26 (20e6e1e) into master (8352ca1) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##            master       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          458       458
=========================================
  Hits           458       458

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


[stable/prometheus-redis-exporter] Update img

What this PR does / why we need it:
Please see https://github.com/oliver006/redis_exporter/releases
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

bump

bump

bump

bump


Assignment 2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Hi, I did not find any code related to assignment in your Pull request, its just the long list of files in the big file, please redo the assignment or push the right one. Thanks.

@SidraBushra  I use the Pervious pull request with new code update, not sure if works now? Thanks

Thanks, noted and marked.


fetch dart issue due to unexisting cffi==1.10.1 wheel package

on alpine linux running fetch dart runs into issues when fetching deps for sdk/third_party/firefox_jsshell/linux/jsshell.tar.gz
as it seems to be caused by the fact that the python wheel package for cffi==1.10.0 is not more on the mirror.
full trace
fetch --no-history dart
Running: gclient root

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://dart.googlesource.com/sdk.git --depth=1 /tmp/sdk/_gclient_sdk_6gf2iH' in '/tmp/sdk'
Cloning into '/tmp/sdk/_gclient_sdk_6gf2iH'...
remote: Counting objects: 17457, done
remote: Finding sources: 100% (17457/17457)
remote: Total 17457 (delta 4740), reused 10245 (delta 4740)
Receiving objects: 100% (17457/17457), 21.73 MiB | 5.78 MiB/s, done.
Resolving deltas: 100% (4740/4740), done.
________ running 'download_from_google_storage --no_auth --no_resume --bucket dart-dependencies --recursive --auto_platform --extract --directory sdk/third_party/firefox_jsshell' in '/tmp/sdk'
0> Failed to fetch file gs://dart-dependencies/86b4e3519b5232e2aa56ce50fac9ba8fd060b5da for sdk/third_party/firefox_jsshell/linux/jsshell.tar.gz, skipping. [Err: [E2019-02-14T13:28:39.759124Z 5633 0 venv.go:942] Command (cwd=): [/root/.vpython-root/04f593/bin/python -B -E -s -m pip install --isolated --compile --no-index --find-links /tmp/vpython_bootstrap993106198/packages --requirement /tmp/vpython_bootstrap993106198/requirements.txt --no-binary=:none: --only-binary=:all: --use-wheel]
Process output:
Collecting appdirs==1.4.3 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 1))
Collecting asn1crypto==0.22.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 2))
Collecting boto==2.48.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 3))
Collecting cffi==1.10.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 4))
  Could not find a version that satisfies the requirement cffi==1.10.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 4)) (from versions: )
No matching distribution found for cffi==1.10.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 4))

Environment:
AWS_CREDENTIAL_FILE=
BOTO_CONFIG=
GYP_DEFINES=clang=0 use_experimental_allocator_shim=0 use_allocator=none musl=1
HOME=/tmp/vpython_bootstrap993106198
HOSTNAME=2cd677729bdc
OLDPWD=/tmp
PATH=/root/.vpython-root/da8b1a/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tmp/tools
PIP_NO_BINARY=:none:
PIP_ONLY_BINARY=:all:
PIP_USE_WHEEL=1
PWD=/tmp/sdk
PYTHONDONTWRITEBYTECODE=1
PYTHONNOUSERSITE=1
SHLVL=1
TEMP=/tmp
TERM=xterm
TMP=/tmp
TMPDIR=/tmp
VIRTUAL_ENV=/root/.vpython-root/da8b1a
[E2019-02-14T13:28:39.777776Z 5633 0 annotate.go:241] original error: exit status 1
[E2019-02-14T13:28:39.777904Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.777995Z 5633 0 annotate.go:241] goroutine 1:
[E2019-02-14T13:28:39.778073Z 5633 0 annotate.go:241] #0 go.chromium.org/luci/vpython/venv/venv.go:730 - venv.(*Env).installWheels()
[E2019-02-14T13:28:39.778152Z 5633 0 annotate.go:241]   reason: failed to install wheels
[E2019-02-14T13:28:39.778227Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.778297Z 5633 0 annotate.go:241] #1 go.chromium.org/luci/vpython/venv/venv.go:527 - venv.(*Env).createLocked.func1()
[E2019-02-14T13:28:39.778367Z 5633 0 annotate.go:241]   reason: failed to install wheels
[E2019-02-14T13:28:39.778442Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.778510Z 5633 0 annotate.go:241] #2 go.chromium.org/luci/common/system/filesystem/tempdir.go:55 - filesystem.(*TempDir).With()
[E2019-02-14T13:28:39.778584Z 5633 0 annotate.go:241] #3 go.chromium.org/luci/vpython/venv/venv.go:103 - venv.withTempDir()
[E2019-02-14T13:28:39.778658Z 5633 0 annotate.go:241] #4 go.chromium.org/luci/vpython/venv/venv.go:497 - venv.(*Env).createLocked()
[E2019-02-14T13:28:39.778731Z 5633 0 annotate.go:241] #5 go.chromium.org/luci/vpython/venv/venv.go:272 - venv.(*Env).ensure.func1()
[E2019-02-14T13:28:39.778803Z 5633 0 annotate.go:241]   reason: failed to create new VirtualEnv
[E2019-02-14T13:28:39.778873Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.778942Z 5633 0 annotate.go:241] #6 go.chromium.org/luci/vpython/venv/venv.go:957 - venv.mustReleaseLock()
[E2019-02-14T13:28:39.779014Z 5633 0 annotate.go:241] #7 go.chromium.org/luci/vpython/venv/venv.go:258 - venv.(*Env).ensure()
[E2019-02-14T13:28:39.779086Z 5633 0 annotate.go:241] #8 go.chromium.org/luci/vpython/venv/venv.go:328 - venv.(*Env).withImpl()
[E2019-02-14T13:28:39.779158Z 5633 0 annotate.go:241] #9 go.chromium.org/luci/vpython/venv/venv.go:168 - venv.With()
[E2019-02-14T13:28:39.779231Z 5633 0 annotate.go:241] #10 go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2019-02-14T13:28:39.779297Z 5633 0 annotate.go:241] #11 go.chromium.org/luci/vpython/application/application.go:318 - application.(*application).mainImpl()
[E2019-02-14T13:28:39.779367Z 5633 0 annotate.go:241] #12 go.chromium.org/luci/vpython/application/application.go:402 - application.(*Config).Main.func1()
[E2019-02-14T13:28:39.779437Z 5633 0 annotate.go:241] #13 go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2019-02-14T13:28:39.779509Z 5633 0 annotate.go:241] #14 go.chromium.org/luci/vpython/application/application.go:401 - application.(*Config).Main()
[E2019-02-14T13:28:39.779581Z 5633 0 annotate.go:241] #15 vpython/main.go:93 - main.mainImpl()
[E2019-02-14T13:28:39.779652Z 5633 0 annotate.go:241] #16 vpython/main.go:99 - main.main()
[E2019-02-14T13:28:39.779721Z 5633 0 annotate.go:241] #17 runtime/proc.go:201 - runtime.main()
[E2019-02-14T13:28:39.779789Z 5633 0 annotate.go:241] #18 runtime/asm_amd64.s:1333 - runtime.goexit()
]Failed to fetch file gs://dart-dependencies/86b4e3519b5232e2aa56ce50fac9ba8fd060b5da for sdk/third_party/firefox_jsshell/linux/jsshell.tar.gz. [Err: [E2019-02-14T13:28:39.759124Z 5633 0 venv.go:942] Command (cwd=): [/root/.vpython-root/04f593/bin/python -B -E -s -m pip install --isolated --compile --no-index --find-links /tmp/vpython_bootstrap993106198/packages --requirement /tmp/vpython_bootstrap993106198/requirements.txt --no-binary=:none: --only-binary=:all: --use-wheel]
Process output:
Collecting appdirs==1.4.3 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 1))
Collecting asn1crypto==0.22.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 2))
Collecting boto==2.48.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 3))
Collecting cffi==1.10.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 4))
  Could not find a version that satisfies the requirement cffi==1.10.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 4)) (from versions: )
No matching distribution found for cffi==1.10.0 (from -r /tmp/vpython_bootstrap993106198/requirements.txt (line 4))

Environment:
AWS_CREDENTIAL_FILE=
BOTO_CONFIG=
GYP_DEFINES=clang=0 use_experimental_allocator_shim=0 use_allocator=none musl=1
HOME=/tmp/vpython_bootstrap993106198
HOSTNAME=2cd677729bdc
OLDPWD=/tmp
PATH=/root/.vpython-root/da8b1a/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tmp/tools
PIP_NO_BINARY=:none:
PIP_ONLY_BINARY=:all:
PIP_USE_WHEEL=1
PWD=/tmp/sdk
PYTHONDONTWRITEBYTECODE=1
PYTHONNOUSERSITE=1
SHLVL=1
TEMP=/tmp
TERM=xterm
TMP=/tmp
TMPDIR=/tmp
VIRTUAL_ENV=/root/.vpython-root/da8b1a
[E2019-02-14T13:28:39.777776Z 5633 0 annotate.go:241] original error: exit status 1
[E2019-02-14T13:28:39.777904Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.777995Z 5633 0 annotate.go:241] goroutine 1:
[E2019-02-14T13:28:39.778073Z 5633 0 annotate.go:241] #0 go.chromium.org/luci/vpython/venv/venv.go:730 - venv.(*Env).installWheels()
[E2019-02-14T13:28:39.778152Z 5633 0 annotate.go:241]   reason: failed to install wheels
[E2019-02-14T13:28:39.778227Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.778297Z 5633 0 annotate.go:241] #1 go.chromium.org/luci/vpython/venv/venv.go:527 - venv.(*Env).createLocked.func1()
[E2019-02-14T13:28:39.778367Z 5633 0 annotate.go:241]   reason: failed to install wheels
[E2019-02-14T13:28:39.778442Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.778510Z 5633 0 annotate.go:241] #2 go.chromium.org/luci/common/system/filesystem/tempdir.go:55 - filesystem.(*TempDir).With()
[E2019-02-14T13:28:39.778584Z 5633 0 annotate.go:241] #3 go.chromium.org/luci/vpython/venv/venv.go:103 - venv.withTempDir()
[E2019-02-14T13:28:39.778658Z 5633 0 annotate.go:241] #4 go.chromium.org/luci/vpython/venv/venv.go:497 - venv.(*Env).createLocked()
[E2019-02-14T13:28:39.778731Z 5633 0 annotate.go:241] #5 go.chromium.org/luci/vpython/venv/venv.go:272 - venv.(*Env).ensure.func1()
[E2019-02-14T13:28:39.778803Z 5633 0 annotate.go:241]   reason: failed to create new VirtualEnv
[E2019-02-14T13:28:39.778873Z 5633 0 annotate.go:241]
[E2019-02-14T13:28:39.778942Z 5633 0 annotate.go:241] #6 go.chromium.org/luci/vpython/venv/venv.go:957 - venv.mustReleaseLock()
[E2019-02-14T13:28:39.779014Z 5633 0 annotate.go:241] #7 go.chromium.org/luci/vpython/venv/venv.go:258 - venv.(*Env).ensure()
[E2019-02-14T13:28:39.779086Z 5633 0 annotate.go:241] #8 go.chromium.org/luci/vpython/venv/venv.go:328 - venv.(*Env).withImpl()
[E2019-02-14T13:28:39.779158Z 5633 0 annotate.go:241] #9 go.chromium.org/luci/vpython/venv/venv.go:168 - venv.With()
[E2019-02-14T13:28:39.779231Z 5633 0 annotate.go:241] #10 go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2019-02-14T13:28:39.779297Z 5633 0 annotate.go:241] #11 go.chromium.org/luci/vpython/application/application.go:318 - application.(*application).mainImpl()
[E2019-02-14T13:28:39.779367Z 5633 0 annotate.go:241] #12 go.chromium.org/luci/vpython/application/application.go:402 - application.(*Config).Main.func1()
[E2019-02-14T13:28:39.779437Z 5633 0 annotate.go:241] #13 go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2019-02-14T13:28:39.779509Z 5633 0 annotate.go:241] #14 go.chromium.org/luci/vpython/application/application.go:401 - application.(*Config).Main()
[E2019-02-14T13:28:39.779581Z 5633 0 annotate.go:241] #15 vpython/main.go:93 - main.mainImpl()
[E2019-02-14T13:28:39.779652Z 5633 0 annotate.go:241] #16 vpython/main.go:99 - main.main()
[E2019-02-14T13:28:39.779721Z 5633 0 annotate.go:241] #17 runtime/proc.go:201 - runtime.main()
[E2019-02-14T13:28:39.779789Z 5633 0 annotate.go:241] #18 runtime/asm_amd64.s:1333 - runtime.goexit()
]

Downloading 1 files took 4.209051 second(s)
Running: gclient config --spec 'solutions = [
  {
    "url": "https://dart.googlesource.com/sdk.git",
    "managed": False,
    "name": "sdk",
    "deps_file": "DEPS",
    "custom_deps": {},
  },
]
'
Running: gclient sync --no-history

reproduce it
by running this given Dockerfile via docker build .

Then I found chromium infra packages here so everything looks ok. I don't understand why pip cannot install the existing wheel. Any Ideas?

Looks a bit similar to https://bugs.chromium.org/p/chromium/issues/detail?id=786617 but that was supposedly fixed.

@athomas well not exactly. The issue here is that the wheels provided for gsutil by infra tools, are not compiled against the musl libc. Basically it seems that a wheel cannot be distinguished for the same platform but a different glibc, as of now that is a lack of python wheels itself.
As a workaround for me it would be perfectly fine if I can build the wheels for gsutil myself and provide them upfront to a predefined virtualEnv. But then I would need a flag that disables the auto installation of gsutil related wheel dependencies.
OR maybe there is a way of inject own wheels into the cipd cache located at /root/.vpython_cipd_cache/instances?

The Dart VM requires libc. For a discussion on how to achieve small docker images that support this, see https://github.com/dart-lang/sdk/issues/39296#issuecomment-557204865.

Closing the present issue; for a discussion of the libc requirement, please use the issues I linked to above.


Meet with openscapes folks to understand their use of profiles and node sharing

@yuvipanda, did you meet with them?
If yes, did they mention the upcoming event: https://github.com/2i2c-org/infrastructure/issues/2841?

@damianavila it's happening tomorrow.

@yuvipanda, when you get back online, can you please update this issue with a summary of the content of that meeting? Thanks!

I have notes from that meeting: https://docs.google.com/document/d/1E_ugYVnFfXZh_kYdSF8zvMmLiF5hLa2V19_M606-JvE/edit?usp=sharing

Action items to be tracked coming out of that meeting:

[ ] After the upcoming workshop, Yuvi to write up an issue to reduce the number of options on the Openscapes hub in advance of the October 17 event to only make the ‘medium machine’ is available
[ ] 2i2c to create documentation to communicate what node share, cpu guarantee/limit, ram guarantee/limits means, how to assess memory used based on Grafana to make informed choices around resource usage.

OK, let's keep this one open until both action items have issues associated with them.

The documentation request here overlaps with https://github.com/2i2c-org/meta/issues/659 and https://github.com/2i2c-org/meta/issues/660.

This has very much driven our work on resource allocation (see #3030), and can be closed now.


⚠ Bofrost.com has degraded performance

In 88fb931, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1192 ms

Resolved: Bofrost.com performance has improved in e268a48.


Issues with Language Server when vue file is not open initially

Vue - Official extension or vue-tsc version
v2.1.10
VSCode version
1.95.3
Vue version
3.5.13
TypeScript version
5.6.3
System Info
System:
    OS: Linux 6.9 Pop!_OS 22.04 LTS
    CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
    Memory: 14.78 GB / 31.29 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.15.1 - ~/.volta/tools/image/node/20.15.1/bin/node
    npm: 10.7.0 - ~/.volta/tools/image/node/20.15.1/bin/npm
    pnpm: 7.0.0-rc.9 - ~/.local/share/pnpm/pnpm
    bun: 1.1.12 - ~/.bun/bin/bun
  Browsers:
    Chrome: 131.0.6778.85

package.json dependencies
"dependencies": {
    "vue": "^3.5.13"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^5.2.1",
    "typescript": "~5.6.2",
    "vite": "^6.0.1",
    "vue-tsc": "^2.1.10"
  }

Steps to reproduce

Create a new project using npm create vite@latest vue-example2 -- --template vue-ts and have the VSCode extension Vue - Official installed.
Open ./src/components/HelloWorld.vue and restart VSCode
The file should be open automatically and the Vue Language Server should be up and running. Type information is showing on hover.
Close the file and reopen VSCode
The file should not be open
When opening ./src/components/HelloWorld.vue the Vue Language Server is in a broken state and doesn't show type information.

What is expected?
The Vue Language Server should run regardless of the action order.
What is actually happening?
The Vue Language Server is in a broken state and doesn't show type information.
Link to minimal reproduction
No response
Any additional comments?
No response

My work-around, when I see that the component tag syntax highlighting has not activated for a .vue file, is to run "Developer: Reload Window" from the command palette. Rather annoying.


README.md Need proper Formatting.

Little difficult for new users So pls improve Formatting of readme with proper spacings and fonts.

intrested , assign me pls

Assign to me i will work on this.

i am assigning you.


fix: Termination of pull transfer process from consumer side not success

What this PR changes/adds
Start termination process from data flow manager for provider when termination initiated by consumer
Why it does that
During the termination of PULL transfer process from consumer, system does not call method terminate() from DataFlowManager on provider side.
As a result process not terminated in real but transfer process had state "TERMINATED", and then it is not possible to initiate terminating process again not from consumer neither form provider side.
Further notes
After provider moved to TERMINATED state, it also should move to the DEPROVISIONING automatically
Linked Issue(s)
Closes #4592
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@jimmarino, I used @Nested to combine all the tests related to the termination process (similar to what was done for Suspended, StartedResumed, and Started).
Actually, only one new test, provider_shouldTerminateDataFlowAndTransitionToDeprovisioning, was added to check the termination of the data flow and the transition to the "DEPROVISIONING" state for the provider transfer process.
The other three tests were left unchanged, they were simply moved and renamed.

@jimmarino, I used @Nested to combine all the tests related to the termination process (similar to what was done for Suspended, StartedResumed, and Started).
Actually, only one new test, provider_shouldTerminateDataFlowAndTransitionToDeprovisioning, was added to check the termination of the data flow and the transition to the "DEPROVISIONING" state for the provider transfer process. The other three tests were left unchanged, they were simply moved and renamed.

Please do not do that, as it makes it difficult to review this PR. A PR should be limited and focused on the change, particularly in a critical part of the codebase. Please refocus this PR only on the change and tests to verify it, maintaining the test structure that is currently in place.

@jimmarino structure of tests was rollbacked

@jimmarino thank you, I look forward to the decision.
I have one question about quality gate, currently one of the End-To-End-Tests pullFromHttp_httpProvision() is failing, but I did not touch it at all. Looks like MockServer try to use Address that already in use. Could run test be initiated again manually?