Folder not listing files (only images) like in core

Folder is not listing files (only images) like the core property editor does. For files maybe just use a font-icon + filename (see the core property editor).

It's already on my to do list and also already implemented. I just need to create a package for it ;)

Haha great :) .. I was late then :-P
But better to report an issue too much than not at all ;)

No problem :) I'm fine with all the feedback I get!

Implemented :) Enjoy!


Audio stream takes up to 5 seconds to start, then catches up all at once.

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Is there a fix to certain audio (streaming) from YouTube videos take some time to start (up to 5 seconds) and then catch up in Discord? What I've noticed is, this issue arises only with certain songs, and it's not random. For example, I try playing https://www.youtube.com/watch?v=zgLTzWaLtkY, and the issue happens. I try
playing https://www.youtube.com/watch?v=gk-aCL6eyGc, and the issue vanishes completely, but when I try playing https://www.youtube.com/watch?v=zgLTzWaLtkY again, the issue returns.

youtube-dl has nothing to do with Discord.


AL Language Extension Misidentifies Code As Invalid, Formatter Scrambles Lines of Code During Save

1. Describe the bug
Every so often, the language extension fails to properly identify lines of code as valid.  The analyzer reports errors that contain incomplete segments of the code in question.

In the screenshot above, lines of code are highlighted by the analyzer as containing the following errors:

When this occurs, it is usually preceded by an error from the AL Language extension (see attached text file containing sample error messages):
ALLangErrTxt.txt
Attempting to save the source file (to restart VS Code) results in the language formatter scrambling the lines of code:

2. To Reproduce
The conditions that lead to this issue are unknown.  It seems to occur at random, usually as the language extension tries to keep up with tracking and validating code modifications as they are made (it is excruciatingly slow at this sometimes).  Notably, this seems to occur whenever a "request failed" error raised by the language extension appears in the VS Code notifications (i.e., the language extension barfs on itself, requiring a restart of VS Code).
3. Expected behavior
The expected behavior is that this should never occur.  At the very least, the formatter function should not modify code based on misinterpretations by the code analyzer.
4. Actual behavior
See "Describe the bug" section.
5. Versions:

AL Language: 8.1.540594
Visual Studio Code: 1.62.1
Business Central: Platform 19.0.29480.30597 + Application 19.1.30636.0
List of Visual Studio Code extensions that you have installed:

We've seen this before, usually when our incremental parsing doesn't do the right thing for a specific syntax construct. When this happens, does it always happen in the same file(s)? If so, then it's probably another case of wrong syntax handling. If it happens in all files at random, then it's something else. Either way, this is a bug.
If it happens in specific file(s), could you share the syntax around the area where the spurious errors are reported? We can start investigating with the syntax in your screenshot, but additional examples will help a lot. Thanks!

I'm afraid that I have not paid close enough attention to notice whether this occurs when working within specific files.  The AL project consists of approximately 200 objects, each one stored in its own file.  This is an issue that has occurred throughout the recent past (it's been happening long enough that I thought it would make sense to report it).  It is not specific to the current version of the AL Language extension.
Below is the function containing the code in the screenshot that was provided in the opening comment.  I can provide additional examples if the issue happens again.
`
procedure UpdateToteLine(var ToteNo: Code[20]; var WhseActivitySubline: Record "LAX Whse Activity Subline"; SessionID: Text[250])
var
    ToteLine: Record "LAX Tote Line";
    CustomHandled: Boolean;
    _isExistingTote: Boolean;
begin
    OnBeforeUpdateToteLine(ToteNo, WhseActivitySubline, SessionID, CustomHandled);

    if CustomHandled then
        exit;

    ToteLine.SetRange("Activity Type", WhseActivitySubline."Activity Type");
    ToteLine.SetRange("No.", WhseActivitySubline."No.");
    ToteLine.SetRange("Line No.", WhseActivitySubline."Line No.");
    ToteLine.SetRange("Subline No.", WhseActivitySubline."Subline No.");
    ToteLine.SetRange("Tote No.", ToteNo);

    _isExistingTote := not (ToteLine.IsEmpty());

    if (_isExistingTote) and
       (WhseActivitySubline."Qty. Scanned" = 0)
    then
        ToteLine.DeleteAll(true);

    if not (ToteLine.FindFirst()) then begin
        ToteLine.Init();
        ToteLine."Tote No." := ToteNo;

        SetToteLine(ToteLine, WhseActivitySubline);

        if not (ToteLine.Insert(true)) then
            Remark := DeviceMgt.GetSessionMessage(SessionID, 'REM_TOTEDETFAIL');
    end;

    if (Remark = '') then begin
        ToteLine."Qty. to Handle" := WhseActivitySubline."Qty. Scanned";
        ToteLine."Qty. to Handle (Base)" := WhseActivitySubline."Qty. Scanned (Base)";

        if (InputQtyScanned <> 0) and
           (InputQtyScannedBase <> 0) and not
           (_isExistingTote)
        then begin
            //Implies a new tote for a whse. activity line with existing tote assignments.
            //Set the quantity to handle on the tote line to the quantity scanned, instead of the quantity to handle on the related whse. activity line.
            ToteLine."Qty. to Handle" := InputQtyScanned;
            ToteLine."Qty. to Handle (Base)" := InputQtyScannedBase;
        end;

        if not (ToteLine.Modify(true)) then
            Remark := DeviceMgt.GetSessionMessage(SessionID, 'REM_TOTEDETFAIL');
    end;
end;

`

No problem, this is still enough information for us to start investigating at least. If you do notice a pattern (or lack thereof) in the future, definitely update this issue.

Here is the complete source file, if it will help things on your end.
Cod14002817.RFWhseActivityLine.txt
There are dozens of codeunits within the AL project that are similar in structure.  This codeunit in particular is worked on frequently and contains the most lines of code, compared to the others.  I can say with certainty that this issue has occurred on multiple occasions whilst working within this object.  Unfortunately, I cannot recall the specific areas where it happened.
If this is attributed to the way that the code is structured, then it would be good to get a basic understanding on how to address it.  Hopefully the source file will provide you with enough material to analyze.

This issue reminds me a bit of my former one:
https://github.com/microsoft/AL/issues/6170#issuecomment-700503071
Is your VS Code probably using CR instead CRLF?

This issue reminds me a bit of my former one:
#6170 (comment)
Is your VS Code probably using CR instead CRLF?

My hopes were raised for a moment, but no... line endings are formatted with CRLF.

Thank you for the suggestion.  =0)

Hi, @thloke.
Here is another example (lns. 730 - 732), if it helps.

It does help. @nndobrev - FYI, since you're looking into this.

Today's example (lns. 1130 to 1153):

Is there any logging for this that one should turn on and provide to you?

@bernalfr - yes, I actually thought I posted something about logfiles yesterday, but apparently I didn't press the comment  button. ):
There's a logfile under the following path which will be very helpful (adjust for the version of the AL extension you have installed):
C:\Users\<username>\.vscode\extensions\ms-dynamics-smb.al-8.1.540594\bin\win32\editorservices.log
That should contain the exceptions from the failed requests that precede this strange behaviour. You can send it to me directly at<EMAIL_ADDRESS>

@bernalfr  - sent this by email, but reposting here just in case it was missed:
If you can try something for me, that would be great. I can’t repro the issue yet, but there are a few things I’d like to rule out based on the exceptions in the logfile.
Can you either:

Set "al.backgroundCodeAnalysis" : "false" in your settings.json or
Remove CodeCop from your list of enabled analyzers

If this stops the issue from happening, I’d like to then try suppressing this specific rule (set action to none in a custom ruleset): AA0021

Closing due to lack of feedback.


feat: update repository to TypeScript 5.x

feat(ts-config): update for TypeScript v5.x
feat(ts-config): use Node16 as default module
fix(snowflake): ensure strings are never compared with bigints
fix(result): add missing type modifier
fix(discord.js-utilities): add missing type modifiers
chore(*): bump dev dependency to TypeScript 5.x

@sapphiredev pack

@sapphiredev pack

@sapphiredev pack


Keyword argument not understood

I'm working with Anaconda 4.3.2 and Keras 2.0.9
When I try to run capsnet.py or its multi-gpus version, on my own data, i am stuck with the following error:
TypeError: ('Keyword argument not understood:', 'routings')
When i searched online for the error, i found from a post  that the TypeError occurs when 'kwargs' doesn't contain the type (routings) and/or serialization would have happened in a different Anaconda distribution and using the same Anaconda distribution fixes the error.
need your help on this.

@raaju-shiv Thanks for the feedback. I have fixed this in the newest commit.


Viper docker

added option for config file and docker image support. needs further testing

Thanks @d3adzo, this helps especially with packaging in the future.
If need be we can use a struct - I have a repo somewhere doing this for an example. The idea then would be to read in the config file to a Config struct, then read in the arguments (so they overrule config file options) and then pass that parse configuration struct around where it's needed, as part of an application context. I can work on that later, but an example of what I mean is here: https://github.com/carolynvs/emote/blob/master/config/config.go#L23
My vote on this is that after we close the outstanding issues we can call this version 1.0?


[FLINK-27069][python] Fix the potential memory corruption in Thread Mode

What is the purpose of the change
This pull request will fix the potential memory corruption in Thread Mode
Brief change log

Upgade pemja to 0.1.4 to fix the potential memory corruption in Thread Mode

Verifying this change
This change added tests and can be verified as follows:

original tests

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot run azure

https://dev.azure.com/hxbks2ks/FLINK-TEST/_build/results?buildId=1779&view=results


Sometimes Kiwi doesn't transmit message box to authorize cookies then the site doesn't work

Kiwi is the only browser like Desktop browser ie with developer mode (~F12) and extensions : I've choosen it for that :) but:
Describe the bug
Some site doesn't work because they have never generate cookies.
To Reproduce

