Update README to Copy Generated Files

That doesn't bring the generated files down to the host. Which is what docker cp does.

Actually, it does:
docker run --rm -v "$(pwd):/data" -w "/data" ahawkins/thrift thrift --gen rb service.thrift

    --rm removes the container after it terminates
    -v "$(pwd):/data" mounts the current directory into /data in the container
    -w "/data" sets the working directory in the container to /data

    The generated directory gen-rb is written next to the thrift file in the mounted directory.

There's no need for a second command to view or copy the data.

Ah, nice.  Thanks.


Using the built-in :term doesn't render typed text

Using the built-in :term command to open a terminal buffer opens a terminal buffer correctly, but anything I type inside of it does not show. It still gets sent to the terminal itself, since I can type "ls" and have that show a list of directories. Pressing "enter" also does not result in a new line.
I'm on Lubuntu, having built neovide from source with the latest commit being 2815a28. My terminal just uses bash, nothing fancy. Neovim version is 0.5.0-418-g87d892afa.

can you try with no config? I use the terminal command constantly with no issue on windows

can you try with no config? I use the terminal command constantly with no issue on windows

Ah, it actually works when I run neovide --clean. After running it once with neovide --clean, it all works. Now I can just run neovide with no issues. weird.


"CUDA out of memory. Tried to allocate 1.48 GiB" when trying to validate

It uses about 3GB when training and then about 5.2 when it starts the validation then it crashes.
My training data is 512x512 jpg files, one frame: https://imgur.com/a/MulGiTE
GPU: 2070 super
CPU: 5600x
cuda 11 installed
torch==1.9.1+cu111 torchvision==0.10.1+cu111
Complete powershell output:
export CUDA_VISIBLE_DEVICES=0
Path already exists. Rename it to [D:\Code\GitHub\BasicSR\experiments\debug_001_template_archived_210928-091440]
21-09-28 09:14:40.677 - INFO:   name: debug_001_template
  use_tb_logger: True
  model: srragan
  scale: 4
  gpu_ids: [0]
  use_amp: False
  use_swa: False
  datasets:[
    train:[
      name: DIV2K
      mode: LRHRC
      dataroot_HR: ..\..\train\hr
      dataroot_LR: ..\..\train\lr
      subset_file: None
      use_shuffle: True
      znorm: False
      n_workers: 6
      batch_size: 8
      virtual_batch_size: 8
      HR_size: 128
      image_channels: 3
      dataroot_kernels: ../training/kernels/results/
      lr_downscale: True
      lr_downscale_types: [1, 2, 777]
      use_flip: True
      use_rot: True
      hr_rrot: False
      lr_blur: False
      lr_blur_types: ['gaussian', 'clean', 'clean', 'clean']
      noise_data: ../noise_patches/normal/
      lr_noise: False
      lr_noise_types: ['gaussian', 'JPEG', 'clean', 'clean', 'clean', 'clean']
      lr_noise2: False
      lr_noise_types2: ['dither', 'dither', 'clean', 'clean']
      hr_noise: False
      hr_noise_types: ['gaussian', 'clean', 'clean', 'clean', 'clean']
      phase: train
      scale: 4
      data_type: img
    ]
    val:[
      name: val_set14_part
      mode: LRHROTF
      dataroot_HR: ..\..\val\hr
      dataroot_LR: ..\..\val\lr
      znorm: False
      lr_downscale: False
      lr_downscale_types: [1, 2]
      phase: val
      scale: 4
      data_type: img
    ]
  ]
  path:[
    strict: False
    root: D:\Code\GitHub\BasicSR
    pretrain_model_G: ..\experiments\pretrained_models\1xPSNR.pth
    experiments_root: D:\Code\GitHub\BasicSR\experiments\debug_001_template
    models: D:\Code\GitHub\BasicSR\experiments\debug_001_template\models
    training_state: D:\Code\GitHub\BasicSR\experiments\debug_001_template\training_state
    log: D:\Code\GitHub\BasicSR\experiments\debug_001_template
    val_images: D:\Code\GitHub\BasicSR\experiments\debug_001_template\val_images
  ]
  network_G:[
    strict: False
    which_model_G: RRDB_net
    norm_type: None
    mode: CNA
    nf: 64
    nb: 23
    nr: 3
    in_nc: 3
    out_nc: 3
    gc: 32
    group: 1
    convtype: Conv2D
    net_act: leakyrelu
    gaussian: True
    plus: False
    scale: 4
  ]
  network_D:[
    strict: True
    which_model_D: discriminator_vgg
    norm_type: batch
    act_type: leakyrelu
    mode: CNA
    nf: 64
    in_nc: 3
    nlayer: 3
    num_D: 3
  ]
  train:[
    lr_G: 0.0001
    weight_decay_G: 0
    beta1_G: 0.9
    lr_D: 0.0001
    weight_decay_D: 0
    beta1_D: 0.9
    lr_scheme: MultiStepLR
    lr_gamma: 0.5
    swa_start_iter: 375000
    swa_lr: 0.0001
    swa_anneal_epochs: 10
    swa_anneal_strategy: cos
    pixel_criterion: l1
    pixel_weight: 0.01
    feature_criterion: l1
    feature_weight: 1
    gan_type: vanilla
    gan_weight: 0.005
    manual_seed: 0
    niter: 500000.0
    val_freq: 8
    metrics: psnr,ssim,lpips
    overwrite_val_imgs: None
    val_comparison: None
    lr_decay_iter: 10
    lr_steps: [50000, 100000, 200000, 300000]
  ]
  logger:[
    print_freq: 2
    save_checkpoint_freq: 8
    overwrite_chkp: False
  ]
  is_train: True

21-09-28 09:14:40.678 - INFO: Random seed: 0
21-09-28 09:14:41.321 - INFO: Dataset [LRHRDataset - DIV2K] is created.
21-09-28 09:14:41.322 - INFO: Number of train images: 63,792, iters: 7,974
21-09-28 09:14:41.323 - INFO: Total epochs needed: 63 for iters 500,000
21-09-28 09:14:41.324 - INFO: Dataset [LRHRDataset - val_set14_part] is created.
21-09-28 09:14:41.324 - INFO: Number of val images in [val_set14_part]: 5
21-09-28 09:14:41.558 - INFO: AMP library available
21-09-28 09:14:42.583 - INFO: Initialization method [kaiming]
21-09-28 09:14:42.799 - INFO: Initialization method [kaiming]
21-09-28 09:14:42.891 - INFO: Loading pretrained model for G [..\experiments\pretrained_models\1xPSNR.pth] ...
21-09-28 09:14:43.753 - INFO: Network G structure: DataParallel - RRDBNet, with parameters: 16,697,987
21-09-28 09:14:43.754 - INFO: Network D structure: DataParallel - Discriminator_VGG, with parameters: 14,502,281
21-09-28 09:14:43.756 - INFO: Model [SRRaGANModel] is created.
21-09-28 09:14:43.757 - INFO: Start training from epoch: 0, iter: 0
21-09-28 09:14:52.560 - INFO: <epoch:  0, iter:       2, lr:1.000e-04, t:-1.0000s, td:3.0840s, eta:0.0000h> pix-l1: 1.6838e-03 fea-vgg19-l1: 1.5493e+00 l_g_gan: 6.9997e-03 l_d_real: 3.2938e-01 l_d_fake: 3.4658e-01 D_real: 5.9246e-01 D_fake: -4.6950e-01
21-09-28 09:14:53.462 - INFO: <epoch:  0, iter:       4, lr:1.000e-04, t:-1.0000s, td:0.0000s, eta:0.0000h> pix-l1: 2.4982e-03 fea-vgg19-l1: 1.7615e+00 l_g_gan: 1.9201e-02 l_d_real: 5.7227e-02 l_d_fake: 6.6596e-02 D_real: 1.0418e+00 D_fake: -2.7365e+00
21-09-28 09:14:54.274 - INFO: <epoch:  0, iter:       6, lr:1.000e-04, t:0.9020s, td:0.0000s, eta:125.2761h> pix-l1: 2.0472e-03 fea-vgg19-l1: 1.7822e+00 l_g_gan: 3.1084e-02 l_d_real: 6.8650e-03 l_d_fake: 3.2773e-03 D_real: 1.3466e+00 D_fake: -4.8651e+00
21-09-28 09:14:55.233 - INFO: <epoch:  0, iter:       8, lr:1.000e-04, t:0.8125s, td:0.0000s, eta:112.8456h> pix-l1: 2.5441e-03 fea-vgg19-l1: 1.4662e+00 l_g_gan: 2.8835e-02 l_d_real: 1.3615e-02 l_d_fake: 5.1962e-03 D_real: 1.5751e+00 D_fake: -4.1826e+00
21-09-28 09:14:55.669 - INFO: Models and training states saved.
Setting up Perceptual loss...
Loading model from: J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\modules\LPIPS\lpips_weights\v0.1\squeeze.pth
...[net-lin [squeeze]] initialized
...Done
Traceback (most recent call last):
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\train.py", line 416, in <module>
    main()
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\train.py", line 412, in main
    fit(model, opt, dataloaders, steps_states, data_params, loggers)
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\train.py", line 289, in fit
    model.test()  # run inference
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\SRRaGAN_model.py", line 387, in test
    self.forward(CEM_net=CEM_net)
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\SRRaGAN_model.py", line 254, in forward
    self.fake_H = self.netG(self.var_L)  # G(LR)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\parallel\data_parallel.py", line 166, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\modules\architectures\RRDBNet_arch.py", line 49, in forward
    x = self.model(x)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\container.py", line 139, in forward
    input = module(input)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\modules\architectures\block.py", line 195, in forward
    output = x + self.sub(x)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\container.py", line 139, in forward
    input = module(input)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\modules\architectures\RRDBNet_arch.py", line 93, in forward
    out = self.RDB3(out)
  File "C:\Program Files\Python39\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "J:\Videos\ESRGAN\DATASET\traiNNer-2.0\codes\models\modules\architectures\RRDBNet_arch.py", line 159, in forward
    x5 = self.conv5(torch.cat((x, x1, x2, x3, x4), 1))
RuntimeError: CUDA out of memory. Tried to allocate 1.48 GiB (GPU 0; 8.00 GiB total capacity; 2.59 GiB already allocated; 332.74 MiB free; 5.41 GiB reserved in total by PyTorch)

