[test] New Slurm setup for Cp2kGpuCheck and new modulefiles

I propose to run the Cp2kGpuCheck with 6 tasks per node and 2 cpus per task, as it is slightly more efficient with respect to the current Slurm setup.
I would also like to test the CP2K modules recently provided with the latest stable release 7.1: however, the new modules are not yet default.
Should we change directly the modules loaded in the existing checks or should we rather create a new set of checks for the new versions with a new variant (e.g. dev) and keep the existing ones for the default modules only?
The latter would be probably a better solution to keep track of the performance of the new vs. old release of applications: the new variant would result in having Cp2kCpuCheck_small_dev, etc...
Please let me know your opinion and I would adjust the checks accordingly.

Hello @lucamar, Thank you for submitting the Pull Request!

In the file cscs-checks/apps/cp2k/cp2k_check.py:

Line 102:36: W291 trailing whitespace
Line 103:35: W291 trailing whitespace

Do see the ReFrame Coding Style Guide

@jenkins-cscs retry dom

The check on dom:mc failed:
Reason: job blocked error: [jobid=1015576] job cancelled because it was blocked due to a perhaps non-recoverable reason: ReqNodeNotAvail,  UnavailableNodes:nid00[002,038-040,043,404-405,418-419]

@jenkins-cscs retry dom

No chance to have 6 mc nodes on Dom:
dom101:~$ scontrol show nodes nid00[000-011,032-043,052-055,404-407,416-419,401-402] | grep -A 5 ActiveFeatures=mc | grep State
   State=MAINT+DRAIN ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=MAINT+DRAIN ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=RESERVED ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=IDLE ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=IDLE ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=IDLE ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=IDLE ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A
   State=MAINT ThreadsPerCore=2 TmpDisk=0 Weight=1 Owner=N/A MCS_label=N/A

Hi @lucamar, is this setup valid also for the default CP2K version? If yes, I would suggest to keep the default module and invoke reframe with -M to map to the new version.

@vkarak Thanks for your comment: yes, the new setup is also valid for the current default module.
Of course we can use the module mapping to test the new module, as I have being doing so far: the only disadvantage is that you need to issue two different commands for gpu and mc checks, since the modules to be mapped are different.
I thought that it would be interesting to keep track of the performance of the new modules of supported applications before changing the defaults: maybe we can find a different way to do that...

@lucamar What if we parametrized the test on the module name?

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1304   +/-   ##
=======================================
  Coverage   91.66%   91.66%
=======================================
  Files          83       83
  Lines       12673    12673
=======================================
  Hits        11617    11617
  Misses       1056     1056

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 dc1d118...c302a4b. Read the comment docs.


[FEATURE] Search with/over task types

Is your feature request related to a problem? Please describe.
Searching is working only with task name ( which is in my case is UUIDs) and I want to search the Type ( which in my case a meaningful name)
Describe the solution you'd like
That searching will work also for Task type
Describe alternatives you've considered
that the user can select either he want to search on names or types

Realy good idea. Searching by task type should show a link to the Explorer filtering this task type, and list the latest tasks of that type


share_plus crashes on IOS

share_plus crashes on IOS.
I tried on actual device(IOS) and simulator.

System info
Issue occurs on: iOS
Plugin name: share_plus
Plugin version: 2.1.4
Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.2, on Mac OS X 10.15.7 19H1323 darwin-x64, locale en-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.57.0)
[✓] Connected device (3 available)
Steps to Reproduce
class Shares extends StatefulWidget {
@override
ShareState createState() => ShareState();
}
class ShareState extends State {
final controller = ScreenshotController();
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Share Plugin Demo',
home: Scaffold(
appBar: AppBar(
title: const Text('Share Plugin Demo'),
),
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(20.0),
child: Column(
// crossAxisAlignment: CrossAxisAlignment.start,
children: [
captureWidget(),
              TextButton(
                onPressed: () async {
                  final image = await controller.captureFromWidget(captureWidget());
                 saveAndShare(image);
                  },
                child: Text("capture widget"),
              ),
            ],
          ),
        ),

      )),

);

}
Future saveAndShare(Uint8List bytes) async {
final directory = await getApplicationDocumentsDirectory();
final image = File('${directory.path}/share.png');
image.writeAsBytes(bytes);
final text = 'Shared ';
await Share.shareFiles([image.path], text: text);

}
Widget captureWidget() {
return Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text("Widget", style: text2(color: gray1),),
],
);
}

Use await on image.writeAsBytes will solve your problem.
But the share still not working. Already tried.

It crashes when I get an image from the library, I'm trying to solve the problem, finally, I find it returns nil when I use the "imageWithContentsOfFile" method. and then it crashes when the array adds the image.

Try to use this instead?
image.writeAsBytesSync(bytes);

Use await on image.writeAsBytes will solve your problem. But the share still not working. Already tried. Just share caption and text, not image. On Android works fine.

Thanks await work for me 👍

Use await on image.writeAsBytes will solve your problem. But the share still not working. Already tried. Just share caption and text, not image. On Android works fine.

Thanks await work for me 👍


Cron lines don't work in production when minutes are "0"

Hey,
I know that the issue sounds a little but strange, but my cron jobs don't work, when I set minutes to "0".
I have a setup with a local Rails 3.0.12 app on OSX Lion in development environment and the online version, which is hosted on a VPS running Ubuntu 10.04.
My task_scheduler.rb has several job runnings, which are always similar to one of the following lines:
scheduler.in '1m' do
scheduler.every '1h' do
scheduler.cron '0 12 * * 1-7' do

The first line is for testing and always works in development as in production mode. The second line with 'every' also works in both environments. The problem I have is with the third line.
In my local development mode the cron task works and does what it should be. But on my production server it is not executed. But after playing around with the code, I found out, that the job gets executed when it's set to another time. So
scheduler.cron '15 12 * * 1-7' do

works just fine. After finding out it's not a problem anymore, but it still seems very odd, which is why I wanted to let you know. And yes, I tested it several times and tried several numbers and really the only line which does not work is when minutes is set to '0'.

Hello,
what Ruby version are you using in production (and in development)?
You have a Rails application but you don't tell what server (Unicorn, Thin, Passenger, ...). What server are you using?
Thanks in advance,
John

I'm using Ruby in version  1.9.2p180 and rufus-scheduler 2.0.16, both local and serverside.
And as a Webserver I use Passenger. I tried some more settings and tipps and found the GitHub Issue #10 with Passenger killing idle processes. I set the idle time to 0 and will look how it evolves.
Maybe it was just a coincidence and passenger is the problem. I will keep you updated.

OK, closing then.
Thanks.


Clarity required on how to use secret variables

The documentation suggests that secret variables are not automatically mapped, and then provides an example, which is rather confusing.
if i have a secret variable called $PASSWORD and i want to consume this in my bash script without changing its name (due to it being referenced in other scripts called by the main bash script), how can i do that?

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

ID: 450ac349-5c33-6cdf-1ecd-6eb989a00334
Version Independent ID: a7119c1a-59b2-3081-a241-e93aa0d6b4b9
Content: Bash task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/bash.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: dastahel

If you don't want to change the name, then just map it with the same name.
- script: echo $PASSWORD
- env:
    PASSWORD: $(Password)

so secret variables are no longer protected once in the script body?
this deviates from standard behaviour of secret variables.  Is there a particular reason why?

so secret variables are no longer protected once in the script body?
Secrets are available as an environment variable once you ask us to map them into an environment variable. That's what the env entry does. (I did have to edit abombss's example since it had an extraneous -.)


Move code related to MFG from stock

Now code of mfg module placed in stock module that not correct.
It should be in mfg.
Help module mfg to be modular , move code from stock module
and put inside mfg it-selves.
If we have to replace some function for stock don't have to worry about mfg module.

yes thank you

in fact, all the barcode_xxx files in stock i think can remove from base modules to make it cleaner, because the same feature can do with normal GI/GR and already have terminal UI that can use from barcode scanners

Thanks for the pull request, but I found some problems with it.
For example the server doesn't even start, for example due to this typo:
https://github.com/nfco/netforce/blob/master/netforce_mfg/netforce_mfg/models/stock_barcode.py#L25
Can you fix this?


Add split and piggy-bank-check icons

Add split and piggy-bank-check icons with round variants.
Additions

piggy-bank-check.svg
piggy-bank-check-round.svg
split.svg
split-round.svg

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Internet Explorer 8, 9, 10, and 11
[ ] Edge
[ ] iOS Safari
[ ] Chrome for Android

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

@dcmouyard could you add the icons to the appropriate section in https://github.com/cfpb/capital-framework/blob/canary/src/cf-icons/usage.md so they'll be displayed in the docs site. A few screenshots in the opening comment would probably help too.

@jimmynotjim I added a screenshot of the SVGs, added the icons to the usage documentation, and updated changelog.

I just noticed that these new icons have empty space on the sides, unlike the existing icons. I’ll get new icons from the designer.

The icons were updated to remove the extra horizontal space.

@jimmynotjim @Scotchester Can someone restart the build test?

Done.

👋
Looks like the NPM token is bad cc @contolini

Can this be merged?

Merging from chat discussion.


Node view synchronizer refactoring

NodeViewSynchronizer is caching ids of modifiers (blocks/transactions etc) asked from network (so only objects requested are expected to be delivered):
private val asked = mutable.MapModifierTypeId, mutable.Set[ModifierId]
However, this structure is not storing a peer being asked.
Also, we need to have another structure which contains objects delivered, in order to extract a peer when, during processing, a node is realizing that object sent is e.g. invalid (so the peer is to be banned or de-prioritized)
private val delivered = mutable.MapModifierId, ConnectedPeer

@kushti , maybe this issue can be closed?


Python 3 should not use SOAPpy

Please use suds <https://pypi.python.org/pypi/suds> rather than SOAPpy.
SOAPpy is old and clamsy.

Import fails with:
  File "./hostname_environment.py", line 37, in <module>
    from servicenow.drivers import SOAP
  File "/home/infrascripting/.virtenv/servicenow/lib/python3.6/site-packages/servicenow/drivers/SOAP.py", line 3, in <module>
    from SOAPpy import SOAPProxy
ImportError: cannot import name 'SOAPProxy'

The work-around is a rabbit hole, and I have python2.7 available to me for this for now. But any rewrite should consider changing this.

