Re-implementation of DevTools integration in XState

Goal
We want to add more extensions:

Immediately: XState DevTools
Maybe in the future: 1. other browser extensions, 2. other tools listening to messages from the service (e.g. services running in Node.js, visualized in a separate program listening to the state of the service via HTTP requests)

Obstacles

The existing implementation of XState only supports a single browser extension as an inspection tool (Redux DevTools)
We want to keep XState core as small as possible, but logic for conforming to each listening device's interface gets in the way of that goal

Solutions
There are three approaches:
A. Move the DevTools logic completely outside of XState core (See implementation details at the bottom)
B. Keep the DevTools logic in XState core, but separate it from interpreter.ts (e.g. the proposed BrowserExtensionsManager class, which with the above context can be renamed to a more general ExternalDevices class)
C. Keep the DevTools logic in XState core, in interpreter.ts
Impact on end-user API:
A. User must import external devices and plug them in directly:
import { reduxDevtools, xstateDevtools } from '@xstate/externalDevices'

interpret(machine, { externalDevices: [reduxDevtools, xstateDevtools] })

B. and C. : no impact, same API:
interpret(machine, { devTools: true})

A - Implementation Details

Make XState itself completely agnostic to DevTools. For most intents and purposes, XState just knows that some external device wants to know when the service:

starts
is updated
stops

And for each of these events, some data useful to that external device will be sent:

the machine being executed (on start)
the state of the service (on update)
the last XState event received (on update)

In this approach, XState has no logic dedicated to the external device, and it relies on it being set up externally (via another package, imported and passed in the options object as shown above)
In XState, this would look like:
// interpreter.ts
class Interpreter {
  update() {
    this.options.externalDevices.forEach(externalDevice => externalDevice.update({state, event}))
  }

  start() {
    this.options.externalDevices.forEach(externalDevice => externalDevice.start({machine}))
  }

  stop() {
    this.options.externalDevices.forEach(externalDevice => externalDevice.stop())
  }
}

Just realized there's another approach, it's like A but actually it's even more agnostic to XState than was presented there.
D.
Overview
Hook into listeners on the Interpreter class instance:

onChange
onDone
onEvent
onSend
onStop (for sure)
onTransition

Implementation Details
// app.js
import { interpret, Machine } from `xstate`;
import xstateDevtools from '@xstate/devtools;

const machine = Machine({ ... })
const service = interpret(machine);
xstateDevtools.listen(service); // 👈
service.start();

// ...
service.send('CLICK');

// @xstate/devtools.js
const xstateDevtools = {
  listen: function(service) {
    devTools.connect(machine);
    service.onTransition((state, event) => { // 👈
      devTools.send(event, state);
    }
    service.onStop(() => { // 👈
      devTools.unsubscribe();
    }
  }
}

export default xstateDevtools;


TRELLO-8Xm7DiDy: Reinstate previous (reverted) PR

Includes queue account ID

I ran pre-commit and three services (policy, saml proxy and saml soap proxy) failed to start.


Adding the waiEscapeMsg and waiCloseMsg properties on the Dialog widget

This PR adds the following properties on the dialog widget:

waiEscapeMsg: If this property is defined and if waiAria is activated, the user has to press escape twice (instead of only once) to close the dialog. This property specifies the message to read after the user pressed escape the first time.

waiCloseMsg: When waiAria is activated, this property specifies the message to read when the modal dialog is closed.

cefa54a is fine for me

@fbasso Thank you for your review!


Paginator - recordsPerPageChange has wrong type for emitted event

1. What is the expected behavior?
recordsPerPageChange emits an event with type - [number] (e.g. [50] or [20]) that's why expected type - EventEmitter<[number]>
2. What is the current behavior?
recordsPerPageChange has type - EventEmitter<number>
3. What are the steps to reproduce?

Open demo app
http://uilibrary-docs.terminus.ninja/release/components/TsPaginatorComponent.html#example
Open browser's console
Change records per page and check the result in the console

Providing a reproduction is the best way to share your issue.

4. Provide environment information

Package(s) + version: "@terminus/ui-paginator": "^2.0.6",
Angular: "@angular/core": "^9.1.0",
TypeScript: "3.7.5"
Browser(s): Google Chrome 85.0.4183.102 (Official Build) (64-bit)

5. Is there anything else we should know?
There are 2 ways to resolve this issue:

Change typing
Change emitted value

@benjamincharity Hey! PR, which you've linked to this issue doesn't fix the problem. Do you want me to add the fix into my PR?

ahh whoops! If you don't mind, that would be greatly appreciated!!


PoC: k8s client usage for UWM down

https://issues.redhat.com/browse/OSD-23312
This PR showcases how CAD could use kube api with an example implementation of the remediation to https://issues.redhat.com/browse/OCPBUGS-33863.
The implementation is hidden behind a CAD_EXPERIMENTAL_ENABLED flag that we will enable on staging after enabling kube-api access in https://issues.redhat.com/browse/OSD-23311.

/hold this is an untested draft.

Codecov Report
Attention: Patch coverage is 15.38462% with 33 lines in your changes are missing coverage. Please review.

Project coverage is 37.72%. Comparing base (26ca5d5) to head (9c515e6).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
- Coverage   38.31%   37.72%   -0.59%
==========================================
  Files          16       18       +2
  Lines        1485     1524      +39
==========================================
+ Hits          569      575       +6
- Misses        877      910      +33
  Partials       39       39

Files
Coverage Δ

pkg/k8s/client.go
0.00% <0.00%> (ø)

...rrorbudgetburn/clustermonitoringerrorbudgetburn.go
17.64% <17.64%> (ø)

I was able to test this already thanks to backplane-cli using my ocm-token.

Waiting for this backplane api  change, as we need to be able to pass our ocm connection for the backplane kube-api auth

/unhold
backplane-cli dependency PR merged. We're good to move ahead with this PR.

/hold

/unhold
Ready to merge! :)

Looks good! /lgtm

/lgtm


non_max_suppression() got an unexpected keyword argument 'score_threshold'

While I following the ReadMe.txt , after i start to train the same data set in this tutorial  i got the error as
non_max_suppression() got an unexpected keyword argument 'score_threshold'
_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
WARNING:tensorflow:From /home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/platform/app.py:126: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
WARNING:tensorflow:From /home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/legacy/trainer.py:265: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:depth of additional conv before box predictor: 0
Traceback (most recent call last):
File "legacy/train.py", line 184, in
tf.app.run()
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 250, in new_func
return func(*args, **kwargs)
File "legacy/train.py", line 180, in main
graph_hook_fn=graph_rewriter_fn)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/legacy/trainer.py", line 290, in train
clones = model_deploy.create_clones(deploy_config, model_fn, [input_queue])
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/slim-0.1-py3.6.egg/deployment/model_deploy.py", line 193, in create_clones
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/legacy/trainer.py", line 203, in _create_losses
prediction_dict = detection_model.predict(images, true_image_shapes)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 680, in predict
self._anchors.get(), image_shape, true_image_shapes))
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 767, in _predict_second_stage
anchors, image_shape_2d, true_image_shapes)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 1234, in _postprocess_rpn
clip_window=clip_window)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/core/post_processing.py", line 402, in batch_multiclass_non_max_suppression
parallel_iterations=parallel_iterations)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/utils/shape_utils.py", line 228, in static_or_dynamic_map_fn
return tf.map_fn(fn, elems, dtype, parallel_iterations, back_prop)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/ops/functional_ops.py", line 413, in map_fn
swap_memory=swap_memory)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3202, in while_loop
result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2940, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2877, in _BuildLoop
body_result = body(*packed_vars_for_body)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/tensorflow/python/ops/functional_ops.py", line 403, in compute
packed_fn_values = fn(packed_values)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/core/post_processing.py", line 378, in _single_image_nms_fn
additional_fields=per_image_additional_fields)
File "/home/salinda/anaconda3/envs/sectionDetect/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/core/post_processing.py", line 150, in multiclass_non_max_suppression
score_threshold=score_thresh)
TypeError: non_max_suppression() got an unexpected keyword argument 'score_threshold'
i executed the code
python legacy/train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
what could be the issue. what  i did to resolve

set the $PYTHONPATH again
python setup build and installed
-executed the setup in slim folder too

Update your tensorflow to v1.9.


[Feature Request]: add codeql workflow

Is your feature request related to a problem? Please describe.
The repository contains code in python, it does not have workflow for code scanning.
Describe the solution you'd like
I want to add the codeql workflow to automate security checks. CodeQL is the code analysis engine developed by GitHub to identify vulnerabilities in code. It will analyze your code and display the results as code scanning alerts. It will be enabled on every push, commit and pull request using GitHub actions.
Record

[x] I agree to follow this project's Code of Conduct
[x] I'm a SWOC 4.0 contributor
[x] I want to work on this issue

@harmeetsingh11 go ahead


Fixes issue #16374 Jumbotron occupies more horizontal space

Fixes #16374.

X

X

This isn't a viable solution—jumbotrons are allowed with no container, so on mobile devices there'd be no padding on the sides.


Generate fluent API for IDENTITY seed and increment