Go to other browser (Chrome, DuckDuckGo) : I see the cookies message, then the site works.
Go to Kiwi: For some site, I don't see the cookies message, then the site doesn't work. (Despite I 've seen the cookies message in others browsers for the same site)

Expected behavior
Cookies messages are very annoying, but  I think there is automatic acceptance of cookie message which doesn't work, so I would prefer to have a cookie message,  in order to use the site and not to go to an other browser.
Smartphone (please complete the following information):

Huawai Mate 20
Kiwi Browser 112.0.5615.137
Android 10; HMA-L29 Build/HUAWEIHMA-L29

This bug is not new, since more than one year.


✨ Skip summaries if no emojis/categories

This way you don't get a meaningless section if a repo doesn't use gitmoji

@fiendish I'm not sure I understand what this is doing? Can you give an example plz?

If there are no gitmojis at all in the commits since last release, it skips printing an empty emoji summary section.


Concurrency

Does CAT tracker support multiple instances for the same bitcoin daemon and postgres db?
If yes, how that can be?

not support for now


Drop variance column in random effects output?

Unless there is some reason to keep it, I would like to suggest removing the variance column entirely in the random effects part of the output. I personally never look at it, I prefer to look at the SDs. It also confuses newcomers to see both a variance and an sd column. At least one person in every course I teach (almost) always asks why it's there.

In lme4, you can actually choose -- it's just the default to display both. It wouldn't be hard to override the show method here to give that type of functionality, but I'm somewhat torn on the wisdom of changing the default behavior, especially since the random effects are labeled 'variance components'.

I don't have strong opinions either way.  The source of confusion I fear is that users will interpret the Std.Dev. column as being the standard error of the estimate of the variance rather than the same estimate but on the standard deviation scale rather than the variance scale.
If we did decide to omit the variances, what should that section be labelled?  As @palday says, "Variance components" no longer seems appropriate.

If we did decide to omit the variances, what should that section be
labelled?
Square root of variance components?

I don't have a strong opinion either, but would vote in favor of keeping
it.  In teaching it allowed me to illustrate the difference between model
parameters and random effects (should they be renamed to conditional
modes?) .  The values also highlight differences in scales.
Am Mo., 7. Okt. 2019 um 18:03 Uhr schrieb Douglas Bates <
<EMAIL_ADDRESS>
I don't have strong opinions either way. The source of confusion I fear is
that users will interpret the Std.Dev. column as being the standard error
of the estimate of the variance rather than the same estimate but on the
standard deviation scale rather than the variance scale.
If we did decide to omit the variances, what should that section be
labelled? As @palday https://github.com/palday says, "Variance
components" no longer seems appropriate.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dmbates/MixedModels.jl/issues/213?email_source=notifications&email_token=AAGZKGDAUU6A2XOCX3UYLDLQNNMWLA5CNFSM4I5EGY32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQ4WFA#issuecomment-539085588,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGZKGHYW5OTW3WVZXDG3TTQNNMWLANCNFSM4I5EGY3Q
.


Error "invalid_client"

Hi,
Whenever I try to send a request using the sdk and using my sandbox credentials, the sdk throw an error {"error":"invalid_client"}
The error is not clear at all. Indeed the client is invalid, but what is invalid ? The password ? The clientID ? Who knows...
I'm stuck on this issue since two days and can't do much to patch this.

Hello @Radiateurs,
First of all, your issue:
It seems your header value was wrong. If you're sure it's right, are you sure you're pointing on api.sanbox.mangopay.com ?
Then, our error message:
We could cleary enhance this particular case by providing you a clean error_description to give you more infos about this issue. But we do not currently want to let anyone know if a clientID exists (by telling as an answer that your password is wrong). We consider that one or many authentication infos (server, clientID, passowrd) are wrong.
At least, what we will do in a short-term vision:

Add a simple error description pointing all the causes (ie. authentication "triplet" properties that could be wrongly set)
Add a list of 4xx errors on docs.mangopay.com with many more explainations around causes, and how to resolve it.

Mickaël

I would recommend to modify the documentation of the SDK to specify that the "passphrase" in the authentication is actually the API_KEY. I got tricked by it. Even changing the variable name to something more relevant.

@Radiateurs Got it, you're totally right, our naming has changed recently from passphrase to APIKey, and it has not been updated on our SDK docs.
I'll update it very soon.

Hi,
I try to use mangoopay in Production. The production account has been activated but I still got the error "invalid client". I set the passphrase, the client_id and sandbox=False on instanciation but nothing changes

@mickaelpois I also recommend to change the documentation for the V3 authentication
 mangopay.client_id='my client id' mangopay.passphrase='my password'
Think about changing the variable name AND the > 'my password'

@SBillion take a look at the discussion on #134. Instantiating APIRequest with sandbox=False (like the docs suggest) doesn’t actually do anything…

#177 will make our code clearer around APIKey use, and use a unified vocabulary (no more passphrase or client password).


vue-loader was used without the corresponding plugin.

env:
<EMAIL_ADDRESS><EMAIL_ADDRESS>vue-loader@15+
when add speed measure-webpack-plugin to webpack config,Error in ./src/App.vue
Module Error from ./node_modules/vue-loader/lib/index.js:
vue-loader was used without the corresponding plugin.Make sure to include VueLoaderPlugin in your webpack config.
but,I had configed vueLoaderPlugin,still up there

Same issues here and I just wondering if SMP just doesn't support webpack 5, and I am using webpack 5 too, also the home page said SMP supports webpack from 1 to 4.


on press delay example, selecting with 2 fingers make the dragged item stuck on screen

How to reproduce:

Go to activate onPress example

try to drag with your 2 fingers.  the item is stuck.

Hi! how are u? I have the same problem, do you found some solution?

@josepbidegain, no. @clauderic , do you know this problem? is PR welcome in this case?

Hi! Any solution for this? Having the same problem.

+1

Hi, any news about this one guys ? Can we expect some actions here ?

Is this problem a manifestation of this scenario?

@clauderic, is above the best way for me to submit a pull request for this issue?


chore(release) many fixes & improvements

Pull Request Test Coverage Report for Build<PHONE_NUMBER>-1

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.001%

Totals

Change from base Build<PHONE_NUMBER>-1:
0.0%

Covered Lines:
7524

Relevant Lines:
8268

💛  - Coveralls


Public notice operation year based timeline

This change is related to task: https://app.zenhub.com/workspaces/fsa-fingerprint-61f04f08304d3e001a4f2578/issues/bcgov/nr-fom/222 and https://app.zenhub.com/workspaces/fsa-fingerprint-61f04f08304d3e001a4f2578/issues/bcgov/nr-fom/203
Migration script for public_notice (add new columns - operation_start_year, operation_end_year)
Add fields (operationStartYear, operationEndYear) to entity and dto classes.
Add custom IsNotLessThan validation decorator for endpoint validation and message.
Generate new api-client for frontend.
Add date picker to select years for operation_start_year and operation_end_year at admin public.
Add validation for these two fields as required and operation_end_year >= operation_start_year.
Add operation_start_year and operation_end_year fields at public side frontend public notice page and its business statement.
Add new new public-notice.service.spec.ts unit tests.
Rename label 'Responded' to 'Classified' for comment count on admin detail page.

One other review comment, might need Derek - why is the public notice test not being included in the code coverage report?

One other review comment, might need Derek - why is the public notice test not being included in the code coverage report?

@basilv We only had tests for the API, so anything Admin or Public needs pipeline changes.  Want that added to this PR?

Derek - the new test is in the API, so that's fine. But it isn't shown in the coverage report.

@basil @ianliuwk1019 Please look at the test results in the pipeline.  They're passing, but suspect.
https://github.com/bcgov/nr-fom/runs/8120747662?check_suite_focus=true#step:6:81

@basil @ianliuwk1019 Please look at the test results in the pipeline. They're passing, but suspect. https://github.com/bcgov/nr-fom/runs/8120747662?check_suite_focus=true#step:6:81

Hi @DerekRoberts,
The "Test" section under pipeline action "API Unit Tests" does generated unit tests summary including the new tests added teting for "public-notice.service.ts". But the next action "Report Code Coverage" (romeovs/lcov-reporter-action@v0.3.1), although reporting total coverage of 40.24% (it does increase from last time) does not include the report for new file being tested. It seems to be a bug in that action I feel. It indicates it is taking the report from (lcov-file: ./coverage/api/lcov.info), but how can we check on this location in the action/pipeline?
src/app/modules/project         |   42.43 |    18.85 |   21.73 |   41.88 |
project-auth.service.ts        |   23.33 |        0 |       0 |   17.85 | 19-88
project.dto.ts                 |     100 |      100 |     100 |     100 |
project.entity.ts              |   72.97 |      100 |    9.09 |   75.75 | 37,42,45,50,53,58,61,67
project.service.ts             |   19.87 |    15.55 |   15.15 |   19.74 | 29-59,112-114,120-123,129-131,169-234,239-725
public-notice.dto.ts           |   88.46 |        0 |   66.66 |   88.46 | 88-90
public-notice.entity.ts        |   90.47 |      100 |   33.33 |   94.44 | 17
public-notice.service.ts       |   53.65 |    41.66 |   45.45 |    52.5 | 35-41,60-88,146-180
workflow-state-code.entity.ts  |    92.3 |      100 |      50 |    90.9 | 7
src/app/modules/public-comment  |   51.89 |    11.76 |    6.45 |   49.33 |
comment-scope-code.entity.ts   |      90 |      100 |      50 |    87.5 | 7

I can see the full test coverage report in the unit test portion of the github action. So it appears the reporting of the coverage truncates the report when displaying in the pull request. This is very minor, we've confirmed that the new tests are showing up in the full coverage report and overall coverage is reported as increased correctly, so I don't think there's a need for Derek to worry about this.

I've reviewed the latest changes and it all looks good to me. I'll ask Anne-Marie if she wants to test in dev.

This is good to merge.


Map not animating to the location when picking from dropdown.

https://stackoverflow.com/a/72052990/8631092
Describe the bug When a user tries to search on the search bar, he either enters or choose the location from the suggestions below, the maps refreshes for a bit and then just stays where it was before. The result gets updated but the map does not animate to the location selected.
To Reproduce I'm providing a gist to the dart file where I'm using the package gist.github.com/uV3301/a01b8fb3111c97673f13ff9be861ad04
Expected behavior The expected behavior should be that after the search selection, the map should animate to the query location.
Screenshots

Flutter Doctor -v
[✓] Flutter (Channel stable, 2.2.0, on Linux, locale en_IN)
    • Flutter version 2.2.0 at /home/uv3301/snap/flutter/common/flutter
    • Framework revision b22742018b (4 weeks ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/uv3301/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /home/uv3301/Applications/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 4.1)
    • Android Studio at /home/uv3301/Applications/android-studio
    • Flutter plugin version 55.1.1
    • Dart plugin version 201.9335
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64 •
      Android 9 (API 28) (emulator)

! Doctor found issues in 1 category.

Additional context Additionally the error on console is such :
E/flutter (16385): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method camera#animate on channel plugins.flutter.io/google_maps_3)
E/flutter (16385): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)
E/flutter (16385): <asynchronous suspension>
E/flutter (16385): #1      _PlacePickerState._moveTo (package:google_maps_place_picker/src/place_picker.dart:346:5)
E/flutter (16385): <asynchronous suspension>
E/flutter (16385): #2      _PlacePickerState._pickPrediction (package:google_maps_place_picker/src/place_picker.dart:337:5)
E/flutter (16385): <asynchronous suspension>
E/flutter (16385):
I/flutter (16385): state: SearchingState.Idle, isSearchBarFocused: false

