FIX the logic to check if there is an accounting connection in the workspace

Details
This PR:

fixes the logic to determine if there is an accounting connection
uses the PolicyUtils method to check if there is an accounting connection
hide Delete rate button on Taxes page if there is an accounting connection

Fixed Issues

$ https://github.com/Expensify/App/issues/42565
PROPOSAL: N/A
Tests / QA Steps

Create a workspace if you don't have one already
Enable Accounting on More Features page of the Workspace Editor
Connect to UK QBO (so that you can enable Tax import in the next step)
Enable Tax import on the Import page once you connect to QBO
Check that you cannot add or delete categories, tags and taxes
Disconnect from QBO on the Accounting page
Check that you can add, delete, enable and disable categories, tags and taxes

https://github.com/Expensify/App/assets/98560306/85f4bcaf-6b00-4dac-ba94-8ea2a341c7a7

Offline tests

N/A
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Confirming that we want to hide the Delete rate button when there is an accounting connection.
But meanwhile, please review the PR 🙇

Confirming that we want to hide the Delete rate button when there is an accounting connection.

You're talking about imported tax rates, yeah? If so, yes, you shouldn't be able to add or delete tax rates when connected to an accounting solution. You have to manage the rates in the accounting solution directly.

Tested well on my end
https://github.com/Expensify/App/assets/98560306/dc69699c-a59c-4639-898d-c605bcf38d66

@aimane-chnaif, this is ready for another review 🙇

@aimane-chnaif on this:

Is this copy correct when connected? Add tax names, rates, and set defaults.
Asking because categories/tags descriptions are different - The categories/tags below are imported from your Quickbooks Online settings

We should have fixed this here and merged it into the the Xero merge freeze branch. CC: @mananjadhav @lakchote

On this one:

still able to delete tax rate when connected

Is it specifically that Delete tax is still available from the RHP's overflow menu of the tax rate value when connected? As per Hayata's video here, he was able to remove it from the bulk select menu in the table?

@aimane-chnaif on this:

Is this copy correct when connected? Add tax names, rates, and set defaults.
Asking because categories/tags descriptions are different - The categories/tags below are imported from your Quickbooks Online settings

We should have fixed this here and merged it into the the Xero merge freeze branch. CC: @mananjadhav @lakchote

Yes, this is fixed in the freeze branch.

@trjExpensify please check this video for repro step.

Okay yes, that confirms that the Delete option has been removed from the main page table as a bulk action but not in the overflow menu of the individual tax rate in the RHP.
Here's the diff

@marcaaron I'm proceeding with the review and the merge as I have context on this and we need to get this deployed as soon as possible (context).

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.79-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


t4t:0.4.1

I am submitting

[ ] a new package
[x] an update for a package

Version 0.4.1

Various bug fixes introduced after renaming modules.

Thanks!


[SSR] Custom directives on the server bundle

What problem does this feature solve?
I don't seem to be able to find any documentation on how to handle custom directives in a vue/vue.config.js/webpack setup using latest 3.1.* Vue. I have resorted to not using directives, but these would be a handy tool in our toolbox.
Does anyone know how to achieve this, or where I could find documentation on the matter?
What does the proposed API look like?

Can you open an issue on the vuejs/docs repo please?


[Enhancement] can provide a json format read data type  like flink-connector

Search before asking

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

Description
source data incude chinese word may cause some problem
Reason: actual column number is less than schema column number.actual number: 10, column separator: [	], line delimiter: [
],
can spark like flink connetor read data by json format to avoid the problem
JSON格式导入
'sink.properties.format' = 'json' 'sink.properties.read_json_by_line' = 'true'
Solution
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for @gitfortian  , this is already supported, Close


Horizontal Lines/Underscores Everywhere

From @samaursa on May 28, 2017 18:58
Windows build number: 10.0.15063
What's wrong: I see underscores in the bash console
I am not sure what or how this happened, but I see underscores throughout the console window. I tried relaunching, removing my custom settings, changing font, reverting to legacy console and back, but nothing has worked.

Copied from original issue: Microsoft/WSL#2168

From @sunjoong on May 28, 2017 19:37
@samaursa - BAC., https://github.com/cbucher/console/issues/105 ?

From @sunjoong on May 28, 2017 23:27
@samaursa - Then... what's your TERM and PS1 environment variable?

From @samaursa on May 28, 2017 22:14
@sunjoong  Hmm, not the same issue I don't think. My cursor is still visible (blinking) and is not an underscore.

From @samaursa on May 28, 2017 23:45
Here's my PS1

export PS1="[\e[32m]\w[\e[m][\e[33m]`parse_git_branch`[\e[m] "

I am not familiar with the TERM variable. I deleted my .bash_profile just to see if that caused the issue. After restarting the console, I am greeted with the same horizontal lines without my custom prompt.

From @sunjoong on May 29, 2017 0:2
@samaursa - Your PS1 looks like not to have "\e[4m", underline ansicode, but... I could not set with above command becase of back-quote, so... for making sure...
echo $PS1
echo $TERM

UPDATE: OR... you could delete .bashrc, .bash_profile and .profile also to see.

From @sunjoong on June 12, 2017 22:54
@sunilmut - Well... It would be very hard to reproduce it if this is a bug, I think; I'm not sure it's a bug.

From @sunilmut on June 12, 2017 22:14
Marking this as a bug in the console.

From @sunilmut on June 12, 2017 23:8
@sunjoong - I am not sure if understand I'm not sure it's a bug.  :)

From @sunilmut on June 12, 2017 23:48
Console folks will need to take a look. Adding @zadjii-msft. But, without repro, there may not be much they can do.

From @sunjoong on June 12, 2017 23:14
@sunilmut - I set PS1 to "\e[4m$ ", meaning underlining but not restore, and clear command to imitate this behavior, but could not reporduce it.
Second thought, it could be a bug because clear does not real clear.

From @samaursa on June 18, 2017 1:40
Sorry for not giving an update sooner. I deleted .bash_profile and .bashrc (I do not have a .profile) but the results are the same.
The underscores seem to be a rendering bug in the console because I see it when I run vim as well (the following screenshot is after deleting .bash_profile and .bashrc and relaunching)

Unfortunately, this makes the console completely unusable. I was quite excited to try bash on windows, but this makes it hard to use :)

From @sunjoong on June 12, 2017 23:56
@sunilmut - Poor Mike will be busy. Hmm... repro of this issue would be hard, but behavior of clear could be considered because that's different from others like msys2.
For @zadjii-msft, I could not reporduce this issue but could imitate with PS1 set to "\e[4m$ " and clear command, and clear has different  behavior from msys2. I'm not sure it's a bug or a feature but it could be better to think of it.

From @samaursa on June 19, 2017 2:10
here's the values with my settings:

here's the values without my settings:

Thanks for the alternative terminal suggestion. I tried it out and everything seems great except that it doesn't seem to pick up my .vimrc settings. I tried placing .vimrc in the same folder as the open-wsl.exe file but vim still didn't take any of the settings. Surprisingly enough, it takes on by bash settings  perfectly fine from the home ~ folder.

From @sunjoong on June 18, 2017 10:17
@samaursa - Hmm... It looks like more serious thing that I had thought before. You know, I could not reporduce it but could have imitated with PS1 and clear. The idea of that imitation was simple; Make cursor do draw underline but do not restore it with PS1 and fill it with whole screen with clear command. But by PS1 itself, it cannot do that of vi, sorry :(.
I still wonder PS1 and TERM, the results of command echo $PS1 and echo $TERM, but more deep investigation would be needed, I think. Maybe... @zadjii-msft could tell you how to collect to useful informations for them to reproduce it or for you to get over it.
Hmm... You know... there are another why to launch WSL. You look like to open bash shortcut named "Bash on Ubuntu on Windows" in start menu. You could command bash ~ on cmd.exe console. Do they look different? If bash from cmd.exe does not make that behavior, what do properties be different?
And... in the meanwhile, https://github.com/goreliu/wsl-terminal might be a workaround, I hope.

From @sunjoong on June 19, 2017 2:57
@samaursa - So... your TERM is xterm-256color :). And... wsl-terminal looks like not to fill a screen with underscores, but it seems you say there is another problem with vimrc file. Hmm... the position of vimrc file is your home directory and I had never heard about that problem yet but that might be a whole another issue, so... you could raise new one on this or on wsl-terminal if you want to. I think... https://github.com/goreliu/wsl-terminal could be a better place for that vimrc file :).
Now, what's the result from cmd.exe? Did you see the underscores on cmd.exe window? If it not seen on cmd.exe window, did you see that after bash ~ command on cmd.exe window? If it not seen either, compair differences of propery by mouse right click of cmd.exe window and "Bash on Ubuntu on Windows".
UPDATE:

I hit upon the vimrc problem you mentioned might be about colors. If so... mouse right click of wsl-terminal and check options - Terminal - Type; You could change it to xterm-256color.
Wsl-terminal is an another console program, but cmd.exe and bash use a same conhost console program so I want to know wheither properties of bash from cmd.exe and bash console might be different.

From @sunilmut on June 22, 2017 18:16
Adding few other folks from the console side, @bitcrazed, @miniksa

From @miniksa on July 3, 2017 21:53
@samaursa, what mechanism are you using to launch Bash? Are you using a shortcut file or are you launching it from the run box?
If you are launching it from a shortcut in the start menu or pinned to your task bar (or elsewhere), can you please attach the .LNK file binary that represents the shortcut itself?
If you are launching it from the run box or another application, can you please export HKCU\Console from your registry for me and attach it?

