Implementation of CiliumEndpointBatch (CFP-2021-08)

Using this issue to track Implementation of CiliumEndpointBatch CFP is planned in the following PRs to a dedicated feature branch for easier testing and minimum disruption to master.

[x] Adds CiliumEndpointBatch CRD (#16864)
[x] Operator batches CiliumEndpoints into CiliumEndpointBatches (https://github.com/cilium/cilium/pull/16945)
[x] Agent watches for CiliumEndpointBatch instead of CiliumEndpoints (https://github.com/cilium/cilium/pull/17207)
[x] Additional CEB metrics (https://github.com/cilium/cilium/pull/17410, https://github.com/cilium/cilium/pull/17498)
[x] Rename CiliumEndpointBatch to CiliumEndpointSlice and make it namespace-scoped (https://github.com/cilium/cilium/pull/17554)
[x] Identity grouping (https://github.com/cilium/cilium/pull/17345, https://github.com/cilium/cilium/pull/17520)
[x] Pass master CI tests and merge into master (https://github.com/cilium/cilium/pull/17658)
[x] Enable CES for new PRs in 1.21+ CI (https://github.com/cilium/cilium/pull/17698)
[x] Documentation (https://github.com/cilium/cilium/pull/17430)

Follow up items after 1.11 (not in order):

[ ] Move API to v2beta1
[ ] Design some kind of auto-governor to self-adjust CES work queue rate limit, aka for small scale, set higher qps for quicker CEP propagation, for large scale, set lower qps for better scalability
[ ] Expose internal knobs to users
[ ] Add fine-tuning doc in performance/scalability section (https://docs.cilium.io/en/latest/operations/performance/scalability/)

@krishgobinath

/cc

@Weil0ng Should we keep this GH issue open for 1.12 development cycle? Thanks

@Weil0ng Should we keep this GH issue open for 1.12 development cycle? Thanks

Sorry just was this, yes, let's track these for 1.12.


Text appear animation

Haven't found that in the docs. Is it possible to have animation for the text when it appears on the screen? Like in this example: https://webstoryengine.org/

Sadly right now this is not possible but it may come on next releases, most of the web engines that have this feature are purely run on a canvas element, Monogatari was designed to act like a normal website using the DOM. You can find some examples here but they do add some complexity. As soon as I have news on this feature I'll let you know!

Typewriter effect looks nice, thanks. I will try it.

If you still plan to build this feature, I think I've got something viable. It's been awhile since I looked at the source for this project, but I think you were updating text using a query and replacing inner html.
In that case you could use typed.js, by pointing it to that text container and updating the typed object with the new text. This should open up the possibilities of letting the user control text speed and whatnot.
Tweaked a jsFiddle to show what I'm talking about.
I know it says to install with npm, but I know for a fact you can just include it with a regular

As for animations other than the typing effect, I'll just say that I've never seen any VN use anything that isn't a typing effect.

Ah, that seems viable indeed! Will check how to add it to Monogatari 👍 Thanks a lot! Glad to see you around :)

So... good news, type animation is now a built-in feature, it was added in 2b7e782733f34a7beac569cf3bf7e66f5eed5d03. This adds a new engine configuration variable TextSpeed and the typed.js library @Tamakimouto mentioned (Thanks a lot!).
A lot of the code base has changed because I added lint tools and am correcting every code styling issue but hopefully it all works out just fine.

Thanks! I think we can close this now.


adding video controller for adobetv

Resolves: MWPW-110446
Test URLs:

Before: https://main--milo--adobecom.hlx.page/docs/authoring/how-to-videos
After: https://video-control--milo--adobecom.hlx.page/docs/authoring/how-to-videos

There are two ways to close the modal

Click the x on the right top corner of the modal.
Click outside of modal then press ESC key.

With case 2, it doesn't only keep playing the video in background but it doesn't also let user reopening same modal because the hash value doesn't get cleared.
This PR will fix the bug for both scenarios of closing  modal and clear the hash value as well.
@auniverseaway,  I also added the how to videos link on https://milo.adobe.com/docs/authoring/.  I hope this is right move.

I think this is overly complicated. I think we should just destroy the modal on close. There's going to be a lot of use cases to stop things on modals and that covers everything. I'd at least start in that direction.


added the ability to specify the max batch size for ES bulk operations

added the functionality to specify the ES - bulk size, since this is a must - depending on the use-case

LGTM

Will release along with #10 as 0.3.7 - thank you!


CI is hella long

CI is very long. caching should probably be implemented for all of them to speed it up because we don't need to build the resources each and every time

fixed in 308389


Fix the printf warning after blkcnt_t change

Summary
required by: https://github.com/apache/incubator-nuttx/pull/4193
Impact
Minor change.
Testing

@xiaoxiang781216 error: Relative file path does not match actual file

Thanks done, @jerpelea .


clib: introduce nydus-clib framework

Introduce nydus-clib framework, which provides static/dynamic to integrate nydus functionality into C programs.
Signed-off-by: Jiang Liu<EMAIL_ADDRESS>

Is this a lib to support lazily fetching remote image/file objects using nydus? Can we integrate it into any other languages?

Is this a lib to support lazily fetching remote image/file objects using nydus? Can we integrate it into any other languages?

Yes, we hope this library to complete the puzzle:

use nydus by in kernel fs EROFS,
use nydus by fuse
use nydus by library

So need help to define the Nydus API interfaces for applications to integrate Nydus.

/retest


sd_setImage crash when using Storage emulator

Step 1: Are you in the right place?
I believe so.
Step 2: Describe your environment

Objective C or Swift: Swift
iOS version: 16.0
Firebase SDK version: 10.0
FirebaseUI version: 12.3.1
CocoaPods Version: 1.11.3

Step 3: Describe the problem:
My code is trying to use sd_setImage to load an image stored in a Firebase Storage. I'm using the Firebase Emulator and have loaded some images in a folder in the emulator under, well, "images". I've attempted this both in my own app and in the sample app from FirebaseUI-demo.
Steps to reproduce:
Follow the instructions to set up to run the samples app locally.
Added line to FUIAppDelegate.swift use the emulator:
     Storage.storage().useEmulator(withHost:"localhost", port:9199)
Observed Results:
Crashes with exception:
2022-10-30 19:38:50.916495-0600 FirebaseUI-demo-swift[32333:257475] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FIRStorageTask fetcher]: unrecognized selector sent to instance 0x6000025169d0'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007ff800427378 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007ff80004dbaf objc_exception_throw + 48
    2   CoreFoundation                      0x00007ff800436588 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
    3   CoreFoundation                      0x00007ff80042b83d ___forwarding___ + 1431
    4   CoreFoundation                      0x00007ff80042db38 _CF_forwarding_prep_0 + 120
    5   FirebaseStorageUI                   0x000000010fa5a6c0 __80-[FUIStorageImageLoader requestImageWithURL:options:context:progress:completed:]_block_invoke.53 + 128
    6   FirebaseStorage                     0x000000010fd6e889 $s15FirebaseStorage0B12TaskSnapshotCIeyBy_ACIegg_TR + 25
    7   FirebaseStorage                     0x000000010fd6e698 $s15FirebaseStorage0B14ObservableTaskC7observe_7handlerSSAA0bD6StatusO_yAA0bD8SnapshotCctFySo014FIRIMPLStoragedH0CcfU_ + 168
    8   FirebaseStorage                     0x000000010fd6e74a $sSo26FIRIMPLStorageTaskSnapshotCIegg_ABIeyBy_TR + 58
    9   FirebaseStorageInternal             0x000000010ff9db44 __54-[FIRIMPLStorageObservableTask fireHandlers:snapshot:]_block_invoke_2 + 36
    10  libdispatch.dylib                   0x00000001106c2d18 _dispatch_call_block_and_release + 12
    11  libdispatch.dylib                   0x00000001106c3f5b _dispatch_client_callout + 8
    12  libdispatch.dylib                   0x00000001106d4d55 _dispatch_main_queue_drain + 1463
    13  libdispatch.dylib                   0x00000001106d4790 _dispatch_main_queue_callback_4CF + 31
    14  CoreFoundation                      0x00007ff8003869f7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    15  CoreFoundation                      0x00007ff8003813c6 __CFRunLoopRun + 2482
    16  CoreFoundation                      0x00007ff800380637 CFRunLoopRunSpecific + 560
    17  GraphicsServices                    0x00007ff809c0f28a GSEventRunModal + 139
    18  UIKitCore                           0x000000011bd9e425 -[UIApplication _run] + 994
    19  UIKitCore                           0x000000011bda3301 UIApplicationMain + 123
    20  FirebaseUI-demo-swift               0x000000010f1c316f main + 63
    21  dyld                                0x000000010f48d2bf start_sim + 10
    22  ???                                 0x000000011523052e 0x0 +<PHONE_NUMBER>
)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FIRStorageTask fetcher]: unrecognized selector sent to instance 0x6000025169d0'
terminating with uncaught exception of type NSException
CoreSimulator 857.7 - Device: iPhone 14 Pro (2935292C-6CCB-4EB6-9B9B-58EA25365753) - Runtime: iOS 16.0 (20A360) - DeviceType: iPhone 14 Pro

The emulator log implies the fetch succeeded:
Starting DownloadTask

2022-10-31 01:38:50 +0000  elapsed: 0.054sec
Request: GET http://localhost:9199/v0/b/xxxxxx-3df69.appspot.com/o/images%2Fbess.jpg?alt=media
Request headers:
  User-Agent: com.google.firebase.firebaseui.FirebaseUI-demo-swift/1.0 iPhone/16.0 hw/sim
  x-firebase-gmpid: 1:1092111096994:ios:4fff06c4faedf6306c4bfb
  x-firebase-storage-version: ios/9.6.0

Response: status 200
Response headers:
  Accept-Ranges: bytes
  Access-Control-Expose-Headers: content-type,x-firebase-storage-version,x-goog-upload-url,x-goog-upload-status,x-goog-upload-command,x-gupload-uploadid,x-goog-upload-header-content-length,x-goog-upload-header-content-type,x-goog-upload-protocol,x-goog-upload-status,x-goog-upload-chunk-granularity,x-goog-upload-control-url
  Connection: keep-alive
  Content-Disposition: inline
  Content-Length: 537875
  Content-Type: image/jpeg
  Date: Mon, 31 Oct 2022 01:38:50 GMT
  Keep-Alive: timeout=5
  Vary: Origin
  X-Powered-By: Express

Response body: (537875 bytes)
<<537875 bytes>>

And using the URL in the browser succeeds as well, the photo is shown. http://localhost:9199/v0/b/xxxxxx-3df69.appspot.com/o/images%2Fbess.jpg?alt=media
Expected Results:
Image loads with no issues.
Relevant Code:
Added line in FUIAppDelegate.swift to use the emulator:
     Storage.storage().useEmulator(withHost:"localhost", port:9199)

I've further isolated this to the use of .progressiveLoad in the option of sd_setImage(with: self.storageRef,. Without .progressiveLoad, the sample does not crash. With .progressiveLoad, it crashes.


FIxup license

It isn't arranged correctly. Check LICENSE.

Dealt with in https://github.com/lwm/tasty-discover/commit/0f64f05ab61a6f7d32dfc074a5dc16c66a8ebe8c.


Finish the code reorg

I've gotten a good bit of the way through the work of implementing #2698 but I'm running out of steam so thought I'd pause. I could pick it up later or maybe other folks would like to pick up what's left.
After #2829 and #2831 are merged here's what remains:

[x] Refactor services/categories.js, probably by leaving the category defs there and moving the rest into core/base-service (#3100)
[x] Refactor services/index.js, moving the loader to core/base-service/loader.js (#2861)
[x] Moving "good" badge helpers from lib/ to services/ (#3101)
[ ] Moving "bad" badge helpers into lib/ to core/legacy/
[ ] Anything else I missed

#2698 can be used as a reference.

I started moving more of the legacy helpers, though it seems like it makes more sense to close out the home stretch of refactors in the next couple weeks. This is generating a bunch of conflicts with those changes, and mostly involves changing code that we want to delete.
After #3162 and #3163, what's left is:

badge-data.js which can be removed as soon as the refactors are done
load-logos.js, load-simple-icons.js, logos.js, and svg-helpers.js which should be moved into the npm package. "Refactor logo resolution so it happens in the badge generator" is in the backlog though it doesn't have an issue yet. Probably makes sense to move it once instead of twice.
server-secrets.js which should be eliminated in favor of injecting the secrets through BaseService.register() That'll require touching all the service implementations and probably that should happen once instead of twice.

We could open new issues for 2 and 3 and close this out.

#3392 removes badge-data.js.

Item (2) has been listed as a dependency in #3370, so let's track that there.
For item (3) I opened #3393.
Closing!


Update symbol visibility control

Prior to this commit, linker version scripts were used to control the set of
visible symbols. These scripts exported C++ symbols, that do not have a stable
ABI and should not have been exported. Instead, use MXNET_DLL macro to
annotate the visiblity in the source code and remove the linker version scripts where
possible.
Refer to "Deep CMake For Library Authors" CppCon 2019 talk by Craig Scott for
details on the cmake settings.
Some third-party libraries began relying on the C++ symbols, for example Horovod.
We need to rewrite their integration to only rely on the C API. These libraries are currently broken in any case, as they assume a different C++ ABI than the one used by the MXNet static build script. We can't change the static build script to adopt a different ABI without dropping support for RHEL7 based systems (see https://bugzilla.redhat.com/show_bug.cgi?id=1546704)

@mxnet-bot run ci [centos-gpu]


Unrendered HTML character codes in HTML reports

Describe the bug
While using the latest version of the Application Inspector, the generated HTML reports contain a lot of not rendered HTML codes (e.g. & lt; & quot; ...) on the following pages: Project info, Metadata ... and in the "Source File Listings". The corresponding characters should replace the HTML codes.
To Reproduce
Steps to reproduce the behavior:

Download and unpack AppInspector 1.2.69
Download and unzip the source code of AppInspector as test-application
Execute a full analysis of the downloaded application
dotnet ${MAI} analyze -s ${APP} -b false -v Info -x high -c high,medium -k lib,.vs,.git,.idea
Open the Summary -> Project Info / Summary -> Metadata / Features -> Click a feature -> click on an associated rules

Expected behavior
No un-rendered HTML codes should appear.
Screenshots

Desktop (please complete the following information):

OS: macOS 10.15.6
Browser: Chrome Version 85.0.4183.102 (Official Build) (64-bit)

Thanks for catching this.  Must be a side effect of recent changes that wasn't caught -didn't see and will correct this asap.

fixed


[feat] support Multi application

Describe the problem
I want to develop an application one is in the dock, the second is on back like mac spotlight.
can this support ? or has other way?
Describe the solution you'd like
like this
pub fn run() {
    let app = tauri::Builder::default()
        .plugin(tauri_plugin_shell::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");

    let app2 = tauri::Builder::default()
        .plugin(tauri_plugin_shell::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application2");
}

Alternatives considered
No response
Additional context
No response

there can only be one NSApplication (macos api) in one binary, and therefore only one tauri::Builder in one project. Tauri supports multiple windows per app if that helps. If not, then you have to create 2 apps yourself and bundle them together (though afaik you can also only have one "real" app per app bundle 🤔 )


Fixed bug with transfer on root site collections

Fixed a bug in issue #298
Added new scenario to tests

Thx @pkbullock . God fix, will merge this one today


how to dress SMPL ?

Hi,
This is a great project, how to use this project generate garment to dress SMPL model? Thanks

Thanks a lot.


Error on start Self-Hosted Engine due PrismaORM

Dockercompose
My docker-compose.yml:
  engine:
    image: thirdweb/engine:latest
    ports:
      - "3005:3005"
    environment:
      - POSTGRES_CONNECTION_URL=postgresql://user:password@db:5432/engine?schema=public
      - ENCRYPTION_PASSWORD=<password>
      - THIRDWEB_API_SECRET_KEY=<key>
      - ADMIN_WALLET_ADDRESS=<address>
      - ENABLE_HTTPS=false
    depends_on:
      - postgres

Error
The db is a postgres docker on the same docker-compose
first run
yarn run v1.22.19
2024-04-18T19:25:18.898131131Z $ yarn prisma:setup:prod && yarn start:run
2024-04-18T19:25:19.056044416Z $ npx tsx ./dist/scripts/setup-db.js
2024-04-18T19:25:21.176989376Z npm WARN exec The following package was not found and will be installed<EMAIL_ADDRESS>2024-04-18T19:25:24.696281941Z prisma:info Starting a postgresql pool with 25 connections.
2024-04-18T19:25:24.865855299Z $ /app/node_modules/.bin/prisma migrate deploy --schema ./dist/prisma/schema.prisma
2024-04-18T19:25:25.286845068Z Prisma schema loaded from dist/prisma/schema.prisma
2024-04-18T19:25:25.295067642Z Datasource "db": PostgreSQL database "engine", schema "public" at "db:5432"
2024-04-18T19:25:25.343622460Z
2024-04-18T19:25:25.343656981Z 28 migrations found in prisma/migrations
2024-04-18T19:25:25.343662561Z
2024-04-18T19:25:25.416183618Z Applying migration `20230913025746_init`
2024-04-18T19:25:25.479150141Z Applying migration `20230913061811_triggers`
2024-04-18T19:25:25.483831850Z Error: P3018
2024-04-18T19:25:25.483859071Z
2024-04-18T19:25:25.483864651Z A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
2024-04-18T19:25:25.483868121Z
2024-04-18T19:25:25.483870141Z Migration name:<PHONE_NUMBER>1811_triggers
2024-04-18T19:25:25.483872051Z
2024-04-18T19:25:25.483873901Z Database error code: 42601
2024-04-18T19:25:25.483875731Z
2024-04-18T19:25:25.483877491Z Database error:
2024-04-18T19:25:25.483879381Z ERROR: syntax error at or near "TRIGGER"
2024-04-18T19:25:25.483881321Z
2024-04-18T19:25:25.483883101Z Position:
2024-04-18T19:25:25.483884911Z  19   )::text);
2024-04-18T19:25:25.483887121Z  20   RETURN NEW;
2024-04-18T19:25:25.483889062Z  21 END;
2024-04-18T19:25:25.483890982Z  22 $function$;
2024-04-18T19:25:25.483893592Z  23
2024-04-18T19:25:25.483895582Z  24 CREATE OR REPLACE TRIGGER transactions_insert_trigger
2024-04-18T19:25:25.483897602Z
2024-04-18T19:25:25.483899542Z DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42601), message: "syntax error at or near \"TRIGGER\"", detail: None, hint: None, position: Some(Original(551)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("scan.l"), line: Some(1176), routine: Some("scanner_yyerror") }
2024-04-18T19:25:25.483902292Z
2024-04-18T19:25:25.483904082Z
2024-04-18T19:25:25.496970958Z error Command failed with exit code 1.
2024-04-18T19:25:25.497007820Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2024-04-18T19:25:25.508531930Z node:internal/errors:865
2024-04-18T19:25:25.508560971Z   const err = new Error(message);
2024-04-18T19:25:25.508566681Z               ^
2024-04-18T19:25:25.508569501Z
2024-04-18T19:25:25.508571651Z Error: Command failed: yarn prisma migrate deploy --schema ./dist/prisma/schema.prisma
2024-04-18T19:25:25.508573681Z     at __node_internal_genericNodeError (node:internal/errors:865:15)
2024-04-18T19:25:25.508575601Z     at checkExecSyncError (node:child_process:890:11)
2024-04-18T19:25:25.508577471Z     at execSync (node:child_process:962:15)
2024-04-18T19:25:25.508579402Z     at main (file:///app/dist/scripts/setup-db.js:21:9) {
2024-04-18T19:25:25.508581312Z   status: 1,
2024-04-18T19:25:25.508583152Z   signal: null,
2024-04-18T19:25:25.508584962Z   output: [ null, null, null ],
2024-04-18T19:25:25.508586772Z   pid: 128,
2024-04-18T19:25:25.508588612Z   stdout: null,
2024-04-18T19:25:25.508590712Z   stderr: null
2024-04-18T19:25:25.508592542Z }
2024-04-18T19:25:25.508594392Z
2024-04-18T19:25:25.508596252Z Node.js v18.19.1
2024-04-18T19:25:25.518283009Z npm notice
2024-04-18T19:25:25.518393232Z npm notice New minor version of npm available! 10.2.4 -> 10.5.2
2024-04-18T19:25:25.518402982Z npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
2024-04-18T19:25:25.518405932Z npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
2024-04-18T19:25:25.518408032Z npm notice
2024-04-18T19:25:25.534472247Z error Command failed with exit code 1.
2024-04-18T19:25:25.534518239Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2024-04-18T19:25:25.550590962Z error Command failed with exit code 1.
2024-04-18T19:25:25.550637739Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

second run
yarn run v1.22.19
2024-04-18T18:26:02.912087582Z $ yarn prisma:setup:prod && yarn start:run
2024-04-18T18:26:03.068464891Z $ npx tsx ./dist/scripts/setup-db.js
2024-04-18T18:26:05.845154103Z npm WARN exec The following package was not found and will be installed<EMAIL_ADDRESS>2024-04-18T18:26:08.379764796Z prisma:info Starting a postgresql pool with 25 connections.
2024-04-18T18:26:08.550881710Z $ /app/node_modules/.bin/prisma migrate deploy --schema ./dist/prisma/schema.prisma
2024-04-18T18:26:08.986245819Z Prisma schema loaded from dist/prisma/schema.prisma
2024-04-18T18:26:08.994446911Z Datasource "db": PostgreSQL database "engine", schema "public" at "db:5432"
2024-04-18T18:26:09.036031070Z
2024-04-18T18:26:09.036070001Z 31 migrations found in prisma/migrations
2024-04-18T18:26:09.036075641Z
2024-04-18T18:26:09.064493397Z Error: P3009
2024-04-18T18:26:09.064522958Z
2024-04-18T18:26:09.064528488Z migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
2024-04-18T18:26:09.064532108Z The `20230913061811_triggers` migration started at 2024-04-18 18:24:13.073938 UTC failed
2024-04-18T18:26:09.064534248Z
2024-04-18T18:26:09.064536048Z
2024-04-18T18:26:09.076607772Z error Command failed with exit code 1.
2024-04-18T18:26:09.076638923Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2024-04-18T18:26:09.085788331Z node:internal/errors:865
2024-04-18T18:26:09.085811252Z   const err = new Error(message);
2024-04-18T18:26:09.085816812Z               ^
2024-04-18T18:26:09.085819472Z
2024-04-18T18:26:09.085821502Z Error: Command failed: yarn prisma migrate deploy --schema ./dist/prisma/schema.prisma
2024-04-18T18:26:09.085823462Z     at __node_internal_genericNodeError (node:internal/errors:865:15)
2024-04-18T18:26:09.085825342Z     at checkExecSyncError (node:child_process:890:11)
2024-04-18T18:26:09.085827193Z     at execSync (node:child_process:962:15)
2024-04-18T18:26:09.085829013Z     at main (file:///app/dist/scripts/setup-db.js:21:9) {
2024-04-18T18:26:09.085830903Z   status: 1,
2024-04-18T18:26:09.085832793Z   signal: null,
2024-04-18T18:26:09.085834593Z   output: [ null, null, null ],
2024-04-18T18:26:09.085836493Z   pid: 105,
2024-04-18T18:26:09.085849233Z   stdout: null,
2024-04-18T18:26:09.085851053Z   stderr: null
2024-04-18T18:26:09.085852863Z }
2024-04-18T18:26:09.085854673Z
2024-04-18T18:26:09.085856503Z Node.js v18.19.1
2024-04-18T18:26:09.095146146Z npm notice
2024-04-18T18:26:09.095308111Z npm notice New minor version of npm available! 10.2.4 -> 10.5.2
2024-04-18T18:26:09.095316941Z npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
2024-04-18T18:26:09.095320041Z npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
2024-04-18T18:26:09.095322161Z npm notice
2024-04-18T18:26:09.110663847Z error Command failed with exit code 1.
2024-04-18T18:26:09.110726960Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2024-04-18T18:26:09.126692541Z error Command failed with exit code 1.
2024-04-18T18:26:09.126707171Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Hello @farhanW3, can you take a look into this? Our user here is having trouble with the existing database with Engine.

I have updated with full docker-compose.yml

@thedarkknight197
Looks like Postgres version 13 has a different syntax for creating triggers, which you are using:
postgres:
    image: postgres:13.5

Our trigger creation syntax is, CREATE OR REPLACE ... which is supported >= Postgres 14.
If you can update the Postgres Version and try it out. We will also, make sure to update our docs and reflect this requirement (if not there already)

@thedarkknight197
Looks like Postgres version 13 (which you are using) has a different syntax for creating triggers:
postgres:
    image: postgres:13.5

Our trigger creation syntax is, CREATE OR REPLACE ... which is supported >= Postgres 14.
If you can update the Postgres Version and try it out. We will also, make sure to update our docs and reflect this requirement (if not there already)

I will update our automated script too for deploying locally.

@thedarkknight197
Looks like Postgres version 13 (which you are using) has a different syntax for creating triggers:
postgres:
    image: postgres:13.5

Our trigger creation syntax is, CREATE OR REPLACE ... which is supported >= Postgres 14.
If you can update the Postgres Version and try it out. We will also, make sure to update our docs and reflect this requirement (if not there already)

I will update our automated script too for deploying locally.

@warengonzaga
Can't update postgres 13.5 to 14, on db starting i receive this error:
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-04-20T12:11:14.066288941Z
2024-04-20T12:11:14.077212000Z 2024-04-20 12:11:14.077 UTC [1] FATAL:  database files are incompatible with server
2024-04-20T12:11:14.077235099Z 2024-04-20 12:11:14.077 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 13, which is not compatible with this version 14.11 (Debian 14.11-1.pgdg120+2).

Hey @thedarkknight197
looks, like migration is failing and it's because the data directory is not compatible with v15. if you clear the volume attached for postgres, this will go away, but it will also remove everything. Not sure on what data you have on Postgres & whether it's important.
There are multiple ways of migrating, you might have to read up choose what works best for you. One of them is, you can create back-ups of your db & restore it once you have migrated to newer version
But, if you can do a clean install + run, everything, should work smoothly.
let me know.


Correction for raw affiliation CHU Montpellier, CH Narbonne, France

Correction needed for raw affiliation CHU Montpellier, CH Narbonne, France
raw_affiliation_name: CHU Montpellier, CH Narbonne, France
new_rors:
previous_rors: 022m8c549
works_examples: W4362705658
contact: 27b67e8a85be5ec17f5bb8f8bbb4dfa0:971fe2038c9327903f90168b3d2596c58269 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Corpus Reader failures

@alvations #1593 seems to have broken tests: Jenkins CI failures.

@fievelk as for the Python2 tests, I think it has to do with how the tests are carried out. I'll leave that to you. If it's otherwise, i'll look into it.
For the Python3 tests, I've just updated the index on nltk_data. Is there anyway to force run a build? Other than creating fake PRs (which I don't hope we do ;P)?

@alvations Regarding nltk_data changes, you can run tests on your platform using tox (see NLTK Testing). You can simply run the tox command from within the NLTK root folder and it will run tests for python 2.7, 3.4, 3.5 and also tests that are usually intended to be run on Jenkins, our CI platform.
If you want to exclude Jenkins tests you can run tox -e py27,py34,py35.
Please note that, currently, CI tests are only supposed to be a safety net for us, so that we can decide whether new PRs should be merged or not. In general, NLTK contribution guidelines ask contributors to run tests on their machine before submitting a new PR (unless this is marked as Work In Progress, which means that it is not ready to be merged yet).

@alvations Regarding python 2 tests, could you please elaborate further? What do you mean when you say that test failures have to do with how tests are carried out?

@fievelk thanks for the tips on testing. The errors occurring in Python2 is because of the use of python_2_unicode_compatible. And I'm not sure but on my machine, tox tests run fine. Let me retry and see what's wrong.

Thanks for the fixes @alvations


[typescript] createStyles and InjectedStyles helpers

Resolves #10995 by adding the helper function createStyles which is basically what was suggested in https://github.com/mui-org/material-ui/pull/11512#issuecomment-390831675. It doesn't actually "do anything", it's just the identity function, but it's useful for guiding TypeScript inference, particularly for styles which depend on the theme.
Adds a helper type operator called InjectedStyles which can be used instead of WithStyles, and takes typeof styles as input, where styles is either a StyleRules or StyleRulesCallback.

See the updated (and much simpler) TypeScript guide for more about how to use these.

Never mind, I found a neat solution: use conditional types to overload WithStyles so that it can handle either a string (the old usage) or typeof styles (the new usage).


Allow Pallas Triton to be serialized as PTX

When serializing a Pallas Triton call via jax.export, allow serialization as PTX, which has better stability guarantees than the current IR.
@superbobry

@superbobry: any updates?


Repository definitions need a way to specify credentials

Repository definitions in v1.3 used the Credential data type (part of the Simple Profile) to specify credentials. This was removed, since the TOSCA grammar shouldn't depend on data types defined using the TOSCA grammar. The repository definition grammar in https://docs.oasis-open.org/tosca/TOSCA/v2.0/csd05/TOSCA-v2.0-csd05.html#_Toc125468431 needs a new mechanism for specifying credentials.

I don't think credentials or other security information should be stored in TOSCA.


A service configuration method for routing external services is added.

What this PR does / why we need it:
A service configuration method for routing external services is added.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

 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.

Hi @GQH1993 ,
According to Kubernetes 1.19 API reference:

externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.

An IP address cannot be the destination of a CNAME record. Therefore, an IP address as a value of externalName appears invalid. We unfortunately cannot accept this PR as such.
What would work instead is defining the service as typ: ClusterIP and manually populating the list of endpoints.


How to use in WPF

I've added an Avalonia and a WPF sample, however I don't know much about embedding stuff in WPF which is why its broken(?)
The WPF sample is loosely based on the LibVLC WPF control, it worked once before, then I removed something that isn't getting generated anymore and now it stopped calling the OnApplyTemplate method.
The Avalonia sample works though.
Samples are here
https://github.com/Sekoree/YALibMPV/tree/master/samples

Thank you.


Pixel Clock jitter (PPU Player 1.1)

PCLK keeps moving away (video visualizer)

It seems to be related to the NTSC Dot Crawl.


Add some modifications to allow for dev on windows

added cross-env for the build command
added intellij .idea/ folders to the gitignore

Looks good to me! I don't use Windows so I'll trust that this works. 😅


support level sets

The level set of a function satisfies f(x)=0, the in function could be defined as f(x) <= 0. An approximate approx_in could then be defined as f(x) <= epsilon.

What are the use cases for approx_in? I imagine that most use cases one knows that the point is already on the domain, so it would be more useful to have a custom type to enforce being in the domain, a la SphericalCoordinate:
https://github.com/JuliaApproximation/HarmonicOrthogonalPolynomials.jl/blob/e3df9fd175562d069e89f47ab4158a89d912c3c3/src/coordinates.jl#L42
Using f(x) to determine approx_in won't be very robust for "bad" f. One would ideally use the hausdorff distance but that is hard to compute. So perhaps it's fine since I don't think it needs to be used much.

Well, at least the domain abs(f(x)) < epsilon can be generically defined. It does require some assumptions on f for it to be called approx_in in any intuitive way, so it may not be a good idea.
It could be useful for an approximate plot of the domain, for example, if a bounding box is known. If we can't do anything with a level set generically in DomainSets except defining it, is that worth it?
If possible, then something like SphericalCoordinate is better, but of course that is not generic. Should we include that inside DomainSets?

Currently, I did not implement approx_in, because it is not generically true. The functionality is in the pseudolevel function, which is not exported. We can decide what to do with it later.


Newsletter Box wrapping

Here you go. I had to adjust the side padding on .newsletter-box as well to fix. (possible idea why in 2nd commit message)

Thank you!


[Enhancement] Allow one-phase local aggregate in the single BE

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Generating "ScanNode->LocalShuffle->OnePhaseLocalAgg" for the single backend, contains two steps:

Ignore the network cost for ExchangeNode when estimating cost model.
Remove ExchangeNode between AggNode and ScanNode when building

Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:heart_eyes: pass : 53 / 56 (94.64%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
36
39
92.31%
[1105, 1132, 1156]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/planner/AggregationNode.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/system/SystemInfoService.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
6
6
100.00%
[]

run starrocks_clang-format

run starrocks_admit_test


[4.2] Fix duplicate name issues with secgroup handling

security groups can have duplicate names, so when specifying a name
that is ambigous deployment or cleanup fails, which leaves trash behind.
Better use ids, those are unique identifiers.
(cherry picked from commit 81f1f0d)
Why is this PR needed?
Fixes: SUSE/avant-garde#1746
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

this is a recreate of #1364 which was closed because the branch got deleted.


Scala Common Enrich: updated SnowplowAdapter to accept "charset=UTF-8" (...

...closes #1424)

This PR now also contains the Travis commits.

Great thanks...


Key formatting doesn't apply to hash attributes or to meta hash

Example serializer
require "jsonapi/serializable/resource/key_transform"

class SerializableResource < JSONAPI::Serializable::Resource
  prepend JSONAPI::Serializable::Resource::KeyTransform
  self.key_transform = -> (key) { key.to_s.camelize :lower }

  attribute :attr do
    { a_key: "a value" }
  end

  meta do
    { a_key: "a value" }
  end
end

Expected serialization
{
  "data": {
    "type": "resources",
    "id": 1,
    "attributes": {
      "attr": { "aKey": "a value" }
    },
    "meta": {
      "aKey": "a value"
    }
}

Actual serialization
{
  "data": {
    "type": "resources",
    "id": 1,
    "attributes": {
      "attr": { "a_key": "a value" }
    },
    "meta": {
      "a_key": "a value"
    }
}

As always, I can make create a PR to fix the issue if you'd like. 👍

Hi Zeke, thanks for watching out!
In this case, it is actually by design: only the attribute/relationship
keys are being formatted.
The rationale is that

Modifying explicitly-supplied data would break POLS IMO, and
Recursively traversing nested hashes structures would incur a perf drop
(currently, the actual string transformations happen at definition time, so
no perf is lost during serialization, which is only possible since the keys
are known at définition time, which would not be the case for the behavior
you describe), and finally,
Recursively transforming keys is not clearly defined as some people
would expect hashes nested inside an array to be transversed as well, while
some other people may not.

Could you expand a bit on your use-case so that we can find a satisfying
solution? I suspect you're exposing a serialized resource as an attribute
of an other?
Cheers,
Lucas
On Fri, 30 Dec 2016 at 19:26, Zeke Gabrielse<EMAIL_ADDRESS>wrote:

Example serializer
require "jsonapi/serializable/resource/key_transform"
class SerializableResource < JSONAPI::Serializable::Resource
prepend JSONAPI::Serializable::Resource::KeyTransform
self.key_transform = -> (key) { key.to_s.camelize :lower }
attribute :attr do
{ a_key: "a value" }

end
meta do
{ a_key: "a value" }

end
end
Expected serialization
{
"data": {
"type": "resources",

"id": 1,

"attributes": {

  "attr": { "aKey": "a value" }

},

"meta": {

  "aKey": "a value"

}

}
Actual serialization
{
"data": {
"type": "resources",

"id": 1,

"attributes": {

  "attr": { "a_key": "a value" }

},

"meta": {

  "a_key": "a value"

}

}
As always, I can make create a PR to fix the issue if you'd like. 👍
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jsonapi-rb/jsonapi-serializable/issues/50, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACHPYlJORkoPWHjWLKSmJuCmXW5bzGwwks5rNUzCgaJpZM4LYUxX
.

I figured it was done for performance reasons. I have a few json columns in my database (Postgres), mostly for attaching consumer-defined metadata, e.g. like Stripe allows. All of my responses contain camel-cased keys, as the API is primarily built to be consumed in JS envs. I'm currently doing the transformations manually in each serializer, so if it's by design I'll just keep doing that.
Appreciate the explanation. 👍

Closing this for now, according to the above explanation.
Best workaround I can think of at the moment:
# Define
module SerializationHelpers
  module_function
  def camel_case(attr)
    # do your biddings here
  #
end

class SerializableFoo
  attribute(:foo) {<EMAIL_ADDRESS>}
end


Add link to model weights on Hugging Face

Hello! I noticed a reference to weights on Hugging Face in the weights-downloading script, so I tracked down the Hugging Face model repo and added a link to it in this repo's README.
It's the same one that was used in the notebook at some point. Let me know if there's actually a different one that should be used, or if you have a different preference on how to link the weights here!
cc: @osanseviero

Those are out of date and should not be used.


Update IdExamples.cs

Invoide -> Invoice misspelling fix.

I noticed that there's a v4 branch for documentation. Feel free to close this PR if it conflicts with the updated documentation work.

@khalidabuhakmeh I checked the v4 docs branch/PR, this change won't conflict, will merge it and then rebase the v4 docs branch 👍


Block.affinity is null, in which case it would be?

The block is empty, and its affinity is null, I don't know why it would be.
[root@KC-BCC-POD23-10-196-104-196 ~]# etcdctl --endpoints http://<IP_ADDRESS>:6666 get --prefix --keys-only=false /calico/ipam/v2/assignment | grep "ty\":null"
{"cidr":"<IP_ADDRESS>/28","affinity":null,"strictAffinity":true,"allocations":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"unallocated":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0],"attributes":[]}

@caseydavenport would this still maybe be a bug or would it be expected if the IP Pool was deleted?
If there is still a possible bug here, would any of the recent IP Pool/IPAM changes possibly help?

No, I don't think this is a bug - deleting the IP pool will release the affinities for the block, which is what we're seeing here.
Once the last IP from that block is release it should usually be deleted, but I'm guessing since this is modified code this check isn't working properly: https://github.com/projectcalico/libcalico-go/blob/master/lib/ipam/ipam_block.go#L158-L160


Examples 4ed

Fixes #116 via finish builds of examples 4ed.

Fixes #116 via finish builds of examples 4ed.


Cannot parse/get correct data from Techcrunch blog posts

I am having trouble parsing and getting correct infos from Techcrunch blog posts. Take a look at these links for example:

https://techcrunch.com/2020/04/01/take-your-shot-apply-to-tc-top-picks-at-disrupt-sf-2020/
https://techcrunch.com/2019/09/30/spacex-details-starship-and-super-heavy-in-new-website/

And instead of getting the correct title and description etc, heres the response that I got:
Title: "TechCrunch is now a part of Verizon Media"
Description: "TechCrunch is part of Verizon Media. Click 'I agree' to allow Verizon Media and our partners to use cookies and similar technologies to access your device and use your data (including location) to understand your interests, and provide and measure personalised ads. We will also provide you with personalised ads on partner products.\n                         Learn more about how we use your data in our Privacy Centre. Once you confirm your privacy choices here, you can make changes at any time by visiting your Privacy dashboard."

Yes, it looks like TechCrunch wants you to accept some cookies in order to see the content. If I visit those URLs in my browser I see a pop-up asking me to accept the cookies.
And if I use curl to get the contents (which is similar to what MetaInspector does), I see a 307 Temporary Redirect due to cookies not being accepted:
➔ curl -i https://techcrunch.com/2020/04/01/take-your-shot-apply-to-tc-top-picks-at-disrupt-sf-2020/
HTTP/2 307
date: Thu, 02 Apr 2020 12:26:17 GMT
ec-policy-id: 104206
location: https://guce.techcrunch.com/consent?brandType=nonEU&done=https%3A%2F%2Ftechcrunch%2Ecom%2F2020%2F04%2F01%2Ftake%2Dyour%2Dshot%2Dapply%2Dto%2Dtc%2Dtop%2Dpicks%2Dat%2Ddisrupt%2Dsf%2D2020%2F&gcrumb=k1I87ms=
server: ECAcc (mic/9BB3)
set-cookie: GUCS=AZNSPO5r; Domain=.techcrunch.com; Max-Age=1800; Path=/; Secure
x-ec-guce: guce-or-acookie-missing
content-length: 0

MetaInspector is going to follow these redirections, if you have a look at page.url you'll see the final URL, which is the one the title and description is being taking from, something like:
"https://consent.yahoo.com/collectConsent?sessionId=3_cc-session_6cccd599-c37f-4874-b76a-ac8f5b60a94d&lang=&inline=false"
There's not much we can do with MetaInspector in order to accept the cookies I'm afraid.

Try using a proxy. That did the trick for us. We're currently using NordVPN (US server) and you can pass the proxy info to the faraday_options as the following
page = MetaInspector.new(url, faraday_options: { proxy: "https://#{URI.escape(ENV['PROXY_USER'], '@')}:#{ENV['PROXY_PASSWORD']}@#{ENV['PROXY_ADDRESS']}:80" })


Safari , history.js and iframe problem

When we use history.js in an iframe ( like application in facebook iframe for exemple ) it's working fine in all browser except Safari.
In Safari , when we hit the back button, the browser refresh the window and load the iframe content as the main page.
Any known fix about that ?

Safari 5.0.4 on OSX 10.6.6 with history.js v1.7

+1


pecl install error

Hi,
I can not install mustache extension on MacOs - php7.3.2. When I try to install mustache with pecl install mustache command I get
the error below. I saw that there is no version 0.8.0 on pecl website.
So I tried pecl mustache-0.8.1 and it says that latest version is 0.8.0.
I tried clear-cache, upgrade but nothing changed.
pecl install mustache
Could not download from "https://pecl.php.net/get/mustache-0.8.0.tgz",
cannot download "pecl/mustache" (File
https://pecl.php.net:443/get/mustache-0.8.0.tgz not valid (received:
HTTP/1.0 404 Not Found
pecl install mustache-0.8.1
Failed to download pecl/mustache, version "0.8.1", latest release is
version 0.8.0, stability "stable", use
"channel://pecl.php.net/mustache-0.8.0" to install
install failed

This is rather strange. There must be a desync between the info in the pecl site and whatever interface the command uses. I would recommend installing from source in the meantime. I'll have to either post to the mailing list or perhaps upload a new release to fix the issue.

Thanks for the response. I install php via brew. So actually I don't know how to do this :(
I prefer to wait for a new release :)

Hi,
I Successfully installed mustache 0.9.0 for php 7.3 Now I close the issue
Thanks.


Add message to remind user to enable wifi

Motivation
Our iOS devs frequently turn off wifi and forget to turn it back on. This message should remind them that they need wifi to connect. Often they waste several minutes due to this problem.
Test Plan (required)
I'm not sure if there's a test plan to apply here. Any suggestions?

Could you add more detail and mention that the device needs to be on the same network as the computer?

@ide the first message says " Node server is running and available on the same network " do you have any suggestions?
maybe "WiFi is enabled and on the same network as the Node server" ?

That sounds great, nice suggestion =)


Add ability to inject select withopts

This PR adds WITH opts support for SELECT statements. Particularly so consistency constraints can be set in the sql statement.

Codecov Report
Patch coverage: 58.82% and project coverage change: -0.41% :warning:

Comparison is base (2448d41) 85.79% compared to head (dd80c74) 85.38%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   85.79%   85.38%   -0.41%
==========================================
  Files           8        8
  Lines        1126     1143      +17
==========================================
+ Hits          966      976      +10
- Misses        127      132       +5
- Partials       33       35       +2

Flag
Coverage Δ

local
85.38% <58.82%> (-0.41%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

conn.go
74.44% <0.00%> (-3.47%)
:arrow_down:

stmt_document.go
82.11% <76.92%> (-0.62%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@JakeNeyer, thanks for the PR. I am making a few changes:

The with option is renamed from Consistency to ConsistentRead to align with attribute ExecuteStatementInput.ConsistentRead.
The option value is change to boolean (true/false instead of 'strong') to align with the type of ExecuteStatementInput.ConsistentRead.
Some optimizations and cleanup


prefer $evalAsync over $timeout and resolve Facebook.login when loadD…

…eferred is resolved
$rootScope.$evalAsync will take advantage or the current digest cycle, if one is running. Because the API promises are guarded by loadDeferred.promise(...) we should be making use of those digests.
Having Facebook.login wait on loadDeferred just seems to make sense, that's what all the other methods do.

Thanks @kevinjamesus86


Unable to add BIG-IQ managed Certificate in AS3

Do you already have an issue opened with F5 support?
no
ISSUE TYPE

Feature Idea

AS3 BUILD/ VERSION

3.12.1-2

BIGIP VERSION

Main Package
  Product     BIG-IQ
  Version     7.0.0
  Build       0.0.1854
  Edition     Final

SUMMARY

We are using F5 BIG-IQ for Certificate Management at our site.
We would like to automate our app deployment using AS3. Unfortunately we are unable to pass BIG-IQ Managed Objects into AS3 Declarations.

In order to use BIG-IQ to manage certificates and use them with AS3, you need to publish the certificates to the BIG-IP from BIG-IQ. Then you can use a "bigip" style reference in your AS3 declaration to reference the certificate.
In order for AS3 to better automate this process, we would need BIG-IQ to have an endpoint that AS3 can download the certificate from.


typo fixed

Leftover from #7940

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0032bee939ada5dc7b48f4411eaf6c7c27bff5be/


modify error response, set api response content when unknown errors occur

Description of Change
Set api response error text when unknown errors occur.
Issues Resolved
INTEG-1149

closes #

Testing Procedure
try:
    sdk.devices.reactivate("test")
except Exception as e:
    print(e)

PR Checklist
Did you remember to do the below?

[x] Add unit tests to verify this change
[ n/a] Add an entry to CHANGELOG.md describing this change
[ n/a] Add docstrings for any new public parameters / methods / classes

Is this the right way to do this? Are we indicating that the error response is from the server when it actually is not?

So far this change does add the response.text to the exception, but we need to update logging to include it as well:
>>> py42.settings.debug = "DEBUG"
>>> try:
...     sdk.devices.reactivate("test")
... except Exception as e:
...     print(e)
...
...
POST    https://www.crashplan.com/api/v4/computer-deactivation/remove
  data "{\"id\": \"test\"}"
POST    https://www.crashplan.com/api/v4/computer-deactivation/remove
  data "{\"id\": \"test\"}"
Failure in HTTP call 400 Client Error: Bad Request for url: https://www.crashplan.com/api/v4/computer-deactivation/remove.
 Response content: Unable to process JSON

So far this change does add the response.text to the exception, but we need to update logging to include it as well:
>>> py42.settings.debug.level = "DEBUG"
>>> try:
...     sdk.devices.reactivate("test")
... except Exception as e:
...     print(e)
...
...
POST    https://www.crashplan.com/api/v4/computer-deactivation/remove
  data "{\"id\": \"test\"}"
POST    https://www.crashplan.com/api/v4/computer-deactivation/remove
  data "{\"id\": \"test\"}"
Failure in HTTP call 400 Client Error: Bad Request for url: https://www.crashplan.com/api/v4/computer-deactivation/remove.
 Response content: Unable to process JSON

added.

Hmm, this causes all of our custom exceptions to log the response.text too when we raise them:
INFO:py42:POST    https://www.crashplan.com/api/v4/computer-deactivation/update
INFO:py42:POST    https://www.crashplan.com/api/v4/computer-deactivation/update
ERROR:py42:Failure in HTTP call 400 Client Error: Bad Request for url: https://www.crashplan.com/api/v4/computer-deactivation/update.
 Response content: [{"name":"USER_IN_ACTIVE_LEGAL_HOLD","description":"The owner of this device is in an active legal hold.","bulletin":{"type$":"com.code42.crashplan.domain.ComputerDeactivationErrors.USER_IN_ACTIVE_LEGAL_HOLD_v4","text$":"The owner of this device is in an active legal hold.","details":[]}}]
ERROR:py42:Cannot deactivate the device with ID 22216976 as the device is involved in a legal hold matter.

Trying to think of a way we can only log the response.text when we're not already raising a custom exception.

Hmm, this causes all of our custom exceptions to log the response.text too when we raise them:
INFO:py42:POST    https://www.crashplan.com/api/v4/computer-deactivation/update
INFO:py42:POST    https://www.crashplan.com/api/v4/computer-deactivation/update
ERROR:py42:Failure in HTTP call 400 Client Error: Bad Request for url: https://www.crashplan.com/api/v4/computer-deactivation/update.
 Response content: [{"name":"USER_IN_ACTIVE_LEGAL_HOLD","description":"The owner of this device is in an active legal hold.","bulletin":{"type$":"com.code42.crashplan.domain.ComputerDeactivationErrors.USER_IN_ACTIVE_LEGAL_HOLD_v4","text$":"The owner of this device is in an active legal hold.","details":[]}}]
ERROR:py42:Cannot deactivate the device with ID 22216976 as the device is involved in a legal hold matter.

Trying to think of a way we can only log the response.text when we're not already raising a custom exception.

Can we safely assume that if all custom exceptions pass a message?


Recently receive error,

synapse - 1.77.0
matrix-nio 0.20.1
Traceback (most recent call last):
File "/pub/git/matrix-ytdl/matrix-ytdl", line 543, in
loop.run_until_complete(main(dl))
File "/usr/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/pub/git/matrix-ytdl/matrix-ytdl", line 382, in main
config = json.load(f)
File "/usr/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

config file got corrupted


fr([MatSelect]): [Support Browser autocomplete]

Feature Description
It would be great if mat-select supported browser field auto completion in the same way a native select does.
Example markup:
<mat-form-field>
    <mat-select placeholder="State" [(ngModel)]="state" autocomplete="state">
        <mat-option *ngFor="let state of states" [value]="state.abbreviation">{{ state.name }}</mat-option>
    </mat-select>
</mat-form-field>

Example based on Bug #8894 - Browser autofill for mat-select
This example from Stack Overflow suggests using a visually hidden input with the autocomplete attribute that has the same NgModel:   Angular Material 2 browser autofill for mat-select not working
I would like mat-select to support the autocomplete attribute, and, if set, add a visually hidden input that removes the need for the work around.
Use Case
User is filling out a form that contains mat-select fields that should be filled via browser auto complete.
For example an address form with mat-select for country and state/postcode.
User selects from previously used addresses in their browser and address fields auto complete but country and state do not.
With this change country and state would also auto complete.

I think this is duplicate of https://github.com/angular/components/issues/5697

No, that is completely different, looking for search/filter.
I want the mat-select to behave like the native select when it comes to
browser autocomplete, instead of requiring every developer to come up with
a work around.
On Wed, Apr 15, 2020 at 3:31 PM Totati<EMAIL_ADDRESS>wrote:

I think this is duplicate of #5697
https://github.com/angular/components/issues/5697
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/components/issues/19083#issuecomment-614264478,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHYEUBIGF6QCEQYJEWWTSFLRMYKQ7ANCNFSM4MI34JIA
.

This is duplicate, @material team plans to include this feature in a rework of mat-select. Sorry cannot find details.

Country and state mat-select not working for the browser autofill data, It's a basic and necessary feature!.

This is sort of fixed... typing will focus on the element that begins with the correct text. Hitting enter will then select the option highlited.

For me it looks like not fixed for the version angular 13.1. If it is fixed, can you pls provide an example how to implement autofill feature. Thank you

There's one workable solution given here. But the DDL shown without down arrow.
https://stackblitz.com/edit/angular-tuy3hc?file=app%2Fautocomplete-simple-example.html


MoVi dataset

In the original paper, it is mentioned that MoVi dataset is used to train PoseNet. However. no relevant parameters regarding training with MoVi dataset is found in sset/yaml/posenet_{input joint set}train{dataset list}.yml. I wonder how MoVi dataset comes into play here. Would you specify?

checkout AMASS database. it includes MoVi


Upload of an avatar image broken

If an image is added to a profile https://www.vutuv.de/users/NAME/edit and hit the save button, an error appears
502 Bad Gateway
nginx/1.14.2

thx!

Duplicated of #718


Use local month rather than UTC Month to set date

We are attempting to find "The first of the month following this one" in the user's timezone. By setting the timestamp 8 hours into the day, we will always make sure that the subscription refresh time is in the future, even if someone signs up at 11:59pm in Mountain View on the last day of the month.

Superseded by #233


"g**" changed to more politically correct "baka"

Except if you're an eleven or something, I don't know Japanese.

:+1: seems great


AutoComplete item

Hi
how i convert to data template
AutoComplete2.ItemTemplate = db.ARAPTables.Select(w => w.Name).ToArray();

@Keboo @spiegelp

@shahinesi As I understand your question, you are mixing up data templates with actual data. You seem to be a WPF newbie. Please read some tutorials on data binding, data templating and MVVM pattern in WPF to understand the concepts. The MaterialDesignExtensions library relies heavily on them.
Here is a crash course for using the Autocomplete:
The AutocompleteSource property provides the data. You have to assign an instance implementing MaterialDesignExtensions.Model.IAutocompleteSource. For example, return some entities to supply data to the Autocomplete control:
public class OperatingSystemAutocompleteSource : MaterialDesignExtensions.Model.IAutocompleteSource
{
    public IEnumerable Search(string searchTerm)
    {
        // maybe do some filtering wihtin a Where() method
        return db.ARAPTables.Select(w => w);
    }
}

A data template is not data. It is a partial user interface with data bindings. Data templates will be applied to data in order to generate a user interface backed by/showing the data. You can think of them as a construction plan for buildung a user interface out of data. You will set a data template via the ItemTemplate property. It will be applied to every w entity to generate one item in the popup.
<controls:Autocomplete x:Name="autocomplete" AutocompleteSource="{Binding Path=AutocompleteSource}" SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}">
    <controls:Autocomplete.ItemTemplate>
        <DataTemplate>
            <!-- here you have one w entity, showing its Name property via binding in the popup list -->
            <TextBlock Text="{Binding Path=Name, Mode=OneWay}" />
        </DataTemplate>
    </controls:Autocomplete.ItemTemplate>
</controls:Autocomplete>

You will find the source code of the demo in AutocompleteControl.xaml and AutocompleteViewModel.


Remove clang constraint

Now that the upstream fix for https://bugreports.qt.io/browse/PYSIDE-2288 has landed in 6.5.1 (and apparently some 5.15.x), we should revert https://github.com/conda-forge/pyside2-feedstock/commit/c5f64483fe83066ccbae2b03218e27ba7bc9a59c. There's some related commits mentioned in the issue, and some can be found on the repo
Sister-issue to https://github.com/conda-forge/qt-main-feedstock/issues/285

where do you see that the 5.15.X has landed?
I think we already released it or the 6.x branch:
https://github.com/conda-forge/pyside2-feedstock/blob/pyside6/recipe/meta.yaml

where do you see that the 5.15.X has landed?

Based on the below, but I haven't been able (also for the commits in 6.5) to find the hashes mentioned in the issue in the repo itself.

i think this was resolved with the release of 5.15.15


Only deactivate label if field isn't focused

Details
This PR fixes an issue where the Expensitext label value will move over the cursor after deleting the content but keeping focus. In the case that the input has a label and a placeholder, this looks especially bad (see https://github.com/Expensify/Expensify/issues/180809).
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/180809
Tests/QA

Create a new account and create a workspace
Open the workspace and click Issue Corporate Cards and then Connect Bank Account. Fill out anything for the values on Connect Bank Account and submit to get to the Company Information step
Confirm that when you get to the Company Information step, the phone number placeholder doesn't overlap the label like in https://github.com/Expensify/Expensify/issues/180809 when you enter a value and then remove the value
Confirm that the placeholders for all fields behave normally when clicking into and out of them

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Feel free to self-merge once the E2E tests will pass and you will see it before me 😄

I think this PR may be the culprit for this issue https://github.com/Expensify/App/issues/5904


i have a .dat in a word but mport says its lacking a .dat file

Information

Server version:

Full output of /mv version -p:

Server log:

Help request
Problem

What I have tried

Screenshots

import*

Fill in the issue template, thanks.


[iOS 7.1] [iPhone 4] White screen when having long messages

Cells with long text are loading very very slow when scrolling. Please see the attached screen

No longer supporting iOS 7. Closing this out. 😄


Selecting any type in the new types browser causes memory leak on binary view

Version and Platform (required):

Binary Ninja Version: 3.6.4667-dev (2dce02db)
OS: macOS
OS Version: 14.1.1 (23B81)
CPU Architecture: M1

Bug Description:
There is a memory leak on the binary view object if I select any type in the new types browser
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

Open any binary
Switch to the types sidebar
Select any type in it
Close the binary
Run get_memory_usage_info in the Python console and observer the leak

Expected Behavior:
No memory leak on the binary view object
Additional Information:
I noticed this after I fix https://github.com/Vector35/binaryninja-api/issues/4779

Seems like it leaks without selecting a type too. Opening the type browser is enough to trigger it

Fixed in 3.6.4817-dev


Changing the rights to the downloaded file

Hello!
How can I set the permissions 777 on the uploaded FTP server file?

Sorry, there is no in-built API for these. I'll add them shortly, but if you need it right now please use:
      if (!(reply = conn.Execute("SITE CHMOD 640 yourfilename.txt")).Success) {
             throw new FtpCommandException(reply);
      }

Thanks to your idea, I have implemented the following new API. Check it out and let me know!

Chmod()
GetChmod()
SetFilePermissions()
GetFilePermissions()

You can now just do:
client.Chmod("\path\to\file.txt", 777)

You must download the latest from nuget to use it. https://www.nuget.org/packages/FluentFTP/


Type error: FetcherParams.variables declared as string but actually passed as object

GraphiQL 1.0.3 declares FetcherParams.variables as string, see GraphiQL.tsx#L75, presumably containing the string value from the variables editor
However in a custom fetcher I actually get a Javascript object (which seems to be intended).
You can easily reproduce this with:

  <title>Simple GraphiQL Example</title>
  <link href="https://unpkg.com/graphiql/graphiql.min.css" rel="stylesheet" />

yes this is as expected, the string is for setting the default variables editor value, whereas the variables object in the fetcher is the result of whats in the editor

let me know if you have any further questions!

will release this shortly!

@acao Did you release this already?

sorry no, there are issues in the pipeline. we have to do some heavy lifting to keep cutting graphiql 1 releases from the main branch now, and I'm going to be away from work on vacation (starting today), so it will be a few PRs and some time until we can issue another graphiql 1 release


Fine-tuning the LM encoder

Hi, I wonder why you don't fine-tune the LM as in most previous works. Have you tried to fine-tune roBERTa? Thank you

Hi,
Our performances are achieved by fine-tuning the LM like RoBERTa and ALBERT. Please check the released code.
Thanks.


renaming to JsKeymanager

issue #22

part of https://github.com/Tonomy-Foundation/Tonomy-ID-Integration/pull/51/files


storage: Add Sample for Dual-Region Bucket Creation

FR: Add sample for dual-region bucket creation.
The sample for creating a bucket should accept a bucket name and 2 regions (e.g. my-bucket, US-EAST1, US-WEST1).
Region tag: storage_create_bucket_dual_region
System tests:

Verify a dual region bucket with specified regions can be created
Verify a dual region bucket's location metadata is the specified dual region provided
Verify a dual region bucket's locationType metadata is dual-region

[Internal]

For canonical samples: go/dual-region-canonical-sample
For details and coordination: go/gcs-dpe-dual-region-milestones

@danielbankhead: Please could you refile this in https://github.com/GoogleCloudPlatform/dotnet-docs-samples? That's where the sample will actually live, and it makes things simpler if the FR is in the same repo as the change, so that merging the PR can close the issue.

Absolutely. Created: https://github.com/GoogleCloudPlatform/dotnet-docs-samples/issues/1673


MyLineItemDraft quantity incorrectly defined as a Double

Describe the bug
When trying to create a cart including line items using MyLineItemDraft, the SDK provides the option to enter the quantity as a Double. When executing the request however, the quantity is parsed to a decimal value causing the request to fail.
MyLineItemDraft defining the quantity as a Double.
https://github.com/commercetools/commercetools-sdk-java-v2/blob/c5625be3296c08925efc84f492909ab6c6e37414/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyLineItemDraft.java#L34
As well as the builder
https://github.com/commercetools/commercetools-sdk-java-v2/blob/c5625be3296c08925efc84f492909ab6c6e37414/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyLineItemDraftBuilder.java#L47
The update action MyCartChangeLineItemQuantityAction defines the quantity as a Long.
https://github.com/commercetools/commercetools-sdk-java-v2/blob/4c1e89489214b9c35785917df6c176350c2d8468/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeLineItemQuantityAction.java#L30
Same for LineItemDraft and LineItem.
https://github.com/commercetools/commercetools-sdk-java-v2/blob/c5625be3296c08925efc84f492909ab6c6e37414/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemDraft.java#L38
https://github.com/commercetools/commercetools-sdk-java-v2/blob/c5625be3296c08925efc84f492909ab6c6e37414/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java#L106
https://docs.commercetools.com/api/projects/me-carts#mylineitemdraft
Expected behavior
Since a decimal value is not accepted the expected behaviour would be for the SDK to define MyLineItemDraft.quantity as a Long.
Screenshots/Code snippet
SDK: 4.0.0
endpoint: POST https://api.europe-west1.gcp.commercetools.com/uqonic-chefs-sandbox/me/carts
...
http request formatted body: {
  "currency" : "EUR",
  "lineItems" : [ {
    "productId" : "947009f9-f8fa-4adf-9d4a-6f577a028741",
    "quantity" : 1.0
  } ]
}
...
http response formatted body: {
  "statusCode" : 400,
  "message" : "Request body does not contain valid JSON.",
  "errors" : [ {
    "code" : "InvalidJsonInput",
    "message" : "Request body does not contain valid JSON.",
    "detailedErrorMessage" : "lineItems -> quantity: JSON Number in the range of a Long expected."
  } ]
}

Stack information (please complete the following information):

Java: 8
SDK version: 4.0.0
Kotlin version 1.4.31

Fixed with 4b89e9d
Will issue a patch release later
Thx for the report

4.0.1 has been released


macOS fails to render symbols

As mentioned in #155 symbol rendering is still not working on macOS even though the font providing the glyph is loading just fine.

This likely means that symbol font doesn't have the glyph maybe?

The glyph should be included in STIXGeneral because that's what the Apple Text Editor switched to when I fed it the 'BLACK VERY SMALL SQUARE'. Unless of course Apple mapped that glyph to a similar looking glyph and made it look like it never happened.
I see if I can extract both Fonts and dissect them myself to be 100% sure.

Apple Symbol didn't include it, but STIXGeneral did

Now the question is: Why doesn't macOS use that Font even though in my test build STIXGeneral is loaded.

Given how niche this is. I may say that we won't fix it. Ideally we would depend on system font fallback libraries, but currently there isn't any good ones for rust. https://github.com/linebender/skribo promises to be one eventually but isn't there yet. More details here: https://raphlinus.github.io/rust/skribo/text/2019/04/04/font-fallback.html
So for now I think I'm going to close this and declare partial success. Thanks so much for the detailed investigations!

Fair enough, my Mac is usually running headless tucked away so it wasn't really an issue for me. That blog post made me even more curious tho as to why it is not working on macOS right now.
The problem is not that we can't find the system fonts it's more like what ever renders the glyphs fails at selecting the correct ones on that specific OS.
I'm 100% sure Neovide is doing the correct thing on Windows because Segoe UI Symbols is the System Font for Symbols (thanks to the deprecation of Windows 7 earlier this year).
And on Linux you will never find the official symbol font I think. People can just install Unifont.
Maybe like a command line option for custom symbol fonts would be neat. But this will also not fix the macOS issue so I wouldn't stress this at the moment.


--single-process is not supported in windows

Describe the bug
So I was trying to run this on windows PC and chrome was throwing an error due to --single-process flag in driver_chromium.py is not being supported in windows
Additional context
Either we can remove it or we can make it conditional based on platform.

Use firefox. The chromium driver is a bit buggy.


Console spamming

What is your Quests version / build number (do not say "latest")?
v4.0.0
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
The console is spamming the following messages: https://pastebin.pl/view/9953ddc0
Any idea how to fix this? Just tried installing quests yet it won't let me run simple commands like /quests editor.
If applicable, can you provide an example quest from quests.yml using Pastebin.com?

Thanks for your report. The partial error you've shared is typically preceded by more detailed output, which I don't see in your paste. Please try the latest Quests 4.0.0-rc.2 and, if that doesn't resolve the issue, check again for the full error.

We are using the latest version of the plugin and running on 1.16.2.
The console is connected to our discord, where it shows up as this: https://pastebin.pl/view/7d181485
(Should have probably included that to begin but console is very messy at the moment). This is the only error message we are receiving.

@lemsol69 That is no longer the latest version. Quests 4.0.0-rc.2 is the latest.

Getting the exact same spam on Quests 4.0.0-rc.2 using Paper 251 (1.16.3). There was another report on the plugin discussion thread as well: https://www.spigotmc.org/threads/quests.47772/page-84#post-3981919. There is no error other than exactly what is shown in OP's paste. The plugin was entirely non-functional, no commands work. Had to roll back to 3.9.5.


Tree Beacon Doesn't Work With Dynamic or Aether Trees

As the title says... I was excited to finally be able to make a tree beacon and set up an automatic farm, but the tree beacon doesn't work with dynamic trees or skywood trees, so there doesn't seem to be any trees you can plant that it actually does work with.  :(
EDIT: It looks like the beacon does work with Starlit trees from the Everbright, at least... but those can't be turned into charcoal, which kinda defeats the point.  >.<

while this is correct (the tree beacon does not work with dynamic trees), a workaround for now is to craft the tree seeds into saplings with a dirt bucket. this is a conversion recipe offered by dynamic trees in the case of incompatibility

Yeah, I tried that.  Imagine my frustration when the sapling turns into a dynamic tree as soon as I plant it. XD

in the dynamic trees config file change the to the following rule to use vanilla style saps instead of automatic conversion, which in turn will allow you to use the bucket as stated above and it will work just fine.
vanilla {
# Right clicking with a vanilla sapling places a dynamic sapling instead. [default: false]
B:replaceVanillaSapling=false
}

Thank you!

<IP_ADDRESS>, (most) Blue Sky trees, including Starlit Trees, can be turned into Charcoal.  Maple's the only one I've been having problems getting rid of since.

Try using rannucarpus to plant the vanilla sappling, or a dispensor, or anything but a player.

Try using rannucarpus to plant the vanilla sappling, or a dispensor, or anything but a player.

Bonemeal on Dispenser placed sapling gives dynamic tree :(


fix: rewrite string to match package name

Fixes #205

The issue was that 'packageis (for example)ess.reflectometrybut to check the version we need to pass the name of the installed packageessreflectometrytometadata.version`. At least that's how I understand the problem.
Does this solve the issue generally?
Tested it out in essnmx and there it resolves the issue.

Do we even need to do different things in the namespace and non-namespace cases? Asking for the version of {{projectname}} is correct in both cases right?


i only wanna say THANK YOU!!!

Thanks for this script!!!
i've translated and changed only lil things & the design for german use and it works great.

Wow, very nice! You are very welcome!


Allow callers to supplement existing deserialization methods in iOS

This could be implemented via a WSWebServiceProxyDelegate protocol, which callers could optionally implement (method arguments would not be nullable):
- (nullable id)webServiceProxy:(WSWebServiceProxy *)webServiceProxy decodeData:(NSData *)data withContentType:(NSString *)contentType;

If a delegate is provided, WSWebServiceProxy would first invoke the delegate method to deserialize the content. If the delegate returns nil, the default behavior (i.e. deserialization of JSON or image content) would be applied.

Closing for now. May re-open in a future release.


[rexray/rbd plugin]can't mount the same volume on different host

I get the rexray/rbd:0.9.2-rc2 plugin installed on host A and B:
docker plugin install --grant-all-permissions --alias rbd rexray/rbd:0.9.2-rc2
Host A and B are configured with the same ceph config, then create a test volume on host A
docker volume create --driver rbd test, after that host B will also see that volume.
If execute docker run -d --name nginx -v test:/var/www/html nginx:1.10 on host A and B, the last one will cause error:
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/109ff45d6769d3408abb97234bbc546d5abb2234d1c8a2787e0568a0cee6ec89/rootfs': VolumeDriver.Mount: {"Error":"resource not found"}.

Hi @mangobowl ,
Thanks so much for trying out the release candidate!
What you've described is just how the RBD driver works, and it's the same whether using the docker managed plugin like you did, or installing and running REX-Ray as a service. You cannot mount a block device on multiple machines at the same time, it will corrupt the filesystem. In your scenario, the container running on host A would have to be stopped before a similar docker run on host B using the same volume would be successful.
Some of the REX-Ray storage drivers support preemption, which will cause host B to forcefully take the volume from host A when you start up the container. The Ceph driver does not support that because there is no central API in Ceph to attach/detach volumes from remote nodes -- all attach/detach operations have to be done via rbd [un]map commands local to the host -- hostB cannot remove a volume from hostA.
Even if Ceph RBD did support preemption, the block device would still be attached on one host at a time. We have multi-host mounts in our roadmap, but there are caveats that go with it related to which hosts can have read-write access vs read-only.


PWA Support

Clear and concise description of the problem
PWA Support is missing feature of this template which is very important one.
Suggested solution
Maybe it helps
https://github.com/kevinmarrec/nuxt-pwa-module
Alternative
No response
Additional context
No response
Validations

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

We are waiting for Nuxt's PWA to support Nuxt 3


Overhaul README.md in this repository

There have been very few updates to the top level README.md in the temurin-build and ci-jenkins-pipelines repositories, and so we should look at them and see if they are "fit for purpose" and whether the information on here that we present to our user base is (a) useful (b) accurate and (c) fit for purpose.
I've started with an overhaul of the ci-jenkins-pipelines README.md in https://github.com/adoptium/ci-jenkins-pipelines/pull/1048 but here are some discussion points for the one in here:

We have multiple ways of setting up a build environment - what do we want to recommend and promote?

Run the playbooks on your local machine
List the prereqs that are required (Maybe complex as it's different on each platform?)
Use the -D option on makejdk-any-platform.sh to automatically build in a new container image to avoid discouraging podman users (Also, why do we have this section yet also reference the dockerfile generator in the "build natively" section? Is this likely to be confusing to first time users?) NOTE: This is converted to -D in https://github.com/adoptium/temurin-build/pull/3796/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Should we recommend the use of our adoptopenjdk/*_build_image containers?
With a more portable devkit on the more common Linux platforms, perhaps we can significantly simplify the process for JDK21+ and encourage people to go down the "bring their own OS" and use that with the devkit?

Duplicating the "man page" for makejdk-any-platform.sh in the README.md seems unnecessary - we should only have this information in one place ... But which location is right? Is the "man page" format still useful? Have we ended up with updates in there that aren't in the README.md?
Is the metadata section useful? Should it be in this repository's README or the ci-jenkins-pipelines one? My gut feel is that it should probably be here, but maybe collapsed (as I did in my pipelines PR for now) or moved elsewhere as it's perhaps not "interesting" particularly now that we have the SBoM generation.
We should perhaps shout more about SBoM and reproducibility options in the README.md which is a significant change in the last two years.
Should SmokeTesting.md and Testing.md be moved somewhere else instead of the top level directory? Maybe Testing.md should be part of CONTRIBUTING.md and the smoke test doc to test/functional/buildAndPackage/README.md?
There are references to the docs directory in this repository which no longer exists which should be updated or removed.

Overall we should also try and tidy up our recommendations on where things affecting the builds should be changed e.g. configure-args etc. since we do have multiple places where these can be set. (There's some info on this, but more discussion would be useful)

One friendly note. The man page is good. The best of its existence  is the usage during --help for build: https://github.com/adoptium/temurin-build/blob/8646220187f9e64087249085e519a9d3d18ae97e/sbin/common/config_init.sh#L320  . Maybe the .1 file can be linked  to its generated html version?

Maybe the .1 file can be linked to its generated html version?

Yeah I just want to make sure it's only in one place to avoid duplication/fragmentation (Currently it's in the README and the separate man page). I've seen quite a few PRs that have only updated one of them. I'd probably only have one of them and link one to there other, although I'm unsure which way round is best to cover both people using the tool running -h and people looking at the README (The .1 man pages aren't too easy to read via the web). All opinions welcome though :-)

Sure thing to get rid of duplication. Linking the .1 file from readme.md seems like initial step to do. When I was searching for "man2html " online, I was hoping to find something like http://raw.githack.com , just with additional man page convertion.
Maybe it can be tan be taken form different angle. There seems to be some efforts to have man pages in markup. Maybe if there is this man page in markup, it will be easy to provide to man, to html view and also as plain text view.


VSCode crashes when opening any minified Javascript file

I have a powerful machine with the configurations below:
Intel Core i7-4770K 3.5GHz 8MB L3 cache
16 GB RAM 2133Mhz
SSD 256 GB
MS Win 10 64-bit
If I try to open any minified Javascript file (34kb, for example), VSCode stops responding, and after ~20s it shows a dialog with the options: "Reopen", "Keep waiting" or "Close".
If I click "Keep waiting", sometimes after 40s or more it finally displays, but usually it doesn't.
If I click "Reopen", it never reopens and after more time, it shows the dialog again.
If I click "Close", VSCode is closed and I need to reopen it manually (as expected).

VSCode Version: Last version (1.1.1)
OS Version: Microsoft Windows 10 Home Single Language

Steps to Reproduce:

Download the attached minified file.
Rename it to min.js
Open VSCode
Open min.js

Can't repro.
Followed your steps.
Running Win 10 Pro 1511 though.

Btw, didn't inform, and not sure if it can be the cause of this, but I'm using the Dark-Dracula theme.

Yup, same one I'm running.

Created an animated GIF showing what happens:

Might be an installed extension, try updating your extensions.

Updated to v1.2.0 and the problem is gone.


adminrouter: make grpc proxy port configurable

High-level description
Adds a configuration option to change the AdminRouter gRPC proxy port.
Corresponding DC/OS tickets (required)

D2IQ-61007 Make the gRPC socket port configurable via install config param.

@mesosphere-mergebot changelog-not-required part of grpc/etcd/calico effort

@mesosphere-mergebot label Ready For Review

Hi! Am I correct, that on the dcos cli side this port number is hardcoded (as 12379)?

@vavy kind of, for the calico subcommand yes it is: https://github.com/dcos/dcos-core-cli/blob/2.2-patch.x/pkg/cmd/calico/calico.go#L134-L143.


feat: implement Get Certificate Info API

@snhane did you test it? Is it working?a

@snhane did you test it? Is it working?

yeah


Windows Local Installation

Hi, can anybody write a step-by-step guide for windows installation, or xampp installation?

Solved


HEALPix package not in listed packages

HEALPix package not in listed packages:
https://sourceforge.net/projects/healpix/files/

@thierleft, the PR has been merged, please get latest vcpkg source and try again.


neonctl fails any command when running in GitHub Actions context

Starting today, neonctl stopped working inside the GitHub runners context, despite me rotating API keys, removing/adding NeonDB GH integration, adding keys manually, ensure all required vars are available, etc.
For the sake of consistency, I tried the same commands locally in my terminal, using the same strategy of keeping NEON_API_KEY variable exported inside my environment, and the these commands worked as expected.
Could there be some blocking happening on the NeonDB side?
BTW, majority of my workflows run NeonDB's own GitHub Actions, such as:

https://github.com/marketplace/actions/neon-database-create-branch-action
https://github.com/marketplace/actions/neon-database-reset-branch-action
https://github.com/marketplace/actions/neon-database-delete-branch

The above all fail with the same eror, same as using neonctl directly.
Steps to reproduce
Add the following create_neon_branch workflow and run it via Pull Request
name: Preview

on:
  pull_request:
    types:
      - opened
      - reopened
      - synchronize
      - closed

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}

env:
  NEON_DATABASE_USERNAME: ${{ vars.PG_USERNAME }}
  NEON_DATABASE_NAME: ${{ vars.PG_DATABASE }}
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
  NEON_API_KEY: ${{ secrets.NEON_API_KEY }}
  NEON_PROJECT_ID: ${{ vars.NEON_PROJECT_ID }}

jobs:
  setup:
    name: Setup
    outputs:
      branch: ${{ steps.branch_name.outputs.current_branch }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Get branch name
        id: branch_name
        uses: tj-actions/branch-names@v8

  create-branch:
    name: Create Neon DB branch
    needs: setup
    outputs:
      db_url_with_pooler: ${{ steps.create-branch.outputs.db_url_with_pooler }}
      branch_id: ${{ steps.create-branch.outputs.branch_id }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: pnpm/action-setup@v4
        with:
          run_install: false

      - uses: actions/setup-node@v4
        with:
          node-version: 22
          cache: "pnpm"

      - name: Create Neon Branch
        id: create-branch
        uses: neondatabase/create-branch-action@v5
        with:
          project_id: ${{ env.NEON_PROJECT_ID }}
          # parent: dev # optional (defaults to your primary branch)
          branch_name: preview/pr-${{ github.event.number }}-${{ needs.setup.outputs.branch }}
          username: ${{ env.NEON_DATABASE_USERNAME }}
          database: ${{ env.NEON_DATABASE_NAME }}
          api_key: ${{ env.NEON_API_KEY }}

Expected result
Expected to have db_url_with_pooler and branch_id available and successful job completion
Actual result
Warning: Can't add secret mask for empty string in ##[add-mask] command.
branch create out:
branch create err:
ERROR: The request could not be authorized due to an internal error
ERROR: branch creation failed
ERROR: The request could not be authorized due to an internal error
Error: Process completed with exit code 1.

Environment
node: v22.12.0
npm: 10.9.0
yarn: 1.22.22
Logs, links

https://neon.tech/docs/connect/connection-errors#the-request-could-not-be-authorized-due-to-an-internal-error

Hey! Thanks for reporting!
There was a problem on our side. Can you try again now, please?

FWIW, I'm having the exact same issue. I just tried it again, but it's still not working. The Neon API, however, is working for me.

Mine just went through successfully, thanks for sorting this out!
I would love to get more meaningful error messages from the CLI though, since I though it's my API that was the problem, so I rotated the key everywhere as a result, which wasn't very optimal.

Hmmm I'm still having a problem, @duskpoet. I'm running these from CircleCI, not GH Actions. Could that be the issue?

Mine just went through successfully, thanks for sorting this out!
I would love to get more meaningful error messages from the CLI though, since I though it's my API that was the problem, so I rotated the key everywhere as a result, which wasn't very optimal.

Yea, sorry, we had a misnatch between api and our api client

Hmmm I'm still having a problem, @duskpoet. I'm running these from CircleCI, not GH Actions. Could that be the issue?

not sure, maybe something is cached?

Can you, please, confirm that issue is resolved, @fabuzaid21 ? I am not familiar with CircleCI at all :(


FileNotFoundError: [Errno 2] No such file or directory: './results/debug_weibo_s_bigal_all_loss1010_2layers_simi-cos_none_12-07_12-49'

I cloned the repo in my local and run the commands as provided.
But when I tried ti train the model with the command : python  -m  src.main
i got the following error
File "/home/user/gnn/gnn_poc/src/main.py", line 70, in main
if not os.path.isdir(args.out_path): os.mkdir(args.out_path)
FileNotFoundError: [Errno 2] No such file or directory: './results/debug_weibo_s_bigal_all_loss1010_2layers_simi-cos_none_12-07_12-49'
Please help me to fix this.

Hi, thanks for your interest in our work! According to the error message, I think creating a folder named results/ might be able to solve it.

Thanks. The issue has been resolved


im2rec with unchanged = 1 report error when prediction

Report error when produce image record file train.rec with parameter with unchanged = 1 and test the iterator will report following error:
[23:10:24] /home/jjzhao/mxnet/dmlc-core/include/dmlc/logging.h:235: [23:10:24] src/io/./iter_batchloader.h:83: Check failed: (unit_size_[i]) == (d.data[i].Size())
But if produce train.rec without unchanged=1 will have no such issue, may I know why?

Another issue is, when for im2rec, it seems that it cannot encode both png and jpg as stated:
rgroup.add_argument('--encoding', type=str, default='.jpg', choices=['.jpg', '.png'],
help='specify the encoding of the images.')

This is because some grayscale will have dimension error. Using unchanged=0 will have no such error.
We have compared three methods to extract feature:

Input is mx ImageRecord, feature extraction using converted caffemodel
Input is image, using preprocessing given in notebook finetune example, feature extraction using converted caffemodel
Input is image, using caffe to extract feature

The result shows that it has minimal difference:
For one image feature output from relu7 of VGG16, the sums of the 4096 vector are:

8529.88378906
8542.23437500
8542.23339844

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


[improve][broker] Optimize topic production rate stats.

Motivation
In a production environment, we often encounter a scenario: send a message to create a producer, and then close it after use. At this time, we will see that the msgRateIn and msgThroughputIn in topics stats are always 0. This is because the msgRateIn and msgThroughputIn of the topic are calculated from the online producer.
(Here I only optimized the production rate stats, and the consumption rate stats also have similar problems.)
Modifications

Add rateIn statistics in topic to avoid relying on producers being online.
Add an optional configuration to be compatible with the previous logic.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Plz add unit tests to cover this logic.

I have added unit tests, PLAT~

@hanmz This is a long-standing issue and the plan was to address as part of the overall changes of PIP-264. I wouldn't introduce a fix for just 1 metric with one dedicated config option when these metrics are going away soon. @dragosvictor has already started converting the metrics.

@hanmz This is a long-standing issue and the plan was to address as part of the overall changes of PIP-264. I wouldn't introduce a fix for just 1 metric with one dedicated config option when these metrics are going away soon. @dragosvictor has already started converting the metrics.

If the community will solve this problem in the near future, this PR will not be introduced.


Availability of elastic jobs for vCore databases

Do elastic jobs work for only DTU based databases or certain tiers (premium vs standard)? Or do they also work for vCore?

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

ID: af7d5bb1-1cb9-b796-2abc-e0250ddbd82b
Version Independent ID: a6281493-bf6b-0449-23a1-77019959fee4
Content: Azure SQL Job automation
Content Source: articles/sql-database/sql-database-job-automation-overview.md
Service: sql-database
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

@dmarlow Thank you for reaching out. We are actively investigating and will get back to you soon.

@dmarlow The Elastic Jobs service is in preview and can be provisioned with Standard and Premium Pricing tiers as of now.
However you can run tasks on any target database irrespective of the pricing model.
Please let us know if you have further questions.

So, if I understand correctly. You provision it to some other database, then target a task specifically to the correct database, right?

Yes, Elastic Job agent requires an existing SQL database. This database needs to be a standard or Premium tier for now.
The agent configures this existing database as the "Job database".

We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.