how do i run    osixia/openldap:1.5.0   as non-root user

how do i run container as root user

You can just install Docker rootless: https://docs.docker.com/engine/security/rootless

@evroon Is that possible to start osixia/openldap container as openldap user

I use it and for me it works using the latest versions of docker rootless, I tested it on multiple systems.
But I'm not sure if you mean to run the container from the host as non-root user or to run openldap inside the container as another user than the openldap user. I don't know how the second would work.
You should be able to simply do:
curl -fsSL https://get.docker.com/rootless | sh
docker run osixia/openldap:1.5.0

The first command will probably say you need to put some variables in ~/.bashrc.

Ah so you want to run openldap inside the container as another user than openldap, right? I don't know how that would work, but I would first try to add --loglevel debug to see what the logs say:
docker run -p 389:389 --user openldap --hostname ldap.my-openldap.com --name my-openldap-container osixia/openldap:1.5.0 --loglevel debug

1.when i run  the container without specifying any user and execute command inside container it shows root user:
command: docker exec -it 974 /bin/bash

i want execute command inside container as user openldap
2.when i tried to use    --user openldap container gets exited

Ah okay.
Maybe you can start the docker container using docker run without specifying a user (so starting it as root) and then use:
docker exec -it --user openldap<container id> /bin/bash

To run a command inside the container as the openldap user.

How about using podman? I know the question was about docker, but I think it's quite reasonable suggestion.

version: '3.8'
services:
ldapA:
image: osixia/openldap:1.4.0
environment:
HOSTNAME: "ldapa.example.com"
LDAP_LOG_LEVEL: "256"
LDAP_ORGANISATION: "My Company"
LDAP_DOMAIN: "example.com"
LDAP_BASE_DN: ""
LDAP_ADMIN_PASSWORD: "admin"
LDAP_CONFIG_PASSWORD: "config"
LDAP_READONLY_USER: "false"
#LDAP_READONLY_USER_USERNAME: "readonly"
#LDAP_READONLY_USER_PASSWORD: "readonly"
LDAP_RFC2307BIS_SCHEMA: "false"
LDAP_BACKEND: "mdb"
LDAP_TLS: "true"
LDAP_TLS_CRT_FILENAME: "commercial.crt"
LDAP_TLS_KEY_FILENAME: "commercial.key"
LDAP_TLS_CA_CRT_FILENAME: "commercial_ca.crt"
LDAP_TLS_ENFORCE: "false"
LDAP_TLS_CIPHER_SUITE: "SECURE256:-VERS-SSL3.0"
LDAP_TLS_PROTOCOL_MIN: "3.1"
LDAP_TLS_VERIFY_CLIENT: "never"
LDAP_REPLICATION: "true"
LDAP_REPLICATION_CONFIG_SYNCPROV: binddn="cn=admin,cn=config" bindmethod=simple credentials=config searchbase="cn=config" type=refreshAndPersist retry="60 +" timeout=1 starttls=critical tls_reqcert=never
LDAP_REPLICATION_DB_SYNCPROV: binddn="cn=admin,dc=example,dc=com" bindmethod=simple credentials=admin searchbase="dc=example,dc=com" type=refreshAndPersist interval=00:00:00:10 retry="60 +" timeout=1 starttls=critical tls_reqcert=never
LDAP_REPLICATION_HOSTS: "#PYTHON2BASH:['ldap://ldapa.example.com','ldap://ldapb.example.com']"
KEEP_EXISTING_CONFIG: "false"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "true"
LDAP_SSL_HELPER_PREFIX: "ldap"
networks:
- ldap-network
hostname: "ldapa.example.com"
@evroon #
How to use a openldap user on composefile ?
when i used to use "user: openldap "
face with below issue
*** CONTAINER_LOG_LEVEL = 3 (info)
*** Killing all processes...
My requirement is when someone try to access a container it should be with non-root user(openldap) instead of root

I believe anyone with access to the docker socket can specify a different user than the one you use as default, for example in the Dockerfile or compose file. So, even if you change the user in such places, they can still enter the container as the root user AFAIK by using docker run --user <user> as you have tried.
But only users in the docker group have access to docker and therefore your container, right? So, either put nobody in that group such that you always need root access (so type sudo docker run... everytime) to run the container or put only the users in the group that you can trust not to mess things up in containers I guess. I don't know any other way to do it.
I have no experience with podman btw.

I think both podman and docker share much the same problems and capabilities when it comes to running rootless (same backend after all), but I do like podman's philosophy of not having single process managing all the containers. Also “going rootless” in podman means all of the container infrastructure (images, containers, volumes, configuration) live by default in your user directory, which can be quite convenient.
I believe in this case something like userns-remap is the right solution, exactly as you've mentioned it, @evroon. It's very much the same for podman as well. I don't know about docker, but podman can start a container straight from the user account (using nothing but current user privileges, or rather his UID/GID in the system) and automatically remap them to UIDs/GIDs defined in /etc/subuid, /etc/subgid. So you start with a container using your user UID/GID (and therefore having the same privileges as your user on the system), but ending up with container running with something like not-used-anywhere-on-the-system-but-here UIDs/GIDs (from the host point of view, inside of the container it may be root or whatever). Because of that, even if the container will get in some way compromised, it won't even be able to do anything with your files, let alone with those belonging to the system. Again, it's like @evroon rightly mentioned, but this time it starts from a level of a simple user, not root (granted: I do not know if it “starts” from root level with docker ;}, but I believe it does). This is not a solution without some caveats, but just recently I sucessfuly deployed osixia/openldap that way. The most troubling thing about my deployment was inability to bind to a host port below 1024, but there are solutions for that as well—like modifying net.ipv4.ip_unprivileged_port_start or running LDAP proxy on the host itself. The former is not the greatest or most fool-proof solution, but as long as you can be certain that nobody will mess up your binds on the particular machine, you should be fine.
BTW: slapd in osixia/openldap runs as openldap user and group from the container point of view. This is hardcoded in /container/service/slapd/process.sh file. The only question is how it gets remapped to the actual system user/group.
Here's some nice and concise explanation of UID/GID mapping: https://www.redhat.com/sysadmin/rootless-containers-podman that may be of use.

Duplicate of #398.


Update expressroute-limits.md

@anavinahar : Thanks for your contribution! The author, @cherylmc, has been notified to review your proposed change.


fortigate.py : get method used on a list

Hi !
I was trying to use your lib as a connector to my fortigates but I faced an issue.
When I just want to do a get request I end up with the following:

File "xxxx/lib/python3.10/site-packages/fortigate_api/fortigate.py", line 301, in get
results: LDAny = response_json.get("results") or []
AttributeError: 'list' object has no attribute 'get'

To get that, I just use in a script your FortigateAPI class on which I call the following:

response = self.fortigateAPI.rest.get(full_url)

After some debugging I managed to see that response_json was indeed a list so get method is not defined for that.

Would you know what could lead to that ? Is it a bad implementation on my side or a code issue ?

Could you please share the relevant portion of your code where you are making the get request using FortigateAPI library?
The error you've shared indicates that the response_json is expected to be a dictionary, but it seems that in your case, it is a list, leading to the 'AttributeError.'
By examining your code, I can better pinpoint the source of the problem and provide you with a more accurate solution.
Value of full_url could be useful.

Please try new method Fortigate.get_l() in the version 1.3.0. This method returns a list of data exactly as it is in the request.

import logging
from pprint import pprint

from fortigate_api import Fortigate

logging.getLogger().setLevel(logging.DEBUG)

HOST = "host"
USERNAME = "username"
PASSWORD = "password"

fgt = Fortigate(host=HOST, username=USERNAME, password=PASSWORD)

# Get list
output = fgt.get_l(url="/api/v2/monitor/firewall/policy?global=1")
pprint(output)
# [{'build': 2093,
#   'http_method': 'GET',
#   'name': 'policy',
#   'path': 'firewall',
#   'results': [{'active_sessions': 0,
#                'asic_bytes': 0,
#                'asic_packets': 0,
# ...

Seems to work fine thanks ! So it means that depending on the endpoint we want to reach we could end up either with a list or not ? Do you know how to determine that ?

Yes, you need to know the data types. I have no idea where to get the schema for all endpoints. Try examples monitor.py. In replies you can find schema. I hope it can help you.


ImportError: cannot import name 'evf sam, main' from 'inference’ (E:\AI\comfyUI\venvllib\site-packageslinferencel__init__.py)

I don't know how to solve this problem, but I feel that my requirement has been installed correctly,

I also encountered the same problem after updating. How can I solve it

Same here

Same here

Sorry guys, That is a bug, and I fixed it now, please update plugin and  try again


Remove moot version property from bower.json

Per bower/bower.json-spec@a325da3
Also their maintainer says they probably won't ever use it: http://stackoverflow.com/questions/24844901/bowers-bower-json-file-version-property

Thanks. Good to know.


don't run compact() on a collection after a truncate() was done in th…