_Originally posted by @uV3301 in https://github.com/fysoul17/google_maps_place_picker/issues/125#issue-919114110

https://stackoverflow.com/a/72052990/8631092
issue solved from this fix
Originally posted by @Milinda1313 in https://github.com/fysoul17/google_maps_place_picker/issues/125#issuecomment-1118459911

@martin-braun The Example codes of the package are in "PickArea: CircleArea..." code available. This code has been converted to a comment line. When I opened this code and searched, I saw that the map moved to the selected address. However, when you open the code, I get a "Place not in area" error for the address I came from on the map.

@yigitcevik Please do not post in an issue that is not relevant to your issue, I replied on #25

i have same issue , how to fix ?

i have same issue , how to fix ?

Please make a new issue explaining your issue in detail. Also give device info and flutter doctor output. Thanks.

@sarmiladhandapani The fix was described here: stackoverflow.com/a/72052990/8631092
I'm not sure if you can implement this fix on your consuming application, but your flutter doctor -v output and device info at #36 shall be helpful.
Device: Pixel 5 API Thiramisu
Flutter version 3.0.1

This issue is a big one. Melinda's fix to convert the widget into a stateful widget by using a wrapper has no effect. The issue boils down to this:
When you change the device orientation or enter the search bar (which will show the keyboard) you will get redraws. Those redraws will re-render the map. If you select a target from the dropdown, the keyboard will be hidden and the code tries to animate to the new location while the Google Maps component re-renders.
I was able to minimize the issue by wrapping the map within a SingleChildScrollView with NeverScrollableScrollPhysics and setting resizeToAvoidBottomInset to false. This will stop the map to re-render when the keyboard is shown or hidden, but it will break the map when it's not fullscreen. A place picker within a smaller container will have wrong offsets that I cannot determine. The parent Scaffold shall resizeToAvoidBottomInset and the whole thing breaks anyways.
We are facing an uncertain situation.
I remember that I never had such rendering problems with the Place Picker in the past, but suddenly it began to cause problems on my physical device. I also reverted to a much earlier stage only to figure out that there is no point in which this problem was introduced. Any stage is affected, which makes no sense to me.
The problem grew to a much bigger problem.
It's not just the fact that re-rendering will cause a crash on animating, also that re-rendering causes heavy flickering and even cause the map to be white sometimes. Even if I can minimize the issue by not re-rendering on keyboard toggle, those issues will still occur on device orientation change.

@negiot, @berkekesikbas, @sarmiladhandapani, after many hours of debugging I finally found the root cause for the problem and fixed it as good as possible. If you update to mb.22 the issue should be solved.
If you care about what've happened and related issues we still face beyond this one, read on:
The original author thought it was a good idea to put a future within a future builder in a way that it will re-execute whenever a new render happens. This future is to load the current location. When the keyboard toggles there will be a new render, but GoogleMap will not rebuild itself usually, but in this case it did, because the future I mentioned before was re-executing, causing the Google Map component to be hidden for a second, thus respawning the entire component and thus re-initializing it entirely.
Since your keyboard hides when you select a place, it would try to animate the camera on a component that was disposed and replaced already. It was more likely to happen, when you had the place picker inside a container.
With the new version these issues are solved, but flickering on keyboard toggle as well as device orientation change is still a problem. It's ugly, but won't cause crashes. There is a property called resizeToAvoidBottomInset which you can set to false to prevent resizing of the map when the keyboard toggles and thus get rid of flickering in such cases. It wasn't working at all, but I fixed it for fullscreen usage of the place picker, so I suggest to set it to false if you use the map in fullscreen. Device orientation toggling still causes flickering and even re-render problems.
I hope things will turn to the better with the new renderer that Google is working on at the moment.


Having trouble with mod priorities

In version 1.x.x, I remember that this manager was the same as CA's, with the upper mod covering the lower one.
Is this logic modified in version 2.x.x? Because the order of my translated mod was 1 and the order of the original mod was 2, the translation did not take effect. After I reversed the order of the two, it took effect.

Maybe found a problem? The order in the all mods page is different from the order in the enabled mods. Even if I drag in the enabled mods, it seems that the overwriting logic of the mod is according to the order in the all mods page.

Maybe it's a problem with preset, it seems that preset is still using the entire mod list. Since we are using this "enabled mods" list now, the preset should save the "enabled mods" and sorting, right?


[WIP] GitHub Actions workflow

WIP For:

[ ] Already setup to run #70

Already running over at altendky/models#2.  It will run here once merged.  GitHub Actions doesn't execute on PRs from other repositories until a branch in the main repo is doing actions.


closes #24 24_derive_param_confirmed_bor: Implement derive_param_confirmed_bor()

Closes #24
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue so that it closes after successful merging.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done!  Much love to your accomplishment!

@amitjaingsk , subject 3 and 4 are cases where we get SD because there is an SD assessment at least 28 days after treatment start. Subject 5 is a case where we do not get SD because the SD assessment is less than 28 days after treatment start. I am not sure which case for ref_start_window for SD you would like to add. Could you provide an example?

@amitjaingsk - please check if your comments are resolved now and we can hopefully close this one out and merge?
@bundfussr would just need to resolve the lintr merge conflict when back on monday.

thanks @amitjaingsk! @bundfussr once you resolve the merge conflicts we can close out this PR.


form onSubmit receiving SyntheticEvent instead of values

This was working and I don't know why it suddenly is not.
I have one Field in my form, title. When I submit the form, i console log values. it does a page redirect to /?title= and shows me a SyntheticEvent

I tried to make a sandbox but it won't run 😢
https://codesandbox.io/s/react-codesandbox-zon7u?fontsize=14&hidenavigation=1&theme=dark

@invious could you show some code, if can't recreate it in codesandbox?

I feel like you're using the form wrongly. Looking at your codesandbox, you try to pass your custom saveForm function directly to the onSubmit of the form component:
<form onSubmit={saveForm}> (wrong)
In order for redux-form to work, you have to pass handleSubmit - which you get from the props -
to onSubmit. So your code should look like:
<form onSubmit={props.handleSubmit}> (possibly destructure handleSubmit from props before using it)
And then pass your custom saveForm function to the reduxForm() initializer like so:
const Form = reduxForm({
  form: 'articleForm',
  validate,
  onSubmit: saveForm
})(ArticleForm)

Or if you have your function in same class or function
When class
<form onSubmit={props.handleSubmit(this.saveForm)}>

When function in function
<form onSubmit={props.handleSubmit(saveForm)}>

When from props
<form onSubmit={props.handleSubmit(props.saveForm)}>

When in props have onSubmit
<form onSubmit={props.handleSubmit}>


node: Fix segfault in node equality check

Fix a segfault when attempting to compare nodes from updates for a k8s node.
Only affects v1.5, the code was removed in v1.6.

This change is

test-me-please

never-tell-me-the-odds


Switching to Rust Edition 2018

Let's do this before other refactoring/implementation activities.

Run cargo fix --edition,
Manually removed extern crate directives and fixed the macro import of itertools.

Thank you for the review! Merging...


[North Star Applicant UI] Render File Upload Questions

Describe the solution presented in this issue.
Implement file upload questions in Thymeleaf. This is likely going to be more complex than most other questions, since there is more UI involved
Done when:
What criteria need to be met for the issue to be finished?

[ ] Users can see and respond to file upload questions
[ ] Add logic to show already uploaded file
[ ] Ensure user is properly redirected after submitting
[ ] Accept the correct mime types of file
[ ] Allow skipping or deleting an already uploaded file

This is a duplicate of https://github.com/civiform/civiform/issues/6926 so closing


Exception when running Get-OctopusUserRole

Need to ask the Octopus Team about this one
Exception calling "FindAll" with "0" argument(s): "Error converting value "AccountCreate" to type
'Octopus.Platform.Security.Permissions.Permission'. Path 'Items[3].GrantedPermissions[9]', line 167, position
24."
At C:\Github\OctoPosh\scripts\Get-OctopusUserRole.ps1:53 char:13
+             $UserRoles = $c.repository.UserRoles.FindAll()
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : JsonSerializationException

Can't reproduce it again. Wondering if maybe I had bad data on that test Octopus instance?
If anyone else runs into this one, please let me know on this issue.

A bit late I know, but I ran this command on two Octopus sites and didn't have any issues.

Not late at all @mattcorr ! Thanks for letting me know. I'm pretty sure it was bad data on my end by now.