I would like to point out also that:
$ docker run -it --rm centos:7
# yum install -y epel-release
# yum install -y python34-pip
# pip3 install python-servicenow
...
Collecting SOAPpy (from servicenow)
  Downloading https://files.pythonhosted.org/packages/78/1b/29cbe26b2b98804d65e934925ced9810883bdda9eacba3f993ad60bfe271/SOAPpy-0.12.22.zip (172kB)
    100% |################################| 174kB 1.8MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-n1lsy9ga/SOAPpy/setup.py", line 17, in <module>
        +'\n'+read('CHANGES.txt')
      File "/tmp/pip-build-n1lsy9ga/SOAPpy/setup.py", line 12, in read
        os.path.join('.', *rnames)
      File "/usr/lib64/python3.4/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 842: ordinal not in range(128)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-n1lsy9ga/SOAPpy/
You are using pip version 8.1.2, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

We reported https://github.com/kiorky/SOAPpy/issues/26 ages ago, but I think the project is abandoned. I see you removed SOAPpy from requirements.txt, so maybe it should also be dropped from setup.py (or made optional)?


how to add other indicators

Hello .
How can I add other indicators ? (for example Ichimoku)
Note : Ichimoku is available on the tradingview.com
I read the main.py file and add "Ichimoku2c" or "Ichimoku" at the end of this array :
indicators = []
but i got this expetion :
Exception: Can't access TradingView's API. HTTP status code: 400. Check for invalid symbol, exchange, or indicators.
note2 : "Rec.Ichimoku" and "Ichimoku.BLine" are there in main.py
but i want "Tenkan" and "Kejan" Parametrs from Ichimoku andicator.
https://s6.uupload.ir/files/ichimoku_ilv.png

Indicators are not fetched from chart indicators but Technicals page


@types/react-dom marked as unused, despite being requested as a peer dependency

Reproduction: https://github.com/alecmev/knip-repro-239 I thought about this for a bit, trying to figure out if it's Babylon.js' fault, but I don't think it is? They just want to pin the version, so that we don't run into any mismatch issues. I also don't think this is https://github.com/webpro/knip/issues/220, unless there's a bug?

:rocket: This issue has been resolved in v2.25.1. See Release 2.25.1 for release notes.

Agreed :)

Thank you! :ok_hand:


setup chacha circuit for NIVC folding

fixes ChaCha circuit for folding setup.

add public step_in
formatting

Couple of questions:

Can we move chacha inputs to bytes and then convert to 32 bits, just to be consistent with AES, but it will obviously add many constraints that can be saved by doing outside the circuit?
How does ChaCha handle plaintext padding? Do we need to compute ciphertext again when padded to 512/1024? In this case, isn't the ciphertext passed to circuit incorrect?

2. How does ChaCha handle plaintext padding? Do we need to compute ciphertext again when padded to 512/1024? In this case, isn't the ciphertext passed to circuit incorrect?

since chacha is a stream cipher it technically doesn't need to do any padding. We could pad with zeros and then cut them after if we need maybe. You can decrypt symmetrically if you have all the same params since the encrypt and decrypt are just an XOR for the keystream. I Might need a little more context on the cipher text question you have here.
For the bytes to bits I added a helper the i referenced here with a test.
https://github.com/pluto/web-prover-circuits/issues/58
When i tried to put it in the circuit i was breaking things so i think something might be wrong there just not sure what exactly.


Twitter processor

This pull request fixes #17 and is connected to #3.

[x] I've added tests to cover the proposed changes

Changes proposed in this pull request:

Fleshes out the socialmedia pipeline
Adds a twitter processor

adds followers, mentions and interactions

Adds an SQLDatastore interface

Coverage increased (+1.7%) to 76.968% when pulling e6b7cf225067ae74cd53cb146654b13cb6477277 on 17/twitter-processor into 259abf127d1811eb2208665794c8cc5c759d9bb4 on master.

Coverage increased (+1.7%) to 76.968% when pulling c24328c6987c69909240611a8ec66b167bb62e53 on 17/twitter-processor into 259abf127d1811eb2208665794c8cc5c759d9bb4 on master.

@akariv I've refactored the twitter processor so it no longer aggregates locally.
I decided to keep the timestamp as it is, as it represents the datetime the data was collected, and I'd like to differentiate between the time collected (metadata) and the date for the data we're interested (which itself is data). So I've added a date column to represent the data date.


talk and tree update

tree@https://github.com/urbit/tree/commit/f4edc664bf8207464428db40e8fd0bfc54cf08f7
talk@https://github.com/urbit/talk/commit/044615bcd6a1830adbb8451bb5dd59e7d9f83600

Merged in 5a75624 (but with slight commit message edit for git format compliance)


Light switches on, but it the image is showing light in a wrong place

Description of problem:
I have managed to export my sweethome3d plan into obj's and successfully installed it in HA. The house shows perfectly on the card and I can turn it around and zoom in/out just fine.
However, when I double-click on a light, the correct light switches on, but the display shows a wrong room as lit by the light.
For example, I double click on the ceiling-light in th emiddle of the image:

The room on the LEFT of the room the light is in, is lit up.

Additional information:

Hello Chris, are you using the ExportToHASS plugin ? If yes have you verified that lights have different names in the SH3D model ?
If not I have to investigate why, you should send your obj file for me to verify

Hey Chris, I cannot reporoduce your problem. can you please provide more info ? The model for instance...

Hello Chris, in the absence of other answers I close this bug as I cannot reproduce it


Move config to [X-ldddns] section of systemd unit

I still like the idea.
But I don't want to be a first mover into actually putting configuration into systemd uni files. If this is the only project doing it, it'll just seem odd.
Also, I'm not too fond of the implementation regarding running systemctl cat ldddns.service and parsing the output. I can't find documentation that guarantees the order to be the same order systemd usually parse unit and override files in. In a perfect world systemd or D-BUS would be able to give us the configuration without having to deal with where it actually resides.
So closing this.


Clarification?

Hi,
I was not able to understand what does PKT emptyrx  in the stats mean?

Please rephrase your question what does PKT emptyrx in the stats mean. It is not clear to me.

no updates. hence closing


solve cross platform testing

So this has several negative dimensions

to develop any of the local collect functionality (which is only supported on linux) we should be using something like docker, this is of course impossible with our current CI unless we do a
fair amount of orchestration, more on this in a later point
capture of SSH testing is a big gap and we have to manually test this now, sometimes this leads to things getting missed. We should spin up a test harness using something like vagrant? but how
would ci work? Maybe we support just having endpoints available..and then it is up to whatever system to use those endpoints.
capture of kubernetes based clusters is an easier fix as there is some infra for automating this in CI and we could just require you have a cluster running to run integration tests against. This
is of course friction as from time to time someone maybe connected to their prod kubernetes cluster, and it would be suboptimal to be running tests on prod. We should require a specific k8s
context be created to prevent this (something like ddc-test). This could be used also to fix the first point.

Finally we need to consider from the client angle how we automate testing the three envs well.

fixed in https://github.com/dremio/dremio-diagnostic-collector/pull/72


collapse visibility: collapse

3.2.0 - 2022-10-19
Add new collapse utility for visibility: collapse https://github.com/tailwindlabs/tailwindcss/pull/9181
daisyui collapse is not visibility by default now

I got the same problem. Have you figure it out?

@szluyufeng
I fixed it with this for now:
@layer utilities {
.collapse {
visibility: visible;
}
}

@Syiana Thanks, it works. But the collapse can not be collapsed now.

Thanks for reporting this.
Fixed in version 2.33.0: https://play.tailwindcss.com/6H2smF4tRz?file=config
Really hard to deal with it when a new version of Tailwind CSS adds a new class name that already exists in daisyUI 🤐
It's a minor release for Tailwind but I can't change the class name to something else because that would break all existing projects.

@Syiana Thanks, it works. But the collapse can not be collapsed now.

I do this in vue anyway, that's why it works for me:
`

    {{data.title}}

{{data.description}}

`

@zed-wong Why your .collapse has !important?
Because I'm pretty sure nothing in Tailwind has !important by default. 🤔

I would like to use both the DaisyUI collapse class and the Tailwind collapse class in my project, how would I go about separating these? Can I rename one of them somehow?

if you're seeing this in recent versions, you might be using important: true in tailwind config.
You can manually override using the same method daisyui does, but in your own globals.css:
.collapse:not(td):not(tr):not(colgroup) {
    visibility: visible !important;
  }


prevHtml/nexHtml issue

Hi,
just noticed, that if you set prevHtml/nextHtml, the default controls are still visible. This is not the normal behavior right?
Regards,
Hugo

As you can see here https://github.com/sachinchoolur/lightslider/blob/master/src/js/lightslider.js#L185 the prevHtml/nextHtml element is insert into the link instead of replacing it. So i guess it is expected behavior, but I would also prefer if the element would get replaced.

it would be a good addition to have an option to disable the default controls images.
Currently setting the prevHtml/nextHtml is useless unless you edit the css and remove the image.

Same here.
@LucidityDesign Inserting new element into prev/next control still makes no sense, because if they aren't replaced, then they overlap each over. What's a use case for that?
Right now, prev/next controls are empty a with a background image.
I would prefer an HTML entity, an icon font, or SVG glyph, and make them replaceable.

Finally i found the solution. try this snippet

for more details find the link
https://codepen.io/Rijosh/pen/xVoErM


WIP: Split fedora-e2e flake tests

What type of PR is this?
/kind cleanup
/kind flake
What this PR does / why we need it:
Some tests are intermittendly failing (a.k.a. flaking). They are most often happening as part of the fedora-e2e test suite which  currently takes around 40 minutes to run.
By splitting them from the more reliable tests allows us to better decide how to approach the problem - (e.g. auto-retry).
Which issue(s) this PR fixes:
None
Does this PR have test?
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #743 (714c7b5) into main (c2c7fcf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #743   +/-   ##
=======================================
  Coverage   53.94%   53.94%
=======================================
  Files          41       41
  Lines        4121     4121
=======================================
  Hits         2223     2223
  Misses       1831     1831
  Partials       67       67

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e

Moving back to WIP, will review in the coming days.


Is it possible to set a status update time for Custom Status in the Edit Task Modal?

Description
Hello! Congratulations on the update. I’m interested in whether it’s currently possible, or if there are any plans to add a feature, to set a date or time for a task status update from the Custom Status list. Currently, we have access to three main statuses: Created, Done, and Canceled, but if I have, for example, nine statuses and I want to track the start and end times for each, am I correct in understanding that this functionality is not currently available?
Required Steps
No response
How to Test
No response

