Work in Progress - show how we might change ElementFinder to not

always be a promise.

I'm pretty sure the failures with filter are not due to the specific change here, but are another problem introduced by webdriverJS 2.45. We used to rely on the logic that was changed in https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md for version 2.45.0, where already-resolved promises .then was called immediately.

@hankduan could you take a look at this idea? The only tests that I had to disable were tests which specifically made sure that element().then works, not tests which actually did something practical. I can't think of any good reason for doing element().then, and honestly I think it's just caused confusion in the past, so I'd be happy to remove it. Can you think of any reason not to?

Just my two cents, but many promises are confusing in protractor. Instead of element(many).then I'd happily write element(many).each to be consistent with other frameworks, and indeed remove then as much as possible when not needed.

LGTM if we're okay with the notion of removing then from element(by.xyz). Even though it is possible to do everything without that then, I feel like many users are going to run into a lot of issues upgrading because they're using the then.

Last piece of sanity check:
Is removing the inheritance going to break code that checks for promise, i.e:
https://github.com/angular/protractor/blob/master/lib/protractor.js#L332
https://github.com/angular/jasminewd/blob/master/index.js#L173
https://github.com/angular/protractor/blob/master/lib/protractor.js#L723
If that's all good, do we need this still? https://github.com/angular/protractor/blob/master/lib/element.js#L967

Re: sanity check
Good catch for isElementPresent - I added tests and updated the lib.
The jasmineWD wrappers will work because promise.isPromise just checks if it has a then function.
Same for the last protractor link.
I think we're ok to remove isPending. All tests are passing without it.

