Issue with Kafka Reader

Hello,
I have an issue with kafka, I ran a command which was reading the dataset using FileReader, and it was OK,
then I tried to do the same using 'KafkaReader', but it fails. the log results are shown below:
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties 18/05/26 07:01:30 INFO SparkContext: Running Spark version 2.1.0 18/05/26 07:01:30 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 18/05/26 07:01:31 WARN Utils: Your hostname, localhost.localdomain resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface eno33557248) 18/05/26 07:01:31 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address 18/05/26 07:01:31 INFO SecurityManager: Changing view acls to: root 18/05/26 07:01:31 INFO SecurityManager: Changing modify acls to: root 18/05/26 07:01:31 INFO SecurityManager: Changing view acls groups to:  18/05/26 07:01:31 INFO SecurityManager: Changing modify acls groups to:  18/05/26 07:01:31 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set() 18/05/26 07:01:31 INFO Utils: Successfully started service 'sparkDriver' on port 44017. 18/05/26 07:01:31 INFO SparkEnv: Registering MapOutputTracker 18/05/26 07:01:31 INFO SparkEnv: Registering BlockManagerMaster 18/05/26 07:01:31 INFO BlockManagerMasterEndpoint: Using org.apache.spark.storage.DefaultTopologyMapper for getting topology information 18/05/26 07:01:31 INFO BlockManagerMasterEndpoint: BlockManagerMasterEndpoint up 18/05/26 07:01:31 INFO DiskBlockManager: Created local directory at /tmp/blockmgr-0a7ed5a0-688d-4684-8962-9f9c398dc979 18/05/26 07:01:31 INFO MemoryStore: MemoryStore started with capacity 366.3 MB 18/05/26 07:01:31 INFO SparkEnv: Registering OutputCommitCoordinator 18/05/26 07:01:32 INFO Utils: Successfully started service 'SparkUI' on port 4040. 18/05/26 07:01:32 INFO SparkUI: Bound SparkUI to <IP_ADDRESS>, and started at http://<IP_ADDRESS>:4040 18/05/26 07:01:32 INFO SparkContext: Added JAR file:/root/Downloads/spark-streaming-kafka-0-10_2.10-2.1.0.jar at spark://<IP_ADDRESS>:44017/jars/spark-streaming-kafka-0-10_2.10-2.1.0.jar with timestamp<PHONE_NUMBER>071 18/05/26 07:01:32 INFO SparkContext: Added JAR file:/root/streamDM/scripts/../target/scala-2.10/streamdm-spark-streaming-_2.10-0.2.jar at spark://<IP_ADDRESS>:44017/jars/streamdm-spark-streaming-_2.10-0.2.jar with timestamp<PHONE_NUMBER>072 18/05/26 07:01:32 INFO Executor: Starting executor ID driver on host localhost 18/05/26 07:01:32 INFO Utils: Successfully started service 'org.apache.spark.network.netty.NettyBlockTransferService' on port 45190. 18/05/26 07:01:32 INFO NettyBlockTransferService: Server created on <IP_ADDRESS>:45190 18/05/26 07:01:32 INFO BlockManager: Using org.apache.spark.storage.RandomBlockReplicationPolicy for block replication policy 18/05/26 07:01:32 INFO BlockManagerMaster: Registering BlockManager BlockManagerId(driver, <IP_ADDRESS>, 45190, None) 18/05/26 07:01:32 INFO BlockManagerMasterEndpoint: Registering block manager <IP_ADDRESS>:45190 with 366.3 MB RAM, BlockManagerId(driver, <IP_ADDRESS>, 45190, None) 18/05/26 07:01:32 INFO BlockManagerMaster: Registered BlockManager BlockManagerId(driver, <IP_ADDRESS>, 45190, None) 18/05/26 07:01:32 INFO BlockManager: Initialized BlockManager: BlockManagerId(driver, <IP_ADDRESS>, 45190, None) Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/streaming/kafka/KafkaUtils$ 	at org.apache.spark.streamdm.streams.KafkaReader.getExamples(KafkaReader.scala:62) 	at org.apache.spark.streamdm.tasks.EvaluatePrequential.run(EvaluatePrequential.scala:71) 	at org.apache.spark.streamdm.streamDMJob$.main(streamDMJob.scala:56) 	at org.apache.spark.streamdm.streamDMJob.main(streamDMJob.scala) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:498) 	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:738) 	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:187) 	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:212) 	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:126) 	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) Caused by: java.lang.ClassNotFoundException: org.apache.spark.streaming.kafka.KafkaUtils$ 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 	... 13 more 18/05/26 07:01:32 INFO SparkContext: Invoking stop() from shutdown hook 18/05/26 07:01:32 INFO SparkUI: Stopped Spark web UI at http://<IP_ADDRESS>:4040 18/05/26 07:01:32 INFO MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped! 18/05/26 07:01:32 INFO MemoryStore: MemoryStore cleared 18/05/26 07:01:32 INFO BlockManager: BlockManager stopped 18/05/26 07:01:32 INFO BlockManagerMaster: BlockManagerMaster stopped 18/05/26 07:01:32 INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped! 18/05/26 07:01:32 INFO SparkContext: Successfully stopped SparkContext 18/05/26 07:01:32 INFO ShutdownHookManager: Shutdown hook called 18/05/26 07:01:32 INFO ShutdownHookManager: Deleting directory /tmp/spark-23e4273b-e33d-4dbf-ace4-72597addd9b6
Infrastructure details

**Java Version: 1.8.0_171
**Scala Version:2.10
**Spark version:2.1.0
**OS version: CentOS7
**Cluster mode or local mode? local
**Kafka Version: 0.10.2

also I imported org.apache.spark:spark-streaming-kafka-0-10_2.10:2.1.0 in my terminal using --packages and in my ~/.bashrc using an export.
I didn't work and I changed my spark.sh, in scripts directory to:
$SPARK_HOME/bin/spark-submit \   --jars /root/Downloads/spark-streaming-kafka-0-10_2.10-2.1.0.jar \   --class "org.apache.spark.streamdm.streamDMJob" \   --master local[2] \   ../target/scala-2.10/streamdm-spark-streaming-_2.10-0.2.jar \   $1
but the same error appears everytime.
can any one help me  on this?

Hi @saraAlizadeh
Can you provide more details about the specific command you executed and the kafka stream used? It can be a toy example to replicate the same error
Best Regards,
Heitor

Hi @hmgomes
This command runs fine:
/spark.sh "200 EvaluatePrequential -l (meta.Bagging -l trees.HoeffdingTree) -s (FileReader -f covtypeNorm.arff -k 5810 -d 10 -i 581012) -e (BasicClassificationEvaluator -c -m) -h" 1> result_cov.txt 2> log_cov.log
but this one creates the error:
./spark.sh "200 EvaluatePrequential -l (meta.Bagging -l trees.HoeffdingTree) -s (KafkaReader -b localhost:9092  -t streamDM-test) -e (BasicClassificationEvaluator -c -m) -h" 1> result_cov.txt 2> log_cov.log
I've already started zookeper,kafka server and created a topic(streamDM-test).
I can test kafka with spark 1.6.3, but streamDM is not compiled correctly with that version of spark.
can you provide me a set of versions that are compatible together?

