Replace verificationMethods type in did:dht to use VerificationMethodSpec

Overview
This PR makes the CreateDid{Dht,Ion}Options consistent, and allows users to create dht dids without having to worry about the key creation for the verification methods.
Description
See the updated DidDhtTest.kt file to understand how we allow consumers to create VerificationMethods with or without a KeyManager.
How Has This Been Tested?
Simple refactor. I just moved stuff around and slightly updated tests.
References
See the original did:ion PR that allowed this in #96

@andresuribe87 does this change the public api surface?


Add better support for using OpenAI subscriptions.

Currently, everything is easy for AzureOpenAI subscriptions, there should be direct methods to configure OpenAI's subscriptions too.

Supporting IChatClient now it supports working with all clients.


Support for RN>=0.25

Closed by https://github.com/APSL/react-native-keyboard-aware-scroll-view/releases/tag/v0.0.7


userAgent [nfc]: Use RN's Platform API; drop react-native-device-info

Oddly, on Android, react-native-device-info brings in some Firebase dependencies that we don't need:
https://github.com/react-native-device-info/react-native-device-info/blob/v8.7.1/android/build.gradle#L54-L64
Also this dependency seems to have caused a fair amount of complexity to keep around; see the output of
git log --grep='react-native-device-info'
Remove it, since we can get the same information in the same form from RN's Platform API.
To verify that it's all the same:

For the "system name" piece (given previously by r-n-device-info's getSystemName):

iOS:

r-n-device-info was using Apple's UIDevice.systemName: https://github.com/react-native-device-info/react-native-device-info/blob/v8.7.1/ios/RNDeviceInfo/RNDeviceInfo.m#L142
Platform.constants.systemName uses the same thing: https://github.com/facebook/react-native/blob/v0.68.5/React/CoreModules/RCTPlatform.mm#L68

Android:

r-n-device-info was using the string 'Android': https://github.com/react-native-device-info/react-native-device-info/blob/v8.7.1/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java#L195
(so, copy that)

For the "system version" piece (given previously by r-n-device-info's getSystemVersion:

iOS:

r-n-device-info was using Apple's UIDevice.systemVersion: https://github.com/react-native-device-info/react-native-device-info/blob/v8.7.1/ios/RNDeviceInfo/RNDeviceInfo.m#L147
Platform.constants.osVersion uses the same thing: https://github.com/facebook/react-native/blob/v0.68.5/React/CoreModules/RCTPlatform.mm#L67

Android:

r-n-device-info was using Android's Build.VERSION.RELEASE: https://github.com/react-native-device-info/react-native-device-info/blob/v8.7.1/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java#L196
Platform.constants.Release uses the same thing: https://github.com/facebook/react-native/blob/v0.68.5/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.java#L69

Thanks for the review! Merging, with those fixes.


PR for more webpack-friendly usage

commented out Gently (for non-testing usage)

update os.tmpDir to os.tmpdir (compliant with newer node versions)

The tmpDir() deprecation issue has already been fixed in 321e92 and released with v1.1.1. Meanwhile, commenting out the GENTLY stuff breaks the test suite and thus might not be the correct approach to this problem by itself.

@MagdaleneLee impossible to be merged, but you can find some help in #337, and specifically the https://github.com/felixge/node-formidable/issues/337#issuecomment-153408479.

I'd like to add that I intend to look into the webpack-issue as soon as I can.

I'll try to configure my webpack to ignore gently
On 18 Jan 2017 14:51, "Jonas Amundsen"<EMAIL_ADDRESS>wrote:

I'd like to add that I intend to look into the webpack-issue as soon as I
can.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/felixge/node-formidable/pull/416#issuecomment-273581882,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQet3WbUntqo6Iq2X565lUDBGNILYl5gks5rTm04gaJpZM4LnM2z
.

Thanks. Issue #337 seemed to be the one which would help. I'm going to try
and build. You guys are so responsive, I really appreciate it
On Wed, Jan 18, 2017 at 2:49 PM, Charlike Mike Reagent <
<EMAIL_ADDRESS>wrote:

@MagdaleneLee https://github.com/MagdaleneLee impossible to be merged,
but you can find some help in #337
https://github.com/felixge/node-formidable/issues/337, and specifically
the #337 (comment)
https://github.com/felixge/node-formidable/issues/337#issuecomment-153408479
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/felixge/node-formidable/pull/416#issuecomment-273581259,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQet3foOJ0x0IYo1FmDrhh4RvJWlQjCAks5rTmyygaJpZM4LnM2z
.

Yea, no problem. :) Maybe it is because we are the new maintainers, haha.


Bumped latest archaius commit

Coverage decreased (-0.04%) to 64.834% when pulling eebe48253555fbf00a874cab3dad2a2791f76153 on savitaashture:archCommit into f310f57091641473826cc15cf48a1014656497e0 on ServiceComb:master.


SwiftEntryKit Not Displaying Anything.

Hi. I'm having this problem in which I'm trying to display somethig with SwiftEntryKit and nothing is being displayed. On top of it all the SwiftEntryKit.isCurrentlyDisplaying property is false immediately after calling display. Anyone know what's wrong?
My code looks like this:
    guard Biometrics.shared.biometricsAvailable() else { return }
    let availableBio = Biometrics.shared.availableBiometricString()

    var attributes = EKAttributes.bottomFloat
    attributes.position = EKAttributes.Position.bottom
    attributes.shadow = .active(with: .init(color: .black, opacity: 0.5, radius: 10, offset: .zero))

    if let touchIdPromptVc = UIStoryboard(name: "Authenticator", bundle: nil).instantiateViewController(withIdentifier: "touchIdPromptVc") as? TouchIDPromptViewController {
      touchIdPromptVc.biometricType = availableBio
      SwiftEntryKit.display(entry: touchIdPromptVc, using: attributes)
      print("CURRENTLY DISPLAYING")
      print(SwiftEntryKit.isCurrentlyDisplaying)
    }

The if-let is reached, and within it I try to display something with SwiftEntryKit, and immediately after I check if it's displaying something. I'm not sure if I'm doing something wrong here, but I can't find a reason for display to not do anything.

Have the same issue, although I pass view instead of view controller nothing displays.
How can I figure out it?

I have the same issue

Same here, tried the demo and it isn't working as well

Okay, guys found the issue. Try this fork -> https://github.com/zhocker/SwiftEntryKit it works fine

@hiteshsondhi88 not sure what you refer to as the issue, as the example project works as intended. You may just need to clear your cache and reinstall the library.
Try the following for CocoaPods dependency:

Update cocoapods (sudo gem install cocoapods)
Delete derived data's dir content.
Clean project/build.
pod cache clean --all
pod deintegrate
pod install
Run the example project / side project

@huri000 try on dark mode

@huri000 Check this commit https://github.com/zhocker/SwiftEntryKit/commit/34244f5ad102faa0075218c35c4c253d444b9f6b

@hiteshsondhi88 same result.
I don't recall a connection between the two - dark mode would only affect the styling regardless of the constraints.
@AndyIbanez
Your original problem may have something to do w/ constraints not being set.
Also isCurrentlyDisplaying is synchronous while the display method is async - that would also explain why it prints false immediately after.

Closing. please review the example project as well as previous comments.
The issue is most likely due to unspecified constraints either in the attributes or the view.


[Accessibility] Fixed an issue where sections were not announced correctly.

Fixed an issue where the narrator was not announcing correctly the sections in makecode.com
Related issue : https://github.com/Microsoft/pxt/issues/2628

@veler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Hashable1

It looks like Edward Kmett has already done something like this in the hashable-extras package, but I'd like to propose that the classes Hashable1 and Hashable2 be added to hashable. To be able to provide a lot of more useful instances of these, hashable would also need to depend on transformers (just for the data types in the Data.Functor.* modules, not for any of the monad transformers). What do you think of this?

Also, the reason I would like these in hashable itself and not in a companion package is that we could then have instances like:
instance (Hashable1 f, Hashable1 g, Hashable a) => Hashable (Compose f g a)

With the current split between hashable and hashable-extras, this would be an orphan instance.

@tibbe I don't know if you ever had a chance to think about this, but I just ran into a situation where I needed this again, so I thought I would bring it back up. Since I first raised this issue, the Data.Functor.* data types from transformers have been moved into base, so the suggested additions no longer require taking a dependency on transformers.
Also, just to clarify, the hashable-extras package has Hashable1 written in the older higher-kinded typeclass style that was present in versions of transformers before 5.0. I would rewrite Hashable1 as:
class Hashable1 t where
    liftHashWithSalt :: (Int -> a -> Int) -> Int -> t a -> Int
    liftHash :: (a -> Int) -> t a -> Int

I will gladly do all of the work needed to make this happen. Let me know if you would accept a PR that implements this.

Just so I can put this in perspective, can you give an example of how you'd use this?
P.S. We need to support the 3 last releases of GHC, so we would still have to rely on transformers if we went ahead with this.

The simplest demonstration of its utility is the Hashable instance for
Compose:
class Hashable1 t where
  liftHashWithSalt :: (Int -> a -> Int) -> Int -> t a -> Int
  liftHash :: (a -> Int) -> t a -> Int

newtype Compose f g x = Compose { getCompose :: f (g x)) }