From @sunjoong on July 3, 2017 22:18
I guess @samaursa is lauching bash from shortcut because the title bar of their screenshots shows %USERPROFILE%\AppData\Local\lxss\bash.ico icon. So, @miniksa asked "Bash on Ubuntu on Windows.lnk" file in "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs" directory, I think.

From @miniksa on July 3, 2017 22:20
Yeah, that is what I was asking. Both pieces of information are actually probably helpful. I'm trying to find if there's an underscore stuck in any of the settings anywhere.
There are some settings embedded in the .LNK file if it is started from there, and the defaults are stored in the registry. Attaching all that information would help me.

From @bardyc on July 7, 2017 18:12
I had this exact same problem. Interestingly enough, mine appeared while playing with my ~/.vimrc file and briefly unchecked "Quick Edit" mode. After re-enabling, and reverting my changes, the console was stuck with these lines. Deleting the registry information under HKEY_CURRENT_USER\Console did not help, but launching bash.exe from powershell or  C:\Windows\System32\bash.exe or from the run command-- No lines!
The issue does resurface when using the .LNK shortcut in AppData\Roaming\Microsoft\Windows\Start Menu\Programs so I think miniksa is onto something with the shortcut defaults.

From @bardyc on July 7, 2017 18:46
Added.
Bash on Ubuntu on Windows.zip
I should clarify that this only happened after configuring the "Powerline." vim plugin and installing the custom fonts. The screenshots from @samaursa shows they are using the same Plugin.
There could easily be an escape sequence improperly handled/terminated from this plugin, though I don't know why/where this would persist across sessions.

From @miniksa on July 7, 2017 18:23
@bardyc Can you give me the .LNK file you are using that repros the issue? I can't release a fix until I have a repro case.

From @sunjoong on July 7, 2017 18:56
@bardyc, @miniksa - Oh... that shortcut really makes underscores!! I noticed that use raster font, size undefined. EDIT: But, after setting size and another font on shortcut, underscores are there.

From @miniksa on July 7, 2017 20:15
Thanks @bardyc. I see that there's an embedded underscore fill flag inside that LNK file stuck inside the colors field.
I'm going to poke around and see what I can do about preventing this from getting stuck inside the LNK file or maybe ignoring that flag range when loading from LNK or figuring out perhaps how that got persisted in the LNK in the first place (or some combination of those.)
Your help is much appreciated in narrowing this down!

From @sunjoong on July 7, 2017 20:21
Diff of mine and userscoreing shortcut;
sunjoong@SUNJOONG-DESKTOP /mnt/c/Users/sunjoong/Downloads $ diff -u mine underscore
--- mine        2017-07-08 05:17:43.832706500 +0900
+++ underscore  2017-07-08 05:17:39.896207800 +0900
@@ -1,76 +1,76 @@
-[Filename]:                            ..\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Bash on Ubuntu on Windows.lnk
+[Filename]:                            Bash on Ubuntu on Windows.lnk

 [Header]
 Date created:                          03/18/2017 (20:56:44.822) [UTC]
-Last accessed:                         04/14/2017 (13:20:16.287) [UTC]
-Last modified:                         04/14/2017 (13:20:16.287) [UTC]
+Last accessed:                         06/15/2017 (04:39:25.503) [UTC]
+Last modified:                         06/15/2017 (04:39:25.503) [UTC]
 File size:                             77312 bytes
 File attributes:                       0x00000020      (FILE_ATTRIBUTE_ARCHIVE)
 Icon index:                            0
 ShowWindow value:                      1               (SW_SHOWNORMAL / SW_NORMAL)
 Hot key value:                         0x0000          (None)
-Link flags:                            0x000040ef      (HasLinkTargetIDList, HasLinkInfo, HasName, HasRelativePath, HasArguments, HasIconLocation, IsUnicode, HasExpIcon)
+Link flags:                            0x000060ef      (HasLinkTargetIDList, HasLinkInfo, HasName, HasRelativePath, HasArguments, HasIconLocation, IsUnicode, RunAsUser, HasExpIcon)

 [Link Target ID List]
 CLSID:                                 20d04fe0-3aea-1069-a2d8-08002b30309d = My Computer

 Drive:                                 C:\

-Last modified:                         07/01/2017 (02:04:28.0) [UTC]
+Last modified:                         06/15/2017 (04:10:52.0) [UTC]
 Folder attributes:                     0x00000010      (FILE_ATTRIBUTE_DIRECTORY)
 Short directory name:                  Windows
 Date created:                          03/18/2017 (11:40:22.0) [UTC]
-Last accessed:                         07/01/2017 (02:04:28.0) [UTC]
+Last accessed:                         06/15/2017 (04:10:52.0) [UTC]
 Long directory name:                   Windows

-Last modified:                         07/01/2017 (02:04:28.0) [UTC]
+Last modified:                         06/15/2017 (14:04:22.0) [UTC]
 Folder attributes:                     0x00000010      (FILE_ATTRIBUTE_DIRECTORY)
 Short directory name:                  System32
 Date created:                          03/18/2017 (11:40:22.0) [UTC]
-Last accessed:                         07/01/2017 (02:04:28.0) [UTC]
+Last accessed:                         06/15/2017 (14:04:22.0) [UTC]
 Long directory name:                   System32

 File size:                             77312 bytes
-Last modified:                         04/14/2017 (13:20:18.0) [UTC]
+Last modified:                         06/15/2017 (04:39:26.0) [UTC]
 File attributes:                       0x00000020      (FILE_ATTRIBUTE_ARCHIVE)
 8.3 filename:                          bash.exe
 Date created:                          03/18/2017 (20:56:46.0) [UTC]
-Last accessed:                         04/14/2017 (13:20:18.0) [UTC]
+Last accessed:                         06/15/2017 (04:39:26.0) [UTC]
 Long filename:                         bash.exe

 [Link Info]
 Location flags:                                0x00000001      (VolumeIDAndLocalBasePath)
 Drive type:                            3               (DRIVE_FIXED)
-Drive serial number:                   4cfd-bfde
-Volume label (ASCII):
+Drive serial number:                   16de-2f50
+Volume label (ASCII):                  Local Disk
 Local path (ASCII):                    C:\Windows\System32\bash.exe

 [String Data]
 Comment (UNICODE):                     Shortcut to bash.exe
 Relative path (UNICODE):               ..\..\..\..\..\..\..\..\Windows\System32\bash.exe
 Arguments (UNICODE):                   ~
-Icon location (UNICODE):               C:\Users\sunjoong\AppData\Local\lxss\bash.ico
+Icon location (UNICODE):               C:\Users\brady\AppData\Local\lxss\bash.ico

 [Console Properties]
-Color flags:                           0x0007          (FOREGROUND_BLUE, FOREGROUND_GREEN, FOREGROUND_RED)
-Screen buffer width:                   120
-Screen buffer height:                  9001
-Window width:                          120
-Window height:                         30
-Window X coordinate:                   168
-Window Y coordinate:                   189
+Color flags:                           0x8007          (FOREGROUND_BLUE, FOREGROUND_GREEN, FOREGROUND_RED)
+Screen buffer width:                   168
+Screen buffer height:                  61
+Window width:                          168
+Window height:                         46
+Window X coordinate:                   64162
+Window Y coordinate:                   65528
 Font size:                             0 x 16
 Font family value:                     0x00000036      (FF_ROMAN, FF_SWISS, FF_MODERN, FF_DECORATIVE)
 Font weight:                           400             (FW_NORMAL / FW_REGULAR)
-Font face name:                                ???
+Font face name:                                DejaVu Sans Mono for Powerline
 Cursor size:                           25              (Small)
 Fullscreen:                            0               (Disabled)
 QuickEdit mode:                                1               (Enabled)
 Insert mode:                           0               (Disabled)
 Automatic positioning:                 1               (Enabled)
 History buffer size:                   50
-Number of history buffers:             4
-Duplicates allowed in history:         0               (Disabled)
+Number of history buffers:             5
+Duplicates allowed in history:         1               (Enabled)
 Color table values:                    (0x00000000, 0x00800000, 0x00008000, 0x00808000, 0x00000080, 0x00800080, 0x00008080, 0x00c0c0c0, 0x00808080, 0x00ff0000, 0x0000ff00, 0x00ffff00, 0x000000ff, 0x00ff00ff, 0x0000ffff, 0x00ffffff)

 [Icon Location]
@@ -84,7 +84,7 @@
 [Metadata Property Store]
 Property set GUID:                     46588ae2-4cbc-4338-bbfc-139326986dce
 ID:                                    4
-Value:                                 0x001f (VT_LPWSTR)      S-1-5-21-3260120242-2150882329-2260907218-1001
+Value:                                 0x001f (VT_LPWSTR)      S-1-5-21-3428738353-1255861482-2546180396-1001

 Property set GUID:                     0c570607-0396-43de-9d61-e321d7df5026
 ID:                                    3
@@ -96,13 +96,13 @@
 ID:                                    4
 Value:                                 0x000b (VT_BOOL)        0x0000 = VARIANT_FALSE
 ID:                                    6