Also an idea to update the protractor documentation? We were getting the then is not a function error, and it took us a while to figure out that support has dropped.
However on a side note, a use case for element.then would be if you are using the browser.executeScript, with for example the scrollIntoView with a reference to the element. Now, we have some issues with the infamous "Element not clickable at point" because we did this:
    var el = element(by.model('something');
    browser.executeScript('arguments[0].scrollIntoView()', el.getWebElement()).then(function(){
      // this produces sometimes the element not clickable because of a race condition, depending
      // whether the element promise was resolved in time.
    });


casting pointer types to and from (p void) just seems like unnecessary verbrosity

(p void) is not useful without casting another pointer to or from it.
Function dispatch for pointers could work similar as for untyped macros, so if a function takes (p void) as argument, and is called with a (p T), and the function has no overloading for (p T) the version with (p void) could be called without explicitely casting it.
And to avoid casting from void to a type, it would be useful, if functions, that use pointers to functions that take a (p void) you also could call it with a function that takes a function to (p T).
Since this would requre to edit the core (and as long the macro dispatch doesn't work correctly) this isnt important.

Because of the answer in #112 this seems to be wanted to be solved as macros


feat: Partner Show Notification page

Addresses ONYX-749
Description
Partner Show Notification page.

https://github.com/artsy/force/pull/13652


GitHub Docs

You should feature this program on a GitHub doc page so people can seer and run your code without having to install it.****

How do I do that? I've only ever used GitHub for storing the source for my applications, never to make Github run the application.

https://docs.github.com/en/pages

Ok, I'll have a look into that.

Its live at https://kablammoman.github.io/Img2DFT/!


add conda recipe and badge

Great work on this!
Adding this PR because having a conda recipe is great to daisy-chain complex dependencies (especially those that require C++). I am happy to shepherd the recipe, or if you would want to be added as a maintainer. 😄

Thanks for contributing! Adding a conda recipe is a good idea. I just tested and it works correctly.


Make the 'version' property of STIXPackage read-only

This is derived from issue #269.  That issue said setting the version didn't work (didn't "stick") but in the discussion it was concluded that that's intended.  Instead, the version property should be read-only.

Looks like I fixed this with commit daf800e.


[FAB-17109] Retrieve ReConnectBackoffThreshold as duration

Type of change

Bug fix

Description
Parses ReconnectBackoffThreshold from config as duration then converts to float64
Related issues
FAB-17109

why is it a draft? what is left to do?

@yacovm nothing is left, I was only working on the fix for 1.4.3 alongside this.


Reorganization into sub-feedstocks

Our initial design for the data ingestion was to maintain a single feedstock with many recipe modules in it, but only a single requirements.txt and meta.yaml.
I have discussed this with @cisaacstern and we both believe we are hitting the limits of this approach and need to restructure this feedstock.
It seems that we were actually building an invalid meta.yaml all along (by adding provenance data to each 'id' item, without noticing it until more strict yaml schema checking was implemented recently.
I think we inherently want each recipe to have its own separate provenance information, and thus need to move to a single feedstock per recipe. We might go as far as providing a separate runner config per recipe, which would be quite cool, since it enable a different target bucket, dataflow worker options, dataflow prime etc per recipe (I think @cisaacstern mentioned this would be very helpful for the climsim dataset).
I have gone ahead and implemented a prototype in #75 which depends on a pretty hacky change in the deploy-recipe-action(this is still in need of review and discussion).
I would like to implement this ASAP for the whole repo, but wanted to first check if this will impact the catalog in any way?
@andersy005 @katamartin @norlandrhagen, do you think this would mess things up on your side? I suppose if we can move the catalog ingestion to a part of the recipe, these two parts would become truly independent. Would love to discuss this some time soon.

Happy to chat! I think giving each recipe it's own feedstock is a good change. Not sure what all is involved in the current cataloging process, but I bet @andersy005 and @katamartin will have some more intuition.

Closing this in favor of #109


Json functions

Implement JSON_ARRAY, JSON_OBJECT, JSON_ARRAYAGG and JSON_OBJECTAGG
Fixes #1260 and dbeaver/dbeaver#13141
Both JSON_ARRAY(NULL ON NULL) and JSON_ARRAY() are supported.
There are comprehensive tests, please feel free to add more when anything was missing.

Coverage decreased (-0.4%) to 88.112% when pulling e3fadf698b167f5008eccbf60a0eac0aefd0478b on manticore-projects:JsonFunctions into 111244ab565a160f050a2812b372a5f0db5255e3 on JSQLParser:master.

select json_array();
select json_array(null on null);
select json_array(null null on null);
select json_array(null, null null on null);
select json_array(null absent on null);

All supported (although I want to burn the inventor of this syntax on a stake).


Select Which Screen to Share

Is it possible to add an option for the user who is connecting to another, so he can choose which screen he wants to see from the user he connected to? Or it doesn't have this part because it's not possible. I would like to know first to see if it is worth the effort to do something similar.

Feel free to create a Pull Request. Currently we do not really continue working on the project.


Email validator hostname check for not empty

Sometimes there is a warning because of empty hostname parameter in checkdnsrr function.

@freax please rebase and provide a test case for the hostname affected by this bug.

@Ocramius adding a hostname to the test suit which could fail any time? Sounds like a bad idea.

I mean that data-providers need to be adjusted ;-)
On Jan 19, 2015 9:53 PM, "Ben Scholzen"<EMAIL_ADDRESS>wrote:

@Ocramius https://github.com/Ocramius adding a hostname to the test
suit which could fail any time? Sounds like a bad idea.
—
Reply to this email directly or view it on GitHub
https://github.com/zendframework/zf2/pull/7138#issuecomment-70558642.

I don't think this PR needs a test case, because it's nothing to break actually.
This condition fails if hostname will be empty anyway, but this PR provides no more thipple warning in this case.
I got this warnings twise and I can't reproduce it.
Actually, I think it's a pretty rare case when script can't get MX-record for hostname.

I don't think this PR needs a test case, because it's nothing to break actually.

code changes affecting branching of execution paths always require testing, regardless of the impact they have.

This condition fails if hostname will be empty anyway, but this PR provides no more thipple warning in this case.

And your test should actually try to reproduce the warning instead: reaching the point where you can reproduce the warning will also give you a better understanding the problem.

Actually, I think it's a pretty rare case when script can't get MX-record for hostname.

You can inject a fake hostname validator to get to that.

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
New issue can be found at: https://github.com/zendframework/zend-validator/issues/99


Where is supplementary_material

I can not find this path or file

Sorry for that! It's the code readme for openreview submission. Fixed now. Thanks for pointing out!


Add Dominance Degree Approach Algorithm for Non-Dominating Sort

Adds Python + Cython implementations of two DDA algorithms for NDS:
DDA-NS https://ieeexplore.ieee.org/document/7469397
DDA-ENS https://ieeexplore.ieee.org/document/9282978

Thanks for you work and the PR!

Feel free to also write a little bit about it in the documentation to give it a little more exposure to users.
(So far no details about NDS really existing in the documation.)

Been swamped recently! I will happily add some details to the docs as I am able!


removed packageserver from "installed operators" mistakenly

Type of question
Fix a problem that I've caused.
Question
What did you do?
Just went to Web Console > Installed Operators and removed a partly installed operator named "packageserver" or something like that and all of its related objects.
What did you expect to see?
I don't know exactly! I though that it's a leftover and just wanted to clear it.
What did you see instead? Under which circumstances?
Whole operator hub is gone! It displays: "No OperatorHub Items Found" and this:
[root@okd4-services ~]# oc get co operator-lifecycle-manager-packageserver
NAME                                       VERSION                               AVAILABLE   PROGRESSING   DEGRADED   SINCE
operator-lifecycle-manager-packageserver   4.4.0-0.okd-2020-05-23-055148-beta5   False       False         False      24h
Environment
It's an okd 4.4.0-0.okd-2020-05-23-055148-beta5 with old 1.15.0 I guess.

operator-lifecycle-manager version: 1.15.0

Kubernetes version information:

[root@okd4-services ~]# oc version
Client Version: 4.4.0-0.okd-2020-05-23-055148-beta5
Server Version: 4.4.0-0.okd-2020-05-23-055148-beta5
Kubernetes Version: v1.17.1
[root@okd4-services ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0-4-g38212b5", GitCommit:"4a4cd75", GitTreeState:"clean", BuildDate:"2020-05-22T03:03:06Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.1", GitCommit:"f63db30", GitTreeState:"clean", BuildDate:"2020-05-22T11:48:28Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
[root@okd4-services ~]#

Kubernetes cluster kind:

Additional context
Is there any way to undo it and get operator hub back?
Thanks

It looks like this is targeting an OCP installation given the oc get co ... output but the CVO should manage that resource for most of the newer OCP versions (until 4.9 where a new controller will manage that). The CVO should recreate any resources in manages, so the PackageServer CSV and ClusterOperator resources should both be recreated despite it's removal from the OCP console.


add streaming example - Kafka

Need a standalone example at https://github.com/Microsoft/SparkCLR/tree/master/examples

PR #398

Hi skaarthik,
When I was trying to run the streaming Sample SparkClrHdfsWordCount with the following command:
.\sparkclr-submit.cmd --master local[*] --exe SparkClrHdfsWordCount.exe C:\Users\dacai\Mobius\examples\Streaming\HdfsWordCount\bin\Release  C:\Users\dacai\Mobius\cp\ C:\Users\dacai\Mobius\dacaiTemp
I can't see the output format in the cmd console:
wordCounts.ForeachRDD((time, rdd) =>
{
Console.WriteLine("-------------------------------------------");
Console.WriteLine("Time: {0}", time);
Console.WriteLine("-------------------------------------------");
object[] taken = rdd.Take(10);
foreach (object record in taken)
{
Console.WriteLine(record);
}
Console.WriteLine();
});
But with the batch example: Mobius\examples\Batch\WordCount, I can see the output in the console.
Do you do why or could you show me some clue how to deep into this issue?
Thanks @skaarthik

@kasuosuo
I do see the results from Console. Please make sure all Pre-Requisites are set correctly. and the Input Directory (c:\users\dacai\Mobius\dacaiTemp) has files, the checkpoint directory (c:\users\dacai\Mobius\cp) has not been created before you start to run.

Thanks for your comments @hebinhuang .
Yes, I have checked :
1. c:\users\dacai\Mobius\dacaiTemp has files
2. c:\users\dacai\Mobius\cp has not been created before start the local job.

Thanks

And randomly, I encountered following error:

Pre-Requisites:
https://github.com/Microsoft/Mobius/blob/master/notes/running-mobius-app.md#wordcount-example-batch
Can you pipe out the console text ?

Sure. I downloaded the release version and test the streaming example again, also the same error.
PS C:\Windows\system32> sparkclr-submit.cmd --master local[4] --conf spark.local.dir=E:\sparktemp\wordcount\ --exe Spark
ClrHdfsWordCount.exe E:\Java\OpenSourceSoftware\spark-clr_2.10-1.6.100\examples\Streaming\HdfsWordCount E:\sparktemp\cp
C:\Users\dacai\Mobius\dacaiTemp\  >E:\sparktemp\log.txt
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
16/05/13 14:48:58 INFO SparkContext: Running Spark version 1.6.1
16/05/13 14:48:58 WARN SparkConf: In Spark 1.0 and later spark.local.dir will be overridden by the value set by the clus
ter manager (via SPARK_LOCAL_DIRS in mesos/standalone and LOCAL_DIRS in YARN).
16/05/13 14:48:58 INFO SecurityManager: Changing view acls to: dacai
16/05/13 14:48:58 INFO SecurityManager: Changing modify acls to: dacai
16/05/13 14:48:58 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view perm
issions: Set(dacai); users with modify permissions: Set(dacai)
16/05/13 14:48:59 INFO Utils: Successfully started service 'sparkDriver' on port 44636.
16/05/13 14:49:00 INFO Slf4jLogger: Slf4jLogger started
16/05/13 14:49:00 INFO Remoting: Starting remoting
16/05/13 14:49:00 INFO Remoting: Remoting started; listening on addresses<EMAIL_ADDRESS>.17:44649]
16/05/13 14:49:00 INFO Utils: Successfully started service 'sparkDriverActorSystem' on port 44649.
16/05/13 14:49:00 INFO SparkEnv: Registering MapOutputTracker
16/05/13 14:49:00 INFO SparkEnv: Registering BlockManagerMaster
16/05/13 14:49:01 INFO DiskBlockManager: Created local directory at E:\sparktemp\wordcount\blockmgr-49d2e80b-4de8-466c-9
7d4-db7077aee6bd
16/05/13 14:49:01 INFO MemoryStore: MemoryStore started with capacity 511.1 MB
16/05/13 14:49:01 INFO SparkEnv: Registering OutputCommitCoordinator
16/05/13 14:49:01 INFO Utils: Successfully started service 'SparkUI' on port 4040.
16/05/13 14:49:01 INFO SparkUI: Started SparkUI at http://<IP_ADDRESS>:4040
16/05/13 14:49:01 INFO HttpFileServer: HTTP File server directory is E:\sparktemp\wordcount\spark-67034994-c974-4e95-8e5
e-ce8b7a503aa8\httpd-eb5a5791-bfe5-428c-bf92-2398cd0c00a9
16/05/13 14:49:01 INFO HttpServer: Starting HTTP Server
16/05/13 14:49:01 INFO Utils: Successfully started service 'HTTP file server' on port 44656.
16/05/13 14:49:01 INFO SparkContext: Added JAR file:/E:/Java/OpenSourceSoftware/spark-clr_2.10-1.6.100/runtime/lib/spark
-clr_2.10-1.6.100.jar at http://<IP_ADDRESS>:44656/jars/spark-clr_2.10-1.6.100.jar with timestamp<PHONE_NUMBER>515
16/05/13 14:49:01 INFO Executor: Starting executor ID driver on host localhost
16/05/13 14:49:01 INFO Utils: Successfully started service 'org.apache.spark.network.netty.NettyBlockTransferService' on
port 44673.
16/05/13 14:49:01 INFO NettyBlockTransferService: Server created on 44673
16/05/13 14:49:01 INFO BlockManagerMaster: Trying to register BlockManager
16/05/13 14:49:01 INFO BlockManagerMasterEndpoint: Registering block manager localhost:44673 with 511.1 MB RAM, BlockMan
agerId(driver, localhost, 44673)
16/05/13 14:49:01 INFO BlockManagerMaster: Registered BlockManager
16/05/13 14:49:02 INFO FileInputDStream: Duration for remembering RDDs set to 60000 ms for org.apache.spark.streaming.ds
tream.FileInputDStream@76bba21e
16/05/13 14:49:02 INFO ForEachDStream: metadataCleanupDelay = -1
16/05/13 14:49:02 INFO CSharpDStream: metadataCleanupDelay = -1
16/05/13 14:49:02 INFO MappedDStream: metadataCleanupDelay = -1
16/05/13 14:49:02 INFO FileInputDStream: metadataCleanupDelay = -1
16/05/13 14:49:02 INFO FileInputDStream: Slide time = 30000 ms
16/05/13 14:49:02 INFO FileInputDStream: Storage level = StorageLevel(false, false, false, false, 1)
16/05/13 14:49:02 INFO FileInputDStream: Checkpoint interval = null
16/05/13 14:49:02 INFO FileInputDStream: Remember duration = 60000 ms
16/05/13 14:49:02 INFO FileInputDStream: Initialized and validated org.apache.spark.streaming.dstream.FileInputDStream@7
6bba21e
16/05/13 14:49:02 INFO MappedDStream: Slide time = 30000 ms
16/05/13 14:49:02 INFO MappedDStream: Storage level = StorageLevel(false, false, false, false, 1)
16/05/13 14:49:02 INFO MappedDStream: Checkpoint interval = null
16/05/13 14:49:02 INFO MappedDStream: Remember duration = 30000 ms
16/05/13 14:49:02 INFO MappedDStream: Initialized and validated org.apache.spark.streaming.dstream.MappedDStream@54c59c3
8
16/05/13 14:49:02 INFO CSharpDStream: Slide time = 30000 ms
16/05/13 14:49:02 INFO CSharpDStream: Storage level = StorageLevel(false, false, false, false, 1)
16/05/13 14:49:02 INFO CSharpDStream: Checkpoint interval = null
16/05/13 14:49:02 INFO CSharpDStream: Remember duration = 30000 ms
16/05/13 14:49:02 INFO CSharpDStream: Initialized and validated org.apache.spark.streaming.api.csharp.CSharpDStream@650c
8b7c
16/05/13 14:49:02 INFO ForEachDStream: Slide time = 30000 ms
16/05/13 14:49:02 INFO ForEachDStream: Storage level = StorageLevel(false, false, false, false, 1)
16/05/13 14:49:02 INFO ForEachDStream: Checkpoint interval = null
16/05/13 14:49:02 INFO ForEachDStream: Remember duration = 30000 ms
16/05/13 14:49:02 INFO ForEachDStream: Initialized and validated org.apache.spark.streaming.dstream.ForEachDStream@74690
abf
16/05/13 14:49:03 INFO RecurringTimer: Started timer for JobGenerator at time<PHONE_NUMBER>000
16/05/13 14:49:03 INFO JobGenerator: Started JobGenerator at<PHONE_NUMBER>000 ms
16/05/13 14:49:03 INFO JobScheduler: Started JobScheduler
16/05/13 14:49:03 INFO StreamingContext: StreamingContext started
16/05/13 14:49:30 INFO FileInputDStream: Finding new files took 11 ms
16/05/13 14:49:30 INFO FileInputDStream: New files at time<PHONE_NUMBER>000 ms:
CSharp transform callback failed with java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:189)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.net.SocketInputStream.read(SocketInputStream.java:203)
at java.io.DataInputStream.readByte(DataInputStream.java:265)
at org.apache.spark.api.csharp.SerDe$.readObjectType(SerDe.scala:20)
at org.apache.spark.api.csharp.SerDe$.readObject(SerDe.scala:24)
at org.apache.spark.streaming.api.csharp.CSharpDStream$.callCSharpTransform(CSharpDStream.scala:59)
at org.apache.spark.streaming.api.csharp.CSharpDStream.compute(CSharpDStream.scala:105)
at org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1$$anonfun$1$$anonfun$apply$7.apply(DStream.
scala:352)
at org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1$$anonfun$1$$anonfun$apply$7.apply(DStream.
scala:352)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
at org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1$$anonfun$1.apply(DStream.scala:351)
at org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1$$anonfun$1.apply(DStream.scala:351)
at org.apache.spark.streaming.dstream.DStream.createRDDWithLocalProperties(DStream.scala:426)
at org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1.apply(DStream.scala:346)
at org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1.apply(DStream.scala:344)
at scala.Option.orElse(Option.scala:257)
at org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:341)
at org.apache.spark.streaming.dstream.ForEachDStream.generateJob(ForEachDStream.scala:47)
at org.apache.spark.streaming.DStreamGraph$$anonfun$1.apply(DStreamGraph.scala:115)
at org.apache.spark.streaming.DStreamGraph$$anonfun$1.apply(DStreamGraph.scala:114)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
at org.apache.spark.streaming.DStreamGraph.generateJobs(DStreamGraph.scala:114)
at org.apache.spark.streaming.scheduler.JobGenerator$$anonfun$3.apply(JobGenerator.scala:248)
at org.apache.spark.streaming.scheduler.JobGenerator$$anonfun$3.apply(JobGenerator.scala:246)
at scala.util.Try$.apply(Try.scala:161)
at org.apache.spark.streaming.scheduler.JobGenerator.generateJobs(JobGenerator.scala:246)
at org.apache.spark.streaming.scheduler.JobGenerator.org$apache$spark$streaming$scheduler$JobGenerator$$processE
vent(JobGenerator.scala:181)
at org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:87)
at org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:86)
at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)
16/05/13 14:49:31 INFO StreamingContext: Invoking stop(stopGracefully=false) from shutdown hook
16/05/13 14:49:31 INFO JobGenerator: Stopping JobGenerator immediately
16/05/13 14:49:31 INFO RecurringTimer: Stopped timer for JobGenerator after time<PHONE_NUMBER>000
16/05/13 14:49:31 INFO JobScheduler: No jobs added for time<PHONE_NUMBER>000 ms
16/05/13 14:49:31 INFO CheckpointWriter: CheckpointWriter executor terminated ? true, waited for 0 ms.
16/05/13 14:49:31 INFO JobGenerator: Stopped JobGenerator
16/05/13 14:49:31 INFO JobScheduler: Stopped JobScheduler
16/05/13 14:49:31 INFO StreamingContext: StreamingContext stopped successfully
16/05/13 14:49:31 INFO SparkContext: Invoking stop() from shutdown hook
16/05/13 14:49:31 INFO SparkUI: Stopped Spark web UI at http://<IP_ADDRESS>:4040
16/05/13 14:49:31 INFO MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped!
16/05/13 14:49:31 INFO MemoryStore: MemoryStore cleared
16/05/13 14:49:31 INFO BlockManager: BlockManager stopped
16/05/13 14:49:31 INFO BlockManagerMaster: BlockManagerMaster stopped
16/05/13 14:49:31 INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped!
16/05/13 14:49:31 INFO SparkContext: Successfully stopped SparkContext
16/05/13 14:49:31 INFO ShutdownHookManager: Shutdown hook called
16/05/13 14:49:31 INFO ShutdownHookManager: Deleting directory E:\sparktemp\wordcount\spark-67034994-c974-4e95-8e5e-ce8b
7a503aa8\httpd-eb5a5791-bfe5-428c-bf92-2398cd0c00a9
16/05/13 14:49:31 INFO RemoteActorRefProvider$RemotingTerminator: Shutting down remote daemon.
16/05/13 14:49:31 INFO ShutdownHookManager: Deleting directory E:\sparktemp\wordcount\spark-67034994-c974-4e95-8e5e-ce8b
7a503aa8
16/05/13 14:49:31 INFO RemoteActorRefProvider$RemotingTerminator: Remote daemon shut down; proceeding with flushing remo
te transports.
For the E:\sparktemp\log.txt, it shows:
SPARKCLR_JAR=spark-clr_2.10-1.6.100.jar
[sparkclr-submit.cmd] Command to run --master local[4] --conf spark.local.dir=E:\sparktemp\wordcount\ --name SparkClrHdfsWordCount --class org.apache.spark.deploy.csharp.CSharpRunner E:\Java\OpenSourceSoftware\spark-clr_2.10-1.6.100\runtime\lib\spark-clr_2.10-1.6.100.jar E:\Java\OpenSourceSoftware\spark-clr_2.10-1.6.100\examples\Streaming\HdfsWordCount E:\Java\OpenSourceSoftware\spark-clr_2.10-1.6.100\examples\Streaming\HdfsWordCount\SparkClrHdfsWordCount.exe  E:\sparktemp\cp\ C:\Users\dacai\Mobius\dacaiTemp
[CSharpRunner.main] Starting CSharpBackend!
[CSharpRunner.main] Port number used by CSharpBackend is 44600
[CSharpRunner.main] adding key=spark.jars and value=file:/E:/Java/OpenSourceSoftware/spark-clr_2.10-1.6.100/runtime/lib/spark-clr_2.10-1.6.100.jar to environment
[CSharpRunner.main] adding key=spark.app.name and value=SparkClrHdfsWordCount to environment
[CSharpRunner.main] adding key=spark.submit.deployMode and value=client to environment
[CSharpRunner.main] adding key=spark.master and value=local[4] to environment
[CSharpRunner.main] adding key=spark.local.dir and value=E:\sparktemp\wordcount\ to environment
[2016-05-13T06:48:54.9589864Z] [DAWEICAI-Z420] [Info] [ConfigurationService] ConfigurationService runMode is LOCAL
[2016-05-13T06:48:54.9609888Z] [DAWEICAI-Z420] [Info] [SparkCLRConfiguration] CSharpBackend successfully read from environment variable CSHARPBACKEND_PORT
[2016-05-13T06:48:54.9609888Z] [DAWEICAI-Z420] [Info] [SparkCLRIpcProxy] CSharpBackend port number to be used in JvMBridge is 44600
[2016-05-13T06:48:58.6821475Z] [DAWEICAI-Z420] [Info] [SparkConf] Spark app name set to HdfsWordCount
[2016-05-13T06:49:02.6525224Z] [DAWEICAI-Z420] [Info] [StreamingContextIpcProxy] Callback server port number is 44675
[CSharpBackendHandler] Connecting to a callback server at port 44675
[2016-05-13T06:49:30.0754966Z] [DAWEICAI-Z420] [Debug] [StreamingContextIpcProxy] New thread (id=5) created to process callback request
[2016-05-13T06:49:30.0924992Z] [DAWEICAI-Z420] [Error] [StreamingContextIpcProxy] Exception processing call back request. Thread id 5
[2016-05-13T06:49:30.0995051Z] [DAWEICAI-Z420] [Exception] [StreamingContextIpcProxy] Exception of type 'System.OutOfMemoryException' was thrown.
at Microsoft.Spark.CSharp.Interop.Ipc.SerDe.ReadBytes(Stream s, Int32 length) in c:\projects\sparkclr\csharp\Adapter\Microsoft.Spark.CSharp\Interop\Ipc\SerDe.cs:line 212
at Microsoft.Spark.CSharp.Interop.Ipc.SerDe.ReadBytes(Stream s) in c:\projects\sparkclr\csharp\Adapter\Microsoft.Spark.CSharp\Interop\Ipc\SerDe.cs:line 252
at Microsoft.Spark.CSharp.Proxy.Ipc.StreamingContextIpcProxy.ProcessCallbackRequest(Object socket) in c:\projects\sparkclr\csharp\Adapter\Microsoft.Spark.CSharp\Proxy\Ipc\StreamingContextIpcProxy.cs:line 284
[2016-05-13T06:49:30.0995051Z] [DAWEICAI-Z420] [Error] [StreamingContextIpcProxy] ProcessCallbackRequest fail, will exit ...
[CSharpRunner.main] closing CSharpBackend
Requesting to close all call back sockets.
[CSharpRunner.main] Return CSharpBackend code 1
Utils.exit() with status: 1, maxDelayMillis: 1000