instance (Hashable1 f, Hashable1 g, Hashable x) => Hashable (Compose f g x) where
  hash (Compose v) = liftHash (liftHash hash) v
  hashWithSalt s (Compose v) = liftHashWithSalt (liftHashWithSalt hashWithSalt) s v

But it shows up elsewhere. Many data types that are parameterized over a
* -> * type constructor need this to write Hashable instances. For
example:
instance Hashable1 f => Hashable (Fix f)
instance (Hashable1 f, Hashable a) => Hashable (Free f a)
instance (Hashable1 f, Hashable a) => Hashable (Cofree f a)

I'm fine with leaving out the Hashable instance for Compose for now.
I would rather keep a smaller set of dependencies for hashable.
Providing the Hashable1 machinery, along with Hashable1 instances
for stuff in base, is what I'm most interested in.
On Tue, Oct 18, 2016 at 01:59:42PM -0700, Johan Tibell wrote:

Just so I can put this in perspective, can you give an example of how you'd use this?
P.S. We need to support the 3 last releases of GHC, so we would still have to rely on transformers if we went ahead with this.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/tibbe/hashable/issues/114#issuecomment-254637786

Perhaps we should add it to a new Data.Hashable.XXX module (XXX is up for bike-shedding, it could be Hashable1 or something else that indicates this is for higher order kinds).

I'm fine with exposing through a new module instead of through Data.Hashable. The definition itself has to go in Data.Hashable.Class to prevent orphan instances. For the name of XXX, I would be fine with Lifted or something like that (HigherKinded is most descriptive but feels too long).

No problem putting the implementation in D.H.Class since that's not exposed. Lets go for .Lifted and add top-level Haddock comment to that module explaining what it contains.

Cool. I'll PR sometime tomorrow.

https://github.com/tibbe/hashable/pull/124


v3: workbox-range-requests module

R: @addyosmani @gauntface
Fairly straightforward port of the workbox-range-requests code from v2, with some test changes to accommodate the mocked interfaces, and some additional error messages.
I updated the workbox-sw mapping, but I might be missing some other "meta" things that need to be changed when we add a new library.

Coverage increased (+0.2%) to 84.757% when pulling 696c8fdde60cbe9e463044fc29a60cebc9580b24 on range-requests into 626435df63051cda6f35d70818618ed083ad8075 on v3.

Coverage increased (+0.2%) to 84.757% when pulling 0f7b12b26f0e1926cc5ac2ae86ee25ef828785b3 on range-requests into 626435df63051cda6f35d70818618ed083ad8075 on v3.


How to write my own plugin for generator RPC

I notice this tool have support generate grpc output, but I'd like to implement my own RPC for some reasons.
So I wonder if can you provide a tool generate rpc interfaces without dependencies on grpc, or can you give me some information about how to write my own generator?
One more question, to provide flexibility of my RPC framework, to easy change my generator, can I write a plugin use a python but generate code of golang?

Writing a plugin is not really documented or well supported, but shouldn't be hard. Just follow the example of grpc.

Thank you.

How can I link my own plugin? Write a new file like link_grpc.go?

$ protoc ./helloworld.proto --go_out=plugins=grpc:.
is it possible that that i write my own plugin and invoke it along with grpc plugin?
$ protoc ./helloworld.proto --go_out=plugins=grpc+myplugin:.
do i need to mandatory build my plugin into protoc-gen-go ?
if no, then how will the protoc-gen-go find myplugin ?


[COMPILER] Compiling array within a hash

Minimal repro:
{[] => 1}

leads to method hash' called on hidden T_ARRAY object`
Found from: RUBY_ISEQ_DUMP_DEBUG=prism make test/coverage/test_coverage.rb

There is a similar problem that exhibits itself with a similar message, which can be reproduced by:
RubyVM::InstructionSequence.compile_prism(<<~RUBY).eval
  def foo a: [], b: []
    p a
    p b
  end
  foo(a: [Symbol])
RUBY

and it outputs:
[Symbol]
<compiled>:2:in `p': method `inspect' called on hidden T_ARRAY object (0x00000001033d4de0 flags=0xa00002807) (NotImplementedError)
        from <compiled>:2:in `foo'
        from <compiled>:4:in `<compiled>'
        from ../test.rb:39:in `eval'
        from ../test.rb:39:in `<main>'

Note that since the second optional param is not passed, it causes an error on the p b line, so this version of the error looks like a default parameter bug.
I found this by isolating it from the failure of RUBY_ISEQ_DUMP_DEBUG=prism make ../test/ostruct/test_ostruct.rb

Oh I think I know what's wrong with #2016. The PR checks if element is any of the types PM_NODE_ARRAY, PM_NODE_HASH and PM_NODE_RANGE, but the element won't be any of those types for a hash, it will be PM_NODE_ASSOC.
Now, PM_NODE_ASSOC also has a static literal check of its own, but that only checks to see if the value (not the key) is an array, hash or range.
So, none of our code actually makes the PM_HASH_NODE in the above example to not be a static literal.

OK, I have what I think is a fix here: https://github.com/ruby/prism/pull/2055 and a test that passes on ruby/ruby with that change here: https://github.com/ruby/ruby/pull/9215


It's possible to support sample rate switch?

https://github.com/sirWest/AudioSwitch/issues/149
The same issue another project.
48000 for movie or gaming, 44100 for CD music.
Use a script to switch sample rate before a game launch or before the music player.
WASAPI not a good option, or exclusive mode. I need program use audio device at the same time.
There isn't useful search result in issues...
I plan to create one sample rate switcher via autohotkey, if your AudioDeviceCmdlets already implemented such feature or in future updates, then I don't have to "Reinventing the wheel"...
This is not a feature request and it's just a confirm... Sorry to bother you

AudioDeviceCmdlets currently does not support changing the sample rate of audio devices.
Don't worry it's no bother at all. I welcome Issues and Pull requests. I prefer to document feature requests, even if in the end it's only to confirm that I won't be adding it.
I will take a look at the CoreApi code and come back here to confirm whether or not it will be possible to add this feature later. In any case, I probably won't be able to code until this fall though.

I would love this feature as well. It's a common problem for people using virtual audio devices.

This issue is mine at the beginning.
It has been years since that, and I experienced really A LOT than the moment.
The difference is I quit from HiFi community. There are things go wrong.
I now use 44100 all day and never get back to 48000, not even a single time.
I decide to "believe" there is no noticeable different in terms of "human hearing".
Even for the "well known bad Microsoft resampling algorithm".
The most difference in sound I can tell, is "Equalizer",
I played AutoEQ project (and I made a mod for it ),
then I go to HeSuVi project for headphone to speaker simulation,
finally, I have my own studio monitor on my desktop,
with HeSuVi 2 channel simulate 8 channel surround sound.
Yes, use 2 speakers to simulate 8 and very decent for open world gaming.
Adjust between 48000 and 44100 won't benefit at all.
You need to get some real things. You do can measure the 44100/48000 FFT difference on laboratory instruments
but booooooo, it's you are listening things not the laboratory instruments
While watching movie and gaming, my attention mainly on monior and keyboard,
minor 48000->44100 error far less chance to be noticed.
If I go music CD and stream media mp3, they go 44100 without resample.
I suggest the setting to you that always use 44100 like me.
If you still focus on this topic, please submit another issue.

OK, my use case is completely different. A common source of audio crackling when funneling audio through virtual audio device is that both the source device and virtual device are not both using the same sample rate.

Indeed, sometimes I use kernel streaming to forward my mic, if two audio devices set to different bit rate,
the kernel streaming won't throw exception, but just stream wrong audio signal.

OK, my use case is completely different. A common source of audio crackling when funneling audio through virtual audio device is that both the source device and virtual device are not both using the same sample rate/bit depth.

A function to get the sample rate and bit depth and set it would be wonderful.

Indeed, sometimes I use kernel streaming to forward my mic, if two audio devices set to different bit rate, the kernel streaming won't throw exception, but just stream wrong audio signal.

Could you please reopen the issue?

FYI I opened a new issue https://github.com/frgnca/AudioDeviceCmdlets/issues/64


FEATURE ENHANCEMENT: Family Vacation Itenerary UI Enhancement

Fixes Issue no:  #1913
Description

[x] Updated the UI by changing CSS properties
[x] Added parallex Effect to make visually appealing
[ ] Added Navbar

#1913

Type of PR

[x] Feature enhancement

Screenshots / videos (if applicable)
Before
https://github.com/user-attachments/assets/6a5a6062-c78b-405f-94f0-80f5055eb915
After
https://github.com/user-attachments/assets/265745fa-6dba-45a1-baa6-0c67a28cf526
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal  Please review this and my humble request is to add level 3 because I totally changed the look of the page,.

@PriyaGhosal  Please merge it to main, as it is not showing the updated page.


Priority frames problem

Theres two things, first of all
{
        "frame_type": "WINDOW_UPDATE",
        "length": 4,
        "increment": 12517377
      }

this right here for firefox, on the normal browser its the second sent frame
when using the firefox client and doing the same thing, then its the 8th frame sent
the second thing is, in the HEADERS frame sent, the priority on browser is this:
"priority": {
        "weigth": 42,
        "depends_on": 13,
        "exclusive": 0
      }

on the client it is this:
"priority": {
          "weight": 256,
          "depends_on": 0,
          "exclusive": 1
        }