-Value:                                 0x0002 (VT_I2)          0x000000ff = 255
+Value:                                 0x0002 (VT_I2)          0x000000e7 = 231
 ID:                                    5
 Value:                                 0x000b (VT_BOOL)        0xffffffff = VARIANT_TRUE

 Property set GUID:                     446d16b1-8dad-4870-a748-402ea43d788c
 ID:                                    104
-Value:                                 0x0048 (VT_CLSID)       CLSID: 2bd2c32a-0000-0000-0000-501f00000000
+Value:                                 0x0048 (VT_CLSID)       CLSID: f90f13d0-abd1-4a43-8b97-e34f22de1d7e

 [Special Folder Location]
 Special folder identifier:             37              (System)
@@ -110,13 +110,13 @@

 [Distributed Link Tracker Properties]
 Version:                               0
-NetBIOS name:                          sunjoong-deskto
-Droid volume identifier:               fcdccdf0-c33e-4b26-a4b3-2b55bc595e14
-Droid file identifier:                 abe42d7a-5dfa-11e7-91f3-001377c7b4d5
-Birth droid volume identifier:         fcdccdf0-c33e-4b26-a4b3-2b55bc595e14
-Birth droid file identifier:           abe42d7a-5dfa-11e7-91f3-001377c7b4d5
-MAC address:                           00:13:77:c7:b4:d5
-UUID timestamp:                                07/01/2017 (01:14:46.515) [UTC]
-UUID sequence number:                  4595
+NetBIOS name:                          desktop-adcb5v7
+Droid volume identifier:               8dfc0f70-8b73-4207-a7df-5cf4b6753e78
+Droid file identifier:                 ac387935-5184-11e7-b2c2-bc8385dac5c0
+Birth droid volume identifier:         8dfc0f70-8b73-4207-a7df-5cf4b6753e78
+Birth droid file identifier:           ac387935-5184-11e7-b2c2-bc8385dac5c0
+MAC address:                           bc:83:85:da:c5:c0
+UUID timestamp:                                06/15/2017 (04:39:52.500) [UTC]
+UUID sequence number:                  12994

sunjoong@SUNJOONG-DESKTOP /mnt/c/Users/sunjoong/Downloads $

From @miniksa on July 7, 2017 20:23
Yep @sunjoong. It's this line:
+Color flags:                           0x8007
The 0x8000 is making the underscores. I need to see what I can do about it.

From @sunjoong on July 7, 2017 20:39
@miniksa - Thanks. In the meanwhile, making a new shortcut or launching bash from cmd.exe could be a way if that happens.


testYears FAILED - During gradlew build check test

I just attempted to install Synthea this morning.
When running the "gradlew build check test", I got a LOT of checkstyle warnings, but I also got one failure.
OpenJDK 64-Bit Server VM warning: You have loaded library /root/libj2v8_linux_x86_64.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
org.mitre.synthea.helpers.UtilitiesTest > testYears FAILED
java.lang.AssertionError: expected:<75> but was:<74>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.mitre.synthea.helpers.UtilitiesTest.testYears(UtilitiesTest.java:33)
339 tests completed, 1 failed, 1 skipped

Task :test FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':test'.

There were failing tests. See the report at: file:///opt/synthea/build/reports/tests/test/index.html

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 27m 6s
15 actionable tasks: 15 executed
I am attaching the output logfiles for todays test:
test_results.tar.gz
Any help would be much appreciated.
I should also probably mention that I tried to build this in a Docker container.
Have a very Merry Christmas.

Thanks for the detailed bug report. This is a known issue, and the team is working on a fix. I have proposed #630. The core of the issue is that the code for calculating the length of a year is dropping a quarter of a day to account for leap years. That means the test fails for the later portion of December, but should work in the new year.
We have proposed fixes, but want to ensure that existing code is not reliant on the current behavior.

Thank you for the timely response.
My question to you now would be:  Will the patient generator work as it is, or do I need to wait for your bug fix(es)?

Also, one last question:
I would like to change the output location for both the logfiles, and the reports.
Is there a particular configuration file where I can set these output directories?
And, if it is not clear, what would the syntax be of these entries?
For example, I want to send all output to the /Docker/Synthea/Logs, and /Docker/Synthea/Reports directories.
Thanks for your time, and have a very Merry Christmas.

I sent the previous post, because I found the configuration file.
I changed the parameters inside of this file, but it does not seem to make any difference.
The output files are still writing to the exact same location.
And, the output files are still in the default FHIR JSON format.
Please tell me how to make any changes I make to the config file take effect!
Thanks in advance, and have a very Merry Christmas.

To whom it may concern,
I never received an answer to my previous questions:

How can I change the location of the log files?

After making changes to some configuration file, somewhere, how do I make the changes persistent?

How do I change, or experiment with, the other output types?

I tried changing the output report types inside of the config file, but the reports never changed.
Any help would be much appreciated.

Do you mean the build/test log files?
You should be able to create your own configuration file as described in Common Configuration
You need to supply a configuration file that has other exporters turned on. For example, you can set exporter.ccda.export to true to get CCDA document export.


updated the conferences

Removed GREACH as it is over, and added SpringOne2GX (from the Grails website)

Thanks!


Fix model name not properly parsed by inference graph

What this PR does / why we need it:
When model name is passed as an argument to the model server with the following format,

Args: ["--model_name", "iris"]
~Args: ["--model_name iris"]~

The inference graph controller fails to parse them and uses the inferenceservice name as the model name which leads to 404 model not found error.
As of now, The only supported format which is recognized by the inference graph controller is

Args: ["--model_name=iris"]

This PR fixes this issue and adds support for parsing the model name from the following formats.

Args: ["--model_name=iris"]
Args: ["--model_name", "iris"]

~Args: ["--model_name iris"]~
This format is not parsed by the model server, So ignoring this format.

Args: ["--model_name", "isvc-iris", --model_name="iris"] - If multiple --model_name arguments present, The last argument value will be used.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #3526

Type of changes
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[x] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[x] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Fix model name not properly parsed by inference graph

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/rerun-all

/lgtm
/approve


Incorrect update count (0.3.2-patch9)

Hi!
In com.clickhouse.jdbc.internal.ClickHouseStatementImpl#updateResult:
...
// FIXME apparently this is not always true
if (currentUpdateCount <= 0L) {
    currentUpdateCount = 1L;
}
...

Yes, this isn’t always true :)
Examples:
Statement statement = connection.createStatement();
statement.execute(sql);
int updateCount = statement.getUpdateCount();

String sql = “CREATE TABLE new_table(x INT) engine = Memory;”
Expected updateCount: 0
Actual updateCount: 1

String sql = "INSERT INTO new_table VALUES (1), (2), (3);"
Expected updateCount: 3
Actual updateCount: 1

You got me :p
Have you tried send_progress_in_http_headers option like used here? With that, I think case 2 will be fixed but case 1 stays the same. Let me think how to tackle this without much parsing efforts.

Now the update count depends on two things: 1) SQL parser(a bit outdated); and 2) summary returned from server. Above two cases work as expected on 22.6+.


Reduce FPS to 15 fps

Related issue https://github.com/fusioneng/gif2html5-plugin/issues/39

Should we make this a configurable setting?


raft: use status to test node stop

n.Tick() is async. It can be racy when running with n.Stop().
n.Status() is sync and  has a feedback mechnism internally. So there wont be
any race between n.Status() and n.Stop() call.
Fix #7091
/cc @heyitsanthony

lgtm after fixing ci warnings

@xiang90 how this is change fix #7091?

#7091 fails since tick is async. so when tick returns the raft statemachine is not guaranteed to execute the tick func (r.tick()). Thus checking the result of the statemachine changes might fail.
status on the other side, only returns when it knows raft statemachine has executed the status func.
You can read the code for more details.


Werkzeug useragent parsing is off for Motorola One Macro Android phone

I noticed this in a flask app but that uses werkzeug to parse useragent info and saw the same behavior in both the flask request object and standalone werkzeug useragent parser.
It looks like the presence of the substring "mac" in "macro" (the device model) is throwing it off. However, I feel like that should be overridden by the clear "Linux" and/or "Android 9".
>>> from werkzeug.useragents import UserAgent
>>> UserAgent("Mozilla/5.0 (Linux; Android 9; motorola one macro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.111 Mobile Safari/537.36").platform
'macos'

I would expect the platform for this useragent string to be "android".
Environment: Linux

Python version: 3.7.3
Werkzeug version: 1.01

