[BUG]Change TimeZone with Invoke-PnpQuery has no effect

Reporting an Issue or Missing Feature
Default TimeZone Change is impossible, not for the main site asswell for all other sub sites.
Same Code with Changing the LocaleId works !
Expected behavior
In that case of the sample Code:
old      TZ: 4
target TZ: 13
real     TZ: 13
Actual behavior
In that case of the sample Code:
old     TZ: 4
target TZ: 13
real    TZ: 4    <= the change dosent happen
Steps to reproduce behavior
# set varas
$TenantName = 'yourTenant'
$SPOAdminSiteUrl = "https://$($TenantName)-admin.sharepoint.com"
$TimeZone  = 13  # == new TimeZone ID

# connect
$PNPCon = Connect-PnPOnline -Url "https://$($TenantName).sharepoint.com" -UseWebLogin -ForceAuthentication -ReturnConnection -WarningAction Ignore

# get a list of all timezones
$web = Get-PnPWeb -Includes RegionalSettings.TimeZones -Connection $PNPCon

# read as is / old DefaultTimeZone
$TimeZoneSetting = Invoke-PnPSPRestMethod -url "$($SPOAdminSiteUrl)/_api/SPOInternalUseOnly.TenantAdminSettings?`$select=TenantDefaultTimeZoneId" -Connection $PNPCon
$TimeZoneNOW = $web.RegionalSettings.TimeZones | Where {$_.ID -eq $TimeZoneSetting.TenantDefaultTimeZoneId.Value}

# get target / new TimeTone as TimeZone Object
$newTimeZone = $web.RegionalSettings.TimeZones | ?{ $_.ID -eq $TimeZone }

# set new TimeZone and LocalId
$web.RegionalSettings.TimeZone = $newTimeZone
$web.RegionalSettings.LocaleId = 1031
$web.Update()
Invoke-PnpQuery -Connection $PNPCon

# reread TimeZone Setting
$TimeZoneSetting = Invoke-PnPSPRestMethod -url "$($SPOAdminSiteUrl)/_api/SPOInternalUseOnly.TenantAdminSettings?`$select=TenantDefaultTimeZoneId" -Connection $PNPCon

# check output
Write-Host "old    TZ: $($TimeZoneNOW.id)"
Write-Host "target TZ: $($newTimeZone.id)"
Write-Host "reload TZ: $($TimeZoneSetting.TenantDefaultTimeZoneId.Value)"

What is the version of the Cmdlet module you are running?
1.11.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Note:
We have MFA active and up to now i have no registred App, i have to activate my SP Admin Role each time, und also we hat a bunch of tenants.
If i would know how to set that Setting with Invoke-PnPSPRestMethod i would choose that but i dont get that how too :(
I tried do change the TimeZone also with "$web.RegionalSettings.TimeZone.SetId( $newTimeZone.Id )" and it dosent work also.

You should target the site collection where you actually changed the value (root site collection in this case), instead of the admin site collection.
This line looks wrong to me:
reread TimeZone Setting
$TimeZoneSetting = Invoke-PnPSPRestMethod -url "$($SPOAdminSiteUrl)/_api/SPOInternalUseOnly.TenantAdminSettings?`$select=TenantDefaultTimeZoneId" -Connection $PNPCon

When you re-read the timezones setting for the site where you have changed it, you need to recall the web object to get the updated values. Can you please try calling get-pnpweb again?

You mean like this ?
# set new TimeZone
$web.RegionalSettings.TimeZone = $newTimeZone
$web.RegionalSettings.LocaleId = 1031
$web.Update()
Invoke-PnpQuery -Connection $PNPCon

# reread TimeZone Setting
#$TimeZoneSetting = Invoke-PnPSPRestMethod -url "$($SPOAdminSiteUrl)/_api/SPOInternalUseOnly.TenantAdminSettings?`$select=TenantDefaultTimeZoneId" -Connection $PNPCon
$web = Get-PnPWeb -Includes RegionalSettings.TimeZones -Connection $PNPCon
$reloadedTimeZone = $web.RegionalSettings.TimeZone

Its funny, the Output is (in case, wana set from 4 to 13)
old    TZ: 4
target TZ: 13
reload TZ: 13
BUT ! if i look in the Site creation settings on the SP Admin Site, the TimeZone is still at 4.
And if i restart the Script, the Output is the same.
Also wenn i use the same Code with like a loop through all Sites of the tenant und call inside, eG:
foreach( $site in $SitesCollections )
{
    $sitePnpCon = Connect-PnPOnline -Url $site.url -UseWebLogin -ReturnConnection -WarningAction Ignore
    $subweb = Get-PnPSubWeb -IncludeRootWeb -Includes RegionalSettings,RegionalSettings.TimeZone,RegionalSettings.LocaleId -Connection $sitePnpCon

    #$subweb.RegionalSettings.TimeZone = $newTimeZone  <= produce an error:
    #     Exception setting "TimeZone": "The object is used in the context different from the one associated with the object."
    $subweb.RegionalSettings.TimeZone.SetId( $newTimeZone.Id )
    $subweb.RegionalSettings.LocaleId = $LocalId

    $subweb.Update()
    Invoke-PnpQuery -Connection $sitePnpCon -Verbose -Debug
}

It is the same behavior, LocalID changes take effect, TimeZone not.

You are assigning the TimeZone Object of another Context to the "subweb" Object -> This isn't allowed in CSOM.
You need to modify the current Object, or create a new one with the same Context instead.
If I understood your requirement correctly, you would like to change the default TimeZone on the Admin Site Collection so that new Site Collections have the correct TimeZone (this can easily be done through the UI ;) ). And then also modify all current existing Site Collections with the desired TimeZone ?

@crasyI
You can use following Script to get started ;) it works like a charm for me.
$AllSiteUrl = @(
    #A List of All Site Urls
)

$TimeZoneId = 13

ForEach($SiteUrl in $AllSiteUrls){

    #Connect to the Site Collection with PnP PowerShell (use the method you see fit, I'm using an AD App with Certificate)
    $ConnectionParameters = @{
        "ClientId"   = "" #Removed for obvious reasons
        "Thumbprint" = "" #Removed for obvious reasons
        "Tenant"     = $TenantDomain
        "Url"        = $SiteUrl
    }
    $SiteConnection = Connect-PnPOnline @ConnectionParameters -ReturnConnection

    #Get the Web
    $Web = Get-PnPWeb -Includes RegionalSettings.TimeZones -Connection $SiteConnection

    #Get the desired Timezone from the Current Web Object
    $Timezone  = $Web.RegionalSettings.TimeZones | Where-Object {$_.Id -eq $TimeZoneId}
    <#
        Use the following line to get an overview of all available TimeZones
        $Web.RegionalSettings.TimeZones | Format-Table

        or

        $Web.RegionalSettings.TimeZones | Out-Gridview
    #>

    #Set the desired Timezone
    $Web.RegionalSettings.TimeZone = $Timezone
    $Web.Update()
    Invoke-PnPQuery -Connection $SiteConnection

    #Read WebObject Again
    $Web = Get-PnPWeb -Includes RegionalSettings.TimeZones -Connection $SiteConnection

    If($Web.RegionalSettings.TimeZone.Id -eq 13){
        Write-Host "Timezone Updated for Site Collection:`t $SiteUrl" -ForegroundColor "Green"
    }Else{
        Write-Host "Failed to Update Timezone for Site Collection:`t $SiteUrl" -ForegroundColor "Yellow"
    }
}

If you want to Update on the Admin Site Collection through PowerShell as well, just include the Site Collection Url in the List

You are assigning the TimeZone Object of another Context to the "subweb" Object -> This isn't allowed in CSOM. You need to modify the current Object, or create a new one with the same Context instead.
If I understood your requirement correctly, you would like to change the default TimeZone on the Admin Site Collection so that new Site Collections have the correct TimeZone (this can easily be done through the UI ;) ). And then also modify all current existing Site Collections with the desired TimeZone ?

That the UI dosen't work wasn't my Bug Report ;)
Yes, I could use it, and yes I did, but Bug is Bug.
And easily is realtive, if you have a bunch of tenants.

@crasyI
You can use following Script to get started ;) it works like a charm for me.
$AllSiteUrl = @(
    #A List of All Site Urls
)

$TimeZoneId = 13

ForEach($SiteUrl in $AllSiteUrls){

    #Connect to the Site Collection with PnP PowerShell (use the method you see fit, I'm using an AD App with Certificate)
    $ConnectionParameters = @{
        "ClientId"   = "" #Removed for obvious reasons
        "Thumbprint" = "" #Removed for obvious reasons
        "Tenant"     = $TenantDomain
        "Url"        = $SiteUrl
    }
    $SiteConnection = Connect-PnPOnline @ConnectionParameters -ReturnConnection

    #Get the Web
    $Web = Get-PnPWeb -Includes RegionalSettings.TimeZones -Connection $SiteConnection

    #Get the desired Timezone from the Current Web Object
    $Timezone  = $Web.RegionalSettings.TimeZones | Where-Object {$_.Id -eq $TimeZoneId}
    <#
        Use the following line to get an overview of all available TimeZones
        $Web.RegionalSettings.TimeZones | Format-Table

        or

        $Web.RegionalSettings.TimeZones | Out-Gridview
    #>

    #Set the desired Timezone
    $Web.RegionalSettings.TimeZone = $Timezone
    $Web.Update()
    Invoke-PnPQuery -Connection $SiteConnection

    #Read WebObject Again
    $Web = Get-PnPWeb -Includes RegionalSettings.TimeZones -Connection $SiteConnection

    If($Web.RegionalSettings.TimeZone.Id -eq 13){
        Write-Host "Timezone Updated for Site Collection:`t $SiteUrl" -ForegroundColor "Green"
    }Else{
        Write-Host "Failed to Update Timezone for Site Collection:`t $SiteUrl" -ForegroundColor "Yellow"
    }
}