…e same transaction
running compact() in the same transaction will only increase the data size on disk due to RocksDB not being able to remove
any documents physically due to the snapshot we take at transaction start.
Decoupling the truncate transaction from the compact operation allows finishing the truncate transaction first, so we can
get rid of the snapshot. Running compact afterwards is then free to physically remove all the data.
As a nice side effect this change will also speed up the truncation of larger collections, because the compact will run
faster.
This change also exposes db..compact() in the arangosh, in order to manually run a compaction on the data
range of a collection should it be needed for maintenance.

@jsteemann This sounds like it should also be added to the docs:

However, if the server crashes or is killed before the compact operation has finished, the problem will be there again. Then the only thing that helps is a manual compaction (e.g. via the command above).

All it says right now is that you may run it after a lot of updates, but nothing about incomplete compactions.

@Simran-B : good point. Are you happy to do this?


Example scene doesn't work with KeraLua in Unity Pro

Changing define to USE_KERALUA and the example scene is unable to GetComponent in function Start() as well as anything in Update. No other changes made. Is there anything else required to switch to KeraLua?

This should work fine now, recompiling the lua52 dll seems to have solved it.


Azure power shell Getting error for the command  Get-AzureRmADServicePrincipal

Hi ,
While running the below command in power shell getting below error
Get-AzureRmADServicePrincipal
Get-AzureRmADServicePrincipal : Method not found:
'System.Collections.Generic.List`1<Microsoft.Azure.Graph.RBAC.Version1_6.ActiveDirectory.PSADServicePrincipal> Microsof
t.Azure.Graph.RBAC.Version1_6.ActiveDirectory.ActiveDirectoryClient.FilterServicePrincipals(Microsoft.Azure.Graph.RBAC.
Version1_6.ActiveDirectory.ADObjectFilterOptions)'.
At line:1 char:1

Get-AzureRmADServicePrincipal

  + CategoryInfo          : CloseError: (:) [Get-AzureRmADServicePrincipal], MissingMethodException
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.ActiveDirectory.GetAzureADServicePrincipalCommand

Please provide suggestion on the same..

@MadhanRamachandran To assist you better on your query could you provide us with the link to the document you are referring to ?
In case your query in not related to document content, open a new forum thread either in MSDN or StackOverflow as it could be better place to get help on your scenario where the community members could provide their expert guidance to you based on their experience.

@MadhanRamachandran We will now proceed to close this thread as we haven't heard back from you. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hi @MadhanRamachandran ,
I am also getting the same error. How did you resolved that?


How to dynamically contribute to the menu?

According to the document https://code.visualstudio.com/api/references/contribution-points#contributes.menus I found the contribute menu title button.

so,my code like :
"contributes": {
"commands": [
{
"command": "dy-btn.action",
"title": "add dynamic button11",
"icon": "$(debug-start)"
}
],
"menus": {
"editor/title": [{
"command": "dy-btn.action",
"group": "navigation"
}]
},
But static configuration is troublesome, I need a personalized API. Allow me to register myself in the code. For example, providing an API:
vscode. menus. registMenus()

Related to #110218.

comment on issue Related to https://github.com/microsoft/vscode/issues/110218.


Fix for Kernel Failure in Style Transfer Notebook

This PR introduces a fix for the kernel failure observed during the CI checks for the style transfer notebook. The failure was initially reported in the linked Jira ticket.
The notebook has been tested using Treon as mentioned in the contributing guidelines. The Treon log is attached for reference
treon_style_transfer_results.log
.

It seems that another notebook's readme link is broken. @andrei-kochin who can help us to fix that broken link?

@paularamo
do not worry, it is temporal works on openai website server, we can ignore it and merge changes anyway as it is not connected with PR

@AnishaUdayakumar could you please also update https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/.ci/ignore_convert_execution.txt#L64
it was excluded for execution during docs generation due to the same reasons

@AnishaUdayakumar could you please also update https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/.ci/ignore_convert_execution.txt#L64 it was excluded for execution during docs generation due to the same reasons

@eaidova Appreciate your help in reviewing and merging this PR. Do you want me to update the ignore_convert_execution.txt in a separate PR since PR1958 is merged?

@AnishaUdayakumar could you please also update https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/.ci/ignore_convert_execution.txt#L64 it was excluded for execution during docs generation due to the same reasons

@eaidova Appreciate your help in reviewing and merging this PR. Do you want me to update the ignore_convert_execution.txt in a separate PR since PR1958 is merged?

@AnishaUdayakumar yes, please if it is possible


Signal R WIKI

@marcobisio
I do not seem to have a way to contact you regarding the wiki post
https://github.com/volkanceylan/Serenity/wiki/Group-notifications-with-SignalR-(by-marcobisio)
Your files are listed , but not where you placed the code - I assume the global_asax will start the hub.
At the end you state the script should be in a separate file and then included in the layout - can you show your example ? I am not sure if I am on the right track .. but I was going to name the globalNotification with a .js extension (not sure what folder to put it in ) or should I just create a layout and include it in my _layoutheader  How can I or should I do that ?

Hi @stixoffire,
I'm not sure about your question. You're right it's the code in Global.asax.cs that starts the hub:

All the other files can be placed where you prefer and about the javascript library i just pointed out that it's always better to put the code in an external javascript file and reference it in your _LayoutHead.cshtml.

@marcobisio Ok thank you - that clarifies it for me .. Yes the code in separate Javascript file is better to maintain it - changes etc.. Thank you ...

@marcobisio Just revisiting this as I have now been able to get around to the notifications by SignalR.
Right now I am just doing a notify on create - so when I create a row a notification is sent out via the Hub ..
I am not seeing the notification - the code runs with no errors but also no notifications.
Your code calls for a UserSupportGroupRow Could you share that portion of your code - so I can follow it better. The WIKI does not have it either.
I know I have  a username  and a message  - but nothing ..
I am not seeing where the notification should appear on my Webpage - perhaps because the logged in user is the same as the user that created the message ?

Please @stixoffire share your full implementation. either server side and client side so I can guide you through this, otherwise it will be difficult to guess what it's not working.


fix: calculate checksum correctly when downloading command in one chunk

Calculating checksum was failing when tarball was downloaded in one
chunk.

Any test for it? :)

@bkielbasa As you can easily check there is no tests at all 😔 We need to address this issue before releasing v3.


Seperated executer.py from k8s.py

Unit tests passing
Imports Updated

All good, just one detail, could you also separate the Executer tests into a separate, appropriately named/located test file?

Okay, will do 👍🏼

LGTM
Thanks for your contribution!

Happy to help! I would like to contribute more, meaningful PRs to this repo, will be more careful about my mistakes. It would be great if you could direct me to some issues

Pretty much all the "enhancement" labelled issues here are fair game. There are some dependencies documented amongst them:
https://github.com/hyperledger-labs/nephos/issues


Stacked PlatformView: Bottom PlatformView draws over the top PlatformView if rendered last

Steps to reproduce

Put 2 Platform views in a Stack
Bottom view is full width of the screen
Top view is just a portion, say positioned, top-left then sized to 100x100px
Render the top PlatformView first
Then render the bottom PlatformView
Observe that the top PlatformView gets drawn over by the bottom PV

Expected results
The bottom PlatformView to render below the top PlatformView and not draw over it.
Actual results
The bottom PlatformView draws over the top Platform view
Code sample
Code sample
N/A

Screenshots or Video

Screenshots / Video demonstration
Video, observe the PlatformView on the top-left corner of the screen. and how it gets drawn over by the bottom PlatformView.
https://github.com/user-attachments/assets/cef3e900-f030-4fb0-8fb1-f3c79e5ed844

Logs
Logs
N/A

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.4, on macOS 14.6 23G80 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.95.3)
[✓] Connected device (6 available)
[✓] Network resources

Hello @paul365 ,
I tried to reproduce the issue using the below code sample where I render two native views in stack cyan on top of red and I see it correctly renders. Can you share a reproducible code sample? Feel free to use the code sample below to create a reproducible case.

sample code
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  var padding = EdgeInsets.zero;

  String viewType = '<platform-view-type>';
  // Pass parameters to the platform side.
  final Map<String, dynamic> creationParams1 = <String, dynamic>{
    'color': Colors.red.value,
  };
  final Map<String, dynamic> creationParams2 = <String, dynamic>{
    'color': Colors.cyan.value,
  };

  Widget getNativeView(Map<String, dynamic> creationParams) {
    if (Platform.isIOS) {
      return UiKitView(
        viewType: viewType,
        layoutDirection: TextDirection.ltr,
        creationParams: creationParams,
        creationParamsCodec: const StandardMessageCodec(),
      );
    }

    return AndroidView(
      viewType: viewType,
      layoutDirection: TextDirection.ltr,
      creationParams: creationParams,
      creationParamsCodec: const StandardMessageCodec(),
    );
  }

  Widget getFlutterView({Color color = Colors.blue}) {
    return Container(
      padding: padding,
      color: color,
      child: const Center(
        child: Text(
          'Flutter View',
          style: TextStyle(color: Colors.white),
        ),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: const Text("Native view Example"),
          ),
          body: Stack(
            children: [
              getNativeView(creationParams1),
              Align(
                alignment: Alignment.topLeft,
                child: SizedBox(
                    height: 100,
                    width: 100,
                    child: getNativeView(creationParams2)),
              ),
            ],
          )),
    );
  }
}