Hi @saraAlizadeh
You can try a version of streamDM before the upgrade to Spark 2.2, such as these:
commit 9ff5d0c8b9b22a13ba0d389a3cdf3a62c1e9e30f
or this:
commit 942e4000e7e657c96e6d0c51a04f5051038e7b40
These should be compatible with Spark 1.6 (I've just tried the latest one with Spark 1.6.1)
Let me know if it works
Best Regards,
Heitor

Hi @hmgomes
Sorry for delay, I was really busy working around with this issue.
I compiled commit 9ff5d0c, and thanks, it is OK.
now streamDM gets records from kafka topic and creates result.
but there is something weird about it.
look at my result file:
Accuracy,Recall,Precision,F(beta=1.0)-score,Specificity,TP,FN,FP,TN 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0 1.000,1.000,1.000,1.000,NaN,1,0,0,0
and this is a part of result file created by streamDM when reading data from file.
Accuracy,Recall-avg-macro,Precision-avg-macro,F(beta=1.0)-score-avg-macro, 0.260,0.143,0.260,0.184, 0.156,0.279,0.130,0.177, 0.514,0.408,0.488,0.445, 0.715,0.294,0.266,0.280, 0.756,0.749,0.511,0.608, 0.731,0.439,0.476,0.457, 0.799,0.465,0.605,0.526, 0.862,0.777,0.916,0.841, 0.933,0.861,0.954,0.905, 0.856,0.768,0.914,0.835, 0.795,0.733,0.821,0.774, 0.892,0.810,0.930,0.865, 0.809,0.470,0.861,0.608, 0.815,0.582,0.700,0.636, 0.805,0.574,0.749,0.650, 0.822,0.540,0.588,0.563, 0.887,0.453,0.740,0.562, 0.867,0.522,0.883,0.656, 0.916,0.566,0.890,0.692, 0.908,0.557,0.818,0.663,
do they look alright to you?

Hi @saraAlizadeh
No issues, I am also very busy these days. Regarding your question:
They do not look alright. It was expected that you obtained the same results, because essentially it is the same data, right?
Can you verify if the output and input are properly parsed after streamDM gets the records? I.e. perhaps the class label is not properly set
Best Regards,
Heitor

well, yes,  the results were supposed to be the same.
considering that kafka might have changed the order of records,  again it's
insane to have all accuracies be 1.
I haven't parsed recordes, just executed the code, which in it
PrequentialEvalutor gets examples from kafka reader.
but I'm really suspicious to this, what are the examples exactly?
I couldn't debug it in intellij to see what are the exact values and their
types, when I use kafka.
I think maybe printing what kafka passes to evaluator,  may help, and right
now I'm coding it.
thanks for your care. and could you reproduce the same result?
On Tue, 26 Jun 2018, 19:28 Heitor Murilo Gomes<EMAIL_ADDRESS>wrote:

Hi @saraAlizadeh https://github.com/saraAlizadeh
No issues, I am also very busy these days. Regarding your question:
They do not look alright. It was expected that you obtained the same
results, because essentially it is the same data, right?
Can you verify if the output and input are properly parsed after streamDM
gets the records? I.e. perhaps the class label is not properly set
Best Regards,
Heitor
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huawei-noah/streamDM/issues/95#issuecomment-400340737,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APxKp6A37A0sYitqxwceG9oaQVOHw-xdks5uAkwQgaJpZM4UPJuO
.

It is a good idea to print what kafka passes to the evaluator, by observing the class value we shall be able to investigate if features (input and output) were used correctly.
Regarding reproducing the same result: I haven't tried it yet, but I will need to investigate KafkaReader either way in the near future, so I will try to arrange and double check it as soon as possible. Please also let me know if you find something and thanks for your help on this matter :)

Hi,
I googled and talked to some kafka experts, apparently kafka's output is
String.
I think that's why my results are so oddly wrong.
Can we change the output type??
On Tue, 26 Jun 2018, 20:12 Heitor Murilo Gomes<EMAIL_ADDRESS>wrote:

It is a good idea to print what kafka passes to the evaluator, by
observing the class value we shall be able to investigate if features
(input and output) were used correctly.
Regarding reproducing the same result: I haven't tried it yet, but I will
need to investigate KafkaReader either way in the near future, so I will
try to arrange and double check it as soon as possible. Please also let me
know if you find something and thanks for your help on this matter :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huawei-noah/streamDM/issues/95#issuecomment-400357418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APxKpzqpDIbOhteiZuSqJzcnd1huBJ_Vks5uAlZRgaJpZM4UPJuO
.

Hi @saraAlizadeh,
That may be the cause of the issue, perhaps an implicit conversion is taking place, but still it is strange that you get 1.0 accuracy.
Did you had the chance to observe the values kafka passes to the evaluator? You can change function confusion() from subclass ConfusionMatrix, something like this:
def confusion(x: (Example,Double)):
  Map[String, Double] = {
    val tp = if ((x._1.labelAt(0)==x._2)&&(x._2==0.0)) 1.0 else 0.0
    val fn = if ((x._1.labelAt(0)!=x._2)&&(x._2==0.0)) 1.0 else 0.0
    val fp = if ((x._1.labelAt(0)!=x._2)&&(x._2==1.0)) 1.0 else 0.0
    val tn = if ((x._1.labelAt(0)==x._2)&&(x._2==1.0)) 1.0 else 0.0

    logInfo("def confusion(...) label: %f and prediction: %f".format(x._1.labelAt(0), x._2))

    Map("tp" -> tp, "fn" -> fn, "fp" -> fp, "tn" -> tn)
  }

This will show (see log) the actual labels and predictions, even though predictions might not be as interesting at this point.
Best Regards,
Heitor

Hi,
Sorry for delay.
I solved this issue. it was kinda lack of coding instead of bad coding!
I used logInfo to print out some values. I found out these facts:

all labels are read as '0'
all predicted labels are '0'
number of classes is the default value, not the value related to dataset.
number of features is '0'
none of readers work properly. except FileReader. and also it just reads .arff files fine, not csv files.
I came to this: .arff files have a description. a function, fromArff, reads it and then makes 'example specification'. which is the input of other important methods like learning and prediction. So except when your file is .arff, nothing will go right.

So this is what i did for kafka:
I made a .arff file with only description part of my dataset and no data. I called fromArff in my version ofkafkaReader to make exapmleSpec.
after that I had a correct spec of my data I started kafka and read lines of dataset.
there were plenty of details but I think the whole story is clear now.
Hope this would be helpful for anyone and thank you @hmgomes to guide me. You were really helpful.

Thanks @saraAlizadeh for your detailed analysis and work around this problem. As soon as I finish what I am working on, I will update those readers and test then individually. Once again, thanks for taking the time to look into this and I hope in the future it becomes easier to use kafka reader
Best wishes,
Heitor


Tiny improve: copy version number when click

Just a small suggestion, adding an option, when click on the version, version number got copied, it's easier for people to paste into Cargo.toml.

Hi,
how would you imagine this to work together with the menu?
In general we already have that feature, only on our crate-page:

( and the "copy" button here copies exactly the line needed for your Cargo.toml)

Do you mean the version number in the sidebar? That's generated by rustdoc not docs.rs, if so I can transfer the issue over.

Oh it is from rust, nvm.
Vào 22:03, T.4, 3 Th5, 2023 Nemo157 @.***> đã viết:

Do you mean the version number in the sidebar? That's generated by rustdoc
not docs.rs, if so I can transfer the issue over.
—
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/docs.rs/issues/2116#issuecomment-1533202300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKBJSINLBVJ333DLW2NIGWLXEJXTRANCNFSM6AAAAAAXGLQYTI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Implement teardown removeAllImages

woo hoo

Needs gofmt apparently.

Fixed

Looks safe enough, LGTM

LGTM

@tianon I'll do PR. Thanks for your advice.


Standard SKU type for public static IP is invalid

Hi team,
I moved this from here: https://github.com/MicrosoftDocs/azure-docs.pt-br/issues/565
@andrepatete commented 23 hours ago — with docs.microsoft.com
When creating static IP, I had problems with the Standard type.
Error Message Suggests Creating Basic Type SKU
Warning CreateOrUpdateLoadBalancer 2m19s (x7 over 7m37s) azure-cloud-provider network.LoadBalancersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="PublicIPAndLBSkuDoNotMatch" Message="Basic sku load balancer /subscriptions/xxxxxxxxxx/resourceGroups/mc_xxxxxxxxxx_eastus2/providers/Microsoft.Network/loadBalancers/kubernetes cannot reference Standard sku publicIP /subscriptions/xxxxxxxxxx/resourceGroups/MC_xxxxxxxxxx_eastus2/providers/Microsoft.Network/publicIPAddresses/nginx-ingress-ip." Details=[]
It worked for me

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

ID: 12009c1f-282d-2632-fac0-64b09c432833
Version Independent ID: 6052d3d4-d295-9340-b16d-4c200e34cd73
Content: Create an HTTP ingress controller with a static IP address in Azure Kubernetes Service (AKS)
Content Source: articles/aks/ingress-static-ip.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@andrepatete this is because you created a basic sku load balancer when you made your AKS cluster instead of a Standard Load Balancer. By default we now use a standard load balancer when you create clusters instead of basic. It could have been a simple overview as well.
I tested the doc and the ones previously to ensure they work in order and they do. So I will close this for now as no doc updated is needed.
As a side note, if you want to use a Standard IP and Standard Load Balancer you will need to recreate the cluster as there is not a way to switch Load Balancer SKUs once the cluster is created.


Automated Package Upgrade

:tada: This PR is included in version 5.0.428 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sound is Muted then Put on Full Blast

I downloaded this yesterday, and it was working just fine. Now when I use it, my volume keeps automatically turning off then going on full blast.

+1
I see the same when reconnecting with AirPods, or taking out an earpiece and putting it back in. Absolutely terrifying.

Happened to me too, nearly blew my eardrums.

Same issue happening to me with AriPods. When take off the airpods and then put it back the sound is at full blast.

Same issue with Apple TV

@nodeful: So what's up with this issue, when will it get fixed? I'd be glad because for now, this is really a dealbreaker for me 👎 Thanks for your good work, keep it up!

@mrfloppi I'm not going to update this repo as I decided to do a complete rewrite of the application with new technologies that I am more experienced with (mainly Swift and JavaScript)
I can't dedicate more time to eqMac2 as I am trying to spend all my time developing the new version. Just sit tight, the new release will be miles better than eqMac2 :) Sorry for any inconveniences and lack of communication

First of all, I would like to apologize for the lack of communication and responses to the current issue and all other issues in general.
I have made a conscious decision to focus most of my free time and focus on developing a more modern and new version of "eqMac". This means that I can't spend too much time looking back at old codebase and trying to make every user happy. This was the main reason I made this repository open-source, in hopes that other developers might help to sort out some issues and iron out all the bugs. Unfortunately, there are very few developers that are proficient in Core Audio and Objective-C or maybe they are just not interested in this repo, which I can understand.
I promise that the next version will be much more polished and I will make some sort of a mainstream system were solving issues will be very easy and quick. Just sit tight and wait for a new release this coming summer.
Thank you to everyone who gave "eqMac2" a try and I hope I won't disappoint you next time :)
Heres a sneak peak of the UI I am currently working on:

This happened on wired headphones also when switching output sound devices. Terrible experience. My ears are hurting right now.

Still this bug for Wired headphone for mac, eqMac2.
Had to be cautious to stop all playing music before switching to eqMac.
Sad to hear that it's no longer under maintenance.
It's a nice tool tho. It made the music I hear so much better, so I learned to live with it.

@nodeful I just downloaded the software and I'm currently using it to optimize the sound on a wireless speaker. So far, awesome. Give me a few hours before I donate :)
However, even before experiencing this bug, I feel concerned ^^ I just wanted to make this bug a bigger priority in your list, by putting forth the argument of security. 1) people report pains after the bug occurs 2) just imagine if this happens to someone on a bike or in a car.
I don't know if this is easy to fix, but if it is, I think it is worth a few hours.
Still, very happy so far !

@nodeful I just downloaded the software and I'm currently using it to optimize the sound on a wireless speaker. So far, awesome. Give me a few hours before I donate :)
However, even before experiencing this bug, I feel concerned ^^ I just wanted to make this bug a bigger priority in your list, by putting forth the argument of security. 1) people report pains after the bug occurs 2) just imagine if this happens to someone on a bike or in a car.
I don't know if this is easy to fix, but if it is, I think it is worth a few hours.
Still, very happy so far !

This project is now defunct and won't get any fixes as all work that would have gone into eqMac2 is being funneled into its successor.

Works fine so far with my BeatsX on Mojave. I was trying to find a solution for Spotify missing an EQ settings like mobile versions.

I also use it on Mojave without and problem, 10x man for this nice piece of software.

Very bad bug, it happened to me when switching fro 10 to 31 band eq. The volume went to insane loud level. Uninstalled immediately. I rather listen to a bad eq'd sound than becoming deaf.

