Mac intel crash and reported as malware

Bug Description
After installing the intel Beaver-notes-2.2.2.dmg package and opening it the app would crash and be reported as harmful. Note: checked SHA256 and it matched.
To Reproduce
Steps to reproduce the behavior:

Beaver-notes-2.2.2.dmg package for mac intel from github or website
Install
Observe the error.

Screenshots

Desktop (please complete the following information):

Device Specification: Macbook Pro 13-inch 2020 intel
OS: Sonoma 14.2.1
Application Version: 2.2.2

Additional Context
mac report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: D3EC3CC1-6303-49A1-9898-F6FDDBAB31CD
CrashReporter Key:   CE475D55-11BC-18F9-758C-3A50F7D91FF7
Hardware Model:      MacBookPro16,3
Process:             Beaver-notes [71356]
Path:                /Applications/Beaver-notes.app/Contents/MacOS/Beaver-notes
Identifier:          com.danielerolli.beaver-notes
Version:             2.2.2 (2.2.2)
Code Type:           X86-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           com.danielerolli.beaver-notes [12708]

Date/Time:           2023-12-30 16:37:49.2562 -0400
Launch Time:         2023-12-30 16:37:49.0721 -0400
OS Version:          macOS 14.2.1 (23C71)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 1 Taskgated Invalid Signature

Triggered by Thread:  0

Thread 0 Crashed:
0                                 	       0x10f4c1020 _dyld_start + 0
1                                	       0x10c600000 ???

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ff7b38ffbd8
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x000000010f4c1020  rfl: 0x0000000000000200  cr2: 0x0000000000000000

Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0

Binary Images:
       0x10f4bc000 -        0x10f55bfff  (*) <ab17bf63-259b-3b48-8d70-863166a2191c> ???
       0x10c600000 -        0x10c64ffff  (*) <ab3cb5d1-eb3f-388f-8c63-416a00da1aaa>
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

-----------
Full Report
-----------

{"app_name":"Beaver-notes","timestamp":"2023-12-30 16:37:49.00 -0400","app_version":"2.2.2","slice_uuid":"ab3cb5d1-eb3f-388f-8c63-416a00da1aaa","build_version":"2.2.2","platform":0,"bundleID":"com.danielerolli.beaver-notes","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.2.1 (23C71)","roots_installed":0,"name":"Beaver-notes","incident_id":"D3EC3CC1-6303-49A1-9898-F6FDDBAB31CD"}
{
  "uptime" : 71000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,3",
  "coalitionID" : 12708,
  "osVersion" : {
    "train" : "macOS 14.2.1",
    "build" : "23C71",
    "releaseType" : "User"
  },
  "captureTime" : "2023-12-30 16:37:49.2562 -0400",
  "codeSigningMonitor" : 0,
  "incident" : "D3EC3CC1-6303-49A1-9898-F6FDDBAB31CD",
  "pid" : 71356,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-12-30 16:37:49.0721 -0400",
  "procStartAbsTime" :<PHONE_NUMBER>4712,
  "procExitAbsTime" :<PHONE_NUMBER>8925,
  "procName" : "Beaver-notes",
  "procPath" : "\/Applications\/Beaver-notes.app\/Contents\/MacOS\/Beaver-notes",
  "bundleInfo" : {"CFBundleShortVersionString":"2.2.2","CFBundleVersion":"2.2.2","CFBundleIdentifier":"com.danielerolli.beaver-notes"},
  "storeInfo" : {"deviceIdentifierForVendor":"DEF0A659-7E93-59A0-8139-8AD771FE8BD7","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.danielerolli.beaver-notes",
  "crashReporterKey" : "CE475D55-11BC-18F9-758C-3A50F7D91FF7",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" :<PHONE_NUMBER>,
  "wakeTime" : 6323,
  "bridgeVersion" : {"build":"21P2057","train":"8.2"},
  "sleepWakeUUID" : "6FD9D28F-A14F-4448-A067-2B6531DE64F9",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":1285190,"threadState":{"r13":{"value":0},"rax":{"value":0},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":0},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":0},"rbx":{"value":0},"trap":{"value":0},"err":{"value":0},"r11":{"value":0},"rip":{"value":4551610400,"matchesCrashFrame":1},"rbp":{"value":0},"rsp":{"value":140701846207448},"r12":{"value":0},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"frames":[{"imageOffset":20512,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0},{"imageOffset":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>,
    "size" : 655360,
    "uuid" : "ab17bf63-259b-3b48-8d70-863166a2191c",
    "name" : ""
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>,
    "size" : 327680,
    "uuid" : "ab3cb5d1-eb3f-388f-8c63-416a00da1aaa",
    "path" : "\u001f",
    "name" : "\u001f"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=1336K resident=0K(0%) swapped_out_or_unallocated=1336K(100%)\nWritable regions: Total=8192K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8192K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                          4K        1 \n__DATA                              32K        2 \n__DATA_CONST                        32K        1 \n__DATA_DIRTY                        16K        1 \n__LINKEDIT                         384K        3 \n__TEXT                             960K        2 \nshared memory                        4K        1 \n===========                     =======  ======= \nTOTAL                             65.4M       13 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "3135c9faf065ee20169fc73d6539a71614302f41",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6425c75e4327780c10cc4252",
      "factorPackIds" : {
        "SIRI_HOME_AUTOMATION_INTENT_SELECTION_CACHE" : "642600a457e7664b1698eb32"
      },
      "deploymentId" : 240000004
    },
    {
      "rolloutId" : "60356660bbe37970735c5624",
      "factorPackIds" : {

      },
      "deploymentId" : 240000027
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

Model: MacBookPro16,3, BootROM 2<IP_ADDRESS>.0 (iBridge: 21.16.2057.0.0,0), 4 processors, Quad-Core Intel Core i5, 1.4 GHz, 8 GB, SMC
Graphics: Intel Iris Plus Graphics 645, Intel Iris Plus Graphics 645, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 4 GB, LPDDR3, 2133 MHz, Samsung, K4E6E304ED-EGCG
Memory Module: BANK 2/ChannelB-DIMM0, 4 GB, LPDDR3, 2133 MHz, Samsung, K4E6E304ED-EGCG
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x870), wl0: Jul  8 2023 00:34:19 version 16.20.3<IP_ADDRESS>.125 FWID 01-52f5532e
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: T2Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5

I will fix it soon. The error suggests that it might be a malware issue since Apple lacks a method to verify the app's signer, and the failure to open could be attributed to an expired signing certificate. Developing for macOS can be quite a hassle with all these certificate complications. I've recently set up a developer account, and I'm working on creating an updated version of Beaver Notes to address this issue. I appreciate you bringing it to my attention. Thanks for reporting the problem.

I figured as much, although I am bit concern about the crash part since I have allow apps from unknown developer. Looks like an awesome project, hope it can be fixed soon. If you need anything else, happy to help.

Ok, so I've just released version 2.3.0. Feel free to check out the Mac version and report back if you find anything unusual. Also, heads up – I'm working on the Linux version too, so stay tuned for more updates! Thanks a bunch!

I download it and manage it open it without any issue.

I'm happy everything worked out. If you need anything else, I'll be here.


python grpc, using context.is_active() stop service ongoing operation

What version of gRPC and what language are you using?
gRPC 1.14.2, python
What did you do?
Golang grpc has a mechanism for cancel and moving on.link When the client disconnects, the server cancels the ongoing operation and returns. Does python grpc has the same operation? I have observed that is_active can be used to determine whether the client is canceled, but this needs to be judged between time-consuming operations. Is there a better way?

find add_callback, thx


So much vulnerable dependencies while creating a react app

Describe the bug
It appears that there are so many vulnerable dependencies in the created react app,

(Write your answer here.)
Did you try recovering your dependencies?

Yes, but It never worked
(Write your answer here.)
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

Environment Info:

  current version of create-react-app: 4.0.3
  running from /home/gitpod/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

  System:
    OS: Linux 5.13 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (16) x64 Intel(R) Xeon(R) CPU @ 2.80GHz
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.3.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    react-scripts: 4.0.3 => 4.0.3
  npmGlobalPackages:
    create-react-app: Not Found

(paste the output of the command here.)
Steps to reproduce

(Write your steps here:)

