[ZEPPELIN-6035] fix Cron setting for Notebook

What is this PR for?
Fixes an issue where the Zeppelin Frontend was unable to create or update cron settings for any notebook. Fixes incorrect parsing of the roles submitted in the change request.
What type of PR is it?
Bug Fix
Todos

What is the Jira issue?
(https://issues.apache.org/jira/browse/ZEPPELIN-6035)
How should this be tested?
Open Zeppelin Web UI
Open any Notebook
Click the Cron Icon
set any cron expression
Expected Behaviour:

no Error should occur
the new cron expression is saved in the notebook
the notebook is automatically  run according to the cron expression

Screenshots (if appropriate)
Image of the Error Message that is fixed with this MR

Questions:

Does the license files need to update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Thank you for your contribution. Can you add a unit test? The fix looks good to me.

@Reamer unfortunately I don't have the time to write a unit test for that code. I didn't write the original implementation with the bug and don't understand it enough to write tests for it in the foreseeable future

I understand. Thanks for your contribution.

now I can can enable the cron，but can't disable it back.
cronExecutingRoles is empty string not null, so it throwed NullPointerException.

ERROR [2024-09-24 06:23:05,826] ({qtp992802731-1725} NotebookServer.java[onMessage]:494) - Can't handle message: {"op":"NOTE_UPDATE","data":{"id":"2GZXSDYKB","name":"liguoliang-test","config":{"isZeppelinNotebo
okCronEnable":true,"looknfeel":"default","personalizedMode":"false","cronExecutingUser":"","cronExecutingRoles":""}},"principal":"admin","ticket":"f3059116-f5b9-4959-bb01-e5442f008543","roles":"["admin"]","msgId":"eopyf-12"}
java.lang.NullPointerException
at java.util.HashSet.(HashSet.java:119)
at org.apache.zeppelin.user.AuthenticationInfo.(AuthenticationInfo.java:72)
at org.apache.zeppelin.service.NotebookService.lambda$updateNote$17(NotebookService.java:901)
at org.apache.zeppelin.notebook.Notebook.lambda$processNote$9(Notebook.java:495)
at org.apache.zeppelin.notebook.NoteManager$NoteNode.loadAndProcessNote(NoteManager.java:631)
at org.apache.zeppelin.notebook.NoteManager.processNote(NoteManager.java:330)
at org.apache.zeppelin.notebook.Notebook.processNote(Notebook.java:483)
at org.apache.zeppelin.notebook.Notebook.processNote(Notebook.java:469)
at org.apache.zeppelin.service.NotebookService.updateNote(NotebookService.java:875)
at org.apache.zeppelin.socket.NotebookServer.updateNote(NotebookServer.java:966)
at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:417)
at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:278)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


Unable to Access Remote Branch RE: Branches Aren't For Birds (Git-it)

Issue: Unable to push changes to remote branch.
Messages:
remote: Permission to jlord/patchwork.git denied to sedmonds.
fatal: unable to access 'https://github.com/jlord/patchwork.git/': The requested URL returned error: 403

great !, thank for share.


[Issue] ShowIf / EnableIf does not work with Arrays or Lists in nested classes

[ShowIf("ShowIfTest")]
public int[] test;
public bool ShowIfTest => false;

Here is the code I used to test it, no nesting.
It should be hidden, but no matter what, it will always show. Tried with List as well.
I tried to search around current and past issues, but nothing came up on this issue.
Is there any workaround for this issue, or did I miss the proper way to do this?
Thank you for all your work!

It works on my end mate.
Can you try it on an empty project? It should work.
Probably some other editor script is overriding NaughtyAtribute's inspector.

Hello! Thank you for the quick response :)
I'm trying this now (which is closer to my own use-case), and I'm failing to see what I could be doing wrong here, or how something is overriding NaughtyAtribute's inspector... any tips on what to look for that could be overriding this?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NaughtyAttributes;

public enum TestEnum
{
    One,
    Two
}

[System.Serializable]
public class TestClass
{
    public TestEnum enumValue;

    [ShowIf("ShowIfOne")]
    [AllowNesting]
    public int[] one;

    [ShowIf("ShowIfTwo")]
    [AllowNesting]
    public int[] two;

    public bool ShowIfOne => enumValue == TestEnum.One;
    public bool ShowIfTwo => enumValue == TestEnum.Two;
}

public class testsomething : MonoBehaviour
{
    public TestClass reactiveAction;
}

This is indeed a bug. If not nested it works fine, but when nested inside a subclass it doesn't work.
I will fix it mate, thank you very much.
public class _NaughtyComponent : MonoBehaviour
{
	public NumEnum enumValue;

	[ShowIf("ShowIfOne")]
	public int[] one;

	[ShowIf("ShowIfTwo")]
	public int[] two;

	public bool ShowIfOne => enumValue == NumEnum.One;
	public bool ShowIfTwo => enumValue == NumEnum.Two;
}

Interesting! Thank you so much for looking into it :)

I understood why it's now working. Look at this example.
public class _NaughtyComponent : MonoBehaviour
{
	public MyClass nest;
}

[System.Serializable]
public class MyClass
{
	[ReadOnly]
	public int[] one;

	[ReadOnly]
	public int[] two;
}

Even though I've marked the arrays with [ReadOnly] the property drawer is applied to each element of the arrays, not the arrays themselves. This is how Unity applies CustomPropertyDrawers to lists/arrays. This is what happens with the [AllowNesting] attribute. [AllowNesting] is a normal drawer, it just triggers the meta attributes' behaviors (like [ShowIf] for instance). The problem is that NaughtyAttributes triggers the behaviors before the actual drawer is called. The drawer can't handle the visibility itself, because the parent property is already drawn. I can make it handle the visibility itself, but the result will be just like the [ReadOnly] attribute. The array will be visible, only the child elements will not.
The reason why the [ShowIf] works for not nested arrays is that I can get the array and say to Unity - "draw the property and its children". Before I draw the property and its children, I check if it is visible. If it's not I don't draw it at all.
I can't think of a way to fix it :(

I'm not very sure either how to fix it :(
I guess for now, if you ever find some sort of workaround, let me know!! Would be very useful to have! Thank you so much for investigating the issue however, I really appreciate it :)

Hi, I don't know exactly how it's implemented in Naughty, but until this is fixed, here's a temporary fix we used on our end - a drawer for @jurcaua's TestClass:
[CustomPropertyDrawer(typeof(TestClass))]
public class TestClassDrawer : PropertyDrawer {
    public override void OnGUI(Rect _, SerializedProperty property, GUIContent __) {
        var childDepth = property.depth + 1;
        EditorGUILayout.PropertyField(property, includeChildren: false);
        if (!property.isExpanded) {
            return;
        }
        EditorGUI.indentLevel++;
        foreach (SerializedProperty child in property) {
            if (child.depth == childDepth && PropertyUtility.IsVisible(child)) {
                EditorGUILayout.PropertyField(child);
            }
        }
        EditorGUI.indentLevel--;
    }

    public override float GetPropertyHeight(SerializedProperty property, GUIContent label) {
        return EditorGUI.GetPropertyHeight(property, label, includeChildren: false) - 20;
    }
}

This is the code I used for our task, so it might have some extra lines, but it worked without any modifications for TestClass too ;)

Hi, I don't know exactly how it's implemented in Naughty, but until this is fixed, here's a temporary fix we used on our end - a drawer for @jurcaua's TestClass:
using NaughtyAttributes.Editor;
using UnityEditor;
using UnityEngine;

[CustomPropertyDrawer(typeof(TestClass))]
public class TestClassDrawer : PropertyDrawer {
    public override void OnGUI(Rect _, SerializedProperty property, GUIContent __) {
        var childDepth = property.depth + 1;
        EditorGUILayout.PropertyField(property, includeChildren: false);
        if (!property.isExpanded) {
            return;
        }
        EditorGUI.indentLevel++;
        foreach (SerializedProperty child in property) {
            if (child.depth == childDepth && PropertyUtility.IsVisible(child)) {
                EditorGUILayout.PropertyField(child);
            }
        }
        EditorGUI.indentLevel--;
    }

    public override float GetPropertyHeight(SerializedProperty property, GUIContent label) {
        return EditorGUI.GetPropertyHeight(property, label, includeChildren: false) - 20;
    }
}

This is the code I used for our task, so it might have some extra lines, but it worked without any modifications for TestClass too ;)

Thanks, I'll look into it

@dbrizov was this fixed? I'm still experiencing the save issue in 2.1.4

My solution for this was to create a NestedArray class with an Array/List inside. It's a bit unwieldy (adds an extra layer of depth to the inspector hierarchy) but at least I can Show/Hide collections.
[System.Serializable]
public class NestedArray<T>
{
    public T[] Array;
}

My solution for this was to create a NestedArray<T> class with an Array/List inside. It's a bit unwieldy (adds an extra layer of depth to the inspector hierarchy) but at least I can Show/Hide collections.
[System.Serializable]
public class NestedArray<T>
{
    public T[] Array;
}

ye!
i make HideNestedArrayAttribute
using System;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
/// <summary>
/// ____DESC:
/// </summary>
[AttributeUsage(AttributeTargets.Field, Inherited = true)]
public class HideNestedArrayAttribute : PropertyAttribute
{

}
#if UNITY_EDITOR
[CustomPropertyDrawer(typeof(HideNestedArrayAttribute))]
public class HideNestedArrayDrawer : PropertyDrawer
{
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    {
        var array = property.FindPropertyRelative("Array");
        EditorGUI.PropertyField(position, array, new GUIContent(property.displayName));
    }
    public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
    {
        var array = property.FindPropertyRelative("Array");
  // These numbers are tried out. I don't know how to get it.
        if (array.isExpanded)
        {
            return 70 + Mathf.Clamp((array.arraySize-1) * 20, 0, float.MaxValue);
        }
        else
            return 20;
    }
}
#endif

public class NewMonoBehaviour : MonoBehaviour
{
    public bool useIds;
    [HideNestedArray, ShowIf("useIds")]
    public NestedArray<int> ids;

    public TestArray testArray ;

    [System.Serializable]
    public class TestArray
    {
        public bool useIds;
        [ShowIf("useIds"), AllowNesting, HideNestedArray]
        public NestedArray<int> ids;
    }
}


Move the scanning functionality into a library

This PR moves the scanning logic into a separate package so it can be used as a library inside other projects.
All feedback more than welcome!