Happened to me just now ^^ Well guess the bug will not be fixed anytime soon :( Nice app btw !

For what it's worth, I think the bug is in EQHost -- look at the code. If the method createEQEngineWithOutputDevice is called it dutifully saves the volume settings and then right at the end of the method is the code [Devices setOutputVolumeForDeviceID:output to: 1]; //full blast
I'm a programming novice and I'm not quite sure how to fix this. It might be as simple as commenting out that line, or changing it to [Devices setOutputVolumeForDeviceID:output to: stashedVolume];

First of all, I would like to apologize for the lack of communication and responses to the current issue and all other issues in general.
I have made a conscious decision to focus most of my free time and focus on developing a more modern and new version of "eqMac". This means that I can't spend too much time looking back at old codebase and trying to make every user happy. This was the main reason I made this repository open-source, in hopes that other developers might help to sort out some issues and iron out all the bugs. Unfortunately, there are very few developers that are proficient in Core Audio and Objective-C or maybe they are just not interested in this repo, which I can understand.
I promise that the next version will be much more polished and I will make some sort of a mainstream system were solving issues will be very easy and quick. Just sit tight and wait for a new release this coming summer.
Thank you to everyone who gave "eqMac2" a try and I hope I won't disappoint you next time :)
Heres a sneak peak of the UI I am currently working on:

Looks so promising! Any news on the project?

I just found this repo looking for some equaliser for osx, and it really looks great!
I just wanted to add my 2 cents, and I am not trying to bash on you or anything, but I kind of like the old flat interface, it looks like an OSX app, which I really really like, and I would prefer all my osx apps to have the same style, instead of going full winamp, where every app is using their own style.
Again, just my 2 cents, and I love your landing page!

@nodeful Hey hey it's been 1 and a half year since you told me this bug can't be fixed, because you're working on the v3 right now. Sadly there haven't been any updates on that til today, so it would be very nice to know what's the status here? 🙂 Thanks mate!

Eagerly awaiting v3!
I found a script online, that allows you to set the max volume level on your mac, as a workaround the random volume at 100% issue, we are all having with eqMac2. Google "limiting your mac's volume in 2019", the script, written by "Lucas Andión" is easy to set up, I have no scripting experience and was able to follow the directions.
The only issue I have with eqMac2 is the random crashes (I'm running OSX Catalina), but quitting and reopening the app resolves the issue.

Hey everyone. Excuse me for the lack of updates. I have been really busy on the new version of eqMac. I am happy to announce an open beta release.
You can download it here: https://eqmac.app
There are a lot of known bugs that I could not fix just yet:

Driver not installing from the first try. Sometimes need to restart eqMac a couple times.
Complex Device switching logic is not perfect (for example when switching off the device that's currently playing, plugging in new device etc.)
UI takes long to load (a lot can be done to improve that)
UI dimensions are not synching properly
There's a noticeable audio delay in the playback, so not suitable for video yet (I know where the problem lies just haven't had the time to fix yet)
Sometimes the playback doesn't start, in that case please try to switch the output to the device you want and eqMac should try and build the audio pipeline again.

So as you can see there's still some work to be done but at least it's a completely modern tech stack that I am fully willing to work on: 100% Swift, User Space driver and a Web UI, instead of C++, Kernel Drivers. As I said, should work on Catalina and should not have any pesky ear drum blasting volume bugs (at least I didn't come across any).
I'm open to feedback and issue reports here: https://github.com/bitgapp/eqmac
That repo will become the main repo for eqMac and this repo will be archived eventually.
And yes it's called just eqMac, not eqMac3 :) And it will stay that way forever.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.


refactor(tensorrt_classifier)!: fix namespace and directory structure

Description
This PR puts headers in the autoware namespace.
Additional works

Align directory structure to follow the coding guidelines.
Clean unused dependencies LIST

Related links
Part of: https://github.com/autowarefoundation/autoware/issues/4569
How was this PR tested?
Tested in a local recompute environment.
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.

Tested in a local recompute environment.

Could you please describe the tests you performed?

@yukkysaito
I tested by traffic light recognition of driving log replayer. And confirmed that there was no change in accuracy or behavior.

@MasatoSaeki
Could you write it down here?

@yukkysaito
I did it.


fix: exclude passthrough mods from generated mods.md

Description
Components that set a sub-component's mod property were showing them as mods in the mods.md file. This adjusts the regex of our yarn docs:mod command, mod-extractor node task, so that it excludes found mod names that are followed by a colon.
This includes running that command and the resulting modifications to the various mods.md files

How and where has this been tested?
I started by testing this on regex101: https://regex101.com/r/CSsi3w/1
And then also looking at the results of running the command.
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation

[ ] Regex modification looks correct for excluding existing matches that are followed by a colon
[ ] The mods that have been removed after running the command look correct (in committed files)

Regression testing
Validate:

A legacy documentation page (such as accordion), including:

[ ] The page renders correctly
[ ] The page is accessible
[ ] The page is responsive

A migrated documentation page (such as action group), including:

[ ] The page renders correctly
[ ] The page is accessible
[ ] The page is responsive

Screenshots

To-do list

[x] I have read the contribution guidelines.
[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] ✨ This pull request is ready to merge. ✨

@castastrophe - is this something you might want to pull into your build branch? Even if not, we'll probably defer until after the build work goes in.


404 error

Is the github page setting's branch gh-pages?

thats weird, why is the gh pages setting turned off??

Good pick up @Zeroto521 👍

strange, after the deployment, it's changed again:

hmmmm something is up:

@Zeroto521 is it the github workflow?

Well, it seems that we couldn't check the commit history of gh-pages after this branch was deleted.
What event could delete the gh-pages?
But we need to turn up the gh pages setting again.

Actually, I have a question.
Why you directly edit & pr rep instead of forking & pr?

Actually, I have a question.
Why you directly edit & pr rep instead of forking & pr?

There is no need for forking if you have write access, which all of us do. So I just create a separate branch and pr.
Very rare occasions I will directly edit, only if it's a simple text change that I really don't think need to be reviewed, eg. Changing 'search flow's to 'find flow', and I only do this on md files such as readmes.

Well, it seems that we couldn't check the commit history of gh-pages after this branch was deleted.
What event could delete the gh-pages?
But we need to turn up the gh pages setting again.

Not sure yet, maybe due to me ticking the option to delete head branches after merge, will test it out

Seems resolved after unchecking in settings:


Add missing documentation on How to build a Client in Rust

I think I made the necessary changes

The commit sign-off line looks good. I restarted the build. (The last failure was an issue with the whitelist.) For security reasons, our contributing process requires a "sponsor" - someone already on the whitelist - for a new contributor's first PRs.  I will be your sponsor for this PR.
P.S. Thanks for adding this helpful information!

Apparently something in the Latex is not working out right. Looking into it.

I think I did not do this right :(

@LuddeD You should not have to close the PR. Just do a force push of your up-to-date, synced branch to your fork at https://github.com/LudeeD/sawtooth-core . It should automatically update this PR.

uff 😅 I think that's it

You did it - congratulations!

Made some changes based on @arsulegai suggestions

bump
the jenkins build is only failing because of my username not being whitelisted
This is open for so long and I dont really understand why :disappointed:

bump
the jenkins build is only failing because of my username not being whitelisted
This is open for so long and I dont really understand why 😞

You need to rebase on master. It's not currently mergeable.

You need to rebase on master. It's not currently mergeable.

I think I did it correctly now @jsmitchell

Thank you all for the guidance trough my first real open source contribution :D

Thank you all for the guidance trough my first real open source contribution :D

Nice job, Luís. Thanks for the contribution!


Why is ed25519 not supported?

Hi,
GnuPGP has had support for ed25519 since version 2.1.0. Is there a specific reason this tool does not support generating ed25519 keys instead of RSA?
Thanks!

Because age is the recommendation for ed25519 keys.
I don't want to maintain more gnupg than necessary.
It's very complex and hard to use software.


Revert "Fix DNS config in DB (#1481)"

This reverts commit 0f66996f10a23dcc89790f9d14106b6fe00d0ec9.
We need to fix problem with wrong order of database migrations

/test pre-main-control-plane-reconciler-e2e

/retest


Remove hardcode skipTests for maven-surefire-plugin

Why are the changes needed?

So that we can transfer skipTests variable when build kyuubi binary.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

thanks , merging to master

We disable surefire in default because most modules writen in scala, surefire is for Java


Deployment Fail

[Enter feedback here]
When I try to deploy this template application, I get an error (pasted below). I don't see that there is a quota in the subscription, nor is there a way to change regions in the resource group. If none of this was going to work, why wouldn't it have raised a flag much sooner?
{"code":"InvalidTemplateDeployment","details":[{"code":"ValidationForResourceFailed","message":"Validation failed for a resource. Check 'Error.Details[0]' for more information.","details":[{"code":"SubscriptionIsOverQuotaForSku","message":"This region has quota of 0 instances for your subscription. Try selecting different region or SKU."}]}],"message":"The template deployment 'Microsoft.Template-20230424132531' is not valid according to the validation procedure. The tracking id is '9e385e1f-2dbc-4667-be98-7aa2f6bfa5ac'. See inner errors for details."}
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 140939b6-2114-a745-2787-3111e84965b3
Version Independent ID: ae71ad92-7844-6679-b76c-c42409929dd4
Content: Tutorial: Create an FAQ bot with question answering and Azure Bot Service - Azure Cognitive Services
Content Source: articles/cognitive-services/language-service/question-answering/tutorials/bot-service.md
Service: cognitive-services
Sub-service: language-service
GitHub Login: @aahill
Microsoft Alias: aahi

@hfulks
Thanks for your feedback! We will investigate and update as appropriate.

@hfulks
The error message indicates that there is a quota issue with the subscription and region you are trying to deploy the template application to. It appears that the region you selected has a quota of 0 instances for your subscription. This means that you cannot deploy any resources to that region until the quota is increased.
You can try selecting a different region that has available quota or contact the Azure support team to increase the quota for the region you want to use. If you are not able to change the region or quota, you may need to consider using a different subscription or resource group to deploy your application.
It is possible that the quota issue was not flagged earlier because the quota limits may have changed since you last checked or because you may have only recently reached the quota limit. Additionally, quota limits may vary based on the type and size of the resource being deployed.

@hfulks
We are going to close this thread, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


[release-1.14] Quick fix to get builds working on a Mac

Manual cherrypick required.
#40912 failed to apply on top of branch "release-1.14":
Applying: Quick fix to get builds working on a Mac
Applying: Remove the darwin if.
Using index info to reconstruct a base tree...
M	bin/init.sh
Falling back to patching base and 3-way merge...
Auto-merging bin/init.sh
CONFLICT (content): Merge conflict in bin/init.sh
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0002 Remove the darwin if.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

fixed by https://github.com/istio/istio/issues/40914


Could not get tags from Google Artifact Registry

Describe the bug
argocd-image-updater is unable to get the tag list from Google Artifact Registry.
Behaviour can be reproduced running the binary locally or on Kubernetes.
Getting the image tags list using the podman CLI ( podman image search --list-tags ) returns the expected results.
To Reproduce
Steps to reproduce the behavior:
$ gcloud auth print-access-token | podman login -u oauth2accesstoken --password-stdin europe-docker.pkg.dev

$ podman image search --list-tags  europe-docker.pkg.dev/project-id/repo-name/image-name

$ argocd-image-updater test  europe-docker.pkg.dev/project-id/repo-name/image-name
DEBU[0000] Creating in-cluster Kubernetes client
INFO[0000] retrieving information about image            image_alias= image_name=europe-docker.pkg.dev/project-id/repo-name/image-name registry_url=europe-docker.pkg.dev
DEBU[0000] setting rate limit to 20 requests per second  prefix=europe-docker.pkg.dev registry="https://europe-docker.pkg.dev"
DEBU[0000] Inferred registry from prefix europe-docker.pkg.dev to use API https://europe-docker.pkg.dev
INFO[0000] Fetching available tags and metadata from registry  application=test image_alias= image_name=europe-docker.pkg.dev/project-id/repo-name/image-name registry_url=europe-docker.pkg.dev
FATA[0000] could not get tags: Get "https://europe-docker.pkg.dev/v2/project-id/repo-name/image-name/tags/list": denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource "projects/project-id/locations/europe/repositories/repo-name" (or it may not exist)  application=test image_alias= image_name=europe-docker.pkg.dev/project-id/repo-name/image-name registry_url=europe-docker.pkg.dev

Expected behavior
The tag list is successfully fetched.
Version
local: v0.12.2
k8s: quay.io/argoprojlabs/argocd-image-updater:v0.12.0
Logs
From the Kubernetes pod:
"Could not get tags from registry: Get \"https://europe-docker.pkg.dev/v2/project-id/repo-name/image-name/tags/list\": denied: Permission \"artifactregistry.repositories.downloadArtifacts\" denied on resource \"projects/project-id/locations/europe/repositories/repo-name\" (or it may not exist)" alias= application=app-name image_name=project-id/repo-name/image-name image_tag=latest registry=europe-docker.pkg.dev"

We are also running into this issue after migrating from GCR to Artifact Registry.
@jannfis This is going to need to be patched anyway for the merge to ArgoCD, and with GCR being sunset in favour of Artifact Registry. If I was to take the time to submit a PR patching this, would it get merged?

Same here with WorkloadIdentity enabled from within GKE cluster:
Permission \"artifactregistry.repositories.downloadArtifacts\" denied on resource

Another pod with gcloud in it works as expected using the same ServiceAccount.

Ran into the same issue with the latest version of Argo (following this bug). Looking in the logs, the identity is not passed to the Docker-GetTags request; see empty authenticationInfo:
authenticationInfo: {
}
authorizationInfo: [
0: {
  permission: "artifactregistry.repositories.downloadArtifacts"
  resource: "projects/project-id/locations/europe-west2/repositories/my-repo"
}]
requestMetadata: {
  callerIp: "gce-internal-ip"
  callerSuppliedUserAgent: "Go-http-client/1.1,gzip(gfe)"
}

Also a bit odd to see v2 in the API here, I only see reference to v1 in the docs:
request: {
  @type: "type.googleapis.com/google.logging.type.HttpRequest"
  requestMethod: "GET"
  requestUrl: "/v2/project-id/my-repo/example-chart-dev/tags/list"
}

We've also encountered this issue after switching to Artifacts Registry. Did anyone find a solution to this yet?

Thx @ralphotowo for pointing me to the right answer. Works for me now.
For everyone else using WorkloadIdentity one hint which cost me some hours of investigation and head-on-the-table-moments:
A script getting an token from the metadata api eg. http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/token is returned an access token. What noone (only the GCP docs somewhere hidden ;-) ) tell you is, that the username is oauth2accesstoken
So to be clear:
If using WorkloadIdentity...
... add a script which
... gets the token from the metadata endpoint and
... returns something like echo "oauth2accesstoken:<yourtoken>"
Hope this helps.

Thx @ralphotowo for pointing me to the right answer. Works for me now.
For everyone else using WorkloadIdentity one hint which cost me some hours of investigation and head-on-the-table-moments:
A script getting an token from the metadata api eg. http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/token is returned an access token. What noone (only the GCP docs somewhere hidden ;-) ) tell you is, that the username is oauth2accesstoken
So to be clear: If using WorkloadIdentity... ... add a script which ... gets the token from the metadata endpoint and ... returns something like echo "oauth2accesstoken:<yourtoken>"
Hope this helps.

Thanks @jaykay !
This solution seems to work, at least with argocd-image-updater
GCLOUD_CREDS="oauth2accesstoken:$(gcloud auth print-access-token)" argocd-image-updater test europe-docker.pkg.dev/my-repository/my-helm/my-x --credentials env:GCLOUD_CREDS
DEBU[0000] Creating in-cluster Kubernetes client
INFO[0000] retrieving information about image            image_alias= image_name=europe-docker.pkg.dev/my-repository/my-helm/my-x registry_url=europe-docker.pkg.dev
DEBU[0000] setting rate limit to 20 requests per second  prefix=europe-docker.pkg.dev registry="https://europe-docker.pkg.dev"
DEBU[0000] Inferred registry from prefix europe-docker.pkg.dev to use API https://europe-docker.pkg.dev
INFO[0000] Fetching available tags and metadata from registry  application=test image_alias= image_name=europe-docker.pkg.dev/my-repository/my-helm/my-x registry_url=europe-docker.pkg.dev
INFO[0000] Found 21 tags in registry                     application=test image_alias= image_name=europe-docker.pkg.dev/my-repository/my-helm/my-x registry_url=europe-docker.pkg.dev
DEBU[0000] found 21 from 21 tags eligible for consideration  image=europe-docker.pkg.dev/my-repository/my-helm/my-x
INFO[0000] latest image according to constraint is europe-docker.pkg.dev/my-repository/my-helm/kubernator-x:0.0.21  application=test image_alias= image_name=europe-docker.pkg.dev/my-repository/my-helm/my-x registry_url=europe-docker.pkg.dev

Now I need to figure out how to incorporate this into my ArgoCD configuration.

@stefangluszek Thank you for the details!

Now I need to figure out how to incorporate this into my ArgoCD configuration.
Did you manage to configure ArgoCD Image Updater to make it working with container images (not Helm charts) stored in GAR? Could you please share your solution?

Nevermind, I found the solution here: https://github.com/argoproj-labs/argocd-image-updater/issues/319#issuecomment-1130547057
In case is ArgoCD Image Updater is installed using a Helm chart, the setup for GAR auth via Workload Identity will look like this (example of  your custom helm values for argocd-image-updater chart):
# values.yaml

config:
  registries:
    - name: Google Artifacts Registry - eu-west1
      api_url: https://europe-docker.pkg.dev
      prefix: europe-docker.pkg.dev
      credentials: ext:/scripts/gke-workload-identity-auth.sh
      credsexpire: 30m

authScripts:
  enabled: true
  scripts:
    gke-workload-identity-auth.sh: |
      #!/bin/sh
      ACCESS_TOKEN=$(wget --header 'Metadata-Flavor: Google' http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token -q -O - | grep -Eo '"access_token":.*?[^\\]",' | cut -d '"' -f 4)
      echo "oauth2accesstoken:$ACCESS_TOKEN"

thank you very much @legal90 you save my time.

@legal90 You saved me at least a days worth messing around with this, thank you!

@legal90 Thanks for your solution here. I have added this to my helm chart because I'm trying to get this argocd-image-updater but am still hitting this issue:
denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource "projects/t-computer-410410/locations/europe-west4/repositories/boutique-app" (or it may not exist)
When I exec into my argo-cd-image-updater pod I can't see a /scripts directory which I'm assuming the script should get mounted to.
I've checked other things like the permissions on my SA itself and that is set to Artifact Registry Owner, along with the annotation on my GKE SA to map it to my GCP IAM one.
Do I need to mount a volume  as mentioned here by @bkanuk: https://github.com/argoproj-labs/argocd-image-updater/issues/319#issuecomment-1130547057 ?

@legal90 Thanks for your solution here. I have added this to my helm chart because I'm trying to get this argocd-image-updater but am still hitting this issue:
denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource "projects/t-computer-410410/locations/europe-west4/repositories/boutique-app" (or it may not exist)
When I exec into my argo-cd-image-updater pod I can't see a /scripts directory which I'm assuming the script should get mounted to.
I've checked other things like the permissions on my SA itself and that is set to Artifact Registry Owner, along with the annotation on my GKE SA to map it to my GCP IAM one.
Do I need to mount a volume as mentioned here by @bkanuk: #319 (comment) ?

Figured this out - I had to delete the whole deployment and not just the pod for this to show in the containers file system.
However, still getting a permission error when trying to access my Artifact Registry repository

@legal90 Thanks for your solution here. I have added this to my helm chart because I'm trying to get this argocd-image-updater but am still hitting this issue:
denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource "projects/t-computer-410410/locations/europe-west4/repositories/boutique-app" (or it may not exist)
When I exec into my argo-cd-image-updater pod I can't see a /scripts directory which I'm assuming the script should get mounted to.
I've checked other things like the permissions on my SA itself and that is set to Artifact Registry Owner, along with the annotation on my GKE SA to map it to my GCP IAM one.
Do I need to mount a volume as mentioned here by @bkanuk: #319 (comment) ?

Figured this out - I had to delete the whole deployment and not just the pod for this to show in the containers file system. However, still getting a permission error when trying to access my Artifact Registry repository. Interestingly, when I run a "gcloud auth print-access-token" command and save the token details, it looks like this (much shorter token and this works when I try to access my registry) ya29.a0AfB_byA_q-IsTFhKXdjs32Q3vMVsQ6v1jw1u0BHr7g9Rz_YrEUt4BSJ6Ssvo3jHKd83ld0Utqrk9zLBSahL2G9KBk4P6S77aVDHIh9-leAgIyScfmpXqhj9d3UDj4UCz3wgy7uczqPBsadasb1nXkAnzXE4gY4VtJe8aCgYKAR4SARESFQHGX2MibS54WHYZ2-QB7nBrrtGwtg0178
But when I use your script to get an access token, it retrieves a much longer token which doesn't work when accessing my registry: ya29.c.c0AY_VpZiDwXg2Rh8co06iVcLjYS463stzOHTHTj3IoSGQDzvTeDAjJuxkghYz_Ss79b5T5y2IN4l1fiBsW6OW0AEThO3AH52Za8N2EWDsCOXgBQ6qjcODspPZsWHfiujPazJgCVcOJuGkVWVQwvryRelgopJyBdH_knOJ4CyVx07pf_trrmW_Nx6GSCRtzNrNmkUNOnTvoYUwUTqBi4oFgtUStqL05cYbHEWrtZ9Z3f1YjnDmYX-lrcwWLbEIUI4gwhBS2W908Ur9pClsacGkREK77NaPK3M_J_7shc1YUtoAITBbk1gL45xnfUgLQEuvS4YhmpdNvrbxNPLJMxy2bQcUVvPaStDrwPoCnxyzZ1gFH9Ngl_a3yBeWIKT1C9u92oH396DB3wwsidJmkbIa17udSslUwV-v2Bo8qYIVjku1sziOJqhrQRhpJI5Rlr22rww-i8cOarqVFf7ntkQO7_66b_5BcUXB3d2zJ3VqcJv71byigsYZrc87bef96jzdX8ee30Iys_mtsJ0cVFiy9IwJZUBYXF1_zmbjb1q165zaROidX2wZlY0jpIxQVXqufWOyjbBO4d-ds81UVcJVkIsiUF0jBnckSXXqaZ9RZ9u24uQjbijz7XtmB7peuFv9YzQ50fqm_xljxJri-yws8BouhFxoetzs56aziw4cM8lhAZoh7kOtj7Fmju9hZXp1-WRleyVZbVRVXQcJk6qR7j3m1dS-fv1hF-gzVcsW97-tSajuh8UbSFv7elxh7Rq0MY9I0sWSqBnXisYJwB2uxndfawj7ahdYOXXcY5wov3IQsZM7--9RyWYW9vtmBah1aoMy71QFvpZIc-5xX3aOJmp_Fo9B6_khZyOkVSkxp8m-UZ1elceBzXsipZXU3l-XXYp5QJi8zf6tp2q8-e70hkmwz89IBXJ8SkjXlsZxOFMUrYWu2o1ZBB9O53ywxrqX8F9Jr1Sc7sVcy08zbjFZmJlbX76cF2k1fSw53jj2eoqivUMMVo7n
I've changed these tokens so they won't work ;) But does anyone know why the shorter token would work, but the longer one would give a permission issue??

In the script, the command used for token invocation (wget --header 'Metadata-Flavor: Google' http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token) is exploiting an API call. It achieves two things:

leverages the Google Compute Engine Metadata Server API. This API provides access to instance-specific information like project ID, zone, and service accounts.
retrieves a short-lived access token associated with the default service account on the Google Compute Engine (GCE) instance.

On the other hand "gcloud auth print-access-token" command doesn't directly interact with an API endpoint. It utilizes the Google Cloud SDK libraries installed on your local machine to fetch and print an access token. So In essence, there's no single API endpoint involved.  The gcloud tool and the local SDK libraries handle the entire process of fetching and printing the access token using established Google Cloud authentication mechanisms.
I hope this sheds some light on the matter.

# values.yaml

config:
  registries:
    - name: Google Artifacts Registry - eu-west1
      api_url: https://europe-docker.pkg.dev
      prefix: europe-docker.pkg.dev
      credentials: ext:/scripts/gke-workload-identity-auth.sh
      credsexpire: 30m

authScripts:
  enabled: true
  scripts:
    gke-workload-identity-auth.sh: |
      #!/bin/sh
      ACCESS_TOKEN=$(wget --header 'Metadata-Flavor: Google' http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token -q -O - | grep -Eo '"access_token":.*?[^\\]",' | cut -d '"' -f 4)
      echo "oauth2accesstoken:$ACCESS_TOKEN"

Apart from the above don't forget to bind the GCP service account to the K8s service account in values.yaml:
  annotations: {
    # the GCP service account to bind the present k8s service account
    iam.gke.io/gcp-service-account<EMAIL_ADDRESS>  }

hi folks, i am getting another issue
time="2024-07-23T16:31:24Z" level=error msg="Could not set registry endpoint credentials: error executing /scripts/gke-auth.sh: fork/exec /scripts/gke-auth.sh: no such file or directory" alias=main application=airflow-prod image_name=ortege-ai-426222/ortege/airflow image_tag=2.8.3 registry=us-east1-docker.pkg.dev

I can find gke-auth.sh file inside the pod at /scripts/gke-auth.sh path correctly and also i can execute it without any issue inside the pod.
I don't have any idea why image-updater cannot find that file


Performance Comparison with NetVLAD

Hi, thanks for your work and sharing the code!
I have been comparing the performance of CosPlace (vgg16_512.pth) and NetVLAD (pre-trained on Pittsburgh, 4096-descriptor) on a custom aerial image dataset (2500 query images and 2500 gallery images; using image index in place of UTM coordinates since the traverses are exactly aligned, and 25 frames as the tolerance). I have been getting R@1 and R@5 as 38.02 and 53.6 using NetVLAD. However, it is only 33.2 and 40 in case of CosPlace. As mentioned in the paper, should it perform better? Am I missing something?

Hi, it is very difficult to find out where the problem is given so little information. Can you share the dataset, or at least one image?
Note that the domain gap between your dataset and the datasets used to train NetVLAD and CosPlace is probably very large, which can explain the low performances on your dataset. In our paper, we show that CosPlace largely outperforms NetVLAD on visual geolocalization / place recognition datasets, not on aerial datasets.
Also, using deeper nets should help to improve the results (we used a VGG-16 only for fairness with previous methods, but we advise using newer backbones). You can try a ResNet-18-512 for fast results, or a ResNet-152-2048 for best results.
I hope this helps

Hi,
Thanks for the prompt response. I agree about the domain gap, but I am using both NetVLAD and CosPlace in inference mode and results are better in the former. I would also like to add that I have tried PatchNetVLAD as well (in inference mode, pre-trained on pitts30k dataset, 4096-D) and it gives R@1 and R@5 as 67.09 and 78.25. So it should be safe to say that the NetVLAD methods are adapting better.
I tried the newer backbones, and surprisingly the results are poorer than VGG-16-512. Please find a summary of the results below:

Model
R@1
R@5

ResNet-18-512
29.8
32.9

ResNet-152-2048
26.6
31.7

VGG-16-512
33.2
40.0

NetVLAD 4096-D
38.02
53.66

PatchNetVLAD (4096-D, Patch sizes: 2,5,8)
67.09
78.25

This is the dataset that I am using (queries, database.

Thanks for sharing the results, they are quite interesting.
The images from your dataset are indeed very different from the ones in geolocalization, perhaps the more a network learns to solve geolocalization, the more it unlearns to solve your dataset. This would explain the negative correlation between results on datasets like Pitts30k and your aerial dataset. Also note that Patch-NetVLAD belongs to a different category of methods as it applies spatial verification for re-ranking: given that your images have little visual overlap (less than 50%), methods using spatial verification for re-ranking are expected to perform better


Showing Xrefs of a function when it is selected in the symbol list

This is a tentative feature suggestion: sometimes I wish to see the xrefs to a function without actually showing it. Showing xrefs for functions in the symbol list solves this problem. I am not sure if it will raise any other issues though. Anyway we are already showing xrefs when a function pointer is selected in the graph view.

This was implemented a long time ago


Create an SAP Fiori App Using SAP Business Application Studio

Tutorials: https://developers.sap.com/tutorials/appstudio-fioriapps-create.html
Step 3. SAP Fiori Freestyle Project appearing as deprecated in all the regions.

Step 7. Screen shot needs to be updated and step B can be removed or can be added as a NOTE.

Regards
Shivakumar P
Labels :
Landscape Labels: trail1, trail2, trail3
Sprint Label: SCPTest-2103A
SCPTest-fbizapp: Develop an SAP Fiori App Using SAP Business Application Studio
Priority label :‘Low-prio’

@raz if this is resolved, can you close this?


LDAP Interaction not work with legity tool like ADExplorer or MMC

i'm in latest version of interactsh and if i try to auth directly on interact sh server it created an error :

i try to auth like this:

¨
or like this:

I think the ASN1 reader is broken

@Serizao Just to confirm - Are you using https://learn.microsoft.com/en-us/sysinternals/downloads/adexplorer on a windows box? In case which windows version?

The fisrt is mmc and the second is  adexplorer from windows sysinternals. I use windows 11 but to me ldap call not depend of windows version. The interactsh run on linux


Strawberry Shake: Runtime ArgumentNullException caused by possible code generation bug when mapping response into "Data" object

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I'm in the situation where shake is not able parse the response and throws.
Steps to reproduce
I have created a repro repo where you can find my query that causes the problem.
I have a Listing. Listing is implemented by ListingSimple and Projekt. ListingSimple is implemented by Offer and Auction. Project has a field listings that is selection wrapper around [ListingSimple!]!.
I also have a query listing(..): [Listing]! where I would like to query all project listings. But it seems that Shake threats all Listings the same - I mean that if I query for non nullable field in "child project listings" it also nullchecks for that field in the "parent project listing" even though I did not query for that particular field (it is not present in the response) so an ArgumentNullException is thrown.
Relevant log output
System.ArgumentNullException: Value cannot be null.
   at Logic.Graphql.Generated.State.GetProjectDetailItemsResultFactory.MapNonNullableIGetProjectDetailItems_Listing_Listings_SatisfiesFilter_Items(IListingData data, IEntityStoreSnapshot snapshot) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 126814
   at Logic.Graphql.Generated.State.GetProjectDetailItemsResultFactory.MapNonNullableIGetProjectDetailItems_Listing_Listings_SatisfiesFilter_ItemsNonNullableArray(IReadOnlyList`1 list, IEntityStoreSnapshot snapshot) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 126787
   at Logic.Graphql.Generated.State.GetProjectDetailItemsResultFactory.MapNonNullableIGetProjectDetailItems_Listing_Listings_SatisfiesFilter(ListingSelectionData data, IEntityStoreSnapshot snapshot) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 126767
   at Logic.Graphql.Generated.State.GetProjectDetailItemsResultFactory.MapNonNullableIGetProjectDetailItems_Listing_Listings(ProjectListingsData data, IEntityStoreSnapshot snapshot) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 126752
   at Logic.Graphql.Generated.State.GetProjectDetailItemsResultFactory.MapNonNullableIGetProjectDetailItems_Listing(IListingData data, IEntityStoreSnapshot snapshot) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 126737
   at Logic.Graphql.Generated.State.GetProjectDetailItemsResultFactory.Create(IOperationResultDataInfo dataInfo, IEntityStoreSnapshot snapshot) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 126718
   at Logic.Graphql.Generated.State.GetProjectDetailItemsBuilder.BuildData(JsonElement obj) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 144275
   at Logic.Graphql.Generated.State.GetProjectDetailItemsBuilder.Build(Response`1 response) in /Users/janbejvl/Development/Infinityloop/nemovizor-client/NemovizorBridgeShake/Generated/BridgeClient.StrawberryShake.cs:line 144237

Additional Context?

Note: I'm 100% sure that there is no null value in non-nullable field.
Product
Strawberry Shake
Version
12.12.1

We've the same problem with thrown exceptions handled with IErrorFilter. We can transform the exception for GraphQL, but the Query has non nullable return defined and strawberry shake will cause the same exception afterwards in our clients.


Plugin not considering spirit tree

It was working for my main but not this account. In my main I unlocked spirit tree, gnome slider and fairy ring, but on this account I only have spirit tree. Maybe this is the issue?
on current account:

on my main:

Have you completed both Tree Gnome Village quest and The Grand Tree quest? Tree Gnome Village quest gives access to spirit trees, but The Grand Tree quest is required to travel from or to the spirit tree in the Tree Gnome Stronghold.

I see! The plugin worked fine after I finished the grand tree yesterday.
I dont know if worth to fix: the grand tree only unlocks the from trip
from spirit tree, all the to trip worked even before the quest. Also
before the grand tree quest, when I want to travel from the ardougne cape
teleport to GE, the plugin wont show the option to use spirit tree, but
that path is unlocked by gnome stronghold quest.
On Thu, Nov 14, 2024 at 07:42 Skretzo @.***> wrote:

Have you completed both Tree Gnome Village quest and The Grand Tree quest?
Tree Gnome Village quest gives access to spirit trees, but The Grand Tree
quest is required to travel from or to the spirit tree in the Tree Gnome
Stronghold.
—
Reply to this email directly, view it on GitHub
https://github.com/Skretzo/shortest-path/issues/117#issuecomment-2476260407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKFCA6KSJWKYZKFFF4BDWW32ASLERAVCNFSM6AAAAABRX4PXH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZWGI3DANBQG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

the grand tree only unlocks the from trip from spirit tree, all the to trip worked even before the quest

Interesting. I have changed the plugin to work like you describe.

Also before the grand tree quest, when I want to travel from the ardougne cape teleport to GE, the plugin wont show the option to use spirit tree, but that path is unlocked by gnome stronghold quest.

The plugin was incorrectly assuming that The Grand Tree quest had to be completed to use spirit trees. This should be fixed now to only require Tree Gnome Village quest.
All the fixes should be live in the client already in version 1.16.6.


Bot token not being sent over in chat.unfurl() call

Description
Describe your issue here.
Hello team, we are having an urgent issue as our customers are not able to use our unfurl functionality. I have been in contact with slack support and it seems as though the bot token is not being sent in the chat.unfurl() requests.
This is how we are handling the "link_shared" event:

In the handleLinkUnfurls() method, we are using the client to send the unfurl request:

Looks like sometimes the bot tokens are being sent over but sometimes they are not which is resulting in us getting an "invalid_auth" error for those requests. I was able to confirm with slack support that the bot token is indeed NOT getting sent over.
What type of issue is this? (place an x in one of the [ ])

[X] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[X] I've read and agree to the Code of Conduct.
[X] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.11.1
node version: 14.17.3
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen: i expect the bot token to be included in the clients request to the chat.unfurl() method.
Actual result:
What actually happened: the bot token is not included, resulting in a failed request.
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hi, @austinparkk! Thanks so much for reaching out with this question.
Based on the logs for your failed unfurl requests, it looks like a team_id parameter is being sent rather than the bot token that is expected. Since the team_id parameter is being sent, this is causing the invalid_auth errors. This could be due to how you're initializing your client that is being used to call the chat.unfurl request. Is there a part of your code that could be accidentally passing this team_id in so that the client is using that instead of your bot token?

hey @hello-ashleyintech are you sure that this is the case? i was able to update our logs to print the bot token being sent with the request and it actually seems like the bot token is actually being sent in the requests where are receiving the invalid_auth errors. However, the bot token being sent does not match the token we have for them in the DB. im wondering if we are receiving the wrong bot-token in the link_shared event which is causing us to send over the invalid token that we received. Is it possible we are receiving an old bot token from before they reinstalled the app with new scopes?

@austinparkk, thanks for the quick reply!
Hmm, that is definitely strange behavior. In your app initialization, are you using an installationStore? If so, how are you implementing it? Is it possible that it has been implemented in a way that is pulling a different installation from the DB than expected?

@hello-ashleyintech so it seems like i may have been wrong. i was looking at the token field on the client which Aubrey told me is the Full token which is different from the bot token.

@hello-ashleyintech are you able to hop on a call with me? So i am not exactly sure how we would be sending the team Id over instead of the bot token. I am trying to find how we are initializing our client. Also its weird that sometimes we are sending the team ID and sometimes we are sending the correct bot token?

@hello-ashleyintech I was under the assumption that bolt automatically uses the bot token for the app on the incoming event. is this not true?

@hello-ashleyintech i figured out the issue.


add startle gifs from giphy

Describe the idea or feature
get 5 -6 startle gifs from giphy and add it's links to general.py in cogs folder.
In the following gif list

still open ?


Adding Affinity for Cruise Control

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
#844

License
Apache 2.0

Description
This PR is meant to add the option of specifying an Affinity configuration for Cruise Control pod.
Type of Change

[x] New Feature

Checklist

[x] I have read the contributing guidelines
[x] Existing issues have been referenced (where applicable)
[x] I have verified this change is not present in other open pull requests
[x] All new and existing tests pass

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

Hey @shubhamcoc, thank you for your contribution!
Quick comment - looks like you copied what we have under the api/ directory to a new directory pkg/sdk/ and it introduces a lot of unnecessary changes in the PR. Is this intended?

Hi, Yes I have done it because locally the test was failing, so I have to replace api package with ./pkg/sdk/ in go.mod. I can remove it, but not sure if tests will pass here, so wanted to ask how should we test it?

Hi, Yes I have done it because locally the test was failing, so I have to replace api package with ./pkg/sdk/ in go.mod. I can remove it, but not sure if tests will pass here, so wanted to ask how should we test it?

Got you. What I do whenever I need to make changes to the api directory for development is to add this line to the root go.mod:
github.com/banzaicloud/koperator => ./api

This tells Go to use the ./api from your local machine instead of the tagged version defined here

Note: remember to remove this line when you submit PRs

When you submit PR, you need to do the following steps:

Submit one PR for the changes within the api directory. We will create a tag once the PR is merged so the newly introduced changes can be used in the next step
Then submit another PR for the rest of the changes, and this PR would upgrade to the new API version tag that we released in step 1 (e.g. upgrading here to the new tag version)

We are aware that the current development process is quite cumbersome and we are planning to improve it.
Please feel free to join our Slack space where we can provide help in a more timely manner

Hi @panyuenlau, I have kept the changes related to api packages in the current patch. Kindly review it.

Hi @panyuenlau, Looks like I will need an invitation to join your slack channel. Can you provide an invitation?

Hi @panyuenlau, Looks like I will need an invitation to join your slack channel. Can you provide an invitation?

@shubhamcoc Thanks for reporting the issue to us, we weren't aware that now it would take an invitation to join our Slack.
I've just sent an invitation to<EMAIL_ADDRESS>let me know if I should send to a different address

Hey @shubhamcoc, the new API tag https://github.com/banzaicloud/koperator/releases/tag/api%2Fv0.26.0 has been released, looking forward to your PR about the implementation!


Lack of x86 and UWP dll version in AGS 5.4.0

There is no x86 and UWP dlls in AGS v5.4.0

Do you specifically require either of these?  It seems from other requests, people do still need the x86 versions sadly, so I will be providing those on request and next release will include them as standard.

Well currently I can stick to AGS v5.3.0 but I will need further x86 versions because like you wrote before people still use them.

I've added more binaries now in 5.4.1, including x86.


feat(webook): add gin and cors, introduce front-end, update .gitignore

This commit incorporates gin and cors, introduces a front-end interface for better user interaction, and updates the .gitignore file to ensure proper file exclusion. These additions and updates enhance the project's functionality, user experience, and repository cleanliness.

LGTM


fix(Task, Section, Project): additional integer overflows for order

I hope it's ok to go straight for a pull request, with your last commit as a guide.
I am still getting invalid range errors, this time negative numbers. Using jq, I filtered out unique order from tasks, sections, and projects. Because order in one of my tasks is<PHONE_NUMBER>, which happens to be max signed int 32. I figured i32 would be a safe choice.
Tasks
curl --header "Authorization: Bearer <API_TOKEN>" https://api.todoist.com/rest/v2/tasks | jq -c 'sort_by(.order) | unique_by(.order) | [.[].order]'

[-9,-8,-7,-6,-5,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,24,25,2147483645,2147483646,2147483647]

Sections
curl --header "Authorization: Bearer <API_TOKEN>" https://api.todoist.com/rest/v2/sections | jq -c 'sort_by(.order) | unique_by(.order) | [.[].order]'

[-1,0,1,2,3,4,5,6]

Projects
Even though the numbers would fit, I figured for consistency, order for Project should be modified as well.
curl --header "Authorization: Bearer <API_TOKEN>" https://api.todoist.com/rest/v2/projects | jq -c 'sort_by(.order) | unique_by(.order) | [.[].order]'

[0,3,4,5,6,7,8,9,10]

Everything seems to be working. Now that I can run it, I like what I see so far!

LGTM


MediaStreamSource

I managed to get a media stream source ready. It supports play & pause now and if you give me a couple more hours/days/weeks/months/years I will get seeking working too.
Basically, what you need to get play&pause working is to modify the MediaStreamSource_starting event and call args.request.SetActualStartPosition to some value which is different than a 0/0/0/0 timespan. This can be easily done by setting said timespan to the playback position of the last played sample before the pause.
You also need to detect if the starting event was called because of resume after pause, or after seeking.

Apparently, the quad core windows phones support 24 bit audio.
FLac goes out of memory in a few minutes xD

@mcosmin222 Hmm, as far as I know FLAC doesn't support 24 bit audio.

Ok so I found out the trickery to have buffer time AND be able to respond to pauses and resume properly. In the paused even, you have to set the buffer time to zero. Then in the starting event restore it whatever value you want it to have. Genius isn't it? we should have thought of this earlier. I think the buffer time helps you implement gapless playback.


Looking for some assistance with building one

Hi All,
I am looking for some assistance with setting up an exchange.
https://mapleleaftech.slack.com/messages/CBV3K6011/
I hope we can discuss it in the slack group.

Add my email to slack and lets discuss in detail<EMAIL_ADDRESS>

I am interesting too, please add my email<EMAIL_ADDRESS>

Added

这里讨论也不错嘛，呵呵

@johnngo @sharjeelm @87980715 @yunhui0501 @djpnewton
I've successfully set up the exchange. You can read my journey here. Don't forget to put a star on a repo :)

@ohld  looking forward to it :)