and idk where I could change that

long time no see @Harusakii
For the First thing:
You are right. See here: https://github.com/bogdanfinn/fhttp/blob/master/http2/transport.go#L810
I'm writing the Priority Header Frames before the WriteWindowUpdate
I will change that in 1.0.2 i guess as i just released 1.0.1.
Second Thing:
Yes you are again right. This was a hardcoded value for Chrome see: https://github.com/bogdanfinn/fhttp/blob/master/http2/transport.go#L1379
I think we can change that to supply this priority object by the profile (and if none supplied we are using chrome default)

@Harusakii
I released https://github.com/bogdanfinn/tls-client/releases/tag/v1.1.0
It is now possible to optional set the header priority as you can see here for firefox:
https://github.com/bogdanfinn/tls-client/blob/master/profiles.go#L340
If nothing is provided, then the default header priority is taken as before.
Also i changed the order the Header Frames are sent that WindowUpdate is sent before the priority headers. See this example for verification:
https://github.com/bogdanfinn/tls-client/blob/master/example/main.go#L540

Haha, also great to see you still going strong @bogdanfinn ^^
I will look into the updates provided, but already thank you! Pretty fast haha ^^
Always good to bring customizability when stuff like that changes ;)

Hey @bogdanfinn!
It works haha ^^, one thing I am seeing though is that the stream ID on the headers frame is 1 even though it should be 15 (Firefox obv).
Then its perfect :)

I just did this and now it tracks the stream ID with the priorities to be sent, idk if its the best solution but it works haha:
for _, priority := range t.Priorities {
		cc.fr.WritePriority(priority.StreamID, priority.PriorityParam)
		cc.nextStreamID = priority.StreamID + 2
	}

here

@Harusakii added your suggestion in https://github.com/bogdanfinn/tls-client/releases/tag/v1.1.1

Very nice ^^


Display internationalized strings with variables that have different HTML formatting

One thing that came up in comments in PR #411 is the need to be able to use translated strings with variables that have different types of styling. This is specifically to address strings like "Welcome back, @username" (displayed below), though it's likely to come up in other places throughout the app.

A few ideas we discussed:

Creating a SubstringStyledText component like in Seek
Using react-i18next with HTML elements
Using an HTML renderer, like this one in Seek

I can take a look at this


Update PowerPoint.application.afterdragdroponslide.md

Update event description
Remove duplicate parameter descriptions

Docs Build status updates of commit 2aa4090:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/PowerPoint.application.afterdragdroponslide.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fixedwing: implement TAS output scaling for FF

In the devguide (here) I demonstrated that the FF part of the rate controller has to be scaled linearly with true airspeed (TAS). At the moment, both PI quadratic scaling and FF linear scaling are done with indicated airspeed (IAS):
https://github.com/PX4/ecl/blob/c4492b17c1d7bb9b74011efa9890452b091421e8/attitude_fw/ecl_roll_controller.cpp#L111-L113
Since IAS depends on air density, this makes a real difference when flying at high altitudes, cold or warm places.
Note: I open this issue to remember that I still have to do that.

Agree, it makes sense to use TAS here.  Although it would be nice to have better ways to estimate outside air temperature (OAT) in PX4.  For example, our airspeed sensor heats up significantly in the cavity it is mounted in causing PX4 TAS estimate to be wrong.  I've seen this handled in other systems by allowing a OAT offset parameter or also allowing different sources of OAT measurement, not just from the Diff Press sensor.

@Antiheavy Are you sure that the temperature is affecting your TAS measurement? Last time I checked the code, it seemed that PX4 just assumes the OAT is 20C and doesn't trust the temperature at all.
I agree with the need to compute TAS more accurately, but I don't think I've seen fluctuations in TAS even though the temperature measurements were wildly wrong.


WASM examples fails to build

Hi
I followed the setup guide from the book and all native examples compile and run fine but when I try compiling using the WASM target I get this error message:
cargo build --target wasm32-unknown-unknown --no-default-features
Compiling slice-deque v0.3.0
Compiling lazy_static v1.4.0
Compiling num-traits v0.2.12
Compiling crossbeam-utils v0.7.2
Compiling num-integer v0.1.43
Compiling num-iter v0.1.41
Compiling num-rational v0.3.0
Compiling futures-task v0.3.5
Compiling proc-macro2 v1.0.23
Compiling concurrent-queue v1.2.2
Compiling syn v1.0.42
Compiling serde_derive v1.0.116
Compiling wasm-bindgen-shared v0.2.68
error[E0425]: cannot find function allocation_granularity in this scope
--> C:\Users\ahson.cargo\registry\src\github.com-1ecc6299db9ec823\slice-deque-0.3.0\src\mirrored\buffer.rs:7:14
|
7 |     let ag = allocation_granularity();
|              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
...
I have tried both the stable and nightly compiler with same results.

@keuppia I cannot replicate it (on current master). I'm testing on cargo build --example headless_wasm --target wasm32-unknown-unknown --no-default-features and it simply builds

The problem was that used the version on crates.io that the book is referencing and not the current master. It works now. Thanks

In case anyone else stumbles upon this issue in their own project, make sure to specify default-feature = false for Bevy when building for wasm32.

This issue continues to appear, even after deleting the Cargo.lock file and the target directory.
On the other hand, even if that solved the problem, we should take into account the interaction with IDE-like tools, like Rust-Analyzer, that triggers the automatic recreation of the Cargo.lock file when people is using the VS Code editor.
Here is a simplified version of my Cargo.toml file that still triggers the problem:
[package]
name = "mist-chess"
version = "0.1.0"
edition = "2018"

[dependencies]
bevy = { version = "0.3.0", default-feature = false }
console_error_panic_hook = { version = "0.1.6", optional = true }
wee_alloc = { version = "0.4.5", optional = true }

And here the single source code file:
#[cfg(target_arch = "wasm32")]
extern crate console_error_panic_hook;

use bevy::{
    math::{Vec2, Vec3},
    prelude::*,
    sprite::Sprite,
    DefaultPlugins,
};

#[cfg(target_arch = "wasm32")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

enum Tile {
    Black,
    White,
}

fn board_setup(mut commands: Commands, mut materials: ResMut<Assets<ColorMaterial>>) {
    commands.spawn(Camera2dComponents::default());

    for i in 0..8 {
        for j in 0..8 {
            let (tile_type, tile_color): (Tile, ColorMaterial) = if (i + j) % 2 == 0 {
                (Tile::White, Color::rgb(0.95, 0.95, 0.85).into())
            } else {
                (Tile::Black, Color::rgb(0.15, 0.1, 0.05).into())
            };

            commands
                .spawn(SpriteComponents {
                    material: materials.add(tile_color),
                    transform: Transform::from_translation(Vec3::new(
                        i as f32 * 100.0 - 350.,
                        j as f32 * 100.0 - 350.,
                        0.0,
                    )),
                    sprite: Sprite::new(Vec2::new(100.0, 100.0)),
                    ..Default::default()
                })
                .with(tile_type);
        }
    }
}

pub struct BoardPlugin;

impl Plugin for BoardPlugin {
    fn build(&self, app: &mut AppBuilder) {
        app.add_startup_system(board_setup.system());
    }
}

fn main() {
    #[cfg(target_arch = "wasm32")]
    {
        std::panic::set_hook(Box::new(console_error_panic_hook::hook));
        console_log::init_with_level(log::Level::Debug).expect("cannot initialize console_log");
    }

    App::build()
        .add_resource(WindowDescriptor {
            width: 800,
            height: 800,
            ..Default::default()
        })
        .add_plugins(DefaultPlugins)
        .add_plugin(BoardPlugin)
        .run();
}

Executing the command cargo build --target wasm32-unknown-unknown --no-default-features triggers the following output:
warning: unused manifest key: dependencies.bevy.default-feature
    Updating crates.io index
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.48
   Compiling cfg-if v0.1.10
   Compiling log v0.4.11
   Compiling wasm-bindgen-shared v0.2.68
   Compiling spin v0.5.2
   Compiling serde_derive v1.0.117
   Compiling serde v1.0.117
   Compiling bumpalo v3.4.0
   Compiling wasm-bindgen v0.2.68
   Compiling libc v0.2.80
   Compiling getrandom v0.1.15
   Compiling cfg-if v1.0.0
   Compiling futures-core v0.3.8
   Compiling memchr v2.3.4
   Compiling autocfg v1.0.1
   Compiling futures-io v0.3.8
   Compiling once_cell v1.5.2
   Compiling ppv-lite86 v0.2.10
   Compiling getrandom v0.2.0
   Compiling pin-project-lite v0.1.11
   Compiling cache-padded v1.1.1
   Compiling parking v2.0.0
   Compiling bitflags v1.2.1
   Compiling scopeguard v1.1.0
   Compiling waker-fn v1.1.0
   Compiling event-listener v2.5.1
   Compiling async-task v4.0.3
   Compiling vec-arena v1.0.0
   Compiling glam v0.9.5
   Compiling downcast-rs v1.2.0
   Compiling fixedbitset v0.3.1
   Compiling Inflector v0.11.4
   Compiling base64 v0.12.3
   Compiling ryu v1.0.5
   Compiling maybe-uninit v2.0.0
   Compiling byteorder v1.3.4
   Compiling serde_json v1.0.59
   Compiling anyhow v1.0.34
   Compiling same-file v1.0.6
   Compiling anymap v0.12.1
   Compiling adler32 v1.2.0
   Compiling crc32fast v1.2.1
   Compiling itoa v0.4.6
   Compiling scoped_threadpool v0.1.9
   Compiling proc-macro-hack v0.5.19
   Compiling semver-parser v0.7.0
   Compiling color_quant v1.1.0
   Compiling bytemuck v1.4.1
   Compiling proc-macro-nested v0.1.6
   Compiling hex v0.4.2
   Compiling futures-sink v0.3.8
   Compiling stdweb-internal-runtime v0.1.5
   Compiling base-x v0.2.8
   Compiling slab v0.4.2
   Compiling pin-utils v0.1.0
   Compiling sha1 v0.6.0
   Compiling libm v0.1.4
   Compiling cpal v0.13.1
   Compiling discard v1.0.4
   Compiling ttf-parser v0.8.3
   Compiling svg_fmt v0.4.1
   Compiling inflections v1.1.1
   Compiling winit v0.23.0
   Compiling slice-deque v0.3.0
   Compiling rectangle-pack v0.2.0
   Compiling ab_glyph_rasterizer v0.1.4