@kasuosuo Please try command the below:
sparkclr-submit.cmd --master local[*] --exe SparkClrHdfsWordCount.exe E:\Java\OpenSourceSoftware\spark-clr_2.10-1.6.100\examples\Streaming\HdfsWordCount  E:\sparktemp\cp C:\Users\dacai\Mobius\dacaiTemp  1> 1.txt  2>2.txt


Update hbmqtt to 0.9.4

Home Assistant release with the issue:
master branch
Component/platform:
mqtt.server
Description of problem:
hbmqtt should be updated to the latest version 0.9.4:
https://github.com/home-assistant/home-assistant/blob/a2b8ad50f25fdfe21814556452c8e7b1d1262ec1/homeassistant/components/mqtt/server.py#L16

Please open a PR not issue.

I tried to update and some tests failed. That's why I opened this issue so that someone else can have a look.


Commit generated docs to source control

What was the end-user problem that led to this PR?
The problem was that generating docs on the fly every time they are needed (tests, release, installation) is complicated and prone to errors. For example, currently the rubygems-update gem that takes care of updating rubygems and install the default bundler does not properly include bundler docs. Also, managing the manifest as a mix of generated and source controlled files is complicated too. Finally, ruby-core already keeps man pages as part of its sources, so this would make us follow their lead.
What is your fix for the problem, implemented in this PR?
My fix is to keep generated man pages source controlled, and add a task to make sure they are always kept in sync with their "source of truth".
Why did you choose this fix out of the possible options?
I chose this fix because I think it should simplify things for us.

Any opinions about this?
I know the diff is big, but I don't see this as being too hard to maintain. Whenever we update docs, we need to regenerate them and I added a task to make sure they don't fall out of sync. And everything else becomes much simpler in my opinion. Rubocop documentation is also managed similarly and I find it easy to work with.
Somewhere where this would also improve my experience is that I usually try out bundler's master on personal projects by installing it with bin/rake install:local, and then making debugging changes and reinstalling. This is currently quite slow because docs are rebuilt every time.

I'm 👍 to this.
Can we add the automation task for generating the documentation each changes?

I added a task to make sure that generated docs never fall out of sync from their sources, that it's run as a prerequisite to bin/rake build.
Configuring a file watcher that rebuilds each file every time its source changes would be nice, but maybe it's something more adequate for each developer environment? It would be a matter of configure your editor to run bin/rake man/gemfile.5 everytime man/gemfile.5.ronn changes, and so on.

@hsbt Are you ok with this then, can I merge? Opinions anybody else?

Let's do it!
@bundlerbot r=hsbt


td/telegram/tdjson_export.h: No such file

When i try link tdlib as static lib i have this error in this line:
https://github.com/tdlib/td/blob/master/td/telegram/td_json_client.h#L50
Help me pls solve it...

This file is created by cmake. You can find it at ${CMAKE_CURRENT_BINARY_DIR}/td/telegram/tdjson_export.h.

Error was on build step with openssl lib
After fix (debian):
cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/lib/ssl ..

i found this file
thank you @levlam


Load balancing algorithms

Complete the set of common load balancing schemes

Round Robin
Random
First healthy endpoint (already implemented)

