ExVar.getVar returning wrong value

Hello,
I have a C# function that is getting invoked from a C++ executable. In this function, I am attempting to do the literal equivalent of
int number;
std::cin >> number;

Obviously I could do something like number = int.Parse(Console.ReadLine()), but in this case I really need to do exactly what C++ is doing (and besides, what fun would that be?). Leveraging a decompiler to get the exact mangled names, I came up with this code:
            int number= 0;
            using (var l = new ConariL(@"c:\windows\system32\MSVCP140.dll"))
            {
                var cin = l.ExVar.getVar<IntPtr>("?cin@std@@3V?$basic_istream@DU?$char_traits@D@std@@@1@A");

                l.bind<FuncOut2<IntPtr, int, IntPtr>>("??5?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@AEAH@Z").Invoke(cin, out number);
            }

The function binding works correctly, but it throws an access violation inside of the function because the address of cin is incorrect. The intptr returned by getVar is 0x00007ffe2a0cc110, which the Visual Studio debugger tells me is the address of std::basic_istream<char,std::char_traits<char>>:: vbtable', not of std::basic_istream<char,std::char_traits<char>> std::cin. Indeed, if I put std::cout << &(std::cin); in the C++ app, it outputs 00007FFE2A0F7200, which Visual Studio agrees is correct.
If I force 00007FFE2A0F7200 into my cin variable instead of getting it with getVar, the function executes correctly, prompting for user input and storing it in number.

Hello @SapientGuardian
std::cin is not actually a variable (at least for ExVar context) and in general assumes working with streams.
ExVar was just designed for other purposes such as final data as variables or some other const data in memory.
That is,
00007FF844A06070 -> 00007ff8449db0d0  -> data
                    ^^^^^^^^^^^^^^^^
                    final value at this pointer

See details in #7 and https://github.com/3F/DllExport/issues/24
Logic of the getVar above was based on getField + our Conari 'native' extension:
-> getField
v
-> -> provider
        .Svc
        .native(lpProcName)
        .t(type)
        .Raw.Type.FirstField;

Therefore it will return an wrong pointer because ExVar feature already calculated this as final data by jumping "forward".
I don't remember exactly but more like we don't have special logic for any streams and similar cases in 1.4.
Although for 1.4 you can try at least this:
var cin = l.Svc.getProcAddr(l.Svc.procName("?cin@std@@3V?$basic_istream@DU?$char_traits@D@std@@@1@A", false));
// now a correct pointer to std::cin stream

I think we need a more elegant ~"Conari way".
But I still can't talk anything specific about some changes/new features/or some releases at least from me due to my health problems and more; However I can try to coordinate some work around my projects and their releases if someone be ready for something.
Thanks for using. Yours,
-- Denis Kuzmin

FYI don't forget about aliases which are super useful for C++ (the case of #3). For example:
l.Aliases.Add("cin", "?cin@std@@3V?$basic_istream@DU?$char_traits@D@std@@@1@A");

then it could be like
_v1 = l.ExVar.DLR.cin<IntPtr>();
_v2 = l.ExVar.get<IntPtr>("cin");
// ...
l.ExVar.get<IntPtr>("class std::basic_istream<char,struct std::char_traits<char>> std::cin");
etc.

Thank you for your insights; the getProcAddr method you suggested works perfectly!

Conari 1.5 now provides IProvider.addr()
Use it easier,
l.addr("...")

Also note the following,
l.Svc.getProcAddr("...")
l.Svc.native("...")


Created !help command

Made dic an instance variable to be able to be referenced from outside of the commands method. Created help() method at ends of commands.py which is called by the help command inside of the dictionary. Added !help to tests.txt. This is my first open source contribution so I apologize if I have done something wrong. Any critiques appreciated. Thanks.

Thank you for your contribution, and good luck on yout FOSS adventure :)
Since this is a bare minumum help function, I will leave the issue open for improvements.


Scalar Nan

Bug report

Basic Information

Mission version: 1.96.146070
Map used: Lythium
Mods used:

@BMS
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=1617973312

ace
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=463939057

ACE Compat - RHS Armed Forces of the Russian Federation
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=773131200

ACE Compat - RHS United States Armed Forces
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=773125288

ACE Compat - RHS: GREF
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=884966711

Achilles
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=723217262

ADV - ACE Splint
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=1291442929

Advanced Rappelling
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=713709341

Advanced Sling Loading
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=615007497

Advanced Towing
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=639837898

bCombat
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=314397752

CBA_A3
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=450814997

CUP Terrains - Core
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=583496184

Jbad
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=520618345

LYTHIUM
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=909547724

Project OPFOR
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=735566597

RHSAFRF
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=843425103

RHSGREF
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=843593391

RHSUSAF
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=843577117

task_force_radio
Steam
http://steamcommunity.com/sharedfiles/filedetails/?id=620019431

Dedicated or local game: Dedicated
Source of the mission file (URL): https://drive.google.com/open?id=1_t_0Fvrdqk0fZwxFlyQDB3t_KSEQPGqz

Individual Things
Did you edit anything within the mission files?
Yes
If yes, what did you edit exactly?
Unlock Zeus, Ace Configs and put some starter vehicles
Short Issue Description
Cannot build nothing, the vale of cronstruction stay on scalar nan
Expected Behaviour

Construction value is scalar nan
Steps to Reproduce the Issue

Screenshots, Serverlog or any other helpful Information
https://steamuserimages-a.akamaihd.net/ugc/778493000469004106/BEA34181FD119EDF0945A63E082C05EB50F909C7/?imw=1024&imh=576&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=true

This an issue with your edits most likely, provider server and client RPT.

This an issue with your edits most likely, provide server and client RPT.

Last Server RPT https://drive.google.com/file/d/1zE0p56cSXJIBFW8A8Di0Dsxzb5GI2VUG/view?usp=sharing


cloud messaging firebase (push notifications) issue

My setup:

I migrated to android X

version: 1.0.0+1
environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  firebase_messaging: ^3.0.0

[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [version 10.0.17134.523], locale fr-FR)
    • Flutter version 1.0.0 at D:\src\flutter
    • Framework revision 5391447fae (2 months ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Android\sdk
    • Java binary at: E:\ProgramFiles\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at E:\ProgramFiles\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2016.1)
    • IntelliJ at C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.1
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins
    X This install is older than the minimum recommended version of 2017.1.0.

[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.2
    • Flutter plugin version 32.0.3
    • Dart plugin version 183.5429.25

[!] VS Code, 64-bit edition (version 1.26.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • PGN528 • SWU4BULJ5LBQIJUK • android-arm64 • Android 7.0 (API 24)

! Doctor found issues in 2 categories.

My code
import 'package:firebase_messaging/firebase_messaging.dart';

//...

class App extends StatefulWidget {
  @override
  _AppState createState() => _AppState();
}

class _AppState extends State<App> {
  final FirebaseMessaging _firebaseMessaging = FirebaseMessaging();

  @override
  void initState() {
    super.initState();
//    _firebaseMessaging.configure(
//      onMessage: (Map<String, dynamic> message) {
//        print('on message $message');
//      },
//      onResume: (Map<String, dynamic> message) {
//        print('on resume $message');
//      },
//      onLaunch: (Map<String, dynamic> message) {
//        print('on launch $message');
//      },
//    );
    _firebaseMessaging
        .requestNotificationPermissions(const IosNotificationSettings(
      sound: true,
      badge: true,
      alert: true,
    ));
    _firebaseMessaging.getToken().then((token) {
      print('token ' + token);
    });
  }
//...
}

when i send a test notification from the firebase console this what i get in my console and nothing in my real device, even the onMessage is not called  (i tried it in another device, i did not get any notifications but the onMessage is called)
D/ActivityThread( 7252): BDC-Calling onReceive: intent=Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000010 pkg=com.example.firstapp cmp=com.example.firstapp/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) }, receiver=com.google.firebase.iid.FirebaseInstanceIdReceiver@c155cc5
V/ActivityThread( 7252): SVC-Creating service CreateServiceData{token=android.os.BinderProxy@cbab61a className=io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService packageName=com.example.firstapp intent=null}
D/ActivityThread( 7252): SVC-Calling onStartCommand: io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService@117a54b, flags=0, startId=1
V/ActivityThread( 7252): SVC-Destroying service io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService@117a54b
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): beginTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): endTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): beginTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): endTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): beginTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): endTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): beginTransaction()
D/SQLiteConnectionPool( 7252): really get connection
D/SQLiteDatabase( 7252): endTransaction()

Please add the output of flutter doctor -v.
Is this on iOS or Android or both?

@zoechi
It is on android, i updated my the issue with flutter doctor -v

yes I already did the migration to AndroidX

@zoechi I tested my app in another device, and I remarked that I get the notification if the app is not active (ie: the app is off or running in the background) is this the normal behavior ? am I missing something ?

@terryBaz yes, that's the expected behavior.
When the app is active onMessage should be called and you'd need to display the notification yourself if you want to have one shown (for example using one of the local notifications package)