Hi All,
I am looking for some assistance with setting up an exchange.
https://mapleleaftech.slack.com/messages/CBV3K6011/
I hope we can discuss it in the slack group.

can you add my email id<EMAIL_ADDRESS>am intersted.

@ohld I message you


More Swift 6 changes

Fix errors in Swift 6 language mode
Drop pre-6.0 compilers

Superseded by #38. Avoiding dropping 5.10 for now.


Added the IBM VPC tagging

Type of change
Note: Fill x in []

[ ] bug
[x] enhancement
[ ] documentation
[ ] dependencies

Description
Added the tag_resource policy to tag IBM resources:
List of resources tagging in IBM:

"virtual_servers",
"volumes",
"floating_ips",
"vpcs",
"virtual_network_interfaces",
"security_groups",
"public_gateways",
"vpc_endpoint_gateways",
"load_balancers",
"schematics_workspaces"

ENV's to support:

IBM_CUSTOM_TAGS_LIST : "cost-center: 675, key:value" # format
RESOURCE_TO_TAG: "virtual_servers" # tag specific resource

For security reasons, all pull requests need to be approved first before running any automated CI

Great job,
Is it support also VM ware ?

Great job, @athiruma, is it include: VCF as a Service - Cloud Director Site ?

I think, schematics_workspaces is related to VCF.  Not exactly but it will give us an understand which resources are missing and will add it in next phase.