Current implementation:
https://github.com/microsoft/reverse-proxy/blob/be96d64cb0fb732e5a31aebb91e0b9350798d62a/src/ReverseProxy.Core/Service/Proxy/LoadBalancer.cs#L21-L36
Note that load balancing is configurable per backend set. Do we need that level of granularity, or could this be specified server wide?

Oh it should definitely be per backend. It's very common for different services to have different load profiles and benefit from different kinds of load balancing. It's also something Envoy configures per-cluster which serves as some prior art.

Another one: Least busy
We have the metadata we need for this, it just requires one pass through the list.

Is it possible to add a feature for blue green deployment to load balancer? or is it out of the scope of load balancer?

Is it possible to add a feature for blue green deployment to load balancer? or is it out of the scope of load balancer?

I think that's a different feature from load balancing that would be handled earlier at the routing phase. Load balancing assumes all nodes are equivalent, plus or minus health/load.

I'm going to break this up into smaller issues for individual algorithms. @Tratcher and I were talking about some of them being fairly easy and high-value for preview 1 (while others are more complicated).

Created #72 #73 #74 #75
Closing this out now.


Improve intrazone travel time estimates

Our travel time matrix has time = 0 for trips that start and end in the same zone. This can be an issue for short trips. For example, if the NTS reports a short walking trip (5 minutes) to school, our function looks for all zones that can be reached within 5 minutes +- tolerance (% of reported time). The tolerance will never bring down the never bring down the search buffer to include time = 0, so a trip can either:
a) be assigned to a neighboring zone that is reachable within 5 minutes += tolerance
b) if no zones are reachable within reported time, we get the zone with the closest time (see here). If we reach this condition, trips could be assigned to the origin zone (time = 0)
I'm worried that many trips are being assigned to neighboring zones through (a) even though they could be intrazone trips. I suggest replacing time = 0 for intrazone trips with a travel time that is proportional to the area of the zone.

The intra-zone travel times should not be higher than time to reach any other zone. For any zone O

Calculate intrazone travel time based on area of zone O
Get smallest travel time from zone O to all other destinations
Intrazone travel time = min(1, 2)

In commit referenced above I've calculated intrazonal travel time based on zone area. See definition of intrazone_time() in that commit. This can be improved by:

Adding logic of point 2 and 3 from comment above
Handling PT better. The current logic gives a PT travel time without checking if PT exists. If the zones are small enough, we can assume that most intrazonal trips will not use PT (and highlight this assumption as a limitation).


Placeholder %advancedseasons_season_%

Describe the feature
A placeholder that can retrieve the season of another world

This is exactly how the season placeholder works right now.

yeah, but you can't retrieve the season information of an another world, with this you can access the season of the gameplay world everywhere, even at spawn

This is exactly how the season placeholder works right now.

yeah, but you can't retrieve the season information of an another world, with this you can access the season of the gameplay world everywhere, even at spawn

my bad, didn't see that


Can't save HTML file attachments

Could support for arbitrary files, or at least HTML attachments be added?
Content type is contentType': u'text/html', and calling the "file" method on this attachment item produces errors that vary with python version, e.g. "UnicodeEncodeError: 'ascii' codec can't encode characters in position 11-12: ordinal not in range(128)", or a ValueError in the latest PyZotero.
Would it make sense to fail gracefully or throw a documented exception?
  File "./zot.py", line 1584, in dumpFiles     f.write(self.zot.file(item.key))   File "/usr/local/lib/python2.7/site-packages/pyzotero/zotero.py", line 187, in wrapped_f     return retrieved.json()   File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 819, in json     return json.loads(self.text, **kwargs)   File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads     return _default_decoder.decode(s)   File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode     raise ValueError("No JSON object could be decoded")

I've just pushed v1.2.11 to PyPI, which should allow you to dump HTML snapshots. Note that these are  zip archives, so they'll need to be decompressed first. If you use the .dump() method, it'll append .zip to the filename.
Let me know if this works for you – retrieval of arbitrary file attachments is supported for most common types, but I overlooked this use case. Sorry!

OK, this works better.  But if dump() does not adhere to the file name given, and if it does not actually return the resulting filename, how is the calling code supposed to know what the file is?
Generally, if "filename" is "foo.html", it would make much more sense to unzip it right there and then in file().  Calling code could check the new "snapshot" variable, but is this meant to be public?
I'm not using dump() by the way because it isn't present in older versions of Pyzotero.

dump() will adhere to a file name if it's given, which implies that the user is familiar with the snapshot format, and that it's compressed (which I now also call out in the docs). As for unzipping automatically:

I could unzip the contents in the specified (or working) dir. That's going to cause difficulties, because some snapshot components are generically-named (item.css), so things will be overwritten if you're dumping several snapshots at once.
dump the contents into a newly-created folder under the specified or default path. But what to call it? The file returned by the API is always item.html

One possibility is dumping the snapshot contents into folders with the same name as their item key, which is predictable and easy to document.
(the snapshot variable is not meant to be public, and is going away again)

In that case, I would suggest that dump() will return the file name it has chosen  (if done automatically) , maybe a fully qualified path.
I would also provide a function that gives the file name that is suggested when calling file(), or a function that will return the MIME type of the file that is output, i.e., application/gzip.   The contentType does not seem to have the right type.
The behavior right now seems odd: a file of unclear type is written, and one has to check the “shortcut” variable (why this name?) and append .gz to the filename if it is True.
If you were to unpack it, I would unpack into a folder named foo.html if foo.html is the filename.
Note that any file name can overwrite existing ones - there is no guarantee it is unique.
In Zot_bib_web, I create a folder named after the key, and all attachments go inside that folder.  As long as the attachments have distinct names it’s good.

On May 17, 2017, at 7:50 PM, Stephan Hügel<EMAIL_ADDRESS>wrote:
dump() will adhere to a file name if it's given, which implies that the user is familiar with the snapshot format, and that it's compressed (which I now also call out in the docs). As for unzipping automatically:
• I could unzip the contents in the specified (or working) dir. That's going to cause difficulties, because some snapshot components are generically-named (item.css), so things will be overwritten if you're dumping several snapshots at once.
• dump the contents into a newly-created folder under the specified or default path. But what to call it? The file returned by the API is always item.html
One possibility is dumping the snapshot contents into folders with the same name as their item key, which is predictable and easy to document.
(the snapshot variable is not meant to be public, and is going away again)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It turns out that in the case of snapshots, the fileName property refers to the primary file to be opened inside the archive.
As such, the file name of a snapshot is undefined by the API, although its MIME type should be application/zip (which will be fixed). This should allow consumers of the file method to know what to do with the attachment they retrieve.
As for dump, I think I'm going to default to writing the file with the attachment item key + zip, and I'll probably add an optional extract_snapshot=False keyword, which will extract into a folder of the same name if set to True (in both cases, this only applies in the absence of a user-supplied filename)

As for the Zotero API, once the MIME type is fixed, this makes sense.  It's good to know this filename.
For dump(), it's good to be able to expand, but for the client it's more important to know what the name of the generated file is.  Consider returning this file name.  Right now it returns nothing, and it's a backwards-compatible change.

It's good to know this filename.
for the client it's more important to know what the name of the generated file is. Consider returning this file name.

I don't follow. To which file name are you referring?

dump() decides about the filename for the file it creates (by default). Either with, or without ".zip".  The calling code will want to do something with it.  In my case, I want to make a URL from it, to link to this file, or maybe I will unzip it.  Rather than recreating the logic that is in PyZotero (and which may be updated in the future), I'm suggesting that PyZotero's dump() function returns the file name it has created.
Am I missing something?

I'm suggesting that PyZotero's dump() function returns the file name it has created.

Now I get it. Yes, that's a good approach. I'm going to leave this open until the MIME change has happened and I've landed the change.


Use DSL specific types for contexts.

Create per DSL Surge Context objects wrapping the core Context object.  Although we don't use the context yet, I anticipate that it will want a DSL specific interface.  Introducing this now will avoid breaking the API later.

Codecov Report

Merging #16 (54de17c) into main (d6389a9) will decrease coverage by 0.04%.
The diff coverage is 26.31%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   74.74%   74.70%   -0.05%
==========================================
  Files         127      129       +2
  Lines        2178     2182       +4
  Branches       63       60       -3
==========================================
+ Hits         1628     1630       +2
- Misses        550      552       +2

Impacted Files
Coverage Δ

...ore/src/main/scala/surge/internal/SurgeModel.scala
100.00% <ø> (ø)

...in/scala/surge/javadsl/command/CommandModels.scala
0.00% <0.00%> (ø)

.../src/main/scala/surge/javadsl/common/Context.scala
0.00% <0.00%> (ø)

...cala/surge/javadsl/event/AggregateEventModel.scala
0.00% <0.00%> (ø)

...src/main/scala/surge/scaladsl/common/Context.scala
0.00% <0.00%> (ø)

...ala/surge/scaladsl/event/AggregateEventModel.scala
0.00% <0.00%> (ø)

...n/scala/surge/scaladsl/command/CommandModels.scala
33.33% <20.00%> (ø)

...ngine/core/src/main/scala/surge/core/Context.scala
100.00% <100.00%> (ø)

...a/surge/internal/persistence/PersistentActor.scala
96.07% <100.00%> (+0.02%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


[Feature] :  Add social media links

Description
Adding Social media links to stay connected
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.
[X] I want to work on this issue.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

/assign


fixed 404 message issue

Ticket:
Describe The Problem Being Solved:
Added next parameter and changed original 404 error message
Checklist For Submitter

[ -] I have documented all new functionality
[ ] I have screenshotted new UI changes and attached them to this PR

Reminder list For Reviewers

Code formatting/static analysis: is the code formatted properly? Does a linter/other form of static analysis reveal any issues? Does the code have appropriately low cyclomatic complexity?
Code architecture: concerns are separated, code follows single-responsibility principle, code utilizes OOP, DRY code.
Coding best practices: code avoids hard-coded variables, inefficient computations, reinventing the wheel when using frameworks. Code is well-commented and generally readable.
Non-functional requirements: Code has accompanying tests. Programmer can easily explain decisions to reviewers.

Great work =)


Clear command list between run()s

@quizzicus Please bump up the version to 0.9.1 and I'll merge this in.

Version bumped


Ask users for a pin when interacting with locks/garage doors

