Broken Link in python tutorial

On this page of the documentation, http://docs.opencv.org/3.0-last-rst/doc/py_tutorials/py_gui/py_video_display/py_video_display.html#display-video, half way down, there is a link with the text "Property Identifier" that takes me to a 404 (http://docs.opencv.org/2.4/modules/highgui/doc/reading_and_writing_video.html#videocapture-get).

RST documentation was deprecated and not maintained anymore in OpenCV 3.0+.
Tutorial with broken link is here at this moment.
BTW, cross-branch links should gone away.


remove effect question

(write by using translate machine)
Thank you for making wonderful program.
I’d like to ask you a few questions.
I understand remove effect
ㅡ
Input :
1 2 3 4 5 6 7 8 ...
After remove every '2' :
1 2 / 5 6 / 7 8 / 11 12 / 13 14 ...
ㅡ
like this, but
ㅡ
Input :
1 2 3 4 5 6 7 8 ...
After remove every ???😳 :
3 4 / 7 8 / 11 12 / 15 16 / 19 20 ...
ㅡ
How can I make song beats like this??

Thanks for your interest! When you add multiple effects, they get run one after another. I was able to approximate your example using the following.

Remove every 4 with offset 3
Remove every 3 with offset 3

Here's what each step of the process looks like.

Input
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
After removing every 4 with offset 3
[1, 2, 3, 4, 7, 8, 10, 12, 14, 15, 18, 19, 20]
After removing every 3 with offset 3
[1, 2, 3, 4, 7, 8, 11, 12, 15, 16, 19, 20]

There's one caveat, which is that the first few beats are unaffected. This was originally intended behavior, but I now realize it's a bit confusing. I plan on fixing it in https://github.com/beat-machine/beat-machine/issues/44.

Input
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
After removing every 4 with offset 3
[1, 2, 3, 4, 7, 8, 10, 12, 14, 15, 18, 19, 20]
After removing every 3 with offset 3
[1, 2, 3, 4, 7, 8, 11, 12, 15, 16, 19, 20]

It would be soo helpful if the program would actually display numbers like you're showing here when adding effects. Plus, this way it would be possible to debug issues with more certainty.

Totally agree, I wish I had more time to implement even a prototype version of this in #17. It's probably the biggest problem right now in terms of complexity.

Is it more complicated than it seems at first sight? I don't have much development experience, so it's hard for me to get the right perspective, but for me it seems like the beat machine itself is like several orders of magnitude more complex than the visualization.

The Cut effect is probably more challenging to present visually, but it could be totally omitted in the first version. I bet the swap and remove are two most popular effects used, so covering them would go a long way.


Non-persistent notification. Hibernify kills app

Auto-hibernation kills the app. This can be fixed by having the notification make the app persistent (and youtube).

How to do that?


Implement stobj opcode

Implement the stobj opcode, which stores a value type at a pointer. It may be possible to just call through to the other overload of ImportStoreIndirect, which was implemented in #4702 The method to fill in is at:
https://github.com/dotnet/corert/blob/baeebd4f5facf198c1252ed7e02940285982d534/src/ILCompiler.WebAssembly/src/CodeGen/ILToWebAssemblyImporter.cs#L890

how do I test the token form of this rather than the TypeDesc overload?

It'll get called if you get an stobj opcode. I was able to trigger stobj with code similar to your stind test that uses a struct:
TwoByteStr str;
*(&str) = new TwoByteStr() { first = 1, second = 2 };

Turns into:
        IL_0001: ldloca.s 0
	IL_0003: conv.u
	IL_0004: ldloca.s 1
	IL_0006: initobj TwoByteStr
	IL_000c: ldloca.s 1
	IL_000e: ldc.i4.1
	IL_000f: stfld uint8 TwoByteStr::first
	IL_0014: ldloca.s 1
	IL_0016: ldc.i4.2
	IL_0017: stfld uint8 TwoByteStr::second
	IL_001c: ldloc.1
	IL_001d: stobj TwoByteStr


Collect IOOS GTS statistics quarterly

GH-action for https://ioos.github.io/ioos_code_lab/content/code_gallery/data_management_notebooks/2020-10-10-GTS.html
Only need table of observations per month
Also, glider days and the HFR's that are active. Those are calculated here: https://github.com/MathewBiddle/ioos_by_the_numbers/blob/main/IOOS_BTN.ipynb (check HFRadar)

Looks like the GHA for GTS metrics is working! See automated commit on July 5th: https://github.com/MathewBiddle/ioos_by_the_numbers/commits/main


Ineligible repository for Hacktoberfest

After submitting the PR, I checked my hacktoberfest profile which showed me that this repository is an ineligible repository. I'm not sure what's wrong here because as per the rules of hacktoberfest, maintainers of the repository have to add "hacktoberfest" as a topic which is clearly mentioned in this repository and yet the issue pertains. Kindly take a look at it.

I also having the same issue

same problem


Disable non-deterministic crasher

28722-swift-genericsignaturebuilder-resolvearchetype-swift-type.swift

@swift-ci Please smoke test

Looks like https://github.com/apple/swift/pull/8112 fixed this?

@swift-ci Please smoke test Linux platform

Merged for now to unblock CI.


support gradients for  all_gather with tiled=True

When writing some model-sharding code I ran into this limitation, and it suggested I open a feature request. So here I am!
https://github.com/google/jax/blob/main/jax/_src/lax/parallel.py#L1205-L1216
import jax
import jax.numpy as jnp
import jax.lax as lax
import jax.random as jrandom
from jax.experimental.maps import xmap

key = jrandom.PRNGKey(0)

embeddings = jrandom.normal(key, shape=(4, 10, 8))

num_shards=4

def compute(embeddings, input_ids):
    hidden_states = embeddings[input_ids]
    hidden_states = lax.all_gather(hidden_states, axis_name="shard", tiled=True, axis=1) # this is the problematic code

    # pretend there's a transformer here

    my_shard = lax.axis_index("shard")
    hidden_states = hidden_states.reshape(hidden_states.shape[:-1] + (num_shards, -1))
    hidden_states = hidden_states[..., my_shard, :]
    scores = hidden_states @ jnp.transpose(embeddings)
    scores = lax.psum(scores, axis_name="shard")

    return jnp.sum(jnp.sum(scores, axis=-1))

compute_xmap = xmap(compute, in_axes=[("shard", ...), (..., )], out_axes=(..., ))

compute_grad_xmap = xmap(jax.grad(compute), in_axes=[("shard", ...), (..., )], out_axes=("shard", ...))

if __name__ == "__main__":
    input_ids = jnp.array([0, 1, 2, 3, 5, 6, 7])
    print(compute_xmap(embeddings, input_ids))
    print(compute_grad_xmap(embeddings, input_ids))  # error!

@dlwh! Thanks for filing. Paging @apaszke for his familiarity with the state of implementation here.
Since I notice that you are trying out xmap, heads up that its development is a bit less active right now as we're focusing on pjit.

Thanks! Yeah, I just learned that. I'll port my code over.
On Mon, Jul 11, 2022, 6:45 PM Roy Frostig @.***> wrote:

@dlwh https://github.com/dlwh! Thanks for filing. Paging @apaszke
https://github.com/apaszke for his familiarity with the state of
implementation here.
Since I notice that you are trying out xmap, heads up that its
development is a bit less active right now as we're focusing on pjit
https://jax.readthedocs.io/en/latest/jax.experimental.pjit.html.
—
Reply to this email directly, view it on GitHub
https://github.com/google/jax/issues/11193#issuecomment-1181219965, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACLIKND6OH7MGMW57J42LVTTE4LANCNFSM5ZN4SCYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

How do gradients flow across devices, e.g. with xmap? Is the gradient calculation distributed or is it all done on the host node?

Broadly speaking, derivatives are computed on device(s) in correspondence with the primal computation. The interesting details depend on the specific operation.

Hi @dlwh
I ran the code you mentioned on JAX version 0.4.23 with Colab on both CPU and GPU backends. It executed without any errors. However, it raises the same error asking for a feature request when run on a Colab TPU due to its limitation to support JAX versions till 0.3.25. Below is the output of the code when running on CPU/GPU:
import jax
import jax.numpy as jnp
import jax.lax as lax
import jax.random as jrandom
from jax.experimental.maps import xmap

key = jrandom.PRNGKey(0)

embeddings = jrandom.normal(key, shape=(4, 10, 8))

num_shards=4

def compute(embeddings, input_ids):
    hidden_states = embeddings[input_ids]
    hidden_states = lax.all_gather(hidden_states, axis_name="shard", tiled=True, axis=1) # this is the problematic code
    # pretend there's a transformer here
    my_shard = lax.axis_index("shard")
    hidden_states = hidden_states.reshape(hidden_states.shape[:-1] + (num_shards, -1))
    hidden_states = hidden_states[..., my_shard, :]
    scores = hidden_states @ jnp.transpose(embeddings)
    scores = lax.psum(scores, axis_name="shard")
    return jnp.sum(jnp.sum(scores, axis=-1))

compute_xmap = xmap(compute, in_axes=[("shard", ...), (..., )], out_axes=(..., ))

compute_grad_xmap = xmap(jax.grad(compute), in_axes=[("shard", ...), (..., )], out_axes=("shard", ...))

if __name__ == "__main__":
    input_ids = jnp.array([0, 1, 2, 3, 5, 6, 7])
    print(compute_xmap(embeddings, input_ids))
    print(compute_grad_xmap(embeddings, input_ids))  # error!