go to command line
run `npx create-react-app my app
run yarn audit
see all the vulnerabilities, I got 87

Expected behavior

Have some stable versions of packages and dependencies
(Write what you thought would happen.)
Actual behavior

(Write what happened. Please add screenshots!)
Reproducible demo

Example Project
(Paste the link to an example project and exact instructions to reproduce the issue.)

it's there for months now, it's like they gave up...

it's there for months now, it's like they gave up...

Its so annoying while building an open source project

Will there ever be a new version that fixes all that stuff?!

Will there ever be a new version that fixes all that stuff?!

this is actually serious issue 🧐

Read this please.
https://github.com/facebook/create-react-app/issues/11174


Authz and route config when using RDS

Not sure if this is a question or a feature request or just a whinge really. Basically I'm looking at using RDS at the moment and realised I have an issue with extauthz.
In my current static setup I have something like this:-
static_resources:
  listeners:
    - name: "listener"
      address:
        socket_address: { address: <IP_ADDRESS>, port_value: 8080 }
      filter_chains:
        - filters:
            - name: envoy.http_connection_manager
              config:
                stat_prefix: httpmgr
                http_filters:
                  - name: envoy.ext_authz
                    config:
                      grpc_service:
                        envoy_grpc:
                          cluster_name: ext-authz
                  - name: envoy.router
                route_config:
                  name: web_routes
                  virtual_hosts:
                    - name: all_domains
                      domains: ["*"]
                      routes:
                        - match: { prefix: /service1 }
                          route: { cluster: service1 }
                        - match: { prefix: /service2 }
                          route: { cluster: service2 }
                          # No extauthz for this one
                          per_filter_config:
                            envoy.ext_authz:
                              disabled: true

If I want to use extauthz and differentiate behaviour based on routes my RDS now needs to know that an extauthz filter is in play.
What I really want to do is replace the above config with something like:-
static_resources:
  listeners:
    - name: "listener"
      address:
        socket_address: { address: <IP_ADDRESS>, port_value: 8080 }
      filter_chains:
        - filters:
            - name: envoy.http_connection_manager
              config:
                stat_prefix: httpmgr
                http_filters:
                  - name: envoy.ext_authz
                    config:
                      grpc_service:
                        envoy_grpc:
                          cluster_name: ext-authz
                  - name: envoy.router
                rds:
                  route_config_name: web_port
                  config_source:
                    path: /path/to/xds/rds/rds.yaml

and have an rds.yaml file as follows:-
version_info: "0"
resources:
  - "@type": type.googleapis.com/envoy.api.v2.RouteConfiguration
    name: wf_admin_port
    virtual_hosts:
      - name: wf_admin_port_domains
        domains: ["*"]
        routes:
          - match: { prefix: "/service1" }
            route: { cluster: service1 }
          - match: { prefix: "/service2" }
            route: { cluster: service2 }

To me this is much better but now both of my routes will have the extauthz filter applied to them because the per filter config is no longer there. Although this is file based RDS the same scenario will exist with a grpc based service.
So, in order to ensure the /service2 route doesn't have the extauthz filter applied I need to have the following:-
version_info: "0"
resources:
  - "@type": type.googleapis.com/envoy.api.v2.RouteConfiguration
    name: wf_admin_port
    virtual_hosts:
      - name: wf_admin_port_domains
        domains: ["*"]
        routes:
          - match: { prefix: "/service1" }
            route: { cluster: service1 }
          - match: { prefix: "/service2" }
            route: { cluster: service2 }
            per_filter_config:
              envoy.ext_authz:
              disabled: true

But this now means I have configuration inside the rds file that, I believe, really doesn't belong in there and is remote from the remaining extauthz configuration.
Is there something I'm missing here or this an oversight in the design of the extauthz plugin that requires the configuration to be broken up in this way?
I'm looking at the config for this vs the config for the JWT filter where the rules section allows per route config but keeps it with the other JWT configuration.
EDITED: Provide a bit more clarity on what was being described / questioned.

@rshriram can probably speak to the motivation around per_filter_config best.

Not really stale, would be nice to get some feedback, @htuch @rshriram ?

I think this speaks to the relatively inflexible nature of how Envoy's filter chains work. They are created per-virtual host, so it's not really possible to have distinct filter chains per virtual host without playign tricks like the per-filter config in the RouteConfiguration. Design proposals welcome if this is a serious impediment at your end.


fix(player): listen "active container changed" event to core

Fix a small regression from 0.2.x where player events were not bind after calling player.load() or player.configure() methods with a new source.
Fixes #1749.

Coverage increased (+0.02%) to 78.403% when pulling 0ee6e0d0fe084e33eec530bd839926f594e5822b on kslimani:master into 81e6c1953db3d43c06307394299a5d74673b620e on clappr:master.

maybe some tests would force this error to not happen anymore

@leandromoreira i just realised that a fix (#1778) has already been merged in the dev branch. (i didn't notice the dev branch is now main branch in repository, i assumed it was stil master).

Closing, as already fixed by #1778.


Fix duplicate headers

The righthand nav (outlining the page's headers) breaks when there are duplicate identical headings on the same page. For example, see: https://github.com/pixie-io/docs.px.dev/pull/126

Let's use #131 instead.


Update to Vortice 2.1.32 to fix crash on M360 Intel Integrated Graphics

Eric,
This pull request is needed to fix a crash that is currently occurring on Intel Integrated Graphics (M360 specifically).   The crash occurs due to Vortice 2.1.0 incorrectly setting a uniform buffer pointer to IntPtr.Zero in VSUnsetConstantBuffer (ID3D11DeviceContext.cs).   Recent changes have corrected the issue.

Looks good to me; thanks for the fix.


need native modInverse and powMod function for big integer

What steps will reproduce the problem?
this is a dart file which I implemented modeInverse function with native dart big int
https://gist.github.com/rinick/9f1f285dc1e2a18d2d75
this is a java file that's doing the same thing, except it's using the builtin java modInverse function.
https://gist.github.com/samrg472/8f0bae6d291ef2bc2b95
What is the expected output? What do you see instead?
it takes 650ms to run the java on my pc, and about 8 seconds to run the dart version (11 seconds in checked mode)
To make dart's native big integer really usable for cryptography purpose, I think it's necessary to have these functions implemented in dartvm. not in dart code:
modInverse, powMod, gcd.  it would also be nice if toByteArray and fromByteArray can be implemented too.

Rick,
Thanks for providing a bigint implementation of modInverse.
I am cleaning it up slightly and will add it to the Dart sdk. The gcd function, if considered useful, will follow later.
One question: how urgent is it for you guys to have a bigint implementation of modInverse supporting an even modulus?
Thanks,
Regis

Thanks for the update, @crelier !

@crelier  we don't need even modInverse at the momenet, but the algorithm in my implementation is same as this one
https://gist.github.com/rinick/9f1f285dc1e2a18d2d75
it shouldn't be difficult to implement it.

after this change, native modInverse is about 8 times faster than the custom modeInverse implementation.
the same test now takes about 950-1000ms on same PC,
https://gist.github.com/rinick/ce88242eb6e0a7c25063

Thanks @crelier !

Should we update the CHANGELOG for the SDK?
https://github.com/dart-lang/sdk/blob/master/CHANGELOG.md
cc @kevmoo

Only if these 4 cls are going to be cherry picked for 1.11 (decision is
with Ivan/Kasper/Rico):
https://codereview.chromium.org/1174513004/
https://codereview.chromium.org/1177873002/
https://codereview.chromium.org/1177063002/
https://codereview.chromium.org/1188843004/
Otherwise for 1.12, sure. The sdk change is this addition to class int:
/**

Returns the modular multiplicative inverse of this integer
modulo [modulus].

The [modulus] must be positive.
Throws a RangeError if no modular inverse exists.
*/
int modInverse(int modulus);

By the time we ship 1.12, we should also have a gcd method.
Cheers,
Regis
On Thu, Jun 18, 2015 at 11:30 AM, Seth Ladd<EMAIL_ADDRESS>wrote:

Should we update the CHANGELOG for the SDK?
https://github.com/dart-lang/sdk/blob/master/CHANGELOG.md
cc @kevmoo https://github.com/kevmoo
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/23502#issuecomment-113251184.

right now we are not able to use 1.12,  since it doesn't support the dart2dart compiler. which means all the dart app deployed on our customer's site will have to be open sourced.
We really hope native modInverse feature can be part of 1.11

Ivan,
Please, see Rick's message below regarding the integration of modInverse
into 1.11.
Cheers,
Regis
On Thu, Jun 18, 2015 at 3:05 PM, Rick Zhou<EMAIL_ADDRESS>wrote:

right now we are not able to use 1.12, since it doesn't support the
dart2dart compiler. which means all the dart app deployed on our customer's
site will have to be open sourced.
We really hope native modInverse feature can be part of 1.11
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/23502#issuecomment-113301681.


Final classes

We  were wondering why Money is a Final class?
We would like to extend it.

lol. https://github.com/moneyphp/money/issues/322

Why do you have add and subtract functions on a class that you put on the same level as an integer / string? Anyhow composition it is then...


Merge 23.02 into 23.04

This fixes a very minor merge conflict in the imports for test parquet_write_test.py

build

@revans2 this needs a signoff

build


Add a plugin-specific root directory shortcut path, e.g. "pgn://"

It would be very convenient if plugins developed for the engine could refer to a path that automatically searched relative to the plugin root directory (where the plugin.cfg file resides).
Example:

res://

addons

<plugin_name>

api

script1.gd
script2.gd

Then, in code, it might be....
# script2.gd
extends "pgn://api/script1.gd"
extends "plug://api/script1.gd" # <- using NullConstant's suggested prefix (much better)

Wouldn't a plg://  path work better, though?
pgn sounds a bit too much like misspelled png, but that's very much a subjective thing.
(I'm for the idea itself, just for the record.)

That works for me. In fact, that's actually more appropriate considering res:// is actually the beginning text of resource rather than it being a more jumbled abbreviation like rsrc://

Mentioned in https://github.com/godotengine/godot/issues/6023#issuecomment-238016728 as well.
Some of the replies to that comment:

@Zylann:
I kinda like the idea but the fact other addons are inaccessible might be problematic if your addon can extend/communicate another. What do you mean by "exporting them"?

@reduz:
I still think you guys are worrying too much about something that is not
really a problem. We should simply define some sort of standard naming
convention for projects and that's it

BTW, note that you can just use relative paths in this example:
# script2.gd
extends "script1.gd"

Well, if I understand correctly, that Issue was more about what to actually call the "addons" directory, where to put, if it can be optional, if plugins can be dropped directly into a location OTHER than res://. This Issue therefore should be a completely new topic (which is why I put it here rather than commenting on that one).

BTW, note that you can just use relative paths in this example

Yeah, I suppose I could have mentioned that. I just gave a simple example, but my current use case is a lot more involved than that. It can get pretty irritating having to remember how many ../s I have to use just to get back up to the proper directory if I'm X levels deep in my own plugin root.

@willnationsdev you know that the task of locating assets with paths isn't just a fact about plugins, but the whole resource system in Godot? I'm not sure adding another xxx:// will solve this, and AFAIK this path locating isn't going to change anytime soon. (one very good solution to make assets path-independent is to assign them GUIDs like Unity does, but as I said it won't happen in Godot without massive refactoring).
If you reference something out of res://, then it could be any path on the system, or, simply put, a path accessible from any project. Turns out Godot has user://, which fullfills this use case.

it's not exactly about "solving" the problem. This issue is purely a convenience / usability enhancement. Plugins have no business needing to be aware of the full resource environment for a project (they should only care about their resources). As such, it seems silly for them to have to use a hardcoded path from res:// to get to themselves, regardless of what that path is.

(one very good solution to make assets path-independent is to assign them GUIDs in meta files like Unity does, but as I said it won't happen in Godot without massive refactoring).

@Zylann Funny, I remember reduz talking about this a few days ago...
@willnationsdev This solution would have to work with:

Referring resources in scenes
Referring resources in other resources
Using load() to load the resource
Even worse, using ResourceLoader.load() to load it

All of those functions would have to know which plugin/addon made the request, so they can properly resolve it.
One might work around this requirement by using something like plug_terrain://..., but then it just becomes a shortcut for res://addons/terrain/.

Well creating a shortcut is essentially what this Issue was all about anyway. XD Although, ultimately it would be ideal if the shortcut didn't have to change based on the name of the plugin. I understand why that would be a lot simpler though. :-/

@bojidar-bg yeah I know it's quite a big deal, if Reduz has a solution about this GUID stuff it would be interesting. There could be a way to have them for things assigned in editor (with something like guid://), and still have possibility to import by path, which is typically done in scripts. Also, now resources almost all have .import files, which makes me think of meta files heheh, but maybe I'm just dreaming :p

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


reserved identifier violation

I would like to point out that an identifier like “_ACO_H” does eventually not fit to the expected naming convention of the C language standard.
Would you like to adjust your selection for unique names?

Thank you very much, Markus, @elfring.
It is very kind of you to point out this mistake. I'll fix that immediately.

This fix absolutely deserves the new patch release v1.2.1 .

The release of v1.2.1 had already fixed such noncompliant definition of the macro name problem.
Thanks Markus for your report :D

The release of v1.2.1 had already fixed such noncompliant definition of the macro name problem.
Thanks Markus for your report :D

Thanks for your small source code improvement.
I suggest to reconsider also an identifier like “aco_s__”.

And also, the "__xmm*" identifiers have the same problem too. Thanks Markus :D
I'll fix them as soon as possible.

Will these source code adjustments have got any influence on the definition for an identifier like “ACO_VERSION_PATCH”?

Yep... Bingo! Thank you very much, Markus.

Solved in the release of v1.2.2.


Move split into library

I have looked at a few different implementations and the split is abstracted away.  Wondering if this should be moved into the library so that it automatically happens on router.get and router.add?
Other implementations:
https://pkg.go.dev/github.com/ant0ine/go-urlrouter
https://github.com/koajs/trie-router
https://github.com/pillarjs/routington

Makes sense, add() could take a string. The current add() could be renamed to addPathComponents() or something similar.

That makes sense.


Recommended Style Headers

Issue #49
Check for Author and Theme URI's and recommend if not there.
For Discussion
If the Author URI or the Theme URI labels are not included, that is if the line is not there at all, then this check will not display. This could be avoided by setting stackPtr to 0 with the addWarning message.

Makes sense to set stackPtr to 0

I will move this sniff to #57

Closing for now, we may revisit this in another form in the future.


Add support for cssnext

Hi,
Do you plan to add support for cssnext? More exacly I need http://cssnext.io/features/#custom-media-queries.

Hello,
the short answer is no, an explanation "why" can be found here


Added Config Options to disable Endpoint Categories, Swagger and specific Paths

As ServerTap provides Paths to critical Server Data and Functionality (e.g. /v1/server/ops) I wanted the Option to disable some of them.
I added three things:

Config Options to disable Categories of Paths. You could for example disable all Paths for Worlds.
A Config Option to disable Swagger and Swagger-Docs (could be useful in Production Environments)
A Config Option to disable specific Paths. If I would for example like to disable /v1/server/whitelist but keep the other Server Endpoints I could add only this one to the Blocked-Paths List. Requests will get a 403 - Forbidden returned if the Paths are blocked.

The default Config is designed so everything stays enabled by default. You have to opt-out of everything.

Thank you for the PR! I like this change a lot. The only question I have really is what about paths with dynamic components such as /v1/players/{uuid}? These would seem to be unblockable with this change (except for just blocking the whole "category"). Do you have any ideas about that?
I don't think that scenario is a blocker (pun intended) for merging this change as-is, I just wanted to make sure you had thought about it.

Actually I did not think about that! I will look into that and update this PR when I have a fix!

I switched the whole URL Blocking to Regular Expressions. Now you can block all sorts of URLs and use Wildcards in the config. I commented the code where I thought necessary.
Since it was now obsolete I removed the Category Disabling Part. You can just Block the category using a Wildcard URL Blocker.
Due to API Design there could be an issue with /v1/players/all when you block /v1/players/{uuid} since I did not specifically replace {uuid} with a UUID-Regex-Pattern. Of course I can still add that if wanted, but that would allow lookups for incorrectly formed UUIDs so I left that out for now. Can add that tho if wanted.
The "correct" solution would be to change the API to use /v1/players/all and /v1/player/{uuid} which would prevent the conflicts in the first place. Maybe a thing for an future API v2 ;)

Nice, thanks - I'll look at this at some point this weekend or Monday. The code looks good to me, just want to test it out!

Hey, are there any updates on the state of this PR or #217?

Sorry, haven't had a chance yet! But soon hopefully


German nationalist party

Kuemmelmonster
Concerning parties in Germany: NPD has populist as ideology, but it should be nationalistic (like commented in code). There is however a generic nationalistic party without name.
simsulla
Nationalist parties is actually a "bucket" for special type parties - in most cases umbrella liberation parties, that dissolve and become ideologist once liberation is achieved. The name is in some cases misguided.
Kuemmelmonster
The nationalist thing: I see where you are coming from, there are however overwhelmingly German pops in Germany at the East vs. West start where it's relevant. The generic party actually exists and hurts immersion here (with 40+% at the beginning).
simsulla
Ok, so 1946 the German nationalists probably should be replaced with some party that was active in Germany during the occupation, advocating German freedom. Maybe Adenauer's Christian Democratic Union (CDU)?
Kuemmelmonster
The modern Germany has viable populist parties like AFD that should take the spotlight (both in the real world and in the game), so the NPD really has no grounds for existence once they are founded if they, too, compete for the populist base.

Will end NDP 2013.2.6 so that AfD takes over from that time as populist party, even though NDP still exists. CDU will be the opposition umbrella party during the allied occupation.


Passing User Data from HTML to chat bot

hi,
I am trying to pass few user specific value to bot framework.
except 'userID' I am not able to pass few other important user data to chat bot framework.
In other directline i can send some thing like this
user: { id: 'test', name: 'john doe', region: 'US'}
I may have miss some parameter, can you suggest is there anyway i can send it using this directline code.
Also where can i find the list of parameter which can be passed from HTML to chat.

userID, username and locale can be indicated within the rending of the Web Chat object.
window.WebChat.renderWebChat({
  username: 'John Doe',
  userID: 'test',
  locale: 'en-US',
}, document.getElementById('webchat'));

You can take a look at #1724 for more information. This isn't on /latest/ bits yet so you will need to use /master/ Hope that helps!


bug fixed #111

test and fixed for bug #111
the method whit  @BeforeClass was repeated in each method
from me and @JIGD

Thanks for the fix and the test!

We're glad to help!


Embedded graphics 0.6

Supersedes #163
Itsy and Feather need testing.. Make sure I didnt fill a primitive that was supposed to be only stroked or something too.

Feather looks good to me. Anyone else have itsy? @twitchyliquid64 ?

I have em Itsy's but no display, so not sure that testing them would be much better than checking that it compiles.

Right, ok. I guess I'll yolo it then.


Implement correct orthographic projection

This fixes gestures in InkWell and WebView (#6080).

Doc comment updated to explain that.


--csv

speedtest-cli --server 17392 --secure --share --csv
isnt working
without the --csv its working
regards

"isn't working" is not a sufficient explanation of the problem for anyone to hope to resolve this.
When I run that command, I get:
$ speedtest-cli --server 17392 --secure --share --csv
17392,myLoc managed IT AG,Dusseldorf,2018-08-24T14:46:34.062296Z,8448.92267704374,198.072,56386845.420030974,26554310.293668218,http://www.speedtest.net/result/7578141725.png,<IP_ADDRESS>

Which is the expected functionality.


Added deps task to task all

Executing task "all" now executed the task "deps" too. A simple quality of life improvement.

Stale PR, closing.


IPoolable is in global namesace

IPoolable is in global namesace. It conflicts with another code.

Done.


Support FM 21 Themes

When the ability to copy a Theme to the clipboard was added (in FileMaker 19?), what was copied to the clipboard was unlike other object types - it had no data class, and AppleScript's "clipboard info" command saw nothing. Support was added in FmClipTools to handle this odd behavior. Apparently, in FileMaker 21, that behavior was changed to be more like the other objects.
So, FmClipTools will need to be updated to check for either format, and it may not be obvious which destination format is desired - the script may need to ASK by default. The XML representation seems to be identical between v20 and v21.
Additional info:
Clipboard type in 19 & 20: dyn.agk8u
Clipboard type in 21: dyn.ah62d4rv4gk8zuxnyma

More details:
FmClipTools currently works with the way FM 19 and 20 do them, which is UNLIKE all the normal snippet types (Field/CustomFunction/BaseTable/Script/Step/ValueList), which have a proper data class and data in the clipboard that AppleScript can see, and also unlike Custom Menus and Custom Menu Sets (straight XML). Instead, it has to use the AppleScript-Objective-C bridge to extract the clipboard, instead of AppleScript's native (and simpler) get the clipboard as… command.
But, in FM v21, Claris fixed that so now Themes behave properly. Of course, that means I need to update FmClipTools to properly support Themes from v21.
Then, the question will be when converting from XML to FM objects, FmClipTools cannot know which version(s) of FM you want to target. One option would be to just ask the user, and then remember that (perhaps make a plist file for FmClipTools). Having a user preference file might relate to the discussion in Pull Request https://github.com/DanShockley/FmClipTools/pull/14.
Anyone following this project have thoughts?

a plist file for FmClipTools
this sounds like a good way to go to me.


License?

Hi!
I've found this repository via your StackOverflow answer. The ZoomableScrollView looks to be the best-working solution I've found so far for a nice zoomable image view!
So I'd like to reuse it. But I haven't seen a license file or header anywhere, so not sure what license this code is under. It would be good if you could clarify!
GitHub has a license chooser here: https://github.com/jtbandes/SpacePOD/community
(I personally like MIT for its simplicity and openness. But of course it's your choice!)

Thanks for your interest! Just added the MIT license. I'd love to hear what you end up making with it!


fix(backend): allow a custom API root for backend

In case of a self-hosted Gitlab, the API request to get the default branch always call gitlab.com.
This commit allow to pass a custom API root from the config to the API call.
Fixes #7168

[x] I have read the contribution guidelines.

@JbIPS could you add this new setting to docs also? the best way is to submit a PR here: https://github.com/decaporg/decap-website

Actually, the apiRoot setting is not new (https://decapcms.org/docs/backends-overview/), it was just not used for the calls on GitLab branches.

Hi @JbIPS. Thanks for the effort.
I'd like to use decap with self hosted Gitlab and blocked by this issue also. Can we see the fix in a release any time soon?

Hi @dbtek! Did you add branch: master in your config? It is a valid workaround for now

Hi @JbIPS. Yeah I found it by accident 😊. It seems working now. Thanks!


Abt keylogging & persistency

I connected to the victim machine but when I use keylog_start and persist command nothing was happened I also check the registries and I cannot find anything, what I tried to ask is these features are working or I could not make it work?

Hi,
I'm glad you enjoyed recreating the project.
I think you are facing such a problem because your machine and the target
machine are not on the same network.
For the backdoor to work, you have to connect with a machine that is on the
same network.
Hope this helps.
On Sun, 9 Jan 2022 at 02:23, emreekmekcioglu1 @.***>
wrote:

I connected to the victim machine but when I use keylog_start and persist
command nothing was happened I also check the registries and I cannot find
anything, what I tried to ask is these features are working or I could not
make it work?
—
Reply to this email directly, view it on GitHub
https://github.com/raunvk/stealthware-backdoor/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQQQZV4ACFLJ7HU2773JQB3UVCP4BANCNFSM5LRAPCDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Could the TCK use auth0 instead of Nimbus JWT?

While there is nothing wrong with Nimbus Jose JWT, it is quite intrusive bringing its own JSON processing library (minidev). The KumuluzEE implementation uses auth0 java-jwt and e.g.:
JWTPrincipal demonstrates, Auth0 works perfectly fine with the JSON-P instead of its own library.

As it is just used in the TCK, and thus every implementation can use whatever library it wants, what is the point in changing it then (except when the quality isn't good enough)

It would reduce the overhead of multiple different JSON libraries, but it is not such a huge priority compared to getting the Parent POM in line so this TCK and others behave more consistently.

By the way, nimbus-jose-jwt is using Maven version ranges and if I clone the repo and run mvn clean install I get:

[ERROR] Failed to execute goal on project microprofile-jwt-auth-tck: Could not resolve dependencies for project org.eclipse.microprofile.jwt:microprofile-jwt-auth-tck:jar:1.1-SNAPSHOT: Could not find artifact commons-io:commons-io:jar:2.7-SNAPSHOT -> [Help 1]

I'm not sure if there's something wrong with my local config though...

@mkouba I encountered the same issue. I think if we bring in a dep into an eclipse project it would be to avoid this. Unfortunately the only way to handle seems to changes to the nimbus-jose-jwt project itself.

You can fix the version of nimbus-jose-jwt by defining it within the
dependency management section of Maven
But it is indeed an issue that nimbus-jose-jwt works with ranges.
On 29 March 2018 at 15:20, Heiko Braun<EMAIL_ADDRESS>wrote:

@mkouba https://github.com/mkouba I encountered the same issue. I think
if we bring in a dep into an eclipse project it would be to avoid this.
Unfortunately the only way to handle seems to changes to the
nimbus-jose-jwt project itself.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-jwt-auth/issues/72#issuecomment-377232610,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABK96e3DpQ7FwGJZ3sDxq79HAzQZ5isnks5tjN-NgaJpZM4S4zId
.

Hi All, would you object if we have Jose4J for the tests ? (We use it internally, but it is not really relevant, Jose4j is a trusted and slim library, IMHO it can definitely produce a more compact (test) JWT generation API, telling after replacing an internal test Nimbus JWT code with the equivalent Jose4j one)

Jose4J is a bit more complete in supported features (like claim checks) but API is not that clear as Nimbus JWT. ( personal opinion maybe)
But I don't like the usages of artifact version ranges in Nimbus JWT.

@rdebusscher sure, it is only to support the TCK (use an independent tool to generate a token) as we'll go ahead with out generation API anyway, so whatever is simpler from that angle will should work :-). I might give it a go and create PR later and will CC you.

Working on the PR to update it to jose4j


Does not support syntaxes like hub init -g DIRECTORY

Git itself supports syntax like git init DIRECTORY, which initializes the repo in the specified directory (possibly after creating it).
But as for hub, hub init -g always takes cwd as the path of newly initialized repo. So, in cases like hub init -g DIRECTORY, the hub command, which is supposed to function in the specified directory, still stays in the current working directory, and is likely to raise an error like this:
fatal: Not a git repository (or any of the parent directories): .git

Good catch! Thanks for reporting

@Arnie97 Great find! I've attempted a fix in https://github.com/github/hub/pull/791. What version of hub you're running? The Ruby Hub (1.x) has similar issue. The fix is on the Go Hub so you will see the fixes in the next 2.2.0 release. You could also try out brew install --HEAD hub if you can't wait :wink:

@jingweno I'm quite new to hub, so I'm using hub 2.2.0-rc1. As a matter of fact, I was not aware of hub until a glance through the template boxen by github last week.


Continuous Service Worker errors

Noticing this when switching documentation versions. Had 500+ and counting errors

couldn't reproduce.


Change the name?

Tabular Validator is not a great - it is not even that description seeing as we are actually working towards validation (or, linting) and optional transformation (or, cleaning) of data.
I don' have any suggestions right now, just putting it out there.

Here's a late night braindump:

tablecheckers
tabcheck
tablecleaner
csv-proofreader
csvexam
tablefixer
tabfix
tablemechanic
bobbytables

We've decided on "Good tables".
Good tables == Good times!


Sets an X.509-accurate issuer representation

The method we were using to extract the X.509 issuer description wasn't accurate. This was causing SigningCertificate errors with certificates that had other than the common elements.
This PR sets the X.509-accurate issuer representation using the method described in the relevant docs.
I would love to add a test for the cases affected by these changes, but for that we would need a test certificate with non-common elements, which I'm not sure what's the best way to get (feedback welcome!).

Would one of the test certificates not have some issuer data to check?

I'm afraid not. The only certificate I found affected by these changes is the production one.


Type check on array of numbers fails

Sorry about the issue#10, accidentally closed it!
var chai = require('chai');
require('chai-things');

chai.should();

var numArray = [1,2,3,4,9882];

describe('array', function () {
    describe('elements', function () {
        it('should all be numbers', function () {
            return numArray.should.all.be.a('number');
        });
    });
    describe('first element', function () {
        it('should be a number', function () {
            return numArray[3].should.be.a('number');
        });
    });
});

Mocha run results:
array
  elements
    1) should all be numbers
  first element
    ✓ should be a number

1 passing (9ms)
1 failing

1) array elements should all be numbers:
   AssertionError: expected [ 1, 2, 3, 4, 9882 ] to be a number

Unfortunately, using Chai-Thing with a property function is not possible at the moment, and I'm unsure whether it can be fixed easily with the current Chai design. See #4, #9, and https://github.com/RubenVerborgh/Chai-Things#known-issues.

What's the difference between using:
.should.all.match(/.*/);
and
.should.all.be.a('number')
?

That works, because the test is executed on the array, not on the elements, and (the stringified version of) the array coincidentally also matches /.*/. It would not work with /^\d+$/.

Makes sense. Thank you.


Add Glue to the permissions needed

to: @airbnb/streamalert-maintainers
related to: Missing documentation
resolves: Installation permissions
Background
Glue is needed on a manage.py init and is missing from the documentation
Changes

Added Glue on the documentation

Testing
N/A

@ricardf-cmp  - please update this for the release-3-0-0 branch. we have a freeze on master right now

@ricardf-cmp pinging again about updating this PR please

Coverage remained the same at 96.133% when pulling f825e8f610923127f523e4c4ea6006d249396ed8 on ricardf-cmp:patch-1 into dc973b29a59ad6d5f3dcc42f5cec7a6d3a6e7f9b on airbnb:release-3-0-0.


Design of Code Demo buttons

Let's explore adding interactive buttons to our code previews.
Here's some background. In #622, we fixed a problem with the page-alert component's preview. When the page-alert is closed, the reader had no way to bring it back into the preview without reloading the page. So we added a "Reset demo" button that could bring the page-alert back.

First, do we like this approach from a design perspective? Do we want to do anything differently visually?
Second, are there other buttons that we might want to add? For example, we might consider adding buttons that could change the viewport of the preview, so the reader could see the mobile version as well.

Change language dropdown button

We built a language button for another project (for PDFs) & have some work on translated content we could merge into this idea if needed.

Storybook also has some UI toggles for accessibility - but (FWIW) not sure rebuilding Storybook in our UI would be a good idea.


I want to cut and paste data of txt file to new number of files.

consider data is like:
The Hello World project is a time-honored tradition in computer programming. It is a simple exercise that gets you started when learning something new. Let’s get started with GitHub!
GitHub is a platform for hosting and collaborating on projects. You don’t have to worry about losing data on your hard drive or managing a project across multiple computers — sync from anywhere. Most importantly, GitHub is a collaborative and asynchronous workflow for building software better, together.
This guide walks you through the GitHub Essentials: Repositories, Branches, Commits, Issues and Pull Requests.
With these skills, you’ll go far. And with this hello-world repository you’ll have a place to store ideas (aka future repositories, like jlord/hello-world), resources or other general notes, even discuss things with others (like holman/feedback).
now i want to store these 4 paragraphs in 4 individual txt files.
please help me.

I want to create the files for content between each blank line.


Changelog for new cycle detection behavior switches.

Also modifies spec to identify new switches.
See DRuntime pull request: https://github.com/dlang/druntime/pull/1668

Rebased onto stable (sorry for force pushing to your branch).

Thanks. I didn't know we had a stable branch here!


Question: How to make cereal recognize a non-standard type

I am trying to apply Cereal to a non-standard type, which is trivially copiable binary blob. The type is in an external library that cannot be modified. I am hoping to serialize using a binary archive. How should I start?

Hi @JaeseungYeom - you can define an external serialization function for the class. See here for details: http://uscilab.github.io/cereal/serialization_functions.html

It relies on that the class is composed of arithmetic type members, which are already recognized by cereal. Can it be done for a non-standard type?

I am trying the following. Can this be a reasonable approach?
namespace cereal
{
  //! Saving for POD types to binary
  template<class T> inline
  typename std::enable_if<!std::is_arithmetic<T>::value &&
                          std::is_trivially_copyable<T>::value,
                          void>::type
  CEREAL_SAVE_FUNCTION_NAME(BinaryOutputArchive & ar, T const & t)
  {
    ar.saveBinary(std::addressof(t), sizeof(t));
  }

  //! Loading for POD types from binary
  template<class T> inline
  typename std::enable_if<!std::is_arithmetic<T>::value &&
                          std::is_trivially_copyable<T>::value,
                          void>::type
  CEREAL_LOAD_FUNCTION_NAME(BinaryInputArchive & ar, T & t)
  {
    ar.loadBinary(std::addressof(t), sizeof(t));
  }
}

The above does not work. It worked only for the type I wanted to handled which cereal did not recognize. However, it also caused conflict with existing type handling in cereal. Eventually I removed the template parameter T and created the load/save pair for each type that cereal does not recognize. These types are, for example, RNG engines, distribution classes, and data structures in external libraries. I wanted to handle them as template types in my application. Not only that I cannot modify and add friendship declaration in these class definitions, they, say RNG engines, have very different set of non-public members while serving the same purpose and exposing the same interface.


Add dev flag to install command

Updates the composer require command to use --dev and avoid extra an extra prompt
Current state
The command in the docs generates the followng output:
/var/www/html/laravel-solutions $ composer require spatie/laravel-error-solutions
The package you required is recommended to be placed in require-dev (because it is tagged as "dev") but you did not use --dev.
Do you want to re-run the command with --dev? [yes]?

Proposal
Once the package is tagged as dev using the flag will prevent an extra user prompt

Thanks!


Disable/Remove "Reason media-empty-warning"

Hi,
I am using a DELL MFP 2335dn printer with CUPS 2.2.10-6+deb10u2 and still searching how to disable/remove this media-empty-warning. When printing from IOS devices I do get a pop-up for every print job due to the out-of-paper warning (which is not the case). After pressing continue the print job is being processed. Any idea? Any solution?
A.

There is no way to disable this, but the state keyword means that one or more trays are empty.


When taking screenshots only the first integration test in a group can be observed by watching the browser

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I use Linux Fedora and Visual Studio Code, not sure if that matters.

Create a sample project in your IDE by using the default template, which will be the Counter App.

Add an integration test according to the official documention into the sample project.

Duplicate the single test in the group and give each test a unique name. Modify the second test to tap two times on the add button and change the expectation for the check below to verify that the counter was incremented by 2. Optionally add a sleep time of a few seconds to easier observe the test run later.

Start the integration test like described for Flutter Web. During its run you should be able to see that the first test starts, increments the counter by 1 and ends. Then you should see that the second test starts, increments the counter by 2 and ends.

In test_driver/integration_test.dart replace the line Future<void> main() => integrationDriver(); with:

Future<void> main() async {
  await integrationDriver(
    onScreenshot: (
      String screenshotName,
      List<int> screenshotBytes, [
      Map<String, Object?>? args,
    ]) async {
      final File image =
          await File('screenshots/$screenshotName.png').create(recursive: true);
      image.writeAsBytesSync(screenshotBytes);
      return true;
    },
  );
}

Basically I followed these instructions, but I tried many different other things, which all had the same unwanted results as explained below.

In integration_test/app_test.dart add this to your test:

final binding = IntegrationTestWidgetsFlutterBinding();
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

At the end of the first test add await binding.takeScreenshot('test-screenshot 1'); and at the end of the second test add await binding.takeScreenshot('test-screenshot 2');

Start the integration test like before.

Expected results
I expect that I can observe the two tests being executed while watching at the browser which has been automatically started. This means that the pages need to be refreshed for each test being executed.
I expect that the log output is basically the same.
And I expect that the taken screenshots are different.
Actual results
During the test run you can only watch the first test in the browser. After it finishes the page in the browser does not change. But when you look at the screenshots in the folder 'screenshots' each one is different. On one screenshot the counter was incremented by 1, on the other by 2.
Also in the console output you can only see that the first test has been started. But for subsequent tests it is logged to the console only after they finished, and in a different format, JSON.
My expectation is that I can observe multiple tests being executed in the browser also when screenshots are taken. And I also want to see in the log which test has been started when it has been started, and for each test in the same format, not a mix of plain text and JSON for different tests.
I am not sure if I did something wrong or if there is a bug somewhere in Flutter?
Code sample
Future<void> main() async {
  await integrationDriver(
    onScreenshot: (
      String screenshotName,
      List<int> screenshotBytes, [
      Map<String, Object?>? args,
    ]) async {
      final File image =
          await File('screenshots/$screenshotName.png').create(recursive: true);
      image.writeAsBytesSync(screenshotBytes);
      return true;
    },
  );
}

final binding = IntegrationTestWidgetsFlutterBinding();
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

await binding.takeScreenshot('test-screenshot 1');
await binding.takeScreenshot('test-screenshot 2');

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Expected when taking screenshots:
Debug service listening on ws://<IP_ADDRESS>:45085/NISgnYH2LwQ=/ws
00:00 +0: end-to-end test 1 tap on the floating action button, verify counter 1
00:01 +1: end-to-end test 1 tap on the floating action button, verify counter 1

Actual when taking screenshots:
Debug service listening on ws://<IP_ADDRESS>:42169/0jlW7pMjjxE=/ws
00:00 +0: end-to-end test 1 tap on the floating action button, verify counter 1-1
result {"result":"true","failureDetails":[],"data":{"screenshots":[{"screenshotName":"tap on the floating action button, verify counter 1","bytes":[]},{"screenshotName":"tap on the floating action button, verify counter 2","bytes":[]}}}

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on Fedora Linux 38 (Workstation Edition) 6.4.4-200.fc38.x86_64, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
[!] Android Studio (version 2023.1)
    ✗ Unable to find bundled Java version.
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[✓] VS Code (version 1.80.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Hi @pandoras-toolbox. Thanks for filing this issue. Can you share the content of your app_test.dart in your integration_test folder?
Few suggestions:

Try adding await binding.convertFlutterSurfaceToImage(); after first instance of pumpAndSettle()

app.main();
await tester.pumpAndSettle();
await binding.convertFlutterSurfaceToImage();
await tester.pumpAndSettle();

Then run flutter test integration_test --update-goldens for the test framework to create the missing golden files, instead of comparing them and then go ahead to run the usual tests.

Thank you.

I tried what you wrote above, same result.
I do not use image comparision checks. The purpose of the screenshots is for documentation, as part of a test report.
I maybe can provide a full code example in a Github repository when I get green light from our security officer.

Hi @pandoras-toolbox. You can create a separate minimal code sample that produces the issue and share here.

@dam-ease : Here is the minimal sample, I put it into a repository:
https://github.com/pandoras-toolbox/counter_app
Run it with:
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d chrome
Then you will see the undesired behavior during test run what I wrote about.
Is it a bug on my side or on Flutter side?

Thank you @dam-ease for trying it out.
I did not try it on a mobile device, but i will, although the app which I need to test is not meant for mobile but for web. That means it would not help me if it works for mobile.
I know that the screenshots are taken accurately. My issue is that, when running the tests on Chrome, and when you observe the test run by watching at the Chrome window, the content of the browser does not update after the first screenshot is taken.
I would like to observe the test run locally by watching at the browser. But I cannot if screenshots are taken, or only until the first screenshot is taken. This is my main issue. When you tried it out on Chrome, could you reproduce that?

Yes, observed this as well. Thanks for your response.
Video

https://github.com/flutter/flutter/assets/53122008/4d1a3915-1546-4334-b726-78bbfff5c28f

Code Samples

app_test.dart
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:counter_app/main.dart';

void main() {
  final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();
  group('end-to-end test', () {
    testWidgets('tap on the floating action button 1 time, verify counter',
        (tester) async {
      await tapAndCheck(binding, tester, 1);
    });
    testWidgets('tap on the floating action button 2 times, verify counter',
        (tester) async {
      await tapAndCheck(binding, tester, 2);
    });
    testWidgets('tap on the floating action button 3 times, verify counter',
        (tester) async {
      await tapAndCheck(binding, tester, 3);
    });
  });
}

Future<void> tapAndCheck(IntegrationTestWidgetsFlutterBinding binding,
    WidgetTester tester, int tapCount) async {
  // Load app widget.
  await tester.pumpWidget(const MyApp());

  // Verify the counter starts at 0.
  expect(find.text('0'), findsOneWidget);

  // Finds the floating action button to tap on.
  final Finder fab = find.byTooltip('Increment');

  for (var i = 0; i < tapCount; i++) {
    // Emulate a tap on the floating action button.
    await tester.tap(fab);
  }

  // Trigger a frame.
  await tester.pumpAndSettle();

  // Verify the counter increments by 1.
  expect(find.text(tapCount.toString()), findsOneWidget);

  // Take screenshot (not for image comparsion but for documentation).
  await binding.takeScreenshot('test-screenshot $tapCount');

  // Wait a bit to observe the result while the tests are running.
  await Future.delayed(const Duration(seconds: 2));
}

integration_test.dart
import 'dart:io';

// We need to import this for the screenshots.
import 'package:integration_test/integration_test_driver_extended.dart';

// This would be the line of code without doing screenshots.
// Future<void> main() => integrationDriver();

Future<void> main() async {
  await integrationDriver(
    onScreenshot: (
      String screenshotName,
      List<int> screenshotBytes, [
      Map<String, Object?>? args,
    ]) async {
      final File image =
          await File('screenshots/$screenshotName.png').create(recursive: true);
      image.writeAsBytesSync(screenshotBytes);
      return true;
    },
  );
}

stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.10.6, on macOS 13.0 22A380 darwin-arm64, locale
    en-NG)
    • Flutter version 3.10.6 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (2 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.2)
    • 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.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 (mobile)          • 1A122DE2-0CAB-4C3E-A395-691BF27D626F • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 115.0.5790.114

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

• No issues found!

[✓] Flutter (Channel master, 3.13.0-11.0.pre.24, on macOS 13.0 22A380 darwin-arm64, locale en-NG)
    • Flutter version 3.13.0-11.0.pre.24 on channel master at /Users/damilolaalimi/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0ff68b8c61 (5 hours ago), 2023-07-28 04:09:52 -0400
    • Engine revision cfa5427dc4
    • Dart version 3.2.0 (build 3.2.0-11.0.dev)
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.2)
    • 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.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 (mobile)          • 1A122DE2-0CAB-4C3E-A395-691BF27D626F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 115.0.5790.114

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

• No issues found!

Hi @dam-ease,
Facing similar issue. Can you please update me if you have any solution for it
Thanks

Yes, observed this as well. Thanks for your response.
Video
Code Samples
app_test.dart
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:counter_app/main.dart';

void main() {
  final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();
  group('end-to-end test', () {
    testWidgets('tap on the floating action button 1 time, verify counter',
        (tester) async {
      await tapAndCheck(binding, tester, 1);
    });
    testWidgets('tap on the floating action button 2 times, verify counter',
        (tester) async {
      await tapAndCheck(binding, tester, 2);
    });
    testWidgets('tap on the floating action button 3 times, verify counter',
        (tester) async {
      await tapAndCheck(binding, tester, 3);
    });
  });
}

Future<void> tapAndCheck(IntegrationTestWidgetsFlutterBinding binding,
    WidgetTester tester, int tapCount) async {
  // Load app widget.
  await tester.pumpWidget(const MyApp());

  // Verify the counter starts at 0.
  expect(find.text('0'), findsOneWidget);

  // Finds the floating action button to tap on.
  final Finder fab = find.byTooltip('Increment');

  for (var i = 0; i < tapCount; i++) {
    // Emulate a tap on the floating action button.
    await tester.tap(fab);
  }

  // Trigger a frame.
  await tester.pumpAndSettle();

  // Verify the counter increments by 1.
  expect(find.text(tapCount.toString()), findsOneWidget);

  // Take screenshot (not for image comparsion but for documentation).
  await binding.takeScreenshot('test-screenshot $tapCount');

  // Wait a bit to observe the result while the tests are running.
  await Future.delayed(const Duration(seconds: 2));
}

integration_test.dart
import 'dart:io';

// We need to import this for the screenshots.
import 'package:integration_test/integration_test_driver_extended.dart';

// This would be the line of code without doing screenshots.
// Future<void> main() => integrationDriver();

Future<void> main() async {
  await integrationDriver(
    onScreenshot: (
      String screenshotName,
      List<int> screenshotBytes, [
      Map<String, Object?>? args,
    ]) async {
      final File image =
          await File('screenshots/$screenshotName.png').create(recursive: true);
      image.writeAsBytesSync(screenshotBytes);
      return true;
    },
  );
}

stable, master flutter doctor -v

Hi @dam-ease , I am experiencing a similar issue. Can you help me,please
This is my code:
`final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();
group('Login feature tests:', () {
testWidgets(
'login failure',
(tester) async {
app.main();
    await tester.openLoginPage();

    final emailTextField = find.byType(AppTextField).first;
    await tester.enterText(emailTextField, 'tester');
    await tester.pumpWithDuration(1.seconds);

    final passwordTextField = find.byType(AppTextField).last;
    await tester.enterText(passwordTextField, '12345');
    await tester.pumpWithDuration(1.seconds);

    await tester.dismissOnScreenKeyboard();

    final loginButtonFinder = find.byType(ElevatedButton);
    expect(loginButtonFinder, findsOneWidget);
    await tester.tap(loginButtonFinder);
    await tester.pumpWithDuration(2.seconds);

    await tester.takeScreenShot(binding: binding, fileName: 'login/login_failure.png');
    await tester.pumpWithDuration(1.seconds);
  },
  skip: false,
);

testWidgets(
  'login successful',
  (tester) async {
    app.main();

    await tester.openLoginPage();

    final emailTextField = find.byType(AppTextField).first;
    await tester.enterText(emailTextField, 'tester');
    await tester.pumpWithDuration(1.seconds);

    final passwordTextField = find.byType(AppTextField).last;
    await tester.enterText(passwordTextField, '123456');
    await tester.pumpWithDuration(1.seconds);

    await tester.dismissOnScreenKeyboard();

    final loginButtonFinder = find.byType(ElevatedButton);
    expect(loginButtonFinder, findsOneWidget);
    await tester.tap(loginButtonFinder);
    await tester.pumpWithDuration(2.seconds);

    await tester.takeScreenShot(binding: binding, fileName: 'login/login_successful.png');
    await tester.pumpWithDuration(2.seconds);
  },
  skip: false,
);

});`

After taking the first photo, the test stopped and crashed with an error:


Change Marker icon

I used to define new types of marker with Leaflet.Draw, each one with different options, that feature was very useful and scalable, It will be great to implement a similiar mechanism in this library.
Actually I'm searching a way (elegant) to set a new marker icon for markers drawn by user.
Any suggestion?

mhh I understand what you want. This would be possible with custom options (including CSS classes and icon images).
Can you post a screenshot about the dialog that leaflet.draw uses so you can pass options during draw (without coding)?

@codeofsumit I didn't get what you asked me. I don't use Leaflet.Draw anymore, because it doesn't work well for touch event instead this library works very well on mobile device.
I just say that was good idea to extends Marker class to realize custom Marker instance.
Now I just want to apply a new icon for a marker, I tried to do this, but doesn't work:
var options = { icon: 'img/newicon.png' } map.pm.enableDraw('Marker', options);

ahh ok sorry I misunderstood. I'll implement it as soon as I find the time (hopefully this week) 👍  thanks for the suggestion!

you can soon do this via
// optional options for line style during draw. These are the defaults
var options = {
    // custom marker style (only for Marker draw)
    markerStyle: {
        opacity: 0.5,
        draggable: true,
    }
};

// enable drawing mode for shape - e.g. Poly or Line
map.pm.enableDraw('Marker', options);

you can try it out with the develop branch. I'll implement one more feature before I release

Document

@codeofsumit The above solves for when you call map.pm.enableDraw('Marker', options); manually in code. But what about when a user clicks on the 'Draw Marker' button from the map?

I think you can pass this to global options now (check the docs) and it will apply also to the toolbar.
Can’t test right now I’m on the phone


Suggestions for optimization

Configuration

added confluenceCreateSubpages parameter to be able to switch off creation of subpages
changed input parameter into a list of files
one can now also configure a parent page by file

asciidoc2confluence

adopted new config parameters
added more log output
added check whether 'ancestorId' is provided, if not a new master page will be created

README

switched from Markdown to Asciidoc
added section about usage with Maven and GMavenPlus

FIXME

added the scriptBasePath variable which now MUST be set as otherwise the asciidoc2confluence.groovy will not be able to find the Config.groovy file. Couldn't find a better way to retrieve the path to the Config.groovy file. Suggestions and optimizations are very welcome!

Wow. Thanx for the rebase...!

Thanks for all your effort on the script, it works like a charm. I see 2 more tasks to make the script even more convenient to use

Think about proper packaging + versioning so that people can include the script as a dependency into their build
(will come in as we discuss 1.): Once we have a package, we need to find a better way to handle the configuration

I love the idea of this script, though I wonder if it would be possible to align efforts with https://github.com/asciidoctor/asciidoctor-confluence. More ideas on where we are headed with this script are outlined in the following post: http://discuss.asciidoctor.org/Asciidoctor-CMS-publisher-td3022.html
cc: @gscheibel

@mojavelinux : Good Idea! When I started with this script I wasn't aware of the asciidoctor-confluence plugin, but I have no problem to drop this project for an equal asciidoctor plugin. Let's see - my ruby knowledge is limited at the moment... created issue #5 to align efforts

:+1:
If you know Groovy, you know Ruby...it really is very similar. That's basically how I figured it out.


tikv_util: use tokio runtime as FutureWorker runner

What problem does this PR solve?
Deadlock detector may panic when calling a synchronous PD RPC. It is because futures block_on does not allow nested block_on.
Panic info is like:
[2020/09/17 06:26:19.113 +00:00] [FATAL] [lib.rs:482] ["cannot execute `LocalPool` executor from within another executor: EnterError"] [backtrace="stack backtrace:
   0: tikv_util::set_panic_hook::{{closure}}
             at components/tikv_util/src/lib.rs:481
   1: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:524
   2: rust_begin_unwind
             at src/libstd/panicking.rs:431
   3: core::panicking::panic_fmt
             at src/libcore/panicking.rs:85
   4: core::option::expect_none_failed
             at src/libcore/option.rs:1269
   5: pd_client::client::RpcClient::get_region_and_leader::{{closure}}
             at /rustc/16957bd4d3a5377263f76ed74c572aad8e4b7e59/src/libcore/result.rs:963
      pd_client::util::sync_request
             at components/pd_client/src/util.rs:315
      pd_client::client::RpcClient::get_region_and_leader
             at components/pd_client/src/client.rs:152
   6: tikv::server::lock_manager::deadlock::Detector<S,P>::get_leader_info
             at components/pd_client/src/client.rs:317
      tikv::server::lock_manager::deadlock::Detector<S,P>::refresh_leader_info
             at /home/jenkins/agent/workspace/build_tikv_multi_branch_master/tikv/src/server/lock_manager/deadlock.rs:549
      tikv::server::lock_manager::deadlock::Detector<S,P>::handle_detect
             at /home/jenkins/agent/workspace/build_tikv_multi_branch_master/tikv/src/server/lock_manager/deadlock.rs:727
   7: <tikv::server::lock_manager::deadlock::Detector<S,P> as tikv_util::worker::future::Runnable<tikv::server::lock_manager::deadlock::Task>>::run
             at /home/jenkins/agent/workspace/build_tikv_multi_branch_master/tikv/src/server/lock_manager/deadlock.rs:832

What is changed and how it works?
Futures local executor does not check the ENTER flag set by the tokio runtime, so it's now allowed that futures  block_on runs inside Futures Worker.
Check List
Tests

Unit test

Release note

Fixes the panic when deadlock detector calls synchronous PD RPC.

/test

/release

/merge


Create circles instead of rectangles

Hi,
I wanted to show the nodes as circles instead of rectangles. Would you please let me know how can do this in dtree?
Thanks.

By using a custom nodeRenderer callback that creates your html.
I'm not going to design your element for you but the callback should look something like this:
Then inside create HTML looking like this:
https://www.w3schools.com/howto/howto_css_circles.asp

Hi @ErikGartner same probem for me.
Your trick works fine, but the circle is rendered inside a rectangle...
Using nodeSize function like that :
nodeSize: function(nodes, width, textRenderer) {
    return [100, 22];
}

I got an error : Error: <foreignObject> attribute height: Expected length, "undefinedpx".

Hm, looks correct to me. Does it work when you don't specific the nodeSize callback?
If not, then your error is not in nodeSize but somewhere else.

I had the same error, I fixed it by setting the width and height to the nodes also:
nodeSize: function(nodes, width, textRenderer) {
    _.map(nodes, function (n) {
        n.cWidth = 100;
        n.cHeight = 100;
    });
    return [100, 100];
}


Replication Reports Doc Update

Re: Replication Reports
Issue Description
Re https://www.cockroachlabs.com/docs/stable/query-replication-reports.html#find-out-which-databases-and-tables-have-ranges-in-critical-localities, see issue 59480.
Suggested Resolution
If the locality top hierarchy key:value pair is the same for all nodes in the cluster, CockroachDB will interpret that as a "single-region" and will therefore outputs that all ranges are "at risk". I suggest we clarify that in the docs so customers aren't surprised.

@rmloveland, do you have a github project for kv and for multi-region? If so, can you create a triage column where new issues assigned to the project automatically land? Eric did this for SQL, if you need tips. That way, I can just assign new issues to the relevant boards and you can triage them in batches (with PMs, etc.).

@rmloveland, do you have a github project for kv and for multi-region? If so, can you create a triage column where new issues assigned to the project automatically land? Eric did this for SQL, if you need tips. That way, I can just assign new issues to the relevant boards and you can triage them in batches (with PMs, etc.).

do you have a github project for kv and for multi-region?

Yes!
Multi-region: https://github.com/cockroachdb/docs/projects/61
KV: https://github.com/cockroachdb/docs/projects/49


rerun all submissions per phase rerun all children independently

Where rerunning all submissions, each child becomes its own submission :

only one submission with 12 child submissions

after rerunning all submissions, we get 12 new submissions which all correspond to one of the tasks of the initial parent

When rerunning a unique submission (with the button in the action column), the behavior is as expected. The issue only concerns the "rerun all submissions per phase" button.

Might be related to https://github.com/codalab/codabench/issues/604


Create data node stored in European servers

In order to accommodate European data protection laws that regulate most of European universities, OSF lets us select severs located within the EU (Germany). However, by default, datapipe creates a US-based storage node, regardless of the location of the parent project.
Would it be able to add the option to change that?

This issue prevents me also from using datapipe, which I'd love to. EU regulation is rather strict on this. I gave a look to the osf api doc and it seems to me that there is no attribute allowing to tell where to create a child node. Probably the OSF  storage is automatically created in US or on the basis of the ip of the call. I looked at possible workarounds but probably the easy solution I see is to allow the enduser to enter a specific component instead of asking datapipe to create it.  It would be less elegant than now (having a whole component created by scratch).

Thanks for raising this. I'm going to try and work on it sometime in the next two weeks.

I think I've found a way to do this through the OSF API. It may be a few more days before I'm able to implement the changes, but I'm working on it!

All set! Give it a try and lemme know if you run into any issues.

Seems to work, cheers @jodeleeuw !

Thanks so much Josh !!!


Use tab-bar for dragging window around

I think its really nice that you can put the terminal-tabs in your titlebar but I got an issue there.
You can't move the window around klicking on the blank space in the the-bar to move the window around (highlighted in the screenshot).
Since people are moving their terminal quite often it would be nice to offer this space, so you can drag your terminal around.

Duplicate of #528 (?).

Duplicate of #528 (?).

No, the issue you mentioned describes losing focus of the current terminal-tab.
This issue is about dragging the whole window around.

One of the main reasons I was not happy with sets was that especially for console windows, I could not see the whole window title.

I would prefer much more if the free space was used for window titles when needed.

@Paul-Weisser It is a duplicate of #528 -- that issues describes trying to trying to drag the window but it doesn't work and additionally blocks the current tab.

@Paul-Weisser It is a duplicate of #528 -- that issue specifically explains that when one is trying to drag the window to move it, it doesn't work and additionally this action blocks the current tab for input.

please read #528 to the end as  zadjii-msft is adressing this issue as an external issue...

Okay, IMO, lets leave #528 as "the tab row steals focus from the terminal".
This is now the "use the tab bar to drag the window" thread.

As I mentioned in #528, this is a bug with XAML Islands currently, where we're not getting WM_NCHITTEST messages for the XAML Islands area (which hosts the tab control). They're working on fixing that for us - once we get those messages, we'll be able to hittest ourselves against the actual tabs, vs the "background" of the tabs.

@zadjii-msft does that mean the fix will require another Windows build?

I had a couple thoughts on temporary work around for this:

is it possible to move the +v control to the left side, and then have the tab bar no wider than the tabs themselves?
or, can an additional invisible control be placed over top the empty area in the tab bar that can give you the message to allow you to drag?

This'll be addressed by #929.

Moved into v0.3, the second public preview.

hoping that would also fix the ability to drag just above the tab.. as I'm used to dragging from there with apps like Chrome as well.

Hmm thanks for the work.
But it seems that so far, all that has really happened is moving the drop down menu closer to the tabs. You can still only drag from the small area to the right of the drop down menu. If you have just one or two tabs, this area is now a bit larger then it was before. But once you get to 3 or 4 tabs, it's just as small again.
I understand software development takes time. I do it myself. But the news exaggerated this. Keep up the good work anyways.
But let me know when you can drag the individual tabs around, when you can rename the tabs with right click, not have to mess with programmatic title manipulations, and when you can drag the whole window around by the area above the tabs.
Now that would be news worthy.

Agree with @BernierCR.  This update is an improvement, but it still doesn't behave like other tabbed applications.
For example, in chrome, you can drag the window by clicking the small space above any tab.  That still doesn't work in the terminal.


issue in fixing the menu

I have already built a site and now i wan to integrate this plugin. I have issue in fixing the menu.
Like if i click from menu it only ends up stopping to the next panel.Do not know how to fix it. but rest of he scroll all working fine. Thanks in advance.

Do you have some example code I can take a look at?


Feature Request: Allow user to move folders and files in the document tree

On many occasions (especially when first setting up a project), I have created files or folders in the document tree and realize that I need to move them to a different location. Currently, I have to go to the project folder outside of Brackets, make my move, and then go back into Brackets and refresh the project.
From a workflow perspective, it makes sense to allow this functionality inside of Brackets.

@peterflynn, it really isn't ...especially with looooong file lists, drag and drop is the worst option in terms of usability. So, please reopen this.

@tobibeer, I feel for your issue, but if you read the OP's notes, what you are suggesting is not mentioned in the original issue (simple bar to navigate to a folder location). The OP wanted what seems to be covered by the duplicate issue @peterflynn suggested. If you want to functionality you describe, you may wish to open a new request.


Add reflectToAttribute to ariaLabel property

This PR asks Polymer to update the aria-label attribute so that the CSS rule that removes the extraneous label margin is applied without having to manually trigger it with element.setAttribute("aria-label", "...").

Released as version 0.1.3.


Error: OpsLevel API Errors: One of id or alias must be supplied

Here is an error that I received when I wanted to run this command: pslevel update service -f service.yaml
Error: OpsLevel API Errors:
        * One of id or alias must be supplied

When I wanted to apply changes for service.yaml I clicked on download the newest version of opslevel.yml

And as far as I see, this CLI of update doesn't accept any flags like ID, and gives me an error when I feed-in not altered piece of data (which comes from opslevel directly).
Documentation for CLI also isn't helpful with that regards.
Thanks upfront for some help

The same error is produced for
opslevel update service ID-OF-THE-SERVICE -f ./service.yaml

Hey @RvuvuzelaM - unfortunately the opslevel update service command does not take in an opslevel.yml file.  Its a different format that mirrors our GraphQL API.
Could you explain more of your usecase in what you are trying to accomplish by using the CLI to update a service with an opslevel.yml?  The purpose of opslevel.yml is that you place it in your Git repository and our App's Git integrations read and process it.  The CLI was never meant to use opslevel.yml as a data source so I'm curious about your usecase.
Here is an example of using the opslevel update service command
cat << EOF | opslevel update service -f -
alias: "hello_world"
description: "Hello World Service Updated"
tier: "tier_3"
EOF


label font style not updated in pictorialBar when calling the api setOption  to update it

Version
4.8.0
Reproduction link
  https://codepen.io/oobakoyo/pen/GRoRmvd
Steps to reproduce
use setOption to update the label font style
What is expected?
label font style should be updated after calling setOption with new style
What is actually happening?
only label color refreshed

Thanks for reporting! It seems to be a bug.


Fix current user missing in Google Analytics

The issue is found in 20220706 meeting
Currently on production, if the user is already logged in, starts their session on the landing page, and then goes to other pages, their user ID will not be sent in Google Analytics actions.
This is because

We push current user to Google Tag Manager in useCurrentUser's onCompleted callback

Before this PR, landing page uses its own way to load user, and thus does not use useCurrentUser
Landing page loads all fields that is required by useCurrentUser, so that when user enters other page from landing page, useCurrentUser hook will not invoke new GraphQL queries, thus not calling onCompleted callback at all.

This PR fixes the issue by using useCurrentUser in landing page as well.
Screenshot
Before
CURRENT_USER is not pushed to dataLayer even after the user logs in on landing page

After
Can see that CURRENT_USER is pushed to dataLayer as expected.

Coverage remained the same at 75.605% when pulling 9cda37378685ee496654d2030d4de4898c330e0f on fix-current-user into eb4d12da1e16052c15deb1c8e897fb65f030ee45 on profile-filter-count.


Opacity should be applied to all layers

Currently opacity is only set on the shape-group and not set on text, svg, etc. which is a bug.
While discussing this we also found out that we don't calculate opacity properly. 'opacity' property is non-cascading in CSS, but it's effect does "cascade" on children (e.g.

 - inner div should have opacity of 0.25). In order to fix that we should collect all parent opacities and multiply them.

It turns out to be a bit more work because we need to add opacity support to SVG and TextStyle objects.


Support Solaris / Illumos in 'lock_unix'

I've added Solaris to the list of builds that are compatible with 'lock_unix'.
I think it might have been left out initially because fcntl() may have been confused with flock(). The Go function used by 'lock_unix' is called FcntlFlock(). This somewhat seems to imply that 'flock()' is used.  However the doc for the function states: "FcntlFlock performs a fcntl syscall" so flock() is not involved.
Solaris doesn't support flock() but does support fcntl() (which is part of POSIX). For more info on Solaris and locking see: https://www.perkin.org.uk/posts/solaris-portability-flock.html
I've tested the lock in a SmartOS (Illumos / Solaris) zone and it worked as expected.

thanks, imported as https://review.gerrithub.io/343494


Base Instrument Metadata

Content
What should it be?

Add schema version.

Creation date

Origin?

What do you mean origin?

If this is just for internal notes, we can just have a dictionary Record<string, string>where we can put anything?

We could do that, what I'm more thinking about is minimum "required" metadata, for clear identification of things.


Update config.yml to share circleci context for preprod/prod namespace

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

Project coverage is 86.95%. Comparing base (f0de684) to head (b60f159).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #853   +/-   ##
=========================================
  Coverage     86.95%   86.95%
  Complexity     3550     3550
=========================================
  Files           372      372
  Lines         12532    12532
  Branches       1021     1021
=========================================
  Hits          10897    10897
  Misses         1164     1164
  Partials        471      471

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


Restrict timeRange in rangePlugin

Hi,
I wondering how I can limit the allowed time range a user can picks from. I have a project which defines a start and end date. When the user creates task within the project, it should only possible to select dates which a "inside" the start and end date of the project.
Thanks in advance!

Found the enable settings.


[Scope Change]  IT Localization - Codeunit 12152 SubcontractingManagement - procedure CheckVendorVsWorkCenter

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[Feature] SQL Chain

see: https://python.langchain.com/en/latest/modules/chains/examples/sqlite.html

Can you provide more support for SQL Agent, please? Thank you.
https://python.langchain.com/en/latest/modules/agents/toolkits/examples/sql_database.html


[Refactor] Move calculation logic related to partyStats to models/PartyStats.

The puzzle 53-ad259d5d from #53 has to be resolved:
https://github.com/codeforthailand/election-live/blob/f5c6602e09030a86ff408c76c193d6adba3cdc7e/src/calculation/partyStats.js#L1-L1
The puzzle was created by Thai on Cloud9 on 20-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 53-ad259d5d has disappeared from the source code, that's why I closed this issue.


Status of the busy component

To anyone who has been watching.
I now have the code for the busy working in a test project !
tomrrow i will post the code here with the following issues:
*** not packaged for NPM install yet. ***
I was able to get a dpendancy updated to fix an issue and was abele to use the code in a project.
the code i will load tomrrow can be used as a module in a project by downloading it and copying it into a project.
I have not built an NPM / Angular 2 package before and will be working on how to do that after i first update this repository withi the updated project.  i *might * get the package published sometime tomrrow if i am lucky.
but when i upload the code you can use it to get you going... just not all packaged up into the node_modules folder yet!

tnx you for your job, we appreciate you : )

Hi! Do you have some update on this component? Are we able to use it already?
Thanks.

@marciomsm
as of right now you can download the code and use the source code as an angular 2 feature module.
100% working for me with anngular-cli  builds.
the main thing i did was to update the module dependency to current npm packages.
this week as time allows from my day-job i will get the code into an npm package build so that it's not a manual install.
after that i will look at issues and other updates to make.
if you have any issues using the code let me know and i will try to help you.

Hi @figuerres...do you know when it will be available into the npm package?

Hi @figuerres...do you know when it will be available into the npm package? Thanks and great job...

Been really busy with my "day job"  i might get it this weekend  if no then next week for sure.

ok, thank you!

Hi @figuerres I am using the source code as an angular 2 feature module, but I have a question. How can I  change the default configuration?
If I use the code below, I get the same error from angular2-busy:
NgBusyModule.forRoot(
new BusyConfig({
  })

)
Thanks for your help.

Hi @marciomsm , if you are using the source code you can change the config defaults directly and skip the forRoot() method. You also need to change the BusyConfig constructor.
constructor() {         for (const option in BUSY_CONFIG_DEFAULTS) {             this[option] = BUSY_CONFIG_DEFAULTS[option];         }     }
@figuerres, when running in prod mode we get an error message 'angular runtime compiler not loaded' which has probably to do with using DynamicComponent and aot. Are you experiencing the same ?
Tx.

Thank you for the info, yes I saw it and had the same idea

.. when running in prod mode we get an error message 'angular runtime compiler not loaded' which has probably to do with using DynamicComponent and aot. Are you experiencing the same ?

Hi, everyone. See the last comment. That should work fine:
https://github.com/apoterenko/angular2-dynamic-component/issues/17