Ajax tab Container - Ajax Tab Panel - Tabs Position

I Was Using Version 15.1.4 I've Created a web site the direction of it is right to left and used the folowing styles to set the tabs to the right
.ajax__tab_header {
direction: rtl;
}
.ajax__tab_xp {
font-weight: bold !important;
}
but when I've upgraded to version 16.1 the tabs stuck on the left
I've changed the property tabstrip placement to topright
tried also set the direction of div that contains the control to rtl and textalign also to right
but still stuck to the left refusing going right

I believe you need to apply the float:right CSS style:
<style>
    .ajax__tab_default .ajax__tab {
        float: right;
    }
</style>

See this issue for more details: https://github.com/DevExpress/AjaxControlToolkit/issues/40#issuecomment-203862229
Please keep us posted of your results.

no that didn't work with latest version but it works fine with 15.1.4
I think I'll revert to the old one

Would you please provide a sample project that illustrates this issue?

Test001.zip

this is a quick sample

Thank you for this sample project.
A custom CSS style defined in the header is overridden with the AJAX Control Toolkit CSS style file, that loads right after it:

To fix it, place a custom CSS style declaration anywhere below the page header.

on this project Ok
but on the real one I Use a General Css in theme for all pages
I'm Using Master page and content pages
How I can do it in the big project

You need to make your CSS rules more specific to override default CSS rules: http://stackoverflow.com/a/9459093/644496
For example, you can add an empty CSS class to every tab control or place it inside a container with a predefined ID.
Another way is to use the !important keyword:
.ajax__tab_default .ajax__tab {
    float: right !important;
}

thank you I'll try and Reply

that did it thank you alot


Dm dev 1311

Fixes #1311
Description
fix tooltip aperance in treemap
Testing
see in linked issue
Risk
No major changes
Do you agree with those?

[] I agree to follow the Contributing guidelines
[] I agree to follow the terms of the Code of Conduct

Теперь тултип невозможно убрать
g50pZF1A8f.mp4

сорри, не допроверил, исправил


GetModuleHandleA("advapi32.dll") equals null

Libuv 1.35 built on source with vs2017 option:
Windows 10 1904 (Build 18362.720):
On Visual Studio 2017 I link all the required libs:
ws2_32.lib
advapi32.lib
iphlpapi.lib
psapi.lib
shell32.lib
user32.lib
userenv.lib
libuv.lib
And I dont have a compile error, but for some reason GetModuleHandleA("advapi32.dll") returns null which leads to an fatal error in uv_winapi_init(), but only in Release mode of Visual Studio.
I already tried to reinstall Windows 10 SDK and also tried to manually set lib paths to advapi32.lib. But everything leads to the same error.

That sounds suspiciously like #2733. We never established the root cause there but #2748 might help.

Yes I already read this issue but the things described there didn't help.
Yesterday evening I found a workaround solution by calling LoadLibraryA("advapi32.dll") manually and it worked. But I don't know if I should really do it that way

You're saying debug builds work but release builds don't, unless you call LoadLibrary? Are you using the gyp or the cmake build?
Pure speculation on my part but perhaps the linker sees that libuv doesn't use anything from advapi32.lib directly (only through GetProcAddress() but the linker can't see that) and therefore drops it from libuv's list of dependencies?
I'll open a PR that switches to LoadLibrary for discussion.

I am using vcbuild.bat vs2017 to build libuv and vcbuild.bat release vs2017 for release.
That could be the root cause, but I don't really know either
Ok

@exellian Can you check if #2762 fixes the issue for you?

I rebuild it and did a tets run and everything seems working now! Thanks alot!


Error while using your amazing code

Hallo Sir,
I am getting this error while running your main file, why is this happening ?, What should I do to fix it, I am totally new in MATLAB.
Error:
Starting parallel pool (parpool) using the 'Processes' profile ...
Error using parpool
Too many workers requested. The cluster "Processes" has the NumWorkers property set to a maximum of 14 workers but 32 workers were requested. Either request a number of workers less than NumWorkers, or
increase the value of the NumWorkers property for the cluster (up to a maximum of 512 for the Local cluster).
Error in Main_AutoPanoStitch (line 36)
parpool(input.numCores);
Thanks a lot in advanced.

Hello @MedIWA,
Please change input.numbers = 32; to your worker's number, i.e., 14 or less.


Docker ImageLoad not working

Hi,
The API call to load a docker image (as generated by docker save img:v1 | gzip > img.tar.gz) is failing
I was getting a header error.
Many thanks,
Fouad

Hey @fmardini!
Thanks for raising this, I have not tried this one but have a suspicion that docker can only handle tar images not tar.gz. Could you try once without the gzip, just that tar?

Also you should be able to pass the inputstream of the file instead of reading it all into a string with slurp. try passing (clojure.java.io/input-stream "image.tar") instead of the slurp. should be more efficient.

Also now that I think of it, the slurping of the data could be encoding it in a wrong way and passing it as raw bytes should be better. Try the gzip too once if you can? 😅 but both gzip and just the tar sent as an input-stream not a string.

Thank you! Indeed input-stream did the trick
reading the invoke docs I don't know I thought it only took a string or a map

Awesome! In general whenever you see that a parameter is takes a file or a binary input from the docker docs, you should be able to use an input stream there. I will add this to the docs! 😄

Appreciate it! Thanks again


Follow-up changes for function effects

This PR contains a lot of small improvements and cleanups related to escape and side effects.
For details see commit messages.

@swift-ci test

@swift-ci test

@swift-ci benchmark


[OSDEV-911] Add code quality pipelines for dedupe-hub | Part 1

OSDEV-911 Add code quality pipelines for dedupe-hub | Part 1

Added coverage package to Dedupe Hub

To fix this job -> https://github.com/opensupplyhub/open-supply-hub/actions/runs/8293505230/job/22696717883?pr=90
coverage package should be in main branch.


treewide: Replace all uses of CONCAT with _CONCAT

One of the ARM architure files, defined since long ago CONCAT having the exact same purpose as Zephyr's _CONCAT. Unfortunately this header is included almost always and the macro defined in all ARM based platforms,
which seems to have lead to many uses of this macro instead of _CONCAT.
Fix it by using _CONCAT instead, so that code works also with other architectures.

Related to:

https://github.com/zephyrproject-rtos/zephyr/issues/64841

sounds like a workaround, fixing the problem in the wrong place. fix should go to whoever is polluting the namespace

@gmarull This is the fix of the users who should not use that macro. The next step would be to remove the line which provides the CONCAT macro. But that needs to be done after, and probably more carefully as there is going to be off-tree users.

+1, provided a new PR will be sent to remove CONCAT from arch header files (they should not define such macros but use Zephyr ones)

@aescolar will you post this PR?

+1, provided a new PR will be sent to remove CONCAT from arch header files (they should not define such macros but use Zephyr ones)

@aescolar will you post this PR?

yep


[Bug]: selectAccounts(existingWallet.provider) always throws error

Current Behavior
selectAccounts(existingWallet.provider) always throws errors, because the provider implementations.
As I can see, all of it just implement the following:
eth_selectAccounts: UNSUPPORTED_METHOD
According to this, the actionRequired value will be true and the modal appears.
Expected Behavior
Just because the provider does not have a eth_selectAccounts method, don't show the modal every time.
Steps To Reproduce
No response
Onboard Version
core: 2.0.11, injected: 2.0.2
Node Version
16
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Anything else?
No response

Hey @band94, the idea with that modal is that when the user selects a wallet that they are already connected to, then their intention is to connect another account for that wallet. In the case of hardware wallets, we have control of the UI, so we can show the user the account select options. That is what we created the eth_selectAccounts RPC method for. In the case of other wallets that we do not have control of the UI, then that method is not implemented (since we made it up), so in that case we display the modal to guide the user to connecting another account.
Are you trying to call the eth_selectAccounts method directly?

Going to close this for now as that is expected behavior. Feel free to reopen if you have further questions.

@aaronbarnardsound Thanks for your explanation, pretty helpful 🎉

@aaronbarnardsound This makes sense if you look at it as you did. However this becomes an annoying issue if you are trying to reconnect a wallet that you stored in the localstorage for example.
In my case I was trying to "persist" a wallet connection after a page refresh, and in discord someone of the team suggested to look at the implementation of Auto Selecting a Wallet in the core documentation.
Following the example I was able to set a localstorage look up and so automatically persist the wallet connection despite the browser page refresh (this is great because makes a better ux, removing the need to re-click on the connecting button after refresh).
I was very happy with the solution until I discovered that if something gets updated reactively, then the solution triggers the popup and Action Required.
This clearly in my case is pointless, because there isn't any switch of wallet. How I solve or disable this?
I am using the VUE plugin, and my code is something like the following:
const walletInitializer = async () => {
const previouslyConnectedWallets = JSON.parse(
window.localStorage.getItem('alreadyConnectedWallets')
)
if (previouslyConnectedWallets[0]) {
try {
await connectWallet({
autoSelect: {
label: previouslyConnectedWallets[0],
disableModals: true,
},
})
} catch (error) {
console.log('Houston we got a problem!', error.error)
}
}
}

Hey @Dinuz could you elaborate on what is getting updated reactively that triggers that modal? Could you try connecting a wallet and then refreshing on our React Demo and see if you see the same behaviour? We don't have the disableModals flag set in the demo, but I just tried locally with that flag set and everything works as expected.

@aaronbarnardsound yeah, in my frontend I do have a way to setup an options array that goes directly into the composable in which I have the previous function (the one in my previous post walletInitializer) defined. The options are used to control the composable behavior (for example I can change the min balance required in order for the user to be able to perform some operations eg mint). Every time that I change one of these options I do have the popup coming out with the following message:

I found a way to kill this but I am not sure it is the most beautiful and appropriate way to do so: I call the disconnect wallet just before connecting it again (to be truly honest I don't like this at all, but it removes the error and prevents the popup to showing up). So If I modify the previous function in the following way, my problem gets solved:
const walletInitializer = async () => {
    const previouslyConnectedWallets = JSON.parse(
      window.localStorage.getItem('alreadyConnectedWallets')
    )

    if (previouslyConnectedWallets[0]) {
      try {
        await disconnectWallet({ label: previouslyConnectedWallets[0] }) // I ADD THIS NEW LINE
        await connectWallet({
          autoSelect: {
            label: previouslyConnectedWallets[0],
            disableModals: true,
          },
        })
      } catch (error) {
        console.log('Cannot initialize the wallet!', error.error)
      }
    }
  }

What do you think? Suggestions? Opinions? Yelling at me lol?
Thanks :)