Output:
307.6236
[[[ 26.360273    23.722437    21.593668    -5.0757284   14.667934
    12.351794   -23.29985     17.818474  ]
  [ 26.360273    23.722437    21.593668    -5.0757284   14.667934
    12.351794   -23.29985     17.818474  ]
  [ 26.360273    23.722437    21.593668    -5.0757284   14.667934
    12.351794   -23.29985     17.818474  ]
  [ 26.360273    23.722437    21.593668    -5.0757284   14.667934
    12.351794   -23.29985     17.818474  ]
  [  9.055899     8.760309     9.494036    -2.3148034    5.049895
     9.559207   -11.454371     8.111195  ]
  [ 26.360273    23.722437    21.593668    -5.0757284   14.667934
    12.351794   -23.29985     17.818474  ]
  [ 26.360273    23.722437    21.593668    -5.0757284   14.667934
    12.351794   -23.29985     17.818474  ]
  [ 26.360271    23.722439    21.593668    -5.075729    14.667934
    12.351794   -23.29985     17.818474  ]
  [  9.055899     8.760309     9.494036    -2.3148034    5.049895
     9.559207   -11.454371     8.111195  ]
  [  9.055899     8.760309     9.494036    -2.3148034    5.049895
     9.559207   -11.454371     8.111195  ]]

 [[-13.621416    -8.900112   -42.051353   -26.818888    -2.9556527
    19.286644   -19.299164     7.5898967 ]
  [-13.621416    -8.900112   -42.051353   -26.818888    -2.9556527
    19.286644   -19.299164     7.5898967 ]
  [-13.621416    -8.900112   -42.051353   -26.818888    -2.9556527
    19.286644   -19.299164     7.5898967 ]
  [-13.621416    -8.900112   -42.051353   -26.818888    -2.9556527
    19.286644   -19.299164     7.5898967 ]
  [ -1.3414402   -6.754506   -20.29285    -19.30616     -4.648571
     8.727608   -13.953814     0.9600564 ]
  [-13.621416    -8.900112   -42.051353   -26.818888    -2.9556527
    19.286644   -19.299164     7.5898967 ]
  [-13.621416    -8.900112   -42.051353   -26.818888    -2.9556527
    19.286644   -19.299164     7.5898967 ]
  [-13.621416    -8.900112   -42.05135    -26.81889     -2.9556541
    19.286644   -19.299164     7.589896  ]
  [ -1.3414402   -6.754506   -20.29285    -19.30616     -4.648571
     8.727608   -13.953814     0.9600564 ]
  [ -1.3414402   -6.754506   -20.29285    -19.30616     -4.648571
     8.727608   -13.953814     0.9600564 ]]

 [[-19.816143   -35.93858    -41.06128     24.642227    -8.617016
   -29.027905    -7.9242506   16.948212  ]
  [-19.816143   -35.93858    -41.06128     24.642227    -8.617016
   -29.027905    -7.9242506   16.948212  ]
  [-19.816143   -35.93858    -41.06128     24.642227    -8.617016
   -29.027905    -7.9242506   16.948212  ]
  [-19.816143   -35.93858    -41.06128     24.642227    -8.617016
   -29.027905    -7.9242506   16.948212  ]
  [-10.614532   -10.974433   -17.32348      8.323803    -1.7500695
   -13.531995    -4.691452     6.64594   ]
  [-19.816143   -35.93858    -41.06128     24.642227    -8.617016
   -29.027905    -7.9242506   16.948212  ]
  [-19.816143   -35.93858    -41.06128     24.642227    -8.617016
   -29.027905    -7.9242506   16.948212  ]
  [-19.816143   -35.93858    -41.061287    24.642227    -8.617017
   -29.027905    -7.92425     16.948212  ]
  [-10.614532   -10.974433   -17.32348      8.323803    -1.7500695
   -13.531995    -4.691452     6.64594   ]
  [-10.614532   -10.974433   -17.32348      8.323803    -1.7500695
   -13.531995    -4.691452     6.64594   ]]

 [[  9.344713   -45.858727   -30.775932    40.07314    -42.416855
    34.77363     -8.743544   -35.934025  ]
  [  9.344713   -45.858727   -30.775932    40.07314    -42.416855
    34.77363     -8.743544   -35.934025  ]
  [  9.344713   -45.858727   -30.775932    40.07314    -42.416855
    34.77363     -8.743544   -35.934025  ]
  [  9.344713   -45.858727   -30.775932    40.07314    -42.416855
    34.77363     -8.743544   -35.934025  ]
  [  8.339038   -24.767185   -12.350559    20.605862   -20.295427
    14.2957115    0.72376066 -17.121685  ]
  [  9.344713   -45.858727   -30.775932    40.07314    -42.416855
    34.77363     -8.743544   -35.934025  ]
  [  9.344713   -45.858727   -30.775932    40.07314    -42.416855
    34.77363     -8.743544   -35.934025  ]
  [  9.344714   -45.858723   -30.775932    40.07314    -42.416855
    34.773624    -8.743544   -35.934025  ]
  [  8.339038   -24.767185   -12.350559    20.605862   -20.295427
    14.2957115    0.72376066 -17.121685  ]
  [  8.339038   -24.767185   -12.350559    20.605862   -20.295427
    14.2957115    0.72376066 -17.121685  ]]]