The issue is that UserAgentParser finds the platform by naively searching for keywords.
Here's the relevant code snippet:
    platforms: Any = (
        (" cros ", "chromeos"),
        ("iphone|ios", "iphone"),
        ("ipad", "ipad"),
        (r"darwin|mac|os\s*x", "macos"),
        ("win", "windows"),
        (r"android", "android"),
        ...

In your case, "darwin|mac|os\s*x" finds a match before "android" is searched. From what I've seen of user agent headers, they can vary wildly. Perhaps someone who has more experience can suggest better regex patterns. I'm concerned that our simple keyword search is inadequate and that there could be more unnoticed bugs like yours.

Rather than doing this in-house, maybe you can consider adding dependency on [ua-parser](https://github.com/ua-parser/uap-python/commits/0.10.0/ua_parser/user_agent_parser.py) library. I did a review of the project and its based on a pretty popular cross language core that has a very large test set. The python version supports a very wide array of python versions and the code itself should be pretty stable.

I'll offer up a PR unless you want to take a crack at it. Seems like a good solution.

I would like to take a crack at it. Thanks!

Rad! Thanks!

This is an interesting challenge. I'm new to Werkzeug so I had to do some analysis to get a baseline understanding.
It appears that one of Werkzeug's primary mandates is to not enforce any dependencies. Therefore its impossible to accomplish this with a pull request to the werkzeug library itself.
I think that the only way to use ua-parser with Werkzeug is to create a Request wrapper class in a separate python module; maybe werkzeugdep which would allow for dependencies. In that library, it would have its own Request class in wrappers.request.py that would include a UserAgentMixin which uses the ua-parser library.
Has there been any precedent for external werkzueg wrappers that have dependencies?

FYI - As I am not using Werkzeug for any current projects, I'm going to pass on doing any further work on this issue.

I'm happy to consider a PR that adjusts the matching rules to fix how this agent is matched, but we won't add a dependency for this.

The ua-parser package finds the appropriate user agent by using regex patterns (similar to our approach, but obviously more thorough). Their regex patterns take up ~5500 lines of code.
I think it's clear that we can't offer a complete UserAgentParser without adding ua-parser as a dependency or including parts of their code into Werkzeug.
Alternatively, we can add a message in the readme and/or docs to explain that our UserAgentParser is basic and won't work in many scenarios.

I've opened #1989 to address this platform string but it is far from a complete fix for the rest of the conversation here.

I've opened #1989 to address this platform string but it is far from a complete fix for the rest of the conversation here.


[Proposal] Typed Queue

I use in a Project the Collection Class with a Entity as Type. This work really good and is really straightforward.
But i think a Queue (FIFO Principle) would match my needs even better.
Therefore, my consideration of whether it is a good extension for this project.
Is this a benefit for this Project?

I think it's a great addition for this project, given that the project aims to bring much of the functionality of the Java Collection library to PHP userland, and the Java Collection library provides a Queue: http://docs.oracle.com/javase/8/docs/api/java/util/Queue.html
Thanks!

Great. I will send a PR.

Thanks!


Notification support for bazel commands

Description of the feature request:
When actions by the plugin complete such as sync or configured commands an intellij notification is created
Which category does this issue belong to?
Intellij
What underlying problem are you trying to solve with this feature?
Often my bazel actions take a while to complete and I would like to have some way to be notified when their complete other than visually checking the status of the command.
What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.
macOS Sonoma 14.3.1 Intellij 2023.3.3 Java
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response

IIRC this used to work for sync operation. @tpasternak if you can task a look

+1, also looking for notification of some sort from IDE once a bazel task completes.

@tpasternak

So just tried it briefly notifications after Sync do work (if IntelliJ window is out of focus)
https://github.com/bazelbuild/intellij/blob/fec469bed8c636c3cf37a3c224cd2a35b3e80495/base/src/com/google/idea/blaze/base/sync/SyncPhaseCoordinator.java#L711

I don't believe that this notification is customizable to make sound as I don't see it show up in the notifications tool window. Ideally all the notifications that the bazel plugin make would show up there.


Explicit Casting for Boolean Properties

Hi,
While reading a boolean property, I am getting the following error. The database is MariaDB and the property is saved as TINYINT in Database.
    "System.InvalidCastException",         "Message": "Unable to cast object of type 'System.Boolean' to type 'System.UInt64'.",
Environment
.NET (Core) SDK version:  3.1
Microsoft.EntityFrameworkCore version:  3.1.12
EFCoreSecondLevelCacheInterceptor version: 3.2.3
Database: (e.g. SQL Server, SQLite, etc.) MariaDB
Cache provider: (e.g. in-memory, redis, etc.) Inmemory

If I override Read() function as follows, the error will not be thrown.
if (isBinary(i))
{
    _rowValues[i] = getSqlBytes(i);
}
else if (isBoolean(i))
{
    var k = _dbReader.GetBoolean(i);
    _rowValues[i] = Convert.ToUInt64(k);
}
else
{
    _rowValues[i] = _dbReader.GetValue(i);
}

StackTrace

System.InvalidCastException: Unable to cast object of type 'System.Boolean' to type 'System.UInt64'.
   at System.Data.Common.DbDataReader.GetFieldValue[T](Int32 ordinal)
   at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32[] , ResultCoordinator )
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Controller.Get(ODataQueryOptions`1 queryOptions, CancellationToken cancellationToken) in Controller
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at InvokeAsync(HttpContext httpContext, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at AspNetCoreRateLimit.RateLimitMiddleware`1.Invoke(HttpContext context)
   at InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at OwaspHeaders.Core.SecureHeadersMiddleware.Invoke(HttpContext httpContext)
   at ErrorHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)

What is the full stack trace of this exception?

What is the full stack trace of this exception?

I've added to the question.

Sorry I am not going to fix this. It doesn't even hit this library according to your logs and probably it's a driver/provider issue.

What do you mean it is not hitting the library? ProcessExecutedCommands method has DbDataReader that is used by EFDataReaderLoader. The error is thrown by there.
https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor/blob/17503ea202f4f3f2b0abc482a2e4290c2194df77/src/EFCoreSecondLevelCacheInterceptor/DbCommandInterceptorProcessor.cs#L93

What do you mean it is not hitting the library?

There is no trace of this library in your posted stack trace. Not even a single line of it shows it's coming from this library or using it.
There was a problem with TINYINT before and it was fixed. Use a proper ef-core provider for your database.

Try V 3.2.4. It processes a boolean value as an int.

Are you using the Pomelo.EntityFrameworkCore.MySql  provider? If yes, it has a TreatTinyAsBoolean=true setting. Add it to your connection string. Also sometimes you will need to write some converters to handle some missing types.


Add documentation for tweepy.parsers

I added some documentation for tweepy.parsers. Would appreciate it if someone reviewed what I wrote to see if it's correct and whether or not it'll render properly.

Did you mean it's documenting improvements that aren't in the code or that it's an improvement in the documentation?


⚠ Bofrost.fr has degraded performance

In 5a850c2, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 918 ms

Resolved: Bofrost.fr performance has improved in e58082d.


Cannot scroll on pages with default renderer

Does the default renderer eat all mouse events?  It's hard to use it on a page and have the page scroll.
To reproduce:

Go here: http://brm.io/matter-js-demo/
Make the window very small (vertically) so the whole page can scroll
Move your cursor to the empty space between the matter.js "scene" and the elements outside of it
Use mousewheel or multi-touch trackpad to scroll up and down, notice page scrolls
Now move your cursor inside the physics scene itself, repeat step 4, notice page does not scroll

I'd like the element to propagate the scroll events back to the window / browser.  How can I achieve this?

Figured it out.  It was due to this line:
https://github.com/liabru/matter-js/blob/b6ed9f04bc3877cd59c9ef6e03d42a51f8b8f6df/src/core/Engine.js#L66
I didn't think a Mouse instance was being created, but it was.  Current master doesn't create a Mouse instance unless you need it.
Time for a version bump and npm update?
Thanks for the great work.

OK this was still an issue, framing it a little differently here:
https://github.com/liabru/matter-js/issues/84


ipynb venv doesn't work

Type: Bug
Can't enter a pre-existing venv other than the 2 suggested, entering path to venv in "Select a Python Environment" doesn't work, hitting enter does nothing.
VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Thanks for filing this issue, unfortunately entering a path in the kernel picker does not work.
I would suggest you first pick that environment via the Python interpreter picker first (use the command Python: Select Interpreter)
It should then appear as a kernel.
If it still does not, please let me know

Hi, I already had picked my venv via the python interpreter picker. Some of my venvs in other folders come up in the kernel picker, but not the one I'm trying to use.
For reference, the relative paths (from my workspace folder Documents/my_project/my_lib) are something like:
venv I want: ../other_lib/.venv
venv I'm offered: ../../other_project/venv
I notice that both the venvs I'm offered in the kernel picker are in foldered named venv, whereas the one I'm trying to use is in a folder named .venv. I'm not sure if this is related.

Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

Please do share all of the logs.

Please see below for the debug output. The kernel picker seems to be trying to pick up a deleted folder in my onedrive, which might be causing issues? I never see the current_project\lib\.venv in the kernel picker.
Visual Studio Code (1.86.1, undefined, desktop)
Jupyter Extension Version: 2024.1.1.
Python Extension Version: 2024.0.1.
Pylance Extension Version: 2024.2.1.
Platform: win32 (x64).
Workspace folder ~\Documents\current_project\sw, Home = c:\Users\allan
10:03:22.304 [info] Telemetry level is off
10:03:22.304 [info] Experiments are disabled, only manually opted experiments are active.
10:03:22.304 [info] User belongs to experiment group 'KernelCompletions'
10:03:22.304 [info] User belongs to experiment group 'DoNotWaitForZmqPortsToBeUsed'
10:03:22.831 [debug] Get Custom Env Variables, Class name = Tm (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
10:03:22.834 [info] Start refreshing Kernel Picker<PHONE_NUMBER>834)
10:03:22.878 [info] Using Pylance
10:03:22.930 [debug] Get Custom Env Variables, Class name = Tm, completed in 100ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
10:03:22.931 [debug] Jupyter Paths kernels:
10:03:22.935 [debug] Search for KernelSpecs in Interpreter ~\Documents\current_project\lib\.venv\Scripts\python.exe
10:03:22.937 [debug] Finding Global Python KernelSpecs
10:03:22.938 [debug] Kernel Spec Root Paths, ~\AppData\Roaming\jupyter\kernels, c:\ProgramData\jupyter\kernels
10:03:22.946 [debug] Getting activated env variables, Class name = mp (started execution), Arg 1: "/c:/Users/<username>/Documents/current_project/sw", Arg 2: "~\\DOCUMENTS\\CURRENT_PROJECT\\LIB\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined
10:03:22.947 [debug] Get Custom Env Variables, Class name = Tm (started execution), Arg 1: "/c:/Users/<username>/Documents/current_project/sw", Arg 2: "RunPythonCode"
10:03:22.948 [debug] Get Custom Env Variables, Class name = Tm, completed in 1ms, has a truthy return value, Arg 1: "/c:/Users/<username>/Documents/current_project/sw", Arg 2: "RunPythonCode"
10:03:23.141 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python37\python.exe
10:03:23.143 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python39\python.exe
10:03:23.146 [debug] Search for KernelSpecs in Interpreter ~\Documents\old_project_1\venv\Scripts\python.exe
10:03:23.147 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python310\python.exe
10:03:23.149 [debug] Search for KernelSpecs in Interpreter ~\Documents\old_project_2\venv\Scripts\python.exe
10:03:23.152 [debug] Full interpreter list is length: 5, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python37\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python39\python.exe, ~\DOCUMENTS\OLD_PROJECT_1\VENV\SCRIPTS\PYTHON.EXE:venv:Venv:~\Documents\old_project_1\venv\Scripts\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python310\python.exe, ~\DOCUMENTS\OLD_PROJECT_2\VENV\SCRIPTS\PYTHON.EXE:venv:Venv:~\Documents\old_project_2\venv\Scripts\python.exe
10:03:24.879 [debug] Kernels for interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE are .jvsc74a57bd050cbb6ba69438cf8b1a80e9a6ba845fab536b4ac46547b12f8af63038c128207.~\AppData\Local\Programs\Python\Python39\python.exe.~\AppData\Local\Programs\Python\Python39\python.exe.-m#ipykernel_launcher
10:03:24.880 [debug] Kernels for interpreter ~\DOCUMENTS\OLD_PROJECT_1\VENV\SCRIPTS\PYTHON.EXE are .jvsc74a57bd0f6775acb1c5516f994b9bc33f16b37817fd63ad33f095907a3cf71e3b348d525.~\Documents\old_project_1\venv\Scripts\python.exe.~\Documents\old_project_1\venv\Scripts\python.exe.-m#ipykernel_launcher
10:03:24.880 [debug] Kernels for interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE are .jvsc74a57bd00895706b445743b41442891cc068d165c25803aac570eea9a5131c0a181def5c.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher
10:03:25.069 [debug] Kernels for interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE are .jvsc74a57bd05ee7cfa7c74f92f331584abcedd16ac04dee39fb2c55aa626fff5440d28a0c9d.~\AppData\Local\Programs\Python\Python37\python.exe.~\AppData\Local\Programs\Python\Python37\python.exe.-m#ipykernel_launcher
10:03:25.308 [debug] Loading kernelspec from ~\Documents\current_project\lib\.venv\share\jupyter\kernels\python3\kernel.json for ~\Documents\current_project\lib\.venv\Scripts\python.exe
10:03:25.395 [debug] Loading kernelspec from ~\Documents\old_project_2\venv\share\jupyter\kernels\python3\kernel.json for ~\Documents\old_project_2\venv\Scripts\python.exe
10:03:25.771 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd01c935cc7ddcdbd57befa447952fbee83dc4dce25384bf41dd990915b960af541', python for interpreter ~\Documents\current_project\lib\.venv\Scripts\python.exe and spec ~\Documents\current_project\lib\.venv\share\jupyter\kernels\python3\kernel.json
10:03:25.773 [debug] Kernels for interpreter ~\DOCUMENTS\CURRENT_PROJECT\LIB\.VENV\SCRIPTS\PYTHON.EXE are .jvsc74a57bd01c935cc7ddcdbd57befa447952fbee83dc4dce25384bf41dd990915b960af541.~\Documents\current_project\lib\.venv\Scripts\python.exe.~\Documents\current_project\lib\.venv\Scripts\python.exe.-m#ipykernel_launcher
10:03:25.841 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0504c89be4e5742af3078857b5ace78d343c24712f3e866e190316f5eea406c40', python for interpreter ~\Documents\old_project_2\venv\Scripts\python.exe and spec ~\Documents\old_project_2\venv\share\jupyter\kernels\python3\kernel.json
10:03:25.843 [debug] Kernels for interpreter ~\DOCUMENTS\OLD_PROJECT_2\VENV\SCRIPTS\PYTHON.EXE are .jvsc74a57bd0504c89be4e5742af3078857b5ace78d343c24712f3e866e190316f5eea406c40.~\Documents\old_project_2\venv\Scripts\python.exe.~\Documents\old_project_2\venv\Scripts\python.exe.-m#ipykernel_launcher
10:03:25.843 [info] End refreshing Kernel Picker<PHONE_NUMBER>834)
10:03:26.529 [debug] Got env vars with python ~\Documents\current_project\lib\.venv\Scripts\python.exe, with env var count 72 in 3582ms.
    PATH value is ~\Documents\current_project\lib\.venv\Scripts;C:\ffmpeg\bin;C:\windows\system32;C:\Program Files\Graphviz\bin;C:\windows\system32;C:\windows;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\windows\System32\Wbem;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;~\.local\.bin;~\AppData\Local\Programs\Python\Python39\Scripts\;~\AppData\Local\Programs\Python\Python39\;~\.dnx\bin;~\AppData\Local\Programs\Python\Python37\Scripts\;~\AppData\Local\Programs\Python\Python37\;~\AppData\Local\Microsoft\WindowsApps;~\AppData\Local\Programs\Microsoft VS Code\bin;~\AppData\Roaming\Python\Python37\Scripts;C:\bazel.exe;C:\Program Files\Java\jdk-<IP_ADDRESS>;C:\Program Files (x86)\sox-14-4-2;C:\ninja-win;C:\Windows\System32; and
    Path value is undefined