awesome! thanks! sorry for the delay!


Multiple Config Credentials

Can we change this credentials dynamically?
TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
TWITTER_ACCESS_TOKEN
TWITTER_ACCESS_TOKEN_SECRET

You can just define the array of credentials, check if the limit of any credentials is met. if max limit of any credentials is met use another one. I don't think so this would be the good approach. If you want to increase limit you can fetch more data in the single request so you don't run of out requests limit. Why do you want to use different credentials?


opensource

hello,when does netdem will be open？

Hi, thank you for your interest. We do not have a specific plan yet. Let us get connected<EMAIL_ADDRESS>and I will keep you updated. --- Zhengshou


Remove forwardRef in ts2dart

Dart does not have a forwardRef problem, and so you can have ts2dart just strip it out.
forwardRef(()=>MyType) becomes MyType.
example:
directives: [
  bind(forwardRef(() => MyType).toClass(forwardRef(() => MyImpl),
  forwardRef(() => MyImpl)
]

becomes
directives: [
  bind(MyType).toClass(MyImpl),
  MyImpl
]

Closed via https://github.com/angular/ts2dart/commit/01f51f69d4c970a406babb3025bcc21e10860616


Bring back tsan testing for the CI

The task system redesign led to numerous new tsan warnings in the test code for rmf_fleet_adapter. The warnings generally appear to be specific to the tests and not a general concern for actual usage of rmf_fleet_adapter, so we have temporarily disabled the tsan workflow to move along release 22.02.
Nevertheless we should bring back the tsan tests as time permits. The previous tsan workflow file can be found here for reference..

I have recreated the tsan but with a reusable workflow. It's failing as described so I proceed to just to disable it:
https://github.com/open-rmf/rmf_ros2/actions/workflows/tsan.yaml


Feat/pf tests v2 - Reopened to respond to reviewer and add GH actions

Reopened to respond to reviewer and add GH actions

Added extras ...

Batch tests file data.jsonl (this will change to use Jan's work), has two simple tests for Promptflow
GitHub action to build environment, run promptflow batch, and check output

This PR finishes off the end-to-end tests first draft. See below for a summary from CONTRIBUTION.md.
Note, it also includes a new demo data zipfile, script to download and documentation, so assistant analysis tests can be run.
End-to-end tests
End-to-end tests have been configured in GitHub actions which use promptflow to call a wrapper around the chainlit UI, or order to test when memories/recipes are used as well as when the assistant does some on-the-fly analysis. To do this, the chainlit class is patched heavily, and there are limitations in how
cleanly this could be done, so it isn't an exact replica of the true application, but does capture changes
with the flow as well as test the assistant directly. The main body of integration tests will test recipes server and the assistant independently.
Additionally, there were some limitation when implementing in GitHub actions where workarounsd were implemented
until a lter data, namely: promptflow is run on the GitHub actions host rather than in docker, and the promptflow wrapper to call chainlit has to run as a script and kill the script based on a STDOUT string. These should be fixed in future.
Code for e2e tests can be found in flows/chainlit-ui-evaluation as run by .github/workflows/e2e_tests.yml
The tests work using promptflow evaluation and a call to an LLM to guage groundedness, due to the fact LLM assistants can produce slightly different results if not providing answers from memory/recipes. The promptflow evaluation test data can be found in flows/chainlit-ui-evaluation/data.jsonl.
A useful way to test a new scenario and to get the 'expected' output for data.jsonl, is to add it to call_assistant_debug.py.
TODO, future work:

Add promptflow to docker-compose-github.yml and update action to use this env (time was short and wasn't working). This will reduce overhead and complexity
Figure out how to make call_assistant.py exit async look so it doesn't have to run in a wrapper that then kills process
Push docker containers to a registry so flow doesn't run build every time
Bug the chainlit folks to see if they can do something more formal around testing, to avoid complex monkey patching


[BUG] Delete != maybe?

eve fails with:
/home/falcou/infra/tindalos-2/_work/eve/eve/test/unit/api/udt/comparison.cpp:60:55: error: C++20 says that these are ambiguous, even though the second is reversed: [-Werror]
   60 |   lp_t checks = [&](auto i, auto) { return lhs.get(i) != rhs.get(i); };
      |                                            ~~~~~~~~~~~^~~~~~~~~~~~~
/home/falcou/infra/tindalos-2/_work/eve/eve/include/eve/detail/kumi.hpp:344:27: note: candidate 1: ‘constexpr auto kumi::operator!=(const tuple<Ts>&, const Other&) requires  sizeof ... (Ts ...) != 0 && (equality_comparable<kumi::tuple<Ts ...>, Other>) [with Other = udt::label_position; Ts = {float, unsigned char}]’
  344 |     friend constexpr auto operator!=(tuple const &self, Other const &other) noexcept
      |                           ^~~~~~~~
/home/falcou/infra/tindalos-2/_work/eve/eve/include/eve/detail/kumi.hpp:327:27: note: candidate 2: ‘constexpr auto kumi::operator==(const tuple<Ts>&, const Other&) requires  sizeof ... (Ts ...) != 0 && (equality_comparable<kumi::tuple<Ts ...>, Other>) [with Other = udt::label_position; Ts = {float, unsigned char}]’ (reversed)
  327 |     friend constexpr auto operator==(tuple const &self, Other const &other) noexcept
      |                           ^~~~~~~~
cc1plus: all warnings being treated as errors

Fix has been merged.
Have to update EVE after new KUMI release


linkit config locale dropdowns fail

I have a site with multiple locales. Created a linkit field in a supertable, and when I configure the field (gear icon), the Which locale do you want to select entry in? and Which locale do you want to select category in? dropdowns appear as raw html

I don't believe this is an issue with Super Table, as my testing has found this to be an issue with a standalone Linkit field. Please refer to this pull request in the Linkit repository, and encourage the author to incorporate it!


Problem with running your codes in the colab space

I try to run your codes with your instruction in the colab; but unfortunately, I see many bugs in running. The main error is coming from pytorch_lightning that in your custom version return this error:
from torchtext._torchtext import ( ImportError: /usr/local/lib/python3.7/dist-packages/torchtext/_torchtext.so: undefined symbol: _ZNK3c104Type14isSubtypeOfExtERKSt10shared_ptrIS0_EPSo
After changing many versions of your requirements and solving last error; Finally I receive this error:
TypeError: __init__() got an unexpected keyword argument 'enable_pl_optimizer'
Please check your codes in colab, and if it's possible for you, share your correct codes in the colab env.
thanks

For the initial error of torchtext I just uninstalled torchtext with pip3 uninstall torchtext
For the second error I installed Pytorch lightning v.1.1.4 through their Github with pip3 install<EMAIL_ADDRESS>Let me know if that helps in any way

Thanks for your answers @NBerlin, Your solution worked for me.


Report Export

Hi,
After clicking on the export report to Excel its importing in .xml file needs to be checked.

Hi,
Yes, it's imorted to xml that opened by Excel. How it is need to be checked?


WIP, DOC: SciPy 1.11.0 release notes

add draft author list, and fix broken .mailmap file (Zoufiné Lauer-Bare had an invalid entry)
add draft issue/PR lists
transcribe/reformat wiki release notes to the rst format
manually scan the 118 merged enhancement PRs, and update any missing entries in the release notes
fixes from checking doc build locally: python dev.py doc html -j 12

TODO:

[ ] release notes highlights, probably with help from the folks sprinting on sparse arrays, and something for the enormous volume of stats work done
[ ] there's still a lot of activity happening, so probably another round or two of updates to merged PRs
[ ] check for old/merged PRs missing the milestone
[ ] more .mailmap updates
[ ] deal with the remaining pending PRs with a milestone... there are 7 at the time of writing, but I'm probably out of energy for those today.

@perimosocordiae said he'd try to help me document the recent sparse updates

I still plan to branch on May 29th at some reasonable hour of US Mountain Time. I'll try to make a few more rounds of improvements here, check the sparse notes on the HackMD for the recent sprint, etc., but I do expect the release notes to mutate a bit during the RC phase because of the volume of last minute changes.

I merged Matt's PR to my branch in. Feel free to ping me directly if you make such a PR so I see it right away on my phone tomorrow.

For reference, here are the final notes on scipy.sparse changes from the Summit last week: https://hackmd.io/@y1KjxOX0RyaAGSI6B4cY0g/B1Y47nAHh

I wrote a first draft of the release highlights and made a bunch of other cleanups to the release notes. The rendered version of the notes looks nice locally.
Of course, there is always room for improvement, but if the CI passes here I'm likely to merge and move forward with the branching timeline, with release notes refinements accepted before RC1 on Wednesday and where needed during the RC phase.

Presumably there will be a PR for updates at some point, into which we can merge https://github.com/mdhaber/scipy/tree/gh18563.


Update Set-PnPAzureADAppSitePermission.md

Removed notice section from description. Do not see any special permisison in SET compared to GRANT. Both seem to have all four permissions avaialble i.e. Read|Write|Manage|FullControl
" Notice that this cmdlet allows for more permissions compared for when initially setting rights through"
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/powerShell/blob/dev/CONTRIBUTING.md
Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
Fixes #X, partially fixes #Y, mentioned in #Z, etc.
What is in this Pull Request ?
Please describe the changes in the PR.
Guidance

You can delete this section when you are submitting the pull request.*
Please update this PR information accordingly. We use this as part of our release notes in monthly communications.
Please target your PR to Dev branch. If you do not target the Dev branch we will not accept this PR.

Thanks @rohit404404 , for fixing this !


Contribution to source code

This is not an issue that I am raising but didn't know where else to raise a technical question otherwise.
I would like to contribute to the source code of RaiBlocks and its development. I would like to know about any design documents and also why is there no 'src' folder in RaiBlocks github code - it kinda makes it hard on where to get started ;)
Any comments are appreciated.

The implementation isn't described by any design docs afaik.  The protocol is described in the whitepaper.
The wiki here on GitHub has some docs about how to build it.
A great place to get started is the issues list IMO. Several of these are clear bug reports that just need some legwork to investigate and fix.

I cannot find a design document. Can you please share that with me?
In spite of being a core software developer, I find it hard to get started with RaiBlocks source. With a project (now worth a Billion $) I would expect some more open-ended design than the one iI currently see. No comments in source code. What is the starting point of Rai?
PS: I have worked on Bitcoin source code before so I am aware of how it functions and how that it is structured.
Thanks!


Add screenshot of Clipboard feature

Adding screenshot of Clipboard functionality to HelpWindow
There are several clipboard-copying features available in the user interface for users to quickly copy contents.
As a step towards functionality, let's add a screenshot to the HelpWindow to inform users how to use the feature. Doing so will
make the adoption by the user simpler.
The updated user interface will look something as per the screenshot below:

Resolves #217

Codecov Report

Merging #218 (4a6d698) into master (a258636) will increase coverage by 0.28%.
The diff coverage is 82.60%.

@@             Coverage Diff              @@
##             master     #218      +/-   ##
============================================
+ Coverage     63.54%   63.82%   +0.28%
- Complexity      539      553      +14
============================================
  Files            99      101       +2
  Lines          1964     1985      +21
  Branches        216      218       +2
============================================
+ Hits           1248     1267      +19
- Misses          664      666       +2
  Partials         52       52

Impacted Files
Coverage Δ

src/main/java/foodwhere/commons/core/Messages.java
0.00% <ø> (ø)

src/main/java/foodwhere/ui/HelpWindow.java
0.00% <0.00%> (ø)

...in/java/foodwhere/logic/commands/RFindCommand.java
100.00% <100.00%> (ø)

...java/foodwhere/logic/parser/AddressBookParser.java
83.33% <100.00%> (+0.72%)
:arrow_up:

...ava/foodwhere/logic/parser/RFindCommandParser.java
100.00% <100.00%> (ø)

...where/model/review/NameContainsStallPredicate.java
100.00% <100.00%> (+28.57%)
:arrow_up:

...ere/model/stall/NameContainsKeywordsPredicate.java
100.00% <100.00%> (ø)

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


Compatability with Vivaldi

Hi, I have the extension "enabled" in Vivaldi Browser, but with no effect.. Any ideas? I'm addicted to the Extension!

I'm not familiar with Vivaldi, and I don't plan support for non-Chrome browsers. It probably doesn't support Chrome-only APIs like syncing with the Google Account.


kubeadm: add instruction to check kubelet status

kubelet can fail to start due to various reason, e.g mismatching cgroup
drivers. Add this step to save user having to go back and check when
found etcd cluster is not running successfully.

I signed it

I signed it

/lgtm

/sig cluster-lifecycle


Add commons-logging-jboss-logmanager dependency to test to avoid CNF Exception

The Exception doesn't make the tests to fail but is displayed in the test logs.

This is because the <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> is set in the surefire configuration. I've removed that in #621
The other option is to add dependency to the org.jboss.logmanager:jboss-logmanager and a configuration file. Just removing the property seems fine for now though.
The reason this works is because of a transitive dependency on the log manager. However, we'd want a direct dependency and not use the commons-logging.


RTL support

im facing the gesture issue in RTL mode, we need to swipe in opposite direction
im using this with react native tab view and react navigation

@ferrannp How I can pass RTL props https://github.com/callstack/react-native-pager-view/blob/18b9d77792c672cd30e28c86b1576634a890a1cb/android/src/main/java/com/reactnativepagerview/PagerViewViewManager.kt#L219

Could you confirm, that pager view should behave in below way:
https://snack.expo.io/@pagerview/rtl

@troZee yes exactly

@mehthabux I implemented RTL for an Android and I was trying to do the same for an iOS, but I don't know why it does not work. I created a separate project, where I implemented it using below tutorial:
http://redstonetec.blogspot.com/2013/09/uipageviewcontroller-in-right-to-left.html
And it worked. The problem is with calling viewControllerBeforeViewController method. In the separate project, this method was called, when user swipes to the left, but it does not call in the lib.
You can find an implementation for an Android on this branch feat/rtl
I can upload this example, if someone would like to take a look on it.

@troZee As I remember the old version of "@react-native-community/viewpager": "^4.1.0", it was working fine.

thank you @troZee , let me check it 👍

@troZee As I remember the old version of "@react-native-community/viewpager": "^4.1.0", it was working fine.

I am confused, bc we haven't supported RTL in this library. Could you provide a code snippet with working RTL ?

@mikeqcp it's only work when set layoutDirection='rtl' but still having the same issue when using the default.
I18nManager.forceRTL(true);

I've tested on Android, and after setting I18nManager.forceRTL(true); , I've tried following options:
viewPager.layoutDirection = View.LAYOUT_DIRECTION_LOCALE
viewPager.layoutDirection = View.LAYOUT_DIRECTION_INHERIT
viewPager.layoutDirection = if (TextUtilsCompat.getLayoutDirectionFromLocale(Locale.getDefault()) == ViewCompat.LAYOUT_DIRECTION_LTR) View.LAYOUT_DIRECTION_LTR else View.LAYOUT_DIRECTION_RTL
All of these result in using LTR layout, despite rest of the app is using RTL layout.
@troZee Any ideas why RTL doesn't get applied?
If deducing layout automatically is problematic, maybe we should simplify the layoutDirection prop to only allow ltr / rtl values with ltr as default?

I've managed to fix the device RTL setup detection by moving it to react-native code instead of implementing it for ios/android separately.
@aleppos #402 should resolve the issue


Add 'verify-cvp' verb to verify CVP test results

Example: Verify CVP test results for all latest 4.4 image builds, also warn those with failed content_set_check
$ elliott --group openshift-4.4 verify-cvp --all --include-optional-check content_set_check

Example 2: Apply patches to ocp-build-data to fix the redundant content sets error:
$ elliott --group openshift-4.4 verify-cvp --all --include-optional-check content_set_check --fix

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0a9c84a). Click here to learn what that means.
The diff coverage is 2.24%.

@@            Coverage Diff            @@
##             master     #144   +/-   ##
=========================================
  Coverage          ?   26.24%
=========================================
  Files             ?       37
  Lines             ?     2945
  Branches          ?      560
=========================================
  Hits              ?      773
  Misses            ?     2148
  Partials          ?       24

Impacted Files
Coverage Δ

elliottlib/cli/__main__.py
0.00% <0.00%> (ø)

elliottlib/cli/verify_cvp_cli.py
0.00% <0.00%> (ø)

elliottlib/resultsdb.py
0.00% <0.00%> (ø)

elliottlib/gitdata.py
18.78% <33.33%> (ø)

elliottlib/cli/common.py
60.00% <100.00%> (ø)

elliottlib/constants.py
100.00% <100.00%> (ø)

elliottlib/logutil.py
80.00% <0.00%> (ø)

elliottlib/dotconfig.py
20.00% <0.00%> (ø)

elliottlib/cli/add_metadata_cli.py
0.00% <0.00%> (ø)

elliottlib/bzutil.py
51.02% <0.00%> (ø)

... and 33 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 0a9c84a...6018220. Read the comment docs.


Draft: chore(docs): Update some dependencies

npm was complaining about vulnerabilities - most are from the @patternfly/documentation-framework, but I fixed a couple I saw in here.

Preview: https://virtual-assistant-pr-virtual-assistant-199.surge.sh


Update python_submissions.py

resolves #
Issue

Description

Use the execution project specified in project.yml for running the dataproc job. If a execution project isn't used it defaults to use the target project.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

sounds good to me! @ChenyuLInx can you help to get this merged?

@ericapetersson Sorry for the delay! Thank you for fixing this!!


timestamp format in mariadb

What steps will reproduce the problem?
query builder insert with column timstamp type
What is the expected result?
Incorrect datetime value: '1506866783' for column 'created_at' at row 1
for example auth manager (dbmanager)
What do you get instead?
for dbmanager (for example) use FROM_UNIXTIME function
/**
     * @inheritdoc
     */
    protected function addItem($item)
    {
        $time = time();
        if ($item->createdAt === null) {
            $item->createdAt = $time;
        }
        if ($item->updatedAt === null) {
            $item->updatedAt = $time;
        }
        $this->db->createCommand()
            ->insert($this->itemTable, [
                'name' => $item->name,
                'type' => $item->type,
                'description' => $item->description,
                'rule_name' => $item->ruleName,
                'data' => $item->data === null ? null : serialize($item->data),
                'created_at' => new Expression("FROM_UNIXTIME('{$item->createdAt}')"),
                'updated_at' => new Expression("FROM_UNIXTIME('{$item->updatedAt}')"),
            ])->execute();

        $this->invalidateCache();

        return true;
    }

Additional info

Q
A

Yii version
2.0.12

PHP version
7.1.9

Operating system
debian 8

it`s actual only mariadb 10.2 (current version).
Maybe fix query builder?

What do you want to fix in query builder exactly? You're composing your own expression in this case and it seems to fail so you need to correct the expression, right?

https://github.com/yiisoft/yii2/blob/master/framework/rbac/DbManager.php#L275 this code will be fail for all users who upgraded mariadb to 10.2.
This is problem a new problem and i'm looking a solution.

Why should it? These columns are integers: https://github.com/yiisoft/yii2/blob/master/framework/rbac/migrations/m140506_102106_rbac_init.php#L74

Yes! Sorry. In my application these columns were cutomized.
Do you mean about other timestamp columns?

Then I don't quite get it. You have a columns with TIMESTAMP type, right? You're using custom expression to fill it. Then how it's connected to Yii core that the expression you're using doesn't work well?


I am not able to set global attention mask. I have although given two sep tokens between question and context

outputs = model(**inputs)
File "C:\Users\Rudraksh\Anaconda3\envs\bert_pre\lib\site-packages\torch\nn\modules\module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "d:\transformers\src\transformers\modeling_longformer.py", line 1345, in forward
global_attention_mask = _compute_global_attention_mask(input_ids, self.config.sep_token_id)
File "d:\transformers\src\transformers\modeling_longformer.py", line 84, in _compute_global_attention_mask
question_end_index = _get_question_end_index(input_ids, sep_token_id)
File "d:\transformers\src\transformers\modeling_longformer.py", line 73, in _get_question_end_index
), f"There should be exactly three separator tokens: {sep_token_id} in every sample for questions answering. You might also consider to set global_attention_mask manually in the forward function to avoid this error."
AssertionError: There should be exactly three separator tokens: 2 in every sample for questions answering. You might also consider to set global_attention_mask manually in the forward function to avoid this error.

one of my input id
([    0, 10534, 42299,   398,     4,   134, 46004,   406, 46419, 42360,
246,     4,   134,     4,   176,     4,   134,   368, 36600,     2,
2,     2,  6968,   605, 17184,   560, 39567, 10534, 42299,   398,
4,   134, 46004,   406,     6,  4297, 16625, 42360, 21747, 26692,
3654, 29933,   627, 44240, 21747,     4,   757,   134,     4,   398,
34045,   196,   627, 28481,   154,    35, 44223,    35,   627, 39161,
1452,   119, 42360,  4929, 40545, 28023, 31002, 21747,   354,   246,
4,   134,     4,   288,     4,   246,     6,  4297, 46419, 21747,
246,     4,   134,     4,   176,     4,   134,   368, 36600,     4,
2,     2,     2,  1452,   119, 41536,   267,  7706,  1990, 11131,
14668, 21747,   134,     4,   134,     4,   246,     4,   288,    12,
33557, 26947,     2,     2,     2, 41536,   868, 42018,   873, 47796,
6968,  7424, 41536,   267,  7706,  1990, 11131, 14668,  7761,   627,
10212,  3427, 40933,  1580, 10534, 11953,  1409, 10928,   627,  6930,
18731, 20094,  7755,   282, 30806,  6025,  1322, 39355,   179,  9226,
43017,     4, 41536, 42739,   267,  7706, 13445,  1990, 11131, 14668,
3809,  1033, 31586,   627, 12592, 28023,  1990, 26264, 35296, 27454,
15313,  1258,  1640,   366, 45071,    43, 28746,    18, 12592, 38928,
14868,  1990,   462, 18957, 23687,   463,  7443, 42502, 24894,  8475,
28023,   131,  8529, 42360,  4929,   463, 37285, 28023,     4,   267,
7706,  1990, 11131, 14668,  5087, 33227, 38557, 30764, 14668,  3866,
225, 24198, 16918,   281, 26601,   131, 15526, 38575,   154,   131,
463,   405, 11131, 14668,     4,   267,  7706,  1990, 11131, 14668,
7333,   102, 30695,  1116, 24894,  8475, 28023,    35, 42360,  4929,
28023, 39355,  1409,  1452,   119,  8716, 42360,  4929, 40545, 28023,
31002,   463, 37285, 28023,     4,  1990,  4321, 31480,  9006,   267,
7706,  1990, 11131, 14668,   131,  7048,   627,   267,  7706,  1990,
11131, 14668, 43017,  1258, 10975,  8166,   640,  1401,     4,  1452,
119,     4,   175,    73, 22930,    73, 44228, 15497,    73,    29,
1090,   330, 16312,  1215,   134,     4,   134,     4,   246,     4,
288,    73,   175,     4,  1452,   119,     4, 46651,     4, 37447,
73, 46651,  1215,   636,    12,  8361,  8596,     4,  6660,  8174,
21747,   134,     4,   134,     4,   246,     4,   288,   354,   102,
16320, 13043, 23053,  1116,   267,  7706,  1990, 11131, 14668, 21747,
134,     4,   134, 11070,  5632, 14377,  5000,   246,     4, 41536,
154,   267,  7706,  1990, 11131, 14668,  6930, 18731, 39472,  6968,
7424, 41536, 39472,  1409, 10928,   627,  1452,   119, 41536, 19709,
3340,  2716,   368,  8166,     4,  1594,   642, 31497, 11156,  3876,
41536, 19709,   131, 13437,   405,  4255,  1075, 23050,  2802, 10687,
627,   175,  8293, 42883,  1116, 37782, 20094,  6025,   405, 31931,
293,     4, 39080,    35,  1594,  6968,  3698, 41536, 19709,   560,
41536,   627, 41038,   131, 13040,  6968,  7424, 19726,  3698,   405,
560, 16435, 15664,   627, 10800,  4189,  1116,  1250,   627, 11828,
10887, 42018,  6025,  6968,  3955, 24919,   179,   627, 39035,     4,
134,     4, 23033,  6968, 13124,   627, 39567,  1258,   131, 15954,
627,   267,  7706,  1990, 11131, 14668, 21756, 17467, 10975,  8166,
640,  1401,     4,  1452,   119,     4,   175,    73, 22930,    73,
21061,     4,   605,  7485,   116,  1343,  5214,   267,  7706,  9426,
1225,   541,  5982, 29369,   742,  1990, 19593, 10536, 40512,   368,
20079, 39567,  1258,   179, 25384,  2485,     4,   176,     4,   417,
5906, 13523,   627,  8738,  1116, 29912,    12, 14175, 39472,   560,
41536,     2])

Ideally it should look like [0] [question token ids] [2,2] [answer token ids] [2]

as the error indicates, you need to pass the global attention pattern to the forward function, something like:
result = self.forward(input_ids, attention_mask, global_attention_mask)

I have a question related to this topic.
For fine-tuning task on Text Classification, do we need to set global_attention_mask ?
( when using from Hugging Face library)
ex : model = LongformerForSequenceClassification.from_pretrained('allenai/longformer-base-4096',
num_labels = n_labels, # The number of output labels.
# You can increase this for multi-class tasks.
output_attentions = False, # Whether the model returns attentions weights.
output_hidden_states = False, # Whether the model returns all hidden-states.
gradient_checkpointing=True
)
I was reading the documentation from https://huggingface.co/transformers/model_doc/longformer.html#transformers.LongformerForSequenceClassification and the example code they have is not mentioning anything specific.
Looking at https://github.com/allenai/longformer in the provided example, I see  :
"# Attention mask values -- 0: no attention, 1: local attention, 2: global attention
attention_mask = torch.ones(input_ids.shape, dtype=torch.long, device=input_ids.device) # initialize to local attention
attention_mask[:, [1, 4, 21,]] =  2  # Set global attention based on the task. For example,
# classification: the  token
# QA: question tokens"
So in my train function, should I assume that I have to add ="2" ( since I am doing fine-tuning for text classification?
outputs = model(input_ids=batch['input_ids'].type(torch.long).to(device),
attention_mask=2
Is this correct?

I agree, documentation is not clear and it needs to be updated. To answer your question, in most cases, you don't need to specify global attention yourself for LongformerForSequenceClassification because LongformerForSequenceClassification.forward automatically sets it for you on the CLS token (check here). If you want a different pattern, you can manually specify it in the input, but if your pattern is the same (global attention on the CLS token), then you can rely on LongformerForSequenceClassification.forward to do the right thing.

@ibeltagy
I too face this issue any suggestions on this. I use hugging trainer
first_sentence = [ '<s>'+example['context']+tokenizer.bos_token + example['prompt' ] +'</s>']* 5
            #first_sentence=['<s>'+example['context'] +' '+ '</s>' +' '+ '</s>' + ' ' + example['prompt']+' '+'</s>']*5
        #print('prompt',example['prompt'])
            #second_sentences = [tokenizer.bos_token+ example['prompt'] + tokenizer.eos_token +tokenizer.bos_token+
            #example[option] + tokenizer.eos_token for option in 'ABCDE']
            second_sentence=  [ '</s>'+ example[option] +'</s>' for option in 'ABCDE']

            tokenized_example = tokenizer (first_sentence, second_sentences,
                                      truncation='only_first',
                                  max_length=max_length, add_special_tokens=False
                                  )

I have the same problem when I use longformer for QA. There is an assert in modeling_longformer.py that makes sure the number of sep_token_ids matches 3 x batch size. I have made sure that it is the case by looking at tokenized samples.
I found that if I set CUDA_VISIBLE_DEVICES to only one gpu, the assert is satisfied, otherwise with multiple gpus throws an error and sep_token_indices will be an empty tensor `tensor([], device='cuda:5', size=(0, 2), dtype=torch.int64).
I am not sure yet what the reason is, this doesn't happen when I infer on one or two individual instances.


Installing through NuGet upgrades Umbraco to 7.4.0

After reading on http://endzonesoftware.com/installing-usplit/ that uSplit requires version 7.3, and my site was running 7.2.1, I spent some time upgrading to 7.3.8.
When I tried installing uSplit with NuGet, I found that it automatically upgrade to Umbraco 7.4.0 which was quite unexpected.
I think either the documentation needs to updated to say that 7.4.0 is required, or the dependencies need to be changed.

To get it working I installed all of the packages while ignoring dependencies. This took some time though as I would install a package, reload the site, then see what was still missing.
It has worked though - on my 7.3.8 install I have uSync!
Could the documentation be updated to say that 7.4.x is required?

Hello @HarveyWilliams, thanks for reporting the discrepancy! We are indeed referencing Umbraco 7.4. Over the next few days I will check if we can reference an older version of Umbraco, which would make the plugin available for more people. If not I will update the docs.

@ondrejpialek I believe trying to install one of the dependencies (with lowest dependency behaviour on) also forced Umbraco to upgrade. I'm not sure which package this was though.

Hi Harvey,
I managed to track the issue to a Newtonsoft.Json Nuget dependency. uSplit 1.0.x requires version 7 and above, whearas Umbraco 7.3 has only version 6 listed as supported.
The documentation already had a note warning about the "surprising" update of Umbraco caused by this dependency chain, I have however updated the document to make it clearer from the very begging that installing it on v 7.3 will be a bit more laborious - you'd have to install it manually as an Umbraco package, rather than via NuGet.
Hope this helps and sorry for the inconveniece.
Cheers,
Ondrej.

I appreciate you updating the documentation in such detail! Thanks for looking into this.


Node keep clicked and moving when moving mouse.

I'm using this code to remove the border and so on, but still when I move mouse node is moving.

how I can unclick node

Try with
 this.editor.drag = false;


PP-5358 Update mandate state after inserting GovUkPayEvent

Calculate and update the state of mandate if necessary after inserting a GovUkPayEvent.
No longer store DirectDebitEvents for mandate or use them to update the state.

Answered your questions


config.yaml has 2 website_extractor keys

config.yaml has 2 website_extractor: sections, I think the first is old/superfluous

Thanks!
This is cursor.com messing with me....
Best Regards,
http://linkedin.com/in/tharsissouza
On Sun, Nov 17, 2024 at 3:30 PM Druce Vertes @.***>
wrote:

config.yaml
https://github.com/souzatharsis/podcastfy/blob/main/podcastfy/config.yaml
has 2 website_extractor: sections, I think the first is old/superfluous
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/185, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3OEHQHAC2DR2F6GPA32BDOETAVCNFSM6AAAAABR6GFN6SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DMMRVG4YTINI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Update containers

Output of dotnet --info:
.NET Core SDK (reflecting any global.json):
 Version:   3.0.101
 Commit:    bc5f8df0f5

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  19.04
 OS Platform: Linux
 RID:         ubuntu.19.04-x64
 Base Path:   /usr/share/dotnet/sdk/3.0.101/

Host (useful for support):
  Version: 3.0.1
  Commit:  19942e7199

.NET Core SDKs installed:
  3.0.101 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

What version of Docker.DotNet?:
<PackageReference Include="Docker.DotNet" Version="3.125.2"/>

I cant seem to find to find a way to update a running container with this package
https://docs.docker.com/engine/reference/commandline/update/
https://docs.docker.com/engine/api/v1.40/#operation/ContainerUpdate
What I can find is a model named ContainerUpdateParameters.
There might be a way to use this to update a container but I'm not sure how i would make that work.
If not i would like to request this feature.

Pretty old post but the is to either build it or use the nuget mentioned in the read me
https://ci.appveyor.com/nuget/docker-dotnet-hojfmn6hoed7

Yeah i ended up building the latest.


Support for keyboard locale

Some of local polish characters works and some doesn't, for example: 'ł'

Only ASCII characters work (+some others): https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#special-characters-do-not-work

Only ASCII characters work (+some others): https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#special-characters-do-not-work


HMR Issues

I've found some weird HMR issues. It's pretty hard to reproduce but possible.
Simply run our shared-modules example with the latest master.
Then try to changes components/Header.js pretty quickly.
The ideas is to do a change before Webpack builds the prev change.
After that point, we won't get any HMR updates. Only remedy is to reload the page.

I'm not whether this is our bug, webpack's bug

Disable HMR
When I trying to do a hot-fix, I simply remove HMR and do a client reload for every change instead. Actually, it was fast as HMR changes and I didn't feel any difference.
And it reduce some of our code liabilities related to HMR.
So, I'm proposing to remove HMR at all.
@rauchg @nkzawa what do you guys think?

Although the performance diff may be negligible, HMR is indispensable when working on stateful components and/or redux.
I have two apps in production built with Next and I can honestly say overall stability and performance of HMR is rather good. You guys have done a fine job with this so far.
I personally would not address HMR until non-contributors raise issues.

Although the performance diff may be negligible, HMR is indispensable when working on stateful components and/or redux.

That's a good point.

I personally would not address HMR until non-contributors raise issues.

Actually, this came when testing our app zeit.co.

But if there's a way to fix this, I'd love to have it.

Related to https://github.com/zeit/next.js/issues/1083?

@timneutkens nope. Actually, webpack builds it correctly. But the client doesn't get updates.

I can't for the life of me break break HMR. I've tried in my own projects as well as examples/shared-modules. Works every time. Ideas???

@arunoda can you reproduce in incognito (more specifically clear application data & cache)

I absolutely love HMR and it's indispensable. We should fix it, not remove it.

Sry guys - curious if there was any movement on this.  I love HMR, but is there an option to turn it off?  It is killing my redux state, a separate issue that may be resolved by another fix, but I'd like the option.

No. We are not going to do this.

@mojo5000 Your problem should be fixable by declaring your store outside of your react component tree. Then during development, only create the store one time. Something like so:
var store;

const myComp = () => {

    if (!store || process.env.NODE_ENV === 'production') {
      store = createStore();
    }

    return <CoolComp store={store} />;
}

export default store;

Thanks @eezing for helping out @mojo5000

Thanks, already doing something similar in an HOC.  I think the problem is actually related to a redux-form issue with doing a destroy on unmount + accounting for hotloading that got reverted.
https://github.com/erikras/redux-form/issues/623
Trying to verify.
(Don't want to put unrelated proj info in here but I think this is the most used Redux form library for the React community, and there is some overall trickiness with next and Redux that relates to it.)

@mojo5000, did you find a solution for this? I'm running into the exact same problem.


Subdirectory is not written to the manifest

Laravel Mix Version: 6.0.29
Node Version (node -v): 16.8.0
NPM Version (npm -v): 7.21.1
OS: Windows 10

Description:
I use mix.copy() to copy a directory and mix.version() above to version everything.
The subdirectory in the specified directory is copied, but not written to the manifest.
Steps To Reproduce:
Create a directory with a subdirectory in it and use mix.copy('path/to/directory', 'public').version() to copy and version it.
Although the subdirectory has been copied, it is not written to the manifest.

I am defending the same issue! Any solution?


Automate changes from will($this->returnValue('something')) to willReturn('something')

It would be nice if PHP-CS-fixer could automate and apply a change like this:
From
$mockObject->will($this->returnValue('something'))

to
$mockObject->willReturn('something')

Related to symfony/symfony#29685

I think we can close this...


Test on PHP 7.3 on Travis

Travis CI is no longer.

Sorry for the delay. I just forgot I have the permission to this repo.
I don't want to spoil your effort. Let me take this over.

I tried to apply this, and found that t's not that easy. https://github.com/mercari/dietcube/pull/35
We need more higher view on the overall project management.
Le me close this :bow:


Using Multiple editor on same page Placeholder text issue

When using multiple editors on same page, setting placeholder text for last editor update same text for other editor also

Hi Sibiraj,
Is it resolved ?

Kind of busy. Sorry.

After updating the version Im getting the following issue
ERROR in ./node_modules/ngx-editor/esm5/ngx-editor.js
Module not found: Error: Can't resolve 'codemirror' in '/home/prasad/project/elt-www/code/elt-client/node_modules/ngx-editor/esm5'
resolve 'codemirror' in '/home/prasad/project/elt-www/code/elt-client/node_modules/ngx-editor/esm5'
Parsed request is a module
using description file: /home/prasad/project/elt-www/code/elt-client/node_modules/ngx-editor/package.json (relative path: ./esm5)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/prasad/project/elt-www/code/elt-client/node_modules/ngx-editor/package.json (relative path: ./esm5)
resolve as module
/home/prasad/project/elt-www/code/elt-client/node_modules/ngx-editor/esm5/node_modules doesn't exist or isnot a directory
/home/prasad/project/elt-www/code/elt-client/node_modules/ngx-editor/node_modules doesn't exist or is not a directory
/home/prasad/project/elt-www/code/elt-client/node_modules/node_modules doesn't exist or is not a directory
/home/prasad/project/elt-www/code/node_modules doesn't exist or is not a directory
/home/prasad/project/elt-www/node_modules doesn't exist or is not a directory
/home/prasad/project/node_modules doesn't exist or is not a directory
/home/prasad/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /home/prasad/project/elt-www/code/elt-client/node_modules
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./node_modules)
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./node_modules/codemirror)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror.js doesn't exist
as directory
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror doesn't exist
looking for modules in /home/prasad/project/elt-www/code/elt-client/node_modules
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./node_modules)
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./node_modules/codemirror)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror.js doesn't exist
as directory
/home/prasad/project/elt-www/code/elt-client/node_modules/codemirror doesn't exist
looking for modules in /home/prasad/project/elt-www/code/elt-client/src
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./src)
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./src/codemirror)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/src/codemirror doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/src/codemirror.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/src/codemirror.js doesn't exist
as directory
/home/prasad/project/elt-www/code/elt-client/src/codemirror doesn't exist
looking for modules in /home/prasad/project/elt-www/code/elt-client/src
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./src)
using description file: /home/prasad/project/elt-www/code/elt-client/package.json (relative path: ./src/codemirror)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/src/codemirror doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/src/codemirror.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/prasad/project/elt-www/code/elt-client/src/codemirror.js doesn't exist
as directory