If you want to Update on the Admin Site Collection through PowerShell as well, just include the Site Collection Url in the List

Oh damn, i just use an Object and dindnt thought there is any reference like that.
I will try, and give feedback ...

@Studermarc
Hi, sorry for my late comment, but i had got some error like "403 forbidden" (because of insufficent rights), and some other ones because i used the objects wrong ...
But i could use your example, to a for me good solution and now it dose work as i expected.
My mistake was, to get the timezone object once and use it in the loop for all sites.
A little Hint:
in your example, is an error (it should be "RegionalSettings.TimeZone" not "RegionalSettings.TimeZones") =>
    #Read WebObject Again
    $Web = Get-PnPWeb -Includes RegionalSettings.TimeZone**s** -Connection $SiteConnection

here you load the wrong attribut, so will the check
If($Web.RegionalSettings.TimeZone.Id -eq 13){

not realy compare the correct values ;)
Many Thanks for your support and  your time :) 👍

Thanks for the Hints ;) I've edited the Script accordingly, except for that part:
If($Web.RegionalSettings.TimeZone.Id -eq 13){
....
}

The "TimeZone" Object contains the current set Timezone, whereas the "TimeZones" Object, contains a list of all the available TimeZones
In this comparison, we actually want to check if the set TimeZone is equal to the TimeZone Id specified at the begining of the script.


Custom signal descriptions are not displayed in Node > Signals tab

Godot version
v4.1.1.stable.official [bd6af8e0e]
System information
v4.1.1.stable.official [bd6af8e0e]
Issue description
In-script documentation (##) for signal members is not appearing in the Node tab as expected.  Other documentation appears to work correctly in the Inspector tab.
Working example (exported variable):

Non-working example (signal)

I have tried deselecting and reselecting the associated Node, changing between the tabs on the left pane, changing active scripts and even restarting Godot - nothing makes it work.  According to the GScript Documentation on Documentation Comments, this should work, right?  Or is there something completely obvious that I am missing?
Steps to reproduce

In Godot, create a new Node of type Node
Attach a new script to this Node, accepting all current defaults
In the script editor create a signal called Foo and right above it, create a ## comment for it
Also create an @exported integer variable called Bar and also create a ## comment for it
Unselect and reselect the Node in the Scene tab to refresh the Inspector and Node tabs
Hover over the variable in the Inspector tab and see that the added description is shown correctly
Hover over the signal in the Node tab and see that the added description is not shown and "No description." is shown instead

This is an example of the script that could be added:
## This is signal foo!
signal Foo

## This is exported signal bar!
@export var Bar : int = 0

Minimal reproduction project
N/A

duplicate of #8980 cannot believe this is marked as fixed

I am still getting this issue.

Can't reproduce in 4.3


add-median

Codecov Report

Merging #29 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   99.92%   99.92%   +<.01%
==========================================
  Files           9        9
  Lines        1251     1276      +25
==========================================
+ Hits         1250     1275      +25
  Misses          1        1

Impacted Files
Coverage Δ

source/numir/stats.d
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Sorting to get the median is one of the slower selection algorithms, though it is relatively straightforward to write a quantile function that way. Phobos has a topN function in std.algorithm that you might look at also.
https://en.wikipedia.org/wiki/Selection_algorithm

We need our own topN based on betterC port of binary heap
http://docs.algorithm.dlang.io/latest/mir_container_binaryheap.html
PR is wellcome :-)

Thanks. I will look at that.

please ignore my comment about binary heap. Probably for topN where N = L/2 binary heap is not required


Add "Almost 100%" role

The 100% role is a critical part of the server to understand who to ask for help. This role will help people understand they can ask for all help except volcano 5.6.

The test is failing because this PR was created before the automatic labelling stuff was setup. If this is merged, we'll override it.

I don't think this role has been accepted, so if there is a burning need for it, we can always reopen this or create another PR.


Faster unstack

[x] Closes #1560 as proposed in issue discussion
[X] Tests added (for all bug fixes or enhancements)
[x] Tests passed (for all non-documentation changes)
[x] ASV benchmark added
[x] What's new added.

At least on my laptop from 2015, its was longer than 1s:
[ 25.00%] ··· Running unstacking.Unstacking.time_unstack_fast  201.44ms
[ 50.00%] ··· Running unstacking.Unstacking.time_unstack_slow  5.75s
[ 75.00%] ··· Running unstacking.UnstackingDask.time_unstack_fast 1.35s
[100.00%] ··· Running unstacking.UnstackingDask.time_unstack_slow 7.39s

so I reduced the array size and now its
[ 25.00%] ··· Running unstacking.Unstacking.time_unstack_fast  26.33ms
[ 50.00%] ··· Running unstacking.Unstacking.time_unstack_slow   594.61ms
[ 75.00%] ··· Running unstacking.UnstackingDask.time_unstack_fast  190.38ms
[100.00%] ··· Running unstacking.UnstackingDask.time_unstack_slow 809.36ms


Add further clarity on CRL

Option to Verify Client Certificate Revocation is to verify the client PKI cert.

If client is using Azure AD auth, it doesn't matter.
If using PKI and CRL is published externally then enable this option (recommended)
If using PKI and CRL is not published externally then disable this option
If misconfigured, this setting can cause additional client to CMG traffic, which can increase the Azure egress and thus cost.

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

ID: dc088606-ad8a-4a8c-dc06-4af6f92ee104
Version Independent ID: d482445e-2164-17ed-449b-3074457f2115
Content: CMG security and privacy
Content Source: sccm/core/clients/manage/cmg/security-and-privacy-for-cloud-management-gateway.md
Product: configuration-manager
Technology: configmgr-client
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Also cross-reference from https://docs.microsoft.com/en-us/sccm/core/clients/manage/cmg/setup-cloud-management-gateway, which has a few mentions of this setting.

Internal reference BUG 4352589

Also make a note in the following article about misconfigurations can cause increased data egress: https://docs.microsoft.com/en-us/sccm/core/clients/manage/cmg/plan-cloud-management-gateway#outbound-data-transfer.

I'm closing this issue as I made changes to the article that will publish with the 1906 content in the near future


--no-sysfs prints json

We should just be printing the same thing dmidecode does when this arg is supplied.

Absolutely.
This project's goals are:

To give users of the official/original dmidecode an experience of equal parity for existing functionalities.
Add new useful features based on customer requests (e.g. JSON) so long as they don't interfere with goal number 1.

Clarifications about the goals:

People have written scripts that consume the output of dmidecode and these scripts must not break when using dmidecode-rs.
The customer feature requests / issues found on https://github.com/mirror/dmidecode are a good read and a source of feature ideas.  The JSON request (https://github.com/mirror/dmidecode/issues/4) was one of these.  It was cost effective to create in Rust and would be quite expensive in C.
This project will follow changes made on the original dmidecode to maintain parity.  For example, recently the DMTF SMBIOS 3.5 standard was released and dmidecode was updated accordingly.


Failed assertion: line 334 pos 12: '!_debugMouseTrackerUpdateScheduled': is not true

Steps to Reproduce
Hey, I don't have time to do a full minimal reproducible thing right now for you but the error message tells me to report this as it's a framework bug so here's your report, hope it helps :)
I basically have an app with an AppScaffold that uses a bottomNavigationBar with shape: const CircularNotchedRectangle(), and then:
floatingActionButton:
            ((MediaQuery.of(context).viewInsets.bottom < 20.0)
                ? FloatingActionButton(
                    onPressed: () {
                      Navigator.pushNamedAndRemoveUntil(
                        context,
                        '/home',
                        (route) => false,
                      );
                    },
                    child: const Icon(Icons.directions_run),
                    backgroundColor: Theme.of(context).primaryColor,
                  )
                : null),

The purpose here is to hide the FAB if the keyboard is not there while keeping the content properly scrollable.
The issue appeared when I added the mediaquery condition.
Expected results: No error message ;)
Actual results: See logs.

Logs

E/flutter ( 7137): #12     DiagnosticsNode.toJsonMap
package:flutter/…/foundation/diagnostics.dart:1608
E/flutter ( 7137): #13     DiagnosticsProperty.toJsonMap
package:flutter/…/foundation/diagnostics.dart:2694
E/flutter ( 7137): #14     DiagnosticsNode.toJsonList.<anonymous closure>
package:flutter/…/foundation/diagnostics.dart:1632
E/flutter ( 7137): #15     MappedListIterable.elementAt (dart:_internal/iterable.dart:412:31)
E/flutter ( 7137): #16     ListIterator.moveNext (dart:_internal/iterable.dart:341:26)
E/flutter ( 7137): #17     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27)
E/flutter ( 7137): #18     new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
E/flutter ( 7137): #19     new List.of (dart:core-patch/array_patch.dart:50:28)
E/flutter ( 7137): #20     ListIterable.toList (dart:_internal/iterable.dart:212:44)
E/flutter ( 7137): #21     DiagnosticsNode.toJsonList
package:flutter/…/foundation/diagnostics.dart:1633
E/flutter ( 7137): #22     DiagnosticsNode.toJsonMap.<anonymous closure>
package:flutter/…/foundation/diagnostics.dart:1595
E/flutter ( 7137): #23     DiagnosticsNode.toJsonMap
package:flutter/…/foundation/diagnostics.dart:1608
E/flutter ( 7137): #24     WidgetInspectorService._nodeToJson
package:flutter/…/widgets/widget_inspector.dart:1499
E/flutter ( 7137): #25     WidgetInspectorService._reportError
package:flutter/…/widgets/widget_inspector.dart:919
E/flutter ( 7137): #26     FlutterError.reportError
package:flutter/…/foundation/assertions.dart:1107
E/flutter ( 7137): #27     SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1146
E/flutter ( 7137): #28     SchedulerBinding.handleDrawFrame
package:flutter/…/scheduler/binding.dart:1090
E/flutter ( 7137): #29     _rootRun (dart:async/zone.dart:1354:13)
E/flutter ( 7137): #30     _CustomZone.run (dart:async/zone.dart:1258:19)
E/flutter ( 7137): #31     _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
E/flutter ( 7137):