As others mentioned here, this popup appears even when you don't want to select another account but rather another wallet.
Consider this use case:

User is connected to an app with MetaMask
They then decide to switch to their mobile wallet via WalletConnect
Potentially switch back to the first wallet

In this case, we would call connectWallet() w/o specifying a wallet, so that the user can choose one.

And then this annoying popup appears, which actually does nothing. And an error in the console.

Do you think we could avoid showing this popup unless the app explicitly asks to switch the account within the same wallet?

We'll be taking another look at this issue as we have had multiple reports of this.

Also seeing this issue - vue/nuxt


Shift + Click to sell all

Hi, for admin shop sometime player got a big number of a item that wanna sell, exemple 1000 cactus. We should not make many cactus shops with different amout setup to help player sell quickly, cauz it will be messy.
It would be great if there's a way for player sell all items of the kind that they are holding in right-hand. Something like normally Click to sell with the amout as shop setup and Sneak + Click to sell all from inventory.
Thank you for your great plugin

Thanks for the commit.
The feature for selling a stack of item is great but not exactly what i explained. The admin shop is selling 64*cactuses, but player is having full inventory of catus or even some full chests of catus (auto catus farm make it easier). This make it's hard to sell a big number of item.
I'm thinking of somehow if player has more than that only 1 stack of item and the admin shop amount is 64 too then when they sell with shift+click, all stack of catus wil be sell

bump @EpicEricEE


Support Clipping to rounded corners

If you have something like:
<Border Height="40" Background="Red" Width="100" BorderBrush="Green" BorderThickness="1" CornerRadius="5">
        <Border Width="40" Background="Blue" HorizontalAlignment="Right" />
      </Border>

the containing border will have round corners, but with the inner border overlaying the right hand corners.
WPF would also produce the same result, but UWP would correctly clip the corners like so.

I think this would be an advantage to allow the UWP behaviour and would greatly help in polishing controls.

Any updates on this? Is it currently possible at all to achieve this behavior, even with an ugly workaround?

Doesn't ClipToBounds property fix it now?

the problem with cliptobounds is the background of the control in a border will still overlap the border. Would be nice if the border overlaps the child control to avoid this issue.

The GeometryClip feature is needed to support this

Probably box-sizing from CSS solves similar problem in web. And not sure about UWP, but I think it's configurable there with BackgroundSizing. Can somebody say, who are familiar with them, if I am right about these properties?
Apart from that, I see only one good and not ugly solution - set corner radius also on child element.

In CSS you can set overflow="hidden" to clip the child element correctly: codepen
I tried setting a corner radius on the child element, but it still isn't perfect, both parent and child have corner radius = 6:

Does corner radius in Avalonia/WPF scale based on the element's width?

Corner radius depends on the borders thickness. There are multiple radii that are calculated. For uniform corners and thicknesses thisbis directly calculated by the render backend (Skia by default)

Some trick using opacity mask:
<Border BorderBrush="Black" Background="Red" BorderThickness="3" Margin="10" Width="400" Height="267" CornerRadius="40" >
    <Grid>
        <Border Name="myBorder" CornerRadius="40" Background="White" Margin="1"/>
        <Rectangle Fill="Red" >
            <Rectangle.OpacityMask>
                <VisualBrush Visual="{Binding ElementName=myBorder}"/>
            </Rectangle.OpacityMask>
        </Rectangle>
    </Grid>
</Border>

@wieslawsoltes I tried to use your exact XAML,  but I'm getting a tiny white space near the border:

Problem here seems to be that although clipping to a rounded rect was added in #4081, it clips to the outer bounds of the rounded rect, not taking into account the border thickness.
UWP seems to handle this correctly, and given that we added this feature in part because UWP had it, we should match their behavior as it's more useful.

Just ran across this one. It makes it appear that CornerRadius doesn't work at all when authoring controls.

CornerRadius doesn't work at all when authoring controls.

Shouldn't be the case, this issue is not about that

Still an issue on Avalonia 0.10.12. Notice how when the ComboBoxItem gets it's color changed from transparent to a color, it overlays the parent border's corners: https://i.gyazo.com/9c8c3e28915f15ad15d59f7799d72473.mp4

Again, ran across this for a new control. Children should always be clipped within their parents.

Any update on this :/ ? Setting CornerRadius on ContentPresenter seems to correctly clip its child, but not on Border.

I'm running into this too.  It would be great if you have ClipToBounds=true set, the Border's Child would be automatically clipped to be exactly inside the visible BorderThickness.

Until now (11.0.5) I have to use two borders to solve this problem

Note that with the BackgroundSizing support this actually became a lot easier to do.
I believe we already support any Geometry for clipping. A geometry representing the inner part of the border can be built using the GeometryBuilder. Those same geometries are needed for BackgroundSizing. With that geometry, the clipping can then be calculated and set internally. We also have the WinUI source code to see how they did this within Border already.
https://github.com/AvaloniaUI/Avalonia/blob/81d2e7d4efb1c2c475c80e8e5893171aa94c25ab/src/Avalonia.Base/Media/GeometryBuilder.cs#L206-L210
Then
https://github.com/AvaloniaUI/Avalonia/blob/81d2e7d4efb1c2c475c80e8e5893171aa94c25ab/src/Avalonia.Base/Media/GeometryBuilder.cs#L35-L37
I see this issue continue to pop up time and time again so will probably get to it myself eventually. However, it's probably considered a breaking change so perhaps wouldn't be allowed until 12.0 anyway.

will be 2025 and no round ><? win11 push rounding design ideology,
please we need this other than our apps will look like from old day.

never mind I thought this WPF....

vanila wpf
        <Viewbox Stretch="Fill">

            <Grid>
                <Grid.OpacityMask>
                    <VisualBrush Visual="{Binding ElementName=Border1}" />
                </Grid.OpacityMask>
                <Border x:Name="Border1" CornerRadius="30" Background="Green" />
                <Grid ClipToBounds="True">
                    <Ellipse Width="420" Height="451" Fill="AntiqueWhite" Margin="473,153,-93,-154"></Ellipse>
                    <Ellipse Width="420" Height="451" Fill="AntiqueWhite" Margin="-138,225,518,-226"/>
                    <Ellipse Width="420" Height="451" Fill="AntiqueWhite" Margin="-47,-378,427,377"/>
                </Grid>
            </Grid>

        </Viewbox>

    </Grid>


Update to suretax 0.1.7 and support new attributes

:+1:

:+1:

Merged #22

I didn't see that we modified the value for tax amount.  Is that still going to be incorrect, or is more code coming?

@pedromartinez more code is coming.  At this point all that we're doing is passing the 'tax_on_tax' code from SureTax through to the caller.  It'll be up to atom-api (or any other user) to deal with that value as it sees fit.


Added traceability for HystrixCommand

sorry closing wrong pull, need to send this to @pavolloffay PR42 branch for review before merge.


Set found consumers on the provider so that the pact files are run

Fixes #170.
Added additional output to make it easier to know if there are problems.

:thumbsup:


feat: export performance data

@mountiny @hannojg

Explanation of Change

This PR adds support for exporting performance measures collected during a profiling session with the Use Profiling debug feature. They are added to the AppInfo file under the performance property.
I've attached a recording from web with additional debug logs to visualize what gets fired when we enable the profiler now.
Fixed Issues

$ https://github.com/Expensify/App/issues/50652
PROPOSAL: N/A
Tests

Same as the QA steps.

[x] Verify that no errors appear in the JS console

Offline tests

Same as the QA steps.
QA Steps

Open the EApp
Follow the README steps for recording a profile trace: https://github.com/Expensify/App?tab=readme-ov-file#recording-a-trace
Download the resulting AppInfo<app version>.json file. This should now include a performance property on it. It's an array of measures collected during the profiling session. They should reflect actions successfully collected with the Performance.markStart/End() API.

PR Author Checklist

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

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

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

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

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

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

[x] If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

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

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

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

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

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

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

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

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/5966bef6-ae04-4ef6-b467-fcf756363c1f

MacOS: Desktop

cc @mountiny @hannojg I'm testing this now further, but for a TLDR I reworked how the whole Performance module is being declared.
I figured why its' init has been postponed until invoked (dynamic require) and moved the possible 'heavy' workload into opt-in calls - the dependency module (react-native-performance) is now always there, but does ~nothing until invoked because all the observers are turned off by default.
On a side note, it's also way more approachable now I think to edit & in line with the code guidelines.
This enables us to:

turn it on/off with the profiler on demand
still have it turned on from the start based on the CAPTURE_METRICS env variable

Also moved the BaseProfilingToolMenu component to useOnyx as it only had a single prop provided through withOnyx.

@rayane-djouah can you please test and review this PR?
@adhorodyski, can you please add testing steps to make sure everything related to performance monitoring works as expected after this change?

Yes, I will update these in a few hours. I tested this on web + mobile ios (works fine), will also run on mobile android.
There's one problem I had to workaround locally which is already known, the release profiler currently errors out on Hermes, we decided to leave it 'as is' until we merge the RN upgrade. cc @hannojg

@hannojg / @kirillzyusko can I ask you to help verify if the e2e tests pass fine for you with these updates? Changes included here should be transparent and non-breaking :)

@mountiny I'm still fighting with the Android builds today to verify on this platform. I'll update when done.

@tgolen addressed all the comments, thanks!

Ready for @rayane-djouah to review and test.

Managed to finally run on Android, spotted one bug that prints the TTI metric under measureTTI on regular builds without checking for the CAPTURE_METRICS env variable - fixing this now.


[MM-20392]Convert Edit channel purpose modal to typescript

Summary

Converts Convert Edit Channel purpose modal and associated tests to typescript
Updated snapshots as needed for the updated tests

Ticket Link
Addresses https://github.com/mattermost/mattermost-server/issues/16714
Redux Changes
https://github.com/mattermost/mattermost-redux/pull/1424
NONE

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

@devinbinnie, do you think we need QA here? Probably not, right?