Hi @VictorVangeli,
Thanks for using Tasks.
I recently added a documentation section Limitations of task date support  to help share the information.
It reports that Dates cannot include times, and links to two prior requests that you can upvote.
For furure reference, please use Discussions -> Q&A for questions.


Add flag to not register master with zookeeper

For debugging purposes when you want to connect to zookeeper
but not register the master process.

:+1:

:+1:

:+1:

Looks like the build failure is partially due to the issue addressed in #522.


⚠ Bofrost.fr has degraded performance

In 7cd2adc, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1181 ms

Resolved: Bofrost.fr performance has improved in 19986ff.


Fix run time exception and error

Fix run time exception and error
Description

Fix pvTaskGetThreadLocalStoragePointer runtime exception due to no current running task.
Fix xTaskGenericNotifyFromISR runtime error due to uninitialized variable.

Test Steps

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Merge this PR first to fix runtime error and exception.


How to train this model on LiTS

Thanks for the great work, I have a problem. How to train this model on LiTS dataset. The training data set contains 130 3D-CT scans.

You have two options:

You adapt your approach to 3D, which might not fit into your GPU.
You use the proposed 2D approach, and slice your 3D CT scans into 2D slices.

Thanks a lot. I hava adapted my approach to 3D. However, CUDA out of memory. Maybe I should slice 3D CT scans into 2D slices.

You have two options:

You adapt your approach to 3D, which might not fit into your GPU.
You use the proposed 2D approach, and slice your 3D CT scans into 2D slices.

Thanks a lot. I have adapted my approach to 3D. However, CUDA out of memory. Maybe I should slice 3D CT scans into 2D slices.

@zzh1230 @JuliaWolleb  Hey can you kindly let me know where to integrate the metric finding code? If you have found the hd95, dice, and Jaccard scores please let me where and how to do it.


Expense - Receipt thumbnail shows a green receipt placeholder while it is uploading

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.18-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4834235
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to FAB > Submit expense > Manual.
Submit a manual expense with receipt to any user.
After submitting the expense, check the receipt thumbnail while it is uploading.

Expected Result:
The receipt thumbnail will show the receipt while it is uploading (production behavior).
Actual Result:
The receipt thumbnail shows a green receipt placeholder while it is uploading.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/c4c77839-b8fa-4922-945a-955c35ee4943

View all open jobs on GitHub

We think that this bug might be related to #wave-collect - Release 1

Proposal
Please re-state the problem that we are trying to solve in this issue.
Reciept image is shown as green receipt placeholder.
What is the root cause of that problem?
In this issue, the receipt image is shown as EReceiptThumbnail because isThumbnail is true.
https://github.com/Expensify/App/blob/0926267c22e50e68b52c055dacc3af775235ccd4/src/components/ReceiptImage.tsx#L112-L124
In ReceiptUtils, we have a logic to return the correct data if it's a receipt image, but in our case, isReceiptImage is false.
https://github.com/Expensify/App/blob/0926267c22e50e68b52c055dacc3af775235ccd4/src/libs/ReceiptUtils.ts#L47-L61
isReceiptImage checks the extension of the image filename.
https://github.com/Expensify/App/blob/0926267c22e50e68b52c055dacc3af775235ccd4/src/libs/ReceiptUtils.ts#L38
However, the image filename contains the image source (blob://...). This happens after this commit. In that commit, we move the creating of the optimistic receipt and filename to buildOptimisticTransaction, but we got the logic for the filename wrong.
Previously, if the receipt has the source, then the filename will be set to the receipt name.

Now, it will use the source and fallback to receipt name (and then fallback to filename param).
https://github.com/Expensify/App/blob/0926267c22e50e68b52c055dacc3af775235ccd4/src/libs/TransactionUtils/index.ts#L166
What changes do you think we should make in order to solve the problem?

We should change the logic of the optimsitic filename just like before to:
filename: receipt?.source ? receipt?.name : filename,

maybe we can check for the receipt name instead, (receipt?.name ?? filename)

@madmax330 should we open this external? I saw Ioni respond that he didn't think the instant submit change was related

cc @neil-marcellini this looks related to https://github.com/Expensify/App/pull/42302

Ah woops yes I made a mistake in that logic. Sorry! @bernhardoj's proposal looks good. Are you around to fix this ASAP? If not I will implement your solution.

Ok, no reply yet so I'm going to put up a PR.

Sorry, I just got online.

@neil-marcellini @adelekennedy hi, do you think I'm eligible for payment here?

Hey @bernhardoj I think in this case you're owed 50% of the usual price as we used your solution but @neil-marcellini implemented it. Does that sound fair?

🤦♀ I completely missed those labels @Beamanator, thank you

No prob! :D

@adelekennedy yes, that make sense for me

great! Thank you so much for bringing this up
Payouts due:

[ ] Contributor: $125 @bernhardoj NewDot

Requested in ND.

$125 approved for @bernhardoj


package doesnt work on heroku project

hey i am having a discord bot and im using heroku-20 and node 14 and it seems that your project doesn't work i call it

please not the error i get is

2021-08-01T16:06:54.588326+00:00 app[web.1]: SyntaxError: Unexpected end of JSON input
2021-08-01T16:06:54.588328+00:00 app[web.1]: at JSON.parse (<anonymous>)
2021-08-01T16:06:54.588331+00:00 app[web.1]: at translate (/app/node_modules/@iamtraction/google-translate/src/index.js:107:25)
2021-08-01T16:06:54.588332+00:00 app[web.1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)


Change settings content frame transition to drill in

PR Checklist

[x] Closes #10632
[x] CLA signed.
[ ] Tests added/passed
[ ] Documentation updated.
[ ] Schema updated.
[ ] I've discussed this with core contributors already.

@carlos-zamora - this changes the default transition for all scenarios (both for internal navigation and when switching tabs). Hope it makes sense. At least for me it feels better :blush:

From #10632:

So, it doesn't fix the issue but it sure does make it less jarring. Let's see how it does!

So, it doesn't fix the issue but it sure does make it less jarring. Let's see how it does!

Theoretically, we can override the transition (e.g., by suppression) after the settings tab is open the first time. However, I actually quite love this experience.

I love it

ME TOO

@msftbot merge this in 1 minutes


Unpin python ndb

I need a newer version of the Datastore client to get the "IN" operator, it seems, and the original reasons for pinning it based on #916 don't appear to be applicable any more.

Hmm .IN should already exist in python-ndb <2.0.0. Or are you referring to the plain google cloud datastore client (which is blocked on this constraint) ?

Yes, the latter. I'd have thought that given python-ndb is what has the dependency on the datastore client, that it's still using it under the hood?

LGTM, but please monitor this carefully. We had breakages with this in the past.


[azservicebus] Use the cancellation features of go-amqp, rather than cancelling manually

go-amqp has updated to take contexts, and should handle cancellation properly, so we can eliminate some of the code that we've got like in PR#18479.
The original scenario for this particular fix was when we were doing an ServiceBusClient.AcceptNextSesssion() - this leads to a wait for about 60 seconds (or until a session actually arrives). If the user were to cancel then we'd need to make sure to cleanup any session link that might be created afterwards.
Although any situation where you create a link and it might be slow would be a candidate.
Originally posted by @jhendrixMSFT in https://github.com/Azure/azure-sdk-for-go/pull/18479#discussion_r907621566

Checekd in, will go out with the next stable release.


Syntax issue on paragraph #44

This PR is a mere correction in the text. So, there is no break on code, so, no collateral damage on the horizon.

FYI, using a pound sign and then a number references an issue/PR which may be a distraction if it references the wrong thing. You can link directly to a line in a file
https://github.com/zeit/hyper/blob/15687a24caffe335ed0d174b7ddbf68845388255/PLUGINS.md#L44


Configuration changes: make a few metadata fields repeatable

This makes the Finding Aid URLs a multi-value field on both the Repository Items and Collection Object.  It also makes the Item Barcode and Library Catalog Link multi-value fields on the Repository Item.
To test:  load the branch and create a Repository Item.  Give it multiple Finding Aid URL's, Item Barcodes and Library Catalog Links. Ensure that it saves them correctly.
Try adding more than one Finding Aid on a Collection Object.
Run the tests, specifically the ones in 10-migration-backend-tests
Resolves jhu-idc/idc-general#352

@birkland and @jaredgalanis  - this does affect the Repository Item page as I suspect that doesn't expect these fields to be an array. Should I update those as well or create a separate ticket for @jaredgalanis for this?  This is kind of the first time we've hit this scenario, but I'll keep it in mind that we are now affecting the UI work when we change metadata configuration.

@birkland - this also ripples now into export - so I need to make a few more changes for that to add to this. So, not done yet.

@bseeger  I'd say just do it and issue a PR to the UI module if it's straightforward for you.  Otherwise, do create a ticket for Jared.  My understanding, then, is that you'd need to update this PR with a bump to export (for support of newly-multivalued fields), and a bump of the UI module?

@bseeger Does this ticket have similar implications to export and UI?  Maybe a more basic question - is the work in that ticket substantially done already?
https://github.com/jhu-idc/iDC-general/issues/305

@birkland  - I added a comment on that ticket.  No, that ticket doesn't affect export.  Any changes, going forward, to the Repository Item or Collection Item will affect Export.


Add Docker and Kubernetes courses and adjust sub headings

What does this PR do?
Add Resource(s) | Improve Repo
For resources
Description
Added two online courses for learning Docker and Kubernetes
Why is this valuable (or not)
Docker and Kubernetes are valuable things to know given the shift towards cloud-based environments
How do we know it's really free?
It's under their free courses section and you can access it immediately
For book lists, is it a book?
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

please add a notation with the name of the platform

Done

please resolve conflicts.

Also done

please resolve conflicts.

Done

Thanks, and welcome to free-programming-books!


[DOC] Not able to download 1st dose covid vaccination certificate, only final dose certificate available to downloadfrom cowin portal,Need both dose vaccination certificate please help

**Is your suggestion to fix an issue with documentation or to improve it?**
A clear and concise description of the request helps. Ex. Line starting with "install ..." needs to be corrected to [...]
provide link to the documentation page if any including reference to the line/para
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

Co-WIN Application.pdf
please help to download 1st dose certificate

Co-WIN Application.pdf

how to download covid vaccination certificate with only beneficiary_reference_id


Visual Studio 2019 requesting to retarget vcxproj-s after fresh clone.

Describe the bug
After cloning & configuring the GitHub repo (as per the Getting Started Guide), loading the solution with VS2019 will prompt to retarget 4 projects.

OS information
Windows 11 Pro 22H2 build 22621.675
Windows Feature Experience Pack 1000.22634.1000.0
Steps taken to reproduce bug

Prepare for the first build (as per the Getting Started Guide):
cd d:\work
git clone --recurse-submodules https://github.com/microsoft/ebpf-for-windows.git

cd d:\work\ebpf-for-windows
cmake -G "Visual Studio 16 2019" -S external\ebpf-verifier -B external\ebpf-verifier\build
cmake -G "Visual Studio 16 2019" -S external\catch2 -B external\catch2\build -DBUILD_TESTING=OFF
cmake -G "Visual Studio 16 2019" -S external\ubpf -B external\ubpf\build
nuget restore ebpf-for-windows.sln
del external\ebpf-verifier\build\obj\project.assets.json

Open ebpf-for-windows.sln with VS2019 (used v16.11.20).

Expected behavior
VS2019 to load the ebpf-for-windows.sln solution without any prompt.
Actual outcome
Upon the first solution loading, VS2019 will ask the user to retarget the following projects to v142 (from Platform Toolset v100, i.e. VS2010, which is the default when the related XML attribute in the .vcxproj is missing):

ebpf-for-windows/libs/execution_context/user/execution_context_user.vcxproj
ebpf-for-windows/libs/ubpf/user/ubpf_user.vcxproj
ebpf-for-windows/ebpfapi/ebpfapi.vcxproj
ebpf-for-windows/tests/sample/sample.vcxproj

Additional details
The upgrade prompt from VS2019 happens as some compiling configurations, for the prompted projects, don't currently specify the <PlatformToolset>, as all of the other projects do, i.e. for Debug|Win32, Release|Win32.
Adding the <PlatformToolset>v142</PlatformToolset> XML attribute to all the configurations within the listed projects should fix.

Fixed with PR #1499.


Add accessibility guidelines link to portals doc

We probably want to be more specific there. cc @AlmeroSteyn

@mvargeson Great that you thought about linking through to the a11y doc!
As managing keyboard focus becomes very important with the functionalities created with portals, we should probably mention that shortly and change the link to drill down into that section of the a11y doc https://reactjs.org/docs/accessibility.html#programmatically-managing-focus
This sections contains reference to the react-aria-modal library which illustrates perfectly how focus should be managed in this case, and it uses the react-displace library (https://github.com/davidtheclark/react-displace) which makes use of portals.
Perhaps also a good idea to add a link to the WAI-ARIA Authoring Practices for a dialog modal (https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_modal).
What do you think?

@mvargeson could you still make the changes to this PR? This is really great to add as modals are causing a lot of accessibility issues so would be awesome to merge.

@AlmeroSteyn This completely fell off my mind. Thanks for the bump. I'll be able to make these changes this weekend.

Ah no worries, I know the feeling. Thank you for picking this up again!

Thank you for the suggestions @AlmeroSteyn! This is ready for re-review at your convenience.

Squash and merge should be fine

Learnt something new :-)

Thanks again @mvargeson for coming with the idea and your patience :-)