════════ Exception caught by scheduler library ═════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/rendering/binding.dart': Failed assertion: line 334 pos 12: '!_debugMouseTrackerUpdateScheduled': is not true.
2

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack
#2      RendererBinding._scheduleMouseTrackerUpdate
package:flutter/…/rendering/binding.dart:334
#3      SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1144
#4      SchedulerBinding.handleDrawFrame
package:flutter/…/scheduler/binding.dart:1082
(elided 5 frames from class _AssertionError and dart:async)

Flutter analyze
No issues found! (ran in 4.5s)
flutter analyze  6,12s user 3,01s system 146% cpu 6,218 total

Flutter doctor -v:
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_US.UTF-8)
    • Flutter version 2.2.3 at /home/lasse/snap/flutter/common/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/lasse/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /snap/android-studio/113/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✓] Android Studio (version 4.2)
    • Android Studio at /snap/android-studio/113/android-studio
    • Flutter plugin version 57.0.2
    • Dart plugin version 202.8488
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

! Doctor found issues in 1 category.

Hi @sils
Thanks for filing  the issue
I can't reproduce with FAB and bottom appear

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      bottomNavigationBar: BottomAppBar(
        shape: const CircularNotchedRectangle(),
        child: Container(
          height: 100,
        ),
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.endDocked,
      floatingActionButton: ((MediaQuery.of(context).viewInsets.bottom < 20.0)
          ? FloatingActionButton(
              onPressed: () {
                print('FAB');
              },
              child: const Icon(Icons.directions_run),
              backgroundColor: Theme.of(context).primaryColor,
            )
          : null),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 12.0 21A5294g darwin-x64, locale
    en-GB)
    • Flutter version 2.2.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Users/tahatesser/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/tahatesser/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.0 21A5294g darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.107

• No issues found!

The purpose here is to hide the FAB if the keyboard is not there while keeping the content properly scrollable.

Is there a possibility it could reproduce by adding the above to my minimal code sample to reproduce the issue? Feel free edit the code sample above to make it reproducible
Thank you

@TahaTesser hey, how important is this issue to you? I have used a cleaner solution for hiding my fab now by extending the standardfablocation class.
In case googlers hit this:
class FixedCenterDockedFabLocation extends StandardFabLocation
    with FabCenterOffsetX, FabDockedOffsetY {
  const FixedCenterDockedFabLocation();

  @override
  String toString() => 'FloatingActionButtonLocation.fixedCenterDocked';

  @override
  double getOffsetY(
      ScaffoldPrelayoutGeometry scaffoldGeometry, double adjustment) {
    final double contentBottom = scaffoldGeometry.contentBottom;
    final double bottomMinInset = scaffoldGeometry.minInsets.bottom;
    if (bottomMinInset > 0) {
      // Hide if there's a keyboard
      return contentBottom;
    }
    return super.getOffsetY(scaffoldGeometry, adjustment);
  }
}

With that, my issue is gone for me.
Let me know if you care about this issue enough so that it makes sense to drill down to its cause. In that case I can look into it, otherwise we might just want to drop this and reopen if other users have similar issues.


'Show Hexdump' right-click option in 'Open Editors' sidebar

Hi! This is really useful, thanks!
Is it possible to have a right-click option for 'Show Hexdump' in 'Open Editors' sidebar? This would allow me to open the file in VS Code, and just rightclick it (as opposed to opening the folder and locating the file).
Cheers,
CD

Unfortunately, VSCode doesn't allow for that (see #10 )
But you can right-click on the file tab, or use the upper-right icon to do the same:


Update doc and release process for networking-calico

Reflecting that networking-calico is now a normal Calico repo on GitHub.

Deploy preview for calico ready!
Built with commit a429f1fbf0d814319e780432cb98050e50aa3612
https://deploy-preview-3247--calico.netlify.com


Run frontend and backend tests on python 3

I think we can now start using Zulip with python 3. Now provision.py installs both python 2 and python 3 venvs. I have also added steps to set up a python 3 venv in the manual install instructions.
I have removed the python3 lint-all warning. We'll now start using python 3 for frontend and backend, so people should be aware about how to run things on python 3. There's no reason to have a special warning about lint-all.
I have also made ./tools/run-dev.py run on python 2 (even if the currently active virtualenv is a python 3 one) and use twisted from/srv/zulip-venv or /srv/zulip-py2-twisted-venv. The Django and Tornado processes spawned in tools/run-dev.py will however use the python available in the currently active virtualenv.

Automated message from Dropbox CLA bot
@sharmaeklavya2, it looks like you've already signed the Dropbox CLA. Thanks!

Cool, thanks for doing this @sharmaeklavya2!  I'm super excited that we now have the full passing with Python 3 for everything but run-dev.py!
I merged everything but the documentation changes for manual installation.  I think the "manual" virtualenv setup instructions there are getting too complicated, and we should move to having a script they can run that does the virtualenv setup (factored out of provision.py), similar to how the other "all systems" tools work.  Does that make sense to you @sharmaeklavya2?
A few other thoughts:

Do you think we should add some documentation on Python 3 support somewhere, explaining how we're running straddling 2+3 code and now every dependency we use and project should support Python 3?  Possibly could put it in the Python 3 part of this: http://zulip.readthedocs.io/en/latest/code-style.html, but I'm not sure there isn't a better place to put it.
Do we still need to document the source /srv/zulip-py3-venv and then tools/lint-all part of our instructions for debugging lint errors?  I think it might not be obvious how to do that currently.  Possibly a better solution would be to make all of our test runners under tools support auto-finding the virtualenv if needed, similar to how setup_path_on_import works, so that you can just run python3 tools/lint-all and have it work.

Yes it would be good if there is some documentation about the fact that we're running python2+3 code. If someone gets a failure on python 3 but not on python 2 on Travis, it should be obvious to them that they need to somehow test their code using python 3. So we should just document that one should do source /srv/zulip-py3-venv to run anything (not just lint-all) on python 3.
I think there are 2 types of people we need to target depending on how much they are familiar with virtualenvs and zulip:

Beginners:
These users aren't much aware about virtualenvs. They would almost always use provision.py or vagrant. We'll need to explicitly tell them to use source /srv/zulip-venv or source /srv/zulip-py3-venv (depending on the version of python they want to use) or else they can have a hard time running zulip. Previously it was easy for vagrant users that they had the virtualenv sourced in their bashrc, but now they can't fully rely on that since they'll have to switch between python2 and python3 venvs.