@athiruma, can we merge it ?

@athiruma, can we merge it ?

Yes


feat: Add SafeArea to ScannerOverlay page

What

This PR adds a SafeArea to the buttons on the ScannerOverlay page to prevent them from appearing under the status bar.

Screenshot

before
after

Fixes bug(s)

#1099

Part of

https://github.com/openfoodfacts/smooth-app/issues/525
(please be as granular as possible)

Why not putting it around there when it works, as long as no other things get cropped away. When putting it around everything it will again also crop the CameraPreview

@M123-dev I don't agree, but not to the point of preventing the PR from passing.

The SafeArea should rather be on the top element (in that case the Container), shouldn't it?

That isn't always the case. I got the idea for this from how the MaterialBanner avoids the status bar. It is wrapped in a SafeArea of it's own so that it can avoid the status bar when the page it's on doesn't have an appear

Lets check how it looks and we can always change things later

Merged @danagbemava 👍🏼


FormAction: Last Slot is extracted but still printed as None

Hi,
I am using the latest version. In my code, I have 5 slots. When I use FormsAction, first 4 slots are filled and printed or can be used for further processing. The last Slot is extracted properly as per the log. But its value is not printed or can not be used for any further action. Looks like a bug!

Thanks for raising this issue, @Ghostvv will get back to you about it soon.