error[E0425]: cannot find function `allocation_granularity` in this scope
 --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/slice-deque-0.3.0/src/mirrored/buffer.rs:7:14
  |
7 |     let ag = allocation_granularity();
  |              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `allocation_granularity` in this scope
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/slice-deque-0.3.0/src/mirrored/buffer.rs:112:15
    |
112 |             * allocation_granularity();
    |               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `allocation_granularity` in this scope
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/slice-deque-0.3.0/src/mirrored/buffer.rs:135:41
    |
135 |         assert!(mem::align_of::<T>() <= allocation_granularity());
    |                                         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `allocation_granularity` in this scope
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/slice-deque-0.3.0/src/mirrored/buffer.rs:148:36
    |
148 |         debug_assert!(alloc_size % allocation_granularity() == 0);
    |                                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `allocate_mirrored` in this scope
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/slice-deque-0.3.0/src/mirrored/buffer.rs:151:19
    |
151 |         let ptr = allocate_mirrored(alloc_size)?;
    |                   ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `deallocate_mirrored` in this scope
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/slice-deque-0.3.0/src/mirrored/buffer.rs:172:18
    |
172 |         unsafe { deallocate_mirrored(first_half_ptr, buffer_size_in_bytes) };
    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

   Compiling typed-arena v2.0.1
   Compiling vec_map v0.8.2
   Compiling fnv v1.0.7
   Compiling arrayvec v0.5.2
   Compiling libloading v0.6.5
error: aborting due to 6 previous errors

For more information about this error, try `rustc --explain E0425`.
error: could not compile `slice-deque`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error[E0433]: failed to resolve: use of undeclared type or module `imp`
  --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:66:20
   |
66 | pub struct Library(imp::Library);
   |                    ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:131:9
    |
131 |         imp::Library::new(filename).map(From::from)
    |         ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:213:11
    |