complete sample project

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.1.1 24B2091 darwin-arm64, locale en-IN)
    • Flutter version 3.24.3 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.16.2

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

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554                        • android-arm64  • Android 12 (API 31)
      (emulator)
    • iPhone 16 Pro (mobile)          • 34497AEA-B6B0-4F79-99A3-6E40007745A3 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 15.1.1 24B2091
      darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 15.1.1 24B2091
      darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome
      128.0.6613.85

[✓] Network resources
    • All expected network resources are available.


Adds input_gamepad_check_any

Review #398 first to avoid merge conflict

If we add gp_any could we avoid creating new functions? Would like to squeeze this into 5.0 if possible but adding new functions would make this a 5.1 feature.

Can do

Separate into gp_any_button and gp_any_axis?

Hmmm OK

Not sure I like that either, actually. Where the extended SDL buttons are explicit and harmless if used incorrectly, any/none can’t be handled in a way that’s friendly (eg not crashing) if used incorrectly with inbuilt functions

Why would they cause crashes? Wouldn't those constants be 32795 + 32796?

@JujuAdams they could be ! and less of an issue that way.
i suppose they could be set in gamepad tick as well then, to avoid bloating the checkers.
lmk if the below scheme looks OK:
gp_any
gp_none
gp_button_any
gp_button_none
gp_axis_any
gp_axis_none

Looks good to me 👍

Having an


standard module for heat equation

add a standard module for heat equation

I'll be contributing to that by way of organizing common code-base for one of main GPU lesson examples. Let me know your opinion here: https://github.com/ENCCS/GPU-programming/issues/10


stripe: Implement sync_license_ledger_if_needed for RemoteServerBillingSession.

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Doing manual testing.

Merged after the tiny tweak noted above, thanks @prakhar1144!


typo: recieve -> receive

@PatrickFarley The PR passed the acceptance checklist. Please evaluate further and approve/complete the PR if appropriate. Thanks!

@VernonMSFT , I don't own these docs anymore. @jillre , please assign


I have add nextjs test package

Thanks for the contribution @DivyanshuTandon. I am closing the PR as it is not 100% accurate.


Editor with custom templates

From python forum  http://python.rhino3d.com/threads/692-Wish-Editor-with-custom-templates
Hi Steve,
if you open a new script, you are asked if you would like to create a command or an empty script.
It would be great to be able to add additional options to that dialogs with my custom designed code layout.

Martin

http://mcneel.myjetbrains.com/youtrack/issue/RH-30052


Add read-only access

Implement read-only access.
Provide read-only logins to all Steering Committee members.

I'd set it for v0.9, because to do this correctly we should start using group permissions. We have the ability, it's just that our views don't take permissions into account.

Closed via #472.


no such file or directory: index.json

 Hi
I installed your plugin using lazy.nvim.
I did use DevDocsFetch, something has been created.
Then i tried DevDocsInstall javascript (or whatever language), and i got this error.

This is my config:

 UPD: when i use the command DevDocsInstall without arguments, the error appears, but then the telescope picker appears, and i can install the documentation, and it works.

Thanks for the report. I've made a dumb mistake, it should be fixed now

Thanks for the report. I've made a dumb mistake, it should be fixed now

not dumb, you just forget 🥇
yes, its fixed 🍾

xD, I'm working on that don't worry, #4.
You can use glow.nvim for now.

xD, I'm working on that don't worry, #4. You can use glow.nvim for now.

damn this is a killer plugin, i didnt know about devdocs, glad i just clicked on the phone notification, its mindblowing, literally offline docs available in the neovim, good job


Update node-mkdirp

The version used (~1.0.4) uses a vulnerable version of minimist. Please update to the latest version from this repo (the previous one used has abandoned for a while now.)

The version 1.0.4 never relied on minimist. I was only the version 0.5.1x (which is abandoned).

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


SyntaxError: Cannot use initialiser syntax in a strict mode enumeration.

I'm compiling TypeScript -> ES6 -> JS.
Mobile Safari on iOS 8.1.2 is throwing the following Error: SyntaxError: Cannot use initialiser syntax in a strict mode enumeration.
The ES6 code emitted from TypeScript:
var __extends = this.__extends || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    __.prototype = b.prototype;
    d.prototype = new __();
};

The JavaScript code output from Traceur:
  var __extends = this.__extends || function(d, b) {
    for (var p = void 0 in b)
      if (b.hasOwnProperty(p))
        d[p] = b[p];
    function __() {
      this.constructor = d;
    }
    __.prototype = b.prototype;
    d.prototype = new __();
  };

The error occurs on the for statement.

I'm compiling TypeScript -> ES6 -> JS.
The ES6 code emitted from TypeScript appears to be as follows:
var __extends = this.__extends || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    __.prototype = b.prototype;
    d.prototype = new __();
};

This line of code is problematic:
for (var p = void 0 in b)

I'm not sure why we are adding the initializer in the for loop. We should not do that.

Same here, my site broken in Safari 8, any workaround?

@muzuiget for now, a grunt task to replace " void 0 in " with " in "?
Not the most elegant solution, admittedly.

Just downloaded the quick start tutorial learned about from Brad Greens twitter post today.
I was using Safari and got errors:
[Error] ReferenceError: Can't find variable: System
global code (index.html, line 5)
[Error] SyntaxError: Cannot use initialiser syntax in a strict mode enumeration.
(anonymous function) (es6-shim.js, line 4941)
Hope this helps.

@zoe-1 Please open a new issue and tell us what file you loaded in to safari, Thanks!

Ok. Made an issue here:
https://github.com/google/traceur-compiler/issues/1862


Store / Resume Game State

Any thoughts about whether we will ever be able to somehow store the current game state and resume from that point at a later time, from entirely within the API? Even if it is just within the context of bot vs. built-in API, or mini-games?

In the protobuf protocol, we have a "RequestQuickSave/RequestQuickLoad" field which we plan to implement. The functionality will be similar to how you can rewind back in a replay, except it will work in a live game.
Initially it will only work in single player games, so bot vs built-in AI and mini-games.

That would be great! Any idea how fast such a feature would take to execute? If it's a true rewind, then it would be a time proportional to the difference in frame count, right?

It works be saving/restoring the game memory for that gameloop.  The time is mostly proportional to how many units there are.
Not sure I want to give exact speed numbers yet as we haven't finished optimizing it.

Awesome! Looking forward to it :)


remove scikit-learn dependency

scikit-learn has been removed as a dependency. This was a fairly heavy-weight dependency that was providing minor functionality to scikit-bio. The critical components have been implemented in scikit-bio directly.
The other change that comes along with this is that four beta diversity metrics that were provided by sklearn are no longer available. These are manhattan, wminkowski, nan_euclidean, and haversine. On testing, wminkowski and haversine did not work through skbio.diversity.beta_diversity (or sklearn.metrics.pairwise_distances). The former was deprecated in favor of calling minkowski with a vector of weights provided as kwarg w , and the latter does not work with data of this shape. manhattan and nan_euclidean can still be accessed from scikit-learn directly if a user installs scikit-learn in their environment. For example:
import skbio
from sklearn.metrics import pairwise_distances
counts = [[23, 64, 14, 0, 0, 3, 1],
        [0, 3, 35, 42, 0, 12, 1],
        [0, 5, 5, 0, 40, 40, 0],
        [44, 35, 9, 0, 1, 0, 0],
        [0, 2, 8, 0, 35, 45, 1],
        [0, 0, 25, 35, 0, 19, 0],
        [88, 31, 0, 5, 5, 5, 5],
        [44, 39, 0, 0, 0, 0, 0]]

sklearn_dm = pairwise_distances(counts, metric="manhattan")
skbio_dm = skbio.DistanceMatrix(sklearn_dm)

pairwise_distances(counts, metric="nan_euclidean")

from skbio.diversity import beta_diversity
beta_diversity("minkowski", counts, w=[1,1,1,1,1,1,2])

addresses #1827

Note: we should revert the last commit before merging - just trying to get the tests to run.

@gregcaporaso looks like there's an actual lint failure this time


v0.3.0 → master

Well done, everybody!

Codecov Report

Merging #33 into master will increase coverage by 1.42%.
The diff coverage is 97.17%.

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
+ Coverage   95.96%   97.39%   +1.42%
==========================================
  Files           4        6       +2
  Lines         124      192      +68
  Branches       15       20       +5
==========================================
+ Hits          119      187      +68
  Misses          2        2
  Partials        3        3

Impacted Files
Coverage Δ

dork/__init__.py
100% <100%> (ø)

dork/cli.py
100% <100%> (ø)
:arrow_up:

dork/repl.py
100% <100%> (ø)

dork/game_utils/game_data.py
100% <100%> (ø)

dork/game_utils/world_loader.py
100% <100%> (ø)

dork/types.py
96.12% <95.79%> (-3.88%)
:arrow_down:

Continue to review full report at Codecov.

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


Automatically generate slug if not provided

This is an issue with Medium drafts, where a slug is not set yet. mediumexporter tries to save it using an empty string (""), which results in a file named .md or the images folder being created in the main content directory rather than in a subfolder.
By automatically setting the slug, mediumexporter can ensure that each story gets saved in its own  directory