10:03:26.529 [debug] Prepend PATH with python bin for ~\Documents\current_project\lib\.venv\Scripts\python.exe
10:03:26.530 [debug] Activated Env Variables for ~\Documents\current_project\lib\.venv\Scripts\python.exe,
    PATH value is ~\Documents\current_project\lib\.venv\Scripts;~\Documents\current_project\lib\.venv\Scripts;C:\ffmpeg\bin;C:\windows\system32;C:\Program Files\Graphviz\bin;C:\windows\system32;C:\windows;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\windows\System32\Wbem;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;~\.local\.bin;~\AppData\Local\Programs\Python\Python39\Scripts\;~\AppData\Local\Programs\Python\Python39\;~\.dnx\bin;~\AppData\Local\Programs\Python\Python37\Scripts\;~\AppData\Local\Programs\Python\Python37\;~\AppData\Local\Microsoft\WindowsApps;~\AppData\Local\Programs\Microsoft VS Code\bin;~\AppData\Roaming\Python\Python37\Scripts;C:\bazel.exe;C:\Program Files\Java\jdk-<IP_ADDRESS>;C:\Program Files (x86)\sox-14-4-2;C:\ninja-win;C:\Windows\System32; and
    Path value is undefined
10:03:26.531 [debug] Getting activated env variables, Class name = mp, completed in 3585ms, has a truthy return value, Arg 1: "/c:/Users/<username>/Documents/current_project/sw", Arg 2: "~\\DOCUMENTS\\ CURRENT_PROJECT\\LIB\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined
10:03:26.554 [info] Process Execution: ~\Documents\current_project\lib\.venv\Scripts\python.exe -m pip list
10:03:28.589 [info] No interpreter for Pylance for Notebook URI "~\Documents\current_project\sw\app_dsp_xk_evk_xu316\dsp_design.ipynb"
10:03:30.380 [debug] Python API env change detected, add => '~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE'
10:03:30.381 [info] Start refreshing Kernel Picker<PHONE_NUMBER>381)
10:03:31.208 [debug] Conda file returned by Python Extension is conda
10:03:33.051 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook' is no longer a valid
10:03:33.051 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive' is no longer a valid
10:03:33.051 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook'
10:03:33.051 [debug] Disposing controller .jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher associated with connection .jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher
10:03:33.052 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
10:03:33.052 [debug] Disposing controller .jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher (Interactive) associated with connection .jvsc74a57bd008c6674fefba1103098593c5946f82847204cf1a3479ae7958af98a260024963.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.~\OneDrive\some_deleted_folder\venv\Scripts\python.exe.-m#ipykernel_launcher
10:03:33.054 [debug] Python API env change detected, remove => '~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE'
10:03:33.070 [error] Failed to get env details from Python API for ~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE without an error
10:03:33.074 [debug] Full interpreter list is length: 5, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python37\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python39\python.exe, ~\DOCUMENTS\OLD_PROJECT_1\VENV\SCRIPTS\PYTHON.EXE:venv:Venv:~\Documents\old_project_1\venv\Scripts\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python310\python.exe, ~\DOCUMENTS\OLD_PROJECT_2\VENV\SCRIPTS\PYTHON.EXE:venv:Venv:~\Documents\old_project_2\venv\Scripts\python.exe
10:03:33.077 [debug] Interpreter removed ~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE
10:03:33.234 [debug] Python API env change detected, add => '~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE'
10:03:33.272 [debug] Python API env change detected, remove => '~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE'
10:03:33.298 [debug] Full interpreter list is length: 5, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python37\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python39\python.exe, ~\DOCUMENTS\OLD_PROJECT_1\VENV\SCRIPTS\PYTHON.EXE:venv:Venv:~\Documents\old_project_1\venv\Scripts\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python310\python.exe, ~\DOCUMENTS\OLD_PROJECT_2\VENV\SCRIPTS\PYTHON.EXE:venv:Venv:~\Documents\old_project_2\venv\Scripts\python.exe
10:03:33.299 [debug] Interpreter removed ~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE
10:03:33.449 [error] Failed to get env details from Python API for ~\OneDrive\some_deleted_folder\VENV\SCRIPTS\PYTHON.EXE without an error
10:03:34.462 [info] End refreshing Kernel Picker<PHONE_NUMBER>381)
10:03:59.877 [debug] creating new code watcher with matching document file:///c%3A/Users/<username>/Documents/current_project/sw/app_dsp_xk_evk_xu316/build_utils.py