update docs to incorporate multi chain config

Fixes #42

I think we can merge it, and iterate if someone finds it difficult to config their multi chain SE-2 build.
TYSM @technophile-04, great job!!


Fix indentation and spacing for code without braces

https://github.com/holgerbrandl/r4intellij/issues/211

Great improvement. Thanks for your hard work.


Shifter should ignore the preemptible nodepools in nodePoolMap if there are no lables on it

https://github.com/rapido-labs/silent-assassin/pull/21 is created for this.

https://github.com/rapido-labs/silent-assassin/pull/21 is created for this.

We face an issue where we did not want a fallback on-demand node pool for a preemptible node pool, but Shifter was finding an on-demand node pool without labels on it and has a similar machine size as the preemptible one. Shifter started shifting pods from the on-demand node pool to the preemptible one. This is undesired.

We face an issue where we did not want a fallback on-demand node pool for a preemptible node pool, but Shifter was finding an on-demand node pool without labels on it and has a similar machine size as the preemptible one. Shifter started shifting pods from the on-demand node pool to the preemptible one. This is undesired.


Error: [object Object] is not a future

I'm having this trouble when using the tns livesync:
Error: [object Object] is not a future

If I remove the fibers package within ios-sim-portable, solves the problem.
Is there some official solution?

Closing this issue as the module no longer uses Fibers.


ezmsg-zmq: hotfix -- best practices for packaging, consistency

Same logic as #15

Merged in 3.3.0


Updates docs temporarily to cloudsmith until packages complete

A month ago, we changed the install page to say official packages are
on the way. #16867 hasn't landed, yet and now problems are surfacing
like #17236, but also spread out over the ecosystem also.
Specifically the "Get Envoy" instructions no longer work because
Bintray no longer works at all and #16867 isn't finished. This fixes the
instructions until packages are available, after which the "Get Envoy"
parts should be deleted as "Get Envoy" is a canceled project due to
trademark issues with the Linux Foundation.
Thanks very much to @carlossg for finding these instructions and
@arkodg for verifying them.

These instructions are hand-crafted due to requests from the Envoy
project team. End users can also look at instructions maintained by
Cloudsmith here as they are more likely to remain up-to-date.
Ex. https://cloudsmith.io/~tetrate/repos/getenvoy-deb-stable/setup/#formats-deb

Hi @codefromthecrypt I'm not sure of the complete history on this and who has ownership of everything, but if I understand it correctly tetrate have moved the publication of rpms from hosting on bintray to cloudsmith.io for now. These features will eventually be upstreamed into Envoy as part of the work @phlax is undertaking.
If the repos referenced in https://rpm.dl.getenvoy.io/public/config.rpm.txt from the shellscript above continue to have the latest rpms published to them then we can simply configure our builds to use these repos and then change again when the work is upstreamed to Envoy. Do you know if these repos will continue to receive the latest envoy updates for the foreseeable future?

@robejfarr Thanks for the feedback. I'll put some stuff here some of it you didn't ask about for other readers
What's impacted is scoped to deb and RPM "getenvoy" packages

MacOS already has "official" packages (Homebrew), windows never had packages, and "official" docker images were always published.

I think the key facts are:

These docs are a temporary work around because bintray is down and cloud smith isn't
We can assume official packages won't use cloud smith, which means a repo change sooner or later
Official packages would be named "envoy" not "getenvoy"
"getenvoy" stops at 1.18.3
there's no plan to copy and rename official "envoy" packages into cloud smith as "getenvoy"

Since both the repo and also the package names will change, some work will be needed to transition from current packages to official ones.
Folks who are currently impacted will change max twice:

temporarily to the "getenvoy" packages on cloud smith repos, func-e.io or a manual process http://archive.tetratelabs.io/envoy
to official "envoy" packages complete, manual process on official tarballs #16830, or stay on func-e or Tetrate's archive

Folks who are not currently down can choose what to do and when to do it!

@phlax I switched the instructions to long form and verified them with the corresponding docker images per OS. Note: I removed the "sudo" ops as that's not on the images by default.

Thanks for the update @codefromthecrypt - we're still in development phases with Envoy so we'll switch to the cloudsmith repos for now and review the situation again closer to when we're ready to release.
I see the 1.19 roadmap has been reduced significantly so the release will be out shortly. Worst case we'll probably package from the binaries to ensure we're getting the latest updates through if official repositories are unavailable prior to our live releases.

I put a note in the description because while I understand the position of the project team, hand-crafted shell scripts known to have been left broken are less ideal than citing cloudsmith who have support etc. If for some reason, official packages remain unavailable long enough for the shell script snippets to drift again, at least people can see where the supported ones are by looking here.

@phlax could you take another look? Thanks.

@codefromthecrypt do you maintain the packages on cloudsmith? It doesn't seem to have all the versions of envoy, unlike func-e. Can it be addressed somehow as even if this PR is merged people would expect it to have all versions that were there in bintray at least.

@NersesAM there's no plan to continue maintenance on the getenvoy packages which are redundant to #16867 and also continues the trademark problems that were behind canceling them.
You can see notes about this for options moving forward. Hopefully official RPMs and debs will land soon. https://github.com/envoyproxy/envoy/pull/17246#issuecomment-876827656

I'm reading silence from @phlax that these instructions must optimize for multi-user distributions of ubuntu, not docker which doesn't install sudo intentionally. I'll edit and redo this again, but please tighten up the feedback loop.

ok please consider merging as it is nearing a month since this PR to fix what should have been fixed 2 months ago
Reverted debian to closest viable version of prior instructions. This required a preliminary step to install sudo, but I left this out of the instructions.
root@3a70e605649c:/# apt-get update
--snip--
root@3a70e605649c:/# apt-get install sudo
--snip--

### now copy pasting the instructions
root@3a70e605649c:/# sudo apt update
--snip--
root@3a70e605649c:/# sudo apt install debian-keyring debian-archive-keyring apt-transport-https curl lsb-release
--snip--
root@3a70e605649c:/# curl -sL 'https://deb.dl.getenvoy.io/public/gpg.8115BA8E629CC074.key' | sudo gpg --dearmor -o /usr/share/keyrings/getenvoy-keyring.gpg
root@3a70e605649c:/# echo a077cb587a1b622e03aa4bf2f3689de14658a9497a9af2c427bba5f4cc3c4723 /usr/share/keyrings/getenvoy-keyring.gpg | sha256sum --check
/usr/share/keyrings/getenvoy-keyring.gpg: OK
root@3a70e605649c:/# echo "deb [arch=amd64 signed-by=/usr/share/keyrings/getenvoy-keyring.gpg] https://deb.dl.getenvoy.io/public/deb/debian $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/getenvoy.list
--snip--
root@3a70e605649c:/# sudo apt update
--snip--
root@3a70e605649c:/# sudo apt install getenvoy-envoy
--snip--
root@3a70e605649c:/# envoy --version

envoy  version: d362e791eb9e4efa8d87f6d878740e72dc8330ac/1.18.2/clean-getenvoy-76c310e-envoy/RELEASE/BoringSSL