please fill in the issue template and provide debug logs

looks like i am in the same boat 🚤
grabbing the formbot example i have the following conversation:
< yo

Hello! I am restaurant search assistant! How can I help?

< restaurant please

what cuisine?

< italian

how many people?

< 5 people

do you want to seat outside?

< hell no

please provide additional preferences

< lets just get it done

please give your feedback on your experience so far

< this wont show up
if you modify the submit method of the FormAction to
dispatcher.utter_template('utter_slots_values', tracker)
the output is as following

I am going to run a restaurant search using the following parameters:

cuisine: italian
num_people: 5
outdoor_seating: False
preferences: lets just get it done
feedback: None

compared to the - utter_slots_values from the stories.md

I am going to run a restaurant search using the following parameters:

cuisine: italian
num_people: 5
outdoor_seating: False
preferences: lets just get it done
feedback: this wont show up

the log around that is as following:
rasa_core.processor  - Received user message 'this wont show up' with intent '{'name': 'greet', 'confidence': 0.7584654092788696}' and entities '[]'
rasa_core.processor  - Logged UserUtterance - tracker now has 36 events
rasa_core.processor  - Current slot values:
	cuisine: italian
	feedback: None
	num_people: 5
	outdoor_seating: False
	preferences: lets just get it done
	requested_slot: feedback