Settings drawer overlay component

<SettingsDrawer/>
A container for settings inputs which renders over the top of the header and transaction list.
This component should be created in Storybook, with designs TBD.
Input props

isOpen: controls if the settings panel should be rendered as opened/expanded or closed
children: arbitrary content to render inside the settings drawer.

Output props

onClose(): called when the drawer is closed, by clicking a close icon or tapping outside the opened drawer.

Closed in #57


function pointer type mismatch, failed to report fatal warning/error with overlook

The following code compiles OK without any warning if treated as ".c" file.
Instead, if treat as ".cpp" file, there is compile error:
testbed.cpp:25:17: error: too many arguments to function call, expected 0, have 2
    return (*f)(x, y);
           ~~~~ ^~~~
testbed.cpp:32:13: error: no matching function for call to 'process'
    int c = process(a, b, my_abs);
            ^~~~~~~
testbed.cpp:23:5: note: candidate function not viable: no known conversion from 'int (int)' to 'int (*)()' for 3rd argument
int process(int x, int y, int(*f)())
    ^
2 errors generated.

#include <stdio.h>

int max(int x, int y)
{
    return x > y ? x : y;
}

int min(int x, int y)
{
    return x < y ? x : y;
}

int add(int x, int y)
{
    return x + y;
}

int my_abs(int x)
{
    return x > 0 ? x : -x;
}

int process(int x, int y, int(*f)())
{
    return (*f)(x, y);
}

int main()
{
    int a = 3;
    int b = 4;
    int c = process(a, b, my_abs);
    printf("c = %d\n", c);

    return 0;
}

Code from : https://baike.baidu.com/item/表驱动法/15768054

This case can be found and reported by clang-tidy (without .clang-tidy)


Add collaborators to this repo

Comment below to be added as a collaborator
We will all be using this repository today. Even though it's public right now, you will not be able to make changes until you're given the correct permissions. We've automated this process via the GitHub API. Once you comment, we will add you as a collaborator.
You'll start to receive a lot of emails. (❗) You can slow these down immediately by clicking the Unwatch button at the top of the page and selecting either the Participating and @mentions or Ignore option.

Christian Nichols - Infomagnus  Architect

Mike Nellis - DevSecOps lead

Alain Bruno - Platform Engineering team member

Joseph Gallahan - Collaborate with git

Justin Green - Software Development Manager


WIP: multiprocessing-based queueing to process file saving

Competitor of #4, but most likely we won't merge this PR - it's for documentation purposes. Also, it has some useful addition which we can port to #4.

Codecov Report
Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (a098834) 26.14% compared to head (7e40d6e) 25.06%.

Files
Patch %
Lines

src/hextools/germ/caproto_ioc.py
0.00%
29 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           cleanup       #5      +/-   ##
===========================================
- Coverage    26.14%   25.06%   -1.09%
===========================================
  Files            6        6
  Lines          394      411      +17
===========================================
  Hits           103      103
- Misses         291      308      +17

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

The interesting code was captured in #4 via https://github.com/NSLS-II-HEX/hextools/pull/1/commits/893f432674154de17bc8426b19d33451f5daf472.


BUG: ResBlock with stride>2

The pooling kernel on the identity block needs to match the stride on the conv block so the shapes match up. Previously it was hard-coded to be a pooling kernel of 2 if the conv stride was not 1.
Migrated to fastai2 from PR https://github.com/fastai/fastai/pull/2546

Thanks for making the fix on both repos!


Need standalone Player Code

@sujeetkrjaiswal commented on Thu Nov 09 2017
Since there is no comments in the code, and there is no independent document for the portal app, If you can help with the finding the player code, which as discussed should be independent and self sufficient.
Since I am exploring, it would be much helpful, if we can have a demo page, which just demonstrates the player, with some hard-coded .ekar file input.
I also tried to explore the mobile source code, as it also uses the web-view of android to load the content, but the entire js file was a bundle, and I was not able to extract the player code.
From my exploration till now, My understanding of player is that there is some bare-bone structure of player code, which downloads the renderer as well along with any other plugin file required.
Since I am planning to modify some of the features of the player, like menu etc. It would be of much help, if I can have access to some of the documentation of flow of data and function in the player.

@harishgilimi could you please help @sujeetkrjaiswal with references to the ekstep player code and the player plugin documentation.

@harishgilimi I tried creating a separate app, with player as a different module and added a dependency in main app, will just use a directive to play the content. The player part is not implemented, but I have added few basic thing. Will be adding to it as and when I understand things to it. It would be of much help, if you can take your time to help me finish this. The repo is at https://github.com/sujeetkrjaiswal/Bodhi

@sujeetkrjaiswal Update the README of the repo to show the installation and build instructions

@Abhishek-Govula Installation and build instruction for dev is done. For prod build and testing, things are not yet configured. But I hope, Dev setup should do for the given issue

Also needed is the source for the authoring tool.


❓Pause >> Flip Camera >> StartRecording on S22

Question
Gents,
I have one bug left and it's tormenting me.
Has anyone figured out how to maintain recording while switching between front and back cameras?
Please help!?
What I tried
I thought I had it pinned down. But for some reason it will not start recording again after I pause while switching from back to front.
VisionCamera Version
2.15.1
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

On iOS this works flawlessly, on Android this is a limitation in the native CameraX library. I can't do anything to avoid that.

Thank you for the repo and response!
Follow up question: with V3 utilizing Camera2 instead of CameraX, will pause and resume work on android?
Thanks again!

damn it's been 1 year already for this issue ?

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.
If your issue has been fixed, consider sponsoring me on GitHub to say thanks 💖

Flipping Camera device now works on Android!

and it was really hard to implement lol... I had to create my own custom OpenGL pipeline (400 lines of C++ code) just for that.

hi, could you please provide Flipping Camera device document


vTaskDelay(1) wrong first time

Environment

IDF version: v3.3-dev-180-g4c881708d
Compiler version: 1.22.0-80-g6c4433a

Problem Description
vTaskDelay(1) does not wait 1 FreeRTOS tick for the first time.
Code to reproduce this issue
CPU frequency must be set to 240 MHz
FreeRTOS tick rate must be 1000 Hz
#include <esp_timer.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>

void app_main(void)
{
    uint32_t start, end;

    while (true)
    {
        asm volatile ("rsr.ccount %0" : "=r"(start));
        vTaskDelay(1);
        asm volatile ("rsr.ccount %0" : "=r"(end));

        // should be around 1000 us
        if ((end - start) / 240 < 500)
            printf("error %d\n", (end - start) / 240);
    }
}

sdkconfig.txt

This seems to be standard FreeRTOS behavior: vTaskDelay(1) will wait for the closest tick, vTaskDelay(0) is equivalent to yielding.
https://www.freertos.org/FreeRTOS_Support_Forum_Archive/December_2012/freertos_vTaskDelay_0_vs_vTaskDelay_1_6518023.html

That makes sense.


Cassandra 18508

Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

@maulin-vasavada please update cassandra.yaml with this new section as well. (probably add it to cassandra_latest.yaml too and update test/conf/latest_diff.yaml)

Closing since the PR is opened/reviewed on the Apache/Cassandra https://github.com/apache/cassandra/pull/3638

Closing since the PR is opened/reviewed on the Apache/Cassandra https://github.com/apache/cassandra/pull/3638


Delete Stop Button does not work. Seems like no API is called

To access this page, go to a route > edit trip > add/edit stop/ > choose a stop
We are unable to delete incorrect stop now.

Pop up modal is shown, however stop is not deleted. It appear nothing happened

Server was swallowing an exception thrown - you cannot delete stops if they have been previously associated with trips, but you never get that because the exception that gets triggered never gets returned to you.
datagovsg/beeline-server#41 filed, try again once merged

Alright. So for stops that has no assiocation trip, it should be deletable
right?
On Mon, 20 Nov 2017 at 10:10 AM, LoneRifle<EMAIL_ADDRESS>wrote:

Server was swallowing an exception thrown - you cannot delete stops if
they have been previously associated with trips, but you never get that
because the exception that gets triggered never gets returned to you.
datagovsg/beeline-server#41
https://github.com/datagovsg/beeline-server/pull/41 filed, try again
once merged
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/datagovsg/beeline-admin/issues/344#issuecomment-345573287,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVtU3zO2692GFm0QbqqoISmh--WyKn6Nks5s4N-egaJpZM4Qdh1R
.

Yup
On Mon, Nov 20, 2017 at 10:27 AM, chuasweechin<EMAIL_ADDRESS>wrote:

Alright. So for stops that has no assiocation trip, it should be deletable
right?
On Mon, 20 Nov 2017 at 10:10 AM, LoneRifle<EMAIL_ADDRESS>wrote:

Server was swallowing an exception thrown - you cannot delete stops if
they have been previously associated with trips, but you never get that
because the exception that gets triggered never gets returned to you.
datagovsg/beeline-server#41
https://github.com/datagovsg/beeline-server/pull/41 filed, try again
once merged
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/datagovsg/beeline-admin/issues/344#
issuecomment-345573287>,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/AVtU3zO2692GFm0QbqqoISmh--WyKn6Nks5s4N-egaJpZM4Qdh1R>
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/datagovsg/beeline-admin/issues/344#issuecomment-345575172,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFSUD3vGOBhzKKhVcQ7Hzh92iKwZ_3Kks5s4OORgaJpZM4Qdh1R
.


Add Robomaster Dev Board A

Hi @0-Yuuki-0  two things:

I have just rebased the main rm2021 branch, removed the WIP dev c support commits
With that change, i have helped you to cherry pick commit https://github.com/nusrobomaster/nuttx/pull/2/commits/5b2f307fa70766ea9126b9f8e7e71d89a6ec5b0c and put into branch dev/huy

Could you change your PR according to this? So we can do PR directly from your dev branch within this repo, no more forking needed.
Issues I found out from your PR:

you seems not changing the boards/Kconfig file, you should add the config lines for Dev A board