213 | impl From<imp::Library> for Library {
    |           ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:214:18
    |
214 |     fn from(lib: imp::Library) -> Library {
    |                  ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:219:24
    |
219 | impl From<Library> for imp::Library {
    |                        ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:220:30
    |
220 |     fn from(lib: Library) -> imp::Library {
    |                              ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:241:12
    |
241 |     inner: imp::Symbol<T>,
    |            ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:264:37
    |
264 |     pub unsafe fn into_raw(self) -> imp::Symbol<T> {
    |                                     ^^^ use of undeclared type or module `imp`

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /home/castarco/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.6.5/src/lib.rs:289:36
    |
289 |     pub unsafe fn from_raw<L>(sym: imp::Symbol<T>, _: &'lib L) -> Symbol<'lib, T> {
    |                                    ^^^ use of undeclared type or module `imp`

error: aborting due to 9 previous errors

For more information about this error, try `rustc --explain E0433`.

Note at the top of the output:

warning: unused manifest key: dependencies.bevy.default-feature

The correct key is default-features, but your Cargo.toml is missing the s at the end.

we should take into account the interaction with IDE-like tools, like Rust-Analyzer, that triggers the automatic recreation of the Cargo.lock file when people is using the VS Code editor.

The creation of a Cargo.lock should not lead to any of the issues listed here.

Try the following Cargo.toml with your example code and cargo build --target wasm32-unknown-unknown
[package]
name = "mist-chess"
version = "0.1.0"
edition = "2018"

[dependencies]
bevy = { version = "0.3.0", default-features = false, features = ["bevy_winit", "render"] }
log = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_log = { version = "0.2" }
console_error_panic_hook = { version = "0.1.6" }
wee_alloc = { version = "0.4.5" }

@castarco it would be better if you didn't delete your comment, cause now the discussion looks a bit confusing.
@memoryruins thanks for pointing this default-features typo out, I've just noticed that my comment had the mistake, which apparently caused that problem for @castarco. I've fixed it in my comment as well.

@memoryruins would it make sense to re-open this issue or open another one for tracking WASM support with all the default features?

@mvlabat ah thanks for updating! You're correct about member (some triage perms), but by default github doesn't show the badge until I manually enable its visibility.
One blocker for default features working on wasm is bevy_wgpu, which is tracked in #793. We could consider having bevy_wgpu and a few other features disabled by default since cargo features are additive instead of subtractive, which I noticed you ran into in https://github.com/dimforge/bevy_rapier/issues/26, but has the trade-off that no users would have an out of the box experience until the wasm target catches up.
In the immediate future, documenting the current working features and expanding the instructions in the examples might be the best bet https://github.com/bevyengine/bevy/tree/master/examples#wasm.


HELLO WOULD ❓

📸 Look at this post on Facebook
https://www.facebook.com/share/HbPcNRQssJYTDqmo/?mibextid=xfxF2i

@pchakraborty

Huh. Never seen GitHub Spam before...


Notification toast

Issue #496
Implementation Summary
Objective: Implement a unified notification system using Chakra UI's toast functionality to ensure a consistent user experience and improve code maintainability.
Key Changes:
Migrated from SharedChakraProvider to direct ChakraProvider to enable toast functionality.
Created a NotificationProvider to centralize and manage all notifications (success, error, warning, info) in a consistent way.
Updated Components:

SendOnchain.tsx: Added notifications for transaction events.
ReceiveOnchain.tsx: Added notifications for receiving transactions.
WarningModal.tsx: Added warning notifications.
SetupComplete.tsx: Added setup completion notifications.
SignApiAnnouncement.tsx: Added API announcement notifications.

Features:

Notifications appear in the top-right corner.
Utilizes existing translations for consistent messaging.
Consistent notification system across the application.
Proper propagation of Chakra UI context to ensure toast compatibility.

Provider Implementation:
Before:
<SharedChakraProvider>
  <App />
</SharedChakraProvider>

Now:
<ChakraProvider>
  <App />
</ChakraProvider>

Summary by CodeRabbit

New Features

Enhanced layout of the Footer component for improved visual presentation.
Added a version display in the Footer using the current Git commit hash.

Chores

Introduced a prebuild script to automate the generation of the version constant.

can you separate this out from the git version PR before review?


Add Gemfile & run bundle install

(This doesn't currently work, I timeboxed myself to 20 minutes and couldn't figure it out)
I figured creating a Gemfile with at least the two dependencies (Rake and Minitest) in there would be a good start. For whatever reason I messed up and can't seem to get the test to pass or confirm for me locally. Figured I'd share this much rather than spend more time on it if you ommitted this intentionally

Thanks. I went with creating the gemfile but not actually running it automatically.


read GLUON_PATH from env var and add to new_vm

@brendanzab
I tried to do this as was said in the issue. I've exported a GLUON_PATH variable and it appears to get read while the vm is created.
Feel free to completely reject this code if it's not up to snuff, as I said before I'm just a beginner with Rust.
In the interest of adding the path without any explicit conditionals, I added a method insert_and_get to vm/src/macros so that the function calls could be chained. If no path is found, it should just grab the current directory.
Rebased off of master just prior.

Good work! Unfortunately it does not quite work as is due to the macro code being super weird. It uses Box and clones it when returning it from .get. Thus when add_path is called the path is added to a copy of the actual macro stored in the vm. This didn't matter for the example that I linked to in #23 because all files actually imported in tests have been included directly in the binary (letting them always be accessible with import "std/prelude.glu").
If you do the change in https://github.com/Marwes/gluon/pull/79#discussion_r72400370 it should work though as then the path is added before inserting the macro.
Fixing it so that paths can be added afterwards may be a bit complicated as the import macro currently interacts a bit subtly with the macro system itself. I think I will tackle that myself as it requires one to know a bit about how the compilation is set up.

I fear this has been a selfish endeavour and you all have spent more time explaining than probably would have taken to implement the feature yourself, lol. However, I have made the changes suggested anyway. Let me know if there's anything else I can do.

@leshow Don't worry about it, its just cool that you have taken the time to contribute to the project. I also find it fun just to help out!
This looks good in any case, will merge after travis finishes.

Merged! Thanks for the PR and don't be afraid of asking for help if you find something else that seems interesting!

Don't worry! It's great to have help! :)

Thanks guys!


Avoid retaining/releasing Netty Bytebuf in PipedAsyncWritableChannel

Since we are waiting for write completion callbacks from both primary and secondary read channels before invoking source read channel callback (which reduces Netty ByteBuf reference count to 0), we don't need to increment/decrement reference count of ByteBuf in PipedAsyncWritableChannel. This should avoid illegal reference count exception seen when writing the data out.

Codecov Report
Attention: Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.

Project coverage is 18.47%. Comparing base (52ba813) to head (a294dbc).
Report is 112 commits behind head on master.

Files with missing lines
Patch %
Lines

...ithub/ambry/commons/PipedAsyncWritableChannel.java
0.00%
14 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (52ba813) and HEAD (a294dbc). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (52ba813)
HEAD (a294dbc)

3
1

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2909       +/-   ##
=============================================
- Coverage     64.24%   18.47%   -45.77%
+ Complexity    10398     2930     -7468
=============================================
  Files           840      863       +23
  Lines         71755    73371     +1616
  Branches       8611     8833      +222
=============================================
- Hits          46099    13558    -32541
- Misses        23004    58556    +35552
+ Partials       2652     1257     -1395

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

This is just a general question, is there any test that can help detect to verify we don't have illegal reference count exception?

We can probably add unit tests to trigger illegal reference counts in a given class. But since bytebuf is passed through the Netty -> Router -> Network client, I think it is hard to catch prod illegal reference counts via unit tests.


Fix "Manage Organization Settings" article

Purpose of this pull request
This pull request (PR) fixes an error I introduced with PR #3086 in this article:
https://help.sumologic.com/docs/manage/manage-subscription/manage-org-settings/
I needed to flip the "Cloud Flex Credits" and "Cloud Flex" instructions. The kebob menu is used for Cloud Flex Credits! 🤦
Issue number: Original issue was #3084

Select the type of change:

[x] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

@kimsauce, I really goofed on this one.

Thanks, @kimsauce.

@kimsauce, could you approve this PR?


v3 webservice - env variable for athenapdf cli command? how to enable "window-status" plugin?

Hi there,
in v2 we had WEAVER_ATHENA_CMD env variable to set athenapdf cli command. How can this be done in v3 webservice? I try to enable the "window-status" plugin... Maybe this can be set via query string params? I found no documentation about this and also nothing in the code of v3 or v3-wip branch.
what i tried so far:
docker run --rm -e WEAVER_ATHENA_CMD="athenapdf --plugin=window-status" -p 8080:8080 arachnysdocker/athenapdf-service:3
curl -L http://localhost:8080/process?uri=http://<IP_ADDRESS>:9191&fetcher=http > test.pdf
This outputs a pdf but does not wait for window.status. Also, athenapdf seems to ignore css. Output pdf has no css styles applied... :(
Would be nice if someone could help me here :)

'wait-for-status' is backported to athena v2 in https://github.com/arachnys/athenapdf/pull/162
You can find c.GetQuery("waitForStatus") in changes and looks like it's missing in athena v3.
Try curl -L http://localhost:8080/process?uri=http://<IP_ADDRESS>:9191&fetcher=http&waitForStatus  > test.pdf.
Alternatively try to add --wait-for-status to WEAVER_ATHENA_CMD


Network Upgrade (PD)

There will be scheduled downtime tomorrow morning between 8:00-11:00 for a network upgrade.

This downtime has been postponed until further notice due to incorrect hardware being supplied by the ISP.

The correct device is standing by, the downtime will commence at 10PM tonight.

Resolved: Canary Page is back up in 84d3e96.


1.11 version of mod says 1.11 version of forge is wrong version

Issue:  FluxNetworks-1.10.2-1.0.8.jar crashes dedicated Forge 1.11 build 2199 on startup
Notes:
says forge is wrong version
crash report:
https://gist.github.com/e43f4f5ee9b204b7f59309d1df3291da
fml server latest:
https://gist.github.com/2b237e494befe665b24f0a428b19fef8

There is no 1.11 version of the mod, you can clearly see that in the filename of the jar that you posted.
and in the crash logs.
and in the source code of the mod as well.

However you tagged it as 1.11 on curse.
-----Original Message-----
From: "trab"<EMAIL_ADDRESS>Sent: 12/27/2016 11:04 PM
To: "SonarSonic/Flux-Networks"<EMAIL_ADDRESS>Cc: "kreezxil"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Subject: Re: [SonarSonic/Flux-Networks] 1.11 version of mod says 1.11 versionof forge is wrong version (#23)
There is no 1.11 version of the mod, you can clearly see that in the filename of the jar that you posted.
and in the crash logs.
and in the source code of the mod as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@kreezxil I am not the mod author that would be @SonarSonic
This is the list of version tags on CurseForge for release 1.0.8
1.10.2
1.10.1
1.10
1.10-Snapshot
1.9.4
No 1.11, 1.11.1 or 1.11.2 in that list.
No 1.11 versions listed on the dropdown.
https://minecraft.curseforge.com/projects/flux-networks/files

Let me explain something, and it is obvious that someone on the development side caught the flub and corrected it, too bad they won't say they did.
I use CurseClient to build my modpacks as I consider it to be superior mechanism for doing that. I set my Forge branch for the pack and then "Get More Content" at which time it'll show me everything that is associated with that branch.
I chose Flux Networks, because at the time that I originally reported this, flux networks was listed with the 1.11 tag and when I went to the page, while I did see the file attached version numbers, I did also see that it was tagged for 1.11.
A note on file attached version numbers, as you are aware there have been a couple of times when prior mod tiers (forge branches) worked on subsequently newer ones. For instance 1.9.4-1.10.2 99% of the time will work happy together, some authors even leave their version numbers for the lower 1.9.4 but tag for all the other tiers they think they are compatible with.
So that is what happened and the dev changed the tag else it wouldn't show up in the curse client at that time. It has been fixed and I see that and it no longer appears in the list.
Please close after you've read this.
Was only explaining how and why I started this issue.

I'm the only dev, made a mistake my bad, thought it was compatible it wasn't. a full 1.11 will be out at some point


A "-" in xdp name leads to os error 22

If I replace the xpd name found in https://github.com/aya-rs/book/blob/main/examples/myapp-01/myapp-ebpf/src/main.rs#L11 with a name containing a "-" and adapting it https://github.com/aya-rs/book/blob/main/examples/myapp-01/myapp/src/main.rs#L46 then I get when running the program:
Error: the BPF_PROG_LOAD syscall failed. Verifier output:

Caused by:
    Invalid argument (os error 22)

For example, I replaced "myapp" with "localnet-filter". After changing it to "localnetfilter" it works.
Probably one should adapt the attribute "#xdp" to check for invalid characters and throw an error at compile time.
Btw. is my assumption correct that only alphanumerical characters are allowed for the name?

Hey @jornfranke thanks for reporting this issue.

Btw. is my assumption correct that only alphanumerical characters are allowed for the name?

That is correct.
I'll go ahead and close this here as we'll be revisiting program name handling in https://github.com/aya-rs/aya/issues/375


Unable to connect to external service

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
I am trying to configure istio to connect to a service running outside my k8s mesh. I configured a service entry and a virtual service for the same. But I am unable to connect to it
Version
istioctl version
1.17

Additional Information
No response
Affected product area

[ ] Ambient
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[X] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

Can you provide the configs you have? Otherwise it's hard to debug the issue.

This is my serviceEntry
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: consul-media-service
spec:
hosts:

consul-media-service
exportTo:
"*"
addresses:
<IP_ADDRESS>
ports:
number: 8105
name: http
protocol: HTTP
location: MESH_EXTERNAL

This is my virtualService
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: media-service
spec:
hosts:

test-host.net
gateways:
test-gateway
http:
match:

uri:
prefix: /media-service-test/
rewrite:
uri: /
route:
destination:
host: consul-media-service
port:
number: 8105

test-host.net is the host name which is being used to allow traffic to istio mesh.
This is the test-gateway
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: test-gateway
namespace: istio-system
annotations:
spec:
selector:
app: istio-ingressgateway
servers:

port:
number: 80
name: http
protocol: HTTP
hosts:

test-host.net

Services inside the mesh are working fine and I can access them from browser, but thats not the case with the only externa service


The Markercluster icons on the wall overlap each other, you need to add padding between the icons.

Incorrect display of cluster icons. Icons will climb on top of each other when zooming.
The documentation states that the SuperCluster Algorithm works by default and a link to https://www.npmjs.com/package/supercluster , but this is not observed there. Is it possible to somehow influence and make indents from each other between the icons?
https://jsfiddle.net/Novakand/w86dyebc/
The first video shows how MarkerCluster works at the moment and the second video shows how the supercluster plugin works.
https://github.com/googlemaps/js-markerclusterer/assets/45287302/676cede1-3f12-4707-84c6-695b85ec6371
https://github.com/googlemaps/js-markerclusterer/assets/45287302/2168ee3d-ed77-4271-9b1d-4d33854c75d7

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@novakand Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.

I'm not quite sure I understand your problem, are you saying the clusters are too close together, thus sometimes appearing to overlap?
You can change this behaviour by setting radius on the algorithm options.
new MarkerClusterer({
  map,
  algorithmOptions: { radius: 200 }
})

Alternatively if you wanted to use the bounded viewport algorithm,
new MarkerClusterer({
  map,
  algorithm: new SuperClusterViewportAlgorithm({ radius: 200 }),
})

Here's your fiddle updated as an example: https://jsfiddle.net/wa15qo2b/


Add theme.css file in the jsx

I got stuck a while because of this missing line. I thought it might help someone.

duplicate of https://github.com/react-toolbox/react-toolbox-themr/pull/52
merge it asap :)!


[napari-workflows] Mixed 2D/3D workflows

(branching from https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/149#issuecomment-1305550136)
Placeholder issue for this use case:

This would mean that a workflow either works on 2D image/label arrays, or on 3D image/label arrays

Hmm, a bit of a tricky question. expected_dimensions is only used for inputs at the moment, right? In our current setup, we have 2D Zarrs & 3D Zarrs and we'd never mix them. We want to eventually move to a point where we can e.g. use a 2D organoid segmentation to get the ROI for an organoid in x & y, then do 3D cell segmentation within that. In that case, we may need to load the 2D label image and the 3D intensity image. But maybe we also switch this to a way where we just load ROI information? Not fully sure yet.

To be understood: is there a single napari workflow that works both with 2D and 3D objects? Or are they two different workflows?

Let's see whether the limitation of workflows being 2D or 3D comes up once we have MIPs in the same Zarr file and workflows that use both parts. May not actually come up, let's see

We're not planning to add this functionality to napari workflows. But interesting in flexibility discussions on whether mixed 2D & 3D workflows should be more easily accessible in the future


<google-chart> doesn't work with data and options (JSON) set in markup

The <google-chart> component doesn't shown anything for elements where JSON is assigned to the data and options attributes in markup like
    <google-chart
      type="table"
      options='{"title": "Inventory"}'
      data='[["Year", "Things", "Stuff"],
             ["2004", 1000, 400],
             ["2005", 1170, 460],
             ["2006", 660, 1120],
             ["2007", 1030, 540]]'>
    </google-chart>

See
https://github.com/GoogleWebComponents/google-chart/blob/master/demo/index.html for the full list of examples.
Two of the examples which load data from files instead from markup are working fine.

This doesn't seem to be an issue anymore.

great!


Passing parent state down into child validators while retaining immutability.

I have a tree of validators and I've noticed upon profiling 30% of time is spent on creating validator instances because children are n levels deep and each create new validator instances and pass the parent data down into children (something like this https://stackoverflow.com/questions/18720105/child-model-validation-using-parent-model-values-fluent-validation-mvc4).
I've thought about using di and injecting each child validator into the parent so it's immutable but I'm not seeing a good way to easily inject the parent state in. I have looked at property validators as well as custom validators. Is there any recommendations on this approach, it would be super nice to have a AbstractValidator that had access to a context object and I could  at worst case do boxing to get the parent data. Or perhaps there was a new abstract validator where I could define the parent type/shape and get access to it easily. I'm thinking this approach makes it a bit harder to just new up say a parent (assume grandparent, parent and child validators) and validate only the parent and child if I have a specific end point that modifies data...

Using DI and injecting the child validators is the correct way to handle this.

I'm not seeing a good way to easily inject the parent state in

Can you explain what you mean by this?

    public class ViewValidator : AbstractValidator<View> {
        public ViewValidator(ViewSectionValidator viewSectionValidator) {
            RuleFor(v => v.Name).NotEmpty().WithMessage("Name cannot be empty.");
            RuleFor(v => v.Type)
                .Must(t => organization.Types.Contains(t))

in this case, I need to get access to the parent (organization). It would be great if I could use or get a hold of the RootContextData (https://fluentvalidation.net/start#root-context-data) inside of the must

I have really complex rules in some cases where I'm checking for duplicates or state on a parent object to ensure the child is valid (if this makes sense)

It would be great if I could use or get a hold of the RootContextData inside of the must

You can. There's an overload of Must that accepts the PropertyValidatorContext:
RuleFor(x => x.NameField).Must((model, propertyValue, context) => {
  context.ParentContext.RootContextData
});

I have really complex rules in some cases where I'm checking for duplicates or state on a parent object to ensure the child is valid (if this makes sense)

In that case, it might be better to define your rules for the child properties inline on the parent validator, rather than using explicit child validator instances.

Thanks, I'll try that approach, I missed that overload :.  Is there a recommended way to have a validator add/replace state to the root context data (something like .WithState(key, object)?)
I thought about just having inline for the child properties but it would be a huge huge mess (probably 100-150+ lines long :)

Is there a recommended way to have a validator add/replace state to the root context data

No, sorry. The RootContextData is just a dictionary that's part of the advanced lower-level API - you'll need to just access it as a normal dictionary.

I truly wonder if I'll have more overhead boxing and accessing these dictionaries then actually just creating new validator instances.

I'm assuming the best practice here would be to do this at the very top of each validator and pray it will always be called first
RuleFor(v => v).Must((model, propertyValue, context) => {
  context.ParentContext.RootContextData["v"] = v
});

I just feel like I'm severely hacking it (and the ton of work hopefully pays off, but won't know till the work is done) at this point and either I settle for one massive validator and or copy part of it for the parts where I need to validate something (not very dry).

I'm assuming the best practice here would be to do this at the very top of each validator and pray it will always be called first

No don't do it in a rule definition. Override PreValidate and do it in there.

protected override bool PreValidate(ValidationContext<Person> context, ValidationResult result) {
	context.RootContextData["v"] = context.InstanceToValidate;
	return base.PreValidate(context, result);
}

but won't know till the work is done

It probably will make a difference. Instantiation of validator classes is expensive because they have to compile the RuleFor expressions into delegates. We do our best to cache these, but it's not always possible. The best way to make the validators performant is to ensure that they're registered as singletons with your DI container. Of course the caveat with this approach is that they will not be able to depend on any scoped services.

I'm hoping so :), good thing for us is we don't have any scoped services in play. Thanks again, I'll update this with how it works out. If I get some more time I might try to contribute to docs :)

What would be the best way to get access to the context from within WithMessage? there is no overload that provides the context and I don't see an overload on with state either

Internally both of those do have access to the context. The public API wraps the internal api by providing common useful methods - these don't have access to the context, so you'll need to drop down to the internal api to do this.
// WithState, public API:
RuleFor(x => x.Foo).NotNull().WithState(x => new SomeState());
// Internal equivalent:
RuleFor(x => x.Foo).NotNull().Configure(cfg => {
  cfg.CurrentValidator.Options.CustomStateProvider = (context) => new SomeState();
});

// Public API
RuleFor(x => x.Foo).NotNull().WithMessage("foo");
// Internal:
RuleFor(x => x.Foo).NotNull().Configure(config => {
  config.CurrentValidator.Options.ErrorMessageSource = new LazyStringSource(context => "Foo");
});

Looking how those methods are implemented  will probably be helpful to you.

Thanks! I was thinking that if When had an overload for context it would just make things a bit easier. I could then just have multiple conditions (bit more overhead but doable out of the box)

Just a heads up to anyone following this thread. These changes were definitely worth making (but beware you need to inspect call sites as you may be missing root context data). In my scenario it decreased execution time by 23.34% across 5 executions (results may vary)


Unable to enable log on console

Expected Behavior
When LOG_DIR is not set in configuration file and the environement variable PP_LOG_DIR is not define log_dir is by default /tmp, instead to be console.
Current Behavior
In current behavior it seems not possible to enable the console log it's always go to file because fallback for configuration and env variable is /tmpand there is no way to make the condition define in CollectorAgentConf.py#L149 to be true.
If we replace if dir is not None: with if dir: we can set an empty log dir and it will by default enable log on console.

I've push a PR to support logging on STDOUT with the new Go version of the collector agent. For the record also new version doesn't support socket anymore may be worst just not it into the doc or changelog ?

Done


As a logged in player, I want to create a new game room in order to let other players join the room (e.g. with the corresponding room number). As soon as a room is created, it can be seen in the list of rooms in the Dashboard.

Zusammenfügen mit 4. ??

[ ] Upon creation, the player who created the room is in the Lobby of that room.
[ ] The room can be named.
[ ] A maximum number of players in a room can be defined.
[ ] People can join the room through the Dashboard.
[ ] Once the desired number of players are in the Lobby, the creator of the room can start the game.
[ ] The creator of the room can delete and edit the room. Upon deletion, he returns to the Dashboard.

Würde gerne zusammenfügen!


Fixed typo

This would also be a good place to cite the source of data.

The two teaser videos left use the reference images sampled from this dataset under a Creative Commons Attribution-NonCommercial 4.0 International License. #72


Trendmicro flags dlv as a Trojan and autodeletes it

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?
what ever downloaded to windows 3/27/18
exe was removed by Antivirus

What version of Go are you using? (go version)?
go version go1.9.2 windows/amd64

What operating system and processor architecture are you using?
Win10 x64

What did you do?
On Windows 10 x64 with TrendMicro anti virus installed I ran
go get -u github.com/derekparker/delve/cmd/dlv   on 3/27/2018
I restarted my DOS cmd windows
i started a small custom go lang web server
I ran the command
dlv attach

What did you expect to see?
a debug session

What did you see instead?
Trendmicro flagged dlv as a threat and auto deleted the exe file
In the report it flagged the exe as a trojan HEU_AEGISCS003
and complained about ZwCreateThreadEx

I can whitelist dlv with Trendmicro but is there any way I can be assured that dlv.exe does not contain malware?

go get compiles from source, you can examine the source code. We could tell you that we didn't put malware in but if we did we would still tell you we didn't, so there's no reason to.

welp I guess I have to tell the AV "seems ligit".


System contract changes and testing

[x] Change by_vote producer_info index in order to avoid long loops in update_elected_producers.
[x] Added a unit test to verify the effect of setram.
[x] Added checks to test balances of eosio.ram, eosio.ramfee, eosio.names, eosio.saving, eosio.bpay, and eosio.vpay.
[x] Cancel producer deactivation, add system contract action to deactivate a producer account.
[x] Remove global state savings field as it is redundant now.
[x] Test eosio.stake account.
[x] Check that number of producers hasn't decreased before updating producer schedule.

Resolved by PR #3559 and PR #3619.


Website Homepage black space

Describe the bug
In website's home page just in background of start button three images scroll horizontally one by one
Issue :
In between images Black black space with changing alignment should be removed
To Reproduce
Steps to reproduce the behavior:
1.
2.
3.
4.
Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).
Environment (please complete the following information):

OS:
Browser:

Additional context
Add any other context about the problem here.

@PrathmeshMutke this issue is already open https://github.com/QAZIMAAZARSHAD/Voters-Registration-Portal/issues/298.
you can try this one https://github.com/QAZIMAAZARSHAD/Voters-Registration-Portal/issues/328.


Can't capture fullscreen program on windows 8.1

Hi. Thank you for your work.
I'm trying to capture a DirectX game running in fullscreen mode.
I set capture source to monitor 1:
g_DXGIManager.SetCaptureSource(CSMonitor1);
I use timeout in command line to be able to switch to the fullscreen game before the program starts:
timeout 10 & DXGICaptureSample.exe
On Windows 10 the program is able to get a screenshot of the game. On Windows 8.1 it fails, the console output says display size is 0x0 (which should be 1920x1080).
Do you know a way to make it work for fullscreen applications under Windows 8.1?

Hi,
All APIs should be supported under Windows 8.1, your case does not ring the bell.
The only way to go is try to debug what's going on.
First few questions that came up into my mind are:

what's in the log?
have you tried to set capture source to CSDesktop? Or you are specifically capturing Monitor1?
check monitor configuration - is CSMonitor1 really the right monitor? What rect do you have if capturing from CSMonitor2?

I'm sorry for my late answer.
This is my test environment:

Windows 8.1 OS.
1600x900 monitor on the left. It is seen in Windows "Screen Resolution" panel as "Display 2". This is "CSMonitor2" in DXGICaptureSample's code. This is "DeviceName=\.\DISPLAY1" in DXGICaptureSample's log.
1920x1080 monitor on the right. It is seen in Windows "Screen Resolution" panel as "Display 1". This is "CSMonitor1" in DXGICaptureSample's code. This is "DeviceName=\.\DISPLAY2" in DXGICaptureSample's log. I run fullscreen game on this display.

Answering your questions:

Console, log, and file outputs: here
I have tried to set capture source to CSDesktop. It works fine and captures image from both monitors. But when there is a fullscreen game running on my "CSMonitor1", it ignores this monitor, producing a capture.bmp of just "CSMonitor2". This can be seen in logs.
Yes, CSMonitor1 is the one with fullscreen game I try to capture with 1920x1080 resolution. The rect of CSMonitor2 is "DesktopCoordinates={(-1600,0),(0,900)}". This can be seen in logs.

Thank you for so thorough logs. I think, this call is failing hr = spDXGIOutput1->DuplicateOutput(spDXGIDevice, &spDXGIOutputDuplication); and there was no log for it yet. Could you pull the latest code and see what hr it puts in the log?


Add L.StatelessGRU and change the implementation of L.GRU

This re-submit of #2768
This PR adds L.StatelessGRU and change L.GRU from stateless to stateful as proposed in #2537.
As the semantics of L.GRU is changed, this change breaks users' code. To notify users the change, we determine which API (v1/v2) users assume by the number of argument passed to __call__ and invalidate the former one.
TODO: Add this change to the upgrade guide #2741.

TODO: update the upgrade guide in #2741

LGTM. Nice that you added a check if user tries calling GRU with the old API, which I think some users will appreciate.


chore(main): release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-11-13)
Bug Fixes

cleanup code for initial version (#2) (d18f82c)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.1.0
:sunflower:


Identity Operator - Domain and Range geometry should be the same

Description
In the Identity Operator, domain and range geometry can be set to be different:
https://github.com/TomographicImaging/CIL/blob/5d569dc054759a8c137ca72611fc7be07be6080e/Wrappers/Python/cil/optimisation/operators/IdentityOperator.py#L40-L47
However, the forward and adjoint operators just return their input. They do not use the range geometry:
https://github.com/TomographicImaging/CIL/blob/5d569dc054759a8c137ca72611fc7be07be6080e/Wrappers/Python/cil/optimisation/operators/IdentityOperator.py#L49-L71
Propose that the option to pass a range geometry is removed.
Discussed with @bosschmidt at the CIL user meeting hackathon.

Hello, I tried to fix the issue
This is what I did:
Modified the IdentityOperator class to remove the option of passing a range_geometry. The operator now always uses the domain_geometry as its range_geometry. Updated the class docstring and init method accordingly.
I also created pull request: https://github.com/TomographicImaging/CIL/pull/1981

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.


Possible mismatch of comment on pull request with its status

Comments from CLA assistant show only the current state of CLA for the PR (whether user has signed or not the current version of CLA). So the comment can change it's description from "signed" to "not signed yet" later after the PR was merged if the content of CLA changes. That would lead to a mismatch of the PR status (green) and the comment (yellow).

better approach would be to change CLA assistant's comment on pull request instead of using generic svg image


ui: show only advanced zones for vmautoscale form

Description
Fixes #7409
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7411 (QA-JID-77)

@shwstppr
My suggestions are

display this section only if there is at least one advanced zone

In the AS vmgroup creation wizard, list only the Advanced zones
(securitygroupenabled = false)

@weizhouapache conditional displaying of the section would be tricky. Even if implemented it may delay UI loading while it lists zones.
Will add change in the wizard


resetTransform does not work properly on Firefox

When the transform component has some fixed dimensions, the resetTransform function does not center the image horizontally in Firefox. Please see attached video and codesandbox example.
https://www.youtube.com/watch?v=xK__31iH0pU
https://codesandbox.io/s/distracted-field-i3oul

I have the same issue that the resetTransform doesn't work properly in Firefox.
In Chrome it resets the content to the center but in Firefox the content resets to the top left of the wrapper.
I've tried using the setPositionX and setPositionY which places it at the correct location but after scrolling it resets itself to the top left.


Update style.css to use GF API

This is incomplete as the font family names change from "camelcase without spaces" to "title case with spaces" (eg RobotoFlex to Roboto Flex). Also note the the GF API version of Roboto Flex has no XOPQ axis.
Should there be a pair of " inside the url() with the parens?
I added the swap API url parameter to all the API URLs, too

I think there are a few places that need to be updated as well!
For example each of the steps import by name:
https://github.com/material-foundation/material-symbols-and-variable-fonts/blob/main/src/pages/steps/1.ts#L26


tests: More SMP disablement

A few more test cases that are measurably unreliable when run in SMP.
For the most part these work most of the time (though the semaphore
one was pretty borderline -- I measured about 25% failures), but are
measurably unstable against the backdrop of known qemu instability.
Something is clearly going on and we need to come back to these to fix
threadsafety issues.
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Stuck a "bug" label on this, but it fixes a verbally-reported failure (and others I found), so there's no related issue opened.  Let me know if I should open one to get this merged for 1.14.

Is there a bug open to track the issues we are seeing?

No, but there should be.  Will open one right now for 1.15.

OK, filed as an enhancement for 1.15: #14639


14 use GitHub runner to automatically pull the latest image from dockerhub to daniels server

I think I'll refactor this to use an entry point script instead of the docker-compose and expand the .env inside the container vs in the GitHub runner using an env variable.  The combo of volumes + weird Dockerfile is kind of confusing.

On second thought, to avoid complicating this non-ideal code further, I'll just leave it as is.  The alternatives don't seem much better.  Ideally we would just use 3rd party software to manage our secrets so that the local and server code would work the same, but that seems really overkill.
Appendix: here are the non ideal alternatives to our current solution (.env Docker volume).

Pass in all secrets as JSON encoded environment variable instead of expanding to .env before running the container.  For the server this change could just require refactoring a bit, but for running locally I'd have to write more code to convert the .env to JSON.  Seems very Rube Goldberg.
The "dumb" way.  Pass in 16 named command-line ENV arguments to Docker.  We call the app multiple times (testing, deploying, locally) so this would get very verbose.  We'd probably want to wrap the Docker call in a script, but that seems just as complex as option 1.
Keep GitHub Secrets, don't use Docker.  We'd still need a script to remap the GitHub Secrets since they only exist inside a special GitHub context variable.
Don't use Docker or GitHub Secrets.  Manually place .env on server where code will run.  Seems messy and non standard.  We'd have to install a bunch of Python stuff on Daniels server and then reinstall if we ever move it.
Keep Docker, don't use GitHub secrets.  We'd still have to use volumes to get the .env into Docker.

I'm remembering Docker actually reads the .env file by default, but the Python process we start wasn't seeing them.  If I could fix this it might be a cleaner option.

Ugh, the newlines in the Google key that were giving me problems before also break the Docker .env integration.  One post recommended a key store - basically the ideal option I mentioned above.

I removed the docker-compose.yml since it's usage was a bit confusing.  We just is plain old docker now.

Note: currently the deploy container will exit since we don't pass in credentials.json.  I think we plan to move this to the .env eventually, so I've left it out for now.


[Policy Assistant] remove support for SameLabels and NotSameLabels

Parent issue: #150
These fields have been removed from the experimental API in #196. Likely to be replaced by tenancy concept

/remove-lifecycle stale

/remove-lifecycle rotten


make sure the links on README.md are functional (some might be pointing to incorrec t paths)

Fixed by #67


Budget Manager

Hey
Is there a feature to manage the budget? I would like to know how many of my credits are being used in a single run.

Tracking this here: https://github.com/TransformerOptimus/SuperAGI/issues/4
Deleting this duplicate issue.


Add domain whitelisting

Domain whitelisting feature for the Messenger Extensions & Plugin Checkbox.
https://developers.facebook.com/docs/messenger-platform/thread-settings/domain-whitelisting
Tell me if ok for you.

@guilebc sorry for the delais, just some comments but it's cool :+1: thank.

@tgallice - is there a plan to merge this pull request?


add the ability to customize memory size from the environment.

(forked from coreos/coreos-xhyve#13)

LGTM


export 'ɵisSubscribable' was not found in '@angular/core

failer accurs bei build Image auf  Jenkins:
[INFO] Error<EMAIL_ADDRESS>3299:16-31
[INFO] "export 'ɵisSubscribable' was not found in '@angular/core'
[INFO]     at HarmonyImportSpecifierDependency._getErrors (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
[INFO]     at HarmonyImportSpecifierDependency.getErrors (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:68:16)
[INFO]     at Compilation.reportDependencyErrorsAndWarnings (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/Compilation.js:1463:22)
[INFO]     at /var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/Compilation.js:1258:10
[INFO]     at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), :53:1)
[INFO]     at AsyncSeriesHook.lazyCompileHook (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/node_modules/tapable/lib/Hook.js:154:20)
[INFO]     at Compilation.finish (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/Compilation.js:1253:28)
[INFO]     at /var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/Compiler.js:672:17
[INFO]     at _done (eval at create (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), :9:1)
[INFO]     at eval (eval at create (/var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), :72:22)
[INFO]     at /var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/Compilation.js:1185:12
[INFO]     at /var/lib/jenkins/workspace/ui-server_development-JY3DGBRAUS4ZBPODV6RUEKH2KPXSALQFE3HCLVJFOJCTZBRWPVSQ/ui-client/node_modules/webpack/lib/Compilation.js:1097:9
[INFO]     at processTicksAndRejections (internal/process/task_queues.js:75:11)
[INFO]  @ ./projects/vjd/src/personas/browse/browse-persona/services/switch-css-to-browse-persona.service.ts
[INFO]  @ ./projects/vjd/src/personas/browse/browse-persona/browse-persona.module.ts
[INFO]  @ ./projects/vjd/src/app/app.module.ts
[INFO]  @ ./projects/vjd/src/main.ts
[INFO]  @ multi ./projects/vjd/src/main.ts
[INFO]
[INFO]
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm ERR! errno 1
[INFO] npm ERR<EMAIL_ADDRESS>build-spring: ng build --prod --build-optimizer --output-path ../ui-server/target/classes/static/
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the<EMAIL_ADDRESS>build-spring script.
[INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

dependencies:
"@angular-mdc/web": "5.1.1",
"@angular/animations": "~11.0.3",
"@angular/cdk": "^11.0.1",
"@angular/common": "^11.0.3",
"@angular/compiler": "11.0.3",
"@angular/core": "11.0.3",
"@angular/forms": "~11.0.3",
"@angular/localize": "^11.0.3",
"@angular/material": "^11.0.1",
"@angular/platform-browser": "~11.0.3",
"@angular/platform-browser-dynamic": "~11.0.3",
"@angular/router": "~11.0.3",
"@babel/compat-data": "7.8.0",
"@stomp/stompjs": "^5.2.0",
"ajv": "^6.0.0",
"class-transformer": "^0.2.0",
"core-js": "^3.2.1",
"material-components-web": "^2.3.1",
"ng-inline-svg": "^9.0.1",
"no": "0.0.1",
"optional": "^0.1.4",
"rxjs": "~6.6.3",
"tslib": "^2.0.0",
"typescript-logging": "^0.6.3",
"uuid": "^3.3.2",
"zone.js": "~0.10.2"

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Error during execution: unable to retrieve the complete list of server APIs

Describe the bug
Not sure exactly when, but at some point this controller stopped working for us. Nothing is TTLd.
What do you see?
The logs only show two lines on repeat:
2024/08/15 12:47:12 Error during execution: unable to retrieve the complete list of server APIs: tap.linkerd.io/v1alpha1: stale GroupVersion discovery: tap.linkerd.io/v1alpha1
2024/08/15 12:47:12 Execution took 18ms, sleeping for 5m0s

We do use linkerd and linkerd viz in the cluster, which installs a bunch of CRDs like the one referenced.
What do you expect to see?
Other resources are still removed? We're only using this on built-in resources, if we could just disable support for CRDs, that would get us past it.
List the steps that must be taken to reproduce this issue

install linkerd and linkerd viz?

Version
1.3.1
Additional information
No response

Out of curiosity, do you have a namespace that's stuck in a terminating phase?


[Feature-10411] Add tenant api test

Purpose of the pull request
Related issue: #10411

Codecov Report

Merging #10442 (fdd7a03) into dev (190f253) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #10442      +/-   ##
============================================
+ Coverage     40.55%   40.58%   +0.03%
- Complexity     4774     4776       +2
============================================
  Files           878      878
  Lines         35741    35746       +5
  Branches       3969     3970       +1
============================================
+ Hits          14493    14509      +16
+ Misses        19805    19788      -17
- Partials       1443     1449       +6

Impacted Files
Coverage Δ

...er/api/service/impl/TaskDefinitionServiceImpl.java
24.01% <0.00%> (ø)

...che/dolphinscheduler/api/python/PythonGateway.java
17.00% <0.00%> (+7.76%)
: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 190f253...fdd7a03. Read the comment docs.

LGTM overall, but it seem some of the files are or smilar to module dolphinscheduler-e2e, I wonder if there exists some way to combine them into some parent module?

The two modules are completely functionally unrelated. API testing only uses the basic framework of E2E for reference and starts third-party services based on docker.
I have discussed this issue with @kezhenxu94 . So I created a new API-Test module.

LGTM overall, but it seem some of the files are or smilar to module dolphinscheduler-e2e, I wonder if there exists some way to combine them into some parent module?

The two modules are completely functionally unrelated. API testing only uses the basic framework of E2E for reference and starts third-party services based on docker.
I have discussed this issue with @kezhenxu94 . So I created a new API-Test module.

Hi @SbloodyS , can you check whether we can refactor the existing dolphinscheduler-e2e to some modules, dolphinscheduler-testing containing the core part, and let dolphinscheduler-e2e-test and dolphinscheduler-api-test depends on dolphinscheduler-testing?

Hi @SbloodyS , can you check whether we can refactor the existing dolphinscheduler-e2e to some modules, dolphinscheduler-testing containing the core part, and let dolphinscheduler-e2e-test and dolphinscheduler-api-test depends on dolphinscheduler-testing?

I'll take a look.

After a deep checking. I found the following differences in both core module's DolphinSchedulerExtension.java.

The beforeAll and afterAll function would set webdriver and  browser in E2E-Test module. However, API-Test modules do not need these.
Based on the first point, there is no need to pull other additional containers in the API-Test module for local mode and non local mode. So there is no problem of distinguishing container images of M1 chip.

As we can see, the implementation of the core module of the API-Test and E2E-Test is quite different. So if we want to combine these two modules into one. I think we need to create an abstract class. And then implement its own logic in the core of the two modules.
I'm not sure whether we need to do this since it's not much different from now. WDYT? @zhongjiajie @kezhenxu94

After a deep checking. I found the following differences in both core module's DolphinSchedulerExtension.java.

The beforeAll and afterAll function would set webdriver and  browser in E2E-Test module. However, API-Test modules do not need these.

Based on the first point, there is no need to pull other additional containers in the API-Test module for local mode and non local mode. So there is no need to distinguishing container images of M1 chip.

As we can see, the implementation of the core module of the API-Test and E2E-Test is quite different. So if we want to combine these two modules into one. I think we need to create an abstract class. And then implement its own logic in the core of the two modules.
I'm not sure whether we need to do this since it's not much different from now. WDYT? @zhongjiajie @kezhenxu94

Make sense. Let's keep them 2 modules for now.

As GitHub Actions now can re-run only failed jobs, we should consider combine the workflows to save resources and time. Also consider adding api-test to required context before merging PRs

I'll try to combine the workflows in a few days. Since the API test is a new component. It is uncertain whether it is stable in github actions. I'll add it to required context before merging PRs after a period of observation and stabilization. Thanks.