Reverted ubuntu to closest viable version of prior instructions. This required a preliminary step to install sudo, but I left this out of the instructions.
root@63628f4ea374:/# apt-get update
--snip--
root@63628f4ea374:/# apt-get install sudo
--snip--

### now copy pasting the instructions
root@63628f4ea374:/# sudo apt update
--snip--
root@63628f4ea374:/# sudo apt install apt-transport-https gnupg2 curl lsb-release
--snip--
root@63628f4ea374:/# curl -sL 'https://deb.dl.getenvoy.io/public/gpg.8115BA8E629CC074.key' | sudo gpg --dearmor -o /usr/share/keyrings/getenvoy-keyring.gpg
root@63628f4ea374:/# echo a077cb587a1b622e03aa4bf2f3689de14658a9497a9af2c427bba5f4cc3c4723 /usr/share/keyrings/getenvoy-keyring.gpg | sha256sum --check
/usr/share/keyrings/getenvoy-keyring.gpg: OK
root@63628f4ea374:/# echo "deb [arch=amd64 signed-by=/usr/share/keyrings/getenvoy-keyring.gpg] https://deb.dl.getenvoy.io/public/deb/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/getenvoy.list
--snip--
root@63628f4ea374:/# sudo apt update
--snip--
root@63628f4ea374:/# sudo apt install -y getenvoy-envoy
--snip--
root@63628f4ea374:/# envoy --version

envoy  version: d362e791eb9e4efa8d87f6d878740e72dc8330ac/1.18.2/clean-getenvoy-76c310e-envoy/RELEASE/BoringSSL

Reverted centos to closest viable version of prior instructions. This required a preliminary step to install sudo, but I left this out of the instructions.
[root@f52478579287 /]# yum install sudo
--snip--

### now copy pasting the instructions
[root@f52478579287 /]# sudo yum install yum-utils
--snip--
[root@f52478579287 /]# sudo rpm --import 'https://rpm.dl.getenvoy.io/public/gpg.CF716AF503183491.key'
[root@f52478579287 /]# curl -sL 'https://rpm.dl.getenvoy.io/public/config.rpm.txt?distro=el&codename=7' > /tmp/tetrate-getenvoy-rpm-stable.repo
[root@f52478579287 /]# sudo yum-config-manager --add-repo '/tmp/tetrate-getenvoy-rpm-stable.repo'
--snip--
[root@f52478579287 /]# sudo yum makecache --disablerepo='*' --enablerepo='tetrate-getenvoy-rpm-stable'
--snip--
[root@f52478579287 /]# sudo yum install getenvoy-envoy
--snip--
[root@f52478579287 /]# envoy --version

envoy  version: d362e791eb9e4efa8d87f6d878740e72dc8330ac/1.18.2/clean-getenvoy-76c310e-envoy/RELEASE/BoringSSL

Looks like all comments were addressed. @phlax for final pass. I will merge tomorrow if @phlax is busy, since the doc looks correct.

These instructions install an old release (v0.18.2) and not the latest v0.19.0.

@kanongil that's true. there is ongoing work to publish official packages for new releases, but that won't be on a "getenvoy" repository. please see this for a more complete answer https://github.com/envoyproxy/envoy/pull/17246#issuecomment-876827656


Can't see any "Developer Preview" menu item.

Following the steps for the web client, I've done steps 1 and 2, that is, I can side load apps now.  However, when I try step 3, there is no "Developer preview" option under the About menu.

Is there a step missing, or the developer preview option moved to somewhere else?

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

ID: 008da4e2-979e-c396-db28-4acf57deb530
Version Independent ID: f1413f77-5eb3-e1fd-9235-d322d6e4eb6c
Content: Developer Preview - Teams
Content Source: msteams-platform/resources/dev-preview/developer-preview-intro.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

@pcolby Could you please check if sideloading is enabled for your tenant?

Hi @Gousia-MSFT, yes, as mentioned in OP, I have sideloading enabled:

I already have installed at least one custom app by sideloading, eg this link works as expected:

Thanks.
(BTW, is the page you linked is out of date - see https://github.com/MicrosoftDocs/msteams-docs/issues/898).

Any updates? I need this to debug my custom app, I updated a app and it works perfectly in the Teams web client, but the desktop client can not load the UI.

@hwangzhiming We have raised a bug for this and we are tracking it internally.

@Gousia-MSFT, why close this? Is the bug resolved?

We are seeing the same issue, followed all required steps but the Development preview option is not available, even though we are able to upload custom apps.

Try quit and reopen your Team client, it came back unexpectedly/

@pcolby @innovationhub-asia This has been fixed now. Could you please check and confirm once?

Hi @Gousia-MSFT, yes, the menu option is there now, thanks! :)

Hi @Gousia-MSFT, don't work for me. Developer preview option is missing.

@Gousia-MSFT it's ok for 32bits version, but don't work on 64bit.

On my tenant even as on my customer there is no ponit for developer mode(s). Independent of the clientarchitecture (x86/x64) and yes, sideloading is enabled OrgWide, on Team and even for (specific)User.
So please reopen and clarify a solution.


Fix and optimize load-paths-handler.coffee

My initial attempt at fixing atom/atom#6437. It should also make indexing much faster.

It looks like this change causes a lot of tests to fail. Are you able to run the tests locally and debug the failures?

Yeah, I have made a mistake in PathLoader.isPathIgnored (parameter name conflict with path, fixed in the latest commit), but the tests still fail.
The same tests unfortunately also fail when I run them on the original version of fuzzy-finder shipped with Atom (at least on my PC, Ubuntu 64-bit).

I have (hopefully) fixed all the issues


Add Git Foundations Course by GitKraken - Fix

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
This is a free Git foundations course from Gitkraken, a proprietary project management Git tool for developers.
Why is this valuable (or not)?
It's another free learning Git course for beginners.
How do we know it's really free?
You will need to create an account using your e-mail but after signing up you are taken directly to the course.
For book lists, is it a book? For course lists, is it a course? etc.
This is a course and there is only one course at this time. Others may be created soon.
Checklist:

[X] Read our contributing guidelines.
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction).
[X] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Looks like you have taken a wrong branch again. I would suggest you delete the fork, create a fresh fork and make your change on top of it in the main branch and raise a PR.

don't change the workflows in a content PR!!!

Doing as suggested. Closing PR


ENH: regression confidence interval

Is your feature request related to a problem? Please describe.
When fitting a regression model to data, it is often necessary to generate a confidence band for the regression.  Currently, doing this requires the use of packages other than scipy, e.g., uncertainties.  It would be great if one could get the entire job done using only scipy.
Describe the solution you'd like.
Ideally, a single function call would give both the regression fit and the confidence band.
Describe alternatives you've considered.
No response
Additional context (e.g. screenshots, GIFs)
No response

Which regression functionality in scipy are you talking about? We have several. Some already provide this (e.g scipy.odr just because it happens to be implemented in the underlying FORTRAN library). In general, this is the kind of thing that we do leave to other packages. While "the" least-squares fit is reasonably well defined, a confidence band requires more assumptions/inputs from the user to specify the one you want. Other packages are in better positions to allow you to provide/define those extra pieces of information.

I think you are looking at scipy.stats.bootstrap. Otherwise for things like asymptotic rules we have to look at the specific methods.

Hm.  One could generate a confidence band by bootstrapping the regression.
I hadn't thought of this.  Thanks!
On Sun, Sep 26, 2021 at 8:49 AM Pamphile ROY @.***>
wrote:

I think you are looking at scipy.stats.bootstrap
http://scipy.github.io/devdocs/reference/generated/scipy.stats.bootstrap.html.
Otherwise for things like asymptotic rules we have to look at the specific
methods.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/14769#issuecomment-927327175, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEDRAWBV5TOQUBHZE5AC3UD46IBANCNFSM5EX35HXQ
.
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.

FWIW, I would just generate a bunch of synthetic datasets, do regression for each of them and analyze the distribution of fit results. This probably has a name and is likely implemented somewhere, but as far as I'm concerned, it's easiest to just DIY.

