Fix the incorrect route path in the user edit page.

Regression of #26713
After  #26713 , the base path of user edit has been changed to  /admin/users/{userid}/edit
Before
https://github.com/go-gitea/gitea/assets/50507092/5f4a3f64-fe2b-4499-b110-e01c9d87ea19

Honestly, I don't really understand what this PR is trying to do....

The Link used to splice the route address started out as /admin/users/{userId}, but now it becomes /admin/users/{userId}/edit. This results in a 404 for requests for user deletion, avatar upload, etc. to the same route.

It is still not right.
You only have BaseUrl in EditUser, but not in EditUserPost ....
ps: I really dislike playing such tricks

I agree with @wxiaoguang  BaseUrl should not be override.

It is still not right.
You only have BaseUrl in EditUser, but not in EditUserPost ....
ps: I really dislike playing such tricks

I agree with @wxiaoguang BaseUrl should not be override.

At first, he meant that Link should not be overridden, and then that BaseUrl and Link should not be used at the same time. But now I've switched to BaseUrl altogether.

IMO you can take a new ctx variable to embed the url.

IMO you can take a new ctx variable to embed the url.

BaseUrl is a new context variable actually

I mean ctx["PathVaribleName"] = fmt.Printf("<pathurl>/%s", variableName) in the go code.

I mean ctx["PathVaribleName"] = fmt.Printf("<pathurl>/%s", variableName) in the go code.
In the template {{.PathVaribleName}}/slug