Hello! Your validation images are probably too big, larger than what can be handled with the available VRAM.
They can be few and small and only required for you to visualize how the model is doing, it doesn't change the end results.

Alright cool thank you!


Include Firebase Binary In Gem

Hello!
Thanks for making this plugin to Fastlane. I'm kind of curious to know why the actual firebase binary is not included in this gem. I understand that the instructions clearly list downloading the binary as a standalone executable, or doing it via NPM.
I'd like to better understand the motivation of packaging this as an NPM set of tools (rather than including the full set in Ruby), and if PRs would be welcome that included this binary by default so people would not have to manage additional dependencies (standalone or other dependency systems such as NPM) on local or Continuous Integration systems.
Thanks!

Removing the firebase dependency is on our road map. I don't have an ETA yet.

oh, interesting, so there's a future where we will not have to pass a path to the binary at some point, is that what you're saying @cvaghela?

Yeah exactly. Our goal is to remove Firebase CLI as a dependency. Timeline
is probably in the ~2-3 month range (famous last words) when that
will happen.
On Wed, May 13, 2020 at 9:04 AM Brian Michel<EMAIL_ADDRESS>wrote:

oh, interesting, so there's a future where we will not have to pass a path
to the binary at some point, is that what you're saying @cvaghela
https://github.com/cvaghela?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane-plugin-firebase_app_distribution/issues/49#issuecomment-627969283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEY3ERIP4IXAFISSFFYCJLRRKLEFANCNFSM4M65WTZA
.

--
************___________
Alex Singer | PM Firebase | Google

Sounds good, thanks for the info. We will probably hold tight and rehost
the binary as needed to get repeatable builds. Thanks!
On Wed, May 13, 2020 at 10:26 AM Alex Singer<EMAIL_ADDRESS>wrote:

Yeah exactly. Our goal is to remove Firebase CLI as a dependency. Timeline
is probably in the ~2-3 month range (famous last words) when that
will happen.
On Wed, May 13, 2020 at 9:04 AM Brian Michel<EMAIL_ADDRESS>wrote:

oh, interesting, so there's a future where we will not have to pass a
path
to the binary at some point, is that what you're saying @cvaghela
https://github.com/cvaghela?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/fastlane/fastlane-plugin-firebase_app_distribution/issues/49#issuecomment-627969283
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAEY3ERIP4IXAFISSFFYCJLRRKLEFANCNFSM4M65WTZA
.

--
************___________
Alex Singer | PM Firebase | Google
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane-plugin-firebase_app_distribution/issues/49#issuecomment-628025789,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPTL7OW5UQH63QC77CLFDRRKU27ANCNFSM4M65WTZA
.

Developers can use the Google Tag Manager interface to implement and manage measurement tags and pixels in their mobile applications, without having to rebuild and resubmit application binaries to app marketplaces.

@brianmichel we released for 0.2.0 of the plugin which removes the Firebase CLI dependency, so all calls and authentication can be handled directly with the plugin.

Thank you @alexsinger!


[PE-D][Tester C] Absence of instructions on the addition of multiple tags in the user guide

It is actually possible to add multiple tags for a patient, however that is not explicitly stated in the user guide, and the guide carries the impression that only one tag can be added.

However, it is hinted to by the error message for the add command by [t/tag]... (however the ... is not explained).

One humble suggestion would be to include working examples in the user guide same as how they are shown in the error message.

Labels: severity.Low type.DocumentationBug
original: casaarlai/ped#2

Updated UG according to the suggestion.


Start replacing with fastapi

Changelog Description
Paragraphs contain detailed information on the changes made to the product or service, providing an in-depth description of the updates and enhancements. They can be used to explain the reasoning behind the changes, or to highlight the importance of the new features. Paragraphs can often include links to further information or support documentation.
Additional info
Paragraphs of text giving context of additional technical information or code examples.
Testing notes:

start with this step
follow this step

We need to check if communication (host listening) with softs are okay, mainly photoshop I think

All good

Cleanup done