Using a plain-old bootstrap resampling of the rows of data is often not the preferred method for regression problems (it's great for estimators of univariate data). Consider resampling the residuals instead.
And yes, @ev-br that's the core idea of the bootstrap, though generating completely synthetic data is less useful for understanding the uncertainties implied by the particular dataset and is better used as a way to understand the limits of the model and debug your implementation (Andrew Gelman and Aki Vehtari and others call this "fake data simulation")

Resampling the residuals is intuitively nice.  I like this approach.
Thanks!
On Sun, Sep 26, 2021 at 11:17 AM Robert Kern @.***>
wrote:

Using a plain-old bootstrap resampling of the rows of data is often not
the preferred method for regression problems (it's great for estimators of
univariate data). Consider resampling the residuals
https://en.wikipedia.org/wiki/Bootstrapping_(statistics)#Resampling_residuals
instead.
And yes, @ev-br https://github.com/ev-br that's the core idea of the
bootstrap, though generating completely synthetic data is less useful for
understanding the uncertainties implied by the particular dataset and
is better used as a way to understand the limits of the model and debug
your implementation (Andrew Gelman and Aki Vehtari and others call this "fake
data simulation"
https://statmodeling.stat.columbia.edu/2019/03/23/yes-i-really-really-really-like-fake-data-simulation-and-i-cant-stop-talking-about-it/
)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/14769#issuecomment-927348116, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEDRHZY35UYUFAZCI76DTUD5PT7ANCNFSM5EX35HXQ
.
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.

I'm going to close this as you have a path forward.


Add support for release assets

https://github.com/rapidsai/dependency-file-generator/pull/29 adds in a schema file for dependencies.json. One of the keys in this file is the schema id, which is linked to the package version. We should look into using https://github.com/semantic-release/git to support updating the version in this schema id upon release so that it stays consistent when a PR merges. Without that, the PR merge will immediately bump the package version and invalidate the id.

:tada: This issue has been resolved in version 1.3.0 :tada:
The release is available on:

GitHub release
PyPI release

Your semantic-release bot :package::rocket:


google chrome keeps crashing

my google chrome keeps crashing and idk why

This is a known bug, in the preview3 notes they write: "Webview (and apps that use webview) work, but Chrome doesn't. This is due to the AArch64-only runtime environment."

Any chance of this being fixed in an upcoming release? Is this still being worked on? Last commit was over a year ago… cc @741g, any idea? Thank you!

Whatever I type, it gives search auto-fill variants, but I get "Something went wrong" in the search after hitting enter  🧐


Add rating and reviewing Feature.

Suggest a design for rating and reviewing feature , and also add it at a good location so that it is visually and functionally good.

Hey Rohan !
can i contribute on your website?

please assign it under GSSOC'23 to me

Design  : Design a clean and intuitive interface with clear sections for ratings, reviews, and an option to submit a review. Use a visual representation of the rating scale, such as stars . Allow users to easily select their rating by clicking on the appropriate representation.  Provide fields for the rating, title, and written review. Show average ratings prominently, accompanied by a summary of the number of reviews. Display reviews in a scrollable list format, showing the rating, title, author, and date.
User Engagement: Include options for upvoting or marking reviews as helpful. Allow users to leave comments on reviews to foster discussion and interaction.
please assign the project to me.

Implementing a review and rating system is crucial for any platform, and it requires implementation on both the front-end and back-end. Managing a review system can be complex, as users should be able to review and comment on other users' feedback. To accomplish this, it is necessary to utilize MongoDB for both the front-end and back-end components. I have prior experience working on similar projects and I would be interested in taking on this task. Please consider assigning it to me
Gssoc 2023

@LaveshK11 go for it

I want to develop the backend APIs and the frontend code and merge both components. Should I proceed with creating the backend as well?

@rohansx please confirm this, someone was working on backend right?

@k-deepak04 yes but the issue is closed now, so @LaveshK11 can proceed with the implementation.

I  can work on this issue under gssoc 23 contribution ?

@prashant744 you can see someone is assigned to this issue
don't just go and comment on all that you can work
follow the guidelines
if a issue is already assigned don't ask for work
if that person is unable to do that i will give it to you

@k-deepak04  @rohansx  I am considering beginning work on a specific task and require some references to guide me. Additionally, I am in need of a backend API that I can integrate into my project. I would like to discuss further details regarding this matter.

@LaveshK11 start a discussion in the discussion group there we will talk about it and decide


Add ability to search by "group-pm-with".

Re-submission of #4279.
A bit of modification was needed on the original PR to get it to be compatible with the current search_suggestions code.
Beyond that, I added a couple extra tweaks (autocomplete operator, better error handling, empty narrow msg), and finish test coverage. (100% test coverage should be maintained in search_suggestions.js, filter.js, people.js)

This looks great, merged, thanks @cory2067!
My only concern is whether we have picked the ideal operator name and textual description for this with group-pm-with and strings like "You have no group private messages with this person yet!".  @rishig thoughts?  I feel like we should probably finalize those soon so we can upload translation strings (etc.).

Do we need the "group" part at all?
I'm also generally in favor of getting rid of the 'with', I think it adds a lot of clutter. So my votes would be
pm:hamlet<EMAIL_ADDRESS>or group-pm:hamlet<EMAIL_ADDRESS>

Well, the existing pm-with operator, which I think we could reasonably rename to pm:, is for PMs with exactly that group of people.  This is for PMs that include the list of people and potentially others.  I don't think pm: and group-pm: is an acceptable way to indicate that difference; I would read the difference between those as the first being 1:1 and the second being more than 1:1.  pm: and pm-including: or pm: and pm-with: or pm: and group-pm-with: would be reasonable.
https://github.com/zulip/zulip/issues/6634 from a user suggested pm-includes:.

I think it would be useful to filter for any conversation involving a particular recipient - whether it was a group PM or not.  If I remembered chatting with Sally about apples, I could just say "apple<EMAIL_ADDRESS>and would find the conversation whether it was an individual pm or a group pm.

I see, I misunderstood what the operator did. I like "pm-including" for being pretty clear, and agree with Lloyd that it would be great to include both pms and group pms.
Then:
"You have no private messages with Hamlet yet!" (same as the message for pm: I'd guess, but that's probably fine?)
"narrow to private messages that include"

OK, I agree with that plan.  @cory2067 do you have time to do this rename in the next couple days?  I think we can start with making the new thing pm-including, and then we can rename pm-with to pm once that's done.

(If Cory doesn't have time to do this soon, we should open an issue so we don't forget about it).


Choose pull quotes for Service Integrators page (2).

[ ] Choose 10–25 words of praise or review from two reviews
[ ] Provide citation (name, source link, publication)

If possible, it would be great to include an avatar or publication logo. See #21 for discussion about legality of doing so.

Would pick this one (but make sure to not use this at other places, too):
Altorors, Andrei Yurkevich, CTO
What excites me most is its open-source nature, which creates a foundation for a broad ecosystem of contributing parties.
Nepente, André Poleza, Co-Founder (willing to talk to the press: YES)
Their modular and effective ecosystem twisted our minds


Add target support for MSP432E4 series

Adding support for MSP432E4 targets (MSP432E401Y and MSP432E411Y) .
Generated via target-gen from https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/msp432cmsis/latest/exports/TexasInstruments.MSP432E4_DFP.3.2.6.pack
Tested with probe-rs-cli download and hs-probe - working!
Tested via the onboard XDS110 CMSIS-DAP compatible debugger on MSP-EXP432E401Y - not functional.
XDS110 also fails with known good targets (STM32H7, RP2040) so I expect the issue lies with the debugger, not the algo.
XDS110 actually works fine, but the probe defaults to JTAG which probe-rs doesn't support.
Works fine when specifying protocol as SWD

@9names Thanks for your help over the Rust-Embedded matrix channel. I found this PR and thought I'd comment here for future reference regarding XDS110 support.
When using cargo-flash I saw in the logs that probe-rs was using the JTAG over CMSIS-DAP protocol. I got confirmation from @Yatekii over the probe-rs matrix channel that JTAG over CMSIS-DAP is not supported yet. cargo-embed on the other hand uses SWD by default majority of the times, and works well with XDS110.
For cargo-flash, the argument I had to pass to force the protocol was --protocol=swd.
For cargo-embed, I had to append the following to Embed.toml:
[default.probe]
protocol="Swd"

You are correct, it does work when swd is specified on the command-line. fascinating.
$ ./release/probe-rs-cli dump 0x0 4 --chip MSP432E411Y --protocol swd
Addr 0x00000000: 0x20040000
Addr 0x00000004: 0x000001fd
Addr 0x00000008: 0x000003d7
Addr 0x0000000c: 0x0000070b
Read 4 words in 3.998451ms

probe-rs tooling used to always default to SWD, which caught me out at first when targeting RISCV targets.
but now... it seems to depend on the probe which one is used? makes sense for my probes that only support SWD, but hsprobe supports both. I don't get it.

I haven't completely hammered down the specifics in the probe-rs source code but I think I have a clue.
Through tracing some of the commands exchanged using the CMSIS-DAP protocol is DAP_Connect (https://arm-software.github.io/CMSIS_5/DAP/html/group__DAP__Connect.html)
When a protocol is not specified, the logs show sending a request to connect with the Default Port of the device. The response from XDS110 shows it selects the JTAG mode as default. But probe-rs doesn't have support for JTAG specific commands further down the road for JTAG mode. That's probably why it fails.

I've rebased this and updated this using the latest git target-gen since the target format has changed while this PR has been waiting for review.
Tested it again with the MSP432E411Y launchpad, still works fine.


Do not confuse an IDE by having a source directory with two output directories

Motivation:
IntelliJ IDEA generates an error event like the following when a source
directory has more than one output directory:
java.lang.Throwable: Module 'boot-tomcat_main' and module 'boot-tomcat8.5_main' have the same content root: file:///home/trustin/Workspaces/armeria/it/spring/boot-tomcat/src/main/java

Modifications:

Do not use the sourceSets directive for a derived project.
Miscellaneous

Reorder the directives in :it:spring:boot-tomcat8.5 so that build
plugin part comes first
Remove an unused dependency

Result:

IDE devs are happy.

LGTM

@trustin could you add the version of IntelliJ IDEA that this applies to?

Thanks for reviewing :slightly_smiling_face:


Temporal metrics

We need to study what metrics are exposed by the other Temporal clients and do something similar now that we've integrated prometheus-net into NeonService.  I'm putting this on the backlog until the Temporal client is further along.
Note that workflows and activities are already free to define their own metrics at this time.

CLOSING: Temporal is deprecated


Freezing chatbot statements after training

When the chatbot is using SQL backend (Django extension in this case), calling bot.get_response("a-new-statement") seems to add "a-new-statement" to database of possible responses. This would allow users to add responses I may not want. Is it possible to freeze the learning, or is there an alternative method to get_response without learning the passed input?
(See attached image where only words "one" & "two" are taught, but finally bot learns from input to answer "four" with "three" at the end.)

Try This  Read Only Mode

Thank you, that should fix my issue!


Named arg + Constant = "Type Constant is not used in this file" (phpcs v3.10.0)

I think you should try to report it to PHPCS first.
(c) @kukulich

Sorry, I'm not sure this is related to phpcs or slevomat, so I've posted it in both repos 🤷♂
https://github.com/slevomat/coding-standard/issues/1680
Describe the bug
Since phpcs v3.10.0 the code generate false positive errors about unused constants. Seems it is caused by named arg (no error without it).
-------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------
 7 | ERROR | [x] Type PREG_SPLIT_DELIM_CAPTURE is not used in this file.
 8 | ERROR | [x] Type PREG_SPLIT_NO_EMPTY is not used in this file.
-------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------

Code sample
<?php declare(strict_types = 1);

namespace Bug;

use function preg_split;

use const PREG_SPLIT_DELIM_CAPTURE;
use const PREG_SPLIT_NO_EMPTY;

preg_split('/((.)\g{-1}*)/um', 'abc', flags: PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);

Custom ruleset
<?xml version="1.0"?>
<ruleset name="LaraAspStandard"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="./vendor-bin/phpcs/vendor/squizlabs/php_codesniffer/phpcs.xsd">
    <config name="installed_paths" value="../../slevomat/coding-standard"/>
    <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
        <properties>
            <property name="searchAnnotations" value="true"/>
            <property name="ignoredAnnotationNames" type="array">
                <element value="@dataProvider"/>
            </property>
        </properties>
    </rule>
</ruleset>

Expected behavior
No errors.

@LastDragon-ru Thank you for reporting this. Definitely a bug in the 3.10.0 release and definitely related to named parameter. Unfortunate that nobody caught this during the testing period.
Minimal code sample it can be reproduced with:
preg_split($r, $h, flags: PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);

Symptom: close parenthesis of the function call gets incorrectly tokenized as T_TYPE_CLOSE_PARENTHESIS.
Also note: it's only the close parenthesis, the open parenthesis is not affected.
  2 | L3 | C  1 | CC 0 | ( 0) | T_STRING                   | [ 10]: preg_split
  3 | L3 | C 11 | CC 0 | ( 0) | T_OPEN_PARENTHESIS         | [  1]: (
  4 | L3 | C 12 | CC 0 | ( 1) | T_VARIABLE                 | [  2]: $r
  5 | L3 | C 14 | CC 0 | ( 1) | T_COMMA                    | [  1]: ,
  6 | L3 | C 15 | CC 0 | ( 1) | T_WHITESPACE               | [  1]: ⸱
  7 | L3 | C 16 | CC 0 | ( 1) | T_VARIABLE                 | [  2]: $h
  8 | L3 | C 18 | CC 0 | ( 1) | T_COMMA                    | [  1]: ,
  9 | L3 | C 19 | CC 0 | ( 1) | T_WHITESPACE               | [  1]: ⸱
 10 | L3 | C 20 | CC 0 | ( 1) | T_PARAM_NAME               | [  5]: flags
 11 | L3 | C 25 | CC 0 | ( 1) | T_COLON                    | [  1]: :
 12 | L3 | C 26 | CC 0 | ( 1) | T_WHITESPACE               | [  1]: ⸱
 13 | L3 | C 27 | CC 0 | ( 1) | T_STRING                   | [ 19]: PREG_SPLIT_NO_EMPTY
 14 | L3 | C 46 | CC 0 | ( 1) | T_WHITESPACE               | [  1]: ⸱
 15 | L3 | C 47 | CC 0 | ( 1) | T_TYPE_UNION               | [  1]: |
 16 | L3 | C 48 | CC 0 | ( 1) | T_WHITESPACE               | [  1]: ⸱
 17 | L3 | C 49 | CC 0 | ( 1) | T_STRING                   | [ 24]: PREG_SPLIT_DELIM_CAPTURE
 18 | L3 | C 73 | CC 0 | ( 0) | T_TYPE_CLOSE_PARENTHESIS   | [  1]: )
 19 | L3 | C 74 | CC 0 | ( 0) | T_SEMICOLON                | [  1]: ;

I'll have a look.

@LastDragon-ru @momala454 PR #507 should fix this. I would appreciate it if you could test the fix.
If you need it, you can download the PHAR files containing the patch here: https://github.com/PHPCSStandards/PHP_CodeSniffer/actions/runs/9173810442

It fixes the problem, thanks

Thanks for testing @momala454!

Yep, no error anymore

Thanks @LastDragon-ru  for testing and confirming!


Filter "Problems" by the extension which generated them (Markers Panel Filter)

I'd love to be able to declutter the "Problems" Markers Panel by hiding/showing logs generated by only certain extensions.
Right now, if I type [ts] into the filtering box, I get No results found with provided filter criteria. Clear Filter.
If I then delete the filter, I can clearly see plenty of warnings and errors generated by [ts]. After tinkering with it for a while, I've not been able to figure out how to filter by the extension name. (Maybe it just needs some documentation or UI to help the user write filters?)
Also, for other users finding this issue, after a bit of searching around I realized I could also filter roughly by using the keywords warning, error, and info. E.g: enter warning, error into the filter to hide info markers. This helps a bit, but doesn't help much when you're trying e.g. to filter out a particularly noisy extension (like a spell checker) generating the same type of marker you're looking for.

(Reviewed, none of the above issues address this particular problem.)

Related #8305

Exactly the same request as @graph - I want to hide spell check from the problems panel (But I woul like to highlight them inside the files)

+1 for filtering problems generated by specific extension

This work got moved to the backlog, but is there a target release? Can me and my team help support this work with developer resources? Who should we reach out to for design discussions before we begin investing here?
Many of the above comments echo the pains our customers are facing as well. In addition, it would be even better if a user could be given pre-defined filters for "Owners" or "Sources" that exist in the problems pane so they can filter to the issues they wish to investigate easily.

For example, the spellcheck scenario where there are many instances of spelling issues makes it difficult to investigate errors in the build. Filtering the problems pane down to only the build errors would allow a user to investigate more efficiently. This could be done by selecting the "Owner" or "Source" (still not clear which is correct) of those Build errors through a dynamically generated list of filters for convenience.

This same scenario can be applied to any warning or error in the problems pane.

For spell checkers this is a very relevant issue. The extension provides important help when writing, but for most programming tasks it clutters the "Problems" pane unnecessarily.

With the recent addition of negattive text filtering #115351 it is at least possible to "fake" that (for a single extension) as long as it leaves a correct source hint: ![ts] filters those out also similar possible: ![cSpell].

The negative text filters proposed by @GitMensch did not work for me (in code 1.83). Instead, filtering without the brackets was necessary: e.g. !cSpell

As a workaround for C++, adding the option "C_Cpp.errorSquiggles": "disabled", cleaned up a all the spurious intellisense errors and mostly left me with real compiler errors after building. Guessing https://github.com/clangd/vscode-clangd/issues/114 might work for clangd.

filtering without the brackets was necessary: e.g. !cSpell

+1 from me. filtering with [] didn't do anything.
But even with negative filtering this doesn't do what I want. I want to only display problems issued by the typescript type checker. Filtering by name works for pretty much any other source of problems. Ie I can filter for "eslint" and that will be reasonably accurate. but filtering for "ts" doesn't help at all because (surprise!) all my files end in .ts. 🤦🏽

this is very relevant for embedded programming with toolchains that intellisense is not fully compaitible with. I still use intellisense for navigation and code completion, but it's incorrect about not being able to find some sdk functions that I'm using, so on a clean compile I get a few hundred erroneous "problems" popping up post-build. And when I have a legitimate problem, that window is useless because of the false positives.

The error/warning view needs an overhaul to improve the DX. I would request to make this "problems view" a combination of table and tree views. Then make the group by, sort by and filter by options controllable by the user. And each of these "_ by" operations should support multiple parameters. Then one may group the problems by source extension and file, then filter by source path and then sort by the message. Or any other way that suits the user.


Calling cancel on drag gets called twice (on strong drags)

See your codesandbox here: https://codesandbox.io/s/n9vo1my91p
If you give it a forceful drag, it will skip a slide because it appears the cancel method is getting called twice (it happens that the slide++ is embedded in the cancel call).

In this line here, why do we have to use a requestAnimationFrame. Some other race condition?

What the... I just "updated" codesandbox and this ceases to happen. Sorry for the noise.

Ok... it only happens when dev tools is open?

Hey @morgs32, thanks for reporting the issue, nice catch :) Yes, requestAnimationFrame is used to let the gesture logic finish before terminating it with cancel.
onDrag = (canceled, cancel) => {
  if(!canceled) { // <-- logic that depends on calling cancel()
    console.log('calling cancel() with canceled equal to', canceled)
    cancel()
  }
  console.log('canceled is equal to', canceled)
}

/* output using RAF */
// calling cancel() with canceled equal to false
// canceled is equal to false
// canceled is equal to true

/* output without using RAF */
// calling cancel() with canceled equal to false
// canceled is equal to true
// canceled is equal to false <-- not exactly what we want

What seems to happen with the devtools opened in the example is that RAF debounces the call to terminate the gesture and the browser sometimes has time to execute the gesture twice, hence the logic (that depends on cancel being called) to increase the index occurring twice. I'll investigate further why this might happen, but one solution would be to remove RAF and it would be up to the user to use cancel as the final statement to its gesture logic:
onDrag = (canceled, cancel) => {
 if(!canceled) {
   console.log('calling cancel() with canceled equal to', canceled)
   cancel()
 }
 else // <-- added else
   console.log('canceled is equal to', canceled)
}

/* output without using RAF */
// calling cancel() with canceled equal to false
// canceled is equal to true

I figured as much! Here's what resolved it for me:
https://github.com/react-spring/react-use-gesture/pull/53
Of course, it was only really an issue because in development. Interesting!

I think it's actually an issue every time the browser would drop frames so I believe this needs a fix! I'll review your PR now :)