have you installed code-mirror?


[website] Move Design Documents index to cwiki

Moving the index to confluence as it is much easier to maintain and watch over there.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Thanks @tweise. This is way more practical.


404 page hanging for long time

I just experienced the same bug as https://world.episerver.com/support/Bug-list/bug/CMS-1119. This bug is marked as "won't fix"
The should be a comment on the readme file telling you turn off globalErrorHandling in episerver when using custom error page.

Hi
Just to confirm in order to resolve the issue you need specifically turn global error handling off
<applicationSettings globalErrorHandling="Off"
Kind Regards
Sandeep


Request: Publish a Homebrew package

https://brew.sh

I was looking to do the same thing. I already have goreleaser set up in Potato. All that is needed is add brew config into goreleaser. I will get to this ASAP.

You can now use brew install horcrux2301/tap/Potato to install Potato using HomeBrew. 👍


Start in tray

Is it possible for this app to start minimised in the tray?
I tried searching but I can't seem to find anything about this.
If not, can this feature be added? A simple CLI argument like "--start-in-tray" would suffice

Yeah, I'll add a --start-hidden argument, for the 1.2.1 release :)


Added few noise functions to visual shaders

This commit adds two new nodes to Visual shader editor, Noise and CloudNoise. This version is based on - https://www.shadertoy.com/view/4sfGzS by Inigo Quilez (MIT license). As you can see its very simple but powerful enought.. Its give users more power to create interesting and complex effects(and makes visual shaders more useful than now).
simple noise