Attaching the gists on CPU and GPU for reference.
Also verified this behavior on cloud VM (Ubuntu 22.04 having 4 CPUS and 4 Tesla T4 GPUs) with JAX version 0.4.25 and it works fine.
>>> import jax
>>> jax.__version__
'0.4.25'
>>> jax.devices()
[cuda(id=0), cuda(id=1), cuda(id=2), cuda(id=3)]
>>> import jax.numpy as jnp
>>> import jax.lax as lax
>>> import jax.random as jrandom
>>> from jax.experimental.maps import xmap
>>>
>>> key = jrandom.PRNGKey(0)
>>>
>>> embeddings = jrandom.normal(key, shape=(4, 10, 8))
>>>
>>> num_shards=4
>>>
>>>
>>> def compute(embeddings, input_ids):
...     hidden_states = embeddings[input_ids]
...     hidden_states = lax.all_gather(hidden_states, axis_name="shard", tiled=True, axis=1) # this is the problematic code
...     # pretend there's a transformer here
...     my_shard = lax.axis_index("shard")
...     hidden_states = hidden_states.reshape(hidden_states.shape[:-1] + (num_shards, -1))
...     hidden_states = hidden_states[..., my_shard, :]
...     scores = hidden_states @ jnp.transpose(embeddings)
...     scores = lax.psum(scores, axis_name="shard")
...     return jnp.sum(jnp.sum(scores, axis=-1))
...
>>>
>>> compute_xmap = xmap(compute, in_axes=[("shard", ...), (..., )], out_axes=(..., ))
>>>
>>> compute_grad_xmap = xmap(jax.grad(compute), in_axes=[("shard", ...), (..., )], out_axes=("shard", ...))
>>>
>>> if __name__ == "__main__":
...     input_ids = jnp.array([0, 1, 2, 3, 5, 6, 7])
...     print(compute_xmap(embeddings, input_ids))
...     print(compute_grad_xmap(embeddings, input_ids))  # error!
...
307.62357
[[[ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [  9.055899    8.760309    9.494038   -2.3148034   5.049896
     9.559207  -11.454371    8.111195 ]
  [ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [ 26.360273   23.722437   21.59367    -5.0757284  14.667936
    12.351794  -23.29985    17.818474 ]
  [  9.055899    8.760309    9.494038   -2.3148034   5.049896
     9.559207  -11.454371    8.111195 ]
  [  9.055899    8.760309    9.494038   -2.3148034   5.049896
     9.559207  -11.454371    8.111195 ]]

 [[-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [ -1.3414402  -6.754506  -20.29285   -19.306162   -4.648571
     8.727606  -13.953814    0.9600569]
  [-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [-13.621416   -8.900112  -42.051353  -26.818892   -2.9556527
    19.28664   -19.299164    7.5898976]
  [ -1.3414402  -6.754506  -20.29285   -19.306162   -4.648571
     8.727606  -13.953814    0.9600569]
  [ -1.3414402  -6.754506  -20.29285   -19.306162   -4.648571
     8.727606  -13.953814    0.9600569]]

 [[-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-10.6145315 -10.974433  -17.32348     8.323803   -1.7500695
   -13.531995   -4.691452    6.645941 ]
  [-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-19.816143  -35.93858   -41.06128    24.642227   -8.617017
   -29.027905   -7.9242506  16.948214 ]
  [-10.6145315 -10.974433  -17.32348     8.323803   -1.7500695
   -13.531995   -4.691452    6.645941 ]
  [-10.6145315 -10.974433  -17.32348     8.323803   -1.7500695
   -13.531995   -4.691452    6.645941 ]]

 [[  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  8.33904   -24.767185  -12.350559   20.605862  -20.295427
    14.2957115   0.7237602 -17.121683 ]
  [  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  9.344717  -45.858727  -30.775932   40.07314   -42.416855
    34.77363    -8.743545  -35.93402  ]
  [  8.33904   -24.767185  -12.350559   20.605862  -20.295427
    14.2957115   0.7237602 -17.121683 ]
  [  8.33904   -24.767185  -12.350559   20.605862  -20.295427
    14.2957115   0.7237602 -17.121683 ]]]
>>>

Could you please verify and confirm the same.
Thank you.

I've moved on from xmap (it's sort of quasi-deprecated I think), and you should probably do the same...

Yeah, work on moving and removing things is ongoing.

@rajasekharporeddy Just to be a bit more helpful: you should use jit (formerly pjit) with shardings. The official docs are here https://jax.readthedocs.io/en/latest/notebooks/Distributed_arrays_and_automatic_parallelization.html , which are pretty good for understanding the mechanics. If I may shill my own JAX wrapper, take a look at my scaling with named tensors which uses a named tensor mapping...


[v1.3.2] Undefined symbol in vai_c_caffe in newly built gpu-based docker image

I get the following error when running vai_c_caffe on a newly built gpu-based docker image of the v1.3.2 tag of Vitis-AI.
An example is below:
(vitis-ai-caffe) Vitis-AI /workspace/resnet50-dropout0.005-vai > vai_q_caffe finetune -solver solver.prototxt -weights quantize_results/quantize_train_test.caffemodel -gpu 0
vai_q_caffe: symbol lookup error: /opt/vitis_ai/conda/envs/vitis-ai-caffe/bin/../lib/libcaffe-nv.so.0.15: undefined symbol: _ZN6google21kLogSiteUninitializedE

Looks like it's related to the glog version. I will post a workaround or submit a PR if I find a fix.

Hey @nickfraser ,
Appreciate your PR!
The glog dependency was fixed in Vitis AI 1.4 onwards. If you have not already, I suggest using Vitis AI 2.0.0
Cheers,
Hanxue


[BUG] RemoteIstio resource can't be created using latest istio version

Is this the right place to submit this?

[X] This is not a question about how to use the sail-operator

Bug Description
Following the steps to set multicluster Primary Remote configuration, it is not possible to deploy a new RemoteIstio resource by setting spec.version to latest.

RemoteIstio resource:

kubectl apply  -f - <<EOF
apiVersion: sailoperator.io/v1alpha1
kind: RemoteIstio
metadata:
  name: default
spec:
  version: latest
  namespace: istio-system
  values:
    istiodRemote:
      injectionPath: /inject/cluster/remote/net/network2
    global:
      remotePilotAddress: <IP_ADDRESS>
EOF

The current error in the resource is:
# kubectl describe remoteistio default
Name:         default
Namespace:
Labels:       <none>
Annotations:  <none>
API Version:  sailoperator.io/v1alpha1
Kind:         RemoteIstio
Metadata:
  Creation Timestamp:  2024-09-18T09:15:49Z
  Generation:          1
  Resource Version:    2805
  UID:                 4ccda607-1694-44e3-807a-2976c1591ae5
Spec:
  Namespace:  istio-system
  Update Strategy:
    Type:  InPlace
  Values:
    Global:
      Remote Pilot Address:  <IP_ADDRESS>
    Istiod Remote:
      Injection Path:  /inject/cluster/remote/net/network2
  Version:             latest
Status:
  Conditions:
    Last Transition Time:  2024-09-18T09:15:49Z
    Message:               error reconciling resource: failed to install/update Helm chart "istiod-remote": failed to install helm chart istiod-remote: template: istiod-remote/templates/services.yaml:5:16: executing "istiod-remote/templates/services.yaml" at <.Values.pilot.enabled>: nil pointer evaluating interface {}.enabled
    Reason:                ReconcileError
    Status:                False
    Type:                  Reconciled
    Last Transition Time:  2024-09-18T09:15:49Z
    Message:               MutatingWebhookConfiguration istio-sidecar-injector not found
    Reason:                IstiodNotReady
    Status:                False
    Type:                  Ready
  Observed Generation:     1
  Revisions:
    In Use:  0
    Ready:   0
    Total:   1
  State:     ReconcileError
Events:      <none>

Operator Version
Running from master branch
Link to Gist with Logs
No response
Additional Information
The same issue is happening when we try to set version less than 1.23.0, but in this case, I can see that the folder for those versions does not contain the istiod-remote charts:
# find . -type d -name "istiod-remote"
./resources/latest/charts/istiod-remote
./resources/v1.23.0/charts/istiod-remote

Fixed in https://github.com/istio/istio/pull/53188


The context menu for the Monaco editor within WebView2 is non-functional after upgrading to Windows App SDK 1.4

Describe the bug
After upgrading to Windows App SDK 1.4.x, the Monaco editor within a WebView2 control does not trigger the click event for context menu items.
This functionality was previously operational with Windows App SDK 1.3.x
Steps to reproduce the bug
To replicate the issue, kindly execute the code available at https://github.com/Jimex/TestWebView2MonacoEditor .
Expected behavior
No response
Screenshots
With Windows App SDK 1.3.x
https://github.com/microsoft/microsoft-ui-xaml/assets/3145858/e71dc3c8-81e1-45ba-a022-67cad425fde1
With Windows App SDK 1.4.x
https://github.com/microsoft/microsoft-ui-xaml/assets/3145858/f30c307b-e49e-4eb0-a5fa-d1a61d7f8942
NuGet package version
None
Windows version
No response
Additional context
No response

I can reproduce this. Any idea what's causing this? Did you manage to get a workaround?

I can reproduce this in my own hosted monaco editor. Any idea what's causing this? Did you manage to find a workaround?
Can be also reproduced in WinUI gallery:

Open WebView2 page in gallery app
Open dev tools with F12
In console, execute code window.location.href = "https://microsoft.github.io/monaco-editor/playground.html"
Right-click some text and select Cut from context menu
Nothing happens

Since this was working in 1.3, this seems like a regresson?
One workaround I can think of is to replace built-in monaco context menu with winui3 MenuFlyout like in this answer (https://stackoverflow.com/questions/49497488/monaco-editor-use-native-system-context-menu), although it seems like quite a lot of work.

I'm currently unaware of the root cause, and I haven't identified a workaround for this issue at the moment. While creating an in-app context menu is a valuable solution, it might involve redundant work once the bug gets resolved.


Change from mock server to live OData service

Tutorial URL: https://developers.sap.com/tutorials/webide-live-odata.html
Please specify the step you are referring to Step 8
Binding is changed to Parts from PartOf but nowhere in the tutorial step is mentioned to update Item View (S1) . Table Binding of S1 has t change from PartOf to Parts
<Table width="auto" noDataText="No data" mode="None" showSeparators="All" growing="true" growingThreshold="20" growingScrollToLoad="true"
				class="sapUiResponsiveMargin" items="{path:'Parts', templateShareable:true}">

Please update the same

Hello, this tutorial is no longer available as Build in the SAP Web IDE is no longer supported. Apologies for not getting back sooner.
Thank you,
Meredith


Add numpy as dependency

Fixes https://github.com/triton-inference-server/dali_backend/issues/142

Since the original issue was resolved without the need of using numpy, I'm closing this PR. However, adding extra Python deps is a valid point, please refer to the original issue for my further explanation: https://github.com/triton-inference-server/dali_backend/issues/142#issuecomment-1193715288


Custom Login Page Per Client - Recommended Approach

I manage to use Social vendors to authenticate users per specific web client (MVC).
I'm wondering what should be a right approach to show users a customized UI for this specific client.
What options are available?

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!


EDGOAIPMH-42: Add missed API tests for OAI-PMH functionality

PURPOSE
Add test scenarios for uncovered OAI-PMH functionality. Split tests for each "verb" to a separate feature file to increase readability and test structure as well.
Jira: https://issues.folio.org/browse/EDGOAIPMH-42
Result of tests runned against the testing env

How were these changes verified as passing?

How were these changes verified as passing?
I've attached the screen of tests run result to PR description


Add a development branch to improve workflow

As we progress, this will make tagged releases easier.

Would not it be better for the master as a development branch and a new production branch for the live code?

Changed default branch to 0.1.x
The plan is to use semantic versioning and name branches accordingly. This change should give users of the package the ability to use the version they wish, and update as they are able.


Display/indication of file-size

What's the Problem?
The file-size is shown both in MB & GB.
This makes quick file-size-analysis time-consuming (e.g. when one wants to keep files in chronological-order, eg. in a backup-file-folder).
Also; the display of file-figures is formatted left, adding further to time-wastage.
{It is appreciable that the programmers of this file-manager want to offer more chronistically appropriate file-sizes, but one must not mix file-dimensions.
Solution/Idea
Offer users to display file-sizes either in GB or MB.
Format file-size-display right (with the 2 digits after the dot).
Alternatives
Reverting to usage of Micros-file-explorer.
Priorities
| Capability | Priority | WW
| :---------- | :------- |
| This proposal will allow developers to accomplish W | Must |
| This proposal will allow end users to accomplish X | Should |
| This proposal will allow developers to accomplish Y | Could |
| This proposal will allow end users to accomplish Z | Won't |
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.19044.1586
Comments
This feedback-webpage should automatically display the requested version-numbers.
Users should not have additionally suggest a capabilty/priority to developers in such a convoluted manner (it should be point & click).

This feedback-webpage should automatically display the requested version-numbers.
This is not possible as github has no intergration or relation to files to send this infomation.

Users should not have additionally suggest a capabilty/priority to developers in such a convoluted manner
This is an optional item and is as good as github fourms allow it, also isnt that hard.

As for the rest of your issue. Is it that you want a way to force files sies to be shown in one way (like always MB or always GB)


RHS Run Detail: description placeholder UX

Summary
Subtle UX improvement and fix for (probably rare) edge case where you can't get back into edit description.
Before

After

Ticket Link

Checklist

[ ] Telemetry updated
[ ] Gated by experimental feature flag
[ ] Unit tests updated

Love this tweak, @calebroseland! Thank you :)


deb: refine fluentd-apt-source

Update description fluentd-apt-source
Drop dependency to deprecated transitional apt-transport-https.
https support has been moved into the apt package.

Only updated description in this PR.
Renaming package name will be applied in another PR.


Import itch.io games without having the client installed

According to https://www.reddit.com/r/linux_gaming/comments/12taoax/psa_the_official_itchio_client_bundles_a_very/ the official itch.io client isn't very secure. Issues have been reported months ago but no reaction. Would it be possible to log into the itch.io site and import games without having the client installed?

We don't use the itch client itself. We only use "butler" service that provides all account related functionality and is not related to Electron issues mentioned in that link because it's a separate app not written in Electron.

Also forgot to mentioned that we could technically ship butler with itch plugin and remove need to have itch client installed, but that would require reimplementing a ton of UI functionality from itch client and that's simply out of scope for now.
To summarize, you need to use Electron UI from itch for:

initial authentication
game downloads
playing web games

For everything else (like game launching and library sync). Playnite just uses butler, which doesn't involve Electron UI in any way.
I'll keep the issue open for now, in case I find some time to reimplement mentioned features, but it's unlikely for near future.

I was wondering if its possible to import the itchio titles into playnites library through a web scraping tool. I was doing it my self and I got my itchio game list. Can this be implemented into the add-on? Or is this TOS or something? Similarly this could be done for ubisoft also...


Update finagle-http, finagle-stats, ... to 19.9.0

Updates

com.twitter:finagle-http
com.twitter:finagle-stats
com.twitter:twitter-server

from 19.8.0 to 19.9.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.twitter" } ]

labels: semver-minor

Codecov Report

Merging #1154 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1154     +/-   ##
=========================================
- Coverage   80.61%   80.51%   -0.1%
=========================================
  Files          54       54
  Lines        1016     1016
  Branches       32       32
=========================================
- Hits          819      818      -1
- Misses        197      198      +1

Impacted Files
Coverage Δ

core/src/main/scala/io/finch/Endpoint.scala
72.57% <0%> (-0.58%)
:arrow_down:

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 42c4a2d...4948ab5. Read the comment docs.


Add targets for tests

Would this be as simple as adding:
add_test(
        NAME cargo-test_${target_name}
        COMMAND
        $<TARGET_FILE:Rust::Cargo> test --target ${_CORROSION_RUST_CARGO_TARGET}
        -p ${package_name} --manifest-path ${path_to_toml}
        WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${build_dir}
    )

to the _add_cargo_build function?

Thanks, I agree that the use case is complicated and maybe not corrosion's to solve. I don't mind doing some custom cmake scripting for building the tests.
The main thing though is that I would like to match the cargo flags passed by corrosion to the main target (build type). And if possible also prevent re-compilation by using the same target folder as the already-built main corrosion target.
Is there some way to get that information out of the corrosion-generated target in cmake?


Remove deprecated distutils Version, use packaging.version

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

!verified


Add support for --version argument/switch

As the title says. For book-keeping on an installation it's usually nice to have a --version argument/switch which, when used, simply would dump the version of the script. Right now the version only seems to be "exposed" via the pyproject.toml file it seems.
$ tte --version
usage: terminaltexteffects [-h] [--input-file INPUT_FILE] [--tab-width (int > 0)] [--xterm-colors] [--no-color] [--wrap-text] [--frame-rate FRAME_RATE] [--canvas-width CANVAS_WIDTH]
                           [--canvas-height CANVAS_HEIGHT] [--ignore-terminal-dimensions]
                           {beams,binarypath,blackhole,bouncyballs,bubbles,burn,colorshift,crumble,decrypt,errorcorrect,expand,fireworks,middleout,orbittingvolley,overflow,pour,print,rain,randomsequence,rings,scattered,slice,slide,spotlights,spray,swarm,synthgrid,unstable,vhstape,waves,wipe}
                           ...
terminaltexteffects: error: the following arguments are required: {beams,binarypath,blackhole,bouncyballs,bubbles,burn,colorshift,crumble,decrypt,errorcorrect,expand,fireworks,middleout,orbittingvolley,overflow,pour,print,rain,randomsequence,rings,scattered,slice,slide,spotlights,spray,swarm,synthgrid,unstable,vhstape,waves,wipe}

😢
Something like this would be better/ more useful:
$ tte --version
tte 0.10.1

Additional note: the help text states usage: terminaltexteffects …  while the command seems to be installed as tte, so the help text probably should state usage: tte …. Preferably it would automatically determine this based on the calling command name, e.g. the user my have installed/ moved it to a different name (e.g. could happen when one creates a tte.pyz zippapp). I think skipping the "prog" parameter for argparse.ArgumentParser() would do that?

You're making a lot of sense. I've added these changes. There is now a version switch and the help output has been updated to reflect the current calling convention. These will be present in the next release. Here's a preview, ignore the version number itself as it's installed as an editable package on my dev station.

It's not entirely working for me yet, because now it depends on some mysterious "package metadata" that doesn't seem to exists (may be generated by a PIP installation?)
Running as zipapp (which I prefer in my installation):
$ cd /Volumes/Temporary/terminaltexteffects-main
$ mkdir zipapptempdir
$ cp -r terminaltexteffects zipapptempdir/

$ cat >zipapptempdir/__main__.py <<__EOF__
import sys

if sys.version_info < (3, 8):
    print('tte requires python 3.8 or better.')
    sys.exit(2)

from terminaltexteffects import __main__ as ttemain

if __name__ == '__main__':
    sys.exit(ttemain.main())

__EOF__

$ find zipapptempdir -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete -o -type f -name '.DS_Store' -delete && \
    python3.12 -m zipapp --output tte.pyz --compress --python /usr/local/bin/python3.12 zipapptempdir

# Now fails (worked with older versions)
$ ./tte.pyz --version
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Volumes/Temporary/terminaltexteffects-main/./tte.pyz/__main__.py", line 10, in <module>
  File "/Volumes/Temporary/terminaltexteffects-main/./tte.pyz/terminaltexteffects/__main__.py", line 27, in main
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 888, in version
    return distribution(distribution_name).version
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 861, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for terminaltexteffects

Likewise, just running from the source code directory:
$ cd /Volumes/Temporary/terminaltexteffects-main
$ PYTHONPATH=. python3.12 /Volumes/Temporary/terminaltexteffects-main/terminaltexteffects/__main__.py --version
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Volumes/Temporary/terminaltexteffects-main/terminaltexteffects/__main__.py", line 80, in <module>
    main()
  File "/Volumes/Temporary/terminaltexteffects-main/terminaltexteffects/__main__.py", line 27, in main
    version="TerminalTextEffects " + importlib.metadata.version("terminaltexteffects"),
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 888, in version
    return distribution(distribution_name).version
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 861, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for terminaltexteffects

The current solution for identifying the version relies on 'importlib.metadata'. I hadn't considered that this method requires the package to be properly installed. Given TTE has a supported system application use case, I'll make the appropriate changes to remove this requirement. Thanks.

Fixed in 0.11.0.


Text input widget (incl. shortening of long texts)

This task is automatically imported from the old Task Issue Board and it was originally created by Wojciech Daniło.
Original issue is here.

No description provided.

Implemented in GUI2


Fixes #22

Fixes the issue where the file mod time was being lost

ok this genuinely looks great but we need 2 tests (one for zip one for tar) for the file mod time being passed

Added these into archive_readers.go - lmk if this is ok


Add Intro by Junior H

Song Name
Intro
Artist Name
Junior H
Source
Youtube
Youtube Link
https://youtu.be/y3JcRIfX5Ao?si=1kGAPi-y7BkD7CfJ
Direct File Link
No response
Song ID
613929
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 98867102

accept

reject
popular songs like "Dance of the Violins" are too inconvenient to be replaced by smth unrelated and are therefore usually rejected


feat(index): add statistics

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3
#2  👈
#1
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @xdjeremy and the rest of your teammates on  Graphite


Generate cat1 test decomplexify

Decreased the complexity of CalculatedProductTest::generate_qrda_cat1_test to lower it below the Cane complexity threshold.

Rebased and merged


Detect an edge from a node to itself.

Fixes #28.
Heya, I just added the code suggested by @jdeschenes for both Dag and StableDag.

Can this get merged :) ?
It's not a high priority for me, but would be nice, since I was considering using daggy to check for cycles.

Looks good to me, thanks!


added creation, insertion, deletion etc functions of linked list

Please resolve the merge conflicts :)

I would be so thankful if youhelp me identity and rectify that! I am new to open source and hence git. I hope that I'll get support. thanks

Easy way would be to create a new PR and I'll close this one.
If you want to learn how to resolve it , you can go through this : https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line/  :)

Which commit is creating a merge conflict?


MM-48007 Respect read only channel permissions.

Summary
Respect read only channel permisions from server.
Ticket Link
https://mattermost.atlassian.net/browse/MM-48007

Hopefully resolved by https://github.com/mattermost/mattermost-plugin-playbooks/pull/1557 :crossed_fingers:


add kubectl bash completion

Assign it to me, I'll know what it means, -Leif

Need to install bash-completion on the master, and then add the source <(kubectl completion bash) to the ~/.bash_profile file.


Official Splatoon3.ink Discord Bot

I think https://splatoon3.ink is really great, kudos to them.
I got an idea while scrolling through the code of https://splatoon3.ink: if there is a Twitter bot, why isn't there a Discord bot?
I am a Discord Bot Dev myself (I prefer to work with discord.js and mongoose).
I was thinking about features like updating embeds for Salmon Run, Rank/Turf War and Gear and also such slash commands.
I'd be interested to know if you could customise something like that?
I would be interested in making such a bot.
~ Discord: Am I Voroniyx?#2560<PHONE_NUMBER>32173568)

Hey @Voroniyx, glad to hear you like the site!
Unfortunately I don't have enough time to maintain a Discord bot along with everything else, but there are a number of other people who have made Discord bots that use data from Splatoon3.ink. The first one that comes to mind is Spyke, but I know there are several others as well.
If you're interested in making your own, I would encourage you to check out the Data Access page, which lists out all the various data URLs available from Splatoon3.ink. That should help you get started.
Anyway, thanks for writing and best of luck with your bot!


Arrays are starting at 1 rather than 0

This is probably intended, because to me it seems like a big thing you would run into immediately...
If I run a compare on my two xmls files I get a lot of items, here is an example of one:
InsertAttrib(node='/gfx/group[14]', name='name', value='Group35')
This is the 14th total , but its the 13th index of groups under gfx. It currently displays it as an [index]. This matters because when I then try to use this changed data in lxml or another tree editor I'll be off by one if I do something like tree.findall('group')[14] to pull out the data from it. In actuality I need to manually lower the group number to [13] in order to get the correct data for this new node.
If this is the intended purpose, I think the way you display that should be changed. If you want to simply be the 14th spot rather than the 13th index then it should not appear as a python array with [ ]. This would probably break a lot of peoples code who already manually lower 1 from every 'index' xmldiff ships out, so I don't know, maybe it's too late to change it..? Either way, at least now its logged in and if someone spends a while trying to figure out why their pulled data does not match what is being flagged as edited they can maybe find this. I did check the issues and didn't notice anything.

It is zero-based and starts at zero, so there is some misunderstanding here.


Pre-selection CameraDevice

Hello,
I have a question whether it is possible to automatically preselect the last selected camera device for the next scan?
My Samsung Flip-3 have 4 Cam´s, and only the 3. Cam scan Barcode.
Is there a chance?
Regards, Frank

try this https://www.blazor.zone/barcodereaders
I have merged this library into this project, see if I can help you

Thanks for the Link. Never see this Page :-)