rasa_core.policies.memoization  - Current tracker state [None, {}, {'prev_action_listen': 1.0, 'intent_greet': 1.0}, {'intent_greet': 1.0, 'prev_utter_greet': 1.0}, {'intent_request_restaurant': 1.0, 'prev_action_listen': 1.0}]
rasa_core.policies.memoization  - There is a memorised next action '12'
rasa_core.policies.form_policy  - There is an active form 'restaurant_form'
rasa_core.policies.ensemble  - Predicted next action using policy_3_FormPolicy
rasa_core.processor  - Predicted next action 'restaurant_form' with prob 1.00.
rasa_core.actions.action  - Calling action endpoint to run action 'restaurant_form'.
rasa_core.processor  - Action 'restaurant_form' ended with events '['SlotSet(key: feedback, value: this wont show up)', 'Form(None)', 'SlotSet(key: requested_slot, value: None)']'
rasa_core.processor  - Bot utterance 'BotUttered(text: I am going to run a restaurant search using the following parameters:
 - cuisine: italian
 - num_people: 5
 - outdoor_seating: False
 - preferences: lets just get it done
 - feedback: None, data: {
  "elements": null,
  "buttons": null,
  "attachment": null
})'
rasa_core.policies.memoization  - Current tracker state [{}, {'prev_action_listen': 1.0, 'intent_greet': 1.0}, {'intent_greet': 1.0, 'prev_utter_greet': 1.0}, {'intent_request_restaurant': 1.0, 'prev_action_listen': 1.0}, {'prev_restaurant_form': 1.0, 'intent_request_restaurant': 1.0}]
rasa_core.policies.memoization  - There is a memorised next action '7'
rasa_core.policies.form_policy  - There is no active form
rasa_core.policies.ensemble  - Predicted next action using policy_2_AugmentedMemoizationPolicy
rasa_core.processor  - Predicted next action 'utter_slots_values' with prob 1.00.
rasa_core.processor  - Action 'utter_slots_values' ended with events '[]'
rasa_core.processor  - Bot utterance 'BotUttered(text: I am going to run a restaurant search using the following parameters:
 - cuisine: italian
 - num_people: 5
 - outdoor_seating: False
 - preferences: lets just get it done
 - feedback: this wont show up, data: {
  "elements": null,
  "buttons": null,
  "attachment": null
})'
rasa_core.policies.memoization  - Current tracker state [{'prev_action_listen': 1.0, 'intent_greet': 1.0}, {'intent_greet': 1.0, 'prev_utter_greet': 1.0}, {'intent_request_restaurant': 1.0, 'prev_action_listen': 1.0}, {'prev_restaurant_form': 1.0, 'intent_request_restaurant': 1.0}, {'intent_request_restaurant': 1.0, 'prev_utter_slots_values': 1.0}]
rasa_core.policies.memoization  - There is a memorised next action '0'
rasa_core.policies.form_policy  - There is no active form
rasa_core.policies.ensemble  - Predicted next action using policy_2_AugmentedMemoizationPolicy
rasa_core.processor  - Predicted next action 'action_listen' with prob 1.00.
rasa_core.processor  - Action 'action_listen' ended with events '[]'

Reopening for further investigation

please open a new issue :)

core 0.14.0a6


Fix randomly failing throttle.js spec

nice

Lesson learned: tick() doesn't work with Date until you actually mockDate() 😄


serde_untagged_optional doesn't handle when field does not exist.

Hi, not sure if there's a good way to handle this, but I wanted to use Option like I usually do in serde where if the field does not exist it is None, however this is not how it works here:
use serde::{Deserialize};
use either::Either;

#[derive(Deserialize, Debug)]
struct Test {
    #[serde(with = "either::serde_untagged_optional")]
    field: Option<Either<String, Vec<String>>>,
    another_field: u32,
}

fn main() {
    // deserialization
    let data: Test = serde_json::from_str(
        r#"{"another_field": 6}"#
    ).unwrap();
    println!("found {:?}", data);
}

This panics because field is not found.
I've worked around this issue by just having a container struct for that particular field and just use either::serde_untagged but was just curious if this was intended behavior or not.
#[derive(Deserialize, Debug)]
struct Container(#[serde(with = "either::serde_untagged")] Either<String, Vec<String>>);

#[derive(Deserialize, Debug)]
struct Test {
    field: Option<Container>,
    another_field: u32,
}

Looking at cargo expand, it seems that serde generates a call to serde::private::de::missing_field for unannotated fields, which sets None if the type is any Option<T>. However, it doesn't have this fallback when #[serde(with = "...")] is used -- maybe that's a serde bug?
I don't think there's anything that we can do about that here in either, because our custom code is never called if there's no field. From your side, you can use #[serde(default, with = "...")] to get around this.

Heh, yeah was just playing on my own and was going to come back here with the same solution 👍


Gravi research costs 900.000 energy after making change to game speed

After changing the game speed to 3, the energy cost for the gravi research is caculated wrong:

Dublicate of  #248


Refactor ImageClassification backbones

What does this PR do?

Breaks the backbones.py file into parts for easier maintainability.
Adds wide resnet weights from vissl.
Updates resnet architecture to accommodate wide resnet weights and customizations for ssl resnet based training.
In process, the PR removes the requirement of torchvision for the resnet backbones.

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests? [not needed for typos/docs]
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @ananyahjha93! Thanks for opening this PR.

In the file flash/image/backbones/resnet.py:

Line 26:57: E241 multiple spaces after ','
Line 359:9: E131 continuation line unaligned for hanging indent
Line 365:9: E131 continuation line unaligned for hanging indent
Line 413:50: E261 at least two spaces before inline comment

Do see the Hitchhiker's guide to code style


Store translation paths relative to the extensions directory

Fix #54746
Store translation paths relative to the extensions directory

@dbaeumer I have changed languagepacks.json file to store extension directory relative paths to translation files. For old users, this files gets converted to relative paths on first restart. On main before prepending extensions direction, you have to check if the path starts with extension directory or not for backward compatibility.

I will have a look next week. Please ping me if I forget.

Can this patch ready to go? I am look forward. @dbaeumer

@sandy081 The code changes are OK however we need to think about how we continues with this. The biggest problem is that extensions rely on vscode-nls which relies on this information as well (I copy it into a tcf.json file). I need to make the paths in there relative as well to make things work correctly. However extensions need to adopt a new version of vscode-nls to ensure this works.
To be backwards compatible with extensions using an older version of vscode-nls I basically need to store the absolute and the relative information.
Lets discuss this next week. May be you have a better solution. I am not a fan of having to maintain both :-)

Does anyone still focus this issue? The issue exist for a while, if you guys have some move then please let me know. thx.

Given our current priorities this is out of scope for the next months. But IMO still something we should tackle.

@sandy081 did you ping me on this. I got a GitHub notification?