I tried this
$ ./tools/configure.sh -l stm32f427-robomaster-dev-a:usbnsh
$ make -j12
Create .version
LN: include/arch/board to /home/huimin/git/rm2021/nuttx//include
LN: arch/arm/src/board to /home/huimin/git/rm2021/nuttx//src
No directory at /home/huimin/git/rm2021/nuttx//src
tools/Makefile.unix:292: recipe for target 'arch/arm/src/board' failed

We will perform PR from within this repo in /dev/huy instead, close this PR


Single command to create and deploy an app

Describe your problem(s)
Creating an app and deploying is a 2 command action.
$ chor app create my-cool-app
Application ID: xxxxxxxxxx
$ chor app deploy xxxxxxxxxx https://www.github.com/john/app
Build ID: yyyyyyyyyyy

It will be a better experience if we have a single command for this. Related to #67
Describe your solution
$ chor app deploy -c new-app-name https://www.github.com/john/app
Application ID: xxxxxxxxxx
Build ID: yyyyyyyyyyy

PS: After we have a globally unique human-friendly app name we will get rid of the Application ID.
Error scenarios

if the application name already exists the action should fail.

Scope description

Time Estimate
8d

This seems to be a continuation of the discussion from here: https://github.com/wso2/choreo-cli/issues/67

Yes. THis is a subtask of #67

This is fixed with #88


5.11.4 fails to build with ftxui-4.1.0

Problem Description
In file included from /wrkdirs/usr/ports/net/ecal/work/ecal-5.11.4/app/mon/mon_tui/src/main.cpp:29:
In file included from /wrkdirs/usr/ports/net/ecal/work/ecal-5.11.4/app/mon/mon_tui/src/tui/tui.hpp:31:
/wrkdirs/usr/ports/net/ecal/work/ecal-5.11.4/app/mon/mon_tui/src/tui/style_sheet.hpp:113:39: error: no member named 'Right' in 'ftxui::MenuOption'
    sheet.tab.direction = MenuOption::Right;
                          ~~~~~~~~~~~~^
/wrkdirs/usr/ports/net/ecal/work/ecal-5.11.4/app/mon/mon_tui/src/tui/style_sheet.hpp:212:39: error: no member named 'Right' in 'ftxui::MenuOption'
    sheet.tab.direction = MenuOption::Right;
                          ~~~~~~~~~~~~^

How to reproduce
regular build
How did you get eCAL?
Custom Build / Built from source
Environment

eCAL: 5.11.4
OS: FreeBSD 13.2

eCAL System Information
No response

Have you tried ftxui 4.0.0? https://github.com/ArthurSonzogni/FTXUI/releases/tag/v4.0.0
That is our currently supported version that we have linked as git submodule in the master branch. The 5.11.4 release is still on an older state of ftxui.

Apparently FTXUI 4.1.0 had a API breaking change from 4.0.0 -> 4.1.0. We'll see what can be done about it, but atm eCAL supports only ftui <= 4.0.0.

The FTXUI developer published a fixed release.
https://github.com/ArthurSonzogni/FTXUI/issues/649

@FlorianReimold should we update the submodule anyways (for master)?

Sure, why not. Currently we have linked 4.0.0.


Add ConstantTimeSelect trait

We can't impl subtle::ConditionallySelectable for Boxed* types due to a bound on Copy.
I've proposed various ways to try to fix this upstream, e.g. dalek-cryptography/subtle#118, from which the ConstantTimeSelect trait has been extracted. It provides the same API as
ConditionallySelectable but without the Copy bound.
A blanket impl of ConstantTimeSelect for all ConditionallySelectable types means that all stack allocated types can continue to use ConditionallySelectable and will receive an impl of ConstantTimeSelect as well.
A bound on ConstantTimeSelect has been added to the Integer trait as well, allowing it to be used on all *Uint types in this crate with Integer as the trait abstraction.

This of course doesn't work with the CtOption combinators (most of which are arguably better implemented without it), but with #440 introducing a new const-friendly CtOption-alike we can potentially work around that.

Merging this so we have some sort of trait-based abstraction over these types


get yq fails with 404

Expected Behaviour
Executing arkade get yq should install yq
Current Behaviour
The following error message is shown:
Downloading yq
https://github.com/mikefarah/yq/releases/download/v4.2.1/yq
Error: check with the vendor whether this tool is available for your system: incorrect status for downloading tool: 404

Steps to Reproduce (for bugs)

Install ArchLinux .. or I guess any other Linux system
Run arkade get yq

Context
Would be great to have yq through arkade.
Your Environment

Operating System and version (e.g. Linux, Windows, MacOS):

uname -a
Linux torch 5.4.86-1-lts #1 SMP Wed, 30 Dec 2020 21:01:35 +0000 x86_64 GNU/Linux

cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux

What arkade version is this?

arkade version

Version: 0.6.25
Git Commit: ccee0f731397c59917ff72e64794f08748c921a3

I can reproduce this on Linux.
@nitishkumar71 please could you take this on and submit a fix in a PR?

I can reproduce this on Linux.
@nitishkumar71 please could you take this on and submit a fix in a PR?

/asign nitishkumar71

/asign nitishkumar71

/asign: nitishkumar71

/asign: nitishkumar71

:+1:

:+1:


Prevent widget from being dragged outside of containing div?

Hi all,
I'm currently trying to get Gridster to constrain itself inside of a grid. I don't want it to expand vertically outside of my div. I'm currently using dustmoo's fork of Gridster for the "shift_larger_widgets_down: false" feature. What I'm trying to do is prevent it from being dragged outside of the div, but I can't seem to get any events to stop - I've tried
draggable.start = function(e,u) {
    e.preventDefault();
    e.stopPropagation()
    return false;
}

..but none of these seem to stop the event from happening. Is there a way I can prevent these events from happening?
For reference, I'm trying to prevent this:

From looking like this:

Helloe @dustmoo ,
I have checked this js file, but with using this js resize not works.
Can you please tell me is it works or not ?
Because above version of js file resize works correctly but when i have replaced with this js then max_rows works fine but resize not works.
Please give me your positive answer.

$(".gridster ul").gridster({
widget_margins: [5, 5],
widget_base_dimensions: [50, 50],
max_cols: 16,
max_rows: 15, //Limiting rows only works if shift_larger_widgets_down is set to false
shift_larger_widgets_down: false;
resize:{
enabled:true
}
}).data('gridster');
this not works

@harshmsp, would you setup an example so I can debug?


Issue: changing properties of a WMSTileLayer with a callback causes the layer to disappear

Hi,
I am trying to modify the extraProps property of a WMSTileLayer with a callback to access different historical images. I am able to see the imagery on the map initially, but once I try to change extraProps with a callback, the layer disappears. I have also tried modifying the transparent property with a callback to test the issue, and that also caused the layer to disappear.
The layer is defined in the app layout as follows:
dl.WMSTileLayer(
    url="https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r-t.cgi", # example NEXRAD data
    layers="nexrad-n0r-wmst",
    format="image/png",
    transparent=True,
    attribution='Weather data by Iowa Environmental Mesonet of Iowa State University',
    extraProps=dict(
        time=_start_datetime.strftime("%Y-%m-%dT%H:%M:%SZ"),
    ),
    id="map-weather-n0rt",
)

I am trying to change the time by using a callback to set map-weather-n0rt.extraProps to
dict(
    time=current_time.strftime("%Y-%m-%dT%H:%M:%SZ"), # historical time
)

which causes the layer to disappear. However, I am able to view different historical images by modifying the extraProps["time"] value in the initial layer definition, so I don't think it's an issue with the WMS server.
Is there something else I need to do to refresh the map after changing the extraProps property?
Thanks

Yes, you can use the developer tool in e.g Chrome to monitor the network requests. When you pan the map, you'll see requests fired - these are the ones to look at.

Hi Emil,
Thanks for the suggestion. I was able to track down the issue:
On the first map load, the WMS request does not include the "attribution" property of the WMSTileLayer. However, once I change the extraProps, subsequent WMS requests include the "attribution" property and its contents which results in an invalid WMS request which only returns blank tiles.
When I remove the attribution from the WMSTileLayer, it works as intended, but now I can't properly attribute the weather data to the correct source. I tried adding the attribution to the dl.Overlay that wraps the WMSTileLayer, but that isn't a supported property for that layer.
Do you know if there's any other way I can specify the attribution for that layer while also keeping it out of the WMS request?
Thanks


Small bug on documentation

Hey @piotrdz, thanks again for the great work, you rock here!
I've just noticed a few bug on the "Custom scale" demo:

It seems that there are 2 demos with the same name but the code example are not matching the examples.

Thanks @ValentinH for spotting this. I messed it up when I was splitting out the code to individual examples. It's fixed now.


Question: How to send a message from CentralSytem to chargepoint

Hello @OrangeTux ,
I can't find a way to send a request  from CentralSytem to ChargePoint.
Could you please tell me what i can do or it will be great if you can provide  an example

Hello @doumelas, sure I can tell you that! In this #7 I explained how to send a message from a the central system to a charge point. If you don't mind I close this ticket.
If you have any further question, feel free to reopen #7 and ask the question.

Thanks didn't ssaw it

@doumelas No problem. I think the fact that this question pops up multiple times shows that the examples can be improved.


Try removing the RNN?

Experiment 028 (currently running on donatello) tries removing the RNN.

Tried removing the RNN.
From two experiments, it looks like removing the RNN does hurt PV prediction quite a lot, and stops the model from adapting the PV predictions to each PV system. I think the summary is that we do need an RNN, and we should use an RNN for GSP predictions too!


Set initial filter to nz-table component

What problem does this feature solve?
Currently in my "nz-table" component in the header column can i set filterList in the nzFilters (input component parameter) but i can't set initial filter.
Can you help me with this wish?
Thank you
What does the proposed API look like?
I propose when set filterList input parameter on the header column, add one flag to set initial filters based on the filterList inputParameter and after this tirrger event "nzFilterChange", with this initial filter.
For example
To the [nzFilters] input parameter -> [{text: 'anyText' , value: 'anyValueId' }]
change To
[nzFilters] -> [{text: 'anyText' , value: 'anyValueId', selected : <true/false> }]