Should be fixed in 5.0.1!


Because they're supposed to be 307 (Temporary Redirect) and 308 (Permanent Redirect)

Both are valid HTTP codes.

The icons with the names 407.jpg and 408.jpg are the symbols shown as 307 and 308 on http.meower.org.

Now this branch doesn't delete any images, yay :Þ

These seem to all have been reverted...

if I can i could bring them back (I hope (maybe (possibly (I hope (maybe (possibly (I hope)))))))


Storage V10 SDK - Where is table support?

Describe the solution you'd like
Promises/async/await support for Table storage. It doesn't appear to be part of the V10 SDK.
Describe alternatives you've considered
Promisfying the existing V2 SDK but that's a nightmare for typings and just really clunky, it should be natively supported.
Additional context
Current V2 SDK is referred to as legacy, it's not really legacy is there's no alternative. If there is an alternative it's not documented or has changed its name

Hi @phawxby Please refer to this https://github.com/Azure/azure-storage-js/issues/45

Thanks @XiaoningLiu. I'll leave this one open as it's in the active repository. I'm disappointed that the recommendation is to just use the legacy API.

I'm seconding the request for the table storage async implementation. I'm a bit surprised it's not at the top of the list considering Azure Table is pretty popular.

Also here https://github.com/Azure/azure-sdk-for-js/issues/5655

Hello all,
We are closing this issue in favor of #5655 which will be updated soon once we have the first preview released of the new SDK for Tables that aligns with the Azure SDK guidelines as we have used for Blobs, Files, and Queues so far.
Please subscribe to #5655 for further updates and thanks for your patience with us.


fixed storage linter violations

This checklist is used to make sure that common guidelines for a pull request are followed.

View a preview at https://prompt.ws/r/Azure/azure-cli/6163
This is an experimental preview for @microsoft users.


Changing the simulation module

Currently, there isn't a straightforward method to change the simulation module without modifying the Cad.py code directly. Admittedly, this aspect wasn't initially considered during the development process.
To make the necessary changes, you can modify the code starting from line 83 in the Cad.py file. The relevant section can be found here. Depending on the desired module, you'll need to update line 83 with the appropriate value  based on the following mapping:

Product
Windows Name