@zoechi thanks and sorry for wasting your time, BUT I think that this behavior should be noted somewhere in the docs because it is not the expected one by devs and I confirm that a lot of devs had the same question as me.

@terryBaz
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/465. Any further collaboration will be done there.


[video_player] video sound should not mute when mute control is muted

When playing video, video sound will be muted when muted controller is muted.
It's maybe as design, but not same as most of the video & audio apps(Youtube for example)
Target Platform: iOS
Target OS version/browser: 13.3
Devices: iPhone8

Duplicate of #47524. Please check the solutions in the issue.

Thanks @cbenhagen !
I'm closing the current one as duplicate #47524.
If you disagree please write in the comments
and I will reopen it.
Thank you

@cbenhagen oh I see, I just search the issue with [video_player] before I create this,  you maybe better to create issue with title start with [video_player]


Feat/modules support

I dont wont to disturb your flow is, but is this related to this https://github.com/rcasia/neotest-java/issues/100 ? If yes, I am thrilled ! :D :D (I guess there is some work for gradle since you probably prefer/use maven, so let's see what's left once it stabilized here :D )

Hi @mputz86!
Yes I am tweaking some stuff that it is not currenly working for gradle and manually testing with different projects. I hope I have it soon.


ListRegistrationApplicationsResponse is invalid

Backend 0.18.4
Plemmy version: Newest

Thanks for bringing this up - unfortunately the LemmyHttp documentation hasn't included new attributes for objects recently, so finding these kinds of errors is pretty trial-and-error for now.
Should be fixed as of https://github.com/tjkessler/plemmy/commit/dc0450460b9821e5e63c3d9477fc82c3ce348bb0, with version 0.3.10 containing the change.


Add classes and droppability for comment blocks

Allow comment blocks to be dropped in indent contexts, and don't add parentheses or semicolons to them.

looks good


Name of person who conducted assay

Though there is a group field, it may prove helpful to have a field for who, specifically, conducted the assay.

Addressed in User and Security Update.


ReadmeLinkFix

#87 fixe(s): links now open in new tab (118-123)

so amazing, but someone else beat you to the punch! (to the push? ^^)   i cant merge this because it's already done, but everything looks great!  check back in a couple days though; we have some new issues brewing that will be beginner-friendly

feel free to try your hand at #94!


Shape Size of scatter chart bubble not decreasing in Desktop

Hey, I used PowerBI Custom visual code of Enhanced scatter chart and decreased the size of shape by reducing the radius of the shape. It works well on the chrome verion, but when I package it and import it in desktop version, then it don't work. The shape size again remain the same as the presvious version had.

hello @hamza005, Have you changed uniq GUID string in pbiviz.json file?

nope. I really dont know what actually it does. Can you please tell me?

Every visual uses it's own unique GUID number.  Otherwise PBI uses stock version of the visual.
https://github.com/Microsoft/PowerBI-visuals/blob/17042fe7d5df81f5af07e85c4df441b5586a9f41/Tutorial/SubmissionCommonProblems.md

Oh thanks @uve it worked! You made my day. It's working now... But can't we add a shape size changer? so that anyone can adjust by his/her choice like it is in the real visual of Power BI?


chore(curves): memoize EC constants, fix curve tests

Added memoization to some curve parameters to avoid string parsing more than once during runtime
The tests in crates/curves also werent working so I enabled the needed feature in dev-deps

Did you add this to increase performance of the elliptic curve precompiles?

Ya, it doenst look like some of these functions like generator() are used much, but modulus does at least seem to be used from FieldParameters in a few places
Some moduli are parsed as strings (overriding the default of behavior of FieldParameters) but I didnt want to change too much

@nhtyy Could you use lazy_static instead of defining a new macro? Otherwise seems like a good addition, though it's not clear how much effect it really has on performance


rootless: block signals on re-exec

we are allowed to use only signal safe functions between a fork of a
multithreaded application and the next execve.  Since setenv(3) is not
signal safe, block signals.  We are already doing it for creating a
new namespace.
This is mostly a cleanup since reexec_in_user_namespace_wait is used
only only to join existing namespaces when we have not a pause.pid
file.
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

LGTM

LGTM

/lgtm

/lgtm


Problems with 4.0.8 / 4.0.9 and Traefik

    We're experiencing the same issue.

The issue started appearing today.
We have three server hosting containers for our QA. They are all experiencing the same issue.
Containers created on friday are still up, running and reachable.
We are running Docker Enterprise on Windows Server 2019  (1809)

docker ps shows "exactly" when the problem started occuring
PS C:\Users\admjtheiner> docker ps -a
CONTAINER ID        IMAGE                                               COMMAND                  CREATED             STATUS                          PORTS
0b1064ca654d        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   2 minutes ago       Up About a minute (unhealthy)   80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
1717fa4da71e        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   5 hours ago         Up 5 hours (unhealthy)          80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
141ab654aa73        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   8 hours ago         Up 8 hours (unhealthy)          80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
b1cb4ed5be48        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   11 hours ago        Up 11 hours (unhealthy)         80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
72771723f0f5        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   12 hours ago        Up 12 hours (unhealthy)         80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
488ed96a322f        tobiasfenster/traefik-for-windows:v1.7.34           "/traefik --docker.e…"   21 hours ago        Up 21 hours                     <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp, <IP_ADDRESS>:8080->8080/tcp
8238d719a686        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   4 days ago          Up 22 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
8a57b92b029b        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   4 days ago          Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
81b84a7ed5e3        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   7 days ago          Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
4375b693f606        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   11 days ago         Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
2415c1bafa62        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   4 weeks ago         Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
99ecd601ae19        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   4 weeks ago         Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
f43438446116        mcr.microsoft.com/businesscentral:10.0.17763.3650   "powershell -Command…"   5 weeks ago         Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
830228db2991        mcr.microsoft.com/businesscentral:10.0.17763.3406   "powershell -Command…"   3 months ago        Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
1009bef759f9        mcr.microsoft.com/businesscentral:10.0.17763.3287   "powershell -Command…"   4 months ago        Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
9e2fc9fa5129        mcr.microsoft.com/businesscentral:10.0.17763.2928   "powershell -Command…"   6 months ago        Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
cd0388a0843c        mcr.microsoft.com/businesscentral:10.0.17763.2366   "powershell -Command…"   11 months ago       Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp
b3ec15f915c7        mcr.microsoft.com/businesscentral:10.0.17763.2366   "powershell -Command…"   12 months ago       Up 21 hours (healthy)           80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 7083/tcp, 8080/tcp

docker logs for the traefik container
2023/01/08 23:34:17 Using high precision timer
2023/01/09 21:08:55 Using high precision timer
time="2023-01-09T21:08:57+01:00" level=error msg="Failed to retrieve information of the docker client and server host: error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."
time="2023-01-09T21:08:57+01:00" level=error msg="Provider connection error error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running., retrying in 348.546422ms"
time="2023-01-09T21:08:57+01:00" level=error msg="Failed to retrieve information of the docker client and server host: error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."
time="2023-01-09T21:08:57+01:00" level=error msg="Provider connection error error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running., retrying in 472.311552ms"
time="2023-01-09T21:08:58+01:00" level=error msg="Failed to retrieve information of the docker client and server host: error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."
time="2023-01-09T21:08:58+01:00" level=error msg="Provider connection error error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running., retrying in 1.648796439s"
time="2023-01-09T21:08:59+01:00" level=error msg="Failed to retrieve information of the docker client and server host: error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."
time="2023-01-09T21:08:59+01:00" level=error msg="Provider connection error error during connect: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version\": open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running., retrying in 855.729185ms"

We also recreate the traefik container each night. Since this image (1.7.34) is also 3 months old, I don't think it's the issue
I downgraded to v 4.0.7 of BcContainerHelper (not sure whether the issue appeared with .8 or .9) and recreated the container which didn't help. Then I recreated the traefik container and then recreated the container again, now everything seems to be working again.
In future to make it easier to find what got released in which version of bccontainerhelper it would be very helpful if you could add tags when you release a new version so it's easier to compare releases.
I'm sorry I don't have time to look for what's actually going on but it must be a change between 4.0.7 and 4.0.9.
Originally posted by @itsme112358 in https://github.com/microsoft/navcontainerhelper/issues/2839#issuecomment-1376389796

Hi @freddydk,
thanks for migrating the issue.
Suggested Title: Traefik configuration does not update (BcContainerhelper 4.0.9)
Additional Info
The traefik configuration is not updated when a new container is created as it did before, rendering new containers unreachable when using -useTraefik parameter.
Existing containers work fine.
Scripts are run as local admin via a build agent with its own account.
Here is our traefik.toml
debug = false
defaultEntryPoints = ["https","http"]
insecureSkipVerify = true

[api]
# Check https://docs.traefik.io/v1.7/configuration/api/#security
# to enable authentication on the dashboard for extra security

[docker]
domain = "[fqdn]"
watch = true
endpoint = "npipe:////./pipe/docker_engine"