we will try to support in in next version.

@oluevano You can check the deploy preview. Is that what you need?

@wendzhue.  thank you so much, i will try this feature! and send you comments!

I tried the feature and it's ok!.
Thank you so much!.


Worker cash size casing the pod to terminate

algorithm python-big-array-2g has disconnected while in ready state, reason: CLOSE_ABNORMAL. status: terminated,exitCode: 0,reason: OOMKilled,startedAt: 2020-08-12T07:45:50Z,finishedAt: 2020-08-12T07:45:58Z,containerID: docker://19141b32bbecfae90515cddf724bc9ad6c4eccdc6b7817864de9d3a3b6e6b7fa
the algorithm has 2GB RAM
the output is 500M
if its a part of a batch execution  the algorithm will be closed due to out of memory after executing twice
the cashing amount should considered the output size no only the number of time it been use

tested on version
systemVersion: "v1.3.107",
fullSystemVersion: "v1.3.107-1598349651396",


Refine how repeated tests are tracked

Recently we had to take on some tech debt and enable test repetition in our unit tests to cope with the noise introduced by a few flaky tests.
If a test fails, xcodebuild will retry it up to 3 times. This is usually enough to compensate for the flakiness and obtain the successful test necessary for the whole test suite to be considered successful.
At the Test Analytics level, however, the build appears as a failure. See purple annotation in the screenshot below:

(Apologies for the arrow noise in the screenshot. I annotated it to service two issue in one go, the other one being #52.)
What I think is going on is that the test failures are collected and reported, correctly, but the library does not account for retries.
In a sense, I like how failures are always reported because it doesn't let flaky tests off the hook.
However, this paints a somewhat inconsistent picture between the success graph of the pipeline which is all green and that of the analytics which is all red.
It would be great if Test Analytics could detect automatic retries like the one Xcode allows for.
One idea could to track all the tests so that the reliability ratio is accurate at the Test Analytics end, but use the Xcode test report to determine whether a test run was ultimately successful or not.
I could buy into a radical "if a test failed, even just once, the build failed" approach. However, I fear that would be confusing for users who are not aware of test repetition.

Having the same issue with test-collector-javascript


mode of symlink should be 0777

Mode of symlink is ignored in POSIX, but mac and bsd may check the read permission in readlink(). We follow the behavior in POSIX.
link: https://superuser.com/questions/303040/how-do-file-permissions-apply-to-symlinks
close #2915

Codecov Report
Base: 58.91% // Head: 58.91% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (ef4a9c6) compared to base (91e5508).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2916   +/-   ##
=======================================
  Coverage   58.91%   58.91%
=======================================
  Files         141      141
  Lines       24543    24543
=======================================
+ Hits        14459    14460    +1
+ Misses       8211     8210    -1
  Partials     1873     1873

Impacted Files
Coverage Δ

pkg/meta/base.go
67.65% <100.00%> (ø)

pkg/vfs/writer.go
76.58% <0.00%> (-1.99%)
:arrow_down:

pkg/meta/sql.go
64.07% <0.00%> (-0.10%)
:arrow_down:

pkg/meta/tkv.go
74.88% <0.00%> (+0.44%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


KSM Docker image without vulnerabilities

Greetings,
The latest ksm docker images pulled from docker hub have three severe vulnerabilities from glibc (CVE-2019-25013 and CVE-2021-33574) and lz4 (CVE-2021-3520). My goal is create a clean docker image. Where in the code can I change the versions or glibc and lz4 or is it from the openjdk image?
Thank you

Update to the latest version of docker file


Add a site redirection check

Сheck to find live domains which redirect somewhere.
The most popular cases:

a site just moved to a new domain
a site is dead, but new domain owner uses it for another purposes (99% parked and uses redirection to a selling page, or used for ads/scum.

Currently, domains that are used in such scenarios are skipped.
In the second case URLs contain query params (usually ad related).
These domains can be logged to a file by pairs domain + tab + redirection_url or replaced in the filter by ! commented out by dead-domains-linter: domain + redirection_url
Perhaps if an address doesn't open with HTTPS, it can be considered dead.
Examples:

bukaivip.com - first-party redirect

Screenshot

sa8zdui.com - third-party redirect

Screenshot

www.mp4er.cc - legal redirect

Screenshot

Redirect does not look like a good indication of the domain being dead.
It means the domain is very well alive and since there's traffic on that domain, it can be repurposed back very quickly.

If a site is moved, the rule is not used. For us, it is almost equal to a dead domain.
But the list of logged domains can be reviewed.


Azure frontdoor ARM Template with own certificate

I am trying to automate complete creation of Azure Frontdoor through ARM Templates. But seems like we cannot achieve it. The problems i am facing are as follows.

We cannot use copy function to create multiple backend pools (each pool with multiple backends). Since ARM Template doesn't support  nested copy feature yet.

I used copy to create multiple custom domains at once but assigning frontend to routing rules fails with error "The resource operation completed with terminal provisioning state 'Failed'.",.   I am kind of stuck here.

We cannot configure the setting to use  Azure managed certificate or Own certificate through Keyvault in ARM Template. This template meant to solve this issue but this template is a copy from other template without a mention of certificate configuration. (https://github.com/Azure/azure-quickstart-templates/blob/master/101-front-door-custom-domain/azuredeploy.json)

Can we have multiple frontdoor instances in one tenant?

I have followed ARM Templates from below link. They need more customization and support broad use cases as i mentioned above.
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-quickstart-template-samples

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

ID: ea673aa4-1e06-c7a4-c86a-ab949e46394e
Version Independent ID: 7fbe7485-538d-7c0e-d219-41ead79fb38f
Content: Azure Resource Manager template samples - Azure Front Door Service
Content Source: articles/frontdoor/front-door-quickstart-template-samples.md
Service: frontdoor
GitHub Login: @sharad4u
Microsoft Alias: sharadag

@prabhakarreddy1234 , Thank you for your feedback. We will investigate and get back to you shortly.

@prabhakarreddy1234, Appreciate your patience. We have assigned this issue to the content author for further analysis on this ARM query.
@sharad4u, Could you please provide your insights on this?

I'm facing the same issue with the TLS certificate for a custom domain.
Manually creating the resource and export the template does not reveal anything and there is a warning that some resources can't be exported.
Also having a bit of trouble with the Front Door WAF policies, and can't find a way to associate the pre-defined managed rules (e.g.  DefaultRuleSet_1.0) from the ARM template.

I'm facing the same issue as mentioned about
a) We are not able to associate the the Certificate though ARM template
b) We are not able to associate DefaultRuleSet_1.0 to AFD.
Do we have any update here @msrini-MSFT ?

@gowdachandan for your second question:
Use "apiVersion": "2019-03-01" for the "type": "Microsoft.Network/FrontDoorWebApplicationFirewallPolicies"
And under properties, include the following:
"managedRules": {
                "managedRuleSets": [
                    {
                        "ruleSetType": "DefaultRuleSet",
                        "ruleSetVersion": "1.0"
                    }
                ]
            }

We're having the same issue trying to associate the Certificate through ARM.  Is there an up to date example of this yet ?

We're having the same issue trying to associate the Certificate through ARM. Is there an up to date example of this yet ?

+1

We're having the same issue trying to associate the Certificate through ARM. Is there an up to date example of this yet ?

+2

We're having the same issue trying to associate the Certificate through ARM. Is there an up to date example of this yet ?

+3

Me too - associating cert.
+5

+6

+7
From this post:
https://stackoverflow.com/questions/58180861/enable-https-on-azure-front-door-custom-domain-with-arm-template-deployment
It looks like its in the works, but it's not ready yet?

We're having the same issue trying to associate the Certificate through ARM. Is there an up to date example of this yet ?

+8

+9

#reassign: gunjanj

+10

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


lxd/init: Try to bind LXD network address when running interactively

Fixes #7202.
Signed-off-by: Free Ekanayaka<EMAIL_ADDRESS>

Testsuite passed


conflict with angular bootstrap modal

When injecting ui.boostrap and toaster, closing a modal dialog doesn't hide de backdrop.

Can you add a small, complete repo?  This sounds like an issue within your modal code, not a conflict issue.  I've used toaster with ui.bootstrap without any conflicts.

You're rigth, it was an error in my code, thank you!


crossbar unable to start for the real time monitor using django

2015-05-13 11:56:06+0800 [Controller   5214] Crossbar.io 0.10.4 starting
2015-05-13 11:56:06+0800 [Controller   5214] Running on CPython using EPollReactor reactor
2015-05-13 11:56:06+0800 [Controller   5214] Starting from node directory /home/moxlotus/Documents/realtimemonitor/.crossbar
2015-05-13 11:56:06+0800 [Controller   5214] Starting from local configuration '/home/moxlotus/Documents/realtimemonitor/.crossbar/config.json'
2015-05-13 11:56:06+0800 [Controller   5214] Traceback (most recent call last):
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/bin/crossbar", line 9, in
2015-05-13 11:56:06+0800 [Controller   5214]     load_entry_point('crossbar==0.10.4', 'console_scripts', 'crossbar')()
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py", line 665, in run
2015-05-13 11:56:06+0800 [Controller   5214]     options.func(options)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py", line 404, in run_command_start
2015-05-13 11:56:06+0800 [Controller   5214]     node.start()
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/controller/node.py", line 108, in start
2015-05-13 11:56:06+0800 [Controller   5214]     config = check_config_file(configfile, silence=True)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 1876, in check_config_file
2015-05-13 11:56:06+0800 [Controller   5214]     check_config(config, silence)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 1850, in check_config
2015-05-13 11:56:06+0800 [Controller   5214]     check_worker(worker, silence)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 1754, in check_worker
2015-05-13 11:56:06+0800 [Controller   5214]     check_router(worker, silence)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 1499, in check_router
2015-05-13 11:56:06+0800 [Controller   5214]     check_router_transport(transport, silence)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 1253, in check_router_transport
2015-05-13 11:56:06+0800 [Controller   5214]     check_listening_transport_web(transport)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 871, in check_listening_transport_web
2015-05-13 11:56:06+0800 [Controller   5214]     check_paths(paths)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 926, in check_paths
2015-05-13 11:56:06+0800 [Controller   5214]     check_web_path_service(p, paths[p], nested)
2015-05-13 11:56:06+0800 [Controller   5214]   File "/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py", line 822, in check_web_path_service
2015-05-13 11:56:06+0800 [Controller   5214]     raise Exception("invalid type '{}' for sub-path service in Web transport path service '{}' configuration\n\n{}".format(ptype, path, config))
2015-05-13 11:56:06+0800 [Controller   5214] Exception: invalid type 'pusher' for sub-path service in Web transport path service 'notify' configuration
2015-05-13 11:56:06+0800 [Controller   5214]
2015-05-13 11:56:06+0800 [Controller   5214] {u'realm': u'realm1', u'role': u'anonymous', u'type': u'pusher'}
How can this be solved?

 invalid type 'pusher' for sub-path service in Web transport path service 'notify' configuration
Sorry, the type was renamed from "pusher" to "publisher". Please see here: http://crossbar.io/docs/HTTP-Bridge-Services-Publisher/

the Django example still uses "pusher" at https://crossbar.io/docs/Adding-Real-Time-to-Django-Applications/


Invalid package attribute when installing home-manager as a nixos module

Hi, thank you very much for home-manager, I love using it.
So, I've been using home-manager as a nixos module for a while now and everything was working smoothly until today, when at some point I tried running sudo nixos-rebuild switch. This resulted in an error:
building Nix...
unpacking 'https://github.com/rycee/home-manager/archive/master.tar.gz'...
building the system configuration...
error: Invalid package attribute path `qgnomeplatform'
(use '--show-trace' to show detailed location information)

Relevant part of my configuration.nix:
 imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
      "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz/nixos"
      ./users.nix
      ...
    ];

users.nix contains a lot of stuff but nothing fancy really.
When I moved the whole thing to home-manager program everything worked fine again. Do you know what could be the issue here?
Output of sudo nixos-rebuild build --show-trace

I'm having this problem aswell.
I suppose this commit might be related
https://github.com/rycee/home-manager/commit/995fa3af36a6555dcf302117b71edbee0d7542f5

I tested using 03162970cd6dadfac58f169cd50aed5a5aeec14f instead of master. That one builds. So yeah, it is 995fa3af36a6555dcf302117b71edbee0d7542f5 that's the culprit

You are most likely using the master branch of Home Manager together with the 18.09 version of Nixpkgs. You should use the release-18.09 branch of Home Manager. That is, https://github.com/rycee/home-manager/archive/release-18.09.tar.gz instead of https://github.com/rycee/home-manager/archive/master.tar.gz.

Yes, this helped, thanks! I'm closing this then (hope this helps @MichaelBergquistSuarez too).

Yeah, you are correct @rycee! That's how I was using it. @WhosCounting, it works for me too
Thanks for the fast response as usual

The same problem applies to 19.03, as the commit is in there as well.

@fricklerhandwerk Hmm, the qgnomeplatform package is in the release-19.03 branch so it should work fine. Are you certain you don't accidentally have some 18.09 lingering around?

Ah yes, my bad. I was switching between 18.09 and 19.03 installations for testing and in this case I ran a 19.03 home-manager on 19.03 NixOS.


"Invalid" on grant page when the grants are correct

I have the following displayed on my validator's page for my wallet I have grants for:

My grants are the following:
[
    {
        "authorization": {
            "@type": "/cosmos.authz.v1beta1.GenericAuthorization",
            "msg": "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"
        },
        "expiration": "2023-04-16T14:41:59Z"
    },
    {
        "authorization": {
            "@type": "/cosmos.authz.v1beta1.GenericAuthorization",
            "msg": "/cosmos.staking.v1beta1.MsgDelegate"
        },
        "expiration": "2023-04-16T14:45:47Z"
    }
]

so it should be all valid (no limitation on sum or , yet somehow it says it isn't. What may be the reason for?
I tried to see the source for this error, this line https://github.com/eco-stake/restake/blob/7c2b8edece6a1860db798332d064c42d9c1809f8/src/utils/OperatorGrants.mjs#L46 sounds suspicious (as there's no validators declared, only grantValidators), but I can't confirm or deny it's the reason.
Can you look into it?
Thanks in advance!

Hey sorry about this, working on it in #442. The grants are valid, it's just the display which is incorrect right now

Got it, thanks!
I guess you may close this one as a duplicate if you like, as there's already an ongoing issue on that.


Speedier renders

This change is

Thanks, @mjibson! @sploiselle, can you please review?

Review status: 0 of 169 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Cannot create online meetings

I'm trying to create a meeting with an autogenerated teams link. After searching for a bit (documentation was not very clear), including peeking at the outlook traffic while creating events with and without teams, it looks like I need to set the meeting as online (with Appointment#setIsOnlineMeeting), with onlineMeetingProvider set to Teams for Business. However, there is no option for setting the onlineMeetingProvider, and if I only set the online flag, I get an error on save ("Set action is invalid for property").
It seems to me that either:

You can set the provider by some other way that I didn't found, and I'd argue that it's maybe kinda hidden and a convenience method on the Appointment class would be preferred
You actually can't add a teams link with the EWS API, you need the Graph API for that, then maybe the online flag should not be writable
I'm way off and it's done in a totally different way

Any insight?

Have you found a solution to this?

Moving to the Graph APIs solved the problem. I guess the EWS APIs are not maintained anymore.

Thanks, will have to do the same, hope my company will allow the OnlineMeetings.ReadWrite permission then.
BTW, yes it seems EWS is deprecated


Automatic install for Recalbox

My raspberry pi with retro pi installed is saying something along the lines of permission denied, I don't know how to explain it so here's what I got through SSH.

Also, can anyone make a tutorial to install Mcairpos and how to get games working?
Thanks

Hi @idontknowthings,
Thanks for trying McAirpos!
I am a little confused here, since in this issue's header, you mention Recalbox, while you introduce your issue by explaining that you have a "...raspberry pi with RetroPie installed...". The latter seems to be confirmed by your command prompt showing "pi@retropie", where the pi user does not exist on Recalbox installations.
Given that you are on Raspberry Pi OS/RetroPie, and not on Recalbox, there is a similar automatic installation script you can use for RetroPie here:
https://github.com/Vegz78/McAirpos#quick-automatic-installation-for-retropierpi-os
Please report back how this works or does not work for you.

Also, can anyone make a tutorial to install Mcairpos and how to get games working?

IMHO, I believe there is ample information in the readme.md on the main repo page about how to install, use and configure McAirpos with controller support. So, if you believe something is missing, please be more specific about what you find is missing or help me fill in the blanks.
https://github.com/Vegz78/McAirpos

Closing this issue since I have not heard anymore back from @idontknowthings. I hope that the RetroPie install script still works, and that this issue was solved with many new retro-like MakeCode Arcade games now being made and played in yet another RetroPie installation!


186725623 integrate transport

creating draft pull request to make it easier to review changes

Merging even though this is still broken cause it contains some more p2p protocol and config fixes


ci: add cargo checks

Regarding the TODO comment (that is copied from essential-server) about cargo-toml-lint:
I suggest we add a check to make sure that the spaces between brackets are unified, for example to:
favor reqwest = { workspace = true, features = [ "json" ] }
or reqwest = { workspace = true, features = ["json"] }
over reqwest = { workspace = true, features = ["json"]}
Any thoughts?
The pint repo is also using this tool, so CCing @mohammadfawaz for the question above.
Closes #25

I'm down with uniform spacing. How do we set that up, is there some config for cargo-toml-lint. Let's just definitely not add trunk haha


feat(signal-slice): option to supply sources as function

This is a draft implementation that allows optionally supplying sources as a function that can utilise the current state and return an array of sources.
This addresses what I think is a fundamental problem with the current implementation and is highlighted by this use case from @justinrassier on Twitter: https://twitter.com/justinrassier/status/1722619039787446438 - I've also already run into this issue for error handling
Actions can be created by defining reducers, but if you want a source to be able to utilise an action you have to define one separately outside of signalSlice (e.g. as in the example above where a separate load$ action is created with a subject).
This change would allow (optionally) supplying a function instead of an array of sources directly:
  state = signalSlice({
    initialState: this.initialState,
    sources: (state) => [
      state.manualLoad$.pipe(switchMap(() => this.sources$)),
    ],
    reducers: {
      manualLoad: () => ({}),
    },
  });

This allows creating the action inside of signalSlice but still also allows it to be utilised by sources. This particular example waits for the manualLoad action to be triggered before actually loading from the sources.
The current implementation in this PR works, but the typing is broken. I am opening this draft PR to investigate whether it is possible to type this API or whether we can arrive at an alternative solution.

The typing issue is pretty tricky. TypeScript cannot prioritize which property to infer TReducers from because sources and reducers both "utilize" the TReducers type parameter.
// this won't work because TReducers from "sources" takes precedence
signalSlice({
  sources: () => [],
  reducers: {}
});

// this WILL work
signalSlice({
  reducers: {},
  sources: () => []
})

With that in mind, an API that depends on the order of object properties isn't scalable and hard to reason about. Hence, we shouldn't change how sources work, at least for now.
That said, here are 2 alternatives:

Allow reducers to accept external Subject. This allows for a little less boilerplate on the consumers' side.

const load$ = new Subject<void>();
const state = signalSlice({
  initialState,
  sources: [load$.pipe(switchMap())],
  reducers: {
    load: load$
  }
});

state.load(); // "nexting" the Subject

Allow reducers to accept a Function that returns Observable<PartialOrValue<TSignalValue>>. I think this alternative has the best set of trade-off.

const state = signalSlice({
  initialState,
  reducers: {
    //    👇 we create this internal "stream" anyway
    //                   👇 this provides the type for "load()" reducer
    load: ($: Observable<void>) => $.pipe(switchMap(/*...*/))
  }
});

state.load(); // this will kick off the stream

Let's attempt Justin's example with the 2nd alternative
type ReferenceState = {
  referenceAsyncState: ReferenceAsyncState;
}

const initialReferenceState: ReferenceState = {
  referenceAsyncState: initialAsyncState()
}

@Injectable({ providedIn: 'root' })
export class ReferenceFacade {
  #referenceService = inject(ReferenceService);

  public state = signalSlice({
    initialState: initialReferenceState,
    reducers: {
      load: ($: Observable<void>) => $.pipe(
        switchMap(() => this.#referenceService.load()),
        map(references => ({ referenceAsyncState: loadedAsyncState({ references }) })
      )
    }
  })
}

I agree, the second approach appeals more to me for two main reasons:

Keeps it all inside signalSlice - it doesn't feel quite right to create this "state management mechanism" manually (the load subject) outside of signalSlice and pass it to signalSlice

The explanation/story/docs will just make more sense imo, e.g. for the load case:

Option 1: "You can create a load$ subject externally that you pass in as a reducer and also as a source, you can then call the action created by that reducer to next your load$ subject, and since it is also being used as a source it can trigger the load when the action is called"
vs
Option 2: "You can create reducers that can act as manually triggered sources. So, you can create a "load" reducer that returns your source stream, and that source will be triggered when you call state.load()"
imo option 2 is far more intuitive (as well as resulting in a cleaner API). I'll work on this.

I have made an adjustment to the API so that the reducer always receives the state as its first argument.
const state = signalSlice({
  initialState,
  reducers: {
    load: (state, $: Observable<void>) => $.pipe(switchMap(/*...*/))
  }
});


Git Commit Problem: "error: There was a problem with the editor 'vi'"

I'm just starting to use Vundle and I'm running into an error when editing a Git message using the .vimrc setup from the README. When I try to save any git message in vim, I get the following error.
$ git commit
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.

I've tracked this down to the initial filetype off directive (marked as required in the README). I don't understand why its causing this issue, but after commenting out the line, but this re-enabled Git commit editing in vim.
Can you shed some light on why its "required" to disable filetype detection before using vundler? And then to re-enable it (using filetype plugin indent on) later on?
FWIW, my vim version:
$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 24 2011 20:00:09)
Compiled by<EMAIL_ADDRESS>Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path
+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv
+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
-mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse
+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
+path_extra -perl +persistent_undo +postscript +printer -profile -python
-python3 +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
 -xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -D_FORTIFY_SOURCE=0 -Iproto -DHAVE_CONFIG_H -arch i386 -arch x86_64 -g -Os -pipe
Linking: gcc -arch i386 -arch x86_64 -o vim -lncurses

git config --global core.editor $(which vim)
This works in my case. Platform Mac OS X 10.9.5

Just chiming in to say this only happened to me after installing the homebrew version of vim. Worked fine before hand. Hopefully that's a hint.

I tried git config --global core.editor $(which vim) and it doesn't work for me.
The error message are:

/usr/bin/mate -w: /usr/bin/mate: No such file or directory
error: There was a problem with the editor '/usr/bin/mate -w'.
Please supply the message using either -m or -F option.

Just hit this, thank God for you guys. Solution works. :D
Like many others posting here, I'm using a version of Vim installed by Homebrew on OS/X.
The problems wouldn't be happening because Git's not reading symlinked $EDITOR paths, would it...? Homebrew executables are symlinked to /usr/bin/, sooo...

thank you @ruebenramirez 🎉

git config --global core.editor $(which vim) worked for me too

git config --global core.editor /usr/bin/vim
solved my problem. Thanks!

I had this problem repeatedly when using ":W" by error instead of ":w". Using ":w" after having used ":W" once did not fix the problem, after saving and closing, the commit message was lost.
git config --global core.editor /usr/bin/vim fixed it reliably for me.

For me setting core.editor wasnt sufficient. I had a complicated .vimrc which had the following.
filetype off
I replaced that with
filetype on
filetype off

It looks dumb but this totally worked. See @cameronr comment for more detailed explanation. Kudos to him!

how to recover the lost git message when this happened?

@azhong00 you can find it int .git/COMMIT_EDITMSG

A more general solution is to set export EDITOR=$(which vim) in your .bashrc. Git will use this environment variable if core.editor is not set and other programs will know to use Vim too.

i have commit problem with my git cmd

@cameronr's solution here is the best IMO. I ran into this with a git commit as well but then I also it hit using kubectl edit on a kubernetes resource. The git config workaround will fix the problem in git but it'll still occur in other instances that invoke an editor and use the output. Setting filetype on before setting filetype off in the .vimrc resolves it in all situations.

this works for me too

Encounter this issue in Mac, the git config --global core.editor $(which vim) did NOT work for me, but setting ~/.vimrc works! Add below in it:
filetype on
filetype off

I know this is an old one, but it helped out.
On Windows, make it something like so to fix:
$ git config --global core.editor "C:/Program\ Files\ \(x86\)/Notepad\+\+/notepad\+\+.exe"
If you copy your path from Windows Explorer, make sure to replace all Directory Separators (\) with forward slash / and use the back slash to escape any non-alphanumeric charachters, such as in the example above for space char, +, ( and ).

git config --global core.editor $(which vim)

For people who prefer nvim, use git config --global core.editor $(which nvim)

I get error Unknown function: plug#begin when I set the vim editor path correctly :( Please help.

For those who uses vim or nvim, I recommend:
git config --global core.editor notepad

Also, in fish shell, you may want to use: git config --global core.editor (which vim)
Why does nvim not work in fish shell?
Setting it to vi (I dont have vim) fixed it for me, but I vastly prefer my Neovim setup

git config --global core.editor $(which vim) make sense to me

worked for me as will, did git config --global --core-editor nvim for my nvim preference env


Refactor imAccount Nonce

Summary of this PR:

This PR is related to PR 62
Fetch the entryPoint address from the account contract instead of the initialized address.
Use runner: ContractRunner for node RPC functions to avoid URL outdated issues.
Include runner: ContractRunner in related functions like getInitCode(), getInitializer(), getAddress(), signCreateAccount(), getOwner(), etc.


plugin

Hey,
Haven’t tried your plugin yet, but, seems like you’ve put a lot of work into it!
Point is, I own the homebridge-govee plugin, I wouldn’t want to get to the point, like other plugins have done, where there is a choice between one plugin doing better in some way and another in other ways.
So wondered if you’d like to work together to create one big awesome govee plugin!
It seems like you’re really knowledgeable in some of the govee protocol where perhaps i am not.
Ben

Hey Ben,
I think we can do something together! I am refactoring the Modes state to work with loading accessories from cache, they are losing state attributes due to class inheritance (this is the first Homebridge plugin I have made and had to learn Typescript to do). I spent a lot of time decoding and deciphering the hex operation codes, you can see a write up here https://blog.teagantotally.rocks/2022/02/12/the-ultimate-govee-homebridge-plugin/
Email<EMAIL_ADDRESS>and we’ll set up some further discussion.

Offline discussion


(#153) Integrate the new version of the contracts

Detailed description:
I integrated the new Router contract into the flow of the application. We check is a current passed asset is supported and return its corresponding Erc20Address.
RouterContractAddress is also added to the configuration.
Token flow was tested, monitoring for token transfers is also now working with the Mirror Node API update on testnet.
Which issue(s) this PR fixes:
Fixes #153
Checklist

[x] Documentation added
[ ] Tests updated

MintFunction should be mintWithReimbursement


sometimes unable to re-establish connections when leaving and rejoining a call

steps to reproduce:

establish a voice call with N peers where N > 2
without refreshing, disconnect and reconnect each peer from the call in a round-robin fashion
observe sometimes one or more peers do not reconnect to one another unless the page is fully refreshed

cc @ara4n

Should be fixed in https://github.com/vector-im/hydrogen-web/commit/bb2e63b05ba568918f6e7caf56dc33e7f0b60f6f


Cruisecontrol deployment does not get recreated if deleted accidentally by user.

Describe the bug
Cruisecontrol deployment does not get recreated if deleted accidentally by user.
Steps to reproduce the issue:
Create a simpleKafkacluster
Delete the cruise control deployment
Expected behaviour
CruiseControl deployment should be recreated immediately.

Tried deleting the deployment and it got recreated so this issue was completely fixed by #749 .


Read and dynamically resolve the "imports" during Plugins building

closes #34248

Maybe we want to consider something like
function filenameToClass(filename) {
  return filename.replaceAll(/(?:^|-)[a-z]/g, char => char.slice(-1).toUpperCase())
}

and rename files (if necessary) to match that scheme (file-name => FileName).
In that case we could use globby e.g. like
const paths = globby.sync('**/*.js', {
  cwd: srcPath
})

so we wouldn't have to hardcode any component/file paths.

@alpadev I tried to implement the suggestions. It runs fine locally, but fails on checks here. Any suggestions?

Would this be good to go this week for a potential v5.1.0 release, or can/should we punt to v5.2.0?

No rush to launch it ;)


Spinner UI element

Spinner UI element (and SpinnerTest to demonstrate)

I have tried implementing all your proposed changes in my latest commit.

My thoughts:

Name is a problem. For me, a spinner is an element indicating wait time. That's not the case here, it is some kind of carousel view.
I am not sure if it is a good idea to add it to the main project, but if it is better to release as an own lib or gist.

I don't think that name is a problem as Java's swing also names this component a spinner. Carousel is something different and not typically associated with (number) input.


Hide/Show animation causes exception for toolbar

The wrong (undefined) property was sent to the animator.
Fixes #357

Please merge! Still having this issue!

PING

Once I have a time for this I will fix the lint .. if you want to have this faster you can create a new PR and fix the lint ...