Do not remove ejected servers from the hash ring

Is your feature request related to a problem? Please describe.
I have 3 redis servers. When one of them gets ejected, then twemproxy saves the data on other two remaining servers as per: Note that an ejected server will not be included in the hash ring for any requests until the retry timeout passes. This will lead to data partitioning as keys originally on the ejected server will now be written to a server still in the pool.
This can lead to data inconsistency in a case where the server returns to the ring for a short period and then gets ejected again, making the client read stale cached data from the second server.
Here is an example:

Client issues "SET key value" - set on server 1.
Server 1 gets ejected.
Client issues "GET key value" - since server 1 is ejected, it would be read from server 2.
Client issues "SET key value" - since server 1 is ejected, it would be set on server 2
Server 1 returns.
Client issues "GET key value" - read from server 1.
Client issues "SET key value" - set on server 1.
Server 1 gets ejected.
Client issues "GET key value" - stale data is read from server 2.

Describe the solution you'd like
Please add an option for twemproxy to immediately reply with NULL (or something similar) when there are operations on an ejected server instead of removing it from the hashring.
Describe alternatives you've considered
Not possible.

See https://github.com/twitter/twemproxy/issues/608 - support for redis sentinel is planned in an upcoming 0.6 release which may improve uptime.
Also, by setting auto_eject_hosts: false, you can avoid changing the ring, though twemproxy will attempt to reconnect - the "heartbeat" patches planned for 0.6.0 would reduce the impact of this on the clients of the application


After Swell outtage on 6th of april huge amount of requests made in the background

Describe the feature you'd like to request
https://swell.is had an outtage on the 6th of april, that resulted in >400GB/hr in server side requestdata. That is an  avoidable amount and hardly accceptable
Describe the solution you'd like
detect if commerce has an outtage and don't fetch things that often in the meantime.
Describe alternatives you've considered
Do it on my own, but i would like that to not happen to others, even if they use other providers.

Here you can see good how much that was.

Hey there! Thank you for your contribution. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966


Add method for navigating to Menu (ie section list) on mobile

As a MOBILE USER I want to be able to easily get to the navigation menu on the website.
Currently the navigation is below all content, including on the homepage, and we don't have support for a Flat Menu button that either 1) expands from the Flat Menu to list top-level sections 2) clicks to a list of top-level sections.
The simplest possible solution may be adding an HTML anchor at the top of the navigation menu, and using a Flat Menu button to link to that anchor. This doesn't work well on desktop, but solves the problem on mobile platforms.