I managed to get a workaround for now by changing the Python default interpreter path in settings, this then comes up in the kernel picker

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/15087


No longer passing remaining props to rendered div

Regarding issue #6 . React v15 gives a warning about unknown props passed to <div> tag. There
does not seem to be a reason to pass the props into the div, but correct me if I'm wrong. Removed the props from the div.

+1

I believe that {...props} are passed to the div to allow attributes such as className and id to be added to the div. I do agree that this issue should be fixed. Perhaps by filtering props before passing it to the div?

fixed by #9


[BUG] Modus Table - Scrolling PR - horizontal scroll appearing unnecessarily

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
Modus Table - Scrolling PR - Horizontal scroll is not working as expected
Horizontal scroll appears even when the parent and table width are the same 850px
PR# - https://deploy-preview-1538--modus-webcomponents.netlify.app/
Please refer the below screenshot:

Reduced test cases
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
Medium
What product/project are you using Modus Components for ?
QA
What is your team/division name ?
QA
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

I can reproduce this in codepen https://codepen.io/ramaraj-trimble/pen/PoLYYPG

This is a bug and needs to be fixed.

The issue has been tested and was not reproduced in the current storybook.


SAK-48064 - Move recent site list into user prefs

Please check if I am barking up the wrong tree.   See the JIRA.

I think you are barking up the right tree. I was going to tackle the very same thing.

But, I've made some changes in this area recently, look at the recent site config property.

portal.max.recent.sites is now the prop to use.

Hey @adrianfish - I will withdraw this if you are almost there and have a good pattern you want to borrow.  Or you can fix it in my branch - up to you.     So I fell back.   That line of code is weird because List does not require all of the signatures to be implemented in the implementing class - so I needed to force an ArrayList


added LightProfiniteInjective

Added file LightProfiniteInjective proving that nonempty light profinite spaces are injective

I think I've made all the changes. I've also renamed the lifting lemmas in to extension lemmas, which I think is more accurate and intuitive.
Everything is now in one LightProfinite namespace, but eventually I guess the purely profinite stuff (mostly the first half) has to go in Profinite, and the 'nonempty to final is epi' in CompHausLike?


Nestjs detection

Fixes #1324
Changes proposed:

[X] Add
[ ] Delete
[ ] Fix
[ ] Prepare

NOTE: I am missing the test files, I will updated it as soon as possible. Also, notice that all the Nest Icons are the same because I would like to hear the team opinion about the color palette & logo design  to be used in this case.

@JimiC I think eveyrthing is okay already but not sure why codecov is "failing" on checks.
Also, regarding the NestJS file icons, I will stick to the Angular colors used for the ng_* icons but with a gradient in order to keep the same style as the Nest logo.

Personally, I like the icons but those submitted are all the same and lacking the language type overlay icon.
Regarding codecov it fails because you introduced code that you have not covered with tests. Still, from a quick look, some code is duplicated in a way and it can be generalized (like toggle*Preset and get*Preset). I'll give it a more thorough look on the weekend if time permits.

@JimiC Thank you for the feedback and yes, I didn't put the TS/JS overlay icon because I wanted to suggest the colors to avoid the extra work when saving the icons. I will submit a new image as soon as I get time to add the overlay.
As stated on the original issue, there are like nine nest_* type files (adpater, middleware, module, pipe, etc) so that's why picking a color was a bit harder and instead used gradients.
Cheers!

I'm confused. I don't see the correct icons committed with the PR. I'm expecting to see the gradient versions with the js and ts overlay.
I won't be able to review the PR until the weekend of 17-18 March, so don't get discouraged.

@JimiC Arghhh, my fault, forgot to push the changes into my branch when finished the icons, give me a few minutes 👍
And no problem reviewing the PR, I can wait.

What concerns me about those icons now is their size. It exceeds the 2KB limit.

Hopefully, I'll review this in the morning.

The last commit concludes the work on this PR.
@KingDarBoja Thank you very much for the tremendous work you did. You truly made my life easier on this one.
If the rest of the @vscode-icons/development team is OK with the icons, we can proceed with the merging.

Thanks for this feature 😄


XKCD Example not working as expected

Version and Environment
AutoRest Version
autorest --version
AutoRest code generation utility [cli version: 3.4.2; node: v14.17.5]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest

Showing All Installed Extensions

 Type       Extension Name                           Version      Location
 core       @autorest/core                           3.6.2        C:\Users\stevenbucher\.autorest\<EMAIL_ADDRESS> extension  @autorest/modelerfour                    4.15.414     C:\Users\stevenbucher\.autorest\<EMAIL_ADDRESS> extension  @autorest/powershell                     3.0.451      C:\Users\stevenbucher\.autorest\<EMAIL_ADDRESS> extension  @autorest/powershell                     3.0.455      C:\Users\stevenbucher\.autorest\<EMAIL_ADDRESS>
PSVersion
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Problem
I am following the XKCD comic example and found that it is not working as explained in the README. I can generate the code successfully from the given yaml file and build the environment successfully but the cmdlets that exist do not match the ones explained.
When I run Get-command -module XKCD, I only get Get-XkcdComic instead of the expected
CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Get-XkcdComic                                      1.0        XKCD
Function        Get-XkcdComicForToday                              1.0        XKCD

The Get-XkcdComic cmdlet also does not seem to work in any of the scenarios provided and just returns null.

@vidai-msft , please go through the doc and correct it.

The docs have been updated.


UART: Allow the change of baudrate after instantiation

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[ ] I have updated existing examples or added new ones (if applicable).
[x] My changes were added to the CHANGELOG.md in the proper section.

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
This change allows us to set the UART baud rate once it has been instantiated.
Testing
I used a modified hello_world example:
...
    let mut uart0 = Uart::new(peripherals.UART0, &clocks);

    uart0.change_baud(56000, &clocks); // HERE IS MY CHANGE

    loop {
        writeln!(uart0, "Hello world!").unwrap();
        delay.delay(1.secs());
    }

and I used HTerm terminal where I could change the baud rate accordingly.
closes #944

I wonder, if because Clocks are frozen if we can just store the clocks in the uart 🤔. Not sure if that's a good idea or not though

I wonder, if because Clocks are frozen if we can just store the clocks in the uart 🤔. Not sure if that's a good idea or not though

I also thought about that but somehow, I have mixed feelings about that


feat: add increment and add operations to NumberSignal

Description
Please list all relevant dependencies in this section and provide summary of the change, motivation and context.
Fixes #2622
Type of change

[ ] Bugfix
[x] Feature

Checklist

[x] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
[x] I have added a description following the guideline.
[x] The issue is created in the corresponding repository and I have referenced it.
[x] I have added tests to ensure my change is effective and works as intended.
[x] New and existing tests are passing locally with my change.
[x] I have performed self-review and corrected misspellings.

Additional for Feature type of change

[x] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

Closed in favor of #2694


Improve local planner solve when yaw wraps

Right now if a twist input is commanded to spin in a circle, we get a much slower solve when the robot crosses from yaw = -pi to yaw = pi. Short term solution would be to update the warm start to unwrap yaw if it crosses that threshold. Longer term solution would be to use quaternions or some other representation.

Will try to wrap yaw in warmstart now, not sure will it affect the multipliers. Using a quaternion in direct collocation requires an extra slack variable to keep it as a unit vector.

Hi, any news on this from the dev's side? It's a year and a half old problem that has allegedly "a pretty easy solution, we just haven't gotten around to it yet" citing #345. @jcnorby

Hi @dhajnes,
Our team is currently working on other higher priority like state estimation. We may or may not get to this in the near future.