screenshot of animated cloud noise -

I decided to update it to more nicer looking simplex3D noise -

I have taken this code https://github.com/curly-brace/Godot-3.0-Noise-Shaders

As visual script nodes (in theory, though its currently broken) can be extended by script, I suggest that we fix this and add these extra functions in the asset library as an addon. There is no reason to have this in core.


It is not possible to use previous versions of EO, because runtime version is hardcoded in library .eo files

eo-maven-plugin of any version loads library .eo files from objectionary. These files have runtime version hardcoded in them, and it is the latest version of runtime. Thus, I cannot use EO complier version, say, 0.19 with runtime 0.19, I must use it with the latest runtime, which may be incompatible with the desired version of compiler, or it may have new bugs, which I want to avoid until they are fixed.

@rultor release, tag is 0.20.1

@rultor release, tag is 0.20.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.20.1

@yegor256 Done! FYI, the full log is here (took me 17min)

@dours try version 0.20.1. Now you can specify hash in pom.xml, which you find here: https://github.com/yegor256/objectionary/commits/master

Job gh:cqfn/eo#479 is not assigned, can't get performer


Add polyfill from polyfill.io

Note that we lock to the current default feature set (default-3.6).  Future versions of create-react-app will want to update this version number, but we wouldn't want users to inadvertently get different polyfills.
[closes #170]

Future versions of create-react-app will want to update this version number, but we wouldn't want users to inadvertently get different polyfills.

Why would that be bad? They’re only adding, not removing stuff, right?

They’re only adding, not removing stuff, right?

Probably/Mostly.  They haven't committed to never removing anything from the default set.  Although they haven't done so yet, it would have been reasonable at one point for them to include Array.prototype.contains in the default set (it was a long way down the standards path) but an incompatibility was discovered at the last minute and contains was deprecated in favour of includes.  At this point it would have been reasonable for them to remove the contains polyfill.
You can see what they say about this under https://polyfill.io/v2/docs/features/#default-sets

How about we use this set?
https://cdn.polyfill.io/v2/polyfill.js?features=es6,fetch,Symbol&unknown=polyfill
This seems like the most valuable stuff in React apps, and also protects against issues like #561 with unknown=polyfill.

It’s also more descriptive than default-3.6.

Also worth checking: does their Promise polyfill swallow errors.

I don't think you can solve uncaught rejections in userland (polyfills).

I don't think you can solve uncaught rejections in userland (polyfills).

Why not? It won’t be 100% accurate but we need to err on the side of less head scratching. Advanced Promise users who know what they’re doing with temporarily unhandled rejections will just include another polyfill.

Also core-js does this.

We went with embedded fetch and Promise polyfills for now so closing.


add text/plain

I needed to send a text/plain content request. So I simple added the content type. If you want you can pick up the change. Otherwise close it.
As fare as i saw you do not have much tests so i also did not spec it.

@jannishuebl thank for this PR

@nsheremet thank for mergin :+1:


Define intermediate components to be covered by unit tests

List all intermediate components that need to fully covered by Unit Tests.
Use Mockito to create the mocks.
Components to be covered:

DBModelSerializer and all its children
ParallelSerializer
DBVersionCommand
ParallelDBVersionCommand
JacksonYamlSerializer : ? test all model serialization ?

Create unit tests for each object serializer: TableSerializer, ViewSerializer, IndexSerializer, TriggerSerizalizer, and RoutineSerializer.
Mock all dependencies for database using Mockito.

We have covered the main component tests in the referenced tasks, the YAML serialization and deserialization were covered in the serializer tests and in the DBModelFS integration tests.


Make response objects for API public

This PR fixes #191.
High level overview of this PR:

[x] Makes Response object for API public so you can implement your own I*Api

Please review this @span.


Svelte DevTools shows the "Not Working?" text in Electron

Describe the bug
When running this extension in electron, the Svelte DevTool panel does not show any Svelte debug information (see screenshot below).
To Reproduce

Create a Svelte + Electron app using svelte-electron-boilerplate
Install electron-devtools-installer
Configure the installer to install svelte-devtools.
Run the app (yarn electron-dev)

At this point, a warning will print in the console:
ExtensionLoadWarning: Warnings loading extension at /home/...[snip]: Unrecognized manifest key 'update_url'. Permission 'tabs' is unknown or URL pattern is malformed. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.

In the running app, open the developer tools and select the Svelte panel. It should look like this:

Click "click here", or click "View -> Force Reload", but it doesn't fix it.

I have double-checked the version of Svelte that yarn installs (3.24.1), and made sure it's running in dev mode (by changing dev: !production to dev: true in the rollup config).
Expected behavior
Svelte-devtools loads without issue and is usable from the devtools panel.
Environment

Electron version 9.2.1 (same issue occurs with 11.2.3)
Devtools version 1.3.0 (according to the manifest.json in the path shown in the above warning).
Svelte version 3.24.1

Additional Context
Visiting localhost:5000 in an actual Chromium browser with the extension installed works fine. The DevTools panel does show the "Not Working?" text at first, but after a refresh it works as expected.

Yeah, I'm having this issue too. In my case, I configured electron manually to load the svelte devtools instead of using the svelte-electron-boilerplate package. Would love some help with this!

Supporting electron for the browser package is non-trivial and is not planned. However the recently released Svelte DevTools Standalone should work fine.
The only caveat is that nativeWindowOpen must be enabled.
const mainWindow = new BrowserWindow({
  width: 800,
  height: 600,
  webPreferences: {
    nodeIntegration: true,
    nativeWindowOpen: true
  }
});

After that simply add the script tag to the top of your head.
<script<EMAIL_ADDRESS>
I apologize for the late reply, I have been developing Svelte DevTools Standalone and wanted to make sure it was working and usable with electron before I responded. Let me know if you have any issue.

@RedHatter  I'm trying it and so far it seems to be working great! The only issue I noticed is that if the electron app has frame disabled, the devtool window can't be dragged (nor closed, maximized or minimized of course). I'm not sure how difficult would be to fix this, but for the moment, the workaround is enabling the frame.
Thanks for the good work!


[release-1.8] fix stats filter test: shadow var for goroutine

This is an automated cherry-pick of #30788

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio_release-1.8
9aed63992744f68e0b53c464129b07ab7b87fb79
link
/test integ-telemetry-mc-k8s-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Pipenv not finding pyenv versions with PYENV_HOME set

Issue description
Previously we could use a version of python installed via pyenv simply by setting the PYENV_HOME environment variable.
I started noticing this morning that builds were failing because pipenv was using the wrong version:
export PYENV_ROOT="~/.pyenv"
export PIPENV_VENV_IN_PROJECT="1"
$ pipenv install --dev
Warning: Your Pipfile requires python_version 3.7.0, but you are using 2.7.12 (/data/j/w/d/.venv/bin/python).
  $ pipenv --rm and rebuilding the virtual environment may resolve the issue.
  $ pipenv check will surely fail.

It is then running inside python2 (and crashing as such).
The version is successfully installed and can be found using the shims.
$ ${PYENV_ROOT}/bin/pyenv versions
* system (set by /data/jenkins/.pyenv/version)
  2.7.12
  3.6.4
  3.7.0

$ PYENV_VERSION=3.7.0 ${PYENV_ROOT}/shims/python --version
Python 3.7.0

Expected result
Pipenv should find the version installed by pyenv without any additional environment parameters
Actual result
Pipenv did not find the pyenv installed with the PYENV_ROOT environment variable set.
We were able to work around the issue by adding pyenv to PATH explicitly:
$ PATH="${PYENV_ROOT}/bin:${PATH}" pipenv install --dev
Installing dependencies from Pipfile.lock (104e24)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 46/46 — 00:00:31
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

This was not previously required, however, and the documentation still claims that PYENV_ROOT is all that is needed.
Steps to replicate

Start with a blank environment that does not have pyenv added to PATH (or any PYENV_* environment variables)
Set PYENV_ROOT: export PYENV_ROOT="~/.pyenv"
Install python via pyenv: ${PYENV_ROOT}/bin/pyenv update && ${PYENV_ROOT}/bin/pyenv install 3.7.0
Run pipenv install on a Pipfile containing a 3.7.0 requirements:

[requires]
python_version = "3.7.0"

Notice that it warns that 3.7.0 was not found and will use the system python instead.

$ pipenv --support
<details><summary>$ pipenv --support</summary>

Pipenv version: `'2018.10.13'`

Pipenv location: `'/usr/local/lib/python2.7/dist-packages/pipenv'`

Python location: `'/usr/bin/python'`

Python installations found:

Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 1114, in invoke
    return Command.invoke(self, ctx)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/cli/command.py", line 142, in cli
    get_pipenv_diagnostics()
  File "/usr/local/lib/python2.7/dist-packages/pipenv/help.py", line 33, in get_pipenv_diagnostics
    python_paths = finder.find_all_python_versions()
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 112, in find_all_python_versions
    major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/pythonfinder/models/path.py", line 222, in find_all_python_versions
    return [c for c in sorted(path_filter, key=version_sort, reverse=True)]
AttributeError: 'list' object has no attribute 'as_python'

I am also experiencing the same issue with:
pyenv 1.2.8
pipenv, version 2018.10.13
macOS Mojave

Specifying the version explicitly with pipenv solved my issue
pipenv install --python ~/.pyenv/versions/3.5.6/bin/python

@techalchemy Is there a PR or commit we could reference?

I met a similar problem but then I found this FAQ which solved my problem.
https://pipenv.readthedocs.io/en/latest/diagnose/#pipenv-does-not-respect-pyenvs-global-and-local-python-versions


Email messaging system

Set up a human-in-the-loop system to track which devices are offline and for how long. Automatically generated emails that are delivered to @marcwitasee's inbox, which he can review and send out accordingly


Improve task assessments

The current Task assessment view is not very user friendly.
As a user I should only see the latest Task assessment for the specific month in the body of the main Task page, instead of all of the month's assessments
As a task owner/admin, I should see an "Add a ${task label} assessment for the month of" or a "Make a new ${task label} assessment for the month of" depending on is it the first assessment for the month or not.
As a task owner/admin, I should have access to a rich text editor in the example "top 3 issues" assessment field.

On the effort assessment pop-up window to enter text:
issues, recommendations, risks bleed into the actual text box.  There's plenty of real estate to avoid the bleeding over.
The word recommendation is misspelled; recomendation vs recommendation

@dspCarlson the text is specific to your anet.yml config. You can fix the spelling by modifying that file


Adding env.Prerequisite() method

Changes
There are times where we need to apply or validate a prerequisite to an environment but it is awkward to make that a Test() if it is intended to be pure setup, like making a namespaced component that will be used by some underlying infrastructure code (like rabbitmq brokers in a namespace, which are used by the Broker CO, but not directly by the test)

:gift: Adding env.Prerequisite().

/kind api-change
Release Note
Adding `env.Prerequisite()`, just like `env.Test()` except we can make it clear it is not a Test, but some required other thing to be applied to the environment in the logs and results.

That looks reasonable, let's see how it looks in practice and revisit if things need to change?
/lgtm
/approve


Flow 0.20 regression: autocomplete fails for this. expressions from class methods

When attempting to autocomplete any member expression with this. from a class method, no results are returned.
/*@flow*/
class Foo {
  baz: string;
  bar() {}
  hello() {
    this.
  }
}

In Flow 0.19.1 you get the following results:
$ flow autocomplete 6 10 <test.js
bar () => void
baz string
hello () => void

In Flow 0.20.0 no autocomplete entries are returned.
$ flow autocomplete 6 10 <test.js

As I'm not sure if this is related to #1191 I also tested against latest commit on master (75aeef0 at time of testing) and this issue is still present.

In the case that it is helpful; the last commit I found to work is de41e09 the regression seems to have been introduced by commit 831cb1e.

This might be a general issue with autocomplete of stuff whose types are
type params, and the recent change modeling the type of this as a type
parameter might have triggered the particular problem. Will fix.
On Friday, December 18, 2015, Nathan Caza<EMAIL_ADDRESS>wrote:

In the case that it is helpful; the last commit I found to work is de41e09
https://github.com/facebook/flow/commit/de41e09152d912f8472052b7dc82740704933677
the regression seems to have been introduced by commit 831cb1e
https://github.com/facebook/flow/commit/831cb1e448d80740ac08e8d2b3c69d27e397e16d
.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/flow/issues/1197#issuecomment-165927666.


feat(379): added prettier

Description:
Added Prettier
Scripts
I added the previous scripts created by @ayusharma + 01  more script,  which checks the conflicts caused by the same rule defined in .prettierrc and .eslintrc
Pre-Commit
I added pretty-quick --staged, which runs ESlint together with Prettier on your staged files.
VS Code users
In order to  format the code onSave using eslint and prettierl, I installed the ESLINT plugin and added the following configuration:
   "files.autoSave": "onFocusChange",
  "editor.formatOnSave": true,
 "[javascript]": {         "editor.formatOnSave": false     },
  "eslint.autoFixOnSave": true,
  "eslint.workingDirectories": [         ".",         "./src/webui"     ],
 "javascript.validate.enable": false

The same comments made in #819 applies here, I see a non complete Eslint-Prettier integration with separated config in different rc files.
Also, there are many config to change for VSCode users. Using VSCode, the config I have this config:
{
  // ...
  "editor.formatOnPaste": false, // default
  "editor.formatOnSave": false, // default
  // Eslint plugin settings
  "eslint.autoFixOnSave": true,
  // Prettier plugin settings
  "prettier.eslintIntegration": true,
  // ...

Build fails because prettier/prettier linting fails everywhere.
/home/circleci/verdaccio/index.js
  1:9  error  Replace `default·as·startVerdaccio` with `·default·as·startVerdaccio·`  prettier/prettier

/home/circleci/verdaccio/jest.config.js
  10:16  error  Replace `⏎····'./test/unit/setup.js'⏎··` with `'./test/unit/setup.js'`                                                       prettier/prettier
  13:1   error  Delete `·`                                                                                prettier/prettier
  14:1   error  Delete `·`                                                                                prettier/prettier
  31:25  error  Delete `,`                                                                                prettier/prettier
  33:28  error  Replace `⏎····'__snapshots__',⏎····'<rootDir>/build',⏎··` with `'__snapshots__',·'<rootDir>/build'`                          prettier/prettier
  37:32  error  Replace `⏎····'node_modules',⏎····'fixtures',⏎····'<rootDir>/test',⏎··` with `'node_modules',·'fixtures',·'<rootDir>/test'`  prettier/prettier

/home/circleci/verdaccio/src/api/debug/index.js
   4:14  error  Replace `$Application` with `·$Application·`                                                                                prettier/prettier
   5:14  error  Replace `$ResponseExtend,·$RequestExtend,·$NextFunctionVer` with `⏎··$ResponseExtend,⏎··$RequestExtend,⏎··$NextFunctionVer⏎`                                                                                prettier/prettier
   8:3   error  Delete `··`                                                                                prettier/prettier
   9:1   error  Replace `····app.get('/-/_debug',·function(req:·$RequestExtend,·res:·$ResponseExtend,·next:·$NextFunctionVer` with `··app.get('/-/_debug',·function(⏎····req:·$RequestExtend,⏎····res:·$ResponseExtend,⏎····next:·$NextFunctionVer⏎··`  prettier/prettier
  10:1   error  Delete `··`                                                                                prettier/prettier
  12:5   error  Delete `··`                                                                                prettier/prettier
  13:7   error  Delete `··`                                                                                prettier/prettier
  14:5   error  Delete `··`
....
  134:44  error  Replace `cookies?:·any}` with `·cookies?:·any·};`                                                                                prettier/prettier
  136:42  error  Replace `latest:·mixed}` with `·latest:·mixed·};`                                                                                prettier/prettier

✖ 3359 problems (3355 errors, 4 warnings)
  3355 errors, 0 warnings potentially fixable with the `--fix` option.

error Command failed with exit code 1.

We need to check one by one all rules and avoid at least initially a big ammount of changes.

@sergiohgz exactly, then you have two options: either you will have to run scripts or configure your editor. I don't know, for example, if WebStorm's extension has the option: 'prettier.eslintIntegration'.

@priscilawebdev Please rebase your branch with master.

@ayusharma I will do it as soon as I get home today ;)

Something is was wrong with the rebase, https://github.com/verdaccio/verdaccio/blob/master/package.json#L47 request library is newer in master branch. That's the reason why snyk fails.

Also this one https://github.com/verdaccio/verdaccio/blob/master/package.json#L55 .. please check what happened. Also "@verdaccio/local-storage": "1.1.3", is different.

@juanpicado the problem was: I had to have synchronized the fork :) Now it'll be fine!