Codecov Report

Merging #38 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #38      +/-   ##
=========================================
- Coverage    8.75%   8.69%   -0.07%
=========================================
  Files           2       2
  Lines         274     276       +2
=========================================
  Hits           24      24
- Misses        250     252       +2

Impacted Files
Coverage Δ

lib/get-post.js
7.75% <0%> (-0.13%)
:arrow_down:

Continue to review full report at Codecov.

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

@xdamman one more bugfix! I've got a third one coming up—should I continue submitting separately, or would you prefer them all bundled up into a single pull request? I'll probably have a few more since I'm using mediumexporter for my own project so ironing out creases as I find them.


remove UseMU reg value on uninstall of MSI

PR Summary
When installing via MSI and leaving the default option to UseMU (Microsoft Update), the reg value is created, but not removed on uninstall so it can get reinstalled again.  Fix is to add the WIX attribute to also remove this value upon uninstall.
PR Context
Fix https://github.com/PowerShell/PowerShell/issues/19356
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Thanks for the quick fix @SteveL-MSFT - if I'd known it was that simple I'd have submitted the PR myself!

@kilasuit just need @TravisEz13 to say if this was deliberately missing previously or not


[Feature] Allow the user to choose a package manager

Yes we all know sileo is the best and should be left as default but some people prefer other package managers (zebra, appinstaller, cydia (gross)). Having options helps with having a more open jailbreak community.

Afaik sileo nightly is the only package manager that works fully on iOS 15, so this can’t really exist until other package managers are updated for iOS 15.

Afaik sileo nightly is the only package manager that works fully on iOS 15, so this option can’t really exist until other package managers are updated for iOS 15.

this is incorrect; with setuid patch all package managers should work

I was thinking about this, but why not just install it through Sileo? Zebra is already on Procursus

true

but saily just works fine

MasterMike88 on twitter gives a good reason why saily maybe isn't the best package manager right now.
https://twitter.com/MasterMike88/status/1602195660547268609

implemented


Switch to Relay.Middleware for content handling

Donated content handling to Relay, switch to using Relay.
Refs relayphp/Relay.Middleware#14
Fixes #16

This is backward compatible and deprecated functionality has been marked as such.

:+1:


Flow type checking fails - Cannot use InAppPurchase as a type because it is an any-typed value.

With RN v0.64.1 and flow-bin v^0.137.0, the flow fails with the following error
Cannot use InAppPurchase as a type because it is an any-typed value. Type InAppPurchase properly, so it is no longer any-typed, to use it as an annotation. [value-as-type]
I am importing as follows
import {
	purchaseErrorListener,
	purchaseUpdatedListener,
	type ProductPurchase,
	type PurchaseError,
	type InAppPurchase,
	type SubscriptionPurchase,
} from 'react-native-iap';

Used to work fine with "flow-bin": "^0.122.0" and "react-native": "0.63.4"
Version of react-native-iap
"react-native-iap": "^6.0.6"
Version of react-native
"react-native": "0.64.1"
Platforms you faced the error (IOS or Android or both?)
Expected behavior
flow should pass
Actual behavior
flow type checking fails
Tested environment (Emulator? Real Device?)
Steps to reproduce the behavior
Configure and run flow

Honestly, I don't know much about flow. I am just relying on flowgen for flow typing. Could you open up issue there too?

@rimzici Looks like https://github.com/dooboolab/react-native-iap/pull/1377 was causing a problem.
This fix is released in 6.2.1. Please come back if you still face the problem.


Initial IStringLocalizer based localization of ASP.NET Core Identity

@skoruba
A simple implementation of ASP.NET Core Identity translation via inbuilt IStringLocalizer.
I have already used these in several projects.
I can add another layer of abstraction (for example IIdentityLocalizer/IIdentityErrorMessageLocalizer) so consumers can implement it independently, and pull that out into
(namespacebefore).AspNetCore.Identity.Localization
Opens up multiple implementations not coupled to ASP.NET Core localization implementation.
It may be reinventing wheel, though it's quite easy thing to do.
What's your opinion about this? :)

@skoruba
I just  added unit tests to cover default IdentityErrorMessages localization implementation.

@skoruba @TomasHubelbauer @xmichaelx
Closing this to open same pull request from correct branch. I made myself issue when commiting in dev directly on my fork


[CI] Only run test on machines indicated in "launch jenkins" comment

Currently all machines are at least started, even if no test is required to run on that machine.
This leads to empty messages from Jenkins-User on GitHub

Only unit tests are executed on all machines.
The issue is solved in v<IP_ADDRESS>


oauth2 errors are making some incorrect json assumptions for Facebook

Hello thanks for all your hard work on crystal!
I use the multi_auth shard which itself use oauth2 from the crystal stdlib.
the OAuth2::Error class is trying to decode the error from the payload expecting something like this:
{ "error": "some oauth error" }

This is what I understand according to the code in src/oauth2/error.cr:
 pull.read_object do |key|
      case key
      when "error"             then error = pull.read_string
      when "error_description" then error_description = pull.read_string
      else
        raise "Unknown key in oauth2 error json: #{key}"
      end
    end

I suppose that must be the case with some oauth2 providers but this assumption is not valid for Facebook, which returns in case of error something like this:
{"error":{"message":"This authorization code has expired.","type":"OAuthException","code":100,"fbtrace_id":"GyzZxJWzHMP"}}

Because of error being an object instead of the string it makes this json reader crash with this error:
Unhandled exception: Expected string but was begin_object at 1:11 (JSON::ParseException)
  from /usr/share/crystal/src/json/pull_parser.cr:518:5 in 'parse_exception'
  from /usr/share/crystal/src/json/pull_parser.cr:510:5 in 'expect_kind'
  from /usr/share/crystal/src/json/pull_parser.cr:180:5 in 'read_string'
  from /usr/share/crystal/src/json/pull_parser.cr:83:5 in 'read_object_key'
  from /usr/share/crystal/src/oauth2/error.cr:89:13 in 'new'
  from /usr/share/crystal/src/json/from_json.cr:13:3 in 'from_json'
  from /usr/share/crystal/src/oauth2/client.cr:154:7 in 'get_access_token_using_authorization_code'
[... more stack ]

I would have gladly fixed it myself but I'm a beginner crystal developer and I'm clearly not good enough yet to fix this issue.

  A single ASCII [USASCII] error code

I guess we'll have to change this.
We can probably make the class hold the JSON source as a string to be parsed, if needed, by clients. We can probably make the entire JSON string the error. I'll send a PR to fix this later today.


cannot use external in ffi

Which version of Dart are you depending on? In your pubspec.yaml, what is your environment/sdk version constraint?
You need to require at least Dart 2.12.0 (aka. null safety) in order to enable external variable declarations. They were added to the language in that language version.


Fix unpublishing

TO DO fix elasticsearch_presenter_test and intermittent failing versioning_test
The document_type in the payload from the publishing api differs depending on the unpublishing
type.

gone => gone
redirect => redirect
substitute => substitute
vanish => vanish
withdrawn => keeps the document_type of the document being withdrawn

Mobbed with @binaryberry @suzannehamilton @dwhenry @MatMoore @Rosa-Fox
https://trello.com/c/LatZVRg8/213-make-versioning-work-for-all-publishing-events

We are not currently using the routing key to distinguish unpublished events. Thoughts? @MatMoore @dwhenry @suzannehamilton


CB-9110 Persist managed image status -- follow up refactorings

Some azure calls were outside of AzureClient class, and some tests were added.
See detailed description in the commit message.

Can you please add a more detailed explanation to the commit message why this change is needed?

Can you please add a more detailed explanation to the commit message why this change is needed?

A better commit message was provided.


How can I set syslog facility

It appears that there is no way to set the syslog facility for applications of type service_systemd_linux.
The first argument passed to the syslog.New function is fixed to syslog.LOG_INFO, which results in the facility always being set to kern.
https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_unix.go#L23
Is there any workaround for this issue?

It would be better to set syslog.LOG_USER | syslog.LOG_INFO.


Config endpoint implementation

Checklist

[ ] Configuration of Chainweb Node

@miguelnietoa @EdwinGuayacan this one only requires to implement 1 endpoint, for this specific case we could use a simple issue instead of an epic with the issue linked to it, do you agree?

This issue was not implemented because we discovered that the API returns a 404 status after making requests with Postman.


aseprite: 1.3 -> 1.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/aseprite/aseprite/releases.
meta.description for aseprite is: Animated sprite editor & pixel art tool
meta.homepage for aseprite is: https://www.aseprite.org/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.2 with grep in /nix/store/ipwyjc9rllmgqz6xfsz2v7v7m5fy0y40-aseprite-1.3.2
found 1.3.2 in filename of file in /nix/store/ipwyjc9rllmgqz6xfsz2v7v7m5fy0y40-aseprite-1.3.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
aseprite

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ipwyjc9rllmgqz6xfsz2v7v7m5fy0y40-aseprite-1.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A aseprite https://github.com/r-ryantm/nixpkgs/archive/90f634616291f83981cd76d4701022c895a05572.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/90f634616291f83981cd76d4701022c895a05572#aseprite

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ipwyjc9rllmgqz6xfsz2v7v7m5fy0y40-aseprite-1.3.2
ls -la /nix/store/ipwyjc9rllmgqz6xfsz2v7v7m5fy0y40-aseprite-1.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

