YouTube Music is not available in your area Even tho it is

OS: Windows 10
GPMDP Version:4.6.1
Issue Descriptions: Youtube Music "is not available in my country" even tho it is (Im from spain) and it was working before but when i changed the timezone to thailand and used a proxy aswell it just stopped working, now im back without proxy and my timezone and still nothing
Steps to Reproduce: Not sure if changing time zones or using an ip address from a country without youtube music

I have the same problem. But the problem started when I disconnected from my VPN connection in Netherlands. I live in Sweden. I have not switched any time zones. the problem seems to only be related to switching IP addresses.

If you switched countires / used a VPN and it still thinks it's not available I'd suggest completely deleting GPMDP's cache and starting again.

Greetings to all:
I am in China and I am connecting via ExpressVPN to a server in the United States.
I haven't been able to connect to YouTube Music for more than a week and I don't know how to solve it.
https://music.youtube.com/coming-soon/
I am using Windows 10 with Microsoft Edge 90.0.818.49 (64 bit).
I don't know what GPMDP's cache is.
Could you help me?


IDVA3-1411 Fix/tab description verification statements

changed tab description to match prototype

CI: No security warnings found


Allow users to comment on posts

look online for how to add this

https://graphcomment.com/admin/#/register
https://blog.logrocket.com/4-plugins-to-add-comments-to-your-gatsbyjs-blog/

https://graphcomment.com/admin/#/register
https://blog.logrocket.com/4-plugins-to-add-comments-to-your-gatsbyjs-blog/


Provide console output on missing addons

Is your feature request related to a problem? Please describe.
I just spent a few minutes trying to debug my storybook integration until I noticed that I had (through careless copy&paste) registered the @storybook/addon-viewport in my addons.js file – but I had not npm-installed it.
I know this was stupid by me for not setting things up in a thorough way 🤦♂
Still, running npm run storybook produced a webpack built without throwing any errors or giving hints:
info @storybook/vue v4.1.11
info
info => Loading presets
info => Loading presets
info => Loading custom .babelrc
info => Loading custom .babelrc
info => Loading custom addons config.
info => Loading custom webpack config (full-control mode).
webpack built 6ee5b84edc8caae1b3bb in 3449ms

Of course, opening Storybook on the assigned localhost resulted in a Cannot get / message.
Describe the solution you'd like
I would have liked the setup to at least give me a warning that the addon I registered wasn't available instead of just swallowing that error (which must have happened somewhere!?).
Describe alternatives you've considered
I can't really think of an alternative. I do think swallowing any errors is not a good thing to do, though 😄
Are you able to assist bring the feature to reality?
Maybe, I don't know? I'm not familiar with the code base & webpack. Would still give it a shot.
Additional context
As you might see, I have a custom webpack and babelrc (nothing special, "just" alias resolving & some sass files being loaded), but I don't think that relates (or should relate) to the issue described here.

That's a good idea @HerrBertling, would you like to raise PR? I can help you if needed.