[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
  [entryPoints.https.tls]
    [[entryPoints.https.tls.certificates]]
    certFile = "c:/etc/traefik/certificate.crt"
    keyFile = "c:/etc/traefik/certificate.key"

[file]
[backends]
  [backends.host]
    [backends.host.servers.server1]
       url = "http://${IP}:8180"

 [frontends]
  [frontends.host]
    backend = "host"
    [frontends.host.routes.route1]
      rule = "PathPrefix:/"

And part of the calling script to create the traefik container
$parameters = @{
    'IP' = $IPForTreafik;
    'PublicDnsName' = $env:DNSName;
    'CrtFile' = $CrtFile;
    'CrtKeyFile' = $CrtKeyFile;
    'traefikToml' = $traefikToml;
}

Setup-TraefikContainerForNavContainers -Recreate @parameters

Apart from timestamps and container id the only thing differing in the output is this
2023-01-09T21:37:47.1950393Z DNS Name: [fqdn]
2023-01-09T21:37:47.9488603Z IP Address: [ipaddress]
2023-01-09T21:37:48.2140988Z BcContainerHelper version 4.0.7
2023-01-09T21:37:48.4744884Z BcContainerHelper emits usage statistics telemetry

2023-01-08T22:41:29.5474994Z DNS Name: [fqdn]
2023-01-08T22:41:30.4890407Z IP Address: [ipaddress]
2023-01-08T22:41:30.7964664Z BcContainerHelper version 4.0.9
2023-01-08T22:41:31.1755032Z BC.HelperFunctions emits usage statistics telemetry to Microsoft

Both have been unchanged in ages.
We update BcContainerHelper nightly and recreate the traefik container.
Since over the weekend no builds ran, I can't say for sure whether the issue came up in 4.0.8 or 4.0.9
Since for now I can just work with 4.0.7, I'll stick with it for now. I have some deadlines I have to meet next week, so after that I'll be able to investigate further.

Thanks for the additional information - I will investigate this

Hi Freddy, couldn't leave it and found the issue: The move to Get-Acl (09b364e3a10d270643f036e711ce513413c68395)
It works fine for "real" directories but it seems to have issues with the named pipe.
The commands I used to test this (as admin):
$npipe = '//./pipe/docker_engine'

# works
[System.IO.Directory]::GetAccessControl($npipe)

Path Owner                        Access
---- -----                        ------
     VORDEFINIERT\Administratoren NT-AUTORITÄT\SYSTEM Allow  FullControl...

# doesn't work
Get-Acl -Path $npipe

# German, just states that the path could not be found because it doesn't exist.
Get-Acl : Der Pfad "Microsoft.PowerShell.Core\FileSystem:://./pipe/docker_engine" kann nicht gefunden werden, da er nicht vorhanden ist.
In Zeile:1 Zeichen:1
+ Get-Acl -Path $npipe
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-Acl], ItemNotFoundException
    + FullyQualifiedErrorId : GetAcl_PathNotFound,Microsoft.PowerShell.Commands.GetAclCommand

That was fixed in 4.0.9 - https://github.com/microsoft/navcontainerhelper/commit/d2916d91f9a5a930f371f60640365d4424955276
(which was the reason for shipping 4.0.9 very shortly after 4.0.8)
But I don't think it is the Check-BcContainerhelperPermission that fails with you

I think I found the issue - testing now.
BTW - good point on the Tags - I will start adding tags to the repo on every release going forward.
(should have done that from day 1)

Was able to easily find and add all the tags since 3.0.11 (all of these releases have been run on GitHub and the SHA was available for the bits released)

Shipped in 4.0.10


spanner::DatabaseAdminConnection member functions should return kUnimplemented

We think pure virtual functions are a recipe to break backwards compatibility as we add member functions. The class should:

Return a status of kUnimplemented for simpler RPCs.
Return a satisfied future with a status of kUnimplemented for asynchronous and polling RPCs.
Return a range containing a single value with status kUnimplemented for iteration APIs.

This is now the case for spanner_admin::DatabaseAdminConnection (generated).  spanner::DatabaseAdminConnection is deprecated.


ref support for tuple recursive types

Version
3.2.31
Reproduction link
www.typescriptlang.org/play
Steps to reproduce
Reproduction link
What is expected?
ref support for tuple recursive types
What is actually happening?
Reproduction link

Same as #5460
Do this


More clear comment for String.prototype.match()

Please verify that:

[ ] There is an associated issue in the Backlog milestone (required)
It's just a comment rewrite, doesn't need any issues to be addressed.
[x] Code is up-to-date with the master branch
[x] You've successfully run gulp runtests locally
[x] There are new or updated unit tests validating the change

More clear documentation for String.prototype.match()

Thanks again, @Arman92!


Missing return type annotations

Dataset.to_dataframe should have a return type hint like DataArray.to_dataframe.
Similarly, can concat have a Union[Dataset, DataArray] return type or is it more complicated than that?

Yes, this would be very welcome!
In theory concat might be able to use @overload to indicate a more precise type, but Union[Dataset, DataArray] would be a good start.


Blur Radius and Quality Problem

When set above zero, Blur Radius and Quality reveal around the edges of the browser window. Players can see unrevealed areas of the map along the edge of their window.

Thanks, I will take a look into it!


Unexpected failure during module execution

The plugin crashes when I try to execute the following task:
- name: Test
  command: "touch /Testolope.dat"
  connection: sshjail
  delegate_to: "{{ jail_name }}@{{ inventory_hostname }}"

(jail_name is defined and the jail is running; jexec works)
Playbook:
- hosts: all
  any_errors_fatal: true
  remote_user: root

  vars:
    - jail_name: playground

  tasks:
    - name: Test
      command: "touch /Testolope.dat"
      connection: sshjail
      delegate_to: "{{ jail_name }}@{{ inventory_hostname }}"

Traceback:
The full traceback is:
Traceback (most recent call last):
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 158, in run
    res = self._execute()
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 663, in _execute
    result = self._handler.run(task_vars=variables)
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/command.py", line 26, in run
    results = merge_hash(results, self._execute_module(module_name='ansible.legacy.command', task_vars=task_vars, wrap_async=wrap_async))
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/__init__.py", line 888, in _execute_module
    self._transfer_data(remote_module_path, module_data)
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/__init__.py", line 498, in _transfer_data
    self._transfer_file(afile, remote_path)
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/__init__.py", line 475, in _transfer_file
    self._connection.put_file(local_path, remote_path)
  File "/Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible/connection_plugins/sshjail.py", line 437, in put_file
    self._copy_file(tmp, out_path)
  File "/Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible/connection_plugins/sshjail.py", line 407, in _copy_file
    copycmd = plugin.build_become_command(' '.join(['cp', from_file, to_file]), shell)
AttributeError: 'NoneType' object has no attribute 'build_become_command'

Full ansible output:

ansible-playbook 2.10.6
  config file = /Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible.cfg
  configured module search path = ['/Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible/modules']
  ansible python module location = /usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.9.2 (default, Feb 24 2021, 13:26:09) [Clang 12.0.0 (clang-1<IP_ADDRESS>)]
Using /Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible.cfg as config file
Parsed <IP_ADDRESS>, inventory source with host_list plugin
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

 See
https://docs.ansible.com/ansible/2.10/reference_appendices/interpreter_discovery.html for more information.
ok: [<IP_ADDRESS>]
META: ran handlers