aseprite

Maintainer pings
cc @orivej for testing.

Result of nixpkgs-review pr 273896 run on x86_64-linux 1

1 package built:

aseprite


Qt4 merge1

This is a partial merge that runs by itself and brings closer correspondence with master.

@googlebot I consent.


Generating Metadata file - unused $attributes parameter

I've just been getting started with using the package to try and generate my metadata file. I noticed that the builder static method takes a parameter called $attributes, which seems to be unused. Am I, or is the code missing something? Should the parameter just be removed?
Source file: https://github.com/onelogin/php-saml/blob/4.0.0/src/Saml2/Metadata.php

You are right, that parameter was introduced by error with this commit:
https://github.com/onelogin/php-saml/commit/04285d68694eb58f824c4c9614f4c93c0423e94d
But now we can't simpl remove it due compatiblity issues.
We should document in the code that this parameter is deprecated


reject escape characters in queue names

the following characters will no longer be allowed in queue names: $, ', ;, --.
This should hopefully close https://github.com/tembo-io/pgmq/issues/295
cc @olirice

Need to figure out why test output is different on pg 12-14 than on 15-16

I think most of this looks nice; pulling the whole branch to read any places that still have %s in SQL statements, since I think it makes sense to just blanket remove them (even numerics)

This all looks like a nice improvement to me!


[15950] Tutorial - External Locators

This PR adds a tutorial for leveraging Fast DDS' external locators feature in Vulcanexus.
Cannot be merged before:

eprosima/Fast-DDS#3079
#86

I've rebased this on top of #86 again since there I had to add the video as raw HTML instead of through the extension because that was breaking the latex compilation on RTD. I've enabled a build on this branch so we can see how it looks online before merging.


Email template for reset password

Taken from https://github.com/BMMRO-tech/BMMRO/issues/19
An admin can use Firebase to send a "reset password" email to a user.
This email looks like this at the moment:

We need to change this email template to show the name of the app (instead of project-...) and maybe the BMMRO logo.
This can be done in the Firebase console -> Authentication -> Templates

moved to https://github.com/BMMRO-tech/BMMRO/issues/41


Golang [NEW]

What is the badge for?
For project built in golang
Provide any preferred icons/text (icons must be SVG)
Built with Go

Example if needed

That looks awesome! Its far better then I could ever do.

That looks awesome! Its far better then I could ever do.

Oh really? I thought it is decent for like normal use....
Thanks for this :)


Include all CosmosError subclass arguments in "data" field of response

Provides a default implementation of CosmosError.getData which uses
generated Circe Encoders to create a JSON representation of any
instance. Subclasses can still override the default if needed.
Fixes #312.

I didn't add any tests specifically for this change, although I did need to update some existing tests as a result. I figured that a generic test may not be that useful; we can write specific tests later when we want to ensure that a particular error type gets encoded in responses with the right data.

@mlunoe this will hopefully make your life easier :smile:

@cruhland @BenWhitehead is this ready for merging?

@jsancio It needs one more update, to get rid of Encoder[Throwable]. I'll take care of it now.

@jsancio @BenWhitehead updated.

LGTM in general. Can I see a sample output for the before and after? Or just the after if the before is difficult to generate.

Nice job finding out how to filter out Throwables! One small comment from me, having some clarification comments around some of the magic would be good for the next person to come along and try to understand what's going on.
:ship: it after fixing the few small comments.

@jsancio Here's an example that shows a few errors at once. First, construct the error value:
import cats.data.NonEmptyList
import com.mesosphere.cosmos._
import com.mesosphere.cosmos.circe.Encoders._
import com.mesosphere.cosmos.http._
import io.circe.syntax._

// Ordinary error
val err1 = PackageNotFound("cassandra")

// Error with Throwable field
val err2 = PackageFileMissing("kafka", new java.io.IOException("BOOM!"))

// Error with multiple fields
val err3 = UnsupportedContentType(List(MediaType("application", "json"), MediaType("text", "plain")), Some(MediaType("test", "csv")))

// Combine errors together
val errs = NelErrors(NonEmptyList(err1, err2, err3))

// Render to JSON
(errs: Exception).asJson.spaces2

Here's what it looked like in the response before this change:
{
  "type" : "NelErrors",
  "message" : "OneAnd(com.mesosphere.cosmos.PackageNotFound,List(com.mesosphere.cosmos.PackageFileMissing: java.io.IOException: BOOM!, com.mesosphere.cosmos.UnsupportedContentType))",
  "data" : null
}

And here's what it looks like after this change:
{
  "type" : "NelErrors",
  "message" : "OneAnd(com.mesosphere.cosmos.PackageNotFound,List(com.mesosphere.cosmos.PackageFileMissing: java.io.IOException: BOOM!, com.mesosphere.cosmos.UnsupportedContentType))",
  "data" : {
    "errs" : [
      {
        "PackageNotFound" : {
          "packageName" : "cassandra"
        }
      },
      {
        "PackageFileMissing" : {
          "packageName" : "kafka"
        }
      },
      {
        "UnsupportedContentType" : {
          "supported" : [
            "application/json",
            "text/plain"
          ],
          "actual" : "test/csv"
        }
      }
    ]
  }
}

The message field is still ugly, but now the data field is way more useful. Also, @BenWhitehead the MediaType is being encoded as you asked.

@jsancio Here are the three nested errors from above, treated separately. These are more representative of actual errors that the CLI or the UI would like to handle:
{
  "type" : "PackageNotFound",
  "message" : "Package [cassandra] not found",
  "data" : {
    "packageName" : "cassandra"
  }
}

{
  "type" : "PackageFileMissing",
  "message" : "Package file [kafka] not found",
  "data" : {
    "packageName" : "kafka"
  }
}

{
  "type" : "UnsupportedContentType",
  "message" : "Unsupported Content-Type: test/csv Accept: [application/json, text/plain]",
  "data" : {
    "supported" : [
      "application/json",
      "text/plain"
    ],
    "actual" : "test/csv"
  }
}

LGTM. :shipit:


vs-tooltip doesn't work with Mozilla Firefox

When I try to use the vs-tooltip property on any element, I got a message indicating:

n.toElement is undefined when the pointer goes inside the element.
t.toElement is undefined when the pointer goes outside the element.

I wanna know if this property is properly supported by every browser or only is supported on Chrome browser.
OS: Ubuntu 16.04
Node.js: 8.10
NPM: 5.7.1
Vuesax: 3.1.16
Browser: Firefox Development Edition 61.0b.13
Greetings.

Excuse these using vs-tooltip or v-tooltip? because it is v-tooltip. that component is going to change to an element of the sun for better manipulation and functionalities if you have any idea or want to help to do it, thank you very much for the contribution.

Sorry, my mistake, I'm using v-tooltip. In that case I'm gonna check how it works the property and how can be optimized, nice work.
Greetings.

Easy, thank you very much for the contribution


Revert homepage CTA to point at mailing list 2021-12-30

It was focussed on the new urgent call for qualified teachers page for a while but on 30 Dec 2021 it will revert to being a mailing list CTA

Looks good to me (but I haven't approved in case the need for this changes between now and 30 December)

@leoapost @GayeCord @rosecatt
This is the PR created by @peteryates to revert the home page promo to the mailing list.
The current plan is to merge this on the afternoon of 31 December (not 30 December as originally planned).


How to get @property methods in asdict

I have something like this
   @attrs
   class Foo():
       max_count = attrib()
       @property
       def get_max_plus_one(self):
           return self.max_count + 1

f = Foo(max_count=2)
f.get_max_plus_one =>3
I want to convert this to dict
{'max_count':2, 'get_max_plus_one':3}
When I used attr.asdict(f) I do not get the @property. I get only {'max_count':2}
What is the cleanest way to achieve the above

Closing this - https://stackoverflow.com/questions/51733882/how-to-get-python-property-methods-in-asdict
If there is a better way - reply on SO


Pin golanci-lint-version to 1.17.1

pin golang-lint-version to 1.17.1 to keep tools up to date.

To tell the truth, I tried to fix the CI, but the problem is the go version in golanci as you mentioned earlier.
I believe keeping software up to date is good practice, so I updated PR description with this info.

Need to fix misspellings in master

@juliaogris  @camh-anz could you approve once again?

@juliaogris could you re-approve please?


chore: update to engine ^1.65.3

Updates project to engine 1.65.3 and adjustments for PCUI 4.1.1

updates dependency to "playcanvas": "^1.65.3",
use new naming standard in shadow catcher shader fragment
increase left panel default size so scroll bar does not show by default with the thicker fonts.

Fixes #229
I confirm I have signed the Contributor License Agreement.

Should there be a patch version increment ?

BTW, I don't see the scroll bar by default - how do I repro that?

change the sass that builds the css back to 300px.
#panel-left {
    width: 300px;
}

