Chapter 02 ImagePullBackOff

While I was running aks code accordingly, I found an error for frontend application " ImagePullBackOff"

In azure-vote.yaml, change the line 59 from image: mcr.microsoft.com/azuredocs/azure-vote-front:v1 to image: mcr.microsoft.com/azuredocs/azure-vote-front:v2.
The image linked has been changed.  See the image on Docker Hub


org rename

Ref: https://github.com/stolostron/backlog/issues/18746
Signed-off-by: haoqing0110<EMAIL_ADDRESS>

/test pr-image-mirror

/assign @elgnay

/assign @xuezhaojun

/lgtm


Fix DNS lookup failure error for host URLs

[x] Chart version not bumped (the versions are all bumped and released at the same time)
[x] README.md updated with any new values or changes
[x] Updated template tests in ${CHART}/tests/*.py (Seems to be not required for current tests)
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml (Seems to be not required for current tests)

This is a fix PR for #394 bug, feel free to suggest any other solution/idea.
Thanks

Hi @jmlrt ,
hostNetwork and dnsPolicy options are now configurable through values.
In my opinion also @pbecotte solution is fine, but I can't see the new options in 7.6 release and in my opinion is needful.
Please, could you let me know the state on that?
Thanks

@FedeBev I created #585 to add host networking to Metricbeat while staying consistent with Filebeat.
This will be merged today or in a couple of days so I'll close your PR.
I'm sorry for making you wait so long then replacing your work due to bad timing.
I hope it won't demotivate you for contributing to this repos in the future.

Hi @jmlrt, thank's for you work.
I kept the options separate to leave maximum configuration flexibility. At the moment I can't image a situation where this is really required, so it's perfectly fine for me to keep that configuration in one option and #585 is perfect for my use case.
Don't worry for the timing,  luckily the workaround was very easy 😄


SSMS2018 - Installed, but will not run

Need to announce that this version does not run at all.
I just installed (as of 31-May-2019) - need to follow the fix in this link:
https://feedback.azure.com/forums/908035-sql-server/suggestions/37502512-ssms2018-installed-but-will-not-run
Copying here for others to see and use.
The issue (in .NET) has been investigated and understood.
The recommended workaround, in the interim, is:

Close all instances of SSMS
Edit ssms.exe.config
Remove the line that has the following text (should be line 38):
NgenBind_OptimizeNonGac enabled=“1”

That’s the same change that will be in the next release of SSMS 18.x
Thanks,
-Matteo

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

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @dnethi
Microsoft Alias: dinethi

SSMS when launched showed the splash screen then instantly crashed. Making the suggested config change as described did the trick. Here is the full path to config file.
C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe.config

This worked me for as well

@markingmyname Hi Mark, On a forum, Matteo has posted the steps necessary for customers to Fix this SSMS bug locally on their own computers.  Those same steps have subsequently been pasted into the top of this Issue 2234.
You might want to temporarily add a Cautionary alert into the SSMS Download documentation, to display the text of these same fix steps. I have no opinion on that, and the decision totally belongs to you and @rothja .
Thanks.

Why isn't Microsoft pulling back this beta release? Or replacing it immediately with a fixed version?
"Here is the final episode of GoT.... Ahhh wait, the file is defect.... Just replace the first few bytes with NULs and your favourite Non-Microsoft video player should be able to continue at chapter 2........" :laughing: :rofl:

Gah, I'm sure this is something dumb, but please help...  I can get to the line and delete it, but I can't re-save the file to the same location ("you do not have permission to open this file.  See the owner of the file or the administrator to obtain permission").  What am I missing?  I am getting very tired of uninstalling and reinstalling the entire studio...  Thank you.

First be sure to close SSMS app. Then, be sure to open your desired editing tool As Administrator which will allow you to Save the config file. Easiest way is to find your software shortcut or exe and Right-Click -> Run As Administrator

@SushiGuy – thank you!!  With that advice I got it fixed!  I’m back in, no more crashing.
From: Jeremy Heiner<EMAIL_ADDRESS>Sent: Tuesday, June 4, 2019 10:28 PM
To: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Kathleen Koson<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/sql-docs] SSMS2018 - Installed, but will not run (#2234)
[EXTERNAL]
First be sure to close SSMS app. Then, be sure to open your desired editing tool As Administrator which will allow you to Save the config file. Easiest way is to find your software shortcut or exe and Right-Click -> Run As Administrator
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/2234?email_source=notifications&email_token=ALPULXTHRG7D26GUMR65XXLPY4QCTA5CNFSM4HR25SWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW6NK5Q#issuecomment-498914678, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALPULXRUSCO5FFBPYO7JV3DPY4QCTANCNFSM4HR25SWA.

The recommended workaround worked me for as well, in the interim, is:
Close all instances of SSMS
Edit ssms.exe.config
Remove the line that has the following text (should be line 38):
NgenBind_OptimizeNonGac enabled=“1”

Can confirm this worked for us - Thanks
As above you need to make sure all instances of SSMS are closed first and in our case we ported the configs from the preview after it kicked back into life

hi folks, the updated SSMS 18.1 should have fixed this. Please update and let us know if the issue still exist.

I had the same problem as the people above with 18.1, it crashed after the splash screen.  I went back to 17.0 and it works just fine.  In my opinion, this is not fixed, this is 2 of us in my SQL Server class that have had this issue on our personal computers.

@MightPen,
A "known issues" section has been added to the release notes under the 18.0 section. :)
@moosehunt2007,
I see where you state - "I had the same problem as the people above" - referring to 18.1.  Have you tried the workarounds the people have tried as well?  It would be good to know if that works the same for 18.1 too.

@MightPen,
A "known issues" section has been added to the release notes under the 18.0 section. :)
@moosehunt2007,
I see where you state - "I had the same problem as the people above" - referring to 18.1. Have you tried the workarounds the people have tried as well? It would be good to know if that works the same for 18.1 too.

Okay tested,
Well @markingmyname - if you install fresh it gives the same splash screen crash, but if you have 18.0 installed and upgrade to 18.1, the fix is kept and not overwritten. So perhaps add this to 18.1 Known Issues too. But yes, from 18.0 to 18.1 upgrade works, not a clean install.
Regards.

@fwd079: are you saying that installing 18.1 on a clean machine (i.e. with no 18.0 ever installed on it), you are still observing the flashing splash screens? If so, would you enter a UserVoice item (https://aka.ms/sqlfeedback) and share the SSMS 18.1 setup log files (%TEMP%\SSMSSetup)? Also, could you share your ssms.exe.config, the one installed by SSMS 18.1 (before any changes you may have done)?

we need debugging tool to be added back please

Good lord I thought I was going crazy. I have uninstalled this program so many times and reinstalled it thinking it was my computer. Seriously?
TEST
YOUR
SOFTWARE

I downloaded SSMS from the link on this page and found out they have now remarked out the NgenBind that was giving all the problems.  Here is how the NgenBind line reads in the Ssms.exe.config file now:
    <!-- Don't enable this setting. While it may give a perf boost when loading
         a lot of NGEN'ed assemblies outside of the GAC, it may run into issue
         in some cases due to its limitations.
        <NgenBind_OptimizeNonGac enabled="1"/>
    -->

So, now all you have to do is download and run it, no config file editing is necessary.  Yeah!

Adding this so it's easier to find this issue (hopefully). When you run smss.exe from the command line, you might get this message: Program 'smss.exe' failed to run: The %1 application cannot be run in Win32 mode. Above workaround should work, as well as installing SSMS.
Also, strangely, the executable seems to have been renamed from smss.exe to ssms.exe in this version?

@mrwensveen:

Adding this so it's easier to find this issue (hopefully). When you run smss.exe from the command line, you might get this message: Program 'smss.exe' failed to run: The %1 application cannot be run in Win32 mode. Above workaround should work, as well as installing SSMS.
Also, strangely, the executable seems to have been renamed from smss.exe to ssms.exe in this version?

No, no... be very careful with that.

SSMS.EXE is "SQL Server Management Studio"
Smss.exe is "Session Manager Subsystem" - it's Windows stuff.

You will regret deeply if you mess with smss.exe :-)

Ah, didn't know that. Thanks.
On 02:18, Thu, Jun 20, 2019 Matteo Taveggia<EMAIL_ADDRESS>wrote:

@mrwensveen https://github.com/mrwensveen:
Adding this so it's easier to find this issue (hopefully). When you run
smss.exe from the command line, you might get this message: Program
'smss.exe' failed to run: The %1 application cannot be run in Win32 mode.
Above workaround should work, as well as installing SSMS.
Also, strangely, the executable seems to have been renamed from smss.exe
to ssms.exe in this version?
No, no... be very careful with that.

SSMS.EXE is "SQL Server Management Studio"
Smss.exe is "Session Manager Subsystem" - it's Windows stuff.

You will regret deeply if you mess with smss.exe :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/2234?email_source=notifications&email_token=AAJ2QDURDL7OFIJ2T4UBFELP3LEHFA5CNFSM4HR25SWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDUGAI#issuecomment-503792385,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ2QDUE42JQGHOKEXUQO7LP3LEHFANCNFSM4HR25SWA
.

I downloaded 18.1 today and cant connect to my local server anymore. Not sure if its tied to this same issue but some feedback would be greatly appreciated.

I downloaded 18.1 today and cant connect to my local server anymore. Not sure if its tied to this same issue but some feedback would be greatly appreciated.

I have no problem answering questions here, but... keep in mind this is the Git repo for the documentation, so the "doc" people may get mad at me :-)
To get help on SSMS:
https://docs.microsoft.com/en-us/sql/ssms/sql-server-management-studio-ssms?view=sql-server-2017#info_tip-get-help
And, I can confidently say that the issue @IncubusSlayer is seeing in not related to the one discussed here. Can you try to use either sqlcmd.exe or Invoke-Sqlcmd (PowerShell cmdlet in the SQLServer module) to see if you can connected? If it does not work, then it's more like a configuration issue on the server side. If it does work, then log a UserVoice item (info at the same link I provided above).

@fwd079: are you saying that installing 18.1 on a clean machine (i.e. with no 18.0 ever installed on it), you are still observing the flashing splash screens? If so, would you enter a UserVoice item (https://aka.ms/sqlfeedback) and share the SSMS 18.1 setup log files (%TEMP%\SSMSSetup)? Also, could you share your ssms.exe.config, the one installed by SSMS 18.1 (before any changes you may have done)?

Tested today, fresh install is fixed and crashes no more. Cheers :)
Closing the issue now.
Regards.


fix broken links

I found some broken links while reading the live version (on readthedocs), and I'm pretty sure I caught and corrected the errors on this page.

Thanks a lot!


[AFTER: #354] execute: verify whether minion nodes can resolve hostnames

AFTER: #354

Since we use SSH on minions to run commands on other minions, we need to
be sure that all minions are able to resolve the hostnames of all the
other minions.
Fixes: https://github.com/ceph/ceph-salt/issues/328
Signed-off-by: Nathan Cutler<EMAIL_ADDRESS>
To Do:

[ ] merge #354
[ ] rebase this PR

Looks like this PR is also fixing https://github.com/ceph/ceph-salt/issues/260

@smithfarm https://github.com/ceph/ceph-salt/pull/354 has been merged, please rebase.

This is finally working:
master:~ # ceph-salt apply
Checking if all minions respond to ping...
Pinging 4 minions...
Checking if ceph-salt formula is available...
Syncing minions with the master...
Checking if all minions have functioning DNS...
DNS issues detected on hosts node3.ses7.test
Some minions cannot resolve the fully-qualified hostnames of some other minions. Please fix this issue and try again.


Paypal component not refreshing changed currency and fails on submit

I have form with country selector and paypal smart button.
Change of the country will cause change of the currency and price.
I have written to the support and they said to umount and mount the component again to refresh the currency, so I did that.
Here is my code for it:
    onPlanChanged() {
      this.mountedPaypal.unmount();
      this.$nextTick(() => {
        this.mountPaypal();
      });
    },
    mountPaypal() {
      this.mountedPaypal = this.checkout
        .create("paypal", {
          environment: "test",
          countryCode: this.plan.country,
          amount: {
            currency: this.plan.currency,
            value: this.plan.price,
          },
          merchantId: "***",
          onSubmit: (data, component) => {
            data.handleAction = (action) => {
              component.handleAction(action);
            };
            this.$emit("submit", data);
          },
        })
        .mount(".pm-paypal-action");
    },

If currency is changed and button clicked, UI tries to open the paypal secure browser and then fails with error:
Expected currency from order api call to be EUR, got USD. Please ensure you are passing currency=USD to the sdk url.
Do I maybe need to wait for some amount of time between unmount and remount of the component or it is some other issue.
Note: when button is submitted we are sending the data to our api where latest plan with latest currency is used and they return us the action needed.
To Reproduce
Steps to reproduce the behavior:

Mount paypal component with some currency variable have "EUR" value
Change currency variable from "EUR" to "USD"
Unmount existing paypal component
Create and mount new paypal component with "USD" currency
Submit button and do api call to get the action
Provide action to mounted paypal component
You will get error Expected currency from order api call to be EUR, got USD. Please ensure you are passing currency=USD to the sdk url.

Expected behavior
Paypal component should open the secure browser with the USD currency plan
Screenshots

OS: MacOS (Catalina)
Browser: Chrome 83

Additional context
Version: checkoutshopper/sdk/3.11.0

Hi @almirakrdzic1991,
Thanks for such a complete report.
We were able to fix the issue and it will be included in our next release.
Cheers.

Closing issue, let us know if we can help with anything else. Cheers!


:bug: Fix issue #370

Coverage remained the same at 76.221% when pulling cec9937e72c1cf15bb1c115ec376ccc31e816d52 on QuentinChevance:master into 8552433ef16563a332ce35f30df97eb74bba35f0 on gregnb:master.

Could you pull in latest master here? It has the prettifier changes, so I think that will clean up the diffs a bit.

Could you pull in latest master here? It has the prettifier changes, so I think that will clean up the diffs a bit.
Done :+1:


Implement "Create Stereo Marks" window

The ‘Stereochemistry’ button is present at the bottom of the window.
User clicks the ‘Stereochemistry’ button (‘Enhanced Stereochemistry’ dropdown list item), ‘Enhanced Stereochemistry’ window is opened.

When canvas is empty or the created structure without stereocenter or with non-tetrahedral stereochemistry nothing is happened, the ‘Enhanced Stereochemistry’ window doesn’t appear.
When the structure with the correct tetrahedral stereochemistry is present on canvas and user selects the created structure, the ‘Enhanced Stereochemistry’ window appears.
When the structure with the correct tetrahedral stereochemistry is present on canvas and user doesn’t select anything on canvas, the ‘Enhanced Stereochemistry’ window appears.
When the structure with the correct tetrahedral stereochemistry is present on canvas and user selects the correct stereocenter, the ‘Enhanced Stereochemistry’ window appears.
When the structure with the correct tetrahedral stereochemistry is present on canvas and user selects several correct stereocenters, the ‘Enhanced Stereochemistry’ window appears.
When the structure with the correct tetrahedral stereochemistry is present on canvas and user selects the part of the structure without stereocenter, the ‘Enhanced Stereochemistry’ window doesn’t appear.
When the structure with the correct tetrahedral stereochemistry is present on canvas and user selects several correct stereocenters, the ‘Enhanced Stereochemistry’ window appears.
When several structures with the correct tetrahedral stereochemistry are present on canvas and user selects several correct stereocenters of the different structures or parts with stereocenters of the different structures or several structures, the ‘Enhanced Stereochemistry’ window appears.
3. ‘Enhanced Stereochemistry’ window design:
‘Enhanced Stereochemistry’ title is present at the window header.
The stereochemistry settings are listed in the window:
• ABS
• AND1
• AND2
• AND…
• OR1
• OR2
• OR…
The radiobutton for each setting is present at the left side.
The fields for numbers entering are present at the right side for AND… and OR… settings. Only digital symbols are allowed for this fields!
OK and Cancel buttons are present at the window bottom.
If the selected stereocenter wasn’t marker before, all radiobuttons in the ‘Enhanced Stereochemistry’ window are unchecked.
If the selected stereocenter was marker before, the appropriate radiobutton in the ‘Enhanced Stereochemistry’ window is checked.
If the several stereocenters marked before are selected:
• All selected stereocenters have the same stereo mark, the appropriate radiobutton in the ‘Enhanced Stereochemistry’ window is checked.
• The selected stereocenters have the different stereo marks, all radiobuttons in the ‘Enhanced Stereochemistry’ window are unchecked.

Assign the Stereo marks.

User selects a single structure stereocenter, clicks ‘Stereochemistry’ button, choses any radiobutton (ABS, AND1, AND2, OR1, OR2), for example ABS.
• Clicks Cancel button: ‘Enhanced Stereochemistry’ window is closed. No any stereo mark appears.
• Clicks OK button: ‘Enhanced Stereochemistry’ window is closed. ‘abs’ (&1, &2, or1, or2) stereo mark appears below the selected stereocenter.
User selects a single structure stereocenter, clicks ‘Stereochemistry’ button, choses any radiobutton, for example ABS.
• Clicks Cancel button: ‘Enhanced Stereochemistry’ window is closed. No any stereo mark appears.
• Clicks OK button: ‘Enhanced Stereochemistry’ window is closed. ‘abs’ stereo mark appears below the selected stereocenter.

User selects a single structure stereocenter, clicks ‘Stereochemistry’ button, choses AND… or OR… radiobutton.
• Enters or not any number in the entering field and clicks Cancel button: ‘Enhanced Stereochemistry’ window is closed. No any stereo mark appears.
• Enters any digital symbol(s) and clicks OK button: ‘Enhanced Stereochemistry’ window is closed. ‘&N’ or ‘orN’ stereo mark appears below the selected stereocenter. N- is entered number.
• Leaves the field for entering empty and clicks OK button: error message with Cancel button appears. When user clicks the Cancel button in the message window, the message is closed and ‘Enhanced Stereochemistry’ window is opened.
User selects the previously marked stereocenter (for example ‘abs’), clicks ‘Stereochemistry’ button, choses radiobutton for other stereo mark (for our case AND1, AND2, OR1, OR2).
• Clicks Cancel button: ‘Enhanced Stereochemistry’ window is closed. The previously marked stereocenter (for our example ‘abs’) is not changed.
• Clicks OK button: ‘Enhanced Stereochemistry’ window is closed. The previously assigned stereo mark (for our example ‘abs’) is replaced with the selected one.
User selects several previously marked stereocenters, clicks ‘Stereochemistry’ button, choses any radiobutton (ABS, AND1, AND2, OR1, OR2), for example ABS.
• Clicks Cancel button: ‘Enhanced Stereochemistry’ window is closed. All previously marked stereocenters have the initial marks.
• Clicks OK button: ‘Enhanced Stereochemistry’ window is closed. All previously marked stereocenters are replaced with the selected one (‘abs’ for our case).
5. Stereo Flags
• User creates a new structure with correct stereocenters. As soon as he adds the Stereo Bonds to the stereocenter, the &1 stereo mark appears below the stereocenter, the AND Enantiomer stereo flag appears above the structure at the right side:

• User selects the &1 stereocenter (or whole structure), clicks ‘Stereochemistry’ button, choses AND2 radiobutton and clicks OK button. &2 stereo mark appears below the stereocenter, the AND Enantiomer stereo flag doesn’t changed.
• User selects the &2 stereocenter (or whole structure), clicks ‘Stereochemistry’ button, choses OR1 radiobutton and clicks OK button. &2 stereo mark is changed with or1 , the OR Enantiomer stereo flag appears above the structure at the right side:

User selects the ‘or1’ stereocenter, clicks ‘Stereochemistry’ button, clicks the OR… radiobutton, in the field near OR… enters any number, for example ‘11’ and clicks the OK button. ‘or11’ (for our example) stereo mark appears below the stereocenter, the OR Enantiomer stereo flag doesn’t changed.
• User adds a new stereobond. As soon as he adds the Stereo Bonds to the stereocenter, the ‘&1’ stereo mark appears below the newly created stereocenter, the previously marked ‘or11’ stereocenter doesn’t changed, the MIXED stereo flag appears above the structure at the right side:

If the structure stereocenters have the different stereo marks, the MIXED stereo flag appears above the structure.
• User selects the or11 stereocenter, clicks ‘Stereochemistry’ button (field near OR… button is filled with ‘11’ (for our example), choses &1 radiobutton and clicks OK button. Both stereocenters have the &1 stereo marks. The AND Enantiomer stereo flag appears above the structure at the right side:

If all structure stereocenters have the identical stereo marks, the appropriate stereo flag appears above the structure.
• User creates a new structure with the stereocenter(s).
If several structures with the correct stereocenters are present on the canvas, each structure has the separate AND Enantiomer stereo flag.

The button name should be changed from 'Enhanced stereo' to 'Stereochemistry'.

When OR... /AND... options are selected but the value is deleted (it is changed into '0' by default) no error message appear and the wrong stereo marks are set (or1/&1).
Steps to reproduce:

Select any structure with stereobonds from the Custom templates (e.g. a-D-Allopyranose)
Click the 'Enhanced Stereo' button.
Check OR... radiobutton.
Delete the value ('3') in the entering field.
Click the 'OK' button.
Click the 'Enhanced Stereo' button.
Check AND... radiobutton.
Delete the value ('3') in the entering field.
Click the 'OK' button.

Console error after trying to change a stereo mark.
Steps to reproduce:

Create a structure, e.g. chain.
Add Single Up/Single Down bond.
Click the 'Stereochemistry' button.
Check any unselected radiobutton (e.g. ABS).

Expected result: The stereo mark is changed from &1 to 'abs'. No console errors appear.
Actual result: The stereo mark is changed from &1 to 'abs'. The console error appear.

The UI of the "Enhanced Stereochemistry" window has been changed. New acceptance criteria are listed in the task #56


feat: use sharp for icon generation

Details

[x] closes #96
[x] If RFC, it has been approved for implementation.

Code of Conduct

[x] I agree to follow this project's Code of Conduct
[x] I checked the current PR for duplication.

sharp download error


npm timeouts when trying to build the docker image for x86

Trying to build the docker image for x86_64 and am seeing some errors in the dockerfile
6.5.0-28-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 28 23:46:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 => ERROR [build 4/6] RUN npm install                                                                        25.0s
------
 > [build 4/6] RUN npm install:
24.70 npm notice
24.70 npm notice New minor version of npm available! 10.5.0 -> 10.7.0
24.70 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
24.70 npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
24.70 npm notice
24.70 npm ERR! code ETIMEDOUT
24.70 npm ERR! syscall read
24.70 npm ERR! errno -110
24.70 npm ERR! network read ETIMEDOUT
24.70 npm ERR! network This is a problem related to network connectivity.
24.70 npm ERR! network In most cases you are behind a proxy or have bad network settings.
24.70 npm ERR! network
24.70 npm ERR! network If you are behind a proxy, please make sure that the
24.70 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
24.71
24.71 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-10T11_19_58_376Z-debug-0.log

Seems like the error was due to a network connectivity issue @Jack-Punter which could be on your side, or could be a service glitch on npm's side.   Would you mind trying to build the Docker image again with the current config, and seeing if you still run into this issue?

Hmm looks like this is an issue on my end, on my main machine (wsl Ubuntu 23.10) it works fine on main, however trying to build the image on my proxmox Vm (Ubuntu 23.10) it has the above issues. Seems weird that it appears to be a network issue that's resolved by specifying a version.


Support Elixir 1.5.0.

Coverage remained the same at 97.756% when pulling f8f1cb8e8a09e620eec18e95ecbc556758f7294a on elixir-1.5 into 76c64fd92e385fa33a9d57e735a001836021217f on master.

Closing. I thought 1.5.0 was released, but it's just rc so far.


[enhancement]: Masked IP adapters, Controlnet, and T2I support.

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
The Forge UI has support for masked IP adapters, Controlnet, and T2I. It would be nice to have this feature in InvokeAI. This would be easily possible in Canvas itself if it supported multiple separate masks at the same time within the bounding box, each taking input from the corresponding IP adapters and controlnet during generation, similar to the regional prompting. The masks could be differentiated by using different colors.

Alternatives
No response
Additional Content
No response

I think the core use-case mostly addressed by Canvas v2:

Regional guidance layers provide masks for IP Adapters
Control layers let you edit the control input used for a ControlNet or T2I Adapter.

That said, we're exploring "proper" layer masks for raster and control layers.


Add client x and y to events

Thanks! This might actually be covered by #61 - but I'll get it into the history anyway to mark your contribution.


Add role and task test helpers

Add role and task test helpers
Change unit mark to library mark.
Have library tests conform to strict linting
[Notes, PR #532 is a dependency of this PR, so filter files by commit to review]

All issues resolved or replied to.


is gopher://gophernicus.org being served somewhere?

If it's up somewhere and I can't find it, please let me know. Otherwise, it's odd that gophernicus doesn't have it's own page in gopherspace.

gopher://gopher.gophernicus.org. This was because the gopher server is on a differnt box to the web server. Really, it should be http.gophernicus.org and gophernicus.org for gopher :P


Add changesets and release workflow

Motivation
To publish backstage plugins and keep track of changes.
Approach

Renamed gcp deployment workflow from release to deploy
Added a release workflow with the new v2 version of synchronize-with-npm action

Like the previous release action, this will check if packages and its respective versions have already been published (and private packages will be skipped)

Added changesets

Configured permissions on changeset bot to have access to this repo
There are some caveats around using changesets for a monorepo with private packages

We can't configure the cli to ignore the private packages (the ignore property in the changesets config is related to only publishing) - it's an issue that's been requested multiple times but they haven't found a solution for it. they have users that have monorepos who do want to publish their private packages.

What this means is a developer can create a changeset for a plugin package that we do want to publish, this will end up bumping the other packages (even if they're private) if they have the plugin package as a dependency - and will also generate a changelog in those private packages

Then when the version-packages-PR is merged, those private packages will be skipped anyway (same with previews). So although this is all slightly inconvenient and ugly, it will work in the way we need it to

📣 NOTIFICATION
You are receiving this message because we did not publish any packages.
Generated by @thefrontside/actions


org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked) When doing anything with the plugin

Everytime someone runs a command from the plugin, the console dumps this:

(https://pastebin.com/DcjM7k9J)
storage:
storage method, can be MySQL or sqlite
method: sqlite
Requires Mysql
mysql:
username: root
password: ''
hostname: localhost:3306
database: minecraft
table-prefix: jobs_
verify-server-certificate: false
use-ssl: false
auto-reconnect: true
characterEncoding: utf8
encoding: UTF-8

Jobs version: last version
**Server Type (Spigot/Paper/etc): Paper
**Server Version (using /ver): This server is running Paper version git-Paper-77 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 5ad1d9a)

It deletes all jobs data everytime i reload, is there any fix to this bug?

Try removing DeluxeMenus from your plugins folder. Not sure if that's your issue, but it's throwing an error
[15:33:38 WARN]: at DeluxeMenus-1.13.4-Release (1).jar//com.extendedclip.deluxemenus.action.ClickActionTask.run(ClickActionTask.java:44)


Items vanishing after using the disk manipulator

Issue description: items 'vanish' after using the disk manipulator
What happens: twice now i have used a disk manipulator to consolidate my items only to find that upon putting the disks back i've lost thousands of items in the process despite the disks claiming to be at half or full capacity
What you expected to happen: for my items to consolidate into various storage rather than have 6 bays full of 64k drives (using external storage bus and storage draws)
Steps to reproduce:

have well established RS network
external storage
place disks in disk manipulator
put disks back into system

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>5
Refined Storage: 1.2.14
Sky Factory 3.01

Does this issue occur on a server? [yes]
If a (crash)log is relevant for this issue, link it here:N/A
[pastebin/gist/etc link here]

Could you make some video of sorts when this is happening? Cause I never had this happen and have no clue how to reproduce it.

Same problem here..
All the mods 1.10.2 latest version

I could swear to have the same issue. Storage drawers with controller were involved.

We haven't been able to reproduce the bug. So please if you are able to reproduce it, record yourself so we can debug it and fix it

while i'm unsure i've been able to recreate my exact issue, i did notice something else which may be related, i have several 16k drives which are full, when placed into the left hand slot they just instantly jump over to the right hand slot and no items appear on them, which admittedly i didn't record putting them in to my test system but here are some screenshots, the attached video however shows the 3 drives skipping over and also that i have several half full and even completely empty 64k drives in my system, i'll continue trying to recreate this issue exactly however literally all i did was remove the 16k drives, made sure there was space for the items elsewhere and placed them in the manipulator.
video link: https://youtu.be/vfxS0-g2hdc

A similar thing happened to me when i broke the disk drive then replaced it with the same disks. I can send you my save file that has the broken disk drives. this also accrued on a server and when moving the save to single player the bug was still there and didn't fix anything. the only config i changed was that it doesn't use power. also when trying to export items that i knew where in that system (oak logs) it doesn't export the items. the client was using optifine how ever the server did not have it.
something that could have caused it was the server was running spongeForge (https://www.spongepowered.org/) however I'm not sure if that is what caused it.
Save: https://dl.dropboxusercontent.com/u/42746351/Broken Save.zip

This is a Forge bug.


Text input colors in dark mode don't match the Figma design.

Describe the bug
Text input colors in dark mode don't match the Figma design.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://flowbite-react.com/forms'
Switch to the dark mode theme
See the result

Expected behavior

Screenshots

System information:

Device: MBK Pro M1
Resolution:
OS: macOS
Browser: Brave
Version:

Project information:

Tailwind: 3.0.0
Flowbite: 1.4.7
Flowbite React: 0.1.2
Type: CRA

Additional context
Add any other context about the problem here.

hello @rluders I would love to check and solve this issue

@rluders Select, Textarea, and FileInput also have this issue.
I've made changes to get the right bg color and text color

Let me know if it's alright to submit a PR

This issue is still present in flowbite-react 0.10.2.


fix(crates.io): report button

🔧 What does this fix? 🔧
Fixes a unthemed report button on the page.

Before & After

🗒 Checklist 🗒

[X] I have read and followed Catppuccin's contributing guidelines.
[X] I have updated the version appropriately in the ==UserStyle== header of the catppuccin.user.css file.

In summary: figure out which line and why it is breaking things, don't just remove it! What was it trying to theme? Make sure that is then still themed, and then go and update the class selector for the red button report button. You can also just set the variables on that class selector instead of setting color: and whatnot.

You've missed noticing the key bug here. The reason the text color of the button is text/white is because something changed and a line I had in here broke things.

I did a bit of searching and found out some code for the header buttons/text is actually the reason why the colors of the button are just text/white, I'll fix it later when I have time. (Same with the report button issue)

And if you look further, I don't know why you are theming just the report button. The original CSS on the website is theming red buttons with the class [class*="red-button"] and using variables within that.

I didn't notice nether the red button class nor the red button CSS so thats the reason why I only themed the report button, For the  variables I'll fix it when I have some time to.
Also @uncenter, can you make it so I can get notifications and react to your messages? I think PRs might get a bit more harder without these.


Country and City Settings

once you select Country and City you can't remove you by clicking on the x

Fixed!


fix: point to a newer openshift oauth image

Signed-off-by: Benedikt Bongartz<EMAIL_ADDRESS>
Which problem is this PR solving?

Closes https://github.com/jaegertracing/jaeger-operator/issues/1952

Short description of the changes

change default settings of openshift-oauth-proxy-image from penshift/oauth-proxy:latest to quay.io/openshift/origin-oauth-proxy:latest.

Additional
Do we want to keep the latest tag? For rollover etc. we also use latest. But this brings the risk that faulty external updates could break the operator functionality.
REPOSITORY                                                                     TAG                   IMAGE ID       CREATED        SIZE
quay.io/openshift/origin-oauth-proxy                                           latest                0b2b08dd4482   3 weeks ago    299MB
openshift/oauth-proxy                                                          latest                e7d312d68fe3   2 years ago    244MB

Regarding your question:

Do we want to keep the latest tag? For rollover etc. we also use latest. But this brings the risk that faulty external updates could break the operator functionality.
I think it would be good to pin to a version


Add support for proxy configuration

Can you please add support for configuring the CURL proxy using the Symfony configuration?
Thank you

This package has been deprecated. As an alternative https://github.com/sendinblue/APIv3-php-library can be used to integrate Sendinblue APIs.


Defining bounding box with a mouse dynamically on the segmentation image

Is it possible to define the bounding box with the help of a mouse instead of typing them into code? A code picks them up with mouse-drawn box coordinates and transfers them into the code, simplifying the whole process.  Any Python code for this?

Hi @Biopticon ,
Totally agree! We have implemented this function in the GUI
https://github.com/bowang-lab/MedSAM/blob/main/gui.py
and 3D slicer plugin https://github.com/bowang-lab/MedSAMSlicer.


Is there SQL Server Authentication Library for ARM Windows?

Question
In DataGrip team we've got an issue https://youtrack.jetbrains.com/issue/DBE-21779/Unable-to-connect-to-SQL-Server-with-Integrated-Security-on-ARM-Windows . User is asking about SQL Server Authentication Library for ARM Windows.
I've found only ddl for x86 and x64 on Maven https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc_auth .
Is there any for ARM?

No, sorry. We don't build the auth DLL for arm64.

long term we are also looking into getting rid of the DLL and moving to a pure java only solution.

hopefully this answers your question please let us know if you have more questions otherwise we will be closing this issue shortly

Closed for lack of activity.


Filter pivottable rows on aggregator value

Hi,
I'm using pivotUI.
I made my own aggretator which display empty cells or percentage.
I would like to know if there is a way to filter the pivot table in order to remove the empty cells.
Here is the aggregator :
var DNassortPc = function () {     return function () {         return {             sumDnAssortPc: 0,             count: 0,             push: function (record) {                 if (record.presenceneeded == 1) {                     this.count++;                     this.sumDnAssortPc += record.dn_assort;                 }             },             value: function () { return (this.sumDnAssortPc / this.count) * 100; },             format: function (x) {                 if (x != undefined && !isNaN(x)) {                     return x + " %";                 }             },             numInputs: 0         };     }; };
and here is a part of the result. I'd like to be able to remove the empty rows.

I hope it is understandable
thanks for your help

Hi, can you please apply this function on mtcars data, so that it becomes more clear. Thanks

Yup, this is pretty clear, but unfortunately there's no functionality for that, and I can't think of a workaround other than post-processing the table in the onRefresh callback to drop the rows you want to drop.
See also #1044 which seems really similar :)

Thanks for your answer I will develop something and let you know if I manage to do something not so bad :)

Thanks for the reply, I'm also having an issue in exporting data from rpivotTable, when exported the headers show wrong repetition in excel. You can have a better look to my query in following link:
https://community.rstudio.com/t/headers-rownames-columnnames-wrongly-printed-in-excel-when-rpivottable-data-is-exported/17780
Do you know how to deal with such issue?
Regards

Yup, this is pretty clear, but unfortunately there's no functionality for that, and I can't think of a workaround other than post-processing the table in the onRefresh callback to drop the rows you want to drop.
See also #1044 which seems really similar :)

Thanks for your answer I will develop something and let you know if I manage to do something not so bad :)

Hi mate, can you please have a look at the query in the following link:
https://community.rstudio.com/t/headers-rownames-columnnames-wrongly-printed-in-excel-when-rpivottable-data-is-exported/17780
Thanks

@saad55555 please don’t post off-topic request for people to address you other concerns. You have already raised your issue in the rPivottable repo and stackoverflow, and this issue is not the place to bring it up again.

Hi mate,
I understand but I’m unable to get an answer from anyplace till now. It’s been more than a week now. And I believe there’s no harm in asking some knowledgeable person for guidance when most of the people refuses to say help. I hope you understand.
Regards

From: Nicolas Kruchten<EMAIL_ADDRESS>Sent: Thursday, November 8, 2018 6:06:53 PM
To: nicolaskruchten/pivottable
Cc: Saad55555; Mention
Subject: Re: [nicolaskruchten/pivottable] Filter pivottable rows on aggregator value (#1043)
@Saad55555https://github.com/Saad55555 please don’t post off-topic request for people to address you other concerns. You have already raised your issue in the rPivottable repo and stackoverflow, and this issue is not the place to bring it up again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicolaskruchten/pivottable/issues/1043#issuecomment-436987501, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aqo_YDsqF08nUZCsQL889kbZK4KET7Gvks5utCxtgaJpZM4YS0MJ.

@Saad55555 I do understand, but I'd still like you to comply with this repo's documented support guidelines and not try to hijack existing issues. If you want to open another issue that's fine. That said, the appropriate repo for your concern is the rPivottable repo, and you already have an issue open there. If no one is responding then either they are busy or there is no clear way to accomplish what you are trying to do.

Hi Nicolas,
Once again I'm asking for your help
I'm trying to use the onRefresh as you suggested. But it's easy to remove the rows which contain data I want to remove, but the problem is with the rowspan of the parent row.

I think we might be able to fix this by binding a remove event that will calculate rowspan in the renderer or something like it but I can't figure out how and where to start. Do you have any ideas or example ?
Regards,
Clement

It's a pretty tricky problem for sure. Now that I think about it, perhaps a more straightforward solution would be to provide your own dataClass which would be a fork of PivotData that just doesn't return those keys to the renderer, that way those rows are never in the output in the first place?

Thanks Nicolas, I totally agree

From: Nicolas Kruchten<EMAIL_ADDRESS>Sent: Thursday, November 8, 2018 8:29:44 PM
To: nicolaskruchten/pivottable
Cc: Saad55555; Mention
Subject: Re: [nicolaskruchten/pivottable] Filter pivottable rows on aggregator value (#1043)
@Saad55555https://github.com/Saad55555 I do understand, but I'd still like you to comply with this repo's documented support guidelineshttps://github.com/nicolaskruchten/pivottable/blob/master/SUPPORT.md and not try to hijack existing issues. If you want to open another issue that's fine. That said, the appropriate repo for your concern is the rPivottable repo, and you already have an issue open there. If no one is responding then either they are busy or there is no clear way to accomplish what you are trying to do.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicolaskruchten/pivottable/issues/1043#issuecomment-437036718, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aqo_YNZVupsRX4JkrsjCT-etGt1ldrShks5utE3ogaJpZM4YS0MJ.

Hi,
yeah it could be a solution, but then we lost a chance to make a feature wihch could filter values no ?

I’m not sure I understand your question, sorry, can you rephrase?

Hi Nicolas, could you please reply on my new query as well which I posted yesterday, I was expecting a reply from you. Thanks

From: Nicolas Kruchten<EMAIL_ADDRESS>Sent: Monday, November 12, 2018 6:19:33 PM
To: nicolaskruchten/pivottable
Cc: Saad; Mention
Subject: Re: [nicolaskruchten/pivottable] Filter pivottable rows on aggregator value (#1043)
I’m not sure I understand your question, sorry, can you rephrase?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicolaskruchten/pivottable/issues/1043#issuecomment-437876802, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aqo_YGsNWRsHGA0nD6YgaodiT-7l1hgLks5uuXVlgaJpZM4YS0MJ.

@Saad55555 I've already asked you not to hijack this thread with your unrelated requests. If you persist, you will find yourself blocked from this repo.

I’m not sure I understand your question, sorry, can you rephrase?

Sorry
What I wanted tosay is by developping a way to filter empty values, we would developp a way to filter all values of the pivottable. The possibility to filter value would be great.
But if we filter the empty rows by creating a custom dataclass to avoid rendering them, we would loose the possibility to filter the values of the pivot.
Is it better explained ? (not a fluent english speaker/writer :) )

Yes, this is better-explained, thanks! You can write in french btw, I live in Québec ;)
So right now this library supports input-level filtering based on the attribute values, but not output-level filtering based on aggregator-computed-values, and I don't think I can imagine a nice general-purpose UI for that second use-case at the moment, so I'm not that worried about not having a way to do it, personally.


Handle DHCP Lease when the assigned Gateway is Outside of Subnet

When deploying PFSense in OVH's public cloud, they assign a IPv4 address via DHCP in a /32 subnet. Naturally, with such a captive subnet, the default gateway will reside outside of the subnet. This causes problems with the /usr/local/sbin/pfSense-dhclient-script.  The route command will not add a default gateway if there is no route to the host.
I've added a route command to insert the host route to the gateway upon DHCP lease acquisition, and release it upon lease release.
I am successfully running with this change in my PFSense OVH cloud instance.
For accompanying report see: https://redmine.pfsense.org/issues/7380.

Requested changes not made in 8 months. Please resubmit is still desired.


Separate oasgraph-cli from oasgraph "core"

As discussed in previous comments (https://github.com/strongloop/oasgraph/issues/30#issuecomment-424852958 and https://github.com/strongloop/oasgraph/issues/30#issuecomment-432275971) for issue https://github.com/strongloop/oasgraph/issues/30, there are good arguments for separating the "core" capabilities of OASGraph (oasgraph) from the ones needed for the CLI (oasgraph-cli), including:

Cleaner separation of dependencies, i.e.,. avoiding oasgraph to have to depend on code only needed for the CLI, while still allowing oasgraph-cli to make all dependencies explicit.
Improving the getting-started experience by enabling global installation of oasgraph-cli.
Reducing the attack-/vulnerability-surface for applications that use oasgraph as a library (in production).

As suggested by @bajtos , we can consider keeping the code in a single repository, though, relying on tools like lerna.

Closed with 505888bbd498f69025b95b3e3b64ec94a255e0b8


dom-ruler not installed with ember-pop-over

After running ember install:npm ember-pop-over the dom-ruler dependency isn't installed. I believe it needs to be installed with a blueprint. The workaround for the time being is ember install:bower dom-ruler.

Nm this gets installed with ember g ember-pop-over


[Feature]: make nullable fields easier

Tell us about your feature request
res, err := client.CreateDiscount(ctx, &paddlesdk.CreateDiscountRequest{
		Description:        "20% off",
		Type:               "percentage",
		Amount:             "20",
		Recur:              true,
		UsageLimit:         1,
		EnabledForCheckout: true,
		ExpiresAt:         time.Now().Add(48 * time.Hour).Format(time.RFC3339),
	})

The above doesn't work
What problem are you looking to solve?
It should be easier to assign nullable values
Additional context
AWS solves this with something like aws.String("") and aws.Bool(true)
How important is this suggestion to you?
Nice to have

Hey @goenning 👋 ... thanks for raising this issue. I'll discuss this with the team and will update here with how we plan to tackle this 👍

@goenning It turns out I think we have added a helper for this already under paddle.PtrTo ... let me know if this helps I'll make sure we update our documentation to help highlight this

that worked! thanks


AttributeError: module 'point_cloud_utils' has no attribute 'sample'

AttributeError: module 'point_cloud_utils' has no attribute 'sample'
I am trying to use the given example for mesh sampling. And it raises the error above.

Hey, thanks for posting!
There are a few examples on the main page. Could you post a small example of the code that causes the error?

@lelouedec  Looks like the Poisson Disk Sampling example was out of date. I updated the README, and it should be correct now. Let me know if you run into any problems or if that wasn't your issue.

Oh sorry I forgot to specify the error comes from the following example :
import point_cloud_utils as pcu

# v is a nv by 3 NumPy array of vertices
# f is an nf by 3 NumPy array of face indexes into v
v, f, _, _ = pcu.read_ply("my_model.ply")
bbox = np.max(v, axis=0) - np.min(v, axis=0)
bbox_diag = np.linalg.norm(bbox)

# Generate very dense  random samples on the mesh (v, f)
# v_dense is an array with shape (100*v.shape[0], 3) where each row is a point on the mesh (v, f)
v_dense = pcu.sample_mesh_uniform(v, f, num_samples=v.shape[0]*100)

# Downsample v_dense to be from a blue noise distribution
# v_poisson is a downsampled version of v where points are separated by approximately
# `radius` distance, use_geodesic_distance indicates that the distance should be measured on the mesh.
v_poisson = sm.sample_mesh_poisson_disk(v, f, radius=0.01*bbox_diag, use_geodesic_distance=True)

And is on this line :
v_dense = pcu.sample_mesh_uniform(v, f, num_samples=v.shape[0]*100)

@lelouedec Looks like the Poisson Disk Sampling example was out of date. I updated the README, and it should be correct now. Let me know if you run into any problems or if that wasn't your issue.

@lelouedec Looks like the Poisson Disk Sampling example was out of date. I updated the README, and it should be correct now. Let me know if you run into any problems.

Alright the function seems to exist with the updated README, however the OBJ read might have a problem.
On the line :
v_dense, n_dense = pcu.sample_mesh_random(v, f, n, num_samples=v.shape[0]*100)
I get the error :

ValueError: Only 3D inputs are supported: v and f must have shape (n, 3) and (m, 3) (n, m > 0). Got v.shape =(8, 3), f.shape = (6, 4).

I tried with multiple different meshes in the OBJ format

If you're loading f from an OBJ, (i.e. v, f = pcu.readOBJ(...)) then this likely means you have quads in your mesh. All the functions in pcu assume triangle faces, so you'll need to split your quads into triangles.
Specifically, v should have shape (n, 3) and f should have shape (m, 3). Your f has shape (6, 4).

I'm closing this since it doesn't seem your issue is related to PCU. Good luck and please open more issues if you find problems :)


Secondary indexes doc has outdated information

http://rethinkdb.com/docs/secondary-indexes says "Currently, compound indexes cannot be queried by a prefix. See Github issue https://github.com/rethinkdb/rethinkdb/issues/955 to track progress."
This is no longer true. We've implemented r.minval/r.maxval, as well as openness and closeness in between. The doc should be updated (see https://github.com/rethinkdb/rethinkdb/issues/955 for how users can use between to query compound indexes by prefix).
/cc @chipotle

Also, r.minval and r.maxval should probably be listed somewhere in the main API documentation - right now they're only tucked away in the long-form docs for between, IIRC.

r.minval/maxval also don't show up in the data explorer suggestions (since they aren't documented as separate terms). I agree that we should document them as part of this issue.

Are r.minval and r.maxval still for use only within between, or can they be serialized? I was trying to figure out how I'd sink documents for a secondary index I skim the top of, and it seemed like a good case for using r.maxval or Infinity - or is it possible to just allow those documents to opt out of the index altogether with a value like null?

minval/maxval aren't serializable.
I'm not entirely sure what you're trying to do. Could you post on https://groups.google.com/forum/#!forum/rethinkdb and we'll help figure it out?

I can post in more detail in the Google group, but what I'm trying to indicate, regarding the subject of this issue, is that it isn't clear from the current secondary index / getAll docs is how to represent, query (or avoid querying), and/or join with missing or partial indices.
For instance, if I have a table where I have done
r.table('posts').indexCreate("location", [r.row("articleId"), r.row("commentId")])
And then I push a few documents, including a document with an article but no comment:
{id:'foo', articleId: 'def678', commentId: 'mugugaipan'}
{id:'baz', articleId: 'abc123', commentId: 'specificco'}
{id:'jar', articleId: 'abc123'}

and then I have a few more documents in another table ('watchers'), including one that refers to the no-comment object jar:
{id:'foo2', foreignArticleId: 'def678', foreignCommentId: 'mugugaipan'}
{id:'baz6', foreignArticleId: 'abc123', foreignCommentId: 'specificco'}
{id:'baz19', foreignArticleId: 'abc123', foreignCommentId: 'specificco'}
{id:'jar7', foreignArticleId: 'abc123'}

for jar7, will this join just join jar, or will it join jar and baz?
r.table('watchers').join([r.row('foreignArticleId'),r.row('foreignCommentId')],'posts',{index:'location'})

It's especially confusing regarding the relationship between rethinkdb/rethinkdb#955 and rethinkdb/rethinkdb#1032, which is also listed as a "limitation" that seems like it gives desirable behavior. (And what does not indexing null values mean in the context of compound indices?)

My other question was going to be about omitting a document from a secondary index, but https://github.com/rethinkdb/rethinkdb/issues/1032#issuecomment-39614296 seems to imply the way forward for that is to use a complex expression that will generate an error for these cases (which strikes me as a little weird, if for no other reason than that when I think "error", I think "anomalous operation that gets flagged and logged", not "normal result value).

Also, while we're on the subject of issues with the sindex documentation, rethinkdb/rethinkdb#2773 should be mentioned in the same breath as rethinkdb/rethinkdb#1032 for the paragraph on how secondary indices can't be null or objects.

@stuartpb

And then I run a join on this compound index:
r.table('watchers').join([r.row('foreignArticleId'),r.row('foreignCommentId')],'posts',{index:'location'})
for jar7, will this join just join jar, or will it join jar and baz?

It will join nothing for jar7 because the join function errors on that document and so it cannot determine its join key.
For a similar reason, jar can actually never be joined with anything because it will not appear in the secondary index since the secondary index function cannot be evaluated on it. You have to use default in the secondary index function if you want to handle missing fields and index those documents in a different way instead.

@stuartpb For clarification: There's nothing special about compound indexes in RethinkDB. They are simply indexes with arrays as keys. You can also have a "mixed" index where some values are indexed under arrays and others are not.

What if the code were changed to
r.table('posts').indexCreate("location", [r.row("articleId").default(null), r.row("commentId").default(null)])
and
r.table('watchers').join([r.row('foreignArticleId').default(null),r.row('foreignCommentId').default(null)],'posts',{index:'location'})
Would that work now, or does rethinkdb/rethinkdb#1032 need to be implemented? What about if the defaults were '' instead of null? What about r.branch(r.row.hasFields('commentId'),[r.row("articleId"), r.row("commentId")], [r.row("articleId")]) and its counterpart?

@stuartpb you can deduce the behavior of the query under those functions as follows:

The document jar in the posts table will now be indexed under this value:
['abc123', null]

During the join, the document jar7 from the watchers table will lead to a lookup of the key ['abc123', null]. eq_join does an equality lookup, so it will match exactly the document jar and none of the others, since ['abc123', null] = ['abc123', null] but not for example ['abc123', null] = ['abc123', specificco]. There really is no magic to this. Arrays are equal if they are the same length and all of their elements are equal. null is just a value like any other, and since it's inside of an array here it isn't affected by #1032. Incidentally, that is why we want to fix #1032, since secondary indexes currently break that rule by making null special which is bad and confusing.

This error behavior is something I feel the docs kind of gloss over right now: the JavaScript (and Lua) programmer in me translates [r.row('foo'), r.row('bar')] to [row.foo, row.bar] which would evaluate to something like ['value', undefined], which has equivalent access semantics to ['value'] (although the length of the former, in JS, is still 2). So what I intuitively "expect" is somewhat muddled, but the idea that getting a missing field will result in an error, which causes the expression to fail and (silently) omit the row from the index (as we're currently discussing in rethinkdb/rethinkdb#1032), is not what I would predict (for all I would guess, these errors would get triggered on insertion and get forwarded back to my client).
I'd say this error behavior should be described up-front in the docs on secondary indices, ie. with a mention in the examples for compound/complex indices, and then a whole section describing how errors get handled in index creation (with links to issues like rethinkdb/rethinkdb#4118) and how that may or may not be what you want (link to rethinkdb/rethinkdb#4121).

On the subject of compound indexes: are you saying there's nothing special about compound indexes, in terms of how they're implemented and what perf characteristics they have, versus any other RQL expression (except that more complex RQL expressions may take longer to evaluate by virtue of being more complex)?
If so, I'd say they shouldn't have their own heading in the secondary index docs - at least, not where they are right now, where they come between simple indexes and multi indexes. They should be listed as an example of "a common case of defining an index by an expression", possibly as the lead-in into the section on more complicated expressions. (And the notion of array equivalence should probably be raised as an example in the section on simple indexes, as this is another feature that can be counter-intuitive, if starting from a language-semantics (JavaScript) mindset (where ['a','b','c'] != ['a','b','c']).)
Also, from what I've gleaned from the docs and this discussion, I can't answer the question of which index expression I'd be better off using, the default-null-for-missing-fields version or the branch-to-use-different-length-arrays version. Is one going to have significantly better perf characteristics?

I'd say this error behavior should be described up-front in the docs on secondary indices, ie. with a mention in the examples for complex (expression-based) indexes,

That's a great idea. (@chipotle)
I think we should still mention compound indexes explicitly. Most people think of them as a separate use case, and in most other databases they are completely separate index types. It so happens that RethinkDB's regular indexes are powerful enough to cover this use case too, but we should still explain exactly how to accomplish it.
It sounds like a good idea to point out that compound indexes in RethinkDB are merely indexes over an array composed of multiple fields, and are hence just a special instance of regular indexes. We should do that (@chipotle).

I can't answer the question of which index expression I'd be better off using, the default-null-for-missing-fields version or the branch-to-use-different-length-arrays version. Is one going to have significantly better perf characteristics?

Their performance will be similar, but they'll sort differently. An array [X] will sort below [X, y] for any y, but [X, null] will sort equal to [X, null] and below and/or above some other values of y in [X, y].
Just opened https://github.com/rethinkdb/docs/issues/734 for documenting that part.

I'd say this error behavior should be described up-front in the docs on secondary indices, ie. with a mention in the examples for complex (expression-based) indexes

I've been digging through this and I confess I've gotten a bit lost. What error behavior are we talking about documenting? The suggestion to use r.error as the official way of deliberately omitting documents from secondary indexes?

The fact that errors cause documents to not be indexed, and do not get reported or fail the query.
On Apr 30, 2015 11:30 AM, Watts<EMAIL_ADDRESS>wrote:
I'd say this error behavior should be described up-front in the docs on secondary indices, ie. with a mention in the examples for complex (expression-based) indexes
I've been digging through this and I confess I've gotten a bit lost. What error behavior are we talking about documenting? The suggestion to use r.error as the official way of deliberately omitting documents from secondary indexes?
—Reply to this email directly or view it on GitHub.


No information on updates for phone devices

Teams documentation is treating the certified phones (Yealink T58A, etc) like forgotten step-children. What is the update cycle for these devices? They've been so neglected - we still don't have a speed dial to display on the phone, no sidecar support: basic features of the 3PIP SFB phones these devices are meant to displace. How about a timeline for next app update for phone devices?

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

ID: f6da28da-eb7b-d3ae-4c2f-8f87803b1830
Version Independent ID: 8c42d7a2-80c6-86dd-347a-ed6d8d909c41
Content: Teams updates
Content Source: Teams/teams-client-update.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@pracsol Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @pracsol
We are a documenting team, we are not involved directly or indirectly on updates.
Please fill up a formal requirement to the engineering team on the user's voice
https://microsoftteams.uservoice.com/
If they have been so neglected as you mentioned, for sure, somebody else has filled up a ticket on this. So my recommendation is to create a petition and ask the people on your company to fill it up so they can have some votes to get any sort of priority on this.
The roadmap of the O365 updates can be seen here:
http://www.roadmapwatch.com/
and search it here: http://roadmap.office.com/

My note was specifically about the documentation not being detailed enough. I understand feature requests go elsewhere, which is why I provided my feedback on the documentation to you.
Sent from my iPhone
On Oct 16, 2019, at 7:19 PM, Jose Gabriel Ortega Castro<EMAIL_ADDRESS>wrote:

Hello @pracsolhttps://github.com/pracsol
We are a documenting team, we are not involved directly or indirectly on updates.
Please fill up a formal requirement to the engineering team on the user's voice
https://microsoftteams.uservoice.com/
If they have been so neglected as you mentioned, for sure, somebody else has filled up a ticket on this. So my recommendation is to create a petition and ask the people on your company to fill it up so they can have some votes to get any sort of priority on this.
The roadmap of the O365 updates can be seen here:
http://www.roadmapwatch.com/
and search it here: http://roadmap.office.com/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/3196?email_source=notifications&email_token=AI25QK4NX3EYY2GGXNWGJH3QO7KUDA5CNFSM4I7WHRTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBOTSFY#issuecomment-542980375, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI25QK2R7FZCKGD6XB35E4LQO7KUDANCNFSM4I7WHRTA.

Alright, let's make another couple of eyes to see the specifics of your request.
@scanum  Could you please tag the authors and help me with some insights about the @pracsol requests?. Thank you in advantage.

@LolaJacobsen Hi Lola! Could you please aid on next steps? Thanks

I would also like some documentation on how devices which run Andriod version of Teams, such as a Poly Trio recvie client updates. There is no user facing app store like an Andriod mobile device.

@LolaJacobsen Following up on this issue. Thanks!

An update on this regarding Android devices in general would be nice. Thank you!

@LolaJacobsen Following up on this issue. Thanks!

reassigned to @dstrome

@dstrome Wondering if there is an update on this issue? Thanks!

hi all,
A list of certified phones for Teams is located here - https://docs.microsoft.com/en-us/MicrosoftTeams/teams-ip-phones
A list of supported features on certified phones is located here - https://docs.microsoft.com/en-us/MicrosoftTeams/phones-for-teams
Please contact the device manufacturer for information about their update cadence.
If the above topics are lacking information you're looking for, please open a comment on one or both of them with specific examples of what you'd like to see.
thanks!


Updated i18n for clans

(Sorry for the amount of commits)
I think everything got covered.

Fix #2678


Corrected cross-fitting loop

Previous cross-fitting loop was using an array of numpy array, and we suspected it to slow down the computation time since multiply_robust_efficient is faster than med_dml. This commit optimizes the loop.
In the end it appears the loop wasn't slowing down anything (med_dml is slower because it calls forest instances more often than multiply_robust).
Also the new loop seems to give slightly more accurate estimation.

ok. So to recap

the first commit corrects the way the cross-fitting is done (just rewriting, it yields the same results - should be explicit with a test, obviously)
the second commit is just documentation

As for #43 only the code in get_estimation is tested, so the package is not properly equipped to check specifically that this PR does not break the code.
Should we merge this as it is, and implement a more specific test suite? @bthirion @houssamzenati


ConvertFromHTML images are converted to unstyled rather than Atomic blocks

Do you want to request a feature or report a bug?
bug
What is the current behavior?
img converted with convertFromHTML are converted to unstyled div.

**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: **
This is the current behaviour on the master branch convertFromHTML example.
What is the expected behavior?
Should convert to atomic and use customRenderFn
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Master branch of Draft.js

I've also run into this problem, and resolved via a dirty hack: https://github.com/facebook/draft-js/issues/685 .

@RaoHai I fixed my issue my editing the contentBlock after the conversion. You can see the code below. I want to edit the mutability of the entity of the images to "IMMUTABLE" but don't think that is  possible.
const sampleMarkup =
      '

' +
      '
Example link

' +
      'Bold text, Italic text

';

      const blocksFromHTML = CustomConvertFromHTML(sampleMarkup);

      const defaultConvertedContentState = ContentState.createFromBlockArray(
        blocksFromHTML.contentBlocks,
        blocksFromHTML.entityMap,
      );

      const customConvertedContentState = CustomContentStateConverter(defaultConvertedContentState);

      const initialEditorState = EditorState.createWithContent(
        customConvertedContentState,
        decorator,
      );

CustomCovert
export const CustomConvertFromHTML = (html) => {
  // Correctly seperates paragraphs into their own blocks
  const blockRenderMap = DefaultDraftBlockRenderMap.set('p', { element: 'p' });
  const blocksFromHTML = convertFromHTML(html, getSafeBodyFromHTML, blockRenderMap);
  blocksFromHTML.contentBlocks = blocksFromHTML.contentBlocks.map(block => (block.get('type') === 'p' ? block.set('type', 'unstyled') : block));

  return blocksFromHTML;
};

CustomContentStateConverter
export const CustomContentStateConverter = (contentState) => {
  // Correctly assign properties to images and links
  const newBlockMap = contentState.getBlockMap().map((block) => {
    const entityKey = block.getEntityAt(0);
    if (entityKey !== null) {
      const entityBlock = contentState.getEntity(entityKey);
      const entityType = entityBlock.getType();
      switch (entityType) {
        case 'IMAGE': {
          const newBlock = block.merge({
            type: 'atomic',
            text: 'img',
          });
          // const newContentState = contentState.mergeEntityData(entityKey, { mutability: 'IMMUTABLE' });
          return newBlock;
        }
        default:
          return block;
      }
    }
    return block;
  });
  const newContentState = contentState.set('blockMap', newBlockMap);

  return newContentState;
};

I am probably not following and this might be a more confusing issue than I realise, but if you are trying to use ConvertFromHTML for images the following example is working well for me. https://github.com/facebook/draft-js/tree/master/examples/draft-0-10-0/convertFromHTML It is using the master branch though.

Looks like this has been resolved so I'm closing it out. Feel free to reopen if that's not the case.

Hi, tried with master branch and it doesn't seem to work. I'm using the same example @StevenIseki  posted as a guide, but images are apparently not considered as atomic. @xiaopow can you confirm whether the issue is still open?

Hi is still have the same problem like  @apuntovanini. I get the following back if I run above code:
My HTML:

return from convertFromHTML:
{"contentBlocks":[{"key":"adbln","type":"unstyled","text":"📷","characterList":[{"style":[],"entity":"2"},{"style":[],"entity":"2"}],"depth":0,"data":{}}],"entityMap":{}}
I'm running the latest version of draft-js 0.10.4

Hi is still have the same problem like @apuntovanini. I get the following back if I run above code:
My HTML:

return from convertFromHTML:
{"contentBlocks":[{"key":"adbln","type":"unstyled","text":"📷","characterList":[{"style":[],"entity":"2"},{"style":[],"entity":"2"}],"depth":0,"data":{}}],"entityMap":{}}
I'm running the latest version of draft-js 0.10.4

@ehs035 Hello, I am also facing the same issues instead of getting inline styles i am getting characterList . Did you ever get this working or find a solution ?

I'm still facing the issue, any solution guys ?

@aslamanver  Good to see that I'm not the only one in 2020 ;)
here's my workaround for that problem
my dependencies
import MUIRichTextEditor from 'mui-rte'; import { convertFromHTML, ContentState, convertToRaw } from 'draft-js'; import draftToHtml from 'draftjs-to-html';
and converting html to editors state (mui-rte requires stringfied object) part:
`  let editorDefaultValue = null;
if (initialData?.text) {
const contentHTML = convertFromHTML(initialData.text);
const state = ContentState.createFromBlockArray(contentHTML.contentBlocks, contentHTML.entityMap)
const raw = convertToRaw(state);
const { blocks, entityMap } = raw;
const fixedBlocks = blocks.map((block) => {

  return {
    ...block,
    type: block.text === '📷' ? 'atomic' : block.type
  }
})

const fixedEntityMap = {}
for (const [key, value] of Object.entries(entityMap)) {
  if (value.type === 'IMAGE') {
    value.data.url = value.data.src
  }

  fixedEntityMap[key] = value;
}

editorDefaultValue = JSON.stringify({
  blocks: fixedBlocks,
  entityMap:fixedEntityMap
});

}`
I know that might be discussable to rely on emoji comparison, but at least it works for now ;)
And fixing entities is because somehow editor displays images src from 'url' property.

hi I seem to be havinng a similar problem - I im currently using draftjs and sending the html to a 'note' object that displays it as a note [its a sticky note app] but when i try editing the html by sending it back to the draftjs editor everything is except for the fact that images are being returned a an image emoji 📷 instead of an actual img

This is still an issue. The convertFromHTML does not translate images into an atomic block but an unstyled block. I am trying to use that in conjunction with the draft-js-image-plugin which expects images to have an atomic block type.
 blockRendererFn: (block, { getEditorState }) => {
      if (block.getType() === 'atomic') {
        const contentState = getEditorState().getCurrentContent();
        const entity = block.getEntityAt(0);
        if (!entity) return null;
        const type = contentState.getEntity(entity).getType();
        if (type === 'IMAGE' || type === 'image') {
          return {
            component: ThemedImage,
            editable: false,
          };
        }
        return null;
      }

      return null;
    }

https://github.com/draft-js-plugins/draft-js-plugins/blob/master/packages/image/src/index.tsx
I guess the question is what is the proper type for an image and perhaps if it isn't of type atomic why is that? @KubaZachacz has a solution but it is very much a workaround, it would be nice to have an actual solution @tylercraft, could this be reopen?

Also a bit of a caveat with @KubaZachacz work around is that it assumes that the camera icon was in a block by itself, which if there wasn't a space entered between the text and the image you may end up in a case where the camera icon and text are in the same block which you be problematic for that work around.
This is the work around I came up with, which somewhat ugly but work great for now:
const {
  EditorState,
  convertToRaw,
  convertFromRaw,
  DefaultDraftBlockRenderMap,
  ContentState,
  convertFromHTML,
  getSafeBodyFromHTML
} = require('draft-js');

const Immutable = require('immutable');
const clone = require('rfdc')();

module.exports.editorStateFromHTML = htmlBody => {
  console.log('HTML ---> EDITOR ::: RAW BODY', htmlBody);
  const blockRenderMap = Immutable.Map({
   //making a new type of block called image that will later substitute to `atomic`
    image: {
      element: 'img'
    }
  });

  const extendedBlockRenderMap = DefaultDraftBlockRenderMap.merge(
    blockRenderMap
  );

  const blocksFromHTML = convertFromHTML(
    htmlBody,
    getSafeBodyFromHTML,
    extendedBlockRenderMap
  );

  const state = ContentState.createFromBlockArray(
    blocksFromHTML.contentBlocks,
    blocksFromHTML.entityMap
  );
  const { blocks, entityMap } = convertToRaw(state);
  const imgCount = blocks.filter(b => b.type === 'image').length;

  // if img tags have been detected do the below
  if (imgCount > 0) {
    const fixedEntityMap = clone(entityMap);
    let arrKeys = Object.keys(fixedEntityMap);
    arrKeys = arrKeys.map(k => parseInt(k, 10));
    const lastKey = Math.max(...arrKeys);
    let blockCounter = lastKey;

    const fixedContentBlocks = blocks.map(blck => {
      if (blck.type === 'image') {
        blockCounter += 1;
        return {
          ...blck,
          type: 'atomic', //overriding the image block for atomic
          entityRanges: [{ offset: 0, length: 0, key: blockCounter }]
        };
      }
      return blck;
    });

    const blocksFromHTML2 = convertFromHTML(htmlBody);
    const state2 = ContentState.createFromBlockArray(
      blocksFromHTML2.contentBlocks,
      blocksFromHTML2.entityMap
    );
    const { entityMap: imgEntities } = convertToRaw(state2);

    let entityCounter = lastKey;
    // eslint-disable-next-line no-restricted-syntax
    for (const [key, value] of Object.entries(imgEntities)) {
      if (value.type === 'IMAGE') {
        entityCounter += 1;
        fixedEntityMap[entityCounter] = value;
      }
    }

    const editorDefaultValue = {
      blocks: fixedContentBlocks,
      entityMap: fixedEntityMap
    };
    return EditorState.createWithContent(convertFromRaw(editorDefaultValue));
  }

  return EditorState.createWithContent(state);
};


Add config for C/C++ build only PR job

Preparation for switching over to bazel RBE as the primary source of truth. (will build C/C++ using run_tests.py only in build_only mode).

Known failures:
https://github.com/grpc/grpc/issues/19271
https://github.com/grpc/grpc/issues/18416


contrib/entgql supports default order column annotation.

Thanks for providing a super cool library!
I want to define a default sort column in my schema for the function Default<T>Order generated by entgql.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
<T>OrderField struct is not exported filed and toCursor. however, the functions generated by this template have hard-coded column names, and there are cases where we want to change them.
For example, how about extending Annotation.OrderField to accept a column name and whether it is the default sort column or not?
func (Example) Fields() []ent.Field {
	return []ent.Field{
		field.Int("example_column_one").
			Annotations(
				entgql.OrderField("EXAMPLE_ONE", entgql.WithDefaultSortColumn()),
			),
		field.Int("example_column_two").
			Annotations(
				entgql.OrderField("EXAMPLE_TWO"),
			),
	}
}

Motivation 🔦
For example, if the package you want to use is different from the one that aggregates the code generated by entc.

I've also been trying to define a default order for a schema. Some notes:

This isn't possible with an Interceptor, as it's not possible to know if an order clause has already been applied to the query.
It's easy enough to add additional code to the Query types via a template to overcome 1. This is enough if you are not using entgql.
Using entgql, however, there is always a default order applied (to implement stable pagination).
It's not possible -- as far as I can tell -- to easily understand if this GQL default has been overridden. The graphql.FieldContext has the raw input arguments, but because of field collection the Interceptor ctx is always at the root resolver.
I think it would be possible to write a  GQL directive to inject information  on the ctx before  entgql takes over, but that seems quite complicated and I believe field collection would make it moot anyway, like 4.
It's almost possible to override this via the DefaultOrder variables, but some fields are private, and multi-column order is not supported (which I need, unfortunately).

So such a feature (generalized to support the recently added multicolumn order) would be useful to me.


add etcd dashboard

Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>related issue: 12306

/lgtm


Cannot build against otel-java 0.4.0-snapshot

It seems that Otel-java has several changes since last release of 0.3.0 that broke auto-instr. It currently does not compile against latest 0.4.0 snapshot. E.g. NoopScope was removed and several others.
This also raises the question about regular (nightly?) cross-compilation between the two repos. How we detect such breaking changes and fix their consequences?

This issue also blocks #359

This is a good topic for SIG meeting tomorrow, I added it to the agenda

@trask in light of today discussion, should I fix this issue and make our master branch compatible with otel-java 0.4.0 snapshot? Or we want to wait for this until we ourselves release 0.3.0? The latter will mean that #359 cannot be done until after auto-instr 0.3.0 release.
Or, more precisely, it can be done, but in that new branch of auto-instr which will follow otel-java 0.4.0. Which makes total sense. #359 depends on the functionality that exists in otel-java 0.4.0, but not in 0.3.0. This mean that support for that functionality should be in auto-instr 0.4.0, and not 0.3.0 :) So, please, make that new branch for 0.4.0 :)

👍
New branch: depends-on-otel-java-snapshot
Go ahead and send PRs to that branch.
Once otel-java releases 0.4.0 we can merge that branch over to master and bump the depends-on-otel-java-snapshot branch to depend on otel-java 0.5.0-SNAPSHOT.


Added support for input of multiple reynolds numbers in xfoil_module.find_coef…

…ficients(), removed accidentally added debugging insults from the code

@DIn4nD could you confirm this code works for the default 'dir' value on a Mac? Your PR does not run properly on my Windows computer (FileNotFoundError: [WinError 3] The system cannot find the path specified: '')


Parallelize Travis CI

Contracts are also compiled multiple times on each run. Maybe that can be optimized in a way.

Contracts are also compiled multiple times on each run. Maybe that can be optimized in a way.

@schemar Definitely. I would propose to have a warm up job and then run tests.

Is that possible? To share state of a warmup job with subsequent parallel test VMs?

I suggest we merge this as is. It already speeds up the tests to take only half the time.


AvaloniaUI - XAML - Unable to resolve type from namespace

Hi:
I believe I might have asked this previously, but I can't seem to find the post or reply, so I'll repost.
I've been working with the DevExpress MVVM assembly (.Net Core).
I created a version of the assembly that uses AvaloniaUI in place of WPF.
I'm including this assembly i my client project and am having difficulty with name space resolution in a XAML definition. I' using the above mentioned MVVM assembly (using AvaloniaUI) in place of the default version.
Consider the following XAML definition:
<Window  x:Class="Sample.Views.MainWindowView"
        xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
        xmlns:views="clr-namespace:Sample.Views"
        xmlns:productionViewModels="clr-namespace:Sample.ViewModels.Production"
        xmlns:designViewModels="clr-namespace:Sample.ViewModels.Designer"
        WindowStartupLocation="CenterScreen"
        mc:Ignorable="d"
        Title="Sample" Height="720" Width="1280"
        DataContext="{dxmvvm:ViewModelSource Type=productionViewModels:MainWindowViewModel}"
        d:DataContext="{dxmvvm:ViewModelSource Type=designViewModels:MainWindowViewModel}">

I get the following error:

Error	XAMLIL	Unable to resolve type ViewModelSource from namespace http://schemas.devexpress.com/winfx/2008/xaml/mvvm (line 13 position 9) Line 13, position 9.

I recall reading somewhere that I should try using the referenced assembly rather than the URL in the namespace definition. I'm unsure on how to do this.
Can someone help shed some light on this and what steps for resolution would be?
Thanks
JohnB

Are you sure that you have added corresponding XmlnsDefinitition attributes from Avalonia? They are used to match xmlns aliases with actual .NET namespaces. Alternatively you could use clr-namespace declarations.

In the definiiton, I'm including
xmlns="https://github.com/avaloniaui"
Is there something additionally that  should be using?
I'm sorry. I'm not sure I follow.
Can you please give more details?
Would a small sample project help?
Thanks

Any update on this? I'm seeing the same problem, which (occasionally) causes the preview to fail to load.

I was wondering the same thing as @helmesjo, will there be any problems if assembly=assembly_name is removed?

any problems if assembly=assembly_name is removed?

It shouldn't as long as view model classes are in the same project.

@camelCaseCo @helmesjo Replacing the underscore with a space did it for me. No need to remove the assembly entirely. Probably best to just not put spaces in the project name in the first place…

Hi,
There is any update of this ticket? Because I have a similar issue when I want to use an other project reference with this kind of namespace :
Same example of @helmesjo
xmlns:vm="clr-namespace:some.namespace.ViewModels;assembly=my_assembly"
I had already try to remove assembly code like suggested above.

I have same issue each time I make a new user control. My workaround is to instantiate the view model somewhere in its assembly then rebuild the assembly. Otherwise type is never resolved.

I have same issue each time I make a new user control. My workaround is to instantiate the view model somewhere in its assembly then rebuild the assembly. Otherwise type is never resolved.

Any chance to upload a minimum sample and some screenshots?

DatagridTester.zip
I've here a litte project using .net 8. dotnet run works but with dotnet publish I get
these errors:

I am going to close this issue. If somebody can reproduce the exact same issue with repro - please let me know.

Thank you for having a look. Next time I'll better check before posting.

I am going to close this issue. If somebody can reproduce the exact same issue with repro - please let me know.

Hi,
I have a same issue. My steps for repro in VS (.Net 8):

Create usercontrol in a dedicated folder
Start the project, of course viewmodel and all necessary classes should work
Create a new usercontrol in the dedicated folder
The AXN001 and AXN002 error messages will be displayed when building

Hope this helps you.

DatagridTester.zip
Here is a little Testproject. The error only occours when:

build with .net 8.0
self-contained deployment
target-runtime win-x86
click on the grid rows multiple times or move the mouse above the grid header then the program crashes with one of these Stacktraces:

Object reference not set to an instance of an object.
at Avalonia.Controls.Primitives.DataGridColumnHeadersPresenter.MeasureOverride(Size availableSize)
at Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
at Avalonia.Layout.Layoutable.Measure(Size availableSize)
at Avalonia.Layout.LayoutManager.Measure(Layoutable control)
at Avalonia.Layout.LayoutManager.ExecuteMeasurePass()
at Avalonia.Layout.LayoutManager.InnerLayoutPass()
at Avalonia.Layout.LayoutManager.ExecuteLayoutPass()
at Avalonia.Layout.LayoutManager.ExecuteInitialLayoutPass()
at Avalonia.Controls.Window.ShowCore(Window owner)
at Avalonia.Controls.Window.Show()
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.ShowMainWindow()
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at DatagridTester.Program.Main(String[] args) in E:\Projekte\DatagridTester\Program.cs:line 22

Object reference not set to an instance of an object.
at Avalonia.Controls.DataGridColumnHeader.SetDragCursor(Point mousePosition)
at Avalonia.Controls.DataGridColumnHeader.DataGridColumnHeader_PointerMoved(Object sender, PointerEventArgs e)
at Avalonia.Interactivity.Interactive.g__InvokeAdapter|4_0[TEventArgs](Delegate baseHandler, Object sender, RoutedEventArgs args)
at Avalonia.Interactivity.Interactive.<>c__41.<AddHandler>b__4_1(Delegate baseHandler, Object sender, RoutedEventArgs args)    at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)    at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)    at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)    at Avalonia.Input.MouseDevice.MouseMove(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties properties, KeyModifiers inputModifiers, Lazy1 intermediatePoints, IInputElement hitTest)
at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e)
at Avalonia.Controls.TopLevel.HandleInput(RawInputEventArgs e)
at Avalonia.Win32.WindowImpl.AppWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.WindowImpl.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at DatagridTester.Program.Main(String[] args) in E:\Projekte\DatagridTester\Program.cs:line 22

Maybe the x86-target is not so important. One can go back to .net 6 or 7 or deploy the old way with a runtime required.

Do you have trimming enabled? If so, this is likely the reason. DataGrid has problems with AOT / Trimming.

No trimming was disabled.

according to this document https://docs.avaloniaui.net/docs/basics/data/data-binding/compiled-bindings
i change to
xmlns:vm="using:MyApp.ViewModels"
then problem is resolved.

according to this document https://docs.avaloniaui.net/docs/basics/data/data-binding/compiled-bindings i change to xmlns:vm="using:MyApp.ViewModels" then problem is resolved.

I tried this, it works only in the first uc. In the second uc it doesn't solve the issue, but the first one works correctly.

@tiborkerenyi is it a previewer project? If so, do you rebuild your project between steps 3 and 4? If it's a compile error, can you upload a zip with small project?

@tiborkerenyi is it a previewer project? If so, do you rebuild your project between steps 3 and 4? If it's a compile error, can you upload a zip with small project?

AvaloniaUCIssue.zip
@maxkatz6  I created a new project to repro the issue. The error message is about the namespace of UserControl1/UserControl2.
This is still .Net7, I haven't upgraded to .Net8 until it works this way.
Please examine what am I doing wrong. Thank in advance.

@tiborkerenyi your user controls have AvaloniaUCIssue namespace

So, replace xmlns:uc="using:AvaloniaUCIssue.Usercontrols" with xmlns:uc="using:AvaloniaUCIssue"

Oh, thanks a lot. 🙂


Rustup-init 0.6.5 for ARMv7 causes segmentation fault

I couldn't tell where to report, so I report the issue here.
Rustup-init v0.6.5 for ARMv7 (https://static.rust-lang.org/rustup/dist/armv7-unknown-linux-gnueabihf/rustup-init) causes segfault on Raspberry Pi 2.
I suspect this is caused by https://github.com/rust-lang/rust/issues/35843, because patchelf --add-needed /lib/ld-linux-armhf.so.3 rustup-init fixes the issue.
Would you recompile the binary with the latest rustc?

 I don't know why this wouldn't show up on google, I had to search "armv7" on the issues to reach it...

Thanks for the report!
Here's a PR to upgrade the toolchain https://github.com/rust-lang-nursery/rustup.rs/pull/859

Rustup-init v1.0.0 https://static.rust-lang.org/rustup/dist/arm-unknown-linux-gnueabihf/rustup-init still causes segfault on Raspberry Pi 2.
So I end up using the package provided by Arch Linux ARM
https://archlinuxarm.org/packages/armv7h/rustup/files/PKGBUILD

Yes, as Rustup has entered 1.0 version, Arch Linux at least has included it into the official repos, yay! ^^

This is still happening for me on armv7-unknown-linux-gnueabihf:
info: downloading installer
./rustuprs.sh: line 318:  7382 Segmentation fault      (core dumped) "$@"
rustup: command failed: /tmp/tmp.aL86YoECb6/rustup-init

Backtrace:
Program received signal SIGILL, Illegal instruction.
0x2a20e768 in _armv7_tick ()
(gdb) bt
#0  0x2a20e768 in _armv7_tick ()
#1  0x2a0440b2 in OPENSSL_cpuid_setup ()
#2  0x2a3519e4 in __libc_csu_init ()
#3  0xb6e1a84c in __libc_start_main () from /usr/lib/libc.so.6
#4  0x2a0441c2 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

According to this Raspbian issue, it's totally normal for OpenSSL to cause SIGILL and I need to continue past them to find the real error!

This seems to be a dupe of #439


☂ Logger release roundup

☂ Let's ship logging
We've been working on adding slog lines via #2576. Once that work is complete, we have some cleanup tasks to do. Then we can ship! (see #3214)
Issues

[x] Cleanup random messages and prints missed in #2576
[x] https://github.com/zarf-dev/zarf/issues/3211
[x] https://github.com/zarf-dev/zarf/issues/3213
[x] https://github.com/zarf-dev/zarf/issues/3222
[ ] 🐛 https://github.com/zarf-dev/zarf/issues/3223
[ ] #3289

Additional context
Blocked by #2576
Blocks release with: https://github.com/zarf-dev/zarf/issues/3214

Deferring #3223 and #3289 to outside of this umbrella, they don't actually block logger release (stdout especially is not a backwards compatible change, so that should be done on its own as a listed breaking change)
Besides that, we're good to release logger as beta!


Support podman ps filter regular expressions like in docker CLI

/kind bug
Description
To filter a container on it's exact name, the filter name=^postgres$ should work, but it doesn't. When using the filter name=postgres, containers named postgres-exporter and postgres will be returned. That's why this filter can be useful.
Steps to reproduce the issue:
Podman

Run in shell: podman run --rm -d --name postgres docker://docker.io/library/postgres:11
Run in shell: podman ps --filter name=^postgres$

Describe the results you received:
No output
Describe the results you expected:
CONTAINER ID  IMAGE                          COMMAND               CREATED         STATUS             PORTS  NAMES
446492b47e8a  docker.io/library/postgres:11  docker-entrypoint...  31 seconds ago  Up 31 seconds ago         postgres

Which docker outputs when podman is replaced with docker in steps to reproduce
Output of podman version:
Version:            1.4.0
RemoteAPI Version:  1
Go Version:         go1.12.5
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.5
  podman version: 1.4.0
host:
  BuildahVersion: 1.8.3
  Conmon:
    package: podman-1.4.0-2.fc30.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 0.2.0, commit: 3e5b3b1909019a42c7f5a8d47070f0808bfbb35c'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree:<PHONE_NUMBER>2
  MemTotal:<PHONE_NUMBER>4
  OCIRuntime:
    package: containerd.io-1.2.6-3.3.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8
      commit: 425e105d5a03fabd737a126ad93d62a9eeede87f
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 8
  hostname: fedora-jeffrey
  kernel: 5.1.11-300.fc30.x86_64
  os: linux
  rootless: false
  uptime: 2h 33m 2.19s (Approximately 0.08 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 1
  GraphDriverName: overlay
  GraphOptions:
  - overlay.mountopt=nodev,metacopy=on
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "true"
  ImageStore:
    number: 13
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):
n/a

agree, this is really useful.
in the ceph-ansible project, we used to filter containers name this way too.
docker:
-bash-4.2# docker ps -a
CONTAINER ID        IMAGE                                   COMMAND             CREATED             STATUS              PORTS               NAMES
8b250a9b881d        docker.io/ceph/daemon:latest-nautilus   "sleep 10000"       17 minutes ago      Up 17 minutes                           ceph-osd-33
ba755fd63831        docker.io/ceph/daemon:latest-nautilus   "sleep 10000"       17 minutes ago      Up 17 minutes                           ceph-osd-3
-bash-4.2# docker ps -f "name=ceph-osd-3$"
CONTAINER ID        IMAGE                                   COMMAND             CREATED             STATUS              PORTS               NAMES
ba755fd63831        docker.io/ceph/daemon:latest-nautilus   "sleep 10000"       17 minutes ago      Up 17 minutes                           ceph-osd-3
-bash-4.2#

podman:
-bash-4.2# podman ps -a
CONTAINER ID  IMAGE                                  COMMAND               CREATED        STATUS            PORTS  NAMES
6ba3ae865bf4  docker.io/ceph/daemon:latest-nautilus  sleep 10000           2 minutes ago  Up 2 minutes ago         ceph-osd-44
5f550be7e697  docker.io/ceph/daemon:latest-nautilus  sleep 10000           2 minutes ago  Up 2 minutes ago         ceph-osd-4
-bash-4.2# podman ps -f "name=ceph-osd-4$"
-bash-4.2#

from backward compatibility point of view, this is causing issues.