Apologies for the syntax typo. ctx.Data["PathV...
ctx.Data["PathVaribleName"] = fmt.Printf("<pathurl>/%s", variableName)

It is still not right.
You only have BaseUrl in EditUser, but not in EditUserPost ....

Still not fixed.
Actually, the relative URL could also help. If the browser's current URL is /foo/bar, then ./xxx means /foo/xxx.

Actually, the relative URL could also help. If the browser's current URL is /foo/bar, then ./xxx means /foo/xxx.

Thank you so much for your patient advice, I'll try this method.

Keep in mind, Gitea has a very unfriendly backend approach: if you put a variable in Xxx handler (UserEdit) , then you might also need to put it in XxxPost handler (UserEditPost). Otherwise, if an user-side error occurs when the end user submits the form, the re-rendered page will go wrong.

Thank you so much for your patience and guidance

are we good with PR.
if Y 🚀


Update readme for NuGet packages and Visual Studio extension

Check NuGet Pckages icon

update copyright years in the license agreement and packages.

https://marketplace.visualstudio.com/items?itemName=AlternetSoftwarePTYLTD.AlternetUIForVS2022
remove To go to the extension build for a specific Visual Studio version click here:
Fix or remove icons at the end of the text.

I've committed changed the readme to be used for Alternet.UI NuGet package.


Share stopwatch between clients

Only an issue when viewing timer on a browser that has been loaded after the the timer is started (i.e. another browser instance)
Collect time from button clicks and provide savedTime to the setup.


Notification of Jira new feature

If:

User never got this notification
There is an N+1 or N+1 Endpoint, Bottleneck or Bottleneck Endpoint issue detected (in assets or pane navigated to)

Show the following emphasis UI:
https://www.figma.com/file/M6H4wKYVWhrybJPGpxYxSx?node-id=969%3A13859&utm_source=notification&utm_medium=slack&utm_content=ce345570939bb84ee371fdae69010227&type=design#654734306

@doppleware what should be the  "try it now" button behavior?


[Bug] Failed to launch the demo version in a browser

Version
1.0.0
Reproduction link
https://github.com/creativetimofficial/soft-ui-react-native
Operating System
Windows 10
Device
Browser. Chrome
Browser & Version
Chrome Version 95.0.4638.69
Steps to reproduce
checkout from github https://github.com/creativetimofficial/soft-ui-react-native
npm install
expo start
Run in Web Browser
What is expected?
Run the demo in a browser
What is actually happening?
Error in logs :
Web Bundling complete 6048ms
./node_modules/@react-native-community/masked-view/js/MaskedView.js:14:22
"export 'requireNativeComponent' was not found in 'react-native-web/dist/index'
12 | import { View, StyleSheet, requireNativeComponent } from 'react-native';
13 |

14 | const RNCMaskedView = requireNativeComponent('RNCMaskedView');
|                      ^
15 |
16 | import { type MaskedViewProps } from './MaskedViewTypes';

Solution
Additional comments

Hello,
I'm interested in buying the UI Kit. If someone could help fix this problem.
Thanks

no support for Web ( check description https://docs.expo.dev/versions/latest/sdk/masked-view/)


Error (Connection closed while receiving data) while restoring some packages

I tried to restore the package csslib in WSL Ubuntu 18.04 with pub get -v
The folder contains only one file pubspec.yaml:
name: csslib_restore_demo
version: 0.0.0

environment:
  sdk: ^2.7.0

dependencies:
  csslib: ^0.16.0

To reproduce this bug:

csslib must not be previously installed neither in ~/.pub-cache/hosted/pub.dartlang.org nor in ~/.pub-cache/_temp

If you have ever previously successfully restored csslib  in the system you need to delete the folders ~/.pub-cache/hosted/pub.dartlang.org/csslib-0.16.1 and ~/.pub-cache/_temp

This is what I get:
FINE: Pub 2.7.1
MSG : Resolving dependencies...
SLVR: fact: csslib_demo is 0.0.0
SLVR: derived: csslib_demo
SLVR: fact: csslib_demo depends on csslib ^0.16.0
SLVR:   selecting csslib_demo
SLVR:   derived: csslib ^0.16.0
IO  : Get versions from https://pub.dartlang.org/api/packages/csslib.
IO  : HTTP GET https://pub.dartlang.org/api/packages/csslib
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | X-Pub-Reason: direct
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/csslib
    | took 0:00:00.387601
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:28 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
SLVR:   fact: csslib >=0.14.4+1 depends on source_span ^1.4.0
SLVR:     selecting csslib 0.16.1
SLVR:     derived: source_span ^1.4.0
IO  : Get versions from https://pub.dartlang.org/api/packages/source_span.
IO  : HTTP GET https://pub.dartlang.org/api/packages/source_span
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/source_span
    | took 0:00:00.196569
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:28 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
SLVR:     fact: source_span >=1.4.1 depends on charcode ^1.0.0
SLVR:     fact: source_span >=1.6.0 depends on collection ^1.8.0
SLVR:     fact: source_span >=1.6.0 depends on meta >=0.9.0 <2.0.0
SLVR:     fact: source_span >=1.4.1 depends on path ^1.2.0
SLVR:     fact: source_span >=1.5.0 depends on term_glyph ^1.0.0
SLVR:       selecting source_span 1.6.0
SLVR:       derived: term_glyph ^1.0.0
SLVR:       derived: path ^1.2.0
SLVR:       derived: meta >=0.9.0 <2.0.0
SLVR:       derived: collection ^1.8.0
SLVR:       derived: charcode ^1.0.0
IO  : Get versions from https://pub.dartlang.org/api/packages/term_glyph.
IO  : HTTP GET https://pub.dartlang.org/api/packages/term_glyph
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/term_glyph
    | took 0:00:00.188908
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:29 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/path.
IO  : HTTP GET https://pub.dartlang.org/api/packages/path
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/path
    | took 0:00:00.187012
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:29 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/meta.
IO  : HTTP GET https://pub.dartlang.org/api/packages/meta
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/meta
    | took 0:00:00.184857
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:29 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/collection.
IO  : HTTP GET https://pub.dartlang.org/api/packages/collection
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/collection
    | took 0:00:00.187889
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:29 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/charcode.
IO  : HTTP GET https://pub.dartlang.org/api/packages/charcode
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/charcode
    | took 0:00:00.185469
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:01:29 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
SLVR:         selecting term_glyph 1.1.0
SLVR:           selecting charcode 1.1.3
SLVR:             selecting meta 1.1.8
SLVR:               selecting collection 1.14.12
SLVR:                 selecting path 1.6.4
SLVR: Version solving took 0:00:01.847795 seconds.
    | Tried 1 solutions.
FINE: Resolving dependencies finished (1.854s).
MSG : + charcode 1.1.3
    | + collection 1.14.12
    | + csslib 0.16.1
    | + meta 1.1.8
    | + path 1.6.4
    | + source_span 1.6.0
    | + term_glyph 1.1.0
IO  : Get package from https://pub.dartlang.org/packages/csslib/versions/0.16.1.tar.gz.
MSG : Downloading csslib 0.16.1...
IO  : Created temp directory /home/aleck/.pub-cache/_temp/dirUDAKSE
IO  : HTTP GET https://pub.dartlang.org/packages/csslib/versions/0.16.1.tar.gz
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: ADA0237E-23E4-4BAA-BE54-27A370CB76A5
    | X-Pub-Reason: direct
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/packages/csslib/versions/0.16.1.tar.gz
    | took 0:00:00.292995
    | x-goog-storage-class: STANDARD
    | cache-control: public, max-age=3600
    | last-modified: Mon, 08 Jul 2019 17:58:21 GMT
    | date: Tue, 25 Feb 2020 18:53:24 GMT
    | x-goog-stored-content-length: 208166
    | age: 486
    | x-guploader-uploadid: AEnB2Uq3ehQz8Z7MUFfftHrdyszwdvSSuOIP9A8hPKC3sKmbq6C5ornb5MHGjT2656iA0MVE_DvQv8m5GChKyjQ2df5efO5jag
    | x-goog-hash: crc32c=8SZiew==,md5=T5awbBEDRnwCuqHsYaJfqA==
    | content-type: application/octet-stream
    | x-goog-generation:<PHONE_NUMBER>984003
    | server: UploadServer
    | alt-svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000
    | accept-ranges: bytes
    | content-length: 208166
    | x-goog-stored-content-encoding: identity
    | etag: "4f96b06c1103467c02baa1ec61a25fa8"
    | x-goog-metageneration: 2
    | expires: Tue, 25 Feb 2020 19:53:24 GMT
FINE: Extracting .tar.gz stream to /home/aleck/.pub-cache/_temp/dirUDAKSE.
IO  : Spawning "tar --warning=no-unknown-keyword --extract --gunzip --no-same-owner --no-same-permissions --directory /home/aleck/.pub-cache/_temp/dirUDAKSE" in /mnt/d/Web/FlutterDemo/.
ERR : Connection closed while receiving data
FINE: Exception type: ClientException
FINE: package:http/src/io_client.dart 54:26       IOClient.send.<fn>
    | ===== asynchronous gap ===========================
    | dart:async                                  StreamView.listen
    | package:pub/src/io.dart 625:10              _store
    | package:pub/src/io.dart 869:26              extractTarGz
    | ===== asynchronous gap ===========================
    | dart:async                                  _asyncThenWrapperHelper
    | package:pub/src/io.dart                     extractTarGz
    | package:pub/src/source/hosted.dart 323:11   BoundHostedSource._download
    | ===== asynchronous gap ===========================
    | dart:async                                  _asyncThenWrapperHelper
    | package:pub/src/source/hosted.dart          BoundHostedSource._download
    | package:pub/src/source/hosted.dart 217:13   BoundHostedSource.downloadToSystemCache
    | package:pub/src/entrypoint.dart 388:48      Entrypoint._get.<fn>
    | dart:async                                  runZoned
    | package:pub/src/http.dart 272:10            withDependencyType
    | package:pub/src/entrypoint.dart 384:12      Entrypoint._get
    | dart:async                                  Future.wait
    | package:pub/src/entrypoint.dart 245:18      Entrypoint.acquireDependencies
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/solver/version_solver.dart  VersionSolver.solve
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/solver/version_solver.dart  VersionSolver._result
    | ===== asynchronous gap ===========================
    | dart:async                                  _asyncThenWrapperHelper
    | package:pub/src/entrypoint.dart             Entrypoint.acquireDependencies
    | package:pub/src/command/get.dart 41:23      GetCommand.run
    | package:args/command_runner.dart 197:27     CommandRunner.runCommand
    | package:pub/src/command_runner.dart 171:39  PubCommandRunner.runCommand.<fn>
    | dart:async                                  new Future.sync
    | package:pub/src/utils.dart 109:12           captureErrors.<fn>
    | package:stack_trace                         Chain.capture
    | package:pub/src/utils.dart 122:11           captureErrors
    | package:pub/src/command_runner.dart 171:13  PubCommandRunner.runCommand

2020-02-25 21:05:29 aleck@Aleck-Win: /mnt/d/Web/FlutterDemo
$ /mnt/d/dart-sdk/bin/pub get -v
FINE: Pub 2.7.1
MSG : Resolving dependencies...
SLVR: fact: csslib_restore_demo is 0.0.0
SLVR: derived: csslib_restore_demo
SLVR: fact: csslib_restore_demo depends on csslib ^0.16.0
SLVR:   selecting csslib_restore_demo
SLVR:   derived: csslib ^0.16.0
IO  : Get versions from https://pub.dartlang.org/api/packages/csslib.
IO  : HTTP GET https://pub.dartlang.org/api/packages/csslib
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | X-Pub-Reason: direct
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/csslib
    | took 0:00:00.395791
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:49 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
SLVR:   fact: csslib >=0.14.4+1 depends on source_span ^1.4.0
SLVR:     selecting csslib 0.16.1
SLVR:     derived: source_span ^1.4.0
IO  : Get versions from https://pub.dartlang.org/api/packages/source_span.
IO  : HTTP GET https://pub.dartlang.org/api/packages/source_span
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/source_span
    | took 0:00:00.192762
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:49 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
SLVR:     fact: source_span >=1.4.1 depends on charcode ^1.0.0
SLVR:     fact: source_span >=1.6.0 depends on collection ^1.8.0
SLVR:     fact: source_span >=1.6.0 depends on meta >=0.9.0 <2.0.0
SLVR:     fact: source_span >=1.4.1 depends on path ^1.2.0
SLVR:     fact: source_span >=1.5.0 depends on term_glyph ^1.0.0
SLVR:       selecting source_span 1.6.0
SLVR:       derived: term_glyph ^1.0.0
SLVR:       derived: path ^1.2.0
SLVR:       derived: meta >=0.9.0 <2.0.0
SLVR:       derived: collection ^1.8.0
SLVR:       derived: charcode ^1.0.0
IO  : Get versions from https://pub.dartlang.org/api/packages/term_glyph.
IO  : HTTP GET https://pub.dartlang.org/api/packages/term_glyph
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/term_glyph
    | took 0:00:00.186509
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:49 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/path.
IO  : HTTP GET https://pub.dartlang.org/api/packages/path
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/path
    | took 0:00:00.187337
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:49 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/meta.
IO  : HTTP GET https://pub.dartlang.org/api/packages/meta
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/meta
    | took 0:00:00.188537
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:50 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/collection.
IO  : HTTP GET https://pub.dartlang.org/api/packages/collection
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/collection
    | took 0:00:00.186197
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:50 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
IO  : Get versions from https://pub.dartlang.org/api/packages/charcode.
IO  : HTTP GET https://pub.dartlang.org/api/packages/charcode
    | Accept: application/vnd.pub.v2+json
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/charcode
    | took 0:00:00.184258
    | transfer-encoding: chunked
    | date: Tue, 25 Feb 2020 19:20:50 GMT
    | content-encoding: gzip
    | vary: Accept-Encoding
    | strict-transport-security: max-age=31536000; preload
    | via: 1.1 google
    | content-type: application/json
    | x-frame-options: SAMEORIGIN
    | x-xss-protection: 1; mode=block
    | x-content-type-options: nosniff
    | server: dart:io with Shelf
SLVR:         selecting term_glyph 1.1.0
SLVR:           selecting charcode 1.1.3
SLVR:             selecting meta 1.1.8
SLVR:               selecting collection 1.14.12
SLVR:                 selecting path 1.6.4
SLVR: Version solving took 0:00:01.815941 seconds.
    | Tried 1 solutions.
FINE: Resolving dependencies finished (1.822s).
MSG : + charcode 1.1.3
    | + collection 1.14.12
    | + csslib 0.16.1
    | + meta 1.1.8
    | + path 1.6.4
    | + source_span 1.6.0
    | + term_glyph 1.1.0
IO  : Get package from https://pub.dartlang.org/packages/csslib/versions/0.16.1.tar.gz.
MSG : Downloading csslib 0.16.1...
IO  : Created temp directory /home/aleck/.pub-cache/_temp/dirTCVJEM
IO  : HTTP GET https://pub.dartlang.org/packages/csslib/versions/0.16.1.tar.gz
    | X-Pub-OS: linux
    | X-Pub-Command: get
    | X-Pub-Session-ID: DC87476C-5615-40A2-A454-9E20D2EF72B8
    | X-Pub-Reason: direct
    | user-agent: Dart pub 2.7.1
IO  : HTTP response 200 OK for GET https://pub.dartlang.org/packages/csslib/versions/0.16.1.tar.gz
    | took 0:00:00.302263
    | x-goog-storage-class: STANDARD
    | cache-control: public, max-age=3600
    | last-modified: Mon, 08 Jul 2019 17:58:21 GMT
    | date: Tue, 25 Feb 2020 18:53:24 GMT
    | x-goog-stored-content-length: 208166
    | age: 1647
    | x-guploader-uploadid: AEnB2Uq3ehQz8Z7MUFfftHrdyszwdvSSuOIP9A8hPKC3sKmbq6C5ornb5MHGjT2656iA0MVE_DvQv8m5GChKyjQ2df5efO5jag
    | x-goog-hash: crc32c=8SZiew==,md5=T5awbBEDRnwCuqHsYaJfqA==
    | content-type: application/octet-stream
    | x-goog-generation:<PHONE_NUMBER>984003
    | server: UploadServer
    | alt-svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000
    | accept-ranges: bytes
    | content-length: 208166
    | x-goog-stored-content-encoding: identity
    | etag: "4f96b06c1103467c02baa1ec61a25fa8"
    | x-goog-metageneration: 2
    | expires: Tue, 25 Feb 2020 19:53:24 GMT
FINE: Extracting .tar.gz stream to /home/aleck/.pub-cache/_temp/dirTCVJEM.
IO  : Spawning "tar --warning=no-unknown-keyword --extract --gunzip --no-same-owner --no-same-permissions --directory /home/aleck/.pub-cache/_temp/dirTCVJEM" in /mnt/d/Web/FlutterDemo/.
ERR : Connection closed while receiving data
FINE: Exception type: ClientException
FINE: package:http/src/io_client.dart 54:26       IOClient.send.<fn>
    | ===== asynchronous gap ===========================
    | dart:async                                  StreamView.listen
    | package:pub/src/io.dart 625:10              _store
    | package:pub/src/io.dart 869:26              extractTarGz
    | ===== asynchronous gap ===========================
    | dart:async                                  _asyncThenWrapperHelper
    | package:pub/src/io.dart                     extractTarGz
    | package:pub/src/source/hosted.dart 323:11   BoundHostedSource._download
    | ===== asynchronous gap ===========================
    | dart:async                                  _asyncThenWrapperHelper
    | package:pub/src/source/hosted.dart          BoundHostedSource._download
    | package:pub/src/source/hosted.dart 217:13   BoundHostedSource.downloadToSystemCache
    | package:pub/src/entrypoint.dart 388:48      Entrypoint._get.<fn>
    | dart:async                                  runZoned
    | package:pub/src/http.dart 272:10            withDependencyType
    | package:pub/src/entrypoint.dart 384:12      Entrypoint._get
    | dart:async                                  Future.wait
    | package:pub/src/entrypoint.dart 245:18      Entrypoint.acquireDependencies
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/solver/version_solver.dart  VersionSolver.solve
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/solver/version_solver.dart  VersionSolver._result
    | ===== asynchronous gap ===========================
    | dart:async                                  _asyncThenWrapperHelper
    | package:pub/src/entrypoint.dart             Entrypoint.acquireDependencies
    | package:pub/src/command/get.dart 41:23      GetCommand.run
    | package:args/command_runner.dart 197:27     CommandRunner.runCommand
    | package:pub/src/command_runner.dart 171:39  PubCommandRunner.runCommand.<fn>
    | dart:async                                  new Future.sync
    | package:pub/src/utils.dart 109:12           captureErrors.<fn>
    | package:stack_trace                         Chain.capture
    | package:pub/src/utils.dart 122:11           captureErrors
    | package:pub/src/command_runner.dart 171:13  PubCommandRunner.runCommand

The process hangs for several minutes on the line
IO  : Spawning "tar --warning=no-unknown-keyword --extract --gunzip --no-same-owner --no-same-permissions --directory /home/aleck/.pub-cache/_temp/dirTCVJEM" in /mnt/d/Web/FlutterDemo/.

then the exception ClientException causes abnormal termination.

@jonasfj Seems like a pub issue. Unfortunately apparently I can't move it to pub repository, can you move it yourself?

Or it's an issue related to WSL + dart, see also https://github.com/dart-lang/pub/issues/1894


Webpack configuration

I'm looking at using lit-html, lit-apollo, & apollo-client, but of course need to use webpack.  But I've never used webpack.  Does anyone have a working config they could drop that will help?
Thanks

I've used rollup with lit-apollo as such:
export default {
  input: 'src/index.js',
  output: {
    file: 'bundle.js',
    format: 'es',
    sourcemap: true,
  },
  watch: {
    include: ['src/**/*.js'],
  },
  plugins: [
    resolve({ browser: true, module: true, jsnext: true, preferBuiltins: true }),
    commonjs(),
  ]
}

YMMV

I'm going to close this, since it seems the proposed solution is working for you. Feel free to reopen if you need to.


For early Mays results the 'single year' display option should show both sets of results from that year

For early Mays the results are entered as two separate results.  For the web view of seeing a single year (which normally shows the womens & mens results side by side) for early Mays it should only show the year in the selection box (1827, rather than 1827.1 and 1827.2) and it should show the joint view of those two sets of results on a single page.  Given there are no womens races for those years there's no conflict for the early years 'single year' view.
Also for the Men multi-year view option, only years should be listed (no .1 or .2 options) and for each year in the range both the .1 and .2 results should be included.

Generating the -web output will need to spot the .1 and .2 combinations and only include a single year in the men & all arrays.
When creating a single year chart/stats, if both the mens & womens fail to work then try to do the mens .1 and .2 results and use the multi-view instead.
When creating a multi-year chart if the file fails to open then try to include both the .1 and .2 results files instead

Or explicitly list the years where the .1 and .2 conversion needs to be done in a separate array, to save the file open failure.

Change to implement this committed as 59434d74252828d891a522cabeed273ab7e7b0ed


deleted project

Type: Feature Request
i enter a code by mistake and i exit from the file and it saved please help me it is a big problem  I work in a big company  and it be finished tomorrow
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.22000
Modes:

If you have local history you can likely look in the timeline view under the explorer.


Question on Ring Buffer Pointer Size

Hello Niklas, first off, great videos! Thank you for the content.
This is more of a clarification question rather than an issue. Ring buffer struct is using an unsigned 8 bit integer to store the buffer pointer. However, the MCU has 512 bytes of RAM, so there is a chance that the buffer might end up at a location that is greater than 255. Wouldn't it be better to use an unsigned 16 bit integer here, or am I missing a key point? You're a lot more knowledgable on this topic than I could ever be. So, any insight is appreciated. Thank you.
https://github.com/artfulbytes/nsumo_video/blob/b84763ea484d488d6e8f5b4ebe151912b9837e3f/src/common/ring_buffer.h#L9

Okay, I think I found an answer to my own question.
uart.c defines the buffer as a static variable. This means it's going to be put into the BSS section of the binary file. Which is likely to be in the lower section of the ram. I think this would work as long as there aren't too many static variables pushing the buffer variable over the limit of what uint_8 can express.
https://github.com/artfulbytes/nsumo_video/blob/b84763ea484d488d6e8f5b4ebe151912b9837e3f/src/drivers/uart.c#L9

I did a little digging and realized that I was wrong about my assumption.
uint8_t *buffer; defines a pointer to a uint8_t which itself is size size_t and not a single byte variable as I assumed.


Improve readme with details on how to access terraform state

The readme is missing information on how to access shared terraform state:
https://github.com/usegalaxy-au/infrastructure/blob/e70e28f268511ac96f24e893d80385f0b73454b0/README.md#operationrunning-the-playbooks
The following details would be used
a. Which bucket the terraform state is stored in
b. How to make sure that state is used when performing a terraform plan/apply on the commandline.
c. Any other concerns regarding locking and simultaneous application when using the state.

That readme was written a while ago and I think the level of detail of which pulsar cluster is in which tenancy now belongs in https://github.com/usegalaxy-au/operations (it is missing from here too)

@nuwang do you have access to this repo?

I guess we should at least mention the state file, and where to find the operations repo then. The instructions that are currently in this readme won't work and are therefore of limited use. We could remove it altogether perhaps in favour of adding everything to operations.
And I'm assuming the access issue is sorted now.

Actually the way that the state files are set up there is no extra step in those instructions.  It is declared in a file called backends.tf in each terraform folder

Ok. That solves most of my concerns except C. Is that automatically handled?
The overall idea is still worth a mention in ops/readme I suppose.

For mac users there is an extra complication in using swift backends: 'swift' means something else to a mac and has to be overridden.  I'll see if I can find how that was done, it was a while ago.
As for the other concern, I have not seen anything go wrong - the first thing terraform says when running "terraform plan" or "terraform apply" is "Acquiring state lockfile".
It will be important to document which thing belongs to which tenancy and make sure that you, me and JL have access to all of them.

Sounds good. How are the swift credentials provided?

openstack rc file


(746) Generate task list automatically

Context
At the moment, the task list has the layout copied from the prototype with the tasks we have added manually. As the project develops, we'll need to add more tasks and sections, and we need to make sure we can do this in a manageable way.
Changes in this PR
This adds a sections object, which spells out what tasks are contained in what section, allowing us to check if a section is complete, as well as automatically output the section and tasks within in the Nunjucks template.
Screenshots of UI changes
Before

After

 Task List


Remove the NoErrorsPlugin

It turns out that this plugin causes more trouble than it’s worth.  It
can result in the browser silently failing to update when there’s an
error, and you might not notice if you’re not watching your console.
Failing loudly is preferred to this, even if it requires a page refresh.

@lexun @seanculver


Does not validate correct solution.

Challenge Nest an Anchor Element within a Paragraph has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

Am I missing something?
Blocked awaiting for more information. If your issue is resolved, please close this issue.

For some reason it doesn't move to the next challenge. No idea why. Cleared the browser cache, too.

After submitting it about 10 more times it finally took off.

Strange, if it happens again that you are unable to move on to the next challenge with all the tests passed, please raise an issue.
Thanks for contributing :tada:

I had the same problem today 9/29/2016....Had to keep on refreshing the page...Finally it passed the tests.

+1


Make conda dev environment

Fixes failing pip install of regex (newly introduced dependency from black).
At the moment black from conda-forge is at the version which does not use regex. But lets hope it will work when it gets updated 🤞

@NicolaiMogensen  ping


communication

I am also studying the code of this project recently. Can I add wechat for further communication？

My wechat is WD503832779


Suggestion bar shows over some apps without any input selected.

When I open Waze on my phone an empty bar shows over the app when it's not supposed to, see attached picture.
This also prevents clicking on anything under and below the bar.
On the TCL Flip 2

I have received two more complaints, that are probably related:

In Telegram, click on the stickers icon hides the keyboard for a moment, but then it opens again, hiding the stickers panel. Other keyboards stay hidden, until the icon is pressed again.
In Snapchat, it is not possible to click the two buttons next to the "send a chat" field (I suppose they are "add an image" and "stickers" again). Supposingly, the TT9 window should be hidden, but it is not. This may or may not be caused by the same, but it looks very similar.

I think I fixed the problem, but since I don't have Google, I can't test it properly.
If you want to give it a try, here is an updated APK. If not, I'll just include it in the next release. I believe it should be fine.

Not fixed in snapchat in this version, still same issue with buttons in
bottom right corner in chats unresponsive when using tt9.
On Mon, Mar 27, 2023, 12:04 Dimo Karaivanov @.***>
wrote:

I think I fixed the problem, but since I don't have Google, I can't test
it properly.
If you want to give it a try, here is an updated APK
https://github.com/sspanak/tt9/releases/download/testing/tt9-v19.8.apk.
If not, I'll just include it in the next release. I believe it should be
fine.
—
Reply to this email directly, view it on GitHub
https://github.com/sspanak/tt9/issues/218#issuecomment-1484860676, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APAX2I4O4S2F5S4ABXONNTDW6FQ3HANCNFSM6AAAAAAV64IFEA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@joddsus, the Snapchat problem is not related to this. I have created a new issue. Let's continue the discussion and share any new findings there.

Can you let us know what you changed to fix that issue?

@lgexalter, it is fixed and merged to master and it will become part of the upcoming version sometime next week.

@lgexalter, v20.0 is out. If the issue still persists in any application except Snapchat, reopen this issue. For Snapchat problems, check #228


Updating release page based on some feedback

Addressing a few points of feedback I've received on this page:

Add missing reference to g.live.com needed for updates
A bit more details on the "Deploying updates in the Enterprise ring" section. Let me know if this isn't clear and if I should add an image of the version table from the release notes for greater clarity.

Let me know if you guys have feedback. This is the first time I'm also trying out the new process with github.

@kafeaver FYI to test out comment tagging.


Monday 27-11-2023 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Good morning

hi

Selam

Good morning

Good morning

Good morning :)

Good morning...

Good morning

Good morning ☔

good morning

good morning


the problem of the CacheUpdateMode

I have seen the source code. I found that when you call Get method,you then call AddToHandles method.if the cache does not exist in the second layer,it may add,but if I manual change the value of the cache in the second layer,when I call the Get method,It can not be updated.Is it is a error or your purpose?

Well, that's how things work.
If you modify values without calling Put, how should the cache manager know about those changes?

But,what you had wrote in the Documentation is that "All - instructs the Cache Manager to update all other cache handles".I call the Get Method which get value from the first layer,should not the cache  in the second layer be updated? I am sorry for my poor English.

Yes, in your case, the second layer will get the cache item added if it doesn't exist already.
Again, if you do a Get on your item and do changes to the item, you have to call Put to update all cache layers. Otherwise the changes might not be reflected in the cache.


Divider cannot set dashed lines

Divider cannot set dashed lines

Default flutter does not allow this but there is a great package that does a great job.
🌟 https://pub.dev/packages/fdottedline

@gionchat Please elaborate on your issue. Which platform are you describing this issue for ? Can you provide flutter doctor -v and minimal reproducible code sample along with actual and expected behavior ?

Without plugin you can do this like below :
class DashedLinePainter extends CustomPainter {
  @override
  void paint(Canvas canvas, Size size) {
    double dashWidth = 9, dashSpace = 5, startX = 0;
    final paint = Paint()
      ..color = Colors.grey
      ..strokeWidth = 1;
    while (startX < size.width) {
      canvas.drawLine(Offset(startX, 0), Offset(startX + dashWidth, 0), paint);
      startX += dashWidth + dashSpace;
    }
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => false;
}


Processing by node

I am excited by node.js and gulp in Front-end. And build all my projects with it. When I need some tool I create it.
So, maybe we will create a module for compiling ['*.skrollr.css', '*.skrollr.scss'] and merging with html?

I don't really see a use-case. This would only make sense for static websites but I'd say most of the sites are serves dynamically via some CMS.

I build just static sites without any CMS, There are many.
And precompiling always faster then run-time.


addTypeValue's after option is using BEFORE instead of AFTER

https://github.com/salsita/node-pg-migrate/blob/bd497d8bf3793fac76787ff67868cbf5dd7ee0c1/lib/operations/types.js#L46 should this say AFTER?

Yes, sure. Thanks!


Use Gist API to grab Gist content if API Token is passed

Rather than using the /raw endpoint, if JEKYLL_GITHUB_TOKEN is passed as an environmental variable, use the Gist API to retrieve the Gist content. This can be done directly, or via Octokit.gist [gist_id] if you don't mind the extra dependency (since the Gem is no longer bundled by default).
The advantage here, other than using an API over a raw endpoint (for better error handling, proper response codes, etc.), is that it'd be going through an authenticated and rate-limited endpoint, meaning requests can be tracked, and there's less risk of accidental DDoS (as it can gracefully fallback if the rate limit is hit).
The downside is that it would not work for Gists > 1MB, but I suspect that's a major edge case for content being embedded in a site.
Glad to tackle if there's consensus on the best approach, if any.

We could always try and fallback on the raw endpoint! Good idea, Ben.


Update request: freeplane 1.11.8 → 1.11.12

Package name: freeplane
Latest released version: 1.11.12
Current version on the unstable channel: 1.11.8
Current version on the stable/release channel: 1.9.14
[x] Checked the nixpkgs pull requests

Notify maintainers
@charles-dyfis-net
Changelog: https://www.freeplane.org/info/history/history_en.txt

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Has been updated to v1.11.14 in #312940.
Closing.


confusion on optimization.runtimeChunk configuration

document link: https://webpack.js.org/configuration/optimization/#optimizationruntimechunk
Is there a comma missing in this sentence:

Setting optimization.runtimeChunk to true or 'multiple' adds an additional chunk to each entrypoint containing only the runtime.

which means "adds  chunk to ( entrypoint containing only the runtime ) "
maybe it should be:

Setting optimization.runtimeChunk to true or 'multiple' adds an additional chunk to each entrypoint, containing only the runtime.

means "adds ( chunk containing only the runtime ) to entrypoint"

Yes. Send a PR


make sure to add header with files module url if there is directories…

I have found a workaround to solve this #15 but please note that you may need more condition in order to avoid such issues like if you have %script for example which use cmd.script module and not cmd.run, do you have another idea that could solve it in a better way ?

@openx-luis could you review this one too ?

I thought i need to update the base in case it will be merged but the changes now not showing correctly

Can you rebase against current master?

updated

Ok, I see what you're trying to do, but it's a bit ugly. Can I suggest a different approach?
    def has_sections(self, *names):
        return any(self.has_section(name) for name in names)

    def section_files_header(self):
        """
        Generate the section header for the files section.
        """
        lines = []
        name = 'files'
        if self.has_sections('files', 'directories'):
            lines.append(TEMPLATES['module_header'].render(module=name.upper(), doc_link=DOC_URLS[name]))
        return '\n'.join(lines)

    def generate_sls(self):
        sections = [
            ...,
            self.section_files_header(),
            ...,
        ]
        return '\n'.join(sec for sec in sections if sec)

This will avoid overcomplicating the simple has_section() method. Feel free to open a new PR if you get a chance :)

@openx-luis and @mostafahussein I merged this because it looks to address the issue for now... I do think this needs to be fixed in a more maintainable way.

Fine I will update the code as you suggested, and yes it looks better than what i added also it will be easily to extend if there are more salt modules that needs to be supported like cmd.script.

Exactly. I'm thinking maybe we can add the above has_sections method and rewrite section_header to account for the fact that it might depend on other sections:
    def section_header(self, name, extra=None):
        """
        Generate the section header for the named section.
        """
        lines = []
        if self.has_section(name) or self.has_sections(*extra):
            lines.append(TEMPLATES['module_header'].render(module=name.upper(), doc_link=DOC_URLS[name]))
        return '\n'.join(lines)

Then in generate_sls we just call self.section_header('files', extra=['directories'])
Just brainstorming, though. What do you think?


Sugestion: Search based on filename/Description/Author

I absolutely love picsum.photos, I use it for a random wallpaper on my start page I made.
But im looking to use this in some other projects now and wonderd if we could get context based images on a search term, either using the filename/Description/Author of the source, For example I can find images for ships: https://unsplash.com/s/photos/ship

Hi!
We’re not planning to add this currently. I would recommend trying out https://source.unsplash.com if you want tags.


PHP 7 + memcached

An article for installing memcached with PHP 7 was updated to say that packages are available that should take the pain out of it:

https://serversforhackers.com/video/installing-php-7-with-memcached

Maybe it's time to update the default to PHP 7? :)

To expand, it looks like at least in Ondrej's repo for PHP 7, there's a php-memcached package... I'll have to test. And also see what the status/support is on the RHEL side before officially moving over to PHP 7.
I'm doing some more benchmarking this week, and for Drupal 8, PHP 5.6 is literally 2-2.5x slower than PHP 7. There is no reason any new stuff should be built on 5.6 anymore, and anyone and everyone should upgrade as soon as possible. I've never seen a software upgrade make such a dramatic improvement!

I think I'm going to close out this issue for now... the time isn't quite right to default to 7.0, mostly because there are still enough edge cases that are hit where I don't think 80+% of Drupal VM users would have as seamless an experience.
The performance boost is amazing (discovering new tidbits on that every day), and type hinting, etc. are such huge reasons for me to push for 7 adaption ASAP... but until Ubuntu 16.04 stabilizes (hopefully defaulting to 7), and until a few more libraries stabilize (I'm looking at you, not-quite-finished-memcached, xhprof/alts, xdebug, new relic, etc.), I'm going to hold off and let people refer to the docs.


Add Service::remove_from_bootstrap_cache(connection) function

Use case:

Can we notify crust that on a second call to bootstrap, it would not re-establish the same bootstrap connection? (eg doesnt re-open bootstrap cache and starts at the top). The reason is that the bootstrap connection might succeed, but Routing might not validate this connection as a bootstrap connection into the network. We should hence avoid getting caught in a loop of rebootstrapping to the same node. Possibly a "remove_from_bootstrap_cache(connection)"?

-- Benjamin Bollen

What about adding another argument to the Service::bootstrap function to indicate which endpoints should be avoided when bootstrapping?

What about adding another argument to the Service::bootstrap function to indicate which endpoints should be avoided when bootstrapping?

I prefer this API you're proposing @inetic, but I think the endpoint should be removed from the cache too.

I just found out this is a duplicate of #220. Not sure which issue to close though.

I'm going to make two changes to the API:

add an endpoint blacklist to the bootstrap method. This will inform the bootstrap about endpoints which it should not connect to. It won't touch the cache however.
add a public remove_from_bootstrap_cache method. This will remove the endpoint from the cache.

I think this should cover the use cases described in this issue and also in #220.

Number 1 is done: https://github.com/madadam/crust/commit/af343335c54a780cb4043c4e94edbd4db9315186. Number two seems that it can already be achieved (somehow counterintuitively) by calling BootstrapHandler::update_contacts:
let mut bh = BootstrapHandler::new();
bh.update_contacts(vec![], vec![enpoint_to_remove1, endpoint_to_remove2, ...]);

Does it make sense to still add the remove_from_bootstrap_cache method to Service? It feels to me like we would be violating the separation of concerns a bit. Perhaps adding a more explicitly named method to BootstrapHandler would be better idea?

I think this should cover the use cases described in this issue and also in #220.

@madadam please check with guys from routing if they like this idea.

Does it make sense to still add the remove_from_bootstrap_cache method to Service? It feels to me like we would be violating the separation of concerns a bit. Perhaps adding a more explicitly named method to BootstrapHandler would be better idea?

I think it still makes sense to add remove_from_bootstrap_cache.

Ok, PR here: https://github.com/maidsafe/crust/pull/459

PR #459 adds two new functions:

Service::bootstrap_with_blacklist(&mut self, token: u32, beacon_port: Option<u16>, blacklist: &[Endpoint])
Service::remove_bootstrap_contact(&mut self, endpoint: Endpoint)

Need to ask routing guys if they're okay with this API to solve this issue and #220.

Fixed by https://github.com/maidsafe/crust/pull/459


HBASE-24740 Enable journal logging for HBase snapshot operation

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
7m  7s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  7s
master passed

+1 :green_heart:
checkstyle
1m 12s
master passed

+1 :green_heart:
spotbugs
2m  8s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 44s
the patch passed

-0 :warning:
checkstyle
1m 10s
hbase-server: The patch generated 1 new + 22 unchanged - 3 fixed = 23 total (was 25)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
12m 17s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 16s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

41m 53s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2104

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 1045a40fa5e9 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a857c6d90c

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
84 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 55s
the patch passed

+1 :green_heart:
compile
1m 21s
the patch passed

+1 :green_heart:
javac
1m 21s
the patch passed

+1 :green_heart:
shadedjars
7m  9s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 51s
hbase-server in the patch failed.

_ Other Tests _

-1 :x:
unit
199m 28s
hbase-server in the patch failed.

231m  5s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2104

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 08a73f07b4ec 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a857c6d90c

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/testReport/

Max. process+thread count
3719 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2104/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Update multilingual.md

There was a mix of TOML and YAML in the first example config. Changed the YAML to TOML. Please check if the syntax is correct (I'm new to TOML).

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Thanks for the submission @asifm.


Cannot play any remote files using the ExoPlayer

On Android, it is currently impossible to play any http or https URL using the ExoPlayer. The reason being the following line:
https://github.com/martijn00/XamarinMediaManager/commit/dcad94ae6981641b2ac443dc1f0b55c0fd492df9#diff-4502773ba4cb767b19ec69fc5a3ac7a0R282
It's the Uri.EscapeDataString(string) method that causes this problem.  Did you test this with any other files other than local ones after doing these changes?
@martijn00 This bug is now in 0.4.0 which is supposed to be a "stable" build, do you not have any testing in place that should have catched this bug earlier?
IMO this bug, which in my opinion is a critical bug that breaks a big part of the component, should have been found way earlier. We even have multiple samples in place that use remote urls that clearly demonstrate that the package is broken.
I will create a pull request that reverts the changes.

Please make a proper fix in the PR before i can merge this.


added spacing around dash in custom title

When adding custom title it's added with a dash without spacing e.g. Bundle Stats-Title.
It looks better with spaces around the dash e.g. Bundle Stats - Title.
The PR fixes this

Happy to land this and drop a patch release, if you don't mind merging in master and running npm run all to resolve the conflict

shipped in https://github.com/github/webpack-bundlesize-compare-action/releases/tag/v1.8.1
thanks @mindtraveller


Copying products assigns the copied products to the cross-selling

PHP Version: 8.3.11   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
If you copy an article that is assigned to a cross-selling, the copied article should not be assigned to the cross-selling.
Actual behaviour:
If you copy an article that is assigned to a cross-selling, the copied article will also be assigned to the cross-selling.
How to reproduce:
Add a cross-sell to an item and assign 1..n items. Copy one of the assigned items. This will also be added to the cross-sell.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38478
[created from NEXT-38478, comment 498296]


Cannot find module 'webpack/schemas/WebpackOptions.json'

Bug Report
I'm trying to run docz:dev and get the following error:
Cannot find module 'webpack/schemas/WebpackOptions.json'
To Reproduce

I have installed react using react-create-app
Inside the project created I have installed docz (npm i docz)
I have added "docz:dev": "docz dev" in package.json
And I tried to run npm run docz:dev

Environment

Ubuntu 18.04 LTS
Node v10.7.0
Npm 6.1.0

Additional context/Screenshots

Can you give a shot of your package.json?

I just installed react:
https://reactjs.org/docs/create-a-new-react-app.html
and docz (npm i docz)

Unfortunately, docz doesn't have integration with old webpack version. If you want to use it you need to upgrade your webpack version to 4.

I also have this issue when installing my packages with npm, however when installed with yarn it runs fine. Does Docz not support npm installations?

@peterph-am I'm also having this issue. Someone opened it as another issue here. Issue #357 .


Incorrect Models

First person - Main-hand

Third person - Any-hand

1st image, main hand looks fine?
Presumably you meant offhand.
What other mods are installed

Any more info?

Lack of info. Closing


[experimental] docker checkpoint ls error messages

The docker checkpoint ls command's error messages can be slightly
improved;
$ docker checkpoint ls nosuchcontainer
Error response from daemon: No such container: nosuchcontainer

This is inconsistent with other commands, which don't print Error response from daemon:;
$ docker service ps nosuchthing
Error: No such service: nosuchthing

$ docker container inspect nosuchthing
[]
Error: No such container: nosuchthing

I also found this;
$ docker checkpoint ls ../../
Error response from daemon: page not found

Whereas (e.g.)
$ docker service ps ../../
Error: No such service: ../../

It's really a corner case, and I'm not sure why other commands succeed in this case, but would be nice
to improve if it's an easy fix :)

#dibs

@bbayani thanks! Let me know if it's an easy fix or requires big changes, I haven't fully looked into this. I know several other commands return Error response from daemon: which may be considered either "useful" or an "implementation detail", so I'm also open to suggestions.
The "page not found" error may be related to https://github.com/docker/docker/issues/28769, I haven't checked yet of the PR fixing that also fixes that issue :smile:
If you want to discuss, feel free to register for the Docker Community Slack (https://blog.docker.com/2016/11/introducing-docker-community-directory-docker-community-slack/), or ping me on IRC (which is still active)

@thaJezath Has this issue been resolved? If not can I have a go at it?

@karsinkk Please go ahead.

https://github.com/docker/docker/blob/master/client/request.go#L184
The difference between
docker checkpoint ls nosuchcontainer
and all other commands is the return code
if serverResp.statusCode < 200 || serverResp.statusCode >= 400 {
.
.
return serverResp, fmt.Errorf("Error response from daemon: %s", strings.TrimSpace(errorMessage))
}
or else it simply returns the server reply.
so I think it is logical to leave it as it is and maybe change the return code form the daemon
@thaJeztah  what do you think ?


Response header

Hello,
For pagination I have info in the response header, but it seems it is cleared out somehow. I couldn't find the cause. In the responseInterceptor only the content-type remains.
Could you help me?
Thanks

Hello,
Are you doing cross domain request or within same domain and same port?
I have a felling that it's cross domain request and browser does not provide the headers to JS.
In that case your server should add some extra headers to response. Please check [here].(https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
If it's not cross domain request, please provide your code examples.

 I've had to add it to Access-Control-Expose-Headers.
Thank you very much!

Always welcome.


Karpenter webhook fails to start on EKS 1.18

Version

Karpenter: v0.2.9

Kubernetes: v1.18.16-eks-7737de
Expected Behavior

Karpenter fresh install to work on 1.18 version
Actual Behavior

Webhook pod keeps crashing
➜  ~ k get pods -A -w
NAMESPACE     NAME                                    READY   STATUS             RESTARTS   AGE
karpenter     karpenter-controller-769d64bdd5-dbh4v   1/1     Running            0          5m19s
karpenter     karpenter-webhook-764fdf4f5-sdsl6       0/1     CrashLoopBackOff   5          5m19s

With the following log message -
k logs -f karpenter-webhook-764fdf4f5-sdsl6 -n karpenter
2021/07/28 22:14:13 Registering 1 clients
2021/07/28 22:14:13 Registering 2 informer factories
2021/07/28 22:14:13 Registering 3 informers
2021/07/28 22:14:13 Registering 3 controllers
{"severity":"INFO","timestamp":"2021-07-28T22:14:13.968745002Z","logger":"fallback-logger","caller":"logging/config.go:79","message":"Fetch GitHub commit ID from kodata failed","error":"open /var/run/ko/HEAD: no such file or directory"}
{"severity":"WARNING","timestamp":"2021-07-28T22:14:13.968790559Z","logger":"fallback-logger","caller":"logging/config.go:72","message":"Failed to parse logging config - using default zap production config"}
{"severity":"INFO","timestamp":"2021-07-28T22:14:13.968815035Z","logger":"fallback-logger.karpenter.webhooks","caller":"profiling/server.go:64","message":"Profiling enabled: false"}
{"severity":"EMERGENCY","timestamp":"2021-07-28T22:14:13.969653964Z","logger":"fallback-logger.karpenter.webhooks","caller":"sharedmain/main.go:273","message":"Version check failed","error":"pre-release kubernetes version \"1.18.16-eks-7737de\" is not compatible, need at least \"1.19.0-\" (this can be overridden with the env var \"KUBERNETES_MIN_VERSION\"); note pre-release version is smaller than the corresponding release version (e.g. 1.x.y-z < 1.x.y), using 1.x.y-0 as the minimum version is likely to help in this case","stacktrace":"knative.dev/pkg/injection/sharedmain.CheckK8sClientMinimumVersionOrDie\n\tknative.dev/pkg@v0.0.0-20210628225612-51cfaabbcdf6/injection/sharedmain/main.go:273\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20210628225612-51cfaabbcdf6/injection/sharedmain/main.go:177\nmain.main\n\tgithub.com/awslabs/karpenter/cmd/webhook/main.go:55\nruntime.main\n\truntime/proc.go:225"}

Steps to Reproduce the Problem

Follow the getting started guide by setting the eksctl ClusterConfig with the following metadata to create EKS 1.18 cluster-
  name: ${CLUSTER_NAME}
  region: ${AWS_DEFAULT_REGION}
  version: "1.18"

After setting the env variable KUBERNETES_MIN_VERSION. Seeing the following error in logs -
{"severity":"ERROR","timestamp":"2021-07-28T22:35:19.906150364Z","logger":"fallback-logger.karpenter.webhooks.DefaultingWebhook","caller":"controller/controller.go:558","message":"Reconcile error","duration":"1.316522ms","error":"failed to fetch namespace: namespaces \"karpenter\" is forbidden: User \"system:serviceaccount:karpenter:karpenter\" cannot get resource \"namespaces\" in API group \"\" in the namespace \"karpenter\"","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\tknative.dev/pkg@v0.0.0-20210628225612-51cfaabbcdf6/controller/controller.go:558\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/pkg@v0.0.0-20210628225612-51cfaabbcdf6/controller/controller.go:541\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/pkg@v0.0.0-20210628225612-51cfaabbcdf6/controller/controller.go:477"}

Hey Prateek. This is fixed in https://github.com/awslabs/karpenter/pull/535


[Feature] Add Beta Gamma Calculator

Description
For solving sums of multivariate calculus, many college students including myself have to go through the hassle of inputting the beta function in expanded form in our scientific calculators. Instead of that if we make a beta function calculator that takes 2 inputs and gives direct result of Beta(a,b) and Gamma(a,b) our task can become simpler!
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Is this Gamma Function Calculator @snigudkar

To calculate beta function of two numbers we require gamma function too. So they are inter related.

Okay go ahead @snigudkar

hi @Rakesh9100 i was travelling when you assigned me the issue can you please give me 1-2 more days? I am really sorry for the delay.


[cdc] fix cdc watermark value emit error

Purpose

Linked issue: close #2745

Tests

API and Format

Documentation

@MonsterChenzhuo  PTAL. thx

cc @yuzelin

@Huyuanfeng2018 Have you encountered any practical problems?

@huyuanfeng2018  "onPeriodicEmit is called regularly, so the system timestamp will be sent as a watermark regularly." This is to solve the mechanism of normal tag creation when no data is written. This is not a bug.

@huyuanfeng2018 "onPeriodicEmit is called regularly, so the system timestamp will be sent as a watermark regularly." This is to solve the mechanism of normal tag creation when no data is written. This is not a bug.

So if periodic calls are always sent using system time, what is the point of extracting watermark? I do not quite understand.
In a scenario where tags are created based on watermarks every day, if there is a delay or backlog in binlog consumption at 0 o'clock, I will still get the system time as the watermark, and my tags will still be created, even if my data has not completely arrived.
So I think that if want to avoid creating tags when no data arrives, you should use other methods to handle it instead of sending the system time as a watermark.

@huyuanfeng2018 Have you encountered any practical problems?

java.lang.IllegalArgumentException: Invalid path or key not found: ts_ms

I did encounter some problems, but due to online tasks, I directly recompiled and restored it. At that time, I did not debug what data caused this error.

@huyuanfeng2018 "onPeriodicEmit is called regularly, so the system timestamp will be sent as a watermark regularly." This is to solve the mechanism of normal tag creation when no data is written. This is not a bug.

So if periodic calls are always sent using system time, what is the point of extracting watermark? I do not quite understand.
In a scenario where tags are created based on watermarks every day, if there is a delay or backlog in binlog consumption at 0 o'clock, I will still get the system time as the watermark, and my tags will still be created, even if my data has not completely arrived.
So I think that if want to avoid creating tags when no data arrives, you should use other methods to handle it instead of sending the system time as a watermark.

Users use watermark semantics to ensure that the creation of tags can overwrite delayed data.

However, the tag is created when 'commit', and the tag can only be created when the data is written. This will cause a problem. When my data is cut off for a period of time, the tag will not be built. In order to solve this problem, we support the idle promotion strategy to use ‘process time’ to promote the water level and promote the creation of tags.

@huyuanfeng2018 "onPeriodicEmit is called regularly, so the system timestamp will be sent as a watermark regularly." This is to solve the mechanism of normal tag creation when no data is written. This is not a bug.

So if periodic calls are always sent using system time, what is the point of extracting watermark? I do not quite understand.
In a scenario where tags are created based on watermarks every day, if there is a delay or backlog in binlog consumption at 0 o'clock, I will still get the system time as the watermark, and my tags will still be created, even if my data has not completely arrived.
So I think that if want to avoid creating tags when no data arrives, you should use other methods to handle it instead of sending the system time as a watermark.

Users use watermark semantics to ensure that the creation of tags can overwrite delayed data.
However, the tag is created when 'commit', and the tag can only be created when the data is written. This will cause a problem. When my data is cut off for a period of time, the tag will not be built. In order to solve this problem, we support the idle promotion strategy to use ‘process time’ to promote the water level and promote the creation of tags.

For example:

So, do we need a mechanism to determine that the source has no data input for a certain period of time, just like a parameter  table.exec.source.idle-timeout

@huyuanfeng2018 "onPeriodicEmit is called regularly, so the system timestamp will be sent as a watermark regularly." This is to solve the mechanism of normal tag creation when no data is written. This is not a bug.

So if periodic calls are always sent using system time, what is the point of extracting watermark? I do not quite understand.
In a scenario where tags are created based on watermarks every day, if there is a delay or backlog in binlog consumption at 0 o'clock, I will still get the system time as the watermark, and my tags will still be created, even if my data has not completely arrived.
So I think that if want to avoid creating tags when no data arrives, you should use other methods to handle it instead of sending the system time as a watermark.

Users use watermark semantics to ensure that the creation of tags can overwrite delayed data.
However, the tag is created when 'commit', and the tag can only be created when the data is written. This will cause a problem. When my data is cut off for a period of time, the tag will not be built. In order to solve this problem, we support the idle promotion strategy to use ‘process time’ to promote the water level and promote the creation of tags.

For example:

So, do we need a mechanism to determine that the source has no data input for a certain period of time, just like a parameter table.exec.source.idle-timeout

You can take a look at this：https://github.com/apache/incubator-paimon/pull/2646

@huyuanfeng2018 "onPeriodicEmit is called regularly, so the system timestamp will be sent as a watermark regularly." This is to solve the mechanism of normal tag creation when no data is written. This is not a bug.

So if periodic calls are always sent using system time, what is the point of extracting watermark? I do not quite understand.
In a scenario where tags are created based on watermarks every day, if there is a delay or backlog in binlog consumption at 0 o'clock, I will still get the system time as the watermark, and my tags will still be created, even if my data has not completely arrived.
So I think that if want to avoid creating tags when no data arrives, you should use other methods to handle it instead of sending the system time as a watermark.

Users use watermark semantics to ensure that the creation of tags can overwrite delayed data.
However, the tag is created when 'commit', and the tag can only be created when the data is written. This will cause a problem. When my data is cut off for a period of time, the tag will not be built. In order to solve this problem, we support the idle promotion strategy to use ‘process time’ to promote the water level and promote the creation of tags.

For example:

So, do we need a mechanism to determine that the source has no data input for a certain period of time, just like a parameter table.exec.source.idle-timeout

You can take a look at this：#2646

Well, this pr looks good, but I still have a problem. This pr is only used to force the generation of snapshots, even if the data has not been sent, and watermarks need to be used to determine whether the conditions for generating snapshots are met. Then we produce watermarks here. Can it be done in a similar way? For example, if I have no data written for 5 minutes, I will force the current time to be sent as the watermark.
            @Override
            public void onEvent(String record, long timestamp, WatermarkOutput output) {
                long tMs;
                try {
                    tMs = timestampExtractor.extractTimestamp(record);
                    currentMaxTimestamp = Math.max(currentMaxTimestamp, tMs);
                    lastEventTimestamp = System.currentTimeMillis();
                } catch (Exception e) {
                    // ignore
                }
            }

            @Override
            public void onPeriodicEmit(WatermarkOutput output) {
                long timeMillis = System.currentTimeMillis();
                if (timeMillis - lastEventTimestamp > 1000 * 60 * 5) {
                    currentMaxTimestamp = timeMillis;
                    output.emitWatermark(new Watermark(timeMillis - 1));
                } else {
                    output.emitWatermark(new Watermark(currentMaxTimestamp - 1));
                }
            }

It seems we didn't find a way to fix this. Close this now, feel free to re-open if you have more thoughts.


"Warn" error when trying to use the caption command

I cant get the plugin to work. I have uninstalled and reinstalled.
It was working just yesterday. But now when I use the get captions command I get a warn error message and no captions are being loaded.

Would you mind checking the console for error messages and posting it? Also the video URL having issues.

I didn't need it until today. But still same error. Here's the console screenshot and the youtube video link

https://youtu.be/sjiP6sDyN-E

Also when I

tried to uninstall and install this is what I get as an error message.

bump, same issue with the "warn"

Looking into this. Looks like it might not be recognizing the link. Will try to reproduce it on my setup

I got the same empty "warn", but seems fixed by calling the /get-youtube-caption in the same block as the video block.

I added some better error messaging to this. Let me know if that helps. You do need to use the block command or slash command in the block with the video

Just tested that https://youtu.be/sjiP6sDyN-E works if run the slash command in the same block


Switch from prettier fork back to prettier

In https://github.com/fern-api/fern/pull/130, we switched to depending on @zachkirsch/prettier since there's a bug in prettier re dynamic requires with webpack. The fix is in https://github.com/prettier/prettier/pull/12797, once that merges + releases, we should switch back.

stale


error occurs when recursion object in nested overridden field

Describe the bug
When I declare a recursion object in response field, run swag init still ok.But when I browser the document in web, below error pops up. And the recursion object only show first level field.

To Reproduce
response.go
package web

type Response struct {
	Status bool        `json:"status"`
	Code   int         `json:"code"`
	Msg    interface{} `json:"msg"`
	Data   interface{} `json:"data,omitempty"`
}

type PageData struct {
	Total    int `json:"total"`
	PageNo   int `json:"page_no"`
	PageSize int `json:"page_size"`
}

menu.go
package models
type SysMenu struct {
	ID        int        `gorm:"primary_key;auto_increment" json:"id"`
	Title     string     `gorm:"size:100;not null" json:"title"`
	Path      string     `gorm:"type:text" json:"path"`
	Children  []*SysMenu `gorm:"-" json:"children"`
	Audit
}

// @Summary Get menus information
// @Description get menus information
// @Tags Menus
// @Produce json
// @Security ApiKeyAuth
// @Success 200 {object} web.Response{data=web.PageData{menus=[]models.SysMenu}} "Menus information"
// @failure 401 {object} web.Response "Unauthorized"
// @failure 403 {object} web.Response "Forbidden"
// @Router /menus/ [get]
func (c *MenusController) Get() {
}

Expected behavior
No error occurs.

Perhaps you had better ask another repository swagger-ui for help.

So you want it to expand indefinitely?
Perhaps you had better ask another repository swagger-ui for help.

I don't want it to expand indefinitely. I just want to stop error popup.
FYI, if I define the recursion object in outer. There is no error and show below.
// @Success 200 {object} web.Response{data=[]models.SysMenu} "Menus information"

I have no idea where the bug comes from.

So branch refactored is recommended, you can checkout it out and have a try.

So branch refactored is recommended, you can checkout it out and have a try.

Still no luck. I think it is swagger-ui bug

You can check doc.json

You can check doc.json

I have check doc.json. No thing seems wrong.

You can check doc.json

I have check doc.json. No thing seems wrong.

So, turn to swagger-ui

I also met the same problem, if you solve this problem, please reply to me


feat(models): delete remote model when delete local one

What does this PR do?
On windows we have a WSL Uploader, which makes the models possibly available on the podman machine.
Screenshot / video of UI
https://github.com/projectatomic/ai-studio/assets/42176370/6dafb91e-c472-4521-9659-0d010b3fbf28
What issues does this PR fix or reference?
Fixes https://github.com/projectatomic/ai-studio/issues/635
How to test this PR?

[x] unit tests has been provided

manually
windows

(1) download a model
(2) start an inference server to ensure it is uploaded on the Podman Machine
(3) stop the inference server
(4) delete the model from the models page

mac&linux

(1) download a model
(2) delete a model

LGTM. Maybe missing some tests for the modelsUtils.ts file

@lstocchi I've added modelsUtils.spec to ensure proper behaviour for each method

LGTM. Maybe missing some tests for the modelsUtils.ts file

@lstocchi I've added modelsUtils.spec to ensure proper behaviour for each method

Thank you!!


[Question] Not able to run ionic project after installing angular-formio

Hi, I'm trying to include formio in my ionic project. So installed angular-formio. But after installation, on running the project, I'm getting errors in the plugin files itself.
Here are a few of the errors :
`typescript: .../node_modules/angular-formio/custom-component/create-custom-component.d.ts, line: 11
';' expected.
  L10:  component: ExtendedComponentSchema<any>;
  L11:  elementInfo(): import("formiojs").ElementInfo;
  L12:  readonly inputInfo: {

typescript: .../node_modules/angular-formio/custom-component/create-custom-component.d.ts, line: 11
Identifier expected.
  L10:  component: ExtendedComponentSchema<any>;
  L11:  elementInfo(): import("formiojs").ElementInfo;
  L12:  readonly inputInfo: {

typescript: .../node_modules/angular-formio/custom-component/create-custom-component.d.ts, line: 11
';' expected.
  L10:  component: ExtendedComponentSchema<any>;
  L11:  elementInfo(): import("formiojs").ElementInfo;
  L12:  readonly inputInfo: {
 ...
 ...
 ...

typescript: .../node_modules/angular-formio/FormioBaseComponent.d.ts, line: 42
Type 'ElementRef' is not generic.
  L41:  ready: EventEmitter<FormioBaseComponent>;
  L42:  formioElement?: ElementRef<any>;
  L43:  AlertsPosition: typeof AlertsPosition;

typescript: .../node_modules/angular-formio/components/formbuilder/formbuilder.component.d.ts, line: 24
Type 'ElementRef' is not generic.
  L23:  change?: EventEmitter<object>;
  L24:  builderElement?: ElementRef<any>;
  L25:  constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);`

All the errors about import is in the create-custom-component.d.ts file.
Tried installing a lower version of the plugin which does not include custom-component file. Then the import errors disappeared, but ElementRef error persists.
What does "Type 'ElementRef' is not generic." mean?!
This is my ionic-info :
`Ionic:
Ionic CLI          : 5.4.16 (...\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework    : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11
Cordova:
Cordova CLI       : 8.1.2<EMAIL_ADDRESS>Cordova Platforms : android 8.0.0
Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 1.2.1, (and 20 other plugins)
Utility:
cordova-res : not installed
native-run  : 0.3.0
System:
Android SDK Tools : 26.1.1 (...\AppData\Local\Android\Sdk)
NodeJS            : v10.13.0 (...\Program Files\nodejs\node.exe)
npm               : 6.4.1
OS                : Windows 10`
And the version of all<EMAIL_ADDRESS>dependencies in package.json is 5.2.11(except '@angular/elements' - lowest available version is 6.1.10)
I've been stuck with this issue for days.
What is the actual cause for the errors? Is it some version mismatch issue? How can I solve it?
Somebody please help!

Could you provide Type Script? You are running an old angular version. Try to update angular cli and core.

This is the plugin file in which I get the error:
create-component.d.ts
import { BuilderInfo, ExtendedComponentSchema } from 'formiojs';
import { FormioCustomComponentInfo, FormioCustomElement } from '../elements.common';
export declare function createCustomFormioComponent(customComponentOptions: FormioCustomComponentInfo): {
new (component: ExtendedComponentSchema, options: any, data: any): {
id: string;
type: string;
_customAngularElement: FormioCustomElement;
readonly defaultSchema: ExtendedComponentSchema;
readonly emptyValue: any;
component: ExtendedComponentSchema;
elementInfo(): import("formiojs").ElementInfo;
readonly inputInfo: {
type: string;
component: ExtendedComponentSchema;
changeEvent: string;
attr: any;
content: string;
id: any;
};
renderElement(value: any, index: number): any;
attach(element: HTMLElement): any;
useWrapper(): boolean;
readonly defaultValue: any;
readonly maskOptions: {
label: any;
value: any;
}[];
readonly isMultipleMasksField: boolean;
getMaskByName(maskName: string): any;
setInputMask(input: any, inputMask: any): any;
getMaskOptions(): {
label: any;
value: any;
}[];
readonly remainingWords: number;
setCounter(type: string, element: any, count: number, max: number): void;
updateValueAt(value: any, flags: any, index: string | number): void;
getValueAt(index: string | number): any;
updateValue(value: any, flags: any, index: string | number): any;
attachElement(element: any, index: string | number): void;
readonly widget: any;
createWidget(index: string | number): any;
addFocusBlurEvents(element: any): void;
dataValue: any;
readonly addAnother: any;
renderRow(value: any, index: any): any;
onSelectMaskHandler(event: any): void;
tryAttachMultipleMasksInput(): boolean;
updateMask(input: any, mask: any): void;
addNewValue(value: any): void;
addValue(): void;
render(element: any): any;
originalComponent: any;
refs: Object;
attached: boolean;
rendered: boolean;
data: Object;
error: string;
tooltip: string;
row: any;
pristine: boolean;
parent: any;
root: any;
lastChanged: any;
triggerRedraw: Function;
tooltips: any[];
invalid: boolean;
isBuilt: boolean;
readonly ready: any;
readonly labelInfo: any;
init(): void;
destroy(): void;
readonly shouldDisabled: any;
readonly isInputComponent: boolean;
readonly hasInput: boolean;
readonly key: any;
parentVisible: any;
parentDisabled: any;
visible: any;
currentForm: any;
readonly fullMode: boolean;
readonly builderMode: boolean;
getModifiedSchema(schema: ExtendedComponentSchema, defaultSchema: import("formiojs").ComponentSchema, recursion: boolean): ExtendedComponentSchema;
readonly schema: ExtendedComponentSchema;
t(text: string, params?:  Object, children?: string | HTMLElement | (string | HTMLElement)[]): HTMLElement;
appendChild(element: any, child: any): any;
maskPlaceholder(mask: HTMLElement): string;
text(text: string): Text;
attr(element: HTMLElement, attr: Object): void;
empty(element: HTMLElement): void;
interpolate(string: any, data: any): any;
evaluate(func: any, args: any, ret: any, tokenize?: any): any;
hook(...args: any[]): any;
};
editForm: () => {
components: ExtendedComponentSchema[];
};
schema(): ExtendedComponentSchema;
readonly builderInfo: BuilderInfo;
tableView(value: any, options: any): void;
};
Current dependencies in package.json :
"dependencies": {
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/http": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@ionic-native/android-permissions": "^4.20.0",
"@ionic-native/badge": "^4.20.0",
"@ionic-native/base64-to-gallery": "^4.11.0",
"@ionic-native/camera": "^4.11.0",
"@ionic-native/core": "^4.10.1",
"@ionic-native/crop": "^4.11.0",
"@ionic-native/diagnostic": "^4.17.0",
"@ionic-native/geolocation": "^4.12.0",
"@ionic-native/http": "^4.20.0",
"@ionic-native/location-accuracy": "^4.17.0",
"@ionic-native/native-page-transitions": "^4.11.0",
"@ionic-native/network": "^4.15.0",
"@ionic-native/open-native-settings": "^4.16.0",
"@ionic-native/push": "^4.20.0",
"@ionic-native/sim": "^4.20.0",
"@ionic-native/sms": "^4.20.0",
"@ionic-native/splash-screen": "^4.10.1",
"@ionic-native/sqlite": "^4.20.0",
"@ionic-native/status-bar": "~4.10.0",
"@ionic/storage": "^2.1.3",
"@ngx-translate/core": "^10.0.2",
"@ngx-translate/http-loader": "^3.0.1",
"@types/node": "^14.0.6",
"angular-formio": "^4.8.4",
"angular-weather-widget": "^1.2.4",
"com.telerik.plugins.nativepagetransitions": "^0.6.5",
"cordova-android": "^8.0.0",
"cordova-android-firebase-gradle-release": "^4.0.0",
"cordova-android-play-services-gradle-release": "^1.4.6",
"cordova-azure-notification-hubs": "^1.0.6",
"cordova-base64-to-gallery": "^4.1.3",
"cordova-open-native-settings": "^1.5.2",
"cordova-plugin-android-permissions": "^1.0.2",
"cordova-plugin-badge": "^0.8.8",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-crop": "^0.4.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-geolocation": "^4.0.2",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^1.2.1",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-plugin-sim": "^1.3.3",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-sms-plugin": "^1.0.0",
"cordova-sqlite-storage": "^2.6.0",
"cordova-support-google-services": "^1.3.2",
"cordova.plugins.diagnostic": "^4.0.10",
"intl": "^1.2.5",
"ionic-angular": "3.9.2",
"ionic-img-viewer": "^2.9.0",
"ionic2-calendar": "^0.4.5",
"ionicons": "3.0.0",
"moment": "^2.24.0",
"ng2-translate": "^5.0.0",
"phonegap-plugin-multidex": "^1.0.0",
"rxjs": "5.5.11",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.26"
},
"devDependencies": {
"@ionic/app-scripts": "3.1.11",
"typescript": "~2.6.2"
},
@edwinanciani How can i update this?

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


docs: Replace the outdated @rspress/plugin-last-updated api lastUpda…

…ted with pluginLastUpdated
Summary
Related Issue

Checklist

[ ] Tests updated (or not required).
Documentation updated (or not required).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thx, can you update the English documentation at the same time~


perf: make loading shallow weights up to 20X faster

What does this PR do?

Fixes #361. Local profiling shows majority of the time is spent on recurring accesses to the tensor metadata on every individual tensor fetching. This might be negligible when fetching a few tensors (and is actually better to have it lazily, so I understand the design intentions) but when reading whole weight files (such as a diffusion LoRA) it adds up quickly and causes exponential performance degradation.
With this PR, the example in #361 is now as fast as torch (and performs even better)! Median went from 0.33 seconds to 0.017 seconds. Torch is still at 0.023 seconds so safetensors beats it :)
Testing a real world LoRA with results in similiar perf gains (script.py) where median goes from ~0.4 seconds to under 0.018 seconds (more than 20X).

Benchmarks:
---------------------------------------------------------------------------------------------------------------------------- benchmark: 4 tests ---------------------------------------------------------------------------------------------------------------------------
Name (time in ms)                                                                                Min                   Max                  Mean             StdDev                Median                IQR            Outliers       OPS            Rounds  Iterations
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_pt_sf_load_cpu[weight_creator0] (NOW)                                                       1.3438 (1.0)         33.3606 (12.41)        1.5071 (1.0)       1.9692 (111.51)       1.3747 (1.0)       0.0184 (1.0)          2;43  663.5463 (1.0)         511           1
test_pt_sf_load_cpu[weight_creator0] (.benchmarks/Linux-CPython-3.11-64bit/0003_baselin)         2.5957 (1.93)         2.6880 (1.0)          2.6348 (1.75)      0.0177 (1.0)          2.6320 (1.91)      0.0223 (1.21)        103;5  379.5325 (0.57)        329           1
test_pt_sf_load_cpu[weight_creator1] (NOW)                                                      34.9504 (26.01)       73.6812 (27.41)       55.2946 (36.69)    19.0215 (>1000.0)     70.4852 (51.27)    37.2772 (>1000.0)       4;0   18.0850 (0.03)         13           1
test_pt_sf_load_cpu[weight_creator1] (.benchmarks/Linux-CPython-3.11-64bit/0003_baselin)     1,493.7300 (>1000.0)  1,534.2338 (570.77)   1,505.5897 (999.03)   16.4876 (933.67)   1,499.5223 (>1000.0)  16.1243 (877.93)        1;0    0.6642 (0.00)          5           1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

amazing

Superseed by #363
Thanks @isidentical for confirming the other PR works just as good and creating this !


Using pinia-plugin-persistedstate alongwith VitePress produces build-time error

Are you using Nuxt?

[ ] Check this box if you encountered the issue using Nuxt and the included module.

Describe the bug
Although VitePress is created with Nuxt, it doesn't provide the same plugin system as Nuxt.
Therefore, when I am using pinia-plugin-persistedstate with VitePress, it will throw an error at build time like window is not defined or localStorage is not defined. The build will not fail, and the plugin will work normally, but this error is a little confusing.
Here is a minimal reproduction: https://github.com/mark9804/repro-pinia-persistedstate-vitepress
Reproduction
https://github.com/mark9804/repro-pinia-persistedstate-vitepress
System Info
System:
    OS: macOS 15.2
    CPU: (11) arm64 Apple M3 Pro
    Memory: 146.09 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.3.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.0 - /opt/homebrew/bin/npm
    pnpm: 9.14.2 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.86
    Safari: 18.2

Used Package Manager
pnpm
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.
[X] The provided reproduction is a minimal reproducible of the bug.

Hi, not sure this is a problem from the plugin itself, but rather how to use libraries that rely on client only imports with vitepress.
You may want to refer to this documentation https://vitepress.dev/guide/ssr-compat#libraries-that-access-browser-api-on-import


System.ArgumentOutOfRangeException in FetchConfirmations()

Have method and in line with foreaching confirmations i have this error (System.ArgumentOutOfRangeException).
private static void AcceptConfirmationsLoop(SteamGuardAccount sgAccount)         {             sgAccount.RefreshSession();
        while (true) //permanent loop, can be changed

        {

            Console.WriteLine(sgAccount.GenerateSteamGuardCode());

            foreach (Confirmation confirmation in sgAccount.FetchConfirmations())

            {

                sgAccount.AcceptConfirmation(confirmation);

            }

            Thread.Sleep(30000);

        }

    }

I'm updated old method and deleted WebLogin and _account variable, cause in SteamAuth i'm found the RefreshSession() method.
If i using old code with replace cookie`s i have some problem to.
What i need to do?

Please bring this issue up on the actual SteamAuth github, I do not own that project.


INT B-21114 Address related language changes (Office)

Agility ticket
Summary
The following changes were made on the Office/Prime side in order to make address related language consistent across the MilMove app:

"Destination Address" -> "Delivery Address"
"Pickup Location" -> "Pickup Address"
"Current Address" -> "Pickup Address"

How to test

Access the
Login as a

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Screenshots

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against<PHONE_NUMBER>18443dbc59c742d8d118a710ba5197


support proxying HLS

Codecov Report

Merging #551 (ba85fc6) into main (5eb4741) will decrease coverage by 1.18%.
The diff coverage is 57.43%.

:exclamation: Current head ba85fc6 differs from pull request most recent head 631ed78. Consider uploading reports for the commit 631ed78 to get more accurate results

@@            Coverage Diff             @@
##             main     #551      +/-   ##
==========================================
- Coverage   74.59%   73.40%   -1.19%
==========================================
  Files          32       34       +2
  Lines        4219     4696     +477
==========================================
+ Hits         3147     3447     +300
- Misses        876     1014     +138
- Partials      196      235      +39

Impacted Files
Coverage Δ

internal/conf/path.go
22.48% <0.00%> (-2.04%)
:arrow_down:

internal/hls/client.go
53.04% <53.04%> (ø)

internal/aac/adts.go
71.01% <71.87%> (+31.01%)
:arrow_up:

internal/core/hls_source.go
78.31% <78.31%> (ø)

internal/core/path.go
76.37% <100.00%> (+0.40%)
:arrow_up:

internal/hls/segment.go
77.34% <100.00%> (ø)

internal/core/rtmp_conn.go
75.32% <0.00%> (-0.65%)
:arrow_down:

internal/core/path_manager.go
92.64% <0.00%> (+0.43%)
:arrow_up:

Continue to review full report at Codecov.

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