For some reason the ticker (and clearer to read) fonts in the updated PCUI push it over some threshold by 1px.  You get this little scroll bar on the bottom marked in red.


[Feature]: Can we show the timezone with the incidents.

Is your feature request related to a problem? Please describe.
It will be much helpful when we mention the time zone of the issue happening. So it will be more clear to the readers to understand the time of the issue occurrence.
Describe the solution you'd like
My suggestion will be either we need to have the option to show the time zone there in the status page.
In the dashboard, we can choose/select the timezone.
or we need option to either show the timing as UTC or IST etc..
Describe alternatives you've considered
The option to show the timezone of the issue occurrence.
Additional context
No response

You can adjust the Date Format strings to display the time zone in your configuration.py.
https://github.com/Status-Page/Status-Page/blob/main/statuspage/statuspage/configuration_example.py#L163-L168
Reference: https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#std-templatefilter-date


ready for js-ipfs 0.41

https://github.com/orbitdb/orbit-db/issues/762

@Xmader just published 3.1.0 of orbit-db-store, go ahead and update the orbit-db PR to see if we're still on good shape :+1:

Hmm yes, a good feature for reliability but time-consuming... I'm afraid I don't have time to do that right now but if you make PRs I can likely merge and publish soon


Files removed from the File Explorer do not appear as changes in Git panel

I deleted two files from the File Explorer using the File's context menu and the files were deleted, but I don't see those changes in the Git panel.

After doing this, I created a new file and then all 3 changes (files remove and added) were correctly shown.


Automated Package Upgrade

:tada: This PR is included in version 5.0.390 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Running on system with multiple GPU fails (ddp failure)

Describe the bug
Running on system with multiple GPU fails.
To Reproduce
Setup system with 2 GPUs.
Run the training command:
python yolo/lazy.py task=train dataset=coco use_wandb=True

(.venv) (base) koush@koushik-ubuntuvm:~/yolov9mit/YOLO$ python yolo/lazy.py task=train dataset=coco use_wandb=True
[11/07/24 07:18:44] INFO     📄 Created log folder: runs/train/v9-dev                                                                                logging_utils.py:319
[11/07/24 07:18:44] INFO     ⚡ Using 16bit Automatic Mixed Precision (AMP)                                                                                rank_zero.py:63
                    INFO     ⚡ Trainer already configured with model summary callbacks: [<class 'yolo.utils.logging_utils.YOLORichModelSummary'>]. Skipping   rank_zero.py:63
                             setting a default `ModelSummary` callback.
                    INFO     ⚡ GPU available: True (cuda), used: True                                                                                rank_zero.py:63
                    INFO     ⚡ TPU available: False, using: 0 TPU cores                                                                                rank_zero.py:63
                    INFO     ⚡ HPU available: False, using: 0 HPUs                                                                                rank_zero.py:63
                    INFO     🚜 Building YOLO                                                                                yolo.py:35
                    INFO       🏗  Building backbone                                                                                yolo.py:38
                    INFO       🏗  Building neck                                                                                yolo.py:38
                    INFO       🏗  Building head                                                                                yolo.py:38
                    INFO       🏗  Building detection                                                                                yolo.py:38
                    INFO       🏗  Building auxiliary                                                                                yolo.py:38
                    INFO     ✅ Success load model & weight                                                                                yolo.py:177
                    INFO     ✅ Dataset val2017      already verified.                                                                               dataset_preparation.py:74
                    INFO     ✅ Dataset annotations  already verified.                                                                               dataset_preparation.py:74
[11/07/24 07:18:45] INFO     📦 Loaded val2017 cache                                                                                data_loader.py:60
                    INFO     ✅ Dataset train2017    already verified.                                                                               dataset_preparation.py:74
                    INFO     ✅ Dataset annotations  already verified.                                                                               dataset_preparation.py:74
[11/07/24 07:18:51] INFO     📦 Loaded train2017 cache                                                                                data_loader.py:60
[11/07/24 07:18:53] INFO     ⚡ You are using a CUDA device ('NVIDIA GeForce RTX 4090') that has Tensor Cores. To properly utilize them, you should set        rank_zero.py:63
                             `torch.set_float32_matmul_precision('medium' | 'high')` which will trade-off precision for performance. For more details, read
                             https://pytorch.org/docs/stable/generated/torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision
[11/07/24 07:18:53] INFO     ⚡ Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/2                                                                       distributed.py:296
[11/07/24 07:19:05] INFO     ⚡ Initializing distributed: GLOBAL_RANK: 1, MEMBER: 2/2                                                                       distributed.py:296
[11/07/24 07:19:05] INFO     ⚡ ----------------------------------------------------------------------------------------------------                           rank_zero.py:63
                             distributed_backend=nccl
                             All distributed processes registered. Starting with 2 processes
                             ----------------------------------------------------------------------------------------------------

[11/07/24 07:19:05] INFO     🌐 Using wandb-core as the SDK backend.  Please refer to https://wandb.me/wandb-core for more information.                   logging_utils.py:250
[11/07/24 07:19:06] INFO     🌐 Currently logged in as: koushd (koushd-scrypted). Use `wandb login --relogin` to force relogin                            logging_utils.py:250
                    INFO     🌐 Tracking run with wandb version 0.18.6                                                                                logging_utils.py:250
                    INFO     🌐 Run data is saved locally in runs/train/v9-dev/wandb/run-20241107_071906-8qyi2ify                                         logging_utils.py:250
                    INFO     🌐 Run `wandb offline` to turn off syncing.                                                                                logging_utils.py:250
                    INFO     🌐 Syncing run v9-dev                                                                                logging_utils.py:250
                    INFO     🌐 ⭐ View project at https://wandb.ai/koushd-scrypted/YOLO                                                                  logging_utils.py:250
                    INFO     🌐 🚀 View run at https://wandb.ai/koushd-scrypted/YOLO/runs/8qyi2ify                                                        logging_utils.py:250
                    INFO     🈶 Found stride of model [8, 16, 32]                                                                                bounding_box_utils.py:304
                    INFO     ✅ Success load loss function                                                                                loss_functions.py:141
[11/07/24 07:19:06] INFO     ⚡ LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1]                                                                                cuda.py:61
[11/07/24 07:19:06] INFO     ⚡ LOCAL_RANK: 1 - CUDA_VISIBLE_DEVICES: [0,1]                                                                                cuda.py:61
┏━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┓
┃   ┃ Name   ┃ Type                 ┃ Params ┃ Mode  ┃
┡━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━┩
│ 0 │ model  │ YOLO                 │ 51.2 M │ train │
│ 1 │ metric │ MeanAveragePrecision │      0 │ train │
└───┴────────┴──────────────────────┴────────┴───────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Attributes                             ┃ Value      ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Trainable params                       │ 51.2 M     │
│ Non-trainable params                   │ 96         │
│ Total params                           │ 51.2 M     │
│ Total estimated model params size (MB) │ 204        │
│ Modules in train mode                  │ 1222       │
│ Modules in eval mode                   │ 0          │
└────────────────────────────────────────┴────────────┘