I updated storage.js file locally and eslint and prettier does not throw any warning or error on IDE with visual code.
 } else {
              const a = "dsadsa";
              self.logger.warn( {package: locals[itemPkg], a}, 'package @{package} does dsajdsajkhdkjsahdkjsahkjdsahjkdsahjkdsahjkdsanot have a "latest" tag?' );
            }

@juanpicado "printWidth" is not working as it should, please see: https://github.com/prettier/prettier/issues/2079 , https://github.com/xojs/xo/issues/323..So I decided to keep the max-length eslint rule...The other rules work well 👍


Auto detection of SSL settings for a Microblogging system

See Q #232 where a User is struggling to figure out SSL settings.
As these settings are changed at a "Microblogging system" level, it looks like "Test connection" with auto detection of compatible SSL settings should be added to the "Microblogging system" editor.

New compatibility setting is being created: "Use legacy HTTP protocol" , see #249
This means that we should include that additional check in an auto-detection procedure.
As for an "SSL Mode", for the second option: "Use legacy HTTP protocol" - automatic discovery during normal operation of a proper connection option is not practical. Because this will mean substantial time delays and network traffic increase. E.g. in this "411-content-length-required" case, for each attempt to send a message with an attachment, AndStatus will first do failed attempt and succeed on a second attempt only.
I think we better integrate such server parameters discovery into Account creation / verification. Which may be repeated on User's explicit request to "Reverify account".