@dhajnes sorry it took so long to get to this! Finally found a time and opened a PR (#400) that resolves this issue. Feel free to merge into your branch, although its pretty self contained so should be merged with devel pretty soon.
Thanks for your interest!


Incorrect sums in watch mode

Describe the bug
When rollup is run in --watch mode, rollup-plugin-summary shows incorrect sums, seemingly combining results across different builds. It is also a bit difficult to see the difference between each build, since they are combined into one giant table.
To Reproduce
Run a build with rollup -c --watch
Expected behavior
For each build, show the file sizes for that build, not including any sizes from previous builds.
Screenshots
In these 4 builds, the filesizes did not change, yet the total changes each time:

Desktop (please complete the following information):

OS: macOS

P.S. Thanks for the plugin, nice enhancement over rollup-plugin-filesize.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@aomarks Sorry for this, I never tested it with watch mode. I fixed it, please test and let me know if the issue still persists.

Confirmed, it's working perfectly now. Thanks again for the super quick fixes @yousifalraheem !


Add access to the COVERALLS_TOKEN secret

coverage: 26.816%. remained the same when pulling f5680a9677ba68ef531bcf10c5e761d9d88c6ff8 on feature/update_dependabot_settings into 5c270ae8118be5b8f6b41126951b2188677c3813 on develop.


fix(http): add orgID param to /write endpoint

Closes #13906

I don't think so that this is a good solution. There should be a parameter that accept both variant: name and id.
For example: If i have a configuration for IOT devices:
influx2.url=https://cloud.influxdata/
influx2.org=ReacherGmBH
influx2.token=my-secret

the influx.org configuration could be Organization name or Organization id and InfluxDB 2.0 should be able to work this way.

cc @jademcgough , @ebb-tide

Hi all,
I prepared PR that introduce interchangeability between ID and Name - see https://github.com/influxdata/influxdb/pull/14540.
I think the #14540 is better solution and it's useful for building tools over the InfluxDB 2.0.

Thanks so much @kelwang @bednar @ebb-tide

There is one question is:
how to know the org param is an id or a name?
Now, if the param can be parsed as an int, then it is an id, otherwise, it is a name.
This is not entirely correct, because some name can be parsed as int.
Like aaaaaaaaaaaaaaa, it is a name, but it is treated as an id,
/write?org=aaaaaaaaaaaaaaa will return an error (org not found)
InfluxDB is an OSS project, users may name org to any string.
I think this problem should be solved in the system design, rather than expecting that these situations will not occur.

#14540 will fix the issue


Making filter configurable

This commit makes PreAuthFilter configurable.
Also, there is user validation fix mentioned in STUDYBOX-166

Closed due to changes in requirements


Remove GPR_BACKWARDS_COMPATIBILITY_MODE

As all prebuilt artifacts started leveraging manylinux2010, we don't need GPR_BACKWARDS_COMPATIBILITY_MODE which tried to change the way to communicate with the linux kernel in a more conservative way. This is not necessary anymore and it starts to work against us. (Recent case: https://github.com/grpc/grpc/issues/25386) We'd better stick with the standard way to use system functions so let's remove this option completely.

We'd need a adhoc distribtest run for this.

grpc_build_artifacts_multiplatform: running

Have you searched for all occurrences of GPR_BACKWARDS_COMPATIBILITY_MODE? I think there are more places where it gets used.

At least there is no more GPR_BACKWARDS_COMPATIBILITY_MODE in this PR.

Closed this in favor of https://github.com/grpc/grpc/pull/35602


Generate GitHub and Azure Pipelines CI Jobs

Generate GitHub Actions CI jobs for modules
Refs #2177, #1836
PR 1 of 2: this PR includes a script for generating the CI job configuration, but the script has to be manually run
A future PR should run the generation script automatically as a separate Action and commit changes, so that no manual updates are needed

Indicative timings:
A fully cached (S3 remote build cache) build: 6m25s
A completely uncached build (with --no-build-cache): 19m56s
For the uncached build, the longest job, and therefore bottleneck is jdbc-test. The core module is approx 14mins.
Therefore I think we could reduce the max build time to ~14mins by splitting up the JDBC testing for each DB into the relevant modules, to take advantage of parallelisation.
Further performance gains could be possible by splitting up the core job, but that may take more effort.

As discussed, we'll replace the GitHub Actions side of this with a nice new dynamic matrix build. Will work on this.
I'll leave the AZP side unchanged.


Update profile event names to match iOS

Per https://openedx.atlassian.net/browse/MA-1451

@BenjiLee Please review?

:+1: :star:


Next version python hacktoberfest2021

Hi,
I tried to answer to this feature:
https://github.com/jenkinsci/conventional-commits-plugin/issues/113
I don't know python. So I tried to find some script examples to change correctly the version. I saw there could be quotes surrounding the version.
I hope it's what was expected

Hi, the CI is down. I look the log and it says that a dependancy couldnt be transfered for the repo:
Could not transfer artifact org.jenkins-ci.plugins:plugin:pom:4.27 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/)
Yet I had no problem on my local ( and it's in my local repository). I guess it's a temporary problem or did I miss something ?

@philippart-s Maybe we could move the createNewUpdateFile function to the abstract class. It could be mutualised with the makefile project ( and maybe futur others ) ?

Sorry I've missed your question, yes if the code is identical we can move the code in a class but the searched string is not the same so the method must cover the two cases.


Make exceptions that guide about missing content types

Thanks for MAKING Wagtail! 🎉
This is a minor addition, maybe slightly unconventional?
My case is this:

I have messed around with some content types, i.e. models inheriting from Page and created contents with models (which result in new Content Types) which I ended up removing again.

I recognize this pitfall from django-cms - somehow you can run updates, migrations etc. and suddenly the Page model contains a reference to a Content Type which was then deleted (and remember that there are no constraints that stops Django from removing a content type).

These exception messages are just there to help a developer understand quickly what's going on. I decided to recommend deletion because typically, updating to a new content type would just get you in a place where you're pointing to an undesired content type with a different schema and then the mess explodes.

Thanks @benjaoming!
The behaviour of PageQuerySet.specific() was fixed in #3569 to fall back on the basic Page model when the more specific model is missing - which matches the behaviour of Page.specific, and ensures that the admin page listing still works (so that the page can be deleted from there). As a result, this is no longer an issue on Wagtail 1.12 and later.

Before:

After:

To reproduce the above:

Create my_app.MyModel
makemigrations <my_app>
Go to http://<IP_ADDRESS>:8000/wagtail/ and create a new page with MyModel
Migrate backwards so MyModel is unappplied. Delete the migration and run makemigrations <my_app>, when prompted, delete the content type for MyModel
makemigrations <my_app>
Go to http://<IP_ADDRESS>:8000/wagtail/ and observe that the main page has a KeyError


“«» quotes are used as an alternative to double quotes” – what?

From language/unicode_entry#Guillemets:

These characters are used in French and German as quotation marks. In Perl 6 they are also used as quotation marks (in POD as an alternative to the angle brackets and in normal code as an alternative to double quotes)

Am I reading it correctly? Maybe not, because otherwise it is some nonsense.

They can be used as an alternative to "" because .Str on a list of Str will coerce by .join(" "). The interpolation rules are the same.

… That does not count as an alternative. Just because a list will stringify into something that looks similar to the original code does not justify having that in the docs.
«five     spaces».Str.say     # five spaces

In that case it's wrong and needs to be removed.

fixed with ac60df05f8


⚠ Bofrost.lu has degraded performance

In 620ab99, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1015 ms

Resolved: Bofrost.lu performance has improved in ea183ae after 59 minutes.


Add email harvesting module

Checklist

[x] I have followed the Contributor Guidelines.
[x] The code has been thoroughly tested in my local development environment with flake8 and pylint.
[x] The code is both Python 2 and Python 3 compatible.
[x] The code follows the PEP8 styling guidelines with 4 spaces indentation.
[x] This Pull Request relates to only one issue or only one feature
[x] My branch is up-to-date with the Upstream master branch.

This pull request contains the implementation of the Email Harvesting feature as specified in #143. Please suggest any changes if required.
Your development environment

OS: Ubuntu
OS Version: 20.04
Python Version: 3.8.5

HI @ktg-123 as previously discussed - for now this module is not a priority as it is an OSINT module rather than a network/service/application/vulnerability scan module. We will keep the PR open for now, please also do check out the OWASP Maryam project in the meantime as it is dedicated to OSINT

old module types are not supported anymore.


jquery dependency

A non-jquery version would be amazing and much more vue-y (?).

This is a Vue wrapper for a jquery package only, Although for the next release I am working on a 100% vue-y version of the same.


[Feature Request] AE2 Crystal Growth

Is it possible to do a little scripting to be able to throw custom items into water and making them become sth else? Just like how you need to create fluix crystals.
Thanks in advance,
Wyrrrd

This is not possible sorry.


Can we hide AM | PM?

Can we hide AM | PM?
I wanted to hide AM | PM section from your lib is there any possibility?

With24format(true)


Revert explicit host targeting

Not using hosts like what was done previously could
cause the hardware checks to be missed on hosts that
were not part of the groups listed before.
For more information, please see:
#2177 (comment)
Connects #2164

recheck_cit_ceph

recheck_cit_swift

recheck_cit_xenial

recheck_cit_all

recheck_cit_ceph


Update Fate admin command to support the addition of the Accumulo instance type

With the addition of support for multiple Fate instances and an AccumuloStore in #4133 and #4049 the fate command in the Admin utility needs to be updated.
The changes in #4133 only partially updated things to fix the problems with unit tests but more work is needed.
More investigation needs to be done for all the changes but a few things are:

We need to make the command compatible with the Accumulo instance as well and not just Zookeeper for operations such as cancelling a fate operation. This will mean updating the command to provide an instance type.
We should provide an option to filter transactions based on instance type.
Updating the formatting of the summary output to show the instance type

We may want to wait to update the command until the changes are finished in #3964 as that might require more changes

I would like to work on this

This issue can be closed. Completed by https://github.com/apache/accumulo/pull/4350


AWS - destroy  sg-group is been attempt to be deleted to early

When destroy tries to remove ELB Security Group it seems to be still bound to something in the cluster side. ELB is already removed, but Sg fails with the error below:
Logs
2022-12-29T17:00 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:235 > Removing Security Group: sg-xyz
2022-12-29T17:00 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-xyz
2022-12-29T17:00 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Failed to destroy security group: operation error EC2: DeleteSecurityGroup, https response error StatusCode: 400, RequestID: 44c3ce3b-e4a4-4a54-bfec-1729f3fe4bd0, api error DependencyViolation: resource sg-xyz has a dependent object

Possible fixes:

[ ] A - Remove SG post Terraform Base Destroy is completed, trade-off it will fail to delete VPC
[ ] B - Make a loop trying to remove it in parallel and stop only when removed. I would sleep of 1 or 2 minutes between attempts.

Solution on PR #1024 makes destroy faster:
2022-12-29T18:40 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Trying to Security Group: sg-0ed55940fa46fffa2
2022-12-29T18:40 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-0ed55940fa46fffa2
2022-12-29T18:40 WRN github.com/kubefirst/kubefirst/internal/terraform/terraform.go:241 > Failed to destroy security group: operation error EC2: DeleteSecurityGroup, https response error StatusCode: 400, RequestID: ec27654f-72a8-40bb-ae79-1d7e6fab5bdb, api error DependencyViolation: resource sg-0ed55940fa46fffa2 has a dependent object
2022-12-29T18:42 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Trying to Security Group: sg-0ed55940fa46fffa2
2022-12-29T18:42 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-0ed55940fa46fffa2
2022-12-29T18:42 WRN github.com/kubefirst/kubefirst/internal/terraform/terraform.go:241 > Failed to destroy security group: operation error EC2: DeleteSecurityGroup, https response error StatusCode: 400, RequestID: df9c9ebc-0ef1-494d-b456-793956f43263, api error DependencyViolation: resource sg-0ed55940fa46fffa2 has a dependent object
2022-12-29T18:44 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Trying to Security Group: sg-0ed55940fa46fffa2
2022-12-29T18:44 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-0ed55940fa46fffa2
2022-12-29T18:44 WRN github.com/kubefirst/kubefirst/internal/terraform/terraform.go:241 > Failed to destroy security group: operation error EC2: DeleteSecurityGroup, https response error StatusCode: 400, RequestID: 9ce79d2e-d1c7-4be6-860e-668feb18468b, api error DependencyViolation: resource sg-0ed55940fa46fffa2 has a dependent object
2022-12-29T18:46 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Trying to Security Group: sg-0ed55940fa46fffa2
2022-12-29T18:46 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-0ed55940fa46fffa2
2022-12-29T18:46 WRN github.com/kubefirst/kubefirst/internal/terraform/terraform.go:241 > Failed to destroy security group: operation error EC2: DeleteSecurityGroup, https response error StatusCode: 400, RequestID: 792f2b98-443a-48f4-94f1-a7872f25cf25, api error DependencyViolation: resource sg-0ed55940fa46fffa2 has a dependent object
2022-12-29T18:48 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Trying to Security Group: sg-0ed55940fa46fffa2
2022-12-29T18:48 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-0ed55940fa46fffa2
2022-12-29T18:48 WRN github.com/kubefirst/kubefirst/internal/terraform/terraform.go:241 > Failed to destroy security group: operation error EC2: DeleteSecurityGroup, https response error StatusCode: 400, RequestID: a2e863ec-bc6d-4493-93d2-b1b76d8caf75, api error DependencyViolation: resource sg-0ed55940fa46fffa2 has a dependent object
2022-12-29T18:50 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:238 > Trying to Security Group: sg-0ed55940fa46fffa2
2022-12-29T18:50 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1048 > trying to delete security group sg-0ed55940fa46fffa2
2022-12-29T18:50 INF github.com/kubefirst/kubefirst/internal/aws/aws.go:1055 > deleted security group sg-0ed55940fa46fffa2
2022-12-29T18:51 INF github.com/kubefirst/kubefirst/internal/terraform/terraform.go:272 > terraform base destruction complete
2022-12-29T18:51 INF github.com/kubefirst/kubefirst/cmd/createUtils.go:311 > All Destroyed
2022-12-29T18:51 INF github.com/kubefirst/kubefirst/cmd/destroyAwsGitlab.go:116 > terraform base destruction complete
2022-12-29T18:51 INF github.com/kubefirst/kubefirst/cmd/destroyAwsGitlab.go:83 > Closed argocd port forward
LOG: 2022/12/29 18:51:10.723115 github.com/kubefirst/kubefirst/cmd/destroy.go:45: terraform base destruction complete

Output
- Destroying Gitlab
- Open argocd port-forward
- Destroying Registry Application
Open Ports                    ... done! [3 in 6m5.231s]
- Destroying Cluster
Destroy Cloud                 ... 75.0% [#####################.......] [3 in 18m26.200943s]
Destroy Cloud                 ... done! [4 in 18m26.202s]
- All Destroyed

Previous runs, took around 25 mins.


"End transaction" dialog on each query

Description
Each time I run a query (selects too), after about a second, I get the following annoying dialog:

DBeaver Version
<IP_ADDRESS>402041841 (SNAP version)
Operating System
Ubuntu 22.04.03
Database and driver
Not relevant.
Steps to reproduce

Connect to any DB.
Open a SQL script window.
Execute a SELECT query.
Wait for a second...

Additional context
No response

See this https://github.com/dbeaver/dbeaver/issues/22709


[EVENT REQUESTS] Table 99000849 "Action Message Entry"

Describe the request
For implementing process customizations from BC13 to the current BC24 I need three new events in Table 7504 related to special quantity handling.
For function SumUp it is necessary to have three new events in this function
New Events

procedure SumUp(var ActionMessageEntry: Record "Action Message Entry")
var
ActionMessageEntry2: Record "Action Message Entry";
ReservEntry: Record "Reservation Entry";
ReservEntry2: Record "Reservation Entry";
ProdOrderComp: Record "Prod. Order Component";
TypeArray: array[5] of Boolean;
begin
ActionMessageEntry2 := ActionMessageEntry;
...
ActionMessageEntry."New Date" := 0D;
ActionMessageEntry.Quantity := 0;
OnAfterAssignMessageEntry(ActionMessageEntry,ActionMessageEntry2);
...
ActionMessageEntry.Type := ActionMessageEntry.Type::" ";
if ActionMessageEntry2.FindSet() then
repeat
if ActionMessageEntry2.Quantity <> 0 then begin
ActionMessageEntry.Quantity += ActionMessageEntry2.Quantity;
TypeArray[2] := true;
OnAfterAssignQuantity(ActionMessageEntry,ActionMessageEntry2);
...
if TypeArray[5] then
ActionMessageEntry.Type := ActionMessageEntry.Type::Cancel;
OnAfterAssignEntryType(ActionMessageEntry,ActionMessageEntry2);
ActionMessageEntry2."New Date" := ActionMessageEntry."New Date";
...
Additional context
In Steel Industry, one quantity is not enough for any process. Therefore our current Business Central is customized for using a second quantity. Every item has furthermore two inventories instead of one. An inventory measured by the base UOM (the standard) and a second one measure by its second UOM.
Example:
A customer orders approx. 2 tons of steel sheets, /.100 pieces.
Quantity: 2000
UOM: KG
Sec. Quantity: 100
Sec. UOM: PCE
Internal work item: AB#546994

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 25075.


Add History to docs

Would like to propose adding a history file to repo so we can spot changes and get help with breaking changes.

I like that @cosminn777 !
Do you have any suggestion about a tool to automate the changelog/release process?

Gren should fit the current issue: https://github-tools.github.io/github-release-notes/concept.html

Added gren support: now there's an updated changelog file and releases have history 🎉


Moving rules to the correct phases

Motivation
There was a similar issue in #1941: we moved the rules to the previous phase if the used variables allowed. Now I reviewed the rules again, and checked the other direction - this issue lists the rules which contain a variable, which can't present in the used phase - spoiler: this is only the ARGS variable, and all rules are in phase:1.
9001182:
rule in phase1, but (POST) ARGS avaliable in phase2
Note: there is an action at the end of the chain: ctl:requestBodyAccess=Off, this turns off the whole phase2 in modsec3
proposal: change the ARGS:destination by ARGS_GET:destination - any Drupal expert?
Or we can copy this rule but with phase:2, as is in case of 9004300 - see below.
9002141:
rule in phase1, but (POST) ARGS avaliable in phase2
proposal: change the ARGS:rest_route by ARGS_GET:rest_route - any WP expert?
Or here we also can copy this rule but with phase:2, as is in case of 9004300 - see below.
9002143:
rule in phase1, but (POST) ARGS avaliable in phase2
proposal: change the ARGS:rest_route by ARGS_GET:rest_route - any WP expert?
Or here we also can copy this rule but with phase:2, as is in case of 9004300 - see below.
9004300:
rule in phase1, but (POST) ARGS avaliable in phase2
note: the next rule (9004310) is same but triggered in phase:2 - any DokuWiki expert?
9006600:
rule in phase1, but (POST) ARGS avaliable in phase2
proposal: change the &ARGS by &ARGS_GET - any XENFORO expert?
Or here we also can copy this rule but with phase:2, as is in case of 9004300 - see above.
Let's discuss about the possible solution.

9002141: can safely be changed to ARGS_GET:rest_route
9002143: can safely be changed to ARGS_GET:rest_route

As far as I know, these parameters are always passed as part of the URL.