createReadStream on gridfs doesn't work. (server-side only)

I think it was mentioned in a couple of issues before
similar to https://github.com/CollectionFS/Meteor-CollectionFS/issues/603 creating a readStream doesn't work, and not even on gridFS

var fs = Npm.require("fs");
Sounds.findOne().createReadStream().pipe(fs.createWriteStream('/tmp/tmp.tmp'));

readStream always produces an empty buffer even though i can see

GET FILERECORD: tng4fBaekshAaN67h
fileObj.createReadStream creating read stream for store sounds
createReadStream sounds
createReadStreamForFileKey sounds
GRIDFS { _id: 56ba914cae01c4dd1aed0a06, root: 'cfs_gridfs.sounds' }
BassDrums30.mp3
{ domain: null,
  _events: {},
  _maxListeners: 10,
  paused: false,
  readable: true,
  options:
   { _id: 56ba914cae01c4dd1aed0a06,
     root: 'cfs_gridfs.sounds',
     w: 1 },
  id: 56ba914cae01c4dd1aed0a06,
  name: '',
  mode: 'r',
  range: { startPos: 0, endPos: undefined },
  _store:
   { db:{...}
     domain: null,
     _events: {},
     _maxListeners: 10,
     referenceBy: 1,
     fileId: 56ba914cae01c4dd1aed0a06,
     filename: 'BassDrums30.mp3',
     mode: 'r',
     options:
      { _id: 56ba914cae01c4dd1aed0a06,
        root: 'cfs_gridfs.sounds',
        w: 1 },
     root: 'cfs_gridfs.sounds',
     position: 0,
     readPreference: 'primary',
     writeConcern: { w: 1 },
     internalChunkSize: 2097152,
     contentType: 'audio/mp3',
     uploadDate: Wed Feb 10 2016 02:24:28 GMT+0100 (CET),
     aliases: null,
     length: 480642,
     metadata: { owner: 'uo4xPWhkKuin7wHGj' },
     internalMd5: '3aac11676a0f6c2fc061c43853e2362f',
     currentChunk:
      { file: [Circular],
        writeConcern: [Object],
        objectId: 56ba914cae01c4dd1aed0a07,
        chunkNumber: 0,
        data: [Object],
        internalPosition: 480642 } },
  safeOn: [Function],
  safeOnce: [Function],
  reading: true,
  _stream:
   { domain: null,
     _events:
      { data: [Function],
        end: [Function],
        error: [Function],
        close: [Function] },
     _maxListeners: 10,
     autoclose: false,
     gstore:
      { db: [Object],
        domain: null,
        _events: {},
        _maxListeners: 10,
        referenceBy: 1,
        fileId: 56ba914cae01c4dd1aed0a06,
        filename: 'BassDrums30.mp3',
        mode: 'r',
        options: [Object],
        root: 'cfs_gridfs.sounds',
        position: 0,
        readPreference: 'primary',
        writeConcern: [Object],
        internalChunkSize: 2097152,
        contentType: 'audio/mp3',
        uploadDate: Wed Feb 10 2016 02:24:28 GMT+0100 (CET),
        aliases: null,
        length: 480642,
        metadata: [Object],
        internalMd5: '3aac11676a0f6c2fc061c43853e2362f',
        currentChunk: [Object] },
     finalLength: 480642,
     completedLength: 480642,
     currentChunkNumber: 1,
     paused: false,
     readable: false,
     pendingChunk: null,
     executing: false,
     destroyed: false,
     numberOfChunks: 1,
     seekStartPosition: 0 },
  pause: [Function],
  resume: [Function],
  destroy: [Function] }

{ _writableState:
   { highWaterMark: 16384,
     objectMode: false,
     needDrain: false,
     ending: false,
     ended: false,
     finished: false,
     decodeStrings: true,
     defaultEncoding: 'utf8',
     length: 0,
     writing: false,
     sync: true,
     bufferProcessing: false,
     onwrite: [Function],
     writecb: null,
     writelen: 0,
     buffer: [],
     errorEmitted: false },
  writable: true,
  domain: null,
  _events:
   { finish: { [Function: g] listener: [Function] },
     drain: [Function: ondrain],
     error: [Function: onerror],
     close: [Function: cleanup] },
  _maxListeners: 10,
  path: '/tmp/tmp.tmp',
  fd: null,
  flags: 'w',
  mode: 438,
  start: undefined,
  pos: undefined,
  bytesWritten: 0 }

tried catching data (https://github.com/CollectionFS/Meteor-CollectionFS/issues/457, emits with buffer[0]), inserting a Meteor._sleepForMs(100);. nothing.
I guess the only way is going through http manually?
Is this because we go and look in FS.Tempstore? aka there's an assumption we pre-load it on the client side? (i haven't looked too deep)
Thanks,