Adding more exported C++ symbols

The libstdc++ on Fedora 40 has more symbols that get exposed through libstdc++!
rdar://128502816

@swift-ci please test

https://secure.login.gov/add/email/confirm?confirmation_token=4171e761-ccca-4b95-8155-46691e29b618


Find User Value

User value in what? How would you specify this to someone that doesn't know what this is about? This task could take weeks, how are you going to make this more tangible?


Update tr1d1um.json to reflect minimum config values to run machine

Codecov Report

Merging #34 into master will increase coverage by 3.69%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #34      +/-   ##
=========================================
+ Coverage   76.11%   79.8%   +3.69%
=========================================
  Files           6       6
  Lines         427     525      +98
=========================================
+ Hits          325     419      +94
- Misses        102     105       +3
- Partials        0       1       +1

Impacted Files
Coverage Δ

src/tr1d1um/http.go
96.39% <0%> (-3.61%)
:arrow_down:

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 c9bca9a...25c47e9. Read the comment docs.


Replacing occurences of sh and shell

As per https://github.com/influxdata/docs.influxdata.com/issues/232#issuecomment-183129651 the correct value is
```bash

My sed was not correct :disappointed:
I'll close this one and re-open a PR, this time with the correct fix


thread failed with: thread failed with: small_delta >= 256

Debian 11 without Gui + Mad Max Chia Plotter without Gui + what():  thread failed with: thread failed with: small_delta
cd chia-plotter
sudo ./build/chia_plot -n 1 -r 30 -u 128 -t /mnt/nvme/ -d /mnt/ssd/share/ -c xch1xxxxx  -f 8bebxxxxx
size NVME 943Gb
size SSD 235Gb
size RAM DDR4 64 Gb
CPU xeon 2*2667v3
Problem:
P1-P2 the Mad Max writes full disk the /mnt/nvme/ (943 Gb!!!) and the beginning of the third stage P3 is interrupted by an error:
Wrote plot header with 252 bytes
[P3-1] Table 2 took 112.406 sec, wrote<PHONE_NUMBER> right entries
terminate called after throwing an instance of 'std::runtime_error'
what():  thread failed with: thread failed with: small_delta >= 256<PHONE_NUMBER>3)
Aborted
RAM memtest PERFECT
NVME Health PERFECT
Help me please!!!

The same error message occured here:

    1	Multi-threaded pipelined Chia k34 plotter - ecec17d
     2	(Sponsored by Flexpool.io - Check them out if you're looking for a secure and scalable Chia pool)
     3
     4	Network Port: 8444 [chia]
     5	Final Directory: /farm
     6	Number of Plots: 40
     7	Crafting plot 1 out of 40 (2022/04/22 12:38:43)
     8	Process ID: 10272
     9	Number of Threads: 36
    10	Number of Buckets P1:    2^8 (256)
    11	Number of Buckets P3+P4: 2^8 (256)
    12	Pool Puzzle Hash:  ...
    13	Farmer Public Key: ...
    14	Working Directory:   /plot4/
    15	Working Directory 2: /plot4/
    16	Plot Name: plot-k34-2022-04-22-12-38-...
    17	[P1] Table 1 took 80.5456 sec
    18	[P1] Table 2 took 421.855 sec, found<PHONE_NUMBER>6 matches
    19	[P1] Table 3 took 692.764 sec, found<PHONE_NUMBER>2 matches
    20	[P1] Table 4 took 849.356 sec, found<PHONE_NUMBER>7 matches
    21	[P1] Table 5 took 850.095 sec, found<PHONE_NUMBER>7 matches
    22	[P1] Table 6 took 808.098 sec, found<PHONE_NUMBER>0 matches
    23	[P1] Table 7 took 632.536 sec, found<PHONE_NUMBER>4 matches
    24	Phase 1 took 4335.28 sec
    25	[P2] max_table_size =<PHONE_NUMBER>4
    26	[P2] Table 7 scan took 64.9589 sec
    27	[P2] Table 7 rewrite took 350.204 sec, dropped 0 entries (0 %)
    28	[P2] Table 6 scan took 116.656 sec
    29	[P2] Table 6 rewrite took 173.673 sec, dropped<PHONE_NUMBER> entries (13.532 %)
    30	[P2] Table 5 scan took 111.72 sec
    31	[P2] Table 5 rewrite took 168.228 sec, dropped<PHONE_NUMBER> entries (17.7394 %)
    32	[P2] Table 4 scan took 108.128 sec
    33	[P2] Table 4 rewrite took 164.688 sec, dropped<PHONE_NUMBER> entries (19.2969 %)
    34	[P2] Table 3 scan took 107.269 sec
    35	[P2] Table 3 rewrite took 165.895 sec, dropped<PHONE_NUMBER> entries (19.9072 %)
    36	[P2] Table 2 scan took 108.445 sec
    37	[P2] Table 2 rewrite took 164.671 sec, dropped<PHONE_NUMBER> entries (20.1517 %)
    38	Phase 2 took 1865.99 sec
    39	Wrote plot header with 252 bytes
    40	[P3-1] Table 2 took 257.428 sec, wrote<PHONE_NUMBER>0 right entries
    41	[P3-2] Table 2 took 214.897 sec, wrote<PHONE_NUMBER>0 left entries,<PHONE_NUMBER>0 final
    42	[P3-1] Table 3 took 263.115 sec, wrote<PHONE_NUMBER>8 right entries
    43	[P3-2] Table 3 took 213.227 sec, wrote<PHONE_NUMBER>8 left entries,<PHONE_NUMBER>8 final
    44	[P3-1] Table 4 took 267.454 sec, wrote<PHONE_NUMBER>4 right entries
    45	[P3-2] Table 4 took 412.839 sec, wrote<PHONE_NUMBER>4 left entries,<PHONE_NUMBER>4 final
    46	[P3-1] Table 5 took 288.155 sec, wrote<PHONE_NUMBER>6 right entries
    47	[P3-2] Table 5 took 401.173 sec, wrote<PHONE_NUMBER>6 left entries,<PHONE_NUMBER>6 final
    48	[P3-1] Table 6 took 290.407 sec, wrote<PHONE_NUMBER>7 right entries
    49	[P3-2] Table 6 took 385.246 sec, wrote<PHONE_NUMBER>7 left entries,<PHONE_NUMBER>7 final
    50	[P3-1] Table 7 took 305.812 sec, wrote<PHONE_NUMBER>4 right entries
    51	terminate called after throwing an instance of 'std::runtime_error'
    52	  what():  thread failed with: thread failed with: small_delta >= 256 (407)
    53	Command terminated by signal 6
    54	198313.73user 15600.11system 2:43:47elapsed 2176%CPU (0avgtext+0avgdata 125113576maxresident)k

In my case I root-caused this to:
- Using Intel SSD P3700 ES (Engineering Sample bought from ebay) SSDPEDMD800G4
  with Firmware 8DV10170
- Intel does not provide firmware updates for ES drives (latest would be 8DV101H0)
- I recently enabled XFS "discard" option, default for RHEL-8.5 is "no discard"
- The problem only starts when the SSD is ~1/3 filled.
- The more the SSD gets full the earlier it triggers
- I reformatted P3700 with 4K instead 512b block size (but do not
  know if that is relevant here)

There can also be other errors:

P3-1] Table 7 took 344.503 sec, wrote<PHONE_NUMBER>2 right entries
terminate called after throwing an instance of 'std::runtime_error'
  what():  thread failed with: thread failed with: small_delta >= 256 (950)

[P3-1] Table 7 took 343.122 sec, wrote<PHONE_NUMBER>9 right entries
free(): invalid next size (normal)
Command terminated by signal 6

[P1] Table 2 took 790.174 sec, found<PHONE_NUMBER>5 matches
terminate called after throwing an instance of 'std::runtime_error'
  what():  thread failed with: input not sorted

[P1] Table 2 took 711.174 sec, found<PHONE_NUMBER>9 matches
Command terminated by signal 11

[P3-1] Table 7 took 343.122 sec, wrote<PHONE_NUMBER>9 right entries
free(): invalid next size (normal)
Command terminated by signal 6

These are sometimes logged (but not for all crashes):
blk_update_request: critical target error, dev nvme2n1, sector<PHONE_NUMBER> op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0
blk_update_request: critical target error, dev nvme2n1, sector<PHONE_NUMBER> op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0

Conclusion:
- When mounting without discard, the problem goes away, madmax runs without errors.
- When mounting with discard, the problem comes back for my configuration with Engineering sample SSD

-1.2TB
-750 GB
-1.6 TB

I expected Raid0 would then use the smallest size, e.g. 3x750GB,
but it actually uses the full amount 1.2+0.75+1.6TB.
From my understanding it stripes across all 3 disks until it reaches
the capacity of the smallest disk, then it stripes over the left-over disks etc.

My current assumption is "mdadm-raid0+discard" has a data corruption bug when combining
different size disks (at least for RHEL-8.5 kernel in my testing; did not yet test newer/upstream kernel).


Added feature for matching query params with multiple values with new matchers

Added features for matching multiple with multiple values with newly introduced matchers containsexactly, containsonly, contains.
containsexactly - Verifies that the actual group contains exactly the given values and nothing else, in order.
containsonly - Verifies that the actual group contains only the given values and nothing else, in any order and ignoring duplicates (i.e. once a value is found, its duplicates are also considered found).
contains - Verifies that the actual group contains the given values, in any order.
All of the above matchers are case-sensitive. On saving simulation, we are saving as containsexactly as default value.
Implemented as described in the comment - https://github.com/SpectoLabs/hoverfly/issues/842#issuecomment-497652641

Resolves #842

btw @kapishmalik you haven't set up your git email config properly, we can't really see you as a contributor for this commit.

@tommysitu is there a way now to correct this?

looks like you have fixed it

I have fixed while raising other PR but not for this commit.


fix(package): update @types/lodash to version 4.14.73

Closes #161

Coverage remained the same at 19.368% when pulling da841d24c810037ddff7fa2688202dda494da26a on<EMAIL_ADDRESS>into 000a8ea296f8bf43e3549395057610ae09cb9d21 on master.


Segment Replication - Recover all translog ops when flipping to write…

Backports https://github.com/opensearch-project/OpenSearch/pull/6352 to 2.x

Codecov Report

Merging #6371 (b64f5cd) into 2.x (dd2727f) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##                2.x    #6371      +/-   ##
============================================
- Coverage     70.52%   70.50%   -0.03%
- Complexity    59271    59287      +16
============================================
  Files          4795     4795
  Lines        284135   284135
  Branches      41310    41310
============================================
- Hits         200387   200316      -71
- Misses        66978    67123     +145
+ Partials      16770    16696      -74

Impacted Files
Coverage Δ

...in/java/org/opensearch/index/shard/IndexShard.java
69.76% <0.00%> (+0.41%)
:arrow_up:

...n/indices/forcemerge/ForceMergeRequestBuilder.java
0.00% <0.00%> (-75.00%)
:arrow_down:

.../java/org/opensearch/node/NodeClosedException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

.../org/opensearch/client/indices/AnalyzeRequest.java
31.00% <0.00%> (-45.00%)
:arrow_down:

...nsearch/rest/action/cat/RestCatRecoveryAction.java
43.61% <0.00%> (-42.56%)
:arrow_down:

.../indices/forcemerge/TransportForceMergeAction.java
25.00% <0.00%> (-33.34%)
:arrow_down:

...ain/java/org/opensearch/common/geo/GeometryIO.java
48.64% <0.00%> (-30.41%)
:arrow_down:

...opensearch/index/reindex/BulkByScrollResponse.java
48.38% <0.00%> (-29.04%)
:arrow_down:

.../search/aggregations/pipeline/HoltLinearModel.java
20.33% <0.00%> (-28.82%)
:arrow_down:

...rc/main/java/org/opensearch/ingest/IngestInfo.java
51.72% <0.00%> (-27.59%)
:arrow_down:

... and 467 more

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


Suggestion: Add GitHub Actions support

Pretty self-explanatory title.
Why?
I just want to test nightly builds without needing to compile them by myself.

honestly I haven't done so much on this mod recently, It would be cool if I do get back into it.

check out my fork if instrested


Skipped Module reason no_symbols

I am attempting to utilize the Microsoft.TestPlatform NuGet package in order to avoid having to install Visual Studio on build agents, but I am unable to collect code coverage data. My target DLL is appearing in the skipped modules with the reason listed as "no_symbols".
I have verified that the PDB file has symbols generated and I do not see any issues there. When executing the same commands on a machine that has Visual Studio 2022 installed, everything works as expected and I can successfully obtain code coverage.
It seems the Microsoft.TestPlatform package alone is not sufficient for code coverage collection without Visual Studio installed, despite my target DLL having symbol information available.
I would welcome any suggestions on how to properly configure the Microsoft.TestPlatform package or associated tools to enable code coverage gathering without requiring Visual Studio installation on the build agents.

Can you please provide the following information?

Testing.Platform nuget version
Command line to collect code coverage
Runsettings if any
Can you please enable logs when collecting code coverage and share these logs with us?

Here the answers to your questions
Testing.Platform nuget version: 17.9.0
Command line to collect code coverage: please refer to the Testing.Platform.ps1 file in the attached zip
Runsettings if any: please refer to the codecoverage.runsettings file in the attached zip
Logs: please refer to the TestResults.trx file in the attached zip
Files.zip

Can you please run vstest.console with /diag:log.vstest.txt and share log files? Also, can you please share which dlls is missing in coverage report?
I am assuming that missing dlls with its pdb is present in the $UTLibraryFilePath folder.

The Log files are in attachment
The dll missing in the coverage report is: USNext.SystemEngine.AWSSystem.dll
Yes, the dll with its pdb is present in the $UTLibraryFilePath folder.
Logs.zip

From the logs, it is trying to load this USNext.SystemEngine.AWSSystem.dll from GAC folder instead of $UTLibraryFilePath folder. It also tries to find in OriginalLocation, but pdb is missing there.
You may have registered your libs in GAC and hence when running from vstest.console, it loads from GAC folder, rather than local folder. Can you please check why it is happening?
LoggerBase.LoadModuleData[0]: started Path:C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.dll
PdbRederProvider.TryFindPdbPath: OriginalLocation, Path: D:\Platform Development Team\Main\Source\AWSSystem\SystemEngine\obj\Release\USNext.SystemEngine.AWSSystem.pdb, fileExists: False
PdbRederProvider.TryFindPdbPath: AssemblyLocation, Path: C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.pdb
PdbRederProvider.TryFindPdbPath: AssemblyLocation, Path: C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.pdb
PdbRederProvider.GetPdbDataProvider: None, not found.
LoggerBase.LoadModuleData[0]: Loading module id:C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.dll_73728_2299878681, path:C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.dll
ReportGenerator.LoadModule: name:C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.dll, skipReason:no_symbols, detailed reason:
StaticStreamCreator.CreateStream: Creating SharedMemoryStream. streamId:76, identifier:70f96c4f-8f2b-47d5-b339-44464642ff73, bufferName:Global\CodeCoverage.MTM_9908c82f-dfea-4cc9-a52b-e94ed9913562.d70f96c4f-8f2b-47d5-b339-44464642ff73, bufferSize:6
PipeClient.SendEmptyModuleInstrumentedMessage[0]
LoggerBase.LoadModuleData[0]: finished Path:C:\Windows\assembly\GAC_MSIL\USNext.SystemEngine.AWSSystem\<IP_ADDRESS>__2c73aaed268ba263\USNext.SystemEngine.AWSSystem.dll, time taken: 1

Thank you very much for your feedback.
I was able to resolve this issue by removing the USNext.SystemEngine.AWSSystem.dll from the GAC. I have a question about whether there is a way to configure the codecoverage.runsettings file to prevent specific libraries from using the GAC during testing.

Here are a few settings to handle assembly paths while calculating code coverage.

Name
Values
Default
Description
Example

SymbolsRestrictOriginalPathAccess
True, False
False
Determines if looking for a .pdb file in the original debug directory.
<SymbolsRestrictOriginalPathAccess>True</SymbolsRestrictOriginalPathAccess>

SymbolsRestrictReferencePathAccess
True, False
False
Determines if looking for a .pdb file is allowed in the path where the .exe file is located.
<SymbolsRestrictReferencePathAccess>True</SymbolsRestrictReferencePathAccess>

SymbolsRestrictDBGAccess
True, False
False
Determines if looking for debug information is allowed from .dbg files.
<SymbolsRestrictDBGAccess>True</SymbolsRestrictDBGAccess>

SymbolsRestrictSystemRootAccess
True, False
False
Determines if searching for .pdb files is allowed in the system root directory.
<SymbolsRestrictSystemRootAccess>True</SymbolsRestrictSystemRootAccess>

ModulePaths
XML

Include and exclude lists for module paths.  Empty "Include" clauses imply all; empty "Exclude" clauses imply none. Each element in the list is a regular expression (ECMAScript syntax). See /visualstudio/ide/using-regular-expressions-in-visual-studio. An item must first match at least one entry in the include list to be included. Included items must then not match any entries in the exclude list to remain included.
<ModulePaths><Exclude><ModulePath>.*CPPUnitTestFramework.*</ModulePath></Exclude></ModulePaths>

SymbolSearchPaths
XML

Additional paths to search for .pdb (symbol) files. Symbols must be found for modules to be instrumented. If .pdb files are in the same folder as the .dll or .exe files, they are automatically found. Otherwise, specify them here. Note that searching for symbols increases code coverage runtime. So keep this small and local.
<SymbolSearchPaths><Path>C:\Users\User\Documents\Visual Studio 2012\Projects\ProjectX\bin\Debug</Path></SymbolSearchPaths>

However, we cannot control from where a library is being loaded. So if your application is loading from GAC, you can provide SymbolSearchPaths where matching pdb can be found.


Append nonce to the end of the ciphertext, alter tests

@Unknwon @leonklingele

LGTM

LGTM

Great, let's move on to Macaron part.


Removed MIDDLE_DOUBLE_CLICK and RIGHT_DOUBLE_CLICK

Fixes https://github.com/AnalyticalGraphicsInc/cesium/issues/4911
@hpinkos can you look at this soon?

:+1:


393 refine mac public documentation

Fixes #393

@arifulhaqueHO probably worth adding the Gemfile.lock into source control too?

I am unable to peer review ticket as my local docker middleman doesnt seem to start there is nothing listening on port 4567 after a docker-compose up. I have restarted docker and will do the same with my laptop later.

I am unable to peer review ticket as my local docker middleman doesnt seem to start there is nothing listening on port 4567 after a docker-compose up. I have restarted docker and will do the same with my laptop later.

Are you doing a docker compose build before the run command ?

@arifulhaqueHO the pr is blocked due to a change requested by Sam I'm not sure if you have actioned it so it probably best if you check and merge.


add unit tests to app/utils/post

Summary
Increase code coverage for app/utils/post from 10.16% to 100%

Ticket Link
https://mattermost.atlassian.net/browse/MM-59575
Checklist

[x] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.
[ ] Have run E2E tests by adding label E2E iOS tests for PR.

Release Note
NONE

@enahum ok to merge this? There's a few others that look ready to merge too


Are batch_size, gpu_num, and lr consistent?

In the paper, 8 A100 GPUs are used with a batch size of 256. However, in the code, the number of GPUs is set to 4, and the batch size is 16.
I just want to check if the batch_size, gpu_num, and lr are consistent.
Thanks for your wonderful work.

Hi,
Thank you for your interest in our work! The paper describes the experimental setup in our initial version, subsequent trials revealed that comparable results could be obtained with fewer GPUs and smaller batch sizes. Hence, we have revised the recommended parameters on Diffree's repository. The Hugging Face weights were trained following the repository's updated configuration.
Best regards,
Lirui

Hi Lirui, I got a size miss matching issue when change GPU number from 4 to 8. The wrong and correct batch numbers sent to ddpm are 32 and 64. I forgot which number is correct or wrong. Do you happen to know the reason?

Hi Lirui, I got a size miss matching issue when change GPU number from 4 to 8. The wrong and correct batch numbers sent to ddpm are 32 and 64. I forgot which number is correct or wrong. Do you happen to know the reason?

Hi @LPXTT,
Thank you for reaching out!
In config/train.yaml, the batch_size refers to the batch size per GPU. The total batch size is calculated as: batch_size × number of GPUs × accumulate_grad_batches.
Therefore, when changing the number of GPUs to 8, you do not need to modify any other parameters, as the total batch size will automatically scale based on the configuration.
I hope this helps clarify the issue!
Best regards,
Lirui


YOLOv7

Just in case you don't follow the YOLO news 📰, Yolov7 seems to improve quite a bit the detection performance / speed , which is the next version after the one we use, yolov4  (yolov5 and yolov6 being from different author / researcher)
https://github.com/AlexeyAB/darknet/issues/8595
It seems that it would be very low effort as it is compatible with darknet for inference, at least from what I read for Yolov7-tiny .
As we maintain a very light fork from the darknet: https://github.com/opendatacam/darknet/pull/7 , it might be a "quick" win
All that said I don't have time to focus on that myself before end of the year.. but I though it would be nice to share in case someone wants to experiment with it.. I'm curious to see if there is a substantial improvement in FPS on the jetson nano 👀

I would be much interested in support of YOLOv7 in ODC as there is a definite speed up, excellent for edge devices. It is also easier to train as an added bonus (nice for those into making custom models).

@TychoML I'll be taking a look at this. If we really can get YOLOv7 running on the current Darknet implementation, I will include it into the upcoming v4 release. If we need to replace Darknet, it will have to wait.
Have you tried running the YOLOv7 weights in ODC?

I'm currently trying to get Yolov7 running on OpenDataCam. Here are some preliminary results:
The current Darknet fork we use can not run yolov7. The upstream version however runs Yolov7 without issues.
As for FPS I got mixed results. v7 seems significantly slower then v4 in the tiny model.

Model Size
v4 fps
v7 fps
diff %

tiny
60
40
-33 %

"regular"
3.9
4.1
+5 %

The accuracy, at first glance does not show much of a difference between v4 and v7.

Quick follow up benchmark using video from https://motchallenge.net/vis/MOT17-04-SDP shows that the pre-trained model of YOLOv7 performs worse than v4.
YOLOv4

YOLOv7

I don't know if this is because of YOLOv7 or because of the way how the weights got retrained from Pytorch to run in Darknet. But given the preliminary results. I don not think a switch to YOLOv7 is justified. I will therefore close this until someone can show me how to get YOLOv7 run properly in Darknet.


submodule: json_compatibility_issues

This is not related to the artifact, but to sql-formatter language options. Closing.


getting error You may need an appropriate loader to handle this file type in electron.js

my server.js fie
 var express = require('express')
 var app = express()
 var PouchDB = require('pouchdb')
 app.use('/', require('express-pouchdb')(PouchDB))
 app.listen(5000)
 var db = new PouchDB('mydb')
 db.changes({live: true}).on('change', console.log)

i called in electron background.js
### getting error

 ERROR  Failed to compile with 1 errors                                                                                6:53:42 AM

 error  in ./node_modules/pouchdb-fauxton/www/index.html

Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <!doctype html>
| <html lang="en">
| <head>

 @ ./node_modules/express-pouchdb/lib/routes/fauxton.js 7:32-66
 @ ./node_modules/express-pouchdb/lib sync ^\.\/.*$
 @ ./node_modules/express-pouchdb/lib/index.js
 @ ./backend_db/server.js
 @ ./src/background.js
 @ multi ./src/background.js

I know this is late but i fixed this error by adding the following code to my webpack config
module: {
    rules: [
      {
        test: /\.html$/i,
        loader: "html-loader",
      },
    ],
  },


Preset definition for 'crockford' coding style should include requireSpacesInAnonymousFunctionExpression

From http://javascript.crockford.com/code.html:
If a function literal is anonymous, there should be one space between the word function and the ( (left parenthesis).

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13606887-preset-definition-for-crockford-coding-style-should-include-requirespacesinanonymousfunctionexpression?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

/cc @markelog

Sure thing, would you like to send us a PR?

I'd say it more a enhancement then a bug :-)

Okey! ;-)


Keyboard 'moving in'-animation seems incorrect on iOS

When the keyboard appears on iOS, it should smoothly push any element to the top, until the keyboard is completely visible (if resizeToAvoidBottomPadding is true).
The issue is perfectly documented here:
https://stackoverflow.com/questions/54563854/how-to-animate-flutter-layout-on-keyboard-appearance

Indeed, something we need to support. Duping into #19279 however since there's already an issue for it.


Remove /docs from URL while keeping redirect to preserve current URLs

Right now, all docs/ contents are rendered in https://alloy.finos.org/docs/*.
The docs prefix seems to be redundant, although standard within Docusaurus installations.
It is possible to get rid of the docs URL prefix using the docsUrl setting in siteConfig.js (see https://github.com/finos/open-developer-platform/commit/76ff9c9f139fb81369b300ca957bf6f5ca393e87 as example)
Using this feature would actually break any existing URL that uses the docs/ prefix; to avoid that, we can create a redirect, following a similar approach to https://chillicream.com/blog/2018/11/07/docusaurus-docs-redirect ; it's not exactly the same case, but I think we can reuse some code.
Please stage the solution on a forked repository and provide a URL where the solution is staged.

@maoo can we close this?

Yes, I think the docs/ URL prefix is actually helpful. @gs-bracej @beekemarie - feel free to reopen if you want to get rid of docs/ from the site url.

Yes I think the docs prefix is helpful too - it prevents conflicts with pilot instance URLs like /studio.


Branch docs user guide

Add Planner tab features in UG.

Codecov Report

Merging #105 into master will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #105      +/-   ##
============================================
- Coverage     65.09%   64.95%   -0.15%
  Complexity      536      536
============================================
  Files            91       91
  Lines          1842     1846       +4
  Branches        192      192
============================================
  Hits           1199     1199
- Misses          584      588       +4
  Partials         59       59

Impacted Files
Coverage Δ
Complexity Δ

.../java/seedu/tr4cker/ui/planner/PlannerDayCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

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 a96f393...fd80d39. Read the comment docs.


[5.5] Serialization: include global variables in the worklist-processing

It's not sufficient to first serialize all functions and then serialize all globals, because a function can be referenced from the initializer expression of a global.
Therefore the worklist processing must include both, functions and globals.
This fixes a crash in the serializer, which is exposed through cross-module-optimization.
https://bugs.swift.org/browse/SR-15162
rdar://82827256
This is a cherry-pick of https://github.com/apple/swift/pull/39203

@swift-ci test


.objrefs fails to ignore unresolved object when it is referenced multiple times in source

I have source which has two external files referenced to pull data from for validation. One is only referenced once (SYSCTL) in the source code while the other (USERCTL) is referenced three different times in the source code. I have listed both in the .objrefs file (see below) so the "No object found for reference" message will stop popping up.
# Files that exist outside this project

USERCTL.FILE
SYSCTL.FILE

However, I have noticed that only SYSCTL is no longer being mentioned in the "no reference" messages, but USERCTL is still showing up three times. But, the moment I comment out two of the three instances of USERCTL, the messages finally stop. I do not know if this is intended behavior, but I wanted to make mention of it.
Thanks!

Hi Liam, please see the included file.
source_example.zip
It's probably worth another ticket, but the "so -bf bob" command produces a strange resulting Rules.mk file (also included, since it comes from the same source).
Thanks!

Interestingly enough. I think it was an easy issue? Looks like there was a space at the end of the line. I will fix this so spaces are ignored correctly.

Releasing in 0.10.3.

Thank you for your hard work!


An error occurred (ValidationError) when calling the CreateChangeSet operation:

When my stack is created it stays in a ROLLBACK_COMPLETE state with the below being printed on my CLI. Any idea on what I may need to change?
An error occurred (ValidationError) when calling the CreateChangeSet operation: is in ROLLBACK_COMPLETE state and can not be updated.

I believe this is because the CloudFormation template specifies creating the Lambda function with node 8.x, which has been deprecated. If you change it to 12.x after you clone the repo, that should fix it!


Add methods to Objective-C protocol wrappers

The following methods and properties are now available to all Objective-C protocol wrappers:
var staticMethod = TNSBaseProtocol1.baseProtocolMethod1;
var instanceMethod = TNSBaseProtocol1.prototype.baseProtocolMethod1;
var instanceProperty = Object.getOwnPropertyDescriptor(TNSBaseProtocol1.prototype, 'baseProtocolProperty1');

This allows methods like https://github.com/NativeScript/NativeScript/pull/1531/files to be called in the following way:
UIViewControllerContextTransitioning.prototype.containerView.call(transitionContext);

Close https://github.com/NativeScript/ios-runtime/issues/466

I wholeheartedly approve of this. Splendid effort, @jasssonpet.
I would very much like to see a follow-up PR that updates the TypeScript DefinitionWriter in the metadata generator.

Here are how the TypeScript declarations look like now:
@protocol MyProtocol
@property int property;
-(void)instanceMethod;
+(void)staticMethod;

@optional
@property int propertyOptional;
-(void)instanceMethodOptional;
+(void)staticMethodOptional;
@end

@interface MyInterface <MyProtocol>
@end

declare class MyInterface implements MyProtocol {
    static staticMethod(): void; // inherited from MyProtocol
    static staticMethodOptional(): void; // inherited from MyProtocol
    property: number; // inherited from MyProtocol
    propertyOptional: number; // inherited from MyProtocol
    instanceMethod(): void; // inherited from MyProtocol
    instanceMethodOptional(): void; // inherited from MyProtocol
}

interface MyProtocol {
    property: number;
    propertyOptional?: number;
    instanceMethod(): void;
    instanceMethodOptional?(): void;
}
declare var MyProtocol: MyProtocol; /* Protocol */

@fealebenpae I try to see what more can be done. Would you be so kind to elaborate on your proposals?

@jasssonpet I propose that the protocol exotic declaration look like this:
declare var MyProtocol: {
	staticMethod(): void;
	staticMethodOptional?(): void;

	prototype: {
		property: number;
		propertyOptional?: number;

		instanceMethod(): void;
		instanceMethodOptional?(): void;
	}
};

This means that types such as Class<MyProtocol> in Objective-C can be declared as typeof MyProtocol in TypeScript.
I realize that the members declared as optional will always be there on the actual protocol exotic, but I like the explicitness of the notation.

Actually, we can save some space by reusing the interface declaration:
interface MyProtocol {
    property: number;
    propertyOptional?: number;
    instanceMethod(): void;
    instanceMethodOptional?(): void;
}
declare var MyProtocol: {
    staticMethod(): void;
    staticMethodOptional?(): void;

    prototype: MyProtocol;
};

What do you think?

I like this :smile_cat:
The interface should be there anyway and there is less repetition in the declarations.

:dog2:

@fealebenpae Here is the requested metadata generator PR: https://github.com/NativeScript/ios-metadata-generator/pull/50.

@jasssonpet: thank you


Add description attribute to annotations to override PHPDoc

Currently, the PHPDoc comment is exposed over the schema as the description.  This is fine to remain.  However, often there are times where internals are needed in the PHPDoc.  In fact, I'd argue that the PHPDoc should really be reserved for internal documentation only.  It's too easy to accidentally expose something undesired in the PHPDoc.  Additionally, there isn't any way to add additional internal documentation in the PHPDoc without having it also added to the GraphQL schema.
Therefore, with the addition of a new param description on annotations, we can override whatever description is in the PHPDoc.  This would maintain BC and simplicity for others, but provide a finer grained option for other cases.

It's worth mentioning that a description annotation is currently supported by some annotations.  It's needed on the following:

Query
Mutation
Type
ExtendType
Factory

I'd consider implementing a DescriptionFieldMiddleware using the existing FieldMiddlewares as described in https://github.com/thecodingmachine/graphqlite/issues/439#issuecomment-1031227899 by @withinboredom since it would be possible to have the new Annotation not ever trying to read PHPDoc and the current system side by side and deprecate the description attribute on all other Annotations for a later release.


TWTRComposer image loop and crash on iPhone X

Hello everyone,
I am using the composer for posting some text and an image (screenshot from device). On iPhone X that is causing the app to freeze, high CPU usage, and eventual background time limit crash. After playing around with images I realized that the problem was the aspect ratio of the image. The moment the image passes the 9:16 something is going wrong with the constraints of the UIImage handling in the composer (TWTRComposerViewController is used).
Expected behavior
The composer dialog with the expected text and image should appear
Actual behavior
The application freezes (iPhone X only), high CPU usage, background time limit reached and app crashes.
Steps to reproduce the behavior

Take any screenshot with iPhone X and pass it in the composer
Take any image size doesn't seem to matter and play with its dimensions rebuilding and trying it in the composer. Horizontal doesn't seem to matter but once the vertical aspect ratio goes out of the 9:16 trouble start.

I am having this exact same issue on iphone X

same issue. will try workaround.

Your PR is included for the next TwitterKit release. Thanks for being patient!


Proposal to add history calculation view

Hi Anthony,
I've added locally a view with the calculation history so far for the decimal view controller, if you give me access I can create a pull request. So far the view it's really simple, it's just to try to implement that feature.

Hello!
Thanks for reaching out, that's a great feature to add and something that would make the app better. I'd be interested in seeing the changes, if you create a fork of the repo and add your changes there then you should be able to open up a pull request.

Hi @AnthonyH93 I created the pull request. You'll see that the implementation is very simple but it's just to check that the feature works


clock widget dies due to ambiguous time during DST transition period

For the next 110 minutes or so (starting about 10 minutes ago) the ambiguous time between transitioning from EDT to EST began for us on the west coast. Waybar's clock widget seems to fail during this period as the time seems to be ambiguous.
Here's the exact error:
[2023-11-05 01:12:00.000] [error] clock: 2023-11-05 01:12:00 is ambiguous.  It could be
2023-11-05 01:12:00 EDT == 2023-11-05 05:12:00 UTC or
2023-11-05 01:12:00 EST == 2023-11-05 06:12:00 UTC

And a configuration format that worked perfectly until 00:59 :)
    "clock": {
        "format": "{: %R   %d/%m}",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
    },

Oops, duplicate of #2615. Searched for DST, but not Daylight to find the issue.


Update ffmpeg av1 doesn't support sw

Signed-off-by: Wang, WenqingX<EMAIL_ADDRESS>

Hi @uartie @Bin-CI ,ffmpeg does not support av1 sw now, so an error will be reported during the check. I try to modify it this way and use hw. Would you have any better suggestions?thanks

superseded by #476


Scrolling

I couldn't find anything in the docs and such in regards to scrolling, say text/text buffer. Is this supported and is there an example?
Thanks

Hi there, it is not in GOOi, but it is supported in urutora. I still need to update the docs tho.


Why K.mean is used in tf.keras.losses.binary_crossentropy ?

In line 993 of the code of tf.keras.losses.binary_crossentropy, K.mean is called on axis -1 of K.binary_crossentropy(y_true, y_pred, from_logits=from_logits).
I wonder why there is this K.mean call and why tf.keras.losses.binary_crossentropy doesn't simply return K.binary_crossentropy(y_true, y_pred, from_logits=from_logits).
On the contrary, tf.keras.losses.categorical_crossentropy and tf.keras.losses.sparse_categorical_crossentropy just return the call to their tf.keras.backend equivalent.
I think it may be inconsistent and misleading, especially because tf.keras.losses.categorical_crossentropy and tf.keras.backend.categorical_crossentropy behave similarly, but not tf.keras.losses.binary_crossentropy and tf.keras.backend.binary_crossentropy, so higher level objects like tf.keras.metrics.CategoricalCrossentropy may not work as one would expect.

Thank you @durandg12 . Historically, the loss functions have been expecting that inputs are at least 2D and computing mean on the last axis in order to support sample weighting correctly.
y_true: Ground truth values. shape = [batch_size, d0, .. dN].
y_pred: The predicted values. shape = [batch_size, d0, .. dN].
sample_weight: Optional sample_weight acts as a coefficient for the metric. If a scalar is provided, then the metric is simply scaled by the given value. If sample_weight is a tensor of size [batch_size], then the metric for each sample of the batch is rescaled by the corresponding element in the sample_weight vector. If the shape of sample_weight is [batch_size, d0, .. dN-1] (or can be broadcasted to this shape), then each metric element of y_pred is scaled by the corresponding value of sample_weight. (Note on dN-1: all metric functions reduce by 1 dimension, usually the last axis (-1)).

If your input labels are [batch_size, d0] the result from the functions will be [batch_size] ie. one loss value per sample. This applies to binary, categorical and sparse categorical crossentropy functions.
tf.keras.losses.binary_crossentropy([[0], [1]], [[0.3], [0.8]])
<tf.Tensor: shape=(2,), dtype=float32, numpy=array([0.3566748 , 0.22314338], dtype=float32)>
tf.keras.losses.categorical_crossentropy([[0, 1, 0], [0, 0, 1]], [[0.05, 0.95, 0], [0.1, 0.8, 0.1]])
<tf.Tensor: shape=(2,), dtype=float32, numpy=array([0.05129331, 2.3025851 ], dtype=float32)>
tf.keras.losses.sparse_categorical_crossentropy([1, 2], [[0.05, 0.95, 0], [0.1, 0.8, 0.1]])
<tf.Tensor: shape=(2,), dtype=float32, numpy=array([0.05129344, 2.3025851 ], dtype=float32)>
In all the three cases above, the # samples = 2.
Hope this clears the confusion between the cross entropy functions.


Dockerize

Hello again!
This should be a much more concise PR.
I deleted my docker branch and cherry-picked the necessary commit back on, which I'm guessing is why GitHub auto-closed the PR32
https://github.com/tcort/markdown-link-check/commit/f88a849a762dede76accb194454e8ca2e30a9a73 isn't related to docker so I haven't included it.
Thanks!

Awesome, thanks! Published in v3.3.0


Not being able to start on Windows

I'm trying to start the program after installing on my Windows terminal, but I get this error
yarn run v1.22.17
$ yarn start:testnet
$ cp ./config/testnet.json src/config.json && react-scripts start
'cp' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Does anyone know a fix?

change cp to copy and replace every "/" with "\" in the package.json and try to use it on mainnet as testnet uses florencenet


Hero contents must align with the rest of the page content

The hero block must take full width as specified in L3 page specifications. However the contents inside must align with the page gutters. This is different from aligning whole hero block between the gutters as it will also shrink the hero background image which is not desirable.
Current State:

Desired:

@benpeter This will be addressed in the hero block.
cc: @urfuwo @mlangfordsap


fix broken contract with Keyword keys

Offense:
lib/tesla/adapter/httpc.ex:51: The call 'Elixir.Keyword':pop_first(Vheaders@3::[any()],"Content-Type",[47 | 97 | 101 | 105 | 108 | 110 | 112 | 116 | 120,...]) breaks the contract (t(),key(),value()) -> {value(),t()}

So, it turns out that the Keyword module should only take atoms as keys. Yeah, I know, it's silly. Except, the definition of a keyword list to elixir is where the keys are atoms and the values are any. Reference: https://hexdocs.pm/elixir/Keyword.html#t:key/0
Anywho, since the offender isn't actually a keyword list, but just a standard list, opting for a function that doesn't break the contract with Keyword is preferred. That's when I remade the behavior of Keyword.pop_first/3 as a private function list_pop_first/3.
How it works: Looks up the first key in a collection (first by specifying 0) and returns the value that it finds as a tuple with two tuples inside. If it doesn't find anything, it returns nil. Now, this is where the problem occurs between Keyword.pop_first/3 and List.key_take/3: you don't get a default value. To combat this, we have an || happen and setup what should be the default value. The only difference is the return value, so we just update the pattern match. Done.

@codecov those three bottom files never changed.

This is fixed in 1.0 branch, but that will still take some time, thanks!


feat: add recursive do option

Closes https://github.com/evilmartians/lefthook/issues/132
:zap: Summary

[x] Add do and group new options, so recursive piped/parallel flows could be built
[x] Implement the same run logic for do as for commands and scripts
[ ] Properly merge do options with lefthook-local.yml and extends
[ ] Add unit tests
[ ] Add integration tests

Old syntax
pre-commit:
  parallel: true
  commands:
    lint:
      run: yarn lint
      stage_fixed: true
    fix-typos:
      run: typos
    migrate:
      run: lefthook run migrate
  scripts:
    "graphql-generate.sh":
      runner: bash

migrate:
  piped: true
  commands:
    setup:
      run: yarn setup
      priority: 1
    migrate:
      run: yarn migrate
      priority: 2

New syntax
pre-commit:
  parallel: true
  do:
    - name: lint
      run: yarn lint
      stage_fixed: true
    - name: fix typos
      run: typos
    - script: graphql-generate.sh
      runner: bash
    - group:
        name: migrate
        piped: true
        do:
          - run: yarn setup
          - run: yarn migrate

Hey, a question here: Re do[].group.do[] items the same as do[] items?
In this case, the nested items don't have a name - is it valid for the top level items to also omit a name, and what happens then, is the name just the value of run?

Yes, name is optional. The only mandatory options are either run, script, or group. run or script value will be used if name is empty, and for a group without a name it will be the index of a group - [3]


The package caches empty records

Issue
The package caches empty records
Environment
Laravel Version: 5.6.16
Laravel Model Caching Package Version: 0.2.52
PHP Version: 7.2.0
Homestead Version: 7.3.0
Operating System & Version: Windows 10 (1709 build 16299.371)
Stack Trace
1. I cleaned the base with the command `php artisan migrate:fresh`.
2. I launch the seeds.
3. I get a duplicate record error:
    Doctrine\DBAL\Driver\PDOException::("SQLSTATE[23000]: Integrity constraint violation:
    1062 Duplicate entry 'foo' for key 'filters_slug_unique'")

Code of the migration:
Schema::create('filters', function (Blueprint $table) {
    $table->increments('id');

    $table->string('slug')->unique();
    $table->string('title')->nullable();

    $table->timestamps();
    $table->softDeletes();
});

The problem occurred when executing the code:
Filter::query()->truncate();

$items = [
    ['slug' => 'foo', 'title' => 'Foo'],
    ['slug' => 'bar', 'title' => 'Bar'],
    ['slug' => 'baz', 'title' => 'Baz'],
    ['slug' => 'foo', 'title' => 'Foo'],
];

foreach ($items as $item) {
    Filter::query()->firstOrCreate($item);
}

The problem solved by adding a method:
Filter::query()->truncate();

$items = [
    ['slug' => 'foo', 'title' => 'Foo'],
    ['slug' => 'bar', 'title' => 'Bar'],
    ['slug' => 'baz', 'title' => 'Baz'],
    ['slug' => 'foo', 'title' => 'Foo'],
];

foreach ($items as $item) {
    Filter::query()
        ->disableCache()
        ->firstOrCreate($item);
}

The error is that the package caches the null value

Hi @andrey-helldar , thanks for reporting this! I don't the null values in your non-working example. Could you update that for me? And yes, caching should be disabled in Seeders and Migrations (I believe I made a note of that in the readme?)

I created another test just like yours above and am not able to replicate the problem:
        (new Author)->truncate();
        $noAuthors = (new Author)->get();
        (new Author)->create([
            'name' => 'foo',
            'email' =><EMAIL_ADDRESS>        ]);
        $authors = (new Author)->get();

        $this->assertEquals(0, $noAuthors->count());
        $this->assertEquals(1, $authors->count());

What type of cache driver are you using?

I using red is, and set MODEL_CACHE_STORE=redis in .env too

Can I take a look at your repo? Are you overriding the create method on your model?

I can not show the repository. The requirement of the organization.
No, I do not override the create().
Before that I wrote from my mobile phone. Now I can write a piece of code that returns an empty cached value:
<?php

use Illuminate\Database\Seeder;

class MenuTopTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\Models\Menu\MenuTop::query()->truncate();

        $items = [
            ['name' => 'foo 1', 'description' => 'bar 1'],
            ['name' => 'foo 2', 'description' => 'bar 2'],
            ['name' => 'foo 3', 'description' => 'bar 3'],

            ['name' => 'foo 1', 'description' => 'bar 1'],
            ['name' => 'foo 2', 'description' => 'bar 2'],
            ['name' => 'foo 3', 'description' => 'bar 3'],
        ];

        foreach ($items as $item) {
            \App\Models\Menu\MenuTop::query()
                ->firstOrCreate(compact('name'), compact('description'));
        }
    }
}

On the fourth element, I get a duplicate data error because the value in the cache is null, that is, the record does not exist.
If use the disableCache() method, the problem disappears:
\App\Models\Menu\MenuTop::disableCache()
    ->firstOrCreate(compact('name'), compact('description'));

This is not an issue with how Model Caching works, but with how you are writing your queries. I would recommend writing the above like so:
<?php

use App\Models\Menu\MenuTop;
use Illuminate\Database\Seeder;

class MenuTopTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        MenuTop::truncate();

        $items = [
            ['name' => 'foo 1', 'description' => 'bar 1'],
            ['name' => 'foo 2', 'description' => 'bar 2'],
            ['name' => 'foo 3', 'description' => 'bar 3'],

            ['name' => 'foo 1', 'description' => 'bar 1'],
            ['name' => 'foo 2', 'description' => 'bar 2'],
            ['name' => 'foo 3', 'description' => 'bar 3'],
        ];

        foreach ($items as $item) {
            MenuTop::firstOrCreate($item->name, $item->description);
        }
    }
}

The problem in this case is the compact() is not resolving the variables.

@mikebronner
The method query() is added to the query only so that phpStorm does not swear to address the missing static methods.
And your MenuTop::firstOrCreate($item->name, $item->description); design will not work because in this case you do not pass field names to fill.
The compact() method combines variables into a nested array.
Yes, in the example was my mistake. I wrote:
foreach ($items as $item) {
  \App\Models\Menu\MenuTop::query()
    ->firstOrCreate(compact('name'), compact('description'));
}

instead of:
foreach ($items as $item) {
  $name = $item['name'];
  $description = $item['description'];

  \App\Models\Menu\MenuTop::query()
    ->firstOrCreate(compact('name'), compact('description'));
}