Reproduce results

Hello,
I want to reproduce the exact results on the AirCraft dataset, as appears here.
I assume:

I need to use the config generator.
The alpha should be taken from Mixup_Downstreams (I.e. using alpha = 2 for AirCraft, SAMix)
I should use --deterministic flag

To conclude, the generation function vars should be:
    # *** mixups ***
    base_path = "configs/classification/aircrafts/mixups/basic/r18_mixups_CE_none.py"
    # base_path = "configs/classification/aircrafts/mixups/basic/rx50_mixups_CE_none.py"
åç
    # abbreviation of long attributes
    abbs = {
        'max_epochs': 'ep'
    }
    # create nested dirs (cannot be none)
    model_var = {
        'model.mix_mode': ["vanilla"],
        # 'model.mix_mode': ["vanilla", "mixup", "cutmix", "manifoldmix", "fmix", "saliencymix", "resizemix", "puzzlemix",],
    }
    # adjust sub-attributes (cannot be none)
    gm_var = {
        'model.alpha': [0],  # default: 0.2
        'runner.max_epochs': [200,],
    }

Questions:

Is what I assumed till now, right?
In Mixup_Downstreams there is a note: "Please refer to config files for experiment details: CUB-200 and FGVC-Aircraft. As for config files of various mixups, please modify max_epochs and mix_mode in auto_train_mixups.py to generate configs and bash scripts."
Why would I change max_epochs if (another quote):
"These benchmarks follow transfer learning settings on fine-grained datasets, using PyTorch official pre-trained models as initialization and training 200 epochs on CUB-200 and FGVC-Aircraft."
Just making sure that using 200 epochs is the way to go.

3. The only missing part for me to be able to reproduce is what seeds and batch size you guys use in your experiments?

batch size explanation: In get_started.md it's pointed out that we should scale the LR according to the num GPUs originally used (4/8), how can I know the num of GPUs used? it's not written. For now, I sent 2 runs where I actually use one GPU and just increased the batch size to 64 and 128 (original was 16). Would love to know what was used.
I saw that SAMix is no implemented yet. when will it be?

Sorry if it's a bit too much of a small-scale problem. I just want to make sure to reproduce the results exactly since this is for an important project.
Thank you very much for the great repo!

Hello, @EyalMichaeli, thanks for using OpenMixup to reproduce FGVC-Aircraft results. I will answer your questions point-by-point:

What you have assumed is right. You can generate the config file by the config generator to modify alpha and mix_mode according to Mixup downstream. The --deterministic might not be necessary if you run the experiment for many trials.
In AutoMix and OpenMixup benchmark, we fine-tune 200 epochs for CUB-200 and FGVC-Aircraft. Since we adopted a cosine scheduler, you can also run experiments of custom training epochs (e.g., 100 epochs).
According to the config files in aircrafts/mixups, the basic setting includes an SGD optimizer (lr=0.001, momentum=0.9, weight_decay=0.0005), a batch size of 16, and the cosine scheduler (min_lr=0). The random seed is defaulted to 0 in all our experiments.
The batch size and the GPU number should obey the linear scaling rule proposed by Kaiming He. The default setting is the batch size of 16 with a single GPU. If you try to train with 2 GPUs, you should change imgs_per_gpu=16 to imgs_per_gpu=8 in the config file since all arguments in the config file are started for each GPU. Meanwhile, the fine-tuning settings of fine-grained classification tasks usually choose a small batch size (e.g., 8, 16, or 32), and a large batch size will result in bad performance.
You can adopt the config settings in cub200/mixups for AutoMix and SAMix, by changing the dataset setting and num_classes. We will also update these config files as soon as possible.

I hope these will be helpful to you. Please feel free to make comments if there are more questions.