TASK [Test] ******************************************************************************************************************************************
task path: /Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/Jails.Playground/Playground.yml:18
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'which -s jailme'
<<IP_ADDRESS>> (1, b'jailme not found\r\n', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<<IP_ADDRESS>> Failed to connect to the host via ssh: Shared connection to <IP_ADDRESS> closed.
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'jls -q jid name host.hostname path'
<<IP_ADDRESS>> (0, b'27 playground playground /jails/playground\r\n28 skeleton skeleton /jails/skeleton\r\n', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'jexec 27 /bin/sh -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'echo ~root'"'"'"'"'"'"'"'"''"'"' && sleep 0'
<<IP_ADDRESS>> (0, b'/root\r\n', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'jexec 27 /bin/sh -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1614806741.668855-10047-15427075687577 `" && echo ansible-tmp-1614806741.668855-10047-15427075687577="` echo /root/.ansible/tmp/ansible-tmp-1614806741.668855-10047-15427075687577 `" )'"'"'"'"'"'"'"'"''"'"' && sleep 0'
<<IP_ADDRESS>> (0, b'ansible-tmp-1614806741.668855-10047-15427075687577=/root/.ansible/tmp/ansible-tmp-1614806741.668855-10047-15427075687577\r\n', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<<IP_ADDRESS>> Attempting python interpreter discovery
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'jexec 27 /bin/sh -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'; echo ENDFOUND'"'"'"'"'"'"'"'"''"'"' && sleep 0'
<<IP_ADDRESS>> (0, b'PLATFORM\r\nFreeBSD\r\nFOUND\r\n/usr/local/bin/python3.7\r\n/usr/local/bin/python\r\nENDFOUND\r\n', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<<IP_ADDRESS>> Python interpreter discovery fallback (unsupported platform for extended discovery: freebsd)
Using module file /usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/modules/command.py
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> mktemp
<<IP_ADDRESS>> (0, b'/tmp/tmp.mfaUtK4V\r\n', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'chmod 0644 /tmp/tmp.mfaUtK4V'
<<IP_ADDRESS>> (0, b'', b'Shared connection to <IP_ADDRESS> closed.\r\n')
<<IP_ADDRESS>> PUT /Users/keziah/.ansible/tmp/ansible-local-10038ml6mzmn9/tmp53qtojuw TO /tmp/tmp.mfaUtK4V
<<IP_ADDRESS>> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 '[<IP_ADDRESS>]'
<<IP_ADDRESS>> (0, b'sftp> put /Users/keziah/.ansible/tmp/ansible-local-10038ml6mzmn9/tmp53qtojuw /tmp/tmp.mfaUtK4V\n', b'')
<EMAIL_ADDRESS>ESTABLISH SSH CONNECTION FOR USER: root
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/keziah/.ansible/cp/912f20e3a5 -tt <IP_ADDRESS> 'jexec 27 /bin/sh -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1614806741.668855-10047-15427075687577/ > /dev/null 2>&1'"'"'"'"'"'"'"'"''"'"' && sleep 0'
<<IP_ADDRESS>> (0, b'', b'Shared connection to <IP_ADDRESS> closed.\r\n')
The full traceback is:
Traceback (most recent call last):
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 158, in run
    res = self._execute()
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 663, in _execute
    result = self._handler.run(task_vars=variables)
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/command.py", line 26, in run
    results = merge_hash(results, self._execute_module(module_name='ansible.legacy.command', task_vars=task_vars, wrap_async=wrap_async))
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/__init__.py", line 888, in _execute_module
    self._transfer_data(remote_module_path, module_data)
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/__init__.py", line 498, in _transfer_data
    self._transfer_file(afile, remote_path)
  File "/usr/local/Cellar/ansible/3.0.0/libexec/lib/python3.9/site-packages/ansible/plugins/action/__init__.py", line 475, in _transfer_file
    self._connection.put_file(local_path, remote_path)
  File "/Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible/connection_plugins/sshjail.py", line 437, in put_file
    self._copy_file(tmp, out_path)
  File "/Users/keziah/Development/Diaries/keziah.de (FreeBSD, Staging)/ansible/connection_plugins/sshjail.py", line 407, in _copy_file
    copycmd = plugin.build_become_command(' '.join(['cp', from_file, to_file]), shell)
AttributeError: 'NoneType' object has no attribute 'build_become_command'
fatal: [<IP_ADDRESS>]: FAILED! => {
    "msg": "Unexpected failure during module execution.",
    "stdout": ""
}

NO MORE HOSTS LEFT ***********************************************************************************************************************************

PLAY RECAP *******************************************************************************************************************************************
<IP_ADDRESS>             : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

Ah, I stumbled upon https://github.com/austinhyde/ansible-sshjail/pull/29#issuecomment-534049347 and indeed, become was missing.
So the issue is solved for me; however it might be a good idea to fix this/document this somewhere?
And thank you for this plugin; it is exactly what I've been looking for!

Hmm, yeah, that seems to be a stumbling block for folks. The readme does call it out, but it's a bit long winded, towards the bottom, and easy to skim past.
I'll update the readme to be clearer about it, and see if I can't add some validation in the plugin itself to make the error message much clearer about what the user needs to do.
I'm glad this is working well for you otherwise!

I don't really know how the internals work, but maybe it's also a possibility to skip become if the current user is root already?
(This was why I didn't use become in the first place; I thought it wouldn't be necessary if I'm root already).

Oh, I see, I missed that detail! I'll see if we can't check for that specific case too.
Thanks for catching this!

Hmm... so it appears there's more going on here than meets the eye, due to the interaction between delegate_to, connection plugins, and where the playbook is being run from.
@KizzyCode could you share some more details to help me figure this out? Specifically:

are you running this playbook directly on the jailhost? or remotely?
what does your inventory look like for the jailhost and jail hosts? what ansible_* vars are defined for them?
what was the command you used to run this playbook?
did you get your playbooks working? if so, what specifically did you change from the example you shared here?

Of course, feel free to redact any sensitive information. I just need to understand what your setup is, because this seems to be much more complicated than we originally thought. If you don't have time, I understand, no worries.


[BUG] mobile

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
hi its codebanna69, some of my code is used in this project, i was wondering why mobile searches are disabled, as it is already written in the code. is this a bug or a feature.
Copy and paste your error

Screenshots

Value of dashboard variable

Im not sure what you are referring to - if you would like to chat directly you can reach me on Telegram or provide me a bit more info.

when I run the program, it doesnt run the mobile searches code, only desktop searches and daily set are completed

I would suggest you make sure you have a fresh copy of all files and if so clear your sessions folder and try again in verbose mode.

forgot to mention on MacOS sonoma

that sounds ai generated, stilll not working after following your feedback

?


⚠ Adacta-fintech.com has degraded performance

In a6d920b, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1658 ms

Resolved: Adacta-fintech.com performance has improved in 757fc65.


Expose Irmin_unix.Git.S_MAKER and Irmin_unix.Git.KV_MAKER

Currently only Irmin_unix.Git.S is available, however Irmin_unix.Git.S_MAKER and Irmin_unix.Git.KV_MAKER should be exposed as well.
Should we also add Irmin_mirage.Git.S_MAKER and Irmin_mirage.Git.KV_MAKER?

I'm for making Irmin_mirage consistent with the others. In #593 I've also exposed REF_MAKER types in Irmin_unix and Irmin_mirage to be consistent with Irmin_git.


Updated/improved gather-browser-info implementation.

Current WebClientInfo and related classes to gather browser info are bit difficult to extend/customize.
The changes in this PR will allow to extend this implementation and customize to use client side browser feature detection JavaScript libraries and pass it on to server.
Initial discussion can be found at http://apache-wicket.1842946.n4.nabble.com/Regarding-Browser-Client-info-implementation-td4673024.html

@iamrakesh  Please close this PR. We don't have permissions to close it ourselves. Thanks!
A solution has been provided with Wicket 6.26.0/7.6.0.


Update User Information in Activity Log

Summary
Describe the bug - a clear and concise description of what the bug is.
Background
Update audit log user information - should include full name when available.
Screenshots
See video/meeting link below at the specified time.
Environment
Please complete the following information:

Environment:

[x] ALL
[ ] DEV
[ ] STAGING
[ ] PROD

Browser:

[x] ALL
[ ] Chrome/Brave
[ ] Firefox
[ ] Edge
[ ] Lynx

Version: v1.0.XX

Additional Context
Add any other context about the problem here.
Assumptions
If you are assuming certain facts or scenarios, list them so we have a baseline to understand your request.

Assumption 1
Assumption 2

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
Meeting video/audio: copy the link below to share this recording with viewers:
https://zoom.us/rec/share/U7eGoOmvKlsN0MbSuumuFDPRA089ESL-InAH_OX18sI7hM4puDeCGkNXfBEt2BP3.LaKwvh4bw6vuD0mW
My Gerrit Video: https://cla-project-logo-prod.s3.amazonaws.com/20210316+Gerrit+Workflow+Video.mov
for the Gerrit discussion, start at around 00:31:38 time

00:36:02 - think the double audit log entry is resolved by Harold, but need to update the content to replace The user ddea… with The user David Deal…

Verified and found working fine on Staging environment. Please refer attached activity log for reference.

This is deployed to PROD on 19-Mar.


DROOLS-899: KIE-CI sends MavenRequest without considering the repositories defined in user settings file

I moved resolution of additional repositories from MavenRepository to a new class MavenRepositoryUtils that is then used by MavenEmebedder. I could not reference MavenRepository from MavenEmbedder as the former instantiates a MavenEmbedder when constructing Aether and a circular loop develops. MavenRepository makes use of the MavenRepositoryUtils class but also appends repositories defined in the Aether class.
I really need to test this with the clr.mortgages example and execution server before this is merged... but that'll require either temporaribly backporting to 6.2.x or running Execution Server in 6.3.x.... that'll teach me to bail out of Edson's presentation last week :(

I also need to write a test for this before it's merged...

Test written and merged into this PR.

@psiroky The line was not used in the context of the test using the file; but I've removed it none the less to avoid future confusion.

Merged by https://github.com/droolsjbpm/drools/commit/8e3e0c9ab


Echarts doesn't show legend colors on Firefox

Echarts doesn't show legend colors on Firefox Quantum 57.0.1.
Example:
https://ecomfe.github.io/echarts-examples/public/editor.html?c=bar-negative
Echarts 3.8.5
Firefox Quantum 57.0.1
Any ideas?
Thanks in advance!

Can't repeat the issue on my firefox quantum. Any more details will be helpful to us.


Feature cahce print

Caching string result of node and make it can be reused. It's help for invoking ast.Node.Sring() multi times. For example. It's will help for run faster below code:
https://github.com/expr-lang/expr/blob/7772ea0fee5c9b153439a0ad5ee2e2b1a764f453/compiler/compiler.go#L206

Without benchmarks I don’t it is faster.

Without benchmarks I don’t it is faster.

Yeah, I design a cmpare benchmark in compiler/compiler_test.go
func BenchmarkCompileWithProfile(b *testing.B) {
	withProfile := func() expr.Option {
		return func(c *conf.Config) {
			c.Profile = true
		}
	}

	code := `let m = {"a": {"b": {"c": 1}}}; let n = {"x": {"y": 2}}; m?.a?.b?.c + n?.x?.y + testFunc(n?.x?.y, m?.a?.b?.c)`
	ast.EnableCache = true
	b.Run("enable print cache", func(b *testing.B) {
		for i := 0; i < b.N; i++ {
			_, _ = expr.Compile(code,
				withProfile(),
				expr.Function("testFunc", func(...interface{}) (interface{}, error) {
					return nil, nil
				}),
			)
		}
	})

	ast.EnableCache = false
	b.Run("disable print cache", func(b *testing.B) {
		for i := 0; i < b.N; i++ {
			_, _ = expr.Compile(code,
				withProfile(),
				expr.Function("testFunc", func(...interface{}) (interface{}, error) {
					return nil, nil
				}),
			)
		}
	})
}

the result is:
➜ go test -benchmem -run=^$ -bench ^BenchmarkCompileWithProfile$ github.com/expr-lang/expr/compiler
goos: windows
goarch: amd64
pkg: github.com/expr-lang/expr/compiler
cpu: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
BenchmarkCompileWithProfile/enable_print_cache-8                   14270
    89060 ns/op    52581 B/op        427 allocs/op
BenchmarkCompileWithProfile/disable_print_cache-8                  10460
   110456 ns/op    57283 B/op        745 allocs/op
PASS
ok      github.com/expr-lang/expr/compiler      4.418s

Caching print string is aimed to avoid invoking (*ast.Node).String() duplicatly.
For example: there is sample code func1() + func2(), you walking though the ast of the code. you may first visit the ast node of func1() and you invoke String() of func1(), and then invoke String() of func2(). However, when you invoke String() of func1() + func2(), you also secondly invoke String() of func1() and String() of func2().

Those benchmarks are meaningless. AST printing is not involved in Compile.

If  you enable profile, AST printing is involved in Compile. according to below code:
https://github.com/expr-lang/expr/blob/7772ea0fee5c9b153439a0ad5ee2e2b1a764f453/compiler/compiler.go#L204-L207.
may be you forget Profile field in struct conf.Config, in below code:
https://github.com/expr-lang/expr/blob/7772ea0fee5c9b153439a0ad5ee2e2b1a764f453/conf/config.go#L22-L24
I don't find any Option for this field in master branch code. Therefore, I add below code for test.
https://github.com/zhuliquan/expr/blob/3830330b4a3de9bdb1ab2e3417c38b12aaa5753d/compiler/compiler_test.go#L595-L600

True. With profile enabled compile is slower.  As the execution. No need to optimise string for general case.

True. With profile enabled compile is slower. As the execution. No need to optimise string for general case.

I'm not sure, may be not need to optimise compile. general speaking, In no cache cases, the time complexity is:  $$\sum_1^{log(n)} k * 2 ^ {(k-1)} = O(n * log(n))$$
if add cache is:
$$O(n)$$
here, n is number of ast.Node.
according time complexity,  it's same not need to optimise it,

True. With profile enabled compile is slower. As the execution. No need to optimise string for general case.

However, without cache, it's mean that more memory allocate,( because more fmt.Sprintf invoke) and more gc.

However, without cache, it's mean that more memory allocate,( because more fmt.Sprintf invoke) and more gc.

This is only true if Profile option is on.


Version 3.0

Mr Mr you found the time to look into this! Awesome! Thanks!
Most importantly also let me know how intuitive you found the tool and documentation and if we need to improve something in this aspect. :wink:


Add basic support for console redirection

This is done to allow running the tool in the background non-interactively to collect logs with something like nohup dotnet-gcmon -n some-name > some-name-gc.log &, or, even better nohup dotnet-gcmon -n some-name | systemd-cat -t dotnet-gcmon &.

Hey @Maoni0, could you please take a look at this? This is really useful for background non-interactive monitoring.

sorry! I was oof and totally missed this PR. looks good! I'll merge. thanks very much!


Minor README update to ensure reliability

It was observed on a Debian 12 system that the default umask did not ensure the directory was listable by non-root users. This does not impact functionality because the scripts execute as root, but negatively impacts the user experience.

I am going to close this in favor of setting the mode in the script that creates the directory.


Writing with large arrow types (e.g. large_utf8), writes wrong partition encoding

Environment
Delta-rs version:
0.11.0
0.10.2
0.10.1
Binding:
python
Environment:

Cloud provider: Azure
OS: WSL/Ubuntu
Other:

Bug
What happened:
When you write arrow table with large_utf8 the written partition encoding is incorrect.

What you expected to happen:
Write the correct string encoding just like it does with small utf8 type.

How to reproduce it:
import polars as pl
import pyarrow as pa
from deltalake import write_deltalake
from polars.io.delta import _convert_pa_schema_to_delta

df = pl.DataFrame({
    "foo": ["A","B","C"],
    "bar": ["1","2","3"]
})
arrow_data = df.to_arrow()

small_schema = _convert_pa_schema_to_delta(arrow_data.schema)
arrow_data_small = arrow_data.cast(small_schema)

write_deltalake('TEMP_large_utf8', arrow_data, partition_by=['foo'])
write_deltalake('TEMP_utf8', arrow_data_small, partition_by=['foo'])

More details:

@roeap Do you perhaps know the root cause of this particular issue, since you've recently worked on this?

@ion-elgreco what version of PyArrow are you using here?

@wjones127 PyArrow v11.0.0

Ah I see in pyarrow v12.0.0 it's working.. this is going to be a fun discussion with our platform team.

Yeah this is due to a bug that was fixed upstream: https://github.com/apache/arrow/pull/34549

@ion-elgreco there might actually be a patch we can make to work around this for older versions of PyArrow: https://github.com/apache/arrow/issues/34546#issuecomment-1466587443

@ion-elgreco there might actually be a patch we can make to work around this for older versions of PyArrow: apache/arrow#34546 (comment)

That would be really helpful because some internal libraries that are used to access our datalake our locked to pyarrow 11 since the dependencies are on some AzureML packages that are limited to pyarrow 11.


Failed to activate the autocomplete-plus-jedi package

Steps to reproduce:

Install atom v.0.190.0
Install autocomplete-plus and autocomplete-plus-jedi packages
Run atom in 1.0 API preview mode: atom -1

Atom Version: 0.190.0
System: linux 3.19.3-200.fc21.x86_64
Thrown From: autocomplete-plus-jedi package, v0.0.9
Stack Trace
Failed to activate the autocomplete-plus-jedi package
At undefined is not a function

TypeError: undefined is not a function
  at Object.module.exports.activate (/home/fabio/.atom/packages/autocomplete-plus-jedi/lib/autocomplete-jedi.coffee:10:34)
  at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app/src/package.js:225:19)
  at /usr/share/atom/resources/app/src/package.js:206:30
  at Package.module.exports.Package.measure (/usr/share/atom/resources/app/src/package.js:152:15)
  at Package.module.exports.Package.activate (/usr/share/atom/resources/app/src/package.js:199:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app/src/package-manager.js:435:21)
  at /usr/share/atom/resources/app/src/package-manager.js:419:29
  at Config.module.exports.Config.transact (/usr/share/atom/resources/app/src/config.js:302:16)
  at PackageManager.module.exports.PackageManager.activatePackages (/usr/share/atom/resources/app/src/package-manager.js:414:19)
  at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app/src/package-manager.js:395:46)
  at Atom.module.exports.Atom.startEditorWindow (/usr/share/atom/resources/app/src/atom.js:634:21)
  at Object.<anonymous> (/usr/share/atom/resources/app/src/window-bootstrap.js:12:8)
  at Object.<anonymous> (/usr/share/atom/resources/app/src/window-bootstrap.js:23:4)
  at Module._compile (module.js:452:26)
  at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:162:21)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at window.onload (file:///usr/share/atom/resources/app/static/index.js:54:25)

Commands

Config
{
  "core": {}
}

Installed Packages
# User
autocomplete-bibtex, v0.5.6
autocomplete-css, v0.6.0
autocomplete-glsl, v0.2.0
autocomplete-haskell, v0.2.1
autocomplete-html, v0.5.0
autocomplete-paths, v1.0.2
autocomplete-plus, v2.9.0
autocomplete-plus-jedi, v0.0.9
bezier-curve-editor, v0.6.6
color-picker, v1.6.0
fancy-new-file, v0.7.0
format-sql, v0.2.0
git-blame, v0.4.0
git-history, v2.5.0
git-log, v0.3.0
highlight-line, v0.10.1
linter, v0.12.0
linter-clang, v2.25.1
linter-javac, v0.1.3
linter-js-yaml, v1.0.0
linter-python-pep8, v0.2.0
minimap, v4.7.6
minimap-git-diff, v4.1.2
ogg-preview, v0.2.0
pdf-view, v0.17.0
project-manager, v1.15.5
quick-move-file, v0.7.0
scroll-sync, v0.1.1
svg-preview, v0.5.1
task-list, v0.7.0

# Dev
No dev packages

Thanks for the report. I'm currently traveling and don't have much time the next 3 days but I'll try to get to it.

as discussed here we try to consolidate all jedi providers - therefore this repo will be closed. https://github.com/tinloaf/autocomplete-plus-python-jedi/issues/16


not able to use my microphone

so I just started playing with the raspberry pi with having no history in python our coding, and I'm running into the problem for my .asoundrc file not being read. an after searching on the webs for 2 hours and try to follow googles troubleshooting and multiple other installation guides, I'm still getting the problem of my .asoundrc not working, I'm sure its an easy fix but when even I do the command "vi.asoundrc"
this is the error I'm getting
E325: ATTENTION
Found a swap file by the name "~/.asoundrc.swap"
owned by: pi   dated: Thu Oct 26 22:14:30 2017
file name: ~pi/.asoundrc
modified: YES
user name: pi   host name: raspberry pi
process ID: 2722
While opening file "/home/pi/.asoundrc"
is there anything I'm doing wrong?

Looks like there's some behavior involving temporary files. You may want to take a look at what files exist in your home directory: ls ~/ -a | grep asoundrc and potentially remove them.

Are you still seeing this issue? If so, we can re-open the issue.


Move the Worker Rewriter into Babel-Plugin

Depends upon DatenMetzgerX/parallel.es#67

Coverage decreased (-0.2%) to 98.193% when pulling c6230fe1039ab4ed50534a52dbfa1653e6c90a4a on integrate-worker-rewriter into 1395f5fbd5e0e39103627faf33ede0debbfe7cd2 on master.


[GLUTEN-6887][VL] Daily Update Velox Version (2024_11_15)

Upstream Velox's New Commits:
9ebe36609 by zuyu, Fix OutputBuffer comments regarding bufferedBytes_ (11423)
935d30ee1 by zhli1142015, Combine low selectivity vectors generated by the hash join filter (10987)
5ac572b47 by rui-mo, Fix Spark expression fuzzer test on deny_precision_loss functions (11526)
fe87f0b75 by hengjiang.ly, Add a faster string-search method with simd instructions than std::find (10858)
5b274e3cf by NEUpanning, Allow partial date parsing when simple datetime formatter is used (11386)
c069192e9 by Jimmy Lu, Buckify breeze (11512)
f37dc004e by Xiaoxuan Meng, Allow single thread execution mode for local partition to support spark union for gluten (11531)
837480242 by Christian Zentgraf, Add Clang Linux build to CI pipeline (10767)
427ac31e6 by Yenda Li, Add support for TTL in directories (11498)

API change on FileSystem
https://github.com/facebookincubator/velox/pull/11498


az webapp restart and stop fails with endless install prompt

This is autogenerated. Please review and update as needed.
Describe the bug
Running az webapp restart and stop commands from windows, results in endless prompt to install webapp, and never finishes
Command Name
az webapp
Errors:
The command requires the extension webapp. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): y
Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.
The command requires the extension webapp. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): Y
Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.
The command requires the extension webapp. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): Y
Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.

To Reproduce:
Run az webapp --name mywebapp restart
Expected Behavior
Should install and continue
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.19.1

Extensions:
webapp 0.3.1

Additional Context

webapp

@Jason1269 I see you have webapp extension installed, can you uninstall the extension & re-try.
az extension remove --name webbapp

I have the same issue, uninstalling did not help

@Jason1269 did you re-try by uninstalling the webapp extension.

I tried to run az webapp --resource-group <> --name <> --query possibleOutboundIpAddresses from both a local cli and on the Azure cloud cli and went into a loop of "this requires webapp extension do you want to install?" -> webapp is already installed, checking for update -> no update -> back to do you want to install.
Running remove said that webapp wasn't installed

I tried to run az webapp --resource-group <> --name <> --query possibleOutboundIpAddresses from both a local cli and on the Azure cloud cli and went into a loop of "this requires webapp extension do you want to install?" -> webapp is already installed, checking for update -> no update -> back to do you want to install.
Running remove said that webapp wasn't installed (from the main GitHub Issue Extensions:
webapp 0.3.1)

need to uninstall webapp extension  use command https://docs.microsoft.com/en-us/cli/azure/extension?view=azure-cli-latest#az_extension_remove

I ran az extension remove --name webbapp as I mentioned

@Eonasdan - the command syntax you use to restart or stop the webapp is incorrect. it should be as follows.

az webapp restart --name MyWebapp --resource-group MyResourceGroup
az webapp stop --name MyWebapp --resource-group MyResourceGroup

you are receiving an inappropriate prompts due to the incorrect syntax. For more details please refer WebApp Documentation

Similar issue of recurrent prompt to install webapp:
H:\>az webapp --name appname --resource-group test_rg
The command requires the extension webapp. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): y
Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.
The command requires the extension webapp. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): Y
Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.
The command requires the extension webapp. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): n
The command requires the latest version of extension webapp. To install, run 'az extension add --upgrade -n webapp'.