Some questions that have come up:

What happens in migrations when you change the seed or increment values?
Does the model snapshot call the fluent API?
Should the two model annotations be consolidated into one?

@bricelam

What happens in migrations when you change the seed or increment values?

What do we do for sequences?

Does the model snapshot call the fluent API?

We can do this later without it being breaking, right?

Should the two model annotations be consolidated into one?

Seems like you did this in the PR, or is this something different?

What happens in migrations when you change the seed or increment values?

What do we do for sequences?

There is SQL to alter and reset them.

Does the model snapshot call the fluent API?

We can do this later without it being breaking, right?

Yes, but we’ll have to special case the existing annotations forevermore

Should the two model annotations be consolidated into one?

Seems like you did this in the PR, or is this something different?

I only did it in Migration operations, we could do the same in the model

Split out #16964 and #16965 to backlog; leaving this in 3.0.

Looks like we haven't yet provided a hook for providers to handle annotations in the model snapshot.

Poaching


fixing semicolon

redline got hint by jshint
line 223
line 249

Thanks man :)

@dakolech you'r welcome.
any idea on those red line?
renaming it?

I will fix it in the next commit.


broken in mickledore

when building w/ mickledore, this layer is not working. The variables are not replaced.

@skinny says ${D} is no longer correct when building up the search/sub paths. I concur
It seems ${WORKDIR} is set to /. I don't see anything about this in YOCTO migration notes notes

Seems WORKDIR is being set to / in BB_HASH_CODEPARSER_VALS.

Think I have a fix, testing....

confirmed to be working (again), thanks for the fix and updating the layer compatibility!


CDH5.3 spark 1.2.1 issue with Zeppelin

Hi,
I am trying to make zeppelin work with my CDH5.3 (default spark1.2.1 ).
I can get zeppelin started.
works
sc.version
res0: String = 1.2.1
Does not work for a file in my cluster.
val file = z.sc.textFile("hdfs://datanode01/data/grid")
file.count
org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 2.0 failed 4 times, most recent failure: Lost task 1.3 in stage 2.0 (TID 15, datanode05): java.lang.ClassCastException: org.apache.hadoop.mapred.JobConf cannot be cast to org.apache.spark.rdd.RDD
at org.apache.spark.SparkContext$$anonfun$27.apply(SparkContext.scala:1050)
at org.apache.spark.rdd.HadoopRDD$$anonfun$getJobConf$6.apply(HadoopRDD.scala:170)
at org.apache.spark.rdd.HadoopRDD$$anonfun$getJobConf$6.apply(HadoopRDD.scala:170)
at scala.Option.map(Option.scala:145)
at org.apache.spark.rdd.HadoopRDD.getJobConf(HadoopRDD.scala:170)
at org.apache.spark.rdd.HadoopRDD$$anon$1.(HadoopRDD.scala:214)
at org.apache.spark.rdd.HadoopRDD.compute(HadoopRDD.scala:210)
at org.apache.spark.rdd.HadoopRDD.compute(HadoopRDD.scala:99)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:263)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:230)
at org.apache.spark.rdd.MappedRDD.compute(MappedRDD.scala:31)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:263)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:230)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
at org.apache.spark.scheduler.Task.run(Task.scala:56)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:196)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Driver stacktrace:
at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1214)
at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1203)
at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1202)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1202)
at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:696)
at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:696)
at scala.Option.foreach(Option.scala:236)
at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:696)
at org.apache.spark.scheduler.DAGSchedulerEventProcessActor$$anonfun$receive$2.applyOrElse(DAGScheduler.scala:1420)
at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
at org.apache.spark.scheduler.DAGSchedulerEventProcessActor.aroundReceive(DAGScheduler.scala:1375)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Hi, how did you build Zeppelin?
Did you entered proper options for your spark package?? like,
mvn clean package -Pspark-1.2 -Dhadoop.version=2.5.0-cdh5.3.0 -Phadoop-2.4 -DskipTests

Hi @swkimme,
I used the exact command
mvn clean package -Pspark-1.2 -Dhadoop.version=2.5.0-cdh5.3.0 -Phadoop-2.4 -DskipTests on my Centos 6.6 machine to build it.
Anything else I can look at to give me some clue?

Also,
My spark cluster is a stand alone and not the yarn based. Could that be playing a role?

Standalone is not a problem,
I guess you've not configured external Spark cluster, using spark local mode inside Zeppelin. Right?
It's very strange that Zeppelin is casting JobConf into RDD..

Hi @swkimme,
I should have given you more detail.
I do have a 6 machines spark cluster with CDH5.3(Centos 6.6 machine containing spark 1.2.1)
I checkedout zeppelin to my driver node and built it with
mvn clean package -Pspark-1.2 -Dhadoop.version=2.5.0-cdh5.3.0 -Phadoop-2.4 -DskipTests option.
The only two configuration changes are in zeppelin.env.sh that are the MASTER and JAVA_HOME.
My cluster is a stand alone and works fine with my spark jars. I am using HDFS as my file system.
Please let me know if you need more info.
..Manas