Resolution:
Two stages (please comment on how difficult they are to implement, we can defer (2) to later if it's complicated):

Replicate the v1 functionality in single-column view only: (see  )

Add a menu button using iogt/static/icons/burger.svg next to search icon in the header (here:  )
For column width < 280px, it might not fit; in that case replace the search button with the menu button.
Add an anchor before the row with second instance of the language picker (i.e. just before here
 ). Pressing the menu button should take you to that anchor on the page (so you see the language picker, search bar, top-level sections/footers).

Allow replicating this functionality via flat menus

Allow to reference the anchor also in flat menus (maybe by specifying #menu as the URL?)
Add a checkbox for flat menu items "Only display in single column view"
Somewhere in the CMS add a setting where it's possible to enable/disable the menu button from point 1.

Note: In the future #573 might make this redundant.

I think we can already add anchors eg #menu to URLs in Flat Menus:


PostgreSQL 17: Best way to update docker container postgresql

My docker container does not start since the update to Postgresql 17. Container was automatically updated by watchtower.
What is the best way to update the database?
One way I imagine is to start a container with older version on another port and from within the container, do
pg_dumpall -p 5432 | psql -d postgres -p 5433
I have no clue if this works or not, but could not find anything in the docu.

Major versions upgrades are complicated; see https://github.com/docker-library/postgres/issues/37
Arguably, we should probably remove the generic tag aliases like latest entirely. :thinking:
However, I'm going to close this in favor of #37 (which as a lot more discussion around the problem).
(FWIW, your dump+load solution is effectively how the official pg_upgrade tool itself works.)


Create StreamDecoderProvider

Create a StreamDecoderProvider to provide the decoders for the stream. The StreamDecoderProvider uses only StreamConfig and Schema, eliminating the usages of KafkaStreamProviderConfig
Also fixing some integration tests which were not working as expected.
Linking to https://github.com/linkedin/pinot/issues/2583

Codecov Report

Merging #3319 into master will decrease coverage by <.01%.
The diff coverage is 84.21%.

@@             Coverage Diff              @@
##             master    #3319      +/-   ##
============================================
- Coverage     70.83%   70.82%   -0.01%
  Complexity        4        4
============================================
  Files           983      984       +1
  Lines         45348    45359      +11
  Branches       6091     6091
============================================
+ Hits          32121    32127       +6
- Misses        11114    11119       +5
  Partials       2113     2113

Impacted Files
Coverage Δ
Complexity Δ

...ot/core/realtime/stream/StreamConsumerFactory.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ore/realtime/impl/kafka/SimpleConsumerFactory.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

.../realtime/impl/kafka/KafkaStreamLevelConsumer.java
71.92% <100%> (+0.5%)
0 <0> (ø)
:arrow_down:

...manager/realtime/HLRealtimeSegmentDataManager.java
76.99% <100%> (+5.29%)
0 <0> (ø)
:arrow_down:

...manager/realtime/LLRealtimeSegmentDataManager.java
71.45% <100%> (-1.78%)
0 <0> (ø)

...ot/core/realtime/stream/StreamDecoderProvider.java
70% <70%> (ø)
0 <0> (?)

...in/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
0% <0%> (ø)

...impl/dictionary/DoubleOnHeapMutableDictionary.java
68.88% <0%> (-8.89%)
0% <0%> (ø)

.../predicate/NotEqualsPredicateEvaluatorFactory.java
84.74% <0%> (-6.78%)
0% <0%> (ø)

...afkaHighLevelConsumerBasedRoutingTableBuilder.java
92% <0%> (-4%)
0% <0%> (ø)

... and 21 more

Continue to review full report at Codecov.

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


Support installation for Linux / Windows

We include some scripts to automatically set up the Python environment (see readme), but I've only tested it on OSX. To close this issue, we need confirmation that users can run the install script to set up their environment on:

[x] Linux

Tested on Fedora
Works with Ubuntu (via GitHub action)

[ ] Windows

and include any OS-specific instructions .

@frankharkins Can you please assign this issue to me ?

Done, thanks!

Thanks @frankharkins . I have started working on this issue.

Hi Frank, I can check the installation on Windows environment if it is not done yet.

@frankharkins As per requirements.txt, pyscf==2.0.1 but it breaks installation for windows 64 bit. I have tried various methods to resolve this issue but nothing works see this open issue Issue with cmake during installation of pyscf #1684.
It didn't  come up with OSx as cmake works fine on OSX.

@frankharkins  Will test on WSL2 and inform you soon.

@frankharkins and @Raghav-Bell  I had more success with Git bash. I got more errors with WSL, I am also working on it.

@frankharkins WSL2 doesn't seem to work as it takes alot time (>2hrs) to install all dependecies and there are dependencies conflict as even warned by @Algh89110377 . I will test on git bash too.

@frankharkins As per requirements.txt, pyscf==2.0.1 but it breaks installation for windows 64 bit. I have tried various methods to resolve this issue but nothing works see this open issue Issue with cmake during installation of pyscf #1684. It didn't come up with OSx as cmake works fine on OSX.

There is error in pyscf installation even with qiskit_nature that's why it was made optional. Can we make it here too as Anaconda envs are easy to work and manage.

@frankharkins I made the changes you asked.

@Raghav-Bell thanks for testing on WSL; which dependencies are conflicting?

@frankharkins Following dependencies conflicts poped up before complete installation on WSL2 :-```
ERROR: qiskit-ibmq-provider 0.20.2 has requirement numpy<1.24, but you'll have numpy 1.24.3 which is incompatible.
ERROR: qiskit-ibmq-provider 0.20.2 has requirement requests-ntlm<=1.1.0, but you'll have requests-ntlm 1.2.0 which is incompatible.
ERROR: qiskit 0.42.1 has requirement qiskit-aer==0.12.0, but you'll have qiskit-aer 0.12.1 which is incompatible.
ERROR: qiskit 0.42.1 has requirement qiskit-terra==0.23.3, but you'll have qiskit-terra 0.24.1 which is incompatible.
ERROR: ibm-cloud-sdk-core 3.16.7 has requirement urllib3<2.0.0,>=1.26.0, but you'll have urllib3 2.0.3 which is incompatible.
ERROR: ibm-platform-services 0.37.0 has requirement urllib3<2.0.0,>=1.26.0, but you'll have urllib3 2.0.3 which is incompatible.
ERROR: qiskit-ibm-runtime 0.9.3 has requirement numpy<1.24, but you'll have numpy 1.24.3 which is incompatible.
ERROR: google-auth 2.20.0 has requirement urllib3<2.0, but you'll have urllib3 2.0.3 which is incompatible.

@frankharkins I noticed the issue is still open. May I ask What is the problem with the windows installation? I can work on it.
@Raghav-Bell , may I ask if the WSL-2 installation problem you had is with the package after changes on June 20th? Could you let me know if you checked your python version?

@Algh89110377 New script again broke on WSL2 with following error:
Usage: __main__.py [options]

ERROR: Invalid requirement: --prefer-binary
__main__.py: error: no such option: --prefer-binary

@Raghav-Bell, thanks, I will start working on it

@frankharkins I made the changes you asked.

@Algh89110377 pyscf issue is still there, can you please look on this.

The textbook is being superseded and will not accept any new contributions. Thanks for your help investigating this issue.


pull request for e2e test at 01/27/2017 16:45:19

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Docker in development and production modes

Is your proposal related to a problem?
No
Describe the solution you'd like
I'd like to add the Dockerfile and Docker-compose and also Nginx configuration files into the base app template to be able run the application into the Docker env. What do you think?

Hello!
This is very specific feature for your concrete project. create-react-app main idea is simple build react's apps. The way how you will deploy it or how you will host it is up to you. Community of this package is too large: somebody host apps on cloud services (aws, azure, etc), somebody host directly on machine, somebody build apps for IoT, somebody create part of big apps by using cra. We coudn't able to support all of this.
I don't see any problems to find builded by community dockerfile to deploy CRA apps and place it in your project.
If you need to setup a lot of projects based on top of CRA, you could use custom template feature, and build your specific template with dockerfile included.
In my opinion, this feature is out of responsability of create-react-app.

I came here looking for a Dockerfile, so I disagree with @zamarawka.
I think having a docker-compose and Dockerfile in any project is good, after all, you're not required to use it.


Getting Started Improvements

I tried VUEngine and I had no problem to install it, create a template project, build it and test it. And that's pretty much what's in the Getting Started documentation. But now, I'd like to modify the template project and really, I don't really understand some basic concepts (and I feel stupid about that :( ).
The Image viewer project's readme says it allows to display 3d images without coding knowledges but I tried to add an image and I didn't find out a way to get my images "converted" to c files. The templates already contains the "Converted" folders before the build so I guess I have to do something before trying to build. Maybe a small explaination about how the asset management is working in the getting started documentation could help.
I really don't know how the build system works. There is a config.make but it seams to be generated. It seams that code added to the source folder is compiled but I think it would be useful to add a little explaination on how the build system work too.
Sorry if I missed something.

Hi, ultrasuperpingu! Thanks for trying VUEngine! It's good to hear that everything worked without problems for you so far. May I ask, out of interest, which OS you are on?
The documentation is indeed lagging behind a lot, sorry about that.
I'll quickly give you a high level view of graphics in VUEngine in general here. Hopefully I'll find the time later to translate that into proper documentation. ;-)
The following isn't a complete overview, but we hope that this helps a little bit. Don't hesitate to fire any other questions and feel free to point out anything that may make the response too complex. 😛
Anyway... the main concepts used are those of states, entities and components.
States & Stages
The engine has a state machine that has to enter a user defined state at the start of the program. This is done with the line Game::start(Game::getInstance(), GameState::safeCast(AdjustmentScreenState::getInstance())); in source/game.c.
AdjustmentScreenState is the state that the engine enters when the program starts and it eventually makes the engine to enter the VueMasterState state. It is a GameState and all of these have a Stage instance, which is a Container that... contains Entities, the game entities. Stages and Entities are defined in structs called Specs (from specification), which hold the configuration values for each. For example, VueMasterState loads the stage defined by VueMasterSt.
Entities
If you check VueMasterSt's definition (in assets/stages/VueMasterStageSpec.c), you will find an array of its children (VueMasterStChildren) which contains a single child: VueMasterImage1Entity. This is the specification for the single Entity that is loaded in the VueMasterState's stage.
Sprites
By checking assets/images/VueMasterImages/VueMasterImage1/Spec/VueMasterImage1Spec.c, you will find that VueMasterImage1Entity has a list of Sprites, which are the objects used to display images, called VueMasterImage1Sprites. It is an array that holds references to 2 Sprites:

VueMasterImage1LeftSprite
VueMasterImage1RightSprite

A Sprite holds information about how to display a Texture and a Texture has a reference to a CharSet. All of these are abstractions of the underlying VB's graphics hardware. There are 2 Sprites because we have a stereo image, hence, 1 image for each eye.
Image conversion
VUEngine Studio uses a program called "grit" for converting images into the c files that you are asking for, containing arrays that define tiles and maps that reference those tiles. These are then used by CharSets and Textures respectively. In this example, they are VueMasterImage1Charset, VueMasterImage1LeftTexture and VueMasterImage1RightTexture.
In the assets/images folder you'll find a few .image.json files. These contain the image conversion configuration. Basically, the image converter searches for all of these files in the project and converts the images referenced under images with the given settings.
Replacing an image in VUE-Master
Let's now replace image 1 with your own. These are the steps.
Note that images must be in PNG format and should use an indexed 4-color palette in the following order: Black, Dark Red, Medium Red, Light Red. Example palettes in various formats can be found here: https://github.com/VUEngine/VUEngine-Core/tree/master/lib/palette.

Replace VueMasterImage1L.png and VueMasterImage1R.png in assets/images/VueMasterImages/VueMasterImage1.

Run the image conversion. There's a widget in the right sidepanel of the editor, which holds a button to start the conversion and lets you see some logs.

The engine needs to know how many tiles it has to load, so open up assets/images/VueMasterImages/VueMasterImage1/Converted/VueMasterImage1.c and copy the tile count, found in line 5, to the respective CharSetROMSpec found in assets/images/VueMasterImages/VueMasterImage1/Spec/VueMasterImage1Spec.c (line 41).

Build & enjoy.

Note that the VB is limited to 2048 tiles. Minus a few for the font to display the current image's number (15, I think). If your converted images require more tiles, you have to reduce visual complexity and convert again.

Great,
Thank you very much. I missed the Convert Image Panel :). I did a small gba game and the engine used grit too so I'm a little familiar with it but I didn't know how to launch it. I thought it was included in the build process...
Now I have to look closer to your explanations about stages, entities and sprite :)
Seriously, your answer really helps. I think it would be useful to add this (maybe in a faq section) in your documentation.
I'll try to integrate my stereo animation in the VUE-Master (I guess not before this week-end) and I'll be happy to share this experience if you will.
Thanks a lot for your help :D

I managed to include my small animation in VUE-Master :)
But now, I'm trying to add a 50 frames animation so I changed:
#define __MAX_FRAMES_PER_ANIMATION_FUNCTION			16
to
#define __MAX_FRAMES_PER_ANIMATION_FUNCTION			50
But it doesn't compile (in fact, it doesn't link):
build//libAdjustmentScreenVUEngine.a: error adding symbols: Success
collect2: error: ld returned 1 exit status

Any idea?

Ok, great.
I just had a little problem when trying to add a 50 frames animation. Default maximum is 16 frames, so I changed the maxFramesPerAnimationFunction in Engine.json and the __MAX_FRAMES_PER_ANIMATION_FUNCTION in config.h in the engine-core (and clear and rebuild).
Hoping it can help somebody :)

Hi,
I post this question here because I think it's also a "Getting Started" improvement need :)
I try to get sounds in my project and I have issue to find documentation about it. I had no problem to use the files provided in example projects but how can I "compile" my own files ?
For Midi, I saw in the generated files they was produced by a modified version of this software : https://www.virtual-boy.com/tools/midi-converter-and-player/downloads/
but I didn't find the "modified version". I guess I can modify the file this tool generated to get it work but if I can find the "modified version", it would be easier...
And for Wav files, I didn't find any information to know how to compile it and the documentation is empty on this subject.
Can you tell me the tools I need and where to find them ?
Thanks :)

Composer tools as well as MIDI conversion tools are not ready, yet. Meanwhile, you can find the modified MIDI converter for Windows here: https://github.com/VUEngine/VUEngine-Core/blob/master/lib/utilities/MIDI-Converter.zip
For PCM sound, you need a .pcm file to convert a WAV file. The WAV file needs to be preprocessed to be mono and of a bitrate of 8 kHZ or less. Here's a sample: https://github.com/VUEngine/VUEngine-Showcase/tree/main/assets/PCM
Note that PCM is very heavy on hardware and can thus not be used during gameplay.

Thanks a lot for the quick reply :)

For PCM sound, you need a .pcm file to convert a WAV file. The WAV file needs to be preprocessed to be mono and of a bitrate of 8 kHZ or less. Here's a sample: https://github.com/VUEngine/VUEngine-Showcase/tree/main/assets/PCM

Ok, my files where stereo 44k. I switched them to mono 8k (32bits float). I tried to modify the pcm files and to close and reopen the IDE but it doesn't seem to convert it. Do I need to launch some command ?


Do not allow Hosts to hide their hosted Collectives

Currently it's possible for Hosts to stop displaying their hosted Collectives by hiding that part of the contributions section on the Host profile. We should not allow this, as transparency of which Collectives are hosted by a Fiscal Host is important.
Related: #5370

I'd love to see hosted collectives moved to a separate section.

I agree!

I've created an issue to suggest moving hosted accounts to a separate section: https://github.com/opencollective/opencollective/issues/5457. If we want to resolve this one without waiting for https://github.com/opencollective/opencollective/issues/5457, we can prevent disabling Contributions for active hosts and think about migrating existing cases.

I continue to find Hosts with hidden Collectives and I think we should do something about it. Not sure if we should wait on #5457 or not.
E.g. https://opencollective.com/foodandsolidarity

I'm still finding examples of this, like https://opencollective.com/fya
In the cases where I've spoken to them, they did not intend for this to happen, they just wanted to hide contributions and did not think hosted Collectives would be under that category.


Release of version <IP_ADDRESS> of SqlServerDsc

Releasing version <IP_ADDRESS>

This change is

Codecov Report

Merging #1417 into master will increase coverage by <1%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #1417    +/-   ##
=======================================
+ Coverage      98%     98%   +<1%
=======================================
  Files          36      38     +2
  Lines        5344    5603   +259
=======================================
+ Hits         5238    5497   +259
  Misses        106     106


[consensus] add MetricsSafetyRules

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

rofl, you could have literally copied my comment in your other PR for the description for this PR but yet ...

@bors-libra r+

:pushpin: Commit 9945315 has been approved by davidiw

:hourglass: Testing commit<PHONE_NUMBER>e654c1c4cfd8e990dc65965d2ac08b with merge 32909d16f4ceacfa8ce8a8426d7b1d13834cc55f...

:broken_heart: Test failed - checks-actions_land_blocking_test

@bors-libra retry

:hourglass: Testing commit<PHONE_NUMBER>e654c1c4cfd8e990dc65965d2ac08b with merge 72aed72b5e4663bb6e388e22a0e5aa5077a4d6c5...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing 72aed72b5e4663bb6e388e22a0e5aa5077a4d6c5 to master...


Mouse events didn't works ?

It seems that Mouse events doesn't works.
I've tried for SvgGroup, for SvgPath etc.
Any ideas ?
Thanks !

you need to implement ISVGCaller yourself, please see this #218 and this #126


Update StartScreen.md

Issue - "fill in the blank" assignments - Description has been updated now.

Docs Build status updates of commit 6960968:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/startscreen/StartScreen.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@dariomws306 @get-itips @tseward
Peer review needed for this PR. Thanks.

Once the typo that Dario mentions is fixed, it is ok to be merged by me.

Agreed looks good -- just needs to clarify the dash.

Docs Build status updates of commit 8f3b476:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/startscreen/StartScreen.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

The middle dash before the word "specific" is ok or it's a typo?

Hi @dariomws306
I've added the dash to the sentence after referring to the other articles with the same kind of description. So I just started following the same format. Hope this clarifies. Let me know if you think we need to omit the dash. Thank you! :)
"This reference provides cmdlet descriptions and syntax for all Server Manager-specific cmdlets"

Yes, it's true @sowjanya365, sorry about that. I see the dash in other similar articles after I left this comment. So I think it's ok. Thanks!

Thank you, @dariomws306 :)


Navbar example uses markup against doc recomendations

The code for this example uses nested containers (the root one plus one inside navbar): http://getbootstrap.com/examples/navbar/
This example should be updated to reflect the fact that nested containers have been deprecated (https://github.com/twbs/bootstrap/issues/11436), or should have a comment explaining why the exception is fine in this case.

There's no problem here—navbars require the use of a container within them, and there's a site-wide container to center the page contents. One is .container, the other is .container-fluid. The issue of #11436 is that for awhile our .containers used fixed widths, not max-widths. Thus, we use .container-fluid on a required nested container.

@mdo Wait, so only .container isn't nestable within .container or .container-fluid?

THE ISSUE is that the documentation does not reflect this:
"Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects. Note that, due to padding and more, neither container is nestable."
http://getbootstrap.com/css/

This recently came up as an issue on StackOverflow:
http://stackoverflow.com/questions/36618433/bootstrap-navbar-should-i-nest-containers/36621583


While I am using this in my application I am  getting baseColors is not defined  error and pie chart is not getting displayed. Please help.

Submit an Issue
Hi,
Thanks for helping us improve the Predix UI platform by submitting an issue.
Before you begin, please check the list of existing issues to avoid submitting a duplicate issue.
To help us solve this issue as fast as possible, please fill out the following sections:
Expected behavior and actual behavior:
Steps to reproduce the problem:
Environment (component version number, Browser (including version), operating system, hardware, etc):
Screenshots (optional, but very helpful):
Code examples help us better understand the issue - follow the appropriate codepen for the component by going to https://predix-ui.com, finding the component in question, and clicking on the pencil icon under the demo.
    Once you've created your code example, you can save it under a new url.
    Please note that you should NOT use the same methods for production as the ones used in codepen - these methods are not production ready.

Hello,
We noticed the issue yesterday and it should be fixed already. Please try refetching px-vis and px-vis-pie-chart, this should solve the issue.


IOCTL Communication

IOCTL Apparently isn't compatible with the drivers that can be loaded with TDL? Tried with simple examples, and defined the DriverDispatch in similar way as DriverEntry was defined, no results. However, if someone knows a way, please do respond.

You have working examples, what else do you need? If something isn't working it is your fault only.


Targetability and stuns

The turn after someone becomes invulnerable:
Expected outcome: they are now targetable
Actual outcome: They are still untargetable for one turn
One turn after a stun ends:
Expected outcome: they are now able to use skills
Actual outcome: They are unable to use skills that were stunned the turn prior.
(while on the turn of the stun they can use the skill, but it won't trigger)

Should be fixed now, but let me know if it's still having problems.


ValueError: invalid literal for int() with base 10: "['1']"

Versions

Python: 3.6.8 32bit
OS: Windows 10 ( Version 1809 )
Kivy: 1.10.1
Kivy installation method: Using pip in administrative command prompt

Description
Trying to run the example showcase in kivy-examples folder from command prompt ( administrator rights ) fails with error: ValueError: invalid literal for int() with base 10: "['1']"

. See the attached image.
Code and Logs

Exactly. You put in the config.ini have a wrong log_level value


code requirement

Code requirement is not working on Mohist 1.12.2, probably ScriptEngine is null on Mohist

Good job you can change the script engine in the config then.


Typo - ExchangeRate.fromFixedWitCurrency

Should be easy fix.

good pickup. Money had the same problem.

Fixed by e888a98


BMT Administration

Userstories and task in this epic:

[ ] #515
[ ] #521
[ ] #516
[ ] #518
[ ] #519
[ ] #520
[ ] #522

Questions:

Create project type? --> common lib?
Why hide and not delete (ref figma sketches)


Issue with nanoid

It looks like the nanoid function is generating a value that is no longer compatible with @simplewebauthn startRegistration() function. From what I can tell, the value options.user.id should be base64url-encoded UTF-8 bytes when passed into startRegistration().
SimpleWebAuthn - Custom User IDs

I also ran into this and created a workaround in a copy of handleFormSubmit:
id: btoa(config?.generateUserId?.() || nanoid());
I guess actually supplying a custom generateUserId using btoa() in the same manner would also work as a temporary workaround.


[BDGR-163] Rework jobs data model

Do away with separe dummy_test_jobs/load_asset_jobs/process_media_jobs tables, as that's error prone. Instead, stick the job type and metadata directly into the base_jobs table.

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

Project coverage is 3.06%.

Files
Patch %
Lines

server/app/shows/[show_id]/actions.ts
10.00%
9 Missing :warning:

...ws/[show_id]/rundown/[rundown_id]/assetsActions.ts
0.00%
6 Missing :warning:

...ows/[show_id]/rundown/[rundown_id]/itemsActions.ts
0.00%
6 Missing :warning:

...hows/[show_id]/rundown/[rundown_id]/metaActions.ts
0.00%
6 Missing :warning:

server/app/api/_router.ts
0.00%
2 Missing :warning:

server/app/jobs/dataTable.tsx
0.00%
2 Missing :warning:

server/lib/tus.ts
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #320       +/-   ##
==========================================
- Coverage   22.42%   3.06%   -19.37%
==========================================
  Files          95      88        -7
  Lines        3625    2543     -1082
  Branches      573     525       -48
==========================================
- Hits          813      78      -735
+ Misses       2812    2465      -347

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Allow wandb.init to set wandb.run.dir.

Problem or Use Case
I am working with wandb and (hydra)[https://hydra.cc/]. Like wandb, hydra creates a new output directory unique to each run. I would like to unite my wandb output directory and hydra output directory -- for one, I would like to be able to save my hydra config.yaml to wandb.ai because it includes all of the parameters (including defaults) and not just the ones that were set from the command line.
Suggested Solution
I think the best option would be to have separate dir and base_dir arguments for wandb.init.

Hey @ethanabrooks setting dir in wandb.init will control the base_dir.  You can call wandb.save("config.yaml") or simply write a file to wandb.run.dir after calling wandb.init.  Manually specifying the absolute directory would cause errors if init is called multiple times in the same directory.  There are low level ways to control the naming scheme of the sub directories we create, but do you think simply calling wandb.save or writing the file to wandb.run.dir will work for your usecase?

The hydra config doesn't get written to a directory of your choosing. It gets created automatically at, for example, outputs/2020-12-16/15-50-04/.hydra/config.yaml. This may inspire me to start an issue with hydra as well 😒
A program using hydra can programmatically access outputs/2020-12-16/15-50-04/ as os.getcwd(). However, if I use wandb.init(dir=os.getcwd()), then wandb.run.dir will point to something like outputs/2020-12-16/15-50-04/wandb/run-20201216_155005-382cmcvs/files.
No matter what argument I give to wandb.save, it will look inside outputs/2020-12-16/17-40-20/wandb/run-20201216_174021-2e4m7het/files because of this line.
A hacky solution would be to copy the config from os.getcwd() to wandb.run.dir and then call wandb.save but the having two separate programmatically created run-specific directories just doesn't seem like the right solution.

wandb.save will look in os.getcwd() for any files by default.  I think you want to call wandb.save("config.yaml", base_path=".hydra/config.yaml") assuming os.getcwd() is the hydra directory in your script.

I wrote a minimal script that might help us discuss this:
# main.py
import os

import hydra

import wandb

@hydra.main()
def app(cfg) -> None:
    wandb.init(dir=os.getcwd())
    print(wandb.save(os.path.join(os.getcwd(), "config.yaml"), base_path=".hydra/"))

if __name__ == "__main__":
    app()

When I run it:
❯ python main.py
wandb: Currently logged in as: ethanabrooks (use `wandb login --relogin` to force relogin)
wandb: wandb version 0.10.12 is available!  To upgrade, please run:
wandb:  $ pip install wandb --upgrade
wandb: Tracking run with wandb version 0.10.11
wandb: Syncing run treasured-mountain-1
wandb: ⭐ View project at https://wandb.ai/ethanabrooks/ppo-outputs_2020-12-16_19-58-07
wandb: 🚀 View run at https://wandb.ai/ethanabrooks/ppo-outputs_2020-12-16_19-58-07/runs/vz2c9b1h
wandb: Run data is saved locally in /Users/ethanbrooks/ppo/outputs/2020-12-16/19-58-07/wandb/run-20201216_195807-vz2c9b1h
wandb: Run `wandb offline` to turn off syncing.

Traceback (most recent call last):
  File "main.py", line 11, in app
    print(wandb.save(os.path.join(os.getcwd(), "config.yaml"), base_path=".hydra/"))
  File "/Users/ethanbrooks/miniconda3/envs/ppo/lib/python3.8/site-packages/wandb/sdk/wandb_run.py", line 861, in save
    raise ValueError("globs can't walk above base_path")
ValueError: globs can't walk above base_path

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

wandb: Waiting for W&B process to finish, PID 36392
wandb: Program failed with code 1.  Press ctrl-c to abort syncing.
wandb:
wandb: Find user logs for this run at: /Users/ethanbrooks/ppo/outputs/2020-12-16/19-58-07/wandb/run-20201216_195807-vz2c9b1h/logs/debug.log
wandb: Find internal logs for this run at: /Users/ethanbrooks/ppo/outputs/2020-12-16/19-58-07/wandb/run-20201216_195807-vz2c9b1h/logs/debug-internal.log
wandb: Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
wandb:
wandb: Synced treasured-mountain-1: https://wandb.ai/ethanabrooks/ppo-outputs_2020-12-16_19-58-07/runs/vz2c9b1h

To fix this, I had to specify the full path to the config file:
import os

import hydra

import wandb

@hydra.main()
def app(cfg) -> None:
    wandb.init(dir=os.getcwd())
    print(
        wandb.save(
            os.path.join(os.getcwd(), ".hydra", "config.yaml"),
            base_path=os.path.join(os.getcwd(), ".hydra/"),
        )
    )

if __name__ == "__main__":
    app()

This avoids the error, but still selects the wrong files:
❯ python main.py
wandb: Currently logged in as: ethanabrooks (use `wandb login --relogin` to force relogin)
wandb: wandb version 0.10.12 is available!  To upgrade, please run:
wandb:  $ pip install wandb --upgrade
wandb: Tracking run with wandb version 0.10.11
wandb: Syncing run valiant-snow-1
wandb: ⭐ View project at https://wandb.ai/ethanabrooks/ppo-outputs_2020-12-16_20-02-56
wandb: 🚀 View run at https://wandb.ai/ethanabrooks/ppo-outputs_2020-12-16_20-02-56/runs/1wcx0h4o
wandb: Run data is saved locally in /Users/ethanbrooks/ppo/outputs/2020-12-16/20-02-56/wandb/run-20201216_200257-1wcx0h4o
wandb: Run `wandb offline` to turn off syncing.

['/Users/ethanbrooks/ppo/outputs/2020-12-16/20-02-56/wandb/run-20201216_200257-1wcx0h4o/files/config.yaml', '/Users/ethanbrooks/ppo/outputs/2020-12-16/20-02-56/wandb/run-20201216_200257-1wcx0h4o/files/config.yaml']

wandb: Waiting for W&B process to finish, PID 36699
wandb: Program ended successfully.
wandb:
wandb: Find user logs for this run at: /Users/ethanbrooks/ppo/outputs/2020-12-16/20-02-56/wandb/run-20201216_200257-1wcx0h4o/logs/debug.log
wandb: Find internal logs for this run at: /Users/ethanbrooks/ppo/outputs/2020-12-16/20-02-56/wandb/run-20201216_200257-1wcx0h4o/logs/debug-internal.log
wandb: Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
wandb:
wandb: Synced valiant-snow-1: https://wandb.ai/ethanabrooks/ppo-outputs_2020-12-16_20-02-56/runs/1wcx0h4o

Hey @ethanabrooks
Do you think it would be okay to close the issue if the solution is obtained?

@ariG23498 the solution is not obtained. Neither of those scripts produce the desired result. The first script throws an error. The second script identifies the wrong files:
['/Users/ethanbrooks/ppo/outputs/2020-12-16/20-11-04/wandb/run-20201216_201104-3obr16xd/files/config.yaml', '/Users/ethanbrooks/ppo/outputs/2020-12-16/20-11-04/wandb/run-20201216_201104-3obr16xd/files/config.yaml']

instead of /Users/ethanbrooks/ppo/outputs/2020-12-16/20-11-04/.hydra/config.yaml.

Hey @ethanabrooks calling wandb.save on a file outside of the runs directory symlinks it into the run directory.  Those paths are the sym-linked paths.  If you look at the contents of config.yaml it should be hydra config.
I'm thinking there may be another problem however.  We keep our own config.yaml file that may confuse our logic if its format changes.  The most full proof way to save the config is simply to symlink or copy the file into the run directory as a different name.
os.symlink(os.path.abspath(".hydra/config.yaml"), os.path.join(wandb.run.dir, "hydra-config.yaml"))
wandb.save("hydra-config.yaml")

If you don't call wandb.save we will sync the file when the run finishes.  Calling wandb.save tells us to upload the file immediately but it's not required.  All files in the wandb.run.dir are automatically synced.

I see. The symlink solution should work. Thank you.


Terraform stuck at Logger "Still creating"

Operating System Version: Windows 10
Deploying via: AWS/Terraform

Description of the issue: (seems related to issue:604 )
While building the logger host via "terraform apply", I'm running into the following loop (I have let this go for up to 3 hours) :
aws_instance.logger (remote-exec): Resolving deltas: 100% (94/94), done.
aws_instance.logger (remote-exec): [22:08:50]: Installing Fleet...
aws_instance.logger (remote-exec): mysql: [Warning] Using a password on the command line interface can be insecure.
aws_instance.logger (remote-exec): No URLs found in -.
aws_instance.logger (remote-exec): unzip:  cannot find or open fleet.zip, fleet.zip.zip or fleet.zip.ZIP.
aws_instance.logger (remote-exec): cp: cannot stat 'fleet/linux/fleetctl': No such file or directory
aws_instance.logger (remote-exec): cp: cannot stat 'fleet/linux/fleet': No such file or directory
aws_instance.logger (remote-exec): /opt/DetectionLab/Vagrant/logger_bootstrap.sh: line 280: fleet: command not found
aws_instance.logger (remote-exec): cp: target '/opt/fleet/' is not a directory
aws_instance.logger (remote-exec): Created symlink /etc/systemd/system/multi-user.target.wants/fleet.service → /etc/systemd/system/fleet.service.
aws_instance.logger (remote-exec): [22:08:51]: Waiting for fleet service to start...
aws_instance.dc: Still creating... [4m30s elapsed]
aws_instance.logger: Still creating... [4m30s elapsed]
aws_instance.dc (remote-exec):  The install of winpcap was successful.
aws_instance.dc (remote-exec):   Software install location not explicitly set, could be in package or
aws_instance.dc (remote-exec):   default install location if installer.

aws_instance.dc (remote-exec): Chocolatey installed 1/1 packages.
aws_instance.dc (remote-exec):  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

aws_instance.dc (remote-exec): C:\Users\vagrant>ipconfig /renew

aws_instance.dc (remote-exec): Windows IP Configuration

aws_instance.dc (remote-exec): Ethernet adapter Ethernet 5:

aws_instance.dc (remote-exec):    Connection-specific DNS Suffix  . : us-west-1.compute.internal
aws_instance.dc (remote-exec):    IPv4 Address. . . . . . . . . . . : <IP_ADDRESS>
aws_instance.dc (remote-exec):    Subnet Mask . . . . . . . . . . . : <IP_ADDRESS>
aws_instance.dc (remote-exec):    Default Gateway . . . . . . . . . : <IP_ADDRESS>

aws_instance.dc (remote-exec): C:\Users\vagrant>powershell.exe -c "Add-Content 'c:\windows\system32\drivers\etc\hosts' '        <IP_ADDRESS>    wef.windomain.local'"
aws_instance.logger: Still creating... [4m41s elapsed]
aws_instance.dc: Still creating... [4m41s elapsed]
aws_instance.dc: Still creating... [4m51s elapsed]
aws_instance.logger: Still creating... [4m51s elapsed]
aws_instance.dc: Still creating... [5m1s elapsed]
aws_instance.logger: Still creating... [5m1s elapsed]
aws_instance.dc: Creation complete after 5m3s [id=i-0f23a7b337c046e48]
aws_vpc_dhcp_options.default: Creating...
aws_vpc_dhcp_options.default: Creation complete after 0s [id=dopt-0e04a5a134378d890]
aws_vpc_dhcp_options_association.default: Creating...
aws_vpc_dhcp_options_association.default: Creation complete after 1s [id=dopt-0e04a5a134378d890-vpc-0e711bf19ce736ccd]
aws_instance.logger: Still creating... [5m11s elapsed]
aws_instance.logger: Still creating... [5m21s elapsed]
aws_instance.logger: Still creating... [5m31s elapsed]
aws_instance.logger: Still creating... [5m41s elapsed]
aws_instance.logger: Still creating... [5m51s elapsed]
aws_instance.logger: Still creating... [6m1s elapsed]
aws_instance.logger: Still creating... [6m11s elapsed]
aws_instance.logger: Still creating... [6m21s elapsed]
aws_instance.logger: Still creating... [6m31s elapsed]
aws_instance.logger: Still creating... [6m41s elapsed]
aws_instance.logger: Still creating... [6m51s elapsed]
aws_instance.logger: Still creating... [7m1s elapsed]
    continues like this

I have stopped the installation and run "destroy" then "apply" again with the same results. I am in us-west-1 and the other machines appear to have deployed successfully.

Closing as this is a dupe of https://github.com/clong/DetectionLab/issues/604


Add otel integration

This PR adds tracing and metrics, but there are open questions:

OTEL wants to be loaded before anything else.
The otel examples stress that OTEL libraries must be loaded before anything else, and that the require node flag should be used for this.
We may consider doing this in a standard dockerfile? For now, it's not been a problem, but users could have issues if they load some of our instrumented libraries before they load our SDK.

Our packaging spec suggests traces should be sent to the endpoint specified with OTEL_EXPORTER_OTLP_ENDPOINT, however the OTEL spec specifies that this should be the base url for telemetry, and traces should be sent to <base_url>/v1/traces (or use OTEL_EXPORTER_OTLP_TRACES_ENDPOINT for traces). We implement the OTEL spec with the expectation that the connector packaging spec will change. comment on RFC
edit: this has now been clarified, and this implementation is correct.

I tried to test this with our infra, but I think the latest changes are not deployed yet, or I did something else wrong. Either way, this is not tested end-to-end, so caution is advised.

I'm closing this PR in favour of #21, which forwardports the backport (lol 😵). That was easier than cherry picking the changes from the backport up here.


need glob pattern support inside exceptions rule

I am glad that the per-file ignore is added to flakehell.
Could you also add support for using patterns? it will be helpful in scenarios. For example inside a Django project the tests would be inside multiple folders but all having same set of rules excluded.
If regex support is added then this will become very powerful. as we can define multiple patterns using or style.
I suggest making the current rule to be a glob pattern/ fnmatch.fnmatch and create new one for regex
[tool.flakehell.exceptions.re."re(.+)pattern"]

Thank you, that's a good example. I thought about this feature but had no valid use cases in mind. Let's do it!


Fixes #320: Add a reading progress bar to the page

Please fill out the template below

Did you read the instructions in README ?
Yes
Solves which issue ?
Fixes #320
Give discription.
I have implemented reading progress bar using jqeury. To justify presence of progress bar I have also embedded trailer inside the page instead of having a button in the nav bar. Since jquery is not supported  on github. I am adding few screenshots as well as live link to checkout the page layout.
LIVELINK: https://thenullterminator.github.io/OC19/
Checklist
(To mark the checkboxes use x within the box brackets)

[x] Signed the code of conduct.

[x] Have you added yourself to the participants.

[x] Joined opencode zulip server.

@thenullterminator wait! what jquery is not supported on github 😑

@ananya-agrawal is embedding trailer inside the page needed? please help him in jquery part

https://www.i-programmer.info/news/167-javascript/12017-github-removes-jquery-why.html


chore: Make history flag injectable

Summary of Changes
For other wallets using Bifold, to be able to enable history feature through injectable flag
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Codecov Report
Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 59.81%. Comparing base (a4776b2) to head (8227045).
Report is 7 commits behind head on main.

Files with missing lines
Patch %
Lines

packages/legacy/core/App/screens/Splash.tsx
80.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1249      +/-   ##
==========================================
+ Coverage   59.68%   59.81%   +0.13%
==========================================
  Files         195      195
  Lines        6513     6520       +7
  Branches     1850     1848       -2
==========================================
+ Hits         3887     3900      +13
+ Misses       2604     2598       -6
  Partials       22       22

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Could you please provide the training logs?

I try to reproduce the coarse_grained part, there are two problems:

When set per_gpu_batchsize=8, it is very easy to OOM on V100, even if it is set to 4;
After running 1000 iterations, the loss is still nan, and the model seems unable to converge. (The training command is: python run.py with nmetrium_gpus=7 num_nodes=1 task_pretrain_mlm_itm_itc per_gpu_batchsize=2)
Epoch 0:   0%|                    | 1299/3995321 [15:26<791:22:06,  1.40it/s, loss=nan, v_num=1

On the A100( 40GB), using the per_gpu_batchsize=8 is still OOM.

Hi, we used A100-80G when setting per_gpu_batchsize=0, but having a smaller per_gpu_batchsize is fine as the code will do gradient accumulation automatically.
The loss will be nan initially but should be fine after a while. If not, you can check if these lines are causing the problems and fix them accordingly (e.g.  x = x/(x.norm(dim=-1, keepdim=True)+1e-9)
https://github.com/microsoft/FIBER/blob/main/coarse_grained/fiber/modules/fiber_module.py#L264 https://github.com/microsoft/FIBER/blob/main/coarse_grained/fiber/modules/fiber_module.py#L296).
We didn't keep the log and I don't have the resources to train it now.

@zdou0830 After training for 16 hours with 24-V100GPU , the loss is still nan.
Epoch 0:   6%|▋         | 75478/1165302 [16:37:52<240:08:20,  1.26it/s, loss=nan, v_num=0]

could you check if the abovementioned lines are causing the problem? also, ideally you can use a power of 2 gpus (e.g. 16) because the batch size is 4096.

could you replace those lines with x = x/(x.norm(dim=-1, keepdim=True)+1e-9) and see if the problem exists?

could you replace those lines with x = x/(x.norm(dim=-1, keepdim=True)+1e-9) and see if the problem exists?

Yes, I replaced those lines and the problem persists.

Thanks! It's a bit weird that mlm_labels will all be -100. are those empty sentences?

@zdou0830 I read your code in detail. It is because when the sentence is very short(and batch size is very small), the mlm_collator function will make each token mask out with a probability of 0.15, so it is possible that all tokens will be masked.

@zdou0830 I re-wrote a CustomDataCollatorForLanguageModeling to solve this problem, thanks for your reply~

@zdou0830 https://penzhanwu2v2.blob.core.windows.net/data/htzhang/coco/annotations/lvis_od_train.json This file has expired and cannot be downloaded, could you re-upload it?


[CI] Remove $ in e2e test workflow

Description
See https://github.com/meshery/meshery-istio/actions/runs/1634869405 as an example run of this proposed change.

Thank you, @alphaX86

Ready for this to be propagated across other adapters...

@Shreyas220 @iamsdas either you might want to assist in propagating this change across the rest of the adapters.


Ignore media column if it is present

Makes marginal progress towards https://github.com/XLSForm/pyxform/issues/601
Why is this the best possible solution? Were any other approaches considered?
It's not a great solution towards the original issue but I think it's an improvement. We don't have an example of header validation and I don't have time to design a good solution right now.
What are the regression risks?
A user could presumably be expecting an exception there now. That seems fine to break.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:

[x] included test cases for core behavior and edge cases in tests
[x] run nosetests and verified all tests pass
[x] run black pyxform tests to format code
[x] verified that any code or assets from external sources are properly credited in comments

I don't have time to design a good solution right now

Is #601 a common or severe problem? The issue description and this PR don't seem bad to me, so some additional context might be useful for future reference.

Is https://github.com/XLSForm/pyxform/issues/601 a common or severe problem?

I don't think so. How about we close #601 after this and I make a doc change: https://github.com/getodk/docs/issues/1546


Auto Attendant dial by extension

Any update on when the auto attendants will be able to dial by extension matching the lineuri attribute? The workaround provided works for regular users but not for analog devices and common area phone contacts created in a Skype for Business on prem environment. Is there any other recommended workaround for these endpoints other than creating regular user accounts and forwarding the calls to the analog or CAP numbers?

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

ID: a42f9e2c-aeee-76c4-620a-668cce21ba10
Version Independent ID: 6ff06eab-9c80-9c30-95ef-c17e157fbea1
Content: Set up a Cloud auto attendant - Microsoft Teams
Content Source: Teams/create-a-phone-system-auto-attendant.md
Service: msteams
GitHub Login: @kenwith
Microsoft Alias: kenwith

@dewaltk thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Build and install library

At the moment src/Makefile doesn't create a library, just an object file.
We want a library so that other programs can link it and also a make install.
Here is an example Makefile that might work:
http://stackoverflow.com/questions/885451/makefile-for-shared-libraries
If this does work on the common systems (Linux and Mac with gcc and clang) I'd much prefer this simple solution over using autotools.
Also what compile options do we want? At the moment we have this:
CFLAGS=-Wall -g -std=c99 #-march=native -pipe -fomit-frame-pointer

Ramin, I had to comment out some of the options you had used to make it work on my Mac.
I guess we want -03 and not -g for speed tests?
Do you think we should use  march, pipe or fomit-frame-pointer for some reason?

Yes, autotools would be too heavy. So let's try such a Makefile.
Of course, the -g can be deleted after we have finished debugging and we can test how -O3 behaves.
-pipe is not needed and -fomit-frame-pointer is included in -O. I didn't know that before. About -march:
from http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html :
"Using -march=native will enable all instruction subsets supported by the local machine"
I don't know what difference it will make for this algorithm. If you want, we can just delete it.


[CPDLP-3003] Review migrator performance

Context
Ticket: CPDLP-3003
Currently the migrator completes all table migrations however whilst looking at the performance on the CPU usage is quite high.
Changes proposed in this pull request
Review/improve migrator performance.

Closing this one as review app is failing so will recreate another PR to see if it fixes.


Clustered lighting not rendering correctly on Samsung Exynos devices

Hi there
Since the release of engine version 1.59.0 when I create a build of my game, Lightning doesn’t render when launching the game on my samsung galaxy s8 or the s20, it’s all dark.
The issue does not appear on desktop or on iPhone and xiomi devices.
Currently, I can resolve the issue by building the game with engine version 1.58.2.
I tried to reproduce the issue with a blank project, but I was not able to reproduce
the issue. Maybe it’s due to our game including mesh generation? but some obstacles are basic playcanvas cubes and those are affected aswell.
Build: https://playcanv.as/b/0146c1a2
latest engine result:

older engine result:

Does the Samsung device use the Snapdragon or Exynos chipset? Can you share the exact model number please?

Reproduced on Exynos Samsung devices including a Samsung SM-A510F https://www.gsmarena.com/samsung_galaxy_a5_(2016)-7789.php
Cannot reproduce on Samsung Snapdragon devices

After bisecting the commits, this looks like to be the breaking change: https://github.com/playcanvas/engine/pull/4863
It's odd that it worked for you on 1.58.2 as that was broken for me too. There would be times when the lighting looked correct but wasn't.
@AaronLigthart How many lights do you have in the scene? If only a couple and they are always on, the short term workaround for you would be to disable clustered lighting for now

I found that https://playcanvas.github.io/#/graphics/clustered-area-lights has similar issues with lighting on those devices and the same #4863 PR is the breaking change.
Could be related to the particles issue we had before @mvaligursky https://github.com/playcanvas/engine/issues/3460

@yaustar we only have 2 lights in the scene, both omni types.
one on the player:

and one on an object in the level. I did notice the parent has a scale of 4,4,4 wich should not matter for the lightning component but noted it just in case.

I can reproduce this on a similar device (Samsung Galaxy S10 Exynos), both on the PlayCanvas engine examples that use clustered lights and our own projects.
Older engine version (<= 1.58.2) don't have this problem on this device, work as expected.
https://user-images.githubusercontent.com/29543178/216645925-b83ba6d1-7015-4d32-b126-4970690e95b9.mp4

Interesting that an order version of the engine doesn't have this issue 🤔

I swapped to use fetch() instead of texture() to read data from relevant textures, which should avoid issues like this, as we specify pixel coordinates, instead of normalized coordianates. I'll have to investigate at some point soon, but this feels like a driver issue or similar.

Guys - thanks for the report. If you could test it on your devices I would really appreciate it. Please use this engine version, which contains the fix: https://code.playcanvas.com/playcanvas-latest.dbg.js
@AaronLigthart  @leonidaspir
And reopen if the issue is not gone for you.

Is there a way to use a custom engine version on the engine examples site without rebuilding?

From the other ticket: https://github.com/playcanvas/engine/issues/5074
Without Fix: https://playcanv.as/b/b1e7ea8b
With Fix: https://playcanv.as/b/71b81140

Yes, the build with the fix Yaustar shared works as expected on my Samsung Galaxy S10 (Exynos).


Use trailing commas in pyproject.toml

As trailing commas are valid in TOML, adding them to these lists cuts down on diff line noise when adding and removing dependencies. Also simplifies downstream patching ( like in build contexts: https://github.com/conda-forge/xgboost-feedstock/pull/191#discussion_r1732031076 )
cc @hcho3

I will make the change in #10755. Thanks!

Ah ok. Didn't see that. Thanks Hyunsu! 🙏


Fix puppet>=4 path handling

Here is a fix for ssl configuration with proper variable scopes

hi, thanks for the patch. Are you able to also add tests for that?

Adding a test for this isn't worth it, IMO; that's incredibly niche.


Add JSON chat objects.

This is a work in progress tracking #27. Any comments are welcome.
I repeat: work in progress.

Since line comments are likely to disappear when the diff changes, here's a summary of the points:

The extra section is really an array of desugared Chat JSON objects. Need more examples to pursue encoding/decoding them.
Need to support the old system as well (with §) for Position 2 ChatMessage packets.
The Color enum should be moved to types::consts, since it can be useful elsewhere (including the Teams packet).

What do you think about having:
enum Chat { Text(String), Json(ChatJson) }

Impl Protocol for that, then we can add two sugar/desugar helper fns:
fn sugar(Chat) -> Chat; // goes Chat::Text to Chat::Json
fn desugar(Chat) -> Chat; // goes Chat::Json to Chat::Text

@toqueteos To support non-JSON chat encodings? I think that would be the way to do it, yes.

wouldn't plain text chat just be a ChatJson { msg: Message::PlainText("§kFUNKY LOL"), ..default }?

@fenhl Apparently it is possible for clients to send non-JSON messages.

@atheriel Clients can only send non-JSON messages, which is why the field type on ChatMessage is String.

Now that #48 is merged, this should be rebased on master and the type of description on proto::slp::Response should be changed to ChatJson.

This has been rebased onto master, with some improvements. However, I cannot currently make the change in slp, because implementing Decodable by hand is a mystery to me.

As suggested by @toqueteos, I will continue to work on this and create a follow-up pull request.

Follow-up PR: #57


Reporting - Report Required table column

The ZCL8 spec defines that reporting is required to be supported for certain attributes, e.g. the On/off cluster's attribute 0x0000 (on/off state).
There is no column in the Attribute Reporting table to indicate which attributes are required to support reporting.

as of now i've got bellow fields for each attributes
for making a mandatory reportable attribute I now just using is required attribute but don't think it's the one i should rely on ...
any comment on this one ?
list of available info for each attribute :
"id": 101,
"clusterRef": 21,
"code": 7,
"manufacturerCode": null,
"name": "power source",
"label": "power source",
"type": "enum8",
"side": "server",
"define": "POWER_SOURCE",
"min": "0x00",
"max": "0xFF",
"reportMinInterval": null,
"reportMaxInterval": null,
"reportableChange": null,
"reportableChangeLength": null,
"isWritable": false,
"isNullable": false,
"defaultValue": "0x00",
"isOptional": false,
"isReportable": false,
"isSceneRequired": false,
"entryType": null

I think isReportable is what controls if the attribute should be reportable or not.

that's what i'm talkin about
we don't filter attributes in report tab based on isReportable ( all isReportable that i've seen is false) if this is the case,
so i don't actually have "attribute is reportable" field
also i don't think we have "attribute reportability is madatory " field also ...
i've set the warning based on type of attribute INT8U INT16U etc... and the input as number to check ..
### will this suffice or should i do other validity check (this is my actual question) ??


Concrete recipe not updated

New recipe is:
2 iron sticks
5 stone bricks
100 water

Not in vanilla normal recipe mode it isn't.

Also found an issue with the wall recipe. It also has 1 iron stick in the recipe. This is in normal mode yes

Vanilla factorio 1.0 does not use iron sticks in the concrete recipe. The code here (commit https://github.com/KirkMcDonald/kirkmcdonald.github.io/commit/8a669c8708bb5319cef518631434e96ae70c0c1f) is using the correct recipe

https://kirkmcdonald.github.io/calc.html#data=1-0-0&items=concrete:f:1

https://wiki.factorio.com/Concrete

Just checked my settings and bio industries was changing the recipe, my bad


Bootkube start stuck at "created pod-checkpointer daemonset"

I am following your HowTo on how to run kubernetes with bootkube. I already managed to create three virtual machines based on your HowTo to matchbox-with-docker.
Everything goes flawless until it comes to sudo systemctl start bootkube.
ssh<EMAIL_ADDRESS>'journalctl -f -u bootkube' stucks at:
-- Logs begin at Wed 2018-01-24 14:33:12 UTC. --
Jan 24 14:35:02 node1.example.com systemd[1]: Started Bootstrap a Kubernetes control plane with a temp api-server.
Jan 24 14:35:17 node1.example.com bootkube-start[1260]: pubkey: prefix: "quay.io/coreos/bootkube"
Jan 24 14:35:17 node1.example.com bootkube-start[1260]: key: "https://quay.io/aci-signing-key"
...
Jan 24 14:36:01 node1.example.com bootkube-start[1260]: [  171.283993] bootkube[6]:         created        pod-checkpointer serviceaccount
Jan 24 14:36:01 node1.example.com bootkube-start[1260]: [  171.298296] bootkube[6]: I0124 14:36:01.725109       6 log.go:19] daemonset "pod-checkpointer" created
Jan 24 14:36:01 node1.example.com bootkube-start[1260]: [  171.299044] bootkube[6]:         created        pod-checkpointer daemonset

kubectl get pods:
$ KUBECONFIG=assets/auth/kubeconfig ./kubectl -n kube-system get pods
NAME                                                  READY     STATUS             RESTARTS   AGE
bootstrap-kube-apiserver-node1.example.com            1/1       Running            0          10m
bootstrap-kube-controller-manager-node1.example.com   0/1       CrashLoopBackOff   6          10m
bootstrap-kube-scheduler-node1.example.com            0/1       CrashLoopBackOff   6          10m

kubectl -n kube-system logs bootstrap-kube-controller-manager-node1.example.com
$ KUBECONFIG=assets/auth/kubeconfig ./kubectl -n kube-system logs -p bootstrap-kube-controller-manager-node1.example.com
I0124 14:46:57.552534       1 controllermanager.go:108] Version: v1.9.2
Error: stat /etc/kubernetes/secrets/kubeconfig: no such file or directory

kubectl -n kube-system logs bootstrap-kube-scheduler-node1.example.co:
$ KUBECONFIG=assets/auth/kubeconfig ./kubectl -n kube-system logs bootstrap-kube-scheduler-node1.example.com
W0124 14:46:38.565664       1 server.go:159] WARNING: all flags than --config are deprecated. Please begin using a config file ASAP.
error: stat /etc/kubernetes/secrets/kubeconfig: no such file or directory

After 20 minutes bootkube gives up and tears down:
Jan 24 14:56:01 node1.example.com bootkube-start[1260]: [ 1371.300488] bootkube[6]: Error: error while checking pod status: timed out waiting for the condition
Jan 24 14:56:01 node1.example.com bootkube-start[1260]: [ 1371.316634] bootkube[6]: Tearing down temporary bootstrap control plane...
Jan 24 14:56:01 node1.example.com bootkube-start[1260]: [ 1371.336100] bootkube[6]: Error: error while checking pod status: timed out waiting for the condition
Jan 24 14:56:01 node1.example.com bootkube-start[1260]: [ 1371.337979] bootkube[6]: Error: error while checking pod status: timed out waiting for the condition
Jan 24 14:56:01 node1.example.com bootkube-start[1260]: [ 1371.339391] bootkube[6]: error while checking pod status: timed out waiting for the condition
Jan 24 14:56:01 node1.example.com systemd[1]: bootkube.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 14:56:01 node1.example.com systemd[1]: bootkube.service: Unit entered failed state.
Jan 24 14:56:01 node1.example.com systemd[1]: bootkube.service: Failed with result 'exit-code'.

but this does not cleanup properly. When i retry sudo systemctl start bootkube i get the following errors:
Jan 24 14:58:07 node1.example.com systemd[1]: Started Bootstrap a Kubernetes control plane with a temp api-server.
Jan 24 14:58:07 node1.example.com bootkube-start[3054]: [ 1497.566891] bootkube[7]: Starting temporary bootstrap control plane...
Jan 24 14:58:07 node1.example.com bootkube-start[3054]: [ 1497.571799] bootkube[7]: Waiting for api-server...
Jan 24 14:58:14 node1.example.com bootkube-start[3054]: [ 1504.442974] bootkube[7]: W0124 14:58:14.869739       7 create.go:40] Unable to determine api-server readiness: API Server http status: 500
Jan 24 14:58:18 node1.example.com bootkube-start[3054]: [ 1507.579163] bootkube[7]: Creating self-hosted assets...
Jan 24 14:58:18 node1.example.com bootkube-start[3054]: [ 1508.462650] bootkube[7]: E0124 14:58:18.889455       7 create.go:50] Error creating assets: error when creating "/assets/manifests/kube-dns-svc.yaml": Service "kube-dns" is invalid: spec.clusterIP: Invalid value: "<IP_ADDRESS>": provided IP is already allocated
Jan 24 14:58:18 node1.example.com bootkube-start[3054]: [ 1508.463460] bootkube[7]: Error creating assets: error when creating "/assets/manifests/kube-dns-svc.yaml": Service "kube-dns" is invalid: spec.clusterIP: Invalid value: "<IP_ADDRESS>": provided IP is already allocated
Jan 24 14:58:18 node1.example.com bootkube-start[3054]: [ 1508.464117] bootkube[7]: NOTE: Bootkube failed to create some cluster assets. It is important that manifest errors are resolved and resubmitted to the apiserver.
Jan 24 14:58:18 node1.example.com bootkube-start[3054]: [ 1508.464612] bootkube[7]: For example, after resolving issues: kubectl create -f <failed-manifest>

From here i have no better option than to destroy the nodes and recreate them.
The original issue seems to be that the kubeconfig-file is missing. Investigating the bootstrap-manifests shows, that the secrets-volume - which is mounted inside the container as /etc/kubernetes/secrets - is bound from /etc/kubernetes/bootstrap-secrets.
Having a look at this folder on node1.example.com shows no kubeconfig-file.
As soon as i copy the kubeconfig-file right after systemctl start bootkube
$ ssh<EMAIL_ADDRESS>'sudo cp /etc/kubernetes/kubeconfig /etc/kubernetes/bootstrap-secrets/kubeconfig'

bootkube seems to continue and end successfully
Jan 24 15:11:48 node1.example.com bootkube-start[1110]: [  153.689402] bootkube[6]: All self-hosted control plane components successfully started
Jan 24 15:11:48 node1.example.com bootkube-start[1110]: [  153.689977] bootkube[6]: Tearing down temporary bootstrap control plane...

/close


Add Set method

Hi there, thanks for this package it's exactly what I was looking for!
I want to Push an item if it's not in the queue or Update it otherwise. Might be nice to add a 'Set' method that doesn't return an error but that Push or Update depending on whether the item already exists

Hi @bouk . I'm happy you find this package useful for you.
You suggestion makes sense, and seems convenient. Just to make sure the addition of the new method solves your problem: today you can do this by guarding the operations under a pq.Contains condition:
if pq.Contains(k) {
        pq.Update(k, v)
} else {
        pq.Push(k, v)
}

The downside of this is that between the calls to pq.Contains and either pq.Push or pq.Update, another goroutine might potentially have added or removed the k key from the queue, thus potentially causing pq.Push or pq.Update to return error in case the k key was added or the k key was removed, respectively. By having the Set method, we can guard those operations under a single lock, and guarantee the atomicity of them.
Is that the problem you are facing or the reason you are suggestion this improvement?

Yes, that's exactly why I was thinking it would be nice to have it implemented in the package itself!

@bouk I've added the new method in a branch called set-method. If you want to give it a try:
go get github.com/rdleal/go-priorityq@set-method

I should have it merged to main in a couple of days, just finishing some more testing and doc stuff on it.

@bouk Method Set pushed out to main branch. Thanks for the patience and for using and bringing feedback to this package.


Sending through particular port

Hi,
I want to use this proxy, but send the packets through a specific port (for example through port 3000). So the connection would be from <IP_ADDRESS>:3000 to remote_ip:443 in the case of an HTTPS connection.
How do I achieve this?
Any help would be much appreciated!
Thanks!

Hardcode the port https://github.com/rushter/socks5/blob/5703d53966ec887d5b4293da8ba2c0b71d29a396/server.py#L62

Thanks, I did bind the port above that line of code and it works now!
Do you by an chance, know if this proxy would work with proxychains? I tried running 2 instances of this proxy on different machines, and chaining them both using proxychains, but keep getting a socket error/timeout.
Thanks again!


having multiple test suites in same project

Hi, Can we have more then one test suites within same project. please let me know how to set that up

In the first lines of the guidelines for contributing:

Search in the issues if your problem hasn't already be submitted.

This question is a recurent question.
Take a look into the previous issues and you'll find several topics on this. In a nutshell: no it's not possible and there is no point to do this.


eslint error

Version
Latest
Android or iOS
ALL

For Android issues, please specify the brand, model and browser

Your Codes
<!--put your code here-->

Expected behavior and actual behavior.
刚刚的更新
https://github.com/airyland/vux/commit/f45b0a9cb261bc50c75d6ac3785f5ecf5aa1e977
eslint报错，请更新下格式
Steps to reproduce the problem

done.


Add lifecycle tests

Could use preversion tests
Or husky for git hooks

We deploy things on any push to main, so husky (git hooks) would be better here


Can't set any isolate scope properties

The latest commit makes it impossible to set any isolate scope properties, as it is not extendable anymore.

#8 related
You replace the name as controllerAs by '$ctrl', why ?

https://github.com/angular/angular.js/pull/13710 cc @azevedo-252 @menems

@menems  I understand that, and the issue is not about that feature in particular.
What I mean is that we can no longer set isolate scope properties with the bindings property, like so
angular
.module('app', [])
.component('counter', {
  bindings: {
    count: '='
  },
  ...
});

because it no longer maps it to the real scope property of the DDO. What you get in the end is something like:
angular
.module('app', [])
.directive('counter', {
  scope: {}, // notice `count` is missing
  ...
});

This is the change that causes this. It doesn't assign options.bindings anywhere.

@azevedo-252 You okay to test last commit on master: https://github.com/toddmotto/angular-component/commit/6d134c36f48e69fceb4c1f69fc7f1d325076a149

Latest changes should mirror the new 1.5 syntax:
scope: options.bindings || {},
bindToController: !!options.bindings,

Set scope: { foo: '=' } or scope: {} and bindToController: [Boolean]. That way it works on 1.3 still.

@benoror If the last commit fixes, then 0.0.3 is good to go on npm

@toddmotto it's working
:+1:

@azevedo-252 Awesome, thanks! :)

npm publish'ed :+1:


fix: cancel interrupted notifications

I realised when we interrupt a notification we aren't actually cancelling it.
This means that Snooze will try and sent it every minute until it falls out the tolerance.
This PR fixes that by cancelling it (and thus snooze no longer tries to send it).

Codecov Report

Merging #25 into master will increase coverage by 0.14%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master     #25      +/-   ##
===========================================
+ Coverage     89.76%   89.9%   +0.14%
- Complexity       75      76       +1
===========================================
  Files             9       9
  Lines           215     218       +3
===========================================
+ Hits            193     196       +3
  Misses           22      22

Impacted Files
Coverage Δ
Complexity Δ

src/Models/ScheduledNotification.php
82.35% <100%> (+0.35%)
20 <0> (ø)
:arrow_down:

src/ScheduledNotification.php
93.63% <100%> (+0.11%)
41 <1> (+1)
:arrow_up:

Continue to review full report at Codecov.

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


Fix secret key decryption

Fixes decryption of secret keys

Can you expand on why you think this is broken? (I haven't looked at the code in a while so I might be missing context)


Add vcpkg package manager instructions

Supersedes https://github.com/grpc/grpc/pull/20394 (which lacks a CLA)

Thanks! LGTM.

Docs only change. Merging.


Add more BOM debug information.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

Review period skipped due to critical label.


[Bug] API Server Helm Chart Fails

Search before asking

[X] I searched the issues and found no similar issues.

KubeRay Component
apiserver
What happened + What you expected to happen
The default Helm installation fails in master. Specifically, the associated service is not correctly created.
Reproduction script
helm install kuberay-apiserver kuberay-apiserver/
Error: INSTALLATION FAILED: Service "kuberay-apiserver-service" is invalid: spec.ports[0].nodePort: Invalid value: 31888: provided port is already allocated

Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

This is a release blocker.

Got it, let me double check that.

@DmitriGekhtman could you please be more specific more abort the environment you are testing? For example the branch your are using, I've done a quick check in my local kind cluster and using the master branch, seems like I didn't come up with that issue?

Sorry about that -- I had a dangling kuberay-apiserver service lying around, which conflicted with the chart. After removing the service, things worked!


Scanner not properly inputted

The scanner on line 83 in game.java doesn't seem to be properly reading the line. I'm not exactly sure what is causing the issue, as it appears to be fine to me. If anyone has an idea of why this is, please let me know.

I was closing it prematurely, and also I'm using one Scanner for everything.


SqlSetup: Concatenated Robocopy localization strings

Pull Request (PR) description

Changes to SqlSetup

Concatenated Robocopy localization strings (issue #694).

There are already unit tests covering this change.
This Pull Request (PR) fixes the following issues

Fixes #694

Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1323 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##            dev   #1323    +/-   ##
=====================================
+ Coverage    98%     98%   +<1%
=====================================
  Files        36      36
  Lines      4836    4837     +1
=====================================
+ Hits       4762    4763     +1
  Misses       74      74


how to use this project

can you please update the read me on how to use this project

Hi @ammar-alee this is a simple nativescript angular playground. This is the official documentation to start the project
https://docs.nativescript.org/angular/start/cli-basics


pipelines variable-group Not working with AzureCLI@2 Task

Trying to have a MS hosted DevOps agent query a Team project to select predefined variable groups.  This works locally however; when coupled with the Azure CLI Task Get an error
Before you can run Azure DevOps commands, you need to run the login command(az login if using AAD/MSA identity else az devops login if using PAT token) to setup credentials.  Please see https://aka.ms/azure-devops-cli-auth for more information.
Try logging in via a PAT and script before this step and still not able to successfully run the az pipelines command

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

ID: ba39ac35-94ff-5cda-dede-4834d174ee4c
Version Independent ID: 93f1ab7d-610b-0fc4-c247-c31dd7752f60
Content: az pipelines variable-group
Content Source: latest/docs-ref-autogen/ext/azure-devops/pipelines/variable-group.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

pipelines

pipelines

Any update on this?

devops service team should look into this issue.

Following should work without needing to do azure login:


[plot] ROI widget: add and document an API to get the ROI information

To me this has been closed by #505 and #474

@PiRK
Please, can you confirm this can be actually closed?

There were a few missing links between PlotWindow.getCurvesRoiDockWidget and the actual ROI information, which currently is only accessible in CurvesROIWidget. I'm not sure that the API that my PR made public is supposed to be public, but it is the only option as far as I can tell.


Cannot use WinAppDriver with Microsoft Word

I am using the code at https://github.com/Clemensreijnen/AppiumOnWindowsWithJS to test multiple desktop applications and it works seamlessly with notepad and calculator apps which is Brilliant. I was hoping to build on that application and include Word, Outlook and Excel tests but when I try to use the same code to test 'Word' I can't seem to get any text into the document window.
In notepad, once the application has opened,  I can run the following code and it adds the text as expected and the test passes
it('Scenario Editor Enter Text', function () {
return driver
.elementByName('Text Editor')
.sendKeys('Hello World')
.elementByName('Text Editor')
.text()
.should.become('Hello World')
})
In word, once the application has opened, if I add the following
it('Scenario Editor Enter Text'', function () {
return driver
.elementByName('Document1')
.sendKeys('Hello World')
.text()
.should.become('Hello World')
})
I get this error
Error: [elementByName("Document1")] Error response status: 7, , NoSuchElement - An element could not be located on the page using the given search parameters. Selenium error: An element could not be located on the page using the given search parameters.
I have read other reported issues where you suggest trying to use session.CurrentWindowHandle and SwitchTo() but these throw errors for me saying they are not valid functions.
I would appreciate and pointers as I am running out of ideas.

If you just want to get text, you'll have to use Ctrl + C to copy the text.
Otherwise, there ain't much you can do in this regard.

(1) It is possible that your understanding of XPATH searches is incorrect
(2) It is possible that Microsoft's implementation of XPATH searches is buggy
(3) It is possible that Microsoft's implementation of XPATH searches is incomplete
Sorting out which of the 3 is present is not likely to occur
Enough people have complained about the difficulties of using Microsoft's implementation so that (1) and (2) must be considered as likely
I have inquired as to whether Microsoft is using a test suite to test its implementation of XPATH (no indication thus far, and NONE is expected) On e must assume this is a throw it over the wall situation
I now work under the assumption - all problems are Microsoft erroneous or incomplete implementation
I have been testing an automation application of Word and Access for about 5 months now. WinAppDriver is find for filling out forms (spell check, table creation etc). WinAppDriver will probably be fine for automated clinking of menu items (I have no need to use the Word menu).
To do anything serious with Word (selecting text, finding text, inserting text or images) best to use Word Automation (in my opinion,). Trying to substitute WinAppDriver for automation is probably a highly foolish idea. (unless you are trying to hack the application)

Hi, thanks for your comments. I have managed to get things going using this brilliant example https://github.com/microsoft/WinAppDriver/issues/1065#issuecomment-586586795. It has an example of attaching Notepad to a new session using javascript which I use with Word and it seems to have done the trick. It all came down to being able to focus on the top window. Hoping this will help someone in the future if they have any similar foolish requirements.

Hi, thanks for your comments. I have managed to get things going using this brilliant example #1065 (comment). It has an example of attaching Notepad to a new session using javascript which I used with Word and it seems to have done the trick. It all came down to being able to focus on the top window. Hoping this will help someone in the future if they have any similar foolish requirements.

I'm glad to know my suggestion was helpful for you.
Please note that I teach a course about WinAppDriver on Udemy, you may check it out here.


expo guide: use themes instead of theme-base

As @tamagui/theme-base is now deprecated.

good catch, ty


🐛 [Firebase_analytics] DebugView do not display event when run project by Flutter CLI

Bug report
Describe the bug
After pass the -FIRDebugEnabled argument to Xcode, the DebugView received event when project is built by Xcode, but not by using Flutter CLI
Same as this issues, but I found that its still not be answered properly and can be reproduced
https://github.com/firebase/flutterfire/issues/1586
Steps to reproduce
Steps to reproduce the behavior:

Integrate Firebase core + Firebase analytics, verify the app keys and configures

Enable debug mode as guideline https://firebase.google.com/docs/analytics/debugview

Try to build project by Xcode and by Flutter CLI

Check the Debug View and the no event emitted from the project built by Flutter CLI.

Expected behavior
Events display properly in DebugView when building project by Flutter CLI
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-x64, locale en-VN)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.67.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

dependencies:

Flutter CLI

Are you referring to flutterfire CLI tool that you use to configure firebase project with flutter app ? (ex: flutterfire configure) ?

@darshankawar Nope, I use the flutter run command, and after one night, the debug view worked properly. However, it seems like everytime I run the flutterfire config command, the debug view halt again.

@mrkhanhkhi
Thanks for the update. Can you provide a minimal code sample that shows this behavior ?


Minimum Cost Of Ropes

Related Issue

Minimum Cost of ropes #1407

Proposed Changes

I have added the following things: -
Problem Statement
Examples
Algorithm
Code
Time Complexity & Space Complexity

Additional Info
LINK OF THE PROBLEM STATEMENT
Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

We were supposed to find the minimum cost of multiple ropes so that they can be connected with each other.

I have added the Problem Statement, Examples, an Algorithm on how to approach this problem, a commented Code, and written the Time Complexity and Space Complexity. And finally updated the README.md.

This change helps to solve a very famous problem of Heap i.e. Minimum Cost Of Ropes and this problem helps in understanding the concept of Heap.

I coded this problem in VS Code and tested the given problem on the test cases in the range: 1 ≤ N ≤ 100000 and
1 ≤ arr[i] ≤ 10^6. And it is working fine for them.

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

Output Screenshots

Screenshot #1
Screenshot #2

Input : n= 4 and arr[]={4,3,2,6}
Input : n= 5 and arr[]={4,2,7,6,9}

LGTM🌟

@Lakhankumawat Review my pr and kindly upgrade the level if you find it legible. My previous pr's were
1385
1352
1337
1300

Remove Of from file name

@Lakhankumawat Kindly merge my Pr since I have done the requested changes. Also, upgrade the level of my Pr if you found it legible.


Crystal 0.25 support

Should close #15
/cc @vladfaust
I added a weekly run on Travis.

https://github.com/crystal-community/jwt/releases/tag/v0.3.0 is out


Duck DNS alias support

For when you have another domain CNAME'd to the Duck DNS one.
Context: https://community.letsencrypt.org/t/dont-know-what-content-my-text-record-should-have/85439/2?u=jmorahan
The config would look like:
{
  "lets_encrypt": {
    "accept_terms": true,
    "certfile": "fullchain.pem",
    "keyfile": "privkey.pem"
  },
  "token": "sdfj-2131023-dslfjsd-12321",
  "domains": ["subdomain.example.com"],
  "aliases": {
    "subdomain.example.com": "example.duckdns.org"
  },
  "seconds": 300
}

Hi @jmorahan,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Is that tested? because a config struct like this will be not supported. Maybe:
{
  "aliases": [
     {
        "domain": "my.duckdns.org",
        "alias": "subdomain.xy.com"
     }
  ]
}

Hi, I don't have a hass.io dev environment set up so I couldn't test it end to end, sorry. Didn't realise there was a config schema. Lemme see if I can fix it.

Hope that's better, though again I haven't been able to fully test it myself. Working on that...

I try it out tonight

Hi ! they update the add-on to make it possible with alias … but I’m not able to make it work… this is my config
{
“lets_encrypt”: {
“accept_terms”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
},
“token”: “BLAHBLAHBLAH”,
“domains”: [
“my.duckdns.org”
],
“aliases”: [
“myowndomain.com”
],
“seconds”: 300
}

I don't think the change is live yet.

Any update on this? from what i can see all changes have been approved and passed checks, just conflicts with changelog which is obviously not an issue.

also what is the exact way to add it once the change will be live ?

Does anyone know if this will be integrated?

Looks like "won't fix"? But an the info for fixing it is there?

Is this going to be merged?

Has this been implemented? I only want to use DuckDNS as a backup to my own domains, but I need to have the SSL installed for them as well.

Maybe someone will pick that up and rebase it

I don't think this is implemented yet? Is it going to be?

This issue should be picked up as it is quite a relevant use case.

For anyone interested, I have rebased this PR in #1253 😄


Forward #[] method to body in Gibbon::Response

This allows to use the api as follows:
gibbon_api.lists.retrieve["lists"].any?

instead of
gibbon_api.lists.retrieve.body["lists"].any?

Thanks for the contribution. I won't merge this because I believe it breaks semantics. The response object isn't a hash so it shouldn't pretend to be one by implementing only part of the API a hash provides.


PostgreSQL: include permissions in view DDL

Hi,
Would it be possible to add grants in views DDL for PostgreSQL?
Thanks in advance.

@serge-rider

Add grant SQL into getObjectDefinitionText of DBPScriptObject, or add a new interface class ?
I think COMMENT SQL also need to add, especially for table and view.

@liuyuanyuan That's a bit tricky, I think I'll add this feature in 5.0.5


[skip ci] release-note: add two deprecations warning and removal

In stable-4.0, the group name iscsi-gws will go away and some rgw
systemd service names will disappear as well
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

@dsavineau feel free to amend&push in this branch if there's anything you think we should add


feat(web): add theme,platform based style prop

[x] add web support
[x] add native support
[x] add typescript
[x] final tests

so i cleaned up some stuff but one big problem:
numberOfMediaStyles and the whole :root:root thing shouldn't be how we do it when we have order.
That reduce over the props is slow, but also we can just use usedKeys to avoid even applying them at all and never have to mess around with :root at all. In fact I think we can save runtime and css size by avoiding that altogether.
But we do need to merge the styles so its probably a little bit more complex than just using usedStyles. But yea basically thats the strategy.

@natew
yeah that's definitely a better approach, we used that usedKey approach when shouldDoClasses is false.
and we can use the same approach for classes as well


Group names not shown

When I press the leader key, the leader assistant shows up, but it only provides the name of the "definitive actions" (the action you are going to perform if you press that key).
I don't know if it's a bug, but it would be really great if the group names were shown, so you would not have to guess that b stands for Buffers.
Image showing the issue:

That is definitely a bug! Could I ask what vim/neovim version you are on and if you have any other configuration in the file or experience any other errors?
It should by default show the names on all the groupings.

Sure!
This is my configuration:
https://gist.github.com/dexafree/b29fc6f4e55ba24a96c650b2b30b9d68
The bindings, markdown lang, sneak and clever layers are just private layers for including some plugins or bindings.
The bug also happens if I comment those layers.
The neovim version is the following:
NVIM v0.1.6-182-g1984072
Build type: Dev
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20161009-25254-17yw153/build/config -I/tmp/neovim-20161009-25254-17yw153/src -I/tmp/neovim-20161009-25254-17yw153/deps-build/usr/include -I/tmp/neovim-20161009-25254-17yw153/deps-build/usr/include -I/tmp/neovim-20161009-25254-17yw153/deps-build/usr/include -I/tmp/neovim-20161009-25254-17yw153/deps-build/usr/include -I/tmp/neovim-20161009-25254-17yw153/deps-build/usr/include -I/tmp/neovim-20161009-25254-17yw153/deps-build/usr/include -I/opt/local/include -I/usr/include -I/opt/local/include -I/tmp/neovim-20161009-25254-17yw153/build/src/nvim/auto -I/tmp/neovim-20161009-25254-17yw153/build/include
Compiled by XXXX@XXX-xXXX

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-1984072/share/nvim"

I have the same problem:
Arch Linux
NVIM 0.1.6
Build type: RelWithDebInfo
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wconversion -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.1.6/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

I also have the same problem from a brand new install.
Here follows more information about this problem.
After some debugs, it seems that the lmap dict is correctly generated and can be visualized using :echo g:lparam :
{'q': {'name': '+quit'}, 'b': {'name': '+buffers'}, 't': {'name': '+toggles', 'h': {'name': '+highlight'}}, 'e':
 {'name': '+errors'}, 'f': {'name': '+files', 'e': {'name': 'spaceneovim/files'}}, 'w': {'name': '+windows'}, 'x
': {'name': '+text'}, 'm': {'name': '+major-mode-cmd'}}

Adding the following line in init.vim bootstrap section makes the name appear:
call leaderGuide#register_prefix_descriptions('<Space>', 'g:lmap')
I don't know why the same call in the postinstall section does not work. And I cannot see any way to solve this problem with a clean fix.
I hope this will help. Feel free to ask for more details

@NilujePerchut thanks for providing a working solution.
I also tried to debug this issu as well and it seems the problem is related to leader-guide plugin. If you add call leaderGuide#register_prefix_descriptions('<Space>', 'g:lmap') to init.vim, this condition will fail and leader-guide won't call call leaderGuide#register_prefix_descriptions('', 'g:leaderGuide_map'). However spaceneovim call this function in post_install phase which is executed on VimEnter even. VimEnter is triggered after all plugins/**/*.vim are evaluated. That means register_prefix_descriptions is called from leader-guide first and then from post_install which mess things up.
@Tehnix any clean way to fix it?:) Maybe it would be better to call post_install manually from init.vim instead of relying on VimEnter. What do you think?

@lowski I think moving the post_install to init.vim might be the most consistent fix for now. I'll accept the #17 after the minor changes mentioned in that PR, which solves this problem.

@Tehnix I thought about it but then I come with the idea of having 3 phases:

preinistall
postinstall
postinit

As I suggested in the PR. I think it's more flexible approach.


Provide py.typed and implement PEP-0561. Fix #20

Pull Request Test Coverage Report for Build 347

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 343:
0.0%

Covered Lines:
457

Relevant Lines:
457

💛  - Coveralls