Breaking Change:
The allow_unlock option has been removed for both Cloud and manual Google Assistant installations. Instead, you need to define a pin. Google Cloud users can do this in the cloud preferences UI. Manual installation will have to add secure_devices_pin to their config.
Description:
This replaces the allow_unlock toggle with the official approach to interacting with secure devices via Google Assistant: 2FA using a pin challenge.
This change has been requested by Google hence tagged for 0.92.
Related issue (if applicable): fixes #23219
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Checklist:

[ ] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

This change has been requested by Google hence tagged for 0.92.

@balloob is google requiring this change?  While the feature is nice to have, I’m not a fan of being forced to use a pin.  Is there a way to make the pin optional?

has anyone got this to work? my google just asks for the code then says, "I looked but this can't be played at this time"
this is beyond frustrating  thanks google

I got it to work just by adding my cover.garage_door entity to the include_entities section. However even after setting a pin, it never asks me for it, but rather carries on doing the action. Security flaw there.

Please open an issue if you suspect a bug. If you need help please use our help channels:
https://home-assistant.io/help/#communication-channels
Merged PRs should not be used for support or bug reports. Thanks!


fix: mark ec2nodeclass as NotReady when validation is bypassed

Fixes #N/A
Description
When validation is patched off the CRD, we currently overwrite incorrect kubernetes.io/cluster/ tags to isolate nodes created by this cluster from other clusters that may be sharing cluster and karpenter roles. This change takes this enforcement further by marking the affected ec2nodeclass as NotReady.
How was this change tested?
local testing
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

1 of 6 (16.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 82.547%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/nodeclass/status/readiness.go
1
6
16.67%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.06%

Covered Lines:
5685

Relevant Lines:
6887

💛  - Coveralls


live preview

implements a live preview pane for the vscode extension.
Tasks:

[x] Generate PNGs server-side
[x] Respond to client command execute request with generated PNGs (base64 encoded data url)
[ ] Show a preview pane (bare bones)
[ ] Show the PNGs in the preview pane
[ ] Update the preview on edit

You can help out by submitting a PR against the live-preview branch of my fork :)

I pushed a new version on my branch where the server sends the pdf in base64 and the client draws it in a canvas in the webpanel using pdf.js
it is pretty efficient already without any optimizations. One important optimization should be not to draw all the pages but only the ones that are modified (and maybe starting from the one that is currently visible in the panel)
Next we could think about not sending all the pages from the server to the client.

@Bramas thank you for your feedback and your implementation!! :^)

I just pushed a new version to my branch, where only the pages that have been modified are updated in the canvas. Now I think it's working pretty well! It will be hard to be faster.
I think the only way we can be faster is to just incorporate the typst compiler in wasm in the webcomponent itself

Any news on this PR? 😄


Close vs. Adj. Close

I am looking for Close price data that matches Yahoo Finance's Historical Data.
Yahoo Finance's website under Historical Data, at the bottom, says that '*Close price adjusted for splits.' and '**Adjusted close price adjusted for splits and dividend and/or capital gain distributions.'
When I pull data from Yahoo via yfinance I don't see an 'Adj. Close' price column.
ticker_data = yf.Ticker('ceg')
hist = ticker_data.history(start = '1900-01-01')
print(hist.columns)

The only columns I see are:
Index(['Open', 'High', 'Low', 'Close', 'Volume', 'Dividends', 'Stock Splits'], dtype='object')

When I compare data from yfinance to Yahoo's Historical Data it looks like yfinance's 'Close' column matches Yahoo Finance's Historical Data 'Adj. Close' price.
Assuming yfinance's 'Close' column is Yahoo Finance's Historical Data 'Adj. Close' price, then that data should be '**...adjusted for splits and dividend and/or capital gain distributions.', but I am looking for the close price that is only '*...adjusted for splits'.
I tried looking through the code but I am not savvy enough yet to back track this. I think it, depending on how easy it is to get the 'Adj. Close' price column from Yahoo, then adding that to the output and swapping the labels would be the solution.
Information:
yfinance, 0.2.32
IDE, Thonny
OS, Windows 11

Boom! Perfect! Exactly what I wanted. Thank you very much @bot-unit! Case closed.

I guess also, did I miss this anywhere in the any documentation?

Wiki

Read the README, there's a link to documentation. If not obvious then propose a change.


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

f344635: Add support for rendering card icons in the Card component

<EMAIL_ADDRESS>Minor Changes

f344635: Add support for rendering card icons in the Card component

<EMAIL_ADDRESS>Minor Changes

f344635: Add support for rendering card icons in the Card component

Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

<EMAIL_ADDRESS>
<EMAIL_ADDRESS>Patch Changes

<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [f344635]

<EMAIL_ADDRESS>

@SocketSecurity ignore-all


Lines in tables disappear when changing the colors of rows/columns in draw.io for Confluence Cloud

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
When I color a table and then change the color of rows or columns again, the lines of the cells disappear (see video). If I go to Properties, I can check the single lines again, but I would rather have them visible all the time, so it matches the line color of the scheme I chose.
To Reproduce
Steps to reproduce the behavior:

Insert a table
Color in the entire table
Select a row or column
See error

Expected behavior
See above
https://user-images.githubusercontent.com/68647048/223361776-dda6fbc4-40f9-4e51-b2d0-c615bc36e1cf.mp4

Reproduced in Chrome and FF with 21.0.6
Lines are shown as very thin or completly missing. It looks like line behaviour depends on 2 factors: if a row or a column is selected and if cells are selected separately or all at once by mouse hold selection.
https://user-images.githubusercontent.com/44292306/225022120-a8cb43b3-cbcd-447b-b855-853263dce228.mp4


Inducing the install of PWA

Originally posted by @dev-onejun in https://github.com/dev-onejun/dev-onejun.github.io/issues/6#issuecomment-1422210135

It works well, finally.

Reference

https://web.dev/learn/pwa/installation/#installation-criteria
help from ChatGPT


Large amount of sync tests cause stack overflow

I found that having a large amount of purely synchronously running tests can cause stack overflows.
I saw that Aff has a MonadRec instance breaking the execution context after every 100 binds.
I am not sure how to run it using the MonadRec instance though, as runAff is implemented using the FFI.
I am currently recovering from this by breaking the execution context with a manual later call.

Sorry for totally dropping this. Have had a big lack of time for maintaining this project. Have you had any more progress on this? Thanks!

Nope the associated PR #25 is still the best I came up with. Works, though as I have now 900 tests in neodoc and no overflows :)

That's nice to hear!
Something tells me this is bit of a hack, but at this point I prefer something that works, over searching for the perfect solution. I'll merge the PR.
Btw, I'll give you commit rights to the project, if you don't object? :) I'd like to spread the risk here, don't want to be a single point of failure. However, I do think we should merge each other's PRs.
Thanks!

That sounds cool

I found https://github.com/paf31/purescript-safely/blob/master/README.md, might be worth giving that a try? We could bring it in to purescript-spec if it works.

I did some internal changes to support asynchronous tests in https://github.com/owickstrom/purescript-spec-mocha, not sure if I messed this up now. Could you perhaps try the 0.10.0 release on your project again?


Unable to load e_sqlite3.dll for Microsoft.EntityFrameworkCore.Sqlite 3.0.0

Describe the bug
DllNotFoundException thrown when using a plugin that consumes Microsoft.EntityFrameworkCore.Sqlite 3.0.0 . If I downgrade EFCore.Sqlite to 2.2.6, the plugin works fine.
System.TypeInitializationException: 'The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.'
DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies: The specified module could not be found. (0x8007007E)

To Reproduce
Steps to reproduce the behavior:
Version: 0.3.1
Code (In the main program):
public Assembly Load(string assemblyName)
{
    return PluginLoader.CreateFromAssemblyFile(assemblyName).LoadDefaultAssembly();
}

The plugin connects to a Sqlite3 database with Microsoft.EntityFrameworkCore.Sqlite 3.0.0 and print data to Console. (See the screenshot for details)
Expected behavior
The plugin should not throw DllNotFoundException.
Screenshots

Additional context
If I copy "e_sqlite3.dll" from "plugins\runtimes\win-x64\native\e_sqlite3.dll" to the "plugins" directory, the plugin won't throw DllNotFoundException.

Two questions:

Can you share the .csproj file of your plugin?
How are you getting files into the plugin directory? i.e. do you run dotnet publish --output $path or something else?

@natemcmaster

I can't share all contents of the project file because it contains sensitive information.

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <UseWPF>true</UseWPF>
    <UseWindowsForms>true</UseWindowsForms>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.0.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.0.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="3.0.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Design" Version="1.1.6" />
    <PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
  </ItemGroup>

  <ItemGroup>
    <None Update="northwind.sqlite3">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>

</Project>

dotnet publish "ProjectFileName" -c Release and then xcopy them into the "plugins" directory

Sorry, but I don't think there is anything I can do to fix this error. Under the hood, EF Core's SQLite provider uses https://github.com/ericsink/SQLitePCL.raw. The way SQLitePCLRaw.nativelibrary is attempting to load the "e_sqlite3.dll" library circumvents this essential callback in System.Runtime.Loader.AssemblyLoadContext.
The root cause appears to be the use of System.Runtime.InteropServices.NativeLibrary. This doesn't account for the current AssemblyLoadContext or the runtimes/$rid/native/*.dll layout.  System.Runtime.Loader.AssemblyDependencyResolver might be a better library for SQLitePCLRaw to use, but I'll leave that up to @ericsink.
Workaround
Change your plugin deployment to include a runtime identifier. dotnet publish --runtime win-x64 should do the trick.

Hmmm.  This is interesting.  Thanks for tagging me in.  Not sure yet what to do about it.

Your workaround isn't a workaround... The native sqlite library needs to know which architecture to use. At least 32/64bit... Run into this with shared libraries for xamarin - It's normal

You're right. Depending on your scenario, publishing the plugin using --runtime <RID> may not be feasible. Any other suggestions on how to workaround this?
By the way @ericsink, it seems like we've run into the "native" version of this "managed" problem: https://github.com/dotnet/coreclr/blob/v3.0.0/Documentation/design-docs/AssemblyLoadContext.ContextualReflection.md#problem. Basically, the API used by SQLite isn't aware of the context it is called from. I think we should request a feature in coreclr to make System.Runtime.InteropServices.NativeLibrary honor the current assembly loading context.

Hmmm.  That's good info.  I'm getting a better understanding of the problem here.