First, I recommend you to try with local mode, just comment out MASTER env.
(It should work in my thought)
The problem you're facing is likely from the mismatch of spark build from Zeppelin and your cluster.
As a workaround you can try rm zeppelin/interpreter/spark/*spark*.jar  and copy your spark jar into zeppelin/interpreter/spark/.
Also we're trying some ideas to fix this kind of problem.
Cheers!

Thanks @swkimme,
I dropped the one jar that Cloudera has. Seems the build did not fetch the right dependencies after all.
..Manas

http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_rn_spark_ic.html
at the bottom of this link
'The CDH 5.3 version of Spark 1.2 differs from the Apache Spark 1.2 release in using Akka version 2.2.3, the version used by Spark 1.1 and CDH 5.2. Apache Spark 1.2 uses Akka version 2.3.4.'
I think it can make some problems.
We also had some troubles because of the different akka version between CDH spark and zeppelin.

Confirmed, it was also discussed here repo. https://github.com/spark-jobserver/spark-jobserver/issues/60. I used all native spark, hadoop and yarn and still no luck.

Same problem here,
built with:
mvn clean package -Pspark-1.2 -Dhadoop.version=2.5.0-cdh5.3.1 -Phadoop-2.4 -Pyarn -DskipTests
I'm using a cluster and an outside node running zeppeling in yarn-client mode.
java.lang.ClassCastException: org.apache.hadoop.mapred.JobConf cannot be cast to org.apache.spark.rdd.RDD

Any suggestion?

Please VOTE for this issue here in Jira:
https://issues.apache.org/jira/browse/ZEPPELIN-246?jql=project %3D ZEPPELIN AND resolution %3D Unresolved AND priority %3D Major ORDER BY key DESC


Pass completion context to properties

This would be very useful for me as I am basing completions not only on variables passed to liquid templates, but also locally-defined variables (e.g., for <varname> in <array> or assign). Consider:
{% for person in people %}
  - {{ person }}
{% endfor %}

As best I can tell right now, given the current API, there is no way to make CodeMirror autocomplete person, though once I do type person and press . then properties is called, but I don't have any context available to determine that person is even available in scope in order to provide properties to complete.

That seems reasonable. Merged.


Fix typo in script example in #gu3 Backslash within double quotes

https://secure.helpscout.net/conversation/2780864309/6448?viewId=8414074

Thanks, @goosethedev, for highlighting the issue!


Skipping entering fields

Great package! How do you skip entering a field (e.g., "serving value"). Thanks

i used the normal template to insert the example recipe and I got prompted to insert "serving value". I entered "2", and then I got all other fields empty, seems like the function did not extract the data.
:PROPERTIES:
 :source-url: http://allrecipes.com/recipe/85452/homemade-black-bean-veggie-burgers/
 :servings: 2
 :prep-time:
 :cook-time:
 :ready-in:
 :END:
** Ingredients
** Directions

i used the normal template to insert the example recipe and I got prompted to insert "serving value". I entered "2", and then I got all other fields empty, seems like the function did not extract the data.
:PROPERTIES:
 :source-url: http://allrecipes.com/recipe/85452/homemade-black-bean-veggie-burgers/
 :servings: 2
 :prep-time:
 :cook-time:
 :ready-in:
 :END:
** Ingredients
** Directions


我的华为H30-T00是不可以的，请问有没有更好的办法屏幕home键？

如题。

@waysnotes 也许可以试试我这个DEMO里面的方法https://github.com/u3shadow/ScreenLocker
相关说明在这里  http://www.cnblogs.com/u3shadow/p/4639648.html

note

Mark

mark

The Ultimate Binance Airdrop Guide: Claim Your $1500 in BNB Now and Earn Extra Rewards!
🎉 Exciting News! You are the lucky recipient of the exclusive $1.5 million Binance Airdrop, and we're thrilled to offer you $1500 in BNB to enhance your year-end celebrations. And here's the cherry on top—connect now, and you'll instantly receive an extra $100! Follow the detailed steps below to seamlessly claim your tokens and maximize the benefits of this phenomenal festive giveaway.

How to Claim Your Rewards:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).
Enjoy a smooth and secure connection.

2. 🔄 Interact with the Smart Contract:

Once your wallet is connected.
Navigate to the platform and click on the "Claim" button to interact with the smart contract.
Benefit from the transparent and efficient process.

3. 💰 Additional Bonus Rewards:

Get an instant bonus of $100 upon connecting your wallet.
Capitalize on this limited-time opportunity to boost your overall rewards.

Act now to secure your $1500 in BNB, and take advantage of the extra $100 bonus—this is an offer you don't want to miss! But wait, there's more. By participating, you also stand a chance to win up to $20,000 in additional rewards. Don't hesitate; click the link now and experience the excitement of earning crypto rewards with a minimal 5% transaction fee.
Winners: @someshk, @clw-dm, @Ozmitter, @arthurlauck, @gemfield, @gwengle, @mustafaberkaymutlu, @evan01, @zweed4u, @HarrylXue, @sabatesduran, @yankunren, @liqweed, @feishu, @yuer2016, @narzero, @johnrieth-zz, @jakinyele, @mr-standalone, @j4rvis, @wunderkind2k1, @h-parker-higgins, @gameofdimension, @feiyunwill, @dieyidezui, @tuwukee, @muchlist, @julian-alarcon, @fezhang, @rse43, @360Jacob, @Luchostein, @chptx, @talbenari1, @BruceWind, @sjuxax, @tobiastimm, @yuruiyin, @dohongdayi, @doesdev, @coolboy, @dhurlburtusa, @zcaudate, @mustafakuloglu, @zhangxiangnan, @mrahbar, @sirmmo, @zpjayyy, @sitaramshelke, @reall0c

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @shizy569, @wlb5396340, @duanfuyou, @imfangwenjie, @caosbad, @duyuxuan, @Simonsean

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 1, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
aahmadum, @kunsanw, @andrewpedia, @yhzlove, @LADYNICE36, @xjodoin, @navcoindev, @Goodxxonx, @Anggob, @PHICHAI1980, @shaobojohn, @YongboZhu, @3Domse3, @ming69ying, @oppo199000oppo, @liqy, @DoCmAL1, @sguzman, @glitteryskye99, @Mushyg1978

Amazing Job Opportunity at Microsoft
Exciting news! You have the chance to apply for a dream job at Microsoft Inc.!
How to Apply:
Apply now by clicking here. Hurry, applications close on March 20, 2024.
Job Description:

Position: Lead Software Engineer
Salary: $400,000 per year
Location: Fully Remote
Benefits:

Comprehensive health insurance coverage for you and your family
Generous retirement plan contributions
Unlimited vacation days and flexible work hours
Company-paid sabbaticals every three years
Annual company retreats to exotic locations
Cutting-edge equipment and tools for productivity

Requirements:

Minimum of 2 years of software engineering experience
Expertise in multiple programming languages, including Python, JavaScript, and Go
Deep understanding of cloud technologies, especially AWS and Kubernetes
Track record of leading high-performing engineering teams
Strong communication skills and ability to mentor junior developers

Note: This position is open to candidates worldwide. Don't miss the chance to join Microsoft Inc. and work on groundbreaking projects!
rubygeous, @Squirre17, @JoshSmith0118, @cnyondy, @fxding, @0x4D3342, @swillk, @solomonhuang, @diaodou, @chrisred8, @sangmingming, @GhtZzzz, @zzwjava, @xiashaohua, @limanman1005, @libingtong, @weimingtom, @asakurayoh1987, @sangshuduo, @BavonZhang

?


adapta-gtk-theme: <IP_ADDRESS> -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/adapta-gtk-theme/versions.
These checks were done:

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/60eadc1cf0cabf6d0def6a21d1d21c5d

du listing: https://gist.github.com/afad29a6d76aa88ae6df876a0d28f599

meta.description for adapta-gtk-theme is: '"An adaptive Gtk+ theme based on Material Design Guidelines"'.
cc @romildo for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: adapta-gtk-theme
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: adapta-gtk-theme
Partial log (click to expand)
make[3]: Leaving directory '/build/source'
make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
glibPreFixupPhase
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3wag4mq99srrf54whnnlkx0sqq8ik4aa-adapta-gtk-theme-<IP_ADDRESS>
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/3wag4mq99srrf54whnnlkx0sqq8ik4aa-adapta-gtk-theme-<IP_ADDRESS>
checking for references to /build in /nix/store/3wag4mq99srrf54whnnlkx0sqq8ik4aa-adapta-gtk-theme-<IP_ADDRESS>...

Success on x86_64-linux (full log)
Attempted: adapta-gtk-theme
Partial log (click to expand)
make[3]: Leaving directory '/build/source'
make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
glibPreFixupPhase
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/87aaacbv73qwcnvii6d09dfbw9bpfqx0-adapta-gtk-theme-<IP_ADDRESS>
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/87aaacbv73qwcnvii6d09dfbw9bpfqx0-adapta-gtk-theme-<IP_ADDRESS>
checking for references to /build in /nix/store/87aaacbv73qwcnvii6d09dfbw9bpfqx0-adapta-gtk-theme-<IP_ADDRESS>...


Bubble weapon makes dead goblins temporarily appear.

When the bubble weapon touches a goblin a lot of goblin sprites appear on the screen.
I noticed that all of them were green even when attacking brown goblins until I killed a brown goblin. After that even when attacking a green goblin a brown one appeared as well. That's why I assume it shows sprites of already killed ones.

fixed


Update ReadMe.md, updating prod/dev build info

This change updates the information provided about the new setting for prod builds starting at version 0.0.47, specifically that all tasks produce dev builds unless you use the --prod argument.

Thanks @leifwells!
Thanks,
Dan

No worries. Saw it out of the corner of my eye and decided to do a PR (as
opposed to whining about it on Slack).
Yay, us!
Happy New Year, sir.
Leif
Leif Wells
Atlanta
http://www.linkedin.com/in/leifwells
On Tue, Dec 27, 2016 at 3:32 PM, Dan Bucholtz<EMAIL_ADDRESS>wrote:

Thanks @leifwells https://github.com/leifwells!
Thanks,
Dan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/pull/607#issuecomment-269378907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABknl3p6-L2RR1DNvzpfNbnBE5jG59aLks5rMXXogaJpZM4LWffU
.


Fix two issues found by Co-Advisor

Just to give another thought on the switch-case thing, since I find this an interesting discussion.
I'm actually surprised that Go considers the specific case of a switch case with only constants, so it does a binary search on them with a complexity of O(log n). That is the only case, because the general switch-case is by definition O(n).
In my opinion, however, with only 4 cases you still get more benefit from a processor cache than doing a binary search with all the extra instructions it implies. But this is where compiler and processor architecture magic begins, and it even depends on the processor some times.
Anyway, is good to know that Go optimizes the specific case of a all-constants switch-case into a binary search.

Someone did an extensive investigation of this topic: https://schani.wordpress.com/2010/04/30/linear-vs-binary-search/

To put everything I’ve learned from this into a few words: If you need to search through a sorted array of integers and performance is really, really important, use linear search if your array is below around 64 elements in size, binary search if it’s above.

Thanks @fffw!


Update to SSPK Final Licensee List

Please process the following update to SSPK Final Licensee List. Two new companies have been added. This update is a legal requirement to comply with licensing terms of program. I do not have access to fix/correct other issues with the page. Thanks.

@v-ryclap : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @v-ryclap - This pull request was opened in the public repo. It looks like you've worked in the private repo before. Would you make this update in the private repo, or let us know why you'd need to work in the public repo for this update? We'll close this PR for now. Thanks.

Hello Kristine,
I believe this needs to be in the public repo, since this list needs to be visible for customers to verify whether certain companies are SSPK Licensees. We had two new licensee companies that recently activated SSPK Final Product License Agreements, so we need the list to reflect that.
(I might be mistaken though, as I'm unfamiliar with the term repo. Please let me know if I'm mistaken on anything here.)
Best regards,
Ryan Clapp | IP Licensing Administration
Microsoft Corporation (TEKsystems) | ipla<EMAIL_ADDRESS>PlayReady | Components | Licensee Portal
[Microsoft]
From: Kristine Toliver<EMAIL_ADDRESS>Sent: Thursday, December 17, 2020 1:21 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Ryan Clapp (TEKsystems Inc<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Update to SSPK Final Licensee List (#67864)
Hi @v-ryclaphttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-ryclap&data=04|01|v-ryclap%40microsoft.com|d53f3d2b5673470a154b08d8a2d19c43|72f988bf86f141af91ab2d7cd011db47|1|0|637438368505626070|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XGl2FUi1Zn7%2BkyU8cnvpE2J%2BPtZ6alBjexnaEJyjtgY%3D&reserved=0 - This pull request was opened in the public repo. It looks like you've worked in the private repo before. Would you make this update in the private repo, or let us know why you'd need to work in the public repo for this update? We'll close this PR for now. Thanks.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F67864%23issuecomment-747708860&data=04|01|v-ryclap%40microsoft.com|d53f3d2b5673470a154b08d8a2d19c43|72f988bf86f141af91ab2d7cd011db47|1|0|637438368505636017|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wUpNX59sqKesV0CZkEK4AuHnYZcmgakjYwTxGat3xWA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARFXEH4ZKEMIRS7CMQUHLKLSVJY2VANCNFSM4VAGJEGQ&data=04|01|v-ryclap%40microsoft.com|d53f3d2b5673470a154b08d8a2d19c43|72f988bf86f141af91ab2d7cd011db47|1|0|637438368505645975|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=n%2FAKf2y3Ym7FZa5wxMwHEBSWb5KrGpXVCzCLUjRRYyQ%3D&reserved=0.

Hi @v-ryclap - The content will be published publicly on docs.microsoft.com after it's approved and merged, regardless of the repository it's submitted in. I've reopened the PR for review here.
I'll email you information about the repos and what public vs. private means in this context. Thanks.

Please close this PR as a newest PR which includes this change has been approved https://github.com/MicrosoftDocs/azure-docs-pr/pull/141606


PR MS2: UI- Validations on Date and time field

Date and time take any value.
Having a a calendar window and a good time selectors is a good to have and can avoid validations

Is this task completed? Do you all want me to test it and confirm?


Wrong package being run on zsh

While attempting to run a yeoman generator, I get a message regarding yarn.
If I run yo --version I get yarn's version.
If I go to bash and run the same, I get the correct version and can run yo commands.
What am I doing wrong here?

Run a type -aS yo to find how its coming to that command.
for example, my git command is aliased to package hub , symlinked into my path by my brew package manager, and I also have another git that macOS comes with that isn't updated.
type -aS git
git is an alias for hub
git is /usr/local/bin/git -> /usr/local/bin/../Cellar/git/2.16.1/bin/git
git is /usr/bin/git

From here, you can figure out where its coming from.

Hmm
Thank you for this command @Jahhein
This is what came up
type -aS yo
yo is an alias for yarn outdated
yo is /usr/local/bin/yo -> /usr/local/bin/../lib/node_modules/yo/lib/cli.js

Two questions now.
1 - Why is that only the case on zsh and not on bash?
2 - How do I fix this?

Nevermind! I figured it out.
I added a yarn plugin to zsh that were adding a ton of aliases. As soon as I disabled it to test, it worked.
Thank you for pointing me in the right direction @Jahhein

@fclaussen no problem buddy! Glad you solved it.
But to answer your questions regardless: the reason for it being different based on bash or zsh is because the configuration files which contain aliases, functions, variables, etc, are different.
There is a command that I cannot remember that will actually display where an alias, var, or function is coming from in your environment. However I cannot manage to find it and I’m not at a computer to play in a shell to figure it out.
I recommend looking at the whence command. type, where , which and more commands are based on the whence command.


Adds max_ver and min_ver APIs. Fixes #15

Added max_ver and min_ver APIs that work like the max() and min() of the
standard library when comparing ints. Includes tests and example in
README

Great, thanks!


Training process (distill)

Dear authors, thank you for your work.
I try to reproduce your results on dataset Scanner. I train my model on A40 (46 Gb GPU) with different number of scences (1000, 500, 10) and default parametrs in config ours_openseg.yaml, but can't do it due to I don't have enough memory. Can you say how many memory have you used to train your model on Scannet at least? Or what should I do to run distill process on the whole dataset?
Also how did you run test mode and preprocess scannet test dataset?
Thanks in advance

Hi, I encountered a similar issue.
Initially, I also encountered issues with distill on Scannet when using an RTX 3090 (24 GB), where the process would get killed. After switching to an L20 with 48 GB, I was able to run it smoothly. I monitored the GPU memory usage in real-time, and at certain points, it required close to 45 GB. So, it’s likely that memory is the main limitation here.
Hope this helps!


Storyboard animation support

Add WPF-like Storyboard support for defining simple property animations from Xaml

Yes, we definitely need to improve our animation support, however I hate WPF storyboards - they're just so overly verbose. I think a more CSS-like approach would be better.


Can I implement postprocessing?

I'm curious to know if that'd be a useful addition. Which is a humble way of saying, "I need it, and I think others might need it too!" :grinning:
Essentially a postprocess would occur after all compilation and purging. It would rerun when/if items changed. I'd probably take a peek at the implementation for preprocess and crib heavily from it.

Having a post-process block has been on the wishlist for a while. The wiki page containing the archived Trello board even has a Postprocess section.
What’s your use case specifically?
A postprocess block could be as simple as a block that’s executed at the end. For instance:
postprocess do
  @items.each do |item|
    $search_index.update(
      item.path,
      item.compiled_content(snapshot: :last),
    )
  end
end

This could be extended by letting item instances (and item rep instances) within the postprocess block have a #updated? and/or #created? methods, so you can act on updated/created items only. For instance:
postprocess do
  @items.select(&:updated?).each do |item|
    $search_index.update(
      item.path,
      item.compiled_content(snapshot: :last),
    )
  end
end

My specific use-case is in generating additional content that falls out of "normal" compilation. For example, given a Markdown file that looks like this:
title: A title
redirects_from:
  - /some-title/
  - /nowhere/

I want two new HTML files in output/some-title/index.html and output/nowhere/ with some client-side set up, like:
<meta http-equiv=refresh content="0; url=/a-title/}">

Redirecting...

Click here if you are not redirected.

I started doing this in a preprocess, and was adding new Nanoc::Int::Items to the mutable collection, but then the build started complaining and wanting to track those new items with compile and routing steps. My workaround for that started to feel hokey and I just wanted to be able to operate with the same data, but outside all the Rules.

This could be extended by letting item instances (and item rep instances) within the postprocess block have #updated? and/or #created? methods, so you can act on updated/created items only.

I like that a lot.

You can route and compile the original item two times using a rep. It works rather well for things like this.

Yeah, I actually solved my initial problem outside of the scope of needing a postprocessor. But given that it's a long-standing request I thought I might try my hand at it.

Fair enough. I wouldn't complain :)

I would also like a postprocessing step. In my case, I want to do global optimization steps on the website: compressing assets, cachebusting assets and rewriting the URLs pointing to it, ... In general, things that are independent of the actual content (i.e. don't create new files), that you don't want/need to do while working on the content of the website (i.e. don't need to be part of 'compile'), and are either slow or awkward (or not possible) to do by squeezing it into the content processing (because it's orthogonal and/or they require a 'global' view on the site).
I'm currently solving it with a rake task that rsyncs the output dir to a new dir, and do all the postprocessing on that dir, before deploying it. This unfortunately means i need to pull the deploying out of nanoc too and create a rake task for it.


Option to exclude page from search results

Background:
In my setup parts of the page is set up behind authentication while the search isn't. The search itself then becomes a security issue as the search-data file contains most of the information of those secured pages if they are included in the search.
Proposed solution:
Add the ability to add a page variable (geekdocSkipSearch: true?) marking the page as being ignored by search.
Change line 2 in themes/geekdoc/assets/search-data.json to
{{ range $index, $page := (where .Site.Pages "Params.geekdocSkipSearch" "!=" true) }}

I've changed the new parameter to a more generic one as there might be more data files to handle like atom/rss feeds in the future where it might be required to exclude those pages.

@edruid What do you think? Does it make any sense for you?

That will work fine, thanks! Sorry for not responding earlier (email notification was lost in too many unread emails)

No worries. Thanks for your feedback.


[SPARK-34952][SQL] DSv2 Aggregate push down APIs

What changes were proposed in this pull request?
Add interfaces and APIs to push down Aggregates to V2 Data Source
Why are the changes needed?
improve performance
Does this PR introduce any user-facing change?
SQLConf.PARQUET_AGGREGATE_PUSHDOWN_ENABLED was added. If this is set to true, Aggregates are pushed down to Data Source.
How was this patch tested?
New tests were added to test aggregates push down in https://github.com/apache/spark/pull/32049.  The original PR is split into two PRs. This PR doesn't contain new tests.

Test build #141047 has started for PR 33352 at commit 0cce896.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45562/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45562/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45562/

Test build #141047 has finished for PR 33352 at commit 0cce896.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Aggregation(aggregateExpressions: Seq[AggregateFunc],
case class Min(column: Expression, dataType: DataType) extends AggregateFunc
case class Max(column: Expression, dataType: DataType) extends AggregateFunc
case class Sum(column: Expression, dataType: DataType, isDistinct: Boolean)
case class Count(column: Expression, dataType: DataType, isDistinct: Boolean)
case class ScanBuilderHolder(

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141047/

Test build #141053 has started for PR 33352 at commit a5386f0.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45568/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45568/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45568/

Test build #141053 has finished for PR 33352 at commit a5386f0.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Aggregation(aggregateExpressions: Seq[AggregateFunc],
case class Min(column: Expression, dataType: DataType) extends AggregateFunc
case class Max(column: Expression, dataType: DataType) extends AggregateFunc
case class Sum(column: Expression, dataType: DataType, isDistinct: Boolean)
case class Count(column: Expression, dataType: DataType, isDistinct: Boolean)
case class ScanBuilderHolder(

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141053/

Test build #141171 has started for PR 33352 at commit 1f6d4ff.

Test build #141171 has finished for PR 33352 at commit 1f6d4ff.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class Aggregation implements Serializable
case class Min(column: FieldReference, dataType: DataType) extends AggregateFunc
case class Max(column: FieldReference, dataType: DataType) extends AggregateFunc
case class Sum(column: FieldReference, dataType: DataType, isDistinct: Boolean)
case class Count(column: FieldReference, isDistinct: Boolean)
case class CountOne() extends AggregateFunc

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141171/

Test build #141175 has started for PR 33352 at commit b1d177b.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45683/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45683/

Test build #141175 has finished for PR 33352 at commit b1d177b.

This patch fails Java style tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141175/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45687/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45687/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45687/

Test build #141182 has started for PR 33352 at commit b6c7d58.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45694/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45694/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45694/

Test build #141182 has finished for PR 33352 at commit b6c7d58.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141182/

Test build #141197 has started for PR 33352 at commit 7988d9c.

Test build #141197 has finished for PR 33352 at commit 7988d9c.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141197/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45709/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45709/

Test build #141199 has started for PR 33352 at commit c5fb53e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45711/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45711/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45711/

Test build #141199 has finished for PR 33352 at commit c5fb53e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141199/

Test build #141209 has started for PR 33352 at commit e2b8372.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45722/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45722/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45722/

Test build #141209 has finished for PR 33352 at commit e2b8372.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Min(column: FieldReference) extends AggregateFunc
case class Max(column: FieldReference) extends AggregateFunc

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141209/

Test build #141292 has started for PR 33352 at commit fe4357f.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45806/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45806/

Test build #141308 has started for PR 33352 at commit a95d2e7.

Test build #141292 has finished for PR 33352 at commit fe4357f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class Aggregation implements Serializable

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141292/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45823/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45823/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45823/

Test build #141308 has finished for PR 33352 at commit a95d2e7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141308/

Test build #141375 has started for PR 33352 at commit 74e4c3b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45891/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45891/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45891/

Test build #141390 has started for PR 33352 at commit 07ce59e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45908/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45908/

Test build #141375 has finished for PR 33352 at commit 74e4c3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class Count implements AggregateFunc
public final class CountOne implements AggregateFunc
public final class Max implements AggregateFunc
public final class Min implements AggregateFunc
public final class Sum implements AggregateFunc

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45908/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141375/

Test build #141390 has finished for PR 33352 at commit 07ce59e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141390/

Test build #141450 has started for PR 33352 at commit 1746fa3.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45969/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45969/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45969/

Test build #141450 has finished for PR 33352 at commit 1746fa3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class CountStar implements AggregateFunc

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141450/

Test build #141532 has started for PR 33352 at commit fae570a.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46050/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46050/

Test build #141532 has finished for PR 33352 at commit fae570a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141532/

thanks, merging to master/3.2!

@huaxingao created a followup #33526.

@viirya

BTW, although there is an option to control JDBC aggregate pushdown, do we need an overall SQL config to control it? Said we have other data source implementing the API, we may not have an option to disable it?

The config is per data source. For example, when we implement the parquet aggregate push down later, we will add a config for parquet, something like PARQUET_AGGREGATE_PUSHDOWN_ENABLED in SQLConf.

@sunchao Thanks for your comments! I will address your comments in the follow up https://github.com/apache/spark/pull/33526


Test uncovered methods

Methods marked with #NOCOVERED

Unit tests for Watcher awake, register and get_appointment are also missing.

Unit tests for UserInfo.from_dict are missing


Use platform-independent path resolution for output

Hi, interesting timing with this new repo: I just had the need today to convert some templates to Nunjucks and found this app to use to basically lint the templates by compiling them and seeing if there were any errors.
I ran into a little bug that I fixed in this PR where the output path doesn't get set correctly on *nix systems because of the difference with path separators. This change lets Node handle that, so the code doesn't need to be concerned with that platform specific information.

Started recently with node, so thanks a lot !

👍 keep up the good work!


Document macro structure

Create a video / graphs / docs to explain the internal structure of the view! macro

As a small update on this topic: The macro now has a pretty good self-documenting structure, we really merged a lot of improvements over the past week.
I'd still like to document the macro better, but this doesn't have the highest priority and may take some time before I can address this.

I am poking around with this library. Very nice work. My one complaint is that there is so much going on with both procedural and declarative that it is very hard to understand what is happening. It doesn't look like I'm writing Rust code inside the view! macro, and it's written in such a way that I wouldn't know how to break out functions for creating, say, a bunch of similar Entry boxes.

@webern  I think the macro is mostly very close to regular Rust. For example, assigning properties works like regular struct initialization. And of course you can also use Relm4 without macros.

I wouldn't know how to break out functions for creating, say, a bunch of similar Entry boxes.

Sounds like you could use templates: https://relm4.org/book/next/widget_templates.html
Btw. this issue doesn't refer to the documentation of the macros for users of Relm4, this is already done in the Relm4 book. This is meant as an issue for programmers that want to work on Relm4 and would like to understand the macro's internals.

Thank you. Somehow I missed the relm4 book and was going off of examples. Also it does look like templates will help. me.


Indexed access should always return T | undefined

This a work-in-progress.  Before this can be completed we need to support type qualifiers on all types not just function and object types.  I'll do that work in a separate PR and then rebase this one.

Codecov Report

Merging #289 (8e2f2f7) into main (147a63c) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #289      +/-   ##
==========================================
- Coverage   90.20%   90.14%   -0.07%
==========================================
  Files          31       31
  Lines        5023     5033      +10
==========================================
+ Hits         4531     4537       +6
- Misses        492      496       +4

Impacted Files
Coverage Δ

crates/crochet_infer/src/infer_expr.rs
94.25% <100.00%> (+0.02%)
:arrow_up:

crates/crochet_infer/src/lib.rs
99.04% <100.00%> (+<0.01%)
:arrow_up:

crates/crochet_infer/src/util.rs
95.50% <100.00%> (+0.09%)
:arrow_up:

crates/crochet_types/src/lam.rs
71.42% <0.00%> (-9.53%)
:arrow_down:

crates/crochet_types/src/type.rs
81.57% <0.00%> (-5.27%)
:arrow_down:

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


Add table of contents

As this repository contains many sections and the user might find it difficult to navigate through the repository.
I want to add a table of contents of the various sections such that it would redirect to that section.
I'm a contributor at Gssoc Please assign me this issue with suitable labels

@ashitaprasad Its not implemented

I mean Like this please review

This project does not require a table of contents, hence it was closed.


Users/justin.pumford/update tools

Enjoy!

@bmbarker90 it's just an update-tools

@sldavidson Yeah, I thought about the redux stubs! I left them because I was worried removing them would make other update-tools pretty complicated, especially if we modify those stubs on generator. It's up to you; I can remove the stubs if you'd like.

@sldavidson As far as angular-animate goes, should it be added as an external to starter-kit as well, considering it is external? We could run into the same issue

@sldavidson alright, that's been updated! Let me know what your thoughts are about the redux stubs.

It might confuse people who are looking at the code and see stubbed out code.

@sldavidson yes, that's because I made the PR when Jake was having issues with cross-env. If you'd like I can add that to this one as well, I just wanted to split up as much as possible (though this PR is still a mess... update-tools is going to have to change)


Bump GHA actions

I got an email stating upload-artifact@v3 will go offline soon

Seems like maybe it also needs actions/download-artifact@v4 instead of v3?

Woops....


Store choco cache in GitHub Actions cache

This step is weirdly slow, perhaps it will go faster if we stash the download in GitHub.
Related unresolved issues in choco do not bode well:

https://github.com/chocolatey/choco/issues/2015
https://github.com/chocolatey/choco/issues/1390
https://github.com/chocolatey/choco/issues/2134

No dice — hope they add support for this upstream.


apply_dimension callbacks

I realized that id you use apply_dimension, there are not many functions that can actually be used. The callback parameter has the data type array and the callback must return an array, but except some functions like cumsum, summax etc. we don't have many functions to be used. One could maybe be interested in applying absolute, but would need to reduce to a single dimension first, then call apply and then merge the cubes again, which seems a bit too complicated.

What did you mean by "applying absolute"?

@claxn created for GEE a process graph with apply_dimension and a callback, which just was the absolute function. See https://github.com/Open-EO/openeo-earthengine-driver/blob/master/docs/s1.json That is not valid as apply_dimensions callback parameter is an array and absolute takes a number as parameter.
Now I'm looking for a way out.
'applying absolute' was therefore meant as apply with a callback absolute, but just for a single dimension it seems. But now that I'm thinking more about it, I'm not sure what @claxn actually was trying to do. Could you clarify, Claudio? It looks like it should be apply instead maybe?

Discussed during a call with @claxn. The S1 example war wrong. The intended process was apply, not apply_dimension.

As for use-cases that need to operate on 1D-array partitions of the data cube, these are some off the top of my head:

smoothing along a temporal axis (some types of smoothings can be done with apply_kernel, but not all smoothings are representable in this way)
gap-filling no-data values in a (time) series from other available data
computing (temporal) derivative of values (again, often representable with apply_kernel)
sorting values (e.g. to produce a cube ordered by pixel quality instead of time)
single-pixels atmospheric correction (fit a model to all bands of an image, then convert TOA to BOA reflectance)

That are good use cases, we should check and try out. Maybe we need changes to the processes to make them work...

So on the one hand the issue is that we don't have many processes which can be used as callbacks from apply_dimension, and on the other hand we should try and create process graphs for the examples proposed by @mkadunc , right?
About the first point, more processes will come out as we focuse more on the defined use cases and other applications.
About the second, I don't have PGs yet, but one comment for the (time) derivative example. Since the cardinality of the dimension is reduced by one, strictly speaking we can't use apply_dimension, no? apply_kernel as proposed is more flexible for this example.

Re derivatives: cardinality gets reduced by one if derivative is computed by using a 2-point derivative on all pairs of values, but the same process would also effectively move the positions of samples on the time axis to the mid-point between the two values (at least that's where the 2-point derivative will be the most accurate).
Usually, the user would desire to keep the cardinality and positions along the time axis the same, which can be achieved:

with a symmetric central difference, using a kernel but extending the border — BTW (@m-mohr): The apply_kernel process description says that "resolution, cardinality and the number of dimensions are the same as for the original data cube"
with forward/backward difference formulae on the first and last values, and symmetric difference for 'interior' values
by fitting a model to the values (e.g. a linear combination of seasonal sine waves) and then replacing the measurements with the value of the fitted function at the same timestamps

@mkadunc I agree as long as any "extra" operation is declared in the process description.
In general it seems derivatives are mostly covered by apply_kernel (an exception is your third example) as your already pointed out earlier.

The apply_kernel process description says that "resolution, cardinality and the number of dimensions are the same as for the original data cube"

Yes, is there an issue with that? If we want to use apply_kernel for more things, we may need to change it but until now I don't really understand what you actually want to change...

The apply_kernel process description says that "resolution, cardinality and the number of dimensions are the same as for the original data cube"

Yes, is there an issue with that? If we want to use apply_kernel for more things, we may need to change it but until now I don't really understand what you actually want to change...

The issue is that kernels will inevitably reduce cardinality unless the border is extended - we need to address this in the documentation somehow, e.g. either:

drop the constraint that the cardinalilty stays the same, or
define what the kernel yields when some part of the window is over the border (e.g. we could say that outside values are input as no_data), or
define what the prescribed border-extension method is, or
define how the user specifies their required border extension method

The data cubes that we're (virtually) dealing with are so huge that the border effect will mostly be negligible, so I'd go with 2 - the part of the window that is outside the (virtual) data cube will have no_data as its input.

So the point here is that the new reducer as proposed in #89 pretty much makes apply_dimension obsolete, but applying a sort in a reduce function is not very logical.
We discussed during the telco whether

to remove apply_dimension and make reduce even more universal (+ a name change for reduce) or
to limit the functionality of reduce (don't allow multiple return values / remove target_dimension) and make apply_dimension more universal (+ a name change for apply_dimension, could be renamed to apply_along_dimension).

The preffered alternative by most was to go for two separate functions. I'll issue a PR and let you all review.

Implementing point 2 also better aligns with aggregate_polygon, aggregate_temporal, resample_cube_temporal and merge_cubes, which all define reducers as processes returning a single value. So extrema, quantiles etc should be used with apply_dimension and thus target_dimension will be moved to, making reduce simpler and might even help with (avoiding?) #94.

There's a PR up for discussions: #111


'helm dependency update' deletes charts it can't replace (v2.5.1)

I ran helm dependency update while helm serve wasn't running. helm decided the best thing to do was delete all the subcharts, even though it could not download new versions! Afterwards the 'charts' folder was empty.
I would have expect either:

no subcharts would be updated if a download error occured, or
only charts for which a replacement had been downloaded would be deleted

$ helm dependency update drupal-efs
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://<IP_ADDRESS>:8879/charts):
	Get http://<IP_ADDRESS>:8879/charts/index.yaml: dial tcp <IP_ADDRESS>:8879: getsockopt: connection refused
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Deleting outdated charts
Saving 3 charts
Downloading mysql-efs from repo http://<IP_ADDRESS>:8879/charts
Error: could not download http://<IP_ADDRESS>:8879/charts/mysql-efs-0.1.8.tgz: Get http://<IP_ADDRESS>:8879/charts/mysql-efs-0.1.8.tgz: dial tcp <IP_ADDRESS>:8879: getsockopt: connection refused

Client: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}

Thanks for the report! It's definitely a bug, I am working on fixing it right now.


Concurrent PUTs resulting in hfj_res_ver.IDX_RESVER_ID_VER violations - locking options?

We are sending Transaction bundles in parallel to the server with PUT operations that may contain the same resources such as Organization, Patient, Practitioner, etc.
We are periodically seeing UNIQUE KEY constraint violations for hfj_res_ver.IDX_RESVER_ID_VER when processing the same resource in parallel.  I surmise multiple threads are looking up the max version of the resource in parallel, then both trying to insert the same next version.
I had thought to add an interceptor that uses a striped locking mechanism to prevent the same resource from being processed in parallel on multiple threads.
But thought I'd raise it here first. Are there any existing options to prevent this? Any foreseeable issues with adding something to do it?
simplistically, something like this:
//see https://guava.dev/releases/19.0/api/docs/com/google/common/util/concurrent/Striped.html
private Striped<Lock> resourceLockMgr = Striped.lock(64); //64 is arbitrary, the number of buckets
...
String lockKey = res.getIdElement().getResourceType() + "/" + res.getIdElement().getIdPart();
//wait for the lock before proceeding
Lock resourceLock = resourceLockMgr.get(lockKey);
resourceLock.lock();
try{
	//commit the resource
}
finally {
	resourceLock.unlock();
}

Thoughts?

We have a similar issue updating resources quickly using the DAO, but even in the same thread. https://github.com/hapifhir/hapi-fhir/issues/4843

Closing as duplicate of https://github.com/hapifhir/hapi-fhir/issues/4843 (which I realized after the fact is newer than this ticket.... but it certainly looks like the same issue)


Inquiry on Wallet Connection Feature for Mobile Apps

Hi Team,
I hope you’re doing well! I wanted to follow up regarding the timeline for the overall product to enter production, as well as when we can expect support for mobile apps.
Could you provide any updates on these two points? This information would be very helpful for our planning and development.
Thank you for your assistance, and I look forward to your response!
Best

Hi @IhsotasTon , thanks for taking an interest in Oisy, there is no concrete timeline that we can give you, but I would say production-readiness is still 1-2 months away. As for mobile apps, that is not something we are considering right now, the premise of Oisy is to be web-based, so we want to make Oisy supremely usable in mobile browsers for now.
Hope that helps


start_date

Have updated to the latest version, but now it seems start_date is not working properly..)
WLFC = eia.get_series(series_id="STEO.PATC_WORLD.M",start_date="2023-01-01")
WLFC.tail()
data is from 1990...
Thank you!

@MikeMike13 could you check if it is working for you again in 0.4.2?

@MikeMike13 could you check if it is working for you again in 0.4.2?

Cool, works great, thank you!

awesome 👍


  I am executing a remote python script on a pi. I can do this really well with BIG SSH but I want to add args after the script name. If I put this in the command line, it works, I want to get the args from mqtt and I have tried to add them as payload but this gives me "TypeError: Cannot read property 'replace' of undefined"  I also tried to put them in a template. What is the correct way to do this.
thanks for your help and this is a great Node !

 If checked, the node takes any incoming message as an argument for your command
thanks and Regards

Le 11 juil. 2019 à 18:26, Tim Spanoudakis<EMAIL_ADDRESS>a écrit :
Excuse this issue if I am being stupid. I am executing a remote python script on a pi. I can do this really well with BIG SSH but I want to add args after the script name. If I put this in the command line, it works, I want to get the args from mqtt and I have tried to add them as payload but this gives me "TypeError: Cannot read property 'replace' of undefined" I also tried to put them in a template. What is the correct way to do this.
thanks for your help and this is a great Node !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Jacques44/node-red-contrib-bigssh/issues/14?email_source=notifications&email_token=AEKS6M2PG7FQXBDNMFRVRILP65NKZA5CNFSM4IBM2UP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6VXL6Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AEKS6M2YF5REXNKF54KZP6DP65NKZANCNFSM4IBM2UPQ.

Thanks for your prompt reply. This is exactly what I thought, but I am getting "TypeError: Cannot read property 'replace' of undefined"
The node is configured like the attachments

A debug on the msg.payload prior to the bigSSH node is:
"#0000ff #0000ff"
so I would expect 2 arguments to go through... is that correct?

OK, figured it out, remove the # of the html colour codes and all works, so not an issue


Uncaught Error: ReferenceExpressionChild retrieving mismatched models?

Description:
It seems like ReferenceExpressionChild is messing up when the model changes from true to an object and back.
Uncaught TypeError: Cannot use 'in' operator to search for 'baz' in true
    at ReferenceExpressionChild.retrieve
    at ReferenceExpressionChild.mark$1 [as mark]

Versions affected:
0.8.2+
Platforms affected:
Chrome 55+
Reproduction:
https://jsfiddle.net/feo2xhbs/
Code:
This may be overly complex because I pulled it from the app it was happening in, but the key here is the <thing {{#if .foo.baz}}zap='{{.foo.baz}}'{{else}}zap='{{ ~/someComputed ? 10 : 5 }}'{{/if}}></thing>
Even if I wrap the {{#if .foo.baz}} in an isObject(.foo) && isNumber(.foo.baz) it still throws the error.
Thing = Ractive.extend({
	template: `<em>(Thing zap={{.zap}})</em>`,
});

app = new Ractive({
	el: 'app',
	data: {
		items: [
			{ name: 'Item 1', foo: null },
			{ name: 'Item 2', foo: { baz: 10 } },
			{ name: 'Item 3', foo: true },
		 ],
		selectedItemIndex: 0,
	},
	template: `
		{{#each items}}
			<button on-click='set("selectedItemIndex", @index)'>Select {{.name}}</button>
		{{/each}}

		{{#with items[selectedItemIndex]}}
			{{> item}}
		{{/with}}
  `,
	computed: {
		noName() {
			return this.get('items').length > 0;
		}
	},
	partials: {
		item: `

				{{.name}}
				<thing {{#if .foo.baz}}zap='{{.foo.baz}}'{{else}}zap='{{ ~/someComputed ? 10 : 5 }}'{{/if}}></thing>

		`,
	},
	components: {
		thing: Thing,
	}
});

This is now fixed in edge and 0.8-dev, and it's been released along with the transition fixes in 0.8.9. Thanks!

@evs-chris You're awesome Chris! Really simple fix. I wish I wasn't so afraid little changes like that would have cascading effects because I don't see the whole picture!


Docs cleanup:

Revised readme to a presentable and descriptive state suited for use.
The docs are now up-to-date and accurate, and the index.ts mirrors the sections for conversion as well as shares descriptive comments.
The library is more ready than ever for production usage.
Closes #1

This also includes configuration for package publishing to github packages & npm.


Will this project work with a AWS Ubuntu 18 instance?

The readme indicates this project is designed to work with AWS lambda. But will it also work on an AWS EC2 instance running Ubuntu? Additionally, is it possible to use Python scripts to interact with this project, or does everything have to be done through JS?

I've used this on my own Ubuntu 18 installation and it works just fine, so I see no reason why it shouldn't work on an EC2 Ubuntu. Not sure about the python bit though.


About configs for bag-of-tricks on iNat18

Hi, Thanks for your work and sharing your codes! I'm wondering if you can provide the config files for training your bag-of-tricks on iNat18? Thanks a lot.

Hi Ruikangliu, I would like to know if you have found a solution. If yes, then please share it with me.
Cheers


Instrument Inline Completions Hover

Currently we are assuming that the Inline Completions Hover is not used by users, but we are in the dark since we do not actually have the numbers to confirm this. Also any changes that we do towards improving this we will not be measureble without telemetry. Due to that I propose we add telemetry events when:

Inline Completions Hover is shown
A action is executed from the inline completions hover, ideally it is the usual workbenchActionExecuted but the from field nicely points to the InlineCompletionsHover so we can actually figure out what users are clicking on

fyi @jrieken

A action is executed from the inline completions hover, ideally it is the usual workbenchActionExecuted but the from

@hediet That just works when using MenuWorkbenchToolBar or WorkbenchToolBar


Support for hiveserver running in http mode

Thank you for great work. 👍
I've encountered an error that can't connect to our hiveserver running in http mode.
We can't enable http mode because use_http_transport, http_path are not defined in HiveOfflineStoreConfig.
Please review when you are available.
Thanks!

Thank you for your contribution

@baineng
Thank you for review and merge!


Not Loading

Looks okay from where I'm at. Will close for now - let me know if you get the same problem.


Fix pg_database for postgres 15

Closes #5521
Postgres removed column pg_database.datlastsysoid
due to realization it is not used anywhere since
pg 9. This means that we can simply return 0
instead of correct value and not break anything,
while not erroring when running on pg 15.
https://www.postgresql.org/message-id/CA%2BTgmoa14%3DBRq0WEd0eevjEMn9EkghDB1FZEkBw7%2BUAb7tF49A%40mail.gmail.com

One question I have is: do we need to bump the catalog version and include a patch in order to cherry-pick this to 3.x?
I think the answer is no, because the change only matters on 15, where it caused us to fail, so we can't have any old databases out there that need this change.

@msullivan I believe you are correct, we don't need the catalog version bump and a patch. But it feels risky doing this - we are running slightly different catalog versions in user's prod databases...

@elprans
There are still failing tests, but not originating from the metaschema creation, which means it is able to bootstrap.
So we don't yet support Postgres 15.

There are still failing tests, but not originating from the metaschema creation, which means it is able to bootstrap.
So we don't yet support Postgres 15.

The link you posted shows that Pg15 tests passed.  The failing tests are for the NOCREATEDB/NOCREATEROLE mode.

It shows checkmark, but it has actually failed if you open the "Test" job.

These are error messages:

================================================================================
FAIL: test_edgeql_expr_literals_02 (test_edgeql_expressions.TestExpressions)
--------------------------------------------------------------------------------
Py_HashSecret: f54b52c245a74f16b0dad03badc956e4c45972ada48c7133
random.seed(): bb972ae60f01fc62
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/edgedb/edgedb/edb/testbase/server.py", line 154, in wrapper
    self.loop.run_until_complete(
  File "/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/runner/work/edgedb/edgedb/tests/test_edgeql_expressions.py", line 432, in test_edgeql_expr_literals_02
    with self.assertRaisesRegex(edgedb.NumericOutOfRangeError,
  File "/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/home/runner/work/edgedb/edgedb/edb/testbase/server.py", line 235, in assertRaisesRegex
    with super().assertRaisesRegex(exception, regex, msg=msg):
AssertionError: NumericOutOfRangeError not raised

================================================================================
FAIL: test_edgeql_functions_to_str_02 (test_edgeql_functions.TestEdgeQLFunctions) {serialization='json'}
--------------------------------------------------------------------------------
Py_HashSecret: 73199905f4d75c93d7735be3eacda8508be96eb9542ba7bd
random.seed(): df7f771be63e00a4
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/edgedb/edgedb/edb/testbase/server.py", line 154, in wrapper
    self.loop.run_until_complete(
  File "/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/runner/work/edgedb/edgedb/tests/test_edgeql_functions.py", line 2804, in test_edgeql_functions_to_str_02
    await self.assert_query_result(
  File "/home/runner/work/edgedb/edgedb/edb/testbase/server.py", line 894, in assert_query_result
    assert_data_shape.assert_data_shape(
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 369, in assert_data_shape
    return _assert_generic_shape((), data, shape)
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 327, in _assert_generic_shape
    return _assert_set_shape(path, data, shape)
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 183, in _assert_set_shape
    _assert_generic_shape(
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 347, in _assert_generic_shape
    fail(
AssertionError: data shape differs: '7th +00 May, 2018' != '7th of May, 2018' PATH: {0}

================================================================================
FAIL: test_edgeql_functions_to_str_04 (test_edgeql_functions.TestEdgeQLFunctions) {serialization='json'}
--------------------------------------------------------------------------------
Py_HashSecret: 73199905f4d75c93d7735be3eacda8508be96eb9542ba7bd
random.seed(): df7f771be63e00a4
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/edgedb/edgedb/edb/testbase/server.py", line 154, in wrapper
    self.loop.run_until_complete(
  File "/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/runner/work/edgedb/edgedb/tests/test_edgeql_functions.py", line 2887, in test_edgeql_functions_to_str_04
    await self.assert_query_result(
  File "/home/runner/work/edgedb/edgedb/edb/testbase/server.py", line 894, in assert_query_result
    assert_data_shape.assert_data_shape(
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 369, in assert_data_shape
    return _assert_generic_shape((), data, shape)
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 327, in _assert_generic_shape
    return _assert_set_shape(path, data, shape)
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 183, in _assert_set_shape
    _assert_generic_shape(
  File "/home/runner/work/edgedb/edgedb/edb/common/assert_data_shape.py", line 347, in _assert_generic_shape
    fail(
AssertionError: data shape differs: '7th +00 May, 2018' != '7th of May, 2018' PATH: {0}


Fix super() issue in container.py - breaks py27

Fix issue with recent commit breaking py27 code.
Fixes #327

Codecov Report

Merging #328 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #328   +/-   ##
=======================================
  Coverage   96.84%   96.84%
=======================================
  Files          11       11
  Lines         918      918
  Branches      106      106
=======================================
  Hits          889      889
  Misses         10       10
  Partials       19       19

Impacted Files
Coverage Δ

pylxd/models/container.py
91.06% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Update design to match new Design standards

Change the colors of the website
Change the font

implemented in #113


How to make the category case sensitive?

Hi, there. I dig out a problem which troubles me.
Categories of my blog:
tree _posts/ | more

_posts/
├── Linux
│   ├── xxx.md
│   └── xxx.md
├── MySQL
│   ├── xxx.md
│   └── xxx.md
├── Other
│   ├── xxx.md
│   └── xxx.md
└── Python
├── xxx.md
└── xxx.md
4 directories, 121 files

But it displays in the page as follows:

I want to make the category of my blog case sensitive, like Linux, MySQL, Other, Python etc. How to make it? Thanks.
Sincerely,
Robin

Hi, @dbarobin
Most of your questions are not related to this theme. You need learn more about Jekyll, and I think So simple theme is better than Freshman21 theme, change it(So simple theme) to my theme(Freshman21) is like degradation.  I am also a newbie of Jekyll and theme design, Freshman21 is my 2nd theme and the only thing I want to shown in this theme is simple code without JS and using all default parameter of Jekyll. Category with capitalize letter are not the default parameter.
Also, please google your question to find some answers before you open an issue. If you have any question about Jekyll or JS, please sent me a email without open new issues.
Here is the answer of this issue
add | capitalize for each variable cat , please see below:
./c_categories.md:10:{{ cat[0] | join: "/" | capitalize}} {{ cat[1].size }}
./c_categories.md:16:
{{ cat[0] | capitalize }}

./d_archives.md:22:» {{ post.title | capitalize }}

./_includes/Categories.html:4:
{{ cat[0] | capitalize}} ({{ cat[1].size }})

./index.html:17:      {{ cat | capitalize}}
./_layouts/post.html:11:    {{ cat | capitalize }}

Sorry for my stupid question. I'll try to figure out by myself from now on. Thanks!


Update URL? Says version 8.0

Hi, what happened to the option to disable the anchor link from showing up in the address bar? Also, it says v 10 is the latest but when you download says v8.0.0

New approach to how this script works: Instead of preventing default on click, script now temporarily removes id from the target element to prevent scroll jumping, then adds it back after the hashchange. This provides built in browser history and forward/backward button support. It also allows for animated scrolling on page load.
As a side effect of this switch, you can no longer disable URL updates, but that's not necessarily a bad thing. Is there a use case where it's necessary to not display the hash, or is it more an aesthetic thing?
Thanks for the catch about the v10/v8 mixup. Just corrected the tag.

I guess an aesthetic thing. Just seems nice to be able to disable it to seem more like a seamless scroll rather than treating it as an anchor link. Some use cases might be people refreshing the page and not wanting to animate scroll to that area or maybe they want to share that page and copy the link of the page but the anchor is in there. Still would be nice to have an option to prevent the url from updating. Even if that comes at the expense of the new features you mentioned.

refreshing the page and not wanting to animate scroll to that area

That actually is configurable. But the other stuff... Function over aesthetics.

Good news for you, @scottshefler: there were just too many bugs/quirks with the code rewrite in v8, so I just pushed a v9 that brings back updateURL disabling.


Impossible to replace indices; values are concatenated instead

Expected behavior
Chewy::Index#indices returns a Query that renders with an index value containing exactly the given values.
Actual behavior
Chewy::Index#indices returns a Query that renders with an index value containing the given values, plus the index name inferred from the class name.
Our use case is that we have a class called PostsIndex, and an alias called "posts" that maps to many indexes (which we call "partitions"). For performance reasons, we want certain queries to target only some of the indexes behind the "posts" alias. #indices looks like it would fit the bill, except that it ends up including the alias "posts" in the rendered query, which defeats the purpose of targeting only some of the indexes behind that alias.
Steps to reproduce the problem
class ThingsIndex < Chewy::Index
end

ThingsIndex.indices('stuff')
# returns <ThingsIndex::Query {:index=>["stuff", "things"], :body=>{}}>
# expected <ThingsIndex::Query {:index=>["stuff"], :body=>{}}>

Version Information
Share here essential version information such as:

Chewy version 6.0.0
Elasticsearch 6.something
Ruby 2.6
Rails 5

The output is the same on Chewy 7.0.0.

Hey @bblack 👋 !
I'd say it's quite expected, that the named index includes an index with the same name in the query and follows the Chewy pattern of querying. What do you suggest exactly?

Hello!

that the named index includes an index with the same name in the query

That is, of course, the natural expectation for the beginning state—but my expectation was that indices() would allow me to replace that list of indexes. Given a Query object that has had indices added via #indices, what is the recommended way for a user to then remove some of the indices that were added? Since indices only appends, I see no way. Is this a feature request? I see a few options:

Change the indices method so that it is consistent with other parameter modifiers in that it replaces the value, rather than appending only.

In the meantime, I've written my own method indices_only which manipulates the internals of the Query's parameters to accomplish my goal. A new such method would accomplish the goal without breaking changes, but it would be odd to have indices have a different interface than other parameter modifiers.

I'm open to alternate approaches as well if there is one that doesn't require a change to chewy. For example, maybe some solution involving automatically generating subclasses of our PostsIndex. But that seems even more idiosyncratic.

I don't think we can change the indices method in a breaking manner.
I believe the most common usage pattern is to add indexes to the query, not to remove them.
Also, I don't think there is any inconsistency: quite a lot of other modifiers operate the same way, adding only, e.g. order, docvalue_fields, source, stored_fields, indices_boost, highlight, rescore, script_fields, suggest, aggs.
So it sounds like a feature request, indeed.
We can add a method, let's say indices_only, or, even better, to modify the existing one in a non-breaking way. For example, we could add the except:  argument or a flag to indicate, that we would like to replace the setting value, instead of merging it.
Eager to make a PR?

If I can come up with a good solution, I'd be happy to. Thus far I've created a new method indices_only which allows the query to be created as I expect. The most recent challenge is that it seems the presence of the chewy index class is pulling double duty; its absence from the request's indices parameter means that chewy has no idea how to map the "hits" in the query result to objects. So far I've worked around this by overriding the loader with my own, but that doesn't feel quite right.


"brew install rabbitmq mongodb" ERROR

Hi, when I run "./scripts/installMacDeps.sh" On Mac OS X,there is a question like this.
`
Error: No available formula with the name "mongodb"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
These similarly named formulae were found:
mongodb/brew/mongodb-community ✔<EMAIL_ADDRESS>mongodb/brew/mongodb-community-shell<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To install one of them, run (for example):
brew install mongodb/brew/mongodb-community ✔
==> Searching taps...
==> Searching taps on GitHub...
`
I try to use "mongodb-community " to replace  "rabbitmq mongodb",but there is another question when I run "./scripts/initLicode.sh" :
rabbitmq-server: command not found
how should I deel with this problem

I needed more info, please follow the Issue template we created to give us enough info to help you (version of MacOS, commit, etc.)


A targeted repo sync should not touch other directories

Reported by Andrew D. Stadler (Google<EMAIL_ADDRESS>on Mon Jul 13
20:43:29 PDT 2009
Source: JIRA REPO-42

I did "repo sync" with a specific directory (packages/apps/Email) and it
reported that it was making changes in other directories.  This seems wrong;
If I tell it to work in a specific directory, I really don't want it making
changes in other directories - right?

dhcp-172-18-101-194:master stadler$ repo sync packages/apps/Email
remote: Counting objects: 572, done
remote: Compressing objects: 100% (19/19)
Unpacking objects: 100% (19/19), done.
From ssh://android-git.corp.google.com:29418/platform/packages/apps/Email
   d0860a1..7d614f3  master     -> goog/master
Fetching projects: 100% (2/2), done.
Deleting obsolete path /Volumes/src/repo/master/external/bluez
Deleting obsolete path /Volumes/src/repo/master/external/eglib
Deleting obsolete path /Volumes/src/repo/master/external/hcidump

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Sep 2009 at 9:10

Any updates on this please?


Some forEach + async are not awaited on properly

This maybe intentional, but I noticed a few instances of ...forEach(async that are not fully awaited on. Note that forEach with async will execute all promises inside in parallel but return immediately.
A few calls inside this event handler, which probably are OK given this is an event handler:
https://github.com/microsoft/vscode/blob/3ee49fa3f860649a4150cbbf352b2780ccb7c7a5/src/vs/workbench/contrib/files/browser/explorerService.ts#L266-L266
But then these two which are maybe not properly awaited on:
https://github.com/microsoft/vscode/blob/59afea597bd88efcee15e93abaebe704d9dab889/src/vs/workbench/contrib/files/browser/views/explorerView.ts#L659-L681

Thanks for creating this issue, looks like an oversight on my end. I will fix.


Fix test reporting

Looks like #187 broke the test reporting workflow:
Error: Response code 400 (Authentication information is not given in the correct format. Check the value of Authorization header.)

https://github.com/elastic/elastic-otel-java/actions/runs/8453636169/job/23156761898#step:2:42
I assume it is due to the change of the upload-artifact action from @v3 to @v4.

I remember there was quite a few reasons for the robots team to not use the v4 version, does this one is already a known reason for not using it ? Maybe there is a list of related issues somewhere already.

I think this was one of the known reasons.