@devinbinnie, do you think we need QA here? Probably not, right?

@agarciamontoro We usually do assign QA to the migrations just to make sure everything still works.

Sorry for the delay on this, I had missed the previous message!

Thanks @Crimson-riot
I'm seeing an error/blank screen when clicking on Edit Channel Purpose

Thanks for catching that @jgilliam17! It should be all fixed now.  It looks like https://app.circleci.com/pipelines/github/mattermost/mattermost-webapp/38656/workflows/a6ff04e0-1285-47a9-9c37-e05eeed834e0/jobs/263233 failed due to an unrelated memory error and I cannot rerun the tests as I do not have write permissions to circleci.

I just clicked on re-run workflow. Let's see if it works.

Thank you again, @Crimson-riot! :)


flatmap: write documentation

location: https://github.com/ReactiveX/RxGo/wiki
ref #57

Let's create a dedicated issue to discuss communication (documentation, blogs etc.)


[mac] use direct callbacks into mesh forwarder for send/recv

This commit changes Mac implementation to use direct callbacks into
MeshForwarder to inform it of a frame reception or status of a
requested frame transmission. This changes replaces the Mac::Sender
and Mac::Receiver model.

Was just curious about the code/ram size impact. Seems like ~540 bytes code reduction and 40 bytes RAM savings (ftd ncp cc2538)
   text	   data	    bss	    dec	    hex	filename
 229631	   4588	  22744	 256963	  3ebc3	output/cc2538/bin/ot-ncp-ftd  master branch
 229083	   4588	  22704	 256375	  3e977	output/cc2538/bin/ot-ncp-ftd  this branch

Code looks much more clean now! :+1:


Feature Request: auto_find_in_selection option

On 12 Jul, I opened issue #9120 because VSCode got the behavior that find in selection is off by default if I press ctrl+F with a multiline selection. Then it was fixed soon at that time.
But now, VSCode got the behavior again in v1.7.1 because of #12109.
I prefer that find in selection is on by default if I press ctrl+F with a multiline selection.
I know some IDE/editors are behaving so.

Visual Studio 2013
eclipse
Sublime Text

In Sublime Text case, it has auto_find_in_selection option. I can switch the behavior.
I think good if Visual Studio Code also has the option to configure the behavior.
Thank you.

I'll add my desire for this feature to be added - I run across this on a daily basis - several times a day, in fact... The fact that Visual Studio has this behaviour (find in selection autoselected with a pre-existing multiline selection) just exacerbates that...

Any update on this?

It was fixed by adding the setting 'editor.find.autoFindInSelection'


Use jq to detect npm components

This removes the overhead of spinning up Node.js individually for each
package. Using jq reduces the runtime of npm detection from 20+ minutes
to under 1 second.
Closes #903
Signed-off-by: Jamie Magee<EMAIL_ADDRESS>

@rnjudge ship it?

@rnjudge ship it? We probably need to add jq to the prerequisites and Dockerfiles

@JamieMagee Can't believe how much faster this runs than with the old npm parsing 😅 Nice! The only thing that was curious to me was how few licenses returned from so many packages that were found. I am not too familiar with the npm ecosystem, so maybe a lot of the packages use common licenses? Either way, LGTM.

Thanks for the quick turnaround on this! And thanks for adding the dependency in #922
I'd say that MIT and ISC are the most common. ISC is the default if you run npm init on a new package.


running s_server from openssl compiled with no-ecdh results in EC related error

Compiled code from branch OpenSSL_1_0_2-stable with no-ecdh configure option and running s_server:
openssl s_server -ssl3 -cert mycert.pem -key mykey.pem -debug -www -port 4433
Error setting EC curve

This is caused by the no_ecdhe variable in s_sever.c to be 0 implicitly. Once passed to args_ssl_call() it will cause this error to be thrown:
1585      /*
1586       * This is a special case to keep existing s_server functionality: if we
1587       * don't have any curve specified *and* we haven't disabled ECDHE then
1588       * use P-256.
1589       */
1590      if (!no_ecdhe) {
1591          if (SSL_CONF_cmd(cctx, "-named_curve", "P-256") <= 0) {
1592              BIO_puts(err, "Error setting EC curve\n");
1593              ERR_print_errors(err);
1594              return 0;
1595          }
1596      }

The no_ecdhe variable in s_sever.c should probably be set to 1 if compiling with the OPENSSL_NO_ECDH define.
Ironically, the workaround is to use the -no_ecdhe option for s_server which is however commented out:
$ openssl s_server -h 2>&1 | grep ecdh
<nothing>

We are also facing the same issue kindly advice.

This was issue was fixed in recent versions of OpenSSL by commit 8caab744f56. It won't be fixed in the 1.0.2 branch since that is in security-fix only mode.


infant_hip data

Hi zhou, can i have the infant_hip.pkl data for the machine learning pipeline.
Thanks.
my email<EMAIL_ADDRESS>

The issue was addressed through email communication on 10/16/2022.


tests

Current coverage is 0.00% (diff: 100%)

No coverage report found for master at 1038fe0.

Powered by Codecov. Last update 1038fe0...c0192b1


Mashing start button makes the sim run that many times faster

If already running, skip over starting another loop


fsx lustre on eks - add generic env

Description of changes:

refactoring we need to be able to use FSx for Lustre on EKS outside ADDF deployments

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

LGTM

Fixed, please bless this @dgraeber @srinivasreddych.


Update Vertex AI embedding to allow a batch size of 250

I just discovered a regression caused by my PR.
I tried to embed long snippets, and I got an exception telling me there's a limit of 20k tokens per call.
I wasn't aware of such limit per call, I'm sorry.
I'm curious what would be the best approach to solve this, and would be interested in your advice.

First of all, I was thinking that we could make batch size a parameter to pass to the builder. We could change the default value from 250 to 50 for example, but allow people to chose a different value. I believe it's good to have that ability, but it doesn't prevent the problem to appear if you have too long snippets that total up 20k tokens.
The better / complementary approach would be to track the token count, and stop adding once we're too close to the limit. That way, we'd have different batch sizes depending on the total number of tokens of the current batch.

Thoughts?

@glaforge is there a tokenizer available for Vertex AI models from java?

There is a countToken endpoint that can be called. It can be called in batch too, but I don't (yet) know the limits.
But imagine calling it, that'd double the REST calls?
In the current implementation, we accumulate the tokens used after each batch.
Maybe we should look at that number, and when we're 10% close to the limit, we don't add to that batch?


[Enhancement] PlatformDependent support the metrics of the direct memory real used.

In PlatformDependent, it records the DIRECT_MEMORY_COUNTER to trace the direct memory.
In fact, direct memory maybe not supply to the user fully, the PoolChunk default size is 4M, and it maybe just supply to the user 0.1M, leaving 3.9M direct memory. I want to record the real used direct memory in netty, it can help user to know the direct memory detail info.
@normanmaurer please take a look, could you give any suggestion.

Example:
The PoolChunk: 4M, the user supply 1k. The real direct memory usage is 1k. Then release it to ThreadLocalCache, although not free memory to PoolChunk, the real direct memory usage is 0.

Perhaps what you're after is the PooledByteBufAllocator.pinnedDirectMemory()? Though it'll only tell you about memory in that specific allocator; no unpooled memory, and no memory from other allocators.

It's a little difficult to export the metrics. In JVM, it may create many PooledByteBufAllocators, and the third lib may also create it, it's hard to trace. So I suppose shall we export the total PooledByteBufAllocator.pinnedDirectMemory in the PlatformDependent.


Add support for w3c trace-context headers for OpenTelemetry interoperability

To use opencensus, jaeger  and opentelemetry Frameworks in the same environment, inspectIT should understand (and use) the w3c trace-context headers instant the b3 headers.
https://www.w3.org/TR/trace-context/

Hi @mc-chaos
the agent is already able to handle multiple correlation header formats, including the trace context header and correlate incoming spans with it.
This was implemented in PR #793
Is that what you mean by this ticket?

I've also added an ticket (#1044) to add this to the documentation, because it is currently missing there.

@mariusoe ,
thx for your info. Yes, this was the Question. If there is a mixed environment with different tracing implementation, it needs to interoperate. Thx for the Docu Update.
Regards, Sascha

close


zix: init at unstable-2022-09-08

Description of changes
Split from https://github.com/NixOS/nixpkgs/pull/190218.
sord bump to prevent symbol clashes between zix and sord: https://github.com/drobilla/sord/compare/d2efdb2d026216449599350b55c2c85c0d3efb89..46111484e2c5b611a15a77e6142c59465bcfd643
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage (not doable due to hydra hang)
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

(maybe I should bump zix again, to include the latest patch with gets rid of the reuse dependency)

This PR rebuilds a lot of packages which means we must target staging. Please follow the contributing guide to not potentially ping a lot of people.

Approach from contribution guide didn't work, sorry.


[BUG] Issue title...gt_is_difficult_list[gt_class_labels == i]) IndexError: boolean index did not match indexed array along dimension 0; dimension is 0 but corresponding boolean dimension is 1

Describe the bug
A clear and concise description of what the bug is.
While evaluating the dataset on efficientdet-d0 with Pascal VOC Tfm evaluator with 1 class and I have a dataloader with 1 class indexed class label.
To Reproduce
Steps to reproduce the behavior:
1.Possibility to make it 0-indexed?
2. Add background class as given in the VOCParser in the parsers in the repo.
Expected behavior
A clear and concise description of what you expected to happen.
Since, I have a annotation .json file which only includes the bounding box coordinates and the respective filename and that I don't have any COCO format annotations. I am not able to evaluate my dataset on the COCOapi.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows, Ubuntu 18.04]
This repository version [e.g. pypi 0.3.1 or branch/commit ref]
PyTorch version w/ CUDA/cuDNN  [e.g. from conda list, 1.7.0  py3.8_cuda11.0.221_cudnn8.0.3_0]

Additional context
Add any other context about the problem here.

One class works perfectly fine with the TFM eval code, I've tested it. Background class is 0, with one class, your foreground class from the dataset must be 1, the model has '1' class (background class not included in the count). That is it, just like all of the example datasets.

Yes, I have not counted background class. Also, I have not included background class in count.
But I have not given the background flag in my code either.
Sorry to label it as bug, but do you got any idea why I get the error even if there is only 1 class with 1 index and 1 count of classes