I'm not sure of the correct way to fix this but after some digging around I managed to find a way to output the suppressed webpack errors for addons.
File -<EMAIL_ADDRESS>line 125 - This promise.all is swallowing all errors from the two queued promises, the way I got it to bubble out was to change it to:
Promise.all([
    managerPromise.catch(e => e),
    previewPromise.catch(e => e)
  ]).then(([managerStats, previewStats]) => {

OK, cool. If you would like to raise a PR, I think we can get this looked into.

I won't be able to do the PR soon-ish due to my best release yet a few days ago: 👶 😊

CONGRATULATIONS ;) And don't worry, we'll see if someone else can pick this up.


TODO

Ordered checklist

[ ] Test the plugin once JENKINS-47154 is resolved.
[ ] Write at least one unit test.
[ ] Update README with documentation describing what this plugin is about and how to configure it.
[ ] Create an article for this plugin in the Jenkins wiki and update pom.xml with a wiki link.
[ ] File a jenkinsci plugin hosting request.

Accidentally opened this issue on the wrong repo.  Refer to https://github.com/samrocketman/scm-branch-pr-filter-plugin/issues/1


how to add middle layers' activation loss functions?

If I want to train a dorefa-Net quantization on alexnet , is the command line like this ?
python compress_classifier.py -a alexnet /ImageNet_Share/ --compress=/distiller/examples/quantization/quant_aware_train/alexnet_bn_dorefa.yaml
We do not need to modify the code in  compress_classifier.py  to do this training?

Hi @brisker ,
Sorry for the late response.
You're correct, this yaml file is the configuration for the compress_classifier.py script, and the command line would be exactly as you've specified.
Let us know if you have more questions.
Cheers,
Lev

@levzlotnik
if we apply PostTrainQuant mode quantization by using /distiller-master/examples/quantization/post_train_quant/stats/resnet18_quant_stats.yaml, the code will read all the activation statistical data such as avg-max, abs-min etc. But I can not find where you use them, in the file range_linear.py? Can you tell me where did you use the data in examples/quantization/post_train_quant/stats/resnet18_quant_stats.yaml ?

Hi @brisker,
You can see example invocations using resnet50_quant_stats.yaml here. You can use resnet18_quant_stats.yaml in a similar fashion.
Cheers
Neta

@levzlotnik
@nzmora
@scttl
@khosra
If I want to quantize the input and output of MaxPooling layer in dorefa-net, do I have to write a new
nn.Module named DorefaMaxPooling?

Hi @brisker,
(Note that I edited your last comment to remove irrelevant people you tagged)
To go back to your original question, there could be some confusion I'd like to clear up. If you notice, the yaml file is named "alexnet_bn". That is to say, the intention is to run this not on the original AlexNet, but on a modified AlexNet with batch norm layers. We have it implemented here.
The reason for this is that the implementation from the DoReFa authors used this model - see here.
So in the command line, you should actually use -a alexnet_bn. (There's nothing preventing you from running it on the "vanilla" AlexNet, but the settings in the YAML file were meant to fit the settings used in the reference DoReFa implementation.
In addition, the reference implementation used Adam instead of SGD, and indeed in my experiments I saw Adam gives better results. Our sample uses SGD and it's not configurable, so one needs to edit the code in order to use Adam.
All of this wasn't detailed in the yaml files - that's my fault. I pushed updates to both the base FP32 yaml and the DoReFa yaml with details on how to run it and the results I got. Please check those out.
Regarding your question on MaxPool - In general the answer is yes, you should replace MaxPool with something that does quant --> maxpool --> quant. Then you define a function that will create this new module and return it, and then add that function to the "replacement factory". Similar to what we do with ReLU in DorefaQuantizer.init():
https://github.com/NervanaSystems/distiller/blob/e65ec8fce890049fb421aa7d9d32cad5b075cd87/distiller/quantization/clipped_linear.py#L169-L177

Closing due to inactivity. Please reopen if needed.

@nzmora
@levzlotnik
@guyjacob
If my model is like a->b->c->d,->e, and I want to add some loss functions onto the outputs of three layers -> layer b, layer c, layer d,  this loss function can  be something like MSELoss(output_b - label_b, .etc..)and I hope that "b,c,d" can be configured in the yaml file. So how can I  implement this?

Hi @brisker ,
You could define "regularization" policies for these layers that will calculate the MSELoss for each of the layers.
Of course these aren't actually regularizations, but since the implementation would require you to apply the additional loss on each minibatch - the API for regularization policies is just the thing you need.
To add it - you create a new class that inherits from distiller.regularization.regularizer._Regularizer base class, and implement your details. Also insert it into distiller.regularization.__init__ imports so it's visible to compress_classifier.py. After that - you'll be able to use it from your yaml files.
Cheers,
Lev

@levzlotnik
Still  I do not know how to get the middle layers' outputs, before I add them into the loss functions. I generally know I can use hooks, but how to add hooks to particular layers according to the yaml file?

Hi @brisker ,
You can add a hook by getting the module itself from name:
modules_dict = dict(model.named_modules())
your_layer = modules_dict[your_layer_name]
your_layer.register_forward_hook(your_hook)

Where your_hook may be sending an output to your custom "regularizer".

@levzlotnik
I know the code should be like this , but I do not know how to involve the return values of hook functions into the model's total loss functions

@levzlotnik
I know the code should be like this , but I do not know how to involve the return values of hook functions into the model's total loss functions

@levzlotnik
I know the code should be like this , but I do not know how to involve the return values of hook functions into the model's total loss functions


Grid Tree data adapters are very limited

Right now tree mode is limited in what it can do (MNIST).
When data scientists specify a task, they don't specify what format the data must be in, just what the task should accomplish.  Whenever scientists propose an architecture, the specify the input shape, but they don't really specify what format a node has to have data in.
In the MNIST demo, we propose an architecture where first layer takes in 784 shape and outputs 10.
A node must have data in the directory data/mnist which is specified in the task.  However, the file format is completely arbitrary.  The demo uses .npz format, which is common for mnist, but what do we do for arbitrary tasks?
Does the data scientist provide an adapter as well as a spec around the data they are speculating on?

Seems like something Adapters should handle?  If not in the near-term, somewhere down the line.

@jvmancuso agreed - the next step for this project is probably just to require that the input data be in a matrix format (which the adapters spec is responsible for transforming it into). This would then let the Grid Tree specify arbitrary required numbers of input dimensions which should be quite flexible for many use cases.

(except for recurrent ones and RL ones)

I am a little wary adapters but maybe I have a wrong idea.
One problem is that we can't conceive of every way to map data so it's impossible for us to define an adapter for every case.  This leaves it up for either the task owner or the architecture owner to define the adapter, but that starts to open up more attack vectors to use grid in a malicious way.
In the case of images we can easily define what shape the image needs to be in to go into the model and cover all cases for that, but that will likely not work for other types of data -- maybe that's not true?
Requiring the nodes to format their own data makes running a grid node way more work so I don't like that idea either.

This leaves it up for either the task owner or the architecture owner to define the adapter

semi related -- right now it is unclear who's responsibility this should be.  Should the task owner define sample data and it is the nodes/arch owner's responsibility to match this data.  This seems like it will be required if the task owner is going to ultimately own validation.  However, it makes it harder for non-experts to define a problem.

I was thinking it'd be up to the task owner to provide the adapters and they would need to be posted on github or something and I'm not sure we need to worry about security risks in those cases because the code would be auditable. I'm not sure we need to worry about non-experts proposing tasks because can a non-expert really propose a task in a meaningful way? For example, I'm sure everyone on Kaggle providing competitions have experts on their side. I feel like the grid workers should have to do nothing though besides point the adapters to their data.

I think the security issues on this one can be solved by documentation and making sure people running grid workers understand the security risks of running just any old adapter.

I don't think I agree with what I've just said above. I think I made it sound way easier than this problem actually is.

I'm not sure we need to worry about non-experts proposing tasks because can a non-expert really propose a task in a meaningful way?

It does make sense to focus on data scientists who can define tasks in meaningful ways at first so i'm fine with that .. but devs who want a model but don't know data science well probably could define tasks ... "I want to be able to figure out what type of shoe is in a picture" and then they get some code they can plug into their iOS would be pretty powerful.

Yeah maybe once the network has grown there will be adaptors none experts can pick up and use. Like generic ones for just images.


intermittent RuntimeError:        Circular dependency detected while autoloading constant

https://gist.github.com/jasonfb/cc25f1677ccf6bbb2cb117eec394724f

these are intermittent when run locally. No idea where/why coming from. Note that I recently added:
•  wait_for_ajax was
• kill-switch for animations
to fix timing issues

phantomjs (<IP_ADDRESS>)
poltergeist (1.9.0)

As explained here http://stackoverflow.com/questions/25460756/circular-dependency-detected-while-autoloading-constant-when-loading-constant, I had an object that was namespaced outside of its base class objects
class OpenGraphImage < Spree::Image

refactored to
class Spree::OpenGraphImage < Spree::Image

Note this specific object naming is unique to my app of course. Leaving documentation here for others who may run across similar issue.
eliminated the issues.
SOLVED


Can't Authenticate anymore

Original issue 134 created by shaiament on 2012-01-16T15:21:59.000Z:
What steps will reproduce the problem?
1.SSH
What is the expected output? What do you see instead?
-bash-3.2$ ssh<EMAIL_ADDRESS>Verification code:
Password:
Verification code:
Password:
Verification code:
Password:
<EMAIL_ADDRESS>password:
Permission denied, please try again.
<EMAIL_ADDRESS>password:
Permission denied, please try again.
<EMAIL_ADDRESS>password:
Received disconnect from <IP_ADDRESS>: 2: Too many authentication failures for root
What version of the product are you using? On what operating system?
Latest, Centos 6
Please provide any additional information below.
I Get stuck in this loop. the machine won't authenticate me. i don't even receive error messages when i type. and then it only asks for password and even when the password is correct i get Premission denied.

This issue was moved to google/google-authenticator-libpam#39


Add default module to init for no-modules output mode.

Also checks if we are in a worker scope.
Related: #1559.

Thanks!


Modules

Pre-Processing

[ ] VAD
[ ] NoiseRemoval
[ ] AudioRouter to different modules depending on the audio quality (like RouteLLM)
[ ] #10

Main-Processing

[ ] Whisper
[ ] Implement different Whisper modules
[ ] Add Whisper word probability
[ ] ClientSideLoadBalancerModule (sending process to different server, which is free)

Post-Processing

[ ] Translation
[ ] Word prediction

https://github.com/facebookresearch/fairseq/tree/nllb


Error 422: Unprocessable entity when I send form data from JS script

Backend
from fastapi import FastAPI, File, Form, UploadFile, Request
from fastapi.middleware.cors import CORSMiddleware

app = FastAPI()

origins = ["http://<IP_ADDRESS>:5500"]
app.add_middleware(
    CORSMiddleware,
    allow_origins=origins,
    allow_credentials=True,
    allow_methods=["*"],
    allow_headers=["*"],
)

@app.post("/test")
def test(username: str = Form(...)):
    print(f"########### Received {username} #############")

Frontend
async function sendData() {
    formData = new FormData();
    formData.append('username', 'Kareem');
    const response = await fetch('http://<IP_ADDRESS>:8000/test', {
        method: 'POST',
        data: formData
    })
    console.log(response)

Response
Response {
body: (...)
bodyUsed: false
headers: Headers {}
ok: false
redirected: false
status: 422
statusText: "Unprocessable Entity"
type: "cors"
url: "http://<IP_ADDRESS>:8000/test"
__proto__: Response }

Description

The /test endpoint is simply supposed to recieve a form containing only username and print it out.
When I test the API using swagger docs it works fine as expected, but when I try to send form data from an external script it throws me this error and that response object above.

Environment

OS: Linux
FastAPI version: 0.61.1
Python version: 3.8.2

Try sending a request with a header.
const response = await fetch('http://<IP_ADDRESS>:8000/test', {
        method: 'POST',
        data: formData
        headers: {'content-type': 'multipart/form-data'}
    })

@ycd the error is now 400 Bad request

What is the error in the response?

@Mause
Response {
body: (...)
bodyUsed: false
headers: Headers {}
ok: false
redirected: false
status: 400
statusText: "Bad Request"
type: "cors"
url: "http://<IP_ADDRESS>:8000/test"
__proto__: Response }

Click on the three little dots next to body?

@Mause
Response {
body: ReadableStream
    locked: false
    __proto__: ReadableStream
bodyUsed: false
headers: Headers {}
ok: false
redirected: false
status: 400
statusText: "Bad Request"
type: "cors"
url: "http://<IP_ADDRESS>:8000/test"
__proto__: Response }

Try looking at the response in the network tab instead? That will probably be easier

@Mause detail: "There was an error parsing the body"

Is there an error in server logs?

Try sending a request with a header.
const response = await fetch('http://<IP_ADDRESS>:8000/test', {
        method: 'POST',
        data: formData,
        headers: {'content-type': 'multipart/form-data'}
    })

What about application/x-www-form-urlencoded?

@Mause Just INFO:     <IP_ADDRESS>:56596 - "POST /test HTTP/1.1" 400 Bad Request

Try sending a request with a header.
const response = await fetch('http://<IP_ADDRESS>:8000/test', {
        method: 'POST',
        data: formData,
        headers: {'content-type': 'multipart/form-data'}
    })

What about application/x-www-form-urlencoded?

@ycd back to 422 (Unprocessable Entity)

Usually 400 with multipart/form-data are due to the lack of python-multipart. Just to be sure, do you have it installed? :pleading_face:

@Kludex Yeah I do

Which version of python-multipart are you using?

@Mause 0.0.5

The request went through when using XMLHttpRequest. Closing this issue.

Thanks for the help here everyone! :clap: :bow:
Thanks for reporting back and closing the issue :+1:

Hello, I ran into the same issue, using fetch and XMLHttpRequest.
@kareemamrr Do you have any explanation what append at your end that caused that 422 error? I'm struggling with that since 2 weeks, without any progress.


Native methods on interfaces or interface delegation?

Hello, our Kotlin Multiplatform project is modularized, where one feature has at lest 2 gradle modules: an API module that contains the interfaces and data structures, and an Implementation  module that contains the implementation details for the API module.
Currently we are using Kotlin / Native wrappers akin to this:
class FlowWrapper<T>(
    private val scope: CoroutineScope,
    private val flow: Flow<T>,
) {
    init {
        freeze()
    }

    fun subscribe(
        onEach: (item: T) -> Unit,
        onThrow: (error: Throwable) -> Unit,
    ): Job = subscribe(onEach, onThrow, {})

    fun subscribe(
        onEach: (item: T) -> Unit,
        onThrow: (error: Throwable) -> Unit,
        onComplete: () -> Unit,
    ): Job = flow
        .onEach { onEach(it.freeze()) }
        .catch { onThrow(it.freeze()) }
        .onCompletion { onComplete() }
        .launchIn(scope)
        .freeze()
}

link
class GetTodoCountIos(
    private val getTodoCount: GetTodoCount
){

    fun invoke(): FlowWrapper<TodoCount> =
        FlowWrapper(
            scope = CoroutineScope(SupervisorJob() + Dispatchers.Main),
            flow = getTodoCount()
        )
}

Where GetTodoCount is an interface, and in swift this wrapper is used as getTodoCount:
link
getTodoCount.invoke().subscribe { count in
    if (count != nil){
        self.count = count as! TodoCount
    }
} onThrow: { KotlinThrowable in

}

Removing the wrapper
When trying this library out I was unable to use the interface abstraction on iOS. I removed the GetTodoCountIos wrapper and tried to use the interface directly:
link
let future = createPublisher(for: getTodoCount.invokeNative())

let cancellable = future.sink { completion in
    print("Received completion: \(completion)")
} receiveValue: { count in
    print("Received value: \(count)")
    if (count != nil){
        self.count = count as! TodoCount
    }
}

But it fails with the following error:
2022-02-04 08:31:38.374976+0100 KaMPKitiOS[1700:34628] -[Shared_kobjcc0 invokeNative]: unrecognized selector sent to instance 0x60000194d290
2022-02-04 08:31:38.419835+0100 KaMPKitiOS[1700:34628] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Shared_kobjcc0 invokeNative]: unrecognized selector sent to instance 0x60000194d290'

It does generate the correct native function, but the function crashes the app:
__attribute__((swift_name("GetTodoCount")))
@protocol SharedGetTodoCount
@required
- (id<SharedFlow>)invoke __attribute__((swift_name("invoke()")));
- (SharedKotlinUnit *(^(^)(SharedKotlinUnit *(^)(SharedTodoCount *, SharedKotlinUnit *), SharedKotlinUnit *(^)(NSError * _Nullable, SharedKotlinUnit *)))(void))invokeNative __attribute__((swift_name("invokeNative()")));
@end;

I'm not sure if this is caused by the fact that the interface does not know what the underlying implementation is or it is related to something else.
Light weight wrapper by interface delegation
Another solution I tried was using interface delegation, the wrapper is still written by hand but it's pretty concise and does not require updates when changing the interface:
link
class GetTodoCountIos(
    private val getTodoCount: GetTodoCount
) : GetTodoCount by getTodoCount

link
But it also fails, but with a different error:
Terminating app due to uncaught exception 'NSGenericException', reason: '[SharedGetTodoCountIos invokeNative] can't be overridden: it is final'

The generated header file:
__attribute__((objc_subclassing_restricted))
__attribute__((swift_name("GetTodoCountIos")))
@interface SharedGetTodoCountIos : SharedBase <SharedGetTodoCount>
- (instancetype)initWithGetTodoCount:(id<SharedGetTodoCount>)getTodoCount __attribute__((swift_name("init(getTodoCount:)"))) __attribute__((objc_designated_initializer));
- (id<SharedFlow>)invoke __attribute__((swift_name("invoke()")));
@end;

Maybe it would be possible to extend it using an extension function?
Normal wrapper
The only solution that did not crash was creating the wrapper and calling the methods on the interface:
link
class GetTodoCountIos(
    private val getTodoCount: GetTodoCount
){

    fun invoke(): Flow<TodoCount> = getTodoCount()
}

With the following header:
__attribute__((objc_subclassing_restricted))
__attribute__((swift_name("GetTodoCountIos")))
@interface SharedGetTodoCountIos : SharedBase
- (instancetype)initWithGetTodoCount:(id<SharedGetTodoCount>)getTodoCount __attribute__((swift_name("init(getTodoCount:)"))) __attribute__((objc_designated_initializer));
- (id<SharedFlow>)invoke __attribute__((swift_name("invoke()")));
- (SharedKotlinUnit *(^(^)(SharedKotlinUnit *(^)(SharedTodoCount *, SharedKotlinUnit *), SharedKotlinUnit *(^)(NSError * _Nullable, SharedKotlinUnit *)))(void))invokeNative __attribute__((swift_name("invokeNative()")));
@end;

However this also didn't work as expected, because the flow is never collected (onEach, onComplete never called).
The repository to reproduce this is available here:

using interface directly
using wrapper with property delefation
using a wrapper that just calls the underlying interface

Thanks for the detailed report!
Just a small update on what I found so far (having some trouble running the reproduction project on a MBP with M1):
I was able to reproduce the unrecognized selector error when the interface and the implementation are in separate modules. So far I wasn't able to reproduce this when both are in the same module.
Wasn't able to reproduce the can't be overridden error yet.
However the generated native functions/properties are marked as final so that probably explains the error.
The final modifier makes sense for classes but not so much for interfaces 🙃.
The normal wrapper solution should work once you store the cancellable.
Currently the cancellable will be deallocated at the end of onAppear which will immediately cancel the collection.

Alright it looks like the root cause is that generated functions/properties are marked as final, which isn't valid inside an interface. I am no longer able to reproduce the unrecognized selector error once the generated function is marked as open.
I am going to try and do some more testing with your reproduction project to verify all the scenarios 😄.

After updating some dependencies I was able to run the reproduction project and reproduce both errors.
I can confirm that both are caused by the final modality of the generated functions, once they are marked as open the errors disappear.
After that the only thing that's preventing the app from working correctly is the deallocation of the cancellable.
Was able to "fix" that with the following:
diff --git a/ios/KaMPKitiOS/AppDelegate.swift b/ios/KaMPKitiOS/AppDelegate.swift
index 2bcda2dbed96b74719c3bea86c024f458a2faf8b..213a5fe2f896fed028a4bac117ab08ec713194d5 100644
--- a/ios/KaMPKitiOS/AppDelegate.swift
+++ b/ios/KaMPKitiOS/AppDelegate.swift
@@ -91,6 +91,8 @@ struct TodosListView: View {
     }
 }

+var cancellable: AnyCancellable?
+
 struct CountView: View {

     private let getTodoCount = koin.get(objCClass: GetTodoCountIos.self) as! GetTodoCountIos
@@ -107,7 +109,7 @@ struct CountView: View {
             let future = createPublisher(for: getTodoCount.invokeNative())

             // Now use this future as you would any other
-            let cancellable = future.sink { completion in
+            cancellable = future.sink { completion in
                 print("Received completion: \(completion)")
             } receiveValue: { count in
                 print("Received value: \(count)")

Fix has been published in v0.11.2

Thanks for the quick response and fix!
You're right, after keeping a reference to the cancellable it works correctly (it shows that I'm an Android dev 😆)
I'll try the 0.11.2 version as soon as I can in our real project and let you know how that works out 😄

For small logic everything seems to be working in our real project. The issue arises when we use ensureNeverFrozen.
I have 2 follow up questions (not sure if this is the best place):

Does this generation cause the classes / interfaces to be frozen? We have some places where we call ensureNeverFrozen() and regardless of the dispatcher the app crashes with a FreezingException. Would you require an example to investigate this?
What would be the best way to define custom scopes / dispatchers in the Interfaces?

Global property (which I think will be a singleton for the whole app lifecycle)

val scope = CoroutineScope(SupervisorJob() + Dispatchers.Unconfined)

interface TestingCoroutinesDispatcher {

    @NativeCoroutineScope
    private val coroutineScope: CoroutineScope
        get() = scope

    suspend fun initialize()
}

or creating a new scope on every get
interface TestingCoroutinesDispatcher {

    @NativeCoroutineScope
    private val coroutineScope: CoroutineScope
        get() = CoroutineScope(SupervisorJob() + Dispatchers.Unconfined)

    suspend fun initialize()
}

or something else?

Does this generation cause the classes / interfaces to be frozen?

Yeah in the non -new-mm versions most objects (like the Flow itself) are being frozen.
Though if I am not mistaken this shouldn't freeze the class itself (unless the Flow captures a reference to it of course).

What would be the best way to define custom scopes / dispatchers in the Interfaces?

That depends on the reason why you need a custom scope 😁.
In case you need access to the Job for a specific class (like in the integration tests) than you could just use a fixed scope inside the class itself.
If however you want to use a different Dispatcher than a global property like in your first example is a great choice.
Just keep in mind that with the old memory model you should annotate it with @SharedImmutable.
This is exactly how the default CoroutineScope is implemented.
I can't really think of a scenario where you would need a different scope on each invocation.
Some more examples on how the CoroutineScope could be provided: https://github.com/rickclephas/KMP-NativeCoroutines/issues/34#issuecomment-1022935561


Cannot Long Press For a Duration

Hey there,
I want to set this up but as of current I need a long press in order to be able to perform an action. I need to be able to specify the press duration to be 2 seconds
2024-01-30_155812.zip

Hello? Anyone? Currently only long press exists but we need to handle a press with duration because we have a custom gesture!

Feel free to open a pull request for this feature

Aight. I'll take a look and see what I can do then


feat: Add support for encoded data to Value

Description of changes:
Add getEncodedBytes() to Value and all its child classes so values can be recreated after encryption.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Commits are showing up wrong, closing PR.


Register OTEL: Increase Batch Size to 25k and Send time to 1ms

The default register otel batch processor is to small queue size given usage patterns.
We need to move to:
otlp_processor = BatchSpanProcessor(
OTLPSpanExporter(endpoint=endpoint),
max_queue_size=25000, # Set queue size to 25,000 spans
schedule_delay_millis=1000 # Set export interval to 1 second (1000 milliseconds)
)
tracer_provider.add_span_processor(otlp_processor)
Reddit & BenchSci hitting problems:
Example tests
https://colab.research.google.com/drive/1CP-6VA4B6cEI2Ol20G99awEtJe8-Phpz?usp=sharing

Wrong repo, closing @harrisonchu


adjust windows install guide

On windows it wont work with just telegraf.exe & it provides an error if you run the test command.

Describe your proposed changes here.

[✅] Signed the InfluxData CLA
(if necessary)
[✅] Rebased/mergeable

Resolved with the workaround in #5086
@l3nnartt Thanks for catching this. I expect it to be fixed upstream in the Telegraf sample config.

thanks for testing & fixing!


add depthTestAgainstTerrain

Thanks for the fix, @PrasannaNatarajan!  Can you please send in a CLA so we can review this?
Fixes #4945.

@rahwang do you want to review this?

This looks good to me! Thanks, @PrasannaNatarajan !

Thanks @PrasannaNatarajan @rahwang!
@PrasannaNatarajan I'll also add you to CONTRIBUTORS.md.


Configuring flip functionality breaks the flipping

Hi,
Configuring flip using modifiers breaks the flipping functionality.
This is a blocker issue for us, I've made an example to see it in action.
https://stackblitz.com/edit/react-wp6kam?file=index.js
Thanks

Any updates on this issue?

So actually it's the way you configured the modifier that's wrong, you are telling the flip modifier that the allowed flip placements are top, right, and left, but you position it on bottom. So it gets confused.
I understand it's not a good behavior, but it's a Popper.js issue.
I hope this will get better once I release Popper.js@2


Fix ZSH autocompletion

Current plugin configuration raised (see #616):
_arguments:comparguments:325: can only be called from completion function

Arguments were indeed treated as outside of a function, as the main function was not wrapped inside compdef _cheat cheat.
Also, '(-)*: :->full' output the full list of arguments and their description without distinction like so:
...
  -t
  -T
  -v
  -- Colorize output
  -- List cheatsheet directories
  -- Edit <sheet>
  -- Write a default config file to stdout
  -- List cheatsheets
  -- Return only sheets found on path <name>
  -- Treat search <phrase> as a regex
...

With this argument removed, auto-completion work as expected with a single hyphen.

I think the '(-)*: :->full' is a right behavior.
if we remove this line, we cannot get completion about all cheat files...
you can see: https://github.com/cheat/cheat/issues/632


i want to replace dummygram logo with new neon color logo.

Description
dummygram logo rn is not looking good according to the gradient color button that we have on our website so if we add a new logo that has

neon color.
Screenshots
the new logo that I

want to place.
Additional information
No response

What do you think about light mode? would it work for light mode as well?

yeah! absolutely

great! you may proceed :)

Hey @mohitparmar1 are you working on this issue? If not then, can I take this up?

Hey @mohitparmar1 are you working on this issue? If not then, can I take this up?

You may go ahead

Sorry,I was busy. @Palakkgoyal you can work on this issue!

Okay. Thanks @mohitparmar1

Do you think any other changes could be done or required? @narayan954

Do you think any other changes could be done or required? @narayan954

that looks good already! :)


ins_and_access_cmap_s doesn't seem to do the same thing as ins_and_access_s

I'm pretty sure randomize(str.str, cstr_size(str)); shouldn't be commented out here, since the other benchmarks still have this line. Due to this, ins_and_access_cmap_s currently needs to do one less lookup than ins_and_access_s.
https://github.com/tylov/STC/blob/e7585be46ff8a7f37b57d944f90b401978db4e53/benchmarks/picobench/picobench_cmap.cpp#L208-L212
https://github.com/tylov/STC/blob/e7585be46ff8a7f37b57d944f90b401978db4e53/benchmarks/picobench/picobench_cmap.cpp#L190-L193

Yes, I think you are right. I don't think benchmark is very realistic though, from other tests I've done, tsl seems to be fastest, and cmap is actually almost equally fast with clang. On gcc, cmap is to be more in the middle. martinus robin_hood has actually gotten a little slower during last years changes, but its still very fast with strings.


TypeError: only integer scalar arrays can be converted to a scalar index

I executed the code and I get the following error

Training the classifier. Please wait 30 seconds.
Traceback (most recent call last):
  File "BotDetection.py", line 169, in <module>
    print("Train Accuracy: ", twitter_bot.get_accuracy_score(train_df))
  File "BotDetection.py", line 120, in get_accuracy_score
    (X_train, y_train, X_test, y_test) = twitter_bot.perform_train_test_split(df)
  File "BotDetection.py", line 25, in perform_train_test_split
    train, test = df[msk], df[~msk]
TypeError: only integer scalar arrays can be converted to a scalar index

Kindly help me rectify this error

@srinathvijay: what Python version you are using? do you have all dependencies? Just download the BotDetection.py file and run it. Try changing the encoding to 'ISO-8859-1' if you need to for both train_df and test_df. I wrote this code long time ago and just ran BotDetection.py out-of-the box and it did not give me error.

Let me know if you are still facing issues.


Object of type Response is not JSON serializable

As I was unable to create an OTP through the program, I manually generated the OTP and entered it. This is what I got -
Enter OTP: 903571
Validating OTP..
Object of type Response is not JSON serializable
Exiting Script

take latest version , it has this fixed.

please  use the latest version


[Planning] what is the difference between PIECEWISE_JERK_SPEED_OPTIMIZER and PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER

As I see in lane_follow_config, there are two tasks  PIECEWISE_JERK_SPEED_OPTIMIZER and PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER. It seems that they both use QP to smooth the st path,what is the difference between them?

PIECEWISE_JERK_SPEED_OPTIMIZER is formulated as a QP problem.
PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER is formulated as a NLP(non linear program) problem since it considered the smoothness of Centripetal Acceleration （it a non linear objective function）meanwhile. You can refer to code or this paper for more details.
Zhang, Yajia, et al. "Optimal Trajectory Generation for Autonomous Vehicles Under Centripetal Acceleration Constraints for In-lane Driving Scenarios." 2019 IEEE Intelligent Transportation Systems Conference (ITSC). IEEE, 2019.

@zerolover ,thanks. I have another question. Before using NLP optimize, it uses QP optimize to smooth the curvature first.But I think curvature is related with path geometry, and path point does not change. So what is the reason? here is the code

You can read the paper first. In short, the NLP required the kappa should be differentiable, so the code here is to compute a curve "kappa(s)" which has constant jerk (you can also use other algothrim to fit the curve).

@zerolover ,But the path from PIECEWISE_JERK_PATH_OPTIMIZER has been smoothed, so the curvature should be differentiable.Here smoothing again is for redundancy?

We want to get kappa(s), a close form and smooth curve, hence we can get the 1st and 2nd derivative of kappa.
See piecewise_jerk_speed_nonlinear_ipopt_interface.cc

@zerolover thanks, you really help me a lot.
Another question,do you know why they use soft safety bounds? The paper did not mention that. they add two slack variables to state variable
and give them variable bounds:
lower_s_slack[i]>=0
upper_s_slack[i]>=0
the objection function is:
f=lower_s_slack[i]*w_soft_bounds_+upper_s_slack[i]*w_soft_bounds_
and add some constraints:
s[i] - soft_lower_s[i] + lower_slack[i] >= 0.0
s[i] - soft_upper_s[i] - upper_slack[i] <= 0.0
I think it is equal to
s[i] - soft_lower_s[i]>=0
s[i] - soft_upper_s[i] <=0
why not add s bounds directly like:
s[i]>=soft_lower_s[i]
s[i]<=soft_upper_s[i]

s[i] - soft_lower_s[i] + lower_slack[i] >= 0.0
s[i] - soft_upper_s[i] - upper_slack[i] <= 0.0
These are two soft constraits on s[i], which means it is possible that s[i] < soft_lower_s[i] or s[i] > soft_upper_s[i], if the slack variable lower_slack[i] or upper_slack[i] is positive enough. However, this would be punished by the cost function.
It expects s[i] to be within the range between soft_lower_s[i] and soft_upper_s[i], but it's ok to go beyond that if necessary.

@LiJiangnanBit , I understand it, soft constraints means a buffer.
thanks a lot

@zerolover
Could you please send me pdf of the paper <>, can not find one on internet. My email is<EMAIL_ADDRESS>Thanks a lot

@lucianzhong use sci-hub to search the paper :)

@zerolover
Got it. Thanks a lot

@zerolover ,But the path from PIECEWISE_JERK_PATH_OPTIMIZER has been smoothed, so the curvature should be differentiable.Here smoothing again is for redundancy?
path is using piecewise to generate so dkappa is 0,so use piecewise to fit  not smoothed just fit。


[bug] How to use RegisterDragDrop on windows with tauri?

Describe the bug
Currently, I'm trying to implement my own file drag drop system for my app, since the inbuilt tauri one doesn't include any drop effect data. Calling RegisterDragDrop at the moment though is clearly working, just not as expected.
Reproduction
If I drag a file over the title bar of the window, then it works and events are picked up, but if I drag it over the actual content of the window, no events are received.
Expected behavior
What I expected would happen is that file dragging would work for both the title bar and actual content of the window.
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 120.0.2210.91
    ✔ MSVC:
        - Visual Studio Build Tools 2019
        - Visual Studio Community 2022
    ✔ rustc: 1.76.0-nightly (37b2813a7 2023-11-24)
    ✔ cargo: 1.76.0-nightly (71cd3a926 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 21.5.0
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 1.5.2
    - tauri-build [RUST]: 1.5.0
    - wry [RUST]: 0.24.5
    - tao [RUST]: 0.16.2
    - tauri-cli [RUST]: 1.5.6
    - @tauri-apps/api [NPM]: 1.3.0 (outdated, latest: 1.5.3)
    - @tauri-apps/cli [NPM]: 1.5.6 (outdated, latest: 1.5.9)

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:5173/
    - framework: React
    - bundler: Vite

Stack trace
No response
Additional context
I'm only guessing, but I'm not sure if webview2 does something weird like overlaying it's own window on the window created by tauri. It seems according to this page, that webview2 hosts can use a windowed or visual hosting approach, and I don't really understand it, but I assume tauri uses the visual approach, otherwise my file drag and drop should work fine.
I am also calling .disable_file_drop_handler() on the window builder, and running the code below to disable inbuilt file drop handlers from both tauri and webview2 to ensure no interference with my app's custom implementation.
window
  .with_webview(|webview| {
      let controller: ICoreWebView2Controller4 = std::mem::transmute(
          webview.controller()
      );

      controller
          .SetAllowExternalDrop(false)
          .expect("Failed to set allow external drop");
  })
  .expect("Failed to remove inbuilt webview2 drag drop handler");

Did you compare your own work with tauri's implementation https://github.com/tauri-apps/wry/blob/dev/src/webview2/file_drop.rs?

but I assume tauri uses the visual approach, otherwise my file drag and drop should work fine.

Tauri uses the windowed approach which is why tauri's file drop handler conflicts with html5 drag and drop, see https://github.com/tauri-apps/wry/issues/904 and the linked issues in there.

Nothing we can do unfortunately, webview2 is a windowed control so you also need to register drag-n-drop on it as well.


Bezier-rs: Add iframes to rustdoc

Add iframes containing the UI demos to the bezier-rs rustdocs

LGTM. One small nit I have would be removing the function name from the iframe but I don't think it's mandatory.

The title attribute?

It looks like because we don't set a background on our page, the default in the rust docs dark mode is difficult to read. I also agree with @Androxium that we could remove the title from within the iframe. If we do that, we should probably move the tvariant selector to be under the visualizations so it doesn't look like a title itself

The title attribute is just for screen readers. It isn't rendered on the page. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#accessibility_concerns

No, I think @Androxium and I are referring to removing the div that says the name of the visualization (e.g. "Length"), since it already says it in the function definition of the rustdocs

Gotcha, that's fine to remove if you wish.

I already removed the div with the title in this PR. The screenshot still has the title because the iframe displays the the live site which doesn't have the change yet.
I'll add a white background shortly.

I'll be sure to deploy as soon as this is merged so you can get the updates to the hosted page.


Rename "tracker.js" to avoid it being picked up by adblockers

Hello,
Firstly let me thank you for the great work with Ackee. I was looking for simple, self-hosted analytics, and it works perfectly for my usecase.
I had a small problem with the script tracker.js, because of the name, it is picked up by adblocker filters. Maybe it makes sense to rename it to ackee.js or something along those lines.
Cheers!

Naming it tracker.js wasn't clever 😃 ackee.js might work for now, but I'm sure it will be blocked someday, too.
I will add an option to change the name of the script. This way everyone can pick a custom name to avoid that the script will be blocked.
Tip: You can also use ackee-tracker as a module. This way you don't need to request a script that could be blocked.

Oh, I wasn't aware of the ackee-tracker, good stuff. Allowing user to select the name is the perfect solution.
Btw I ended up using ack as the subdomain for ackee. Started with analytics subodomain but it got blocked instantly 😄

@electerious I think this issue can be closed, since it is available in v1.4.0.

Yes. It's now part of v1.4: https://github.com/electerious/Ackee#tracker


. /install gives the error go: cannot find GOROOT directory: /usr/local/go

Describe the bug
To Reproduce
Hi, I'm having a bit of trouble installing reconftw, it says it can't find the /usr/local/go path because my go path is in /usr/bin/go, I tried to move go to the /usr/ I tried to move go to /usr/local and change the GOROOT environment variable, but it failed, it still says go: cannot find GOROOT directory: /usr/local/go
I also tried to change the GOROOT path in the reconftw.cfg file, but maybe I made a mistake and the installation didn't work, I hope you can help me solve this problem and provide a working statement, I would be grateful!
Expected behavior
I want to be able to install the dependencies properly and without errors
Screenshots

Desktop (please complete the following information):

Architecture: [AMD64]
OS: Kali
Version 2022.4
golang1.20.2

same.
install.sh append the Go ENV into .zshrc which already contain the Go ENV and throw the error(go: cannot find GOROOT directory: /usr/local/go) while installing.
Architecture: ARM M1
OS:Mac
Version: Golang 1.20.2

To detect if golang is installed the next validation is performed type go | grep -o 'go is' if it's true the installer doesn't perform the Golang installation, otherwise it installs it. If you don't want installer performs Golang installation, you can change the following line on reconftw.cfg:
https://github.com/six2dez/reconftw/blob/0647612b58c0ab780f872e937ba419a7aa8b10c8/reconftw.cfg#L15


Getting mmap: invalid argument error for 2.19.0 version

getting following error with prometheus 2.19.0 version.
level=error ts=2020-06-26T09:51:32.496Z caller=main.go:758 err="opening storage failed: mmap files, file: /prometheus/data/chunks_head/000108: mmap: invalid argument
following is the arguments

        --web.external-url=https://prometheus-dev-kc1-iad.saase2e.pitneycloud.com
      - '--config.file=/etc/prometheus/prometheus.yml'
      - '--storage.tsdb.path=/prometheus/data'
      - '--storage.tsdb.retention.time=30d'
      - '--web.enable-lifecycle'
      - '--storage.tsdb.no-lockfile'
      - '--log.level=warn'

What operating system and filesystem are you using? What does strace say is happening?

--storage.tsdb.no-lockfile

This is a dangerous flag that you should not use.

@brian-brazil @rajanikantpatel I experienced a similar problem today in 2.19.1.
Issue was very similar to this: https://github.com/prometheus/prometheus/issues/7412
I think the bugfix isn't working as we had an empty chunk file that basically needed to be removed and my understanding is the fix in the above issue removes those loose chunk files.
After removing the file in question that the error is complaining about, things started up as normal.

@brian-brazil @rajanikantpatel I experienced a similar problem today in 2.19.1.
Issue was very similar to this: #7412
I think the bugfix isn't working as we had an empty chunk file that basically needed to be removed and my understanding is the fix in the above issue removes those loose chunk files.
After removing the file in question that the error is complaining about, things started up as normal.

Thanks, sounds like a different issue. Can you please open a new bug please?

we had an empty chunk file

0 bytes? There can be 0 chunks, but 0 bytes in a file seems unlikely as we write headers as soon as we create a file.
But checking the mmap: invalid argument error from this issue description, that (also) comes when we try to m-map a completely empty file, so I think somewhere we are ending up creating empty files (even without headers). I will check that.

@rajanikantpatel did the Prometheus shutdown gracefully when you restarted?

@codesome @roidelapluie I'll wait until it's been confirmed before opening this. As the error is the exact same.
In my case, I just needed to remove the chunks_head file being references and it was completely empty.
In our case, it's plausible we have an ungraceful shutdown (It was a k8s pod, so I couldn't get the logs from the original crash)

When we cut a new file, we open a new file and then write the headers to it. Which means if Prometheus crashes right after we create the file, we could end up with an empty file. We should either ignore the empty files, or write the header to tmp file and then mv.

we still see this issue all the time and using 2.22.0. Also datas are cleaned like 100x times but still its driving me crazy all the time.

Can you please raise a new issue with your details ? (logs, system, filesystem, etc)

Has been fixed with https://github.com/prometheus/prometheus/pull/8061.


[Bug]: Proxy Not working

This issue respects the following points:

[X] This is a bug, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
[X] This issue is not already reported on GitHub (I've searched it).
[X] I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
[X] I agree to follow OpenBullet's Code of Conduct.
[X] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug
After Upgrading to the latest openbullet 2 proxy is not working.
Reproduction steps

Started Ob 2. Imported Proxies 3. Checked Proxies 4. Proxies not working

What is the current bug behavior?
Not a single proxy working, i have checked the proxies its working
What is the expected correct behavior?
Work Proxies Properly
Version of the client
0.3.2
Type of client
Native client
Environment
- OS: Windows 10
- Virtualization: Enabled
- Browser: Firefox

OpenBullet2 logs
Empty Logs

Client / Browser logs
No response
Relevant screenshots or videos

Relevant LoliCode if needed
No response
Additional information
No response

Are you sure you imported them with the correct type?
Do they use credentials?
What service are the proxies from? Or are they free proxies?
Have you tested that they work with a separate tool? Which one? Did you test from the same machine and same IP as OB2?
Which version of OB2 were you using before when it was working?

If you don't import the proxy in this format IP:PORT
, it won't work.

I have been having the same problem. Got a workaround for it, delete the job to check proxies in the jobs tab and make a new one and check your proxies. It worked for me hope it does for you

I have been having the same problem. Got a workaround for it, delete the job to check proxies in the jobs tab and make a new one and check your proxies. It worked for me hope it does for you

if you make a new job to check proxies and the target website is google remove title> in the success key window. hope it works

same problem with web client, checking IP:PORT all dead, checking in another site, a lot alive

when i try with duckduckgo.com its working but when i do with google.com its shows proxy not working

when i try with duckduckgo.com its working but when i do with google.com its shows proxy not working

Then it means google is blocking the proxy, it's not an OB2 issue.


Repro: Cannot find module 'quirrel/vercel'

A Quirrel users is facing Cannot find module 'quirrel/vercel' when deploying to Vercel. I was able to track it down to being caused by nft not picking up the dependency, this PR adds a reproduction test for the behaviour.
Curious for your thoughts on this - is this an nft error, or should Quirrel change what files it publishes?

@Skn0tt you need to include the .cjs or .mjs file extension for that subpath require to work in Node.js. Alternatively you can define exports with the "exports" field.

Thank you! Fixed the issue by publishing .js files in addition to .cjs.


Game fails to start when on 1.21

I have the correct API, fabric 1.21 and java 21. Game starts fine without seedcracker, but when i put it into the mods folder and try to start the game, it gives me error code 1 (Something went wrong)

Have you tried the pre-release build?
I've been able to load in and crack a seed.

Haven't, ill try it out. Thanks for the reply

World generation gets stuck at 100% with the pre-release build.

That's weird. I can load into both sp and mp.
Can you share your log file?

I tried replicating it and now it works. I guess the last time was just a fluke


Adding some selected MS OIDs for #19630

Adding some selected MS OIDs for #19630. I also added the alias ms-corp for the OID <IP_ADDRESS>.4.1.311. Hopefully changed all occurrences for that.
Checklist

documentation does not apply: registering some OIDs
[] tests are added or updated - I did not found any related tests

legal notice
Unfortunately i have to add this information:
Dragan Zuvic<EMAIL_ADDRESS>on behalf of Mercedes-Benz Tech Innovation GmbH
https://github.com/mercedes-benz/mercedes-benz-foss/blob/master/PROVIDER_INFORMATION.md

Did you run "make update"? The "check_update" CI job is failing.

Did you run "make update"? The "check_update" CI job is failing.

Indeed, i was not aware of that. Currently running tests locally. Thank you for pointing that out.

I did sent second regular CCLA from our current CEO and received a positive answer on 22nd May 2022. But i accidentally used a different email address for my last git commit. That email stated, i have to close the PR and reopen it. Should i do that?

Ah, OK. Then please recreate the commit with the e-mail that was submitted on the CLA and force-push.

Changing the email of a commit: https://www.git-tower.com/learn/git/faq/change-author-name-email

This pull request is ready to merge

Merged to master. Thank you.


bosh create-env --state=~/some/path treats ~ literally

I recently ran bosh create-env with an argument for the manifest path and a bunch of flags with paths for ops files, vars store, and state file.  All my paths for all these args/flags started with ~ and the command did the right thing, except for --state=~/envs/pipernet/state.json.  It created a directory literally called ~ in my current working directory, with an envs subdirectory, and pipernet subdirectory of that.  I could see someone thinking that's not right, and trying to clean it up with rm -rf ~, which might be bad news.  Seems like --state parameter should expand ~ just like the others.
$ bosh --version
version 3.0.1-712bfd7-2018-03-13T23:26:42Z

Ok, thanks, will try that going forward.


Enable "Always suggest updating pull request branches" and "merge queue"

It has happened multiple times that old PRs have been merged, breaking the main branch's build. Perhaps it's better for us to enable "Always suggest updating pull request branches" and "merge queue" to avoid this.

INFRA ticket created: https://issues.apache.org/jira/browse/INFRA-26205


feat: user management - ui/ux improvements

PR Type

[*] Feature
What Is the New Behavior?
style improvements for detail & list page

If running as standalone project the login page has to be adapted concerning

styling
links in the upper left corner should not always be visible
forgot password link isn`t working
...


GMC: add UT for reconcile filters

Description

add UT for reconcile filters
in order to do the UT, extract the filter out of SetupWithManager

Issues
n/a.
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)

Dependencies
n/a.
Tests
CI/CD covers the regression tests
controller coverage increased
ok      github.com/opea-project/GenAIInfra/microservices-connector/internal/controller  22.452s coverage: 78.2% of statements

Do we have explanation of this CI test failure: https://github.com/opea-project/GenAIInfra/actions/runs/10697764146/job/29655792762


How can read the DXF and draw the shapes and display using dot net, I tried below code Please suggest and help us

private async void button1_Click(object sender, System.EventArgs e)
{
if (openFileDialog1.ShowDialog(this) != DialogResult.OK) return;
if (openFileDialog1.FileName != null)
{
DxfDocument loaded = DxfDocument.Load(openFileDialog1.FileName);
int counter = 1;
foreach (netDxf.Entities.Image image in loaded.Images)
{
DxfDocument doc = new DxfDocument();
netDxf.Entities.Image copy = (netDxf.Entities.Image)image.Clone();
doc.AddEntity(copy);
string fileName = string.Format("Image{0}.dxf", counter++);
doc.Save(fileName);
// load file
doc = DxfDocument.Load(fileName);
doc.DrawingVariables.AcadVer = DxfVersion.AutoCad2010;
}
}

netDxf do not provide any kind of functionality to display the contents of the a DXF, you will need to code it yourself. You could have different options are your disposal, you could use the API the NET Framework supply, OpenTk for OpenGL, or , SlimDX for DirectX programming, this last one seems not very well supported kinda abandoned. If you want a more high level engine, you also have your options Godot, NeoAxis, or even Unity.
There are others just search a little bit, you have many options, you could even use C++. This question is too broad.

netDxf do not provide any kind of functionality to display the contents of the a DXF, you will need to code it yourself. You could have different options are your disposal, you could use the API the NET Framework supply, OpenTk for OpenGL, or , SlimDX for DirectX programming, this last one seems not very well supported kinda abandoned. If you want a more high level engine, you also have your options Godot, NeoAxis, or even Unity.
There are others just search a little bit, you have many options, you could even use C++. This question is too broad.

netDxf do not provide any kind of functionality to display the contents of the a DXF, you will need to code it yourself. You could have different options are your disposal, you could use the API the NET Framework supply, OpenTk for OpenGL, or , SlimDX for DirectX programming, this last one seems not very well supported kinda abandoned. If you want a more high level engine, you also have your options Godot, NeoAxis, or even Unity.
There are others just search a little bit, you have many options, you could even use C++. This question is too broad.

netDxf do not provide any kind of functionality to display the contents of the a DXF, you will need to code it yourself. You could have different options are your disposal, you could use the API the NET Framework supply, OpenTk for OpenGL, or , SlimDX for DirectX programming, this last one seems not very well supported kinda abandoned. If you want a more high level engine, you also have your options Godot, NeoAxis, or even Unity.
There are others just search a little bit, you have many options, you could even use C++. This question is too broad.


Fix Docker Image

The docker image failed to deploy again. Figure out why it is failing and fix it.
Maybe document how to check the image locally as well.

Image had a hiccup, loading fine now.


opencv_contrib_python

"ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement opencv_contrib_python==<IP_ADDRESS> (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for opencv_contrib_python==<IP_ADDRESS>"
What version should I change to?

I have got the same error but it doensn't finish there, if you try to install manually all the other libraries it just won't work... the requirement.txt file maybe needs some slight modification.. I couldn't even solve it using conda as suggested in the repo :(

Thankj you :( I hope they can find a way to fix it

Try  opencv-contrib-python==<IP_ADDRESS> ?

#Updated: I add some modifications to the requirement.txt file but there maybe something wrong with the subprocess, in which I can't figure out the reason: " note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details."

i got this error when i am using python 3.10, downgrade python to 3.8 solve this problem

I edited requirements.txt or enviromnent.yaml if you wish to solve this issue.
Just replace opencv_contrib_python==<IP_ADDRESS> with opencv_contrib_python. Pip installs proper  version without conflicts by itself.


Split assembly search paths in two halves

The rationale is to enable reproducible builds by cancelling assembly resolution
sources that are not usually controlled by the project to build.
In particular, I find the OutDir to be a highly unexpected source. It's nice as a gauge of developer competency, but down on earth, it's not really helpful in a reproducible build setting, especially if MSBuild is not the only such tool.
This is actually more of a feature than a pull request since I did not  test it but I trust that you won't allow changes in that file which didn't pass a number of eyes and robots.

I guess I don't need to break it but this would be a good countermeasure for a number of bugs, e.g. #173 and related, at least for those who keep their house in order.

Team Triage: @simonthum this is an interesting pull request but it has widespread ramifications. Can you please open an issue explaining your rationale so we can discuss the change?
Thanks!
MSBuild Team


WIP: 2.13 Remove collections

This is an approach to a 2.13 migration by removing all dependencies internally on collections.

Headers was completely successful.
I've started Query and we seem to have nothing but insane interactions.

Probably too breaking of a change, but would it be simpler to eliminate Headers as a class, have a Chain[Header] on Message, and put the header manipulation functions on Message?  I wonder how hard that would ripple in practice.  Probably very.
I'm okay with the direction.  I concede it should no longer be a standard library collection.

Where are we between this and #2471?

Aggressively behind.
Moving has hit my time hard. (Unsurprisingly).
Trying to figure out a strategy to get all the necessary components in place, but I'm not sure I have a rock solid strategy to get us all the way there.

I guess my question is more in terms of what's the status of this PR, given that part of it was split off?  Are we going to continue to work here?
I could probably take a chunk or two of work, but I'm not sure what the chunks are.

Well the forked bit can be merged back in, I think figuring out the query component is the next big task.

Forked bit being #2471?

Roger that.

Incorporated back into #2393.


Shouldn't there be a way to pass in a specified Uglify version?

I've had an unpleasant issue where the current version of Uglify#harmony (3.0.27) minimizes my code fine, but the version inside this plugin (2.8.29) barfs. Paradoxically the only way I can figure out to fix this is to "downgrade" to the uglifyjs-webpack-plugin2 plugin (since it gets uglify via peer dependency).
Am I missing some obvious undocumented way to handle this? If not, would it not make sense to accept an optional passed-in library that overrides the embedded uglify dependency, like:
var newestUglify = require('uglify-js')
var plugins = [
	new UglifyPlugin({
		uglify: newestUglify,
	})
]

or some such?
Thanks!

use the latest uglifyjs-webpack-plugin beta, it depeds on uglify-es 3

npm i -D uglifyjs-webpack-plugin@beta (uglify-es)

Thanks! Maybe worth mentioning in the readme or similar.


[Event Request] Table 99000771 - OnBeforeAssistEdit

In table 99000771 Production BOM Header, function AssistEdit, we sometimes need to replace the standard "SelectSeries" procedure with our own one.
Therefore, please add the following event OnBeforeAssistEdit, using new local boolean variables

SeriesSelected
IsHandled:

WITH ProdBOMHeader DO BEGIN
  ProdBOMHeader := Rec;

  // >> ---------------- NEW
  IsHandled := FALSE;
  OnBeforeAsistEdit(VAR Rec,OldProdBOMHeader,VAR SeriesSelected,VAR IsHandled);
  IF IsHandled THEN
    EXIT(SeriesSelected);
  // <<  ---------------- NEW

  MfgSetup.GET;
  MfgSetup.TESTFIELD("Production BOM Nos.");
  IF NoSeriesMgt.SelectSeries(MfgSetup."Production BOM Nos.",OldProdBOMHeader."No. Series","No. Series") THEN BEGIN
    NoSeriesMgt.SetSeries("No.");
    Rec := ProdBOMHeader;
    EXIT(TRUE);
  END;
END;

Please also note that

this request differs from e.g. #2618 by using variable SeriesSelected, as we also need to exit FALSE if the user cancelled the selection page
it is vital that the first parameter is VAR.

Note: implemented as OnBeforeAsistEdit (one "s" is missing)
LOCAL [IntegrationEvent] OnBeforeAsistEdit(VAR ProductionBOMHeader : Record "Production BOM Header";OldProductionBOMHeader : Record "Production BOM Header";VAR SeriesSelected : Boolean;VAR IsHandled : Boolean)


Improve Background Image Clarity to Avoid Overlap with Game Board

Issue: The current background image overlaps with the Tic-Tac-Toe playing board, making it difficult for players to distinguish between the game elements and the background. This overlap creates visual confusion, affecting the overall user experience.
Proposed Solution:
Modify the background image or adjust the opacity of the board so that the game elements (X's, O's, and grid) are more distinguishable.
Explore options such as blurring the background, changing the contrast, or adding a semi-transparent layer behind the board to enhance clarity.
Request: Kindly assign this issue to me, and if possible, please add the Hacktoberfest label so it can be counted as a valid contribution towards the event.

Issue: The current background image overlaps with the Tic-Tac-Toe playing board, making it difficult for players to distinguish between the game elements and the background. This overlap creates visual confusion, affecting the overall user experience.

Proposed Solution:
Modify the background image or adjust the opacity of the board so that the game elements (X's, O's, and grid) are more distinguishable.
Explore options such as blurring the background, changing the contrast, or adding a semi-transparent layer behind the board to enhance clarity.
Request: Kindly assign this issue to me, and if possible, please add the Hacktoberfest label so it can be counted as a valid contribution towards the event.


Fix tree-shaking

We currently have a bug where tree-shaking for vite (and probably webpack) is not working as intended.
We first discovered this issue with new Accordion using @u-elements/details being tree-shaked away and be broken.
This looked to be fixed by removing  sideEffect:false, but that only disabled tree-shaking so that all components and its dependencies was bundled along.
We need to further investigate and test remedies to this.
### Tasks
- [ ] https://github.com/digdir/designsystemet/issues/2474
- [ ] https://github.com/digdir/designsystemet/issues/2477

Notes

Dicussions in #2469

Notes:
With "sideEffects": false:

Without"sideEffects": false:

With sideEffect:false:

Without:

Tested with next.34 and its now working as intended.


Doubled compiler stack size (to help avoid intermittent SOE in patmat)

Thanks, I hope this helps. We've been restarting easily 10+ jobs per day.


[mgmt] devcenter release

https://github.com/Azure/sdk-release-request/issues/4641

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-devcenter


Audio won't load/play on iOS

On iOS, the loading spinner just spins continuously and the audio can never be played. It works fine on Windows in multiple browsers, but on iOS it never loads using either Safari or Chrome browser.

I'm having the same issue on windows

I have noticed this issue when the URL of the audio is broken. Could you please confirm if thats the scenario here?

Yes, I got it working. The url was the issue
On Tue, Jul 2, 2019, 10:15 PM Vijayendra Mudigal<EMAIL_ADDRESS>wrote:

I have noticed this issue when the URL of the audio is broken. Could you
please confirm if thats the scenario here?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vmudigal/ngx-audio-player/issues/7?email_source=notifications&email_token=AFFRTZQW2BHLCNAZNJ4PVM3P5QDTXA5CNFSM4HYXIKC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZDBUNI#issuecomment-507910709,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFFRTZSF7WJCEIM3NKBHLOTP5QDTXANCNFSM4HYXIKCQ
.

@vmudigal - This issue is happening in all iPhones. Both simulator as well as real devices. I also doubted that it could be due to a broken URL, but even in the working demo provided in the documentation, the basic player keeps on loading.

Now the play button doesn't show on the example when using an iPhone. Has anyone solved this? I am using it on my site but if it doesn't work on iPhone I need to find an alternative.

@vmudigal It's only the basic audio player. The advanced one is fine. Maybe the problem is in the difference between the two.


unexpected tensor: projection.weight

Has anyone run into this before??
FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(path, map_location='cpu')
unexpected tensor: projection.weight

you mean the error of unexpected tensor: projection.weight?

yea, it has been an warning since the last update

If you use model_init parameter to initialize the model, then only initialize the backbone model, not the projection related parameters.  Then, if you want to continue training from the checkpoint, then you need to use checkpoint parameter to initialize the model.
please see: https://github.com/wenet-e2e/wespeaker/blob/4fdc23aad510bae818fb046fd8f9ae262d6efc5e/wespeaker/bin/train.py#L124-L166

i am not doing any training, the warning comes up when i initialized the model:
wespeaker.load_model('english')
i am not sure what the problem is.
system ubuntu 22.02 python 3.10 GPU RTX4090

i am not doing any training, the warning comes up whenever i initialize the model: wespeaker.load_model('english') i am not sure what the problem is. system ubuntu 22.02 python 3.10 GPU RTX4090

In the inference stage, the projection parameters are not used, so they can be ignored.

Close as it was explained.
This warning doesn't affect the inference.


mysql table information

The database and related table information were not found

Here: https://github.com/netless-io/flat-server/tree/main/src/model

You can change here: https://github.com/netless-io/flat-server/blob/254f2345daaa6a22f00d9df1bdb43a97c669c217/src/thirdPartyService/TypeORMService.ts#L50
add synchronize: true. See:


Display prices by departments

Using python script, extract average prices per department (2 first digits of the postcode) an fuel type into metrics
On website, display a Map view with prices, using a library such as plotly.js (see this example)

Must follow https://leafletjs.com/examples/choropleth/ and mention https://github.com/gregoiredavid/france-geojson


[check] build failure during linking

It seems the check port requires some symbols that are not linked in, and should be either be provided as dependency, or not used on Windows.
Host Environment

OS: Windows
Compiler: msvc 14.22.27905

To Reproduce
Steps to reproduce the behavior, compile a library against libcheck, and it will fail at the linking stage. In my case I used libSBML.
./vcpkg build libsbml[check]
Failure logs
check.lib(check_run.c.obj) : error LNK2019: unresolved external symbol _clock_gettime referenced in function _tcase_run_tfun_nofork
check.lib(check_log.c.obj) : error LNK2001: unresolved external symbol _clock_gettime
check.lib(check_log.c.obj) : error LNK2019: unresolved external symbol _gettimeofday referenced in function _xml_lfun
check.lib(check_log.c.obj) : error LNK2019: unresolved external symbol _localtime_r referenced in function _xml_lfun

It seems that functions clock_gettime/gettimeofday/localtime_r only support linux, and we should not build the test project.

Since these functions clock_gettime/gettimeofday/localtime_r only support linux. You need to link compat.lib  on windows.
Would you be able to create a PR to add this port? We'll add it if you don't have enough time.
Thanks.

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


Failed to execute 'drawImage' on 'CanvasRenderingContext2D'

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?
skywalking 5.0.0.RC   Centos6.9

Which company or project?

What happen?
In "Application" tab, sometimes it will hit following error. It will cause the "appliation map" can't  be scaling, and when change to another app the application map can't be changed. This issue will happened occasionally.

error:
1.df947761.async.js:1 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state.
at j.r.safeDrawImage (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1499607)
at j.r.drawInscribedImage (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1501277)
at F (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1507558)
at j.i.drawNode (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1508714)
at j.i.drawElement (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1494518)
at u.c.getElement (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1484648)
at j.i.drawCachedElement (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1494707)
at j.i.drawCachedElements (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1495008)
at j.i.drawLayeredElements (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1495365)
at j.r.render (http://skywalking.corp.tujia.com/1.df947761.async.js:1:1515104)
api:
/api/application
request:
{"variables":{"duration":{"start":"2018-10-31 1807","end":"2018-10-31 1822","step":"MINUTE"},"applicationId":"-1"},"query":"      query Application($applicationId: ID!, $duration: Duration!) {        getSlowService(applicationId: $applicationId, duration: $duration, topN: 10) {          service {            key: id            label: name            applicationId            applicationName          }          value: avgResponseTime        }        getServerThroughput(applicationId: $applicationId, duration: $duration, topN: 999999) {          key: id          osName          host          pid          ipv4          value: cpm        }        getApplicationTopology(applicationId: $applicationId, duration: $duration) {          nodes {            id            name            type            ... on ApplicationNode {              sla              cpm              avgResponseTime              apdex              isAlarm              numOfServer              numOfServerAlarm              numOfServiceAlarm            }          }          calls {            source            target            isAlert            callType            cpm            avgResponseTime          }        }      }    "}
response:
{"data":{"getSlowService":[{"service":{"key":"12","label":"/bingo/app/portal/getminpricehouse","applicationId":"-1","applicationName":"tns-portal-app"},"value":314},{"service":{"key":"-13","label":"/bingo/app/portal/getpalacehouse","applicationId":"-1","applicationName":"tns-portal-app"},"value":271},{"service":{"key":"-30","label":"/tmsv4/SearchUnitFull","applicationId":"-1","applicationName":"tns-portal-app"},"value":262},{"service":{"key":"-6","label":"/bingo/app/search/searchhouse","applicationId":"-1","applicationName":"tns-portal-app"},"value":257},{"service":{"key":"-22","label":"/bingo/app/search/searchhousebyunitproductfilters","applicationId":"-1","applicationName":"tns-portal-app"},"value":230},{"service":{"key":"26","label":"/bingo/app/house/getproductdeposit","applicationId":"-1","applicationName":"tns-portal-app"},"value":213},{"service":{"key":"15","label":"/bingo/app/portal/getrecommendlandmark","applicationId":"-1","applicationName":"tns-portal-app"},"value":153},{"service":{"key":"37","label":"/tmsv4/getHotel","applicationId":"-1","applicationName":"tns-portal-app"},"value":130},{"service":{"key":"-25","label":"/appunit/getSimilarUnitIdList","applicationId":"-1","applicationName":"tns-portal-app"},"value":127},{"service":{"key":"-34","label":"/AppPortal/getspecialsalechannel","applicationId":"-1","applicationName":"tns-portal-app"},"value":119}],"getServerThroughput":[{"key":"182","osName":"Linux","host":"l-tnsapp-web1.rd.cn1","pid":29520,"ipv4":["<IP_ADDRESS>"],"value":13},{"key":"186","osName":"Linux","host":"l-tnsapp-web5.rd.cn1","pid":25069,"ipv4":["<IP_ADDRESS>"],"value":13},{"key":"189","osName":"Linux","host":"l-tnsapp-web1.rd.cn2","pid":32437,"ipv4":["<IP_ADDRESS>"],"value":12},{"key":"184","osName":"Linux","host":"l-tnsapp-web3.rd.cn1","pid":12328,"ipv4":["<IP_ADDRESS>"],"value":11},{"key":"185","osName":"Linux","host":"l-tnsapp-web4.rd.cn1","pid":10047,"ipv4":["<IP_ADDRESS>"],"value":11},{"key":"183","osName":"Linux","host":"l-tnsapp-web2.rd.cn1","pid":27567,"ipv4":["<IP_ADDRESS>"],"value":10},{"key":"187","osName":"Linux","host":"l-tnsapp-web7.rd.cn1","pid":16639,"ipv4":["<IP_ADDRESS>"],"value":10},{"key":"188","osName":"Linux","host":"l-tnsapp-web8.rd.cn1","pid":783,"ipv4":["<IP_ADDRESS>"],"value":10},{"key":"190","osName":"Linux","host":"l-tnsapp-web2.rd.cn2","pid":32596,"ipv4":["<IP_ADDRESS>"],"value":10}],"getApplicationTopology":{"nodes":[{"id":"-126","name":"tns-portal-bridge","type":"rocketMQ-consumer","sla":100,"cpm":64,"avgResponseTime":13,"apdex":100,"isAlarm":false,"numOfServer":5,"numOfServerAlarm":0,"numOfServiceAlarm":0},{"id":"-1","name":"tns-portal-app","type":"SpringMVC","sla":100,"cpm":83,"avgResponseTime":80,"apdex":100,"isAlarm":false,"numOfServer":9,"numOfServerAlarm":0,"numOfServiceAlarm":0},{"id":"53","name":"tujia-member","type":"Tomcat","sla":100,"cpm":3455,"avgResponseTime":2,"apdex":100,"isAlarm":false,"numOfServer":1,"numOfServerAlarm":0,"numOfServiceAlarm":0},{"id":"62","name":"tns_promotion","type":"Tomcat","sla":100,"cpm":1438,"avgResponseTime":11,"apdex":100,"isAlarm":false,"numOfServer":1,"numOfServerAlarm":0,"numOfServiceAlarm":0},{"id":"104","name":"cms-provider","type":"rocketMQ-consumer","sla":100,"cpm":6,"avgResponseTime":37,"apdex":100,"isAlarm":false,"numOfServer":4,"numOfServerAlarm":0,"numOfServiceAlarm":0},{"id":"-32","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-21","name":"<IP_ADDRESS>:20081","type":"Dubbo"},{"id":"-20","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-18","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-17","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-15","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-12","name":"<IP_ADDRESS>:20081","type":"Dubbo"},{"id":"-11","name":"<IP_ADDRESS>:20081","type":"Dubbo"},{"id":"-9","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-8","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-7","name":"<IP_ADDRESS>:27020","type":"Redis"},{"id":"-5","name":"customerservice-sync.wcf.corp.tujia.com:80","type":"HttpClient"},{"id":"-4","name":"service6003-sync.wcf.corp.tujia.com:80","type":"HttpClient"},{"id":"-3","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-2","name":"t-search-support.corp.tujia.com:80","type":"HttpClient"},{"id":"2","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"3","name":"t-unitfeaturetag.corp.tujia.com:80","type":"HttpClient"},{"id":"4","name":"t-unitsearch.corp.tujia.com:80","type":"HttpClient"},{"id":"5","name":"<IP_ADDRESS>:20081","type":"Dubbo"},{"id":"7","name":"<IP_ADDRESS>:7020","type":"Redis"},{"id":"8","name":"<IP_ADDRESS>:7020","type":"Redis"},{"id":"10","name":"<IP_ADDRESS>:20880","type":"Dubbo"},{"id":"11","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"12","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"13","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"14","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"15","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"16","name":"messageservice-sync.wcf.corp.tujia.com:80","type":"HttpClient"},{"id":"17","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"18","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"21","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"31","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"33","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"34","name":"<IP_ADDRESS>:27021","type":"Redis"},{"id":"36","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-35","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-34","name":"<IP_ADDRESS>:27020","type":"Redis"},{"id":"-29","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-13","name":"<IP_ADDRESS>:20880","type":"Dubbo"},{"id":"6","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"20","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"24","name":"abtest.corp.tujia.com:80","type":"HttpClient"},{"id":"41","name":"<IP_ADDRESS>:27020","type":"Redis"},{"id":"-42","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-36","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"-33","name":"<IP_ADDRESS>:20081","type":"Dubbo"},{"id":"-16","name":"<IP_ADDRESS>:20880","type":"Dubbo"},{"id":"30","name":"<IP_ADDRESS>:20880","type":"Dubbo"},{"id":"39","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"40","name":"<IP_ADDRESS>:12345","type":"Dubbo"},{"id":"42","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"32","name":"<IP_ADDRESS>:20081","type":"Unknown"},{"id":"-40","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"22","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"35","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-38","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"27","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"-14","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"38","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-41","name":"<IP_ADDRESS>:20880","type":"Unknown"},{"id":"-37","name":"<IP_ADDRESS>:20086","type":"Dubbo"},{"id":"-27","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"-22","name":"<IP_ADDRESS>:20081","type":"Unknown"},{"id":"25","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"-24","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"26","name":"<IP_ADDRESS>:20081","type":"Unknown"},{"id":"-44","name":"<IP_ADDRESS>:29995","type":"Unknown"},{"id":"-43","name":"<IP_ADDRESS>:29995","type":"Unknown"},{"id":"-39","name":"<IP_ADDRESS>:29995","type":"Unknown"},{"id":"28","name":"<IP_ADDRESS>:29995","type":"Dubbo"},{"id":"37","name":"<IP_ADDRESS>:20880","type":"Unknown"},{"id":"43","name":"<IP_ADDRESS>:20081","type":"Unknown"},{"id":"-25","name":"<IP_ADDRESS>:29995","type":"Unknown"},{"id":"44","name":"<IP_ADDRESS>:20081","type":"Unknown"},{"id":"23","name":"portalservice-sync.wcf.corp.tujia.com:80","type":"HttpClient"},{"id":"1","name":"User","type":"USER"}],"calls":[{"source":"-1","target":"-32","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":3},{"source":"-1","target":"-21","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":2},{"source":"-1","target":"-20","isAlert":false,"callType":"Dubbo","cpm":5,"avgResponseTime":5},{"source":"-1","target":"-126","isAlert":false,"callType":"Dubbo","cpm":4,"avgResponseTime":6},{"source":"-1","target":"-18","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":5},{"source":"-1","target":"-17","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":14},{"source":"-1","target":"-15","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":6},{"source":"-1","target":"-12","isAlert":false,"callType":"Dubbo","cpm":4,"avgResponseTime":3},{"source":"-1","target":"-11","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":2},{"source":"-1","target":"-126","isAlert":false,"callType":"Dubbo","cpm":5,"avgResponseTime":5},{"source":"-1","target":"-9","isAlert":false,"callType":"Dubbo","cpm":6,"avgResponseTime":2},{"source":"-1","target":"-8","isAlert":false,"callType":"Dubbo","cpm":8,"avgResponseTime":2},{"source":"-1","target":"-7","isAlert":false,"callType":"Jedis","cpm":21,"avgResponseTime":0},{"source":"-1","target":"53","isAlert":false,"callType":"Dubbo","cpm":8,"avgResponseTime":2},{"source":"-1","target":"-5","isAlert":false,"callType":"HttpClient","cpm":10,"avgResponseTime":44},{"source":"-1","target":"-4","isAlert":false,"callType":"HttpClient","cpm":5,"avgResponseTime":23},{"source":"-1","target":"-3","isAlert":false,"callType":"Dubbo","cpm":10,"avgResponseTime":4},{"source":"-1","target":"-2","isAlert":false,"callType":"HttpClient","cpm":9,"avgResponseTime":6},{"source":"-1","target":"2","isAlert":false,"callType":"Dubbo","cpm":7,"avgResponseTime":2},{"source":"-1","target":"3","isAlert":false,"callType":"HttpClient","cpm":51,"avgResponseTime":5},{"source":"-1","target":"4","isAlert":false,"callType":"HttpClient","cpm":38,"avgResponseTime":51},{"source":"-1","target":"5","isAlert":false,"callType":"Dubbo","cpm":4,"avgResponseTime":3},{"source":"-1","target":"7","isAlert":false,"callType":"Jedis","cpm":27,"avgResponseTime":0},{"source":"-1","target":"8","isAlert":false,"callType":"Jedis","cpm":23,"avgResponseTime":0},{"source":"-1","target":"62","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":10},{"source":"-1","target":"10","isAlert":false,"callType":"Dubbo","cpm":10,"avgResponseTime":19},{"source":"-1","target":"11","isAlert":false,"callType":"Dubbo","cpm":11,"avgResponseTime":4},{"source":"-1","target":"12","isAlert":false,"callType":"Dubbo","cpm":7,"avgResponseTime":2},{"source":"-1","target":"13","isAlert":false,"callType":"Dubbo","cpm":7,"avgResponseTime":2},{"source":"-1","target":"14","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":5},{"source":"-1","target":"15","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":5},{"source":"-1","target":"16","isAlert":false,"callType":"HttpClient","cpm":6,"avgResponseTime":21},{"source":"-1","target":"17","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":12},{"source":"-1","target":"18","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":10},{"source":"-1","target":"-126","isAlert":false,"callType":"Dubbo","cpm":5,"avgResponseTime":5},{"source":"-1","target":"21","isAlert":false,"callType":"Dubbo","cpm":4,"avgResponseTime":5},{"source":"-1","target":"31","isAlert":false,"callType":"Dubbo","cpm":4,"avgResponseTime":10},{"source":"-1","target":"33","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":11},{"source":"-1","target":"34","isAlert":false,"callType":"Jedis","cpm":7,"avgResponseTime":0},{"source":"-1","target":"36","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":2},{"source":"-1","target":"-35","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":11},{"source":"-1","target":"-34","isAlert":false,"callType":"Jedis","cpm":10,"avgResponseTime":0},{"source":"-1","target":"-29","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":3},{"source":"-1","target":"-13","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":52},{"source":"-1","target":"6","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":11},{"source":"-1","target":"20","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":11},{"source":"-1","target":"24","isAlert":false,"callType":"HttpClient","cpm":3,"avgResponseTime":5},{"source":"-1","target":"41","isAlert":false,"callType":"Jedis","cpm":8,"avgResponseTime":0},{"source":"-1","target":"-42","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":2},{"source":"-1","target":"-36","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":2},{"source":"-1","target":"-33","isAlert":false,"callType":"Dubbo","cpm":3,"avgResponseTime":3},{"source":"-1","target":"-16","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":44},{"source":"-1","target":"30","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":19},{"source":"-1","target":"39","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":9},{"source":"-1","target":"40","isAlert":false,"callType":"Dubbo","cpm":2,"avgResponseTime":2},{"source":"-1","target":"42","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":4},{"source":"-1","target":"-126","isAlert":false,"callType":"","cpm":2,"avgResponseTime":4},{"source":"-1","target":"-126","isAlert":false,"callType":"","cpm":2,"avgResponseTime":4},{"source":"-1","target":"32","isAlert":false,"callType":"","cpm":1,"avgResponseTime":3},{"source":"-1","target":"-40","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":4},{"source":"-1","target":"22","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":5},{"source":"-1","target":"35","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":5},{"source":"-1","target":"-38","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":5},{"source":"-1","target":"27","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":5},{"source":"-1","target":"-14","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":7},{"source":"-1","target":"38","isAlert":false,"callType":"Dubbo","cpm":1,"avgResponseTime":5},{"source":"-1","target":"-41","isAlert":false,"callType":"","cpm":0,"avgResponseTime":61},{"source":"-1","target":"-37","isAlert":false,"callType":"Dubbo","cpm":0,"avgResponseTime":5},{"source":"-1","target":"-27","isAlert":false,"callType":"Dubbo","cpm":0,"avgResponseTime":6},{"source":"-1","target":"-22","isAlert":false,"callType":"","cpm":1,"avgResponseTime":4},{"source":"-1","target":"25","isAlert":false,"callType":"Dubbo","cpm":0,"avgResponseTime":6},{"source":"-1","target":"-24","isAlert":false,"callType":"Dubbo","cpm":0,"avgResponseTime":6},{"source":"-1","target":"26","isAlert":false,"callType":"","cpm":0,"avgResponseTime":4},{"source":"-1","target":"-44","isAlert":false,"callType":"","cpm":0,"avgResponseTime":6},{"source":"-1","target":"-43","isAlert":false,"callType":"","cpm":0,"avgResponseTime":5},{"source":"-1","target":"-39","isAlert":false,"callType":"","cpm":0,"avgResponseTime":7},{"source":"-1","target":"28","isAlert":false,"callType":"Dubbo","cpm":0,"avgResponseTime":6},{"source":"-1","target":"37","isAlert":false,"callType":"","cpm":0,"avgResponseTime":60},{"source":"-1","target":"43","isAlert":false,"callType":"","cpm":0,"avgResponseTime":4},{"source":"-1","target":"-25","isAlert":false,"callType":"","cpm":0,"avgResponseTime":7},{"source":"-1","target":"44","isAlert":false,"callType":"","cpm":0,"avgResponseTime":4},{"source":"-1","target":"104","isAlert":false,"callType":"","cpm":0,"avgResponseTime":20},{"source":"-1","target":"23","isAlert":false,"callType":"HttpClient","cpm":0,"avgResponseTime":93},{"source":"-1","target":"104","isAlert":false,"callType":"","cpm":0,"avgResponseTime":15},{"source":"1","target":"-1","isAlert":false,"callType":"","cpm":105,"avgResponseTime":78}]}}}

Requirement or improvement

Please describe about your requirements or improvement suggestions.

another error: http://skywalking.corp.tujia.com/img/node/UNKNOWN.png. but it's not the root cause of the above issue.

@Yuanxiangz sorry for late. if UNKNOWN.png didn't exist, the cytoscape.js can render the whole graph. In short, UNKNOWN.png is the root cause.
v6 fixing this issue will be released next week.

Then @Yuanxiangz You could choose to add this image to avoid render failure, or simply use our 6.0.0-alpha release.

@hanahmily  the unknown.png error is always existed while the 'drawimage' error happened occasionally. that's why i said unknown.png error is not the root cause   @wu-sheng i will try 6.0.0 UI and update the result then.

Thanks. We have fixed this in 6


[AutoRelease] t2-webpubsub-2023-10-07-99526(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4615
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=2622
BuildTargetingString
azure-mgmt-webpubsub
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/4615


Don't store plugin exceptions in metadata (#239)

With this change, we store the actual exception a plugin raised, rather than a description of it. This allows the store_metadata_in_osv3 plugin to handle that differently.
I've moved the rpmqa test-case out into a separate module and added a failure test-case as well. I also added a failure test-case for the metadata plugin.

Fixes #239.


Add minimal requirements file and Travis script

Wait for Travis to be green @pcmasuzzo :)

Green! 💯


Help logging Authenticated User IDs

I would like to log authenticated users visiting my Azure static web app (using AAD). My App Insights is working with this snippet: https://github.com/Microsoft/ApplicationInsights-JS#snippet-setup-ignore-if-using-npm-setup, but I cannot figure out how to track the names of authenticated users with just this setup. In my App Insights logs, I have no entries for user_AuthenticatedId. Any insight for the non-webdev inclined is appreciated!

By default the SDK does not gather authenticated user details, you need to call the appInsights.setAuthenticatedUserContext(...)  to tell the SDK the details you want recorded and depending on your privacy / legal requirements you should also mask this value as it is normally PII (Personally identifiable information).
https://github.com/microsoft/ApplicationInsights-JS/blob/master/AISKU/API.md#setauthenticatedusercontext

Thanks for the feedback! Any idea how that would look in practice, exactly like below?
<script type="text/javascript">
... truncated for clarity
cfg: { // Application Insights Configuration
    instrumentationKey: "INSTRUMENTATION_KEY"
}});
setAuthenticatedUserContext(authenticatedUserId: string, accountId?: string, storeInCookie = false)
</script>

As the snippet provides a proxy for this function yes, pretty much as you have it.
<script type="text/javascript">
... truncated for clarity
cfg: { // Application Insights Configuration
    instrumentationKey: "INSTRUMENTATION_KEY"
}});
var authUserId = "...";  // Set on the server ir lookup meta tags etc
var accountId = "...";
appInsights.setAuthenticatedUserContext(authUserId , accountId , true);
</script>

The other option would be to create and use an onInit() callback and set in there -- same result
https://github.com/microsoft/ApplicationInsights-JS#example-using-the-snippet-oninit-callback

Thank you very much; I was able to generate the information necessary with this extra help!


Nuscenes detection errors on validation set

Hello! Thanks for the great work!
Could you please share what errors you get for Nuscenes detection on the validation set? By errors, I mean mATE, mASE, mAOE, mAVE, mAAE.
Thank you!

The result of our EA-LSS in val set:
mAP	mATE	mASE	mAOE	mAVE	mAAE	NDS
71.24	0.2709	0.251	0.285	0.2536	0.1899	73.12

Thank you very much for the details!


#161421110 create an endpoint to retrieve a single product from the database

What does this PR do?
This PR creates the endpoint for store owners/attendants to view a single product using its id
Description of Task to be completed
The main tasks to be completed are:
Creation of an endpoint for store owners to view a single product
Connect it to the database
How should this be manually tested?

Create  a virual enviroment with the command
$ virtualenv -p python3 env

Activate the venv with the command
$ source env/bin/activate

Install git
sudo apt install git

clone this repo
$ git clone https://github.com/codeMarble254/Store-Manager-v1.git"

cd into the folder Store-Manager-V1

export required enviroment variables
$ export FLASK_APP=run.py
$ export DB_NAME="storemanager"
$ export DB_HOST="fill in your localhost"
$ export DB_USER="fill in the db user"
$ export DB_PASSWORD="fill in your db user password"
$ export SECRET_KEY="<your key>"

create the dev database
createdb storemanager

create the testing database
$ createdb test_db

Switch to the current branch
$ git checkout ft-view-single-product-v2-161421110

install requirements
$ pip install -r requirements.txt

now we are ready to run.
8.now we are ready to run.
for tests
export APP_SETTINGS="testing"
pytest app/test/v2 -v --cov=app/test/v2

for the application run
export APP_SETTINGS="development"
$ flask run
If you ran the application you can test the  api end points using postman as follows

Endpoint
functionality
contraints(requirements)

get /api/products/productId
View a single product
User authentication

What are the relevant pivotal tracker stories?
#161421110

Pull Request Test Coverage Report for Build 130

185 of 187 (98.93%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 98.93%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/test/v2/test_users.py
83
85
97.65%

Totals

Change from base Build 67:
1.7%

Covered Lines:
185

Relevant Lines:
187

💛  - Coveralls

Pull Request Test Coverage Report for Build 130

185 of 187 (98.93%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 98.93%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/test/v2/test_users.py
83
85
97.65%

Totals

Change from base Build 67:
1.7%

Covered Lines:
185

Relevant Lines:
187

💛  - Coveralls