Thanks for the informative reply!
I tried running SAMix and rann into a NotImplementedError:
Traceback (most recent call last):   File "tools/train.py", line 210, in <module>     main()   File "tools/train.py", line 200, in main     train_model(   File "/mnt/raid/home/eyal_michaeli/git/openmixup/openmixup/apis/train.py", line 225, in train_model     runner.run(data_loaders, cfg.workflow)   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 136, in run     epoch_runner(data_loaders[i], **kwargs)   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 53, in train     self.run_iter(data_batch, train_mode=True, **kwargs)   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 31, in run_iter     outputs = self.model.train_step(data_batch, self.optimizer,   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/mmcv/parallel/distributed.py", line 63, in train_step     output = self.module.train_step(*inputs[0], **kwargs[0])   File "/mnt/raid/home/eyal_michaeli/git/openmixup/openmixup/models/classifiers/base_model.py", line 197, in train_step     losses = self(**data)   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 119, in new_func     return old_func(*args, **kwargs)   File "/mnt/raid/home/eyal_michaeli/git/openmixup/openmixup/models/classifiers/base_model.py", line 119, in forward     return self.forward_train(img, **kwargs)   File "/mnt/raid/home/eyal_michaeli/git/openmixup/openmixup/models/classifiers/mixup_classification.py", line 384, in forward_train     losses, cur_idx = self.forward_mix(img.clone(), gt_label, remove_idx=remove_idx)   File "/mnt/raid/home/eyal_michaeli/git/openmixup/openmixup/models/classifiers/mixup_classification.py", line 295, in forward_mix     img = self._mixblock()   File "/mnt/raid/home/eyal_michaeli/anaconda3/envs/openmixup/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context     return func(*args, **kwargs)   File "/mnt/raid/home/eyal_michaeli/git/openmixup/openmixup/models/classifiers/mixup_classification.py", line 225, in _mixblock     raise NotImplementedError NotImplementedError
Tried
base_path = "configs/classification/aircrafts/samix/r18_l2_a2_bili_val_dp01_mb_mlr5e_4_1xb16_ep200.py"
(after I copied the configs from cub200 to aircraft)
for auto_train_mixups script.
What did I do wrong?

Hi, @EyalMichaeli, I should copy and modify the config file from configs/classification/cub200/automix and configs/classification/cub200/samix to run experiments of AutoMix and SAMix on FGVC-Aircrafts, since we haven't open-sourced the pre-trained implementations of AutoMix and SAMix in openmixup/models/classifiers/mixup_classification.py. I attached the config files of AutoMix and SAMix for FGVC-Aircrafts below, and you can place them under configs/classification/aircrafts to train SAMix, configs/classification/aircrafts.zip. Some hyper-parameters like min_lr might be tuned to get better performance.

Thanks for your questions and for using OpenMixup! I will close this issue if there are no more questions.


Load test subscriptions

Most of Biff is just helper fns over mature libraries. The main exception is the subscription code. From a computational complexity perspective, I think it's pretty efficient. But it'd be nice to be able to say "it's been tested with X concurrent users and Y TPS with results Z". Doesn't need to be comprehensive; something would be better than nothing.
IMO not a super high priority at this stage, but if someone who's done load testing before wants to take care of it, that'd be swell.

New version of Biff removes the experimental subscription stuff.


Array out-of-bounds when elemtype is empty

Description
When loading the XML config, it is possible to have an empty string as the elemtype of an array. This causes us to index into the types array with an index of -1. On instrumented builds that detect memory problems, this can cause an error.
Example XML config snippet:
  <DXBC>
    <Debug>
      <!-- DXBC.Debug.SearchDirPaths

Paths to search for separated shader debug PDBs.

Default value: '[]' -->
      <SearchDirPaths type="Array" elemtype=""></SearchDirPaths>
    </Debug>

Steps to reproduce
Run RenderDoc in such a way that it loads renderdoc.conf with the aforementioned zero-length array with empty string for the elemtype. You will find that you are using an array index of -1 in XML2Config(pugi::xml_node &obj).
I fixed this locally using the following code snippet:
    if(type == SDBasic::Array)
    {
#if 0
      type = types[basicTypeStrings.indexOf(obj.attribute("elemtype").as_string())];
#else
      // Empty arrays may not have an elemtype. Default to String.
      const int32_t basicTypeIndex = basicTypeStrings.indexOf(obj.attribute("elemtype").as_string());
      type = (basicTypeIndex != -1) ? types[basicTypeIndex] : SDBasic::String;
#endif

Environment

RenderDoc version: 1.17
Operating System: Windows 10
Graphics API: Vulkan

Thanks for reporting this, that commit should fix it. I also noticed the string-to-enum array was static but being filled each time, leading it to grow, so I also fixed that.
I'm hoping that you saying version 1.17 was a typo and you meant 1.27, if not I would strongly recommend you update as that version is 1.5 years out of date.


⚠ Console Web has degraded performance

In b45ce14, Console Web (https://console.inu-cafeteria.app) experienced degraded performance:

HTTP code: 200
Response time: 9558 ms

Resolved: Console Web performance has improved in b097e86.


Use getrandom for random_get, disable default rand features

random_get should draw host OS entropy directly, instead of using user-space PRNG via ThreadRng. Relevant issue: wasmerio/wasmer#909
Additionally rand's default features are disabled for environ crate, since they are not needed.

The CI failure looks unrelated to changes in this PR.

The CI failure looks unrelated to changes in this PR.

Yep, the CI failure is indeed unrelated and fixed in #634.

Looks good, thanks!


how to check if gps is enabled?

How can to go to the native settings to check if gps is enabled or not? thanks!

@YeisonVelez11 I don't think it is relevant to here. You should prompt the user to enable GPS/permissions, and based on success/failure you can receive this information. This plugin allows you to open the phone settings to enable it and that's it.


issues of "feature layer" in extract_feature.py

Hi, yupan
I try to use your codes on activitynet. And when I used the extract_feature.py to extract features, I downloaded the pretrained model KnetV3  from the link you provided. In your code, the last layer seemed to be 'global_pool', but I could not find "global_pool" in prototxt file. Could you help me?

Hi, @666zcli
Thank you for pointing this out!
I did modify the original prototxt files to correspond with the variable name (e.g., feature_layer) in data/extract_feature.py (and forgot to remind you!). For example,  from the line#5906 to the last line in inception_v3_kinetics_pretrained/inception_v3_rgb_deploy.prototxt, I change the layer name of top_cls_pool and top_cls_global_pool to global_pool and remove top_cls_drop layer and fc_action layer as follows:
layer {
  name: "top_cls_pool"
  type: "Pooling"
  bottom: "mixed_10_join"
  top: "top_cls_global_pool"
  pooling_param {
    pool: AVE
    kernel_size: 8
    stride: 1
    pad: 0
  }
}
layer {
  name: "top_cls_drop"
  type: "Dropout"
  bottom: "top_cls_global_pool"
  top: "top_cls_drop"
  dropout_param {
    dropout_ratio: 0.699999988079
  }
}
layer {
  name: "fc_action"
  type: "InnerProduct"
  bottom: "top_cls_drop"
  top: "fc_action"
  param {
    lr_mult: 1.0
    decay_mult: 1.0
  }
  param {
    lr_mult: 1.0
    decay_mult: 2.0
  }
  inner_product_param {
    num_output: 400
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
      value: 0.0
    }
  }
}

to
layer {
  name: "global_pool"
  type: "Pooling"
  bottom: "mixed_10_join"
  top: "global_pool"
  pooling_param {
    pool: AVE
    kernel_size: 8
    stride: 1
    pad: 0
  }
}
#layer {
#  name: "top_cls_drop"
#  type: "Dropout"
#  bottom: "global_pool"
#  top: "top_cls_drop"
#  dropout_param {
#    dropout_ratio: 0.699999988079
#  }
#}
#layer {
#  name: "fc-action"
#  type: "InnerProduct"
#  bottom: "top_cls_drop"
#  top: "fc-action"
#  param {
#    lr_mult: 1.0
#    decay_mult: 1.0
#  }
#  param {
#    lr_mult: 1.0
#    decay_mult: 2.0
#  }
#  inner_product_param {
#    num_output: 400
#    weight_filler {
#      type: "xavier"
#    }
#    bias_filler {
#      type: "constant"
#      value: 0.0
#    }
#  }
#}

I have made a commit to upload the prototxt files I used for your reference. Directly use these files should be fine, otherwise please reopen this issue : )


Unicode: 🖍 renders but ✏ fails

Type: Bug
I use VSCode as my goto text-editor these days.
It is vexing that certain "more-common" unicode characters don't render properly, while other "less-common" ones DO.
After several years of waiting for a fix, I'm filing an issue.
See attached screenshot.

I wonder whether the Unicode representations for the two are the same or not.
I'm also unable to reproduce the issue on Windows with the font Consolas, "Courier New", monospace after copying the emojis from this issue's title into the Interactive Window:

Gosh. Fast response. You lot are great!
[f"{emoji}: {'+'.join(f'U+{ord(char):04X}' for char in emoji)}"
    for emoji in ['✏', '📝', '✎', '✐', '✏']]

Output:
['✏: U+270F+U+FE0F', '📝: U+1F4DD', '✎: U+270E', '✐: U+2710', '✏: U+270F']

So to summarize:

First I inject all 5 'pencil' emojis into VSCode .ipynb: CTRL+CMD+SPACE on my mac brings up EmojiPalette, typing 'pencil' gives 5 results (as per my initial screenshot), I click each one to add these 5 emojis into VSCode
I observe that first one (the one I want) renders the same as the last one
I paste my list into my ChatGPT Desktop app and now see 5 separate emojis, yay!
I execute the notebook cell, giving the result
I now paste the code HERE (GitHub issue messagebox), and see that it is the FIRST one that is now repeated in the FIFTH position (i.e. I get 2 NICE yellow pencils with the rubber on the end and 0 shitty black&white_horiz ones)
I now take a screenshot and add it to the message, to make sure I am not in fact going insane.

So,

dropping U+270F+U+FE0F and U+270F into VSCode editor, they both render as U+270F, but they're stored correctly, as can be seen from the .ipynb cell output.
Copy-Pasting into ChatGPT Desktop, they render properly.
But Copy-Pasting them HERE, they now both render as U+270F+U+FE0F!

AFAICS this suggests at least 2 core fonts on macOS (the one used in Github Issue Messagebox / Chrome / macOS, and VSCode-macOS) are fucked.

And the icing on top, if you look at the screenshot you'll see that I get 2 NICE pencils while composing the message, but if you look at the rendered (text) codeblock of my .ipynb cell output you see 2 shitty ones.

VS Code adds border left to modified settings. You can see all modified settings by picking Modified folder in search field.
Effectively duplicate of #32840
Check comments for workarounds.
AFAIK adding explicit emoji font before system fallback should help.

@IllusionMH Thankyou for pointing me towards this issue.
Having said, I've spent 20 minutes scrolling that thread and thrashing against editor.fontFamily and am now frustrated to fuck.
Menlo, Monaco, 'Courier New', monospace, 'Apple Color Emoji' -- no change.
'Apple Color Emoji', Menlo, Monaco, 'Courier New', monospace -- now I correctly get my ✏ but everything else is mashed up.
I don't know the intricacies of font-hierarchy and I don't want to have to learn them to get my IDE to behave right.
Can ANY dev give me a line that works on macOS?
And if not, how is this an open problem since Aug 20 2017?
How can that be? Doesn't this qualify as a serious UX fail? I'm on a mac, trying to use SoTA tooling.
How come VSCode doesn't work out-of-the-box on MacOS as a unicode-friendly text-editor? It's 2024.
I'm trying to stay the right side of the "bringing an absurdity to attention" / "behaving like an entitled dick" line. I'm humbly in awe of this product. That's why it hurts so much to experience a very basic and fundamental fail-point that it seems I can do nothing about.

Looking through https://github.com/microsoft/vscode/issues/118905 I tried removing Menlo, and adding 'Apple Color Emoji'.
So:
Monaco,  'Apple Color Emoji', 'Courier New', monospace

... and this works.
In fact just Monaco,  'Apple Color Emoji', works. Is there any reason for any items following these?
If this is indeed a universal macOS solution, if VSCode shipped with this as a default setting for macOS, it will save a lot of distributed developer pain and encourage happy thoughts associated with VSCode around the world.
PS It would be nice to have a test-list of emojis. I've tried a few known problematic ones: ✏ ⚠ ☣ ♻ ☎ & all work. ‼ ⁉ kinda work (they're white tho', and I think they should be red, but they're white here too as I write).

I've just bumped into another confounding Unicode issue:

The characters are: ⏺ ⤴ 🔄 ⤵ ↔ ↕ ↘ ↗
All eight render correctly in VSCode code-editor and .ipynb-editor (both code-cell and output), but only 4 render when I hover over my object.
Shouldn't the 'hover' be using the same font as the code-editor?
PS Please could someone remove the 'info-needed' tag?

I can reproduce the rendering result on a macOS Chrome with font Menlo, which happens to be the default monospace font stack on macOS. It behaves as a fallback to user-setting fonts so it cannot be disabled without touching vscode internal files.
The reproduction:
<body style="font-family: Iosevka, Menlo">Unicode: 🖍 renders but ✏ fails</body>
<!-- Delete 'Menlo' and it becomes correct! -->

Don't know if there's similar issue on Windows.


[CI] hot fix Sphinx

The CI is broken after #9906 merged. It's a hotfix to make CI green again

Thanks for the quick fix! I think here we hit a bug in CI where it wasn't running the sphinx pre-check on #9988 since it had only doc related changes. #9971 should fix this so it doesn't happen in the future


Proposer claims EpochProofQuotes from its pool

Proposers must be able to discern:

They are a proposer within the "claim phase" of an epoch
A proof claim for the previous epoch has not been submitted to L1
They have a valid quote in their pool

They must then submit the claim when they submit their proposed block.

Fixed in https://github.com/AztecProtocol/aztec-packages/pull/8832


How to convert between pixel & sky?

What approach will be the default for converting between pixel and sky?  Probably all of these should be implemented, but one should be the default:

convert all regions to polygons, convert sky coordinates to pixel and vice versa
keep circles, rectangles, etc. "fixed", convert by assuming the projection is perfectly flat

Contained in option 1 is a question about how accurately we need to discretize continuous shapes when converting to polygons.
Also, which regions will get "abstract" representations allowing them to be rotated and manipulated with simple parameters?  e.g., ellipse, rectangle have major/minor axes and angles that are their minimal representations, but these are not preserved through projection.

Just FYI, the difference between the two bullet points is the difference between the affine and full flags in to_pixel and to_sky in the currently API. And for the full mode, we've planned to have a tolerance keyword that addresses your point about how accurate the polygons have to be.

FYI: I added some implementation of to_pixel for the CircleSkyRegion in https://github.com/astropy/regions/pull/29. This needs to be checked


[Feature Request] Automatically enable pathfinding

Might there be a way to add an option to the settings of the module that automatically sets pathfinding for all players by default, maybe even disabling the button if the GM wants it to be hidden from players?

Same as other request, this is something to implement in Drag Ruler itself.


Tutorial: write page on routing

Create instructions and code samples on mapping URL parameters to different initial values in the application, and vice versa.
https://github.com/apache/royale-docs/blob/master/create-an-application/application-tutorial/routing.md

We have the routing page here: https://apache.github.io/royale-docs/features/routing
Not sure where the best place for this info is. @cottage14 what do you think?

It is in the menu under "features and concepts". Is there a better place
for it?
On Wed, Dec 29, 2021 at 6:50 PM Harbs @.***> wrote:

We have the routing page here:
https://apache.github.io/royale-docs/features/routing
Not sure where the best place for this info is. @cottage14
https://github.com/cottage14 what do you think?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/royale-asjs/issues/380#issuecomment-1002803458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3RFXNLZ6H7JK7F27PT2TDUTOGEXANCNFSM4GQO4CXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Andrew Wetmore
Editor, Moose House Publications https://moosehousepress.com
Editor-Writer, The Apache Software Foundation https://apache.org

My question was because you created a stub above under "application tutorial". Both places make sense, but currently the one under application tutorial is just a stub.
Should we delete that and close this issue or somehow cross-pollinate? Or maybe move it to tutorial?

Ah. I will go look. I think the information should not hide in a tutorial,
but that the tutorial could reference it in a link. I will try to figure
out where it can best do that
On Thu, Dec 30, 2021 at 2:50 PM Harbs @.***> wrote:

My question was because you created a stub above under "application
tutorial". Both places make sense, but currently the one under application
tutorial is just a stub.
Should we delete that and close this issue or somehow cross-pollinate? Or
maybe move it to tutorial?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/royale-asjs/issues/380#issuecomment-1003144349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3RFXJETJLXHMMRVQ7RDM3UTSSWVANCNFSM4GQO4CXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Andrew Wetmore
Editor, Moose House Publications https://moosehousepress.com
Editor-Writer, The Apache Software Foundation https://apache.org


Exception when Schema name is a keyword

I'm getting an exception when using this when our Schema is keyword.
The Schema is Transaction and the Table is Item...so [Transaction].[Item].
Here is the model:
[Table("Item", Schema = "Transaction")]
public class TransactionItem
{
public Guid TransactionItemId { get; set; }
public string Description { get; set; }
}

FIXED

This fix broke the use case where the table name is not given by an attribute but in the constructor (Exception "I cannot find table..."). Since the fix the table name is only taken from the attribute.

Thank you very much, it works now again :-)