@dbaeumer Sorry for that, I was testing some PR comment features and randomly picked this. Sorry for the inconvenience.

Closing this as associated is out of scope


Give all threads a custom name

Description

All threads should have a custom name
Also added getConnections() to return an unmodifiable list
Related Issue

Fixes #666
Motivation and Context

Clear names and clean up
How Has This Been Tested?

Issue666Test
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

while the variable is named writeThread, the thread in question is not a writing thread, but a connecting/reading thread. also, getId() returns a number that uniquely identifies all threads, while it would be nice to have the threads working “together” having the same number (e.g. WebSocketWriteThread-1, WebSocketConnectReadThread-1 and WebSocketTimer-1)

Hello @oakkitten,
thank you for the feedback.
The question is, if the getId() information is more important then "workspace-id".
I personally think that most of the users expect the id at the end to represent getId().
I also cannot add getId() to the constructor of Timer since the thread does not exist yet.
Do you think there is any benefit using the "workspace-id"? Like for most of the users which just run one connection.
Could you also just open a simple pull request for the wrong name? Thank you! :)
Greetings
marci4

in my app, i only run one connection, but when there's a connection drop i reconnect, and my logging system logs thread names, and it's nice to know that i had a problem with WebSocketWriteThread-1 and not WebSocketWriteThread-2, for instance. also, things like Timer use their own serial numbering for their threads, so it seems that different “kind” of threads should use their own increments. well, just my opinion, anyways
now while it's easy to have the same number for writing/reading threads, i'm not sure if threads that are not created each time, such as that WebSocketTimer thing again, should have the “workspace” number. that is, if i create and destroy 3 connections, i create and destroy WebSocketWriteThread-0, -1, and -2 but i might have only created one single WebSocketTimer; now should the next WebSocketTimer be called WebSocketTimer-1 or WebSocketTimer-3?
aaand perhaps WebSocketTimer can be something more descriptive like ConnectionLostTimer or -Watcher or maybe PingTimer, since it also sends pings?

For me the biggest problem with the workspace id is that you have to set it on your WebSocket instance yourself since it cannot know that there was a WebSocket running already (e.g. two instances where stopped, you start a new one --> ID = 1 even though it should be 3.
No you cannot reuse the Timer for multiple connections, each WebSocket gets its own timer.
Yeah I see, I'm not really good at naming stuff ;)
Will change this then!
Apart from that, I added a method to reconnect a WebSocketClient in 1.3.8. You may wanna check this out ;)
Thanks again for the feedback!
Greetings
marci4

set it on your WebSocket instance yourself

why not go the usual way and use a static atomic integer?

No you cannot reuse the Timer`

i cannot, but i can disconnect before i'm connected, in this case the Timer just doesn't get created

I will take a look at this again.
Thank you for your feedback :) Much appreciated!
Greetings
marci4


Comment change: "authenticationRegion" comment is confusing since it is deprecated

In ClientConfiguration.h, right above the endpointOverride member, you have the following comment regarding the no-longer-exist authenticationRegion field:
/**              * override the http endpoint used to talk to a service. Use this in conjunction with authenticationRegion. */ Aws::String endpointOverride;
As far as I understand it authenticationRegion is not longer in use and no longer needed for overriding the endpoint so the second part of the comment can be removed.

Thank you, will update the comment ASAP.

Removed related comment in https://github.com/aws/aws-sdk-cpp/commit/84ccbb15a0f9dc26eb7f10a60cd399858ad18982, thank you for your suggestions again.
Issue closed, please reopen it if you have any other question.

Removed related comment in https://github.com/aws/aws-sdk-cpp/commit/84ccbb15a0f9dc26eb7f10a60cd399858ad18982, thank you for your suggestions again.
Issue closed, please reopen it if you have any other question.


roon-{bridge,server}: use stable src urls

roon-server: use upstream stable URL for src
roon-bridge: use upstream stable URL for src

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.


.Net: Using a custom LLM for memories to establish a link between the document and the custom LLM

I searched alot but in vain, the feature that i would like is that uptil now if we use memories of semantic kernel it uses openai or azure service but what if we wanted to use memories with a model that has been downloaded or either with LMStudio. So that whenever a document is uploaded through "importDocumentAsync" and when the user asks a question the response should come from the document through the local model not through azure or openai service , also the embeddings should be generated by a local model that is downloaded.

@markwallace-microsoft I've implemented this in KM if someone wants to port the code to SK, the relevant code change can be found here https://github.com/microsoft/kernel-memory/pull/380

@RogerBarreto could you look at the "embeddings should be generated by a local model" aspect of this issue.

Like Syed, I've searched a lot on this topic as well and just happened to find this issue in the Discord. I see that this issue has hit the backlog so I'm expecting to have to build in the meantime that can handle memories. Before I start down the path of a "side-loaded" local semantic memory implementation I just wanted to confirm my understanding of a few things here:

MemoryBuilder  will not work without a text-embedding model
The text-embedding models in Semantic Kernel are limited to Azure or OpenAI services
Using anything outside the two services above will not function with Semantic Kernel and must be manually implemented as a function or plugin for use by an Agent or within a Planner.

The reason I ask confirmation is because I'm currently overriding the AddOpenAIChatCompletion in the KernelBuilder with a DelegatingHandler and a local OpenAI API but it doesn't seem like an override would be possible in this context and I would just have to build something to side load into a function/plugin for my Agent.


Add new insulin settings for 600-series

Fixes https://trello.com/c/7hyUrl24

@gniezen - it's only just occurred to me. Would it make more sense to close this PR, and open a PR against your add-pump-settings branch instead?

 Additional pump settings

In terms of being able to test everything together it will probably make more sense to branch of my PR, yes :+1:

Closing this PR, and re-opening a new PR against add-pump-settings

Closed in favour of https://github.com/tidepool-org/chrome-uploader/pull/698


test(concurrency): test decrease_validation_index

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.98%. Comparing base (dde3ebc) to head (d8fde2f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1776      +/-   ##
==========================================
- Coverage   75.17%   74.98%   -0.19%
==========================================
  Files          60       63       +3
  Lines        8551     8806     +255
  Branches     8551     8806     +255
==========================================
+ Hits         6428     6603     +175
- Misses       1699     1771      +72
- Partials      424      432       +8

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

crates/blockifier/src/test_utils/struct_impls.rs line 187 at r3 (raw file):
Previously, noaov1 (Noa Oved) wrote…
The test is not needed since it's a module defined in test_utils :)

Do you think it's the right place for this macro?
WDYT about:

crates/blockifier/src/test_utils.rs
Somewhere in the concurrency dir, maybe in a new test_utils file?

crates/blockifier/src/test_utils/struct_impls.rs line 208 at r3 (raw file):
Previously, noaov1 (Noa Oved) wrote…
I don't have a strong opinion.  I think that one option is okay but your choice

I think it could drive crazy someone who will try to use the second option and will not understand why it doesn't compile. If he notices that it works the other way around, he will use the "working but not ideal" option instead of trying to modify the macro, so I leave it with the two options.

crates/blockifier/src/test_utils/struct_impls.rs line 187 at r3 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Option 2 sounds good.

Done.


Support minimum versions of dependencies

Revisit pinning dependency versions vs. supporting a minimum version of pandas, Matplotlib, etc.
Related to #52

Use latest versions of dependencies c200cb3


Ticket N°4::1:Perform automatic release notes creation

@Christiantyemele
Can i please get a description for this ticket ?


change insert request timeout implementation to enable sharing http client instance

This change introducing using the context.Context member on the
http.Request struct for timeouts rather than creating a new http.Client
for every request. This allows for connection to be cached (so that a
users are not forced to establish a new https connection for every
request) while maintaining the same functionality. A test was also
added to prove that timeouts still work.

Not sure why the linter check are failing on code I haven't touched, seems like maybe it got updated or additional stuff was turned on without being run again the code?

Linting is broken due to the golangci-lint config enabling all, then blacklisting.  The magic number linter must be newly added.  I'll get a quick PR put together to resolve that, then you can rebase.


problem with configuring jenkins:config_hash

HI
I need to configure slaveAgentPort, i use such code for installing jenkins with plugins:

include jenkins

$plugins = [
  'swarm'
]

jenkins::plugin { $plugins:
}

but i ca not figure out what should be syntax to use config_hash
$config_hash = {
        'slaveAgentPort' => { 'value' =>  22222}
}

jenkins::config {$config_hash}

^this of course is not work
Error: Could not parse for environment production: Syntax error at '}' at /etc/puppet/manifests/site.pp:15 on node ip-10-5-148-210.ec2.internal
Error: Could not parse for environment production: Syntax error at '}' at /etc/puppet/manifests/site.pp:15 on node ip-10-5-148-210.ec2.internal
```

can anybody suggest how to fix this?

This worked for me from hiera common.yaml
jenkins::params::config_hash        		: { JENKINS_PORT: { value : '8090' }, JENKINS_HOME : { value : '/opt/mount2/jenkins' } }

Hi @michalbagrowski - I'm going to close out this issue.  Please feel free to reopen it if you can reproduce the problem with the current release.


feat: add webhook event types

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

What issue does this change solve?
This PR aims to add webhook event types to the codebase for developer guidance.
See #5
Additional context
None

Hey @orimdominic thank you for picking this up🔥. I'll review and share feedback

Hey @orimdominic apologies for the delay in reviewing this PR due to limited bandwidth on my end. It's definitely on my radar and I'll try to get to it as soon as I can.

I understand.


Change Brake default timeout to more than 15000 ms

Him
While using the client, I get many timeout errors all after 15000 ms. I tried to change the timeout from gprc options directly which works up to 15000 ms, not above.
Below a simplified version of the code.
let helper = new grpc_helper.GRPCHelper({
      packageName: '<MY_PROTO>',
      serviceName: '<MY_SERVICE>',
      protoPath: PROTO_PATH,
      sdUri: `static://<MY_ENDPOINT>`
});

let timeout = new Date().setSeconds(new Date().getSeconds() + 60)
const st = new stream.PassThrough({ objectMode: true });
const promise = helper.<MY_GRPC_METHOD>(st, {deadline: timeout});

I looked at Brake and there is a default timeout of 15000 ms. Is there a way to change that option?
Thanks,

I found the solution, I just added a brakeOpts in the helper constructor:
let helper = new grpc_helper.GRPCHelper({
      packageName: '<MY_PROTO>',
      serviceName: '<MY_SERVICE>',
      protoPath: PROTO_PATH,
      sdUri: `static://<MY_ENDPOINT>`,
      brakeOpts: {
           timeout: 60000
      }
});