Any updates on this? Dead in the water on it currently.

No significant update yet, but let's link this issue too:  ericsink/SQLitePCL.raw#343

I believe this will be addressed in .NET 5 - see https://github.com/dotnet/runtime/issues/13819.
I'm closing as there is no action item here for this library. The problem is external to my code and something I can't fix in older versions of .NET.

Hi guys,
I was also facing the same issue. I found the solution and it's working perfectly for me. If you ask I can write a detail note on the solution.

Hi guys,
I was also facing the same issue. I found the solution and it's working perfectly for me. If you ask I can write a detail note on the solution.

Yes please....

Hi!
@jeremybytes have a blog post about this error here.
Maybe his solution will ever help someone, although it's a "work-around".

Hi! @jeremybytes have a blog post about this error here. Maybe his solution will ever help someone, although it's a "work-around".

Yes, his solution of manually copying the e_sqlite3.dll worked for me (I don't like it either)

I had a windows form project running in .Net 6.0.
When I upgraded it directly to .Net 8.0.8, there was no problem working in debug, but when I published the application and installed it through setup, I encountered this error.
After trying many solutions, I finally changed the .Net version to 7.0 and the problem was solved.
Then when I downgraded to .Net 8.0.8 again, I didn't get the same error again.
I guess upgrading suddenly causes some deficiencies in such version transitions.


java-microprofile: upgrade OL version

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

Update the java-microprofile stack to use Open Liberty version <IP_ADDRESS>
Make the stack image version of OL consistent with the build image version of OL
Related Issues:
Fixes #644

@Kamran64  - We are good to go with this PR. Can you review when you get a chance? Thanks!


Removed colors devDependency

I originally replaced it with chalk, but couldn't find any code that actually uses colors... so I just removed it altogether.
Fixes #20390.

Colors is only used by typescript custom tslint formatter: https://github.com/Microsoft/TypeScript/blob/7bb5fc22c28311b9a08c6188ef6093ee5271c1a3/scripts/tslint/formatters/autolinkableStylishFormatter.ts#L2

@JoshuaKGoldberg Can you refresh from master?


Advanced Search improvements (from 1928)

Problem Description:
Meta ticket for Advanced Search Improvements.  This ticket should be promoted to dev board along with all the other related tickets, when prepared.
Expected Behavior/Solution:
TBD
Requirements:
https://app.smartsheet.com/sheets/HhQC82P9vXGM5pXj96824Hq6ggH385RW2635G6q1?view=grid
Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[x] Related Tickets formed
[ ] Requirements approved by Core and Dev Teams
[ ] Requirements reviewed with Interactions
[ ] Further tickets added/connected here
[ ] Wireframe/Mockup - Mike
[ ] Committee discussions - Sarah
[ ] Feasibility/Team discussion - Sarah
[ ] Backend requirements - TBD
[ ] Frontend requirements- TBD
[ ] Questions
List of questions for discussions. Answers should be documented within the issue.

UAT/LUX Examples:
Dependencies/Blocks:
Related Github Issues:

https://git.yale.edu/lux-its/lux-web/issues/1892
https://git.yale.edu/lux-its/lux-web/issues/1801
Note UAT comments on https://git.yale.edu/lux-its/marklogic/issues/1097
https://www.bugherd.com/projects/284041/tasks/1885

Related links:

https://www.bugherd.com/projects/284041/tasks/1840
location in LUX
https://www.bugherd.com/projects/284041/tasks/1885
location in LUX

Wireframe/Mockup:
Place wireframe/mockup for the proposed solution at end of ticket.

Closing as this is similar to #14, all information from this tix has been put into #14


Nav Link Text Wrap

Description

Resolves  #3090.
When the property white-space:pre is removed the nav link text will wrap when the drawer is expanded. However, when the drawer is collapsed the nav link text is set to hidden but the space it occupies on the DOM is respected and creates this extra spacing between the icons.
How Has This Been Tested?
I visually inspected the code change and added screenshots.

Checklist:

✔ The PR is submitted to the correct branch (dev).
✔ My code follows the code style of this project.

Thanks!


machinepool: sort ownedLabels, ownedTaints

With these unsorted, it was possible to thrash MachinePools.
HIVE-2541
(cherry picked from commit e243c4396ee43edeb994d9a0754605d8d9992992)

/override ci/prow/security
Being addressed via #2353 and #2387

/override "Red Hat Konflux / hive-mce-25-on-pull-request"

/assign @suhanime
Manual backport, merge conflict on the test side.

/lgtm

/cherry-pick mce-2.4


Format SwapId when running swap-cli ls

The SwapId is currently returned as:
swap_list(---
- - 110
  - 202
  - 178
  - 71
  - 171
  - 91
  - 126
  - 20
  - 114
  - 174
  - 82
  - 254
  - 207
  - 58
  - 155
  - 142
  - 201
  - 42
  - 94
  - 92
  - 27
  - 126
  - 135
  - 85
  - 145
  - 207
  - 73
  - 95
  - 57
  - 7
  - 151
  - 30
)

In the info call it is truncated:
swaps:
  - "0x6eca…971e"

And the take success message is also truncated:
Success: Public offer registered: 0x6010…30c4

If I'm not  mistaken the only way to retrieve a SwapId currently is by copying it from the logs. The SwapId should always be printed in full.

This is related to core impl. The macro used that generates Display truncate the id, this has to be fixed in core.

Working on different displays (cli, logs).
This one is related to the yaml serialization: the SwapId struct is an array of 32-bytes, yaml will serialize through serde the content of this struct, i.e. a list of bytes. Exploring the best way to apply the format we want where we want it.

To resolve the info command formating, after landing the PR in core and update the node we just have to remove:
#[serde_as(as = "Vec<DisplayFromStr>")]

So serde is used with its default.


Fix race in FirewalldInit

It was possible that signalHandler won't start because connections is
not assigned.

do you use firewalld, how did you find this :)

LGTM

Yeah, I use firewalld since merge. But I think that race detector doesn't mind :) He just finding races in code.

LGTM


Exception Control 2.16.840.1.1137<IP_ADDRESS> not implemented

Hi,
When using the dartdap module in a production application, we encounter an error that only occurs when the user is notified that their password is going to expire (in 30 days).
We see in the application logs an unimplemented exception on the Control 2.16.840.1.1137<IP_ADDRESS> Password Expiration Warning Control.
This bug is blocking because the user can no longer log in even though their password is still valid.

I'm guessing the dartdap client doesn't like the control being sent back from the server. It's a control that has not been implemented yet in the client.
To get around this problem in the (very) short term, your server probably has some way of clearing that control field so the server doesn't send it to the client. You would have to do that manually as an admin.
It would be helpful if you can get a trace in the client of the sequence that triggers this. I can try to take a look at this later this week.

Also - a more complete error log would help

We work with a directory in production for several thousand users and cannot modify it in any way.
From my point of view, classes that implement LDAP in other languages pose no problem, this is the first time we have had this type of problem.
I  send the log as soon as possible.

Really, dartdap should not be throwing any sort of exception if it gets an unknown control.
If logging the control's OID somewhere is possible before just continuing, that would IMO be the best option.

Yep - agreed.  This in the _parseControl method. It throws an exception if it doesn't recognize the control.
I'll create a fix to just log the unknown control.

Pushed 0.7.0 to pub.dev

Good morning,
Many thanks for the responsiveness and correction of this bug.
We will test this fix quickly and I will come back to comment on the evolution ;-)
Here is the log of the error that blocked us:


Editor: Camera Component editor

Description
Some of Components such as Camera has complex editor logic i.e. Camera can be Perspective with Field of View parameter or Orthogonal with Width parameter.
Steps to Reproduce
1. Launch World Editor
2. Create Camera Object
3. Refer to Properties window

Expected behavior:
Developer should be able to change camera related parameters.
Actual behavior:
There is no any camera parameters except "Camera Background Color"
Reproducibility:
N/A
Versions
release-2.0
Additional Information
In general: Will need to implement some interface to be able declare own editors with ability to draw custom handles.

Outdated feature


failed to configure stream on ingester connection