BeamPROP simulation tool
bsimw32.exe

FullWAVE simulation tool
fullwave.exe

BandSOLVE simulation tool
bandsolve.exe

GratingMOD simulation tool
grmod.exe

DiffractMOD simulation tool
dfmod.exe

FemSIM simulation tool
femsim.exe

ModePROP simulation tool
modeprop.exe

It's important to note that I no longer have access to RSoft CAD, making it challenging for me to test these modifications. Please let me know if this approach works for you, and if not, kindly notify me so that we can collaborate on finding a solution.

It works in RSoft-CAD, thanks for answering my question！


MM-47605: Screen Reader not announcing Add members button

Summary
Focus is not going to the "Add" button in the "Channel Members" popup window, and the screen reader is not announcing the "Add" Members button.
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/21419
Fixes  https://mattermost.atlassian.net/browse/MM-47605
Related Pull Requests
None
Screenshots
https://user-images.githubusercontent.com/102028591/201334081-e4785486-266c-45d7-aed4-ff1dd4341fa7.mp4
Release Note
NONE

Hello @babinderrathi,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

@BenCookie95 , Sir could you please take a look.

@babinderrathi The ticket has been updated https://mattermost.atlassian.net/browse/MM-47605.
Once the user clicks on the channel members button, the focus needs to switch the X in the RHS view and then traverse the RHS. You can see more details in the Jira ticket

@BenCookie95 sir i applied some changes, can you please re-review.

@BenCookie95 sir i applied some changes, can you please re-review.

@babinderrathi Focus still isn't going to the RHS once you open the channel member list. Once the channel member list is opened, the focus should immediately change to the X on the RHS and if I close the RHS by pressing the X, focus should go back to the channel member button

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@babinderrathi Is something blocking you on this?

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!


Brevent server error

POCO/light_p_in/light:14/UP1A.231005.007/V8<IP_ADDRESS>.ULSINXM:user/release-keys
Killed
checking for server..fail
[command] pm path me.piebridge.brevent
package:/data/app/~~uromFc1Xpd2zjVPcyNYAow==/me.piebridge.brevent-V9gdUTvLqdiz9Q_onuxD7A==/base.apk
please report bug to https://github.com/brevent/Brevent/issues/new with logs below
Click to show logs
--- crash start ---
[command] logcat -b crash -t '09-21 23:45:59.000' -d
--- crash end ---
--- brevent start ---
[command] logcat -b main -t '09-21 23:45:59.000' -d -s BreventLoader BreventServer
--- brevent end ---

please report bug to https://github.com/brevent/Brevent/issues/new with logs above

Same lol

Did you do adb commands so....


TileLayer performance improvement

Target Use case
We have started to test TileLayer for dealing with MVT Tiles. Working to improve its performance would be relevant for this and probably more use cases.
Proposed feature
We have checked (using an approach as described in TileLayer) that the major performance cost is in applying a renderSubLayers call per tile.
What we propose here, as a first step, is trying to manage the Tiles differently (per z level), reducing the number of render calls. We have tested it in a fork and it looks it might be useful, so we would be pleased to discuss it over a PR.
To Do List

[ ] Add label and assign to milestone
[ ] Coding
[ ] Doc update
[ ] What’s new update
[ ] Test

We have checked (using an approach as described in TileLayer ) that the major performance cost is in applying a renderSubLayers call per tile.

@VictorVelarde I am working on the somewhat related Tile3DLayer (will be available in the imminent deck.gl 7.3 release), and would be very interested in your findings as we also render a lot of sublayers.
I'd like to look at whether there are any performance inefficiencies in 'renderSubLayers` that we can address on a framework level, before we adopt more complex logic in these layers.

Great @ibgreen ! Then we're gonna create a small PR, referencing this issue, with our approach and some metrics.
/cc @jesusbotella


Translating introducing-jsx.md

The translation is correct but it seems like the words have been shuffled. RTL support is needed.

Thanks @Emmanuel-Melon, this is work in progress 😄
And btw, I added you as a reviewer to another PR for the RTL support, please check it out and let me know your thoughts.
Cheers!


[enhancement] support for node >14

Problem Description
i want to build a divi extension on node 16, but there are various incompabilities.
grunt-po2mo
this package depends on elegantthemes/grunt-po2mo#master which only supports node 12 or 14. Current LTS is 16.
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "12.x || 14.x". Got "16.13.1"
I open this issue here, because https://github.com/elegantthemes/grunt-po2mo has no issues.
Node-sass
npx yarn build
yarn run v1.22.17
$ divi-scripts build
Creating an optimized production build...
Failed to compile.

./includes/fields/Input/style.css
Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Steps To Reproduce

update node
run create-divi-extension  my-extension

Solution

Include this commit https://github.com/fundamental-studio/grunt-po2mo/commit/ad4ce15b7c7494d3cc84a822cd8fd1b23c00e2ea for grunt-po2mo

Update node-sass from v4.14.1 to at least v5.1.0 https://github.com/sass/node-sass/pull/3090

Same issues:
#533
#530
Workaround
nvm install lts/fermium
nvm use lts/fermium
npx create-divi-extension  my-extension

@nanu-c, can you by chance tell me how to do step 1 in your "Solution" section? How can I include this commit?
I opened an @issue a couple of days ago, and it might be linked to yours?
Would be amazing to hear from you.. thanks in advance! 🙏✨


docs: mention 'stubr' in related projects section

Hi @LukeMathWalker,
coming back on your proposal to mention my project on wiremock-rs readme.
First version is stable, though still lacks some features (mostly response templating) but is fully usable.

Awesome!
Can you upgrade the module docs in lib.rs as well?

Awesome!
Can you upgrade the module docs in lib.rs as well?

done ;)


The buildbot worker uses prodactivity, it MUST install the master version of that software.

Title:  The version of prodactivity used by the buildbot worker instance should be set to master.

Description
The prodactivity source code now follows the f5-common-python policies regarding branching strategies, and collaboration.   This policy implies that the master branch will have the properly tested-and-timely-updated version of the source.

Fixed.


Update UG script and fix video

Summary of changes
Update external UoG scripts link and move UoG media player script call. Fixes bug where videos won't load unless a full page refresh occurs. The section widget component has also been refactored to allow for more versatile multi-column layouts.
Frontend

Update gatsby-ssr.js to call new, refactored UoG scripts file
Update video.js to call uog-media-player.js directly
Refactor sectionWidgets.js to use Bootstrap 5 classes and handle different media and text layouts
General code cleanup

Backend
None.
Test Plan

Go to https://www.gatsbyjs.com/dashboard/2e86c058-a370-4898-ae51-9698cd178e8d/sites/fc8e90a4-54ce-4012-a5fc-3302f05a3d6d/deploys
Go to "Visit build" for the latest version of this PR build
Visit the following pages and ensure videos load, play, display captions, and have a downloadable transcript. You should not have to reload the page or open it in a separate tab (i.e. if, from the main index page, you go to "Welcome Home", use the Back button, and then navigate to another page with video, that video should load properly without requiring a hard refresh):

/welcome-home
/land-acknowledgement
/studentexperience/become-a-peer-helper
/vimeo-test

Visit /grce/contact and verify it has a similar layout to https://www.uoguelph.ca/grce/contact
Visit /choose-u-of-g and verify the images near the bottom still appear side-by-side with text underneath as they do on https://www.uoguelph.ca/choose-u-of-g

All pages but, /land-acknowledgement are working fine - the video is coming up as a red rectangle.  Trided multiple browsers and multiple devices. screeen capture sent to teams.

Using - https://build-f699d5e1-1aff-4a60-8e3c-515979157a5c.gtsb.io/land-acknowledgement this build.

I also am seeing the same issue as Scott mentioned, with videos, tried on edge and firefox.


BatMon sometimes finds the wrong battery

When BatMon is started and there is also a bluetooth wireless mouse attached, BatMon will sometimes try to report on that battery, rather than the main laptop battery.
On Linux, BatMon looks ln /sys/class/power_supply.  On my system it looks like this
$ ls -d /sys/class/power_supply/*
/sys/class/power_supply/AC
/sys/class/power_supply/BAT0
/sys/class/power_supply/hid-34:88:5d:91:9a:b6-battery

BatMon further looks for a file within each of those directories named "present" whose  contents is the value "1"
$ ls /sys/class/power_supply/*/present
/sys/class/power_supply/BAT0/present
/sys/class/power_supply/hid-34:88:5d:91:9a:b6-battery/present

$ cat /sys/class/power_supply/*/present
1
1

BAT0 is the main battery, hid-34:88:5d:91:9a:b6-battery is the Logitech Bluetooth mouse.
One EASY workaround is to simply start BatMon with the mouse turned off.
This issue has also been recognized here, with a proposed fix.
https://github.com/valr/cbatticon/issues/40

I had to add additional check (type equals "Battery") to make it work on my notebook but I think this should be robust enough -- until something else comes out ;-)
Many thanks for your contribution!


Scribble: Apple Pencil misses strokes

OMG Love this project, it's a game changer in the new world of remote work!
(I also love using my apple pencil) I'm not sure what is going wrong but it always happens. When I try to use my pencil some strokes are drawn,  some strokes are missed,  and some strokes seem to be doing a selection/drag.
In the attached video I'm writing hello world and you see the missed strokes (well you don't see them, :) )
Happy to help debug!
https://user-images.githubusercontent.com/280981/131703398-f4845501-c225-4bb8-9054-0b96a17a7a95.mp4
I'm on iOS 15, with the latest 12.9" iPad, happens on both chrome and safari.

Hey. If you have Scribble enabled in your Pencil settings, then disabling it will improve this. Not great if you're depending on Scribble features though. We will try to fix this regardless of that setting.
It may not solve it entirely.
Question: if you drag-select all the elements (encompassing the ones missing), are some of them "invisible"?

If so, then there's also a different bug in play.

There's a bug in Safari https://bugs.webkit.org/show_bug.cgi?id=217430 — it can be potentially improved/solved by preventing certain events, though it'll likely affect some parts of our app. We'll want to investigate this soon.
I don't think there's an issue for this yet, so we'll use this one to track it.

It's related to this bug https://github.com/excalidraw/excalidraw/issues/3564

Here's an attempted fix for the Scribble missing strokes issue: https://excalidraw-git-fixscribble-excalidraw.vercel.app/ Lemme know if you can still reproduce!