next NUGET (<IP_ADDRESS>) that is will publish, will have this fix included.
I just wait to receive other issues - fix it - and then publish ver.: 7.2


Rust Book Chapter 6: Enums and Pattern Matching

[x] Defining an Enum
[ ] The match Control Flow Operator
[ ] Concise Control with if let

Defining an Enum: 2+ hrs


METRON-1198: Pycapa - No such configuration property: "sasl.kerberos.principal"

When running Pycapa in a Kerberized environment, but without a version of Librdkafka built with SASL support, it can produce error messages that look-like the following.
KafkaError{code=_INVALID_ARG,val=-186,str="No such configuration property: "sasl.kerberos.principal""}

This can happen when a user accidentally installs multiple version of Librdkafka and the version that the Python interpreter links to is the one without SASL support.  I am going to update the README to doc this specific condition.

+1 by inspection. Thanks!


Various cleanups and removals of unused code.

What type of PR is this?
/kind cleanup
What does this PR do / why we need it:
A lot of linter-driven and review-driven changes to tidy up a lot of code, removing unused parameters, functions, unnecessary declarations.
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer:

Codecov Report

Merging #12 into master will increase coverage by 0.17%.
The diff coverage is 67.21%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   61.00%   61.18%   +0.17%
==========================================
  Files          51       51
  Lines        2457     2437      -20
==========================================
- Hits         1499     1491       -8
+ Misses        826      816      -10
+ Partials      132      130       -2

Flag
Coverage Δ