Background
I am using a tip of dev ingester b93eeec7638f06b1d63f64d4e2cd8f6ac19aebee pointed at 4.2.8-2 prod release.
When starting up the ingester it will fail to complete the handshake a few times (0-10) on startup.  It eventually succeeds.
Cache is active, happens on pipe and cleartext targets.  Ingester is colocated with the indexer.
Here is the output with the -v flag:
<14>1 2022-01-27T20:37:13.904357Z localhost httpingester - ingest/muxer.go:1394 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] initializing connection
<14>1 2022-01-27T20:37:13.919955Z localhost httpingester - ingest/muxer.go:1412 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] connection established, completing negotiation and requesting approval to ingest
<12>1 2022-01-27T20:37:13.938732Z localhost httpingester - ingest/muxer.go:1455 [gw@1 ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c" indexer="tcp://<IP_ADDRESS>:4023" error="EOF"] failed to configure stream
<14>1 2022-01-27T20:37:13.939296Z localhost httpingester - ingest/muxer.go:1394 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] initializing connection
<14>1 2022-01-27T20:37:13.967492Z localhost httpingester - ingest/muxer.go:1412 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] connection established, completing negotiation and requesting approval to ingest
<12>1 2022-01-27T20:37:13.971681Z localhost httpingester - ingest/muxer.go:1455 [gw@1 ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c" indexer="tcp://<IP_ADDRESS>:4023" error="EOF"] failed to configure stream
<14>1 2022-01-27T20:37:13.971847Z localhost httpingester - ingest/muxer.go:1394 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] initializing connection
<14>1 2022-01-27T20:37:13.997344Z localhost httpingester - ingest/muxer.go:1412 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] connection established, completing negotiation and requesting approval to ingest
<12>1 2022-01-27T20:37:14.001367Z localhost httpingester - ingest/muxer.go:1455 [gw@1 ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c" indexer="tcp://<IP_ADDRESS>:4023" error="EOF"] failed to configure stream
<14>1 2022-01-27T20:37:14.001513Z localhost httpingester - ingest/muxer.go:1394 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] initializing connection
<14>1 2022-01-27T20:37:14.026475Z localhost httpingester - ingest/muxer.go:1412 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] connection established, completing negotiation and requesting approval to ingest
<12>1 2022-01-27T20:37:14.03021Z localhost httpingester - ingest/muxer.go:1455 [gw@1 ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c" indexer="tcp://<IP_ADDRESS>:4023" error="EOF"] failed to configure stream
<14>1 2022-01-27T20:37:14.030324Z localhost httpingester - ingest/muxer.go:1394 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] initializing connection
<14>1 2022-01-27T20:37:14.053067Z localhost httpingester - ingest/muxer.go:1412 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] connection established, completing negotiation and requesting approval to ingest
<14>1 2022-01-27T20:37:14.064465Z localhost httpingester - ingest/muxer.go:1460 [gw@1 ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c" indexer="tcp://<IP_ADDRESS>:4023"] successfully connected with ingest OK
<14>1 2022-01-27T20:37:14.064575Z localhost httpingester - ingest/muxer.go:1037 [gw@1 indexer="tcp://<IP_ADDRESS>:4023" ingester="httppost" ingesteruuid="941af247-e3af-494b-8ccf-398f0636a81c"] connected

Config snippet:
[Global]
Ingester-UUID="941af247-e3af-494b-8ccf-398f0636a81c"
Ingest-Secret = stuff
Connection-Timeout = 0
Insecure-Skip-TLS-Verify=true
#Cleartext-Backend-Target=<IP_ADDRESS>:4023 #example of adding another cleartext connection
#Cleartext-Backend-Target=<IP_ADDRESS>:4023 #example of adding a cleartext connection
#Encrypted-Backend-Target=<IP_ADDRESS>:4024 #example of adding an encrypted connection
Pipe-Backend-Target=/opt/gravwell/comms/pipe #a named pipe connection, this should be used when ingester is on the same machine as a backend
Log-Level=INFO #options are OFF INFO WARN ERROR
Ingest-Cache-Path=/opt/gravwell/cache/http_ingester.cache
#Max-Ingest-Cache=1024 #Number of MB to store, localcache will only store 1GB before stopping.  This is a safety net
Bind="<IP_ADDRESS>:9999"
Max-Body=4096000 #about 4MB
Log-File=/opt/gravwell/log/http_ingester.log #optional log file
Health-Check-URL="/health/check"

# Example that creates a listener that is API compatible with the Splunk HEC
[HEC-Compatible-Listener "testing"]
        URL="/splunk"
        TokenValue="stuff"
        Tag-Name=hectest

[Kinesis-Delivery-Stream-Listener "testing"]
        URL="/kds"
        TokenValue="stuff" #set the access control token
        Tag-Name=kdstest

needed some additional error context, https://github.com/gravwell/gravwell/pull/447 should provide that.  Bumping to later mileston in the meantime so maybe we can catch this happening again with better error messages.

haven't been able to reproduce

haven't been able to replicate in some time and we have done some work in this library.  I am going to close this.


thread 'main' panicked at 'called Result::unwrap()

I just wanted to leave this here. Happens every week or so using Spotty v4.6.2. I have enabled debug logging for plugin.spotty now.
Nov 24 12:42:46 nasty squeezeboxserver[3917482]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Custom { kind: UnexpectedEof, error: "early eof" })', src/spotty.rs:113:26
Nov 24 12:42:46 nasty squeezeboxserver[3917482]: stack backtrace:
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    0:           0x6cbd0a - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    1:           0x44966f - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    2:           0x6cb491 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    3:           0x6caed0 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    4:           0x6ca497 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    5:           0x6e683d - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    6:           0x6e67ac - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    7:           0x6e675d - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    8:           0x4005f0 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:    9:           0x400ce2 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:   10:           0x43cf77 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:   11:           0x6b050c - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:   12:           0x6beab3 - <unknown>
Nov 24 12:42:46 nasty squeezeboxserver[3917482]:   13:           0x6af930 - <unknown>

Please be careful with plugin.spotty logging: it's super noisy and can create huge log files!
Most likely this crash is due to some temporary networking issue. Is this for the Connect daemon or when you try to play a track?

I'm not sure. I'll try to correlate this to our use of Spotty next time it happens.

I received another panic this morning just like the one above but with a different spotty.rs line number. It was a t 2:30 AM. It is safe to say no-one in my household was interacting with Spotty at that time.

I have just updated Spotty to 4.8.1. I'll let you know if that changes these crashes.

Recent  spotty actually is built right off of my https://github.com/michaelherger/librespot fork.


Add the Ansible hosname option "use" for specific update strategy

I had to use this for a specific use case with a DietPi host, a damn small Debian like Linux. On DietPi the hostname module fails to update with systemd strategies (has to do with missing dbus functionalities). This option is meant to specify other strategies. On DietPi i had to set alpine instead.
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/hostname_module.html

Hi Chris
Thank you for the PR draft!
I can indeed see that this probably causes issues with the more exotic distributions.
As such I have no objection to add an option to pass along a custom "use" parameter. I would however not use "systemd" as the default, as this would break the auto detection system that the module normally uses. I'm convinced it's probably better to not have a default value for this parameter, and to use the default(omit) filter so that the module will use it's auto discover feature if no value is provided.


Update latest compiled release

The compiled releases are a convenient way to install KMonad on systems without installing any tools to compile it yourself. However, the latest release is currently 3 years old. Many fixes and improvements have been made in that time (including a bug I just dealt with that has been patched) - it would be nice to have an up-to-date release so that we could use a prebuilt binary while getting these benefits.
I don't believe a pull request can be made to create a release (if so I could potentially create one) so I believe it has to be a maintainer/someone with control over the repository to do so.

Would also like to see this

I believe this issue is solved:
https://github.com/kmonad/kmonad/releases/tag/0.4.2

Indeed, thanks!


False positive unused variable warning

This code produces a false positive warning for variable _defaultCrew
private _defaultCrew = getText (configFile >> "cfgVehicles" >> "All" >> "crew");

"isClass _x && {getNumber (_x >> 'scope') == 2} && {getText (_x >> 'crew') != _defaultCrew}" configClasses (configFile >> "cfgVehicles")

This also happens with the following example:
private _var = A getVariable "x";
private _x = isNil "_var";

_var is marked as unused, but it is used.


Write integration tests for (and finalize implementation of) creation of E.O.S wallets

Context

Ideally, we want to replay most of our existing integration test suite for F.O. wallets against E.O. wallets (where it makes sense). As a first step, we want to at least cover the creation of such wallets and make sure we can correctly send API requests.
Decision

Cover creation of E.O.S wallets via integration tests.
Acceptance Criterias

[x] Creation of E.O.S Wallets should be tested and covered in CI.

Development Plan

[x] Review creation of EOS wallet (API Types, Wallet Layer, Kernel and Acid State layers)
[x] Implement dummy getter / read endpoint for EOS wallet
[x] Write a scenario testing creation + lookup of E.O. wallet
[x] Add an extra guard to EOS wallet creation to make sure that given wallets can actually only be created from a consistent non empty list of accounts
[x] More testing scenarios to illustrate the above.

PR

Number
Base

#277
develop

#305
develop

#307
develop

#311
develop

#310
develop

#325
develop

QA

Criteria
Coverage

1.
This is rather "basic" (cf Scenario/EosWallets) but really aims at testing the core capabilities of the E.O.S wallet (DB layer and such), making sure we aren't doing anything crazy there. Eventually, we want to add more test here about other parameters of the payload (e.g. assuranceLevel or name) in a very similar fashion as we did for fully owned wallet. Yet, I'd rather leave that for a bit later for now and move on with the testing the rest of the core capabilities.

lgtm :+1:
(with the assumption this suite will be extended in the nearest future)


🐛 only read the first item when RawFeedbackJsonString is disabled (#613)

only read the first item when RawFeedbackJsonString is disabled

This is to ensure the backward compatible when the feature gate is disabled

Add a test for backward compatible

Summary
Related issue(s)
Fixes #https://issues.redhat.com/browse/ACM-14074

/assign @qiujian16

/lgtm


esbuild doesn't watch for local library changes while running dev server

Command
serve
Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
see #25322
see #25568
see #25011
see #25395
all issues are closed and the functionality does not work
when using "@angular-devkit/build-angular:browser" instead of "@angular-devkit/build-angular:browser-esbuild" everything works fine
Minimal Reproduction
see issues
Exception or Error
No response
Your Environment
Angular CLI: 16.1.5
Node: 18.17.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular: 16.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1601.5
@angular-devkit/build-angular      16.1.5
@angular-devkit/core               16.1.5
@angular-devkit/schematics         16.1.5
@angular/cdk                       16.1.5
@angular/cli                       16.1.5
@angular/flex-layout               14.0.0-beta.41
@angular/material                  16.1.5
@angular/material-moment-adapter   16.1.5
@schematics/angular                16.1.5
rxjs                               7.8.1
typescript                         5.1.6
zone.js                            0.13.1

Anything else relevant?
No response

In my Nx project, only the array files in the "styles" configuration (in build { options }) are not watched with esbuild.
An extra configuration should be to added to list files or folder to wacth.

what additional configuration are you talking about?
I create a library according to https://angular.io/guide/creating-libraries
if the library works with "@angular-devkit/build-angular:browser", I expect it to work with  "@angular-devkit/build-angular:browser-esbuild" as well

Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.
If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.


Fix "old-style function definition" warning all over the repo

This popped up during the OpenWSN integration into RIOT. There, warnings are treated as errors by default, which lead to tons of errors at first. What do you think about an update as proposed in this PR and how would you organize it? All in once commit, split up?
If it's not interesting to you, just close.

@PeterKietzmann I think this is very cool! I will merge the pull request.


KRR computes recommendation for lots of Kubernetes objects, but if just one errors out no results are printed

Describe the bug
KRR computes recommendations for lots of Kubernetes objects but if just one errors out, no useful results are printed.
To Reproduce
Steps to reproduce the behavior:

Have an unstable Prometheus cluster
Run krr simple
Observe that even though lots of INFO     Calculated recommendations for ... lines are printed, if one object errors out, none of these recommendations are printed, only the error/traceback is printed.

Expected behavior
A partial result is printed with the recommendations for the objects for which KRR was able to compute, and a list of errors for the objects that had errors.
Are you interested in contributing a fix for this?
Yes!!
Desktop (please complete the following information):

OS: MacBook-Pro 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:59 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6030 arm64
Version: v1.10.0

Strongly in favor of a fix! It would be best to do it on top of the prometheus-workload-loader branch as that has some major changes that will be merged soon.
We would love to receive a PR for this.

Hey, I had an easy test case for this so I fixed it myself. Please test and confirm that this works.

Note that the fix isn't merged yet - it is on #307


v3 NuGet/build issues - guidance/roadmap

Hi, I was trying to use autorest 3.3.2 to generate a client for C# (as I would like to evaluate the use of HttpPipeline for this scenario) but so far I am failing left and right ;)
Going with autorest --csharp --input-file=https://petstore.swagger.io/v2/swagger.json gives me generated models etc. but many types seem to be missing during compilation and the csproj contains <PackageReference Include="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210728.1" PrivateAssets="All" /> which can't be restored due to that version missing from the feed. (see here, then here and here)
Downgrading to the last version where the NuGet package seems to be available (autorest --csharp --input-file=https://petstore.swagger.io/v2/swagger.json --use=<EMAIL_ADDRESS>results in fewer errors but still doesn't work and the results for v3 openapi are similar.
Furthermore I noticed that the code generate for the swagger reference/example petstore contains
        public async Task<Response<object>> FindPetsByStatusAsync(Enum1? status = null, CancellationToken cancellationToken = default)
        {
            using var message = CreateFindPetsByStatusRequest(status);
            await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false);
            switch (message.Response.Status)
            {
                case 200:
                    {
                        IReadOnlyList<Pet> value = default;
                        var document = XDocument.Load(message.Response.ContentStream, LoadOptions.PreserveWhitespace);
                        if (document.Element("ArrayOfPet") is XElement arrayOfPetElement)
                        {
                            var array = new List<Pet>();
                            foreach (var e in arrayOfPetElement.Elements("pet"))
                            {
                                array.Add(Pet.DeserializePet(e));
                            }
                            value = array;
                        }
                        return Response.FromValue<object>(value, message.Response);
                    }
                case 200:
                    {
                        IReadOnlyList<Pet> value = default;
                        using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false);
                        List<Pet> array = new List<Pet>();
                        foreach (var item in document.RootElement.EnumerateArray())
                        {
                            array.Add(Pet.DeserializePet(item));
                        }
                        value = array;
                        return Response.FromValue<object>(value, message.Response);
                    }
                case 400:
                    return Response.FromValue((object)null, message.Response);
                default:
                    throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false);
            }
        }