Ofcourse after 3 days of debugging, the answer comes when I post an issue ;)
The problem was wrapping the code in an Async correctly (as posted in #457)... i was previously prematurely executing the function.
Feel free to close this now. :+1:


⚠ SceneTime has degraded performance

In 5316077, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 6551 ms

Resolved: SceneTime performance has improved in d21bfaf after 10 minutes.


Build error with rust 1.21

Works on 1.20, fails on 1.21 with the following error:
     Running `/usr/bin/rustc --crate-name cat examples/cat.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=e6f5be159863a10d -C extra-filename=-e6f5be159863a10d --out-dir /builddir/build/BUILD/memmap-0.5.2/target/release/examples -L dependency=/builddir/build/BUILD/memmap-0.5.2/target/release/deps --extern tempdir=/builddir/build/BUILD/memmap-0.5.2/target/release/deps/libtempdir-6b2c81b785a9b5c4.rlib --extern libc=/builddir/build/BUILD/memmap-0.5.2/target/release/deps/liblibc-32609fb12466c024.rlib --extern memmap=/builddir/build/BUILD/memmap-0.5.2/target/release/deps/libmemmap-f8b77f32bb5386b7.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now`
error: variable does not need to be mutable
   --> src/lib.rs:880:17
    |
880 |             let mut jitmem = unsafe { map.as_mut_slice() };
    |                 ^^^^^^^^^^
    |
note: lint level defined here
   --> src/lib.rs:3:9
    |
3   | #![deny(warnings)]
    |         ^^^^^^^^
    = note: #[deny(unused_mut)] implied by #[deny(warnings)]

error: aborting due to previous error

error: Could not compile `memmap`.

Thanks for the report @eclipseo! This should a nice quick fix, would you like to submit a PR for it?

Hum, I'm no Rust developer, just a package maintainer.
Furthermore it seems the culprit has been removed from the code already: https://github.com/danburkert/memmap-rs/commit/da7000b09478d1e94c66ba647a12450be93fa159#diff-b4aea3e418ccdb71239b96952d9cddb6L484
Maybe this is already fixed then and it just need a new release.

Hi sorry, I just got a chance to loop back to this. Since this is just a test, if it's not blocking you @eclipseo then maybe we can just wait until the next breaking release of memmap is released. Would that work for you, or do you need this fixed up and a patch pushed out?

It's not blocking me, I can wait.

0.6.0 has been released with the #[deny(warnings)] attribute removed, so this shouldn't be an issue going forward.


Shadow Slave chapter 1445 having an empty chapter

Source information
LNReader
Steps to reproduce
Open LNreader
Click Shadow slave
Open chapter 1445
Expected behavior
A Chapter shouldve been presented
Actual behavior
The chapter is empty
LNReader version
1.1.14
Android version
Android14
Other details
It said i should report to github if the chapter is empty
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.12.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

source name?

Closing since there's no response. If its still happening reopen and add the Source name.


chore(package): update uglify-es v3.1.3...3.2.0

There are a couple of important fixes in 3.2.0 that should make it the new minimum:

https://github.com/mishoo/UglifyJS2/issues/2497
https://github.com/mishoo/UglifyJS2/issues/2496

Thanks @michael-ciniawsky 👍


Add Phenyl API explorer

Closes #18
How to develop
cd modules/phenyl-api-explorer
cd src/client
yarn && yarn build
cd ../../
npm start
open http://localhost:8000/explorer

Thanks @Leko for this great function!


Screenshare on HoloLens2 doesn't show holographics

Describe the bug
When screensharing from HoloLens2 - the desktop user in the same room can't see the holographic images.
Server

Version: [1.1]
Environment: [ubuntu docker]

Client

SDK: [Web]

Expected behavior
When screensharing we should se everything the user sees not just the camera and os apps.   We are wanting to screenshare when in WebXR.

Hey @rboorman could you provide more information about this? I have not used HoloLens myself but would be happy to support the use case if possible.
Which browser are you running the client in? what does the client logs indicate when you attempt to share the screen?

Sorry about the delay - after more testing - It ended up being resource issues when sharing video streams within three.js scene in WebXR - it was bringing our framerate down to a crawl causing a severe delay in processing screen sharing.  We are optimizing our process to handle the video streaming textures, however screen sharing with holograms do in fact work well.  This issue can be closed.


"Error creating augmented cigarlist"

Hello,
I was trying to run LongShot on Long-Read Nanopore data (for RNA sequencing) aligned with ultra (https://github.com/ksahlin/ultra).
When I run longshot with basis parameters :
longshot --bam /scratchbeta/rialland/LR_SEQ/u_PIL4_1.bam --ref /scratchbeta/rialland/GRCh38.p13.fa --out P41_longshot.vcf
It doesn't work and generates this error :
2024-02-20 11:16:17 Min read coverage set to 6.
2024-02-20 11:16:17 Max read coverage set to 8000.
2024-02-20 11:16:17 Estimating alignment parameters...
error: Error estimating alignment parameters.
caused by: Error creating augmented cigarlist.
caused by: Unexpected CIGAR operation: 'reference skip' (N) found before any operation describing read sequence
Does somebody ever meet this issue or can help ?
Thank you,
Laëtitia

It seems that the aligned reads have a 'N' (reference_skip) as the first operation in the cigar string. This is not expected since reference_skip is usually for skipping over introns.


Throw original exceptions from proxied calls.

Fixes #379
Not sure how this can be tested.

Reflection has been completely removed (see https://github.com/micronaut-projects/micronaut-tracing/pull/384), so this shouldn't be an issue anymore.


Testing the Migrated Python Script and Updating Documentation

Describe the Issue
After successfully migrating the project set admin script from Bash to Python, we need to thoroughly test the new Python script to ensure that it performs all administrative tasks as expected. Additionally, we need to update the documentation to reflect the migration to Python and provide guidance on using the new Python script.
Additional Context
Add any other context, attachments or screenshots
Acceptance Criteria

The Python script is tested to ensure that it performs all administrative tasks as expected and aligns with best practices for - Python development.
Documentation is updated to reflect the migration and usage of the new Python script, and stakeholders are informed of the changes.

Application tested and test case document created: project.doc SetAdminAppTestCase.doc stored in


Additional SIMD helpers

A couple SIMD helpers to use for clamping output modulation values down the line (instead of on input maybe), and to test if values are within some bounds (to check for shortcuts, in particular if the modulated gain is 0 or close to 0 then we can skip the voice).
The clamp accelerator is not super useful on my machine, but the within test goes nicely.

Maybe it is if you unroll it ?

The SIMD accelerator?

Here after some unrolling
ClampArray/Scalar/4096        367 ns          364 ns      1888847
ClampArray/SIMD/4096          292 ns          290 ns      2417817

Try as follows
    const auto mmLow = _mm_set1_ps(low);
    const auto mmHigh = _mm_set1_ps(high);
    while (input + 16 < lastAligned) {
        const auto mmIn = _mm_load_ps(input);
        _mm_store_ps(input, _mm_max_ps(_mm_min_ps(mmIn, mmHigh), mmLow));
        incrementAll<TypeAlignment>(input);
        _mm_store_ps(input, _mm_max_ps(_mm_min_ps(mmIn, mmHigh), mmLow));
        incrementAll<TypeAlignment>(input);
        _mm_store_ps(input, _mm_max_ps(_mm_min_ps(mmIn, mmHigh), mmLow));
        incrementAll<TypeAlignment>(input);
        _mm_store_ps(input, _mm_max_ps(_mm_min_ps(mmIn, mmHigh), mmLow));
        incrementAll<TypeAlignment>(input);
    }

    while (input < lastAligned) {
        const auto mmIn = _mm_load_ps(input);
        _mm_store_ps(input, _mm_max_ps(_mm_min_ps(mmIn, mmHigh), mmLow));
        incrementAll<TypeAlignment>(input);
    }

You're missing a load in the unrolling, you can replace all the mmIn by _mm_load_ps(input) (and remove the const auto mmIn). Is it still faster for you? I'm back home so I can check on another chip too.

No gain for me on my machines. We can still merge it and disable it, if it helps on other archs the skeleton will be there :)

Yes sorry about above, it's erroneous, just disregard.


Create v1 release

Summary
Following the official npm documentation on semantic versioning it is recommended to use a v1.0.0 release:

To help developers who rely on your code, we recommend starting your package version at 1.0.0 [...]

While starting it is already out of the picture with ten v0 releases, activity on this project has dialed down and this seems like as good a time as ever to start v1 releases.
This release should include all currently pending breaking changes.

Resolved with #305


App: assets not loading

Some GH pages cache issue? Size limit?
Access to video at 'https://webaverse.github.io/assets/fx/Elements%20-%20Sparks%20104%20Hit%20Radial%20noCT%20noRSZ.webm' from origin 'https://<IP_ADDRESS>:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
(index):1 GET https://webaverse.github.io/assets/fx/Elements%20-%20Sparks%20104%20Hit%20Radial%20noCT%20noRSZ.webm net::ERR_FAILED
(index):1 Access to video at 'https://webaverse.github.io/assets/fx/Elements%20-%20Energy%20023%20Projectile%20Right%20Loop%20noCT%20noRSZ.webm' from origin 'https://<IP_ADDRESS>:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
(index):1 GET https://webaverse.github.io/assets/fx/Elements%20-%20Energy%20023%20Projectile%20Right%20Loop%20noCT%20noRSZ.webm net::ERR_FAILED
(index):1 Access to video at 'https://webaverse.github.io/assets/fx/Elements%20-%20Fire%20067%20Right%20Projectile%20Loop%20noCT%20noRSZ.webm' from origin 'https://<IP_ADDRESS>:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
(index):1 GET https://webaverse.github.io/assets/fx/Elements%20-%20Fire%20067%20Right%20Projectile%20Loop%20noCT%20noRSZ.webm net::ERR_FAILED
(index):1 Access to XMLHttpRequest at 'https://webaverse.github.io/assets/male.vrm' from origin 'https://<IP_ADDRESS>:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
runtime.js:543 ProgressEvent {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error", …}
_loadVrm @ runtime.js:543
async function (async)
_loadVrm @ runtime.js:538
(anonymous) @ runtime.js:1454
runtime.loadFile @ runtime.js:1458
(anonymous) @ world.js:348
async function (async)
(anonymous) @ world.js:345
(anonymous) @ world.js:69
r @ yjs.js:57
We @ yjs.js:77
rn @ yjs.js:77
value @ yjs.js:77
(anonymous) @ yjs.js:77
r @ yjs.js:57
e @ yjs.js:77
Ft @ yjs.js:77
value @ yjs.js:77
(anonymous) @ world.js:274
(anonymous) @ universe.js:232
_doLoad @ universe.js:224
async function (async)
_doLoad @ universe.js:211
enterWorld @ universe.js:270
bootstrapFromUrl @ app.js:93
async function (async)
bootstrapFromUrl @ app.js:77
(anonymous) @ (index):534
universe.js:271 TypeError: Cannot read property 'scene' of undefined
    at _loadVrm (runtime.js:549)
    at :3001/async https:/<IP_ADDRESS>:3001/runtime.js:1454
    at async Object.runtime.loadFile (runtime.js:1450)
    at async EventTarget.<anonymous> (world.js:348)
(anonymous) @ universe.js:271
Promise.catch (async)
enterWorld @ universe.js:270
bootstrapFromUrl @ app.js:93
async function (async)
bootstrapFromUrl @ app.js:77
(anonymous) @ (index):534

No longer seeing this.


Zoom in, to select a spot, crashes the system

Try to zoom in, and select a spot.
Steps to reproduce the behavior:

Zoom in and observe the zoom levels from 17.8 18.3 18.9 19.5
Finally screen blacks out.

Zoom in, though the level changes, the screen display seems to be the same. Finally blacks out without showing further details.
Screenshots

@panamint55 I wonder if this issue was related to the overheating and over processing from before with the Navigation dot on constantly. I can't seem to replicate the issue.

Issue may be because of overheating and was solved in #106. Closing for now.


Model fails to load if some primitives are Draco encoded and others are not

I can't share the data publicly, but I have a glTF that contains two primitives, one with triangles and the other with lines, and only the triangles are Draco encoded. The code assumes that if the extension is present then all primitives are Draco encoded, which causes a failure when processing the lines.

This happened with another model that had both lines and triangles.

@lilleyse @ggetz Any guess on how easy this will be to fix?  Seems like it's starting to pop up more often.

We check each primitive for the extension before attempting to decode: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/DracoLoader.js#L180
Then throughout we check if there's decoded data associated with the primitive, and use that: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Model.js#L2549
This would be a matter of making sure the resources for the primitives without the extension are loaded and used properly.


Is there other functions? AddMonths, AddYears exc.

@vabed please provide us with the link to the doc you are referring to

@vabed I will close then. Please provide me with a link to what you are referring to and we can reopen and continue.


Unable to drag or click-and-drag on dead bodies

I had initially reported this under #3464 but realized that it actually has nothing to do with gravity being on or off. Bodies can no longer be dragged at all, and can't be click-and-dragged into the body scanner even if you bring the scanner to the body. In some cases they also cannot be looted via click-and-drag.
This occurs even if gravity is never turned off and someone happens to die at the start of a new round.

Just noticed this when I was trying to report a different bug, it's since been fixed.


FCM, FCMPlugin are always undefined

FCM, FCMPlugin are always undefined
Our Ionic setup with Capacitor using capacitor-community/fcm to listen for push notifications for defined topics (currently only all) does not work as expected. Calling fcm.subscribeTo() as well as FCMPlugin.subscribeTo() result in an error when running in an Android device:

Cannot read property 'subscribeTo' of undefined

My first thoughts were, that this is an Angular / Ionic specific issue, but after trying a couple of different solutions, I concluded, that there is another problem in our setup:

using the FCM class via Angulat Provider did not work
creating an fcm variable with const fcm = new FCM() did not work
using FCMPlugin.subscribeTo() directly did not work
wrapping the function call in an additional this.application.ready().then() callback did not work too

To Reproduce

Setup the tabs ionic project with capacitor support
Add the Push Notifications features as defined below

Package and software versions
// packages.json
"@capacitor-community/fcm": "^1.0.8",
"@capacitor/android": "^2.4.4",
"@capacitor/core": "2.4.4",

// cli
ionic --version
6.12.3

npm --version
6.14.5

npx cap --version
2.4.4

Notes

the build works like charm, the problem seems to occur at runtime
Sending messages directly via Firebase console works fine, but in contrast to our custom messaging serverside applicatin it does not send to a specific topic

Code sample
import { Component, OnInit } from '@angular/core';

import {
  Plugins,
  PushNotification,
  PushNotificationToken,
  PushNotificationActionPerformed,
} from '@capacitor/core';

const { PushNotifications } = Plugins;
import { Platform } from '@ionic/angular';
import { FCM } from '@capacitor-community/fcm';
const fcm = new FCM();

@Component({
  selector: 'app-tab3',
  templateUrl: 'tab3.page.html',
  styleUrls: ['tab3.page.scss']
})
export class Tab3Page implements OnInit {

  constructor(private platform: Platform) {

  }

  ngOnInit() {
    // On success, we should be able to receive notifications
    PushNotifications.addListener('registration',
      (token: PushNotificationToken) => {
        alert('Push registration success, token: ' + token.value);

        alert("Trying to subscribe to topic 'all'...");

       // the error is thrown here: fcm.subscribeTo() is not available, fcm is undefined

        fcm.subscribeTo({ topic: 'all' })
          .then((r) => alert("subscribed to topic 'all'. Should receive notifications to this topic from now on."))
          .catch((err) => console.log('Error on PushNotifications.fcm.subscribeTo():' + JSON.stringify(err)));
      }
    );

    // Some issue with our setup and push will not work
    PushNotifications.addListener('registrationError',
      (error: any) => {
        alert('Error on registration: ' + JSON.stringify(error));
      }
    );

    // Show us the notification payload if the app is open on our device
    PushNotifications.addListener('pushNotificationReceived',
      (notification: PushNotification) => {
        alert('Push received: ' + JSON.stringify(notification));
      }
    );

    // Method called when tapping on a notification
    PushNotifications.addListener('pushNotificationActionPerformed',
      (notification: PushNotificationActionPerformed) => {
        alert('Push action performed: ' + JSON.stringify(notification));
      }
    );

    // Request permission to use push notifications
    // iOS will prompt user and return if they granted permission or not
    // Android will just grant without prompting
    PushNotifications.requestPermission().then( result => {
      if (result.granted) {
        // Register with Apple / Google to receive push via APNS/FCM
        PushNotifications.register().then((_) => {
          console.log("Registration success (callback).");
        })
        .catch((err) => alert('Error on PushNotifications.register():' + JSON.stringify(err)));;
      } else {
        // Show some error
      }
    });
  }
}

Did you run npx cap sync after npm install?

Did you run npx cap sync after npm install?

Hello, thank you for your feedback. Yes i did run the sync. Other plugins @ionic-native/contacts work perfectly okay on the device.

@remluben
I think the problem is that you forgot to add this plugin to your MainActivity.java.
Since the other plugin you are referring to is a cordova-plugin this step isn't necessary there.
I looked throught the readme of this plugin and i did not find this step there so this could/should be probably stated there...
As you can see in the example-integration it get's added to the MainActivity
You can read more about this in the capacitor-docs.
br

@remluben
I think the problem is that you forgot to add this plugin to your MainActivity.java.
Since the other plugin you are referring to is a cordova-plugin this step isn't necessary there.
I looked throught the readme of this plugin and i did not find this step there so this could/should be probably stated there...
As you can see in the example-integration it get's added to the MainActivity
You can read more about this in the capacitor-docs.
br

Hi @adrenaline15 ,
that's the missing link. I did not know about these extra steps to take.
Anyway, my issues are solved.
Thanks a lot.
Kind regards,
Benjamin


Add a toggle picture/video mode feature

To considered such feature complete, it must

[ ] Allow to (un)subscribe from remote feeds video (see #308)
[ ] To capture and emit the feed picture
[ ] To show the feed picture when not subscribed to video (partially done in #308, no picture available yet)

We are postponing this feature. Actually, we are not sure whether it is OK from UX point of view.

We postponed this. Now the time to address it is coming. So I'm reopening the ticket.


Removing pipeErrorsTo

What ❓
pipeErrorsTo has been deprecated since April 2016 with no helpful explanation why.
This is the final PR to wrap up the official deprecation of pipeErrorsTo (#445, #447, #448, #449, #450)
ProjectNotificationSettingsViewModel did not have any tests so I added some 👍
Showing a Snackbar when there is an error instead of a Toast.
Story 📖
Trello
How to QA? 🤔

[ ]  Project Notification Settings screen retains functionality to display preferences and alert when there's an error.

 Removing deprecated Transformers.pipeErrorsTo calls


Angular 5

Hi,
I'm pretty new to Angular but I wan't to create a little sample Angular App to check how to connect to our SSO system Keycloak.
I installed the latest Angular cli (Version 1.5), created a project, added your library and followed your readme. Something went wrong, I did not succeed because the OAuthService could not be injected.
A closer look what happens when using
npm i angular-oauth2-oidc --save
said angular-oauth2-oidc version 2.1.8 has some unresolved dependencies.
After that I tried to get your sample up and running, which resulted in this error
You seem to not be depending on "@angular/core". This is an error.
I know you mention in the readme your library is tested successfully with Angular 2 and 4. Unfortunately I have no clue how to downgrade, so are there any plans to get the library running with Angular 5?
Cheers,
Christoph

I managed to downgrade to Angular 4 and I was able to use the implicit authentication flow.
Now the question remains if there are any plans to make angular-oauth2-oidc compatible with Angular 5?

@flexguse difficult to say without seeing error ,but I am using this with angular 5. The error I had was that I stopped using HttpModule. New one is HttpClientModule which angular 5 uses and this library still has reliance on HttpModule. So you need to include HttpModule in angular 5 until oidc library catches up with new client. I think there is an existing issue as well.

The PR to replace HttpModule with HttpClientModule has been merged in https://github.com/manfredsteyer/angular-oauth2-oidc/issues/152.  Hopefully @manfredsteyer can publish a new version to NPM soon so everyone can have access to the Angular 5 version.

Hi,
thanks for your help! I'll proceed learning Angular with version 4 and I am looking forward having a angular-oauth2-oidc version compatible with Angular 5.

+1 we are on it and Angular 5 support will arrive soon.

can't wait for it... 💯


bugfix: update the implement of local storage

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #512 into master will decrease coverage by 0.01%.
The diff coverage is 75.86%.

@@            Coverage Diff             @@
##           master     #512      +/-   ##
==========================================
- Coverage   54.23%   54.22%   -0.02%
==========================================
  Files          82       83       +1
  Lines        4235     4275      +40
==========================================
+ Hits         2297     2318      +21
- Misses       1784     1806      +22
+ Partials      154      151       -3

Impacted Files
Coverage Δ

supernode/store/store.go
58.13% <27.27%> (ø)
:arrow_up:

supernode/store/errors.go
73.33% <73.33%> (ø)

supernode/store/local_storage.go
75% <85.24%> (+3.77%)
:arrow_up:

dfget/core/uploader/uploader.go
79.61% <0%> (-14.57%)
:arrow_down:

supernode/daemon/mgr/scheduler/manager.go
26.22% <0%> (+0.81%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Update and Retrieve in a single request

Currently, to update the record and get the updated record from dynamics we must call two methods: Update(Async) and Retrieve(Async). Ideally, we should be able to same thing with only a single request, similar to CreateAndReturnAsync (which isn't implemented btw).
The idea behind this FR is to be able to minimize the number of requests than need to be done to get the result.
This is available via WebApi (https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/mt607664(v=crm.8)#update-with-data-returned), so ideally it should be possible to do with the library

CreateAndReturnAsync is the solution, but as a workaround perhaps it'd be possible to Create (with a client generated GUID) and Retrieve inside a ExecuteMultiple call?

I want to UpdateAndReturnAsync, but right now I must call Update and Retrieve, so ideally, this should be possible to do with just a single call.
BTW CreateAndReturnAsync (implementation of it) would be useful too.

To clarify a few things... The Dataverse WebAPI is implemented on the Organization API.  The Organization API is what is directly exposed in this client.
In the webAPI when Prefer: return=representation is used, the WebAPI interface is making multiple calls to the organization api.
In the case of a create it does the create, gets the id, then internally calls retrieve with all columns, its the same behavior for all operations that utilize it.
That operation a very inefficient and expensive operation, specifically in the case of 'non-create' as the size of the existing record can be quite large (and time consuming in relative terms).  Thus, we wanted to encourage a user that needed that functionality to explicitly think about it, ideally filtering the return set of information, which you can do in the webAPI, though its rarely used.
Based on our telemetry of API operations, In most cases when an update occurs, it's a point update (1 or more fields) and the resulting data in the record, that data that was not touched in the update, is less important to the caller.
That said, we have considered adding an extension to the client for that purpose (Update and return record), requiring the caller to provide a column set to be returned to discourage the bad habit of "all columns".   It has been on our 'to-do list' of items we have for extensions to the client for a while.

@MattB-msft thanks for the update.
I agree that both operations should look like this (should require ColumnSet):
Task<Entity> CreateAndReturnAsync(Entity entity, ColumnSet columnSet, CancellationToken cancellationToken);
Task<Entity> UpdateAndReturnAsync(Entity entity, ColumnSet columnSet, CancellationToken cancellationToken);

This will be added to https://github.com/microsoft/PowerPlatform-DataverseServiceClient/blob/master/src/GeneralTools/DataverseClient/Client/Interfaces/IOrganizationServiceAsync2.cs? Or maybe another interface should be created to ensure backward compatibility.
Also, https://github.com/microsoft/PowerPlatform-DataverseServiceClient/blob/master/src/GeneralTools/DataverseClient/Client/Interfaces/IOrganizationServiceAsync2.cs#L42 should be marked as deprecated, so the users will always use version with ColumnSet

In the webAPI when Prefer: return=representation is used, the WebAPI interface is making multiple calls to the organization api.
In the case of a create it does the create, gets the id, then internally calls retrieve with all columns, its the same behavior for all operations that utilize it.

Didn't know that, but the client will do a single web request to the API? I'm using Fiddler to catch all requests going from my app to dynamics, so the end goal is to do a single request (with Prefer: return=representation) and get the updated/created entity instead of doing two requests.
My use case: I connect to Dynamics from .NET 7 WebAPI and I'd like to minimize traffic (time of the operation) between my API and Dynamics (on-premise)

Should we implement the Update behavior, we will have a discussion internally as to building it out as an IOrganziationService3, or an extension to OrganizationService
The create is less interesting to add a column set too as creates typically do not do a lot , we will discuss it though.

@MattB-msft any updates?

The next drop will include the implementation for CreateAndReturnAsync with the existing contract, (there is not a sync version of it right now).  that will be part of the last release of the 1.0.x version stream.
We will look at picking up variations of it and an update variation in the 1.1.x release versions which will come after the next drop.

Any updates?

@MattB-msft any updates on this?

At the very least for optimistic concurrency to work without races, rowversion needs to be returned. Does the WebAPI implement this on top of ExecuteTransaction?


Add 'assigned' status; remove 'in_progress' status

Removes 'in_progress' status and instead sets 'assigned' status. Conditions changed accordingly.

we also need a migration for anything currently with the status "in_progress", right?

beyond that, ship it when you're ready, along with the frontend change

we also need a migration for anything currently with the status "in_progress", right?

I don't think we need to since the status values are mapped in our db when we update from collaborator, which is when we get a detail or list, so they'll be set to the new value before they reach the frontend.

beyond that, ship it when you're ready, along with the frontend change

please approve the PR ❤


chore: use svelte 4

close #678

add svelte 3 in CI still, but only on node16 and ubuntu-latest
remove pnpmfile.cjs as it's covered by "vite": "$vite" override
Fix semver package vulnerability audit issue

Tests are intentionally failing until #679 is merged.

Looks like we can't run Svelte 4 in node14 CI since it doesn't support node14 anymore, so I made Svelte 3 to test in node14 instead. Don't think we need another CI run for Svelte 3 + node16? (which feels a bit wasteful)


crypto/x509: add CertPool.Equal

What version of Go are you using (go version)?
go 1.16.x
What did you expect to see?
In response to #45891, x509.CertPool structs can no longer be compared with reflect.DeepEqual, and there is no way to export the certificates, so there is no longer any way to fully compare these structs.
CertPool.Subjects can be used for a shallow comparison, but https://github.com/golang/go/issues/45891#issuecomment-831522265 shows that this is not a complete comparison.
By adding an Equal(other CertPool) bool these types can be compared directly, and go-cmp will automatically use the method for comparison.

In recent versions of Go, CertPool now internally represents a lazy set of certificates that might not be fully loaded yet.
What does "Equal" mean in this proposal? Would you want it to load them all from disk if they weren't yet?
Can you give some background on when you'd use this?

In recent versions of Go, CertPool now internally represents a lazy set of certificates that might not be fully loaded yet.

Yes, I believe this change is what prevented reflect.DeepEqual from working as it did before (#45891).
#45891 has some context.  We have tests that used reflect.DeepEqual to compare two x509.CertPool in go1.15.x. In Go 1.16.x those tests no longer work because two effectively equivalent cert pools are no longer considered equal.
I would expect Equal to load all the content from disk and compare the content using reflect.DeepEqual, which I think should make it equivalent to using reflect.DeepEqual in go1.15.x.

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

/cc @FiloSottile for whether this is a reasonable API addition

Talked to Filippo and he said this was reasonable to do. We are planning to keep the cert pools opaque when they are derived from the system pool, but it is easy to tell if two different pools both include the system pool or not.
Does anyone object to this?

Does anyone actually have a non-test use for this? Or is this something that comes up at all commonly? It sounds like it could end up being an unexpectedly slow and heavy-weight function.

@tmthrgd Filippo says it can be implemented efficiently. The definition of CertPool.Equal would be "same 'use system pool' setting and same additional certificates". So the system pool itself need not be consulted for implementing Equal.

Based on the discussion above, this proposal seems like a likely accept.
— rsc for the proposal review group

@tmthrgd Filippo says it can be implemented efficiently. The definition of CertPool.Equal would be "same 'use system pool' setting and same additional certificates". So the system pool itself need not be consulted for implementing Equal.

More than happy to be wrong, but I was basing that off of this request/requirement above: “I would expect Equal to load all the content from disk and compare the content using reflect.DeepEqual[.]” That sounded deceptively expensive to me. Though if it’s not expensive, there doesn’t seem to be any real reason to oppose it.

I would expect Equal to load all the content from disk and compare the content using reflect.DeepEqual, which I think should make it equivalent to using reflect.DeepEqual in go1.15.x.

To be clear, it won't. It will just compare whether two CertPools both say "include what's on disk" or not.

// Equal reports whether s and other are equal.

@rolandshoemaker Under what conditions are two CertPools equal? The docs are a truism. I understand wanting to keep it a bit vague, but being too vague just causes people to look at the implementation.


Update UUID with stduuid - cross platform solution

Description
Changed default uuid implementation with https://github.com/mariusbancila/stduuid.
Pull request type

[x] Build related changes

@gitbuda Introducing stduuid - a third-party software that enables cross-platform work and no need for uuid-dev package dependency installation on each device. Do you think this is a good idea to have?

@gitbuda once again, ping whether we can merge this or close it.

@gitbuda once again, ping whether we can merge this or close it.

Sorry for hanging here and thanks for the ping! That repo seems not very robust, could you please explore the https://www.boost.org/doc/libs/1_80_0/libs/uuid/doc/uuid.html (maybe @jmatak already did that)? I think UUID functionality should be there, but let's just invest a bit more time to figure out what would be the best solution and then decide/implement it.

@gitbuda once again, ping whether we can merge this or close it.

Sorry for hanging here and thanks for the ping! That repo seems not very robust, could you please explore the https://www.boost.org/doc/libs/1_80_0/libs/uuid/doc/uuid.html (maybe @jmatak already did that)? I think UUID functionality should be there, but let's just invest a bit more time to figure out what would be the best solution and then decide/implement it.

Took a bit deeper look at stduuid -> doesn't look bad!

@gitbuda once again, ping whether we can merge this or close it.

Sorry for hanging here and thanks for the ping! That repo seems not very robust, could you please explore the https://www.boost.org/doc/libs/1_80_0/libs/uuid/doc/uuid.html (maybe @jmatak already did that)? I think UUID functionality should be there, but let's just invest a bit more time to figure out what would be the best solution and then decide/implement it.

Took a bit deeper look at stduuid -> doesn't look bad!

Okay! Let me know of your final decision, if it works we can merge this, or I can investigate the suggested repo further!


LLMLoader ckpt_name is undefined

I've attempted to download the llm and place it in the models/llm folder but does nto show up - nor do any other llms I put there to test to see if they show up.
Is there a nother folder that LLMLoader is pulling from?
Thank you

You probably posted this to the wrong repository.


App icon dosen't work on notification

Overview
I executed nativefier with .icns and create an app of tweetdecks.twitter.com.
Icon looks working,

But only on notification , the icon replaced with official election icon , like this.
( Twitter notify )

env:
OSX 10.10.2
nativefier,Electron,Electron-package are the latest version.

(Is it electron-packager's bug...?)

I believe it's working now in the latest version (v6.8.0)!


Backport stdsimd removal fix to 0.7.x

This was suggested here: https://github.com/tkaitchuck/aHash/issues/200#issuecomment-1929526236
I think it would be a good idea, it could fix a lot of things upstream.
Currently, only way to fix broken packages is to use this in Cargo.toml
[patch.crates-io]
ahash = { git = "https://github.com/tkaitchuck/aHash" }

It will force the ahash even if something in your upstream depends on ahash (e.g. hashbrown, looking at you)
Thanks for considering.

This was released in 0.7.8: https://github.com/tkaitchuck/aHash/issues/200#issuecomment-1937361258


JSON output

Description of the new feature / enhancement
I'm trying to call Winget from a .NET core app, with a new process and then capturing the output.
But the output for the show command is translated to the language of the user, with no way to make it always in English.
I would really like a --json switch, that would just output the same data but then as Json.
I also though that the --disable-interactivity switch would disable the spinner and the progress bar, but that is not the case. (Not a problem I just capture all the output and strip the progress mess.)
Proposed technical implementation details
At the same place that writes the translated output, just do a JsonSerialzer.Serialize instead.
Maybe also allow a way to see the commandline switches from the manifest.
For now I'm thinking of just cloning the packages repo and looking up the data myself, but having an automated way would be preferable.
Also I'm not installing packages this way, I'm only interacting with the manifests.

Duplicate of #1753
Related to #2032


Support of RTSTRUCT visualization

Request
What feature or change would you like to see made?
Basic visualization of RTSTRUCT structure sets in the image plane.
Why should we prioritize this feature?
As we discussed and planned for the IDC MVP functionality, we thought the following should be feasible:

Support of RTSTRUCT and SEG will be limited to in-plane visualization, not in MPR view. Visualization will be supported as semi-transparent overlay or contour. Interface will allow scrolling to the centroid of the individual structures, and toggle of the visibility for the individual structures/segments.

Submitting this to the tracker so it can be prioritized, as @swederik asked me to do.
Great example of similar capabilities implemented using OHIF: https://econtour.org/

Hey @fedorov, I'm going to start working on this, some questions:

Visualization will be supported as semi-transparent overlay or contour.

For the MVP, is a contour representation for RTSTRUCTs ok? In the long term it would be nice to have master formats and interoperability between different formats, but contours are the easiest route for an initial implementation.
Is there a set goal for how large an RTSTRUCT should be able to be parsed in a reasonable amount of time? The standard allows for entire studies of regions to be encoded, it'd be good to have an idea of what target is deemed reasonable.

Interface will allow scrolling to the centroid of the individual structures, and toggle of the visibility for the individual structures/segments.

This is all easily doable.

More thoughts:
Labels should ideally be read from the RT ROI Observations Sequence, however most of the useful information in here is type 3.
Do we also want RT Related ROI Sequence (3006,0030) information present in the UI on the first pass? Its tricky as this defines nice hierarchies with could be rendered in useful ways, but the sequence is type 3. Perhaps we should just show this information (if present) on mouse hover?
Additionally is visualisation other relevant type 3's such as:
Anatomic Region Sequence and the Primary Anatomic Structure Sequence high priority?

@JamesAPetts thank you for the update!

For the MVP, is a contour representation for RTSTRUCTs ok?

Yes, absolutely.

Is there a set goal for how large an RTSTRUCT should be able to be parsed in a reasonable amount of time? The standard allows for entire studies of regions to be encoded, it'd be good to have an idea of what target is deemed reasonable.

Note that for IDC we are not targeting creation of RTSTRUCT. The idea is to support visualization of existing annotations, so the overall approach is to use existing TCIA content for defining the scope.
For the MVP, there are very few RTSTRUCT in the TCGA subset of data - just the tcga_hnsc collection has those. Overall, beyond TCGA, TCIA contains RTSTRUCT in the following collections:
cc_radiomics_phantom, mri_dir, soft_tissue_sarcoma, lctsc, hnscc, hnscc_3dct_rt, nsclc_radiomics, head_neck_pet_ct, tcga_hnsc, 4d_lung, head_neck_cetuximab. Below are some stats for those collections (if I did not mess up the query!):

Does it make sense to have the initial implementation that does not optimize performance, and is tested against tcga_hnsc?

Do we also want RT Related ROI Sequence (3006,0030) information present in the UI on the first pass? Its tricky as this defines nice hierarchies with could be rendered in useful ways, but the sequence is type 3. Perhaps we should just show this information (if present) on mouse hover?
Additionally is visualisation other relevant type 3's such as: Anatomic Region Sequence (0008,2218) and the Primary Anatomic Structure Sequence (0008,2228) high priority?

We should probably do some deeper analysis of the actual content of those attributes for TCGA collections before making that decision. How early in the process would you need this? We can work to help with this to better formulate the requirements.
cc: @dclunie

Note that for IDC we are not targeting creation of RTSTRUCT. The idea is to support visualization of existing annotations, so the overall approach is to use existing TCIA content for defining the scope.

👍

Does it make sense to have the initial implementation that does not optimize performance, and is tested against tcga_hnsc?

Yeah I think it does, just wanted to clarify 👍 .

We should probably do some deeper analysis of the actual content of those attributes for TCGA collections before making that decision. How early in the process would you need this? We can work to help with this to better formulate the requirements.

We don't need that immediately, more when we look at making the UI for struct navigation. Parsing and displaying of this information can be done at a later time if needbe.

Interface will allow scrolling to the centroid of the individual structures
Does the MVP want this to be the volumetric centroid or just the middle slice?

We should probably do some deeper analysis of the actual content of those attributes for TCGA collections before making that decision. How early in the process would you need this? We can work to help with this to better formulate the requirements.

Here is an example of one entry from one of the datasets:
{
  ObservationNumber: 17
  ReferencedROINumber: 17
  ROIObservationDescription: "Type:Soft, Range:*/*, Fill:0, Opacity:0.0, Thickness:1, LineThickness:2"
  RTROIInterpretedType: "CTV"
  ROIInterpreter: ""
}

Several points from discussion with @JamesAPetts on Slack today:

Hope the ^^^ makes sense ...

Here is a sketch of the UI (ignore colors, it'd look OHIF-ey):
https://www.figma.com/file/npC6xkCgrlsGcQIfR7xhFU/OHIF-RTSTRUCT-Panel?node-id=0%3A1
One thing that was said to be a requirement was comparing an ROIContour between two different structure sets, so I propose the following hierachal approach:

On load of a series, the most recent RTSTRUCT is loaded (similar to SEG).
Other RTSTRUCTs are visibile in the UI as expandable lists, as we have their metadata.
When an RTSTRUCT is expanded, fetch its data and load it into memory.
Have toggles for:

Hide whole RTSTRUCT.
Hide an individual ROIContour.

Any feedback @fedorov @pieper .
I'm going to rebase the current struct work on master and, once approved, I'll make a ticket for the UI.

@JamesAPetts LGTM
Question: we touched in the call briefly on the idea of having different structs visible in different viewports.  Do you have a design in mind for this?  In Slicer it's a pop up menu with a check box per viewport, but it might also make sense to have a drag and drop option.

Design looks great for the first iteration @JamesAPetts!

we touched in the call briefly on the idea of having different structs visible in different viewports

Let's leave it out of the current initial version for now? I would rather leave a bit more breathing space to handle other issues and features that already came up and I am sure will come up before MVP.

we touched in the call briefly on the idea of having different structs visible in different viewports

Let's leave it out of the current initial version for now? I would rather leave a bit more breathing space to handle other issues and features that already came up and I am sure will come up before MVP.

Sounds good yes.  We might need that functionality for other projects though (e.g. LNQ) so let's keep it on the overall OHIF horizon but not as part of the IDC:priority.

Do we also want RT Related ROI Sequence (3006,0030) information present in the UI on the first pass? Its tricky as this defines nice hierarchies with could be rendered in useful ways, but the sequence is type 3. Perhaps we should just show this information (if present) on mouse hover?

FWIW, none of the TCIA collections has RT ROI Observations Sequence > RT Related ROI Sequence included, based on my queries.

Additionally is visualisation other relevant type 3's such as: Anatomic Region Sequence (0008,2218) and the Primary Anatomic Structure Sequence (0008,2228) high priority?

Can you tell me where that one is hiding within RTSS?

Current "PS3.3 C.8.8.8 RT ROI Observations Module" as amended by "CP 1864"
Unlikely to be a priority because so recently added and not yet seen in the wild.

Since the initial discussion has been resolved I'm going to close this ticket.

different structs visible in different viewports
Has been given its own ticket:
https://github.com/OHIF/Viewers/issues/1522


Theme Config of a duplicated theme is not updated

Description
When I update my theme plugin to a new version where the theme.json has new fields, only the original theme config gets those new fields. Duplicated themes of the original won't get the new fields.
Additional context
Steps to reproduce:

Create a new theme plugin with one custom field in the theme.json
Install and activate plugin
Duplicate the theme
Update the theme.json and add a new field
Compare the theme configs of the original and the duplicated theme

Hi @NicoWenig27 ,
your described behaviour works as intended. https://docs.shopware.com/en/shopware-platform-dev-en/internals/plugins/plugin-themes#inheritance-of-theme-config
A Duplicated Theme is actually a copy, not an inheritance when it comes to configuration. If you Update your ThemePlugin you have to create a new Duplication and then assign this to your Saleschannel.
This is done this way to minimize possible Breaks on running Storefronts.
We are aware of the need for a more convient way to make updates on duplications and there is a Ticket in our Issue Tracker vor this Topic: https://issues.shopware.com/issues/NEXT-6402

Hi @ssltg,
thanks for the answer! My problem with this is, that when you have a duplicated theme for a sales channel with its own theme config and update the main theme, you have to duplicate it again and copy all config to the new duplicated theme. So yes, I think there should be a way to update duplicates, without creating a complete new one.
I think the ticket you linked describes another problem. At the moment you cannot inherit the views of another theme, when you create a new theme. This is an issue with which we also have problems. Our plan was to create a whitelabel theme and inherit from it to create new themes for every customer. As a workaround we copy the complete whitelabel theme project for every new theme.
But that's not really related to this issue. Just as a hint, that we are having problems with it.

@NicoWenig27 AFAIK, view inheritance now does work, except the config settings don't (as you mentioned here as well). I've opened another issue about it here; v

They are merged in the newest version.


Installation failed

I'm trying to install the CSI driver following this doc: https://learn.microsoft.com/en-us/azure/aks/hybrid/secrets-store-csi-driver
When I run the helm command reported in the doc I get this error, but I can't understand what is the problem:
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "secretproviderclasses-admin-role" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "csi": current value is "csi-secrets-store"
Any ideas ?

The error means you have already have a helm installation of the driver in the cluster. You can check that with helm ls -A command.
Only single instance of driver is required in the cluster. So either delete the existing helm installation and install again or if the old installation is sufficient, you can use that.

Thank you, you right. I tried to execute the helm command many times because the Key vault provider seems not successfully installed and I thought the helm script failed.
If I run the command: kubectl get pods -l app=csi-secrets-store-provider-azure -n kube-system
I get the message: No resources found in kube-system namespace.
And I don't really know what to do. Any suggestions ?


Changes in dungeon sizes do not work

expand_dungeons.txt
I changed file type because github won't allow me to upload yaml
I did these changes so that dungeons etc would be massive but it seems like its not working. I tried resetting dungeons with UpgradeWorld multiple times but nothing changed.

Most dungeons don't have any verticality so the area is very limited.
You can increase bounds to make it expand on adjacent zones, but this requires everyone to have the mod.
Another idea is to try increase the chance of room forestcrypt_Chasm01, because that's the one tha enables multiple levels.
You can remove minPlaceOrder from it so that it can appear closer to the entrance and set it as the requiredRooms.


Stuck on Account Activation Pending Contact Admin for WebUI Access Page

Installed per instructions, had this final error in terminal: docker: Error response from daemon: driver failed programming external connectivity on endpoint open-webui (dbec70ac7322ca6b0536a21f726512ada5faf3f24b4c9a78d673c88a5f6790cb): Bind for <IP_ADDRESS>:3000 failed: port is already allocated.
Went to (http://localhost:3000/) as instructed, and signed up with email.
Now stuck on the on the screen with this message:
Account Activation Pending
Contact Admin for WebUI Access
Your account status is currently pending activation. To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.
What now?

I just deleted the docker ( an old ollama named version) and started again. Worked this time.


Move three custom functions from sdk.go to hooks.go

Following up on #43 , move 3 custom functions out of sdk.go and into hooks.go so that code generation doesn't clobber the contents in the former.
Additionally, update generator.yaml to use URL as the reference field name instead of Url; this tracks an upsteram improvement/fix in code-generator.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/hold

/test iam-unit-test

/test iam-unit-test

/lgtm

/unhold

unit test failure unrelated (github issue...)
/lgtm


What license is this released under?

Hi,
This plugin is so useful, and I'd like to use it in the place where I work.
But they pay attention to the license plugin is released under.
So I looked into the repository, but I didn't see any license terms mentioned in the repository.
Could you please add one?
Thanks.

Here's the license (spoiler: MIT). I think it'll be more than enough to install on your work environment :wink:

Awesome! Thanks!


Egg-Babies are not assigned Hive Xenotypes

I got some reports on Discord that the Halamyr Babies are born as baseliners, and not special genes are applied (neither for queens, drones or workers, babies are just baseline).
I touched on this by introducing a new patch in 47a78073bfe0652f480dad7b39c4d53abbef7df8, but it's only working limited. It's invoked but I always see L80 if (RJW_Genes_Settings.rjw_genes_detailed_debug) ModLog.Message("There was an egg-birth without a (detected) queen-parent"); so detecting the parents from eggs is currently poor.

Ok so I narrowed it to two Issues:

Parents are not correctly detected / set on egg birth, which I use for the later logic. I made a PR to RJW to fix that
Queens are detected correct, but Drones are not. That is for my local changes with correct parents.


The application is displaying an error when the Workout classes section does not contain any class.

Description: The application is displaying an error when the Workout classes section does not contain any class.
-Env:
Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)
REPRODUCIBILITY LEVEL:
Always
STEPS:
Steps

Open the Crafter studio with the Fitness site.
On the site bar, locate the pages section.
Click on the edit button of the “Home“  page.
4.Go to the Main Content Section.
On the page section, select the Classes section and click on the edit button.
On the Items list, delete all classes or verified any class is in the list.
Click on the Save and Close Button.
Check in the preview of the site, the workout classes section.

CURRENT RESULT:
The application displays an error when the “Classes” section does not have any configured class.
https://www.screencast.com/t/G8h0lS3z
EXPECTED RESULT:
The application should not display any error message when the “Classes” section does not have any configured class.

Fixed

Bug verified and closed fixed in build c557d13.


'course diff' hangs

doug:~$ course status

cd /Users/dougbateman/repos/training
git status

Both 'course diff' and 'course status' hang.

'course diff' is also oddly running 'git status' instead of 'git diff'

course diff now invokes git diff. The hang only occurs when course runs in Docker, and it's not really hanging. It's just slow. It's a function of running git within the Docker container. I just ran git manually inside the Docker container, and it is slow. But it does eventually complete.
There are suggestions that beefing up the resources allocated to Docker might help. See https://stackoverflow.com/questions/53831687/git-goes-too-slow-in-docker-container


added delete.ts file.

Added delete.ts where the route allows an array of files to be deleted.

Please fetch upstream before a new PR :)

Also do update Readme.md for adding a new route.


Doc - Describe src/cli/commands/test uncommented functions using Rustdoc comments (three slashes: ///) #52

In an effort of having fully documented code, we need the functions that run during a test run to be documented.
In src/cli/commands/test, please proceed to comment above the fn setup_hooks, fn list_cairo_files, compile_and_list_entrypoints and purge_hint_buffer declarations in an equivalent way as pub fn compile is documented.

Hi, i would like to contribute on this

Hey @baipaiha , how are things going with this one? Can we help you in any way ?


Avoid reacquiring the project lock when a worker-based task completes

@bigdaz I think Gary's the best to look at the locking changes since he's been down that rabbit hole before.


Adding the possibility to use the IN operator for PGVectorStore

Description
This PR has a change to the PGVectorStore class that will allow it to support the IN operator for a MetadataFilter.
I needed this because I wanted to include a list of tags for each document and wanted to retrieve that document only if the relevant tag was in its metadata tag field.
Type of Change

[X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Added new unit/integration tests
[X] I stared at the code and made sure it makes sense

Suggested Checklist:

[X] I have performed a self-review of my own code
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I ran make format; make lint to appease the lint gods

Very cool PR! If this isn't super critical, I'm going to hold off on merging this until after monday (we have an extremely large update coming out, and need to ensure its stable)

@fbpo23 actually, eh, I'll deal with the conflicts now and just merge this 😆

This seems like it is implementing "CONTAINS" instead of "IN"
The following should be what this filter is doing, am I missing something?
select * from table where metadata_->>'x' in ('a', 'b')


Is 0 allowed in the BYDAY rule with the day name?

The RRule "FREQ=WEEKLY;BYDAY=TU" internally produces $r->bydays with createDaysList() as:
array:1 [
  0 => "0tu"
]

Is it a proper behaviour? I ask because after converting with toRrule() we get "FREQ=WEEKLY;BYDAY=0tu" which is not accepted as valid with ->rrule().
Should the fix be made at the level of createDaysList() or it would be fine just to strip the leading 0 in the toRrule()?

Thanks for the report.
I see nothing in the spec about not allowing 0, I've gone ahead and allowed it in the validator.


Updates from rspec-dev (2016-01-01)

These are some updates, generated from rspec-dev's rake tasks.

Cannot reproduce the missing coverage in my local environment...
https://travis-ci.org/rspec/rspec-core/jobs/99672402#L340

Cannot reproduce the missing coverage in my local environment...
https://travis-ci.org/rspec/rspec-core/jobs/99672402#L340

Cannot reproduce the missing coverage in my local environment...

Are you running script/rspec_with_simplecov?  rspec-core's a bit funny in that we have to load simplecov before rspec-core in order to check test coverage of rspec-core itself, which means we have to use a custom script.

Cannot reproduce the missing coverage in my local environment...

Are you running script/rspec_with_simplecov?  rspec-core's a bit funny in that we have to load simplecov before rspec-core in order to check test coverage of rspec-core itself, which means we have to use a custom script.

BTW, you might be able to use this (copied from a project at work) to get simplecov to print the lines of missed coverage -- that way you can see what is reported as uncovered w/o having to repro locally.
require 'simplecov'

class SimpleCov::Formatter::MissedLines
  RESULT_FILE_NAME = "missed_lines.txt"

  def format(result)
    File.open(result_file_path, "w") do |output|
      each_missed_line(output, result) do |file, line|
        output.puts(format_line file, line)
      end
    end

    puts "Coverage report generated for #{result.command_name} to #{result_file_path}"
  end

  def format_line(file, line)
    [file.filename, line.number, line.src].join(':').chomp
  end

  def result_file_path
    File.join(SimpleCov.coverage_path, SimpleCov::Formatter::MissedLines::RESULT_FILE_NAME)
  end

  def each_missed_line(output, result)
    result.files.each do |file|
      next if file.missed_lines.none?

      file.missed_lines.each do |line|
        yield file, line
      end

      output.puts
    end
  end
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::MissedLines
]

In this case, it prints to an HTML file and to a text file, and we have our CI builds cat the text file so we can view it on travis. For RSpec we might just want to have it print to STDOUT.  Maybe this could go in rspec-support so we get this for all our repos?

BTW, you might be able to use this (copied from a project at work) to get simplecov to print the lines of missed coverage -- that way you can see what is reported as uncovered w/o having to repro locally.
require 'simplecov'

class SimpleCov::Formatter::MissedLines
  RESULT_FILE_NAME = "missed_lines.txt"

  def format(result)
    File.open(result_file_path, "w") do |output|
      each_missed_line(output, result) do |file, line|
        output.puts(format_line file, line)
      end
    end

    puts "Coverage report generated for #{result.command_name} to #{result_file_path}"
  end

  def format_line(file, line)
    [file.filename, line.number, line.src].join(':').chomp
  end

  def result_file_path
    File.join(SimpleCov.coverage_path, SimpleCov::Formatter::MissedLines::RESULT_FILE_NAME)
  end

  def each_missed_line(output, result)
    result.files.each do |file|
      next if file.missed_lines.none?

      file.missed_lines.each do |line|
        yield file, line
      end

      output.puts
    end
  end
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::MissedLines
]

In this case, it prints to an HTML file and to a text file, and we have our CI builds cat the text file so we can view it on travis. For RSpec we might just want to have it print to STDOUT.  Maybe this could go in rspec-support so we get this for all our repos?

It was my mistake, was running the spec with MRI 2.2.4 :expressionless:

It was my mistake, was running the spec with MRI 2.2.4 :expressionless:

LGTM, merge when green.

LGTM, merge when green.


Make all default send_* funcs return result of <message_class>.send()

Right now 2 implicitly return this already, and 2 explicitly only return True if it gets that far.
This is technically a breaking change, though as far as I can tell the return values of those functions aren't documented right now so...
Note that the modeled.ModelInvitation's version already does exactly this explicitly.
(note was originally gonna unify these like https://github.com/bennylope/django-organizations/pull/276 but this is just as half-backwards-compatible and also exposes more useful information)

Good idea!


Remove unused labels from Loki

How to categorize this PR?

/area logging
/kind enhancement
/priority normal
What this PR does / why we need it:
Remove unused Loki labels
Which issue(s) this PR fixes:
https://github.com/gardener/logging/issues/72
Special notes for your reviewer:
@vlvasilev
Release note:

Some of the Loki labels which are not used are removed

We decided to remove entirely the labels thich come from the k8s metadata and to leave only these which come from the tag.
In this way we will improve the performance:

less labels -> faster querying
fluent-bit will not need connection the the KAPI anymore


playing sound files with require won't work on react 16 and react native 0.50

Saw this in one of my projects and was able to reproduce it in the demo project in this repo:
https://github.com/zmxv/react-native-sound-demo
Playing sounds with require will return an error: OSStatus error<PHONE_NUMBER>.
in the demo project set these dependencies in the package.json
    "react": "^16.0.0",
    "react-native": "^0.50",
    "react-native-sound": "^0.10.4"

Build the project and try to play mp3 , aac, or wav via require().
Anyone know a solution that allows for require to continue to be used with react 16 and react native 0.50?

this issue only appeared on physical devices, audio worked fine in simulator. I was able to solve this issue by changing line 194 of RNSound.m from:
fileNameUrl = [NSURL fileURLWithPath:[fileName stringByRemovingPercentEncoding]];
to this
  fileNameUrl = [NSURL URLWithString: fileName];
When stepping through the code on different versions of react and react native I noticed that the FileName that gets passed into RNSound.m is already in the syntax of a path and doesn't need to be altered at all. So using [NSURL URLWithString : fileName]; solved the issue for me.
"react": "^15.4.2",
 react-native": "^0.41.2",

FileName:
/var/containers/Bundle/Application/DB1F0FC8-C758-42D6-A142-00E3C0CC1266/RNSoundDemo.app/assets/advertising.mp3

FileNameUrl:
file:///var/containers/Bundle/Application/DB1F0FC8-C758-42D6-A142-00E3C0CC1266/RNSoundDemo.app/assets/advertising.mp3

Rn .50
React 16

FileName:
file:///var/containers/Bundle/Application/2DC412EF-AE3C-4652-B8C8-E4D36415401F/RNSoundDemo.app/assets/advertising.mp3

FileName URL
file:/var/containers/Bundle/Application/2DC412EF-AE3C-4652-B8C8-E4D36415401F/RNSoundDemo.app/assets/advertising.mp3 -- file:///

Error
Error Domain=NSOSStatusErrorDomain Code=2003334207 "(null)"

Sharing in case this helps anyone solve the root of this issue.


TrayArrowDown is missing?

I found tray-arrow-down on https://materialdesignicons.com, but it seems not exported by this package?

Somehow it's also missing in @mdi/js so nothing we can fix here… Please report this at materialdesignicons.

I see https://github.com/Templarian/MaterialDesign does include tray-arrow-down.svg, so where's the correct place to report the issue? Which is the first upstream repo that missed this icon?

@mdi/js doesn't include it. Just report it at the repo you linked. Maybe they just didn't release a new version yet.


Docker Compile error using Mac with M1-CPU

I think there is a Problem using M1/M2-Mac ("Apple Silicon")
i got an error if i build the docker Image:
TFLITE_1 % sh arm7hf.sh
[+] Building 30.3s (6/17)                                                                                docker:desktop-linux
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 3.19kB                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/axisecp/acap-sdk:3.5-armv7hf-ubuntu20.04                                                                                1.6s
=> [auth] axisecp/acap-sdk:pull token for registry-1.docker.io                                                                                0.0s
=> ERROR [ 1/12] FROM docker.io/axisecp/acap-sdk:3.5-armv7hf-ubuntu20.04@sha256:5399a954c248141f962e20f34b7ad8a296b985aef8647026113c6c127a8f5431                            28.6s
=> => resolve docker.io/axisecp/acap-sdk:3.5-armv7hf-ubuntu20.04@sha256:5399a954c248141f962e20f34b7ad8a296b985aef8647026113c6c127a8f5431                                     0.0s
=> => sha256:08c01a0ec47e82ebe2bec112f373d160983a6d1e9e66627f66a3322bc403221b 28.56MB / 28.56MB                                                                              8.5s
=> => sha256:5399a954c248141f962e20f34b7ad8a296b985aef8647026113c6c127a8f5431 3.46kB / 3.46kB                                                                                0.0s
=> => sha256:259df92b65b1ca2b3e683dc45ef03522a48cf2d54199739bcd2748e77b444e71 147B / 147B                                                                                0.4s
=> => sha256:48aae51af327be6aa85c9f6b14166720e60c21a609433bda8e876aa624222e55 5.60kB / 5.60kB                                                                                0.0s
=> => sha256:796bf2b05818a8e300f2b57ed8c300ca8d07bd5638d03e1df50ce3035d838959 157.60MB / 157.60MB                                                                           28.6s
=> => sha256:a2033dae0d8eea2f1798b93c28f1452d82bda7d9957c80621a2141840f31ab93 16.29kB / 16.29kB                                                                              1.0s
=> => sha256:60747cbe75ce4dac64523ce801cbce9ada393b4a6f3f3efe23a42cf7523c1008 26.34kB / 26.34kB                                                                              1.3s
=> => sha256:4af0e834e2c15fda426ff5962099cb753b29fe6a2b918e9986b01c130052f84d 393.44kB / 393.44kB                                                                            2.1s
=> => sha256:22353c60e7ad078456aa02d9eba4d23bba1364f14829f31a22e6122447734bab 1.67MB / 1.67MB                                                                                2.8s
=> => sha256:61786ee25e3d3a41e7699fa6e689e77822521efc42d5828b432419e8e3cdd805 1.46kB / 1.46kB                                                                                3.0s
=> => sha256:fab91632bc5f7bc26c06d360ccbcaef9b3a6a2a7fcbf4501dfbdc58d00f9e879 1.48kB / 1.48kB                                                                                3.8s
=> => sha256:0219b0067449655bce3dd8a39051bd1ab59e28f1e50efd2af4a856274d54d121 139.61MB / 139.61MB                                                                           23.6s
=> => extracting sha256:08c01a0ec47e82ebe2bec112f373d160983a6d1e9e66627f66a3322bc403221b                                                                                20.1s
=> => sha256:ec26cfd752af54a177d80d2d4e4dc976dc33306601d313898ebce85d2edf0889 26.47MB / 26.47MB                                                                             17.7s
=> => sha256:63fab3d219b1153c6f6e8b5bfa297ac1e693953dd34b8201681636f288e64e60 2.46kB / 2.46kB                                                                               17.9s
=> => sha256:7f332d1e5987a36bd21eb39e3ffe00c0abc6f753c32a7e2c9da01b97c82e8ecb 3.70kB / 3.70kB                                                                               18.1s
=> => sha256:c6c108851bc90db6b789ae191922fdf176abf1af2d5890140b00e10af516653c 1.26kB / 1.26kB                                                                               18.2s
=> => sha256:8a3f7d0094d7631a2c6432ea082dfb155721fbc9a0ceaf9fcc828a50ca6b229b 109B / 109B                                                                                18.4s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 2.43kB                                                                                0.0s

[ 1/12] FROM docker.io/axisecp/acap-sdk:3.5-armv7hf-ubuntu20.04@sha256:5399a954c248141f962e20f34b7ad8a296b985aef8647026113c6c127a8f5431:

Dockerfile:8
6 |     ARG SDK=acap-sdk
7 |
8 | >>> FROM ${REPO}/${SDK}:${VERSION}-${ARCH}-ubuntu${UBUNTU_VERSION}
9 |
10 |     # Build libyuv
ERROR: failed to solve: could not get decompression stream: fork/exec /usr/bin/unpigz: exec format error
Unable to find image 'inference_arm:latest' locally
Error response from daemon: pull access denied for inference_arm, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source
mv: rename build/.eap to ./.eap: No such file or directory

Never tested on Mac.   What version of Docker are you using?

Docker version 24.0.6, build ed223bc


fatal error

Looks like a duplicate of #23
Use the stable version of totsugeki (v1.1.1 at time of writing) instead of the beta version (v1.1.2).


Implement Internationalization

Implement Google Translate API
Make sure when translated all pages are able to adjust to different text sizes


How use, flow and dotenv together?, flow can't see my enviroments variables

../.env
ASSETS=./client/dist/client/

src/app.js
// @flow
import * as path from 'path'
import { config } from 'dotenv'

config({ path : path.resolve(process.cwd(), '../.env') })

const folder: string = path.resolve('..', process.env.ASSETS)

Cannot call path.resolve because null or undefined [1] is incompatible with string [2] in array element.
const folder: string = path.resolve('..', process.env.ASSETS)

/tmp/flow/flowlib_571bc0c/node.js
declare function resolve(...parts: Array<string>): string;
env : { [key: string] : ?string };

Thanks, I use
path.resolve("..", process.env.ASSETS || 'something')

I prefer have, a default value, do I have a git monorepo, I do a boilerplate in Angular and Koajs, and each part is isolates, server, desktop, client and mobile, each use the same .env, look great

Note that x || "val" is not the same as x != null ? x : "val". In
particular, the version you provided will use the value "something" if
the process.env.ASSETS value is present but set to the empty string.
I’m not sure exactly what you meant by your last sentence, but it sounds
like your problem is resolved?

Yes, my problem is resolved, but in my console '' || 'hi' = 'hi', null || 'hi' = 'hi', and undefined || 'hi' = 'hi'


Success handler only returns "razorpay_payment_id" in live mode.

const razorOptions = {
    "key": keyId,
    "amount": amount,
    "currency": "INR",
    "name":"test payment",
    "image": image,
    "order_id": orderId,
    "prefill": {
        "name": user.name,
        "email": user.email
    },
    "handler": function(res) {
        console.log(res);
    },
    "modal": {
        "ondismiss": function () {
             window.location.href = "/events";
        }
    }
}

In Test Mode:
Success handler returns proper response fields as mentioned in razorpay doc.
But In Live Mode:
On successfuly payment (amount deducted from user's bank account), succes handler returns only razorpay_payment_id, without  razorpay_order_id, razorpay_signature
{
  created_at:<PHONE_NUMBER>,
  razorpay_payment_id: "pay_SOME_ID",
  status: "captured",
  status_code: 200
}

facing the same issue!

Hey, I am also facing the same issue, These are my responses in
Test Mode:

Live Mode:

https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/build-integration/#11-create-an-order-on-your-server
as per the doc it should return
"handler": function (response){    alert(response.razorpay_payment_id);    alert(response.razorpay_order_id);    alert(response.razorpay_signature)}
but it returns only. razorpay_payment_id

Hey I am also facing the same issue.

facing same issue :(

Closing this issue, as the problem was temporary (received mail regarding this from razorpay), there was an unexpected issue in payment through UPI-QR.


Trembling flight plan map on MFD

Sky Dolly Version 0.16.3
First of all, I would like to express how great Sky Dolly's functions are.
I use the Cirrus SF50 VisionJet G2 aircraft from the MSStore.
A problem that does not make a good impression on playback:
The map that the flight plan is on keeps twitching back and forth during the whole playback.
Screenshots would not show the problem.
I could upload a video if needed but you should be able to reproduce it at any time.

Hello,
"The map that the flight plan is on keeps twitching back and forth during the whole playback."
Which map exactly are we talking about? The overlay map of MSFS itself which is shown when you press (in my case) the V key - or some cockpit glass display map?
In any case, this is probably "out of control" for Sky Dolly: Sky Dolly merely records a specific set of simulation variables, most importantly the aircraft position and attitude, and it simply "plays back" those sampled data. It is then MSFS itself that places the aircraft at the desired location.
Any additional simulation is then simply calculated "on top" of this, but within MSFS itself. That includes visual effects such as smoke upon touchdown, audio effects, but also (to some degree) some instruments.
Specifically Sky Dolly does not record (replay) any "map specific data". So if any given map within MSFS is behaving weird then this is most likely not something I can fix myself.

For the record: I just tested this with the in-game "VFR Map" (that appears as separate overlay window when pressing the default key V in MSFS) and the position of the aircraft was smooth: no "twitching back and forth" during replay.

Thank you for your detailed answer about the best replay programme I know.
Well, I wasn't talking about the VFR map of the MSFS, but about the Navigation Display (ND) in the aircraft itself, on which the flight plan is displayed.

Well, I wasn't talking about the VFR map of the MSFS, but about the Navigation Display (ND) in the aircraft itself

That‘s what I thought. I can only assume that this display has its own position calculation logic, and that the injected replay positions interfere with that aircraft custom logic.
So this would be something only the custom aircraft logic could solve (read: the third party aircraft manufacturer).
Note that Sky Dolly actually „freezes“ the aircraft position and physics calculations during replay (physic calculations that would otherwise „fight“ against the injected aircraft position and attitude).
Perhaps the aircraft logic (the third party) could take those „freeze“ settings into account? After all, the in-game VFR Map seems to work fine.


Spanish translation fixed

Sync with english version and grammar fixed
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

There is a LOT more going on here than just Spanish Language Fixes.  Can you please clean up this PR to only include the changes you are making?

Closing as this is not possible to merge in the current state (112 files). Please propose another PR with only intended changes.


Remove obsolete CODE_OF_CONDUCT.md

1. Describe the feature
We shall switch to use https://www.apache.org/foundation/policies/conduct.html now
2. Motivation
3. Describe the solution
4. Additional context

cc @zhang1002

@yaooqinn If @zhang1002  doesn't have time, I can do it

@wuchunfu thanks~


Cms/382

Добавлен вывод страницы регистрации на localhost:3000/registration

Review the commit history of this branch. It contains commits which don't belong to master or you. That means you've branched from the wrong place


Example shared in the doc doesn't work for credential file

I an trying to run the example from the repo:
use google_cloud_auth::credentials::CredentialsFile;
use google_cloud_storage::client::{ClientConfig, Client};
use google_cloud_default::WithAuthExt;

async fn run(cred: CredentialsFile) {
    let config = ClientConfig::default().with_credentials(cred).await.unwrap();
    let client = Client::new(config);
}

The Cargo.toml  is:
[dependencies]
google-cloud-storage = "0.9.0"
google-cloud-auth = "0.9.0"
google-cloud-default = { version = "0.1.0", features = ["storage", "google-cloud-metadata"] }

I get the following error:
.with_credentials(cred))
^^^^^^^^^^^^^^^^ method not found in `ClientConfig`

can someone point what am I missing?

We have not yet released google-cloud-default with the addition of with_credentials.
We plan to release it in a week or two. Until then, please use the main branch directly.
google-cloud-default = { git = "https://github.com/yoshidan/google-cloud-rust", branch="main",

directly using main branch results as follows:
google-cloud-default = { git = "https://github.com/yoshidan/google-cloud-rust", branch="main"}
results into the same error:
.with_credentials(cred))
^^^^^^^^^^^^^^^^ method not found in `ClientConfig`

do I need to configure anything else?

If you use the main branch, components other than google-cloud-default must also be in the main branch.
google-cloud-storage =  { git = "https://github.com/yoshidan/google-cloud-rust", branch="main",
google-cloud-auth =  { git = "https://github.com/yoshidan/google-cloud-rust", branch="main",

Here  is the example.
You can check the cargo tree to make sure that only the main branch is really used and not duplicated in other versions.
$ cargo tree | grep google-cloud-default
├── google-cloud-default v0.1.1 (https://github.com/yoshidan/google-cloud-rust?branch=main#cb14a257)

$cargo tree | grep google-cloud-auth
├── google-cloud-auth v0.9.1 (https://github.com/yoshidan/google-cloud-rust?branch=main#cb14a257) (*)

yes I am using the main branch for all the components, below is my cargo.toml:
google-cloud-storage =  { git = "https://github.com/yoshidan/google-cloud-rust", branch="main"}
google-cloud-auth =  { git = "https://github.com/yoshidan/google-cloud-rust", branch="main"}
google-cloud-default = { git = "https://github.com/yoshidan/google-cloud-rust", branch="main"}

still the same error,
ClientConfig::default().with_credentials(cred)
 ^^^^^^^^^^^^^^^^ method not found in `ClientConfig`

Now the with_auth also doesn't work:
ClientConfig::default().with_auth()
    |                                                   ^^^^^^^^^ method not found in `ClientConfig`

I checked the cargo tree the output is the same as the one you have shown.
Any other things I can try?

You should be able to use it by setting features in google-cloud-default.
google-cloud-default = { git = "https://github.com/yoshidan/google-cloud-rust", branch="main", features=["storage","spanner","pubsub"]}

If it still doesn't improve, could you please paste the Cargo.toml  and entire line of source code? I think I can find the flaws.

thanks its resolved.


Update UploadController.php

Added ability to use custom endpoint for S3 - now you can use min.io, etc

Sorry, I was working on a feature at the same time as you. See https://github.com/ahmedkandel/nova-s3-multipart-upload/pull/25, which should automatically support your additional options. :)

Thanks.


Could not resolve com.testfairy:testfairy-*******-sdk:1.12.27

Hi, I'm facing this issue, can anyone please look into this on priority.

Hi @samkhan17 thanks for reporting this. We'll investigate and get back to you. 🍻

Hi, could you try again? It appears the issue has resolved itself.

It works now. Thanks


python310Packages.aiolivisi: init at 0.0.14

Description of changes
Module to communicate with LIVISI Smart Home Controller
https://github.com/StefanIacobLivisi/aiolivisi

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 205626 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.livisi
python310Packages.aiolivisi
python39Packages.aiolivisi


Update FAQ #international: Remove paragraph about expansion to other countries

This PR removes

Weitere Länder werden im Moment geprüft und schrittweise in den App Stores freigegeben. Das Robert Koch-Institut bittet um Verständnis, dass es während des laufenden Überprüfungsprozesses zu konkreten Ländern und dem Status ihrer Freigabe keine Auskunft erteilen kann.

or

More countries are currently being checked and will be released in the App Stores step by step. The Robert Koch Institute asks for your understanding that it cannot provide any information on specific countries and the status of their release during the ongoing review process.

from the FAQ #international. As brought up in #2711, the list has been stable and not been extended for a long time, therefore the wording does not fit current actions.

Internal Tracking ID: EXPOSUREAPP-12705

Please check also the rest of the text for consistency, such as
"Nach eingehender Prüfung der Situation wurde festgestellt, dass eine Veröffentlichung der Corona-Warn-App in App Stores außerhalb von Deutschland im Moment aus rechtlichen Gründen nur nach einer Einzelfallprüfung möglich ist."
where "im Moment" seems to be outdated, and should be removed. ("currently" in English version as well.)

@MikeMcC399 Thanks for reviewing.

@dsarkar

Thanks for reviewing.

I had some more detailed comments, however the PR was merged too fast for me to add them. I'm going to leave it at that now, as I don't want to make more work for just very minor points. The major misleading elements have been removed.
Thanks!

@MikeMcC399 ok, thank you for all the effort! Sorry for merging to fast... , will try to leave PRs open for a bit longer.


FAILED - RETRYING: Wait until keycloak becomes active http://localhost:8080/realms/master/.well-known/openid-configuration (4 retries left)

SUMMARY
After deploying the keycloak_quarkus role, I enabled the "keycloak_quarkus_https_enabled: True" option and generated a certificate for HTTPS usage. i have a problem ERROR: /opt/keycloak/keycloak-22.0.0/conf/tls.crt
can you please help me
log_keycloak.log

Hello, for tls/https to work you need two files, one with the key and one with the certificate, set in the following variables:
keycloak_quarkus_key_file: "{{ keycloak.home }}/conf/server.key.pem"
keycloak_quarkus_cert_file: "{{ keycloak.home }}/conf/server.crt.pem"


Error Domain = com.lge.connectsdk.error Code = 1001 “API error: Action Failed”

When a video is playing and if the user play another video on a LG TV (2013 tv or netcast), the  TV throws an exception Error Domain = com.lge.connectsdk.error Code = 1001 “API error: Action Failed”

This is a sampler app issue .


[BEAM-2855] nexmark python suite implement implement query 3, 4, 5, 6, 7, 8, 11

implemented querys
made a little change to nexmark Launcher to fix a bug where the error is not passed out correctly

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @y1chi
R: @pabloem

Run Python PreCommit


chore: change maven groupId to org.hisp.dhis.integration.sdk

Summary

[x] Change maven groupId from org.example to org.hisp.dhis.integration.sdk

The test is failing because the Docker container is taking too long to start. I've increased the startup timeout in https://github.com/dhis2/dhis2-java-sdk/pull/9.


Try adding a field to let us differentiate debit/credit.

Without this field, or a -1 multiplier on the amount, it's impossible to distinguish debits from credits.

No worries, we all get busy -- just prompting you again to keep it fresh in your brain. :)

I took a look at this. At the moment the login does not work since Mint has made some changes in the login process and I cannot track down what the problem is. I will revisit your suggestion (which I like a lot) when I can successfully log in.

The login issue has been resolved through another pull request. :shipit:


Files - When in a folder, I start typing a word, the focus does not go to files or folders started by that folder

Description
Files - When in a folder, I start typing a word, the focus does not go to files or foldes started by that folder
Steps To Reproduce
No response
Expected behavior

Open Files
Go to any folder
Start typing the name of one of the folders

Files Version
<IP_ADDRESS>
Windows Version
Windows 11 21H2
Relevant Assets/Logs
N/A

Are they using capital letters

It seems to be working now, not sure what was causing the previous behavior.


Create status.dymension

Similar to status.solana.com

https://dymension1.statuspage.io/

https://status.dymension.xyz/


Make "Show missing achievements" less laggy with new save-files

While the features in #380 work quite okay for more "mature" save-files, for now save-files the loading of the stats screen becomes very laggy.
This is due to the way the page is loaded.

I have commented out the current implementation of this in CM.Disp as we should really optimize this code before adding it to the main-branch again


Density option for the ruler scale marks and the grid

It would be nice to enhance the ruler and grid tools, by adding the option to set the density of the scale marks and the grid itself (for now there’s only one default density for both).
This could be useful for making more accurate simulations (as I encountered when experimenting with different configurations).

For now, you can enhance the accuracy by double-clicking a control point and enter its coordinates (in pixels) manually. (Hover the "Help" button for more tips.)

@j3soon Is it straightforward to make the "Grid" a dropdown with options of different sizes (or a text box without slider)?

Cool!
Thanks for the tip :)

The "Grid Size" options is now available in Settings.


Support for more that 2 Vrx?

My plan is to use this with multiple antennas for better range and wider "cone".
Setup could be like three 5turn helicals for long range and one cloverleaf for flyovers/close range "behind my back" flying.  So, could it be possible to support more than 2 vrx:es?
This could eliminate need to build tracking hardware in most cases.

hello, I would like to create a 3 Diversity receiver like in the scheme attached. Then the scope is to manage the 3 RSSI to pan/tilt the antennas by using a servo for the tilt (90°deg) and a stepper motor for the pan (360° and more). Can someone help me in the code for the 3 VRx Diversity? thanks a lot


Create Javalin object in Scala

Hi,
Would it be possible to create a Javalin object in Scala? I used a similar syntax as the docs explain with Kotlin but, that didn't work. Do I need to handle the Consumer/Supplier java classes manually?
Javalin.create { config =>
   config.dynamicGzip = true
}.start()

I found this by searching for Javalin.create and scala as the target language on GitHub: https://github.com/tatsuworks/scalarss/blob/1d532de3be2df98184782f36589e583814a7d6eb/src/main/scala/it/xaan/rss/Main.scala

Thanks!


drivers/_downsampling.py: remove useless fields in downsampler

There are two potential quick wins there:

raw_capacity
timestamp array could become last_update

I don't think this is relevant anymore


Fix interactions lag

Description
The main purpose of this pull request is to fix a few bugs concerning the interaction enhancements that were made.
Test Plan
N/A
Motivation and Context
We want the visual feedback to feel crisp and responsive while not sacrificing any functionality performance.
How Has This Been Tested?
I've gone through various use cases to ensure the functionality is operating as it should be.
Screenshots (if appropriate)
N/A
Types of Changes

Documentation
Bug fix
New feature
Breaking change

Bug Fixes

#59 (80b3f45 by @therealaldo)

Checklist

[x] My code follows the code style of this project
My change requires tests to be written
I have written the tests necessary for my code
My change requires a change to the documentation
I have updated the documentation accordingly

 Fix interaction lag


micrositeExtraMdFiles copies files in to the tut dir

I think copying the .md files in to the tut sources dir should be opt-in (or there should be a way to opt-out). If they're including extra markdown sources that are not in the tut directory, there is probably a reason that they are not there.

I see your point and it makes sense to me. This setting was implemented for some specific use cases that not always match with the project needs.
In the meantime, until we don't find a better solution, you could prevent having those extra markdown sources in your tut directory adding them to your .gitignore file.

I had considered using a gitignore, but that's really not convenient, especially if you're doing some fancy stuff to find the markdown files specifically so that other people don't have to manually do things.
My temporary solution is to have a task that runs makeMicrosite and then deletes the new tut sources after.