remove _reshape, _vec

looks like i was wrong to insist on using Base.ReshapedArray since vec and reshape are in place.
in 1.8-rc3
julia> versioninfo()
Julia Version 1.8.0-rc3
Commit 33f19bcbd25 (2022-07-13 19:10 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin21.4.0)
  CPU: 4 × Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, broadwell)
  Threads: 4 on 4 virtual cores
Environment:
  JULIA_NUM_PRECOMPILE_TASKS = 4
  JULIA_DEPOT_PATH = /Users/vp/.julia
  JULIA_NUM_THREADS = 4

julia> n1=2;n2=3;N=n1*n2; u=rand(n1,n2); @btime v=reshape(u,N);
  52.108 ns (2 allocations: 80 bytes)

julia> n1=200;n2=300;N=n1*n2; u=rand(n1,n2); @btime v=reshape(u,N);
  49.854 ns (2 allocations: 80 bytes)

julia> n1=200;n2=300;n3=400;N=n1*n2*n3; u=rand(n1,n2,n3); @btime v=vec($u);
  32.020 ns (2 allocations: 80 bytes)

in 1.7.2
julia> using BenchmarkTools; versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2683 v4 @ 2.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, broadwell)
Environment:
  JULIA_NUM_PRECOMPILE_TASKS = 64
  JULIA_DEPOT_PATH = /home/vedantpu/.julia
  JULIA_NUM_THREADS = 64