which has colliding switch-cases.
Is there any guidance on how/when v3 can be successfully used for that scenario? Is there a roadmap on when the v3 generator will be ready to be used in production?
Kind regards,
Simon

As for the missing nuget packages, I saw they started publishing to a different feed here. No announcement about it, so I'm not sure what the plan is or how official the usage of this feed is.


CRLF line terminators

hi Willi,
on my Linux system, the CRLF line terminators are problematics : when I try to run your evtx_dump script, I've this error : /usr/bin/env: 'python\r': Permission denied
regards, lacsaP.

should be fixed in 84a03b3, which will be merged into master very soon


Add CatBoostClassifier/CatBoostRegressor Docs & Fix badge links

I added documentation for the python CatBoostClassifier/CatBoostRegressor models. Additionally, the beacon-biosignals links were updated with JuliaAI, so hopefully, all the badges will work again.
https://github.com/JuliaAI/CatBoost.jl/issues/19

@ablaom The MLJTestInterface tests are failing because the data is being split down the middle, so only one label is being passed to the CatBoostClassifier in the binary case (using the MLJTestInterface.make_binary() data). This seems to be a new addition to MLJTestInterface. Should I shuffle the data to avoid this, or is this a MLJTestInterface change?
https://github.com/JuliaAI/MLJTestInterface.jl/commit/702c7b9a959f85c920538d1865c85d54f8aae704

Ah. Thanks for reporting this. Ideally, binary classifiers should be able to handle a level not manifest in the training target (but present in the pool) but I understand this can be a pain to fix. One could predict the seen class every time, with probabability one, if probabilistic. Although this ordinarily isn't a problem on larger datasets, I would encourage you to post an issue to have this remedied at some point. In the meantime one could either mark the test as broken (probably better practice) or hack a fix as you suggest.
Some other models failed in this way and we fixed them a little while back. CatBoost slipped through on the old version of the tests (not sure why) but the even stricter tests just released are catching the issue. By the way, I tested that the stricter tests are okay for all registered models, so am inclined to keep the new stricter tests, as I still think they are correct.

Codecov Report

Merging #20 (4159f20) into main (bde0968) will increase coverage by 3.95%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   73.61%   77.57%   +3.95%
==========================================
  Files           6        6
  Lines         163      165       +2
==========================================
+ Hits          120      128       +8
+ Misses         43       37       -6

Impacted Files
Coverage Δ

src/MLJCatBoostInterface.jl
79.66% <ø> (+10.16%)
:arrow_up:

src/CatBoost.jl
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I just added a temporary fix to ensure the tests work across the platforms.  Setting the test to broken didn't fully fix it, so I assume the Python Exception is breaking the model fit, and not being caught. Here is the test table when setting the test to broken.
``
Test Summary:             | Pass  Error  Broken  Total   Time
MLJ Interface             |    1      1       1      3  53.6s
MLJ Examples            |                       None   9.8s
CatBoostClassifier      |                       None   0.4s
CatBoostRegressor       |                       None   0.1s
generic interface tests |    1      1       1      3  43.3s
CatBoostRegressor     |    1                     1  31.5s
CatBoostClassifier    |           1       1      2  11.8s

I just added a temporary fix to ensure the tests work across the platforms.

Perhaps @ericphanson will want to comment / review. I've looked over the PR and it looks otherwise good, thanks.
In any case, I suggest posting an issue to revert the test when #22 is addressed, or you can add a comment there.

I think  a real maintainer should merge this. @ericphanson or @tylerjthomas9 ?

I don't have merge permissions. However, this still looks good to me. I am struggling to think of a good way to implement the single class case for the classifier (#22), but that can be tackled later.


Core Rulebook theme issues

First off, your work is amazing. Thank you!
Here are some things I'm seeing which might help improve the look.
Active Modules: PF2e Dorako UI, PF2e Dorako UX, The Forge, Tidy UI - Game Settings.
The biggest reason I love your module is the Player Color Chat Headers, however I'm finding them difficult to use with the latest update.
Settings:

The switch to using backround-blend-mode: screen turns the player color into this pastel color.
In addition to inaccurately portraying the player's chosen color, this breaks the display of the player's name.
The previous functionality to change to a light colored font based on player color isn't adjusting to the basically forced lighter background. Here you can see where I changed the player's color from the default purple, then only changing the luminosity setting to the point where it switching (159).

I believe if you swapped CRB setting for the background-blend-mode to overlay, these issues would be solved. But I am also a casual at best! So I'm sure an expert like you might know an even better solution.

I'm still working on some quirks related to the headers, but it's intended to look like normal.

This is how it looks for me as of 3.1.2

Oh! Wow, I didn't realize I was behind in updates.
My posts are using 3.1.0!
I see Forge has just now given me access to 3.1.1
And I look forward to 3.1.2! I know you are are making lots of tweaks with the 3.1.0 refactor and I was hoping to help. But seems like you're already 2 steps ahead of me!
Thanks again for all your hard work!

Oh! Wow, I didn't realize I was behind in updates. My posts are using 3.1.0! I see Forge has just now given me access to 3.1.1 And I look forward to 3.1.2! I know you are are making lots of tweaks with the 3.1.0 refactor and I was hoping to help. But seems like you're already 2 steps ahead of me!
Thanks again for all your hard work!

No problem - you're welcome to join us on the pf2e community discord https://discord.gg/huQ9KWSa
There's a Dorako UI/UX thread, so if you see anything off that's a great place to document it.

Testing out the CRB Window App and App theme with light colour scheme, and found a few quirks. Some menu buttons are unreadable unless highlighted, such as the save buttons on Configure Settings and Module Settings menus.

Same thing happens with damage roll dialogs

I've seen it in other buttons as well, such as when you edit language or currencies on the PC sheet. The common factor seems to be white buttons that include some kind of icon? But anyway, that's all I've got!

Hi, this affects all "bright" buttons in the CRB light theme, and is fixed for next release.


DRL_prediction() got an unexpected keyword argument 'trade_data'

While running this code snippet:
## make a prediction and get the account value change
trade = data_split(data_df, start = '2019-01-01', end = '2021-01-01')

e_trade_gym = StockTradingEnv(df = trade, **env_kwargs)
env_trade, obs_trade = e_trade_gym.get_sb_env()

df_account_value, df_actions = DRLAgent.DRL_prediction(model=trained_ppo,
                                           trade_data  = trade,
                                           test_env = env_trade,
                                           test_obs = obs_trade)

The following error is shown:
TypeError                                 Traceback (most recent call last)
<ipython-input-33-4d8eb7f4ed48> in <module>
      5 env_trade, obs_trade = e_trade_gym.get_sb_env()
      6
----> 7 df_account_value, df_actions = DRLAgent.DRL_prediction(model=trained_ppo,
      8                                            trade_data  = trade,
      9                                            test_env = env_trade,

TypeError: DRL_prediction() got an unexpected keyword argument 'trade_data'

I edited the code according to another issue as follows:
## make a prediction and get the account value change
trade = data_split(data_df, start = '2019-01-01', end = '2021-01-01')

e_trade_gym = StockTradingEnv(df = trade, **env_kwargs)
env_trade, obs_trade = e_trade_gym.get_sb_env()

df_account_value, df_actions = DRLAgent.DRL_prediction(model=trained_ppo, environment= env_trade)

But then this error is shown:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-36-a56b69d97bb9> in <module>
      5 env_trade, obs_trade = e_trade_gym.get_sb_env()
      6
----> 7 df_account_value, df_actions = DRLAgent.DRL_prediction(model=trained_ppo, environment= env_trade)

~\anaconda3\lib\site-packages\finrl\model\models.py in DRL_prediction(model, environment)
     70     @staticmethod
     71     def DRL_prediction(model, environment):
---> 72         test_env, test_obs = environment.get_sb_env()
     73         """make a prediction"""
     74         account_memory = []

AttributeError: 'DummyVecEnv' object has no attribute 'get_sb_env'

How can I solve this error?!

Did you manage to solve the 'DummyVecEnv' object has no attribute 'get_sb_env' error?


Fix grunt dist-css.

After: #1350.

I am sorry. Correct #1315.

Thanks @vsn4i!

Can you send a PR for the missing variable in the build (bs 2) file and missing style in the BS2 less file? I just was it was missing from the original feature PR!