I'm having the same "update loop issue" while running az webapp list --resource-group "my-rg".
I've already tried re-installing the webapp extension and updating az cli (from version 2.20.0 to 2.22.0).
I've also tried from different versions of PowerShell.
This is the loop:
PS C:\Users\IanScaltritti> az webapp -g "my-rg"
The command requires the extension webapp. It will be installed first.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.
The command requires the extension webapp. It will be installed first.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
No updates available for 'webapp'. Use --debug for more information.
The command requires the extension webapp. It will be installed first.
Extension 'webapp' 0.3.1 is already installed.
It will be updated if available.
[...]

This is --debug :
PS C:\Users\IanScaltritti> az webapp -g "my-rg" --debug
cli.knack.cli: Command arguments: ['webapp', '-g', 'my-rg', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x036D5E88>, <function OutputProducer.on_global_arguments at 0x038713D8>, <function CLIQuery.on_global_arguments at 0x0388B300>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'webapp': ['azure.cli.command_modules.appservice', 'azext_webapp']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: appservice                0.315        62       220
cli.azure.cli.core: Total (1)                 0.315        62       220
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: webapp                    0.003         4         8  C:\Users\IanScaltritti\.azure\cliextensions\webapp
cli.azure.cli.core: Total (1)                 0.003         4         8
cli.azure.cli.core: Loaded 65 groups, 227 commands.
cli.azure.cli.core: Found a match in the command group table for 'webapp'.
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03B65D68>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\IanScaltritti\.azure\commands\2021-04-16.10-30-42.webapp.9868.log'.
az_command_data_logger: command args: webapp -g {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03BB16A8>, <function register_global_query_examples_argument.<locals>.register_query_examples at 0x03BB1DF8>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x03BB1E40>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x03BB1ED0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.azure.cli.core.parser: The command requires the extension webapp. It will be installed first.
cli.azure.cli.core.extension.operations: Extension 'webapp' 0.3.1 is already installed.
cli.azure.cli.core.extension.operations: It will be updated if available.
urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
urllib3.connectionpool: https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 0
urllib3.connectionpool: Starting new HTTPS connection (1): azcliextensionsync.blob.core.windows.net:443
urllib3.connectionpool: https://azcliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 884351
cli.azure.cli.core.extension._resolve: Candidates ['webapp-0.2.24-py2.py3-none-any.whl', 'webapp-0.3.1-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['webapp-0.2.24-py2.py3-none-any.whl', 'webapp-0.3.1-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['webapp-0.2.24-py2.py3-none-any.whl', 'webapp-0.3.1-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Skipping 'webapp-0.2.24-py2.py3-none-any.whl' as 0.2.24 not greater than current version 0.3.1
cli.azure.cli.core.extension._resolve: Skipping 'webapp-0.3.1-py2.py3-none-any.whl' as 0.3.1 not greater than current version 0.3.1
cli.azure.cli.core.extension.operations: No suitable extensions found.
cli.azure.cli.core.extension.operations: No updates available for 'webapp'. Use --debug for more information.
cli.knack.cli: Command arguments: ['webapp', '-g', 'my-rg', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x03A05E88>, <function OutputProducer.on_global_arguments at 0x03BA13D8>, <function CLIQuery.on_global_arguments at 0x03BBB300>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'webapp': ['azure.cli.command_modules.appservice', 'azext_webapp']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: appservice                0.301        62       220
cli.azure.cli.core: Total (1)                 0.301        62       220
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: webapp                    0.004         4         8  C:\Users\IanScaltritti\.azure\cliextensions\webapp
cli.azure.cli.core: Total (1)                 0.004         4         8
cli.azure.cli.core: Loaded 65 groups, 227 commands.
cli.azure.cli.core: Found a match in the command group table for 'webapp'.
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03E95D68>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\IanScaltritti\.azure\commands\2021-04-16.10-30-46.webapp.30576.log'.
az_command_data_logger: command args: webapp -g {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03EE16A8>, <function register_global_query_examples_argument.<locals>.register_query_examples at 0x03EE1DF8>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x03EE1E40>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x03EE1ED0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.azure.cli.core.parser: The command requires the extension webapp. It will be installed first.
cli.azure.cli.core.extension.operations: Extension 'webapp' 0.3.1 is already installed.
cli.azure.cli.core.extension.operations: It will be updated if available.
[...]

@Jason1269 issue is resolved post you try by uninstalling  webapp extension. It should be resolved if you try by uninstall the extension & re-try.
az extension remove --name webbapp

closing due to lack of response. Please file a new issue if this is still a problem.


Allow linking to other tours

We're going down the route of using an ID and making the link in the GUI, not in text.

Support for linking a specific tour stop is still WIP. We had discussed using a stop index, but I now think an ID is the way to go. It's more robust at basically no cost.


SNI (IDFGH-5321)

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Please give as many details as you can. Include suggestions for useful APIs or interfaces if relevant.
Additional context
Add any other context or screenshots about the feature request here.

@Anouer-Kebir Thanks for raising this feature request, would you please help share more details as described in the template? Thanks.

Thanks for reporting, will close due to short of details, feel free to reopen with more details, thanks.


Fixed weather card overflow

The weather card in home screen and city wise weather info was overflowing by 1 pixel and 6 pixels respectively. Making both of them 136 solves the issue.
This PR contains fix for the same

Thanks!


Add AskingMessage class to mark messages that expect response

It would be handy to be able to detect IOMessages that expect response from the user. one possible way would be for all of them to inherit from AskingMessage marker class.

merged into other branch


[api-grid] Make row height consistent

Is there a way to set the row height to a size to make it consistent?  Otherwise, the scroller doesn't work.
For example, in this, rather than setting the column height in each row, we want to fix it regardless of if it's a test field, list, images, etc.

@tacman Yes we can do it. We already did in the below page.
https://mus.wip/en/pixie/pixie/meili/walters/obj?table=obj
I can be done by adding below css to the div with specific class too.
text-overflow: ellipsis;
You may share the page url so i can fixed.


BOM state to use M6, but hole are sized for M5.

Hole on BK/BF12 are 5.8mm (M5 "loose fit"), but the BOM recommand to use M6x30.
We sould either update the BOM to M5 or modifity the part to have a 6.6~6.8mm hole.
I will use M5x35mm on mine.

Talked a little on Discord and I need to add those comments.

This was by design... Hoges wanted let the M6 thread into the plastic to make sur it's a tight fit so it dosent introduce backlash.

M5 are actually loose, since 5.8 it's "loose fit", "tight fit" would be 5.3.. or 5.5 for "normal" fit.
Hole should be around 6.4 for M6 "tight fit".
If you thread the M6 into the plastic, it won't "pull" the part, so it might not touch the tubing correctly.
I feel like you need a "loose fit" so you can align thing correctly, but that could introcude backlash... so maybe we should just add a layer of double side tape on the tubing, so when it's all tighted down, it will stick there and won't be able to move?
I will try with M5 first, since I do have them and I can upgrade to M6 later if needed.

We will Redesign the part for V1.1

Pretty sure this is actually working as designed with M6? Has anyone commenting here actually built this section of the machine?
When you first screw in the M6 screws they tap a thread into that part, and then they're very tight fitting. There is some play to correctly align the mount block, but when screwed down tightly it's very solid.


Invalid foreground color of the Keybase system tray icon on Ubuntu 17.04 with a non-default light GTK theme

I'm running Ubuntu 17.04 with the light Radiance GTK theme instead of the default dark Ambiance GTK theme. I set themes using the Unity Tweak Tool.
The problem is that the Keybase tray icon doesn't adjust its foreground color to its background. Here's a screenshot:

It's a problem too on Mate desktop with the Traditional* or BlueMenta default themes.

+1 Mate

Im running into this on KDE Plasma as well with the Breeze and Breeze Light themes.


feat: Add option to offset markers

This implements the offset option, which allows a marker to be offset from its point.

Thank you!

Published as 0.4.2


[Bug]: Resources gets stuck creating forever with 1.8.0

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)

cloudplatform.gcp.upbound.io/v1beta1 - Project, ProjectService, seemingly all resources

Resource MRs required to reproduce the bug
No response
Steps to Reproduce

Install Crossplane 1.16.0 and version 1.8.0 of the gcp provider
Try to create a CloudPlatform ProjectService or other resource

What happened?
After upgrading from 1.7.0, to 1.8.0, sometimes new resources no longer gets created, they get stuck in an infinite loop of "Successfully requested creation of external resource" and "Waiting for external resource existence to be confirmed"
After downgrading the provider to 1.7.0, everything functions again.
Relevant Error Output Snippet
No response
Crossplane Version
1.16.0
Provider Version
1.8.0
Kubernetes Version
1.29
Kubernetes Distribution
GKE
Additional Info
No response

Thank you for the issue report @DMarby
I can reproduce the issue using the ProjectIAMMember resource. We also observed similar issues when adding new resources in provider-upjet-azure (PRs: 805, 810). It gets stuck at creating: false without any errors: https://crossplane.slack.com/archives/C05E4LDNNG5/p1725459419760769

I looked at the changes between v1.7.0 and v1.8.0 to find the cause of the issue(s). It seems that two changes caused this issue(s).

This change is the main reason why the ProjectIAMMember resource and probably other resources are not being created. When I revert this change, the resource is created successfully.

What makes things even more complicated here is that we hid the error messages with the change we made in Upjet. This change we made to upjet broke our ability to observe error messages (PRs in the provider-upjet-azure I mentioned above, get stuck at creating while adding new resources. These probably have incomplete configurations in the resources they are trying to add and get stuck creating and we can't see the error message). When I revert the change, I get the following error for the ProjectIAMMember resource:

  - lastTransitionTime: "2024-09-06T16:33:28Z"
    message: 'create failed: async create failed: failed to create the resource: [{0
      Parent context of request iam-project-official-provider-testing modifyIamPolicy
      canceled  []}]'
    reason: ReconcileError
    status: "False"
    type: Synced
  - lastTransitionTime: "2024-09-06T16:33:28Z"
    message: 'async create failed: failed to create the resource: [{0 Parent context
      of request iam-project-official-provider-testing modifyIamPolicy canceled  []}]'
    reason: AsyncCreateFailure
    status: "False"
    type: LastAsyncOperation

When I revert the change made in internal/clients/gcp.go, the error goes away.

Hi All - I believe this issue is closely related, maybe duplicate.
Thanks for looking at this, although I have a different understanding regarding:

These probably have incomplete configurations in the resources they are trying to add and get stuck creating and we can't see the error message
I am not sure if this is the reason since the resources get created successfully using our own subs with the same examples, running make e2e and also with make run locally.
Same case for pr810 and pr805

I am not sure if this is the reason since the resources get created successfully using our own subs with the same examples, running make e2e and also with make run locally.

I think that such situations are caused by insufficient quota due to subscription. Instead of getting an error such as insufficient quota, it gets stuck at creating.

If that is the case, that should be pretty straight forward to troubleshoot by just monitoring the resource group activity while the pipeline job is running - I would be happy to assist but have no access to the azure sub.


Multiple let statements not parsing properly

julia> c = Scalar(0)
Scalar{0, Int64}(0)

julia> @finch_program let a=1, b=2; c[] += a + b end
for a = 1, b = 2
  Scalar{0, Int64}(0)[] <<+>>= +(a, b)
end

Outputted code should have let in place of for.

fixed in https://github.com/willow-ahrens/Finch.jl/pull/386


Configuration

Add some configuration options.

Allow configuring tooltip visibility based on token ownership/disposition (Fixes #8)
Allow showing all available tooltips on holding <Alt> key

The second change is a little more invasive, since it requires moving away from the single global container to individual elements for each tooltip. If you want me to split the changes into separate PRs, that's doable, but there will be some merge conflicts if it's done that way, which is why I bundled them both.

Showing all tooltips at once is not something I am willing to include at this time. This functionality would provide no benefit to me, and I do not believe it would be beneficial to most users, and it has a not-insignificant performance and maintenance overhead. If you want this capability, you will need to create your own module (you are welcome to use this module as a starting point, of course).
Your changes for configuring tooltip visibility are mostly ok... however, I already have plans for adding this support which includes some code re-organization which conflicts with what you've done. Because of this, the time it would take for me to fully review those changes, you to make the changes and separate it from the show all tooltips work, and for me to re-review it and merge it would basically be wasted effort since I would be re-writing most, if not all, of that before I cut another release.
For future reference, if I have an issue assigned to myself, it means I've already at least put thought into what I plan on doing, if not already started writing code, so you should contact me prior to starting work on fixing those issues to avoid double-work.

I was trying to avoid releasing Yet Another Tooltip Module.
The use-case for showing all tooltips is to be able to e.g. view all passive perception scores quickly as a GM, and it's behind a config flag for a reason - user choice is not a bad thing here. A number of the other tooltip modules provide for this.
I'd agree that the code structure of this module is not optimal, so if you're planning to refactor it, that's probably a good thing. However, if you just want to see the change for tooltip visibility, simply look at the first commit in this series.
I guess I'll put my efforts elsewhere.

When I want to quickly check passive perception scores, I don't want to fill my screen up with lots of other unrelated details as well. That would make it harder for me to check passive perceptions since I'd now have a screen full of irrelevant numbers (some covered up by other tooltips).
User choice isn't a bad thing, as long as adding that choice doesn't bring with it added work that would be better spent on other things. If this change were relatively small, isolated, and had a low risk of breaking and/or interfering with my other future work for this module, I'd consider including it despite having no desire to use it... but it is none of those things.
A better solution for a module to improve passive perception checks would be either...

Something to press or hover over that showed ONLY passive perception on top of each visible token
Something to hover/click next to stealth rolls to either highlight or give a list of tokens (on the scene, that are currently visible, or that are within a certain range of the token that rolled) with a passive perception higher than the roll
Something to press that listed/highlighted all tokens with a passive perception above or below an arbitrary value

Either (or all) of those could be great parts of a "Passive Skill Check" module (combined with similar features for other passive skills), but not what I would expect or want from a tooltip module, so I'm not willing to put the time and effort into maintaining support for those kinds of features it in this module.


[FEAT] Aggregate dkg / eggnet statistics using SubQuery

User Story

As a user, I want to be able to view the live network, and distributed key generation protocol status running on the Egg network so that I can gain an overall view of the network, and access the required information to help me understand the status of the DKG.

Feature Details

Figure 1.0- User selects DKG Statistics tab.
User selects the Eggnet Statistics tab in the dApp, the display populates with relevant statistics for both the distributed key generation protocol and general network/chain data. The initial statistics to be captured include:
Stats Captured

Keygen participation (Authorities)
Sign attempts
Number of participants (Number of collators/validators)
Number of proposers
Number of Proposal Types and status (signed vs. unsigned)
Current active key
Keygen threshold
Block number
Signature threshold
Proposer threshold

Implementation Details

Figure 1.1 - Illustrates data being fetched from SubQuery GraphQL server
With the use of Subquery as a backend, we will be able to utilize a GraphQL schema to define and then fetch the desirable data mentioned below.

Metric
RPC / chain state call
Desc

Keygen threshold
api.query.dkg.keygenThreshold();
Returns the current keygen threshold

Next Keygen threshold
api.query.dkg.nextKeygenThreshold();
Returns the next keygen threshold

Signature threshold
api.query.dkg.signatureThreshold();
Returns the current signature threshold

Next Signature threshold
api.query.dkg.nextSignatureThreshold();
Returns the next signature threshold

Proposer threshold
api.query.dkgProposals.proposerThreshold()
Returns the current proposer threshold

Current Authorities
api.query.dkg.authorities
Returns the current authority set

Next Authorities
api.query.dkg.nextAuthorities()
Returns the next authority set

Block number
api.query.system.number();
Returns the current block number

Active key
api.query.dkg.dkgPublicKey()
Returns the active dkg public key

Number of participants
api.query.dkg.authorities()
Returns the current authority set

Number of proposers
api.query.dkgProposals.proposerCount()
Returns the number of proposers

Time until next rotation

Number of signed proposals by type
api.query.dkgProposalHandler.signedProposals()
Returns a collection of signed proposals

Number of unsigned proposals in queue by type
api.query.dkgProposalHandler.unsignedProposalQueue()
Returns a collection of unsigned proposals in queue

SubQuery Implementation
The above API calls will be utilized within our SubQuery mappings file. There are three main files that need to be created:

Manifest File: The Manifest project.yamlfile can be seen as an entry point of your project and it defines most of the details on how SubQuery will index and transform the chain data.
GraphQL Schema:  The schema.graphqlfile defines the various GraphQL schemas
Mappings File: Mapping functions define how chain data is transformed into the optimized GraphQL entities that we have previously defined in the schema.graphql file.

Example Files

Manifest example
  specVersion: 1.0.0
  name: eggnet-statistics
  version: 0.0.1
  runner:
    node:
      name: '@webb/stats'
      version: '*'
    query:
      name: '@webb/stats'
      version: '*'
  description: 'Used for statistics data fetching and storing'
  repository: https://github.com/webb-tools/egg-net
  schema:
    file: ./schema.graphql
  network:
    chainId: 'TBD'
    endpoint: wss://TBD
    # Optionally provide the HTTP endpoint of a full chain dictionary to speed up processing
    dictionary: TBD
  dataSources:
    - kind: substrate/Runtime
      startBlock: 1
      mapping:
        file: ./dist/index.js
        handlers:
          - handler: handleEvent
            kind: substrate/EventHandler
            filter:
              module: dkg
              method: DkgPublicKey
          - handler: handleBlock
  	      kind: substrate/BlockHandler

GraphQL schema example
  type Thresholds @entity {
    id: ID! # id field is always required and must look like this
    proposer: Int!
    keygen: Int!
    signature: Int!
  }

  type Block @entity {
    id: ID!

    number: BigInt
    timestamp: Date
    parentHash: String
    specVersion: String
    stateRoot: String
    extrinsicRoot: String

    extrinsics: [Extrinsic] @derivedFrom(field: "block")
    events: [Event] @derivedFrom(field: "block")
  }

  type Extrinsic @entity {
    id: ID!

    method: String
    section: String
    signer: Account
    nonce: BigInt
    timestamp: Date
    signature: String
    tip: String
    isSigned: Boolean
    isSuccess: Boolean

    block: Block
    events: [Event] @derivedFrom(field: "extrinsic")
    calls: [Call] @derivedFrom(field: "extrinsic")
  }

  type Call @entity {
    id: ID!

    section: String
    method: String
    timestamp: Date
    isSuccess: Boolean

    signer: Account
    extrinsic: Extrinsic
    parentCall: Call

    calls: [Call] @derivedFrom(field: "parentCall")
  }

  type Event @entity {
    id: ID!

    index: Int
    section: String
    method: String

    timestamp: Date
    blockNumber: BigInt
    block: Block
    extrinsic: Extrinsic
  }

Relevant Resources

SubQuery documentation
SubQuery explorer
SubQuery documentation
api.query. Subquery docs
SubQuery dictionary docs
Acala Subquery implementation

Checklist

[x]  Define all required data points and desirable statistics
[x]  Determine data point availability (e.g. Event, Storage, Block, Call)
[x]  Define manifest file pointing to an archive Eggnet node
[x]  Define required GraphQL entities and value types in the schema
[ ]  Describe and define handler / mappings files required
[ ]  Create a full chain dictionary for optimized indexing
[x]  Run the SubQuery locally to ensure it works
[ ]  Integrate GraphQL queries into dApp for data fetching
[ ]  Publish and connect to SubQuery project

Data Captured Checklist

[ ] PublicKeySubmitted
[ ] NextPublicKeySubmitted
[ ] NextPublicKeySignatureSubmitted
[ ] PublicKeyChanged
[ ] PublicKeySignatureChanged
[ ] MisbehaviourReportsSubmitted
[ ] RefreshKeysFinished
[ ] SignatureThreshold
[ ] KeygenThreshold
[ ] ProposerThresholdChanged
[ ] ChainWhitelisted
[ ] ProposerAdded
[ ] ProposerRemoved
[ ] VoteFor
[ ] VoteAgainst
[ ] ProposalApproved
[ ] ProposalRejected
[ ] ProposalSucceeded
[ ] ProposalFailed
[ ] AuthorityProposersReset
[ ] BlockHeight
[ ] CompressedKey
[ ] UncompressedKey

Data Remaining

[ ] Sessions
[ ] BestAuthorities
[ ] NextBestAuthorities

@AhmedKorim considering this closed in #13 will add separate tasks for remaining items


Chore - dapp connector client build failing

Context
Reason for the change? If an issue exists, reference it here using a keyword
Proposed Solution
Important Changes Introduced

Please squash the 2 commits and change type to chore. fix would show up the CHANGELOGs, but it is not relevant to consumers of sdk packages. Also, if a package is imported in src/, then you need to add the tsconfig reference in src/tsconfig.json

No problem, I have amended the git history.
I have not gone through the dapp-connector-client yet to match the packages in its own src/tsconfig. I opened this chore branch to decouple this work from the delegation work of the dapp-connector. I'll revisit it today to check it.

@mkazlauskas the build now passes just fine, but I reverted the nix file change, so it will probably break there. We can address that here, or on another task. What do you prefer doing?

@mkazlauskas build is now working, and is ready for review.


Sell Yourself as Programmer or Coder!

How to sell myself as coder or programmer to IT firms?

already answered in ama


18.10.0 Release Notes

Also, small formatting changes for Fall Review.

Also, why was the publish submodule changed?

@stefanlance not sure about why publish was changed, I'll reset it


UI: Ensure consistency across the tool

Make sure that all the fields on the site look the same with consistent margins, gaps, and text size.
Use day-month-year format for dates for consistency.

As decided on in December 19th, 2023 Product Owner meeting

https://github.com/tuwien-csd/damap-frontend/issues/157

All sub issues listed are completed for the new UI