Add More Links

Motivation
Currently, there are some useful links on the current website that needed to be added to this one.
Suggestion
Add the following links

Formed signup: http://www.annunlord.formed.org/
Todays Readings: http://www.usccb.org/bible/readings/

Any useful links from https://annunlord.com/links/ should be added.

More links were added.


mlx-swift is not showing docs

https://swiftpackageindex.com/ml-explore/mlx-swift
.spi.yml looks ok and validates.

We're conflicting with the existing docc plugin snippet in its Package.swift file:
if Context.environment["MLX_SWIFT_BUILD_DOC"] == "1" {
    // docc builder
    package.dependencies.append(
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
    )
}

Because we "see" this .package() clause, we don't inject our own. However, because we don't set MLX_SWIFT_BUILD_DOC, we end up running doc build without the plugin active.

This is now fixed: https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlx


Updating watch list by entering the number of episodes for selected user series

resloved in https://github.com/xdk78/senren-backend/issues/23


⚠ Bofrost.lu has degraded performance

In 39ebb34, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1615 ms

Resolved: Bofrost.lu performance has improved in e139ab2 after 1 hour, 3 minutes.


Shell 0.6 PouchDb Integration Issues

As noted in our runthrough there are some differences between pouchdb and firebase that cause issues.

calling connect on a key that does not exist will throw in some cases, whereas firebase does not
toList() can also throw whereas firebase would not.
[more to come]

Scott took care of the some of these.  Goal is to get the webdriver tests working on Pouch soon, which should shake loose any other tidbits.


chart integration

Resolves #4
Charts added here: https://github.com/blotoutio/superset-ui/pull/6

approved


Gem5 simulation speed too slow

Hi, I`m running ubuntu server on gem5 now, and the simulation speed is too slow that it takes couple minutes to complete only one command. Is that normal?
Running gem5 :  scons build/x86/gem5.opt  config/example/fs.py --kernel=vmlinux --disk-image=x86.img --mem-size=8G
I`ve checked cpu type in config.ini under m5out/, and shows type=AtomicSimpleCPU.
Does anyone know how to speed up gem5 simulation?

What command takes a couple of minutes? gem5.opt itself to boot the Linux kernel, or some other command inside the guest?
A few minutes for a kernel boot is normal depending on your machine / kernel config, see these benchmarks: https://github.com/cirosantilli/linux-kernel-module-cheat/tree/f3503b4cc810556df3c736d0a147cc54e05efc83#gem5-vs-qemu-performance
This is basically why m5 checkpoint is so important.

Does gem5 reads the boot args on disk image or take its own setting in gem5 dir?

fs.py has --command-line for kernel CLI args, have a look at gem5.opt fs.py --help.


Handle newlines in messages

Slack messages, topics, etc can contain newlines. Before forwarding to IRC, topics should be be stripped of newlines. Chat/pms should either be stripped of newlines or converted to multiple messages. A safeguard should be added to ircd code to strip newlines from arguments.
Currently this leads to the ircd send broken protocol.

Fixed by 09016bda865a1fd275c63bb487ba8d408ff23d5e


script ( step 1 )

Great start! The code is pretty close to our goal, but let's fix some issues:

[ ] fold both commits into one (it's easier to start from scratch),
[ ] rewrite the commit message to reflect the changes (hint: you're adding perfd),
[ ] address line-by-line feedback,
[ ] make sure that the script runs on your machine, producing the expected output.

perf record


Area for Improvement: Add support for interaction events to Flutter widgets

The DevTools Performance screen provides powerful timeline based tooling that gives developers insight into where time is being spent in their application and possible causes of UI jank. However, without manual instrumentation of callbacks in interactive widgets (e.g., buttons), tracking the impact of user interactions on application performance in a busy timeline can be tricky.
Both Android Studio and Instruments work around this in their timeline based tooling by creating dedicated tracks which display user interaction events. These events act as reference points that developers can use to identify the impact of their interactions on frame rendering and overall application performance. Adding similar support for interaction events in the DevTools Performance screen would be a simple usability improvement for an already strong performance analysis tool.
The easiest way to add this support would be to instrument the call sites of the callbacks for interactive widgets in the framework to create instant timeline events with a custom “interaction_event” argument. This custom argument could be used by DevTools to identify interaction events and display them in a dedicated timeline track in the Perfetto viewer (if possible) or in a custom UI element underneath the frame analysis chart. The main downside of this approach is that all new interactive widgets added to the framework would need to be manually instrumented, creating the possibility that some interaction events may not be created.
A potentially more complicated but also more general approach would involve creating interaction events in the gesture detection logic. This would have the upside of only requiring interaction event instrumentation to be added in a limited set of locations, removing the risk of forgetting to instrument new interactive widgets in the future. This approach would also provide more general details about the interaction (e.g., tap vs tap release vs swipe), which may be more or less useful than reporting the type of widget that was being interacted with.

This issue is meant to track discussion around the recommendation of the same title from go/non-dart-developer-tooling-exploration. If it needs any specific tags, please feel free to add them.

I haven't looked at this in a while, but I thought there are already events pushed to the timeline for pointer event dispatch between frames. As part of that - when any of these events trigger a gesture - the interactive callbacks would run.
Am I just misremembering that? Or is this not granular enough? We can add more events if we better understand what we'd want to cover with them. I'd prefer doing this on a lower level (e.g. the pointer dispatch system or the gesture detecting) instead of directly at the interactive widgets (since this will be easy to forget there). One question I have: Is it going to be enough that you know that some interactive callback ran when you look at the timeline? Or would we somehow want to tie this back to a specific widget?

Both Android Studio and Instruments work around this in their timeline based tooling by creating dedicated tracks which display user interaction events.

Do you happen to have a screenshot of what that looks like?

That's a good question, maybe I just missed them in the timeline. I'll have to take another look. Ideally we'd be able to tie some high-level information to the event (e.g., the type of widget interacted with, the type of interaction, etc), but simply being able to easily identify when an interaction event occurred can be useful when navigating the timeline.
Here's a screenshot of what Android Studio displays (2 displays the User Interaction events):

For Instruments, there's a "User Events" track in the Hitches instrument, but I'm not sure how much detail the events on that track give:


Revert "Using recreate strategy in cluster-proxy-addon-manager."

Reverts stolostron/backplane-operator#731
OCP doesn't allowed deployment to set rollingUpdate strategy to Recreate, revert the PR: https://issues.redhat.com/browse/ACM-11989

/assign @dislbenn


TX decode failed (name transactions on Trezor)

When trying to buy a name, I get the following error:
The server returned an error when broadcasting the transaction. Consider connecting to a different server, or updating electrum. TX decode failed
I don't know if it is relevant that it is from a wallet that is tied to a Trezor, and the Trezor actually signed the transaction.
As the message requested, I tried all available servers.

Probably the use of the Trezor is the issue.  The Trezor firmware doesn't support name transactions at the moment, so whatever signed transaction the Trezor is returning isn't likely to be correct.  @awilfox is planning to work on adding name transaction support to the Trezor firmware, so hopefully this will be resolved in the foreseeable future.

I have the same issue I don’t know what to do

https://forum.trezor.io/t/the-trezor-functionality-of-the-electrum-nmc-wallet-is-experiencing-issues/15476
matejcik
Developer
8d
Hello, the first step here would be to contact authors of Electrum-NMC. The error messages are popping up in Electrum-NMC, right? It seems that the app is somehow mishandling results coming from Trezor.

I already said what the cause is. I'm not sure why bumping the issue is expected to solve anything or what you hope to accomplish by doing so. We previously had a developer lined up to do the necessary firmware work, but she got disrupted by the war in Ukraine and remains unavailable. If anyone else would like to do the firmware development, they are welcome to contact us; if not, please don't pollute this thread with "me too" comments that just generate unwanted notifications for subscribers.


CanCOGeN template: updates to NML LIMS fields in LIMS export and correcting output order

I've added 3 new LIMS export fields to the LIMS export output from the CanCOGeN template.
These all caps fields need to be moved in the LIMS export output so that they appear in the correct place.
Can PH_HOST_HEALTH_OUTCOME appear after PH_HOST_HEALTH_DETAILS?
Can PH_LIBRARY_PREP_KIT appear after PH_SEQUENCING_DATE?
The vaccination section has been updated and restructured. New fields have been added, while others have been removed.
All fields in the LIMS export (except "number of vaccine doses received") should now be concatenated into the LIMS export field "PH_VACCINATION_HISTORY".
Can PH_VACCINATION_HISTORY appear after HC_SYMPTOMS?
Thanks!

done!


Resolves #2527 Fixed Edit mode controls and a bit of refactor and clean up.

Fixed editor controls for objects.
Moved key handling from io-manager to editor-mode rect UI component.
Not sure still about the issue mentioned about inverse matrix & whether I need to more more logic to UI from game.js [as for me is enough].
https://user-images.githubusercontent.com/1478866/162615659-0bca84fa-f7ba-4de9-ae04-faa4df7edc95.mov

I also see incorrect update glitching in the above video (off by a frame or something).

Closed because the entire approach seems wrong.


Advanced menu restructure and homogenized metadata

What does this PR do?
(Please set a descriptive PR title. Use this space for additional explanations.)
I have done mainly three tasks

Move the advanced doc entries to the agreed schema
Add aliases for old URLs so we don't lost external links
Unify metadata field order

Towards https://github.com/giantswarm/giantswarm/issues/27555
What does it look like?
(If this is more than a textual change, a screenshot can help in some cases to speed up the review process.)
Any background context you can provide?
(Please link public issues or summarize if not public.)
What is needed from the reviewers?
Have you maintained the front matter?
(Please bump the last_review_date in case this qualifies as a review for an entire page. Provide user_questions which should be answered in the page. Provide a meaningful description.)

Sorry for the long PR but I wanted to align the metadata structure (I used some script magic)


Support Custom Grouping error tracking in RUM

Feature description
We utilize DD in a react native application with RUM and want to use Custom Grouping to further control how our errors are grouped in error tracking. From looking at the docs and digging through the code it looks like this currently isn't supported on the React Native SDK.
The RUM Docs have examples for Browser, iOS, Android, and Flutter, but not React Native.
Proposed solution
What I tried was using an errorEventMapper to update error events before they're sent to DD, but this doesn't have the attributes exposed in a way they can be modified. Perhaps being able to set an errorFingerprint type of attribute here would be one approach.
Other relevant information
No response

Hello @michael-johnson-zip, thank you for reaching out! We are going to introduce errorFingerprint in our React Native SDK very soon. I will link the PR as soon as it's ready so that you can follow the progress from here.

Awesome. Thanks @marco-saia-datadog!

Hello @michael-johnson-zip! 👋
We have released v2.4.2, which introduces custom error fingerprinting for logs.
Let us know if it works for you, I will close this issue for now :)


feat: Now proper contents of dice game are displayed .

Title and Issue number

Title : Nothing is displayed in the Dice-Game .
Issue No. : #1181
Code Stack : JavaScript,HTML
Close #1181
Video (mandatory)
https://github.com/user-attachments/assets/78f65cd0-a8c4-460e-8496-a97e77485443
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[x] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor

@apu52 please have a look.


Roll Engine from d6c05fe8847a to 01399ee684f8 (1 revision)

https://github.com/flutter/engine/compare/d6c05fe8847a...01399ee684f8
2021-07-22<EMAIL_ADDRESS>Roll Skia from bc6d93397f9c to 64e67c346c3f (1 revision) (flutter/engine#27641)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


File not found during build

I don't know much about dotnet. But i can't build the tool with the powershell script.
Are there any prerequisites?
Thanks
Michael
PS C:\Program Files\docker\DockerProxy> .\build.ps1
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing tools...
Installing addins...
Compiling build script...

========================================
Build
========================================
Executing task: Build
Executing:      dotnet restore -r win10-x64

An error occurred when executing task 'Build'.
Error: The system cannot find the file specified

I hit the same issue. Install .NET core sdk from Microsoft, then close and reopen a new powershell window.

SDK download here: https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x64.exe
I somehow wasn't getting alerts for issues here.  After installing the SDK does that get things working?  I'll add that to the readme.md if so.

Yes, with the new version of the core sdk it builds. I will check out if the rest works another time.
Thanks for the help!


[Survey] User feedback

VSCode Version: 1.60.1,
Extension Version: 1.0.1,
OS: Windows
1. Overall, how would you rate your experience with the Stream Analytics Visual Studio Code Extension? Please rate us from 1 (poor) to 10 (excellent).
6
2. What do you like or dislike about the Stream Analytics Visual Studio Code Extension?
3. What improvements do you suggest for Stream Analytics Visual Studio Code Extension?

1: 8, quite nice.
2: Lacking support for some settings for local debugging (i.e. configure CSV delimiter when parsing csv), Lacking support for Azurite as input/output.
3: Add complete configuration properties for the current supported parsers and add support for Azurite as input/output option for local debugging.


Staging is buggy when working on repository subfolder

Issue Type: Bug

Open any subfolder of a repository using "File -> Open Folder..."
Open any file in the folder and make changes to two different lines.
Open the "Working Tree" diff view of the file by clicking on it in "Source Control".
Click on one of the changed lines and use "Stage Selected Ranges".

The line is correctly staged, but the view is not updated to reflect this. Now if you try to stage the second changed line, the first line will be unstaged (!), and the view is still not updated.
Because of this bug, I've needed to manually reload the view after every staging command to ensure that it won't be undone later.
VS Code version: Code 1.25.0 (0f080e5267e829de46638128001aeb7ca2d6d50e, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz (8 x 2394)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: unavailable_softwarewebgl: enabledwebgl2: enabled

Memory (System)
15.91GB (6.92GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe C:\Users\jjw\Desktop\VSCode_test2

Screen Reader
no

VM
67%

Extensions (3)

Extension
Author (truncated)
Version

githistory
don
0.4.1

gitlens
eam
8.4.1

python
ms-
2018.6.0

/duplicate #3025


new rule: OpenSQL, INTO as last

"In the strict mode of the syntax check from 7.50Release 7.50, the INTO clause must be the last clause of a main query. In this case, the optional additions additional_options must be located after the INTO clause. "
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abapinto_clause.htm

strict sql mode


Error: collection-repeat tried to compute the height of repeated elements "item in modalData.searchListItem", but was unable to. Please provide the "item-height"

Hi there,
I used collection-repeat to load a long list of items, I chose it instead of ng-repeat because it's more fast to render data. but when the items are loading I got this error :
Error: collection-repeat tried to compute the height of repeated elements "item in modalData.searchListItem", but was unable to. Please provide the "item-height"
my code is it :  (ionic version 1.7.13)
<ion-item collection-repeat="item in modalData.searchListItem | filter:search" ng-click="ctrl.doActionOnClick(item.codice)">                 <span ng-if="searchModalType == 'dutyCodes' || searchModalType == 'officeCode'">{{item.codice}}  </span>{{item.desc}}             </ion-item>
is there any way to fix it ? thanks

This issue was moved to driftyco/ionic-v1#95


fix for airgap network catalog service panic issue

https://github.com/rancher/rancher/issues/9378

We should recommend customers with an airgap network to remove global catalogs via the catalog.url setting as well.
With global catalogs, you will still receive the error:
level=error msg="Failed to update existing repo cache: exit status 128"
as catalog service is trying but failing to update the global catalogs.

LGTM

LGTM


1.12.0.b1

onnx 1.12.0.b1 (rebuild)
Rebuild to add support for s390x.

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_66styzx4wj/clone/recipe/meta.yaml:74: missing_license_url: The recipe is missing a license_url
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_eb6r2h4nuw/clone/recipe/meta.yaml:74: missing_license_url: The recipe is missing a license_url
Warnings were found


Get and Show Usage

[x] CLI
[x] Apple
[x] Android
[ ] Linux
[ ] Windows

Linux has it's own issue: #306 once #368 is merged, we can close this


Pass along posargs in all invocations of pytest in tox.ini

Currently it is only pass this in the main test enviornment but we should just pass {posargs} along in all of them.

You mean for nightly or unpinned...?
I think I also had some inconveniences as well but I don't remember what exactly...
Can you show us some examples... ?

You mean for nightly or unpinned...?

Yup exactly, was trying to run and debug the nightly failures locally. Done in https://github.com/scipp/copier_template/pull/165

But if you failed the tox command, shouldn't it be just part of the command as well...?
Regardlessly I think it'll be useful to have the posargs thou.

Has this been fixed in #165?


CB: Verify sufficient version

Fixes: #1657

Current coverage is 63.85% (diff: 20.00%)

Merging #1820 into master will decrease coverage by 0.01%

@@             master      #1820   diff @@
==========================================
  Files           354        354
  Lines         17127      17132     +5
  Methods       16760      16766     +6
  Messages          0          0
  Branches        223        222     -1
==========================================
+ Hits          10938      10939     +1
- Misses         6189       6193     +4
  Partials          0          0

Powered by Codecov. Last update 80cceb9...23139f5


Allow configuration of cleanUrls option for serve command

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Description
Allow configuration of the cleanUrls option passed to serve-handler package when running docusaurus serve.
Currently, Docusaurus sets the cleanUrls option for the serve-hander package to true and it isn't configurable by the user.
https://github.com/facebook/docusaurus/blob/bd9f29a4698963d3b139f7419877a300640b09ff/packages/docusaurus/src/commands/serve.ts#L76-L82
Proposing that this should be a user-configurable option.
Has this been requested on Canny?
No response
Motivation
By default, at least a few major hosting providers (GH Pages, Netlify, Vercel) don't enable this 'feature'. Having this as an option would allow for more accurate testing of the documentation website before deploying.
A Use Case:
It is possible to embed an iframe into a documentation page which serves as a self-contained example. The example file can be loaded using the file-loader web pack loader.

     View example in a new window

This works correctly when using docusaurus start and when deploying the build onto a hosting provider. However, when running docusaurus serve, any url ending with .html is rewritten without the extension and a 404 error occurs.
API design
ServeCLIOptions could include cleanUrls?: boolean; which defaults to true.
https://github.com/facebook/docusaurus/blob/bd9f29a4698963d3b139f7419877a300640b09ff/packages/docusaurus/src/commands/serve.ts#L20-L25
When the user wishes to disable cleanUrls then they would call the serve command as follows:
docusaurus serve --no-clean-urls
A similar options could be added to the configuration file (https://github.com/facebook/docusaurus/blob/bd9f29a4698963d3b139f7419877a300640b09ff/packages/docusaurus-types/src/config.d.ts).
Have you tried building it?
I've tried the changes locally and passing cleanUrls: false to serve-handler works as expected.
Self-service

[X] I'd be willing to contribute this feature to Docusaurus myself.

Maybe we could let you pass a JSON string through command line? I don't have good API designs so far.

If the goal is to make the entire serve-handler options object customisable from the command line then it may be a bit cumbersome to achieve that with a JSON string.
For example:
docusaurus serve --serve-options='{"cleanUrls":false, "renderSingle": false, "directoryListing": ["/assets/**", "/!assets/private"]}'
Especially if trying to customise the headers option (https://github.com/vercel/serve-handler#headers-array) which can be rather lengthy.
Alternatives

Might be better to allow the loading of a JSON file from disk, much like the config cli option for the other commands:
docusaurus serve --serve-config ./serve-config.json

or include these options within the main docusaurus.config.js file.

I'm happy to work on a PR if there is a decision on the preferred approach for the API.

Yeah, I think a serveOptions in the config file makes more sense, just like we have several options for deploy as well. I'm not totally decided yet.

To me this CLI command is just a convenience for non-technical users to easily test their Docusaurus site. If you don't like it or need something more advanced you can provide your own server.
What prevents you from running npx serve and have a serve.json config file for example? Docusaurus doesn't do much more than that.

Agreed, that makes sense. It would be out of scope to add all those options from a third-party lib.
I can use npx serve or create my own script to achieve what I'm looking for.
Would it make sense to change the default from true to false which will match the behaviour of the start command and the majority of hosting providers which I've checked?
Alternatively, could the script check for an environmental variable CLEAN_URLS=false ? No need to change the API then.
Happy that this issue can be closed if deemed out of scope.👍

Would it make sense to change the default from true to false which will match the behaviour of the start command and the majority of hosting providers which I've checked?

As far as I know, Netlify has pretty URLs by default, although it tells you it doesn't (asset optimization disabled by default, but still pretty URLs enabled)
I've documented this here:

https://github.com/slorber/trailing-slash-guide
https://github.com/slorber/trailing-slash-guide/blob/main/docs/Hosting-Providers.md#netlify

This is confusing but it's what I see in practice.
Also, have you tried deploying a Docusaurus site without pretty URLs? Would our frontend SPA router work with URLs ending with xyz/index.html or xyz.html for example?
If you want to change this setting, I'd rather ask you to do the homework and show me a Docusaurus site hosted on multiple platforms with cleanUrls: false and trailingSlash true/false combinations.

Alternatively, could the script check for an environmental variable CLEAN_URLS=false ? No need to change the API then.

That's not particularly better to me. If this is a useful option we should expose it properly. But is it a useful option in the first place?

I'm still not sure to understand your iframe use-case. What is the easy actionable step-by-step guide for reproducing this problem?

I don't think it's quite out of scope. If some hosting providers have this behavior and others don't, we ought to provide an option to make the local testing env mirror the deployment env.

I don't think it's quite out of scope. If some hosting providers have this behavior and others don't, we ought to provide an option to make the local testing env mirror the deployment env.

I'm ok to add an option for this
But if some hosting provider decides to do weird fancy things, I wouldn't make it part of docusaurus serve scope. For example GitHub Pages without a .nojekyll file would have a quite surprising static serving behavior, and we definitively don't want to add support for that

Aye, yes, that makes sense

I've created a stackbiltz example where the site functions correctly on npm run start, but not when running npm run serve.
https://stackblitz.com/edit/github-sifwoz?file=docusaurus.config.js
It appears that this behaviour only occurs when baseUrl is changed from the default of '/'.

The example:

Click 'View Example' on the landing page of the documentation site.
When run with start then you will see a light blue iframe
When run with serve then you will see the landing page within the iframe.

can I try doing this?

@SlicedSilver is it possible that it's related to our serve.ts code having some "extras"?

@rashidmya yes I'm ok to add a --no-clean-urls option.
But let's wait first to be sure that it's needed, cf my comment above. You can help investigate the problem

Within serve.ts, if I set cleanUrls: false then it works as expected.
However, if I remove the http 302 'found' redirect logic then it works as well (without changing the cleanUrls):
    // if (!req.url?.startsWith(baseUrl)) {
    //   res.writeHead(302, {
    //    Location: baseUrl,
    //  });
    //  res.end();
    //  return;
    // }

Changing the Location value within the redirect also works (without changing the cleanUrls):
Location: baseUrl + req.url.slice(1),

If changing the location value is the best option then obviously it might make sense to check if baseUrl ends with / and url starts with / if that is quietly allowed within the configuration.
const slicePoint = (baseUrl.endsWith('/') && req.url.startsWith('/')) ? 1 : 0;
// ...
Location: baseUrl + req.url.slice(slicePoint),

@slorber Hope this helps, and thanks for your assistance.

This tripped us up too.
We have some .html files inside /static/examples/, and we put them in an  inside our docs:

This works fine with docusaurus start, but breaks with docusaurus build && docusaurus serve. We found that changing baseUrl from /docs/ to / fixes the issue, but unfortunately we can't do that for this website.
Reproduction case: https://github.com/MattiasBuelens/docusaurus-serve-html-asset-issue

What prevents you from running npx serve and have a serve.json config file for example? Docusaurus doesn't do much more than that.

That seems like a reasonable workaround for us. I'd prefer if docusaurus serve would have better support for baseUrl, but for now we'll use a custom serve script instead.

I would like to work on this.

@afrinashar we already have a PR: https://github.com/facebook/docusaurus/pull/10552


Change blocklist instead blacklist, allowlist instead whitelist

For us, changing this can be the correct direction.
See https://gitlab.com/gitlab-org/gitlab/-/issues/7554
See https://github.com/mochajs/mocha/pull/4355

We fortunately do not have them in our API, but only in some private field names and comments.


better numba messages

Codecov Report

Merging #161 (d698ad8) into main (149d5af) will increase coverage by 0.01%.
The diff coverage is 70.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   78.87%   78.88%   +0.01%
==========================================
  Files          48       48
  Lines        6054     6058       +4
==========================================
+ Hits         4775     4779       +4
  Misses       1279     1279

Impacted Files
Coverage Δ

pywatershed/hydrology/PRMSCanopy.py
79.66% <50.00%> (ø)

pywatershed/hydrology/PRMSRunoff.py
81.53% <50.00%> (ø)

pywatershed/hydrology/PRMSSnow.py
90.16% <50.00%> (ø)

pywatershed/hydrology/PRMSSoilzone.py
87.82% <50.00%> (+0.28%)
:arrow_up:

pywatershed/hydrology/PRMSChannel.py
95.36% <83.33%> (-0.41%)
:arrow_down:

pywatershed/hydrology/PRMSGroundwater.py
93.67% <83.33%> (-0.93%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


The "Solar Generation" layer is non-functioning

If you're reporting an issue with rendering, please provide:
Screenshot

Link to where this issue occurs on OpenInfraMap
Everywhere

The GET requests for the Solar Generation PBF files return 404s. (GET https://openinframap.org/heatmap/3/5/2.pbf)

Fixed now, not sure why that broke but it was an issue with the proxy config.

It still doesn't seem to work.
I can see that the requests don't 404 anymore, but the layer isn't showin up anyways.
I have tested in FF and Chrome.

Aha yes, there was another issue which I've fixed now.
You may have to visit https://openinframap.org/heatmap.json and hard refresh for your browser to notice.


user-configured redirect URL clobbered in oauthproxy.go

see line 55 of oauthproxy.go (link)
We literally overwrite whatever the value is with fmt.Sprintf("%s/callback", opts.ProxyPrefix) even if the user provided a redirect URL they want to use.

I think the reason for the current behavior, is to allow the option to set the scheme://domain, but the path should be known by oauth2_proxy pretty well, so it overwrites just the path.

(agreed it's a odd to ignore the path in the option, maybe it's trying to silently fix mistakes in a manually set callback url path)

As far as I see it, the user specifying a callback URL should specify the callback URL, not the callback  scheme://domain.


xMore maximum player count

Not sure why this should be changed...

Not sure why this should be changed...

I thought it'd be more handy when its dynamic rather than boolean.

Not sure how I am subscribed to your advances server when I never subscribed myselt...

Will look at it later when I'm back on my PC and have time.

I have to close this, as there would be an inherit flaw with that option.
Even when set to 0 would it display the online count, which is not something I myself would want here...
I'll think of a own solution here, but thanks for the contribution.


[Minor Issue] Lumbridge & Draynor Medium Diary

One of the item requirements for Lumbridge & Draynor Medium Diary diary is an Essence in order to craft the lava rune.
However, a Rune essence will mark this requirement as green,
Whereas crafting a lava rune specifically requires a Pure essence or a daeyalt essence.

I've taken some time to explore the code because I need to wait 10 minutes to de-aggro the silk merchant and found that this problem seems to be solved by changing essence_LOW into essence_HIGH in the LumbridgeMedium.java file. I'm far too lazy to open up an editor right now so someone else can do it.
Thanks :p


Allow user-defined rules

I tested the tool on a couple of protein sequences and for one of them the predicted DNA sequence is too complex for synthesis for both IDT and twist.
Twist has the following rules to determine whether a sequence is too complex:
- Avoid repeats of ≥ 20bp or Tm ≥ 60C
- Global GC content must be between 25% and 65%
- Avoid extreme differences in GC content within a gene (i.e. the difference in GC content between the highest and lowest 50bp stretch should be no greater than 52%)
- Minimize homopolymers
- Minimize the number/length of small repeats scattered throughout the sequence
- For HIS tags use a combination of CAC and CAT codons i.e. CACCAT…

Output sequences could be screened for such issues and regenerated if needed.

An option is to use non-deterministic mode to produce many good variants, then use a complexity metric based on those criteria and sort the variants on this metric. We should have a good default metric, but we should also allow users to set the parameters they want (e.g., they don't care about homopolymers so they would not penalize them).

The protein sequence in question is called ecm (uniprot ID Q3IZ90).
I am pasting the predicted DNA sequence because as far as I understand torch is not always reproducible across systems:
ATGACTCAGAAAGACTCACCATGGCTGTTCAGGACCTATGCGGGACACAGCACAGCCAAAGCCTCCAATGCGCTGTACCGTACCAACCTGGCGAAAGGTCAGACCGGTCTGAGCGTGGCGTTTGATCTGCCGACCCAGACCGGCTATGACAGCGATGATGCGCTGGCCCGCGGCGAAGTCGGTAAAGTCGGTGTACCGATCTGCCACCTGGGTGACATGCGTATGCTGTTTGACCAGATCCCGCTGGAACAGATGAACACCTCTATGACCATCAATGCCACAGCACCGTGGCTGCTGGCGCTGTACATTGCCGTAGCTGAAGAGCAGGGTGCGGACATCAGCAAACTGCAGGGTACTGTTCAGAATGACCTGATGAAAGAGTATCTCAGCCGTGGCACCTACATCTGCCCGCCGCGTCCATCTCTGCGCATGATCACCGATGTGGCGGCTTACACCCGTGTTCATCTGCCGAAATGGAACCCGATGAACGTCTGCTCTTACCACCTGCAGGAAGCAGGTGCGACACCGGAACAGGAACTGGCGTTTGCGCTGGCCACCGGTATTGCGGTGCTGGATGACCTGCGCACCAAAGTGCCGGCAGAACATTTCCCGGCGATGGTTGGCCGCATCAGCTTCTTCGTTAACGCCGGTATCCGCTTTGTGACCGAAATGTGCAAAATGCGTGCGTTTGTTGACCTGTGGGATGAGATCTGCCGTGACCGTTACGGTATCGAAGAAGAGAAATACCGCCGTTTCCGCTACGGTGTGCAGGTTAACAGCCTGGGCCTGACCGAACAGCAGCCGGAGAACAACGTCTACCGCATCCTGATTGAGATGCTGGCGGTGACCCTGAGCAAGAAAGCGCGTGCGCGTGCTGTTCAGCTGCCGGCGTGGAACGAAGCGCTGGGTCTGCCGCGTCCGTGGGACCAGCAGTGGAGCCTGCGTATGCAGCAGATCCTGGCCTACGAGTCCGACCTGCTGGAGTATGAAGACCTGTTTGATGGTAACCCGGCGATCGAGCGTAAAGTTGAAGCGCTGAAAGACGGTGCGCGTGAGGAGCTGGCGCACATTGAGGCGATGGGTGGTGCGATTGAAGCGATCGACTACATGAAAGCGCGTCTGGTAGAGAGCAATGCCGAGCGTATTGCCCGTGTGGAGACCGGTGAAACCGTGGTGGTCGGTGTGAACCGCTGGACCTCTGGTGCACCATCTCCGCTGACCACTGGTGACGGTGCGATTATGGTTGCTGATCCGGAAGCAGAGCGCGATCAGATTGCCCGTCTGGAAGCATGGCGTGCGGGTCGTGATGGTGCGGCGGTGGCTGCGGCGCTGGCTGAACTGCGCCGTGCGGCGACCTCCGGTGAGAACGTCATGCCGGCCTCTATTGCCGCTGCGAAAGCCGGCGCCACCACCGGTGAATGGGCGGCAGAGCTGCGCCGTGCCTTCGGTGAGTTCCGCGGCCCGACCGGTGTTGCGCGTGCGCCAAGCAACCGCACCGAAGGTCTGGATCCGATCCGTGAAGCGGTTCAGGCGGTCTCCGCGCGTCTGGGCCGTCCGCTGAAATTTGTGGTCGGTAAACCGGGTCTGGATGGCCACTCCAACGGTGCGGAACAGATTGCCGCGCGCGCGCGCGACTGCGGCATGGATATCACCTACGATGGTATCCGCCTGACGCCAGCGGAGATCGTGGCGAAAGCGGCCGATGAGCGCGCGCACGTCCTCGGTCTGTCCATTCTGTCCGGCTCCCACATGCCGCTGGTGACCGAAGTGCTGGCTGAAATGCGCCGCGCGGGTCTGGATGTTCCGCTGATCGTTGGCGGTATCATTCCGGAAGAAGATGCGGCGGAGCTGCGTGCCTCCGGTGTTGCGGCGGTTTACACCCCGAAAGATTTTGAGCTGAACCGCATTATGATGGATATTGTCGGCCTGGTTGACCGCACTGCGCTGGCGGCGGAATAA
This sequence gives the following output on the IDT gblock analysis tool:

Denied - High Complexity (Scores of 10 or greater)
The identified complexities prevent manufacturing of this sequence.
Total Complexity Score: 18
Complexity Description
Score

One or more repeated sequences greater than 8 bases comprise 61.9% of the overall sequence. Solution: Redesign to reduce the repeats to be less than 40% of the sequence.
8.8
The GC content of the segment from position 1001 to position 1800 is 64.2%. Solution: Redesign to reduce the GC content below 60%.
4.2
This sequence contains a window of 100 bases starting at base 1399 with a GC content of 74%. Solution: Redesign this region to have a GC content less than 69%.
4
A hairpin with the stem sequence CAGATGAACAC exists at the following locations: 250, 458. Solution: Modify the sequence to reduce the length of the stem or complement to less than 10 bases.
1

Aside from repeated sequences, I believe a GC content of >60% is highly unlikely for E. coli coding sequences, so I would expect that to be reflected in the model.

Ah, I forgot to mention that I optimized the sequence with the "E. coli general" setting using the code snippet on PyPi.

@VittorioRainaldi While we work on adding user-defined rules and restrictions, could you try non-deterministic generation of multiple sequences using new updated version to see if it solves your problem?

I tested it with the following settings
:

temperature = 0.2, 0.5, and 0.8
top_p = 0.95
num_sequences = 10

then I calculated the hamming distance of the sequences. While increasing the temperature does lead to more diverse set of sequences, none of the ones I tested passed the IDT screening.
Here is the output I get, first number is GC content, second number is hamming distance.
temperature = 0.2
60.28586013272078 0
60.0816743236345 45
60.13272077590608 47
60.23481368044921 48
60.23481368044921 48
60.23481368044921 48
60.23481368044921 48
60.23481368044921 48
60.23481368044921 48
60.23481368044921 48
temperature 0.5
59.928534966819804 0
60.54109239407861 128
60.0816743236345 103
59.979581419091375 100
60.0816743236345 98
60.28586013272078 99
60.18376722817764 97
60.23481368044921 98
60.23481368044921 98
60.23481368044921 98
temperature 0.8
59.060745278203164 0
59.315977539561004 206
60.13272077590608 195
60.54109239407861 202
60.33690658499234 181
60.18376722817764 186
60.49004594180705 174
59.87748851454824 167
59.826442062276676 175
60.33690658499234 176
By the way, is there a way to calculate how much each sequence differs from the "optimum"? Perhaps an internal scoring function for the model?


Workload scaling operation removes the workload's old pods .

Rancher versions:
rancher/rancher:v2.0.4
rancher/rancher-agent:v2.0.4
Infrastructure Stack versions:
kubernetes:v1.10.1
Docker version: (docker version,docker info preferred)
Containers: 23
 Running: 20
 Paused: 0
 Stopped: 3
Images: 16
Server Version: 17.03.2-ce
Storage Driver: aufs
 Root Dir: /app/var_lib_docker/aufs
 Backing Filesystem: extfs
 Dirs: 153
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-116-generic
Operating System: Ubuntu 16.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.67 GiB
Name: k8s-worker0-testlink
ID: Z5OF:24ZF:FRHZ:EGTN:5F2U:R4PB:H4EU:BCUX:DMP2:EIBX:C2YK:X2OW
Docker Root Dir: /app/var_lib_docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Registry Mirrors:
 https://8jijd8fz.mirror.aliyuncs.com
Live Restore Enabled: false

WARNING: No swap limit support

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
4.4.0-116-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
VMWare
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:

Results:
Old pods are all removed! Shown as above.

Are the pods created using the UI or kubectl?

Pods are created using UI of Rancher.

Probably hitting https://github.com/rancher/rancher/issues/14171, can you try v2.0.6 and see if you still encounter it? Let me know so I can re-open if it's still a bug.

I just found out that workload's default imagePullPolicy is 'Always' and this causes the issue. It is solved after I change the imagePullPolicy to 'IfNotPresent'.


Enabling Emmet Support

This PR enables Emmet support for website building
This PR will also only enable emmet for html, css, sass, scss, xml and jsx files
What is emmet?
check out https://emmet.io/

The last commit changes the Default Emmet leader key from  to  to better imitate VSCode although you still need to do , to expand the Emmet abbreviations

What do you think about using the LSP to handle it? I had been using emmet_ls and didn't face issues with it: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#emmet_ls
We have only one language server setup by default though, which is the Sumneko and maybe we should keep as it's. So people can add emmet support or any other feature when they need them.

Wait so emmet_ls from Mason also serve the same purpose?
I haven't checked it out though

Wait so emmet_ls from Mason also serve the same purpose?
I haven't checked it out though

I guess it does not sure sorry

just tried out emmet-ls
feels like it is more easier than mattn's implementation
so ill close this PR


How does keras multiple losses affect multiple model branchs?

I found just two answers here.
The two answers in the link seem to be contrastive.
Looking at the code seem that the right answer is @wishcome's one. But in my opinion, the right way of doing the backpropagation in the case of the example proposed by @Fábio Perez is that the same as proposed by him.
I report an example (proposed by Fábio Perez-see link) of what I think keras should do:
                        +----+
                        > C  |-->loss1
                       /+----+
                      /
                     /
    +----+    +----+/
 -->| A  |--->| B  |\
    +----+    +----+ \
                      \
                       \+----+
                        > D  |-->loss2
                        +----+

loss1 will affect A, B, and C.
loss2 will affect A, B, and D.

What do you think?

I think that must go back to the Neural Network theory.
The loss (summation of the weighted losses) will update everything but the gradients will update the weights so, if one of the branches is increasing the loss its gradient will take care of it.
To sum up, loss is used in the gradient calculation of the individual weights. You may have the weight updates a bit messed up. I will suggest you to read a paper in essential NN equations.


terraform plan incompatible versions

HI, I trying this project out and I am getting an incompatible version in the hcloud plugin. See below.
terraform init outs
`* provider.external: version = "~> 1.2"

provider.hcloud: version = "~> 1.23"
provider.null: version = "~> 2.1"
provider.template: version = "~> 2.2"
 root@lab:~/saltstack-kubernetes/terraform$ terraform plan

Error: Error asking for user input: 1 error(s) occurred:

module.provider.provider.hcloud: Incompatible API version with plugin. Plugin version: 5, Core version: 4

root@lab:~/saltstack-kubernetes/terraform$
`
`root@lab:~/saltstack-kubernetes/terraform$ terraform --version
Terraform v0.11.7

provider.cloudflare v1.18.1
provider.external v1.2.0
provider.hcloud v1.23.0
provider.null v2.1.2
provider.template v2.2.0

Your version of Terraform is out of date! The latest version
is 0.14.0. You can update by downloading from www.terraform.io/downloads.html
root@lab:~/saltstack-kubernetes/terraform$`
Can you shed some light on how to fix this issue?

Terraform has been update and tested with 0.14.4 version

Terraform has been update and tested with 0.14.4 version


It would be amazing to split the country data into regions

Hey @mikecao , I know how you feel about analytics at the city level, but would you consider doing more subregions than just countries? Like states/provinces in North America?
North America, Russia, China, Australia and India cover huge chunks of the map. It would be really nice to have the data points reduced more to the size of France..
This would be especially handy in Canada where the language is different in different provinces.

It looks like this data (IP by region) isn't existing in the geolite db... but I wonder if there is another way to get it without too much trouble.
Region vs country doesn't seem to change the level of privacy of the users either.

@christopherpickering You beat me to add this issue. This was one of the most requested features on Plausible and they added it just last month; it is pretty neat.
@mikecao You might be already aware of it, but some of the discussions around the same can be found here:

https://github.com/plausible/analytics/discussions/102
https://github.com/plausible/analytics/discussions/219

They moved to use https://db-ip.com/ from Geolite to support this.
On a separate note, I installed this a few hours ago in our production for one of the sites and the countries are not populating as expected. I opened it as a separate issue: https://github.com/mikecao/umami/issues/984

Nice, well the other geo2 database does include the region.


Remove regex from induct command

excuse me I think you've made a mistake there's about 77 change requests missing thanks

nah u done just about good enough on this one


Add a message for all tasks completed?

I see
INFO: Waiting for the completion of 10 tasks.
INFO: Waiting for the completion of 5 tasks.
INFO: Waiting for the completion of 2 tasks.
INFO: Waiting for the completion of 1 task.
INFO: Waiting for the completion of 1 task.

and a final ALL tasks have been completed should follow. Otherwise it appears that users should continue to wait.
The problem here is that the 'zero task' status is the most common case of the task engine, so it does not know if the status is a step down from having running or pending tasks, unless we are ok with generating a no task message every minute when there is no task.

The only way to implement this is to add a engine busy flag, and say, if the engine is busy and 1 minute has passed, we print a message and set the engine to idle. It is doable but I am not sure if it worth the trouble for such a small feature.

and a final ALL tasks have been completed should follow.

For my case, since all tasks are complete, the output file summary INFO line will follow anyways. So I don't see it is an important feature to add.


Add favicon to devportal tab

Hi there, can we please add the Aiven favicon to the browser tab for dev portal?

This is added! Thanks @gskhan :)


Synctrayzor displays "Syncthing starting" with white screen

Synctrayzor version: 1.1.24
Syncthing version: v1.10.0, Windows (64 bit) "Fermium Flea"
Windows version: Windows 10 x64 Version 2004 Build 19041.508
Sidenote: I don't recall Windows, Synctrayzor, Syncthing, to have been updated recently, everything was normal this morning, and after a reboot, this problem appeared. I haven't changed any folder settings recently either.

Open Synctrayzor
Synctrayzor starts, displays "Syncthing starting" and stays like this for 10 minutes or so until error (below)
In the meantime, all menu bar items under "Syncthing" are greyed out except "Kill all syncthing processes"
Tray icon: Grey, tasks relating to syncthing greyed out
Check syncthing is running normally: Change GUI listen address to <IP_ADDRESS>:8384 from default localhost:8384 (File/Settings/Syncthing), syncthing now accessible in browser and appears to be running normally (I don't know why localhost doesn't work and <IP_ADDRESS> does)
After a while Synctrayzor opens error message "Unable to start Syncthing: Unexpected exception while starting Syncthing: Syncthing didn't connect after 00:10:00. Please see Syncthing's console output for clues. (This doesn't always appear after 10 minutes, sometimes it doesn't appear)

[monitor] 19:21:28 INFO: Log output saved to file "C:\Users\**\AppData\Local\Syncthing\syncthing.log"
[start] 19:21:28 INFO: syncthing v1.10.0 "Fermium Flea" (go1.15.2 windows-amd64<EMAIL_ADDRESS>2020-09-15 17:38:23 UTC
[start] 19:21:28 INFO: Using large-database tuning
[**] 19:21:28 INFO: My ID: **
[**] 19:21:29 INFO: Single thread SHA256 performance is 1695 MB/s using minio/sha256-simd (404 MB/s using crypto/sha256).
[**] 19:21:29 INFO: Hashing performance is 986.66 MB/s
[**] 19:21:29 INFO: Overall send rate is unlimited, receive rate is unlimited
[**] 19:21:29 INFO: Using discovery mechanism: global discovery server https://discovery.syncthing.net/v2/?noannounce&id=LYXKCHX
[**] 19:21:29 INFO: Using discovery mechanism: global discovery server https://discovery-v4.syncthing.net/v2/?nolookup&id=LYXKCHX
[**] 19:21:29 INFO: Using discovery mechanism: global discovery server https://discovery-v6.syncthing.net/v2/?nolookup&id=LYXKCHX
[**] 19:21:29 INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
[**] 19:21:29 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 21027
[**] 19:21:29 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8384]:21027
[**] 19:21:29 INFO: Ready to synchronize "**"
[**] 19:21:29 INFO: Ready to synchronize "**"
[**] 19:21:29 INFO: GUI and API listening on [::]:8384
[**] 19:21:29 INFO: Access the GUI via the following URL: http://<IP_ADDRESS>:8384/
[**] 19:21:29 INFO: My name is "**"
[**] 19:21:29 INFO: Device ** is "**" at [dynamic]
[**] 19:21:29 INFO: Device ** is "**" at [dynamic]
[**] 19:21:29 INFO: Device ** is "**" at [dynamic]
[**] 19:21:29 INFO: QUIC listener ([::]:22000) starting
[**] 19:21:29 INFO: TCP listener ([::]:22000) starting
[**] 19:21:37 INFO: Completed initial scan of sendreceive folder "**"
[**] 19:21:40 INFO: New NAT port mapping: external TCP address ** to local address <IP_ADDRESS>:22000.
[**] 19:21:40 INFO: New NAT port mapping: external TCP address ** to local address <IP_ADDRESS>:22000.
[**] 19:21:40 INFO: New NAT port mapping: external TCP address ** to local address <IP_ADDRESS>:22000.
[**] 19:21:40 INFO: Detected 3 NAT services
[**] 19:21:42 INFO: Completed initial scan of sendreceive folder "**"
[**] 19:21:44 INFO: Established secure connection to ** at **/tcp-server/TLS1.3-TLS_AES_128_GCM_SHA256
[**] 19:21:44 INFO: Device ** client is "syncthing v1.10.0" named "**" at **/tcp-server/TLS1.3-TLS_AES_128_GCM_SHA256
[**] 19:21:49 INFO: quic://<IP_ADDRESS>:22000 detected NAT type: Port restricted NAT
[**] 19:21:49 INFO: quic://<IP_ADDRESS>:22000 resolved external address quic://** (via stun.syncthing.net:3478)
[**] 19:22:02 INFO: Established secure connection to ** at **/relay-client/TLS1.3-TLS_AES_128_GCM_SHA256
[**] 19:22:02 INFO: Device ** client is "syncthing v1.10.0" named "**" at **/relay-client/TLS1.3-TLS_AES_128_GCM_SHA256
[**] 19:23:24 INFO: Joined relay relay://<IP_ADDRESS>:22067
[**] 19:44:19 INFO: Connection to ** at **/relay-client/TLS1.3-TLS_AES_128_GCM_SHA256 closed: reading length: EOF

Let me know what more information I need to provide to contribute

Please provide the SyncTrayzor log file? You'll find a button to show it until File -> Settings -> Logging (IIRC)

Here is the log:
SyncTrayzor.log

Here is the log:
SyncTrayzor.log

That log file seems to show a different problem, with Syncthing exiting immediately whenever we try to start it

And it's working again.

Hi.
I got a similar issue,
Synctrayzor version: 1.1.23
Syncthing version: v1.10.0, Windows (64 bit) "Fermium Flea"
Windows version: Windows 10 x64
Syncthing updated and after that I get the white screen with "Syncthing started"
Here is the debug level log:
[
synctray.log
](url)

I "fixed" it bei deleting the data folder and starting with a new config / syncthing install.

Note the timestamps in those two logs don't line up: the Syncthing log starts at 11:17, while the SyncTrayzor one ends at 11:05.
Either way, Syncthing logs the following messages when it's started enough to be accessed over its web interface or API:
INFO: TCP listener ([::]:22000) starting
INFO: GUI and API listening on <IP_ADDRESS>:8384
INFO: Access the GUI via the following URL: http://localhost:8384/
INFO: My name is "XXX"

Those don't appear in either of the logs, which means Syncthing simply hadn't started enough for SyncTrayzor to access its API. This is supported by the fact that SyncTrayzor is unable to connect to its API.
I've just tried 1.11.0-rc.1, and everything seems fine, so I don't think there's anything fundamentally wrong with that version.
Sometimes Syncthing wants to do a database upgrade or something between versions and that takes a while, during which time SyncTrayzor can't connect.

Closing as explained


CCLabelTTF with custom font disappears on 64-bit device

It's weird, but only on 64bit device (iphone 5S) label completely disappears. We're using this font https://www.google.com/fonts/specimen/Electrolize if it matters. And it works fine on other devices. Has anyone else experienced similar issue?

cocos2dx version 2.2.6 for 64bit , CCLabelTTF invisible with some words! But can be visible when other words or other fontSize. Beg for the way to solve it !!!
The source code is so different that I can't do "Switches floats to CGFloat" operation, can you help me?

try this https://github.com/cocos2d/cocos2d-x/commit/dc15993c391c3919e0aafaf19845ad9ee8905935


tensorflow-gpu not working.

I have installed tensorflow-gpu on my desktop which has two high powered NVidia gpu cards and it unfortunately is not using the gpu.  I have implicitly told it to import tensorflow-gpu and it causes an error.  Does anyone know how to get the main.py code to use the GPU?

Hey, sorry it took me so long to see this.
If you have 2 gpus you should use the dist-version otherwise it will only use one of the gpus. You shouldn't have to specifically import tensorflow-gpu in the code though. Do you know if it ran on any of your cards?


Amazon Pay support

Is your feature request related to a problem? Please describe.
Amazon Pay is not available in the cartridge as payment method and express checkout option
Describe the solution you'd like
Amazon Pay available in the cartridge as payment method and express checkout option
Additional context
I can see there is work being done on the develop branch regarding Amazon Pay as payment method: https://github.com/Adyen/adyen-salesforce-commerce-cloud/commit/2cd91e97ec22b791d67e38cb3c53ad5d5197e498
Is there an official release date for 1. Amazon Pay as payment method 2. Amazon pay as express checkout option?
Thanks
Best
Christian

Hi @christianzichichi ,
Amazon Pay as payment method will be available in the upcoming release (version 21.2.0).
We are currently in a testing phase and will start the release shortly after.
As this enhancement is a duplicate of this, I will close this one.
Kind regards,
Bas Maassen
Adyen


fix(bugs): fixed a lot of bugs

Signed-off-by: cndoit18<EMAIL_ADDRESS>Too much, I need to find Issues for it.
Can I help me together? please
fixes #643
fixes #605

[x] I've made sure the Changelog.md will remain up-to-date after this PR is merged.

cc @AMecea @calind

LGTM @AMecea

LGTM @AMecea

Sorry, I deleted the fork repository before, so I couldn't submit this PR update, I have migrated to #690 and will close this PR