#unittests
61.18% <67.21%> (+0.17%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cmd/bootstrap.go
27.92% <0.00%> (ø)

pkg/cmd/environment/add.go
46.15% <0.00%> (ø)

pkg/cmd/environment/environment.go
0.00% <ø> (ø)

pkg/cmd/service/add.go
70.00% <0.00%> (ø)

pkg/cmd/webhook/webhook.go
0.00% <ø> (ø)

pkg/pipelines/build.go
46.15% <0.00%> (ø)

pkg/pipelines/config/parser.go
47.36% <0.00%> (ø)

pkg/pipelines/deployment/deployment.go
95.45% <ø> (ø)

pkg/pipelines/eventlisteners/eventlisteners.go
54.54% <0.00%> (ø)

pkg/pipelines/git/repository.go
66.66% <ø> (ø)

... and 24 more

Continue to review full report at Codecov.

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


TypeError: witbot.hears is not a function

Hi, Mike. Wasn't sure the best place to ask about this. I am getting the following error.
I copied and pasted your code, and it doesn't seem to work, I am runing
WIT_TOKEN=MKOOZ... SLACK_TOKEN=xoxb-2... npm start
from terminal, am I doing something wrong. Has witbot changed it's API?
TypeError: witbot.hears is not a function
    at Object.<anonymous> (/Users/anderskitson/sites/EisenBot/index.js:57:8)
    at Module._compile (module.js:398:26)
    at Object.Module._extensions..js (module.js:405:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:430:10)
    at startup (node.js:141:18)
    at node.js:980:3

Yes I am getting the same error.Its too to ask late but have you got the solution.

hi, i am getting the same problem. Any solution so far?


--convert-3to4 converts common simple English words in comments such as: "on" -> "checked", "off" -> "unchecked"

Godot version
v4.0.rc2.official [d2699dc7a]
System information
Linux Ubuntu 20.04 with Unity desktop
Issue description
I noticed that godot4 --convert-3to4 also converts names in comments, which is understandable when dealing with symbol names that are obviously Godot class/member names like get_surface_material. For instance, we could have a comment saying:
# We use get_surface_material here

which would become
# We use get_surface_override_material here

The problem is that it will convert all names in https://github.com/godotengine/godot/blob/master/editor/renames_map_3_to_4.cpp including simple common names, resulting in unwanted comments:
From demo platformer > Player.gd
# If you define _physics_process on a node, Godot will call it every frame.
becomes
# If you define _physics_process checked a node, Godot will call it every frame.
This won't apply mid-word, but will apply on words bounded by hyphens such as "on-again-off-again" -> "checked-again-unchecked-again".
Unfortunately, I see no easy solution for this: either
a. we run the risk to convert more strings and let the user revert bad conversions, or
b. we convert fewer strings and run the risk to miss a few ones such as # we set the toggle to on here
If we want to apply b, we need to distinguish common English words from others... We cannot remove entries from https://github.com/godotengine/godot/blob/master/editor/renames_map_3_to_4.cpp since we need them for true code conversion (not comment). So we'd need to add an extra table listing common English words so that we ignore them, for comments only.
Personally, I think that the user should always version control the project and monitor each change done by the converter. So we could just keep doing a. but warn the user that they should check for bad changes, at least if we auto-converted some words in comments (esp. not compounded words i.e. not containing an underscore).
If you go the b. way, here is the list of simple words I have found (may not be exhaustive):
on -> checked
off -> unchecked
raise -> move_to_top
clamped -> clamp
invert -> reverse
and i'm pretty sure no one says "stepify" ;)
Also note that 'exported' and 'tool' are not converted in comments, only as symbols, taking the @ prefix.
Steps to reproduce

Run godot4 --convert-3to4 in the root folder of the demo project attached which contains a list of common words
Check the git diff (project is already version controlled)

Note: the project is already under Godot 4, not Godot 3, but it doesn't matter for text conversion.
If you want to create your own list of words, just write comments with the cimple words mentioned above (or find simple words from https://github.com/godotengine/godot/blob/master/editor/renames_map_3_to_4.cpp yourself)
Note 2: I found the list of common words in https://github.com/powerlanguage/word-lists/blob/master/1000-most-common-words.txt
Minimal reproduction project
Test convert3to4.zip

Thanks @hsandt for raising this issue!
I recently ran a conversion from 3.5 to 4.0-rc2 and ran into the same problem (mainly with "on" -> "checked" - I didn't actually notice any of the others, maybe I just got lucky or maybe I missed them during inspection of the changes).
I would prefer if the converter NEVER did these replacements in code comments.
It is very easy to update comments correctly if the converter handles the code conversion, as one can and should step through the changes made and will notice if any comments around it are outdated.

I would prefer if the converter NEVER did these replacements in code comments.

This was already raised. Unfortunately the converter is a simple regex, so it doesn't know that they are comments.


Make salishsea prepare record SS-run-sets repo rev

Original report by Doug Latornell (Bitbucket: douglatornell, GitHub: douglatornell).

Similar to how it records the rev of the NEMO code, XIOS, and NEMO-forcing repos used for a run.

This feature was implemented after SalishSeaCmd was moved to a separate repo


Register v0.1.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/51251
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 5eec82dba620f573d1b9ce20c1e94863740e214e
git push origin v0.1.0


CheckpointConfig.java is missing from 1.0.0.M2 version

https://mvnrepository.com/artifact/com.microsoft.azure/spring-integration-azure/1.0.0.M2 is having a class missing (CheckpointConfig.java).
This class is present in the master branch. https://github.com/Microsoft/spring-cloud-azure/blob/master/spring-integration-azure/spring-integration-azure-core/src/main/java/com/microsoft/azure/spring/integration/core/api/CheckpointConfig.java
Can there be an updated release with this class present?

Thanks for bringing this out. We just made some changes in master branch, but the homepage sample has been updated. It should be pointing to sample of the latest release 1.0.0.M2.
You can follow the samples for 1.0.0.M2 in https://github.com/Microsoft/spring-cloud-azure/tree/release/1.0.0.M2/spring-cloud-azure-samples.

Close this.


[dart2wasm] Truncating integer division does not handle dividing by zero

Repro:
void main() {
  try {
    print(1 ~/ 0);
  } catch (e) {
    print('Division failed');
  }
}

JIT output:
Division failed

dart2wasm output fails with a trap:
wasm-function[51]:0x12241: RuntimeError: divide by zero
RuntimeError: divide by zero
    at main (wasm://wasm/000a6576:wasm-function[51]:0x12241)
    at $main (wasm://wasm/000a6576:wasm-function[52]:0x1226c)
    at Module.invoke (/usr/local/google/home/omersa/dart/sdk/sdk/pkg/dart2wasm/bin/dart2wasm_runtime.mjs:400:28)
    at main (/usr/local/google/home/omersa/dart/sdk/sdk/pkg/dart2wasm/bin/run_wasm.js:46:21)

1 pending unhandled Promise rejection(s) detected.

We may want to fix this as a part of https://dart-review.googlesource.com/c/sdk/+/264460 which refactors truncating div compilation.

https://dart-review.googlesource.com/c/sdk/+/264820

CL merged.


Undefined Symbols

Hey @davodesign84 i have this error on iOS
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Mixpanel", referenced from:
      objc-class-ref in libRNMixpanel.a(RNMixpanel.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hi guys, providing a bit more comments here as the ones provided by @erikahumada to @davodesign84
Here is a script I just ran trying to understand the problem in a brand new project:
react-native init mixpanelTest

cd mixpanelTest

yarn add react-native-mixpanel

react-native link react-native-mixpanel

react-native run-ios

The outcome of this is
... build stuff...

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Mixpanel", referenced from:
      objc-class-ref in libRNMixpanel.a(RNMixpanel.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following commands produced analyzer issues:
	Analyze Base/RCTModuleMethod.mm
	Analyze Modules/RCTUIManager.m
(2 commands with analyzer issues)

The following build commands failed:
	Ld build/Build/Products/Debug-iphonesimulator/mixpaneltest.app/mixpaneltest normal x86_64
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/mixpaneltest.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/mixpaneltest.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Here is the info of my setup:
react-native -v
> react-native-cli: 2.0.1
> react-native: 0.54.3

And my package.json has the following dependencies
"dependencies": {
    "react": "^16.3.0-alpha.1",
    "react-native": "0.54.3",
    "react-native-mixpanel": "^0.0.16"
  },

Uhms... I think I found the source of my issues... I am missing the installation of the SDK for iOS.

@rodrigoelp did you add the SDK manually/with pods/link? I added manually and I'm still getting an undefined symbols error.

I added with pods and still get the same error


vab-config  npm error

[UNAVAILABLE_FOR_LEGAL_REASONS] vab-config was blocked, reason: vabjs bad guy, steal env and delete files. (operator: cnpm
core_admin/61f154594ce7cf8f5827edf8)

npm i --registry=http://mirrors.cloud.tencent.com/npm/

antdv 最新版已提交至https://github.com/chuzhixin/vue-admin-better/tree/vue3.0-antdv 感谢反馈  下载后cnpm安装即可


missing 's'  on /terms page?

missing "s" in "use"

(same in current versions of both Chrome and Firefox)

Fixed, thank you, Dan!


how to train Part-A2 on nuscenes

Hi, sir. It is a nice work! I want to train Part-A2 network on nuscenes dataset but I have no idea how to do it (convert nuscenes dataset to kitti format using export_kitti.py will lose a lot of information because it only support converting nuScenes images from CAM_FRONT to KITTI format), can you share me some advice? Very appreciate for your reply!!

You do not need to generate data information like KITTI, because we support nuScenes data reorganization.
So the core problem is to modify the PartA2 config to fit the nuScenes setting. Basically there are two parts to be modified, dataset related and model hyperparameters. For the former part, you can refer to this dataset config while for the latter part, you may need to refer to other models for nuScenes like SSN and PointPillars and adjust related settings accordingly.

thanks, I will try it.


chore: add IBM to official users section in README.md

Long overdue, let me know if there is anything else I need to do to get this merged.

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


just doesn't work... but it did before!

using the right click menu, i select a color and.... nothing. folder color doesn't change. I've restarted, removed antivirus, uninstalled and reinstalled folcolor, and it just won't work. UAC is set to the absolute lowest.
weirdly enough, when i installed this for the first time yesterday it was working great, i was enjoying the hell out of it but now it just won't work. very confused. this issue is happening on my local pc and on the network drive, nowhere allows me to change colors anymore.

Strange okay. I don't think this is a common problem since your are the only person reporting this currently.
Although someone mentioned a problem with network drives recently. And I just built a new Windows 10 system and put Folcolor on it with no problems.
Do you have some antivirus software or something that might have removed the registry settings?
Try uninstalling Folcolor, then installing it back again. It should restore the registry settings, etc.

I've tried reinstalling folcolor 4 times now, and so far have noticed a slight success. i can now change folder colors on my local PC, however it still doesn't do anything on the network drive. keep in mind, the 'network drive' is just a network-accessible hdd on my other windows 10 PC, which i also installed folcolor on to see if that would help resolve the issue. still no luck.

Ahh okay, I think this is the same as this #15 that was recently reported.
I'll have to investigate why it doesn't apply to mapped drives.
Please read that issue and look at his solution (albeit tedious) as a temporary one for now.

his mapped drive was in Linux, whereas mine is windows. also, this DID work for a period of about 5 hours, so i think there's likely something else at play here given the fact it worked initially... strange indeed.

So, it just started working again this morning. didn't change a thing, didn't even restart the computers. I don't want you to go chasing ghosts, so ill close this issue, but thank you for your time and responses!

Strange okay. If anything I'd think it's a rights issue. The right to create files (the "desktop.ini" special normally hidden files) and set the file as "system".
So it must become network rights vs just local rights.
I don't doubt you or the other user have/had the problem.
I have yet to setup for it.
I wonder it could be a Windows update thing.
Did you get a Windows update recently? It could have been a change that was introduced in one last month, then a new update might have fixed it. One possibility anyhow.


🚀[FEA]: De-duplicate distributed utils between AFNO and SFNO

Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem you would like to solve.
AFNO and SFNO share a lot of distributed utilities. Currently, these are duplicated. Would be good to consolidate both versions into a single version. See https://github.com/NVIDIA/modulus/pull/104#discussion_r1296538230
Describe any alternatives you have considered
No response

Closing since SFNO is no longer in Modulus and distributed utils have been added to Makani


AOBJ	Archiving Object

Database table: ARCH_OBJ + other?
define via transaction AOBJ
function modules:
ARCHIVE_OBJECT_GET
ARCHIVE_OBJECT_CREATE
ARCHIVE_OBJECT_DELETE
ARCHIVE_OBJECT_STRUCTURE_SET
function group ARGN

if anyone wants to make a PR, this looks like a quite easy task
just add a comment here if somebody starts working on it

I'll do this at the weekend

@bigld do you have a custom archive object that you could add to https://github.com/abapGit-tests/AOBJ.git for testing?
Thanks!

Hi @mbtools and @larshp ,
Sorry for throwing a spanner in the works. But SAP is currently also working on an AOBJ handler for abapGit, however with a JSON-based format based on AFF (see https://github.com/SAP/abap-file-formats ). We should avoid creating 2 incompatible formats that would need to be aligned afterwards. At least we should discuss the options. What do you think?
Thanks, Christoph

@xtough I'm not clear about the release compatibility of AFF. Will the JSON version also work with all lower releases supported by abapGit? >=702

@mbtools I see your point. There is no easy answer to that. Please bear with me for a few more days until I had a chance to talk to some colleagues that are currently on vacation.

Hi @mbtools ,
sorry for the late response. The short answer is "yes", it is possible to use JSON based metadata also lower releases like 702, as shown recently with the experimental handler for INTF in #5658 . A handler just has to support the format as described in AFF, but does not necessarily have to depend on the AFF framework, which is obviously only available in newer releases. This even makes it possible to reuse the type interfaces like https://github.com/SAP/abap-file-formats/blob/main/file-formats/aobj/type/zif_aff_aobj_v1.intf.abap for AOBJ. Of course, the JSON-based format proposal for AOBJ currently focused on cloud features but missing older features can be added incrementally in a compatible way.
Cheers, Christoph


[Question] Bot hosted using IIS responding with 500 Internal Server Error

System Information (Required)

SDK Language: .NET/C#
Development Environment: BOT Emulator

Issue Description
I used IIS to create a link to my bot like so: https://localhost/MyBot . This link works fine and I can use it to view the default.htm file that was generated when I published my bot to the file system. Now I am trying to test my connection by using the bot emulator and I continually see this error:

I think I am misunderstanding something crucial...?
Expected Behavior
A response from my bot when I say hello.
Actual Results
405 error...

What PORT number is your app running on? Did you include the port number in the URL in the emulator config?

@nwhitmont The Port Number is 443 (https) but I used IIS so I am able to access it by just using https://localhost/MyBot

500 error generally means there is a problem with your bot code. What happens when you run the bot code not on IIS? Do you have any errors?
Can you share your bot code?

I don't think its a bot code issue, I currently have the bot running smoothly on Azure and I can talk to it on Teams. I am trying to test out deploying it using IIS though. I tried using ngrok and now I am getting a 404 error when I send POST messages to it. Here is the file structure that was generated when I published the bot:

Here is the current error:

@nwhitmont I removed the App ID and Password and the Internal Error went away, but I am still seeing a 404 error :

The 404 error is a client error which means there is likely a problem with your bot code.

https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
https://docs.microsoft.com/en-us/iis/publish/using-web-deploy/introduction-to-web-deploy

I'm not sure how I could have an Issue in my code. I republished it to my Azure bot service and tested it out on MS Teams and it works fine...Is there a resource with a step by step instruction on how to publish a bot using IIS? I have found resources but they are vague, and don't describe how to properly deploy a bot in this way.

@nwhitmont  Okay now I am getting a 405 error, which means its not recognizing POST? Could this be because of the default.htm file? Thanks for the help again. I am a really new to web deployment and the bot framework

Looks like you are getting some assistance on Stack Overflow. Closing as duplicate of https://stackoverflow.com/questions/44932843/post-500-error-bot-emulator-localhost


Automate software packaging and distribution.

We need to focus on delivering software.

totally agree that we need automated dist builds. but when you mention distribution... what do you want to distribute? this repo is focussed on the library and CLI - but it seems like package manager users would be more interested in the python library, the GUI, other wrappers? Could you say more about what you have in mind?


Allow for multiple configuration

It would be fantastic if we could add multiple 'repositories' configurations to group the repo's, each with a different SVG graph output, so we could see contributions per team.

I think that can be be supported by making the herdstat GitHub action accept the path to the configuration file. That would allow you to invoke the action multiple times in workflow (with different repositories to be analyzed and output path for the contribution graph SVG).


[Bug]: [sensors_plus] [Wear OS] [Health Services] Issue receiving data in the background

Platform
Wear OS 3
Plugin
sensors_plus
Version
2.0.1
Flutter SDK
3.3.8
Steps to reproduce
To see it work:

Run sample app without listening to accelerometer stream
Place hand over watch screen to enter ambient mode
See that health data comes in normally in the background

To see it not work:

Run sample app with listening to accelerometer stream
Place hand over watch screen to enter ambient mode
See that health data does not come in at regular intervals in the background

Code Sample
https://github.com/Sentinel-Occupational-Safety/wear_os_background_data_test
Logs
Doesn't seem like there's anything useful and the content was too long to fit in here
Flutter Doctor
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-arm, locale en-US)
    • Flutter version 3.3.8 on channel stable at /Users/rexios/dev/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (8 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/rexios/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /opt/homebrew/Cellar/openjdk/19/libexec/openjdk.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Homebrew (build 19)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (3 available)
    • Google Pixel Watch (mobile) • <IP_ADDRESS>:5555 • android-arm    • Android 11 (API 30)
    • macOS (desktop)             • macos             • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm
    • Chrome (web)                • chrome            • web-javascript • Google Chrome 107.0.5304.110
    ! Error: Aaron’s iPhone is busy: Waiting to connect and unlock the device. Xcode will continue when Aaron’s iPhone is finished. (code -10)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Well this issue didn't magically resolve itself yet

🫥


Lross 4 public use; make package; make install

With this pull request it is even easier to install FileIO
Example of installation
cd DeathKnell
cd 3rdparty
unzip gtest-1.7.0.zip
cd ..
mkdir build
cd build
cmake ..
make -j

Executing the unit tests
./UnitTestRunneer

Installing
sudo make install

Alternative on Debian systems
make package
sudo dpkg -i DeathKnell-<package_version>Linux.deb

Contents can be viewed with
sudo dpkg ---contents DeathKnell-<package_version>Linux.deb

Metadata can be viewed with
sudo dpkg ---info DeathKnell-<package_version>Linux.deb

👍

👍


watch folder

work around for watching folder

Works great! Thanks a lot =)

Directories can be watched as of #446


systemd hangs and drops ssh connection

Windows Version
10.0.22635.2483
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Ubuntu 20.04
Other Software
Docker version 24.0.6, build ed223bc
Repro Steps
I initially started trouble shooting this as a freezing SSH problem (server on WSL with remote windows client using ssh keys to connect). However, as I tried different /etc/ssh/sshd_config parameter settings on the WSL server I realized that systemd would hang every time that I lost an ssh connection. meaning, I'd lose connection, come over to the WSL vm machine and make a change in \etc\ssh\sshd_config for debugging. After saving the file I discovered that any command for systemd could log up the terminal (e.g sudo systemctl status, or sudo systemctl restart sshd, or sudo systemclt status sshd). Eventually the systemd commands would timeout and then I would be able to execute them immediately. It behaved as if some watchdog found that systemd was hung and would reset it. I'd then reset sshd and continue debugging my freezing SSH connection. I finally realized that systemd freezing may be the root problem. It freezes every time I lose my SSH connection (within 2-3 minutes of getting it established).
Steps to reproduce:
Set wsl2 networking in the "mirrored" mode
configure sshd_config in ubuntu with the following,
Include /etc/ssh/sshd_config.d/*.conf
Port 22
LoginGraceTime 0
MaxSessions 2
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 100
AcceptEnv LANG LC_*
Subsystem       sftp    /usr/lib/openssh/sftp-server

In my remote client c:\users<me>.ssh\config file I have the following,
Host <wsl host computer name>
   HostName <wsl host computer name>
   User <me>
   IdentifyFile ~/.ssh/id_ed25519
   ServerAliveInterval 60
   ServerAliveCountMax 10

Note: I've tried different values for ClientAliveInterval, ClientAliveCountMax, ServerAliveInterval, and ServerAliveCountMax. Doesn't seem to make a difference.
Expected Behavior
SSH to connect and not freeze. For systemd to not freeze.
Actual Behavior
I lose SSH connections in to WSl from a remote machine and systemd is frozen on the WSL server every time I lose the SSH connection. (Connections usually only last for 2-3 minutes)
Diagnostic Logs
No response

Could you please follow the steps below and attach the diagnostic logs? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues

diagnostic logs as requested.
WslNetworkingLogs-2023-10-26_20-50-31.zip

After some more testing... the problem seems tied to Docker Desktop somehow. I found that I could not reproduce the problem when Docker Desktop was not running.

Thanks for the information. Were you able to reach out to the Docker folks to see what was happening?

I filed this with the Docker Desktop team and will add any updates to this thread once they're available!

Hey @joehays,
We added support for WSL mirrored mode networking in Docker Desktop 4.26 (requires WSL v2.0.4 and up).
https://docs.docker.com/desktop/release-notes/#4260
If you could please give it a try, we would appreciate any feedback.


Cleanup Policy Compact + Delete

Kafka has three cleanup policies, namely delete (default), compact, and compact,delete. The docs always only talk about delete and compact and even state that these are the only allowed values for a Kafka topic, which is not correct (emphasize mine):

A string that is either "delete" or "compact" or both.
— Kafka Documentation cleanup.policy

The documentation should be updated to reflect this.

Just tried to ran it with the current Aiven version but it failed:
Error: 400: {"errors":[{"message":"Invalid input for cleanup_policy: 'compact,delete' is not one of ['compact', 'delete', None]","status":400}],"message":"Invalid input for cleanup_policy: 'compact,delete' is not one of ['compact', 'delete', None]"} -

So maybe Aiven itself does not even allow for the combination?

@Fleshgrinder our back-end team is right now working to support compact,delete / delete,compact, and when it is deployed, we will update Terraform documentation accordingly.


Sparse fieldsets not working with included relationships

Sparse fieldset requests don't seem to be working with included relationships... /api/v1/images?include=places&fields[places]=name,slug returns all attributes for places, instead of just name and slug, as JSON:API specifies here.

@hayespdx can you confirm which package you are using - the legacy cloudcreativity/laravel-json-api package, or the newer laravel-json-api/laravel package?

I'm using the newer one, so this was a mistake! Sorry. I've opened the issue in the right place now, so feel free to close/delete this.

Thanks for opening in the other repo!


feat: pgn import

Import a pgn game position
Be able to select a file to import as a new game position

Hello, I will try this, if it's ok.


"Pool shutdown unexpectedly"

Getting a Pool shutdown unexpectedly error when gracefully stopping the actor system. We should probably document what can trigger this in https://pekko.apache.org/docs/pekko-http/current/troubleshooting ?
[my-system-pekko.actor.default-dispatcher-23] INFO org.apache.pekko.actor.CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
Aug 19 15:05:14 server generate-stats-start[1196329]: [ERROR] [08/19/2024 15:05:14.645] [my-system-pekko.actor.default-dispatcher-6] [pekko://my-system/system/pool-master] connection pool for Pool(shared->https://purchase.izettle.com:443) has shut down unexpectedly
Aug 19 15:05:14 server generate-stats-start[1196329]: java.lang.IllegalStateException: Pool shutdown unexpectedly
Aug 19 15:05:14 server generate-stats-start[1196329]:         at org.apache.pekko.http.impl.engine.client.PoolInterface$Logic.postStop(PoolInterface.scala:224)
Aug 19 15:05:14 server generate-stats-start[1196329]:         at org.apache.pekko.stream.impl.fusing.GraphInterpreter.finalizeStage(GraphInterpreter.scala:614)

AFAICT I've consumed all response entities.
(the code is at https://codeberg.org/eicas/admin-sync/src/branch/main/Zettle.scala - warning, quick hacks ahead :) )

AFAICT I've consumed all response entities.

In this code https://codeberg.org/eicas/admin-sync/src/branch/main/Zettle.scala#L62-L63
if (r.status != StatusCodes.OK)
  throw new IllegalStateException(s"Zettle returned status ${r.status}")

you are not consuming the response, if the status is not OK...


ExtractorAssignmentPattern elisions

The ExtractorAssignmentPattern grammar includes elisions inside parameter lists, but it's a cover grammar for which the original grammar doesn't allow elisions, so one can't actually use elisions here. What is the intent here?

Ultimately, the choice for Elision may depend on the direction of the Discard (void) Bindings proposal, and as such may change in Stage 2 to match.

Essentially, there are two options to consider:

Remove Elision from ExtractorAssignmentPattern and instead depend on discards from the Discard (void) Bindings proposal.
Introduce Elision into a cover grammar for Arguments.

Ultimately, the choice for Elision may depend on the direction of the Discard (void) Bindings proposal, and as such may change in Stage 2 to match. We could always choose to follow (2) here, since we will want to support (1) regardless.


Tips if INLP projections go to near zero?

When I run INLP, sometimes it ends up zeroing out the entire representation, rather than only removing the relevant information.
The first iteration is a reasonable projection (with average size 0.001), but thereafter, the average is near 0, like 1e-19. Visually, it seems that the representation after the first iteration could still be further collapsed without zeroing it out. Does anything come to mind?

I don't remember encountering such problem.
It may be related to the classifier you're using and the regularizer coefficient. If it's too large, the loss may drive the weights to near zero.
If indeed you're using such regularizer, try changing it's values (as a first step try to remove it completely).
If this doesn't work, try using other linear classifiers (we mainly played around with SGDClassifier, LogisticRegression and SVC).
Do follow up if it still doesn't work.


don't play in background

hello, i use audioplayers plugin. I play audio in background (screen off), i have set stayAwake = true. But play next music about 2-3 songs ( about 3 minute/song) was stop play until srceen on. Help me fix this issue. Sorry my english is bad

same

same

I wanted to take a log and check if the playerCompleteSubscription itself did not work or if the function I put in it did not work.
However, it works well while the device is connected to computer and running.
This issue occurs if i do not use debugging mode and only run it using the device.
Is the background function not perfect?
What's strange is that the app isn't completely turned off, but if I just turn the screen back on, it's going to call the next song.

To properly play audio in the background, the audio_service plugin can be used alongside audioplayers: https://pub.dev/packages/audio_service


Component: Teaser

[ ] decide which teasers should be in the design system

Figma
https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=16729%3A53258&mode=design&t=i6IlqbsNcGrr8I6l-1
POP
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=2%3A4960&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=2%3A902&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=1%3A2&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=85%3A2569&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=561%3A7172&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=562%3A8049&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=560%3A6467&mode=design&t=pzgyOljD1p9V76bV-1
https://www.figma.com/file/Uwug646a2z3s5Qwa2CZ4vV/POP-Design-System?type=design&node-id=303%3A5749&mode=design&t=pzgyOljD1p9V76bV-1
Dev
https://next.design-system.post.ch/?path=/docs/components-topic-teaser--docs
Doc
https://www.experience-hub.ch/document/2803#/organisms-module/teaser

Closing as won't implement in v1


Add a PDF target

As things stand it's kind of annoying to read the spec if you've just found the GitHub repo: you have to either

read the Markdown file on GitHub (which means looking at unrendered LaTeX), or
clone the repository and build the HTML target yourself (inconvenient, requires installing pandoc).

This is made much easier by checking in a pandoc-generated PDF file, which GitHub is happy to render, math and all. The line in .gitattributes is to stop Git from printing diffs to this file.
Doing this means we have to be careful to keep the pdf in sync with the Markdown original, but that's straightforward to automate with a Git pre-commit hook.

LGTM. I'm going to squash this one to avoid the blob.

Ok, I rigged up a GitHub action to build the PDF. I haven't actually configured GitHub pages, but I added a direct link from the README to the PDF for now.


bugfix: deno assumes relative path for worker

Looks like Deno resolves the cwd for worker files. This means that Deno looks for writeWorker.ts in the consumer's folder rather than casualdb.
This PR updates the path for the worker file to be picked up from package's folder rather than the consumers.
Notes

https://stackoverflow.com/questions/61829367/node-js-dirname-filename-equivalent-in-deno
https://github.com/denoland/deno/issues/2745
https://discord.com/channels/684898665143206084/689420767620104201/719594785756807180

@all-contributors
Please add @abinavseelan for code, docs, ideas.


Add option to have source files (and compilation steering) in subdir

So e.g. Gruntfile.js, package.json, ... are all in a subdirectory. If that subdirectory is set and not equal to the theme directory => delete that directory in themeClean.

See https://github.com/digipolisgent/robo-digipolis-package-drupal8/issues/6


ADD GITIGNORE

ipynb checkpoint shouldn't be pushed in repo. Better to add .gitignore files

even py_cache files and .pyc files should be ignore while pushing into repo

Okay will do it


[tool_crash] FileSystemException: Creation of temporary directory failed, OS Error: Access is denied., errno = 5

Command
flutter run

Steps to Reproduce

...
...
...

Logs
FileSystemException: Creation of temporary directory failed, OS Error: Access is denied.
, errno = 5
#0      _Directory.createTempSync (dart:io/directory_impl.dart:170:7)
#1      ForwardingDirectory.createTempSync (package:file/src/forwarding/forwarding_directory.dart:28:21)
#2      LocalFileSystem.systemTempDirectory (package:flutter_tools/src/base/file_system.dart:236:46)
#3      ForwardingFileSystem.systemTempDirectory (package:file/src/forwarding/forwarding_file_system.dart:33:49)
#4      new ResidentRunner (package:flutter_tools/src/resident_runner.dart:1110:24)
#5      new HotRunner (package:flutter_tools/src/run_hot.dart:104:9)
#6      RunCommand.createRunner (package:flutter_tools/src/commands/run.dart:659:14)
<asynchronous suspension>
#7      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:798:35)
<asynchronous suspension>
#8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1394:27)
<asynchronous suspension>
#9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
<asynchronous suspension>
#14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)

[✓] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.19045.4842], locale en-US)
    • Flutter version 3.22.2 on channel stable at D:\Users\ogola\FlutterApps\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 months ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\capta\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.8.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.8.34309.116
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[✓] Android Studio (version 2023.3)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)

[✓] VS Code, 64-bit edition (version 1.85.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.94.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.4842]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 128.0.6613.86
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 128.0.2739.42

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 761747bfc538b5af34aa0d3fac380f1bc331ec49
Plugins
path_provider-2.1.4
path_provider_android-2.2.10
path_provider_foundation-2.4.0
path_provider_linux-2.2.1
path_provider_windows-2.3.0
url_launcher-6.3.0
url_launcher_android-6.3.9
url_launcher_ios-6.3.1
url_launcher_linux-3.2.0
url_launcher_macos-3.2.0
url_launcher_web-2.3.3
url_launcher_windows-3.1.2

Hi @ogolaSospeter,
Do you get this error every time consistently upon running flutter run ?
Can you check if temporary directory is read only instead of writeable ? If so, try making it writeable and re-run to check if it resolves the crash or not.


assets\javascripts\bootstrap files missing official header script

If you look at the official pre-bundled assets\javascripts\bootstrap.js file the very first section contains the official bootstrap header comment and the jQuery requirement check and the jQuery version check.
This javascript code is not included in the assets\javascripts folder or the bootstrap sub-folder so even when correctly bundling the individual files in the correct order you do not end up with an identical bootstrap.js file because it is missing the jQuery requirement check and the jQuery version check.
I was able to work around this by creating a 'header.js' file and putting it in my own assets folder (outside of the bootstrap-sass assets folder). Then using 'gulp-concat' I combined my file with the files from the bootstrap-sass assets folder.  Here is an example of the 'header.js' file I created and how I did this in my 'gulpfile.js'.
header.js
/*!
 * Bootstrap v3.3.6 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under the MIT license
 */

if (typeof jQuery === 'undefined') {
  throw new Error('Bootstrap\'s JavaScript requires jQuery')
}

+function ($) {
  'use strict';
  var version = $.fn.jquery.split(' ')[0].split('.')
  if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {
    throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')
  }
}(jQuery);

gulpfile.js
var gulp = require('gulp');
var plumber = require('gulp-plumber');
var concat = require('gulp-concat');

var BOOTSTRAP = [
  '/assets/js/bootstrap/header.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/transition.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/alert.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/button.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/carousel.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/collapse.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/modal.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/popover.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/tab.js',
  '/lib/bootstrap-sass/assets/javascripts/bootstrap/affix.js'
];
gulp.task('javascript:bootstrap-concat', function () {
    return gulp.src(BOOTSTRAP)
      .pipe(plumber())
      .pipe(concat('bootstrap.js'))
      .pipe(gulp.dest('/js'));
});

As you can see I now have to maintain that header to have my 'javascript:bootstrap-concat' gulp task create an identical version of the pre-bundled 'bootstrap.js'.  I did this as a requirement so I know I am building the full 'bootstrap.js' file correctly.  From here I can then modify the BOOTSTRAP array to only include the bootstrap features I plan on using and reduce the overhead of my applications page request size.
Would it be possible for you guys to include this 'header.js' file (or whatever name you want to give it) as an official javascript file in the repo so that when someone like myself manually bundles the javascript files it has the missing jQuery requirement check and the jQuery version check at the top?

Please file JavaScript issues upstream at https://github.com/twbs/bootstrap/issues since they're not Sass-specific. Thanks.


Internal search fails on null value

Hello,
I recently found this lib, and it's really great.
However, I found a little bug, which is just a missing fail-safe.
I use object options, and one of my options is { code: null, label: null }.
When I typed a letter for the search filter, I had a big fail in the console saying that the label is null (which is true...).
I think it could be nice to have a test to ignore null values when filtering.
Since then, I cleaned my list of options... but I spent a long moment to find out what was wrong.
Thanks

Hi! I am not the maintainer of this component, but it seems that having an error for non-existent labels is actually the way to go. You should never have null as some value, that is supposed to be unique. For that matter, you shouldn't use booleans for such things either...
So, probably changing this to a warning or removing whatsoever is not the way to go, if you want to have clean code on the user side :)

Actually, the null option doesn't appear visually into the list. Or maybe, as there is no value to display, it is there but we can't see it.
Since I removed the null value from my request, I don't really want to go back on my previous code, so I can't check.
I agree that we should never have null values. However, I think the search functionality is a side feature of the select and shouldn't block.

@Maze-fr I'm having trouble replicating this - can you build a simple example in a repo or a code platform like https://jsfiddle.net/mattelen/8cyt3hrn/4/. Thanks

It was 2 years and a half ago...
Since then, I went on many other projects, changed company, etc.
I don't even remember the context...
Sorry.


js: Break cyclic dependency b/w top_left_corner and unread_ui.

This PR breaks the cyclic dependency between top_left_corner.js and unread_ui.js.
It achieves this by shifting the animate_mention_changes function from unread_ui.js to top_left_corner.js, which was the only function required from unread_ui.js and was independent of other functions as well.
CZO Link

Self-review checklist

[X] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[X] Each commit is a coherent idea.
[X] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks good to me, marked to merge once CI passes after replacing b/w with between -- we don't use abbreviations/shortenings like that anywhere in the project.

Thanks for reviewing my work. :heart:
I will fix the abbreviation and push it and make sure to not use it anymore.

Merged, thanks @sbansal1999! It's an important GitHub security measure that when someone who's not a maintainer pushes, it disables auto-merge -- ensures everything that gets merged is reviewed. (I'd used the "squash and merge" feature to rewrite the commit message, so there was no need for you to do anything in this case).


Update ODD meetings

This PR updates the date for the February ODD Thursday.

@rettinghaus If you like, you may merge this one :)

My pleasure.


Show text button on PasswordBox gone after losing focus

Describe the bug

After entering text in the PasswordBox and leaving the PasswordBox (e.g. click in the other PasswordBox), reentering the PasswordBox does not show the "Show text" button.
Steps to reproduce the bug

Steps to reproduce the behavior:

Go to PasswordBox page
Enter text into one of the Password boxes
Click in the other Passwordbox
Click in the PasswordBox from step 2

Expected behavior

The "Show text" button is there
Actual behavior

The "Show text" button is not visible and cannot be clicked
Screenshots

Version Info

Gallery version (found on Settings page):

<IP_ADDRESS>
Windows 10 version:

[x] Insider Build (xxxxx)
[ ] May 2019 Update (18362)
[ ] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context

This is probably a bug in WinUI.

Closing this as this seems to be the normal behavior for such controls.


Network path for loading certificate

Hello
Could you please confirm what network path is taken from the ASE to the KeyVault - if I have a UDR configured for the subnet that the ASE is in, does this call to the KeyVault respect the UDR, or ignore it?
Thanks

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

ID: 8bc5f9fe-cf6a-d250-f263-f97cfeea02f4
Version Independent ID: 88e20bef-6a3c-7a16-06ff-8d6559c08ae1
Content: Configure custom domain suffix for App Service Environment - Azure App Service Environment
Content Source: articles/app-service/environment/how-to-custom-domain-suffix.md
Service: app-service
GitHub Login: @seligj95
Microsoft Alias: jordanselig

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

@matthewjward we are in progress of moving this from public path to route the request through the vnet (and calls would then respect the UDR). Currently around 70% of all ASEs will use vnet path - we should reach all instances beginning of March and we will change the documentation by then.
If you need to know if a specific instance is using the vnet network path, you can go to a site in the ASE and open the Advanced Tools site. In the environments tab you'll find a variable with the version - Linux it is called PLATFORM_VERSION, Windows is called WEBSITE_PLATFORM_VERSION. If it starts with 100, it is using public path. If it starts with 101 it is using vnet path.
Thanks.

Ok, thank you for this. We actually lost a lot of time this week as our production ASE behaved differently to our non-prod ones. Our non-prod ASEs were using the documented public path, but the prod one seemed to be trying to go private. Your explanation makes perfect sense, but beware people are being affected!

To further clarify on this change in behaviour.
When taking the new vNet path, will the vNet's DNS custom configuration be honoured and therefor it's possible for the Key Vault reference to work via Private Endpoint?

To further clarify on this change in behaviour.
When taking the new vNet path, will the vNet's DNS custom configuration be honoured and therefor it's possible for the Key Vault reference to work via Private Endpoint?

Yes


Rainbow eyesore in psych engine

What is your question?
How i make a rainbow eyesore in psych engine? I don't know code. Please For 0.4.2 Source

you have to know how to download shaders which you need to know code to do

you have to know how to download shaders which you need to know code to do

they removed shaders sadly.

the label 💀


Upgrade Redmine to 5.0.6

Redmine 5.0.6 has been released.. https://www.redmine.org/news/141

done


hygieia core model change is not considered in feature collector build

I have made changes to feature model in hygieia core to add priority and severity fields. Build of Hygieia core is successful. SNAPSHOT of core jar got created.
While compiling feature-collector new attributes of feature model is not resolved and compilation error is thrown.

modifying jira-feature collector pom file to explicitly defining com.capitalone.dashboard version as 3.1.0-SNAPSHOT resolved the compilation issue.


Speed Decrease with Upgrade to Tensorflow 1.9

After upgrading to Tensorflow 1.9 I'm seeing a serious speed decrease in this codebase (roughly 2x slower). Is anyone experiencing the same issue?

You might need to compile with proper SM architecture in set_up.py file.


add TheAnimation by @marty-suzuki

Project URL

https://github.com/marty-suzuki/TheAnimation
Category

UI
Description

Type-safe CAAnimation wrapper. It makes preventing to set wrong type values.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

1727
301
https://github.com/zucchini-src/zucchini redirects tohttps://github.com/lxmx/zucchini

  Generated by :no_entry_sign: Danger


Unity requires reboot before tracking works again

Not sure if this is a known issue, but for me Unity requires a reboot after running the scene once before it establishes tracking again.

There was an existing issue about this very problem that I just resolved with this fix. Basically there was a small bug in the new PS3EYEDriver code that caused the camera to not reset some state when the camera was closed. See PS3EyeDriver PR for details if you're curious about that. Some questions for you:

Have you synced the latest version of PSMove-Unity5?

This fix went in Feb 4

Which version of windows are you running?

Win7 has sometimes been flaky for me with regard to handling of libusb camera support. I test mostly on WIn10 at home.

With unity closed, can you start and stop the ps3eye_sdl.exe multiple times without issue?

Have you synced the latest version of PSMove-Unity5?
This fix went in Feb 4
I should be, downloaded yesterday.
Which version of windows are you running?
Windows 10
With unity closed, can you start and stop the ps3eye_sdl.exe multiple times without issue?
I can start and stop it multiple times with no issue, running more than one instance causes some weirdness though.
Also, rotation seems to be mirrored in Unity (point it forwards and it rotates backwards). That might have something to do with me not using a rift atm.

Ok bummer. This does sound like a new issue. I wonder if the worker thread is getting stalled out trying to shutdown the camera between runs. What does your console say between runs. Mine looks like this every start and stop game cycle:
Started Game:

Setting up PSMove Tracking Context
PSMove tracker initialized.
Camera Dimensions: 640 x 480
PSMove fusion initialized.
PSMove Controllers count changed: 0 -> 1.

Stopped Game:

Tearing down PSMove Tracking Context
Disconnecting PSMove controller 0
PSMove fusion disposed
PSMove tracker disposed

I could add an option that would allow the camera running between game sessions since it's just a background thread. That wouldn't be a fix exactly but it would work around the issue.
As for the orientation thing, what HMD type are you using? I've never tried testing this plugin with anything by my DK2 at home. I could certainly add an HMD type option that changes how the orientation quaternion returned from psmoveapi is treated.

Started Game:

loaded lib Assets/Plugins/x86_64/psmoveapi.dll
loaded lib Assets/Plugins/x86_64/psmoveapi_tracker.dll
Setting up PSMove Tracking Context
PSMove tracker initialized.
Camera Dimensions: 640 x 480
PSMove fusion initialized.
PSMove Controllers count changed: 0 -> 2.

Stopped Game:

Tearing down PSMove Tracking Context
Disconnecting PSMove controller 0
Disconnecting PSMove controller 1
PSMove fusion disposed
PSMove tracker disposed

Second time running:

loaded lib Assets/Plugins/x86_64/psmoveapi.dll
loaded lib Assets/Plugins/x86_64/psmoveapi_tracker.dll
Setting up PSMove Tracking Context

So it seems it doesn't get past setting up the Tracking Context the second time around. I think running it between sessions is a fine temporary (Or honestly, even permanent) solution.
As for the mirrored rotation, that was a fault on my end. I miscalibrated somewhere along the ways and then tried to fix it in game by mirroring to quaternion, after fixing the calibration I forgot to remove the mirror of the quaternion.

Ah ok. Sorry I misunderstood what you meant by "not using a rift". I gave this use case a try (by disabling my rift) but wasn't able to repro you issue in that fasion either. Good to know about the orientation stuff though. One less thing to worry about.
As for the persistent tracking context stuff, I made a large refactor to allow tracker remain active between game runs. Sadly I found out that even if you have a singleton class with your state that persists after you stop the game, Unity will reset that state the next time you start the game (including any threads you had active). Apparently this is problem other people have hit trying something similar (editing state in game and having it persist into the editor and into the next game run). It's possible to serialize state across the restart boundary in some cases, but in this situation I have DLLs that get unloaded too which borks the tracking state. So basically that option is out. However I was able to pull back from this larger change and clean up the worker thread code and hopefully make it a bit more reliable. I have that change checked into a new thread_refactor branch here:
https://github.com/brendanwalker/psmove-unity5/tree/thread_refactor
Would you mind pulling down the build from that branch and seeing if that fixes your problem?
I should also mention that I'm working with cboulay (author of psmove-ue4) to make the psmove stuff hosted in a windows service. The game client will connect to this service over a socket. This allows the service to maintain camera and tracking state independent of game client starting or stopping. It would fix the problem you are seeing here. However, while progress is going well with that, we are at least a month out from anything publicly testable.

Thanks! That appears to have fixed it!

Sweet! Glad to hear that worked for you. I'll merge this back up to master and close this issue.


Async initialization

The example presented in this document simply sets an access token to a connection in DbContext constructor. It mixes sync and async code by calling Task.Result. Isn't that a pretty bad code smell?
There is a note telling "This demonstration code is synchronous for clarity and simplicity" but I'm not looking for clarity and simplicity - I'm looking for instructions how to properly configure this in production. Could you please update the documentation regarding the issue?

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

ID: 31b0d33c-f88e-d50c-2926-7933940f3b92
Version Independent ID: 4aaef906-f501-6947-5d23-1b704470f09d
Content: Secure SQL Database connection with managed identity - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-connect-msi.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

@nikoudel Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

This adds more light to the issue: https://github.com/aspnet/EntityFrameworkCore/issues/13261

@nikoudel for EF 3.0 I've successfully used a custom interceptor that overrides the async "connection opening" event, acquires a token asynchronously and sets it to the connection after casting. https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.diagnostics.dbconnectioninterceptor.connectionopeningasync?view=efcore-3.1#Microsoft_EntityFrameworkCore_Diagnostics_DbConnectionInterceptor_ConnectionOpeningAsync_System_Data_Common_DbConnection_Microsoft_EntityFrameworkCore_Diagnostics_ConnectionEventData_Microsoft_EntityFrameworkCore_Diagnostics_InterceptionResult_System_Threading_CancellationToken_
What I like about this approach, in addition to the fact that it addresses the mix of sync and async, is that the interceptor is added in the same place where the use of SQL is configured when registering the context.

Thanks @fsimonazzi for contributing to the discussion. Since there's an offered answer and since this is a .NET Core discussion (out of scope for App Service docs), #please-close


⚠ TorrentLeech has degraded performance

In 1ead883, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 1631 ms

Resolved: TorrentLeech performance has improved in 1987371.


Telegram Sentiment Analysis API

Summary
To enhance our understanding of user sentiment within Telegram channels and private messages, we propose the development of a feature that scrapes Telegram messages and performs sentiment analysis on the collected data.
Goals

Scrape messages from specified Telegram channels and private chats.
Analyze the sentiment of the messages to gauge user sentiment trends.
Provide insights that can help in community management and marketing strategies.

Requirements

Develop or integrate a Telegram bot capable of reading messages from channels and private chats.
Ensure compliance with Telegram's API usage policies and data privacy regulations.
Implement a sentiment analysis model or use a third-party service to evaluate message sentiments.
Store the results in a structured format for further analysis and reporting.

Potential Challenges

Ensuring the bot only operates in channels and chats where it has explicit permission to scrape messages.
Dealing with various languages and the nuances of sentiment analysis.
Managing the volume of messages and the performance of the sentiment analysis process.

Compliance and Security

Review and adhere to Telegram's API terms and privacy policies.
Ensure that user consent is obtained before scraping private messages.
Implement data encryption and secure storage practices for sensitive data.

Resources

Telegram Bot API Documentation
Sentiment Analysis Libraries/Services

Acceptance Criteria

The bot can scrape messages from Telegram with user consent.
Sentiment analysis is performed accurately on the scraped messages.
Insights and sentiment trends are reported in an accessible format for stakeholders.

not part of the sprint yet - unassigning @nolanjacobson  and moving back to No status as waiting for grooming

This is actually blocked by #312


Enable fork feature to open the contribution.

The Fork feature will enable the community to fork the project and push back as a PR for any contribution.
@tapas4java

Thanks, @smartechie-repo for the suggestion. If already logged in, should see the Fork option enabled. Let me know if that's not the case.


Question

could i update the antidbg? and add some features to the antidbg

Feel free to submit a pull request with any useful changes or fixes; I'll gladly review it and (maybe) accept it. If your contributions focus on enhancing the project without personal gain, your pull requests will be appreciated.

aight, gotchu. ill implement the simpler antidbg which is on my profile that lowered detection rate, the other versions on it are yk. for products like hiding threads from debugger which can be still be bypassed but, i dont plan adding like check isremdeb present or is deb present to the simpler one ill fork rn and start working on it.

Blocks over 50+ popular debugging software.
Blocks IsDebuggerPresent.
Prevents debuggers and traffic debuggers.
Detects and kills blacklisted processes.
Detects windows associated with debugging tools.
Checks system uptime and running processes.
Checks disk size, RAM, and number of processors.
Verifies GPU information.
Performs IP check against a blacklist.
Lowers VirusTotal detection to 2/72.

if you want to check it out : https://github.com/EvilBytecode/Anti-Debug
it can be usefull if you will ever sell your product. anyways ill do PR.

I merged your pull request. Checking window names to close processes is an excellent approach. Much appreciated!

tysm 👍


ddccontrol-db: 20201221 -> 20210505

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ddccontrol/ddccontrol-db/releases.
meta.description for ddccontrol-db is: "Monitor database for DDCcontrol"
meta.homepage for ddccontrol-db is: "https://github.com/ddccontrol/ddccontrol-db"
meta.changelog for ddccontrol-db is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

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

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

found 20210505 in filename of file in /nix/store/nqcaxb7ib9k9jnrsn608m6mfia56rl4j-ddccontrol-db-20210505

directory tree listing: https://gist.github.com/5ca944a8e23b13f42f9fdcebfaf6f6ec

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

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
ddccontrol
ddccontrol-db

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nqcaxb7ib9k9jnrsn608m6mfia56rl4j-ddccontrol-db-20210505 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ddccontrol-db https://github.com/r-ryantm/nixpkgs/archive/e6e4b984247aa2b47c009c73c5da932e887213af.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nqcaxb7ib9k9jnrsn608m6mfia56rl4j-ddccontrol-db-20210505
ls -la /nix/store/nqcaxb7ib9k9jnrsn608m6mfia56rl4j-ddccontrol-db-20210505/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

ddccontrol
ddccontrol-db

Maintainer pings
cc @pakhfn for testing.

Result of nixpkgs-review pr 121874 at e6e4b984 run on aarch64-linux 1

1 package failed to build:

ddccontrol

1 package built successfully:

ddccontrol-db

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

Changelog looks okay.


isle-buildkit  vs islandora-playbook

@dannylamb
Are we going to target https://github.com/Islandora-Devops/isle-buildkit for building islandora 8. When thats ready, will the ansible playbook be deprecated?
Are we planning on migrating the setup logic in anisble to docker?  Do we loose any functionality in the process (i.e ansible is more readable and easier to troulbeshoot!)?

The committers need to have some say in this. It's just that ISLE isn't done yet, so no one can seriously evaluate it.
Personally, I think once folks try it, we'll quickly move to deprecating the playbook and the roles.  We definitely don't lose functionality, and we actually gain more in terms of setup (e.g. built in proxy frontend, everything's truly decoupled, deploying remotely with docker-compose is sweet) and are really staging ourselves for using Kubernetes, which will elastically autoscale the microservices.  Plus it's about waaaaaaaaaaaaay faster.


GROOVY-9605: leftShift operator does not work on BigInteger (throws U…

…nsupportedOperationException)

Merged!


data/httphandler: add sms_resend_interval to organizations table

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]
Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).
[ ] This PR's title starts with the name of the package, area, or subject affected by the change.

Thoroughness

[ ] This PR adds tests for the new functionality or fixes.
[ ] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[ ] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[ ] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[ ] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[ ] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[ ] This is not a breaking change.
[ ] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr65.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr65.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr65.previews.kube001.services.stellar-ops.com


Format not following vue/html-closing-bracket-newline

.eslintrc.js
"vue/html-closing-bracket-newline": ["error", {
  "singleline": "never",
  "multiline": "always"
}]

setting.json
"[vue]": {
  "editor.defaultFormatter": "Vue.volar"
}

You could change html formatter of volar, see https://github.com/johnsoncodehk/volar/tree/master/extensions/vscode-vue-language-features#credits.