2022-10-23 22:29:17.420  INFO 7 --- [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
2022-10-23 22:29:17.420  INFO 7 --- [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler version: 2.3.2
2022-10-23 22:29:17.420  INFO 7 --- [           main] org.quartz.core.QuartzScheduler          : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@1ab268bd
2022-10-23 22:29:17.439  INFO 7 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler quartzScheduler_$_NON_CLUSTERED started.
2022-10-23 22:29:18.505  INFO 7 --- [           main] o.a.coyote.http11.Http11NioProtocol      : Starting ProtocolHandler ["http-nio-8080"]
2022-10-23 22:29:18.531  INFO 7 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2022-10-23 22:29:18.536  INFO 7 --- [           main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
2022-10-23 22:29:18.617  INFO 7 --- [           main] d.s.w.p.DocumentationPluginsBootstrapper : Found 2 custom documentation plugin(s)
2022-10-23 22:29:18.881  INFO 7 --- [           main] s.d.s.w.s.ApiListingReferenceScanner     : Scanning for api listing references
2022-10-23 22:29:19.825  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: recognizeBase64UsingPOST_1
2022-10-23 22:29:19.836  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: downloadImgUsingGET_1
2022-10-23 22:29:20.003  INFO 7 --- [           main] s.d.s.w.s.ApiListingReferenceScanner     : Scanning for api listing references
2022-10-23 22:29:20.047  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getConfigUsingGET_1
2022-10-23 22:29:20.049  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: getCheckDemoUsingGET_1
2022-10-23 22:29:20.078  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: detectUsingPOST_1
2022-10-23 22:29:20.086  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: detectBase64UsingPOST_1
2022-10-23 22:29:20.101  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: addEmbeddingUsingPOST_1
2022-10-23 22:29:20.104  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: addEmbeddingBase64UsingPOST_1
2022-10-23 22:29:20.106  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteEmbeddingByIdUsingDELETE_1
2022-10-23 22:29:20.121  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteEmbeddingsByIdUsingPOST_1
2022-10-23 22:29:20.123  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: downloadImgUsingGET_2
2022-10-23 22:29:20.128  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listEmbeddingsUsingGET_1
2022-10-23 22:29:20.147  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: recognizeBase64UsingPOST_2
2022-10-23 22:29:20.160  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: recognizeFileUsingPOST_1
2022-10-23 22:29:20.162  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: removeAllSubjectEmbeddingsUsingDELETE_1
2022-10-23 22:29:20.163  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: migrateUsingPOST_1
2022-10-23 22:29:20.166  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: handleUsingGET_1
2022-10-23 22:29:20.180  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: recognizeUsingPOST_1
2022-10-23 22:29:20.183  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: recognizeBase64UsingPOST_3
2022-10-23 22:29:20.184  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: downloadImgUsingGET_3
2022-10-23 22:29:20.188  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: createSubjectUsingPOST_1
2022-10-23 22:29:20.190  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteSubjectUsingDELETE_1
2022-10-23 22:29:20.192  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: deleteSubjectsUsingDELETE_1
2022-10-23 22:29:20.194  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: listSubjectsUsingGET_1
2022-10-23 22:29:20.196  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: renameSubjectUsingPUT_1
2022-10-23 22:29:20.211  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: verifyUsingPOST_1
2022-10-23 22:29:20.219  INFO 7 --- [           main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: verifyBase64UsingPOST_1
2022-10-23 22:29:20.265  INFO 7 --- [           main] com.exadel.frs.TrainServiceApplication   : Started TrainServiceApplication in 26.986 seconds (JVM running for 28.209)
2022-10-23 22:30:14.895  INFO 7 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-10-23 22:30:14.909  INFO 7 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2022-10-23 22:30:14.919  INFO 7 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 6 ms
Killed

And finally, docker container ls -a:

```root@compreface:/opt# docker container ls -a
CONTAINER ID   IMAGE                                 COMMAND                  CREATED          STATUS          PORTS                                   NAMES
9a8c1f9ea9cf   exadel/compreface-fe:1.1.0            "/docker-entrypoint.…"   15 minutes ago   Up 12 minutes   <IP_ADDRESS>:8000->80/tcp, :::8000->80/tcp   compreface-ui
3b8f7d9aef94   exadel/compreface-admin:1.1.0         "sh -c 'java $ADMIN_…"   16 minutes ago   Up 12 minutes                                           compreface-admin
5cc114f3485a   exadel/compreface-api:1.1.0           "sh -c 'java $API_JA…"   16 minutes ago   Up 2 minutes                                            compreface-api
73dac2befb22   exadel/compreface-postgres-db:1.1.0   "docker-entrypoint.s…"   17 minutes ago   Up 13 minutes   5432/tcp                                compreface-postgres-db
d5679af2275d   exadel/compreface-core:1.1.0          "uwsgi --ini uwsgi.i…"   17 minutes ago   Up 13 minutes   3000/tcp

This is the error.
Liquibase that initializes the database tries to acquire lock but fails. It happens sometimes if you started the system and before all initialization is done, it stops.
The solution here is just to clear the database, so it will initiate it again.
Just wait enough time until it's done, it usually it takes about 30 seconds

How does one clear the database ?

i cleared the DB by deleting the content of the /var/lib/docker/volumes/compreface_110_postgres-data/_data directory. you will lose all the apps//users/training data etc


Unrecognized ecobee device types

The ecobee integration supports Home Assistant's device registry. Unfortunately, the ecobee API documentation is not up to date, and so new thermostat models may not yet be properly documented.
This means that without user reports, we cannot include support for all models in Home Assistant. You have likely been directed to this issue by a log error. Please reply with the information displayed in that log error, and the model of your thermostat, so that the device can be added to Home Assistant.
Thank you!

FYI: https://status.ecobee.com/ ecobee API has been down all day. Likely the cause of any errors.

Thanks. This issue is a placeholder for collecting reports related to the functionality added in this PR: https://github.com/home-assistant/home-assistant/pull/27109.

Model number for ecobee thermostat Main Floor not recognized. Please visit this link and provide the following information: https://github.com/home-assistant/home-assistant/issues/27172 Unrecognized model number: apolloSmart

@nathanfiscus. Thanks for the report! What is the actual model of your thermostat? ecobee4?

Yes it is an ecobee4. Sorry I forgot to include that on the original post.

Another ecobee4 <IP_ADDRESS> identifying as vulcanSmart
Model number for ecobee thermostat Main Floor not recognized. Please visit this link and provide the following information: https://github.com/home-assistant/home-assistant/issues/27172 Unrecognized model number: vulcanSmart

Ecobee 5th gen (SmartThermostat with voice control) version: <IP_ADDRESS> identifying as vulcanSmart
Model number for ecobee thermostat Hallway not recognized. Please visit this link and provide the following information: https://github.com/home-assistant/home-assistant/issues/27172 Unrecognized model number: vulcanSmart

@theoretick @dooz127 so we have two ecobees that we need to figure out how to name. Is it an ecobee4? Or is it a “ecobee Smart Thermostat with Voice Control”?

@marthoc Mine is officially an "ecobee Smart Thermostat with Voice Control". I thought this was the 4th gen but could be wrong. Regardless, it matches the specs @dooz127 posted so happy to go with that name.

I also have the "Ecobee Smart Thermostat with Voice Control", and it's also identifying its "model number" as vulcanSmart

Same as fmonday for me.

I also have the "Ecobee Smart Thermostat with Voice Control", and it's also identifying its "model number" as vulcanSmart

I also have the "Ecobee Smart Thermostat with Voice Control", and it's also identifying its "model number" as vulcanSmart

Here's another one for "Ecobee Smart Thermostat with Voice Control",   Unrecognized model number: vulcanSmart
In the ecobee application, under Device Info, it self-identifies as "Thermostat Model":  "SmartThermostat with voice control" and "Firmware version":  <IP_ADDRESS>
I'd suggest using the self-identified Model name, rather than the marketing name...

I also recently bought two of the Ecobee "SmartThermostat with Voice Control" thermostats and both show up in the logs with "Unrecognized model number: vulcanSmart".
More information can be found here: https://www.ecobee.com/en-us/smart-thermostat-voice/

I just got a new sensor from ecobee, they recalled the old one.  After paired the new one, got this message.
2019-11-25 22:14:22 ERROR (MainThread) [homeassistant.components.ecobee] Model number for ecobee thermostat Basement not recognized. Please visit this link and provide the following information: https://github.com/home-assistant/home-assistant/issues/27172 Unrecognized model number: vulcanSmart


[code-completion] Add Bool type context for if/guard/while conditions

Explanation: This adds a type context of Bool when code-completing in an if/guard/while statement condition (not including conditions that are bindings).
Scope: Affects priority of code-completions in boolean conditions on if/while/guard statements.
Radar: rdar://problem/26509084
Risk: Low; just extends existing code-completion type-relation code that we had for repeat ... while to consider more statement kinds.
Testing: Regression tests added.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 325fbf1e6be8bef1194d8f8564558bfd5597ddd1

@swift-ci please test macOS

Build failed
Swift Test OS X Platform
Git Sha - 325fbf1e6be8bef1194d8f8564558bfd5597ddd1

Investigating the test failure.

Build failed
Swift Test Linux Platform
Git Sha - 325fbf1e6be8bef1194d8f8564558bfd5597ddd1

Aha, this had a dependency on https://github.com/apple/swift/pull/11562 that I didn't realize.  The parser change there is necessary or we just throw out the whole condition.  I'll rebase the PR since that was just merged.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 325fbf1e6be8bef1194d8f8564558bfd5597ddd1

@swift-ci please test


Add typescript support

Add typescript support to ease readability and onboarding of potential contributors, if any.

Codecov Report

Merging #23 (8f42ccf) into main (d95bdf0) will increase coverage by 5.88%.
The diff coverage is 60.52%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   54.63%   60.52%   +5.88%
==========================================
  Files           3        3
  Lines          97      114      +17
  Branches       19       26       +7
==========================================
+ Hits           53       69      +16
- Misses         37       40       +3
+ Partials        7        5       -2

Impacted Files
Coverage Δ

lib/utils/core.ts
50.00% <50.00%> (ø)

lib/utils/graphql.ts
50.00% <50.00%> (ø)

lib/utils/index.ts
70.00% <70.00%> (ø)

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


v5.0.0 not published to Maven

It looks like v5 hasn't made it to Maven yet: https://mvnrepository.com/artifact/io.github.spark-redshift-community/spark-redshift
Would it be possible to add it? Thanks so much for maintaining this repo, it's a lifesaver!

oops, sorry about that!  We'll try to get v5 published out this week 😄

@droher Sorry for the delay. There were some access issues I faced today. I am planning to get this out first thing on the coming Monday.

@lucagiovagnoli can you please provide access to me for the group io.github.spark-redshift-community. Ref.: OSSRH-65648

The latest version v5.0.3 is on Maven now: https://mvnrepository.com/artifact/io.github.spark-redshift-community/spark-redshift
Closing this issue.


Web Scraping | BSEE Data

Objective:  Preferred method of obtaining data (top first):

REQUEST/POST calls (check Scrapy and other packages)
Selenium actions  (browser in backgroud)
Selenium actions  (browser in foreground). data_bsee_selenium_api

When we search for API (See below screenshot), we are extracting data using below Selenium process.
https://github.com/vamseeachanta/energydata/blob/bseedata/docs/bsee_data_api.png
The data is from below website
https://www.data.boem.gov/Well/APD/Default.aspx
Note the below screenshot when searched by uniqueID is without with an uniqueID.  For this website , can we still call out a class and get json/xml format data directly?

@vamseeachanta Hello sir , want to give you progress regarding scraping asp webpages data

Based on what we have collected for scraping data for asp web page , they are also doing the same thing but using scrapy and sending requests and getting data .
you should decide we have to follow that and improve or use existing selenium

@samdansk2 ,
a/ Using AI and our bsee website, prepare a module to read data using scrapy.
b/ How well do you understand Selenium process?
Write tests with both processes. We will pick 1 based on our understanding, ease of use, code maintainability etc.
Hope this helps.

@vamseeachanta Hello sir,
I have researched a lot regarding the best way of scrapping asp webpages data

Selenium is basically takes many things for the scrapping process and it is not that much smart approach
scrapy is mainly works on sending POST requests and getting data
I have found another method also i.e, Requests and beautifulsoup , please see below :

Excellent.
We will develop all 3 and keep them as tests for API Well data. If effort goes out of proportion, at least develop two methods.
We will select 1 and use it for our bsee data app. Others can reside as tests.
PS: Way to go on using AI. I can see you are using chatGPT to develop code. Keep it up.

Based on below. Write tests for all 3 technologies in summary below. Then decide on best.
When we do web scrapping for another repository, move WebScrapping code to AssetUtiltiies and add a class called "WebScrapping " and refer to this in all repositories.
https://github.com/vamseeachanta/assetutilities/blob/d27a230c89e7210ee47ba0ae9cb6faafa578e95e/docs/sub_web_scraping/api.md

@vamseeachanta
Everything is going well,
I have also added the complete code in Assetutilities .
Only Production data in making

@vamseeachanta Gud evening sir ,
Done writing code for production data ,
thankyou

@samdansk2 , please take a few hours to work the documentation. i.e update the work flow chart and mark up what is done, what is pending, the method we are using etc.  If you want to do it together, let me know and happy to help.

I will start first sir , then you will improve it to further level .

scraped various data using scrapy and created documentation


GPIO branchless

I'd like to share the fruits of the last few days.
This GPIO library, while hard to read (and harder to write) is branchless and heavily (ab)uses the preprocessor to output register manipulations identical to what you'd do by hand, only now with the ease of using a library.
Compiled size is comparable to hand written register manipulation: original blink is 500b, blink using this library boils down to 504 bytes (no pre-combined manipulations).
It has digital IO, ADC and PWM capabilities for both timers.
Both examples have been unified, 3 more have been added to demonstrate the full capabilities of the library.
KITT has also been implemented.
I hope this is acceptable.

solved.
now for the devastating criticism. :D

As long as it's thoroughly tested, I'm pretty good ... also, please just check your overall, squashed history.  This still removes  blink.bin.  To be clear, fixing that and your saying it's good is all I need to accept!!
Bonus:
Have you compared the flash usage before/after?  I would expect this to be much better.  But iterating while monitoring those values help generate optimal solutions.

Again the blink.bin bit me! I didn't delete it from my repo, I only recompiled it (brand new shiny gcc13.1) and now git thinks it needs to be wiped. I'll try re-adding it, gimmeasec.

Ah yes blink.bin is back, but the version my gcc spat out is a bit smaller.
Is that bad?
Should I replace with old downloaded version?

In case you can recommend any other advanced C tricks (just got my brain around nested ternary, macro-like functions, multi-line macros and macro token concatenation) , especially for abusing the preprocessor, please let me know!
This is all very new to me and I'd like to continue to learn!

So now I've tested sizes.
the old GPIO example was 640 bytes, now is 580
the old GPIO_analogRead example was 5212 bytes! Suspect: floats.
Then I backported my new "obfuscated" bitshift + subtraction math and it went down to 884 bytes, that's >4300 bytes for floating point math!!
Is that really how big those functions are if you don't have an FPU?
For reference:
uint8_t leds_to_turn_on = (uint8_t)(((float)(analogRead(Ain6_D6)) / 1024.f) * 8.f * 1.2 - 1.f);

became
uint16_t analog_result = GPIO_analogRead(GPIO_Ain6_D6);
analog_result = analog_result > 10 ?
		(analog_result < ((1 << 10) - 42) ? analog_result + 42 : (1 << 10))
	: 0;
uint8_t leds_to_turn_on = analog_result >> 7;

The GPIO_analogRead demo using the new branchless library is 836 bytes.


Add AddBrokers function (#209)

Add AddBrokers function

Close #204

Remove empty line

Test AddBroker return

updated AddBrokers API documentation

tweaking integration test

review changes

It looks like @RammG hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

hmm... I merged 0.11.0.x onto master and github automatically connected that up to this PR for some reason.


Special symbols in .env file issue

VSCode Version: 1.23.1
OS Version: Windows 10 Pro x64

When you use .env file in the VS Code project and CMD.exe as terminal ("terminal.integrated.shell.windows": "cmd.exe") then for settings environment variables generated commands such as cmd /C "set "SECRET_KEY=uh_p8w$eo6%%tf5)d43b2y))88qxf2t9-s=osvq46u#3ya^p+" without escaping special symbols. Special symbols (such as & and ^) in the values of environment variables from the .env file in the set command should be escaped with the ^ symbol.
Steps to Reproduce:

Create .env file with the following content SECRET_KEY=uh_p8w$eo6%%tf5)d43b2y))88qxf2&t9-s=osvq46u#3ya^p+
Create some .py file
Create launch configuration for Python and ensure "envFile": "${workspaceFolder}/.env" in it (.env file used by default, so may be adding this line is not necessary)
Start debugging

In the Terminal the following error appears:
>cd c:\Users\info_000\Desktop && cmd /C "set "SECRET_KEY=uh_p8w$eo6%%tf5)d43b2y))88qxf2&t9-s=osvq46u#3ya^p+" && set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && python ...\.vscode\extensions\ms-python.python-2018.4.0\pythonFiles\PythonTools\visualstudio_py_launcher.py ...\Desktop 52380 34806ad9-833a-4524-8cd6-18ca4aa74f14 RedirectOutput,RedirectOutput ...\Desktop\.vscode\launch.json "
't9-s' is not recognized as an internal or external command,
operable program or batch file.

Does this issue occur when all extensions are disabled?: Yes

https://github.com/Microsoft/vscode-python/

Open the issue https://github.com/Microsoft/vscode-python/issues/1727

@Tyriar , please reopen this issue. As @DonJayamanne said, it is an upstream issue

Oh I see, from this:
>cd c:\Users\info_000\Desktop && cmd /C "set "SECRET_KEY=uh_p8w$eo6%%tf5)d43b2y))88qxf2&t9-s=osvq46u#3ya^p+" && set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && python ...\.vscode\extensions\ms-python.python-2018.4.0\pythonFiles\PythonTools\visualstudio_py_launcher.py ...\Desktop 52380 34806ad9-833a-4524-8cd6-18ca4aa74f14 RedirectOutput,RedirectOutput ...\Desktop\.vscode\launch.json "
't9-s' is not recognized as an internal or external command,
operable program or batch file.

It looks like the debugger is sending text to the terminal, it needs to do the proper escaping when doing the set commands.


Adds support for RN>=0.26

You should stick something to the docs indicating that for RN 0.18 and older they must use previous version.

#26 Should have done it but will add to the Readme your point. Thanks @alvaromb and sorry for the delay!


why would memory-inuse by process(Resident set size) keeps increasing?

platform: openwrt
compiler:  aarch64-openwrt-linux-gnu-gcc-6.4.1
kernel: linux-4.6
I'm trying to locate a memory-leak problem in my project.
it makes my programme takes about 200MB+ according to VmRSS (while usually it's about 150MB)
I try using gpergtools, but the result shows the programme take only 64MB, while VmRSS keeps raising from 200M to 400M,
I searched, and I saw #863 , I guess maybe the profiler takes some memory, that explains the gap, but left 1 question still:
why would the VmRSS keeps raising (while result from profiler not)?
And why is the gap? (the 64MB is much less than the VmRSS when running without tcmalloc)
Are there some type of memories allocated cannot be captured? (like from libraries?)

There are lots of possibilities. Best way to start debugging any ram consumption issue is looking at detailed stats. Please attach output of MallocExtension::GetStats (with large buffer).

I used signal to dump result from MallocExtension::GetStats, and get VmRSS from /proc//status, this is what I get when I did not start the profiler (note they are not dumped at the same time, but that should not make too much difference):
---- what I get from status----
VmPeak:   689492 kB
VmSize:   688332 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:    233252 kB
VmRSS:    232248 kB
RssAnon:          209872 kB
RssFile:           22376 kB
RssShmem:              0 kB
VmData:   624304 kB
VmStk:       132 kB
VmExe:         8 kB
VmLib:     57724 kB
VmPTE:       752 kB
VmPMD:        12 kB
VmSwap:        0 kB
Threads:        41
---- what I get from MallocExtension::GetStats ----
MALLOC:      211579720 (  201.8 MiB) Bytes in use by application
MALLOC: +     22888448 (   21.8 MiB) Bytes in page heap freelist
MALLOC: +       925600 (    0.9 MiB) Bytes in central cache freelist
MALLOC: +       943872 (    0.9 MiB) Bytes in transfer cache freelist
MALLOC: +     26609176 (   25.4 MiB) Bytes in thread cache freelists
MALLOC: +      2621440 (    2.5 MiB) Bytes in malloc metadata
MALLOC:   ------------
MALLOC: =    265568256 (  253.3 MiB) Actual memory used (physical + swap)
MALLOC: +      1056768 (    1.0 MiB) Bytes released to OS (aka unmapped)
MALLOC:   ------------
MALLOC: =    266625024 (  254.3 MiB) Virtual address space used
MALLOC:
MALLOC:           2428              Spans in use
MALLOC:             24              Thread heaps in use
MALLOC:           8192              Tcmalloc page size
Call ReleaseFreeMemory() to release freelist memory to the OS (via madvise()).
Bytes released to the OS take up virtual address space but no physical memory.
you can see that there's already some gap between the result from GetStats and which from the proc. I will try the programme with profiler on and post the result later

here's what I get from GetStats with profiler on when the VmRSS shows about 200M, 300M:
200M:
MALLOC:      210527192 (  200.8 MiB) Bytes in use by application
MALLOC: +     15900672 (   15.2 MiB) Bytes in page heap freelist
MALLOC: +       614936 (    0.6 MiB) Bytes in central cache freelist
MALLOC: +       477696 (    0.5 MiB) Bytes in transfer cache freelist
MALLOC: +     13897744 (   13.3 MiB) Bytes in thread cache freelists
MALLOC: +      2621440 (    2.5 MiB) Bytes in malloc metadata
MALLOC:   ------------
MALLOC: =    244039680 (  232.7 MiB) Actual memory used (physical + swap)
MALLOC: +        81920 (    0.1 MiB) Bytes released to OS (aka unmapped)
MALLOC:   ------------
MALLOC: =    244121600 (  232.8 MiB) Virtual address space used
MALLOC:
MALLOC:           2214              Spans in use
MALLOC:             22              Thread heaps in use
MALLOC:           8192              Tcmalloc page size

300:
MALLOC:      211666360 (  201.9 MiB) Bytes in use by application
MALLOC: +     16801792 (   16.0 MiB) Bytes in page heap freelist
MALLOC: +       893056 (    0.9 MiB) Bytes in central cache freelist
MALLOC: +       465408 (    0.4 MiB) Bytes in transfer cache freelist
MALLOC: +     20627400 (   19.7 MiB) Bytes in thread cache freelists
MALLOC: +      2621440 (    2.5 MiB) Bytes in malloc metadata
MALLOC:   ------------
MALLOC: =    253075456 (  241.4 MiB) Actual memory used (physical + swap)
MALLOC: +       679936 (    0.6 MiB) Bytes released to OS (aka unmapped)
MALLOC:   ------------
MALLOC: =    253755392 (  242.0 MiB) Virtual address space used
MALLOC:
MALLOC:           2326              Spans in use
MALLOC:             24              Thread heaps in use
MALLOC:           8192              Tcmalloc page size

there's almost no difference. and it does agree with the result I got profiler.
so I guess maybe profiler does take up more and more memory?

Heap profiler? Yes, it consumes lots of ram (and I think is documented).

I know it consumes ram, what I mean is it looks like it keep consuming more and more, is it that also expected?

maybe I didn't make it through
The situation here is I ran the program, with profiler, the RSS keeps increasing while memory-in-use doesn't.
I mean, if there's memory leak in my program(which is the reason I use heap-profiler in the 1st place), the RSS and memory-in-use dumped by profiler should both be increasing(while the memory-in-use does not)
and if there's no memory leak and RSS increasing is because of heap-profiler, shouldn't the profiler consumes a certain amount of ram ? and in such case, shouldn't RSS be higher (than heap size dumped from profiler) but stable?

_ The situation here is I ran the program, with profiler, the RSS keeps increasing while memory-in-use doesn't._
Same behaviour observed in my application too. Did your problem get resolved?


Fix menu crash when issuing order to all bots

This PR fixes a hard crash when attempting to order all team bots in multiplayer.

The Japanese version of the game already has a fix for this in activemenutick.c. Search that file for VERSION_JPN_FINAL.


Inconsistant Results between working iOS and empty config in Android

I'm able to run iOS to verify config values in the javascript code.
The same config values are null in the javascript code from the same RN project running the Android version.
I am successfully able to output config values in the gradle file in the same Android version like so:
println project.env.get("MY_VAR")

I have linked/unlinked along with updating to the latest package with the same results.
"react": "16.0.0-alpha.12",
"react-native": "0.46.3",
"react-native-config": "^0.7.1",

I jumped the gun on this one. Stepping into ReactNativeConfigModule.java I saw the classname was different than my package name.
I went back and after reading the advanced setup for Android I added the additional line required in buildConfig for multiple targets.
This has fixed my issue:
defaultConfig {
    ...
    resValue "string", "build_config_package", "YOUR_PACKAGE_NAME_IN_ANDROIDMANIFEST.XML"
}


Should have an M1 compatible build or a Universal Binary

It would be great to have an M1 compatible build or a Universal Binary.

Hey @uchuugaka,
Yes that would be great. Unfortunately I don't have an M1 mac, so I won't be able to implement this (I could - but I'm not that comfortable shipping something without testing it).
So I'll need to rely on external contributions.

Sadly, there is no M1 runners available for GitHub Actions: https://github.com/actions/virtual-environments/issues/2187. If there is a way to get "free for open source" M1 instance somewhere, then it can be built with self-hosted runners.
It may be done with cross-compilation, but I had hard time trying to link object file on foreign architecture.
Just in case, here is m1 build from current HEAD: crystalline-v0.5-arm64-apple-darwin.zip

Just in case, here is m1 build from current HEAD: crystalline-v0.5-arm64-apple-darwin.zip

Works great for me. Thank you!

Here is m1 build from HEAD crystalline-v0.6-arm64-apple-darwin.gz

@elbywan I have an M1 Mac and can help test.

Here is m1 build from HEAD crystalline-v0.6-arm64-apple-darwin.gz

I can't get it work with vscode:
dyld[20271]: Symbol not found: __ZN4llvm9DIBuilder14createFunctionEPNS_7DIScopeENS_9StringRefES3_PNS_6DIFileEjPNS_16DISubroutineTypeEjNS_6DINode7DIFlagsENS_12DISubprogram9DISPFlagsENS_24MDTupleTypedArrayWrapperINS_19DITemplateParameterEEEPSA_NSC_INS_6DITypeEEE
  Referenced from: /Users/iambudi/Development/Library/crystalline/crystalline
  Expected in: /opt/homebrew/Cellar/llvm/14.0.6/lib/libLLVM.dylib
[Info  - 12:41:47 PM] Connection to server got closed. Server will restart.
...
The Crystal Language server crashed 5 times in the last 3 minutes. The server will not be restarted.

That either indicates the dylib referenced wasn’t not found at the expected path nor in the searched paths OR the one found does not contain the symbol.
I saw a lot of this with having the dependency dylibs at different paths and shimmed them in with symlinks.
Not sure if it is a project config issue or an issue with where a given brew install is installing the dependencies

Here is a build made with crystal v1.5.0 on llvm v14.0.6 on current HEAD (a7c9aba), that fixes issue with missing symbols.
crystalline-v0.6-arm64-apple-darwin-llvm-v14.0.6.tar.gz

Thank you it works nicely :)

@y8 how long does it takes to compile crystalline on M1 machine?

@y8 how long does it takes to compile crystalline on M1 machine?

Insanely fast 🤯
About 3 minutes on my low-end MacBook Air with 16 gigs of ram for full build without cache. Crystal itself builds in about 5 minutes.

I’ve just got an idea: we can publish crystalline formula in homebrew. They have m1 build infrastructure to provide precompiled “bottles”.
I can make a formula if @elbywan is okay with that

I can make a formula if @elbywan is okay with that

@y8 Go for it! Thanks! 🙏

@y8 Go for it! Thanks! 🙏

I've made a draft formula. It builds and passes all the formula check on macOS. Most likely it will work on linux as well, but I haven't tested that yet.
Few questions:

Homebrew consider a good practice to add meaningful test after formula is installed. I'm not familiar with LSP architecture. It would be awesome, if you can share "one-liner" that can verify that crystalline in fact runs correctly. If possible, something that will keep working between releases, so there is no need to change formula to update tests for each release.

As far I understand, static builds are not possible on macOS. What is relation between llvm version and crystalline executable? Maybe you or fellow readers know how to deal with it. I haven't had time to check homebrew for existent formulas that are built from crystal sources, so if anyone have a link, it will help!

Formula for reference:
class Crystalline < Formula
  desc "Language Server Protocol implementation for Crystal"
  homepage "https://github.com/elbywan/crystalline"
  url "https://github.com/elbywan/crystalline/archive/refs/tags/v0.6.0.tar.gz"
  sha256 "0d15cc0208edcbfe11bb280c2dd535091003ff89016f990a123a49325f8a8f9a"
  license "MIT"

  livecheck do
    url :homepage
  end

  depends_on "crystal" => :build
  depends_on "llvm" => :build

  def install
    system "shards", "install"
    system "crystal", "build", "./src/crystalline.cr",
           "--release", "--no-debug",
           "-Dpreview_mt",
           "--progress", "--stats",
           "--time", "-o", "crystalline"

    bin.install "crystalline"
  end

  test do
    system "false"
  end
end

Thanks!

@y8 Thanks a bunch for the forumula (and sorry for not replying sooner)!

It would be awesome, if you can share "one-liner" that can verify that crystalline in fact runs correctly. If possible, something that will keep working between releases, so there is no need to change formula to update tests for each release.

Sure thing, I am lacking free time currently but I will share something as soon as I can.

What is relation between llvm version and crystalline executable?

I don't think that the installed LLVM version matters, AFAIK LLM is only used to build crystalline from source.

The Homebrew formula above looks like a good idea to me!
Separately, if you want to have Apple Silicon artifacts attached to future releases, I tested the following using https://cirrus-ci.org/. It works and is free.
The steps from here would be:

Decide where you want the bash script to live. I just created a mac_arm64.sh file in the crystalline root dir.
Link your GitHub repo to Cirrus.
Enter a GitHub token into the Cirrus "Secured Variables" field for the repo to generated an encrypted value that can be used in .cirrus.yml.

.cirrus.yml:
macos_instance:
  image: ghcr.io/cirruslabs/macos-ventura-base:latest

env:
  GITHUB_TOKEN: ENCRYPTED[abc123]

task:
  script: ./mac_arm64.sh

mac_arm64.sh:
#!/bin/bash

if [[ "$CIRRUS_RELEASE" == "" ]]; then
  echo "Not a release. No need to deploy!"
  exit 0
fi

if [[ "$GITHUB_TOKEN" == "" ]]; then
  echo "Please provide GitHub access token via GITHUB_TOKEN environment variable!"
  exit 1
fi

brew update
brew install openssl crystal
export LLVM_CONFIG="/opt/homebrew/opt/llvm@14/bin/llvm-config"
shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
gzip -c bin/crystalline > crystalline_arm_64-apple-darwin.gz

echo "Uploading file..."
url_to_upload="https://uploads.github.com/repos/$CIRRUS_REPO_FULL_NAME/releases/$CIRRUS_RELEASE/assets?name=crystalline_arm_64-apple-darwin.gz"
curl -X POST \
  --data-binary @crystalline_arm_64-apple-darwin.gz \
  --header "Authorization: token $GITHUB_TOKEN" \
  --header "Content-Type: application/octet-stream" \
  "$url_to_upload"

I'm also using Crystalline on an M1 and built from source. Here's a 0.8 build made with Crystal 1.8.0. Hope this helps!
crystalline0.8_arm_64-apple-darwin.gz

@dorkrawk How were you able to build Crystalline on an M1? I get these errors when I try:
Undefined symbols for architecture arm64:
  "llvm::DISubprogram::toSPFlags(bool, bool, bool, unsigned int, bool)", referenced from:
      _LLVMExtDIBuilderCreateFunction in llvm_ext.o
  "llvm::DIBuilder::createFunction(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, unsigned int, llvm::DINode::DIFlags, llvm::DISubprogram::DISPFlags, llvm::MDTupleTypedArrayWrapper<llvm::DITemplateParameter>, llvm::DISubprogram*, llvm::MDTupleTypedArrayWrapper<llvm::DIType>, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, llvm::StringRef)", referenced from:
      _LLVMExtDIBuilderCreateFunction in llvm_ext.o
  "llvm::DIBuilder::createMemberType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, unsigned long long, unsigned int, unsigned long long, llvm::DINode::DIFlags, llvm::DIType*, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)", referenced from:
      _LLVMExtDIBuilderCreateMemberType in llvm_ext.o
  "llvm::DIBuilder::createPointerType(llvm::DIType*, unsigned long long, unsigned int, llvm::Optional<unsigned int>, llvm::StringRef, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)", referenced from:
      _LLVMExtDIBuilderCreatePointerType in llvm_ext.o
  "llvm::DIBuilder::createParameterVariable(llvm::DIScope*, llvm::StringRef, unsigned int, llvm::DIFile*, unsigned int, llvm::DIType*, bool, llvm::DINode::DIFlags, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)", referenced from:
      _LLVMExtDIBuilderCreateParameterVariable in llvm_ext.o
  "llvm::DIBuilder::createReplaceableCompositeType(unsigned int, llvm::StringRef, llvm::DIScope*, llvm::DIFile*, unsigned int, unsigned int, unsigned long long, unsigned int, llvm::DINode::DIFlags, llvm::StringRef, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)", referenced from:
      _LLVMExtDIBuilderCreateReplaceableCompositeType in llvm_ext.o
  "llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const", referenced from:
      llvm::IRBuilderBase::CreateCall(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&, llvm::MDNode*) in llvm_ext.o
      llvm::IRBuilderBase::CreateInvoke(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&) in llvm_ext.o
  "llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::StringRef) const", referenced from:
      _LLVMExtCreateMCJITCompilerForModule in llvm_ext.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with exit status 1: cc "${@}" -o /Users/avrameisner/Dev/crystal-code/crystalline/bin/crystalline  -rdynamic -L/opt/homebrew/Cellar/crystal/1.8.2/libexec/../../../../lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -lyaml /opt/homebrew/Cellar/crystal/1.8.2/share/crystal/src/llvm/ext/llvm_ext.o `"/opt/homebrew/opt/llvm@13/bin/llvm-config" --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre2-8 -lgc -L/opt/homebrew/Cellar/libevent/2.1.12/lib -levent_pthreads -levent -L/opt/homebrew/Cellar/libevent/2.1.12/lib -levent -liconv

@y8 did you try submitting the homebrew formula above to homebrew-core (I can't find it).

It would be awesome, if you can share "one-liner" that can verify that crystalline in fact runs correctly. If possible, something that will keep working between releases, so there is no need to change formula to update tests for each release.

I suspect (based on previous experience) that something as simple as showing help text would be accepted as a test that compilation worked.

@y8 did you try submitting the homebrew formula above to homebrew-core (I can't find it).

I've found a way to do some simple check that lsp works, so here is  homebrew's PR: https://github.com/Homebrew/homebrew-core/pull/136517


Determine control plane metric integration system

I was curious if that's still planned in hypershift. Didn't see it getting deployed yet so will change this issue into tracking deploying that if we plan on still using it

IBM ROKS Toolkit ROKS-Metrics deployment
https://github.com/openshift/ibm-roks-toolkit/tree/master/assets/roks-metrics

/remove-lifecycle stale

Design doc in process:
https://coreos.slack.com/files/U9TF68JS3/F02JZCQPTJN/hypershift_-_guest_cluster_metrics

/remove-lifecycle stale

https://github.com/openshift/enhancements/pull/981/files#diff-ff45e6a60a1567f4e77f0a2f64354afe284ff5a10f270fe7935182b59a15c68dR189-R198

/reopen

/reopen

/remove-lifecycle rotten

/remove-lifecycle stale

/remove-lifecycle stale


Update Some Template Images

Just updated this a bit to have some of the new ui and dc templates

#2366  👈 (View in Graphite)
main

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

🚀 Deployed on https://673fa4eb45d8ec77140151d2--cozy-fox-0defec.netlify.app

Merge activity

Nov 21, 7:05 PM EST: A user started a stack merge that includes this pull request via Graphite.


Remove Trezor from Hard Wallet

Trezor will discontinue support for DGB on their hardware wallet and the hardware wallet section needs to be updated. Recommendation is to remove Trezor from hardware wallet section.

https://github.com/DigiByte-Core/DigiByte.org/pull/130 has resolved this.


Get-BCArtifactUrl current-1?

Describe the issue
Is there such a thing as BCArtifactUrl current-1?
Our cloud customers are currently using BC 20.0 and the rollout of BC 20.1 has not started yet. Is there any way to select this version in Get-BCArtifactUrl?
Get-BCArtifactUrl -country DE -select Current -type Sandbox

gives me 20.1 (https://bcartifacts.azureedge.net/sandbox/20.1.39764.40733/de)
and
Get-BCArtifactUrl -country DE -select SecondToLastMajor -type Sandbox

gives me 19.5 (https://bcartifacts.azureedge.net/sandbox/19.5.36567.40700/de)

There isn't a flag for this, but you can do something like:
$allUs = Get-BCArtifactUrl -country us -select all
$latestVersion = [System.Version]($allUs | Select-Object -Last 1 | % { $_.Split('/')[4] })
$secondLatest = $allUs | Where-Object { $_.Split('/')[4] -notlike "$($latestVersion.Major).$($latestVersion.Minor).*" } | Select-Object -Last 1

Thanks


Settings Editor: Weird logic in up/down

Why when I'm going down, it does not expand on "Application", and when I'm going up, it does not expand on "Features"? I would expect them to work consistently.

Also when going up, I feel it would be more natural to go to the last sub-section of the prev section. Namely, when pressing "Up" on B.1, it should go to A.2, not A.1

A

A.1
A.2

B

B.1

Fixed with #54039


Don't use PR for version bumps?

Continue discussion from https://github.com/PistonDevelopers/gfx_text/pull/33

In my opinion creating PR just for version bump is wrong.

git tag should point to exact commit, not to the merge
cargo publish should be made from exact same commit as git tag
version should be bumped only after everything was tested (e.g. docs, README formatting, etc), so it can't be part of another PR; and creating PR only for single line change is pointless

As far as I understand, the main reason for using PR for version bumps is what you'll get email. Is it possible to achieve that in another way? Maybe via some push hook?
cc @bvssvni

I am not sure what you mean with git tags and why cargo publish should be made from the exact same commit. Can you explain the idea to me?

It's a sort of convention in (I believe) a lot of languages. You have some file with metadata of your project (setup.py, package.json, project_name.cabal, etc) and when you make a new release, you update some number in that file. Since generally only that number separate one project version from another, it's a good idea to make it as separate commit to main branch and tag it right away. And if you publish your package to the language repo (crates.io, pypi, hackage, etc) from that commit, all 3 things (commit, tag, release) will be perfectly linked together.

Here is what I do:

Bump version locally.
Run tests and examples to see if it works.
Make a PR.
Merge.
Publish from local repo.

So, the library is published immediately after the version is merged. People who want to know the exact commit can check the history.
I don't make git tags because this requires extra work.
The problem is that even with Eco to do the analysis, it takes hours to update the entire ecosystem. Any extra steps slows down the progress. What I care about is to get the ecosystem integrated and do it fast enough to be able to work on other stuff.

It is worth considering that the Rust ecosystem is pretty unstable at the moment, and that we might change the practice when libraries get more mature.

Ok, if that works for you, I guess it's not hard for me to create extra PR.
I just don't fully understand, if eco is an extra tool, can't it periodically fetch latest package versions in some way?

Eco is almost smart enough, but there are some cases that we need intervention and control:

Some breaking changes require fixes to the code
Some libraries are external and not under the control of PistonDevelopers
Whether other people are working on a PR and we might want to merge it first
Testing for runtime errors requires executing examples to see if it works
Dev-dependencies are tricky, might require an additional layer of analysis
The update logic can be unsound with "holes" in the ecosystem. This can occur when adding a new library. Eco could compare dependency graph with crates.io, but need to handle all edge cases.

The plan is to improve Eco bit by bit over time and possibly automate more. However, it is easier to check what Eco is recommending instead of trusting the ecosystem information to be correct. This can be done while updating the ecosystem and handle all the cases above.

Ok. Though I think it's better to indicate version bumps more explicitly than via PR? I mean, if you depend on something, you're not interested in common non-breaking changes, you just want to know when library bumps its major number.

Change in the first non-zero number means a breaking change and should only be increased when:

The library has a breaking change
Any of the dependencies bumps the first non-zero number

The reason we need to bump when any of the dependency changes: Cargo attempts to link two different versions of the same library which causes a compiler error. If you don't bump the first non-zero number, but a second non-zero number, cargo update will break existing code. Eco tells the correct version to bump to in order to keep the ecosystem integrated.

I mean if people want to get email about version bumps, they need to watch the repo. But then you'll get emails about all PRs, not just version changes. So I'm wondering, is there some better way to notify people about breaking changes in the library.

Yes, this could be better, but usually there is one person doing the updates. We want to avoid waiting for people to read their emails and doing updates themselves before we get the ecosystem integrated. I am not sure what benefit it would be to receive an email per library. If you have 20 libraries, you get 20 emails.
The simplest way to get this information is by running Eco. You just create a list like this one and write a small program to print out the updates.


Fix a few typos in "Clustering Guide"

Obvious Fix

@tonyo Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@tonyo This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.

Thank you!


fix: resize on neovim

Closes #516
Pros:

Resizing while clap is closed now works
Cons:
Resizing while clap is open now segfaults (neovim bug)

I think it's still preferable to do this, I'm guessing most people don't resize while clap is open.
Source:
(gdb) f 4
#4  0x000056238641ce93 in msg_scroll_flush () at ../src/nvim/message.c:2229
2229	    assert(pos_delta >= 0);

Known issue: https://github.com/neovim/neovim/issues/12432

Just thought about this but why don't we just delete code related to resizing windows? I think the use-case is rare enough that it would be ok to just ignore it.

I think the use-case is rare enough that it would be ok to just ignore it.

Yeah, I agree, we can just comment out L82.
https://github.com/liuchengxu/vim-clap/blob/d7bbe7529680662025f633954501a537ba226942/autoload/clap/layout.vim#L81-L83

just comment out L82

Just comment? I'd delete the unused code, there's not that much of it and I mean one of the powers of git is that we can fearlessly delete code. Checkout the new commit, I'll comment it if you prefer but I would comment directly at the autocmd VimResized location, to avoid attaching useless event listeners.


Haddock emits warnings for "missing modules" when it encounters boot files

When there are both normal modules and their boot versions in a library and the normal versions are listed either in exposed-modules or other-modules Haddock nevertheless thinks that hs-boot modules are not exposed. For example in Ormolu:
<no location info>: error: [-Wmissing-home-modules, -Werror=missing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules:
        Ormolu.Printer.Meat.Declaration
        Ormolu.Printer.Meat.Declaration.Value

These two modules have .hs-boot counterparts and are included in exposed-modules. My understanding that there is no way to include .hs-boot module separately, so this situation cannot be resolved, and therefore it is a bug.

May I ask what's the status of this one? It seems to fail with 8.6.5 yet succeeds with 8.8.3.

It was fixed by your colleagues.
https://gitlab.haskell.org/ghc/ghc/issues/16551

Excellent!


Documentation Update - Go SDK - ResourceContext

Morning
Thanks for a great product.
I have a query about how to send a ResourceContext to azClient.Is
this is what I have come up and it works
func main() {
	azClient, err := az.New(
		aserto.WithAddr("localhost:8282"),
		aserto.WithInsecure(true),
	)
	if err != nil {
		log.Fatalf("failed to create authorizer client: %v", err)
	}
	defer azClient.Close()
	data := map[string]interface{}{
		"object_type": "group",
		"object_id":   "evil_genius",
		"relation":    "member",
	}
	st, err := structpb.NewStruct(data)
	if err != nil {
		// handle err
	}
	result, err := azClient.Is(context.Background(), &authorizer.IsRequest{
		PolicyContext: &api.PolicyContext{
			Path:      "rebac.check",
			Decisions: []string{"allowed"},
		},
		IdentityContext: &api.IdentityContext{
			Identity<EMAIL_ADDRESS>			Type:     api.IdentityType_IDENTITY_TYPE_SUB,
		},
		ResourceContext: st,
	})
	if err != nil {
		fmt.Printf("failed to call Is: %v", err)
		return
	}
	// Check the authorizer's decision.
	for _, decision := range result.Decisions {
		if decision.Decision == "allowed" {
			if decision.Is {
				fmt.Println("Access granted")
			} else {
				fmt.Println("Access denied")
			}
		}
	}
}

Is this correct? If so how would be add it to the example so it makes sense?

Hi @darkedges, that's exactly right. The type structpb.Struct is the protocol buffer representation of a JSON object.
Thanks for the suggestion to include it in the example. We'll certainly take your advice and update the documentation.


NODE_RED_INSTANCE_NUMBER out of range with 1

Checklist
Put an x in the boxes that apply

[x] I have run the latest release.
[ ] I have inspeced the status of docker containers.
[ ] I have run the sanity check described in after-installation.md.
[ ] I have inspected all error messages.
[ ] I have inspected the log files in the /var/log/fiware directory.
[ ] I have run the make collect command.
[ ] I have provided a Github Star to this repository.

Describe the bug
When I specify
NODE_RED_INSTANCE_NUMBER=1

an error is thrown like
error: NODE_RED_INSTANCE_NUMBER out of range (2-20)

However, if the setting is without explicit value
NODE_RED_INSTANCE_NUMBER=

Then 1 instance is created as the default value claims: https://github.com/lets-fiware/FIWARE-Big-Bang/blob/main/config.sh#L314
Your system environment
This is independent from the system environment.
To Reproduce
See above.
Expected behavior
Probably specifying 1 for NODE_RED_INSTANCE_NUMBER should not produce an error and create a single Nodered instance as the default does.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):

OS and OS version:
Docker version:
Docker Compose version:

Additional context
Add any other context about the problem here.
To resolve this issue, you need to provide complete information about your scenario.

Fixed by the PR #375.


Update wiztree to version 3.10

Update wiztree to version 3.10.

Was playing around with auto-pr. Very useful!


Issues about "clear" command in powershell prompt

VSCode Version: Stable Build
OS Version: Windows 10

The clear command in powershell doesn't work as in native powershell windows. In VS Code sometimes it just rolls the current information up and show you a new page with all the former information up in the window, causing problems in searching.
Steps to Reproduce:

Open some files and use the powershell to generate some output
Move to powershell's window and type in 'clear'
The powershell's window didn't acutually "clear" everything, sometimes they just roll the current information up and show you a new page.

Does this issue occur when all extensions are disabled?: Yes\

could be a duplicate of #72708

Thanks! That totally explained my questions.

发件人: Alan Ninan Thomas<EMAIL_ADDRESS>发送时间: 2020年10月10日 上午 10:38
收件人: microsoft/vscode<EMAIL_ADDRESS>抄送: zhong-yiyu<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>主题: Re: [microsoft/vscode] Issues about "clear" command in powershell prompt (#108410)
could be a duplicate of #72708https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F72708&data=02|01||e33b50eebb554a7765da08d86d002f91|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637379194845417947&sdata=NWz3G%2Fk18TfiwITPGgCpvhf0TMZAnjURuOlAwVlSBKE%3D&reserved=0
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F108410%23issuecomment-706520499&data=02|01||e33b50eebb554a7765da08d86d002f91|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637379194845427929&sdata=H3Ocqur%2BeIzacUghOknLXDHctby7wYo9lAaP5tTO%2Bt0%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMWJU4TV5NY5ZURA2YEI5SLSKATPXANCNFSM4SKIALHQ&data=02|01||e33b50eebb554a7765da08d86d002f91|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637379194845437911&sdata=VQu2PIOEKHZ%2BGKWuxXM20xmacWdr12uzaR5JyHIWCiM%3D&reserved=0.


Pre-GE Code Overhaul

Overhauled the code, adding a new config option.

Rename your config group to pre-ge or something else that's relevant to your plugin name
https://github.com/plankst/prege-plugin/compare/8a4cd0312f6d24fb753dc0dc55ad57f5508cc1ea...plankst:9554e09ac93aa7fe9b33b0ec5a1d4318924d9d56#diff-2944094724d021ffa1d0d261c4dc77b6863632271bf5e8fa865be21b61bcd068R7


WaitFor is returning true when widget is rendered but not yet visable on screen

The app I'm testing has a list of items to scroll through. I was finally able to get the scrolling to work but now I want to tap an item when it scrolls into view. The problem is that WaitFor is returning true before the item has scrolled into view, likely because it has been rendered.
I've written tests with dart's integration test framework and they have a function called 'hitTestable' which returns true when the widget is actually interactable on the screen. So my question is does the appium-flutter-driver have a version of this or is there some way I can achieve what I need?

waitForTappable seems to do the trick

closing this


Change Unity Engine Path

…Editor\Data\PlaybackEngines\windowsstandalonesupport\Managed\UnityEngine.dll to C:\Program Files\Unity\Editor\Data\Managed\UnityEngine.dll

Description
Change the path of reference UnityEngine in Unity projects from C:\Program Files\Unity\Editor\Data\PlaybackEngines\windowsstandalonesupport\Managed\UnityEngine.dll to C:\Program Files\Unity\Editor\Data\Managed\UnityEngine.dll.

Motivation and Context
With the latest Unity Editor installed, build of Unity projects failed. Checking C:\Program Files\Unity\Editor\Data\PlaybackEngines\windowsstandalonesupport\Managed\UnityEngine .dll  with ildasm, we found that Assembly in the module is empty and  C:\Program Files\Unity\Editor\Data\Managed\UnityEngine.dll contains the correct assembly.
Testing
run command [msbuild build.proj /t:full-build] under buildtools folder, the path of reference UnityEngine in the Unity projects generated should be C:\Program Files\Unity\Editor\Data\Managed\UnityEngine.dll  and all the Unity projects can be built successfully.
Types of changes

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

Checklist

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

License

[x] I confirm that this pull request can be released under the Apache 2 license

@Belorus Thank you for the question! We are testing it on older versions. Will have an update soon.

We tested the change with Unity 2018.1.7, 5.6.6, 5.0.0 and 4.7.0.
The old path works for Unity 5.6.6, 5.0.0 and 4.7.0.
The new path works  for all of them.
To test the change with 32 bit Unity 4.7.0, we need change the unitypath in \buildtools\common.targets from "C:\Program Files\Unity" to "C:\Program Files (x86)\Unity"

The change looks fine to me.  I am running a test build locally and on the build machine.

@sstevenkang  Thank you! Let us know any concerns/questions you have.

We found this at the last minute that the change is in the generated .cs file, not in the .tt.  Could you update the PR?

I reverted previous change in cs file and added the change to tt file

Hi Kang,
I revert the previous change in cs file and added the change to tt file. Please review the change.
Thanks!
-Sun
From: Steven Kang<EMAIL_ADDRESS>Sent: Friday, July 20, 2018 9:53 AM
To: aws/aws-sdk-net<EMAIL_ADDRESS>Cc: sun, Chunqiang<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aws/aws-sdk-net] Change Unity Engine Path (#996)
We found this at the last minute that the change is in the generated .cs file, not in the .tt. Could you update the PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aws/aws-sdk-net/pull/996#issuecomment-406660410, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeYGmH_Yz50E-bh4NlEtsdhVhAu6FGxzks5uIgrPgaJpZM4VEyZV.

Thanks! Could you also squash the commits into a single commit?


Functional fixes

No performance change expected:
This PR only eases report analysis and avoids print useless docker image build logs.

/gcbrun exp -n dg -ag

/gcbrun skip


Display benchit traceback by default

Closes #214

A potential alternative is to completely remove the option of not displaying the traceback, but the current PR looks good to me.


Rollout Support

What would you like to be added:
Support for rollouts for deployments, statefulsets, and daemonsets.
A minimal implementation could be additional context/kebab menu items for deployments/etc with restart; pause; resume; undo rollout entries.
Why is this needed:

Pause/resume/undo rollouts (including making changes without applying them immediately)
Do a rolling restart of a deployment/statefulset/daemonset.
See status for in-progress rollouts — this is mostly in place already.

Environment you are Lens application on:

Kubernetes distribution: Kops
Desktop OS: macOS

Deployments have had a rolling restart accessible for a while now, but statefulsets & daemonsets still don't.

How about rollout undo ?

Any updates here? Would love to see rollout restart for StatefulSets.

Note:
$ kubectl rollout restart -n default statefulset/testss -v=8

You'll that to rollout restart the kubectl tool just sets an annotation within the spec. This is also described here:
https://stackoverflow.com/questions/59050709/how-to-rollout-restart-deployment-through-the-api
Can you please add the same rollout restart button to statefulsets and daemonsets like we have for deployments?

DaemonSet support has been raised in #6826


Main HUD

The main goal of this branch is to update the main HUD to be more consistent with the new Planet Pop-up displays
This has Requested by the product owner.
Sprint Goals:

[x]  Current Speed of the ship

[x] Directional gimble (Reworking the Arrow / tick)

[x]  How far away from the black hole you are (Completed in previous sprint)

[x] Can also have alarms blaring when you get too close to the black hole (Text warnings rework)

[ ] Rework the side planet display into the HUD

Current Progress:
New Arrow Indicator system that points to the planets at the edge of the screen and changes to a target when the player looks closely enough: assets imported from ""
The Arrows can point towards:

The closest planet with a blue arrow
any planets that are in 'danger' shown with a red arrow

Note:  Not currently optimized for 16:10 ratio
Speed Indicator: May need reworking to get the values right but for now it gets the forces acting on the player and converts it to a value using the 'magnitude' of the vectors
Warning Alert: the screen flashes red. I made it quite slow but enough to show its a bad thing but don't want it to be too fast either. There's also a new message on the screen with symbols and a red font
Side Planets: Not sure if We actually need them anymore. But for now they act the same and disappear when they're destroyed or rescued

Should now work with 16:10 ratio

Also there are still a number of debug statements that should be removed in the end version


feature: Add support for Promise and allow other functions to wait for the return.

Description:
When I use this extension package, I find that I cannot determine how long it will take to return results. This is because the runWith method does not wait for the execution result. I am using a serverless Lambda architecture, and I hope that all my executions are predictable.

sorry, this has somehow slipped through the cracks, I'll check it out!


Make 'data._enum.tags' start at the right offset

! @tranma @amosr
/jury approved @amosr

We really need the equivalent of the corpus tests for zebra. I had a quick look at Icicle.Test.Sea.Zebra and it looks like it would be easy to hook up the corpus, but it doesn't actually run the program or capture the psv output?

I'm surprised prop_zebra didn't pick this up

I'm surprised prop_zebra didn't pick this up

Where is prop_zebra ?

I mean prop_read_entity. It generates a bunch of facts, convert them to zebra, and read them back using the zebra input code here. It should have picked up the difference in the facts read back and the facts generated.

I didn't think corpus was necessary for this code because this is all about input, whereas corpus would be checking the outputs of some queries.

I didn't think corpus was necessary for this code because this is all about input, whereas corpus would be checking the outputs of some queries.

Yeah I agree, I meant if we could extend those tests to also run the program and check the output then corpus would be valuable.

I mean prop_read_entity. It generates a bunch of facts, convert them to zebra, and read them back using the zebra input code here. It should have picked up the difference in the facts read back and the facts generated.

If can figure out a way to tweak the test so it picks up this error that would be great.

yeah I'll see if I can tweak the generators. This is the right fix anyhow.
👍

👍

confirmed that this bug can be triggered by prop_read_entity by making sure there are many facts for any one entity, and that the number of facts for that entity is greater than the chunk size. This change fixed it.
I'm changing the WellTyped generator to be more diverse.


The problem of the AUC

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74?  It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And  I will try the Adagrad.

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Yes,waiting for your result with your own features.

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Yes,waiting for your result with your own features.

ok

Wonderful work and interesting discussion!
Can I ask a question about extracting the features by C3D model?
When I ran the feature_extractor.py with C3D model, I found that all my memories(32GB) were occupied and it seems I need more memories.
Did you run into this kind of problems?
Can you please give me some advice?
Thank you.

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Yes,waiting for your result with your own features.

I have tried the Adagrad with the 0.001 learning rate, but the result is still 0.73. Can we have more communication？

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Yes,waiting for your result with your own features.

I have tried the Adagrad with the 0.001 learning rate, but the result is still 0.73. Can we have more communication？

Yes, maybe you can mail me<EMAIL_ADDRESS>Also you can add my qq.

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Yes,waiting for your result with your own features.

I have tried the Adagrad with the 0.001 learning rate, but the result is still 0.73. Can we have more communication？

Yes, maybe you can mail me<EMAIL_ADDRESS>Also you can add my qq.

hi, I don't know the answer to your QQ friends adding, can you please add mine? 794761554

Thanks for the codes.It really helps me a lot. But i only can get the 0.73 AUC using your codes and your result is 0.74? It is still a little lower than the paper result which is 0.75 AUC. Can you give me some advices？ Thanks again
Did you use the shared features or your extracted features? I use myself features,it can only get 70%, but it can get 74% when i use the shared features(I change the optimised algorithms following the paper----Adagrad)

Thanks a lot, the features i use is the shared features. And I will try the Adagrad.

Another question, do you use the initial learning rate 0.001 as the paper when using the Adagrad.

Yes,waiting for your result with your own features.

I have tried the Adagrad with the 0.001 learning rate, but the result is still 0.73. Can we have more communication？

Yes, maybe you can mail me<EMAIL_ADDRESS>Also you can add my qq.

my qq is<PHONE_NUMBER>，i can't answer your qq question.

Wonderful work and interesting discussion!
Can I ask a question about extracting the features by C3D model?
When I ran the feature_extractor.py with C3D model, I found that all my memories(32GB) were occupied and it seems I need more memories.
Did you run into this kind of problems?
Can you please give me some advice?
Thank you.

could be this issue, (https://github.com/ekosman/AnomalyDetectionCVPR2018-Pytorch/issues/7) I have put in a solve for low memory setups if it is the issue.
Hope this helps.


Add default NSDictionary/NSarray/NSNumber transformers

Coverage decreased (-0.51%) to 90.37% when pulling f6d27d1852c274c368b1f19864368fe22eef5ba5 on default-value-transformers into 1bb50c5c85c0c5119c619bbe0a9297b5cd1627b3 on master.

Coverage increased (+0.01%) to 90.89% when pulling 72bc98ebadb5ec669bb8c47f4a2719e42d7e1d8e on default-value-transformers into 1bb50c5c85c0c5119c619bbe0a9297b5cd1627b3 on master.

Coverage increased (+0.01%) to 90.89% when pulling 72bc98ebadb5ec669bb8c47f4a2719e42d7e1d8e on default-value-transformers into 1bb50c5c85c0c5119c619bbe0a9297b5cd1627b3 on master.

Coverage increased (+0.33%) to 91.21% when pulling e3710f7a54c871e41d88ee86194e7137e5d4cbfb on default-value-transformers into 1bb50c5c85c0c5119c619bbe0a9297b5cd1627b3 on master.

Coverage increased (+0.85%) to 91.73% when pulling b3ec362825d85e1b7acef66d4d0c38ca216118fc on default-value-transformers into 1bb50c5c85c0c5119c619bbe0a9297b5cd1627b3 on master.


[TC-SWTCH-2.5][TC-SWTCH-2.6] mobly.signals.TestFailure: Details=The --app-pid flag failure always

Summary Title:
TC-SWTCH-2.5 and -2.6 suffer from a failure due to CI test code that has a bug.
Description:
There is a path in those tests where a missing () on a method call (if self._use_button_simulator --> always true versus if self._use_button_simulator() correct) causes a failure when run against real devices.
Steps to reproduce:
Run these scripts to completion with MSM feature.
Logs:
[MatterTest] 08-14 10:53:43.039 ERROR Exception occurred in test_TC_SWTCH_2_6.
Traceback (most recent call last):
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/pyenv/lib/python3.11/site-packages/mobly/base_test.py", line 818, in exec_one_test
    test_method()
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/src/python_testing/matter_testing_support.py", line 1924, in per_endpoint_runner
    _async_runner(body, self, *args, **kwargs)
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/src/python_testing/matter_testing_support.py", line 1732, in _async_runner
    return asyncio.run(runner_with_timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for
    return fut.result()
           ^^^^^^^^^^^^
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/src/python_testing/TC_SWTCH.py", line 845, in test_TC_SWTCH_2_6
    self._send_multi_press_named_pipe_command(endpoint_id, number_of_presses=1,
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/src/python_testing/TC_SWTCH.py", line 93, in _send_multi_press_named_pipe_command
    self._send_named_pipe_command(command_dict)
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/src/python_testing/TC_SWTCH.py", line 74, in _send_named_pipe_command
    asserts.fail("The --app-pid flag must be set when usage of button simulation named pipe is required (e.g. CI)")
  File "/usr/local/google/home/tennessee/repos/connectedhomeip/pyenv/lib/python3.11/site-packages/mobly/asserts.py", line 441, in fail
    raise signals.TestFailure(msg, extras)
mobly.signals.TestFailure: Details=The --app-pid flag must be set when usage of button simulation named pipe is required (e.g. CI), Extras=None
[MatterTest] 08-14 10:53:43.048 INFO 		***** Test Failure :

https://github.com/project-chip/connectedhomeip/pull/34986 is the fix here


The "?_url=" deep link handler does not load the proof if the wallet is not already open (Android)

Description of problem
Have been experiencing this on Android while trying out the new ?_url handler with deep links. (have not tried on an iOS device)
Using a deep link in VCAuth-N and setting it up to use ?_url instead of ?c_i and it works successfully to load the connectionless proof in the wallet, and integrate the user actions from that proof back to the VCAuth-N browser session.
Provided the wallet is already open.
If the wallet is not open, then the deep link opens the BC Wallet, but nothing seems to happen.
All this is for connectionless, but I see the same with OOB if I do not have the wallet open (IE, nothing happens).
Expected behavior
If the Wallet is not open, using the deep link opens the wallet and brings up the proof, same as it's currently working if the wallet is already open.
Steps to reproduce
Use a deep link including the ?_url handler with a format such as
bcwallet://aries_proof-request?_url=<base64 encoded link>
Where the base64 is the URL the wallet should nav to to get the connectionless or OOB proof payload.
See video and more details below.
Screenshots and/or log output
00:00 - 00:40 The Wallet is not open. Show clicking deep link a few times and re-closing the app to demonstrate that nothing is happening in the wallet.
00:40 - 01:01 Leave the wallet open this time and then go back and refresh and try the deep link. This is now working as expected. Do a decline and a share to show working states.
01:10 - end Show the deep link text, show the base 64 url link, show what the link resolves to. These printed below.
https://github.com/bcgov/bc-wallet-mobile/assets/17445138/741fec83-39a4-4404-b710-309df6a74c95
bcwallet://aries_proof-request?_url=aHR0cHM6Ly8zYTdmLTEwOC0xODAtMTcxLTI4Lm5ncm9rLWZyZWUuYXBwL3VybC9wcmVzX2V4Y2gvM2ZiZWQyNzktYWE3OS00ZWZiLWJjOTQtMTBkNmEwZGVhNjhk

https://3a7f-108-180-171-28.ngrok-free.app/url/pres_exch/3fbed279-aa79-4efb-bc94-10d6a0dea68d

{
    "@id": "feb91b1b-477e-4b43-9950-aa8bdf1d303e",
    "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/request-presentation",
    "request_presentations~attach": [
        {
            "@id": "libindy-request-presentation-0",
            "mime-type": "application/json",
            "data": {
                "base64": "eyJub25jZSI6ICIzMjgyMTkzMjQwMDA3Mzg2MDQzOTk2NDUiLCAibmFtZSI6ICJwcm9vZl9yZXF1ZXN0ZWQiLCAidmVyc2lvbiI6ICIwLjAuMSIsICJyZXF1ZXN0ZWRfYXR0cmlidXRlcyI6IHsicmVxX2F0dHJfMCI6IHsibmFtZXMiOiBbImdpdmVuX25hbWVzIiwgImZhbWlseV9uYW1lIiwgImNvdW50cnkiXSwgInJlc3RyaWN0aW9ucyI6IFt7InNjaGVtYV9uYW1lIjogIlBlcnNvbiIsICJpc3N1ZXJfZGlkIjogIkw2QVNqbUREYkRIN3lQTDF0MnlGajkifSwgeyJzY2hlbWFfbmFtZSI6ICJQZXJzb24iLCAiaXNzdWVyX2RpZCI6ICJRRXF1QUhrTTM1dzRYVlQzS3U1eWF0In0sIHsic2NoZW1hX25hbWUiOiAiUGVyc29uIiwgImlzc3Vlcl9kaWQiOiAiTTZkaHVGajVVd2JoV2tTTG12WVNQYyJ9XSwgIm5vbl9yZXZva2VkIjogeyJmcm9tIjogMTcyMDQxNDU4NiwgInRvIjogMTcyMDQxNDU4Nn19fSwgInJlcXVlc3RlZF9wcmVkaWNhdGVzIjoge319"
            }
        }
    ],
    "comment": null,
    "~service": {
        "recipientKeys": [
            "DY1virT55aGaRp6ahET9joiFeVNMa45o3V1ha6Rt542h"
        ],
        "routingKeys": null,
        "serviceEndpoint": "https://cf35-108-180-171-28.ngrok-free.app"
    }
}

Environment

[x] Occurs on Android
[ ] Occurs on iOS

Build #: 1.0.18 Build(1782)
Android Device Model: Pixel 8
iOS Device Model:
Workaround
Go back and refresh now that the app is open and try the deep link again.
Severity

[ ] High
[ ] Medium
[ ] Low

There is a USE_URL_DEEP_LINK that can be set in local VCAuthN we can do for trying this out. Or I can set on the dev environment to coordinate testing.

This may be a know issue. See here: https://github.com/facebook/react-native/issues/32350

@loneil is there an instance of vc-authn publicly available? I can't reproduce it on the showcase

@wadeking98 you can use https://a2a-dev.apps.silver.devops.gov.bc.ca/pre-vc-auth/ to reproduce on an Android. That environment has ?_url handler at this time.
On the page with the deep link if you tap the BC logo 10 times it will show you the link at the bottom as well if you need to verify that.

strange, it works fine in the dev environment using metro and everything but once I use a release version of the app from testflight then I run into this issue

I'm running into the same issue on the showcase too when I use the play store version of the app

@loneil , @esune , there is a fixed of this in the latest beta build (1872), if you have a chance, can you test it?

@cvarjao just tried with 1872 Android and the deep links do work for me now, both for c_i and _url when the wallet is unopened (and still work when the wallet is open) 🎉


md-input not updating when combined in a component with md-range

https://gist.run/?id=77ff2187e6a02e1a0290259c2724688e

Also try this with TypeScript.