Advanced users (or experienced newcomers?):
These are users who know about virtualenvs and they would either install zulip manually or use provision.py. When I joined zulip, I didn't use vagrant because it was heavy and I couldn't use provision.py because I was using Ubuntu 15.10. At that time, the manual install instructions didn't tell anything about virtualenvs. That wasn't a problem for me. I just looked for a requirements.txt (because that's what projects usually use to specify requirements). I then made a virtualenv (which was not located at /srv/zulip-venv), installed dependencies there and used that for all development.
What we should tell such users depends on their installation method. If they install things manually, they need to know the path to the appropriate requirements file. If they install using provision.py, they also need to be told the location of those virtualenvs (i.e. /srv/zulip-venv and /srv/zulip-py3-venv).
The manual install instructions should be manual enough. For example, I use virtualenvwrapper and doing that requires setting up virtualenvs manually (i.e. not using provision.py). So a script which automatically installs venvs would be helpful, but instructions for manually installing venvs should not be removed.
Advanced users also want flexibility in the virtualenv system. For example, I would be unhappy if the tests automatically switch to /srv/zulip-venv or /srv/zulip-py3-venv only based on the python version as that would make it difficult for me to use a custom virtualenv with different versions of dependencies or different version of python or whatnot. It'll also be annoying to change what the symlink /srv/zulip-venv points to each time I switch branches.

The only recently introduced problem is that of tools/run-dev.py and all users need to be told about that. tools/run-dev.py requires a python2 virtualenv (or a symlink to a virtualenv) to be present at either /srv/zulip-venv or /srv/zulip-py2-twisted-venv and it should have twisted (version >=15.2.1) installed.
So we should keep the interests of both advanced and basic users while deciding on how we should use virtualenvs and what to write in docs. The docs about vagrant and provision.py should target both beginners and advanced users. The manual install instructions should target just the advanced users.

Sounds great, merged!  Thanks @sharmaeklavya2!


Idea: Consistent submodule updates

I would like to update all of our dependencies in each monthly release. That is, at the start of the month we merge the latest suitable version onto the next branch, and unless a problem forces us to revert then it is included in the release at the end of the month.
I would suggest that we start by taking the latest release for projects that make releases or otherwise the pull the latest development version from git.
Currently we depend on three projects: luajit, pflua, and ljsyscall. The first two don't make releases but their development branches are generally becoming faster and more stable over time: so we would pull the latest version each month. ljsyscall does make releases: so we would check for a new release and take that if available.
The intended effects are:

Get fixes and optimizations early to avoid wasting time.
Contribute to these projects by testing their new development and quickly reporting bugs.
Avoid being forced into big bang upgrades at awkward moments.

These projects are all well maintained and so I expect that we will benefit on average from getting bug fixes more quickly than we will be slowed down by getting new bugs.
See #506 and #507 for the first proposed upgrades under this scheme. (ljsyscall has no new release.)

We are doing this now.


[AMORO-1766] Implement table optimizing metrics collection.

Why are the changes needed?
Close #1766
Brief change log

Implement table self-optimizing metrics as design docs

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 50.95%. Comparing base (45db986) to head (9753967).
Report is 1 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2674       +/-   ##
=============================================
+ Coverage     34.02%   50.95%   +16.93%
+ Complexity     4365      590     -3775
=============================================
  Files           604       46      -558
  Lines         50754     4708    -46046
  Branches       6673      513     -6160
=============================================
- Hits          17269     2399    -14870
+ Misses        32083     2084    -29999
+ Partials       1402      225     -1177

Flag
Coverage Δ

core
?

trino
50.95% <ø> (ø)

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

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

LGTM


Handlebars unable to pass array value by index to helpers

{{#each fieldlist}}

    {{/each}}
    fieldlist is a jsonobject of the format {key:["tester","sample",null,"301"]} ie key:jsonArray

    Handlebars.registerHelper('ifCond', function(param1, operator, param2, options) {
         switch(operator):
         {
            result =//based on case if condition is called
         }
         if(result){
         options.fn(this);
         }else{
         options.inverse(this);
         }
    }

On debugging i found the values like this
param1 = 301
operator = ["tester","sample",null,"301"]
param2= "!="
options = "301"
Seems like there might be an issue while parsing

{{#ifCond this.3. '!=' 301}} will pass a number rather than a string.


Convert unix Timestamp to regular date format

Questions
Hi Guys, cant find a way to convert unix timestamp like = "1485792967" to a regular date format.
Is there a way to approach it in Articulate ?
Thanks !

there is a handlebar for this. {{dateTimeFormat webhookResponse.myDate 'ddd, hA'}} where the third parameter is a valid moment.js date format
Try that and let me know.

@bkurowski did that get you going?

Sorry for late message, yes that works. I just need to play with viewing format of the output, but that is not a problem.
Cheers thank you.
Question answered.


Integrate the ability to customize settings down the road

So we can turn graphs on or off, or select to display power, elevation, grade, etc

Implemented in release 2.0.1


[BEAM-1871] Drop usage of Jackson/CloudObject from CoGbkResultSchema

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Note that the schema is only java serialized within the ConstructCoGbkResultFn (a DoFn) and hence the CloudObject/Jackson annotations represent dead code.

Kicked off: https://builds.apache.org/view/Beam/job/beam_PreCommit_Java_MavenInstall/10058/

R: @kennknowles @dhalperi

LGTM when green. There might be a size concern.

The shouldn't be a size concern since we were always using Java serialization for the format, Jackson annotations/asCloudObject was never being invoked.


UserData methods moved from Visual to Node

🦟 Bug fix
Fixes https://github.com/ignitionrobotics/ign-rendering/issues/58
Summary
This PR is part of the effort to consolidate ign-gui and ign-gazebo (related to this conversation https://github.com/ignitionrobotics/ign-gui/pull/231#discussion_r662702693) and it also targets this issue https://github.com/ignitionrobotics/ign-rendering/issues/58.
The idea is to move the UserData and SetUserData methods to the Node class. I'm not sure how to proceed about the change in the API if I should tick-tock the methods in the Visual class, this change should not affect the API because Node is a parent class of Visual, it will break ABI but this PR is targeting main.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

there are a couple of clang warnings:
https://build.osrfoundation.org/job/ignition_rendering-ci-pr_any-homebrew-amd64/1604/clang/new/

@osrf-jenkins retest this please

@iche033 Fixed https://github.com/ignitionrobotics/ign-rendering/pull/358/commits/978b6bcef224364d7cc6eac106ad9e6094c4e310

https://github.com/ignitionrobotics/ign-rendering/pull/361 should fix the github CI failing builds


How to describe before_each block in spec?

How to properly describe before_each block in spec file?
describe Request do
before_each do
....
end
not works

They're only global for now http://carc.in/#/r/dt

@jhass , I make it global, but variables declared in global namespace, is unseen in blocks of "it" methods. Just as planned? Look: http://carc.in/#/r/dx

Yes that's intentional for now and I'm not sure if stdlib spec will ever be replaced by a variant that would support things like that. The global hooks are intended for things like mocking libraries.
The alternative implementations we tried are a lot slower to compile, here's a PoC of such: https://gist.github.com/jhass/e9219dd9da24204a073d

@jhass Thanks, got it

You may want to look at my minitest's port: https://github.com/ysbaddaden/minitest.cr which allows it.

@ysbaddaden , thanks!


Django as an alias for HTML+Django

This pull request adds django as an alias for HTML+Django.
Discussed in #2695.

Thanks @pchaigno. We just cut a new Linguist gem yesterday and so this probably won't be live for another week or two.


Documentation: check for invalid references in CI

Documentation: check for invalid references in CI
Uses https://github.com/serokell/xrefcheck to check for invalid references on CI.
Also, fix all the present invalid references to make sure the new job passes.

CI fail appears unrelated, actual added job is here: https://buildkite.com/o-1-labs-2/mina/builds/19955#f9776f60-763a-4060-90f8-58ce6629ef79


Only one domain works at any given time.

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes
version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    environment:
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  db:
    image: 'jc21/mariadb-aria:latest'
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

Are you sure you're not using someone else's docker image?

Yes

If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network?

N/A (I think)
Describe the bug
I have added three proxies to my application that go to three different back end servers. It seems like only the last one I add/update actually works. The other two will just timeout. I also don't see any traffic coming to the domains that are no active. All three of the domains are reporting the correct IP address via ping.

What version of Nginx Proxy Manager is reported on the login page?

v2.8.0
Operating System

I am using a VM via proxmox to run NginxProxyManager on. The other apps are on seperate vms that are accessible via the IP/hostname locally. These are the ip addresses and ports used for the proxies.

When I telnet, one of them will connect fast, the other ones hang for a bit, but eventually appear to connect after about a minute or so. Not sure if that is helpful.

I think this is a dns issue on my side.

Actually, not 100% sure that is the issue.

It was my att router =/


add editorconf

Editorconf. Useful to me, probably/hopefully to others too? :)
http://editorconfig.org/
Let me know if there are things to add/change or if something conflicts with the lint rules.
:beers:

Coverage decreased (-0.2%) to 75.676% when pulling f6bbfe707627080a83fce566060a271672933c44 on tchakabam:feature/editorconf into 363ba7a9f9003e517f8f3a63e5458692e82431c2 on clappr:master.


Python Handbook

Pls accept my pullrequest

Hello @Vmaddikera
Thanks for your contribution.
Let's connect ->
GitHub -> @Suryansh1720001 (Follow)
LinkedIn -> https://www.linkedin.com/in/suryanshprajapati17


One Page Documentation

This module needs a little documentation more than most modules because it presents a public facing interface - what are the read and write methods called?  How do I format my requests?  That sort of thing.
It takes having to crack it open and investigate.  Of all the test VIs, the "client_test.vi' has a really useful little .lvlib with a getTag.vim and setTag.vim.  Those are cool I guess.  So I'm treating them as documentation of the public facing interface for now.  Until more documentation gets written, check there for how to talk to the public JSON interface.  That's my DenverCoder9 clue.
One question that isn't clear to me yet: does this module take anything special in order to deploy the web service to the target (say, a cRIO)?  Do I have to add/rebuild a web service that matches that configuration into my final DCAF project/exe?


New Application Tiger VNC

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Hi there,
First time contributing here so thank you in advance for you patience!
I've had a go at adding a new manifest using the wingetcreate tool and then modified the produced yaml file to add another architecture and some silent install switches
Looking forward to your feedback,
Alex

Hi @OfficialEsco thanks for the comments
I've made the changes suggested and everything still seems to install fine but we do get the installer UI pop up with a progress bar which I assume is acceptable.
Regarding the installer type being set to inno, should it be set to exe? That part was automatically created by wingetcreate so I have naively assumed it knows best.

I've made the changes suggested and everything still seems to install fine but we do get the installer UI pop up with a progress bar which I assume is acceptable.

This is because it uses the /SILENT switch, if you don't want the progress bar you have to use winget install <PackageName> -h or --silent (on your side)

Regarding the installer type being set to inno, should it be set to exe? That part was automatically created by wingetcreate so I have naively assumed it knows best.

Its always best if the InstallerType is set to the correct type, wingetcreate detects the correct InstallerType 99.9% of the time.


[WIP] when restoring a pvc, enable dynamic provisioning if no snapshot restore

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>Thoughts on the issue and resolution approach appreciated here.
When we attempt to restore a PV obj, it expects to find a cloud volume (either the original one, or a new one created by our snapshot restore code). If it doesn't find the volume, the PV create fails (i.e. it's not created in Kube).
So, when we go to restore a PVC for that PV, it gets created as Lost because the PV it's claiming does not exist.
This PR checks for the existence of the referenced PV before restoring a PVC, and if it does not exist, clears out the PV reference and relevant annotation so that a new, empty PV can be dynamically provisioned. This enables a restic restore to proceed properly.
There's still a separate question of what we should do when restoring a PV if the referenced cloud volume does not exist; don't think we need to address it right now but food for thought.

There's still a separate question of what we should do when restoring a PV if the referenced cloud volume does not exist; don't think we need to address it right now but food for thought.

So the scenario here would be that the snapshot restore process fails (for whatever reason) so the cloud volume wouldn't exist, so PVC shows up as Lost?
What is the restoration order/process?  Do we wait for snapshot cloning to be completed before making PV/PVCs or is it done in parallel?


GC.{malloc,realloc,free} are nothrow now

did this because of the deprecated use of catch without an argument, but found out I could just delete it all.

Awesome, thanks!


Unable to use ArchivedHashmap with string tuple as key

Hey. I love rkyv - it's a wonderful project and I use it extensively.
I'm not sure if this is a feature request or me being dumb. I have a Hashmap with string tuple keys and an irrelevant payload
// This compiles
let map: ArchivedHashMap<ArchivedString, i32> = foo();
let value = map["foo"];
let value = map.get("foo");

// This does not
let map: ArchivedHashMap<(ArchivedString, ArchivedString), i32> = get_map();
let value = map[("foo", "bar")];
let v = map.get(("foo", "bar"));

Is there some sort of magic I need to do, or is it impossible to borrow an tuples of ArchivedStrings from tuples of strings, even though the borrowing of non-tuple variants work?
(I can of course concatenate the strings somehow in the meantime, but it's not quite as nice)

Yeah I also tried implementing Borrow<&str, &str> and I agree it doesn't seem possible.
Another escape hatch would be to allow the easy creation of an ArchivedString from a &str, but it doesn't seem possible to that currently (I'm only able to create an &ArchivedString which doesn't allow me to index)

This is now possible via the *_with APIs on ArchivedHashMap in 0.8.


Move profile features to Yii2-profile

Development of profile-related stuff will be continued in https://github.com/dektrium/yii2-profile repository. It has been discussed in #348
It will consist of parts which will provide some profile functionality (e.g. avatar upload, timezone choose, etc), so developers will be able to choose which they need and enable them.

This is awesome, I have been following up on this for a long time.

Fantastic! Really happy to here this is being looked at for enhancement.

An empty repository ??


🐞 Deletion of all recent projects

Description
As can be seen from the video when trying to clear all recent projects from the menu.
They are cleared from the menu, but remain from the welcome list.
To Reproduce
https://user-images.githubusercontent.com/20476002/161444663-58082c8a-0fa9-48c9-906f-f459a4ad4b56.mov
Expected behavior
That when all recent projects are deleted, the welcome window will show that there are no recent projects.
Version information
CodeEdit: 1.0 (1)
Commit: b6ba533a9d42e71e31f4021989105c8a08c01deb
MacOS: 12.3 (21E230)
Xcode: 13.3 (13E113)

What if you wait 10 seconds? Since the window is updating once every ten seconds.

@wdg : Nothing is happening.

Seems like this selector doesn’t exists.
I’ll take a look later this week, I’ve got a busy week…
https://github.com/CodeEditApp/CodeEdit/blob/e85ea0541c979b97ea447ecd4960d1a3f3b933de/CodeEdit/MainMenu.xib#L82

@wdg Are you working on this issue? I'm going to fix #389 along with this.


Use arviz

use arviz to compute rhat/ess/... and return inference objects instead of raw data maybe?

Anyways, use it for plotting etc.


CGB swappable banks

Currently the BSS section type supports WRAM banks 0-1 ($c000-$dfff) which works perfectly for compiling DMG. CGB introduces WRAM banks 2-7, which the current implementation can't account for. The same complication exists with CGB's VRAM bank 1.
Since it works the same way, I'd like to request SRAM allocation as well. Maybe that should have its own issue.

now dmg is broken!
one way to fix is to assume wram0 is 0x2000 long in the absence of wramx sections


Enterprise Linux Sentinel Command seems bugged.

Hello,
right now i am testing a k3s cluster with rocky linux 8.5. I deployed kured via helm chart with following configuration
  configuration:
      timeZone: "Europe/Berlin"
      startTime: "10pm"
      endTime: "2am"
      messageTemplateDrain: "⏳ Draining node %s"
      messageTemplateReboot: "♻ Rebooted node %s"
      rebootSentinelCommand: "needs-restarting -r"
      rebootCommand: "/usr/bin/systemctl reboot"
      period: "1h0m0s"

It seems like "period", "startTime" and  "endTime" are ignored.
Beside that it looks like dnf-util's "needs-restarting -r" is not properly registered. Is something wrong with my implementation?
Best regards
alb

Hi @alb-dev,
can you please share the following infos?

Kubernetes version
Kured version
Kured Pod-Logs

If there are problems with config-parameters or commands this is visible in the logs. Kured only executes the given commands as is with "nsenter" (https://github.com/weaveworks/kured/blob/96bf7c1addef0b31ec6c8ab49e927480f0c337e7/cmd/kured/main.go#L260-L269)

Hey @ckotzbauer
Thanks for your fast response.
Kubernetes version: 1.23.1+k3s2
Kured version: 2.11.2
Kured Pod-Logs
time="2022-01-18T20:53:28Z" level=info msg="Binding node-id command flag to environment variable: KURED_NODE_ID"
time="2022-01-18T20:53:28Z" level=info msg="Kubernetes Reboot Daemon: 1.9.1"
time="2022-01-18T20:53:28Z" level=info msg="Node ID: wk-intel"
time="2022-01-18T20:53:28Z" level=info msg="Lock Annotation: kube-system/kured:weave.works/kured-node-lock"
time="2022-01-18T20:53:28Z" level=info msg="Lock TTL not set, lock will remain until being released"
time="2022-01-18T20:53:28Z" level=info msg="Lock release delay not set, lock will be released immediately after rebooting"
time="2022-01-18T20:53:28Z" level=info msg="PreferNoSchedule taint: "
time="2022-01-18T20:53:28Z" level=info msg="Blocking Pod Selectors: []"
time="2022-01-18T20:53:28Z" level=info msg="Reboot schedule: SunMonTueWedThuFriSat between 22:00 and 02:00 Europe/Berlin"
time="2022-01-18T20:53:28Z" level=info msg="Reboot check command: [needs-restarting -r] every 1h0m0s"
time="2022-01-18T20:53:28Z" level=info msg="Reboot command: [/usr/bin/systemctl reboot]"
time="2022-01-18T20:53:29Z" level=info msg="Waiting for process with pid 8223 to finish." cmd=/usr/bin/nsenter std=out
time="2022-01-18T20:53:29Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-18T20:53:29Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-18T20:53:30Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-18T20:53:30Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-18T20:54:29Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-18T20:54:29Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out

Thanks @alb-dev for the details.
From my perspective it seems, that there is no reboot required. The log-messages "No core libraries or services have been updated since boot-up. Reboot should not be necessary." are emitted from "needs-restarting -r" as we log the stdout from the reboot-sentinel-command here.
Are you able to execute the "needs-restarting -r" directly on the host? There should be the same output and it should exit with code non-zero.
Can you check this?

I guess the command is working correctly @ckotzbauer as the kernel is up to date and the return code is 0.
What i dont understand is why the sentinel command is executed very minute instead of once an hour and why start and endtime are ignored.
Thanks for the support!

Okay.

When the command exits with code 0, kured will assume, that a reboot is required. So you have to wrap the command in a script that only exits with code 0 when a reboot is required
The check is executed at the interval of the period-setting (start-time and end-time are ignored here)
The start-time and end-time are only important when it comes to reboots. The detection-logic can run all the time.
The period is set to 1h in your config, I see three command-outputs in your logs and they have a difference from 1s and 1m... This is a bit strange. Can you share logs from a longer period?

Hello
Yeah no Problem. Because of the new 5.1 cve a kernel update was release which may help with testing.
time="2022-01-20T21:26:04Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:26:04Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:27:05Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:27:05Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:28:05Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:28:05Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:29:05Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:29:05Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:30:06Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:30:06Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:31:06Z" level=info msg="No core libraries or services have been updated since boot-up." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:31:06Z" level=info msg="Reboot should not be necessary." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:32:07Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:32:07Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:32:07Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:32:07Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:32:07Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:33:07Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:33:07Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:33:07Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:33:07Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:33:07Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:34:08Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:34:08Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:34:08Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:34:08Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:34:08Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:35:08Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:35:08Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:35:08Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:35:08Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:35:08Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:36:09Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:36:09Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:36:09Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:36:09Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-01-20T21:36:09Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out

The kernel update is register from "needs-restarting" which is returning eh exit code 1 if a a reboot is required. Neither 0 nor 1 is triggering a reboot at the moment.

Hm, as the time in the logs is 21:36:09 (UTC) and the time-frame which allows reboots is from 22:00 to 02:00 (UTC+1) I see no reason why the reboot is not triggered. I think the exit-code handling of custom-sentinel-commands is maybe not correctly working in your case.

I will try to build a wrapper output so that only 1 or 0 is returned. Maybe this will work for EL Distros.

Would something as simple as this wrapper script be sufficient? I'm about to deploy kured to a fedora based cluster and stumbled upon this open issue during my research.
needs-restarting -r && exit 1 || exit 0

I've tried the following config (and other combinations) but it doesn't seem to work:
configuration:
  rebootSentinelCommand: 'sh -c "! needs-restarting --reboothint"'

time="2022-02-22T19:30:04Z" level=info msg="Binding node-id command flag to environment variable: KURED_NODE_ID"
time="2022-02-22T19:30:04Z" level=info msg="Kubernetes Reboot Daemon: 1.9.1"
time="2022-02-22T19:30:04Z" level=info msg="Node ID: metal0"
time="2022-02-22T19:30:04Z" level=info msg="Lock Annotation: kured/kured:weave.works/kured-node-lock"
time="2022-02-22T19:30:04Z" level=info msg="Lock TTL not set, lock will remain until being released"
time="2022-02-22T19:30:04Z" level=info msg="Lock release delay not set, lock will be released immediately after rebooting"
time="2022-02-22T19:30:04Z" level=info msg="PreferNoSchedule taint: "
time="2022-02-22T19:30:04Z" level=info msg="Blocking Pod Selectors: []"
time="2022-02-22T19:30:04Z" level=info msg="Reboot schedule: SunMonTueWedThuFriSat between 00:00 and 23:59 UTC"
time="2022-02-22T19:30:04Z" level=info msg="Reboot check command: [sh -c ! needs-restarting --reboothint] every 1h0m0s"
time="2022-02-22T19:30:04Z" level=info msg="Reboot command: [/bin/systemctl reboot]"
time="2022-02-22T19:30:04Z" level=info msg="Waiting for process with pid 215543 to finish." cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:04Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:04Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:04Z" level=info msg="  * systemd" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:04Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:04Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:04Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:05Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:05Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:05Z" level=info msg="  * systemd" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:05Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:05Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:30:05Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:31:04Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:31:04Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:31:04Z" level=info msg="  * systemd" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:31:04Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:31:04Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:31:04Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:32:04Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:32:04Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:32:04Z" level=info msg="  * systemd" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:32:04Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:32:04Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:32:04Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:33:05Z" level=info msg="Core libraries or services have been updated since boot-up:" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:33:05Z" level=info msg="  * kernel" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:33:05Z" level=info msg="  * systemd" cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:33:05Z" level=info cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:33:05Z" level=info msg="Reboot is required to fully utilize these updates." cmd=/usr/bin/nsenter std=out
time="2022-02-22T19:33:05Z" level=info msg="More information: https://access.redhat.com/solutions/27943" cmd=/usr/bin/nsenter std=out

Running the command manually on the host returns 0:
[root@metal0 ~]# sh -c "! needs-restarting -r"
Core libraries or services have been updated since boot-up:
  * kernel
  * systemd

Reboot is required to fully utilize these updates.
More information: https://access.redhat.com/solutions/27943
[root@metal0 ~]# echo $?
0

My bad I need to wait for about an hour. The following config in values.yaml works:
configuration:
  rebootSentinelCommand: 'sh -c "! needs-restarting --reboothint"'

My bad I need to wait for about an hour. The following config in values.yaml works:
configuration:
  rebootSentinelCommand: 'sh -c "! needs-restarting --reboothint"'

Nice. I build a cron wrapper which create the reboot-required file which is kinda a dirty. I like your solution. Maybe this could be added to the docs?

Sure, I've created a PR.

Looks like the issue still exists for redhat servers still.
The configuration tested were :
rebootSentinelCommand: 'sh -c "! needs-restarting --reboothint"'

rebootSentinelCommand: sh -c "! needs-restarting --reboothint"

Where do you add the
  rebootSentinelCommand: "needs-restarting -r"
  rebootCommand: "/usr/bin/systemctl reboot"

  in the 1.15.1 version of the kured yaml I dont see where a configuration section is defined.

  I do see this

  ```
    template:
metadata:
  creationTimestamp: null
  labels:
    name: kured
spec:
  containers:
  - command:
    - /usr/bin/kured
    - --reboot-sentinel=/sentinel/reboot-required
    - --period=30m
    - --message-template-drain=Draining node %s
    - --message-template-reboot=Rebooting node %s
    - --message-template-uncordon=Node %s rebooted & uncordoned successfully!
    - --reboot-days=sun,mon,tue,wed,thu,fri,sat
    - --reboot-delay=90s
    - --start-time=10pm
    - --end-time=1am
    - --time-zone=America/Chicago
    - --log-format=text
    env:
    - name: KURED_NODE_ID
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
  ```

Same.
In my values.yaml:
  rebootCommand: /bin/systemctl reboot
  rebootSentinel: /var/run/reboot-required
  rebootSentinelCommand: sh -c "! needs-restarting --reboothint"

In the daemonset, reboot-sentinel-command is missing:
    spec:
      containers:
        - args:
            - '--ds-name=kured'
            - '--ds-namespace=kube-system'
            - '--metrics-port=8080'
            - '--period=0h0m30s'
            - '--reboot-sentinel=/sentinel/reboot-required'
            - '--reboot-command=/bin/systemctl reboot'
            - '--log-format=text'
            - '--concurrency=1'
          command:
            - /usr/bin/kured


Assign transport in inspector

Keep it simple,  just assign the transport instead of calling GetComponent.
This gives me the flexibility of cherry picking the transport I want even if I have several in the gameobject,  or if I want the transport in a separate gameobject.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Clean up Program Files folder

It would be nice to clean up the Program Files\pGina folder so that only the configuration exe is there and all of the DLLs and other stuff are moved to sub-folders.  May be more trouble than it is worth, but is worth looking into.

can we run a pre or post uninstall tool kinda like we now have a post-install tool? sort of a chicken and egg thing I guess..

I'm actually referring to the state of the folder after installation.  (BTW, the current install utility serves as both a post-install tool and a post-uninstall tool.)
The problem is with dependencies between the config app and the other libs.  It's easier when they're all in the same folder, but the end-user doesn't really need to see all of the DLLs, just the config app.

Ah, I see.  Yah - this is standard windows app delivery, related/local dependancies are delivered 'next to' the app.  We could probably do some tricky stuff to get dlls into a 'libs' dir or something, but this is outside the norm and probably a lot of extra work for little payoff (most windows users never look at a dir beyond making sure they have shortcuts to *.exe in it).

I agree that it is probably more trouble than it's worth.  Plus, if this is standard Windows practice to deliver stuff this way, I don't see the need.  Closing this issue.


Fix binstall support: Specify that only x86_64 linux gnu is supported

Merged, I will be trying to fix all the release stuff soon, it's kinda annoying so many things silently failed at once :smiling_face_with_tear:


Set up: installation step on ubuntu

Question on how to install tagui on ubuntu(linux).
I have the following issue when following the instructions on installation: 1. download and unzip; 2. record the script on chrome; 3. run the script on tagui command line following "Set up" guide....
 tagui [path of the script] chrome
No command 'tagui' found, did you mean:
 Command 'tagua' from package 'tagua' (universe)
tagui: command not found

btw, once unzip - the file tagui is located at ./src/

Hi @jeffreynghm where is the installation instructions link that you are using?
From the tutorial link need to change folder to the src folder before running tagui command.
cd /home/your_id/tagui/src
./tagui samples/1_yahoo

From the readme link, there is a section on running tagui command from anywhere by setting up symlink.
Tip - to run tagui from anywhere in macOS/Linux, use ln -sf /full_path/tagui/src/tagui /usr/local/bin/tagui to create symbolic link.

Lastly, I think Ubuntu doesn't come with PHP, you may have to apt-get install php to install PHP. PHP is needed to translate the human language syntax into executable JavaScript code to run the automation.
I'll close the issue for now, but do advise where is the link you are referring for installation so I can improve the docu, or if you run into any further issues installing!


Also include trace messages when timestamp flag isn't used

When I set my own custom tracer_flags I didn't use timestamp (or monotonic_timestamp), but I didn't get any trace callbacks but I did noticed a lot of "Tracer process received stray message". I think this patch fixes the issue (since without a timestamp flag the traces are sent with the atom 'trace', instead of 'trace_ts').
Thanks!
/Sebastian

Right thanks I'll merge it soon.

Merged, thanks!


docs: improve german readme

Description
Just discovered that you have a German readme, nice!
Some parts read a bit rough, so here are some small improvements.
(I'm a native German speaker).
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

Thank you @fgreinacher for improving the docs!


Add ERC: Wallet Call Token Capabilities

This ERC introduces a mechanism for dapps to provide prerequisites for transactions to smart contract wallets. Wallets can use these prerequisites to make more informed decisions about transaction construction.

Could we please have a review from @axic, @g11tech, @SamWilsn, @xinbenlv :pray:

Thanks @SamWilsn ! :pray: I've addressed all comments. Let me know if any further changes are required


Error while typing ubuntu after executing bash user.sh

i think there was some issue while configuring user...u can reinstall it🙁


Ditch Github

I believe it's rather ironic for a tool that provides privacy-oriented/ethical frontend alternatives
to various services to host itself on Github. It should at a bare minimum be an archived
repository pointing to the hosted version somewhere else. You can pick from using a
self-hosted version of Gitlab, Gitea, gogs, cgit, stagit, git-web, sourcehut, you name it.

Figured I'd give an update on this here, in case anyone comes across it.
Since Farside depends heavily on scheduled builds to update the list of available services per instance, migration to Sourcehut depends on the completion of https://todo.sr.ht/~sircmpwn/dispatch.sr.ht/23. As soon as nightly builds are possible, it should be a fairly easy migration.


Cache refdata responses

To reduce the number of calls we make to /ref-data/* endpoints, cache the responses for an hour.
The cache will also be reset when the service is redeployed.
For VEGA-1178 #patch

Codecov Report
Base: 73.61% // Head: 73.69% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (c299bca) compared to base (cd3daa3).
Patch coverage: 83.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
+ Coverage   73.61%   73.69%   +0.07%
==========================================
  Files          61       62       +1
  Lines        1478     1490      +12
==========================================
+ Hits         1088     1098      +10
- Misses        238      239       +1
- Partials      152      153       +1

Impacted Files
Coverage Δ

internal/sirius/ref_data.go
66.66% <33.33%> (-33.34%)
:arrow_down:

internal/sirius/cache.go
100.00% <100.00%> (ø)

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.


expo deep linking to redirect during onboarding throwing Not a Valid URL

Describe the bug
We testing onboarding using expo deep linking for onboarding. Right now, it is not accepting expo deep link URL like exp://<IP_ADDRESS> or myapp://
To Reproduce
Steps to reproduce the behavior:

Call String onboarding with following params
API call to stripe.accountLinks.create with  below params

{
account: 'xxxxxx',
collect: 'eventually_due',
type: 'account_onboarding',
refresh_url: 'exp://1270.0.1:1900/--/redirect?integrationStatus=',
return_url: 'exp://<IP_ADDRESS>:1900/--/redirect?integrationStatus=success',
success_url: 'exp://<IP_ADDRESS>:1900/--/redirect?integrationStatus=success',
failure_url: 'exp://<IP_ADDRESS>:1900/--/redirect?integrationStatus=fail',
}

Expected behavior
Stripe onboarding should support them.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@veeramarni Did you manage to find a solution for this problem? I have the same situation. Thanks!

@qsdamar We found some workaround but no direct solution. They say we need to put an intermediate webpage that inter redirect to the app as Stripe API only support web.

@veeramarni Thanks for answering. I think I'll end up using a WebView.

I'm trying to implement something similar (without expo) but I'm facing the same issue.
I think others are having also in the same boat:
https://stackoverflow.com/questions/68695786/stripe-connect-account-return-url-link-back-to-expo-application
The workaround for now is to develop a site and set the redirect_url and return_url to your site.
And your sire will then redirect to the deep link in react native app.
Your mobile app > Stripe Onboarding > Your site > Your mobile app.

Closing since this doesn't relate to the stripe-react-native library, this is related to the stripe-node library

@veeramarni have you considered using a universal link for this instead?

@charliecruzan-stripe mate is their any proper solution for this issue or still we need to rely on workaround.


npm test - ERROR [preprocess]: Can not load "webpack"!

I checked out the latest master (after the webpack2 update).
When I run npm test I get this and some more error messages:
><EMAIL_ADDRESS>test /home/hannes/data/www/angular-webpack
> karma start

31 01 2017 13:12:09.158:ERROR [preprocess]: Can not load "webpack"!
  WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry should be one of these:
   object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
   The entry point(s) of the compilation.
   Details:
    * configuration.entry should NOT have less than 1 properties ({
        "keyword": "minProperties",
        "dataPath": ".entry",
        "schemaPath": "#/oneOf/0/minProperties",
        "params": {
          "limit": 1
        },
        "message": "should NOT have less than 1 properties",
        "schema": 1,
        "parentSchema": {
          "minProperties": 1,
          "additionalProperties": {
            "oneOf": [
              {
                "description": "The string is resolved to a module which is loaded upon startup.",
                "minLength": 1,
                "type": "string"
              },
              {
                "description": "All modules are loaded upon startup. The last one is exported.",
                "$ref": "#/definitions/common.nonEmptyArrayOfUniqueStringValues"
              }
            ]
          },
          "description": "Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.",
          "type": "object"
        },
        "data": {}
      }).
      object { <key>: non-empty string | [non-empty string] }
      Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.
    * configuration.entry should be a string.
    * configuration.entry should be an array:
      [non-empty string]
    * configuration.entry should be an instance of function
      function returning an entry object or a promise..

Anyone else is having the same issue?
Did I miss something?
I'm running node version 5.8.0 on Linux Mint.

This seems to be related to Can not load 'webpack' - issue with v2.1.0 #210.
Changing these two parts in webpack.config.js make the tests work but they fail due to missing css:
  if (!isTest) {
    config.entry = {
      app: './src/app/app.js'
    };
  };

// loader: isTest ? 'null' : ExtractTextPlugin.extract({
//   fallbackLoader: 'style-loader',
//   loader: [
//     {loader: 'css-loader', query: {sourceMap: true}},
//     {loader: 'postcss-loader'}
//   ],
// })

@escapedcat i've experiencing this bug too. i will look into it right now.

@escapedcat can you try to check if now the problem is gone also for you? thanks.

Thanks @phra, works!
And I learned that:

void can be used in that way
null-loader is an actual thing. I didn't see that before

Thanks for that as well!

@escapedcat happy to help! 👍


fix: display global option help in data step

Summary
Fix #1282
Testing
Test case in #1282

Syntax help for 'printer' is shown as expected.


Create dataset OpenITI-proc

Source: Masader Project

uid: openiti_proc
entry: https://arbml.github.io/masader/card.html?202
Link: https://zenodo.org/record/2535593#.YWh7FS8RozU
License : CC BY 4.0
Year: 2019
Language: ar
Dialect: ar-CLS: (Arabic (Classic))
Domain: other
Form: text
Collection Style: crawling and annotation(other)
Description: A linguistically annotated version of the OpenITI corpus, with annotations for lemmas, POS tags, parse trees, and morphological segmentation
Volume: 1,500,000,000
Unit: tokens
Ethical Risks: Low
Provider: Multiple institutions
Derived From: OpenITI
Paper Title: Studying the History of the Arabic Language: Language Technology and a Large-Scale Historical Corpus
Paper Link: https://arxiv.org/pdf/1809.03891.pdf
Script: Arab-Latn
Tokenized: Yes
Host: Zenodo
Access: Free
Cost:
Test Split: No
Tasks: text generation
Evaluation Set?:
Venue Title: LRE
Citations:
Venue Type: journal
Venue Name: Language Resources and Evaluation
authors: Yonatan Belinkov, Alexander Magidow, Alberto Barrón-Cedeño, Avi Shmidman, Maxim Romanov
affiliations:
abstract: Arabic is a widely-spoken language with a long and rich history, but existing corpora and language technology focus mostly on modern Arabic and its varieties. Therefore, studying the history of the language has so far been mostly limited to manual analyses on a small scale. In this work, we present a large-scale historical corpus of the written Arabic language, spanning 1400 years. We describe our efforts to clean and process this corpus using Arabic NLP tools, including the identification of reused text. We study the history of the Arabic language using a novel automatic periodization algorithm, as well as other techniques. Our findings confirm the established division of written Arabic into Modern Standard and Classical Arabic, and confirm other established periodizations, while suggesting that written Arabic may be divisible into still further periods of development.
Added by : Yonatan Belinkov
Notes:

#self-assign

https://huggingface.co/datasets/bigscience-catalogue-data/openiti_proc

https://huggingface.co/datasets/bigscience-catalogue-data/openiti_proc

Oh yes, this one is uploaded by me yesterday.

Thanks @lingjzhu.

Thanks @lingjzhu.
Please, let me know when you have finished.

Sure! I will let you know for the rest of the datasets I am working on.

DONE: https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_ar_openiti_proc
Sample:
{
  'text': 'سلسلة الأجزاء والكتب الحديثية (17)\n الفوائد والأخبار والحكايات\n عن الشافعي وحاتم الأصم ومعروف الكرخي وغيرهم\n للمحدث الفقيه أبي علي الحسن بن الحسين بن حمكان الهمذاني الشافعي\n (المتوفى سنة 405 ه)\n دراسة وتحقيق وتعليق\n...',
  'meta': "{'file': 'OpenITI.plain/0425AH/data/0405IbnHusaynHamadhani/0405IbnHusaynHamadhani.FawaidWaAkhbar/0405IbnHusaynHamadhani.FawaidWaAkhbar.Shamela0026505-ara1.plain'}"
}


[ISSUE-3132] Replace the dependence repository Bintray with JFrog in compile-tool

Description
The compile-tool has a dependence boost, which needs to be downloaded from Bintray repository.
But since May 1st 2021, Bintray was not available and moved to JFrog. See https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/.
Therefore, we have to update these URLs to new ones.

This PR need to be cherry picked to rel/0.12


Move NullLoggerFactory to Microsoft.Extensions.Logging.Abstractions

From https://github.com/aspnet/DataProtection/pull/203#discussion_r104220371
We currently have NullLogger and NullLoggerProvider in Logging.Abstractions but NullLoggerFactory is in Logging.Testing. It should be moved to Logging.Abstractions so it can be used in other places like the one referenced above.
@Eilon

@muratg @davidfowl @DamianEdwards - any objections? This seems like good cleanup because we have a mess of NullLoggerXyz's scattered around.

👍


Should not overwrite two_stage.py

I think you shouldn't just overwrite two_stage.py. Creating a new file like tsd_two_stage.py was better.
This was not friendly, it kept me unrealizing that base structure was different from typical fasterrcnn until the error was thrown.

Hi, thanks for your advice and we will modify this in the future update.


For Linux:  useManagedDataDisk:true** and **dataPath: '/mnt/sfroot'

Upon trying as much as the article instructed and created a new cluster from scratch with an intention to Deploy an Azure Service Fabric cluster node type with managed data disks, one thing that we need to change is that instead of using "\mnt\sfdataroot" for linux datapath as written in there, we must put "/mnt/sfroot" because when we tried with "\mnt\sfdataroot" (the first), nothing works at all.

Thanks for the contribution, @geetanjali05
#sign-off


Plans for Golang driver?

Hello! And thanks for EdgeDB.
Simple question: would your have any plans about Golang driver?
I know, officially "EdgeDB love Python", but..
Roadmap for other programming languages — would be great. 👍

it's work in progress :)

It would be interesting to know what the performance increase would be if EdgeDB was ported to Go

Most performance-critical parts of EdgeDB are actually written in C (or transpiled to C), so it's already quite fine on the fast path.  Here are some benchmarks: https://edgedb.com/blog/edgedb-1-0-alpha-1/#benchmarks
There is room for improvement, and a partial rewrite to a systems language is something we might consider.

Cool. Thank you for the explanation.

There is room for improvement, and a partial rewrite to a systems language is something we might consider.

Edgedb is an amazing project and Edgeql is a game changer. The project is in alpha stage and I am sure memory/cpu usage will improve but I in my opinion partial/full rewrite to a systems language is absolutely necessary for efficient use of memory/cpu. Python process are heavy and currently, Edgedb is consuming around 400mb for database service, 100mb for repl and 400mb of ram for each http (Edgeql/Graphql) connection.

it's work in progress :)

Show us the code ^_^

There is room for improvement, and a partial rewrite to a systems language is something we might consider.

Edgedb is an amazing project and Edgeql is a game changer. The project is in alpha stage and I am sure memory/cpu usage will improve but I in my opinion partial/full rewrite to a systems language is absolutely necessary for efficient use of memory/cpu. Python process are heavy and currently, Edgedb is consuming around 400mb for database service, 100mb for repl and 400mb of ram for each http (Edgeql/Graphql) connection.

At the first, I got excited about the project until I found out that Python was the language chosen, which is strange since there are languages like Rust or Go nowadays.

At the first, I got excited about the project until I found out that Python was the language chosen, which is strange since there are languages like Rust or Go nowadays for a task like this

The EdgeDB codebase predates both Rust and Go.  All performance-critical paths are written in C or Cython and we are working on making parts of the system to be more amenable to a progressive rewrite in Rust, so don't get discouraged at the sight of Python :-)  Also, here are some early perf benchmarks: https://edgedb.com/blog/edgedb-1-0-alpha-1/#benchmarks

Is there any new update regarding Go Driver?

@ansarizafar Not yet, unfortunately. Alpha 2 will see the release of a NodeJS binding, and there's early work on the Rust driver.  Golang binding is next in queue, we expect to start working on it early next year.
By the way, the protocol is fully documented, and there are two complete implementations of the protocol (Python and JavaScript) to draw inspiration from, so if anyone wants to make Golang (or any other platform) happen sooner, please feel free to contribute!

There is now an official Go driver for edgedb :tada:
More information can be found at the links below.
https://www.edgedb.com/blog/edgedb-1-0-beta-1-sirius/#a-new-first-party-database-client-for-go
https://pkg.go.dev/github.com/edgedb/edgedb-go

There is now an official Go driver for edgedb
sorry, but this is a client not a driver, right?
How does this solve server-side issues with python?

Sorry, but this is a client not a driver, right?

A client and a driver are synonyms here, meaning the same thing.

How does this solve the mentioned server-side issues with python?

What issues specifically?


Add STY (UMLS semantic types)

For
http://purl.bioontology.org/ontology/STY
E.g.
http://purl.bioontology.org/ontology/STY/T039
bioportal also includes a rich source of prefixes, but it's not clear you would want to include them all since it may be end up de-facto squatting

The Bioregistry automatically adds all new entries from OBO Foundry, Identifiers.org, and the OLS, but not the other sources. BioPortal has much more garbage in it, so it's only automatically mapped but new entries aren't automatically included.

Please see https://bioregistry.io/registry/sty


[PE-D][Tester C] Able to schedule makeup lessons in the past

Perhaps limiting the makeup commands to future dates only could be more productive for the user since the music tutor likely doesn't want to accidentally schedule a makeup during a date that has already passed.
To reproduce: makeup 1 dt/01-07-2020 st/12:00 et/13:00

Labels: severity.Medium type.FeatureFlaw
original: linette-g/ped#6

I think it is ok to allow archival of old makeup lessons. However, the handling of old makeup lessons to prevent interference with future actions will be covered in #256


Should handle less-than and other disallowed characters

I have an entry in a JSON-LD file like this:
        {
          "@id": "ex:BOE/code/INSTRUMENTS/LDA>1Y",
          "@type": "skos:Concept",
          "skos:prefLabel": "Medium and long term deposits",
          "skos:notation": "LDA>1Y"
        },

It gets converted by this library into:
<https://example.com/BOE/code/INSTRUMENTS/LDA>1Y> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> .
<https://example.com/BOE/code/INSTRUMENTS/LDA>1Y> <http://www.w3.org/2004/02/skos/core#hasTopConcept> <https://example.com/BOE/code/INSTRUMENTS> .
<https://example.com/BOE/code/INSTRUMENTS/LDA>1Y> <http://www.w3.org/2004/02/skos/core#notation> "LDA>1Y" .
<https://example.com/BOE/code/INSTRUMENTS/LDA>1Y> <http://www.w3.org/2004/02/skos/core#prefLabel> "Medium and long term deposits" .

As you can see, the LDA>1Y> section is problematic because N-Triples parsers fail at that position. They view the IRI as already being closed.
I'm not sure if the JSON-LD spec has anything to say about this, i.e. whether the > should be URL encoded, or if the serializer should just return an error.
But the library should do one of those two: either serialize it properly or throw an error, rather than silently emit invalid N-Triples.
Let me know if I can provide more info. Thanks for this awesome library!

@alexkreidler thank you for reporting the issue. The problem is clear. At first glance, I'm not sure what the correct behaviour should be (whether the library should apply URL escaping or leave it to the caller (so that the library always expects @id fields in the escaped format) ). JSON-LD Playground which is a good reference point behaves in the same way as json-gold.
While I'm looking at the possible solution, I'll give an unhelpful suggestion, based on my experience with writing financial services software 😄 : even if the library is producing well formed N-tuples, I'm afraid there will be problems with such identifiers downstream. I would highly recommend using 'safe' identifiers without characters like >, and moving the actual identifier into a separate field.

Looking at the IRI Syntax from RFC3987, "LDA>1Y" would be an isegment part of an ipath, and ">" is not a valid icharacter, so must be escaped. The spec depends on the use of valid IRIs, and a processor may reject invalid IRIs or relative IRI references (such as this).
My on parser (available at http://rdf.greggkellogg.net/distiller) is happy to expand this, but doesn't generate N-Triples because of the invalid IRIs.
I used the following as an example:
{
  "@context": {
    "@base": "http://example.com/BOE/code/INSTRUMENTS",
    "skos": "http://www.w3.org/2004/02/skos/core#",
    "ex": "https://example.com/",
    "skos:notation": {"@type": "@id"}
  },
  "@id": "ex:BOE/code/INSTRUMENTS/LDA>1Y",
  "@type": "skos:Concept",
  "skos:prefLabel": "Medium and long term deposits",
  "skos:notation": "LDA>1Y"
}

Thanks for both your responses.
For my situation I can do a check to make sure the @id is valid, and either just omit the bad records or think about URL-encoding or shortening those IDs.
It would be interesting to see if json-gold could do a check to make sure it's not serializing invalid IRIs. Rdflib does this Of course, we wouldn't want it to hurt performance, so maybe it could be optional?


ValueObject.cs GetHashCode

If I recall, GetHashCode is used in some objects for equality checks right?
Shouldn't this be something like...
        public override int GetHashCode()
        {
            return GetAtomicValues()
                .Select(x => x != null ? x.GetHashCode() : 0)
                .Aggregate((x, y) => (x * 397) ^ y);
        }

So that if you had a Point object with int X, Y and one with X = 1, Y = 2 and another X = 2, Y = 1 they would have different hashcodes. Right now, even though the objects are different their hash codes are both 3.

Hi @cphillips83. I wasn't sure, so I created a couple of unit tests based on your example. It seems to work fine. Thoughts?

Closed, it seems to work for given test case.

Sorry that it took me so long to get back to this. .NET has come a long way and this may no longer apply, one could open the source up and look at the dictionary and hashset implementations to see.
Your tests will of course pass because you are using Equals, which is running your Equals code in the atomic comparison which is doing nothing more than equal checks against the real fields.
Where this becomes an issue is that the types I listed above (and more) store the data based on the objects hash code in buckets, which means Point(1,2) and Point(2, 1) will generate the same hashcode and therefore a hash collision which will degrade performance.
Also as I mentioned you are testing equality in your unit tests and not GetHashCode, you should have a test to Assert p1.GetHashCode() != p2.GetHashCode() because the specification states that the HashCode should attempt to generate.
For reference, an example of a well used library implementing this on structs for example.
https://github.com/MonoGame/MonoGame/blob/master/MonoGame.Framework/Vector3.cs
To be honest, it probably doesn't really apply to this library since the amount of data being handled and valueobjects being stored in massive hash buckets is probably small. None the less it is a performance gain to prevent hashing collisions.

In addition  https://blogs.msdn.microsoft.com/ericlippert/2011/02/28/guidelines-and-rules-for-gethashcode/


Scrape Top 100 movies as per genre entered by the user

Description
Scrape the top 100 movies from Rotten-Tomatoes as per the genre entered by the user.
Store the result in a CSV file
Type of issue

[x] Feature (New Script)

Checklist:

[x] I have read the project guidelines.
[x] I have checked all the existing projects, before submitting a new project issue.
[x] I have checked previous issues to avoid duplicates.
[x] This issue will be meaningful for the project.

Ready to work on it. Please Assign it to me.

Ready to work on it. Please Assign it to me.

Sure @Anshul275

Hi, can i work on this also ?

Hi, can i work on this also ?

Sorry this issue has already been claimed

Should i attach one of the generated csv files too. Screenshots are needed or not??

Should i attach one of the generated csv files too. Screenshots are needed or not??

nope


Question: Where are vaults located?

I've browsed through the Android/Data/deckers.thibault.aves.libre folder, and while the trash bin is there, vaults are not. Just wondering how you managed to completely hide them from view, thank you!
BTW, best photo app I've ever used on android.

Glad you enjoy the app.
Among app specific directories, there are some on the external storage (what you looked at, where you found the trash), and some on the internal storage (where i put the vaults). Note here that "external" does not mean that it is on a removable SD card.
In practice, the app specific external storage is:
/storage/emulated/0/Android/data/deckers.thibault.aves.libre/files/...
And the app specific internal storage is:
/data/user/0/deckers.thibault.aves.libre/files/...
Cf Android doc.


[production][search_queries#show] undefined method `zero?' for nil:NilClass

See this exception on Errbit

Fix applied and deployed to test3


Snippets take longer to load in larger files

Description
When using snippets in large files, the snippet dropdown takes a noticeably longer period of time to appear.
Steps to Reproduce

Open a large file (over 1000 lines seems to do it for me)
Use a snippet
Observe that the snippet dropdown appears after a delay

Expected behavior: Snippet dropdown should open immediately
Actual behavior: Snippet dropdown takes a few seconds to appear
Reproduces how often: Every time I use a snippet in a large file
Versions
$ atom --version
Atom    : 1.16.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

$ apm --version
apm  1.16.1
npm  3.10.5
node 6.9.5 x64
python 2.7.12
git 2.11.0

Additional Information
I can understand why autocomplete in general would take a while to load, but snippets shouldn't need to read the whole file to load -- they should appear immediately.

Thanks for the report! Can you re-open this in https://github.com/atom/autocomplete-snippets if there's no existing issue already so we have it in the right place?  I think that's the best repo for this...also, if you can completely fill out the issue template that would be great (e.g. check-off the prerequisite section that lets us know if you tried in safe mode, add your operating system details, etc.).


VE-1074: change the placeholder to a more meaningful term

?? it is already doing that. maybe clear your browser cache.