julia> n1=2;n2=3;N=n1*n2; u=rand(n1,n2); @btime v=reshape(u,N);
  46.077 ns (2 allocations: 80 bytes)

julia> n1=200;n2=300;N=n1*n2; u=rand(n1,n2); @btime v=reshape(u,N);
  47.457 ns (2 allocations: 80 bytes)

julia> n1=2;n2=3;n3=4;N=n1*n2*n3; u=rand(n1,n2,n3); @btime v=reshape(u,N);
  45.703 ns (2 allocations: 80 bytes)

julia> n1=200;n2=300;n3=400;N=n1*n2*n3; u=rand(n1,n2,n3); @btime v=reshape(u,N);
  48.657 ns (2 allocations: 80 bytes)

julia> pointer(u,1) == pointer(reshape(u,N),1)
true

help?> reshape
search: reshape promote_shape

  reshape(A, dims...) -> AbstractArray
  reshape(A, dims) -> AbstractArray

  Return an array with the same data as A, but with different dimension sizes or
  number of dimensions. The two arrays share the same underlying data, so that the
  result is mutable if and only if A is mutable, and setting elements of one alters
  the values of the other.

Yes, they don't create new arrays. Resizing is just a type change.

making a PR


nixosTests.systemd-networkd: remove wireguard kernel module

config.boot.kernelPackages.wireguard evaluates to null on machine
closure having a > 5.6 Linux kernels, hence making the evaluation of
this test fail.
Wireguard is now part of the mainline Linux kernel, we do not need to
to add it via a additional kernel module anymore for this test.
Fixes #122258

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test systemd-networkd

@GrahamcOfBorg test systemd-networkd


Trollstore2 support

Is that possible to support trollstore 2 device? Like iOS 16 series and iOS 17.0?

I also have problem running sshdog on Filza 4.0, iOS 16.1.1.
exec: Failed to execute process './sshdog', unknown error number 85

I also have problem running sshdog on Filza 4.0, iOS 16.1.1. exec: Failed to execute process './sshdog', unknown error number 85

It freeze my device, I have to force reboot my device


Add a yieldUntil(Supplier) method to Page and Frame objects

Adds a yieldUntil(Supplier) method to the Page and Frame objects. This allows Playwright users to yield to the Playwright event loop until an external condition is met.
See microsoft/playwright-java#1228 for more details.

@microsoft-github-policy-service agree company="Mode Analytics, Inc."

Superseded by #1237.


Public key pinning...backup keys

I'm working on public key pinning for my nativescript app and I came across this wonderful repo. Its pretty difficult to find straightforward information on public-key pinning and good instructions on how to do it
A few questions I have which maybe you can answer

For example, if you pin to the public key of your server's certificate, you should generate a backup key that is stored somewhere safe