Error executing job with overrides: ['task=train', 'dataset=coco', 'use_wandb=True']
Traceback (most recent call last):
  File "/home/koush/yolov9mit/YOLO/yolo/lazy.py", line 35, in main
    trainer.fit(model)
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/trainer/trainer.py", line 538, in fit
    call._call_and_handle_interrupt(
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/trainer/call.py", line 46, in _call_and_handle_interrupt
    return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/strategies/launchers/subprocess_script.py", line 105, in launch
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/trainer/trainer.py", line 574, in _fit_impl
    self._run(model, ckpt_path=ckpt_path)
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/trainer/trainer.py", line 981, in _run
    results = self._run_stage()
              ^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/trainer/trainer.py", line 1023, in _run_stage
    self._run_sanity_check()
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/trainer/trainer.py", line 1052, in _run_sanity_check
    val_loop.run()
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/loops/utilities.py", line 178, in _decorator
    return loop_run(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/loops/evaluation_loop.py", line 128, in run
    batch, batch_idx, dataloader_idx = next(data_fetcher)
                                       ^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/loops/fetchers.py", line 133, in __next__
    batch = super().__next__()
            ^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/loops/fetchers.py", line 60, in __next__
    batch = next(self.iterator)
            ^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/utilities/combined_loader.py", line 341, in __next__
    out = next(self._iterator)
          ^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/lightning/pytorch/utilities/combined_loader.py", line 142, in __next__
    out = next(self.iterators[0])
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/torch/utils/data/dataloader.py", line 701, in __next__
    data = self._next_data()
           ^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/torch/utils/data/dataloader.py", line 1465, in _next_data
    return self._process_data(data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/torch/utils/data/dataloader.py", line 1491, in _process_data
    data.reraise()
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/torch/_utils.py", line 715, in reraise
    raise exception
RuntimeError: Caught RuntimeError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/torch/utils/data/_utils/worker.py", line 351, in _worker_loop
    data = fetcher.fetch(index)  # type: ignore[possibly-undefined]
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/.venv/lib/python3.12/site-packages/torch/utils/data/_utils/fetch.py", line 55, in fetch
    return self.collate_fn(data)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/koush/yolov9mit/YOLO/yolo/tools/data_loader.py", line 207, in collate_fn
    batch_images = torch.stack(batch_images)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: stack expects each tensor to be equal size, but got [3, 256, 1024] at entry 0 and [3, 416, 864] at entry 16

Expected behavior
Training proceeds.
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (please complete the following ## information):

OS: [e.g. Ubuntu 20.04] 22.04
Python Version: [e.g. 3.8] 3.10
PyTorch Version: [e.g. 1.8.1]2.5.1
CUDA/cuDNN/MPS Version: [e.g. CUDA 11.1] 12.6
YOLO Model Version: [e.g. YOLOv9-c] 9c

Additioal Nodes
Modifying lazy.py to use num_devices=1, num_nodes=1 works as expected. DDP is failing.

Hi,
Could you please tell me your Git commit version? I recently fixed a very similar issue in commit 309271089a6f916197e4e7977f77738ba1521bfb.
Best regards,
Henry Tsui

commit 2522f723d0db5c72a6e49a7331b844290ef0af34 (HEAD -> main, origin/main, origin/TEST, origin/HEAD)
Author: henrytsui000<EMAIL_ADDRESS>Date:   Tue Nov 5 14:43:04 2024 +0800

    ✅ [Pass] test in multiclass label&dynamic shape

Updated to 959b9b05667f6b9a1f349bc2c9843d039e405f60, issue persists.

Hi,
Can you try turning off the dynamic_shape setting in yolo/config/task/validation.yaml? You can do this by modifying the configuration as follows:
task: validation

data:
  ...
  dynamic_shape: False
...

Alternatively, you can disable it during training with the following command:
python yolo/lazy.py task=train ... task.validation.data.dynamic_shape=False

I suspect the issue is caused by the sampler and the dynamic_shape setting. Turning it off will disable the auto-adjustment of the input shape in the validation phase. While this might result in a slightly lower mAP, it will enable multiple GPU validation.
If you need a higher-performance model, you can perform validation after training using a single GPU after training—or you can wait for me to find time to fix this properly.
Best regards,
Henry Tsui

That extra command line parameter seems to have suppressed the issue.

Training completes 1 epoch, performs the validation step seemingly with no error, and then hangs.


Investigate technologies API performance

On https://httparchive.org/reports/techreport/drilldown, I'm consistently seeing the technologies endpoint taking about 3 seconds to respond.

This blocks the main "Technology" dropdown UI from showing the list of technologies, and it gets stuck only having one "ALL" option.

Is there anything we can do to speed up the response?

Can we also add cache-control headers to these? Even for a short while so it doesn't need to hit the server every single time when you're browsing around the site.

@maceto have you had a chance to look at this?

Yeah definitely seems faster now. Sure you didn't fix it already as was definitely slow before :-)


Possible to have errors which are not specifically attached to fields?

When I return a login error, I return a generic error which is not specific to a single field. This is to prevent malicious users from gaining information about my users. Is there currently a way to have errors which are not specific to fields?

Yes. There's a special _error key, which will end up in this.props.error passed to your component. See error entry here.


Efficient regularization method for classifiers

Idea: generate random samples with label {-1}+ (aka background images) and check if adding them to the training dataset improves performance.

Idea: null hyphotesis = by default predict no object {-1}. So pre-train the models on random tensors to predict {-1}.

Random walk trainer: x(t+1) = x(t) - rand(0, 1) * g(t) with some smoothing and minibatch.

Can regularize also as: sum(output(i) - {-1}^C) where C = #classes???


feat: add Fordefi wallet

Hey ConnectKit team,
Opening this PR to support Fordefi browser wallet.
Fordefi is an institutional crypto wallet and works with all dApp websites.
Note that I have a pending PR to add Fordefi to wagmi.
So I will wait for it to be merged first, before merging this one.
Please let me know if there's anything I can do to support this PR and get it merged.
Thanksss

Rony Fragin
Extension Owner
Fordefi

There are some dependency requirements with wagmi to get this working so once wagmi approves on their end as this can be merged.


sourceset output.dir() does not work with java-library plugin

Expected Behavior
In a multi-module build, adding an output directory to the main sourceSet (as explained in SourceSetOutput) should work the same when using the java plugin or the java-library plugin.
Current Behavior
If the project in question is using the java-library plugin, only its classes directory is on the consumer's classpath (as explained in the docs), but not any extra output directories registered on the main sourceSet. This might also affect resources, since the resources directory is also not on the classpath of consumers.

Could you please provide a code example that reproduces the issue?

Of course. Please find it here: https://github.com/mkmaier/gradle-3231

Is there any reason why you don't model the main source set like this?
sourceSets {
    main {
        java {
            srcDirs = ['src/main/java', 'src/second/java']
        }
    }
}

I saw that you use directories like "generated" in your sample though no code is actually generated. Is that relevant? Is code generated and then supposed to be on the compile classpath for the main source set? Please provide the relevant information and the code that you use to generate code (if that's what you are trying to do).

This is only a reproducer mostly taken from gradle documentation examples. I tried to keep things as minimal as possible to highlight what I think is a bug, without going into details of why we run into this. The salient point for me is that it does work with the 'java' plugin, but this might be a conscious design choice. If so, I did not find it documented.

But since you asked, this is what we are really doing that runs into this problem. I'd welcome any suggestions for improvement as this also has the downside of not compiling in either IDEA or Eclipse.
The gist of what we do is:

compile the sources as intermediate
generate java sources from the intermediate classes (task createWrappers)
(copy and) modify the intermediate classes (task wrap)
compile the generated sources from 2. and the add the modified classes from 3. as output in the main sourceSet (the unmodified intermediate classes are not part of this)

I hope this is clear enough, but I cannot provide much more details, especially not for the two ant tasks.
The relevant lines are these:
// generated java source
def srcGen = file("${buildDir}/src-gen")

// generated binaries
def wrappers = file("${buildDir}/wrappers")

sourceSets {
    // original sources, not directly part of output
    intermediate {
        java.srcDirs = ['src']
    }
    // generated sources plus modified classes from original sources
    main {
        java.srcDirs = [srcGen]
        output.dir(wrappers, builtBy: 'wrap')
        compileClasspath += sourceSets.intermediate.output
    }
}

// generate modified classes
task wrap() {
    inputs.files compileIntermediateJava
    outputs.dir wrappers

    doLast {
        ant.wrap(srcdir: sourceSets.intermediate.java.outputDir, targetdir: wrappers)
    }
}

// generate sources
task createWrappers() {
    inputs.files compileIntermediateJava
    outputs.dir srcGen

    doLast {
        ant.createwrappers(srcdir: sourceSets.intermediate.java.outputDir, targetdir: srcGen)
    }
}
tasks.compileJava.dependsOn createWrappers

I have the same problem in another subproject as well, now, where we need to compile parts of the code with an older target release:
apply plugin: 'java-library'
sourceSets {
	legacy {
		java {
			srcDirs = ['src']
			include 'com/acme/legacy/**'
			compileClasspath += sourceSets.main.compileClasspath
		}
	}
	main {
		java {
			srcDirs = ['src']
			exclude 'com/acme/legacy/**'
			compileClasspath += sourceSets.legacy.output
			output.dir(sourceSets.legacy.output, builtBy: tasks[sourceSets.legacy.getCompileTaskName('java')])
		}
	}
}
tasks[sourceSets.legacy.getCompileTaskName('java')].sourceCompatibility = 1.6
tasks[sourceSets.legacy.getCompileTaskName('java')].targetCompatibility = 1.6

If I use the 'java-library' plugin, the consumers cannot see the legacy classes and fail to compile. Without the second sourceSet, or with the 'java' plugin, all is well. Do you agree that this is a bug, or is this behaviour intended?


Client: checking equals gzip, not just contains

As discussed, I think it would be better to have a unit test by mocking the connection. Maybe this PR can wait for that test. I don't see it as overly urgent... since the current code works in practice. :)


Add edge attribute visualization

Enable edge visualizations
Closes #182
Stacked bar chart for visualizing categorical attributes
Box and whisker plot for numerical attributes

@JackWilb I need your feedback on architecture.
Right now the edge attributes only visualize if the node attribute has been toggled first.

@JackWilb can you take a look at the recent commit? There are two bugs that I need some help on

[ ] Fixing categorical edge vis (it draws everything black, data is right though)
[ ] Currently only works if node attribute is selected first

@JackWilb I fixed most of the type errors but there are a couple I couldn't figure out. Could you take a look?

I just want to leave a note for myself that I need take a quick look at why the column widths aren't working as we intend

I just want to leave a note for myself that I need take a quick look at why the column widths aren't working as we intend

I think that a new column for the # of children is being added every time a new attribute is added (taking up more space each time)


public-vm: create an api to add generic column permutation checks in the flavor

Overview
For powdr feature equivalence, we want to be able to perform generic column permutation checks at the flavor level.
This api will look something like the current shift api, where we list pairs of columns and use the commitment scheme to produce shift equivalences between them.
Current Shift API
        std::vector<HandleType> get_to_be_shifted() override
        {
            return {
                x,
                y,
            };
        };

        std::vector<HandleType> get_shifted() override
        {
            return {
                x_shift,
                y_shift,
            };
        };

This creates a link between the index in the get_to_be_shifted() vector and the get_shifted() vector. Where get_shifted is a shift of the equivalent index in to_be .
Proposed API
Say that we want column x, y and a,b to be permutations of each other:
        std::vector<std::pair<HandleType, HandleType>> get_column_permutations() override
        {
            return {
                [x, y],
                [a, b],
            };
        };

Behind the scenes, each column will be assigned a unique tag, and be added to a grand product check.
When this column is non empty, we require that there is also a z_perm polynomial available within the flavor.

closed by keshas work


feat: refine mongo

What type of PR is this?

What this PR does / why we need it (en: English/zh: Chinese):

en:
zh:
Which issue(s) this PR fixes:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.hu.guanjun seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

gofumpt -e -d -w -extra . 格式化一下代码，CI 没过


Remove Content-Type header

Fixes #1256

Won’t This make all existing implementations non conforming. Hard to see that as a good thing?

The header is optional. Protocol doesn't specify what should server do with unknown headers.

By removing it from the spec, you make it no longer "optional" but "forbidden" which I think makes all existing implementations that send it suddenly non-conforming.

@puremourning this makes implementations that for decided to send this header for some reason (which?) not supporting latest spec. Which happens with every new spec version, no? It would be nice to answer in spec what implementations are sending this header and what for. If there is no reason for them to send it, and the header is useless, then if they can send it "just in case" is the protocol design mistake that this PR is trying to fix.

Which happens with every new spec version, no?

Not as far as I can tell. So far every change has been backwardly compatible. The spec versions are just for reference; the protocol is not versioned in the sense of sending a version header. Compatibility is maintained by not making breaking changes.
Regarding which clients or servers use this header, then I guess if proposing to change it, there's a real burden on the proposer to prove that it wouldn't cause actual regression. I'm just pointing out that at leat in a technical sense this change makes previously-conforming implementations non-conforming which I think is an error, unless we can prove that it isn't.

So far every change has been backwardly compatible.

There could be a clause that server should ignore unknown headers. This will also make transition to REST API easier if JSON-RPC will appear to be limited/slow. Sounds good?

(off-topic comment regarding JSON-RPC - I would have saved a lot more time if I could use plain curl for developing and debugging server problems)


Investigate Scale logstash health check failures

Investigate Scale logstash health check failures in DC/OS

Our logstash health checks were failing due to backup from ElasticSearch failures. This has been resolved.


GUI release plans?

Hello,
There's an album I really want to get from Bugs, and then I saw this site, and I got excited.
But I want to try it, but I have no understanding of the command.
I want a GUI version, is it impossible?

There will be no GUI.

@Slyyxp
Thank you for the reply.
I'm so sorry, but can I ask you about how to use it?
https://git-scm.com/download/win
I got the program. I even installed it with the <git clone https://github.com/Slyyxp/rsack.git> command,
But I'm not sure how to proceed after that.
I've been searching YouTube hard, but I can't find an example of a situation like mine.

Install Python and follow the installation guide.
https://github.com/Slyyxp/rsack#readme
https://github.com/Slyyxp/rsack/blob/master/README.en.md
Usage example: rsack -u https://music.bugs.co.kr/album/4088247


Add raw data before fixes in gift format

Found an easy way to fix, or at least improve the positions of wrong coordinates.
Use the original coordinates and remove the "noise" (e.g. with signal noise filtering, line fitting methods, ML algorithms) for each axis, since such a large variation should not be possible due to cable length limitations.
import numpy as np
from sklearn.neighbors import KNeighborsRegressor

def fix_it(coords, k=7):
    """ coords of type numpy array with shape (500, 3) """
    idx = np.arange(coords.shape[0]).reshape(-1, 1)
    knr = KNeighborsRegressor(n_neighbors=k, weights='uniform')
    return knr.fit(idx, coords).predict(idx)

coords_raw = np.array([[152, -93, -233], [170, -282, 228], ...])
coords_fixed = fix_it(coords_raw)

Here the raw coordinates are shown and the code above produces the fixed coordinates in gray by considering 7 neighbors in the chain.

This is how the resulting tree looks when the coordinates have been cleaned up.

Here I've left the green coordinates as determined by @thatmattparker light_fixer.py script (using the 95px distance threshold) and just replaced all the outliers with the KNeighborsRegressor estimate.
Would be interesting to know if this would be indeed a better presentation of the ground truth coordinates.


Listbox component improvements

Allow listbox to render items in a tree view. For directory-based entries, this would be beneficial for users.
Add support for headers which allow for sorting, this will be beneficial for creating a data table viewer with full DB2 support.

Will create new component for table viewer.


fix(Tracking): update enum attribute to UnityFlags in collision tracker

The UnityFlags attribute was recently updated but the CollisionTracker
component was still using the old UnityFlag attribute.

Whoops. Thanks for fixing!


AvniSharma.json added

Description
AvniSharma.json  added profile
Related Issues
#561
Changes Proposed

Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

Hi @AVNI-THEEXPLORER  , thanks for your interest in contributing to DevDisplay!
We noticed you adding your profile on #DevDisplay but forgot to star the repo. It's like making an amazing sandwich and forgetting to take a bite! -- I think our repo's feeling a little lonely without your 🤗 So, be sure to star the DevDisplay GitHub Repository. 🌟
💌 This is a mandatory step for all contributors. & It's is the first priority of contribution in DevDisplay 💌
Thanks 👍🏻


Teams firewall rules - Microsoft Security Baseline

The script to create firewall rules does not provide the required outcome when local policy merge is disabled, which is included in the Microsoft Security Baseline for Windows 10.  What is the solution for deploying Teams firewall rules in this situation?

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

ID: 6457d204-d229-9154-28fd-ca9bbb4bddcd
Version Independent ID: f5d82846-41cb-3548-6997-ce23bd8f89c6
Content: Get clients for Microsoft Teams - Microsoft Teams
Content Source: Teams/get-clients.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Unify Kotlin indent_size to 2

Oh no, maybe we don't understand each other 😞
For Kotlin should be as previous 4. I wanted to add XML section to editor config to override default indent 2 to 4

Yeah, that makes sense.


use promise pool to handle batch

Use promise pool to replace the existing batching.
Batching will wait for x promises with Promise.all, this improves efficiency a lot but it also have to wait till the last promise in the batch to resolve, which is not very optimised.
As a comparasion, promise pool will push a new one into the queue whenever there is a promise resolved.
When running locally, this improves the time consumption of a find_affected_files to 50 seconds from 65 seconds.
@supercharge/promise-pool is a simply library that depends on nothing https://github.com/supercharge/promise-pool/blob/main/package.json.

Is this the same performance as a batch size of 1?

No, for detail:
Batch size = 1 => 1.48 minutes
Batch size = 10, with Promise.all => 1.05 minutes
Batch size = 10, with promise pool => 50 seconds

You can follow the instructions to get a new release!

You can follow the instructions to get a new release!

Thanks!

Does that sounds like we need to update the npm token? https://github.com/canva-public/dependency-tree/runs/7892140078?check_suite_focus=true#step:6:47


Suppress nullable warnings

As variables and commands get initialized not in constructor but in seperate methods code analyzer does net recognize it and throw always CS8618 warnings. Partly workaround is adding a MemberNotNull attribute on the OnInitialize method. This is not nice but works at least for all Properties. But it is not possible to do this for the commands as they are in the generated file part. I tried a lot to disable these warning but nothing works, pargam once, SuppressMessage attribute or rules in .editorconfig file for [*.g.cs] files. Could it be an option to add warnings to suppress in the next version ?

Hi @Telespaz , thank you for this issue, and great that you were bringing this topic up.
Yes, indeed, handling nullable reference types in the generated code is still something that need to be improved. Would it be possible for you to create and upload here a small repro project that shows the stuff?
I plan to bring a fix with the next release.

Hi,
thanks for your response. I created a small sample project, hope thats correct, its the first time for me.
https://github.com/Telespaz/mvvmgen-nullable-71
Its generating 2 warnings.

Thank you @Telespaz , that's perfect. I'm on vacation right now, but will look into it in September.

Hi Thomas,
is there an new release planned in the near future? Possibly also a fix for #77 and #74?
Thanks & Cheers

Hi @Telespaz , I'll work on it next week and then let's plan a release in the first week of December.


Fix scheduling

Some problems were found, here is the fix for:

transition times were not correct: Spec is TransitionTime*duration before each operation (test is included)
GetDueTime() of ProductionOrderBom returned wrong time: Spec is return always StartBackwards  (test is included)

Migrated to new develop2 branch


bump gocui fork to check window size

This copies the changes in the awesome-gocui fork of gocui, for waiting until the window is large enough to start the application. Apologies for not being more involved in the awesome-gocui project :P

Codecov Report

Merging #103 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   23.68%   23.68%
=======================================
  Files          13       13
  Lines        1081     1081
=======================================
  Hits          256      256
  Misses        813      813
  Partials       12       12

Continue to review full report at Codecov.

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