What type of key should be generated as a backup, another private key?
How does this help user lockout from the app? is it because the private key doesnt change any of the SubjectPublicKeyInfo in the SSL certificate?

We currently have an API with certificates that change every 90 days from the same CA(lets encrypt). We don't want to have to release a new app every 90 days which will most likely cause user lockout.
We are trying to avoid this issue by pinning the public key but im failing to understand the backup keys process

I don't know a whole lot about it either, and I also don't use it myself. But I'm going to try to answer your questions:

What type of key should be generated as a backup, another private key?
Yes, another private key that you can use to request a certificate with in case something happens to the first one, a leak for example.

How does this help user lockout from the app? is it because the private key doesnt change any of the SubjectPublicKeyInfo in the SSL certificate?
As far as I understand, yes.

We currently have an API with certificates that change every 90 days from the same CA(lets encrypt). We don't want to have to release a new app every 90 days which will most likely cause user lockout.

Reading this article: https://community.letsencrypt.org/t/how-to-use-ssl-from-lets-encrypt-for-ssl-pinning-in-mobile-app/135720/13
It looks like LetsEncrypt also creates a new private key every time, which breaks certificate pinning, unless the option --reuse-key is given.
Sorry I can't be of more help. My take of SSL pinning is that if you aren't completely sure that you're doing it right, you shouldn't do it.

That makes sense. Thanks for the clarification was huge help


Setting Throttle value

Hi,
I'm trying to to gather some data for training purposes. The problem I have is that having throttle set to 1 accelerates the vehicle too quickly, thus I was trying to change the initial throttle value that is sent to the vehicle via keyboard, however, changing throttle to anything below 1 breaks it to some extend, i.e. throttle = 0.5 will limit the car's speed to about 30km/h, 0.7 on the other hand will accelerate to about 60km/h but will somehow randomly decrease the speed every now and then.
Any clue how to deal with that matter?
Cheers

@ADulian Hi I found the exact same issue here, did you solve it later? Thanks

@HaoZhouGT No, sorry buddy.


Updated key and navigation styles, updated utfGrid layer

Updated UTFGrid layer to include AK, HI Demographic Data
Updated navigation / show-hide styles
Added textual key labels to key scale
Added hover style for navigation tabs

:+1:


fixed broken sentence and capitalization in note

@NReilingh : Thanks for your contribution to the Azure documentation! The author, @edmacauley, has been notified to review your proposed change.

Thanks you @NReilingh for that edit.  #sign-off


add links to LSP, Kakoune and Rust in README

Hello
I followed the way you present the project on reddit annoucements.
It may help user not already familiar with all those terms.

Thank you for contribution!


Cancun failures

I'm tryng to get the most recent tests to work with geth, and have a PR opened there:https://github.com/ethereum/go-ethereum/pull/28337
Currently investigating the very first test in /cancun/eip5656_mcopy/mcopy_memory_expansion/mcopy_huge_memory_expansion.json,  called 000-fork=Cancun-from_existent_memory-successful=False--max_dest_single_byte_expansion.
[user@work go-ethereum]$ go run   ./cmd/evm/ --json  blocktest ./tests/spec-tests/fixtures/cancun/eip5656_mcopy/mcopy_memory_expansion/mcopy_huge_memory_expansion.json
...
{"pc":47,"op":94,"gas":"0x5dd9e6e","gasCost":"0x3","memSize":256,"stack":["0x0","0x0","0x1","0x0","0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"],"depth":2,"refund":0,"opName":"MCOPY","error":"gas uint64 overflow"}
{"pc":38,"op":85,"gas":"0x17d5d2","gasCost":"0x5654","memSize":256,"stack":["0x1","0x0"],"depth":1,"refund":0,"opName":"SSTORE"}
{"pc":39,"op":0,"gas":"0x177f7e","gasCost":"0x0","memSize":256,"stack":[],"depth":1,"refund":0,"opName":"STOP"}
...
########## BAD BLOCK #########
Block: 1 (0x0133b010e20067d6f0c1fac34c8245b8968d87d968ca3096ef8eeeb14d7e92c0)
Error: invalid merkle root (remote: 27557b93e5bb671d712b61c0da570f6883abbc7bd2da95f0af4e462f139f41bb local: 1051394ef6cb6fbcc2838024c0ca9ff6ca975ef4aefc041d82608ce36f44e7c7) dberr: %!w(<nil>)

This is the (complete) state that I get EDIT: not accurate
{
    "root": "1051394ef6cb6fbcc2838024c0ca9ff6ca975ef4aefc041d82608ce36f44e7c7",
    "accounts": {
        "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
            "balance": "10779762",
            "nonce": 1,
            "root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
        }
    }
}

Curious to know what the expected state is...?

Hi @holiman, please see https://github.com/ethereum/go-ethereum/pull/28337#pullrequestreview-1679804684.
Regarding the problem in this ticket, I just built https://github.com/ethereum/go-ethereum/tree/509a64ffb9405942396276ae111d06f9bded9221 and used the fixtures_develop.tar.gz from release v1.0.5. Running the following works locally for me:
/home/dtopz/code/github/ethereum/go-ethereum/build/bin/evm --version
# -> evm version 1.13.4-unstable-509a64ff-20231013
/home/dtopz/code/github/ethereum/go-ethereum/build/bin/evm blocktest ./fixtures_dev/cancun/eip5656_mcopy/mcopy_memory_expansion/mcopy_huge_memory_expansion.json

Which geth branch are you using? Respectively which version of the fixtures are you using?

Thanks for the help, it's sorted now!


Backspace is deleting everything

There's an issue with {{aupac-typeahead}} where deleting a single character in the input removes the entire input value. This is very annoying for correcting typos.
This is happening when suggestions are objects (which we fetch from an api).
Basically it looks like this gets called when I press backspace
this.get('_typeahead').typeahead('val', '');
(line 79 in addon/components/aupac-typeahead.js)

Basically doing some thing like:
//typeahead.js Customizations
allowCharacterDeletion: false, //@public

  setValue : function(selection) {
    selection = this.transformSelection(selection);
    if(selection) {
      this.get('_typeahead').typeahead('val', selection);
    } else if (!this.get('allowCharacterDeletion')){
      this.get('_typeahead').typeahead('val', '');
    }
  },

returns the expected behavior.

Maybe this should be the default behaviour.

This appears to be working for me.  I am pretty sure this feature only works with Strings though.

Just tested with a ember-data model and it is working.

After some experimentation I can see this issue now.  I have included it as part of a bigger cleanup issue.

Does this issue still valid? I can't reproduce it! If anyone can give a hint or twiddle on how to reproduce it. I will be happy to fix it.

@mnifakram yes, this should still be an unresolved bug.

Happening for me in v3.0.0


[AppService] az functionapp create: Update the default Centauri image

Related command
az functionapp create
Description
The default Centauri image needs to be updated.
Testing Guide

History Notes
[AppService] az functionapp create: If customers do not provide an image when creating a Centauri function app, we use the updated default Centauri image

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

@kamperiadis Please note that we are launching the release for this sprint this week. Please resolve all comments by tomorrow, otherwise the release of this PR will have to be postponed to the next sprint (on 07-02)

Let me check with you if there is any breaking change in this PR. If so, please add BREAKING CHANGE in the tile,
e.g.,
[AppService] BREAKING CHANGE: az functionapp create: Update the default Centauri image


[Data Processing UX] Allow user to change settings of multiple filters without running QC pipeline

Background
Link to issue
https://biomage.atlassian.net/secure/RapidBoard.jspa?rapidView=1&projectKey=BIOMAGE&modal=detail&selectedIssue=BIOMAGE-1122
Link to staging deployment URL
https://ui-grasp6-ui345.scp-staging.biomage.net/
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[ ] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

For the Data integration and Configure embedding steps, should I still keep them separated from the other filters when saving changes - there is no "Save changes" button but instead a "Run" for each of them. Example:
When the user presses Run on Data integration and has changed other things in Cellsizedistribution, should the changes in cellsizedistribution be also applied?

For the Data integration and Configure embedding steps, should I still keep them separated from the other filters when saving changes - there is no "Save changes" button but instead a "Run" for each of them. Example:
When the user presses Run on Data integration and has changed other things in Cellsizedistribution, should the changes in cellsizedistribution be also applied @vickymorrison @aerlaut ?

Yes. Clicking 'run' in Data Integration would apply all the saved chenges across all data processing steps.

Also I can see if I go to Configure embedding and change something - clicking Run afterwards doesn't trigger the pipeline again is this on purpose?

Also I can see if I go to Configure embedding and change something - clicking Run afterwards doesn't trigger the pipeline again is this on purpose?

@ogibson-biomage Can you answer this question from Stefan?

Also I can see if I go to Configure embedding and change something - clicking Run afterwards doesn't trigger the pipeline again is this on purpose?

@ogibson-biomage Can you answer this question from Stefan?
My understanding is that changing something in Configure Embedding re-computes the embedding but the whole pipeline does not have to re-run.

I had a discussion on this with Stefan yesterday:

If there are changes to the filter settings before configure embedding, clicking Run will run the whole pipeline again. This has to be done because the cell sets may change due to the changes in filter settings.
If there are no changes on the filter settings before configure embedding, clicking Run will only run the configure embedding, without having to run the QC pipeline again (as it is now).

This may lead to ambiguous UX on the behaviour of the Run button. I've added pointer in ticket 1125 https://biomage.atlassian.net/browse/BIOMAGE-1125 so that clicking the Run button in Configure Embedding with changes to the settings of the previous filter will also trigger the reminder popup modal.


Elementum WindowsError (298 'T') on Kodi for XBOX One

Hi,
First I'd like to say big thanks to all the developers involved in this project, it is an amazing product.  Second, the issue I have is that after installing latest Elementum version from the site (0.0.71 for Win x64) on Kodi 18.1 for XBOX One immediately after the message Elementum addon installed i receive message WindowsError (298 'T'). Here is the link with the logs: http://paste.kodi.tv/atuhividuc
Same thing happened on previous version of Kodi 18.0 and after the update to 18.1 today.
Interestingly enough same version of the addon (actually the same file 0.0.71) works without any problems on Kodi UWP version 18.0 from Windows Store on Win 10. Are there any known issues with the XBOX? I thought the point of UWP was to develop one app and should work on all Microsoft platforms. After all XBOX is running slimmed down version of Win 10, isn't it.

Plugin will not work on XBOX, because it has limitations in starting binaries.